/* ==========================================================================
   PINHEIRO E RÊGO ADVOGADOS — Folha de estilos principal
   Sem frameworks, sem fontes externas: carregamento rápido em qualquer rede.
   Mobile-first. Fonte de sistema (zero requisições de webfont = LCP melhor).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. RESET BÁSICO
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; }

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

/* --------------------------------------------------------------------------
   2. TOKENS DE DESIGN
   -------------------------------------------------------------------------- */
:root {
  /* Cores — paleta "tradição + tecnologia": verde-petróleo profundo + dourado discreto */
  --color-bg:            #FBF9F4;
  --color-bg-alt:        #F2EBDD;
  --color-surface:       #FFFFFF;
  --color-primary:       #17393A;
  --color-primary-dark:  #0D2425;
  --color-primary-light: #2C5C5C;
  --color-accent:        #B8925A;
  --color-accent-light:  #E4D2AE;
  /* Versão mais escura do dourado, só para TEXTO/ícones sobre fundo claro —
     #B8925A puro fica em ~2.8:1 de contraste (reprova WCAG AA); esta versão
     fica em ~5:1. O tom claro permanece para uso decorativo (fundos, bordas). */
  --color-accent-text:   #8A6633;
  /* Verde do WhatsApp escurecido: o tom original (#1DA851) dá só 3.1:1 de
     contraste com texto branco (reprova AA para o peso/tamanho usado nos
     botões). Este tom mantém a identidade visual e passa em ~4.9:1. */
  --color-whatsapp:      #148240;
  --color-whatsapp-dark: #106B3A;
  --color-text:          #212827;
  --color-text-muted:    #5B6462;
  --color-text-on-dark:  #F2EBDD;
  --color-border:        #E3DCC9;
  --color-focus:         #B8925A;

  /* Tipografia — pilhas de sistema, sem download de fonte externa */
  --font-heading: ui-serif, Georgia, "Times New Roman", "Noto Serif", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --fs-base: 1.125rem;      /* 18px — base maior, público 45+ */
  --fs-sm: 0.9375rem;       /* 15px */
  --fs-xs: 0.8125rem;       /* 13px */
  --fs-lg: 1.25rem;         /* 20px */
  --fs-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --fs-2xl: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
  --fs-3xl: clamp(2.3rem, 1.6rem + 3vw, 3.5rem);

  --lh-tight: 1.2;
  --lh-normal: 1.65;

  /* Espaçamento (escala 4px) */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: clamp(3rem, 2rem + 4vw, 5.5rem);
  --space-7: clamp(4rem, 2.5rem + 6vw, 7.5rem);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(13, 36, 37, 0.09);
  --shadow-md: 0 10px 30px rgba(13, 36, 37, 0.12);
  --shadow-lg: 0 20px 50px rgba(13, 36, 37, 0.18);

  --container-max: 1180px;
  --container-narrow: 780px;

  --header-h: 76px;
}

/* --------------------------------------------------------------------------
   3. BASE
   -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  overflow-x: hidden;
  width: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Previne overflow horizontal em itens de grid/flex com texto longo.
   Itens de grid/flex têm "min-width: auto" implícito, o que pode
   impedir a quebra de linha do texto e empurrar conteúdo pra fora
   da tela em telas estreitas — é a causa mais comum de "margem
   fantasma" e texto cortado no mobile. */
.hero-content, .hero-media,
.card, .duo-card, .step, .check-item, .article-card,
.benefit-main, .benefit-side,
.cookie-banner p, .cookie-actions,
.footer-bottom > *, .btn-row, .main-nav ul li {
  min-width: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: var(--lh-tight);
  color: var(--color-primary-dark);
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); font-family: var(--font-body); font-weight: 700; }

p { max-width: 68ch; }
p + p { margin-top: var(--space-2); }

strong { font-weight: 700; color: var(--color-primary-dark); }

a:not(.btn) {
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.link-inline {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 600;
}
.link-inline:hover { color: var(--color-accent-text); }

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--color-accent-light); color: var(--color-primary-dark); }

/* Utilitário de acessibilidade: some visualmente, mantém leitor de tela */
.sr-only {
  position: absolute;
  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: -60px;
  background: var(--color-primary-dark);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 200;
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }

/* --------------------------------------------------------------------------
   4. LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-3);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--space-6); }
.section--alt { background: var(--color-bg-alt); }
.section--dark {
  background: var(--color-primary-dark);
  color: var(--color-text-on-dark);
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .section-eyebrow { color: var(--color-accent-light); }
.section--dark p { color: #D9DDD6; }

.section-head { max-width: 62ch; margin-bottom: var(--space-5); }
.section-head--center { margin-inline: auto; text-align: center; }

.section-eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-accent-text);
  margin-bottom: var(--space-2);
}

.grid { display: grid; gap: var(--space-3); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 641px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.flow > * + * { margin-top: var(--space-2); }

/* --------------------------------------------------------------------------
   5. BOTÕES
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  padding: 0.95rem 1.6rem;
  min-height: 48px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
  white-space: normal;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--whatsapp:hover { background: var(--color-whatsapp-dark); box-shadow: var(--shadow-md); }
.btn--whatsapp svg { width: 22px; height: 22px; flex-shrink: 0; }

.btn--outline {
  background: transparent;
  border-color: currentColor;
  color: var(--color-primary-dark);
}
.btn--outline:hover { background: var(--color-primary-dark); color: #fff; }

.section--dark .btn--outline { color: #fff; }
.section--dark .btn--outline:hover { background: #fff; color: var(--color-primary-dark); }

.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  padding-inline: 0.5rem;
}
.btn--ghost:hover { color: var(--color-accent-text); }

.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }

/* --------------------------------------------------------------------------
   6. CABEÇALHO / NAVEGAÇÃO
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
}
/* O fundo translúcido/desfocado vive num pseudo-elemento, não no .site-header
   em si. Isso é proposital: "backdrop-filter" num ancestral transforma esse
   ancestral em "containing block" para filhos com position:fixed — o que
   quebraria o menu mobile (.main-nav) se ele estivesse dentro do header com
   backdrop-filter aplicado diretamente nele. Com o filtro só no ::before, o
   header em si fica "neutro" e o menu fixo continua se posicionando em
   relação à janela, como deve ser. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(251, 249, 244, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
}
.logo strong { font-size: 1.3rem; font-weight: 700; color: var(--color-primary-dark); }
.logo span { font-size: var(--fs-xs); font-family: var(--font-body); color: var(--color-text-muted); letter-spacing: .04em; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
}
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.main-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--color-bg);
  padding: var(--space-4) var(--space-3);
  transform: translateX(100%);
  transition: transform .25s ease;
  overflow-y: auto;
  z-index: 101; /* acima do header (100), já que os dois convivem no desktop */
}
.main-nav.is-open { transform: translateX(0); }
.main-nav ul { display: flex; flex-direction: column; gap: var(--space-1); }
.main-nav a:not(.btn) {
  display: block;
  padding: 0.9rem 0.25rem;
  font-weight: 600;
  font-size: 1.15rem;
  border-bottom: 1px solid var(--color-border);
}
.main-nav a.is-active { color: var(--color-accent-text); }
.main-nav .btn { margin-top: var(--space-3); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .main-nav {
    position: static;
    inset: auto;
    transform: none;
    background: transparent;
    padding: 0;
    overflow: visible;
    z-index: auto;
  }
  .main-nav ul { flex-direction: row; align-items: center; gap: var(--space-4); }
  .main-nav a:not(.btn) { padding: 0.4rem 0.1rem; border-bottom: 2px solid transparent; }
  .main-nav a:not(.btn):hover, .main-nav a.is-active { border-color: var(--color-accent-text); }
  .main-nav .btn { margin-top: 0; }
}

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */
.hero {
  padding-block: var(--space-5) var(--space-6);
}
.hero .container {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero .container { grid-template-columns: 1.05fr 0.95fr; }
}
.hero h1 { margin-bottom: var(--space-2); }
.hero .lede { font-size: var(--fs-lg); color: var(--color-text-muted); max-width: 52ch; }
.hero .btn-row { margin-top: var(--space-4); }
.hero-trust {
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}
.hero-trust li { display: flex; align-items: center; gap: 0.5rem; }
.hero-trust svg { width: 18px; height: 18px; color: var(--color-accent-text); flex-shrink: 0; }

.hero-media { position: relative; }
.hero-media .img-frame { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* --------------------------------------------------------------------------
   8. PLACEHOLDER DE IMAGEM (evita CLS: proporção reservada via aspect-ratio)
   -------------------------------------------------------------------------- */
.img-frame {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  background: var(--color-bg-alt);
  overflow: hidden;
}
.ar-4-3  { aspect-ratio: 4 / 3; }
.ar-4-5  { aspect-ratio: 4 / 5; }
.ar-2-3  { aspect-ratio: 2 / 3; }
.ar-1-1  { aspect-ratio: 1 / 1; }
.ar-16-9 { aspect-ratio: 16 / 9; }
.ar-3-2  { aspect-ratio: 3 / 2; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------------------
   9. CARDS
   -------------------------------------------------------------------------- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card h3 { font-size: var(--fs-lg); margin-bottom: 0.5rem; }
.card p { color: var(--color-text-muted); font-size: var(--fs-sm); }
.card .card-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-accent-light);
  color: var(--color-primary-dark);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-2);
  flex-shrink: 0;
}
.card .card-icon svg { width: 26px; height: 26px; }
.card .card-link {
  margin-top: auto;
  padding-top: var(--space-2);
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.card .card-link svg { width: 18px; height: 18px; transition: transform .15s ease; }
.card:hover .card-link svg { transform: translateX(3px); }

/* Cards de área de atuação (home) */
.areas-grid { margin-top: var(--space-2); }

/* --------------------------------------------------------------------------
   10. NARRATIVA DE CONTRASTE (sócias)
   -------------------------------------------------------------------------- */
.duo-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 641px) { .duo-grid { grid-template-columns: repeat(2, 1fr); } }

