/* ==========================================================================
   [Nome do Escritório] — Folha de estilo
   Direção: "luxo jurídico discreto" — gravura, papel, pedra e luz de fim de tarde.
   Sumário:
   01. Tokens            07. Problema            13. Equipe
   02. Base              08. Complexidade        14. Prova social
   03. Tipografia        09. Escritório          15. Casos
   04. Botões e links    10. Antes do processo   16. Artigos
   05. Header e menu     11. Processo            17. FAQ
   06. Hero              12. Estatuto / Áreas    18. CTA final, contato, rodapé, utilidades
   ========================================================================== */

/* 01. Tokens ------------------------------------------------------------- */
:root {
  --paper: #F3EFE6;
  --sand: #E7DFD1;
  --ink: #151515;
  --night: #20252B;
  --gold: #B08A4A;
  --gold-deep: #8C6A38;
  --gold-text: #7A5C2E;          /* dourado com contraste AA sobre fundos claros */
  --gold-light: #C9A46A;         /* dourado para textos pequenos sobre fundos escuros */
  --white: #FFFFFF;
  --sheet: #FBF8F2;

  --ink-80: rgba(21, 21, 21, .8);
  --ink-70: rgba(21, 21, 21, .74);
  --ink-60: rgba(21, 21, 21, .66);
  --rule: rgba(21, 21, 21, .16);
  --paper-80: rgba(243, 239, 230, .8);
  --paper-60: rgba(243, 239, 230, .64);
  --rule-light: rgba(243, 239, 230, .18);
  --error: #9B2C2C;

  --serif: "Cormorant Garamond", "Cormorant", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --pad: clamp(1.25rem, 4vw, 4rem);
  --gutter: clamp(1rem, 2.5vw, 2.5rem);
  --section: clamp(5.5rem, 11vw, 11rem);
  --header-h: 5.5rem;
  --header-h-small: 4.25rem;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .08 0 0 0 0 .07 0 0 0 0 .05 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 02. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper) var(--grain);
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }
dl, dd, figure, blockquote { margin: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 4.5rem; }

.container {
  width: 100%;
  max-width: 1480px;
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { position: relative; padding-block: var(--section); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 4px;
}
.process :focus-visible,
.team :focus-visible,
.final-cta :focus-visible,
.site-footer :focus-visible,
.mobile-menu :focus-visible { outline-color: var(--gold-light); }

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 200;
  padding: .8rem 1.2rem;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 1rem; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* 03. Tipografia ---------------------------------------------------------- */
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.012em;
  text-wrap: balance;
}
.display--xl { font-size: clamp(2.5rem, 1.15rem + 4.6vw, 6rem); }
.display--lg { font-size: clamp(2.3rem, 1.35rem + 3.3vw, 4.75rem); }

.lead {
  font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem);
  line-height: 1.6;
  max-width: 38em;
}

/* Marcador de capítulo: a narrativa é sequencial, por isso a numeração romana. */
.chapter {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3125rem;
  line-height: 1.2;
  color: var(--gold-text);
}
.chapter::before {
  content: "";
  flex: none;
  width: 2.75rem;
  height: 1px;
  background: currentColor;
}

.footnote {
  margin-top: 3rem;
  font-size: .8125rem;
  color: var(--ink-60);
}

.caption {
  margin-top: .9rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink-60);
}

/* Revelação por linha (JS divide o título; ver script.js > splitLines) */
.split-line { display: block; overflow: hidden; padding-top: .14em; margin-top: -.14em; padding-bottom: .06em; margin-bottom: -.06em; }
.split-line__inner { display: block; }

/* 04. Botões e links ------------------------------------------------------ */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  --btn-border: var(--ink);
  --btn-fill: var(--gold-text);
  --btn-fg-hover: var(--paper);

  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: .95rem 1.85rem;
  overflow: hidden;
  font-family: var(--sans);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-border);
  border-radius: 0;
  cursor: pointer;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-fill);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform .6s var(--ease-out);
}
.btn:hover, .btn:focus-visible { color: var(--btn-fg-hover); border-color: var(--btn-fill); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }

.btn--gold {
  --btn-bg: var(--gold);
  --btn-fg: var(--ink);
  --btn-border: var(--gold);
  --btn-fill: var(--paper);
  --btn-fg-hover: var(--ink);
}
.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  --btn-border: rgba(243, 239, 230, .45);
  --btn-fill: var(--paper);
  --btn-fg-hover: var(--ink);
}
.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-border: var(--ink);
  --btn-fill: var(--ink);
  --btn-fg-hover: var(--paper);
}
.btn--small { min-height: 2.75rem; padding: .75rem 1.3rem; font-size: .75rem; }
.btn--block { width: 100%; }

.link-underline {
  position: relative;
  display: inline-block;
  padding: .45rem 0;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .1rem;
  height: 1px;
  background: currentColor;
  transform-origin: 100% 50%;
  transition: transform .6s var(--ease-out);
}
.link-underline:hover::after { transform: scaleX(0); }
.link-underline--light { color: var(--paper); }

