/* =====================================================================
   LP Leandro Rezende Aquino — mobile first
   Tokens: design-system/MASTER.md
   ===================================================================== */
:root {
  --ink-950: #070B0E;
  --ink-900: #0B1115;
  --ink-800: #111A1F;
  --ink-700: #1A252B;
  --petrol-500: #283234;
  --gold-500: #CDA178;
  --gold-600: #A97F57;
  --gold-300: #E3C6A2;
  --cream-100: #F3EBDD;
  --cream-400: #B9B1A3;
  --line: rgba(205, 161, 120, .14);
  --line-strong: rgba(205, 161, 120, .32);

  --f-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --f-text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 24px;
  --container: 1280px;
  --nav-h: 64px;
  --radius-panel: 24px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --z-base: 1;
  --z-panel: 2;
  --z-index: 40;
  --z-mbar: 80;
  --z-menu: 90;
  --z-nav: 100;
  --z-progress: 110;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  min-height: 100svh;
  background: var(--ink-900) url("../assets/img/linho-900.webp") repeat;
  background-size: 512px;
  color: var(--cream-100);
  font-family: var(--f-text);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, picture, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ol, ul { list-style: none; padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--gold-500); color: var(--ink-900); }

:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--gold-500); color: var(--ink-900);
  padding: 10px 16px; font-weight: 600; border-radius: 2px;
  transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- loading ----------
   Anel e monograma centrados na viewport (o nome fica abaixo, fora do fluxo),
   para o monograma poder voar até a marca do topo sem saltos.
   Transform/opacity do logo são do GSAP: a entrada CSS usa fill "backwards" para não brigar com ele. */
:root { --ld-ring: 136px; --ld-logo: 84px; }
.loader, .loader__pic { display: none; }
.js .loader, .js .loader__pic { display: block; }
.js { scrollbar-gutter: stable; }               /* destravar o scroll não desloca o layout */
.is-loading { overflow: hidden; }
.loader {
  position: fixed; inset: 0; z-index: 300;
  background: var(--ink-950) url("../assets/img/linho-900.webp") repeat;
  background-size: 512px;
}
/* rede de segurança: se o JS não rodar, o loading sai sozinho */
.js .loader, .js .loader__pic { animation: loader-failsafe .6s 6s forwards; }
.loader__ring {
  position: absolute; left: 50%; top: 50%;
  width: var(--ld-ring); height: var(--ld-ring);
  margin: calc(var(--ld-ring) / -2) 0 0 calc(var(--ld-ring) / -2);
  transform: rotate(-90deg); overflow: visible;
}
.loader__ring circle { fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }
.loader__track { stroke: var(--line); }
.loader__arc { stroke: var(--gold-500); stroke-dasharray: 100; stroke-dashoffset: 100; }
.loader__name {
  position: absolute; left: 0; right: 0; top: calc(50% + var(--ld-ring) / 2 + 28px);
  text-align: center;
  font-family: var(--f-display); font-size: 1.25rem; line-height: 1; letter-spacing: .01em;
  animation: loader-in .9s .15s var(--ease-out) backwards;
}
.loader__name em { font-style: italic; color: var(--gold-500); }
.loader__logo {
  position: fixed; left: 50%; top: 50%; z-index: 301;
  width: var(--ld-logo); height: var(--ld-logo);
  margin: calc(var(--ld-logo) / -2) 0 0 calc(var(--ld-logo) / -2);
  pointer-events: none;
  animation: loader-in .9s var(--ease-out) backwards;
}
@keyframes loader-in { from { opacity: 0; transform: translateY(8px) scale(.94); } }
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; } }

/* Revelados via JS. Sem JS (ou se falhar), tudo aparece. */
.js [data-split], .js [data-fade], .js [data-row], .js [data-cred], .js [data-seg] { visibility: hidden; }

/* ---------- utilitários ---------- */
.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.screen { mix-blend-mode: screen; }

.display {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.01em;
}
.display em { font-style: italic; color: var(--gold-500); }

