/* O funil original é SEMPRE em tema claro, não importa o tema do aparelho —
   por isso este clone força light mode e não oferece variação escura. */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --accent: #fbbf24;
  --accent-text: #ffffff;
  --card-line: #e6e9ef;
  --track: #f1f5f9;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 6px 20px rgba(15, 23, 42, 0.08);
  --radius-pill: 24px;
  --radius-card: 16px;
  --radius-img: 14px;
  --max-w: 460px;

  /* Cores extraídas via engenharia reversa do DOM/CSS real do site original
     (não são aproximações — são os hex/rgb exatos usados lá). */
  --callout-green-bg: #cafcd0; --callout-green-text: #0b6e2d; --callout-green-border: #9af3a8;
  --callout-gray-bg: #ebedef; --callout-gray-text: #585b60; --callout-gray-border: #d1d5dc;
  --callout-blue-bg: #e3eeff; --callout-blue-text: #1c72f1; --callout-blue-border: #c7dcfe;
  --mark-yellow: #facc15;
  --mark-blue: #2563eb;
  --mark-green: #16a34a;
  --grad-1: #14b8a6; --grad-2: #a5c368; --grad-3: #facc15; --grad-4: #e96827; --grad-5: #dc2626;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.progress-track {
  width: 100%;
  height: 6px;
  background: var(--track);
  position: sticky;
  top: 0;
  z-index: 10;
}
.progress-fill {
  height: 100%;
  background: var(--accent);
  transition: width .35s ease;
}

.screen {
  width: 100%;
  max-width: var(--max-w);
  padding: 20px 16px 32px;
  animation: fadeIn .25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.cover-img-wrap {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  border: 1px solid var(--card-line);
}
.cover-img-wrap img { display: block; width: 100%; }

h1, h2, h3 { line-height: 1.25; margin: 0 0 12px; }
h2.q-title { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; text-align: center; margin: 22px 0 18px; }
p.q-sub { text-align: center; color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0 0 20px; }

.pill-badge {
  display: inline-block;
  background: rgba(251,191,36,.15);
  color: #92400e;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 4px 12px;
  border-radius: 999px;
  margin: 14px auto 0;
}
.center { text-align: center; }

.btn {
  display: block;
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 20px;
  border-radius: var(--radius-pill);
  letter-spacing: -0.01em;
  transition: transform .1s ease, opacity .15s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--accent); color: var(--accent-text);
  box-shadow: 0 6px 16px rgba(251,191,36,.35);
}
.btn-primary:hover { opacity: .92; box-shadow: 0 8px 20px rgba(251,191,36,.42); }

.options { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }

.option-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1.5px solid var(--card-line);
  border-radius: var(--radius-card);
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: border-color .15s ease, background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.option-card:hover { border-color: var(--accent); background: #fffbeb; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.option-card:active { transform: translateY(0); }
.option-card .emoji { font-size: 22px; flex-shrink: 0; }
.option-card.selected { border-color: var(--accent); background: #fffbeb; }
.option-card.selected .check { margin-left: auto; color: var(--accent); font-weight: 800; }

.option-image-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1.5px solid var(--card-line);
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.option-image-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.option-image-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: top center; display: block; }
.option-image-card .label { text-align: center; font-weight: 700; padding: 10px 0 12px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.two-col img { width: 100%; display: block; border-radius: var(--radius-img); box-shadow: var(--shadow-sm); }
.four-col-img { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }

.info-block img {
  width: 100%;
  border-radius: var(--radius-img);
  margin-bottom: 16px;
  display: block;
  box-shadow: var(--shadow-sm);
}
.info-text { font-size: 15px; line-height: 1.6; margin-bottom: 14px; }

.checkbox-card {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--card-line);
  border-radius: var(--radius-card);
  padding: 12px 16px;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 500;
}
.checkbox-card.checked { border-color: var(--accent); background: #fffbeb; }
.checkbox-box {
  width: 20px; height: 20px; border-radius: 6px;
  border: 1.5px solid #cbd5e1; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--accent);
}
.checkbox-card.checked .checkbox-box { border-color: var(--accent); }

.loading-wrap { text-align: center; padding: 60px 0; }
.loading-bar-track {
  width: 100%; height: 10px; background: var(--track);
  border-radius: 999px; overflow: hidden; margin-top: 24px;
}
.loading-bar-fill { height: 100%; background: var(--accent); width: 0%; transition: width .15s linear; }
.loading-pct { margin-top: 10px; font-weight: 700; color: var(--accent); }

.result-card { border: 1.5px solid var(--card-line); border-radius: var(--radius-card); padding: 16px; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.result-head { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 8px; }
.result-bar-track { height: 10px; background: var(--track); border-radius: 999px; overflow: hidden; }
.result-bar-fill { height: 100%; background: var(--accent); }
.result-desc { font-size: 13.5px; color: var(--muted); margin-top: 8px; line-height: 1.5; }

.legend { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin: 16px 0 8px; }

.compare-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.compare-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info-heading { font-size: 16px; line-height: 1.55; text-align: center; font-weight: 400; margin: 14px 0; }
.info-heading.center { text-align: center; }
.compare-col h4 { font-size: 13px; margin-bottom: 10px; }
.compare-item { margin-bottom: 10px; font-size: 12.5px; }
.compare-item .track { height: 8px; background: var(--track); border-radius: 999px; overflow: hidden; margin-top: 4px; }
.compare-item .fill { height: 100%; }
.fill-bad { background: #ef4444; }
.fill-good { background: #22c55e; }

/* Lista de depoimentos em coluna única: os prints/fotos originais têm
   proporções muito diferentes entre si (de banners largos a capturas bem
   altas de WhatsApp) — forçar isso numa grade de colunas fica desalinhado
   e corta conteúdo. Em coluna única, com object-fit:contain, nada é cortado
   e a leitura fica organizada. */
.testi-list { display: flex; flex-direction: column; gap: 14px; margin: 16px 0; }
.testi-list figure {
  margin: 0; border-radius: var(--radius-img); overflow: hidden;
  border: 1px solid var(--card-line); box-shadow: var(--shadow-sm); background: var(--track);
}
.testi-list img { width: 100%; max-height: 420px; object-fit: contain; display: block; background: var(--track); }

form.lead-form { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
form.lead-form input {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-card);
  border: 1.5px solid var(--card-line); font-family: inherit; font-size: 15px;
}
form.lead-form input:focus { outline: none; border-color: var(--accent); }
.form-hint { font-size: 12px; color: var(--muted); margin-top: -4px; }

.thanks { text-align: center; padding: 60px 0; }
.thanks .big-emoji { font-size: 48px; }

/* ============================================================
   Página de PITCH (vendas) — pós formulário de lead
   ============================================================ */
.screen.pitch-screen { max-width: 520px; padding-bottom: 90px; }
.pitch-top-bar { height: 4px; background: var(--accent); border-radius: 2px; margin-bottom: 18px; }

.ad-compare-head { display: grid; grid-template-columns: 1fr 1fr; text-align: center; margin: 18px 0 8px; }
.ad-before { color: #ef4444; font-weight: 800; font-size: 18px; }
.ad-after { color: #22c55e; font-weight: 800; font-size: 18px; }

.pitch-note { font-size: 11.5px; color: var(--muted); font-style: italic; margin: 10px 0 16px; }

.btn-buy {
  display: block; width: 100%; border: none; cursor: pointer; font-family: inherit;
  font-size: 16px; font-weight: 700; letter-spacing: -0.01em; padding: 16px 20px;
  border-radius: var(--radius-pill); background: #16a34a; color: #fff; margin: 16px 0;
  box-shadow: 0 6px 18px rgba(22,163,74,.32); transition: transform .1s ease, background .15s ease, box-shadow .15s ease;
}
.btn-buy:hover { background: #15803d; box-shadow: 0 8px 22px rgba(22,163,74,.4); }
.btn-buy:active { transform: scale(0.98); }

.pitch-lead { text-align: center; font-weight: 700; margin: 20px 0 10px; }

.video-wrap { position: relative; width: 100%; padding-bottom: 56.25%; margin: 12px 0; border-radius: var(--radius-img); overflow: hidden; background: #000; box-shadow: var(--shadow-md); }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Depoimento em vídeo vertical (formato retrato, tipo reels) — proporção própria
   pra não esticar nem cortar o vídeo original. */
.video-wrap.portrait { padding-bottom: 177.78%; max-width: 280px; margin: 16px auto; }

.highlight-banner {
  background: linear-gradient(180deg, #fff7dd, #fff2c2); text-align: center; font-weight: 800;
  font-size: 20px; letter-spacing: -0.01em; padding: 15px; border-radius: 12px; margin: 22px 0 12px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(244,178,9,.35);
}
.info-callout { background: #eff6ff; border-radius: 12px; padding: 15px; text-align: center; font-size: 15px; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.link-like { color: #2563eb; font-weight: 700; }

.checklist { display: flex; flex-direction: column; gap: 9px; margin: 14px 0; }
.checklist-item { border-radius: 12px; padding: 13px 15px; font-size: 13.5px; line-height: 1.55; box-shadow: var(--shadow-sm); }
.checklist-item.good { background: #dcfce7; color: #14532d; }
.checklist-item.bad { background: #fee2e2; color: #7f1d1d; }
.checklist-item strong { text-decoration: underline; text-underline-offset: 2px; }

.section-title {
  font-size: 18px; font-weight: 800; text-align: center; color: #15803d;
  letter-spacing: -0.01em; margin: 28px 0 16px; line-height: 1.3;
}

.progress-chart { margin: 12px 0 20px; }
.chart-svg { width: 100%; height: auto; }
.chart-labels { display: flex; justify-content: space-between; font-size: 10px; text-align: center; color: var(--muted); margin-top: 6px; }
.chart-labels span { flex: 1; }

.coupon-msg { text-align: center; font-size: 13.5px; margin: 10px 0; }
.countdown { font-weight: 800; color: #dc2626; }

.offer-card { border: 2px solid #f4b209; border-radius: 14px; overflow: hidden; margin-top: 6px; box-shadow: var(--shadow-md); background: #fff; }
.offer-ribbon { background: #f4b209; color: #1f2937; text-align: center; font-weight: 800; font-size: 13px; padding: 6px; }
.offer-body { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; }
.offer-name { font-weight: 800; font-size: 15px; max-width: 60%; }
.offer-price { text-align: right; font-size: 22px; font-weight: 800; color: #16a34a; }
.offer-from { display: block; font-size: 11px; font-weight: 400; color: var(--muted); text-decoration: line-through; }
.offer-date { background: #dcfce7; border-radius: 8px; padding: 10px; text-align: center; font-weight: 700; font-size: 13px; margin-top: 8px; }
.offer-stars { text-align: center; font-size: 12.5px; margin: 8px 0; color: var(--muted); }

.scarcity-banner {
  background: linear-gradient(90deg, #16a34a, #22c55e); color: #fff; font-weight: 800;
  text-align: center; padding: 12px; border-radius: 10px; margin: 12px 0; font-size: 15px;
}
.payment-icons { text-align: center; font-size: 12px; color: var(--muted); margin: 10px 0; }

.stats-rings { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0; }
.stat-block { text-align: center; font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.stat-block strong { color: var(--text); }
.stat-ring { width: 84px; height: 84px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; box-shadow: var(--shadow-sm); }
.stat-ring-inner { width: 66px; height: 66px; border-radius: 50%; background: var(--bg); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; color: #15803d; }

.pitch-footer { text-align: center; font-size: 11.5px; color: var(--muted); margin-top: 30px; line-height: 1.7; }
.pitch-footer a { color: var(--muted); }

.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 -6px 20px rgba(15,23,42,.10); z-index: 20;
}
.sticky-cta .btn-buy { margin: 0; }

/* ============================================================
   Componentes "originais" — extraídos via engenharia reversa do
   DOM/CSS real do quiz (cores, cards e barras EXATAS, não aproximadas)
   ============================================================ */

/* Cards de destaque (callout) — 3 variações de cor, mesma estrutura */
.callout { border-radius: 24px; padding: 16px; border: 1px solid; margin: 12px 0; }
.callout p { margin: 0 0 8px; }
.callout p:last-child { margin-bottom: 0; }
.callout-green { background: var(--callout-green-bg); color: var(--callout-green-text); border-color: var(--callout-green-border); }
.callout-gray { background: var(--callout-gray-bg); color: var(--callout-gray-text); border-color: var(--callout-gray-border); }
.callout-blue { background: var(--callout-blue-bg); color: var(--callout-blue-text); border-color: var(--callout-blue-border); }
.callout h2, .callout h3 { text-align: center; margin: 0 0 8px; font-size: 17px; }

/* Card com apenas borda (sem preenchimento) — usado nos blocos de citação
   científica com marcador colorido de fundo */
.card-outline { border: 1px solid var(--card-line); border-radius: 24px; padding: 16px; margin: 12px 0; }
.card-outline h3 { text-align: center; font-size: 16px; line-height: 1.5; margin: 0; }

/* Marcadores de destaque (highlighter) nas frases de impacto */
mark.hl-yellow { background: var(--mark-yellow); color: inherit; padding: 0 2px; border-radius: 2px; }
mark.hl-blue { background: var(--mark-blue); color: #fff; padding: 0 2px; border-radius: 2px; }
mark.hl-green { background: var(--mark-green); color: #fff; padding: 0 2px; border-radius: 2px; }
.text-green { color: var(--mark-green); }
.info-text u { text-decoration-thickness: 1.5px; text-underline-offset: 2px; }

/* Citação/fonte científica: imagem (logo) + card verde lado a lado */
.citation-row { display: flex; gap: 10px; align-items: stretch; margin: 12px 0; }
.citation-row .citation-img { flex: 0 0 27%; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-sm); }
.citation-row .citation-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.citation-row .callout { flex: 1; margin: 0; display: flex; flex-direction: column; justify-content: center; font-size: 13px; }
.citation-row .callout em { font-style: italic; }

/* Barra de gradiente (5 paradas) com "thumb" circular — usada no Resultado */
.grad-bar-wrap { margin: 10px 0 14px; }
.grad-bar-head { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 14.5px; margin-bottom: 8px; }
.grad-bar-track { position: relative; height: 10px; border-radius: 999px; overflow: visible; background: var(--track);
  background-image: linear-gradient(to right, var(--grad-1), var(--grad-2) 25%, var(--grad-3) 50%, var(--grad-4) 75%, var(--grad-5)); }
.grad-bar-thumb {
  position: absolute; top: 50%; width: 20px; height: 20px; background: #fff; border: 4px solid var(--accent);
  border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 1px 4px rgba(0,0,0,.25);
}
.grad-bar-summary-wrap { margin: 18px 0 6px; }
.grad-bar-tooltip {
  position: absolute; bottom: 100%; transform: translate(-50%, -6px); background: #1f2937; color: #fff;
  font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 8px; white-space: nowrap;
}
.grad-bar-tooltip::after {
  content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: #1f2937;
}
.grad-bar-legend { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; color: var(--muted); margin-top: 10px; }

/* Barras simples (compare) — sólidas, com thumb cinza */
.simple-bar-track { position: relative; height: 8px; border-radius: 999px; background: var(--track); overflow: visible; }
.simple-bar-fill { height: 100%; border-radius: 999px; }
.simple-bar-fill.red { background: #ef4444; }
.simple-bar-fill.green { background: #22c55e; }
.simple-bar-thumb {
  position: absolute; top: 50%; width: 16px; height: 16px; background: #fff; border: 3px solid #ccc;
  border-radius: 50%; transform: translate(-50%, -50%);
}

/* Anel circular dentro de card com borda — usado nas provas sociais */
.ring-card { border: 1px solid var(--card-line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ring-card p { margin: 0; font-size: 12.5px; text-align: center; line-height: 1.4; font-weight: 700; }

/* Carrossel horizontal (estilo swiper) para depoimentos — crop quadrado,
   scroll-snap nativo (sem necessidade de biblioteca JS) */
.swipe-row {
  display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; padding: 4px 2px 10px; margin: 12px -2px 0;
  -ms-overflow-style: none; scrollbar-width: none;
  mask-image: linear-gradient(90deg, transparent, black 3%, black 97%, transparent);
}
.swipe-row::-webkit-scrollbar { display: none; }
.swipe-row figure {
  flex: 0 0 42%; scroll-snap-align: start; margin: 0; aspect-ratio: 1 / 1; border-radius: 12px;
  overflow: hidden; border: 1px solid var(--card-line); box-shadow: var(--shadow-sm);
}
.swipe-row img { width: 100%; height: 100%; object-fit: cover; display: block; }
.swipe-dots { display: flex; justify-content: center; gap: 5px; margin: -4px 0 10px; }
.swipe-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--card-line); }
.swipe-dots span:first-child { background: var(--muted); width: 16px; border-radius: 3px; }