.duo-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.duo-card .duo-body { padding: var(--space-4); }
.duo-card .duo-tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--color-accent-text);
  margin-bottom: 0.4rem;
}
.duo-card h3 { margin-bottom: 0.25rem; }
.duo-card .duo-role { color: var(--color-text-muted); font-size: var(--fs-sm); margin-bottom: var(--space-2); }

/* --------------------------------------------------------------------------
   11. PASSOS NUMERADOS
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  gap: var(--space-4);
  counter-reset: step;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding-left: 0; }
.step .step-num {
  display: flex; align-items: center; justify-content: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--color-primary-dark);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.step h3 { font-size: var(--fs-lg); margin-bottom: 0.4rem; }
.step p { color: var(--color-text-muted); font-size: var(--fs-sm); }

/* --------------------------------------------------------------------------
   12. CHECKLIST (agitação da dor — tom sóbrio, sem alarmismo)
   -------------------------------------------------------------------------- */
.check-list { display: grid; gap: var(--space-2); }
@media (min-width: 641px) { .check-list { grid-template-columns: repeat(2, 1fr); } }
.check-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-3);
}
.check-item svg {
  width: 24px; height: 24px;
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 2px;
}
.check-item p { font-size: var(--fs-sm); color: var(--color-text); margin: 0; }

/* --------------------------------------------------------------------------
   13. AVALIAÇÕES (Google) — estado de placeholder honesto
   -------------------------------------------------------------------------- */
.reviews-shell {
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-3);
  text-align: center;
  color: var(--color-text-muted);
  background: var(--color-surface);
}
.reviews-shell svg { width: 40px; height: 40px; color: var(--color-accent-text); margin-inline: auto; margin-bottom: var(--space-2); }
.reviews-shell strong { display: block; color: var(--color-text); margin-bottom: 0.35rem; }

/* --------------------------------------------------------------------------
   14. FAQ (usa <details>/<summary> nativos — zero JS)
   -------------------------------------------------------------------------- */
.faq-list { border-top: 1px solid var(--color-border); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-3) 0.25rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-primary-dark);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--color-bg-alt);
  transition: transform .2s ease;
}
.faq-item summary .faq-icon svg { width: 16px; height: 16px; }
.faq-item[open] summary .faq-icon { transform: rotate(45deg); background: var(--color-accent-light); }
.faq-item .faq-answer { padding: 0 0.25rem var(--space-3); color: var(--color-text-muted); max-width: 68ch; }

/* --------------------------------------------------------------------------
   15. RODAPÉ
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-primary-dark);
  color: #CFD6CE;
  padding-block: var(--space-6) var(--space-4);
}
.footer-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .06em; margin-bottom: var(--space-2); }
.site-footer .logo strong { color: #fff; }
.site-footer .logo span { color: #9FAEA6; }
.footer-desc { color: #B7C0B9; font-size: var(--fs-sm); margin-top: var(--space-2); max-width: 34ch; }
.footer-list { display: flex; flex-direction: column; gap: 0.6rem; font-size: var(--fs-sm); }
.footer-list a:hover { color: var(--color-accent-light); }
.footer-list address { font-style: normal; }

.footer-social { display: flex; gap: 0.6rem; margin-top: var(--space-3); }
.footer-social a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.footer-social a:hover { background: var(--color-accent); color: var(--color-primary-dark); }
.footer-social svg { width: 19px; height: 19px; }

.footer-bottom {
  padding-top: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: #9FAEA6;
}
.footer-bottom .oab-tag { color: #CFD6CE; }
.footer-bottom nav { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--color-accent-light); }

/* --------------------------------------------------------------------------
   16. BOTÃO FLUTUANTE DO WHATSAPP
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  right: var(--space-3);
  bottom: var(--space-3);
  z-index: 90;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform .15s ease, background-color .15s ease;
}
.whatsapp-float:hover { background: var(--color-whatsapp-dark); transform: scale(1.06); }
.whatsapp-float svg { width: 30px; height: 30px; }
/* Sobe quando a faixa de cookies está visível, para não sobrepor */
body.has-cookie-banner .whatsapp-float { bottom: calc(var(--space-3) + 84px); }
@media (min-width: 641px) {
  body.has-cookie-banner .whatsapp-float { bottom: calc(var(--space-3) + 64px); }
}

