/* ── Poppins hospedada localmente (subset latin, cobre PT-BR) ──
   Substitui a chamada ao Google Fonts: mais rápido (menos DNS/handshake
   externo) e melhor para LGPD (não envia o IP do visitante ao Google).
   Os .woff2 estão em css/fonts/ — url relativa a ESTE arquivo. */
@font-face { font-family:'Poppins'; font-style:normal; font-weight:400; font-display:swap; src:url('fonts/poppins-400.woff2') format('woff2'); }
@font-face { font-family:'Poppins'; font-style:normal; font-weight:500; font-display:swap; src:url('fonts/poppins-500.woff2') format('woff2'); }
@font-face { font-family:'Poppins'; font-style:normal; font-weight:600; font-display:swap; src:url('fonts/poppins-600.woff2') format('woff2'); }
@font-face { font-family:'Poppins'; font-style:normal; font-weight:700; font-display:swap; src:url('fonts/poppins-700.woff2') format('woff2'); }

/* ==========================================================================
   W Barbosa Advocacia Previdenciária — Design System v4
   Direção: clean e claro (estrutura da v3) + paleta AZUL.
   Só as cores mudaram em relação à v3 — estrutura, classes e markup idênticos.

   Princípios (não desfaça sem motivo):
   1. Hierarquia por TAMANHO e PESO, não por ornamento. Sem gradientes,
      sem círculos decorativos, sem sombras pesadas.
   2. Superfícies separadas por BORDA de 1px, não por sombra.
   3. Um único bloco escuro na página (o CTA). O resto respira em branco/azul-claro.
   4. Nenhum texto de leitura abaixo de --fs-sm. O público é 50+.

   ⚠️ A REGRA DA COR: azul-claro é SUPERFÍCIE, azul-escuro é TEXTO.
   Diferente do dourado da v3, o azul é escuro o bastante para que até o tom
   de marca (--ornament, #2F6BA6) passe em contraste sobre branco E sobre a
   superfície clara (5.56:1 e 4.99:1). Ainda assim, mantenha a lógica:
   tons 50–200 são fundo/borda; 500 é ornamento; 700–900 são texto e CTA.

   Fontes carregadas via <link> no <head> — @import aqui atrasaria o LCP.
   ========================================================================== */

