/* Fontes auto-hospedadas (Inter + Source Serif 4 variaveis, latin/latin-ext) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/sourceserif4-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/sourceserif4-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================
   ALAIR GUIMARÃES — Design System v2
   Perícia, Assistência Técnica e Avaliações
   Paleta: branco / verde institucional / preto. Sem vermelho.
   Motivo autoral: selo/carimbo notarial (dupla coroa + monograma).
   ========================================================= */

:root {
  --white: #ffffff;
  --paper: #f6f6f3;

  --green-950: #0b2a20;   /* superfícies escuras: hero, rodapé */
  --green-800: #146148;   /* ação: botões, CTA — mais vívido de propósito */
  --green-700: #1c7a58;   /* links, ícones, hover em fundo claro */
  --green-100: #e3ede7;
  --green-050: #f2f7f5;

  --black: #0d0f0e;
  --ink: #14231c;         /* texto principal — tingido de verde, nunca cinza puro */
  --muted: #57655c;
  --muted-2: #6d7b72;
  --border: #e1e6e2;
  --border-strong: #c7d1cb;

  --font-serif: 'Source Serif 4', Georgia, serif;
  --font-sans: 'Inter', -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --measure: 66ch;
  --radius: 4px;
  --radius-sm: 3px;
  --shadow-sm: 0 2px 6px rgba(11, 42, 32, 0.08), 0 1px 2px rgba(11, 42, 32, 0.06);
  --shadow-md: 0 18px 40px -12px rgba(11, 42, 32, 0.28);
  --shadow-button: 0 1px 0 rgba(255,255,255,0.14) inset, 0 6px 16px -6px rgba(11, 42, 32, 0.55);
  --container: 1180px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--black); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
section { padding: 96px 0; }
@media (max-width: 720px) {
  section { padding: 64px 0; }
  .container { padding: 0 20px; }
}

/* ---------- Seal / monogram motif ---------- */
.seal { color: currentColor; display: block; }
.seal text { font-family: var(--font-serif); }

/* ---------- Type ---------- */
h1 { font-size: clamp(2.4rem, 1.1rem + 4.6vw, 5rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.6rem); letter-spacing: -0.015em; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 8px; }
.lede {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: var(--measure);
  margin-bottom: 44px;
}
.text-center { text-align: center; margin-left: auto; margin-right: auto; }
em.accent { font-style: italic; color: var(--green-700); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  border: 1.5px solid transparent;
  transition: background 0.18s var(--ease-out), color 0.18s var(--ease-out), border-color 0.18s var(--ease-out), transform 0.12s var(--ease-out), box-shadow 0.18s var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green-800); color: var(--white); box-shadow: var(--shadow-button); }
.btn-primary:hover { background: #0f5039; box-shadow: 0 1px 0 rgba(255,255,255,0.14) inset, 0 10px 22px -6px rgba(11, 42, 32, 0.6); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--green-800); color: var(--green-800); }
.btn-outline:hover { background: var(--green-800); color: var(--white); transform: translateY(-1px); }
.btn-outline.on-dark { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-outline.on-dark:hover { background: var(--white); color: var(--green-950); border-color: var(--white); transform: translateY(-1px); }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary:focus-visible, .btn-outline:focus-visible { outline: 2px solid var(--green-700); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--border);
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  z-index: -1;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--black);
  min-width: 0;
}
.brand > span { white-space: nowrap; }
.brand .brand-mark { width: 38px; height: 38px; color: var(--green-950); flex-shrink: 0; }
/* Logo real (arquivo) */
.brand-logo { height: 40px; width: auto; display: block; }
.brand-symbol { width: 40px; height: 40px; display: block; flex-shrink: 0; }
.site-header .brand { flex-direction: column; align-items: flex-start; gap: 4px; }
@media (max-width: 520px) { .brand-logo { height: 32px; } }
.brand small {
  display: block;
  white-space: nowrap;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.62rem;
  line-height: 1.5;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 2px;
}
@media (max-width: 420px) {
  .brand small { display: none; }
}
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav ul { display: flex; align-items: center; gap: 2px; }
.main-nav ul li { display: flex; }
.main-nav ul a {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  position: relative;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, color 0.15s ease;
}
.main-nav ul a:hover { background: var(--green-050); color: var(--green-800); }
.main-nav ul a.active { color: var(--green-800); }
.main-nav ul a.active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  background: var(--green-800);
  border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: 6px; }
