/* =====================================================================
   ABC DO PET 2.0 — Visual (claro, verde, cartões com borda, coluna de celular)
   A paleta inteira está no :root.
   ===================================================================== */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --soft: #f4f7f4;
  --line: #e3e8e3;
  --line-strong: #cfd8cf;
  --text: #121212;
  --muted: #5e6660;
  --green: #1fa44f;
  --green-dark: #168a40;
  --green-soft: #e8f6ed;
  --gold: #f2b705;
  --red: #ef5a45;
  --radius: 10px;
  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font-family: var(--font); font-size: 16px; line-height: 1.45; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
body.has-sticky { padding-bottom: 88px; }
button { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
.accent { color: var(--green); }

#app { width: min(460px, 100%); margin: 0 auto; padding: 0 16px 32px; }

/* cabeçalho */
.top { position: relative; padding: 14px 0 6px; }
.logo { display: flex; align-items: center; justify-content: center; gap: 7px; font-weight: 800; font-size: 19px; letter-spacing: -.01em; color: #333; }
.logo-ic { width: 26px; height: 26px; border-radius: 7px; background: var(--red); display: grid; place-items: center; }
.logo-ic svg { width: 18px; height: 18px; fill: #fff; }
.back { position: absolute; left: -6px; top: 10px; width: 36px; height: 36px; border: 0; background: none; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.back svg { width: 22px; height: 22px; fill: none; stroke: #333; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.back:hover { background: var(--soft); }
.progress { height: 6px; border-radius: 99px; background: var(--green-soft); margin-top: 12px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--green); border-radius: 99px; transition: width .35s ease; }

.screen { padding-top: 18px; animation: in .28s ease both; }
@keyframes in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* botões principais */
.cta { display: block; width: 100%; border: 0; border-radius: var(--radius); background: var(--green); color: #fff; font-weight: 700; font-size: 16px; padding: 16px 18px; margin-top: 18px; cursor: pointer; box-shadow: 0 4px 0 var(--green-dark); transition: transform .08s ease, box-shadow .08s ease, opacity .2s; text-transform: none; }
.cta:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--green-dark); }
.cta:disabled { opacity: .45; cursor: default; transform: none; }
.cta.big { font-size: 17px; padding: 18px; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }

/* início */
.landing h1 { font-size: 25px; line-height: 1.25; font-weight: 800; text-align: center; margin: 14px 0 18px; letter-spacing: -.01em; }
.hero-img { width: 100%; height: auto; border-radius: 12px; }
.checks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; font-size: 13px; font-weight: 500; }
.checks li { display: flex; gap: 6px; align-items: flex-start; }
.ck { flex: 0 0 18px; height: 18px; border-radius: 4px; background: var(--green); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; margin-top: 1px; }

/* perguntas */
.q { font-size: 22px; line-height: 1.3; font-weight: 800; text-align: center; margin: 22px 0 8px; letter-spacing: -.01em; }
.q b { color: var(--green); font-weight: 800; }
.q-sub { text-align: center; color: var(--muted); font-size: 14.5px; margin: 0 0 6px; }
.opts-list { display: grid; gap: 10px; margin-top: 18px; }
.opt-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 12px 14px; text-align: left; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); font-size: 15px; font-weight: 500; cursor: pointer; transition: border-color .15s, background .15s, transform .08s; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.opt-row:hover { border-color: var(--line-strong); }
.opt-row:active { transform: scale(.99); }
.opt-row.selected { border-color: var(--green); background: var(--green-soft); }
.opt-row .em { font-size: 24px; line-height: 1; flex: 0 0 28px; text-align: center; }
.opt-row .tx { flex: 1; }
.opt-row .chev { flex: 0 0 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; }
.opt-row .chev svg { width: 13px; height: 13px; fill: none; stroke: #666; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.opt-row.selected .chev { background: var(--green); border-color: var(--green); }
.opt-row.selected .chev svg { stroke: #fff; }
.opt-row .box { flex: 0 0 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--line-strong); display: grid; place-items: center; }
.opt-row.selected .box { background: var(--green); border-color: var(--green); }
.opt-row.selected .box::after { content: '✓'; color: #fff; font-size: 13px; font-weight: 800; }

.opts-cards { display: grid; gap: 12px; margin-top: 20px; grid-template-columns: repeat(2, 1fr); }
.opts-cards.n3 { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.opt-card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 8px 14px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 600; font-size: 15px; transition: border-color .15s, background .15s, transform .08s; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.opts-cards.n3 .opt-card { font-size: 13px; padding: 12px 6px; }
.opt-card:active { transform: scale(.98); }
.opt-card.selected { border-color: var(--green); background: var(--green-soft); }
.opt-card .ph { width: 100%; aspect-ratio: 1; display: grid; place-items: center; }
.opt-card .ph img { max-height: 100%; width: auto; max-width: 86%; object-fit: contain; }
.opts-cards:not(.n3) .opt-card .ph img { max-width: 58%; }
.opt-card .lbl { text-align: center; line-height: 1.25; }

/* tela informativa */
.info-img { width: 88%; margin: 14px auto 0; }
.info-text { text-align: center; font-size: 16px; color: #333; margin: 16px 6px 0; }
.info-foot { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 14px; font-weight: 500; }

/* áudio */
.voice { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 12px 14px; background: #e9fbe0; border: 1px solid #cfeec0; border-radius: 16px 16px 16px 4px; }
.voice .av { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; flex: 0 0 58px; border: 2px solid #fff; }
.voice .play { flex: 0 0 44px; height: 44px; border-radius: 50%; border: 0; background: var(--green); display: grid; place-items: center; cursor: pointer; }
.voice .play svg { width: 22px; height: 22px; fill: #fff; }
.voice .play .i-pause, .voice .play.on .i-play { display: none; }
.voice .play.on .i-pause { display: block; }
.voice .track { flex: 1; min-width: 0; }
.voice .who { font-weight: 700; font-size: 14px; }
.voice input[type=range] { width: 100%; accent-color: var(--green); margin: 6px 0 0; }
.voice .dur { font-size: 12px; color: var(--muted); }
.voice.text { align-items: flex-start; }
.voice .msg { margin: 4px 0 0; font-size: 15px; color: #222; }
.hint { text-align: center; font-weight: 600; margin: 14px 0 0; }

/* analisando */
.loading { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; }
.loading h2 { text-align: center; font-size: 22px; font-weight: 800; margin: 0 0 18px; }
.ld-row { display: flex; justify-content: space-between; font-size: 13px; font-weight: 500; color: #333; margin-bottom: 6px; }
.ld-bar { height: 8px; border-radius: 99px; background: #eceeec; overflow: hidden; }
.ld-bar i { display: block; height: 100%; width: 0; background: var(--green); border-radius: 99px; transition: width .08s linear; }

/* resultado */
.result .q { margin-top: 18px; }
.badge { width: min(260px, 72%); height: auto; margin: 10px auto 0; display: block; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .12)); }
.match { margin: 20px 4px 0; }
.match-h { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.segs { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.segs i { height: 8px; border-radius: 99px; background: #e3e5e3; }
.segs i.on { background: var(--green); }
.segs i.part { background: linear-gradient(90deg, var(--green) 55%, #e3e5e3 55%); }
.segs .knob { position: absolute; left: var(--m); top: 50%; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid #9aa09b; transform: translate(-50%, -50%); }
.verdict { font-size: 21px; font-weight: 800; text-align: center; line-height: 1.3; margin: 22px 0 0; }
.bridge { text-align: center; font-size: 14.5px; color: #333; margin: 16px 6px 0; }

.sec-t { text-align: center; font-size: 21px; font-weight: 800; margin: 34px 0 14px; letter-spacing: -.01em; }
.sec-t .accent { color: var(--green); }
.bonus-t span { color: var(--gold); }
.items { display: grid; gap: 10px; }
.item { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 16px; text-align: center; box-shadow: 0 1px 3px rgba(0, 0, 0, .04); }
.item .num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: #3b82f6; color: #fff; font-weight: 800; font-size: 15px; }
.item .heart { font-size: 22px; }
.item h4 { margin: 6px 0 6px; font-size: 16.5px; font-weight: 700; }
.item.bonus h4 { font-size: 15px; }
.item p { margin: 0; font-size: 14px; color: var(--muted); }

.price-card { border: 2px solid var(--green); border-radius: 12px; overflow: hidden; }
.pc-tag { background: var(--green); color: #fff; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 6px; }
.pc-body { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.pc-body > b { font-size: 17px; }
.pc-price { text-align: right; background: var(--soft); border-radius: 8px; padding: 6px 10px; }
.pc-price small { display: block; font-size: 11px; color: var(--muted); }
.pc-price small:first-child span { text-decoration: line-through; }
.pc-now { display: flex; align-items: baseline; justify-content: flex-end; gap: 4px; font-weight: 800; font-size: 28px; line-height: 1.1; }
.pc-now .sym { font-size: 14px; }
.no-fee { text-align: center; font-size: 14px; margin: 12px 0 0; }
.guarantee { text-align: center; font-size: 17px; font-weight: 600; margin: 26px 4px 0; line-height: 1.4; }
.guarantee b { font-weight: 800; }
.seal { display: block; width: 170px; height: auto; margin: 18px auto 0; }

.faq { display: grid; gap: 8px; }
.faq details { border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 22px 14px 0; font-weight: 700; font-size: 15px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 11px; font-size: 20px; color: var(--green); font-weight: 700; }
.faq details[open] summary::after { content: '–'; }
.faq p { margin: 0 0 14px; font-size: 14.5px; color: var(--muted); }

.sticky { position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 30%); z-index: 20; }
.sticky .cta { width: min(428px, 100%); margin: 0 auto; }

@media (max-width: 360px) {
  .landing h1 { font-size: 22px; }
  .q { font-size: 20px; }
  .checks { font-size: 12px; }
}
