/* =========================================================
   Alberto Neto — Direito Bancário
   Direção: editorial, grafite + creme, bronze só em detalhe
   ========================================================= */

:root {
  --ink: #141518;          /* grafite profundo */
  --ink-2: #1c1d21;
  --ink-3: #26272c;
  --paper: #f3efe7;        /* creme */
  --paper-2: #faf8f4;      /* off-white */
  --white: #ffffff;
  --text: #17181b;
  --muted: #5f5b54;
  --muted-light: rgba(243, 239, 231, .62);
  --line: rgba(23, 24, 27, .14);
  --line-light: rgba(243, 239, 231, .14);
  --bronze: #a2825a;
  --bronze-light: #bc9d74;

  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(20px, 4.4vw, 64px);
  --max: 1320px;
  --header-h: 76px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-mask: cubic-bezier(.77, 0, .18, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.reduced { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--paper-2);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;            /* clip (não hidden) para não quebrar position: sticky */
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
em { font-style: italic; }
/* a Cormorant usa numerais old-style por padrão ("01" vira "OI") */
.panel__num, .brand__name, .title, .hero__title, .closing__title, .story__lines, .option__label, .facts dt, .lawyer__photo figcaption { font-variant-numeric: lining-nums; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 1px solid var(--bronze); outline-offset: 4px; }
[id] { scroll-margin-top: 72px; }
.nowrap { white-space: nowrap; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--paper); color: var(--ink); padding: 10px 16px; font-size: 14px;
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- tipografia ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bronze);
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7;
}
.title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.35rem, 1.2rem + 3.6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.012em;
  margin-top: 22px;
  text-wrap: balance;
}
.title em, .hero__title em, .closing__title em, .manifest__title em { font-weight: 400; }
.title--sm { font-size: clamp(2.1rem, 1.3rem + 2.4vw, 3.6rem); }

.section-head { max-width: 980px; }
.section-head__text { margin-top: 26px; max-width: 46ch; color: var(--muted); font-size: 18px; }
.section-head--split {
  max-width: none;
  display: grid; gap: 26px;
}
@media (min-width: 1024px) {
  .section-head--split { grid-template-columns: 1.4fr 1fr; align-items: end; }
  .section-head--split .section-head__text { margin-top: 0; justify-self: end; }
}

/* ---------- botões e links ---------- */
.arrow { display: inline-block; transition: transform .5s var(--ease-out); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 56px; padding: 0 30px;
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid transparent;
  transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.btn:hover .arrow, .link:hover .arrow, .header__cta:hover .arrow, .dock:hover .arrow { transform: translateX(5px); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--bronze-light); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--ink-3); border-color: var(--bronze); }
.btn--wide { width: 100%; }