.nav-cta .btn { padding: 11px 18px; font-size: 0.85rem; gap: 7px; }
.nav-cta .btn svg { width: 16px; height: 16px; }
.lang-switch { display: flex; align-items: center; gap: 2px; border: 1px solid var(--border-strong); border-radius: 999px; padding: 3px; margin-right: 4px; }
.lang-switch button {
  position: relative;
  border: none; background: transparent; padding: 5px 10px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; color: var(--muted);
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-switch button[aria-pressed="true"] { background: var(--green-950); color: var(--white); }
.lang-switch button:not([aria-pressed="true"]):hover { color: var(--green-800); }
.lang-switch button::after {
  content: '';
  position: absolute;
  top: 100%; left: 50%;
  width: 26px; height: 18px;
  transform: translate(-50%, 2px) scale(0.85);
  margin-top: 6px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 3px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  box-shadow: 0 0 0 1px rgba(11,42,32,0.14), var(--shadow-sm);
  z-index: 5;
}
.lang-switch button[data-lang="pt"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Crect width='30' height='20' fill='%23009c3b'/%3E%3Cpolygon points='15,2 28,10 15,18 2,10' fill='%23ffdf00'/%3E%3Ccircle cx='15' cy='10' r='5' fill='%23002776'/%3E%3C/svg%3E");
}
.lang-switch button[data-lang="en"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Crect width='30' height='20' fill='%23ffffff'/%3E%3Cg fill='%23b22234'%3E%3Crect y='0' width='30' height='1.54'/%3E%3Crect y='3.08' width='30' height='1.54'/%3E%3Crect y='6.16' width='30' height='1.54'/%3E%3Crect y='9.24' width='30' height='1.54'/%3E%3Crect y='12.32' width='30' height='1.54'/%3E%3Crect y='15.4' width='30' height='1.54'/%3E%3Crect y='18.48' width='30' height='1.54'/%3E%3C/g%3E%3Crect width='12' height='10.8' fill='%233c3b6e'/%3E%3C/svg%3E");
}
.lang-switch button[data-lang="es"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Crect width='30' height='20' fill='%23aa151b'/%3E%3Crect y='5' width='30' height='10' fill='%23f1bf00'/%3E%3C/svg%3E");
}
.lang-switch button:hover::after,
.lang-switch button:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.nav-toggle {
  display: none;
  background: none; border: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  color: var(--green-950);
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1180px) {
  .main-nav {
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px;
    gap: 20px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    overflow-y: auto;
  }
  .main-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav ul a { display: block; padding: 15px 6px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-cta { flex-direction: column; align-items: stretch; margin-left: 0; margin-top: 8px; }
  .nav-cta .btn { width: 100%; }
  .lang-switch { align-self: flex-start; margin-right: 0; }
  .nav-toggle { display: flex; }
  .site-header .container { min-height: 72px; }
}

/* Mesmo layout do menu mobile acima, mas acionado por JS (initNavFit em main.js)
   quando o texto do nav não cabe ao lado da marca — independe de breakpoint fixo,
   porque o comprimento do texto muda conforme o idioma (PT/EN/ES). */
.site-header.nav-compact .main-nav {
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--white);
  flex-direction: column;
  align-items: stretch;
  padding: 24px 20px;
  gap: 20px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  overflow-y: auto;
}
.site-header.nav-compact .main-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.site-header.nav-compact .main-nav ul { flex-direction: column; gap: 2px; }
.site-header.nav-compact .main-nav ul a { display: block; padding: 15px 6px; border-bottom: 1px solid var(--border); border-radius: 0; }
.site-header.nav-compact .nav-cta { flex-direction: column; align-items: stretch; margin-left: 0; margin-top: 8px; }
.site-header.nav-compact .nav-cta .btn { width: 100%; }
.site-header.nav-compact .lang-switch { align-self: flex-start; margin-right: 0; }
.site-header.nav-compact .nav-toggle { display: flex; }
.site-header.nav-compact .container { min-height: 72px; }

/* ---------- Hero ---------- */
.hero {
  background: var(--green-950);
  color: var(--white);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero .seal-watermark {
  position: absolute;
  top: 50%; right: -6%;
  width: min(52vw, 620px); height: min(52vw, 620px);
  transform: translateY(-50%);
  color: rgba(255,255,255,0.05);
  opacity: 0.12;
  object-fit: contain;
  z-index: -1;
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding-top: 52px;
  padding-bottom: 52px;
  min-height: 0;
}
.hero .container.hero-no-media {
  grid-template-columns: 1fr;
  padding-top: 72px;
  padding-bottom: 72px;
}
.hero .container.hero-no-media > div { max-width: 720px; }
.hero h1 { color: var(--white); margin-bottom: 18px; font-size: clamp(2.1rem, 1rem + 3.6vw, 3.6rem); }
.hero p.lead { color: rgba(255,255,255,0.76); font-size: 1.08rem; max-width: 520px; margin-bottom: 28px; line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 40px; gap: 28px; }
}

.page-hero {
  background: var(--green-950);
  color: var(--white);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-hero h1 { color: var(--white); }
.page-hero .lead { color: rgba(255,255,255,0.78); max-width: 680px; font-size: 1.08rem; margin-top: 14px; line-height: 1.6; }
.breadcrumb { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Real photo ---------- */
.real-photo {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.real-photo.wide { aspect-ratio: 16 / 10; object-position: center 20%; }

/* ---------- Section heads (no eyebrows — the heading carries the weight) ---------- */
.section-head { margin-bottom: 48px; max-width: 720px; }
.section-head h2 { margin-bottom: 14px; }

/* ---------- Ledger index (replaces same-size specialty cards) ---------- */
.index-list { border-top: 1px solid var(--border); }
.index-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 28px;
  align-items: flex-start;
  padding: 34px 4px;
  border-bottom: 1px solid var(--border);
  transition: background 0.25s var(--ease-out);
}
.index-row:hover { background: var(--green-050); }
.index-num, .index-body { transition: transform 0.25s var(--ease-out), color 0.25s var(--ease-out); }
.index-row:hover .index-num, .index-row:hover .index-body { transform: translateX(6px); }
.index-num { font-family: var(--font-serif); font-size: 1.7rem; font-weight: 700; color: var(--green-700); line-height: 1.3; }
.index-row:hover .index-num { color: var(--green-800); }
.index-body h3 { margin-bottom: 8px; }
.index-body p { color: var(--muted); max-width: var(--measure); }
.index-arrow { align-self: center; color: var(--green-800); transition: transform 0.3s var(--ease-out); }
.index-row:hover .index-arrow { transform: translateX(6px); }
.index-arrow svg { width: 20px; height: 20px; }
@media (max-width: 720px) {
  .index-row { grid-template-columns: 40px 1fr; }
  .index-arrow { display: none; }
}

/* ---------- Panels (replace colored-border-left blocks) ---------- */
.panel {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 30px 34px;
  margin-bottom: 18px;
}
.panel.on-dark { background: rgba(255,255,255,0.05); }
.panel.outline { background: transparent; border: 1px solid var(--border); }
.panel-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.panel-head svg { width: 20px; height: 20px; color: var(--green-700); flex-shrink: 0; }
.panel-title { font-weight: 700; font-size: 0.98rem; color: var(--black); }
.panel p { color: var(--ink); font-size: 0.97rem; }
.panel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 720px) { .panel-grid { grid-template-columns: 1fr; } }

/* Cards das LPs ganham vida ao passar o mouse: leve elevação + borda e sombra.
   A transição é redefinida no estado .is-visible para o hover continuar rápido
   depois que o reveal de scroll termina (senão herdaria os 0.55s do reveal). */
.panel.outline {
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out),
              box-shadow 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.js-motion .reveal-stagger.is-visible > .panel.outline {
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out),
              box-shadow 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.panel.outline:hover {
  transform: translateY(-4px);
  border-color: var(--green-700);
  box-shadow: 0 14px 32px -16px rgba(11, 42, 32, 0.30);
}
.panel.outline:hover h4 { color: var(--green-800); }
@media (prefers-reduced-motion: reduce) {
  .panel.outline, .js-motion .reveal-stagger.is-visible > .panel.outline {
    transition: border-color 0.3s var(--ease-out);
  }
  .panel.outline:hover { transform: none; }
}

/* ---------- Checklist / bullet items ---------- */
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  font-size: 0.98rem;
  max-width: var(--measure);
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--green-700);
}
.check-list li::after {
  content: '';
  position: absolute;
  left: 5px; top: 8px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--green-700);
  border-bottom: 2px solid var(--green-700);
  transform: rotate(-45deg);
}
/* Cada item da checklist desliza levemente e o círculo se preenche no hover. */
.check-list li {
  transition: transform 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.check-list li::before { transition: background 0.25s var(--ease-out); }
.check-list li:hover { transform: translateX(5px); color: var(--black); }
.check-list li:hover::before { background: var(--green-050); }
@media (prefers-reduced-motion: reduce) {
  .check-list li { transition: color 0.25s var(--ease-out); }
  .check-list li:hover { transform: none; }
}
.dot-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-size: 0.97rem;
  color: var(--ink);
  max-width: var(--measure);
}
.dot-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-700);
}

