/* Baita Ideia — tokens, layout, components and responsive styles. */
:root {
  --paper:#f7f9f6;
  --sage:#e2e9e0;
  --ink:#1c1a17;
  --muted:#4d463e;
  --orange:#f99452;
  --hover:#df6311;
  --line:#d8dcd4;
  --serif:'Fraunces',Georgia,serif;
  --sans:'Inter',system-ui,sans-serif}
* {
  box-sizing:border-box}
html {
  scroll-behavior:smooth;
  scroll-padding-top:100px}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font:15px/1.75 var(--sans);
  -webkit-font-smoothing:antialiased}
a {
  color:inherit;
  text-decoration:none}
button {
  font:inherit}
button,a {
  -webkit-tap-highlight-color:transparent}
button:not(:disabled),a {
  touch-action:manipulation}
a:focus-visible,button:focus-visible {
  outline:3px solid var(--orange);
  outline-offset:6px}
::selection {
  background:var(--orange);
  color:var(--ink)}
h1,h2,h3,p {
  margin:0}
h1,h2 {
  font-family:var(--serif);
  font-weight:400;
  letter-spacing:-.055em;
  line-height:1.06}
h2 {
  font-size:clamp(40px,4.5vw,68px)}
h2 em,h3 em {
  font-family:var(--serif);
  font-weight:400}
p {
  color:var(--muted)}
button {
  cursor:pointer}
section[id] {
  scroll-margin-top:15px}
.header {
  height:94px;
  padding:0 5%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  position:sticky;
  top:0;
  z-index:20;
  background:var(--paper);
  border-bottom:1px solid var(--line)}
.brand {
  display:inline-flex;
  align-items:center;
  font-weight:700;
  letter-spacing:-5px;
  font-size:44px;
  line-height:1}
.brand-dot {
  color:var(--hover)}
.brand-name {
  font-size:10px;
  line-height:1.25;
  letter-spacing:1.4px;
  margin-left:18px;
  font-weight:650}
.header nav {
  display:flex;
  align-items:center;
  gap:33px;
  font-size:12px;
  font-weight:550}
.header nav>a:not(.button):hover {
  color:var(--hover)}
.button {
  background:var(--orange);
  color:var(--ink);
  padding:17px 24px;
  display:inline-flex;
  gap:35px;
  align-items:center;
  justify-content:space-between;
  font-size:13px;
  font-weight:600;
  border:1px solid transparent;
  border-radius:4px;
  transition:background .2s,transform .2s}
.button span {
  font-size:20px;
  line-height:1}
.button:hover {
  background:var(--hover);
  transform:translateY(-2px);
  color:white}
.button.small {
  padding:11px 18px;
  gap:24px;
  font-size:12px}
.menu-toggle {
  display:none}
.hero {
  background:var(--ink);
  color:var(--paper);
  padding:28px 5% 0;
  overflow:hidden}
.hero-top,.hero-bottom,.section-label,.contact-foot {
  display:flex;
  justify-content:space-between;
  font-size:9px;
  font-weight:500;
  letter-spacing:1.6px;
  align-items:center}
.hero-top {
  color:#c6c2b9}
.status-dot {
  display:inline-block;
  width:6px;
  height:6px;
  background:#9ba674;
  border-radius:50%;
  margin-left:10px}
.hero-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6%;
  padding:58px 0 62px;
  max-width:1500px;
  margin:auto}
.intro {
  font-size:12px;
  line-height:1.8;
  color:#d0cbc3;
  margin-bottom:24px}
.hero h1 {
  font-size:clamp(76px,8.3vw,128px);
  line-height:.94;
  letter-spacing:-.06em}
.hero h1 em {
  color:var(--orange);
  font-weight:400}
.orange {
  color:var(--orange)}
.hero-description {
  max-width:350px;
  color:#c4bfb6;
  font-size:13px;
  line-height:1.9;
  margin:26px 0}
.hero-art {
  position:relative;
  align-self:center;
  min-width:0;
  margin-top:25px;
  background:#292a24;
  border:1px solid #48483d;
  padding:19px 22px 0;
  transform:rotate(2deg)}
.art-index {
  font-size:8px;
  letter-spacing:1.5px;
  color:#c4c5b6;
  margin-bottom:17px}
.float-tag {
  position:absolute;
  font-size:11px;
  padding:10px 17px;
  background:var(--paper);
  color:var(--ink);
  border-radius:3px;
  box-shadow:0 8px 25px #0002;
  transform:rotate(-2deg)}
.tag-one {
  top:95px;
  left:-35px}
.tag-two {
  right:-25px;
  top:245px;
  background:var(--orange)}
