/* =========================================================================
   Rejane Silva Advocacia e Consultoria — folha de estilos
   Identidade derivada do papel timbrado oficial (ver docs/IDENTIDADE-VISUAL.md)
   Sem dependências externas. Fontes hospedadas localmente (licença SIL OFL).
   ========================================================================= */

/* ---------- Fontes (auto-hospedadas) ---------- */
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-600-italic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Mulish"; src: url("../fonts/mulish-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Mulish"; src: url("../fonts/mulish-latin-wght-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }

/* ---------- Tokens (cores extraídas do papel timbrado) ---------- */
:root {
  --verde-900: #243020;   /* fundos escuros */
  --verde: #2F3E29;       /* verde institucional — monograma, assinatura, textos */
  --verde-700: #455340;   /* moldura de traço fino */
  --verde-400: #7A8477;   /* apoio */
  --ouro: #D4A879;        /* dourado/bege do monograma — apenas detalhes */
  --ouro-texto: #8C6436;  /* dourado escurecido p/ texto pequeno sobre fundo claro (AA) */
  --areia: #F7EFE8;       /* bege da marca-d'água */
  --areia-2: #F0E5DA;
  --papel: #FCFAF7;       /* off-white */
  --branco: #FFFFFF;
  --tinta: #2A2E27;       /* texto corrido */
  --cinza: #5D6458;       /* texto secundário */
  --linha: rgba(47, 62, 41, .16);
  --linha-forte: rgba(47, 62, 41, .32);
  --erro: #9A2F2F;

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Mulish", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --sec: clamp(4.5rem, 10vw, 8.5rem);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--papel); color: var(--tinta);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7; font-weight: 400;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--verde); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--verde-900); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, .contact-list, .portrait-caption { font-variant-numeric: lining-nums; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--verde); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.55rem, 5.6vw, 4.75rem); line-height: 1.04; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.8rem); line-height: 1.2; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--ouro-texto); }
strong { font-weight: 700; }
::selection { background: var(--ouro); color: var(--verde-900); }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--verde); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--ouro); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--verde); color: var(--papel); padding: .75rem 1.1rem; text-decoration: none; }
.skip-link:focus { top: 1rem; color: var(--papel); }
main:focus { outline: none; }
.break { overflow-wrap: anywhere; }

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .85rem; margin: 0 0 1.4rem;
  font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ouro-texto);
}
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; opacity: .7; }
.eyebrow.no-rule::before { display: none; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.27rem); line-height: 1.7; color: var(--cinza); max-width: 40em; }
.muted { color: var(--cinza); }
.serif-note { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--verde); line-height: 1.45; }

/* ---------- Botões e links ---------- */
.btn {
  --bg: var(--verde); --fg: var(--papel); --bd: var(--verde);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .8rem 1.6rem; border: 1px solid var(--bd); border-radius: 0;
  background: var(--bg); color: var(--fg); font: 600 .82rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { --bg: var(--verde-900); --bd: var(--verde-900); color: var(--papel); }
.btn-outline { --bg: transparent; --fg: var(--verde); --bd: var(--linha-forte); }
.btn-outline:hover, .btn-outline[aria-current="page"] { --bg: var(--verde); --fg: var(--papel); --bd: var(--verde); color: var(--papel); }
.btn-light { --bg: var(--areia); --fg: var(--verde-900); --bd: var(--areia); }
.btn-light:hover { --bg: var(--ouro); --bd: var(--ouro); color: var(--verde-900); }
.btn-sm { min-height: 42px; padding: .65rem 1.15rem; font-size: .74rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .7rem; font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--verde); text-decoration: none; padding-block: .35rem; border-bottom: 1px solid var(--linha-forte);
  transition: border-color .25s var(--ease), gap .25s var(--ease);
}
.link-arrow::after { content: "→"; font-size: 1rem; letter-spacing: 0; transition: transform .25s var(--ease); }
.link-arrow:hover { border-color: var(--verde); gap: .95rem; }
.on-dark .link-arrow { color: var(--areia); border-color: rgba(247,239,232,.35); }
.on-dark .link-arrow:hover { border-color: var(--ouro); color: var(--ouro); }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--papel); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-color: var(--linha); box-shadow: 0 6px 24px -18px rgba(36,48,32,.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .9rem; text-decoration: none; color: var(--verde); }
.brand-mark { width: auto; height: 54px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; letter-spacing: .01em; }
.brand-sub { margin-top: .35rem; font-size: .64rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--ouro-texto); }