:root {
  /* ── Escala azul ── */
  --blue-50:  #EEF3F9;
  --blue-100: #D8E4F0;
  --blue-200: #B6CCE2;
  --blue-300: #8FAECF;
  --blue-400: #5E86B3;
  --blue-500: #2F6BA6;   /* azul de marca — ornamento, 5.56:1 branco / 4.99:1 claro */
  --blue-600: #245789;
  --blue-700: #1D4971;   /* 9.36:1 — acento: texto, link e botão */
  --blue-800: #153656;   /* 12.40:1 */
  --blue-900: #0E2740;   /* 15.19:1 — bloco do CTA */

  /* ── Superfícies ── */
  --bg: #FFFFFF;
  --bg-alt: var(--blue-50);      /* azul-claro: a assinatura visual da paleta */
  --bg-sunk: #E2ECF6;
  --border: var(--blue-100);
  --border-strong: var(--blue-200);

  /* ── Texto (frio, verificado sobre branco E sobre azul-claro) ── */
  --text: #122234;          /* 16.10:1 branco · 14.43:1 claro */
  --text-muted: #33475B;    /*  9.58:1 branco ·  8.58:1 claro */
  --text-subtle: #52687D;   /*  5.68:1 branco ·  5.09:1 claro */

  /* ── Acento ── */
  --accent: var(--blue-700);        /* 9.36:1 — texto, link e botão */
  --accent-hover: var(--blue-800);
  --accent-soft: var(--blue-50);
  --accent-border: var(--blue-100);
  --ornament: var(--blue-500);      /* passa sobre branco E sobre azul-claro */
  --escuro: var(--blue-900);        /* bloco do CTA */

  /* ── Toque de dourado (navy + ouro, o clássico jurídico) ──
     ⚠️ Dourado NÃO serve para texto sobre branco (≈2:1, reprova). Por isso:
     --gold-accent  = só traço/detalhe decorativo (o "tick" do eyebrow).
     --gold-on-dark = detalhe e texto SOBRE as seções escuras (8.7:1 no navy). */
  --gold-accent: #CBA135;
  --gold-on-dark: #E3C063;

  /* ── WhatsApp (só nos CTAs de WhatsApp) ──
     O verde de marca #25D366 dá 1.98:1 com texto branco e reprova em qualquer
     critério. #15803D dá 5.02:1 (AA), continua lendo como "verde do WhatsApp"
     e mantém o botão reconhecível. */
  --wpp: #15803D;
  --wpp-hover: #126B33;

  /* ── Compatibilidade com estilos inline legados ──
     Páginas antigas referenciam estas variáveis direto no atributo style.
     Nomes mantidos (inclusive --gold, herança da v3) apontando para a paleta
     azul, para que os estilos inline degradem coerentes sem tocar no markup.
     ⚠️ --navy continua ESCURO: use para texto, nunca como fundo com texto claro. */
  --navy: var(--text);
  --navy-mid: #2A3B4D;
  --navy-light: var(--text-muted);
  --gold: var(--accent);        /* alias herdado da v3 → azul 9.36:1, seguro p/ texto */
  --gold-light: var(--blue-600);
  --gold-dark: var(--accent);
  --gold-text: var(--accent);
  --cream: var(--bg-alt);
  --cream-dark: var(--border);
  --white: #FFFFFF;
  --gray-100: var(--bg-sunk);
  --gray-300: var(--blue-200);
  --gray-500: var(--text-subtle);
  --gray-700: var(--text-muted);
  --text-dark: var(--text);
  --text-body: var(--text-muted);

  /* ── Tipografia ── */
  --fs-xs: 0.84rem;
  --fs-sm: 0.95rem;
  --fs-base: 1rem;
  --fs-md: 1.09rem;
  --fs-lg: 1.25rem;

  /* ── Forma ── */
  --radius: 8px;
  --radius-lg: 12px;
  --radius-full: 999px;
  --focus: #2563EB;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  /* Sombras azul-petróleo (rgba do --escuro), não cinza — combinam com a paleta.
     --shadow-sm é a sombra em REPOUSO, que tira a sensação de "chapado". */
  --shadow-sm: 0 1px 3px rgba(14, 39, 64, 0.05), 0 6px 16px rgba(14, 39, 64, 0.07);
  --shadow-hover: 0 14px 32px rgba(14, 39, 64, 0.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 17px; }

body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text-muted);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ── TIPOGRAFIA ──
   Títulos grandes com tracking negativo: é o que dá o ar "moderno"
   sem precisar de nenhum ornamento. */
h1, h2, h3, h4 {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 4.6vw, 3.3rem); letter-spacing: -0.025em; line-height: 1.12; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; }
h4 { font-size: var(--fs-md); }

p { font-size: var(--fs-base); }
strong { color: var(--text); font-weight: 600; }

a { color: var(--accent); }

.serif { font-family: 'Poppins', system-ui, sans-serif; }
.gold-text { color: var(--accent); }
.cream-bg { background: var(--bg-alt); }

/* ── ACESSIBILIDADE ── */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1100;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; top: 0; }

.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;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── LAYOUT ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; }
.section-sm { padding: 72px 0; }
.text-center { text-align: center; }

/* ── EYEBROW (era .badge) ──
   Texto puro com um traço antes. Sem caixa, sem borda: mais limpo. */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  border: none;
  padding: 0;
}
.badge::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--gold-accent);   /* traço dourado antes de cada título de seção */
  flex-shrink: 0;
}

/* Sobre fundo escuro (CTA e seção "quem atende"): o dourado brilha aqui */
.badge-white { color: rgba(255,255,255,0.85); }
.badge-white::before { background: var(--gold-on-dark); }

.section-title { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 18px; }

.section-sub {
  font-size: var(--fs-lg);
  color: var(--text-subtle);
  max-width: 620px;
  line-height: 1.6;
}