/* --------------------------------------------------------------------------
   17. FAIXA DE CONSENTIMENTO DE COOKIES (LGPD)
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  background: var(--color-primary-dark);
  color: #E7EAE4;
  padding: var(--space-3);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.18);
  transform: translateY(100%);
  transition: transform .3s ease;
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner .container {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
@media (min-width: 900px) {
  .cookie-banner .container { flex-direction: row; align-items: center; justify-content: space-between; gap: var(--space-4); }
}
.cookie-banner p { font-size: var(--fs-sm); color: #E7EAE4; margin: 0; max-width: 62ch; }
.cookie-banner .link-inline { color: var(--color-accent-light); }
.cookie-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; flex-shrink: 0; }
.cookie-actions .btn { padding: 0.7rem 1.2rem; min-height: 42px; font-size: var(--fs-sm); }
.cookie-actions .btn--outline { color: #fff; }
.cookie-actions .btn--outline:hover { background: #fff; color: var(--color-primary-dark); }

/* --------------------------------------------------------------------------
   18. PÁGINA "ÁREAS DE ATUAÇÃO" — nav de âncoras + blocos
   -------------------------------------------------------------------------- */
.jump-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-2);
  overflow-x: auto;
}
.jump-nav ul { display: flex; gap: var(--space-2); white-space: nowrap; }
.jump-nav a {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--color-bg-alt);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--color-primary-dark);
}
.jump-nav a:hover, .jump-nav a.is-active { background: var(--color-primary-dark); color: #fff; }

.benefit-block { padding-block: var(--space-6); scroll-margin-top: calc(var(--header-h) + 70px); }
.benefit-block:nth-of-type(even) { background: var(--color-bg-alt); }
.benefit-block .container { display: grid; gap: var(--space-4); }
@media (min-width: 1024px) { .benefit-block .container { grid-template-columns: 1fr 1fr; align-items: start; } }
.benefit-block .benefit-tag {
  display: inline-block;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--color-accent-text); margin-bottom: 0.5rem;
}
.bullet-list { margin-top: var(--space-2); display: grid; gap: 0.55rem; }
.bullet-list li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: var(--fs-base); }
.bullet-list svg { width: 20px; height: 20px; color: var(--color-primary); flex-shrink: 0; margin-top: 4px; }
.benefit-block .btn-row { margin-top: var(--space-3); }
.benefit-side .img-frame { margin-bottom: var(--space-3); }
.info-note {
  background: var(--color-surface);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   19. ARTIGOS / BLOG (hub em construção)
   -------------------------------------------------------------------------- */
.article-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.article-card .img-frame { border-radius: 0; }
.article-card .article-body { padding: var(--space-3); display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.article-card .badge {
  align-self: flex-start;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--color-accent-light);
  color: var(--color-primary-dark);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
}
.article-card h3 { font-size: 1.15rem; }
.article-card p { font-size: var(--fs-sm); color: var(--color-text-muted); }

/* --------------------------------------------------------------------------
   20. CONTEÚDO LEGAL (política de privacidade)
   -------------------------------------------------------------------------- */
.legal-content h2 { margin-top: var(--space-5); margin-bottom: var(--space-2); font-size: var(--fs-xl); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.1rem; margin-top: var(--space-3); margin-bottom: 0.4rem; }
.legal-content p, .legal-content li { color: var(--color-text-muted); max-width: 74ch; }
.legal-content ul { list-style: disc; padding-left: 1.4rem; display: grid; gap: 0.4rem; margin-top: 0.5rem; }
.legal-content table { width: 100%; border-collapse: collapse; margin-block: var(--space-2); font-size: var(--fs-sm); }
.legal-content th, .legal-content td { text-align: left; padding: 0.6rem; border: 1px solid var(--color-border); }
.legal-content th { background: var(--color-bg-alt); }
.legal-updated { color: var(--color-text-muted); font-size: var(--fs-sm); margin-bottom: var(--space-4); }

/* --------------------------------------------------------------------------
   21. PÁGINA 404
   -------------------------------------------------------------------------- */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
}
.error-page .container { max-width: 620px; }
.error-code {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 3rem + 4vw, 6rem);
  color: var(--color-accent-text);
  line-height: 1;
}

/* --------------------------------------------------------------------------
   22. AVISOS DE PLACEHOLDER (visíveis só para quem está montando o site)
   -------------------------------------------------------------------------- */
.todo-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #FCEFD9;
  color: #7A4E12;
  border: 1px solid #EAC98A;
  border-radius: var(--radius-sm);
  padding: 0.15rem 0.55rem;
  font-size: var(--fs-xs);
  font-weight: 700;
}
