:root {
  --brand: #1f6f78;        /* cor principal */
  --brand-2: #e6f2f2;
  --accent: #ff7a59;       /* destaques / descontos */
  --ink: #142326;
  --muted: #5f6f72;
  --line: #e3e9ea;
  --bg: #ffffff;
  --soft: #f3f6f5;
  --ok-bg: #eef6f0; --warn-bg: #fff1dd; --bad-bg: #fde7e7;
  --err: #d64545;
  --radius: 16px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Plus Jakarta Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: var(--brand); }
#app { max-width: 480px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; padding: 0 16px 120px; }

/* topo */
.top { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.back { font-size: 22px; color: var(--muted); padding: 8px 8px 8px 0; }
.logo { font-weight: 800; color: var(--brand); letter-spacing: -.02em; }
.count { color: var(--muted); font-size: 15px; } .count b { color: var(--ink); }
.bar { height: 6px; background: var(--soft); border-radius: 9px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--brand); border-radius: 9px; transition: width .4s; }

/* base */
.screen { padding-top: 26px; animation: in .3s ease; }
@keyframes in { from { opacity: 0; transform: translateY(8px); } }
h1 { font-size: 27px; line-height: 1.15; text-align: center; margin: 14px 0 10px; letter-spacing: -.01em; text-transform: uppercase; }
h2 { font-size: 23px; line-height: 1.25; text-align: center; margin: 0 0 12px; letter-spacing: -.01em; }
h2.mt { margin-top: 30px; } h2.quote { font-size: 24px; margin-bottom: 40px; }
h3 { margin: 0 0 12px; font-size: 18px; }
.sub { color: var(--muted); text-align: center; line-height: 1.5; margin: 0 0 20px; }
.sub.left { text-align: left; margin: 8px 0 0; font-size: 14px; }
.hint { color: var(--muted); font-size: 13px; text-align: center; } .hint.r { text-align: right; margin-top: 4px; }
.err { color: var(--err); text-align: center; font-size: 15px; margin: 10px 0; }
.accent { color: var(--brand); } .accent.sm { font-weight: 700; margin-top: -6px; }
.center { text-align: center; }
.m0 { margin: 0 !important; color: var(--ink) !important; }

/* landing */
.badge { display: block; width: max-content; margin: 18px auto 0; padding: 7px 14px; border-radius: 10px; background: var(--brand-2); color: var(--ink); font-weight: 700; font-size: 14px; }
.gift { display: block; width: max-content; max-width: 100%; margin: 0 auto 18px; padding: 7px 12px; border-radius: 10px; background: var(--ok-bg); color: var(--brand); font-weight: 700; font-size: 14px; text-align: center; }
.land-grid { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 8px; margin-bottom: 22px; }
.land-emoji { font-size: 120px; text-align: center; }
.land-img { width: 100%; border-radius: var(--radius); }
.ages { display: flex; flex-direction: column; gap: 10px; }
.age { display: flex; justify-content: space-between; align-items: center; padding: 18px 16px; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 700; font-size: 16px; transition: transform .1s; }
.age span { width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--brand); display: grid; place-items: center; }
.age:active { transform: scale(.97); }