.nav-list { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.1rem); list-style: none; }
.nav-list a:not(.btn) {
  position: relative; display: inline-block; padding-block: .5rem; text-decoration: none; color: var(--tinta);
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.nav-list a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 1px; background: var(--ouro); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-list a:not(.btn):hover::after, .nav-list a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
.nav-list a[aria-current="page"]:not(.btn) { color: var(--verde); }
.nav-toggle { display: none; }
.nav-mobile-foot { display: none; }

@media (max-width: 1020px) {
  :root { --header-h: 72px; }
  .brand-mark { height: 46px; }
  .brand-name { font-size: 1.4rem; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: .5rem .2rem .5rem .75rem; border: 0; background: none;
    font: 700 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--verde); cursor: pointer;
  }
  .nav-toggle-bars { display: grid; gap: 6px; width: 24px; }
  .nav-toggle-bars span { height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--papel); border-top: 1px solid var(--linha);
    padding: 2rem var(--gutter) 2.5rem; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .no-js .nav-toggle { display: none; }
  .no-js .site-nav { position: static; visibility: visible; opacity: 1; transform: none; padding: 0 0 1rem; border: 0; }
  .no-js .header-inner { flex-wrap: wrap; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--linha); }
  .nav-list a:not(.btn) { display: block; padding: 1.05rem 0; font-family: var(--serif); font-size: 1.75rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--verde); }
  .nav-list a:not(.btn)::after { display: none; }
  .nav-list a[aria-current="page"]:not(.btn) { color: var(--ouro-texto); }
  .nav-list .nav-cta { border: 0; padding-top: 1.75rem; }
  .nav-list .nav-cta .btn { width: 100%; min-height: 52px; }
  .nav-mobile-foot { display: grid; gap: .35rem; margin-top: 2.5rem; font-size: .95rem; }
  .nav-mobile-foot .eyebrow { margin-bottom: .5rem; }
  .nav-mobile-foot a { color: var(--cinza); text-decoration: none; overflow-wrap: anywhere; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) { .brand-sub { letter-spacing: .16em; font-size: .58rem; } .brand-name { font-size: 1.3rem; } .brand { gap: .65rem; } }