.link {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; letter-spacing: .02em;
  padding-bottom: 4px; color: var(--text);
}
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; opacity: .35;
  transform-origin: left; transition: opacity .4s var(--ease), background-color .4s var(--ease);
}
.link:hover::after { opacity: 1; background: var(--bronze); }
.link--light { color: var(--paper); }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: var(--paper);
  transition: height .5s var(--ease), background-color .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  --header-h: 62px;
  background: rgba(20, 21, 24, .94);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: var(--line-light);
}
.header__inner {
  height: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 40px;
}
.brand { display: flex; flex-direction: column; line-height: 1; margin-right: auto; }
.brand__name {
  font-family: var(--serif); font-size: 23px; font-weight: 500; letter-spacing: .01em;
}
.brand__area {
  margin-top: 5px;
  font-size: 10px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  color: var(--bronze-light);
}
.nav { display: none; gap: 34px; }
.nav a, .header__cta {
  font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
}
.nav a { position: relative; color: rgba(243, 239, 231, .78); transition: color .3s var(--ease); padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--bronze-light);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.nav a:hover { color: var(--paper); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__cta {
  display: none; align-items: center; gap: 12px;
  height: 42px; padding: 0 20px;
  border: 1px solid rgba(243, 239, 231, .32);
  transition: border-color .4s var(--ease), background-color .4s var(--ease), color .4s var(--ease);
}
.header__cta:hover { border-color: var(--paper); background: var(--paper); color: var(--ink); }

.menu-toggle {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  height: 44px;
}
.menu-toggle__lines { position: relative; width: 22px; height: 10px; }
.menu-toggle__lines i {
  position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
  transition: transform .5s var(--ease-out), top .5s var(--ease-out);
}
.menu-toggle__lines i:first-child { top: 0; }
.menu-toggle__lines i:last-child { top: 9px; }
.menu-open .menu-toggle__lines i:first-child { top: 5px; transform: rotate(45deg); }
.menu-open .menu-toggle__lines i:last-child { top: 5px; transform: rotate(-45deg); }

@media (min-width: 1024px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* menu mobile */
.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 36px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease), visibility 0s linear .45s;
}
.menu[hidden] { display: flex; }
.menu-open .menu { opacity: 1; visibility: visible; transition: opacity .45s var(--ease), visibility 0s; }
.menu-open { overflow: hidden; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 18px;
  padding: 16px 0; border-bottom: 1px solid var(--line-light);
  font-family: var(--serif); font-size: clamp(2rem, 8vw, 2.8rem); line-height: 1.1;
  transform: translateY(14px); opacity: 0;
  transition: transform .7s var(--ease-out), opacity .7s var(--ease-out);
}
.menu__nav a span { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; color: var(--bronze-light); }
.menu-open .menu__nav a { transform: none; opacity: 1; }
.menu-open .menu__nav a:nth-child(2) { transition-delay: .05s; }
.menu-open .menu__nav a:nth-child(3) { transition-delay: .1s; }
.menu-open .menu__nav a:nth-child(4) { transition-delay: .15s; }
.menu__foot { display: grid; gap: 18px; }
.menu__foot .btn { width: 100%; }
.menu__wa { font-size: 15px; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(243,239,231,.35); }
.menu__oab { font-size: 12px; letter-spacing: .14em; color: var(--muted-light); text-transform: uppercase; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.hero__media { position: relative; height: 66svh; min-height: 420px; overflow: hidden; background: var(--ink); }
.hero__zoom { position: absolute; inset: 0; will-change: transform; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 46% 18%;
}
/* fusão da foto com o fundo grafite (o fundo da foto já é cinza escuro) */
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top,
    var(--ink) 0%, var(--ink) 4%, rgba(20,21,24,.94) 11%, rgba(20,21,24,.8) 20%, rgba(20,21,24,.58) 30%,
    rgba(20,21,24,.34) 40%, rgba(20,21,24,.14) 50%, rgba(20,21,24,.04) 58%, rgba(20,21,24,0) 66%);
}
.hero__content {
  position: relative; z-index: 2;
  padding: 0 var(--gutter) calc(64px + env(safe-area-inset-bottom));
  margin-top: -21svh;
  will-change: transform, opacity;
}
.hero__eyebrow { color: var(--bronze-light); }
.hero__eyebrow::before { display: none; }
.sep { width: 22px; height: 1px; background: currentColor; opacity: .6; }
.hero__title {
  margin-top: 20px;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.6rem, 1.1rem + 6vw, 6.4rem);
  line-height: .98; letter-spacing: -.018em;
  max-width: 13ch;
  text-wrap: balance;
}
.hero__lead {
  margin-top: 26px; max-width: 40ch;
  font-size: clamp(16px, .9rem + .3vw, 19px); line-height: 1.6;
  color: rgba(243, 239, 231, .74);
}
.hero__actions {
  margin-top: 34px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px;
}
.hero__meta {
  margin-top: 44px; padding-top: 20px;
  border-top: 1px solid var(--line-light);
  display: flex; flex-wrap: wrap; gap: 8px 26px;
  font-size: 12.5px; letter-spacing: .04em; color: rgba(243, 239, 231, .58);
}
.hero__meta li { display: inline-flex; align-items: center; gap: 26px; }
.hero__meta li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--bronze); margin-left: -16px; margin-right: -14px; }