/* ---------- Two-column feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split.reverse .split-media { order: 2; }
@media (max-width: 900px) { .split.reverse .split-media { order: -1; } }

/* ---------- Credential chips (refined — quiet, not badge-soup) ---------- */
.credentials-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.credential-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  transition: transform 0.2s var(--ease-out), border-color 0.2s ease, background 0.2s ease;
}
.credential-chip:hover { transform: translateY(-2px); border-color: var(--green-700); background: var(--green-050); }
.credential-chip svg { width: 15px; height: 15px; color: var(--green-700); flex-shrink: 0; }
.section-dark .credential-chip, .on-dark .credential-chip, .hero .credential-chip { border-color: rgba(255,255,255,0.25); color: var(--white); }
.section-dark .credential-chip svg, .on-dark .credential-chip svg, .hero .credential-chip svg { color: rgba(255,255,255,0.7); }
.section-dark .credential-chip:hover, .on-dark .credential-chip:hover, .hero .credential-chip:hover { border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.07); }

/* ---------- Pull-quotes (testimonials / cases — editorial, not cards) ---------- */
.pullquote-list {
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0 44px;
}
.pullquote {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 10px;
}
@media (max-width: 640px) {
  .pullquote-list { grid-template-columns: 1fr; }
}
.pullquote .mark { font-family: var(--font-serif); font-size: 3.2rem; color: var(--green-100); line-height: 0.3; display: inline-block; transition: color 0.3s var(--ease-out), transform 0.3s var(--ease-out); }
.pullquote:hover .mark { color: var(--green-700); transform: scale(1.1); }
.pullquote blockquote { font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; line-height: 1.55; color: var(--ink); max-width: var(--measure); }
.pullquote .attribution { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.attribution .name { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.03em; color: var(--black); }
.attribution .role { font-size: 0.82rem; color: var(--muted); }
.attribution .rule { width: 20px; height: 1px; background: var(--border-strong); }
.source-note {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: var(--green-700);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-top: 4px;
  text-decoration: none;
  width: fit-content;
}
a.source-note:hover, a.source-note:focus-visible { color: var(--green-800); text-decoration: underline; }

/* ---------- Dossier (anonymized case entries) ---------- */
.dossier { padding: 28px 12px; margin: 0 -12px; border-bottom: 1px solid var(--border); border-radius: var(--radius-sm); transition: background 0.25s var(--ease-out); }
.dossier:first-child { border-top: 1px solid var(--border); }
.dossier:hover { background: var(--green-050); }
.dossier .tag { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green-700); display: block; margin-bottom: 10px; }
.dossier h4 { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; color: var(--black); }
.dossier .field { margin-bottom: 8px; font-size: 0.93rem; color: var(--muted); max-width: var(--measure); }
.dossier .field strong { color: var(--ink); font-weight: 600; }