.tag-three {
  left:-25px;
  bottom:100px;
  background:#e2e9e0}
.art-bottom {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 0;
  font-size:8px;
  letter-spacing:1.5px;
  color:#c4c5b6}
.art-monogram {
  font-family:var(--serif);
  font-size:48px;
  line-height:1;
  letter-spacing:-4px;
  color:var(--orange)}
.hero-bottom {
  padding:22px 0;
  border-top:1px solid #ffffff25;
  color:#beb8ad;
  font-size:8px}
.hero-bottom a span {
  margin-left:25px;
  font-size:18px}
.discipline-strip {
  display:flex;
  gap:28px;
  align-items:center;
  justify-content:center;
  padding:23px 20px;
  overflow:hidden;
  white-space:nowrap;
  border-bottom:1px solid var(--line);
  font-size:12px}
.discipline-strip b {
  color:var(--hover);
  font-size:18px;
  font-weight:400}
.section {
  padding:90px 6%;
  max-width:1800px;
  margin:auto}
.section-label {
  font-size:9px;
  letter-spacing:1.4px;
  color:var(--muted);
  margin-bottom:50px}
.section-label>span:first-child:before {
  content:'';
  width:6px;
  height:6px;
  background:var(--hover);
  display:inline-block;
  margin-right:10px}
.about-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10%}
.signature {
  font-family:var(--serif);
  font-style:italic;
  font-size:24px;
  margin-top:40px}
.signature span {
  margin-left:20px;
  color:var(--hover)}
.about-text .lead {
  font-size:23px;
  line-height:1.5;
  letter-spacing:-.7px;
  color:var(--ink);
  margin-bottom:25px}
.about-text>p:not(.lead) {
  font-size:13px;
  margin-bottom:19px}
.badges {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:28px}
.badges span {
  font-size:10px;
  border:1px solid var(--line);
  border-radius:3px;
  padding:6px 10px}
.portrait-slot {
  margin-top:55px;
  display:flex;
  gap:25px;
  align-items:center;
  padding:20px 25px;
  background:var(--sage)}
.portrait-slot>span:first-child {
  font:44px var(--serif);
  letter-spacing:-4px;
  color:#778360}
.portrait-slot div {
  font-size:9px;
  letter-spacing:1.5px}
.portrait-slot small {
  display:block;
  font-size:11px;
  letter-spacing:0;
  color:var(--muted)}
.portrait-slot>span:last-child {
  margin-left:auto;
  font-size:25px}
.works {
  background:#eef1eb}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:25px;
  margin-bottom:35px}
.section-heading>p {
  font-size:12px;
  line-height:1.8;
  max-width:300px}
.filters {
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  margin:32px 0}
.filters button {
  border:1px solid #cdd2c8;
  background:transparent;
  border-radius:30px;
  padding:8px 17px;
  font-size:11px;
  color:var(--muted);
  transition:.2s}
.filters button.active,.filters button:hover {
  background:var(--ink);
  color:var(--paper);
  border-color:var(--ink)}
.filters button:focus-visible {
  outline-offset:2px}
.project-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:45px 28px;
  align-items:start}
.project[hidden] {
  display:none}
.project-wide {
  grid-column:1/-1}
.project-image {
  display:block;
  position:relative;
  height:370px;
  overflow:hidden;
  background:var(--sage);
  border-radius:5px}
.project-wide .project-image {
  height:480px}
.project-image img {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .7s}
.project-image:hover img {
  transform:scale(1.035)}
.image-label {
  position:absolute;
  top:19px;
  left:19px;
  border-radius:2px;
  background:var(--paper);
  color:var(--ink);
  padding:7px 11px;
  font-size:8px;
  letter-spacing:1px;
  z-index:2}
.image-arrow {
  position:absolute;
  bottom:18px;
  right:18px;
  width:38px;
  height:38px;
  border-radius:50%;
  background:var(--paper);
  display:grid;
  place-items:center;
  font-size:20px;
  transition:.2s}
.project-image:hover .image-arrow {
  background:var(--orange);
  transform:rotate(45deg)}
.project-meta {
  display:flex;
  justify-content:space-between;
  gap:12px;
  font-size:8px;
  color:var(--muted);
  letter-spacing:.6px;
  margin:20px 0 8px}
.project h3 {
  font:400 29px/1.3 var(--serif);
  letter-spacing:-1px}
.project>p {
  font-size:12px;
  max-width:620px;
  margin:13px 0 15px}
.text-link {
  font-size:11px;
  font-weight:600;
  border-bottom:1px solid #b8bcb1;
  padding-bottom:4px;
  display:inline-block}
.text-link:hover {
  color:var(--hover);
  border-color:var(--hover)}
.marketing-art {
  background:#b9c6b9;
  display:grid;
  place-items:center}
.marketing-sheet {
  background:#123d35;
  color:#f3f5dd;
  width:55%;
  padding:25px;
  transform:rotate(-9deg);
  box-shadow:15px 18px 35px #16372c35}
.marketing-sheet>span {
  display:block;
  font-size:11px;
  line-height:1.1;
  letter-spacing:2px}
.mini-dot {
  float:right;
  color:#c2d47d}
.marketing-sheet strong {
  font-size:42px;
  line-height:1.04;
  letter-spacing:-2px;
  font-weight:500;
  display:block;
  margin:23px 0}
.marketing-sheet em {
  color:#d9e492;
  font-family:var(--serif);
  font-weight:400}
.sheet-line {
  border-top:1px solid #ffffff50;
  margin:15px 0 8px}
.marketing-sheet small {
  font-size:5px;
  letter-spacing:1px}
.mockup-note {
  position:absolute;
  bottom:12px;
  left:15px;
  font-size:7px;
  letter-spacing:1px}
.digital-feature {
  min-height:380px;
  padding:35px;
  background:var(--sage);
  display:flex;
  flex-direction:column;
  align-items:start;
  justify-content:space-between}
.eyebrow {
  font-size:9px;
  letter-spacing:1.2px}
.code-symbol {
  font-family:var(--serif);
  font-style:italic;
  font-size:58px;
  color:#7d8868;
  letter-spacing:-4px;
  align-self:end}
.digital-feature h3 {
  font-size:36px}
.skills {
  background:var(--ink);
  color:var(--paper)}
.skills .section-label {
  color:#bfb9ae}
.skills h2 em {
  color:var(--orange)}
.asterisk {
  font-size:90px;
  line-height:1;
  color:var(--orange)}
.skill-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:30px;
  margin-top:55px}
.skill {
  position:relative;
  border-top:1px solid #ffffff30;
  padding-top:25px}
.skill-icon {
  font-size:29px;
  color:var(--orange);
  height:55px}
.skill-number {
  position:absolute;
  right:0;
  top:32px;
  font-size:9px;
  color:#918b80}
.skill h3 {
  font-size:16px;
  font-weight:500;
  margin:15px 0 24px}
.skill ul {
  list-style:none;
  margin:0;
  padding:0;
  color:#beb8ae;
  font-size:11px;
  line-height:2.3}
.experience-grid {
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:10%}
.muted {
  font-size:12px;
  margin-top:25px}
.timeline-item {
  padding:0 0 35px 27px;
  border-left:1px solid #cbd1c5;
  position:relative}
.timeline-item:before {
  content:'';
  position:absolute;
  left:-4px;
  top:6px;
  width:7px;
  height:7px;
  background:var(--hover);
  border-radius:50%}
.timeline-item:last-child {
  padding-bottom:0}
.timeline-item .eyebrow {
  color:var(--muted)}
.timeline-item h3 {
  font:400 28px var(--serif);
  letter-spacing:-.7px;
  margin:11px 0 4px}
.role {
  font-size:11px;
  color:var(--hover)}
.timeline-item p {
  font-size:12px;
  margin-top:13px}
.education {
  padding-top:25px}
.education h2 {
  margin-bottom:40px}
.education-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px}
.education-grid article {
  border-top:1px solid var(--line);
  padding-top:25px}
.education-icon {
  font-size:24px}
.education h3 {
  font-size:15px;
  font-weight:500;
  margin:20px 0 12px;
  line-height:1.5;
  max-width:260px}
.education p {
  font-size:11px;
  max-width:300px}
.digital {
  background:var(--sage)}
.digital-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
  margin-top:40px}
.digital-card {
  padding:28px;
  background:var(--paper);
  border:1px solid #d4dccc;
  border-radius:4px}
.digital-card-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:#707964;
  font-size:8px;
  letter-spacing:1px}
.digital-card-top>span:first-child {
  font-size:25px}
.digital-card h3 {
  font:400 28px var(--serif);
  margin:20px 0 10px;
  letter-spacing:-.7px}
.digital-card p {
  font-size:12px;
  max-width:350px;
  min-height:44px}
.stack {
  display:block;
  font-size:9px;
  color:var(--muted);
  margin:22px 0}
.digital-actions {
  display:flex;
  gap:20px;
  border-top:1px solid var(--line);
  padding-top:15px}
.digital-actions button {
  padding:0;
  border:0;
  background:transparent;
  color:#72766b;
  font-size:10px;
  cursor:not-allowed}
.digital-note {
  font-size:10px;
  margin-top:22px}
.contact {
  background:var(--ink);
  color:var(--paper)}
.contact .section-label {
  color:#bdb7ac}
.contact-grid {
  display:grid;
  grid-template-columns:1.5fr 1fr;
  gap:9%;
  align-items:center}
.contact h2 {
  font-size:clamp(50px,6.7vw,100px);
  position:relative}
.contact h2>.orange {
  font-family:var(--sans);
  font-size:70px;
  display:inline-block;
  margin-left:15px}
.contact-grid p {
  color:#c2bcb2;
  font-size:13px;
  max-width:300px;
  margin-bottom:28px}
.contact-email {
  font-size:11px;
  display:block;
  color:#c2bcb2;
  margin-top:18px;
  overflow-wrap:anywhere}
.contact-email:hover {
  color:var(--orange)}
.contact-foot {
  border-top:1px solid #ffffff25;
  padding-top:28px;
  margin-top:65px;
  font-size:8px;
  color:#a9a297}
footer {
  padding:40px 6% 20px}
.footer-top {
  display:flex;
  gap:50px;
  align-items:start}
.footer-top p {
  font-size:11px;
  color:var(--ink)}
.footer-top p span {
  color:var(--muted)}
.footer-links {
  display:flex;
  gap:20px;
  flex-wrap:wrap;
  justify-content:flex-end;
  margin-left:auto;
  font-size:10px;
  max-width:440px}
.footer-links>span {
  color:#71786a}
.footer-links a:hover {
  color:var(--hover)}
.footer-bottom {
  display:flex;
  justify-content:space-between;
  border-top:1px solid var(--line);
  padding-top:20px;
  margin-top:35px;
  color:var(--muted);
  font-size:9px}
.skip {
  position:fixed;
  top:-100px;
  left:20px;
  z-index:100;
  background:var(--orange);
  padding:10px 20px}
.skip:focus {
  top:10px}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0}

@media(min-width:1600px) {
  .header,.hero,footer {
  padding-left:max(6%,calc((100vw - 1584px)/2));
  padding-right:max(6%,calc((100vw - 1584px)/2))}
}

@media(max-width:1000px) {
  .header nav {
  gap:20px}
.hero-grid {
  gap:5%}
.hero-art {
  padding:14px 15px 0}
.hero h1 {
  font-size:90px}
.tag-one {
  left:-15px}
.tag-two {
  right:-10px}
.float-tag {
  font-size:9px;
  padding:8px 12px}
.section {
  padding:70px 5%}
.skill-grid {
  gap:22px}
.skill h3 {
  font-size:14px}
.project-meta {
  flex-direction:column;
  gap:3px}
.project-wide .project-meta {
  flex-direction:row}
.contact h2>.orange {
  font-size:45px}
.footer-top {
  gap:25px}
.footer-links {
  max-width:290px}
.education {
  padding-top:15px}
}

@media(max-width:760px) {
  html {
  scroll-padding-top:85px}
.header {
  height:76px;
  padding:0 6%}
.brand {
  font-size:37px}
.brand-name {
  font-size:8px;
  margin-left:14px}
.menu-toggle {
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:12px 2px;
  background:none;
  border:0;
  width:28px}
.menu-toggle span {
  display:block;
  width:24px;
  height:1px;
  background:var(--ink);
  transition:transform .2s}
.menu-toggle[aria-expanded=true] span:first-child {
  transform:translateY(3.5px) rotate(45deg)}
.menu-toggle[aria-expanded=true] span:last-child {
  transform:translateY(-3.5px) rotate(-45deg)}
.header nav {
  display:none;
  position:absolute;
  top:76px;
  left:0;
  right:0;
  padding:25px 6% 30px;
  background:var(--paper);
  border-bottom:1px solid var(--line);
  align-items:stretch;
  gap:18px;
  font-size:15px;
  box-shadow:0 15px 20px #0000000a}
.header nav.open {
  display:flex;
  flex-direction:column}
.header nav .button {
  align-self:start}
.hero {
  padding:23px 6% 0}
.hero-top {
  font-size:7px;
  letter-spacing:.8px}
.hero-top>span:last-child {
  display:none}
.hero-grid {
  grid-template-columns:1fr;
  padding:38px 0 35px;
  gap:35px}
.hero h1 {
  font-size:clamp(76px,17vw,118px)}
.intro {
  font-size:11px}
.hero-description {
  max-width:360px}
.hero-art {
  width:90%;
  max-width:480px;
  margin:12px auto 18px}
.hero-bottom {
  font-size:7px;
  letter-spacing:1px}
.hero-bottom>span:last-child {
  display:none}
.hero-bottom a span {
  margin-left:8px}
.discipline-strip {
  justify-content:flex-start;
  gap:22px;
  font-size:11px;
  padding:17px 6%;
  overflow-x:auto;
  scrollbar-width:thin}
.section {
  padding:55px 6%}
.section-label {
  margin-bottom:33px;
  font-size:8px;
  letter-spacing:1px}
.section-label>span:last-child {
  display:none}
.about-grid,.experience-grid {
  grid-template-columns:1fr;
  gap:35px}
.about h2 {
  font-size:50px}
.signature {
  margin-top:25px}
.about-text .lead {
  font-size:21px}
.portrait-slot {
  padding:16px;
  margin-top:30px;
  gap:15px}
.portrait-slot div {
  font-size:8px}
.portrait-slot small {
  font-size:9px}
.section-heading {
  display:block;
  margin-bottom:25px}
.section-heading>p {
  margin-top:22px}
.filters {
  gap:7px;
  margin:25px 0}
.filters button {
  padding:7px 12px;
  font-size:10px}
.project-grid {
  grid-template-columns:1fr;
  gap:35px}
.project-wide {
  grid-column:auto}
.project-image,.project-wide .project-image {
  height:310px}
.project-wide .project-meta {
  flex-direction:column}
.project-meta {
  font-size:8px}
.project h3 {
  font-size:27px}
.marketing-sheet {
  width:55%;
  max-width:230px;
  padding:22px}
.marketing-sheet strong {
  font-size:36px;
  margin:16px 0}
.digital-feature {
  min-height:330px;
  padding:27px}
.skill-grid {
  grid-template-columns:1fr 1fr;
  gap:35px 23px;
  margin-top:35px}
.skills .section-heading {
  position:relative;
  padding-right:25px}
.skills h2 {
  font-size:39px}
.asterisk {
  position:absolute;
  right:0;
  bottom:-35px;
  font-size:45px}
.skill h3 {
  font-size:14px;
  line-height:1.4;
  min-height:39px;
  margin-bottom:15px}
.skill ul {
  font-size:10px;
  line-height:2.2}
.skill-icon {
  height:40px}
.experience-grid {
  gap:35px}
.timeline-item {
  padding-left:22px}
.education {
  padding-top:10px}
.education-grid {
  grid-template-columns:1fr;
  gap:25px}
.education h3 {
  max-width:none;
  margin:15px 0 10px}
.education p {
  max-width:none}
.education-grid article {
  position:relative;
  padding-left:45px;
  padding-top:20px}
.education-icon {
  position:absolute;
  left:0;
  top:28px}
.digital-grid {
  grid-template-columns:1fr;
  margin-top:28px}
.digital-card {
  padding:24px}
.digital-card p {
  min-height:0}
.contact-grid {
  grid-template-columns:1fr;
  gap:30px}
.contact h2 {
  font-size:58px}
.contact h2>.orange {
  font-size:40px}
.contact-grid p {
  max-width:350px}
.contact-foot {
  margin-top:40px;
  line-height:1.8;
  gap:20px;
  align-items:start}
.contact-foot span:first-child {
  max-width:190px}
.footer-top {
  flex-wrap:wrap;
  gap:25px;
  justify-content:space-between}
.footer-links {
  margin-left:0;
  max-width:none;
  justify-content:flex-start;
  width:100%;
  gap:12px 20px}
.footer-bottom {
  flex-wrap:wrap;
  gap:12px;
  font-size:8px}
.footer-bottom>span {
  width:100%}
footer {
  padding:30px 6% 20px}
}

@media(prefers-reduced-motion:reduce) {
  html {
  scroll-behavior:auto}
*,*:before,*:after {
  animation:none!important;
  transition:none!important}
}


/* Refinamento de direção de arte — ambiente, retrato e chips.
   A imagem de fundo é ilustrativa. O retrato aguarda uma foto real. */
.hero {
  position: relative;
  isolation: isolate;
  background: #1c1a17;
}
.hero-environment {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}
.hero::before {
  content: '';
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(90deg, rgba(18,18,16,.95) 0%, rgba(18,18,16,.78) 35%, rgba(18,18,16,.12) 73%), linear-gradient(0deg, #1c1a17 0%, transparent 28%, rgba(28,26,23,.25) 100%);
}
.hero-top { padding-top: 5px; }
.hero-grid {
  grid-template-columns: 1fr 1.05fr;
  gap: 3%;
  padding: 48px 0 40px;
  min-height: 740px;
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(76px, 7.5vw, 116px); }
.hero-description { color: #e1dcd2; max-width: 370px; }
.hero-art {
  position: relative;
  height: 570px;
  width: 100%;
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  transform: none;
}
.art-index {
  position: absolute;
  top: 4px;
  left: 14%;
  color: #e7e2d7;
  font-size: 8px;
  letter-spacing: 1.7px;
  text-shadow: 0 1px 10px #000;
}
.portrait-placeholder {
  position: absolute;
  width: 210px;
  height: 272px;
  right: 13%;
  top: 175px;
  border: 1px dashed #e4e3d88c;
  border-radius: 110px 110px 12px 12px;
  background: linear-gradient(150deg, #e2e9e01c, #151611a8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 15px 60px #0003;
}
.portrait-corner { margin-top: 30px; font-size: 7px; letter-spacing: 2px; color: #e2e9e0; }
.portrait-initials {
  font: 400 82px/1.5 var(--serif);
  letter-spacing: -8px;
  color: #f7f9f6b8;
  margin-right: 8px;
}
.portrait-initials > span { color: var(--orange); }
.portrait-caption {
  width: 100%;
  padding: 16px 8px;
  text-align: center;
  background: #1c1a179e;
  border-top: 1px solid #f7f9f626;
}
.portrait-caption strong { font-size: 12px; display: block; font-weight: 500; }
.portrait-caption > span { display: block; color: #ded8cd; font-size: 8px; margin-top: 4px; }
.hero-portrait { width: 100%; height: 100%; object-fit: cover; }
.hero-chips { position: absolute; inset: 0; pointer-events: none; }
.float-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  position: absolute;
  padding: 11px 15px;
  color: #f7f9f6;
  background: #2528218c;
  border: 1px solid #f7f9f644;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 9px;
  font-size: 11px;
  box-shadow: 0 8px 22px #0002;
  transform: none;
  white-space: nowrap;
}
.float-tag > span { font-size: 17px; color: var(--orange); line-height: 1; }
.tag-one { top: 77px; left: 5%; right: auto; bottom: auto; transform: rotate(-5deg); }
.tag-two { top: 127px; right: -1%; left: auto; bottom: auto; transform: rotate(4deg); }
.tag-three { top: 310px; left: -3%; right: auto; bottom: auto; transform: rotate(-4deg); }
.tag-four { top: auto; bottom: 50px; right: 0; transform: rotate(4deg); }
.tag-five { top: auto; bottom: 12px; left: 3%; transform: rotate(-3deg); }
.art-bottom { position: absolute; inset: auto 15% 55px auto; padding: 0; color: #ddd9cb; }
.art-bottom > span:first-child { display: none; }
.art-monogram { color: var(--orange); text-shadow: 0 4px 20px #0004; font-size: 62px; }
.hero-bottom { position: relative; gap: 20px; }
.hero-image-note { font-size: 7px; letter-spacing: 1px; text-align: right; }

/* Mosaico: proporções diferentes, conteúdo e filtros preservados. */
.project-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 42px 30px; }
.project { min-width: 0; }
.project-wide { grid-column: span 7; }
.project-marketing { grid-column: span 5; margin-top: 68px; }
.project-church { grid-column: span 5; }
.digital-feature { grid-column: span 7; margin-top: 58px; }
.project-image { border-radius: 12px; }
.project-wide .project-image { height: 420px; }
.project-marketing .project-image { height: 335px; }
.project-church .project-image { height: 310px; }
.project-wide .project-meta { flex-direction: column; gap: 3px; }
.image-label { max-width: calc(100% - 36px); line-height: 1.6; border-radius: 4px; }
.image-arrow { width: 44px; height: 44px; }
.marketing-art { background: #b4c2af; isolation: isolate; }
.marketing-art::before {
  content: '360°'; position: absolute; top: 14%; right: -3%;
  font: 400 160px/1 var(--serif); color: #283e2421;
}
.marketing-sheet { width: 62%; max-width: 270px; z-index: 1; }
.marketing-sheet strong { font-size: clamp(32px, 3.2vw, 48px); }
.digital-feature {
  position: relative;
  background: #dfe6d9;
  padding: 28px 30px 30px;
  min-height: 450px;
  overflow: hidden;
  border-radius: 12px;
}
.digital-feature .code-symbol { display: none; }
.digital-feature > .eyebrow { position: relative; z-index: 1; color: #4d463e; }
.digital-feature h3 { font-size: 36px; line-height: 1.12; margin-top: 18px; }
.digital-feature > p { max-width: 340px; }
.digital-window {
  width: 100%; margin-top: 22px; background: #252922; border: 1px solid #53604b;
  border-radius: 8px; overflow: hidden; transform: perspective(850px) rotateY(-7deg) rotateZ(-2deg);
  box-shadow: 12px 15px 25px #27332125;
}
.window-bar { display: flex; align-items: center; gap: 5px; border-bottom: 1px solid #ffffff20; padding: 9px 12px; }
.window-bar i { width: 5px; height: 5px; border-radius: 50%; background: #8f9a80; }
.window-bar i:first-child { background: var(--orange); }
.window-bar > span { color: #d2d7c9; font: 8px var(--sans); margin-left: auto; }
.window-body { display: grid; grid-template-columns: 1.2fr 1fr; min-height: 140px; }
.window-code { padding: 15px; font: 9px/2 monospace; }
.window-code > span { display: block; color: var(--orange); font: 24px var(--serif); margin-bottom: 10px; }
.window-code b { display: block; font-weight: 400; color: #cbd4bf; white-space: nowrap; font-size: clamp(7px, .7vw, 10px); }
.window-visual { background: #e2e9e0; margin: 12px; padding: 12px; display: flex; gap: 8px; align-items: end; flex-wrap: wrap; }
.window-visual > span { display: block; width: 100%; font: 24px/1 var(--serif); color: #1c1a17; }
.window-visual i { flex: 1; height: 22px; background: #9ba674; border-radius: 2px 2px 0 0; }
.window-visual i:nth-of-type(2) { height: 35px; background: #f99452; }
.window-visual i:nth-of-type(3) { height: 49px; background: #4d463e; }
.window-visual small { width: 100%; font: 5px var(--sans); letter-spacing: .8px; color: #4d463e; }
.project-grid.is-filtered { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.project-grid.is-filtered .project { grid-column: auto; margin-top: 0; }
.project-grid.is-filtered .project-image { height: 340px; }
.project-grid.is-filtered .digital-feature { min-height: 480px; }

/* Habilidades: uma composição escura com quatro grupos conectados. */
.skills { position: relative; isolation: isolate; overflow: hidden; background: #20241e; }
.skills::before {
  content: 'BI'; position: absolute; z-index: -1; top: -150px; right: -40px;
  font: 500 510px/1 var(--serif); letter-spacing: -45px; color: #e2e9e007;
  pointer-events: none;
}
.skills .section-heading { align-items: center; }
.skills .asterisk { font-size: 115px; transform: rotate(12deg); }
.skill-grid { gap: 0; border-top: 1px solid #e2e9e033; }
.skill { border-top: 0; padding: 30px 24px 0; border-right: 1px solid #e2e9e026; }
.skill:first-child { padding-left: 0; }
.skill:last-child { border-right: 0; padding-right: 0; }
.skill-number { top: 40px; right: 24px; color: #bdc6b1; }
.skill-icon { color: var(--orange); font-size: 32px; }
.skill h3 { font-size: 17px; margin: 20px 0; }
.skill ul { color: #d2d6c9; line-height: 2.35; }
.skills .section-label { color: #d0d5c8; }

/* Tablet: ambiente em segundo plano e mosaico em duas colunas equilibradas. */
@media (min-width: 761px) and (max-width: 1100px) {
  .hero-grid { min-height: 690px; grid-template-columns: 1fr .9fr; gap: 2%; }
  .hero h1 { font-size: 86px; }
  .hero-art { height: 520px; }
  .hero-environment { object-position: 60% center; }
  .hero::before { background: linear-gradient(90deg,#171713ed 0%,#1717139e 48%,#17171320 100%),linear-gradient(0deg,#1c1a17,transparent 25%); }
  .portrait-placeholder { width: 175px; height: 245px; right: 10%; top: 160px; }
  .portrait-initials { font-size: 72px; }
  .float-tag { font-size: 9px; padding: 9px 11px; gap: 7px; }
  .tag-one { top: 60px; left: -4%; }
  .tag-two { top: 119px; right: -3%; }
  .tag-three { top: 295px; left: -8%; }
  .tag-four { bottom: 46px; right: -2%; }
  .tag-five { bottom: 0; left: -6%; }
  .art-index { left: 0; font-size: 6px; }
  .art-bottom { right: 20%; bottom: 30px; }
  .project-grid { gap: 34px 24px; }
  .project-wide, .project-marketing, .project-church, .digital-feature { grid-column: span 6; }
  .project-marketing { margin-top: 40px; }
  .project-wide .project-image { height: 350px; }
  .project-marketing .project-image { height: 310px; }
  .project-church .project-image { height: 300px; }
  .digital-feature { margin-top: 25px; padding: 24px; }
  .marketing-sheet { width: 70%; padding: 22px; }
  .marketing-sheet strong { font-size: 34px; }
  .skill-grid { grid-template-columns: 1fr 1fr; }
  .skill { padding: 26px; }
  .skill:nth-child(2) { border-right: 0; }
  .skill:nth-child(n+3) { border-top: 1px solid #e2e9e026; margin-top: 26px; }
  .skill:nth-child(3) { padding-left: 0; }
  .skill:last-child { padding-left: 26px; }
  .skill-number { top: 35px; }
  .skill h3 { min-height: 0; }
}

/* Celular: abertura imersiva, composição própria abaixo do título e chips em fluxo. */
@media (max-width: 760px) {
  .hero { padding-top: 23px; }
  .hero-environment { height: 100%; object-position: 66% center; }
  .hero::before { background: linear-gradient(180deg,#171713e8 0%,#171713dc 36%,#1717133d 66%,#1c1a17 96%),linear-gradient(90deg,#171713a8,transparent); }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; min-height: 0; gap: 0; padding: 35px 0 20px; }
  .hero h1 { font-size: clamp(72px, 17vw, 116px); }
  .hero-description { font-size: 12px; max-width: 330px; margin: 22px 0; }
  .hero-art { height: auto; min-height: 385px; width: 100%; max-width: none; margin: 35px 0 0; padding-top: 245px; }
  .art-index { top: 0; left: 0; font-size: 7px; }
  .portrait-placeholder { width: 160px; height: 202px; top: 24px; right: 6%; border-radius: 90px 90px 8px 8px; }
  .portrait-corner { margin-top: 18px; font-size: 6px; }
  .portrait-initials { font-size: 62px; line-height: 1.35; }
  .portrait-caption { padding: 13px 4px; }
  .portrait-caption strong { font-size: 11px; }
  .portrait-caption > span { font-size: 7px; }
  .art-bottom { top: 135px; bottom: auto; left: 6%; right: auto; }
  .art-bottom > span:first-child { display: block; font-size: 6px; line-height: 1.9; letter-spacing: 1.2px; }
  .art-monogram { font-size: 54px; margin-left: 13px; }
  .hero-chips { position: relative; display: flex; flex-wrap: wrap; gap: 8px; inset: auto; padding-bottom: 8px; }
  .float-tag { position: static; inset: auto; transform: none; font-size: 9px; padding: 9px 11px; border-radius: 7px; background: #272c24a8; }
  .float-tag > span { font-size: 14px; }
  .hero-bottom { flex-wrap: wrap; padding: 17px 0; gap: 14px; }
  .hero-bottom > .hero-image-note { display: block; flex-basis: 100%; text-align: left; font-size: 6px; letter-spacing: 1px; color: #c8c3b8; }
  .hero-bottom > a { margin-left: auto; }
  .project-grid, .project-grid.is-filtered { grid-template-columns: 1fr; gap: 35px; }
  .project-grid .project { grid-column: auto; margin-top: 0; }
  .project-wide .project-image, .project-grid.is-filtered .project-wide .project-image { height: auto; aspect-ratio: 1.2; }
  .project-marketing .project-image, .project-grid.is-filtered .project-marketing .project-image { height: 350px; }
  .project-church .project-image, .project-grid.is-filtered .project-church .project-image { height: auto; aspect-ratio: 1.25; }
  .project-image img { display: block; position: absolute; inset: 0; }
  .project-meta { margin-top: 17px; }
  .project h3 { font-size: 28px; }
  .marketing-sheet { width: 62%; max-width: 240px; padding: 24px; }
  .marketing-sheet strong { font-size: 40px; }
  .marketing-art::before { font-size: 160px; }
  .digital-feature, .project-grid.is-filtered .digital-feature { min-height: 440px; padding: 24px; }
  .digital-feature h3 { font-size: 34px; }
  .digital-window { transform: rotate(-2deg); }
  .window-code b { font-size: 7px; }
  .window-body { min-height: 135px; }
  .skills::before { font-size: 310px; top: -35px; right: -20px; letter-spacing: -30px; }
  .skills h2 { font-size: 37px; }
  .skills .asterisk { font-size: 45px; right: 0; bottom: -25px; }
  .skill-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .skill { padding: 24px 15px; }
  .skill:first-child, .skill:nth-child(3) { padding-left: 0; }
  .skill:nth-child(2), .skill:last-child { border-right: 0; padding-right: 0; padding-left: 17px; }
  .skill:nth-child(n+3) { border-top: 1px solid #e2e9e026; }
  .skill-number { top: 33px; right: 15px; font-size: 8px; }
  .skill:nth-child(2) .skill-number, .skill:last-child .skill-number { right: 0; }
  .skill h3 { min-height: 39px; font-size: 15px; margin: 14px 0; }
  .skill ul { font-size: 10px; line-height: 2.2; }
}
@media (max-width: 370px) {
  .hero h1 { font-size: 70px; }
  .hero-bottom { font-size: 6px; letter-spacing: .7px; }
  .hero-art { padding-top: 240px; }
  .art-bottom { left: 0; }
  .art-bottom > span:first-child { display: none; }
  .skills h2 { font-size: 32px; }
  .skill h3 { font-size: 13px; }
}
/* Mantém a assinatura fora da área dos chips. */
@media (min-width: 761px) {
  .art-bottom { left: 6%; right: auto; bottom: 105px; }
}

/* Evolução cuidadosa: assinatura pessoal, oito disciplinas e vitrine documentável. */
:root { --mate: #9BA674; --earth: #AA7F59; }
.hero-author { margin-bottom: 18px; color: var(--paper); }
.hero-author > span { display: block; font-size: 11px; letter-spacing: .7px; color: #d7d2c8; }
.hero-author > strong { display: block; margin-top: 3px; font: 400 27px/1.25 var(--serif); letter-spacing: -.5px; }
.hero-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.hero-secondary { font-size: 12px; color: var(--paper); min-height: 44px; display: inline-flex; align-items: center; gap: 14px; border-bottom: 1px solid #f7f9f644; }
.hero-secondary:hover { color: var(--orange); border-color: var(--orange); }
.hero-art { height: 600px; }
.hero-chips { pointer-events: auto; }
.hero-chips .float-tag { font-size: 12px; padding: 11px 14px; transform: none; box-shadow: none; }
.float-tag[data-chip="1"] { top: 62px; left: 2%; right: auto; bottom: auto; }
.float-tag[data-chip="2"] { top: 108px; right: 0; left: auto; bottom: auto; }
.float-tag[data-chip="3"] { top: 192px; left: 0; right: auto; bottom: auto; }
.float-tag[data-chip="4"] { top: 250px; right: 0; left: auto; bottom: auto; }
.float-tag[data-chip="5"] { top: 355px; left: 0; right: auto; bottom: auto; }
.float-tag[data-chip="6"] { top: 405px; right: 0; left: auto; bottom: auto; }
.float-tag[data-chip="7"] { bottom: 56px; left: 1%; top: auto; right: auto; }
.float-tag[data-chip="8"] { bottom: 8px; right: 0; top: auto; left: auto; }
.portrait-placeholder, .hero-photo {
  position: absolute; top: 225px; right: 34%; width: 155px; height: 130px;
  border-radius: 8px; border: 1px dashed #e2e9e066; box-shadow: none;
  background: #1c1a174a; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: hidden; margin: 0;
}
.portrait-frame { font-size: 25px; color: #e2e9e0a6; line-height: 1; margin-bottom: 10px; }
.portrait-caption { border: 0; background: none; padding: 0 9px; }
.portrait-caption strong { font-size: 11px; }
.portrait-caption > span { font-size: 10px; line-height: 1.6; color: #ddd8cd; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero .art-bottom { left: 8%; right: auto; bottom: 130px; }
.art-monogram { font-size: 48px; }
.portrait-slot > .portrait-slot-label { font: 500 10px var(--sans); letter-spacing: 1px; color: var(--muted); }
.skills { background-color: var(--ink); }
.project>p { font-size: 14px; line-height: 1.8; }
.project-meta { font-size: 10px; }
.project .text-link { font-size: 12px; min-height: 36px; padding-top: 3px; }
.filters button.active, .filters button:hover { background: var(--orange); color: var(--ink); border-color: var(--orange); }
.skill h3 { line-height: 1.4; }
.skill ul { font-size: 12px; }
.timeline-item p { font-size: 14px; }
.education p { font-size: 13px; line-height: 1.8; }

/* Previews esquemáticos: não representam capturas reais ou tecnologias confirmadas. */
.digital-grid { gap: 26px; }
.digital-card { padding: 0; overflow: hidden; border-color: #cbd4c5; border-radius: 8px; display: flex; flex-direction: column; }
.digital-card-content { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.digital-card-top { font-size: 10px; letter-spacing: .8px; color: var(--muted); }
.digital-status { display: inline-flex; align-items: center; gap: 7px; }
.digital-status::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #737d60; }
.digital-card h3 { margin: 18px 0 10px; font-size: 30px; }
.digital-card-content > p { font-size: 14px; line-height: 1.8; min-height: 0; }
.digital-card-content .project-repository { margin-top: 14px; font-size: 12px; overflow-wrap: anywhere; }
.digital-card .stack { display: flex; gap: 6px; flex-wrap: wrap; margin: 20px 0; font-size: 12px; }
.stack-pending { color: var(--muted); }
.technology-chip { border: 1px solid var(--line); border-radius: 4px; padding: 3px 8px; font-size: 11px; }
.digital-card .project-highlights { margin: 0 0 20px; padding-left: 18px; font-size: 13px; color: var(--muted); }
.digital-actions { margin-top: auto; min-height: 40px; font-size: 12px; color: var(--muted); align-items: center; }
.digital-actions a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 550; color: var(--hover); }
.digital-actions a:hover { text-decoration: underline; text-underline-offset: 5px; }
.digital-note { font-size: 12px; line-height: 1.8; }
.digital-preview { position: relative; background: #d5ddce; border-bottom: 1px solid #cbd4c5; overflow: hidden; padding: 20px 25px 0; }
.preview-chrome { display: flex; gap: 5px; align-items: center; padding: 11px 13px; background: #30362c; border-radius: 7px 7px 0 0; }
.preview-chrome i { width: 5px; height: 5px; background: #a9b39e; border-radius: 50%; }
.preview-chrome > span { margin-left: auto; font-size: 8px; letter-spacing: 1.5px; color: #d2d8ca; }
.preview-wireframe { height: 175px; position: relative; background: #f7f9f6; overflow: hidden; }
.preview-block,.preview-sidebar,.preview-line { position: absolute; display: block; border-radius: 3px; background: #d2dbc9; }
.preview-sidebar { top: 0; left: 0; bottom: 0; width: 18%; background: #35422e; border-radius: 0; }
.preview-sidebar::before { content: ''; position: absolute; width: 45%; height: 5px; top: 22px; left: 25%; background: #a8b398; box-shadow: 0 19px #a8b39855,0 38px #a8b39855,0 57px #a8b39855; }
.preview-caption { display: block; font-size: 10px; color: var(--muted); padding: 11px 0; line-height: 1.6; }
[data-preview="crm"] .block-a { top: 20px; left: 23%; width: 20%; height: 36px; }
[data-preview="crm"] .block-b { top: 20px; left: 47%; width: 20%; height: 36px; background: #b8c6ac; }
[data-preview="crm"] .block-c { top: 20px; left: 71%; width: 22%; height: 36px; background: #ded8c9; }
[data-preview="crm"] .block-d { top: 73px; left: 23%; width: 70%; height: 1px; background: #c3ceba; box-shadow: 0 22px #c3ceba,0 44px #c3ceba,0 66px #c3ceba; }
[data-preview="crm"] .preview-line { top: 84px; left: 25%; width: 21%; height: 4px; background: #a6b198; box-shadow: 0 22px #a6b198,0 44px #a6b198; }
[data-preview="landing"] { background: #dcd7cc; }
[data-preview="landing"] .preview-sidebar { top: 0; left: 0; width: 100%; height: 20px; background: #e4e8df; }
[data-preview="landing"] .preview-sidebar::before { height: 4px; width: 13%; top: 8px; left: 7%; box-shadow: none; }
[data-preview="landing"] .block-a { top: 43px; left: 7%; width: 33%; height: 8px; background: #4d5941; box-shadow: 0 14px #4d5941; }
[data-preview="landing"] .block-b { top: 83px; left: 7%; width: 36%; height: 3px; box-shadow: 0 7px #d2dbc9,0 14px #d2dbc9; }
[data-preview="landing"] .block-c { top: 38px; right: 7%; width: 40%; height: 95px; border-radius: 45px 45px 4px 4px; background: #a8b398; }
[data-preview="landing"] .block-d { top: 119px; left: 7%; width: 18%; height: 12px; background: #b3b9a4; }
[data-preview="landing"] .preview-line { bottom: 16px; left: 7%; width: 86%; height: 1px; }
[data-preview="automation"] { background: #c8d2c0; }
[data-preview="automation"] .preview-wireframe { background-color: #eef2ea; background-image: radial-gradient(#c1cdb8 1px,transparent 1px); background-size: 12px 12px; }
[data-preview="automation"] .preview-sidebar { display: none; }
[data-preview="automation"] .preview-block { width: 21%; height: 42px; top: 65px; background: #e2e9e0; border: 1px solid #9ba98d; z-index: 1; }
[data-preview="automation"] .block-a { left: 8%; }
[data-preview="automation"] .block-b { left: 40%; background: #bccbae; }
[data-preview="automation"] .block-c { left: 72%; }
[data-preview="automation"] .block-d { display: none; }
[data-preview="automation"] .preview-block::before { content: ''; width: 12px; height: 12px; border: 1px solid #758665; display: block; margin: 14px auto; border-radius: 3px; }
[data-preview="automation"] .preview-line { left: 15%; width: 70%; height: 1px; top: 86px; background: #7e8d70; }
[data-preview="ai"] { background: #30362c; }
[data-preview="ai"] .preview-caption { color: #d5dccc; }
[data-preview="ai"] .preview-chrome { background: #1c1a17; }
[data-preview="ai"] .preview-wireframe { background: #e7ece2; }
[data-preview="ai"] .preview-sidebar { width: 14%; }
[data-preview="ai"] .block-a { left: 23%; top: 24px; width: 17%; height: 35px; border: 1px solid #9ba674; background: none; border-radius: 50%; }
[data-preview="ai"] .block-b { left: 45%; top: 29px; width: 40%; height: 5px; background: #7b886d; box-shadow: 0 13px #c3cdba; }
[data-preview="ai"] .block-c { left: 23%; top: 77px; width: 62%; height: 39px; background: #d1dcc8; }
[data-preview="ai"] .block-d { left: 23%; top: 135px; width: 62%; height: 22px; border: 1px solid #b9c5ae; background: none; }
[data-preview="ai"] .preview-line { left: 28%; top: 145px; width: 35%; height: 3px; background: #b9c5ae; }
.digital-preview > img { position: absolute; inset: 0 0 auto; width: 100%; height: calc(100% - 38px); object-fit: contain; background: var(--paper); opacity: 0; }
.digital-preview.has-screenshot { padding-top: 20px; }
.digital-preview.has-screenshot > img { opacity: 1; }
.digital-preview.has-screenshot .preview-chrome,.digital-preview.has-screenshot .preview-wireframe { visibility: hidden; }

@media (min-width: 761px) and (max-width: 1100px) {
  .hero-art { height: 590px; padding-bottom: 0; }
  .hero-chips { position: absolute; inset: auto 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
  .hero-chips .float-tag { position: static; padding: 10px; font-size: 11px; white-space: normal; line-height: 1.5; }
  .hero-chips .float-tag > span { font-size: 14px; }
  .portrait-placeholder,.hero-photo { top: 100px; right: 6%; width: 155px; height: 145px; }
  .hero .art-bottom { top: 210px; bottom: auto; left: 4%; }
  .hero-actions { gap: 14px; }
  .hero-actions .button { gap: 18px; padding: 15px 17px; }
  .hero-secondary { font-size: 12px; }
  .skill ul { font-size: 13px; }
}
@media (max-width: 760px) {
  .hero-author { margin-bottom: 20px; }
  .hero-author > span { font-size: 12px; }
  .hero-author > strong { font-size: 26px; }
  .hero .intro { font-size: 12px; }
  .hero-description { font-size: 14px; }
  .hero-actions { gap: 12px 22px; }
  .hero-actions .button { min-height: 50px; }
  .hero-secondary { font-size: 13px; }
  .hero-art { height: auto; min-height: 0; padding-top: 205px; margin-top: 32px; }
  .hero-chips { position: relative; display: flex; flex-wrap: wrap; gap: 9px; inset: auto; }
  .hero-chips .float-tag { position: static; font-size: 12px; padding: 9px 11px; line-height: 1.5; }
  .portrait-placeholder,.hero-photo { top: 38px; right: 0; width: 166px; height: 132px; }
  .portrait-caption strong { font-size: 12px; }
  .portrait-caption > span { font-size: 10px; }
  .hero .art-bottom { top: 100px; bottom: auto; left: 0; }
  .hero .art-bottom > span:first-child { display: none; }
  .hero .art-monogram { margin: 0; font-size: 48px; }
  .hero .art-index { font-size: 8px; line-height: 1.7; max-width: 220px; letter-spacing: 1px; }
  .hero-bottom { font-size: 8px; }
  .hero-bottom > .hero-image-note { font-size: 9px; line-height: 1.7; }
  .hero-bottom > a { margin-left: 0; min-height: 44px; display: inline-flex; align-items: center; }
  .filters button { min-height: 44px; font-size: 12px; }
  .project-meta { font-size: 11px; }
  .project .text-link { min-height: 44px; display: inline-flex; align-items: center; }
  .section-heading > p,.about-text > p:not(.lead) { font-size: 14px; }
  .skill h3 { font-size: 16px; }
  .skill ul { font-size: 12px; line-height: 1.9; }
  .timeline-item .eyebrow,.role { font-size: 12px; }
  .education h3 { font-size: 16px; }
  .digital-card-content { padding: 23px; }
  .digital-card h3 { font-size: 29px; }
  .digital-card-top { font-size: 10px; letter-spacing: .4px; }
  .digital-preview { padding: 17px 18px 0; }
  .preview-caption { font-size: 10px; }
  .preview-wireframe { height: 160px; }
  .contact-grid p { font-size: 14px; }
  .contact-email { font-size: 13px; min-height: 44px; display: inline-flex; align-items: center; }
  .footer-links { font-size: 12px; gap: 7px 18px; align-items: center; }
  .footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
  .footer-bottom { font-size: 11px; }
  .footer-bottom a { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (max-width: 380px) {
  .hero-actions { align-items: start; flex-direction: column; gap: 10px; }
  .hero-chips .float-tag { font-size: 11px; padding: 9px; }
  .skill-grid { grid-template-columns: 1fr; }
  .skill-grid .skill { border-right: 0; border-top: 1px solid #e2e9e026; padding: 24px 0; }
  .skill-grid .skill:first-child { border-top: 0; }
  .skill-grid .skill-number { right: 0; }
  .skill h3 { min-height: 0; font-size: 17px; }
  .skill ul { font-size: 13px; }
  .digital-card-content { padding: 20px; }
  .digital-card-top { flex-wrap: wrap; gap: 8px; }
}
/* O status é uma legenda, sem herdar o tamanho do antigo ícone dos cards. */
.digital-card-top > .digital-status { font-size: 10px; }

/* Ajuste 01 — apenas o retrato editorial da seção Sobre mim. */
#sobre .about-portrait {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 45px 0 0;
  padding: 18px 0;
  border-block: 1px solid var(--line);
}
#sobre .about-portrait-media {
  position: relative;
  display: grid;
  place-items: center;
  width: 156px;
  aspect-ratio: 3 / 4;
  flex: 0 0 156px;
  overflow: hidden;
  background: var(--sage);
}
#sobre .about-portrait-monogram { font-size: 38px; padding-right: 4px; }
#sobre .about-portrait-photo {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 40% center;
}
#sobre .about-portrait.has-photo .about-portrait-monogram { visibility: hidden; }
#sobre .about-portrait-name {
  display: block;
  font: 400 25px/1.3 var(--serif);
  letter-spacing: -.5px;
  color: var(--ink);
}
#sobre .about-portrait-caption p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
@media (max-width: 760px) {
  #sobre .about-portrait { margin-top: 30px; gap: 17px; padding-block: 16px; }
  #sobre .about-portrait-media { width: 120px; flex-basis: 120px; }
  #sobre .about-portrait-monogram { font-size: 32px; }
  #sobre .about-portrait-name { font-size: 22px; }
  #sobre .about-portrait-caption p { font-size: 12px; line-height: 1.7; }
}

/* Ajuste 02 — exclusivamente as oito tags flutuantes do Hero. */
#inicio .hero-chips .float-tag {
  min-height: 44px;
  padding: 11px 15px;
  gap: 9px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  color: var(--paper);
  background: rgba(28, 26, 23, .88);
  border: 1px solid rgba(247, 249, 246, .25);
  border-radius: 8px;
  box-shadow: none;
  transform: none;
  white-space: nowrap;
}
#inicio .hero-chips .float-tag > span {
  color: var(--orange);
  font-size: 15px;
  flex-shrink: 0;
}
@media (min-width: 1101px) {
  #inicio .float-tag[data-chip="1"] { inset: 64px auto auto 0; }
  #inicio .float-tag[data-chip="2"] { inset: 110px 0 auto auto; }
  #inicio .float-tag[data-chip="3"] { inset: 202px auto auto 0; }
  #inicio .float-tag[data-chip="4"] { inset: 250px 0 auto auto; }
  #inicio .float-tag[data-chip="5"] { inset: 360px auto auto 0; }
  #inicio .float-tag[data-chip="6"] { inset: 405px 0 auto auto; }
  #inicio .float-tag[data-chip="7"] { inset: auto auto 36px 0; }
  #inicio .float-tag[data-chip="8"] { inset: auto 0 0 auto; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  #inicio .hero-chips {
    display: flex;
    flex-wrap: wrap;
    align-content: end;
    justify-content: flex-start;
    gap: 10px;
    inset: auto 0 0;
  }
  #inicio .hero-chips .float-tag {
    position: static;
    font-size: 12px;
    min-height: 42px;
    padding: 10px 12px;
  }
}
@media (max-width: 760px) {
  #inicio .hero-chips {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    inset: auto;
  }
  #inicio .hero-chips .float-tag {
    position: static;
    font-size: 12px;
    min-height: 42px;
    padding: 10px 12px;
  }
}

/* Ajuste 03 — apenas os quatro projetos digitais; dimensões do grid preservadas. */
#digitais .digital-illustration {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#digitais [data-preview="crm"] .preview-wireframe { background: var(--paper); }
#digitais [data-preview="landing"] .preview-wireframe { background: var(--ink); }
#digitais [data-preview="automation"] .preview-wireframe { background: #edf1e8; background-image: none; }
#digitais [data-preview="ai"] .preview-wireframe { background: #24281f; }
#digitais .digital-card {
  transition: border-color .18s ease;
}
#digitais .digital-card:hover { border-color: #9ba674; }
#digitais .digital-card:focus-within { border-color: var(--hover); }
#digitais .digital-actions a {
  border-radius: 2px;
  text-underline-offset: 4px;
}
#digitais .digital-actions a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}
#digitais .project-category { text-align: right; }
@media (prefers-reduced-motion: reduce) {
  #digitais .digital-card { transition: none; }
}
/* Legenda consistente: evita herdar os 25px do antigo ícone do card. */
#digitais .digital-card-top { min-height: 44px; gap: 10px; }
#digitais .digital-card-top > .digital-status { font-size: 11px; white-space: nowrap; }
#digitais .project-category { font-size: 10px; white-space: nowrap; flex-shrink: 0; }

/* Ajuste 04 — legibilidade apenas de Experiência e Formação.
   Medidas anteriores: descrições 14px, formação 13px e períodos 9px no desktop. */
#experiencia .timeline-item p {
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  max-width: 60ch;
}
#experiencia .timeline-item .eyebrow {
  display: inline-block;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: .5px;
  font-weight: 400;
  color: var(--muted);
}
#experiencia .timeline-item .role {
  display: inline-block;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--muted);
}
#experiencia .timeline-item::before { top: 7px; }
#experiencia .muted { font-size: 15px; line-height: 1.6; font-weight: 400; }
#formacao h3 { font-size: 17px; font-weight: 600; line-height: 1.5; }
#formacao .education-grid p { font-size: 17px; font-weight: 400; line-height: 1.55; }
@media (min-width: 761px) and (max-width: 900px) {
  /* A coluna anterior de 311px no tablet comprimia as descrições. */
  #experiencia .experience-grid { grid-template-columns: 1fr; gap: 35px; }
}
#experiencia .section-label, #formacao .section-label { font-weight: 400; }
@media (min-width: 761px) {
  /* Alinha as descrições após títulos de uma ou duas linhas, sem cortar texto. */
  #formacao h3 { min-block-size: 3em; }
}

/* Retrato da capa: camada independente sobre o ambiente arquitetônico original. */
#inicio .hero-person {
  position: absolute;
  inset: 30px -18px 0;
  z-index: 0;
  margin: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 90%, transparent 100%);
}
#inicio .hero-person img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}
#inicio .hero-chips, #inicio .art-index, #inicio .art-bottom { z-index: 1; }
@media (min-width: 761px) and (max-width: 1100px) {
  #inicio .hero-person { inset: 25px -10px auto; height: 335px; }
}
@media (max-width: 760px) {
  #inicio .hero-art { padding-top: 350px; }
  #inicio .hero-person { inset: 25px 0 auto; height: 310px; }
  #inicio .art-bottom { top: 240px; }
}

@media (min-width: 1101px) and (max-width: 1279px) {
  #inicio .hero-person { left: 8px; right: -44px; }
}

/* Ajuste 09 — assinatura única do Hero, sem alterar título ou retrato. */
#inicio .hero-author {
  margin-bottom: 28px;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 1.3px;
}
@media (max-width: 760px) {
  #inicio .hero-author { margin-bottom: 24px; font-size: 11px; letter-spacing: 1px; }
}

/* Ajuste 10 — retrato integrado à coluna editorial de Sobre mim. */
#sobre .about-portrait {
  display: block;
  width: min(100%, 260px);
  margin: 32px 0 0;
  padding: 0;
  border: 0;
}
#sobre .about-portrait-media {
  width: 100%;
  aspect-ratio: 4 / 5;
}
@media (max-width: 760px) {
  #sobre .about-portrait { width: min(100%, 240px); margin-top: 28px; }
}

/* Enquadramento do retrato — salvo pelo editor local. */
#sobre .about-portrait-photo {
  object-position: 32% 22%;
  transform: scale(1.07);
  transform-origin: 32% 22%;
}

/* Ajuste 11 — mosaico editorial restrito à seção Trabalhos. */
#trabalhos .project-image { width: 100%; min-width: 0; }
#trabalhos .project-grid:not(.is-filtered) {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 52px 32px;
  align-items: start;
}
#trabalhos .project-grid:not(.is-filtered) .project-wide { grid-column: span 7; }
#trabalhos .project-grid:not(.is-filtered) .project-marketing,
#trabalhos .project-grid:not(.is-filtered) .project-church { grid-column: span 5; }
#trabalhos .project-grid:not(.is-filtered) .digital-feature { grid-column: span 7; }
#trabalhos .project-grid .project { margin-top: 0; }
#trabalhos .project-grid:not(.is-filtered) .project-wide .project-image {
  height: auto;
  aspect-ratio: 8 / 5;
}
#trabalhos .project-grid:not(.is-filtered) .project-marketing .project-image,
#trabalhos .project-grid:not(.is-filtered) .project-church .project-image {
  height: auto;
  aspect-ratio: 8 / 5;
  min-height: 280px;
}
#trabalhos .project-meta { margin-top: 20px; margin-bottom: 10px; }
#trabalhos .project > p { margin-top: 12px; margin-bottom: 16px; }
#trabalhos .project-grid:not(.is-filtered) .digital-feature {
  align-self: stretch;
  min-height: 0;
  padding: 28px;
  gap: 18px;
}
#trabalhos .digital-window { margin-top: 0; transform: none; }
#trabalhos .digital-feature h3 { margin-top: 0; }
#trabalhos .digital-feature > p { margin: 0; }

/* Tablet: principal em largura total e secundários com a mesma largura. */
@media (min-width: 761px) and (max-width: 1000px) {
  #trabalhos .project-grid:not(.is-filtered) { gap: 40px 24px; }
  #trabalhos .project-grid:not(.is-filtered) .project-wide { grid-column: 1 / -1; }
  #trabalhos .project-grid:not(.is-filtered) .project-wide .project-image { aspect-ratio: 16 / 9; }
  #trabalhos .project-grid:not(.is-filtered) .project-marketing,
  #trabalhos .project-grid:not(.is-filtered) .project-church { grid-column: span 6; }
  #trabalhos .project-grid:not(.is-filtered) .project-marketing .project-image,
  #trabalhos .project-grid:not(.is-filtered) .project-church .project-image { min-height: 260px; }
  #trabalhos .project-grid:not(.is-filtered) .digital-feature {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 'label preview' 'title preview' 'description preview' 'link preview';
    gap: 14px 28px;
    align-items: start;
    min-height: 290px;
  }
  #trabalhos .project-grid:not(.is-filtered) .digital-feature > .eyebrow { grid-area: label; }
  #trabalhos .project-grid:not(.is-filtered) .digital-feature .digital-window { grid-area: preview; align-self: center; }
  #trabalhos .project-grid:not(.is-filtered) .digital-feature h3 { grid-area: title; }
  #trabalhos .project-grid:not(.is-filtered) .digital-feature > p { grid-area: description; }
  #trabalhos .project-grid:not(.is-filtered) .digital-feature > a { grid-area: link; justify-self: start; }
}

/* Mobile: sequência clara, com maior área de imagem para o projeto principal. */
@media (max-width: 760px) {
  #trabalhos .project-grid:not(.is-filtered) { grid-template-columns: 1fr; gap: 38px; }
  #trabalhos .project-grid:not(.is-filtered) .project { grid-column: auto; }
  #trabalhos .project-grid:not(.is-filtered) .project-wide .project-image { aspect-ratio: 1; }
  #trabalhos .project-grid:not(.is-filtered) .project-marketing .project-image,
  #trabalhos .project-grid:not(.is-filtered) .project-church .project-image {
    aspect-ratio: 6 / 5;
    min-height: 280px;
  }
  #trabalhos .project-grid:not(.is-filtered) .digital-feature { padding: 24px; min-height: 420px; }
  #trabalhos .project-meta { margin-top: 17px; }
}
/* Mantém o mockup inclinado inteiro dentro da nova proporção de imagem. */
#trabalhos .marketing-sheet { transform: rotate(-9deg) scale(.88); }
@media (max-width: 760px) {
  #trabalhos .marketing-sheet { width: 78%; max-width: 260px; }
}

/* Hero com a composição completa fornecida por Augusto, sem recorte sobreposto. */
#inicio .hero-environment { object-position: 40% center; }
#inicio::before {
  background: linear-gradient(90deg, rgba(28,26,23,.35), rgba(28,26,23,.1) 42%, transparent 62%), linear-gradient(0deg, #1c1a17, transparent 16%);
}
@media (min-width: 1101px) {
  /* Deixa a região do rosto livre; chips laterais acompanham a nova fotografia. */
  #inicio .float-tag[data-chip="1"] { top: -48px; }
  #inicio .float-tag[data-chip="3"] { top: 350px; }
  #inicio .float-tag[data-chip="5"] { top: 422px; }
  #inicio .float-tag[data-chip="7"] { bottom: 0; }
}
@media (max-width: 760px) {
  /* A composição aparece abaixo do texto; o rosto não fica atrás do título. */
  #inicio .hero-environment { top: auto; bottom: 0; height: 660px; object-position: 64% center; }
  #inicio::before {
    background: linear-gradient(180deg, #1c1a17 0%, rgba(28,26,23,.96) 35%, transparent 60%, rgba(28,26,23,.45) 100%);
  }
}
@media (max-width: 760px) {
  #inicio .hero-environment {
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 90%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 90%, transparent);
  }
}

/* Enquadramento mais aberto: retrato menos dominante, sem editar o arquivo. */
#inicio .hero-environment {
  inset: 0 0 auto auto;
  width: 82%;
  height: auto;
  aspect-ratio: 1586 / 992;
  max-height: 86%;
  object-fit: contain;
  object-position: right top;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%), linear-gradient(180deg, #000 80%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 20%), linear-gradient(180deg, #000 80%, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
@media (max-width: 760px) {
  #inicio .hero-environment {
    inset: auto 0 150px;
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: 64% center;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 85%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 18%, #000 85%, transparent);
  }
}
@media (min-width: 1101px) and (max-width: 1279px) {
  #inicio .hero-environment { width: 78%; }
}

/* Fundo contínuo com o preto da borda da fotografia, restrito ao Hero. */
#inicio { background-color: #080806; }
#inicio::before {
  background: linear-gradient(90deg, rgba(8,8,6,.35), rgba(8,8,6,.1) 42%, transparent 62%), linear-gradient(0deg, #080806, transparent 16%);
}
@media (max-width: 760px) {
  #inicio::before {
    background: linear-gradient(180deg, #080806 0%, rgba(8,8,6,.96) 35%, transparent 60%, rgba(8,8,6,.45) 100%);
  }
}