@media (min-width: 640px) and (max-width: 1023px) {
  .hero__media { height: 72svh; }
  /* amplia o quadro para esconder as bordas do estúdio (softbox e cortina) */
  .hero__zoom { left: -14%; right: -14%; }
  .hero__media img { object-position: 50% 16%; }
  .hero__content { margin-top: -18svh; }
}

@media (min-width: 1024px) {
  .hero { min-height: max(100svh, 720px); display: flex; align-items: flex-end; }
  .hero__media {
    position: absolute; top: 0; right: 0; bottom: 0;
    width: 44vw; height: auto; min-height: 0;
  }
  .hero__media img { object-position: 60% 30%; }
  .hero__media::after {
    background:
      linear-gradient(to right, var(--ink) 0%, rgba(20,21,24,.55) 14%, rgba(20,21,24,0) 38%),
      linear-gradient(to top, rgba(20,21,24,.55) 0%, rgba(20,21,24,0) 30%);
  }
  .hero__content {
    width: 100%; max-width: var(--max); margin: 0 auto;
    padding: calc(var(--header-h) + 60px) var(--gutter) 64px;
  }
  .hero__title { max-width: 11.5ch; }
  .hero__content > * { max-width: 56vw; }
  .hero__meta { max-width: 640px; }
}

/* entrada do hero */
.js .hero__eyebrow, .js .hero__lead, .js .hero__actions, .js .hero__meta {
  opacity: 0; transform: translateY(18px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}
.js .hero__media { clip-path: inset(0 0 100% 0); transition: clip-path 1.6s var(--ease-mask) .1s; }
.js .hero__media img { transform: scale(1.14); transition: transform 2.4s var(--ease-out) .1s; }
.is-loaded .hero__media { clip-path: inset(0 0 0 0); }
.is-loaded .hero__media img { transform: none; }
.is-loaded .hero__eyebrow { opacity: 1; transform: none; transition-delay: .25s; }
.is-loaded .hero__lead { opacity: 1; transform: none; transition-delay: 1.05s; }
.is-loaded .hero__actions { opacity: 1; transform: none; transition-delay: 1.25s; }
.is-loaded .hero__meta { opacity: 1; transform: none; transition-delay: 1.45s; }
@media (min-width: 1024px) {
  .js .hero__media { clip-path: inset(0 0 0 100%); }
  .is-loaded .hero__media { clip-path: inset(0 0 0 0); }
}

/* palavras com máscara (títulos) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .14em 0; margin: 0 -.06em -.14em 0; }
.wi { display: inline-block; }
.js [data-split] .wi { transform: translateY(105%); transition: transform 1.1s var(--ease-out); }
.js [data-split].is-in .wi { transform: none; }
.js .hero__title .wi { transition-duration: 1.3s; }

/* reveal genérico */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* =========================================================
   O PROBLEMA
   ========================================================= */
.problem { background: var(--paper); padding-top: clamp(96px, 14vw, 180px); }
.problem .section-head .title { max-width: 18ch; }

.story { position: relative; height: 300vh; margin-top: clamp(24px, 4vw, 40px); }
.story__frame {
  position: sticky; top: 0;
  height: 100svh; min-height: 560px;
  display: flex; align-items: center;
}
.story__grid { display: grid; gap: 40px; align-items: center; }

.story__lines { display: grid; gap: 6px; }
.story__lines li {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.7rem, 1rem + 2.4vw, 3.3rem); line-height: 1.12;
  color: var(--text);
  opacity: .12;
  transform: translateY(10px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), color .9s var(--ease-out);
}
.story__lines li.story__turn { font-style: italic; font-weight: 400; margin-top: 10px; max-width: 16ch; }
.story__lines li.is-on { opacity: 1; transform: none; }
.story__lines li.is-past { opacity: .32; transform: none; }

