/* Estilos compartilhados das LPs (extraídos do index.php). Paleta e componentes comuns a todas as páginas públicas. */
html { scroll-behavior: smooth; }
/* Vinho em degradê radial: centro mais claro, bordas profundas */
/* Linhas finas de velocidade (decorativas) */
:root { --lines:
  linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent) 72% 7% / 34% 1px no-repeat,
  linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent) 0% 5% / 24% 1px no-repeat,
  linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent) 58% 93% / 40% 1px no-repeat,
  linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent) 0% 95% / 30% 1px no-repeat,
  linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent) 86% 97% / 24% 1px no-repeat; }
/* Vermelho vivo no canto superior direito, escurecendo até um grená profundo */
.hero-bg { background: var(--lines), linear-gradient(to bottom left, #f0261c 0%, #c4140e 28%, #860a06 58%, #3c0000 100%); }
/* Hero com foto: overlay uniforme no mobile (legibilidade) e lateral no desktop */
/* A foto vira textura: desfocada e dessaturada, para o título e o card ficarem em primeiro plano */
.hero-photo { position: relative; overflow: hidden; overflow: clip; isolation: isolate; clip-path: inset(0); }
.hero-photo::before { content: ''; position: absolute; inset: 0; background: center / cover no-repeat; /* a imagem vem de um <style> inline em cada página */ filter: blur(4px) saturate(.6); transform: scale(1.04); }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: var(--lines), linear-gradient(to bottom left, rgba(240,38,28,.90) 0%, rgba(160,12,8,.93) 45%, rgba(58,0,0,.96) 100%); }
.hero-photo > * { position: relative; z-index: 1; }
/* CTA primário: verde com seta em círculo branco (alto contraste sobre o vermelho) */
.btn-go { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; background: #12872b; color: #fff; transition: background .15s, transform .15s; }
.btn-go::after { content: '↗'; display: inline-flex; align-items: center; justify-content: center; width: 1.7rem; height: 1.7rem; border-radius: 9999px; background: #fff; color: #12872b; font-weight: 800; font-size: .95rem; line-height: 1; flex: none; }
.btn-go:hover { background: #0e7524; transform: translateY(-1px); }
.btn-go:disabled { opacity: .5; transform: none; }
/* Dourado metálico */
.bg-dourado { background-image: linear-gradient(135deg, #f4dc8a 0%, #d4af37 42%, #a47f1f 68%, #e9c96a 100%); }
.text-dourado { color: #f5c542; }
/* Destaque de títulos: ouro metálico vibrante (claro → ouro → âmbar → claro) */
.gold-text { background-image: linear-gradient(100deg, #ffe58f 0%, #f7c948 35%, #e5a823 65%, #ffd966 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.gold-ring { border: 3px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #f4dc8a, #d4af37 40%, #9a7419 70%, #ecd078) border-box; }
.opt { transition: all .15s; }
.opt[aria-pressed="true"] { border-color: #D4AF37; background: rgba(212,175,55,.15); }
/* Acordeão da seção "dor": abre/fecha com altura animada */
.pain-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.pain-panel > div { overflow: hidden; }
.pain-panel.open { grid-template-rows: 1fr; }
.pain-btn[aria-expanded="true"] .pain-plus { transform: rotate(45deg); background: #9C0F0B; color: #f5c542; border-color: #9C0F0B; }
.pain-btn[aria-expanded="true"] > span:first-child { color: #9C0F0B; }
/* Abas da seção "3 perguntas" */
.tab-btn { background: #fff; }
.tab-btn:hover { border-color: #9C0F0B; }
.tab-btn[aria-selected="true"] { background: #9C0F0B; border-color: #9C0F0B; color: #fff; box-shadow: 0 10px 30px -12px rgba(156,15,11,.55); }
.tab-btn[aria-selected="true"] .tab-n { background: #f5c542; color: #1F1F1F; }
.tab-panel:not([hidden]) { animation: tabIn .35s ease; }
@keyframes tabIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tab-panel:not([hidden]) { animation: none; } }
/* Indicação de interação no diagnóstico: botões pulsam até o primeiro toque */
.quiz-hint svg { animation: bob 1.1s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(232,32,26,.38); } 70%, 100% { box-shadow: 0 0 0 10px rgba(232,32,26,0); } }
.opt:hover { border-color: #E8201A; transform: translateY(-2px); }
@media (prefers-reduced-motion: no-preference) {
  #leadForm:not(.touched) [data-step="1"] .opt { animation: ring 2s ease-out infinite; }
  #leadForm:not(.touched) [data-step="1"] .opt:nth-child(2) { animation-delay: .25s; }
  #leadForm:not(.touched) [data-step="1"] .opt:nth-child(3) { animation-delay: .5s; }
  #leadForm:not(.touched) [data-step="1"] .opt:nth-child(4) { animation-delay: .75s; }
}
#leadForm.touched .quiz-hint { display: none; }
.reveal { opacity: 0; transform: translateY(16px); transition: all .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