/* visuais */
.hero { font-size: 84px; min-height: 200px; margin: 6px 0 22px; border-radius: 22px; background: var(--brand-2); display: grid; place-items: center; letter-spacing: 6px; }
.hero-img { width: 100%; max-height: 340px; object-fit: cover; border-radius: 22px; margin: 6px 0 22px; display: block; }
.avatars { display: flex; justify-content: center; margin: -8px 0 18px; }
.avatars img { width: 46px; height: 46px; border-radius: 50%; border: 3px solid #fff; margin-left: -10px; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.avatars img:first-child { margin-left: 0; }
.type-social .hero-img { width: 72%; margin-left: auto; margin-right: auto; border-radius: 50%; }
/* opções com foto: cartões em grade */
.opts.pics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
/* número ímpar de cartões: o último fica centralizado, do mesmo tamanho dos outros */
.opts.pics.n3 .opt.pic:last-child, .opts.pics.n5 .opt.pic:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 5px); }
.opt.pic { flex-direction: column; align-items: stretch; padding: 0 0 12px; gap: 8px; overflow: hidden; position: relative; text-align: center; justify-content: flex-start; }
.opt.pic img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; background: #fff; }
.opt.pic > span:not(.box) { padding: 0 8px; }
.opt.pic .box { position: absolute; top: 8px; right: 8px; }
.opt.pic.on { border-color: var(--brand); }
.prof-wrap { display: grid; grid-template-columns: 1fr 120px; align-items: end; gap: 8px; }
.prof-img { width: 100%; border-radius: var(--radius); }
.stat { font-size: 18px; color: var(--brand); } .stat b { font-size: 26px; }
.study { background: var(--soft); border-radius: 12px; padding: 14px; font-size: 14px; text-align: left; margin-top: 10px; }
.chart { background: #fbfcfb; border: 1px solid var(--line); border-radius: 18px; padding: 12px 10px 8px; margin: 6px 0 22px; }
.chart svg { width: 100%; height: auto; display: block; }
.chart .ct { font: 700 11px 'Plus Jakarta Sans', sans-serif; } .chart .ct.w { fill: #fff; }
.chart .cx { font: 600 11px 'Plus Jakarta Sans', sans-serif; fill: var(--muted); }
.chart .note { margin: 6px 0 0; font-size: 11px; color: var(--muted); text-align: left; }
.goal { font-size: 24px; font-weight: 800; color: #3a9b6f; margin: 6px 0; }

/* opções */
.opts { display: flex; flex-direction: column; gap: 10px; }
.opt { display: flex; align-items: center; gap: 12px; text-align: left; padding: 18px 16px; min-height: 64px; border-radius: var(--radius); background: var(--soft); border: 2px solid transparent; font-weight: 700; transition: background .15s, color .15s; }
.opt.on { background: var(--brand); color: #fff; }
.oi { font-size: 24px; margin-left: auto; flex: none; letter-spacing: -2px; }
.box { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid #b9c6c8; background: #fff; }
.opt.on .box { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f6f78' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat; border-color: #fff; }
.bodymap { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 8px; }
.figure { font-size: 160px; text-align: center; } .figure img { width: 100%; }
.pose { background: var(--soft); border-radius: 22px; min-height: 220px; display: grid; place-items: center; align-content: center; gap: 8px; margin: 10px 0 18px; overflow: hidden; }
.pose span { font-size: 96px; } .pose small { color: var(--muted); } .pose img { width: 100%; display: block; }
.yn { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.yn .opt { justify-content: space-between; }
.radio { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid #b9c6c8; background: #fff; }
.opt.on .radio { border: 6px solid #fff; background: var(--brand); }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 180px; }
.scale button { aspect-ratio: 1; border-radius: 14px; background: var(--soft); font-weight: 800; font-size: 18px; }
.scale button.on { background: var(--brand); color: #fff; }
.scale-l { display: flex; justify-content: space-between; color: var(--muted); font-size: 14px; margin-top: 10px; }

/* medidas */
.toggle { display: flex; width: max-content; margin: 8px auto 26px; background: var(--soft); border-radius: 99px; padding: 4px; }
.toggle button { padding: 10px 26px; border-radius: 99px; font-weight: 700; color: var(--muted); }
.toggle .on { background: var(--brand); color: #fff; }
.measure { display: flex; justify-content: center; align-items: baseline; gap: 6px; margin-bottom: 18px; }
.big-in { width: 92px; font: 800 64px/1 'Plus Jakarta Sans', sans-serif; text-align: center; border: 0; border-bottom: 2px solid var(--line); outline: none; color: var(--ink); background: transparent; }
.big-in.w { width: 170px; } .big-in:focus { border-color: var(--brand); }
.u { font-weight: 700; font-size: 20px; margin-right: 10px; }
.field { width: 100%; padding: 18px 16px; font: 600 18px 'Plus Jakarta Sans', sans-serif; border: 2px solid var(--line); border-radius: var(--radius); outline: none; margin: 12px 0 8px; background: #fff; color: var(--ink); }
.field:focus { border-color: var(--brand); }
.field.line { border: 0; border-bottom: 2px solid var(--brand); border-radius: 0; text-align: center; font-size: 26px; margin-top: 30px; }
.field.date { max-width: 240px; display: block; margin: 16px auto; background: var(--soft); border-color: var(--soft); }
.lbl { display: block; font-weight: 700; margin-top: 18px; }
.email { position: relative; } .email span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); }
.email .field { padding-left: 48px; border-color: var(--brand); }
.tip { display: flex; gap: 12px; background: var(--soft); border-radius: var(--radius); padding: 16px; margin: 4px 0 16px; font-size: 14px; text-align: left; }
.tip span { font-size: 22px; } .tip p { margin: 4px 0 0; color: var(--muted); line-height: 1.45; }
.fbk { display: flex; gap: 12px; border-radius: var(--radius); padding: 16px; margin: 4px 0 18px; font-size: 14px; text-align: left; }
.fbk span { font-size: 22px; } .fbk p { margin: 4px 0 0; line-height: 1.45; color: #3c4a4c; }
.fbk.ok { background: var(--ok-bg); } .fbk.warn { background: var(--warn-bg); } .fbk.bad { background: var(--bad-bg); }

/* checkbox */
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 14px; color: var(--muted); line-height: 1.45; margin-bottom: 14px; }
.check.small { font-size: 12px; }
.check input { position: absolute; opacity: 0; }
.check > span { width: 24px; height: 24px; flex: none; border-radius: 6px; border: 2px solid #b9c6c8; background: #fff; }
.check input:checked + span { background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/16px no-repeat; border-color: var(--brand); }
.check em { font-style: normal; }

/* rodapé */
.foot { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--bg) 30%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.foot.inline { position: static; padding: 6px 0 20px; background: none; }
.cta { width: 100%; max-width: 448px; padding: 18px; border-radius: var(--radius); background: var(--brand); color: #fff; font-weight: 700; font-size: 18px; transition: opacity .2s, transform .1s; }
.cta:active { transform: scale(.98); } .cta:disabled { opacity: .45; cursor: default; }
.cta.sm { width: auto; padding: 10px 16px; font-size: 15px; }
.link { color: var(--muted); padding: 8px; font-size: 14px; }

/* listas */
.ticks { padding: 0; list-style: none; margin: 8px 0 0; } .ticks li { padding: 5px 0 5px 28px; position: relative; text-align: left; }
.ticks li::before { content: '✓'; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.ticks.c { display: inline-block; margin: 0 auto; }

/* loading */
.ring { position: relative; width: 170px; height: 170px; margin: 20px auto 26px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 8; } .ring .track { stroke: var(--soft); } .ring .prog { stroke: var(--brand); stroke-linecap: round; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 34px; }
.steps { list-style: none; padding: 0; margin: 18px auto; max-width: 300px; text-align: left; }
.steps li { padding: 8px 0 8px 32px; position: relative; color: var(--muted); transition: color .3s; }
.steps li::before { content: ''; position: absolute; left: 0; top: 9px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); }
.steps li.done { color: var(--ink); } .steps li.done::before { background: var(--brand); border-color: var(--brand); }
.review { margin-top: 22px; }
.rc { border: 1px solid var(--line); border-radius: 18px; padding: 18px; text-align: left; background: #fff; }
.rh { display: flex; justify-content: space-between; } .rh small { color: var(--muted); }
.stars { color: #f2b84b; letter-spacing: 2px; margin: 4px 0 8px; } .rc p { margin: 0; line-height: 1.5; }

/* perfil / IMC */
.card { background: var(--soft); border-radius: var(--radius); padding: 20px; margin: 16px 0; }
.card.white { background: #fff; box-shadow: 0 4px 22px rgba(20, 35, 38, .08); padding: 16px; }
.card .row, .row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; gap: 8px; }
.row small { color: var(--muted); }
.bmi .scale-bar { position: relative; height: 10px; border-radius: 9px; margin: 46px 0 8px; background: linear-gradient(90deg, #6cb4e8 0 10.4%, #5ec28a 10.4% 37.5%, #f2c84b 37.5% 58.3%, #e8665f 58.3%); }
.bmi .scale-bar i { position: absolute; top: -7px; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; background: #fff; border: 5px solid #e8c24b; }
.bmi .scale-bar i span { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 6px; }
.bmi .labels { display: grid; grid-template-columns: 10.4% 27.1% 20.8% 41.7%; text-align: center; font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; }
.prof { display: grid; gap: 10px; margin: 18px 0; }
.prof div { display: grid; grid-template-columns: 36px 1fr; grid-template-rows: auto auto; align-items: center; }
.prof span { grid-row: span 2; font-size: 22px; } .prof small { color: var(--muted); text-transform: uppercase; font-size: 11px; font-weight: 700; } .prof b { font-size: 17px; }

/* oferta */
.sticky { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; background: var(--bg); font-weight: 800; color: var(--brand); border-bottom: 1px solid var(--line); margin: 0 -16px; padding: 10px 16px; }
.offer { padding-top: 20px; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0 20px; }
.chips div { background: var(--soft); border-radius: 12px; padding: 12px; text-align: center; }
.chips small { display: block; color: var(--muted); font-size: 12px; } .chips b { font-size: 16px; }
.plans { display: flex; flex-direction: column; gap: 10px; }
.plan { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px; border: 2px solid var(--line); border-radius: var(--radius); text-align: left; }
.plan.on { border-color: var(--brand); background: var(--brand-2); }
.plan.on .radio, .pm.on .radio { border: 7px solid var(--brand); }
.pl { flex: 1; display: flex; flex-direction: column; } .pl small { color: var(--muted); }
.pr { display: grid; justify-items: end; } .pr s { color: var(--muted); font-size: 13px; } .pr b { font-size: 19px; }
.pr em { font-style: normal; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; }
.pr small { color: var(--muted); font-size: 12px; }
.pbadge { position: absolute; top: -11px; left: 14px; font-style: normal; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 99px; text-transform: uppercase; letter-spacing: .3px; }
.plans { padding-top: 6px; }
.guar { text-align: center; font-weight: 700; color: var(--brand); }
.fine { font-size: 12px; color: var(--muted); line-height: 1.5; } .fine.green { color: var(--brand); }
.copy { text-align: center; color: var(--muted); font-size: 12px; }

/* checkout */
.modal { position: fixed; inset: 0; background: rgba(10, 20, 22, .55); z-index: 20; display: flex; align-items: flex-end; justify-content: center; animation: in .2s; }
.sheet { position: relative; width: 100%; max-width: 480px; max-height: 92dvh; overflow: auto; background: #fff; border-radius: 22px 22px 0 0; padding: 24px 16px calc(24px + env(safe-area-inset-bottom)); }
.x { position: absolute; right: 12px; top: 8px; font-size: 30px; color: var(--muted); }
.row.red span:last-child { color: var(--accent); }
.row.total { border-top: 1px solid var(--line); font-weight: 800; font-size: 18px; margin-top: 4px; padding-top: 12px; }
.cap { display: block; letter-spacing: .04em; color: var(--muted); font-weight: 700; margin: 16px 0 10px; }
.pm { display: flex; align-items: center; gap: 12px; width: 100%; padding: 18px 16px; border: 2px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; font-weight: 700; }
.pm.on { border-color: var(--brand); } .pm em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--muted); }

@media (max-width: 360px) { .land-grid { grid-template-columns: 1fr; } .land-emoji { font-size: 90px; } .scale { margin-top: 100px; } }

/* ---------- raspadinha ---------- */
.ticket { position: relative; width: 78%; max-width: 300px; aspect-ratio: 3 / 4; margin: 22px auto 14px; border-radius: 22px; background: linear-gradient(160deg, #fff7e8, #ffe7d6); box-shadow: 0 10px 30px rgba(31,111,120,.18); overflow: hidden; }
.ticket::before, .ticket::after { content: ''; position: absolute; top: 58%; width: 22px; height: 22px; border-radius: 50%; background: var(--bg, #fff); z-index: 3; }
.ticket::before { left: -11px; } .ticket::after { right: -11px; }
.prize { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 4px; padding: 20px; }
.prize b { font-size: 84px; line-height: 1; color: var(--accent); font-weight: 800; } .prize b small { font-size: 40px; }
.prize span { font-size: 22px; font-weight: 800; } .prize em { font-style: normal; color: var(--muted); font-size: 14px; }
#scr { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; z-index: 2; }
.ticket.won { animation: pop .5s ease; } @keyframes pop { 50% { transform: scale(1.04); } }

/* ---------- paywall: agora x meta ---------- */
.compare { background: var(--soft); border-radius: 22px; padding: 10px 10px 14px; margin-bottom: 18px; }
.chead { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: 12px; padding: 10px 0; text-align: center; font-weight: 700; }
.chead span:last-child { color: var(--brand); }
.cimgs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0 12px; }
.cimgs img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; background: #fff; display: block; }
.cimgs .arrow { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 24px; font-weight: 800; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.cstats { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.ccol + .ccol { border-left: 1px solid var(--line); padding-left: 14px; }
.cs { display: grid; gap: 2px; padding: 8px 2px; } .cs + .cs { border-top: 1px solid var(--line); }
.cs small { color: var(--muted); font-size: 12px; } .cs b { font-size: 16px; }
.bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 4px; }
.bars i { height: 6px; border-radius: 4px; background: #d5dfe0; } .bars i.on { background: var(--brand); }
.promo { border-radius: 16px; background: #eaf6ee; border: 1.5px dashed #5ec28a; padding: 12px 14px; margin: 4px 0 16px; }
.promo .ph { display: flex; gap: 8px; align-items: center; font-size: 17px; } .promo .pc { margin-top: 6px; font-size: 14px; color: #2c7a4f; font-weight: 600; }
.pl small b { color: var(--ink); } .pl small s, .pd s { color: var(--muted); }
.pd b { font-size: 21px; } .pd small { font-size: 12px; color: var(--muted); }
.fine.fbox { background: var(--soft); border-radius: 12px; padding: 12px; }
.offer #tbox { margin-top: 14px; }
/* ---------- depoimentos ---------- */
.sec { margin: 26px 0 12px; font-size: 20px; text-align: center; }
.offer .card .rc { border: 0; padding: 0; background: none; }
.rimg { width: 100%; max-height: 340px; object-fit: cover; object-position: top; border-radius: 14px; display: block; margin-bottom: 12px; background: var(--soft); }
.rq { font-size: 16px; font-weight: 600; } .rc .rh { margin-top: 8px; }
.review .rimg { max-height: 200px; }
.fine.center { text-align: center; margin-top: 4px; }
.prize .upto { font-style: normal; font-size: 22px; font-weight: 800; color: var(--accent); margin-bottom: -6px; }

/* ---------- banner de cookies (GDPR) ---------- */
#cookie-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 1000; max-width: 520px; margin: 0 auto;
  background: #fff; color: #1d2b2d; border-radius: 16px; box-shadow: 0 8px 30px rgba(0,0,0,.18); padding: 14px 16px; font-size: 13px; line-height: 1.45; }
#cookie-banner p { margin: 0 0 10px; }
#cookie-banner a { color: #1f6f78; }
#cookie-banner .cb-btns { display: flex; gap: 10px; }
#cookie-banner .cb-btn { flex: 1; padding: 11px 12px; border-radius: 12px; border: 2px solid #1f6f78; background: #fff; color: #1f6f78;
  font: 700 14px "Plus Jakarta Sans", sans-serif; cursor: pointer; }