.statement {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(20px, 3vw, 36px);
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 30px 60px -40px rgba(20,21,24,.28);
}
.statement__head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding-bottom: 16px; border-bottom: 1px solid var(--text);
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.statement__tag { color: var(--muted); font-weight: 500; letter-spacing: .1em; white-space: nowrap; }
.statement__cols, .statement__rows li {
  display: grid; grid-template-columns: 74px 1fr auto; gap: 14px; align-items: baseline;
}
.statement__cols {
  padding: 12px 0; border-bottom: 1px solid var(--line);
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.statement__rows li {
  position: relative;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(8px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), background-color .8s var(--ease);
}
.only-sm { display: none; }
@media (max-width: 480px) { .only-lg { display: none; } .only-sm { display: inline; } }
.statement__rows li span:last-child { text-align: right; white-space: nowrap; font-weight: 500; }
.statement__rows b { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 2px; transition: color .8s var(--ease); }
.statement__rows li.is-shown { opacity: 1; transform: none; }
.statement__note {
  display: flex; align-items: center; gap: 12px;
  margin-top: 18px;
  font-size: 12.5px; color: var(--text); letter-spacing: .02em;
  opacity: 0; transform: translateY(6px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.statement__mark { width: 24px; height: 1px; background: var(--bronze); }
[data-story].is-turn .statement__note { opacity: 1; transform: none; }
[data-story].is-turn .statement__rows b { color: var(--bronze); }
[data-story].is-turn .statement__rows li::before {
  content: ""; position: absolute; left: -12px; top: 14px; bottom: 14px; width: 1px; background: var(--bronze);
}

@media (min-width: 900px) {
  .story { height: 340vh; }
  .story__grid { grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 120px); }
  .statement { font-size: 14.5px; }
  .statement__cols, .statement__rows li { grid-template-columns: 92px 1fr auto; }
}
@media (max-width: 899px) {
  .story__frame { align-items: flex-start; padding-top: calc(var(--header-h) + 8px); }
  .story__lines li { font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.2rem); }
  .story__lines li.is-past { opacity: .28; }
  .story__grid { gap: 28px; }
}
@media (max-width: 420px) {
  .statement__cols, .statement__rows li { grid-template-columns: 58px 1fr auto; gap: 10px; }
  .statement { font-size: 12.5px; }
  .statement__tag { display: none; }
}

/* =========================================================
   ÁREAS DE ATUAÇÃO
   ========================================================= */
.areas { background: var(--paper-2); padding: clamp(96px, 13vw, 170px) 0; }
.areas__body { margin-top: clamp(48px, 6vw, 84px); display: grid; gap: 40px; }
.areas__list { border-top: 1px solid var(--line); }
.area { border-bottom: 1px solid var(--line); }
.area__trigger {
  width: 100%; text-align: left;
  display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: baseline;
  padding: 26px 0 0;
  cursor: default;
}
.area__num { font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--bronze); }
.area__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 3rem); line-height: 1.08;
  transition: color .5s var(--ease), transform .6s var(--ease-out);
}
.area__inline { padding: 14px 0 28px 68px; color: var(--muted); }
@media (max-width: 1023px) {
  .area__trigger { grid-template-columns: 1fr; gap: 10px; padding-top: 30px; }
  .area__inline { padding: 14px 0 32px; }
}
.area__inline p { max-width: 52ch; }
.area__inline .link { margin-top: 16px; }
.areas__panel { display: none; }

@media (min-width: 1024px) {
  .areas__body { grid-template-columns: 1.35fr 1fr; gap: clamp(56px, 7vw, 120px); align-items: start; }
  .area__trigger { cursor: pointer; padding: 30px 0; grid-template-columns: 72px 1fr; }
  .area__inline { display: none; }
  .area__title { color: rgba(23, 24, 27, .38); }
  .area__num { color: rgba(23, 24, 27, .3); transition: color .5s var(--ease); }
  .area { position: relative; }
  .area::after {
    content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
    background: var(--ink); transform: scaleX(0); transform-origin: left;
    transition: transform .8s var(--ease-out);
  }
  .area.is-active .area__title { color: var(--text); transform: translateX(10px); }
  .area.is-active .area__num { color: var(--bronze); }
  .area.is-active::after { transform: scaleX(1); }
  .area__trigger:hover .area__title { color: var(--text); }

  .areas__panel {
    display: grid; position: sticky; top: 120px;
    padding-left: clamp(24px, 3vw, 48px); border-left: 1px solid var(--line);
    min-height: 380px;
  }
  .panel {
    grid-area: 1 / 1;
    opacity: 0; transform: translateY(14px); pointer-events: none;
    transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
  }
  .panel.is-active { opacity: 1; transform: none; pointer-events: auto; transition-delay: .08s; }
  .panel__num {
    display: block; font-family: var(--serif); font-weight: 400;
    font-size: clamp(7rem, 10vw, 11rem); line-height: .8; color: var(--bronze); opacity: .28;
    letter-spacing: -.03em;
  }
  .panel__text { margin-top: 36px; font-size: 20px; line-height: 1.55; max-width: 34ch; }
  .panel .link { margin-top: 30px; }
}