/* 05. Header e menu ------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease), color .4s var(--ease);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.75rem);
  height: var(--header-h);
  transition: height .5s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(243, 239, 230, .82);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  backdrop-filter: saturate(1.2) blur(14px);
  box-shadow: 0 1px 0 var(--rule);
}
.site-header.is-scrolled .site-header__inner { height: var(--header-h-small); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  margin-right: auto;
  text-decoration: none;
  color: inherit;
}
.brand__mark svg {
  width: 2.25rem;
  height: 2.25rem;
  fill: none;
  stroke: var(--gold-deep);
  stroke-width: 1.2;
  stroke-linejoin: round;
}
.brand__text { display: block; }
.brand__name {
  display: block;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: .9;
  letter-spacing: .01em;
}
.brand__sub {
  display: block;
  margin-top: .35rem;
  font-size: .625rem;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--ink-60);
}

.nav__list { display: flex; gap: clamp(1.25rem, 2.2vw, 2.4rem); list-style: none; }
.nav__link {
  position: relative;
  display: inline-block;
  padding: .5rem 0;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .15rem;
  height: 1px;
  background: var(--gold-deep);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .5s var(--ease-out);
}
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  align-items: center;
  gap: .75rem;
  min-height: 2.75rem;
  padding: 0 0 0 .5rem;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.menu-toggle__icon { position: relative; width: 1.6rem; height: .7rem; }
.menu-toggle__icon span {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: currentColor;
  transition: transform .5s var(--ease-out), top .5s var(--ease-out);
}
.menu-toggle__icon span:first-child { top: 0; }
.menu-toggle__icon span:last-child { top: 100%; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:first-child { top: 50%; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:last-child { top: 50%; transform: rotate(-45deg); }

/* Header sobre o menu aberto */
.site-header.menu-open { background: transparent; box-shadow: none; color: var(--paper); }
.site-header.menu-open .brand__sub { color: var(--paper-60); }
.site-header.menu-open .brand__mark svg { stroke: var(--gold); }
.site-header.menu-open .header-cta { visibility: hidden; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  overflow-y: auto;
  padding-top: var(--header-h);
  padding-bottom: 2rem;
  color: var(--paper);
  background: var(--night) var(--grain);
}
.mobile-menu__inner { display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem; min-height: 100%; }
.mobile-menu__list { list-style: none; margin-top: 1.5rem; border-top: 1px solid var(--rule-light); }
.mobile-menu__list li { border-bottom: 1px solid var(--rule-light); overflow: hidden; }
.mobile-menu__list a {
  display: block;
  padding: .65rem 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 8.5vw, 3.25rem);
  line-height: 1.1;
  text-decoration: none;
}
.mobile-menu__footer { display: grid; gap: 1rem; }
.mobile-menu__contact { color: var(--paper-80); text-decoration: none; font-size: .9375rem; }

/* 06. Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--paper) var(--grain);
}

.hero__art {
  position: absolute;
  top: calc(var(--header-h) + 1rem);
  right: var(--pad);
  bottom: 6.75rem;
  width: min(46vw, 700px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
}
.engraving { flex: 1; width: 100%; height: 100%; min-height: 0; overflow: visible; }
.engraving .d { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.engraving .m { stroke: var(--gold-deep); stroke-width: 1.15; }
.engraving .f { stroke: var(--gold-deep); stroke-width: .8; opacity: .8; }
.engraving .h { stroke: var(--gold-deep); stroke-width: .6; opacity: .5; }
.engraving .c { stroke: var(--gold); stroke-width: .6; opacity: .45; stroke-dasharray: .006 .01; }

.hero__plate {
  margin: .9rem 0 0;
  max-width: 22em;
  font-family: var(--serif);
  font-style: italic;
  font-size: .975rem;
  line-height: 1.35;
  text-align: right;
  color: var(--ink-60);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 2.5rem);
}

.hero__title {
  margin: auto 0 clamp(2rem, 4vw, 3.25rem);
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, .4rem + 7vw, 7.25rem);
  line-height: .9;
  letter-spacing: -.005em;
  text-transform: uppercase;
}
.hero__title .line {
  display: block;
  overflow: hidden;
  padding-top: .14em;
  margin-top: -.14em;
  padding-bottom: .04em;
}
.hero__title .line__inner { display: block; }
.hero__title .line:nth-child(2) { padding-left: 1.1em; }   /* recuo editorial */

.hero__bottom {
  display: grid;
  grid-template-columns: minmax(0, 36rem);
  gap: 2rem;
}
.hero__lead { max-width: 36rem; margin: 0; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); color: var(--ink-80); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 2.75rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: 1.15rem 0 1.5rem;
  list-style: none;
  border-top: 1px solid var(--rule);
  font-size: .8125rem;
  color: var(--ink-60);
}
.hero__facts li { display: flex; align-items: center; gap: .75rem; }
.hero__facts li::before {
  content: "";
  width: .4rem; height: .4rem;
  border: 1px solid var(--gold-deep);
  transform: rotate(45deg);
}

/* Estado de entrada (antes do GSAP assumir) */
.is-intro .site-header,
.is-intro [data-intro] { opacity: 0; }
.is-intro .hero__title .line__inner { transform: translateY(110%); }
.is-intro .engraving .d:not(.c) { stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-intro .engraving .c { opacity: 0; }
html.js:not(.is-intro):not(.has-gsap) .hero__title .line__inner { transition: transform 1.1s var(--ease-out); }

/* 07. Problema ----------------------------------------------------------- */
.problem__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
}
.problem__head h2 { grid-column: 1 / span 9; }
.problem__lead { grid-column: 7 / -1; margin-top: clamp(1.5rem, 3vw, 2.5rem); }

.scenes {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: clamp(3rem, 6vw, 5rem);
  margin-top: clamp(4rem, 8vw, 7rem);
  list-style: none;
}
.scene { grid-column: 1 / span 5; max-width: 31rem; }
.scene:nth-child(2) { grid-column: 7 / span 5; margin-top: clamp(2rem, 7vw, 7rem); }
.scene:nth-child(3) { grid-column: 2 / span 5; }
.scene:nth-child(4) { grid-column: 8 / span 5; margin-top: clamp(1.5rem, 5vw, 5rem); }
.scene:nth-child(5) { grid-column: 1 / span 5; }
.scene:nth-child(6) { grid-column: 7 / span 5; margin-top: clamp(1.5rem, 6vw, 6rem); }

.scene__ctx {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: .9rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1875rem;
  color: var(--gold-text);
}
.scene__ctx::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; }
.scene__text {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 1.1rem + 1.25vw, 2.3rem);
  font-weight: 500;
  line-height: 1.18;
}