.h1 { font-size: clamp(3rem, 14vw, 4.5rem); }
.h2 { font-size: clamp(2.35rem, 9.5vw, 3.25rem); }

.label {
  display: flex; align-items: center; gap: .75em;
  font-size: .75rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-500);
}
.roman {
  font-family: var(--f-display); font-style: italic;
  font-size: 1.35em; letter-spacing: .04em; text-transform: none;
  display: inline-flex; align-items: center; gap: .55em;
}
.roman::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .55; }

.head { margin-bottom: 40px; }
.head .label { margin-bottom: 18px; }

.ico {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.25;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  border-radius: 2px;
  transition: background-color .22s, color .22s, border-color .22s, transform .22s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn--gold { background: var(--gold-500); color: var(--ink-900); }
.btn--gold:hover { background: var(--gold-300); }
.btn--line { border: 1px solid var(--line-strong); color: var(--gold-500); }
.btn--line:hover { border-color: var(--gold-500); background: rgba(205, 161, 120, .08); }
.btn--text { padding: 0 4px; color: var(--cream-100); letter-spacing: .1em; }
.btn--text .ico { width: 16px; height: 16px; color: var(--gold-500); transition: transform .3s var(--ease-out); }
.btn--text:hover .ico { transform: translateY(3px); }

/* ---------- progresso ---------- */
.progress {
  position: fixed; z-index: var(--z-progress);
  top: 0; left: 0; right: 0; height: 2px;
  pointer-events: none;
}
.progress__bar {
  display: block; width: 100%; height: 100%;
  background: var(--gold-500);
  transform: scaleX(0); transform-origin: left;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: var(--z-nav);
  inset: 0 0 auto 0; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 12px 0 16px;
  transition: transform .45s var(--ease-out), background-color .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11, 17, 21, .78);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.nav__brand img { width: 36px; height: 36px; }
.nav__name { font-family: var(--f-display); font-size: 1.125rem; line-height: 1; letter-spacing: .01em; }
.nav__name em { font-style: italic; color: var(--gold-500); }
.nav__links, .nav__cta { display: none; }

.nav__menu {
  width: 48px; height: 48px; display: grid; place-content: center; gap: 7px;
  -webkit-tap-highlight-color: transparent;
}
.nav__menu span {
  display: block; width: 24px; height: 1.25px; background: var(--cream-100);
  transition: transform .45s var(--ease-out), width .45s var(--ease-out);
}
.nav__menu span:last-child { width: 16px; justify-self: end; }
.nav__menu[aria-expanded="true"] span:first-child { transform: translateY(4.1px) rotate(45deg); }
.nav__menu[aria-expanded="true"] span:last-child { width: 24px; transform: translateY(-4.1px) rotate(-45deg); }

/* ---------- menu celular ---------- */
.menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--ink-950);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 32px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  overflow-y: auto;
}
.menu__list li { border-bottom: 1px solid var(--line); overflow: hidden; }
.menu__list a {
  display: flex; align-items: baseline; gap: 18px;
  padding: 14px 0;
  font-family: var(--f-display); font-size: 2.125rem; line-height: 1.1;
}
.menu__list i { font-size: .95rem; color: var(--gold-500); min-width: 2.2em; }
.menu__foot { display: grid; gap: 10px; margin-top: 32px; font-size: .9375rem; color: var(--cream-400); }
.menu__foot a:not(.btn) { min-height: 44px; display: flex; align-items: center; }
.menu__foot .btn { margin-bottom: 8px; }

/* ---------- índice lateral (desktop) ---------- */
.index { display: none; }

/* =====================================================================
   I · HERO
   ===================================================================== */