/* =========================================================
   COMO FUNCIONA
   ========================================================= */
.process { background: var(--ink); color: var(--paper); padding: clamp(96px, 13vw, 170px) 0; }
.process .eyebrow { color: var(--bronze-light); }
.process__grid { display: grid; gap: 56px; }
.process__head .title { max-width: 14ch; }

.steps { position: relative; padding-left: 40px; }
.steps__track { position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: var(--line-light); }
.steps__fill { position: absolute; inset: 0; background: var(--bronze-light); transform-origin: top; transform: scaleY(0); }
.step { position: relative; padding: 4px 0 64px; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: ""; position: absolute; left: -44.5px; top: 10px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ink); border: 1px solid rgba(243,239,231,.35);
  transition: background-color .5s var(--ease), border-color .5s var(--ease);
}
.step__num { font-size: 12px; font-weight: 600; letter-spacing: .18em; color: rgba(243,239,231,.4); transition: color .5s var(--ease); }
.step__title {
  margin-top: 12px;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.8rem); line-height: 1.08;
  color: rgba(243,239,231,.4);
  transition: color .6s var(--ease);
}
.step p { margin-top: 16px; max-width: 50ch; color: rgba(243,239,231,.4); transition: color .6s var(--ease); }
.step.is-active::before, .step.is-done::before { background: var(--bronze-light); border-color: var(--bronze-light); }
.step.is-active .step__num { color: var(--bronze-light); }
.step.is-active .step__title { color: var(--paper); }
.step.is-active p { color: rgba(243,239,231,.74); }
.step.is-done .step__title { color: rgba(243,239,231,.62); }
.step.is-done p { color: rgba(243,239,231,.5); }

@media (min-width: 1024px) {
  .process__grid { grid-template-columns: 1fr 1.15fr; gap: clamp(56px, 8vw, 140px); align-items: start; }
  .process__head { position: sticky; top: 130px; }
  .steps { padding-left: 56px; }
  .step { padding-bottom: 22vh; min-height: 10px; }
  .step::before { left: -60.5px; }
}

/* sem JS: tudo legível */
html:not(.js) .step__title, html:not(.js) .step p { color: var(--paper); }

/* =========================================================
   O ADVOGADO
   ========================================================= */
.lawyer { background: var(--paper); padding: clamp(96px, 13vw, 180px) 0; }
.lawyer__grid { display: grid; gap: 56px; }
.lawyer__photo { max-width: 420px; width: 100%; }
.lawyer__frame { overflow: hidden; background: var(--ink-3); }
.lawyer__frame img { width: 100%; aspect-ratio: 370 / 495; object-fit: cover; filter: saturate(.86) contrast(1.02); }
.lawyer__photo figcaption {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line);
  font-family: var(--serif); font-size: 19px;
}
.lawyer__photo figcaption span { font-family: var(--sans); font-size: 11px; letter-spacing: .16em; color: var(--muted); align-self: center; }
.lawyer__text .title { max-width: 13ch; }
.lawyer__body { margin-top: 34px; display: grid; gap: 18px; max-width: 56ch; color: var(--muted); font-size: 18px; }
.lawyer__quote {
  margin-top: 40px; max-width: 24ch;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.3rem); line-height: 1.2;
  padding-left: 24px; border-left: 1px solid var(--bronze);
}
.facts { margin-top: 48px; border-top: 1px solid var(--line); }
.facts > div {
  display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line);
}
.facts dt { font-family: var(--serif); font-size: 21px; font-weight: 500; }
.facts dd { color: var(--muted); font-size: 15px; }