/* ---------- Seções ---------- */
.section { padding-block: var(--sec); position: relative; }
.section-sand { background: var(--areia); }
.section-tight { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head p { color: var(--cinza); }
.on-dark { background: var(--verde-900); color: #DCDFD7; }
.on-dark h2, .on-dark h3 { color: var(--areia); }
.on-dark h2 em { color: var(--ouro); }
.on-dark .eyebrow { color: var(--ouro); }
.on-dark p { color: #C9CEC3; }

/* Moldura fina inspirada no papel timbrado */
.frame { position: relative; }
.frame::before, .frame::after { content: ""; position: absolute; pointer-events: none; background: var(--verde-700); opacity: .55; }
.frame::before { top: 0; right: 0; width: 1px; height: 46%; }
.frame::after { top: 0; right: 0; height: 1px; width: 38%; }

/* ---------- Hero (início) ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 8vw, 7rem) clamp(6rem, 11vw, 10rem); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.hero h1 { max-width: 13ch; margin-bottom: 1.6rem; }
.hero .lead { margin-bottom: 2.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 2rem; }
.hero-areas { display: grid; gap: 0; align-self: center; border-top: 1px solid var(--linha-forte); }
.hero-area {
  display: grid; grid-template-columns: 2.25rem 1fr auto; align-items: center; gap: 1.25rem; padding: 1.6rem .25rem;
  border-bottom: 1px solid var(--linha-forte); text-decoration: none; color: var(--verde); background: rgba(252,250,247,.72);
  transition: padding .35s var(--ease), background-color .35s var(--ease);
}
.hero-area:hover { padding-inline: 1rem; background: var(--papel); color: var(--verde); }
.hero-area-num { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--ouro-texto); }
.hero-area-title { display: block; font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.05rem); line-height: 1.1; }
.hero-area-desc { display: block; margin-top: .3rem; font-size: .9rem; color: var(--cinza); }
.hero-area-arrow { font-size: 1.25rem; transition: transform .35s var(--ease); }
.hero-area:hover .hero-area-arrow { transform: translateX(6px); }

/* Marca-d'água (balança geométrica do papel timbrado) */
.watermark { position: absolute; z-index: 0; color: var(--areia); pointer-events: none; }
.watermark svg { width: 100%; height: auto; }
.hero .watermark { right: -3%; bottom: -2px; width: min(34vw, 430px); }
.hero-signature { position: absolute; z-index: 1; right: calc(var(--gutter) + 1rem); bottom: clamp(1rem, 2.4vw, 2rem); width: clamp(150px, 15vw, 210px); pointer-events: none; }
.hero-frame { position: absolute; inset: clamp(1rem, 2.5vw, 2rem) var(--gutter) auto auto; z-index: 1; pointer-events: none; }
.hero-line-top { position: absolute; top: 0; right: 0; height: 1px; width: min(52vw, 720px); background: var(--verde-700); opacity: .5; }
.hero-line-right { position: absolute; top: 0; right: 0; width: 1px; height: clamp(160px, 26vw, 340px); background: var(--verde-700); opacity: .5; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .watermark { width: 64vw; right: -18vw; }
  .hero-signature { display: none; }
  .hero-line-top { width: 60vw; }
}

/* ---------- Cartões de áreas (início) ---------- */
.areas-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.area-card {
  position: relative; display: flex; flex-direction: column; padding: clamp(2rem, 4vw, 3.25rem);
  background: var(--papel); border: 1px solid var(--linha); transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.area-card::before { content: ""; position: absolute; left: clamp(2rem, 4vw, 3.25rem); top: -1px; width: 56px; height: 2px; background: var(--ouro); }
.area-card:hover { border-color: var(--linha-forte); box-shadow: 0 24px 48px -36px rgba(36,48,32,.45); }
.area-card .area-for { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ouro-texto); margin-bottom: 1rem; }
.area-card h3 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 1rem; }
.area-card p { color: var(--cinza); }
.area-card .card-foot { margin-top: auto; padding-top: 1.75rem; }

.dash-list { list-style: none; display: grid; gap: .55rem; margin: .5rem 0 0; }
.dash-list li { position: relative; padding-left: 1.6rem; }
.dash-list li::before { content: ""; position: absolute; left: 0; top: .82em; width: .85rem; height: 1px; background: var(--ouro-texto); }
.dash-list.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
@media (max-width: 820px) { .areas-grid { grid-template-columns: 1fr; } .dash-list.cols-2 { grid-template-columns: 1fr; } }

/* ---------- Princípios / proposta boutique ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.split-sticky { position: sticky; top: calc(var(--header-h) + 2rem); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split-sticky { position: static; } }

.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--linha-forte); }
.principle { padding: 2rem 2rem 2.25rem 0; border-bottom: 1px solid var(--linha); }
.principle:nth-child(odd) { border-right: 1px solid var(--linha); }
.principle:nth-child(even) { padding-left: 2rem; padding-right: 0; }
.principle-num { display: block; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ouro-texto); margin-bottom: .75rem; }
.principle h3 { font-size: 1.55rem; margin-bottom: .6rem; }
.principle p { color: var(--cinza); margin: 0; font-size: 1rem; }
@media (max-width: 640px) {
  .principles { grid-template-columns: 1fr; }
  .principle, .principle:nth-child(even) { padding: 1.75rem 0; border-right: 0; }
}

/* ---------- Etapas do atendimento ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); counter-reset: step; }
.step { position: relative; padding-top: 2.25rem; counter-increment: step; }
.step::before { content: ""; position: absolute; top: .55rem; left: 0; right: -2.5rem; height: 1px; background: var(--linha-forte); }
.step:last-child::before { right: 0; }
.step::after { content: ""; position: absolute; top: .3rem; left: 0; width: .55rem; height: .55rem; transform: rotate(45deg); background: var(--ouro); }
.step-num { font-family: var(--serif); font-size: 1rem; font-style: italic; color: var(--ouro-texto); }
.step-num::before { content: "0" counter(step); }
.step h3 { font-size: 1.45rem; margin: .35rem 0 .6rem; }
.step p { font-size: .98rem; color: var(--cinza); margin: 0; }
.on-dark .step::before { background: rgba(247,239,232,.25); }
.on-dark .step-num { color: var(--ouro); }
.on-dark .step p { color: #C9CEC3; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.75rem; } .step::before { right: 0; } }
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step { padding: 0 0 2.25rem 2.25rem; }
  .step::before { top: .9rem; bottom: 0; left: .27rem; right: auto; width: 1px; height: auto; }
  .step:last-child::before { display: none; }
  .step::after { top: .55rem; }
}

/* ---------- Faixa de contato ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .watermark { right: -4%; bottom: -30%; width: min(40vw, 420px); color: rgba(247,239,232,.06); }
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.5rem; align-items: end; }
.cta-inner h2 { margin-bottom: 1rem; max-width: 18ch; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.cta-signature { width: 190px; margin-top: 1.25rem; opacity: .9; }
@media (max-width: 820px) { .cta-inner { grid-template-columns: 1fr; } }

/* ---------- Cabeçalho de páginas internas ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--areia); padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3.5rem, 7vw, 5.5rem); }
.page-hero .watermark { right: -3%; top: -12%; width: min(36vw, 420px); color: var(--areia-2); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { margin-bottom: 0; }
.breadcrumb { margin-bottom: 2rem; font-size: .8rem; color: var(--cinza); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: var(--ouro-texto); }
.breadcrumb a { color: var(--cinza); text-decoration: none; }
.breadcrumb a:hover { color: var(--verde); text-decoration: underline; }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: .75rem 2.5rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--linha-forte); font-size: .92rem; color: var(--cinza); max-width: 62rem; }
.page-hero-meta strong { display: block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ouro-texto); margin-bottom: .2rem; }

/* ---------- Páginas de área: grupos de serviços ---------- */
.audience { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.audience-item { padding: 1.75rem; border: 1px solid var(--linha); background: var(--papel); }
.audience-item h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.audience-item p { margin: 0; color: var(--cinza); font-size: .98rem; }
@media (max-width: 820px) { .audience { grid-template-columns: 1fr; } }

.situations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4rem); list-style: none; border-top: 1px solid var(--linha-forte); }
.situations li { display: grid; grid-template-columns: 2.5rem 1fr; padding: 1.25rem 0; border-bottom: 1px solid var(--linha); }
.situations li span { font-family: var(--serif); font-style: italic; color: var(--ouro-texto); }
@media (max-width: 720px) { .situations { grid-template-columns: 1fr; } }

.services { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.services-index { position: sticky; top: calc(var(--header-h) + 2rem); }
.services-index ol { list-style: none; border-left: 1px solid var(--linha-forte); }
.services-index a { display: block; padding: .55rem 0 .55rem 1.25rem; margin-left: -1px; border-left: 2px solid transparent; color: var(--cinza); text-decoration: none; font-size: .95rem; }
.services-index a:hover, .services-index a.is-active { color: var(--verde); border-left-color: var(--ouro); }
.service-group { padding-block: 0 clamp(2.5rem, 5vw, 3.5rem); margin-bottom: clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--linha); scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.service-group:last-child { border-bottom: 0; margin-bottom: 0; }
.service-num { display: block; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--ouro-texto); margin-bottom: .4rem; }
.service-group h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: .8rem; }
.service-group > p { color: var(--cinza); max-width: 42rem; }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; } .services-index { position: static; } }