/* 08. Complexidade (scroll horizontal no desktop) ------------------------------ */
.complexity {
  position: relative;
  padding-block: var(--section);
  background: var(--sand) var(--grain);
}
.complexity__track {
  max-width: 1480px;
  margin-inline: auto;
  padding-inline: var(--pad);
}
.complexity__intro { max-width: 46rem; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.complexity__intro .display { margin-bottom: 1.75rem; }

.dimensions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  list-style: none;
  border-top: 1px solid var(--ink);
}
.dimension { padding: 1.75rem 1.75rem 2.5rem 0; border-bottom: 1px solid var(--rule); }
.dimension__word {
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 1.9rem + 1.6vw, 3.4rem);
  font-weight: 500;
  line-height: 1;
}
.dimension p { max-width: 22rem; margin: 0; color: var(--ink-70); }
.complexity__progress { display: none; }

.complexity.is-horizontal { padding-block: 0; }
.complexity.is-horizontal .complexity__pin {
  position: relative;
  display: flex;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}
.complexity.is-horizontal .complexity__track {
  display: flex;
  align-items: center;
  width: max-content;
  max-width: none;
  margin: 0;
  padding-inline: var(--pad) 10vw;
  will-change: transform;
}
.complexity.is-horizontal .complexity__intro {
  flex: none;
  width: min(40rem, 42vw);
  margin: 0 7vw 0 0;
}
.complexity.is-horizontal .dimensions { display: flex; border-top: 0; }
.complexity.is-horizontal .dimension {
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: clamp(19rem, 27vw, 28rem);
  height: min(64vh, 38rem);
  padding: .5rem 2.75vw 0;
  border-bottom: 0;
  border-left: 1px solid var(--rule);
}
.complexity.is-horizontal .dimension:nth-child(even) { flex-direction: column-reverse; }
.complexity.is-horizontal .dimension__word { font-size: clamp(3.5rem, 5.4vw, 6.75rem); margin: 0; }
.complexity.is-horizontal .dimension p { font-size: 1.0625rem; }
.complexity.is-horizontal .complexity__progress {
  display: block;
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 2.5rem;
  height: 1px;
  background: var(--rule);
}
.complexity__progress span {
  position: absolute;
  inset: 0;
  background: var(--gold-deep);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* 09. Escritório ---------------------------------------------------------- */
.office__title { max-width: 15.5em; margin-bottom: clamp(3.5rem, 7vw, 6.5rem); }
.office__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: start;
}
.office__figure { grid-column: 1 / span 5; position: sticky; top: 7rem; }
.office__text { grid-column: 7 / -1; }

.media { position: relative; overflow: hidden; background: var(--night); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 10 / 13; }
.media--wide { aspect-ratio: 3 / 2; }
.media--thumb { aspect-ratio: 4 / 5; }
.office__figure .media--tall img {
  /* Foto paisagem em caixa retrato: cover só sobra eixo horizontal. Para subir o
     enquadramento, a caixa do <img> é mais alta que o contêiner (aspect-ratio) e
     desloca-se para cima na folga criada (margin-top), sem abrir vão. */
  width: 100%;
  height: auto;
  aspect-ratio: 100 / 145;
  margin-top: -23.5%;
  object-fit: cover;
}
[data-parallax] img { transform: scale(1.12); }

.dropcap { font-size: 1.1875rem; line-height: 1.7; }
.dropcap::first-letter {
  float: left;
  padding: .1em .12em 0 0;
  font-family: var(--serif);
  font-size: 5.1em;
  font-weight: 500;
  line-height: .78;
  color: var(--gold-deep);
}
.office__text > p:not(.dropcap) { color: var(--ink-80); }

.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.25rem var(--gutter);
  margin-top: clamp(3rem, 5vw, 4rem);
}
.principle { padding-top: 1.1rem; border-top: 1px solid var(--rule); }
.principle dt {
  margin-bottom: .45rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
}
.principle dd { font-size: .975rem; color: var(--ink-70); }

.cta-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-top: clamp(3rem, 5vw, 4rem);
  padding-top: 2rem;
  border-top: 1px solid var(--ink);
}
.cta-inline p {
  max-width: 22em;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.15rem + .6vw, 1.65rem);
  line-height: 1.25;
}

/* 10. Antes do processo ---------------------------------------------------- */
.prevention { background: var(--sand) var(--grain); }
.prevention__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: start;
}
.prevention__text { grid-column: 1 / span 6; }
.prevention__text .display { margin-bottom: 2rem; }
.prevention__text > p:not(.lead):not(.chapter) { max-width: 36em; color: var(--ink-80); }

.services { margin-top: clamp(2.5rem, 4vw, 3.5rem); border-top: 1px solid var(--ink); }
.service {
  display: grid;
  grid-template-columns: minmax(10rem, 13rem) 1fr;
  gap: .35rem 1.5rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--rule);
}
.service dt { font-family: var(--serif); font-size: 1.375rem; font-weight: 500; line-height: 1.25; }
.service dd { font-size: .975rem; color: var(--ink-70); }