/* O divisor dourado sumiu — o eyebrow já marca o início da seção.
   Mantido como no-op para não quebrar o markup existente. */
.divider, .divider-center { display: none; }

/* ── BOTÕES ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  letter-spacing: -0.01em;
  min-height: 48px;
}

/* .btn-primary é o nome real; .btn-gold é alias legado (páginas antigas) */
.btn-primary,
.btn-gold {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover,
.btn-gold:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-secondary,
.btn-outline-gold {
  background: var(--bg);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover,
.btn-outline-gold:hover {
  background: var(--bg-alt);
  border-color: var(--text-subtle);
  color: var(--text);
}

/* Sobre fundo escuro */
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

.btn-wpp {
  background: var(--wpp);
  color: #fff;
  border-color: var(--wpp);
}
.btn-wpp:hover { background: var(--wpp-hover); border-color: var(--wpp-hover); }

/* ── NAVBAR ──
   Branca e sólida desde o topo: com hero claro, navbar transparente
   só criaria um degrau visual. */
#navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
  padding: 14px 0;
}
#navbar.scrolled { border-bottom-color: var(--border); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.nav-logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1.15; }
.nav-logo-main {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
}
.nav-logo-sub {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-subtle);
  font-weight: 600;
}

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }

.nav-links a {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after { display: none; }

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; color: #fff !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO ── */
#hero {
  background: var(--bg);
  position: relative;
  border-bottom: 1px solid var(--border);
}
/* Ornamentos da v1 aposentados */
.hero-pattern, .hero-lines { display: none; }

.hero-content {
  position: relative;
  padding: 96px 0;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.2rem, 4.6vw, 3.3rem);
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -0.025em;
  line-height: 1.12;
}
.hero-title span { color: var(--accent); }

.hero-sub {
  font-size: var(--fs-lg);
  color: var(--text-subtle);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.6;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat-item { display: flex; align-items: center; gap: 12px; }
.stat-icon { color: var(--accent); flex-shrink: 0; display: flex; }
.stat-label { font-size: var(--fs-sm); color: var(--text-subtle); line-height: 1.5; }
.stat-number { font-size: 2rem; font-weight: 700; color: var(--accent); letter-spacing: -0.03em; }

/* Card de captação: caixa branca com borda, não vidro */
.hero-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.hero-card h2, .hero-card h3 {
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.025em;
}
.hero-card p { font-size: var(--fs-sm); color: var(--text-subtle); margin-bottom: 22px; }

.card-form { display: flex; flex-direction: column; gap: 10px; }

.card-form input,
.card-form select,
.card-form textarea {
  width: 100%;
  padding: 13px 14px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: var(--fs-base);   /* >=16px: abaixo disso o iOS dá zoom no foco */
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.card-form input::placeholder,
.card-form textarea::placeholder { color: var(--text-subtle); }

.card-form input:focus,
.card-form select:focus,
.card-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.card-form select option { background: #fff; color: var(--text); }

/* ── SITUAÇÕES (cards de dor, em primeira pessoa) ──
   Nomeiam a situação do leitor com as palavras dele. Tom informativo e
   sóbrio: descrevem o cenário, não vendem solução nem prometem resultado
   (Provimento 205/2021 da OAB). */
#situacoes { background: var(--bg-alt); border-block: 1px solid var(--border); }

.dores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.dor-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.dor-card .aspas {
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ornament);   /* ornamento sobre branco: 3.16:1, permitido */
  margin-bottom: 12px;
  display: block;
}

.dor-card h3 {
  font-size: var(--fs-md);
  color: var(--text);
  margin-bottom: 10px;
  font-weight: 600;
  line-height: 1.4;
}

.dor-card p { font-size: var(--fs-sm); color: var(--text-subtle); line-height: 1.65; }

/* ── RISCOS DE AGIR SEM ORIENTAÇÃO ──
   Informativo, nunca alarmista: descreve o que a lei e a prática impõem. */
.riscos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.risco-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold-accent);   /* barra dourada decorativa */
  border-radius: var(--radius-lg);
  padding: 26px 24px;
}