.stack { position: relative; }
.hero {
  position: sticky; top: 0; z-index: var(--z-base);
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 48px;
  overflow: hidden;
  background: var(--ink-900);
}
.hero__media {
  position: absolute; inset: 0 0 auto 0; height: 74svh;
  background: var(--ink-900);   /* fundo opaco: o blend "screen" da roseta precisa dele */
  overflow: hidden;
}
.hero__halo {
  position: absolute; inset: -10% -30% 0;
  background: radial-gradient(48% 42% at 50% 36%, rgba(40, 50, 52, .95) 0%, rgba(26, 37, 43, .55) 45%, transparent 75%);
}
.hero__rosette {
  position: absolute; width: 150vw; max-width: none; height: auto;
  left: 50%; top: 4svh; margin-left: -75vw;
  opacity: .2;
}
.hero__photo { position: absolute; inset: 0; }
.hero__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%;
  -webkit-mask-image: radial-gradient(ellipse 62% 78% at 50% 34%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 78% at 50% 34%, #000 58%, transparent 100%);
}
.hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 46%, rgba(11, 17, 21, .86) 82%, var(--ink-900) 100%);
}
.hero__content { position: relative; z-index: 2; }
.hero__content .label { margin-bottom: 16px; }
.hero__title { font-size: clamp(2.6rem, 11.2vw, 4rem); text-wrap: balance; }
.hero__lead { margin-top: 18px; max-width: 34ch; color: var(--cream-400); }
.hero__actions { display: grid; gap: 8px; margin-top: 28px; }
.hero__actions .btn--gold { width: 100%; }
.hero__actions .btn--text { justify-self: center; min-height: 48px; }
.hero__scroll { display: none; }

/* =====================================================================
   painéis que sobem por cima (II e V)
   ===================================================================== */
.panel {
  position: relative; z-index: var(--z-panel);
  background: var(--ink-800) url("../assets/img/linho-800.webp") repeat;
  background-size: 512px;
  border-radius: var(--radius-panel) var(--radius-panel) 0 0;
  border-top: 1px solid var(--line);
  box-shadow: 0 -40px 80px rgba(0, 0, 0, .45);
}
section { scroll-margin-top: 0; }

/* =====================================================================
   II · ÁREAS — celular: cards empilhados (sticky)
   ===================================================================== */
.areas { padding: 72px 0 96px; }
.areas__list { display: grid; gap: 16px; }
.area { position: sticky; top: calc(var(--nav-h) + 16px + var(--i, 0) * 14px); }
.area__card {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-rows: auto auto 1fr;
  min-height: min(64svh, 500px);
  padding: 24px;
  background: var(--ink-700);
  border: 1px solid var(--line);
  border-radius: 20px;
  transform-origin: 50% 0;
}
.area__num {
  font-family: var(--f-display); font-style: italic;
  font-size: 1.125rem; color: var(--gold-500);
}
.area__art {
  position: absolute; z-index: -1;
  width: 74%; height: auto; right: -6%; bottom: -6%;
  opacity: .5;
}
/* texto no topo: quando a próxima carta sobe, ela cobre a gravura, não a leitura */
.area__body { align-self: start; margin-top: 18px; }
.area__name { font-size: 2.35rem; margin-bottom: 12px; }
.area__body p { color: var(--cream-400); max-width: 34ch; }
.area__shade {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: var(--ink-950); opacity: 0;
}

/* =====================================================================
   III · SOBRE
   ===================================================================== */
.about { position: relative; z-index: var(--z-panel); background: var(--ink-900); padding: 0 0 96px; }
.about__media { margin-inline: calc(var(--gutter) * -1); }
.about__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-950); }
.about__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about__line { display: none; }
.about__text { padding-top: 40px; }
.about__text .label { margin-bottom: 18px; }
.about__text h2 { margin-bottom: 28px; }
.about__text p:not(.label) + p { margin-top: 18px; }
.about__text p:not(.label) { color: var(--cream-400); max-width: 60ch; }
.about__lead { color: var(--cream-100) !important; font-size: 1.125rem; }
.dropcap::first-letter {
  float: left;
  font-family: var(--f-display); font-size: 4.4em; line-height: .78;
  padding: .06em .12em 0 0; color: var(--gold-500);
}
.about__sign {
  display: grid; gap: 4px;
  margin-top: 36px !important; padding-top: 24px;
  border-top: 1px solid var(--line);
}
.about__sign .display { font-size: 1.75rem; font-style: italic; color: var(--gold-300); }
.about__sign small { font-size: .8125rem; letter-spacing: .06em; color: var(--cream-400); }