/* ---------- FAQ (details/summary — refined) ---------- */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--black);
  transition: color 0.18s ease;
}
.faq-item summary:hover { color: var(--green-800); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-icon { width: 22px; height: 22px; flex-shrink: 0; position: relative; transition: transform 0.3s var(--ease-out); }
.faq-item[open] .faq-icon { transform: rotate(180deg); }
.faq-item .faq-icon::before, .faq-item .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--green-800);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.15s ease;
}
.faq-item .faq-icon::before { width: 13px; height: 1.5px; }
.faq-item .faq-icon::after { width: 1.5px; height: 13px; }
.faq-item[open] .faq-icon::after { opacity: 0; }
.faq-item p.faq-answer { color: var(--muted); font-size: 0.98rem; padding: 0 4px 24px; max-width: var(--measure); overflow: hidden; }

/* ---------- Lead form ---------- */
.lead-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 34px;
}
.lead-form-wrap.on-dark {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.16);
  backdrop-filter: blur(8px);
}
.lead-form-wrap.on-dark h3, .lead-form-wrap.on-dark label, .lead-form-wrap.on-dark legend { color: var(--white); }
.lead-form-wrap h3 { margin-bottom: 4px; }
.lead-form-wrap .form-sub { color: var(--muted); font-size: 0.88rem; margin-bottom: 24px; }
.lead-form-wrap.on-dark .form-sub { color: rgba(255,255,255,0.62); }