.risco-card h3 { font-size: var(--fs-md); margin-bottom: 10px; font-weight: 600; line-height: 1.4; }
.risco-card p { font-size: var(--fs-sm); color: var(--text-subtle); line-height: 1.65; }

.riscos-nota {
  margin-top: 32px;
  padding: 18px 20px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── CENÁRIOS (porta de entrada da triagem) ── */
.cenarios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 40px;
}

.cenario-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.4;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.cenario-chip:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.cenario-chip .icone {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.cenario-chip:hover .icone { background: var(--bg); }
.cenario-chip .seta { margin-left: auto; color: var(--accent); flex-shrink: 0; }

/* ── SERVIÇOS ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card::before { display: none; }
.service-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.service-icon {
  width: 42px;
  height: 42px;
  background: var(--accent-soft);
  border: none;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
  flex-shrink: 0;
}
.service-icon svg { stroke: var(--accent); opacity: 1; width: 21px; height: 21px; }
.service-card:hover .service-icon svg { stroke: var(--accent); }

.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; letter-spacing: -0.02em; }
.service-card p {
  font-size: var(--fs-sm);
  color: var(--text-subtle);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-link {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
  margin-top: auto;
}
.service-link:hover { gap: 10px; }

/* ── COMO TRABALHAMOS (#porque) — agora claro ── */
#porque { background: var(--bg-alt); border-block: 1px solid var(--border); color: var(--text-muted); }
#porque .section-title { color: var(--text); }
#porque .section-sub { color: var(--text-subtle); }

.porque-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.porque-features { display: flex; flex-direction: column; gap: 28px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; }

.feature-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.feature-icon svg { stroke: var(--accent); }

.feature-item h4 { color: var(--text); font-size: var(--fs-md); margin-bottom: 5px; font-weight: 600; }
.feature-item p { font-size: var(--fs-sm); color: var(--text-subtle); line-height: 1.65; }

.porque-visual { position: relative; }

.porque-card-main {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.porque-card-main .num { font-size: 3rem; font-weight: 700; color: var(--accent); letter-spacing: -0.04em; }
.porque-card-main p { font-size: var(--fs-sm); color: var(--text-subtle); margin-top: 10px; }

/* Selo flutuante da v1 aposentado: encostava no card e sujava o layout */
.porque-card-secondary { display: none; }

/* ── COMO FUNCIONA ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.steps-grid::before { display: none; }

.step-item {
  text-align: left;
  padding: 28px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.step-number {
  width: 32px;
  height: 32px;
  background: var(--accent-soft);
  border: none;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 18px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--accent);
}

.step-item h4 { font-size: var(--fs-md); font-weight: 600; margin-bottom: 8px; }
.step-item p { font-size: var(--fs-sm); color: var(--text-subtle); line-height: 1.65; }

/* ── QUEM ATENDE ── */
#advogado { background: var(--bg-alt); border-block: 1px solid var(--border); }

.advogado-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 56px;
}

.advogado-foto {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-sunk);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 5;
}
.advogado-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }

.advogado-foto-vazia {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 100%;
  color: var(--text-muted);
  text-align: center;
  padding: 24px;
  font-size: var(--fs-xs);
}

.advogado-nome { font-size: 2rem; font-weight: 600; color: var(--text); letter-spacing: -0.03em; margin-bottom: 6px; }

.advogado-oab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 22px;
}

.advogado-bio p { font-size: var(--fs-md); color: var(--text-muted); margin-bottom: 16px; line-height: 1.7; }