.contract { grid-column: 8 / -1; position: sticky; top: 7.5rem; margin-top: 2rem; }
.contract__sheet {
  position: relative;
  width: 70%;
  padding: clamp(1.75rem, 3vw, 2.75rem) clamp(1.5rem, 2.6vw, 2.5rem) 2.5rem;
  background: var(--sheet);
  box-shadow: 0 1px 0 rgba(21, 21, 21, .04), 0 34px 60px -34px rgba(52, 38, 18, .38);
  transform: rotate(-1deg);
}
.contract__title {
  margin-bottom: 1.25rem;
  font-family: var(--serif);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-align: center;
  text-transform: uppercase;
}
.contract__parties { margin-bottom: 1.25rem; }
.contract__clause { position: relative; margin-top: 1.4rem; }
.contract__num { margin: 0 0 .35rem; font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--ink-70); }
.bar {
  position: relative;
  display: block;
  width: var(--w, 100%);
  height: .42rem;
  margin: .55rem 0;
  background: rgba(21, 21, 21, .13);
}
.bar--mark::after {
  content: "";
  position: absolute;
  inset: -.3rem -.25rem;
  background: rgba(176, 138, 74, .32);
  transform-origin: 0 50%;
  transition: transform 1.1s var(--ease-out);
}
.note {
  position: absolute;
  top: 1.6rem;
  left: 100%;
  width: 9.5rem;
  margin-left: calc(clamp(1.5rem, 2.6vw, 2.5rem) + 1.25rem);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.2;
  color: var(--gold-text);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.note::before {
  content: "";
  position: absolute;
  top: .6em;
  right: calc(100% + .4rem);
  width: 2.25rem;
  height: 1px;
  background: var(--gold);
}
.contract__clause:nth-of-type(3) .bar--mark::after,
.contract__clause:nth-of-type(3) .note { transition-delay: .35s; }
.contract__clause:nth-of-type(4) .bar--mark::after,
.contract__clause:nth-of-type(4) .note { transition-delay: .7s; }
.js .contract:not(.is-annotated) .bar--mark::after { transform: scaleX(0); }
.js .contract:not(.is-annotated) .note { opacity: 0; transform: translateX(-.6rem); }

.contract__sign { display: flex; gap: 12%; margin-top: 2.75rem; }
.contract__sign span { flex: 1; height: 1px; background: rgba(21, 21, 21, .35); }
.contract .caption { width: 70%; }

/* 11. Processo (fundo escuro) ---------------------------------------------- */
.process {
  isolation: isolate;
  overflow: hidden;
  color: var(--paper);
  background: var(--night);
}
.process__bg { position: absolute; inset: 0; z-index: -1; opacity: .6; }
.process__bg picture, .process__bg img { width: 100%; height: 100%; }
.process__bg img { object-fit: cover; transform: scale(1.15); }
.process__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--night) 8%, rgba(32, 37, 43, .86) 48%, rgba(32, 37, 43, .5) 100%),
    linear-gradient(0deg, var(--night) 0%, rgba(32, 37, 43, 0) 35%);
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 3.5rem;
  align-items: start;
}
.process__head { grid-column: 1 / span 5; position: sticky; top: 8rem; }
.process__head .chapter { color: var(--gold-light); }
.process__head .display { margin-bottom: 2rem; }
.process__head .lead { color: var(--paper-80); }

.steps-wrap { position: relative; grid-column: 7 / -1; padding-left: 3.5rem; }
.steps { list-style: none; }
.steps__line {
  position: absolute;
  top: 1.2rem;
  bottom: 4rem;
  left: 0;
  width: 1px;
  background: var(--rule-light);
}
.steps__line span { position: absolute; inset: 0; background: var(--gold); transform-origin: 50% 0; }

.step { --lit: 0; position: relative; padding-bottom: clamp(3rem, 6vw, 5rem); }
.step::before {
  content: "";
  position: absolute;
  top: 1.05rem;
  left: -3.5rem;
  width: .6rem;
  height: .6rem;
  background: var(--night);
  border: 1px solid var(--gold);
  transform: translateX(-50%) rotate(45deg);
}
.step::after {
  content: "";
  position: absolute;
  top: 1.05rem;
  left: -3.5rem;
  width: .6rem;
  height: .6rem;
  background: radial-gradient(circle at 50% 50%, var(--gold-light), var(--gold));
  box-shadow: 0 0 .9rem .12rem var(--gold);
  transform: translateX(-50%) rotate(45deg);
  opacity: var(--lit, 0);
}
.step__num {
  display: block;
  margin-bottom: .35rem;
  font-family: var(--serif);
  font-size: 1.125rem;
  letter-spacing: .08em;
  color: var(--gold-light);
}
.step__title {
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 1.45rem + 1.7vw, 3.35rem);
  line-height: 1;
}
.step p { max-width: 32rem; color: var(--paper-80); }

.process__cta {
  grid-column: 7 / -1;
  margin-left: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule-light);
}
.process__cta p { max-width: 24em; font-family: var(--serif); font-size: clamp(1.35rem, 1.15rem + .6vw, 1.65rem); line-height: 1.25; }
.process__cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 1.5rem; }

/* 12a. Estatuto ------------------------------------------------------------- */
.statute__title { max-width: 14em; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.statute__book { padding-top: 2rem; border-top: 3px double var(--ink); }
.statute__heading {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-align: center;
  text-transform: uppercase;
}
.statute__articles {
  list-style: none;
  columns: 2;
  column-gap: clamp(2.5rem, 6vw, 6rem);
  column-rule: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.15rem + .35vw, 1.45rem);
  line-height: 1.5;
}
.statute__articles li { break-inside: avoid; margin-bottom: 1.75rem; }
.statute__articles strong { font-weight: 600; }
.art { margin-right: .2rem; font-weight: 600; color: var(--gold-text); }
.paragraph {
  display: block;
  margin-top: .5rem;
  padding-left: 1.5rem;
  font-style: italic;
  font-size: .88em;
  color: var(--ink-70);
}

/* 12b. Áreas ------------------------------------------------------------------ */
.areas { border-top: 1px solid var(--rule); }
.areas__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: start;
}
.areas__head { grid-column: 1 / span 4; position: sticky; top: 8rem; }
.areas__head .display { margin-bottom: 1.75rem; }
.areas__head p:not(.chapter) { color: var(--ink-80); }

.area-list { grid-column: 6 / -1; list-style: none; border-top: 1px solid var(--ink); }
.area { border-bottom: 1px solid var(--rule); }
.area__link {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: .6rem 2.5rem;
  padding: 2rem 0 2.1rem;
  text-decoration: none;
  color: inherit;
}
.area__link::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold-deep);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .8s var(--ease-out);
}
.area__name {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 1.35rem + 1.5vw, 3rem);
  line-height: 1;
  transition: transform .7s var(--ease-out);
}
.area__desc { margin: 0; color: var(--ink-70); font-size: .975rem; }
.area__cta {
  grid-column: 2;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-text);
  opacity: 0;
  transform: translateY(.4rem);
  transition: opacity .5s var(--ease), transform .6s var(--ease-out);
}
.area__link:hover::before, .area__link:focus-visible::before { transform: scaleX(1); }
.area__link:hover .area__name, .area__link:focus-visible .area__name { transform: translateX(.6rem); }
.area__link:hover .area__cta, .area__link:focus-visible .area__cta { opacity: 1; transform: none; }
.areas__cta { grid-column: 6 / -1; }