/* =====================================================================
   IV · FORMAÇÃO — celular: livro-razão
   ===================================================================== */
.cred { position: relative; isolation: isolate; overflow: hidden; background: var(--ink-900); padding: 96px 0; }
.cred__band {
  position: absolute; z-index: -1;
  width: 260%; max-width: none; left: -80%; top: 40px;
  opacity: .14;
}
.cred__grid { display: grid; }
.cred__item { position: relative; display: grid; gap: 6px; padding: 24px 0; }
.cred__item:last-child { padding-bottom: 0; }
.cred__line {
  position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--line-strong); transform-origin: left;
}
.cred__abbr { font-size: 2.5rem; color: var(--gold-500); font-weight: 400; line-height: 1; }
.cred__item > span:last-child { color: var(--cream-400); }

/* =====================================================================
   V · O ESCRITÓRIO — painel que sobe sobre a formação
   ===================================================================== */
.firm { padding: 80px 0 96px; }
.firm__head { margin-bottom: 32px; }
.firm__logo { display: block; width: min(280px, 78%); margin-bottom: 28px; }
.firm__logo img { width: 100%; height: auto; }
.firm__lead { color: var(--cream-100); font-size: 1.125rem; max-width: 52ch; }
.firm__cta { margin-top: 28px; }
.firm__cta .ico { width: 18px; height: 18px; }
.firm__segs { margin-top: 56px; }
.seg {
  position: relative;
  display: grid; grid-template-columns: 44px 1fr; align-items: baseline;
  padding: 22px 0;
}
.seg:last-child { border-bottom: 1px solid var(--line); }
.seg__line {
  position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--line-strong); transform-origin: left;
}
.seg__num { font-family: var(--f-display); font-style: italic; font-size: 1.125rem; color: var(--gold-500); }
.seg__name { font-size: 1.875rem; font-weight: 400; line-height: 1.1; }

/* =====================================================================
   VI · CONTATO
   ===================================================================== */
.contact {
  position: relative; z-index: var(--z-panel); isolation: isolate; overflow: hidden;
  background: var(--ink-950);
  padding: 40svh 0 96px;
  border-radius: var(--radius-panel) var(--radius-panel) 0 0;
}
/* celular: Brasília como faixa no topo da seção; o título entra sobre a base dela */
.contact__bg { position: absolute; inset: 0 0 auto 0; height: 66svh; z-index: -1; overflow: hidden; border-radius: inherit; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 40%; opacity: .8; transform-origin: 70% 40%; }
.contact__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(7, 11, 14, .1) 0%, rgba(7, 11, 14, .35) 45%, var(--ink-950) 96%);
}
.contact .head { margin-bottom: 32px; }
.contact__list li { border-top: 1px solid var(--line); }
.contact__list li:last-child { border-bottom: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 24px 1fr 20px; align-items: center; gap: 16px;
  min-height: 72px; padding: 16px 0;
  transition: transform .22s var(--ease-out), color .22s;
  -webkit-tap-highlight-color: transparent;
}
.row:active { transform: scale(.985); }
.row > .ico:first-child { color: var(--gold-500); }
.row span { display: block; font-size: 1.0625rem; overflow-wrap: break-word; }
.row small { display: block; margin-bottom: 2px; }
.row small { font-size: .6875rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-500); }
.row__arrow { width: 18px; height: 18px; color: var(--cream-400); transition: transform .3s var(--ease-out), color .3s; }
.row:hover .row__arrow { transform: translate(3px, -3px); color: var(--gold-500); }
.row--gold span { color: var(--gold-300); }
.contact__map {
  margin-top: 32px; aspect-ratio: 4 / 3;
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  background: var(--ink-800);
}
.contact__map iframe {
  width: 100%; height: 100%; border: 0;
  filter: grayscale(1) invert(.92) sepia(.25) hue-rotate(160deg) brightness(.82) contrast(.92);
}