@media (min-width: 640px) {
  .facts > div { grid-template-columns: 220px 1fr; gap: 24px; align-items: baseline; }
}
@media (min-width: 1024px) {
  .lawyer__grid { grid-template-columns: .8fr 1.2fr; gap: clamp(56px, 8vw, 140px); align-items: start; }
  .lawyer__photo { position: sticky; top: 120px; margin-top: 70px; }
}

/* reveal de imagem com máscara */
.js [data-reveal="mask"] { opacity: 1; transform: none; }
.js [data-reveal="mask"] .lawyer__frame { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease-mask); }
.js [data-reveal="mask"] .lawyer__frame img { transform: scale(1.18); transition: transform 2.2s var(--ease-out); }
.js [data-reveal="mask"] figcaption { opacity: 0; transition: opacity 1s var(--ease-out) .9s; }
.js [data-reveal="mask"].is-in .lawyer__frame { clip-path: inset(0 0 0 0); }
.js [data-reveal="mask"].is-in .lawyer__frame img { transform: none; }
.js [data-reveal="mask"].is-in figcaption { opacity: 1; }

/* =========================================================
   POSICIONAMENTO
   ========================================================= */
.manifest { position: relative; background: #0e0f11; color: var(--paper); height: 230vh; }
.manifest__frame {
  position: sticky; top: 0; height: 100svh; min-height: 520px;
  display: flex; align-items: center;
}
.manifest__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.2rem, 1.1rem + 3.8vw, 5rem); line-height: 1.04; letter-spacing: -.012em;
  max-width: 15ch; text-wrap: balance;
  opacity: .14; transition: opacity 1.2s var(--ease-out);
}
.manifest__words {
  margin-top: clamp(44px, 7vw, 96px);
  display: flex; flex-wrap: wrap; gap: 10px clamp(28px, 5vw, 80px);
}
.manifest__words li {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(1.05rem, .7rem + 1.15vw, 1.9rem); letter-spacing: .3em; text-transform: uppercase;
  color: var(--paper);
  opacity: 0; transform: translateY(14px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  display: inline-flex; align-items: center; gap: clamp(28px, 5vw, 80px);
}
.manifest__words li + li::before { content: ""; width: clamp(24px, 4vw, 56px); height: 1px; background: var(--bronze); margin-left: calc(-1 * clamp(14px, 2.5vw, 40px)); margin-right: calc(-1 * clamp(14px, 2.5vw, 40px) + 8px); }
[data-manifest][data-stage="1"] .manifest__title,
[data-manifest][data-stage="2"] .manifest__title,
[data-manifest][data-stage="3"] .manifest__title,
[data-manifest][data-stage="4"] .manifest__title { opacity: 1; }
[data-manifest][data-stage="2"] .manifest__words li:nth-child(-n+1),
[data-manifest][data-stage="3"] .manifest__words li:nth-child(-n+2),
[data-manifest][data-stage="4"] .manifest__words li { opacity: 1; transform: none; }

@media (max-width: 639px) {
  .manifest { height: 190vh; }
  .manifest__words { flex-direction: column; gap: 18px; }
  .manifest__words li + li::before { display: none; }
}

/* =========================================================
   TRIAGEM
   ========================================================= */
.intake { background: var(--paper); padding: clamp(96px, 13vw, 170px) 0; }
.intake__grid { display: grid; gap: 64px; }
.intake__head .title { max-width: 11ch; }
.intake__text { margin-top: 28px; max-width: 44ch; color: var(--muted); font-size: 18px; }
.intake__notes { margin-top: 32px; border-top: 1px solid var(--line); max-width: 44ch; }
.intake__notes li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.intake__direct { margin-top: 30px; font-size: 15px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }

.q { border: 0; margin: 0; padding: 0; min-width: 0; }
.q__legend {
  display: flex; align-items: baseline; gap: 18px; padding: 0;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.6rem); line-height: 1.1;
}
.q__num { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .18em; color: var(--bronze); }