.notice { position: relative; padding: 1.6rem 1.75rem 1.6rem 2rem; background: var(--areia); border-left: 2px solid var(--ouro); font-size: .98rem; color: var(--tinta); }
.notice p:last-child { margin: 0; }
.notice-title { font-weight: 700; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ouro-texto); margin-bottom: .5rem; }

.method { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--linha); border: 1px solid var(--linha); }
.method li { background: var(--papel); padding: 1.75rem 1.5rem; }
.method h3 { font-size: 1.35rem; margin: .35rem 0 .5rem; }
.method p { margin: 0; font-size: .96rem; color: var(--cinza); }
@media (max-width: 900px) { .method { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .method { grid-template-columns: 1fr; } }

.glossary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4rem); margin: 0; }
.glossary div { padding: 1.25rem 0; border-bottom: 1px solid var(--linha); }
.glossary dt { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--verde); }
.glossary dd { margin: .25rem 0 0; color: var(--cinza); font-size: .98rem; }
@media (max-width: 720px) { .glossary { grid-template-columns: 1fr; } }

/* ---------- Sobre ---------- */
.prose { max-width: 40rem; }
.prose p { font-size: 1.08rem; }
.prose p.eyebrow { font-size: .74rem; }
.prose h2 { margin-top: 0; }
.portrait-wrap { position: relative; max-width: 320px; }
.portrait-arch {
  position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; overflow: hidden;
  background: linear-gradient(180deg, var(--areia-2), var(--areia)); border: 1px solid var(--linha);
}
.portrait-arch img { width: 100%; height: 100%; object-fit: cover; }
.portrait-arch .monogram { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.portrait-arch .monogram img { width: 48%; height: auto; max-width: none; object-fit: contain; margin: 0 auto; }
.portrait-arch::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(47,62,41,.25); border-bottom: 0; border-radius: 999px 999px 0 0; pointer-events: none; }
.portrait-caption { margin-top: 1.5rem; }
.portrait-caption .name { font-family: var(--serif); font-size: 1.7rem; color: var(--verde); line-height: 1.15; }
.portrait-caption .role { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ouro-texto); margin-top: .35rem; }
.signature { width: 230px; margin-top: 1.75rem; }
.facts { list-style: none; margin-top: 2rem; border-top: 1px solid var(--linha-forte); }
.facts li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--linha); font-size: .98rem; }
.facts li strong { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ouro-texto); padding-top: .2rem; }
@media (max-width: 520px) { .facts li { grid-template-columns: 1fr; gap: .2rem; } }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 7vw, 6.5rem); align-items: start; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .portrait-wrap { max-width: 320px; } }