.advogado-provas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.prova-item { display: flex; gap: 11px; align-items: flex-start; }
.prova-item svg { color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.prova-item strong { display: block; font-size: var(--fs-sm); color: var(--text); margin-bottom: 2px; }
.prova-item span { font-size: var(--fs-xs); color: var(--text-subtle); line-height: 1.55; }

.prova-link { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ── BREADCRUMB ── */
.breadcrumb { font-size: var(--fs-xs); color: var(--text-subtle); padding: 28px 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li::after { content: '/'; margin-left: 8px; color: var(--border-strong); }
.breadcrumb li:last-child::after { content: ''; }
.breadcrumb a { color: var(--text-subtle); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--text); font-weight: 600; }

/* ── CURITIBA / LOCAL ── */
.local-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-top: 48px; }

.local-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.local-card h3 { font-size: 1.2rem; margin-bottom: 16px; }

.local-endereco {
  font-size: var(--fs-md);
  color: var(--text-muted);
  font-style: normal;
  line-height: 1.75;
  margin-bottom: 20px;
}
.local-endereco strong { color: var(--text); }

.local-nota {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 14px 16px;
  line-height: 1.6;
}

.bairros-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; list-style: none; }
.bairros-list li {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 5px 13px;
}

/* ── COMPROMISSOS + FAQ ── */
.beneficios-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; margin-top: 56px; }

.beneficio-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; }
.beneficio-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--accent-soft);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-top: 3px;
}
.beneficio-check svg { stroke: var(--accent); width: 12px; height: 12px; }
.beneficio-item strong { display: block; font-size: var(--fs-md); color: var(--text); margin-bottom: 3px; }
.beneficio-item span { font-size: var(--fs-sm); color: var(--text-subtle); line-height: 1.6; }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  font-size: var(--fs-md);
  gap: 16px;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  line-height: 1.5;
  letter-spacing: -0.015em;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--accent); }

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--text-subtle);
  transition: transform var(--transition), border-color var(--transition), color var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); border-color: var(--accent); color: var(--accent); }

.faq-answer {
  font-size: var(--fs-sm);
  color: var(--text-subtle);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s;
  padding: 0;
}
/* 1200px cobre a resposta mais longa mesmo em tela de 360px de largura */
.faq-item.open .faq-answer { max-height: 1200px; padding-bottom: 22px; }

/* ── BLOG ── */
#blog { background: var(--bg-alt); border-top: 1px solid var(--border); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }

.blog-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.blog-card:hover h3 { color: var(--accent); }
.blog-card h3 { transition: color var(--transition); }