.options { margin-top: 28px; border-top: 1px solid var(--line); }
.option {
  position: relative;
  display: grid; grid-template-columns: 22px 1fr; column-gap: 18px; row-gap: 2px; align-items: center;
  padding: 18px 4px 18px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background-color .4s var(--ease), padding .5s var(--ease-out);
}
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.option__dot {
  grid-row: 1 / span 2;
  width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid rgba(23,24,27,.4);
  position: relative;
  transition: border-color .3s var(--ease);
}
.option__dot::after {
  content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--ink);
  transform: scale(0); transition: transform .4s var(--ease-out);
}
.option__label { font-family: var(--serif); font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); font-weight: 500; line-height: 1.2; }
.option__hint { grid-column: 2; font-size: 14px; color: var(--muted); }
.option:hover { padding-left: 8px; }
.option:hover .option__dot { border-color: var(--ink); }
.option input:focus-visible ~ .option__dot { outline: 1px solid var(--bronze); outline-offset: 4px; }
.option input:checked ~ .option__dot { border-color: var(--ink); }
.option input:checked ~ .option__dot::after { transform: scale(1); }
.options:has(input:checked) .option:not(:has(input:checked)) .option__label { color: rgba(23,24,27,.45); }

.q-next { display: grid; grid-template-rows: 1fr; }
.js .q-next { grid-template-rows: 0fr; transition: grid-template-rows .8s var(--ease-out); }
.js .q-next.is-open { grid-template-rows: 1fr; }
.q-next__inner { overflow: hidden; padding-top: 56px; }
.js .q-next__inner { opacity: 0; transition: opacity .6s var(--ease) .15s; visibility: hidden; }
.js .q-next.is-open .q-next__inner { opacity: 1; visibility: visible; }
.q-next.is-open .q-next__inner { overflow: visible; }

