:root {
  --green: #16a34a;
  --green-dark: #15803d;
  --green-soft: #dcfce7;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #ffffff;
  --card: #ffffff;
  --red: #dc2626;
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--text); }
body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.4;
}
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

#app {
  max-width: 480px;
  margin: 0 auto;
  padding: 16px 16px 48px;
  min-height: 100vh;
}

/* ---------- Header ---------- */
.header { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 20px; }
.back {
  position: absolute; left: 0; top: 4px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; color: var(--text);
}
.back:hover { background: #f3f4f6; }
.logo { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--green-dark); text-align: center; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--green-dark);
  display: grid; place-items: center; font-weight: 900; font-size: 15px;
}
.logo-img { height: 56px; width: auto; max-width: 100%; display: block; object-fit: contain; }
.logo-text { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 700; font-size: 15px; line-height: 1.05; }
.progress { width: 100%; height: 6px; background: #e8f5ec; border-radius: 99px; overflow: hidden; }
.progress > div { height: 100%; background: var(--green); border-radius: 99px; transition: width .4s ease; }

/* ---------- Step ---------- */
.step { animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.title { font-size: 22px; font-weight: 800; text-align: center; line-height: 1.25; margin-bottom: 8px; }
.subtitle { font-size: 15px; color: var(--muted); text-align: center; margin-bottom: 18px; }
.subtitle.strong { color: var(--text); font-weight: 700; font-size: 17px; }
.hl { color: var(--green); }
.tag-urgent { background: #000; color: #fff; padding: 0 4px; }
.u { text-decoration: underline; }

/* ---------- Options ---------- */
.options { display: flex; flex-direction: column; gap: 10px; }
.option {
  width: 100%; text-align: left; background: var(--card); border: 1.5px solid var(--border);
  border-radius: 12px; padding: 14px 16px; font-size: 15px; font-weight: 500;
  display: flex; align-items: center; gap: 12px; transition: border-color .15s, background .15s, transform .1s;
}
.option:hover { border-color: #9ca3af; }
.option:active { transform: scale(.99); }
.option.selected { border-color: var(--green); background: var(--green-soft); }
.option .emoji { font-size: 22px; line-height: 1; }
.option .check {
  margin-left: auto; width: 20px; height: 20px; border: 1.5px solid #cbd5e1; border-radius: 6px; flex: none;
  display: grid; place-items: center; font-size: 13px; color: #fff;
}
.option.selected .check { background: var(--green); border-color: var(--green); }
.option.green { background: var(--green); border-color: var(--green); color: #fff; font-weight: 700; justify-content: center; text-align: center; }
.option.green:hover { background: var(--green-dark); border-color: var(--green-dark); }
.option.green.selected { background: var(--green-dark); border-color: var(--green-dark); }
.option.green .check { border-color: #fff; }
.option.green.selected .check { background: #fff; border-color: #fff; color: var(--green-dark); }
/* múltipla escolha */
.option.multi-opt { background: var(--green-soft); border: 4px solid #86d0a0; border-radius: 20px; padding: 18px 16px; color: #000; font-weight: 700; font-size: 16px; }
.option.multi-opt:hover { border-color: var(--green); }
.option.multi-opt .check { margin-left: 0; width: 32px; height: 32px; background: #fff; border: 1.5px solid var(--green); border-radius: 8px; color: transparent; font-size: 18px; font-weight: 800; }
.option.multi-opt.selected { border-color: var(--green); }
.option.multi-opt.selected .check { background: var(--green); border-color: var(--green); color: #fff; }
.option.stacked { flex-direction: column; text-align: center; gap: 6px; padding: 18px 16px; }

/* image cards (gênero) */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card-opt { border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; text-align: left; background: #fff; transition: border-color .15s; }
.card-opt:hover { border-color: var(--green); }
.card-opt .ph { aspect-ratio: 1 / 1.05; }
.card-opt .lbl { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 12px; font-size: 16px; font-weight: 700; background: var(--green); color: #fff; transition: background .15s; }
.card-opt:hover .lbl { background: var(--green-dark); }
.card-opt .arrow { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); display: grid; place-items: center; font-size: 12px; }

/* placeholders de imagem */
.ph {
  width: 100%; background: linear-gradient(135deg, #ecfdf5, #f0f9ff); display: grid; place-items: center;
  color: #64748b; font-size: 12px; text-align: center; border-radius: inherit; overflow: hidden;
}
.ph .ph-emoji { font-size: 64px; line-height: 1; }
.ph img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Botões ---------- */
.btn {
  display: block; width: 100%; background: var(--green); color: #fff; font-weight: 700; font-size: 16px;
  padding: 16px; border-radius: var(--radius); text-align: center; margin-top: 18px; text-decoration: none;
  transition: background .15s, transform .1s;
}
.btn:hover { background: var(--green-dark); }
.btn:active { transform: scale(.99); }
.btn:disabled { background: #a7d7b8; cursor: not-allowed; }
.btn.pulse { animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(22,163,74,.45); } 50% { box-shadow: 0 0 0 10px rgba(22,163,74,0); } }

/* ---------- Landing ---------- */
.landing h1 { font-size: 21px; font-weight: 900; text-align: center; line-height: 1.25; text-transform: uppercase; margin: 10px 0 12px; }
.landing p { text-align: center; color: #374151; font-size: 14px; margin-bottom: 16px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; border: 3px solid var(--green); border-radius: 14px; overflow: hidden; margin-bottom: 8px; }
.grid2 .ph { aspect-ratio: 1 / 1; border-radius: 0; }

/* ---------- Info / fato ---------- */
.fact { border: 1.5px solid var(--border); border-radius: var(--radius); padding: 16px; background: #f9fafb; margin: 14px 0; }
.fact .src { font-size: 12px; color: var(--muted); margin-top: 8px; }
.alert-title { font-size: 20px; font-weight: 900; text-align: center; margin-bottom: 4px; }

/* ---------- Áudio ---------- */
/* player de áudio estilo WhatsApp */
.wa-bg { background-color: #ece5dd; background-image: radial-gradient(rgba(255,255,255,.55) 1.5px, transparent 1.6px); background-size: 22px 22px; border-radius: 18px; padding: 18px 14px; margin: 12px 0; }
.audio { position: relative; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 0 14px 14px 14px; padding: 10px 12px 8px 12px; box-shadow: 0 1px 1px rgba(0,0,0,.15); }
.audio::before { content: ""; position: absolute; left: -8px; top: 0; border-style: solid; border-width: 0 9px 9px 0; border-color: transparent #fff transparent transparent; }
.audio .play { width: 34px; height: 34px; color: #9b8b8b; display: grid; place-items: center; flex: none; }
.wa-main { flex: 1; min-width: 0; }
.wave { position: relative; display: flex; align-items: center; justify-content: space-between; height: 32px; }
.wave i { display: block; width: 4px; border-radius: 3px; background: #8a8a8a; flex: none; }
.wave i.on { background: #4fc3f7; }
.wave .dot { position: absolute; top: 50%; left: calc(var(--p, 0) * 1%); width: 16px; height: 16px; border-radius: 50%; background: #4fc3f7; transform: translate(-50%, -50%); pointer-events: none; }
.audio input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.audio .time { display: block; font-size: 13px; color: #8a8a8a; margin-top: 2px; }
.wa-pic { position: relative; width: 56px; height: 56px; flex: none; }
.wa-pic img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #e5e7eb; }
.wa-pic .mic { position: absolute; left: -12px; bottom: -4px; }
.hint { font-size: 12px; color: var(--muted); text-align: center; }

/* ---------- Depoimentos ---------- */
.section-label { font-weight: 800; text-align: center; margin: 18px 0 10px; }
.testi { border: 1.5px solid var(--border); border-radius: var(--radius); padding: 14px; margin-bottom: 10px; background: #fff; }
.testi .who { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.testi .pic { width: 40px; height: 40px; border-radius: 50%; background: #e5e7eb; display: grid; place-items: center; font-weight: 700; color: #6b7280; overflow: hidden; flex: none; }
/* diagnóstico (barras animadas) */
.bars { display: flex; flex-direction: column; gap: 18px; margin: 8px 12px 20px 0; }
.bar-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.bar-val { font-variant-numeric: tabular-nums; flex: none; }
.bar-track { position: relative; height: 8px; background: #ddd; border-radius: 99px; }
.bar-fill { height: 100%; width: 0; border-radius: 99px; }
.bar.bad .bar-fill { background: #ef4444; }
.bar.good .bar-fill { background: #22c55e; }
.bar-thumb { position: absolute; top: 50%; left: 0; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid #cfcfcf; transform: translate(-50%, -50%); }
.agent { text-align: center; font-weight: 700; font-size: 16px; margin-bottom: 16px; }
.agent b { display: block; font-size: 22px; font-style: italic; color: var(--red); margin-top: 4px; }
.diag-alert { border: 2px solid #f59e0b; background: #fffbeb; border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; text-align: center; }
.diag-alert .at { font-size: 20px; font-weight: 900; margin-bottom: 6px; }
.diag-alert p { font-weight: 600; line-height: 1.45; }
.video { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; margin: 12px 0 16px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.testi .pic img { width: 100%; height: 100%; object-fit: cover; }
.testi .name { font-weight: 700; font-size: 14px; }
.testi .city { font-size: 12px; color: var(--muted); }
.testi .stars { color: #f59e0b; font-size: 13px; margin-left: auto; }
.testi p { font-size: 14px; color: #374151; }
.placeholder-note { font-size: 11px; color: var(--red); margin-top: 6px; }

/* ---------- Loading ---------- */
.loading { text-align: center; padding-top: 30px; }
.ring { width: 140px; height: 140px; margin: 24px auto; position: relative; }
.ring svg { transform: rotate(-90deg); }
.ring .pct { position: absolute; inset: 0; display: grid; place-items: center; font-size: 28px; font-weight: 800; }
.load-steps { text-align: left; display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.load-steps div { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.load-steps div.done { color: var(--text); }
.load-steps .dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #d1d5db; display: grid; place-items: center; font-size: 11px; color: #fff; flex: none; }
.load-steps div.done .dot { background: var(--green); border-color: var(--green); }

/* ---------- Página de vendas ---------- */
.sales .badge { text-align: center; font-size: 14px; margin-bottom: 14px; }
.hero-box { background: var(--green); border-radius: 18px; padding: 22px 16px; text-align: center; color: #fff; margin-bottom: 18px; }
.hero-box .l1 { font-size: 26px; font-weight: 900; }
.hero-box .l2 { display: inline-block; background: #64748b; padding: 2px 10px; border-radius: 6px; font-size: 22px; font-weight: 800; margin-top: 6px; }
.sales h2 { font-size: 21px; font-weight: 900; text-align: center; line-height: 1.25; margin-bottom: 10px; }
.sales .lead { font-size: 14px; color: var(--muted); text-align: center; margin-bottom: 8px; }
.sales .lead.b { color: var(--text); font-weight: 700; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.ba .col { text-align: center; }
.ba .ph { aspect-ratio: 3 / 4; border-radius: 12px; }
.ba .cap { font-weight: 800; margin: 6px 0 2px; }
.ba .cap.red { color: var(--red); } .ba .cap.green { color: var(--green); }
.ba .desc { font-size: 12px; color: var(--muted); }
.attention { border: 2px dashed var(--green); border-radius: var(--radius); padding: 16px; margin: 16px 0; }
.attention h3 { color: var(--red); text-align: center; margin-bottom: 8px; }
.attention p { font-size: 14px; margin-bottom: 8px; }
.stack { border: 1.5px solid var(--border); border-radius: var(--radius); padding: 16px; margin: 16px 0; }
.stack li { list-style: none; font-size: 14px; padding: 6px 0; border-bottom: 1px dashed var(--border); display: flex; justify-content: space-between; gap: 10px; }
.stack li:last-child { border-bottom: 0; }
.stack .total { text-align: center; margin-top: 12px; color: var(--muted); }
.stack .total s { color: var(--red); }
.stack .por { text-align: center; font-size: 14px; margin-top: 4px; }
.stack .price { text-align: center; font-size: 40px; font-weight: 900; color: var(--green); }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; font-size: 12px; text-align: center; }
.perks div { background: #f9fafb; border-radius: 10px; padding: 10px; }
.perks b { display: block; font-size: 13px; }
.benefits li { list-style: none; padding: 8px 0 8px 28px; position: relative; font-size: 14px; }
.benefits li::before { content: "✓"; position: absolute; left: 0; top: 7px; width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.guarantee { text-align: center; border: 2px solid var(--green); border-radius: var(--radius); padding: 18px; margin: 18px 0; }
.guarantee .big { font-size: 26px; font-weight: 900; color: var(--green); }
.guarantee .inst { font-size: 22px; font-weight: 900; }
.bonus { background: #f0fdf4; border-radius: var(--radius); padding: 16px; margin: 16px 0; }
.bonus .tag { display: inline-block; background: var(--green); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 6px; margin-bottom: 8px; }
.bonus p { font-size: 14px; margin-bottom: 6px; }
.closing { text-align: center; font-size: 15px; margin: 18px 0 6px; }
.closing p { margin-bottom: 10px; }
.disclaimer { font-size: 11px; color: var(--muted); text-align: center; margin-top: 26px; line-height: 1.5; }