/* 13. Equipe ----------------------------------------------------------------- */
.team { color: var(--paper); background: var(--ink); }
.team__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: end;
  margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
}
.team__head .chapter { grid-column: 1 / -1; color: var(--gold-light); }
.team__head .display { grid-column: 1 / span 7; }
.team__head .lead { grid-column: 9 / -1; color: var(--paper-80); font-size: 1.0625rem; }

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3rem var(--gutter);
  list-style: none;
}
.team__grid > li:nth-child(even) { margin-top: clamp(2rem, 6vw, 5.5rem); }

.lawyer { display: block; }
.lawyer__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: #1c1c1c; }
.lawyer__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out), filter 1s var(--ease); filter: saturate(.85); }
.lawyer__media::after {
  content: "";
  position: absolute;
  inset: .8rem;
  border: 1px solid var(--gold);
  opacity: 0;
  transform: scale(1.03);
  transition: opacity .6s var(--ease), transform .9s var(--ease-out);
  pointer-events: none;
}
.lawyer__details {
  position: absolute;
  inset: auto 0 0;
  padding: 3.5rem 1.6rem 1.6rem;
  background: linear-gradient(0deg, rgba(21, 21, 21, .95) 30%, rgba(21, 21, 21, 0));
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity .6s var(--ease), transform .8s var(--ease-out);
}
.lawyer__oab { margin-bottom: .5rem; font-size: .72rem; font-weight: 600; letter-spacing: .14em; color: var(--gold-light); }
.lawyer__bio { margin-bottom: .6rem; font-size: .875rem; line-height: 1.5; color: var(--paper-80); }
.lawyer__areas { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--paper); }
.lawyer__name { margin-top: 1.15rem; font-family: var(--serif); font-size: 1.65rem; line-height: 1.1; }
.lawyer__role { margin-top: .35rem; font-size: .875rem; color: var(--paper-60); }

.lawyer:hover .lawyer__media img,
.lawyer:focus-visible .lawyer__media img { transform: scale(1.05); filter: saturate(1); }
.lawyer:hover .lawyer__media::after,
.lawyer:focus-visible .lawyer__media::after { opacity: 1; transform: none; }
.lawyer:hover .lawyer__details,
.lawyer:focus-visible .lawyer__details { opacity: 1; transform: none; }

/* 14. Prova social ------------------------------------------------------------- */
.proof__title { max-width: 13em; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.ledger {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}
.ledger__item {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: .9rem;
  padding: 2rem 1.5rem 2.25rem 0;
}
.ledger__item + .ledger__item { padding-left: 1.5rem; border-left: 1px solid var(--rule); }
.ledger__value {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 2.4rem + 3.4vw, 6.5rem);
  font-weight: 500;
  line-height: .9;
  font-variant-numeric: lining-nums;
}
.ledger__label { max-width: 12em; font-size: .9rem; color: var(--ink-70); }

.testimonial {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  margin-top: clamp(4rem, 8vw, 7rem);
}
.testimonial blockquote {
  position: relative;
  grid-column: 3 / span 8;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.55rem, 1.15rem + 1.35vw, 2.5rem);
  line-height: 1.25;
}
.testimonial blockquote::before {
  content: "“";
  position: absolute;
  top: -.3em;
  left: -.6em;
  font-size: 3em;
  line-height: 1;
  color: var(--gold);
}
.testimonial figcaption {
  grid-column: 3 / span 8;
  margin-top: 1.5rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--ink-60);
}

/* 15. Casos ------------------------------------------------------------------- */
.cases { background: var(--sand) var(--grain); }
.cases__title { max-width: 14em; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.cases__tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--ink);
}
.case-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: 1.3rem 1.5rem 1.3rem 0;
  text-align: left;
  color: var(--ink-60);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  transition: color .4s var(--ease);
}
.case-tab::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--gold-deep);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .7s var(--ease-out);
}
.case-tab:hover { color: var(--ink); }
.case-tab[aria-selected="true"] { color: var(--ink); }
.case-tab[aria-selected="true"]::after { transform: scaleX(1); }
.case-tab__num { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.case-tab__name { font-family: var(--serif); font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); line-height: 1.15; }

.case { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.case__col h3 {
  margin-bottom: 1rem;
  padding-bottom: .9rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--gold-text);
  border-bottom: 1px solid var(--rule);
}
.case__col p { font-family: var(--serif); font-size: clamp(1.2rem, 1.1rem + .3vw, 1.35rem); line-height: 1.45; }
.cases__disclaimer { max-width: 44em; }

/* 16. Artigos ---------------------------------------------------------------- */
.articles__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}
.articles__head .chapter { flex-basis: 100%; margin-bottom: 0; }
.articles__head .display { max-width: 12em; }

