:root {
  --bg: #f6f1ef;
  --text: #2b2320;
  --green: #0e9a54;
  --green-dark: #0a7a43;
  --coral: #ff6f61;
  --card: #fff;
  --line: #e4d9d4;
  --muted: #7a6c66;
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--text);
  font: 400 16px/1.5 'Poppins', system-ui, sans-serif;
  min-height: 100vh; overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3 { font-family: 'Baloo 2', 'Poppins', sans-serif; font-weight: 800; line-height: 1.15; }
img { max-width: 100%; display: block; }

.top { position: sticky; top: 0; z-index: 5; background: var(--bg); padding: 12px 20px 8px; text-align: center; }
.bar { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.bar-fill { height: 100%; width: 0; background: var(--green); border-radius: 99px; transition: width .4s ease; }
.logo { margin: 10px auto 0; height: 32px; width: auto; }

main { max-width: 480px; margin: 0 auto; padding: 8px 20px 40px; }
.screen { animation: in .35s ease both; }
.screen.out { animation: out .2s ease both; }
@keyframes in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes out { to { opacity: 0; transform: translateX(-24px); } }
@media (prefers-reduced-motion: reduce) { .screen, .screen.out { animation: none; } .bar-fill { transition: none; } }

.title { font-size: 28px; text-align: center; margin: 4px 0 20px; }
.sub { text-align: center; color: var(--muted); margin-bottom: 20px; }

/* Abertura */
.intro-logo { height: 32px; width: auto; margin: 14px auto 0; }
.hero { border-radius: 20px; overflow: hidden; background: #ecdfd9; aspect-ratio: 16 / 9; margin-top: 10px; }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.badge { display: block; width: fit-content; margin: 14px auto 0; background: var(--coral); color: #fff; font-weight: 600; font-size: 12px; letter-spacing: .04em; padding: 6px 14px; border-radius: 99px; text-align: center; }
.intro .title { margin: 12px 0 10px; font-size: 26px; }
.intro .sub { margin-bottom: 16px; font-size: 15px; }
.meta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.meta-row span { display: inline-flex; align-items: center; gap: 5px; }
/* Mobile: mais respiro na abertura, só em telas altas o bastante para continuar sem rolagem */
@media (max-width: 600px) and (min-height: 640px) {
  .intro .hero { margin-top: 13px; }
  .intro .title { margin: 17px 0 12px; }
  .intro .sub { margin-bottom: 21px; }
  .intro .meta-row { margin-top: 16px; }
  .intro .avatars { margin-top: 22px; }
  .intro .rating { margin-top: 16px; }
  .intro .foot { margin-top: 15px; }
}
.foot { text-align: center; font-size: 13px; color: var(--muted); margin-top: 12px; }
.kicker { text-align: center; font-family: 'Baloo 2', sans-serif; font-weight: 800; color: var(--coral); font-size: 22px; margin-top: 4px; }
.kicker + .title { margin-top: 4px; }

/* Botões */
.btn { display: block; width: 100%; min-height: 56px; border: 0; border-radius: 16px; background: var(--green); color: #fff; font: 600 17px 'Poppins', sans-serif; padding: 14px 20px; cursor: pointer; box-shadow: 0 5px 0 var(--green-dark); transition: transform .1s, box-shadow .1s; }
.intro .btn { background: var(--coral); box-shadow: 0 5px 0 #e0574a; }
.intro .btn:active { box-shadow: 0 1px 0 #e0574a; }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--green-dark); }
.btn:focus-visible, .opt:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

.opts { display: grid; gap: 12px; }
.opt { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 60px; padding: 12px 16px; text-align: left; background: var(--card); color: var(--text); border: 2px solid var(--line); border-bottom-width: 5px; border-radius: 16px; font: 500 16px/1.3 'Poppins', sans-serif; cursor: pointer; transition: transform .1s, border-color .15s, background .15s; }
.opt:active { transform: translateY(3px); border-bottom-width: 2px; margin-bottom: 3px; }
.opt .ic { font-size: 26px; width: 34px; text-align: center; flex: none; }
.opt.sel { border-color: var(--green); background: #e7f6ee; }
.opt.sel::after { content: '✓'; margin-left: auto; color: var(--green); font-weight: 700; font-size: 20px; }
.opts.two { grid-template-columns: 1fr 1fr; }
.opts.two .opt { justify-content: center; }
.opts.two .opt.sel::after { margin-left: 0; }

/* Reforço */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.card { background: #fde6e0; border-radius: 20px; padding: 16px 12px; text-align: center; font-size: 14px; font-weight: 500; line-height: 1.35; }
.card .ic { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 50%; background: #fff; font-size: 28px; }
.ask { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 22px; text-align: center; margin-bottom: 12px; }

/* Passos e garantia */
.step, .gi { display: flex; align-items: center; gap: 14px; background: var(--card); border-radius: 16px; padding: 12px; margin-bottom: 12px; box-shadow: 0 3px 0 var(--line); }
.step { align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: none; }
.step .n { width: 38px; height: 38px; flex: none; border-radius: 50%; background: #e5484d; color: #fff; font-weight: 800; display: grid; place-items: center; }
.step b { display: block; margin-bottom: 2px; }
.step p { font-size: 14px; color: var(--muted); }
.gi .ic { font-size: 30px; flex: none; }
.gi strong { display: block; }
.gi span { font-size: 14px; color: var(--muted); }
.next { margin-top: 20px; }

/* Processando */
.proc { text-align: center; padding-top: 60px; }
.spin { width: 64px; height: 64px; margin: 0 auto 24px; border: 6px solid var(--line); border-top-color: var(--green); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Resultado */
.profile { text-align: center; color: var(--coral); font-family: 'Baloo 2'; font-weight: 800; font-size: 20px; margin-top: 16px; }
.ptext { text-align: center; margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 22px; }
.chip { background: #fff; border: 2px solid var(--line); border-radius: 99px; padding: 6px 14px; font-size: 14px; font-weight: 500; }
.offer { background: var(--card); border: 2px solid var(--green); border-radius: 20px; padding: 20px; text-align: center; margin-bottom: 18px; }
.offer img { margin: 0 auto 10px; max-height: 160px; object-fit: contain; }
.offer h3 { font-size: 26px; }
.price { font-family: 'Baloo 2'; font-weight: 800; font-size: 40px; color: var(--green); line-height: 1.1; }
.offer ul { list-style: none; padding: 0; margin-top: 10px; font-weight: 500; }
.offer li::before { content: '✓ '; color: var(--green); font-weight: 700; }
.note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 14px; }
.legal { text-align: center; font-size: 11px; color: var(--muted); margin-top: 18px; }

@media (max-width: 380px) {
  .title { font-size: 25px; }
  .cards { gap: 8px; }
  .card { font-size: 13px; }
}

/* Cartões com ilustração (idade) */
.opts.photos { grid-template-columns: 1fr 1fr; gap: 12px; }
.pcard { flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; min-height: 0; text-align: center; background: #fbeee6; }
.pcard img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; object-position: top; }
.pcard span { background: #ffd9cf; padding: 12px 6px; font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 17px; }
.pcard.sel { background: #e7f6ee; }
.pcard.sel span { background: #bfe8d1; }
.opts.photos .opt.sel::after { content: none; }

/* Dificuldades (foto + título + descrição) */
.opts.symptoms { grid-template-columns: 1fr; gap: 10px; }
.sym { align-items: flex-start; gap: 12px; padding: 12px; }
.sym img { width: 64px; height: 80px; flex: none; border-radius: 14px; object-fit: cover; }
.sym span { font-size: 14px; font-weight: 400; line-height: 1.35; color: var(--muted); }
.sym b { display: block; font-size: 15px; margin-bottom: 3px; color: var(--text); }
.opts.symptoms .opt.sel::after { content: none; }

/* Depoimentos */
.testi { align-items: flex-start; }
.testi img { width: 56px; height: 56px; flex: none; border-radius: 16px; object-fit: cover; }
.testi p { font-size: 14px; margin: 2px 0 6px; }
.testi strong { font-size: 14px; }
.stars { color: #f0a92e; letter-spacing: 2px; font-size: 14px; }
.kicker + .title { font-size: 24px; }

/* Prova social na abertura */
.avatars { display: flex; justify-content: center; margin-top: 18px; }
.avatars img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg); margin-left: -8px; }
.avatars img:first-child { margin-left: 0; }
.rating { width: fit-content; max-width: 100%; margin: 12px auto 0; background: #fde3ea; border-radius: 99px; padding: 8px 16px; font-size: 13px; text-align: center; }
.rating .stars { font-size: 13px; letter-spacing: 1px; }

/* Cartão de resultado (muda com as respostas) */
.rcard { background: var(--card); border: 2px solid var(--green); border-radius: 20px; padding: 18px; margin-bottom: 18px; }
.rcard h3 { font-size: 22px; text-align: center; margin-bottom: 8px; }
.rrow { padding: 10px 0; border-top: 1px solid var(--line); }
.rrow:first-of-type { border-top: 0; }
.rrow span { display: block; font-size: 12px; font-weight: 600; color: var(--coral); text-transform: uppercase; letter-spacing: .04em; }
.rrow p { font-size: 15px; font-weight: 500; line-height: 1.35; }
.count { text-align: center; font-size: 13px; color: var(--muted); margin-top: 10px; }

/* Prints de WhatsApp */
.shot { background: var(--card); border-radius: 16px; padding: 6px; margin-bottom: 12px; box-shadow: 0 3px 0 var(--line); }
.shot img { width: 100%; height: auto; border-radius: 12px; }