.field { margin-bottom: 18px; border: none; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 7px; color: var(--ink); padding: 0; }
.field input[type="text"],
.field input[type="tel"],
.field select {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font-size: 0.95rem;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px var(--green-100);
}
.radio-group { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.radio-pill span {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border: 1.5px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.12s ease;
}
.radio-pill input:checked + span { background: var(--green-950); border-color: var(--green-950); color: var(--white); }
.radio-pill input:focus-visible + span { box-shadow: 0 0 0 3px var(--green-100); }
.lead-form-wrap.on-dark .radio-pill span { color: var(--white); border-color: rgba(255,255,255,0.35); }
.lead-form-wrap.on-dark .radio-pill input:checked + span { background: var(--white); border-color: var(--white); color: var(--green-950); }

.form-status {
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--green-050);
  border: 1px solid var(--green-100);
  color: var(--green-950);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 16px;
}
.form-status.is-visible { display: flex; }
.form-status svg { width: 18px; height: 18px; flex-shrink: 0; }
.form-note { font-size: 0.76rem; color: var(--muted-2); margin-top: 16px; }
.form-note.on-dark { color: rgba(255,255,255,0.55); }

/* ---------- Finalidade selector (avaliação imobiliária) — ledger variant ---------- */
.finalidade-list { border-top: 1px solid var(--border); display: grid; }
.finalidade-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  padding: 24px 4px;
  border-bottom: 1px solid var(--border);
}
.finalidade-row svg { width: 22px; height: 22px; color: var(--green-700); margin-top: 2px; }
.finalidade-row h4 { font-family: var(--font-sans); font-size: 1rem; margin-bottom: 4px; }
.finalidade-row p { font-size: 0.88rem; color: var(--muted); }
/* Cada linha de finalidade ganha vida no hover: destaque + deslize do conteúdo.
   O reveal-stagger anima a própria linha (translateY); aqui animamos os filhos
   (ícone e texto) com translateX, então não há conflito de transform. */