.articles__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: start;
}
.article__link { display: block; text-decoration: none; color: inherit; }
.article__link img { transition: transform 1.2s var(--ease-out); }
.article__link:hover img { transform: scale(1.04); }
.article__link:hover .article__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; text-decoration-color: var(--gold); }
.article__cat {
  margin-bottom: .7rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.article__title { font-family: var(--serif); font-weight: 500; }
.article__meta { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin: 0; font-size: .8125rem; color: var(--ink-60); }

.article--feature .article__cat { margin-top: 1.6rem; }
.article--feature .article__title { max-width: 17em; font-size: clamp(1.9rem, 1.45rem + 1.5vw, 3.1rem); line-height: 1.05; }
.article__excerpt { max-width: 36em; margin: 1rem 0 1.25rem; color: var(--ink-70); }

.articles__list { border-top: 1px solid var(--ink); }
.article--row .article__link {
  display: grid;
  grid-template-columns: clamp(6.5rem, 10vw, 9.5rem) minmax(0, 1fr);
  gap: 1.35rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
}
.article--row .article__title { margin-bottom: .75rem; font-size: clamp(1.3rem, 1.15rem + .45vw, 1.55rem); line-height: 1.15; }

/* 17. FAQ ------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--rule); }
.faq__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: start;
}
.faq__head { grid-column: 1 / span 4; position: sticky; top: 8rem; }
.faq__head .display { margin-bottom: 1.5rem; }
.faq__head p:not(.chapter) { color: var(--ink-70); }
.accordion { grid-column: 6 / -1; border-top: 1px solid var(--ink); }

.qa { border-bottom: 1px solid var(--rule); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.15rem + .6vw, 1.75rem);
  font-weight: 500;
  line-height: 1.2;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--gold-text); }
.qa__icon { position: relative; flex: none; width: 1rem; height: 1rem; }
.qa__icon::before, .qa__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform .5s var(--ease-out);
}
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon::after { transform: rotate(0deg); }
.qa__body { overflow: hidden; }
.qa__body p { max-width: 40em; padding-bottom: 1.75rem; color: var(--ink-70); }

/* 18a. CTA final -------------------------------------------------------------- */
.final-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(6rem, 13vw, 12rem);
  color: var(--paper);
  background: var(--night) var(--grain);
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 60% 70% at 88% 0%, rgba(176, 138, 74, .2), rgba(176, 138, 74, 0) 70%);
}
.final-cta__title {
  max-width: 13em;
  font-family: var(--serif);
  font-size: clamp(2.1rem, .6rem + 6vw, 7.25rem);
  font-weight: 500;
  line-height: .92;
  text-transform: uppercase;
}
.final-cta__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2.5rem 4rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--rule-light);
}
.final-cta .lead { max-width: 34em; color: var(--paper-80); }
.final-cta__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* 18b. Contato ---------------------------------------------------------------- */
.contact__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 3.5rem;
  align-items: start;
}
.contact__info { grid-column: 1 / span 5; }
.contact__info .display { margin-bottom: 1.5rem; }
.contact__info > p:not(.chapter) { max-width: 30em; color: var(--ink-80); }

.channels { margin: 2.5rem 0; border-top: 1px solid var(--ink); }
.channel {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}
.channel dt { padding-top: .35rem; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-60); }
.channel dd { font-family: var(--serif); font-size: 1.3rem; line-height: 1.35; overflow-wrap: anywhere; }
.channel a { text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: .2em; }
.channel a:hover { color: var(--gold-text); }

.map {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 1rem;
  aspect-ratio: 16 / 10;
  padding: 1.5rem;
  overflow: hidden;
  background:
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(21, 21, 21, .06) 46px 47px),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(21, 21, 21, .06) 46px 47px),
    var(--sand);
}
.map::before {
  content: "";
  position: absolute;
  top: 38%;
  left: 58%;
  width: .9rem;
  height: .9rem;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 0 .6rem rgba(176, 138, 74, .18);
}
.map__text { position: relative; max-width: 26em; margin: 0; font-size: .875rem; color: var(--ink-70); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.6) sepia(.15); }

.form {
  padding: clamp(1.75rem, 4vw, 3.5rem);
  background: var(--sheet);
  border: 1px solid var(--rule);
}
.contact .form { grid-column: 7 / -1; }
.field { position: relative; margin-bottom: 1.6rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; }
.field label {
  display: block;
  margin-bottom: .5rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.field input:not([type="checkbox"]),
.field select,
.field textarea {
  display: block;
  width: 100%;
  padding: .7rem 0;
  font-size: 1rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(21, 21, 21, .38);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 8rem; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: rgba(21, 21, 21, .45); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-bottom-color: var(--gold-deep);
  box-shadow: 0 1px 0 var(--gold-deep);
}
.select { position: relative; }
.select::after {
  content: "";
  position: absolute;
  right: .25rem;
  top: 50%;
  width: .5rem;
  height: .5rem;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transform: translateY(-75%) rotate(45deg);
  pointer-events: none;
}
.select select { padding-right: 1.5rem; cursor: pointer; }

.field--check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .4rem .85rem; align-items: start; }
.field--check input {
  display: grid;
  place-content: center;
  width: 1.2rem;
  height: 1.2rem;
  margin: .15rem 0 0;
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.field--check input::before {
  content: "";
  width: .6rem;
  height: .6rem;
  background: var(--gold-deep);
  transform: scale(0);
  transition: transform .25s var(--ease-out);
}
.field--check input:checked::before { transform: scale(1); }
.field--check label { margin: 0; font-size: .875rem; font-weight: 400; letter-spacing: 0; line-height: 1.5; text-transform: none; color: var(--ink-80); }
.field--check .field__error { grid-column: 2; }

.field__error { margin: .4rem 0 0; font-size: .8125rem; color: var(--error); }
.field__error:empty { display: none; }
.field.is-invalid input:not([type="checkbox"]),
.field.is-invalid select,
.field.is-invalid textarea { border-bottom-color: var(--error); }
.field.is-invalid input[type="checkbox"] { border-color: var(--error); }

.form__note { margin: 1rem 0 0; font-size: .8125rem; color: var(--ink-60); }
.form__status { margin: 1rem 0 0; font-family: var(--serif); font-size: 1.25rem; line-height: 1.35; }
.form__status:empty { display: none; }
.form__status.is-error { color: var(--error); }
.form [type="submit"][disabled] { opacity: .6; cursor: progress; }

/* 18c. Rodapé ---------------------------------------------------------------- */
.site-footer {
  padding: clamp(4rem, 8vw, 6.5rem) 0 2rem;
  font-size: .9375rem;
  color: var(--paper-80);
  background: var(--ink);
}
.brand--light { color: var(--paper); }
.brand--light .brand__sub { color: var(--paper-60); }
.brand--light .brand__mark svg { stroke: var(--gold); }
.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--rule-light);
}
.footer__statement { max-width: 22em; margin: 0; font-family: var(--serif); font-size: clamp(1.35rem, 1.2rem + .5vw, 1.65rem); line-height: 1.25; color: var(--paper); }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem var(--gutter); padding: 3rem 0; }
.footer__h { margin-bottom: 1.1rem; font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.footer__col ul { display: grid; gap: .55rem; list-style: none; }
.site-footer a { text-decoration: none; transition: color .3s var(--ease); }
.site-footer a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: .2em; text-decoration-color: var(--gold); }
.footer__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 2rem;
  padding-top: 1.75rem;
  font-size: .8125rem;
  color: var(--paper-60);
  border-top: 1px solid var(--rule-light);
}
.footer__oab { margin: 0; max-width: 60em; }
.footer__legal { display: flex; gap: 1.5rem; list-style: none; }
.footer__copy { grid-column: 1 / -1; margin: 0; }