.two-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.mode { padding: 2rem; border: 1px solid var(--linha); background: var(--papel); }
.mode h3 { font-size: 1.5rem; }
.mode p { color: var(--cinza); margin: 0; }
@media (max-width: 720px) { .two-cols { grid-template-columns: 1fr; } }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; border-top: 1px solid var(--linha-forte); margin-bottom: 2rem; }
.contact-list li { padding: 1.15rem 0; border-bottom: 1px solid var(--linha); }
.contact-list .label { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ouro-texto); margin-bottom: .25rem; }
.contact-list a, .contact-list .value { font-family: var(--serif); font-size: 1.45rem; color: var(--verde); text-decoration: none; overflow-wrap: anywhere; line-height: 1.3; }
.contact-list a:hover { text-decoration: underline; }
.contact-list small { display: block; color: var(--cinza); font-size: .9rem; margin-top: .2rem; }

.form-card { background: var(--branco); border: 1px solid var(--linha); padding: clamp(1.5rem, 4vw, 3rem); position: relative; }
.form-card::before { content: ""; position: absolute; top: -1px; left: clamp(1.5rem, 4vw, 3rem); width: 56px; height: 2px; background: var(--ouro); }
.form-card h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); }
.form-intro { color: var(--cinza); font-size: .98rem; }
.field { margin-bottom: 1.35rem; }
.field label, .field legend { display: block; margin-bottom: .45rem; font-size: .82rem; font-weight: 700; letter-spacing: .04em; color: var(--verde); }
.field .opt { font-weight: 400; color: var(--cinza); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem .95rem; border: 1px solid var(--linha-forte); border-radius: 0; background: var(--papel);
  font: inherit; font-size: 1rem; color: var(--tinta); transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--verde) 50%), linear-gradient(135deg, var(--verde) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--verde); background: var(--branco); box-shadow: 0 0 0 3px rgba(47,62,41,.18); }