.fields { margin-top: 30px; display: grid; gap: 28px; }
.field { display: grid; gap: 6px; }
.field__label { font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field__label i { font-style: normal; text-transform: none; letter-spacing: .02em; font-weight: 400; }
.field input, .field textarea {
  width: 100%;
  font: inherit; font-size: 18px; color: var(--text);
  background: transparent; border: 0; border-bottom: 1px solid rgba(23,24,27,.3);
  border-radius: 0; padding: 10px 0 12px;
  transition: border-color .3s var(--ease);
  resize: none;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(23,24,27,.32); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field input[aria-invalid="true"] { border-bottom-color: #9b3b2f; }
.form-error { min-height: 1.4em; margin-top: 22px; font-size: 14.5px; color: #9b3b2f; }
.intake__form .btn--wide { margin-top: 10px; }
.form-note { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }

@media (min-width: 640px) {
  .fields { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .field--full { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .intake__grid { grid-template-columns: .9fr 1.1fr; gap: clamp(56px, 8vw, 140px); align-items: start; }
  .intake__head { position: sticky; top: 120px; }
  .intake__form { padding-top: 10px; }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--paper-2); padding: clamp(96px, 12vw, 160px) 0; }
.faq__grid { display: grid; gap: 48px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item h3 { font-weight: inherit; }
.faq__q {
  width: 100%; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.3rem, 1.1rem + .7vw, 1.75rem); line-height: 1.2;
  transition: color .3s var(--ease);
}
.faq__q:hover { color: #000; }
.faq__icon { position: relative; flex: none; width: 16px; height: 16px; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor;
  transition: transform .5s var(--ease-out), opacity .5s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: rotate(0); opacity: 0; }
.faq__a { display: grid; grid-template-rows: 1fr; }
.js .faq__a { grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.js .faq__a.is-open { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  padding: 0 40px 28px 0; max-width: 62ch; color: var(--muted);
}
.js .faq__a p { opacity: 0; transform: translateY(-6px); transition: opacity .5s var(--ease), transform .6s var(--ease-out); }
.js .faq__a.is-open p { opacity: 1; transform: none; transition-delay: .1s; }

@media (min-width: 1024px) {
  .faq__grid { grid-template-columns: .9fr 1.1fr; gap: clamp(56px, 8vw, 140px); }
}

/* =========================================================
   CTA FINAL + FOOTER
   ========================================================= */
.closing { background: #0e0f11; color: var(--paper); padding: clamp(120px, 16vw, 220px) 0 clamp(110px, 14vw, 190px); text-align: left; }
.closing__inner { display: flex; flex-direction: column; align-items: flex-start; }
.closing__rule { display: block; width: 64px; height: 1px; background: var(--bronze-light); }
.js .closing__rule { transform: scaleX(0); transform-origin: left; opacity: 1; transition: transform 1.4s var(--ease-out); }
.js .closing__rule.is-in { transform: scaleX(1); }
.closing__title {
  margin-top: 40px;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.8rem, 1.2rem + 6.4vw, 7.6rem); line-height: .96; letter-spacing: -.02em;
  max-width: 11ch;
}
.closing__text { margin-top: 34px; max-width: 40ch; font-size: clamp(16px, .9rem + .35vw, 20px); color: rgba(243,239,231,.7); }
.closing__actions { margin-top: 46px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }

.footer { background: #0e0f11; color: rgba(243,239,231,.7); padding: 0 0 calc(40px + env(safe-area-inset-bottom)); font-size: 14.5px; }
.footer__top {
  display: grid; gap: 40px;
  padding-top: 56px; border-top: 1px solid var(--line-light);
}
.footer .brand__name { color: var(--paper); font-size: 28px; }
.footer__oab { margin-top: 14px; font-size: 13px; }
.footer__nav { display: grid; gap: 10px; align-content: start; }
.footer__nav a { width: fit-content; transition: color .3s var(--ease); }
.footer__nav a:hover { color: var(--paper); }
.footer__contact { display: grid; gap: 14px; align-content: start; }
.footer__contact .eyebrow { color: var(--bronze-light); }
.footer__contact .link { width: fit-content; font-size: 16px; }
.footer__contact p:last-child { font-size: 13px; max-width: 32ch; }
.footer__contact address { font-style: normal; line-height: 1.6; }
.footer__legal {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-light);
  display: grid; gap: 14px; font-size: 12px; color: rgba(243,239,231,.45); line-height: 1.6;
}
.footer__legal p:first-child { max-width: 78ch; }
@media (min-width: 900px) {
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__legal { grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
}

/* CTA fixo no mobile */
.dock {
  position: fixed; z-index: 40;
  left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between;
  height: 56px; padding: 0 22px;
  background: var(--ink); color: var(--paper);
  border: 1px solid rgba(243,239,231,.14);
  font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  transform: translateY(140%); transition: transform .6s var(--ease-out);
}
.dock.is-visible { transform: none; }
@media (min-width: 1024px) { .dock { display: none; } }

/* =========================================================
   MOVIMENTO REDUZIDO
   ========================================================= */
html.reduced *, html.reduced *::before, html.reduced *::after {
  transition-duration: .01ms !important;
  transition-delay: 0s !important;
  animation: none !important;
}
html.reduced .story, html.reduced .manifest { height: auto; }
html.reduced .story__frame, html.reduced .manifest__frame { position: static; height: auto; min-height: 0; padding: 56px 0 120px; }
html.reduced .manifest__frame { padding: 120px 0; }
html.reduced .story__lines li, html.reduced .statement__rows li, html.reduced .statement__note,
html.reduced .manifest__title, html.reduced .manifest__words li { opacity: 1 !important; transform: none !important; }
html.reduced .hero__zoom, html.reduced .hero__content { transform: none !important; opacity: 1 !important; }

/* sem JS: as seções de rolagem viram blocos estáticos */
html:not(.js) .story, html:not(.js) .manifest { height: auto; }
html:not(.js) .story__frame, html:not(.js) .manifest__frame { position: static; height: auto; padding: 80px 0; }
html:not(.js) .story__lines li, html:not(.js) .statement__rows li, html:not(.js) .statement__note,
html:not(.js) .manifest__title, html:not(.js) .manifest__words li { opacity: 1; transform: none; }