/* 18d. Barra fixa mobile e cursor ------------------------------------------------ */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: none;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .5rem;
  padding: .6rem var(--pad) calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(243, 239, 230, .9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 -1px 0 var(--rule);
  transform: translateY(110%);
  transition: transform .6s var(--ease-out);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta__wa {
  display: inline-flex;
  align-items: center;
  min-height: 3.25rem;
  padding: 0 1.15rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ink);
}

.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 300;
  width: .5rem;
  height: .5rem;
  border: 1px solid transparent;
  border-radius: 50%;
  background: var(--gold-deep);
  pointer-events: none;
  opacity: 0;
  transition: width .4s var(--ease-out), height .4s var(--ease-out), background-color .4s var(--ease), border-color .4s var(--ease), opacity .3s var(--ease);
}
.cursor.is-active { opacity: 1; }
.cursor.is-hover { width: 2.6rem; height: 2.6rem; background: transparent; border-color: var(--gold); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1199px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team__grid > li:nth-child(even) { margin-top: 4rem; }
  .team__grid > li:nth-child(3) { margin-top: -1rem; }
}

@media (max-width: 1279px) {
  .prevention__text, .contract { grid-column: 1 / -1; }
  .contract { position: relative; top: auto; max-width: 40rem; margin-top: 4rem; }
}