/* ---------- rodapé ---------- */
.footer {
  position: relative; z-index: var(--z-panel);
  background: var(--ink-950); border-top: 1px solid var(--line);
  padding: 48px 0 calc(112px + env(safe-area-inset-bottom));
  font-size: .875rem; color: var(--cream-400);
}
.footer__inner { display: grid; gap: 24px; }
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__brand img { width: 52px; height: 52px; }
.footer__brand p { display: grid; gap: 2px; }
.footer__brand .display { font-size: 1.375rem; color: var(--cream-100); }
.footer__legal { max-width: 52ch; font-size: .8125rem; }
.footer__copy { font-size: .8125rem; }

/* ---------- barra inferior (celular) ---------- */
.mbar {
  position: fixed; z-index: var(--z-mbar);
  left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: 1fr auto; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(7, 11, 14, .86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .5s var(--ease-out);
}
.mbar.is-visible { transform: translateY(0); }
.mbar .btn { min-height: 52px; }
.mbar .btn--line { padding: 0 22px; }

/* =====================================================================
   TABLET
   ===================================================================== */
@media (min-width: 640px) {
  :root { --gutter: 40px; }
  .hero__actions { display: flex; align-items: center; gap: 16px; }
  .hero__actions .btn--gold { width: auto; }
  .area__card { min-height: 420px; padding: 36px; }
  .area__art { width: 52%; right: -4%; }
  .cred__grid { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .about__media { margin-inline: 0; }
  .about__frame { border-radius: 16px; }
}

/* =====================================================================
   DESKTOP
   ===================================================================== */
@media (min-width: 1024px) {
  :root { --gutter: 48px; --nav-h: 80px; }
  .container { width: min(100% - 200px, 1240px); }

  .h1 { font-size: clamp(4.5rem, 7.2vw, 7.5rem); }
  .h2 { font-size: clamp(3.25rem, 4.6vw, 4.75rem); }
  .head { margin-bottom: 72px; }

  /* nav */
  .nav { padding: 0 40px; }
  .nav__brand img { width: 40px; height: 40px; }
  .nav__name { font-size: 1.25rem; }
  .nav__links { display: flex; gap: 36px; margin-left: auto; margin-right: 24px; }
  .nav__links a {
    position: relative; padding: 8px 0;
    font-size: .75rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
    color: var(--cream-400); transition: color .22s;
  }
  .nav__links a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
    background: var(--gold-500); transform: scaleX(0); transform-origin: right;
    transition: transform .4s var(--ease-out);
  }
  .nav__links a:hover { color: var(--cream-100); }
  .nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
  .nav__cta { display: inline-flex; min-height: 44px; padding: 0 20px; }
  .nav__menu, .menu { display: none !important; }
  .nav.is-hidden { transform: none; }

  /* progresso vertical à direita */
  .progress { top: 50%; bottom: auto; left: auto; right: 28px; width: 1px; height: 32vh; transform: translateY(-50%); background: var(--line); }
  .progress__bar { transform: scaleY(0); transform-origin: top; }

  /* índice I–VII */
  .index {
    display: block; position: fixed; z-index: var(--z-index);
    left: 28px; top: 50%; transform: translateY(-50%);
  }
  .index ol { display: grid; gap: 6px; }
  .index a {
    display: flex; align-items: center; gap: 12px; min-height: 28px;
    font-family: var(--f-display); font-style: italic; font-size: .9375rem;
    color: var(--cream-400); opacity: .55;
    transition: opacity .3s, color .3s;
  }
  .index a::before {
    content: ""; width: 10px; height: 1px; background: currentColor;
    transition: width .45s var(--ease-out);
  }
  .index span { min-width: 2.2em; }
  .index em {
    font-family: var(--f-text); font-style: normal; font-size: .6875rem;
    letter-spacing: .16em; text-transform: uppercase;
    opacity: 0; transform: translateX(-6px);
    transition: opacity .3s, transform .4s var(--ease-out);
  }
  .index a:hover, .index a.is-active { opacity: 1; color: var(--gold-500); }
  .index a.is-active::before { width: 26px; }
  /* rótulo só no hover/foco: no estado ativo ele invadiria o título da seção */
  .index em { padding: 4px 8px; background: var(--ink-950); border: 1px solid var(--line); border-radius: 2px; }
  .index a:hover em, .index a:focus-visible em { opacity: 1; transform: none; }

  /* hero */
  .hero { justify-content: center; padding: var(--nav-h) 0 0; }
  .hero__media { inset: 0 0 0 auto; width: 52vw; height: auto; }
  .hero__halo { inset: -10% -20% -10% -30%; background: radial-gradient(42% 46% at 52% 34%, rgba(40, 50, 52, .95) 0%, rgba(26, 37, 43, .5) 48%, transparent 78%); }
  .hero__rosette { width: 64vw; left: 50%; margin-left: -32vw; top: 50%; margin-top: -32vw; opacity: .17; }
  .hero__photo img {
    object-position: 50% 0%;
    -webkit-mask-image: radial-gradient(ellipse 58% 86% at 54% 38%, #000 56%, transparent 100%);
    mask-image: radial-gradient(ellipse 58% 86% at 54% 38%, #000 56%, transparent 100%);
  }
  .hero__shade { background: linear-gradient(to right, var(--ink-900) 0%, rgba(11, 17, 21, 0) 34%), linear-gradient(to top, var(--ink-900) 0%, transparent 22%); }
  .hero__content { width: min(100% - 200px, 1240px); }
  .hero__content > * { max-width: 620px; }
  .hero__title { font-size: clamp(4rem, 5.8vw, 6.25rem); }
  .hero__lead { font-size: 1.125rem; margin-top: 28px; max-width: 42ch; }
  .hero__actions { margin-top: 40px; gap: 24px; }
  .hero__scroll {
    position: absolute; z-index: 2; left: 100px; bottom: 36px;
    display: flex; align-items: center; gap: 14px;
    font-size: .6875rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cream-400);
  }
  .hero__scroll span { position: relative; width: 1px; height: 44px; background: var(--line-strong); overflow: hidden; }
  .hero__scroll span::after {
    content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%;
    background: var(--gold-500); animation: scrollcue 2.2s var(--ease-out) infinite;
  }

  /* áreas: faixas horizontais */
  .areas { padding: 140px 0 160px; }
  .areas__list { gap: 0; }
  .area { position: relative; top: auto; }
  .area__card {
    grid-template-columns: 140px 1fr 240px; grid-template-rows: none; align-items: center; gap: 32px;
    min-height: 0; padding: 44px 32px 44px 0;
    background: transparent; border: 0; border-radius: 0; overflow: visible;
    /* sem isolation: o card é transparente, então o screen da gravura precisa mesclar com o painel */
    isolation: auto;
    transition: background-color .35s;
  }
  .area__card::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
    background: var(--line-strong); transform-origin: left; transform: scaleX(var(--line-s, 1));
  }
  .area:last-child .area__card::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-strong);
  }
  /* transform/opacity de número e gravura ficam com o GSAP (hover incluso): transição CSS aqui brigaria com ele */
  .area__num { font-size: 4.5rem; line-height: 1; color: var(--cream-400); padding-left: 8px; transition: color .35s; }
  .area__body { align-self: center; margin-top: 0; }
  .area__name { font-size: 2.75rem; }
  .area__art {
    position: relative; z-index: 0; right: auto; top: auto; bottom: auto;
    width: 200px; height: 200px; object-fit: contain; justify-self: end;
    opacity: .42;
  }
  .area__shade { display: none; }
  .area__card:hover { background-color: rgba(26, 37, 43, .7); }
  .area__card:hover .area__num { color: var(--gold-500); }

  /* sobre: foto sticky + texto rolando */
  .about { padding: 0; }
  .about__grid { display: grid; grid-template-columns: 5fr 6fr; gap: 96px; align-items: start; }
  .about__media {
    position: sticky; top: 0; height: 100svh;
    display: flex; align-items: center; justify-content: center;
  }
  .about__frame { width: 100%; height: 78svh; aspect-ratio: auto; border-radius: 0; }
  .about__line {
    display: block; position: absolute; pointer-events: none;
    inset: 11svh -16px 11svh 16px;
    border: 1px solid var(--line-strong);
    transform: translate(16px, 16px);
  }
  .about__text { padding: 28svh 0 26svh; }
  .about__lead { font-size: 1.3125rem; line-height: 1.55; }
  .about__text p:not(.label):not(.about__lead) { font-size: 1.0625rem; }

  /* formação: grade 2×2 */
  .cred { padding: 160px 0; }
  .cred__band { width: 140%; left: -20%; top: 50%; margin-top: -10%; opacity: .1; }
  .cred__grid { grid-template-columns: 1fr 1fr; column-gap: 0; border-bottom: 1px solid var(--line); }
  .cred__item { padding: 48px 48px 56px 0; gap: 14px; }
  .cred__item:nth-child(even) { padding-left: 48px; border-left: 1px solid var(--line); }
  .cred__item:last-child { padding-bottom: 56px; }
  .cred__abbr { font-size: 4rem; }
  .cred__item > span:last-child { font-size: 1.0625rem; max-width: 30ch; }

  /* escritório: título | logo + texto; segmentos em três colunas */
  .firm { padding: 160px 0 180px; }
  .firm__top { display: grid; grid-template-columns: 6fr 5fr; gap: 96px; align-items: end; }
  .firm__head { margin-bottom: 0; }
  .firm__logo { width: 340px; max-width: 100%; margin-bottom: 36px; }
  .firm__lead { font-size: 1.3125rem; line-height: 1.55; }
  .firm__segs { margin-top: 120px; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
  .seg { grid-template-columns: 1fr; align-content: space-between; gap: 64px; min-height: 280px; padding: 40px 40px 48px; }
  .seg:first-child { padding-left: 0; }
  .seg + .seg { border-left: 1px solid var(--line); }
  .seg:last-child { border-bottom: 0; }
  .seg__num { font-size: 1.5rem; }
  .seg__name { font-size: clamp(2.25rem, 3.2vw, 3rem); max-width: 10ch; transition: color .4s; }
  .seg:hover .seg__name { color: var(--gold-300); }

  /* contato */
  .contact { padding: 160px 0 120px; min-height: 100svh; }
  .contact__bg::after { background: linear-gradient(to right, var(--ink-950) 0%, rgba(7, 11, 14, .78) 42%, rgba(7, 11, 14, .25) 100%), linear-gradient(to top, var(--ink-950) 0%, transparent 30%); }
  .contact__bg { inset: 0; height: auto; }
  .contact__bg img { height: 112%; object-position: 60% 50%; opacity: .8; }
  .contact__inner { display: grid; grid-template-columns: 6fr 5fr; column-gap: 80px; align-items: end; }
  .contact .head { grid-column: 1 / -1; margin-bottom: 56px; }
  .contact__map { margin-top: 0; aspect-ratio: 1 / 1; border-radius: var(--radius-panel); }
  .row { min-height: 84px; padding: 20px 0; }
  .row span { font-size: 1.125rem; }

  /* rodapé */
  .footer { padding: 48px 0; }
  .footer__inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 48px; }
  .footer__legal { justify-self: center; text-align: center; }

  .mbar { display: none; }
}

@keyframes scrollcue {
  0% { top: -40%; }
  100% { top: 100%; }
}

/* =====================================================================
   movimento reduzido: sem sticky-stack de cards, sem transições longas
   ===================================================================== */
section:focus { outline: none; }

@media (prefers-reduced-motion: reduce) {
  .area { position: relative; top: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}
