/* QUIZ CAMPEÃO — tema. Troque SÓ as variáveis de :root pra mudar a cara do funil. */
:root {
  --bg: #FFF8EE;
  --surface: #FFFFFF;
  --ink: #3A2A20;
  --muted: #7A6455;
  --line: #EFE3D0;
  --brand: #AD560B;        /* Mel escuro — brand book Pocket Lamb (rota A) */
  --brand-ink: #FFFFFF;
  --brand-soft: color-mix(in srgb, #AD560B 10%, #FFFFFF);
  --bad: #B83A4B;
  --mid: #A86A12;
  --good: #2F7D55;
  --radius: 22px;
  --font: "Nunito", system-ui, sans-serif;
  --display: "Baloo 2", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.45; }
#app { max-width: 480px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
img { max-width: 100%; display: block; }
b { font-weight: 700; }

/* header + progresso */
.qhead { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding: 10px 12px 6px; }
.back { font-size: 30px; line-height: 1; color: var(--muted); width: 44px; height: 44px; }
.brand { text-align: center; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; }
.brand img { height: 26px; margin: 0 auto; }
.brand.big { font-size: 18px; margin: 8px 0 14px; }
.brand.big img { height: 34px; }
.track { height: 5px; background: var(--line); margin: 0 16px; border-radius: 99px; overflow: hidden; }
.fill { height: 100%; background: var(--brand); border-radius: 99px; transition: width .35s ease; }

/* tela */
.screen { flex: 1; padding: 20px 16px 120px; display: flex; flex-direction: column; gap: 14px; animation: in .22s ease; }
@keyframes in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
h1 { font-family: var(--display); font-size: 25px; line-height: 1.2; font-weight: 800; text-align: center; letter-spacing: -.01em; }
h2 { font-family: var(--display); font-size: 21px; line-height: 1.25; font-weight: 800; text-align: center; margin-top: 18px; }
h3 { font-size: 18px; font-weight: 800; text-align: center; }
.kicker { text-align: center; color: var(--brand); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.sub, .hint { text-align: center; color: var(--muted); }
.hint { font-size: 14px; margin-top: -6px; }
.body { text-align: center; color: var(--ink); }
.micro { text-align: center; font-size: 13px; color: var(--muted); }
.source { font-size: 12px; color: var(--muted); text-align: center; }
.legal { font-size: 11px; color: var(--muted); line-height: 1.4; }
.center { text-align: center; }
.hero-img { width: 100%; max-height: 300px; object-fit: contain; border-radius: var(--radius); margin: 0 auto; }

/* opções */
.opts { display: flex; flex-direction: column; gap: 10px; }
.opts.grid { display: grid; grid-template-columns: 1fr 1fr; }
.opt { position: relative; display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 14px 16px; background: var(--surface);
  border: 2px solid transparent; border-radius: var(--radius); text-align: left; font-weight: 600; transition: border-color .15s, background .15s, transform .08s; }
.opt:active { transform: scale(.985); }
.opt small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; }
.opt.sel { border-color: var(--brand); background: var(--brand-soft); }
.opt.has-img { flex-direction: column; text-align: center; padding: 10px; }
.opt.has-img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.opts:not(.grid) .opt.has-img { flex-direction: row; text-align: left; }
.opts:not(.grid) .opt.has-img img { width: 56px; height: 56px; }
.opt.check { padding-right: 48px; }
.box { position: absolute; right: 16px; width: 22px; height: 22px; border: 2px solid var(--line); border-radius: 6px; background: var(--bg); }
.opt.sel .box { background: var(--brand); border-color: var(--brand); }
.opt.sel .box::after { content: "✓"; color: var(--brand-ink); font-size: 14px; font-style: normal; position: absolute; inset: 0; display: grid; place-items: center; }

/* statement */
.quote { font-size: 21px; font-weight: 700; line-height: 1.3; text-align: center; padding: 22px 18px; background: var(--surface); border-radius: var(--radius); }
.scale { display: grid; gap: 8px; }
.scale .opt { justify-content: center; text-align: center; min-height: 52px; }

/* inputs */
.field { position: relative; }
.field input[type=number], .field input[type=text], .field input[type=email] { width: 100%; font: inherit; font-size: 22px; font-weight: 700; text-align: center; padding: 18px 16px; border: 2px solid var(--line); border-radius: var(--radius); outline: none; background: var(--bg); color: var(--ink); }
.field input:focus { border-color: var(--brand); }
.unit { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 700; }
.why { background: var(--surface); border-radius: 12px; padding: 12px 14px; font-size: 14px; color: var(--muted); }
.err { color: var(--bad); font-size: 14px; text-align: center; }
.consent { display: flex; gap: 10px; font-size: 13px; color: var(--muted); align-items: flex-start; }
.consent input { margin-top: 3px; accent-color: var(--brand); }

/* CTA fixo */
.cta-wrap { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--bg) 30%); }
.cta-wrap .btn { max-width: 448px; margin: 0 auto; display: block; }
.cta-wrap.static { position: static; background: none; padding: 6px 0; }
.btn { width: 100%; min-height: 56px; padding: 16px; border-radius: 99px; background: var(--brand); color: var(--brand-ink); font-weight: 800; font-size: 17px; box-shadow: 0 8px 22px -8px var(--brand); }
.btn:disabled { opacity: .4; box-shadow: none; cursor: default; }
.pulse { animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }

/* info / social / summary */
.stat { text-align: center; }
.stat b { display: block; font-size: 46px; line-height: 1; color: var(--brand); font-weight: 900; }
.stat span { color: var(--muted); }
.ticks { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--good); color: #fff; font-size: 12px; display: grid; place-items: center; font-weight: 900; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stats div { background: var(--surface); border-radius: 12px; padding: 12px 6px; text-align: center; }
.stats b { display: block; font-size: 20px; font-weight: 900; color: var(--brand); }
.stats span { font-size: 12px; color: var(--muted); }
.review { display: flex; gap: 12px; background: var(--surface); border-radius: var(--radius); padding: 14px; font-size: 14px; }
.review img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.stars { color: #f5b301; letter-spacing: 2px; }
.who { color: var(--muted); font-size: 12px; margin-top: 4px; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.card { background: var(--surface); border-radius: 12px; padding: 12px; }
.card span { display: block; font-size: 12px; color: var(--muted); }
.card b { font-size: 15px; }
.gauge { background: var(--surface); border-radius: var(--radius); padding: 16px; }
.gauge-bar { position: relative; height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--good), var(--mid), var(--bad)); margin: 10px 0 8px; }
.gauge-bar i { position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); border: 5px solid var(--ink); transform: translate(-50%, -50%); }
.gauge-l { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.note { margin-top: 10px; font-size: 14px; }

/* projeção */
.chart { position: relative; background: var(--surface); border-radius: var(--radius); padding: 18px 12px 34px; }
.chart svg { width: 100%; height: 170px; overflow: visible; }
.draw { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.6s .2s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.tag { position: absolute; font-size: 13px; font-weight: 800; padding: 4px 10px; border-radius: 99px; background: var(--ink); color: var(--bg); }
.t1 { left: 14px; top: 8px; } .t2 { right: 12px; bottom: 44px; background: var(--good); color: #fff; }
.axis { position: absolute; left: 14px; right: 14px; bottom: 10px; display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-weight: 700; }

/* loading */
.ring { position: relative; width: 150px; height: 150px; margin: 10px auto; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring .bg { stroke: var(--line); } .ring .fg { stroke: var(--brand); stroke-linecap: round; transition: stroke-dashoffset .1s linear; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 30px; font-weight: 900; }
.steps { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.steps li { display: flex; gap: 10px; align-items: center; color: var(--muted); transition: color .2s; }
.steps li i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.steps li.done { color: var(--ink); font-weight: 600; }
.steps li.done i { background: var(--good); border-color: var(--good); }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.45); display: grid; align-items: end; z-index: 10; }
.modal[hidden] { display: none; }
.sheet { background: var(--bg); border-radius: 22px 22px 0 0; padding: 22px 16px 28px; max-width: 480px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }

/* paywall */
.sticky { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; background: var(--bg); border-bottom: 1px solid var(--line); font-size: 13px; }
.sticky .btn { width: auto; min-height: 40px; padding: 8px 16px; font-size: 14px; animation: none; box-shadow: none; }
.timer { color: var(--bad); font-variant-numeric: tabular-nums; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ba > div { background: var(--surface); border-radius: var(--radius); padding: 12px; }
.ba-h { font-weight: 800; text-align: center; margin-bottom: 8px; }
.ba-img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; margin-bottom: 8px; }
.ba-r { font-size: 12px; color: var(--muted); display: flex; flex-direction: column; margin-top: 6px; }
.ba-r b { font-size: 14px; } .bad { color: var(--bad); } .good { color: var(--good); }
.goals { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.goals div { background: var(--surface); border-radius: 12px; padding: 10px 12px; }
.goals span { display: block; font-size: 12px; color: var(--muted); }
.promo { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--brand-soft); border: 2px dashed var(--brand); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.code { font-weight: 900; background: var(--bg); padding: 4px 10px; border-radius: 8px; }
.plans { display: flex; flex-direction: column; gap: 10px; }
.plan { position: relative; display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 16px 14px; border: 2px solid var(--line); border-radius: var(--radius); text-align: left; background: var(--bg); }
.plan.sel { border-color: var(--brand); background: var(--brand-soft); }
.plan .badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--brand); color: var(--brand-ink); font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 99px; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); }
.plan.sel .radio { border: 7px solid var(--brand); }
.pl-name small { display: block; color: var(--muted); font-size: 13px; }
.perday { text-align: right; display: flex; flex-direction: column; }
.perday s { color: var(--muted); font-size: 12px; }
.perday b { font-size: 20px; font-weight: 900; }
.perday small { font-size: 11px; color: var(--muted); }
.trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--muted); }
.trust span::before { content: "🔒 "; }
.press { text-align: center; color: var(--muted); font-size: 13px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.guarantee { background: var(--surface); border-radius: var(--radius); padding: 18px; text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.seal { width: 84px; }
.s-paywall { padding-bottom: 40px; }
.s-cover { justify-content: center; padding-bottom: 40px; }
.s-cover h1 { font-size: 28px; }
.timer-inline { font-weight: 900; color: var(--bad); font-variant-numeric: tabular-nums; }
.bump { display: flex; gap: 12px; align-items: flex-start; border: 2px dashed var(--good); border-radius: 12px; padding: 12px 14px; font-size: 14px; background: var(--surface); }
.bump input { width: 22px; height: 22px; accent-color: var(--good); margin-top: 1px; flex: none; }
.bump small { display: block; color: var(--muted); }
.renewal { margin-top: -4px; }
.how { list-style: none; counter-reset: h; display: flex; flex-direction: column; gap: 12px; }
.how li { counter-increment: h; position: relative; padding-left: 44px; display: flex; flex-direction: column; }
.how li::before { content: counter(h); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-weight: 900; display: grid; place-items: center; }
.how li span { color: var(--muted); font-size: 14px; }
.repeat { border-top: 1px solid var(--line); padding-top: 8px; display: flex; flex-direction: column; gap: 14px; }
.cards .card span { display: block; margin-top: 4px; }
/* seções nomeadas da barra */
.sections { display: flex; align-items: center; gap: 4px; margin: 0 16px 6px; }
.sections i { flex: 1; height: 4px; border-radius: 99px; background: var(--line); }
.sections i.done, .sections i.on { background: var(--brand); }
.sections span { display: none; }
.sections:has(i) + .track { display: none; }
.sections { flex-wrap: wrap; }
.sections span { display: block; width: 100%; order: -1; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
/* date */
.dsel { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 8px; }
.dsel select { font: inherit; font-size: 17px; font-weight: 700; padding: 16px 10px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); appearance: none; text-align: center; }
.dsel select:focus { border-color: var(--brand); outline: none; }
/* upload */
.drop { display: grid; place-items: center; width: 190px; height: 190px; margin: 4px auto; border-radius: 50%; border: 2px dashed var(--line); overflow: hidden; cursor: pointer; }
.drop .cam { font-size: 44px; }
.drop .prev { width: 100%; height: 100%; object-fit: cover; }
.skip { color: var(--muted); font-size: 14px; text-align: center; padding: 8px; position: relative; z-index: 2; margin-bottom: 70px; }
/* cardpick */
.cards-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 6px; }
.tcard { display: flex; flex-direction: column; gap: 6px; align-items: center; transition: transform .5s, opacity .4s; }
.tcard img { width: 100%; aspect-ratio: 2/3.3; object-fit: cover; border-radius: 10px; box-shadow: 0 8px 24px -10px var(--brand); }
.tcard span { font-size: 12px; color: var(--muted); }
.tcard.flip { transform: translateY(-6px) scale(1.04); }
.tcard.flip img { animation: flip .6s ease; box-shadow: 0 0 30px -4px var(--gold, #f5b301); }
.tcard.dim { opacity: .35; }
@keyframes flip { 0% { transform: rotateY(90deg); } 100% { transform: rotateY(0); } }
.reveal { text-align: center; display: flex; flex-direction: column; gap: 8px; animation: in .4s ease; }
.reveal .big { font-size: 54px; font-weight: 900; line-height: 1; color: var(--gold, #f5b301); }

/* auxílio de e-mail */
.sugg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -4px; }
.chip { padding: 9px 12px; border-radius: 99px; background: var(--surface); border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); }
.chip span { color: var(--muted); font-weight: 400; }
.chip:active { border-color: var(--brand); }
.typo { background: var(--brand-soft); border: 1.5px solid var(--brand); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; text-align: center; }
.typo div { display: flex; gap: 8px; justify-content: center; }
.typo .yes { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }

/* =========================================================
   VARIAÇÕES VISUAIS (Q.look / sc.variant / sc.layout)
   ver references/07-variacoes-visuais.md
   ========================================================= */

/* forma: body[data-shape] = soft (padrão) | round | sharp */
body[data-shape="round"] { --radius: 24px; }
body[data-shape="round"] .opt, body[data-shape="round"] .field input { border-radius: 99px; }
body[data-shape="sharp"] { --radius: 6px; }
body[data-shape="sharp"] .btn { border-radius: 8px; }
/* estilo das opções: body[data-opts] = soft (padrão, preenchido) | outline | shadow */
body[data-opts="outline"] .opt { background: transparent; border-color: var(--line); }
body[data-opts="outline"] .opt.sel { border-color: var(--brand); background: var(--brand-soft); }
body[data-opts="shadow"] .opt { background: var(--bg); box-shadow: 0 2px 0 var(--line), 0 6px 18px -10px rgba(0,0,0,.25); }

/* progresso: counter e dots */
.pcount { text-align: right; padding: 0 18px 4px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pcount b { color: var(--ink); font-size: 15px; }
.pdots { display: flex; align-items: flex-start; justify-content: center; gap: 0; padding: 4px 14px 2px; }
.pdots span { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 52px; }
.pdots i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 800; background: var(--line); color: var(--muted); }
.pdots .on i { background: var(--brand); color: var(--brand-ink); box-shadow: 0 0 0 4px var(--brand-soft); }
.pdots .done i { background: var(--good); color: #fff; }
.pdots small { font-size: 10px; color: var(--muted); text-align: center; line-height: 1.2; max-width: 68px; }
.pdots .on small { color: var(--ink); font-weight: 700; }
.pdots em { flex: 1; height: 2px; background: var(--line); margin-top: 12px; min-width: 6px; }

/* opções: cards (emoji grande) e pills */
.opts.cards { display: grid; grid-template-columns: 1fr 1fr; }
.card-opt { flex-direction: column; justify-content: center; text-align: center; min-height: 120px; gap: 8px; position: relative; }
.card-opt .emo { font-size: 38px; line-height: 1; }
.card-opt img { width: 64px; height: 64px; object-fit: contain; }
.card-opt .box { top: 10px; right: 10px; }
.opts.pills { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; }
.pill { min-height: 44px; padding: 10px 16px; border-radius: 99px !important; flex: 0 0 auto; }
.opts.grid .opt:not(.has-img) { justify-content: center; text-align: center; }

/* statement: thumbs / numbers / yesno */
.srow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.srow .opt { justify-content: center; min-height: 64px; padding: 8px; }
.srow.thumbs .opt span { font-size: 28px; }
.srow.nums .opt span { font-size: 22px; font-weight: 800; }
.srow.nums .opt { border-radius: 50%; aspect-ratio: 1; min-height: 0; }
.srow.yn { grid-template-columns: 1fr 1fr; }
.srow.yn .opt { min-height: 64px; font-size: 18px; }
.ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: -4px; }

/* info: comparativo de 2 barras */
.compare { display: flex; gap: 18px; justify-content: center; align-items: flex-end; height: 190px; background: var(--surface); border-radius: var(--radius); padding: 18px 18px 12px; }
.cbar { flex: 0 0 96px; height: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cbar .col { flex: 1; width: 100%; display: flex; align-items: flex-end; }
.cbar i { width: 100%; background: var(--line); border-radius: 12px 12px 4px 4px; position: relative; animation: grow .9s ease both; }
.cbar.us i { background: var(--brand); }
.cbar em { position: absolute; top: -30px; left: 50%; transform: translateX(-50%); font-style: normal; font-weight: 900; background: var(--good); color: #fff; padding: 2px 10px; border-radius: 99px; font-size: 14px; white-space: nowrap; }
.cbar span { font-size: 12px; text-align: center; color: var(--muted); font-weight: 600; }
@keyframes grow { from { transform: scaleY(0); transform-origin: bottom; } to { transform: scaleY(1); transform-origin: bottom; } }

/* medidor: arc / levels / ruler */
.g-title { font-weight: 800; font-size: 14px; margin-bottom: 4px; }
.gauge.arc svg { width: 100%; max-width: 260px; display: block; margin: 0 auto; }
.gauge.arc .needle { transform-origin: 100px 96px; animation: swing 1.1s cubic-bezier(.22,1,.36,1) both; }
@keyframes swing { from { transform: rotate(-90deg); } }
.gauge.levels .lv { display: flex; gap: 6px; margin: 10px 0 4px; }
.gauge.levels .lv span { flex: 1; text-align: center; padding: 10px 4px; border-radius: 10px; background: var(--line); color: var(--muted); font-size: 12px; font-weight: 700; display: flex; flex-direction: column; gap: 2px; }
.gauge.levels .lv span.on { background: var(--bad); color: #fff; transform: scale(1.06); box-shadow: 0 6px 16px -8px var(--bad); }
.gauge.levels .lv span.on.l0 { background: var(--good); } .gauge.levels .lv span.on.l1 { background: var(--mid); }
.gauge.levels .lv small { font-size: 10px; font-weight: 800; opacity: .9; }
.gauge.ruler .rl { position: relative; display: flex; gap: 3px; height: 14px; margin: 34px 0 8px; }
.gauge.ruler .seg { flex: 1; border-radius: 4px; }
.gauge.ruler .s0 { background: var(--good); } .gauge.ruler .s1 { background: var(--mid); } .gauge.ruler .s2 { background: #f97316; } .gauge.ruler .s3 { background: var(--bad); }
.gauge.ruler .pin { position: absolute; top: -8px; width: 4px; height: 30px; background: var(--ink); border-radius: 2px; transform: translateX(-50%); }
.gauge.ruler .pin em { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-style: normal; font-size: 12px; font-weight: 800; background: var(--ink); color: var(--bg); padding: 3px 8px; border-radius: 6px; }

/* projeção: bars / milestones / compare / area */
.chart.bars-c { display: flex; align-items: flex-end; gap: 10px; height: 210px; padding: 34px 14px 12px; }
.bc { flex: 1; height: 100%; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.bc .col { flex: 1; width: 100%; display: flex; align-items: flex-end; }
.bc i { width: 100%; border-radius: 10px 10px 4px 4px; background: color-mix(in srgb, var(--brand) 45%, var(--surface)); position: relative; animation: grow .8s ease both; }
.bc.goal i { background: var(--good); }
.bc em { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 12px; font-weight: 800; white-space: nowrap; }
.bc span { font-size: 11px; color: var(--muted); font-weight: 700; text-align: center; }
.chart.miles { display: flex; flex-direction: column; gap: 0; padding: 18px; }
.ms { display: flex; gap: 14px; align-items: flex-start; position: relative; padding-bottom: 18px; animation: in .4s ease both; }
.ms:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--line); }
.ms i { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 900; background: var(--brand-soft); color: var(--brand); }
.ms.goal i { background: var(--good); color: #fff; }
.ms b { display: block; } .ms span { color: var(--muted); font-size: 14px; }
.legend { display: flex; gap: 14px; justify-content: center; font-size: 12px; font-weight: 700; margin-top: 4px; }
.legend span::before { content: ""; display: inline-block; width: 14px; height: 4px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.l-bad::before { background: var(--bad); } .l-good::before { background: var(--good); }
.fade { animation: fadein 1.2s ease both; } @keyframes fadein { from { opacity: 0; } }

/* loading: bars / scan / counter / checklist */
.ld { display: flex; flex-direction: column; gap: 14px; }
.lbars { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.lb-h { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.lb-h b { color: var(--brand); font-variant-numeric: tabular-nums; }
.lb.done .lb-h b { color: var(--good); }
.lb-t { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.lb-t i { display: block; height: 100%; width: 0; background: var(--brand); border-radius: 99px; }
.lb.done .lb-t i { background: var(--good); }
.orb { position: relative; width: 170px; height: 170px; margin: 10px auto; }
.orb .core { position: absolute; inset: 48px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--brand-soft), var(--brand)); box-shadow: 0 0 40px 6px color-mix(in srgb, var(--brand) 45%, transparent); animation: pulse 1.8s ease-in-out infinite; }
.orb i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--brand) 35%, transparent); animation: spin 6s linear infinite; }
.orb i:nth-child(2) { inset: 18px; animation-duration: 4s; animation-direction: reverse; border-style: dashed; }
.orb i:nth-child(3) { inset: 34px; animation-duration: 9s; }
.orb i::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
@keyframes spin { to { transform: rotate(360deg); } }
.lmsg { text-align: center; font-weight: 700; min-height: 2.6em; animation: in .3s ease; }
.pct-sm { text-align: center; color: var(--muted); font-variant-numeric: tabular-nums; }
.pct-big { text-align: center; font-size: 64px; line-height: 1; font-weight: 900; color: var(--brand); font-variant-numeric: tabular-nums; margin-top: 10px; }
.track.lt { margin: 0; height: 8px; } .track.lt .fill { width: 0; transition: none; }
.steps.spin li.cur i { border-color: var(--brand); border-top-color: transparent; animation: spin .8s linear infinite; }
.steps li.cur { color: var(--ink); }
.review.small { font-size: 13px; }
@media (prefers-reduced-motion: reduce) { .orb i, .orb .core, .steps.spin li.cur i, .gauge.arc .needle, .draw, .bc i, .cbar i { animation: none !important; } .draw { stroke-dashoffset: 0; } }

/* Pocket Lamb — hover on the cover age buttons (mouse only) */
@media (hover: hover) {
  .s-cover .opt { transition: transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease; }
  .s-cover .opt:hover { background: var(--brand); color: var(--brand-ink); transform: translateY(-2px); box-shadow: 0 6px 0 #7a3c06, 0 12px 22px -10px rgba(173,86,11,.55); }
}