@media (max-width: 1023px) {
  :root { --header-h: 4.75rem; --header-h-small: 4rem; }

  .hero__art { top: calc(var(--header-h) + .5rem); right: -4vw; bottom: auto; width: 62vw; height: 62svh; opacity: .32; }
  .hero__plate { display: none; }
  .hero__bottom { grid-template-columns: 1fr; }

  .problem__head h2, .problem__lead { grid-column: 1 / -1; }
  .problem__lead { max-width: 34em; }

  .office__figure, .office__text { grid-column: 1 / -1; }
  .office__figure { position: static; max-width: 34rem; margin-bottom: 3rem; }


  .process__head, .steps-wrap, .process__cta { grid-column: 1 / -1; }
  .process__head { position: static; }
  .process__cta { margin-left: 0; }

  .statute__articles { columns: 1; }

  .areas__head, .area-list, .areas__cta { grid-column: 1 / -1; }
  .areas__head { position: static; margin-bottom: 3rem; }

  .team__head .display, .team__head .lead { grid-column: 1 / -1; }
  .team__head .lead { margin-top: 1.5rem; }

  .ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .ledger__item:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .testimonial blockquote, .testimonial figcaption { grid-column: 2 / -1; }

  .articles__grid { grid-template-columns: 1fr; }

  .faq__head, .accordion { grid-column: 1 / -1; }
  .faq__head { position: static; margin-bottom: 2.5rem; }

  .final-cta__bottom { grid-template-columns: 1fr; }

  .contact__info, .contact .form { grid-column: 1 / -1; }

  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .header-cta { display: none; }
  .mobile-cta { display: grid; }
  .site-footer { padding-bottom: calc(6rem + env(safe-area-inset-bottom)); }

  .hero__art { width: 86vw; right: -18vw; height: 50svh; opacity: .22; }
  .hero__title { font-size: clamp(1.9rem, .2rem + 8.4vw, 3.4rem); }
  .hero__title .line:nth-child(2) { padding-left: 0; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__facts { flex-direction: column; gap: .5rem; }
  .engraving .m { stroke-width: 1.6; }
  .engraving .f { stroke-width: 1.1; }
  .engraving .h { stroke-width: .9; }

  .scenes { grid-template-columns: 1fr; }
  .scene, .scene:nth-child(n) { grid-column: 1; margin-top: 0; }
  .scene:nth-child(even) { margin-left: 12%; }

  .principles { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; }

  .contract__sheet, .contract .caption { width: 100%; }
  .contract__sheet { transform: none; }
  .note { position: static; display: block; width: auto; margin: .75rem 0 0; padding-left: .9rem; border-left: 2px solid var(--gold); }
  .note::before { display: none; }

  .steps-wrap { padding-left: 2.25rem; }
  .step::before, .step::after { left: -2.25rem; }

  .area__link { grid-template-columns: 1fr; }
  .area__cta { grid-column: 1; opacity: 1; transform: none; }

  .cases__tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .cases__tabs::-webkit-scrollbar { display: none; }
  .case-tab { flex: 0 0 78%; scroll-snap-align: start; }
  .case { grid-template-columns: 1fr; gap: 2rem; }

  .field-row { grid-template-columns: 1fr; }
  .channel { grid-template-columns: 1fr; gap: .15rem; }

  .footer__bottom { grid-template-columns: 1fr; }
}

@media (max-width: 639px) {
  .team__grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .team__grid > li:nth-child(n) { margin-top: 0; }
  .ledger { grid-template-columns: 1fr; }
  .ledger__item + .ledger__item { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .testimonial blockquote, .testimonial figcaption { grid-column: 1 / -1; padding-left: 1.5rem; }
  .testimonial blockquote::before { left: -.1em; font-size: 2.2em; }
  .footer__cols { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .brand__name { font-size: 1.4rem; }
  .brand__mark svg { width: 1.9rem; height: 1.9rem; }
  .menu-toggle__label { display: none; }
}

/* Dispositivos sem hover: informações sempre visíveis */
@media (hover: none) {
  .lawyer__details { opacity: 1; transform: none; }
  .area__cta { opacity: 1; transform: none; }
}

@media (min-width: 1800px) {
  :root { --pad: 5rem; }
  .container, .complexity__track { max-width: 1680px; }
}

/* Movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  [data-parallax] img, .process__bg img { transform: none; }
}

@media print {
  .site-header, .mobile-cta, .cursor, .hero__art, .map, .form { display: none !important; }
  .process, .team, .final-cta, .site-footer { color: #000; background: #fff; }
}

/* Fallback de revelação sem GSAP (IntersectionObserver) */
.reveal-pending { opacity: 0; transform: translateY(1.5rem); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); }
.reveal-pending.is-in { opacity: 1; transform: none; }

/* Ícone do FAQ gira já no início do fechamento */
.qa.is-closing .qa__icon::after { transform: rotate(90deg); }


/* --- artigo em linha: mesma proporção do arquivo (3:2), sem corte --- */
.article--row .media { aspect-ratio: 3 / 2; }

/* --- diálogo da equipe --- */
.lawyer-dialog {
  width: min(920px, calc(100% - 40px));
  max-height: 90dvh;
  padding: 0;
  border: 0;
  background: var(--sheet);
  color: var(--ink);
  display: grid;
  grid-template-columns: 40% 1fr;
  overflow: hidden;
}
.lawyer-dialog:not([open]) { display: none; }
.lawyer-dialog::backdrop { background: rgba(21, 21, 21, .72); }
.lawyer-dialog__media { background: #1c1c1c; }
.lawyer-dialog__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lawyer-dialog__body {
  padding: clamp(24px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.lawyer-dialog__close {
  position: absolute;
  top: 10px;
  right: 14px;
  z-index: 2;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  opacity: .65;
}
.lawyer-dialog__close:hover { opacity: 1; }
.lawyer-dialog__oab {
  margin: 0;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.lawyer-dialog__name {
  margin: .35rem 0 .15rem;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
}
.lawyer-dialog__role { margin: 0; font-size: .85rem; color: rgba(21, 21, 21, .7); }
.lawyer-dialog__bio { margin: 1.1rem 0 0; font-size: 1rem; line-height: 1.65; color: rgba(21, 21, 21, .82); max-width: 46ch; }
.lawyer-dialog__areas { margin: 1rem 0 0; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--gold-deep); }
.lawyer-dialog .btn { margin-top: 1.6rem; align-self: flex-start; }
@media (max-width: 720px) {
  .lawyer-dialog { grid-template-columns: 1fr; max-height: 88dvh; }
  .lawyer-dialog__media { aspect-ratio: 4 / 3; }
}

/* --- diálogo de leitura dos artigos --- */
.article-dialog {
  width: min(760px, calc(100% - 40px));
  max-height: 88dvh;
  padding: 0;
  border: 0;
  background: var(--sheet);
  color: var(--ink);
  overflow: hidden;
}
.article-dialog:not([open]) { display: none; }
.article-dialog::backdrop { background: rgba(21, 21, 21, .74); }
article-dialog__body {
  max-height: 88dvh;
  overflow-y: auto;
  padding: clamp(52px, 5vw, 72px) clamp(22px, 4vw, 56px) clamp(28px, 4vw, 56px);
}
.article-dialog__close {
  position: absolute;
  top: 10px;
  right: 16px;
  z-index: 2;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  opacity: .6;
}
.article-dialog__close:hover { opacity: 1; }
.article-dialog__kicker {
  margin: 0;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.article-dialog__title {
  margin: .5rem 0 0;
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.08;
  max-width: 20ch;
}
.article-dialog__time { margin: .7rem 0 0; font-size: .78rem; color: rgba(21, 21, 21, .6); }
.article-dialog__text { margin-top: 1.5rem; }
.article-dialog__text p { margin: 0 0 1rem; font-size: 1.02rem; line-height: 1.72; color: rgba(21, 21, 21, .86); }
.article-dialog__text p:first-child { font-size: 1.14rem; color: var(--ink); }

/* --- páginas de artigo --- */
.post { padding: clamp(120px, 14vh, 180px) 0 clamp(60px, 8vw, 110px); }
.post__inner { max-width: 760px; }
.post__back {
  display: inline-block;
  margin-bottom: 2.2rem;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.post__kicker {
  margin: 0 0 .6rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.post__title { margin: 0; font-family: var(--serif); font-size: clamp(34px, 4.4vw, 58px); line-height: 1.06; }
.post__meta { margin: 1rem 0 0; font-size: .8rem; color: rgba(21, 21, 21, .6); }
.post__body { margin-top: 2.2rem; }
.post__body p { margin: 0 0 1.2rem; font-size: 1.06rem; line-height: 1.75; color: rgba(21, 21, 21, .86); }
.post__body p:first-child { font-size: 1.2rem; line-height: 1.6; color: var(--ink); }
.post__cta { margin-top: 2.6rem; }
.post-list { list-style: none; margin: 2.4rem 0 0; padding: 0; border-top: 1px solid var(--rule); }
.post-list__item { display: block; text-decoration: none; padding: 1.4rem 0; border-bottom: 1px solid var(--rule); }
.post-list__kicker { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.post-list__title { display: block; margin-top: .45rem; font-family: var(--serif); font-size: clamp(20px, 2.2vw, 27px); line-height: 1.2; }
.post-list__meta { display: block; margin-top: .5rem; font-size: .78rem; color: rgba(21, 21, 21, .6); }
.post-list__item:hover .post-list__title { color: var(--gold-deep); }
@media (max-width: 720px) { .post { padding-top: 110px; } }

/* anel de foco do botão fechar, em círculo discreto */
.lawyer-dialog__close:focus-visible { outline: 1px solid var(--gold-deep); outline-offset: 1px; border-radius: 50%; }