.blog-img {
  height: 150px;
  background: var(--accent-soft);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.blog-img::before, .blog-img::after { display: none; }
.blog-img svg { width: 40px; height: 40px; color: var(--accent); opacity: 0.75; }

.blog-body { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }

.blog-tag {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.blog-card h3 { font-size: 1.1rem; margin-bottom: 10px; line-height: 1.35; letter-spacing: -0.02em; }
.blog-card p { font-size: var(--fs-sm); color: var(--text-subtle); margin-bottom: 16px; line-height: 1.6; flex-grow: 1; }
.blog-meta { font-size: var(--fs-xs); color: var(--text-subtle); }

/* ── CTA — o único bloco escuro da página ── */
#cta-banner { background: var(--escuro); position: relative; overflow: hidden; }
#cta-banner::before { display: none; }

.cta-inner { text-align: center; position: relative; }
.cta-inner h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); color: #fff; margin-bottom: 14px; }
.cta-inner p { color: rgba(255,255,255,0.75); font-size: var(--fs-lg); margin-bottom: 32px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Dentro do CTA escuro, o botão claro é o primário */
#cta-banner .btn-wpp { background: #fff; color: var(--blue-900); border-color: #fff; }
#cta-banner .btn-wpp:hover { background: rgba(255,255,255,0.9); border-color: rgba(255,255,255,0.9); }

/* ── CONTATO ── */
.contato-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; margin-top: 56px; }
.contato-info { display: flex; flex-direction: column; gap: 24px; }

.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-icon {
  width: 38px;
  height: 38px;
  background: var(--accent-soft);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.info-icon svg { stroke: var(--accent); }
.info-item strong { display: block; font-size: var(--fs-xs); color: var(--text-subtle); margin-bottom: 2px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.info-item span { font-size: var(--fs-md); color: var(--text); font-weight: 500; line-height: 1.5; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-full { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: var(--fs-sm); font-weight: 500; color: var(--text); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: var(--fs-base);
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--bg);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ── FOOTER — claro, para não competir com o CTA ── */
footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  color: var(--text-subtle);
  padding: 72px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
}

.footer-brand .nav-logo-main { font-size: 1.25rem; display: block; margin-bottom: 3px; color: var(--text) !important; }
.footer-brand .nav-logo-sub { display: block; margin-bottom: 18px; }
.footer-brand p { font-size: var(--fs-sm); line-height: 1.7; max-width: 300px; }

.footer-title {
  font-family: inherit;
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 18px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: var(--text-subtle);
  text-decoration: none;
  font-size: var(--fs-sm);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }
.footer-links li { color: var(--text-subtle) !important; font-size: var(--fs-sm); }

.footer-social { display: flex; gap: 8px; margin-top: 22px; }
.social-btn {
  width: 36px;
  height: 36px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-subtle);
  text-decoration: none;
  transition: var(--transition);
}
.social-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: var(--fs-xs);
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom a { color: var(--text-subtle) !important; text-decoration: none; }
.footer-bottom a:hover { color: var(--accent) !important; }

.oab-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: var(--radius);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: 500;
}

.aviso-etico {
  background: transparent;
  border: none;
  border-top: 1px solid var(--border);
  border-radius: 0;
  padding: 24px 0 0;
  font-size: var(--fs-xs);
  color: var(--text-subtle);
  line-height: 1.65;
  margin-top: 24px;
  max-width: 900px;
}

/* ── BOTÃO DE LIBRAS ──
   Injetado pelo js/main.js em todas as páginas. Público 50+ e PcD (BPC)
   inclui pessoas surdas: nenhum dos grandes sites do nicho oferece VLibras.
   Fica à ESQUERDA para não competir com o WhatsApp (direita). */
.a11y-bar {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 998;
  display: flex;
}

.a11y-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.a11y-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.a11y-btn svg { width: 20px; height: 20px; }

@media (max-width: 560px) {
  .a11y-bar { bottom: 16px; left: 16px; }
  .a11y-btn { width: 40px; height: 40px; }
}

/* ── WHATSAPP FLUTUANTE ── */
.wpp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 54px;
  height: 54px;
  background: var(--wpp);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(31, 175, 84, 0.35);
  text-decoration: none;
  transition: transform var(--transition), background var(--transition);
}
.wpp-float:hover { transform: scale(1.06); background: var(--wpp-hover); }
.wpp-float svg { width: 27px; height: 27px; fill: #fff; }

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 92px;
  right: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  z-index: 998;
  min-width: 260px;
  transform: translateX(140%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 12px;
}
.toast.show { transform: translateX(0); }
.toast-icon { font-size: 1.1rem; flex-shrink: 0; color: var(--accent); font-weight: 700; }
.toast strong { font-size: var(--fs-sm); color: var(--text); display: block; }
.toast span { font-size: var(--fs-xs); color: var(--text-subtle); }

/* ── REVEAL ──
   Só esconde se o JS confirmar que vai revelar. Sem JS, tudo aparece. */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* ══════════════════════════════════════════════════════════════════
   MELHORIAS v4.1 — profundidade, faixa de números, seção escura, textura.
   Só acréscimos visuais; não mexem em estrutura nem em copy.
══════════════════════════════════════════════════════════════════ */

/* ── 1. PROFUNDIDADE: sombra em repouso nos cards (antes era só borda) ── */
.service-card, .dor-card, .risco-card, .step-item,
.blog-card, .local-card, .porque-card-main, .hero-card {
  box-shadow: var(--shadow-sm);
}

/* Ícones com mais presença: tile maior, com anel, e inversão no hover */
.service-icon { width: 48px; height: 48px; border: 1px solid var(--accent-border); }
.service-icon svg { transition: stroke var(--transition); }
.service-card:hover .service-icon { background: var(--accent); border-color: var(--accent); }
.service-card:hover .service-icon svg { stroke: #fff; }

.feature-icon { transition: background var(--transition), border-color var(--transition); }
.feature-item:hover .feature-icon { background: var(--accent); border-color: var(--accent); }
.feature-item:hover .feature-icon svg { stroke: #fff; }

/* Hover perceptível também onde ainda não havia */
.dor-card, .risco-card, .local-card {
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.dor-card:hover, .risco-card:hover, .local-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

/* ── 2. FAIXA DE NÚMEROS (fatos verificáveis — Prov. 205: nada de "sucesso") ── */
.stats-band {
  background: var(--bg-sunk);
  border-block: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);          /* vira as linhas divisórias entre células */
}
.stat-cell {
  background: var(--bg-sunk);
  padding: 34px 24px;
  text-align: center;
}
.stat-cell .num {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-cell .cap { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.5; }

/* ── 3. SEÇÃO ESCURA no meio: "Quem vai cuidar do seu caso" ── */
#advogado {
  background-color: var(--escuro);
  border-block: none;
}
#advogado .section-title,
#advogado .advogado-nome { color: #fff; }
#advogado .section-sub { color: rgba(255,255,255,0.72); }
#advogado .badge { color: rgba(255,255,255,0.85); }
#advogado .badge::before { background: var(--gold-on-dark); }
#advogado .advogado-oab { color: var(--gold-on-dark); }
#advogado .advogado-bio p { color: rgba(255,255,255,0.82); }
#advogado .advogado-provas { border-top-color: rgba(255,255,255,0.15); }
#advogado .prova-item svg { color: var(--gold-on-dark); }
#advogado .prova-item strong { color: #fff; }
#advogado .prova-item span { color: rgba(255,255,255,0.7); }
#advogado .prova-link { color: var(--blue-300); }
#advogado .advogado-foto {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
#advogado .advogado-foto-vazia { color: rgba(255,255,255,0.5); }

/* ── 4. TEXTURA sutil nos blocos escuros + brilho suave no hero ── */
#hero {
  background:
    radial-gradient(115% 80% at 100% 0%, var(--blue-50) 0%, rgba(238,243,249,0) 46%),
    var(--bg);
}

/* Assinatura com retrato no hero (dá rosto à página sem lotar) */
.hero-signature {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}
.hero-signature img,
.hero-signature .mono {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.hero-signature .mono {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
}
.hero-signature .sig-name { font-size: var(--fs-sm); color: var(--text); font-weight: 600; }
.hero-signature .sig-oab { font-size: var(--fs-xs); color: var(--text-subtle); }
#cta-banner, #advogado {
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 22px 22px;
}
/* garante que a cor de fundo escura permaneça sob o padrão de pontos */
#cta-banner { background-color: var(--escuro); }

@media (max-width: 720px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-cell { padding: 26px 16px; }
  .stat-cell .num { font-size: 1.6rem; }
}

/* ── RESPONSIVO ── */
@media (max-width: 1100px) {
  .section { padding: 88px 0; }
  .hero-content { grid-template-columns: 1fr; gap: 48px; padding: 64px 0; }
  .hero-card { max-width: 520px; }
  .hero-sub { max-width: 640px; }
  .porque-grid { grid-template-columns: 1fr; gap: 48px; }
  .porque-visual { display: none; }
  .beneficios-cols { grid-template-columns: 1fr; gap: 48px; }
  .contato-grid { grid-template-columns: 1fr; gap: 40px; }
  .advogado-grid { grid-template-columns: 1fr; gap: 40px; }
  .advogado-foto { max-width: 320px; aspect-ratio: 1 / 1; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .local-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  html { font-size: 16.5px; }
  .section { padding: 64px 0; }
  .section-sm { padding: 52px 0; }
  .hero-content { padding: 48px 0 56px; }
  .hero-card { padding: 24px 20px; }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--bg);
    z-index: 999;
    gap: 28px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.2rem; color: var(--text); }
  .nav-toggle { display: flex; z-index: 1000; position: relative; }

  .services-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .breadcrumb { padding-top: 20px; }
  .faq-question { min-height: 56px; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .service-card { padding: 24px 20px; }
  .local-card, .porque-card-main, .step-item { padding: 24px 20px; }
  .advogado-nome { font-size: 1.7rem; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .wpp-float { bottom: 16px; right: 16px; }
  .toast { left: 16px; right: 16px; bottom: 84px; min-width: 0; }
}