.field [aria-invalid="true"] { border-color: var(--erro); }
.field-hint { display: block; margin-top: .4rem; font-size: .85rem; color: var(--cinza); }
.field-error { display: block; margin-top: .4rem; font-size: .87rem; font-weight: 600; color: var(--erro); }
.field-error:empty { display: none; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.25rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label.check { font-weight: 400; letter-spacing: 0; color: var(--tinta); font-size: .93rem; }
.check { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; font-size: .93rem; color: var(--tinta); }
.check input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--verde); }
.radio-group { display: flex; flex-wrap: wrap; gap: .75rem; border: 0; padding: 0; margin: 0 0 1.35rem; }
.radio-group legend { width: 100%; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.radio-pill span { display: inline-flex; align-items: center; min-height: 46px; padding: .6rem 1.15rem; border: 1px solid var(--linha-forte); font-size: .92rem; font-weight: 600; color: var(--verde); }
.radio-pill input:checked + span { background: var(--verde); color: var(--papel); border-color: var(--verde); }
.radio-pill input:focus-visible + span { outline: 2px solid var(--verde); outline-offset: 3px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1.25rem; padding: 1rem 1.2rem; font-size: .95rem; border-left: 2px solid var(--ouro); background: var(--areia); }
.form-status[hidden] { display: none; }
.form-status.is-error { border-color: var(--erro); }
.form-status.is-success { border-color: var(--verde); }
.form-privacy { margin-top: 1.25rem; font-size: .86rem; color: var(--cinza); }

/* ---------- Texto legal ---------- */
.legal { max-width: 46rem; }
.legal h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-top: 2.75rem; }
.legal h2:first-child { margin-top: 0; }
.legal ul { padding-left: 1.2rem; margin-bottom: 1.1em; }
.legal li { margin-bottom: .4em; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .95rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: .8rem .75rem; border-bottom: 1px solid var(--linha); }
.legal th { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ouro-texto); }
.table-wrap { overflow-x: auto; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--verde); color: #D8DCD3; padding-top: clamp(4rem, 8vw, 6rem); font-size: .95rem; }
.site-footer a { color: var(--areia); text-decoration: none; }
.site-footer a:hover { color: var(--ouro); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 4rem); padding-bottom: 3.5rem; }
.brand-light { color: var(--areia); }
.brand-light .brand-sub { color: var(--ouro); }
.site-footer .brand-mark { height: 60px; }
.footer-lead { margin: 1.5rem 0 1rem; max-width: 26rem; color: #C3C9BD; }
.footer-signature { width: 190px; opacity: .85; }
.footer-title { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ouro); margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; display: grid; gap: .65rem; }
.muted-light { color: #AEB6A7; font-size: .88rem; }
.footer-social { margin-top: 1.25rem; display: flex !important; gap: 1.25rem !important; }
.footer-legal { border-top: 1px solid rgba(247,239,232,.16); padding-block: 1.75rem 2rem; font-size: .85rem; color: #B9C0B2; }
.footer-legal p { margin: 0 0 .5rem; }
.footer-legal strong { color: var(--areia); font-weight: 600; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; margin-top: 1rem !important; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; align-items: center; }

/* ---------- Animações discretas ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; } .js .reveal-d2 { transition-delay: .16s; } .js .reveal-d3 { transition-delay: .24s; }
@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; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Impressão ---------- */
@media print {
  .site-header, .nav-toggle, .skip-link, .watermark, .hero-frame, form, .cta-band { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-footer { background: #fff; color: #000; }
  .site-footer a, .site-footer .brand-light { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}

/* utilitários */
.mt-lg { margin-top: 2.5rem; }
.contact-error { margin: -.9rem 0 1.35rem; }
.radio-group legend { font-size: .82rem; font-weight: 700; color: var(--verde); margin-bottom: .45rem; padding: 0; }
.brand-sub { white-space: nowrap; }
@media (max-width: 420px) {
  .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav-toggle { padding: .6rem; min-width: 44px; justify-content: center; }
}