.finalidade-row { transition: background 0.25s var(--ease-out); }
.finalidade-row svg, .finalidade-row > div { transition: transform 0.25s var(--ease-out), color 0.25s var(--ease-out); }
.js-motion .finalidade-list.reveal-stagger.is-visible > .finalidade-row {
  transition: transform 0.55s var(--ease-out), opacity 0.55s var(--ease-out), background 0.25s var(--ease-out);
}
.finalidade-row:hover { background: var(--green-050); }
.finalidade-row:hover svg, .finalidade-row:hover > div { transform: translateX(5px); }
.finalidade-row:hover svg { color: var(--green-800); }
.finalidade-row:hover h4 { color: var(--green-800); }
@media (prefers-reduced-motion: reduce) {
  .finalidade-row svg, .finalidade-row > div { transition: color 0.25s var(--ease-out); }
  .finalidade-row:hover svg, .finalidade-row:hover > div { transform: none; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: rgba(255,255,255,0.85); padding: 72px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h5 { color: var(--white); font-family: var(--font-sans); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; font-weight: 700; }
.site-footer .brand { color: var(--white); margin-bottom: 16px; }
.site-footer .brand .brand-mark { color: rgba(255,255,255,0.9); }
.site-footer .brand small { color: rgba(255,255,255,0.5); }
.site-footer p, .site-footer li { font-size: 0.89rem; color: rgba(255,255,255,0.65); margin-bottom: 11px; }
.site-footer a:hover { color: var(--white); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 11px; }
.footer-contact-item svg { width: 16px; height: 16px; color: rgba(255,255,255,0.55); flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.42);
}

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 70;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px -6px rgba(11, 42, 32, 0.55);
  transition: transform 0.18s var(--ease-out), background 0.18s ease;
}
.wa-float:hover { background: #0f5039; transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }
@media (max-width: 520px) {
  .wa-float { bottom: 18px; right: 18px; width: 54px; height: 54px; }
}

/* ---------- Stats ---------- */
.stat-row { display: flex; gap: 48px; flex-wrap: wrap; }
.stat-row .stat strong { display: block; font-family: var(--font-serif); font-size: 2.4rem; color: var(--green-800); letter-spacing: -0.02em; }
.stat-row .stat span { font-size: 0.82rem; color: var(--muted); }
.section-dark .stat-row .stat strong { color: var(--white); }
.section-dark .stat-row .stat span { color: rgba(255,255,255,0.65); }

/* ---------- Timeline (Sobre — credentials) ---------- */
.timeline-item { display: flex; gap: 22px; padding-bottom: 30px; position: relative; }
.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 9px; top: 24px; bottom: 0;
  width: 1px;
  background: var(--border-strong);
}
.timeline-dot { width: 19px; height: 19px; border-radius: 50%; border: 1.5px solid var(--green-800); background: var(--white); flex-shrink: 0; margin-top: 2px; transition: background 0.25s var(--ease-out), transform 0.25s var(--ease-out); }
.timeline-item:hover .timeline-dot { background: var(--green-800); transform: scale(1.2); }
.timeline-item h4 { font-family: var(--font-sans); font-size: 0.97rem; margin-bottom: 4px; }
.timeline-item p { font-size: 0.9rem; color: var(--muted); }

.section-dark { background: var(--green-950); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .lede { color: rgba(255,255,255,0.72); }
.section-alt { background: var(--paper); }

.map-note {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 26px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.map-note svg { width: 22px; height: 22px; color: var(--green-700); flex-shrink: 0; margin-top: 2px; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--green-950);
  color: var(--white);
  padding: 12px 18px;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

::selection { background: var(--green-100); color: var(--green-950); }

/* ---------- Motion: one authored moment — reveal on scroll ---------- */
.reveal { opacity: 1; transform: none; }
.js-motion .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.js-motion .reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .js-motion .reveal { opacity: 1; transform: none; transition: none; }
}

/* Variante do reveal para grupos que aparecem como lista (especialidades, selos,
   depoimentos, dossiês, linha do tempo, FAQ): cada item entra em sequência, com um
   pequeno atraso incremental (definido via JS em initScrollReveal), em vez do bloco
   inteiro surgir de uma vez — reforça que são itens distintos, não um parágrafo. */
.reveal-stagger { opacity: 1; }
.reveal-stagger > * { opacity: 1; transform: none; }
.js-motion .reveal-stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}
.js-motion .reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .js-motion .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 720px) {
  .footer-grid { gap: 20px; }
  .stat-row { gap: 28px; }
}

/* ---------- Página legal (Política de Privacidade) ---------- */
.legal-doc { max-width: 760px; }
.legal-doc .legal-updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 28px; }
.legal-doc h2 { font-size: 1.3rem; margin-top: 36px; margin-bottom: 12px; }
.legal-doc h2:first-of-type { margin-top: 0; }
.legal-doc p { color: var(--ink); margin-bottom: 14px; line-height: 1.7; }
.legal-doc .check-list { margin: 8px 0 18px; }
.legal-doc a { color: var(--green-700); text-decoration: underline; }

/* ---------- Aviso de cookies (LGPD / Consent Mode) ---------- */
.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 1200;
  width: min(420px, calc(100vw - 40px));
  background: var(--green-950);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55);
  transform: translateY(calc(100% + 24px));
  transition: transform 0.4s var(--ease-out);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner p { font-size: 0.9rem; line-height: 1.55; color: rgba(255, 255, 255, 0.86); margin-bottom: 16px; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.cookie-banner .btn-outline { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.cookie-banner .btn-outline:hover { background: #fff; color: var(--green-950); border-color: #fff; }
@media (max-width: 520px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner { transition: none; }
}
