/* Tokens: identidade "rústica Aristocrata" (seção 2 do briefing) */
:root {
  --verde-mata: #0C3C21;
  --verde-oliva: #3F502F;
  --terracota: #944F32;
  --creme: #FFFBEC;
  --creme-2: #F7F4EC;
  --bege: #ECDCCC;
  --kraft: #EACEA9;
  --cinza-mato: #5B6B58;
  --alerta: #B3261E;
  --ok: #4E7D3A;
  --raio: 13px;
  --max: 420px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--creme);
  /* textura leve de papel kraft (3–5%) */
  background-image: repeating-linear-gradient(45deg, rgba(148,79,50,.035) 0 2px, transparent 2px 6px);
  color: var(--verde-mata);
  font: 400 16px/1.45 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: var(--creme); padding: 12px 16px 0; }
.logo {
  font-family: "Alfa Slab One", "Roboto Slab", serif;
  text-align: center; font-size: 20px; letter-spacing: .06em; color: var(--verde-mata);
  padding: 2px 0 10px;
}
.back {
  position: absolute; left: 10px; top: 6px; border: 0; background: none;
  font-size: 32px; line-height: 1; color: var(--verde-mata); cursor: pointer; padding: 4px 10px;
}
.progress { height: 5px; background: var(--kraft); border-radius: 99px; overflow: hidden; max-width: var(--max); margin: 0 auto; }
.progress span { display: block; height: 100%; width: 0; background: var(--verde-oliva); transition: width .35s ease; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 18px 16px 120px; }
.step { animation: in .28s ease; }
@keyframes in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Títulos */
h1 {
  font: 700 23px/1.25 Roboto, sans-serif; text-align: center; margin: 6px 0 10px;
}
h1 em { font-style: normal; color: var(--terracota); }
h1 em.dor { color: var(--alerta); }
.sub { text-align: center; color: var(--cinza-mato); font-size: 15px; margin: 0 0 16px; }
p.text { font-size: 16px; margin: 12px 0; text-align: center; }

/* Banner */
.banner {
  background: var(--verde-mata); color: var(--creme-2); border-radius: var(--raio);
  font: 800 14px/1.3 "Roboto Slab", serif; text-align: center; padding: 12px 14px; margin-bottom: 14px;
  text-transform: uppercase;
}

/* Imagem com placeholder nomeado */
.ph {
  position: relative; background: var(--kraft); border-radius: var(--raio); overflow: hidden;
  display: flex; align-items: center; justify-content: center; min-height: 140px;
  color: var(--verde-oliva); font: 600 11px/1.3 Inter, sans-serif; text-align: center; padding: 8px;
  word-break: break-all;
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph.tall { min-height: 280px; }
.ph.wide { min-height: 200px; margin: 6px 0 12px; }

/* Layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: center; }
.split .ph { height: 100%; min-height: 260px; }
.opts { display: flex; flex-direction: column; gap: 10px; }

/* Card de opção */
.opt {
  display: flex; align-items: center; gap: 10px; width: 100%;
  background: var(--creme-2); border: 1.5px solid var(--kraft); border-radius: var(--raio);
  box-shadow: 0 1px 3px rgba(12,60,33,.08);
  font: 600 15px/1.3 Inter, sans-serif; color: var(--verde-mata);
  padding: 15px 14px; text-align: left; cursor: pointer; transition: border-color .15s, background .15s;
}
.opt::after { content: "→"; margin-left: auto; color: var(--terracota); font-weight: 700; }
.opt:hover, .opt:focus-visible, .opt.sel { border-color: var(--verde-oliva); background: var(--bege); outline: none; }
.opt .ph { flex: 0 0 30%; min-height: 64px; align-self: stretch; font-size: 9px; padding: 4px; }
.opt.has-img { padding: 8px 14px 8px 8px; }

/* Faixas e caixas */
.strip { text-align: center; font-size: 14px; color: var(--cinza-mato); margin: 16px 0 0; }
.strip.hot { background: var(--bege); color: var(--terracota); font-weight: 600; padding: 10px; border-radius: var(--raio); }
.box {
  background: var(--bege); border-left: 4px solid var(--verde-oliva); border-radius: 8px;
  padding: 12px 14px; margin: 12px 0; font-size: 15px;
}

/* Rodapé legal */
.legal { margin-top: 22px; text-align: center; font-size: 12px; color: var(--cinza-mato); }
.legal p { margin: 6px 0; }
.legal a { color: var(--verde-oliva); }

/* CTA fixo no rodapé */
.cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(transparent, var(--creme) 30%);
}
.cta {
  display: block; width: 100%; max-width: 400px; margin: 0 auto; height: 56px; border: 0; border-radius: 12px;
  background: var(--terracota); color: var(--creme-2); font: 700 17px Roboto, sans-serif; cursor: pointer;
  box-shadow: 0 4px 12px rgba(148,79,50,.3);
}
.cta:active { transform: translateY(1px); }

.end { text-align: center; padding-top: 40px; }

@media (max-width: 360px) {
  h1 { font-size: 21px; }
  .split .ph { min-height: 220px; }
}

/* ================= v0.2: componentes das etapas 6–39 ================= */
.ph span { position: relative; z-index: 0; }
.ph img { z-index: 1; }
.pre { text-align: center; color: var(--cinza-mato); margin: 4px 0 0; font-size: 15px; }
.opt small { display: block; font-weight: 400; font-size: 13px; color: var(--cinza-mato); margin-top: 2px; }
.opt.chk::after { content: none; }
.box-chk {
  flex: 0 0 22px; height: 22px; border: 2px solid var(--verde-oliva); border-radius: 4px;
  display: flex; align-items: center; justify-content: center; background: var(--creme);
}
.opt.sel .box-chk { background: var(--verde-oliva); }
.opt.sel .box-chk::after { content: "✓"; color: var(--creme-2); font-style: normal; font-size: 14px; font-weight: 700; }
.cta:disabled { opacity: .45; cursor: default; }

/* Biotipos */
.bio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 6px 0 4px; }
.bio figure { margin: 0; text-align: center; filter: grayscale(1); opacity: .55; }
.bio figure.on { filter: none; opacity: 1; }
.bio .ph { min-height: 130px; border: 3px solid transparent; font-size: 9px; }
.bio figure.on .ph { border-color: var(--verde-oliva); }
.bio figcaption { font: 700 13px Roboto, sans-serif; margin-top: 4px; }

/* Roda de benefícios */
.wheel { position: relative; width: 100%; max-width: 330px; aspect-ratio: 1; margin: 0 auto 8px; border: 2px dashed var(--kraft); border-radius: 50%; }
.wheel .ph.center { position: absolute; left: 30%; top: 30%; width: 40%; height: 40%; min-height: 0; border-radius: 50%; font-size: 8px; }
.wheel > span {
  position: absolute; transform: translate(-50%, -50%); background: var(--creme-2); border: 1.5px solid var(--kraft);
  border-radius: 14px; padding: 5px 9px; font: 600 12px/1.2 Inter, sans-serif; width: max-content; max-width: 110px; text-align: center; box-shadow: 0 1px 3px rgba(12,60,33,.1);
}
.clist { list-style: none; padding: 0; margin: 12px 0; display: flex; flex-direction: column; gap: 8px; }
.clist li { background: var(--creme-2); border-left: 5px solid var(--c); border-radius: 8px; padding: 10px 12px; font-size: 15px; }

/* Linha do tempo semanal */
.weeks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.week { background: var(--creme-2); border: 1.5px solid var(--kraft); border-radius: var(--raio); overflow: hidden; }
.week b { display: block; background: var(--c); color: #fff; font: 700 13px Roboto, sans-serif; text-align: center; padding: 5px; }
.week .ph { min-height: 80px; border-radius: 0; font-size: 9px; }
.week p { margin: 0; padding: 8px 9px; font-size: 13px; line-height: 1.35; }

/* Régua */
.units { display: flex; justify-content: center; gap: 0; margin: 6px auto 10px; background: var(--bege); border-radius: 99px; padding: 4px; width: max-content; }
.units button { border: 0; background: none; padding: 7px 22px; border-radius: 99px; font: 700 14px Inter, sans-serif; color: var(--verde-mata); cursor: pointer; }
.units button.on { background: var(--verde-oliva); color: var(--creme-2); }
.rval { text-align: center; margin: 10px 0 6px; }
.rval b { font: 800 56px/1 "Roboto Slab", serif; color: var(--verde-mata); }
.rval span { font: 700 20px Roboto, sans-serif; color: var(--cinza-mato); }
.ruler {
  position: relative; height: 86px; overflow: hidden; background: var(--creme-2); border: 1.5px solid var(--kraft);
  border-radius: var(--raio); touch-action: none; cursor: grab; user-select: none; outline: none;
}
.ruler:focus-visible { border-color: var(--verde-oliva); }
.ticks {
  position: absolute; left: 0; top: 0; height: 100%; will-change: transform;
  background:
    repeating-linear-gradient(90deg, var(--verde-mata) 0 2px, transparent 2px calc(var(--px) * 10)) var(--off) 0 / 100% 38px no-repeat,
    repeating-linear-gradient(90deg, var(--cinza-mato) 0 1px, transparent 1px var(--px)) 0 0 / 100% 20px no-repeat;
}
.ticks i { position: absolute; top: 46px; transform: translateX(-50%); font: 600 12px Inter, sans-serif; font-style: normal; color: var(--cinza-mato); }
.needle { position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: var(--terracota); border-radius: 2px; }
.needle::before { content: ""; position: absolute; top: 0; left: -6px; border: 7px solid transparent; border-top-color: var(--terracota); }
.hint { text-align: center; font-size: 13px; color: var(--cinza-mato); margin: 8px 0 14px; }
.note { text-align: center; font-size: 14px; margin: 6px 0; }

/* Gráficos */
.ctitle { text-align: center; font: 700 15px Roboto, sans-serif; margin: 14px 0 6px; }
.chartbox { background: var(--creme-2); border: 1.5px solid var(--kraft); border-radius: var(--raio); padding: 8px; margin: 8px 0; }
.svgc { width: 100%; height: auto; display: block; }
.svgc .grid line { stroke: var(--kraft); stroke-width: 1; stroke-dasharray: 3 4; }
.svgc text { font: 600 11px Inter, sans-serif; fill: var(--cinza-mato); }
.svgc .draw { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.6s ease forwards .2s; }
.svgc .draw.slow { animation-duration: 2s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.tag { display: inline-block; font: 700 11px Inter, sans-serif; color: #fff; padding: 5px 8px; border-radius: 6px; white-space: nowrap; }
.tag.red { background: var(--alerta); } .tag.green { background: var(--ok); } .tag.dark { background: var(--verde-mata); }
p.ok { text-align: center; color: var(--ok); font: 700 17px Roboto, sans-serif; margin: 12px 0 4px; }

/* Loading */
.lbar { height: 14px; background: var(--kraft); border-radius: 99px; overflow: hidden; margin: 18px 0 6px; }
.lbar span { display: block; height: 100%; width: 0; background: var(--verde-oliva); transition: width .1s linear; }
.pct { text-align: center; font: 800 28px "Roboto Slab", serif; margin: 4px 0; }
.lmsg { text-align: center; color: var(--cinza-mato); min-height: 22px; margin: 0 0 12px; }
.caption { text-align: center; font-size: 13px; color: var(--cinza-mato); margin: 4px 0; }
.seal { text-align: center; font: 700 14px Roboto, sans-serif; color: var(--verde-oliva); margin: 12px 0; }

/* Perfil */
.card { background: var(--creme-2); border: 1.5px solid var(--kraft); border-radius: var(--raio); padding: 14px; margin: 10px 0; }
.clabel { margin: 0 0 58px; font: 700 15px Roboto, sans-serif; text-align: center; }
.imc { position: relative; height: 12px; }
.imcbar { height: 12px; border-radius: 99px; background: linear-gradient(90deg, #3B6EA5 0 14%, var(--ok) 14% 40%, #C89B2C 40% 60%, var(--alerta) 60% 100%); }
.mark { position: absolute; top: -6px; width: 0; }
.mark::before { content: ""; position: absolute; left: -9px; top: 0; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--verde-mata); box-sizing: border-box; }
.mark b { position: absolute; bottom: 22px; transform: translateX(-50%); white-space: nowrap; background: var(--verde-mata); color: #fff; font: 700 12px Inter, sans-serif; padding: 3px 7px; border-radius: 6px; }
.imcl { display: grid; grid-template-columns: 14fr 26fr 20fr 40fr; margin-top: 8px; font: 600 9px Inter, sans-serif; color: var(--cinza-mato); text-align: center; }
.alert { background: #FBEAE8; border: 1.5px solid var(--alerta); border-radius: var(--raio); padding: 12px 14px; font-size: 14.5px; margin: 12px 0; }
.alert b { color: var(--alerta); }
.metrics { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.metrics li { display: flex; gap: 12px; align-items: center; background: var(--creme-2); border: 1.5px solid var(--kraft); border-radius: var(--raio); padding: 10px 12px; font-size: 13px; color: var(--cinza-mato); }
.metrics b { display: block; color: var(--verde-mata); font: 700 15px Roboto, sans-serif; }
.mi { font-size: 22px; }

/* Resumo (37) */
.sum { background: var(--creme-2); border: 1.5px solid var(--kraft); border-radius: var(--raio); padding: 12px; }
.sum .cols { display: grid; grid-template-columns: 1fr 1fr; text-align: center; font: 700 15px Roboto, sans-serif; margin-bottom: 8px; }
.pics { display: grid; grid-template-columns: 1fr 26px 1fr; align-items: center; gap: 6px; }
.pics .ph { min-height: 150px; font-size: 9px; }
.arrow { color: var(--verde-oliva); font-size: 22px; text-align: center; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-top: 1px dashed var(--kraft); padding: 8px 0; margin-top: 6px; }
.row small { display: block; color: var(--cinza-mato); font-size: 12px; }
.row b { font: 700 15px Roboto, sans-serif; }
.lv { display: flex; gap: 3px; margin-top: 4px; }
.lv u { flex: 1; height: 6px; border-radius: 3px; background: var(--kraft); text-decoration: none; }
.lv u.on { background: var(--verde-oliva); }
.seal2 { text-align: center; font-size: 13px; color: var(--ok); font-weight: 600; }

/* VSL */
.vsl { position: relative; width: 100%; max-width: 400px; aspect-ratio: 9 / 16; margin: 8px auto 14px; border-radius: var(--raio); overflow: hidden; background: var(--verde-mata); }
.vsl video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--kraft); font: 600 12px Inter, sans-serif; background: #173f27; }
.sound {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border: 0; cursor: pointer;
  background: var(--terracota); color: var(--creme-2); font: 700 17px Roboto, sans-serif; padding: 16px 22px; border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.35); animation: pulse 1.6s infinite; white-space: nowrap;
}
@keyframes pulse { 50% { transform: translate(-50%, -50%) scale(1.05); } }
.resume { position: absolute; inset: 0; background: rgba(12,60,33,.92); color: var(--creme-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; text-align: center; }
.resume button { width: 80%; height: 46px; border: 0; border-radius: 10px; font: 700 15px Roboto, sans-serif; cursor: pointer; background: var(--terracota); color: var(--creme-2); }
.resume button + button { background: var(--creme-2); color: var(--verde-mata); }
.vbar { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: rgba(255,255,255,.2); }
.vbar span { display: block; height: 100%; width: 0; background: var(--terracota); }

/* Oferta */
.offer.shown { animation: in .5s ease; }
.oblock { background: var(--creme-2); border: 2px solid var(--terracota); border-radius: var(--raio); padding: 16px 14px; margin: 16px 0; text-align: center; }
.scar { color: var(--alerta); font-weight: 700; margin: 0 0 8px; }
.price { margin: 4px 0; font-size: 16px; }
.price s { color: var(--cinza-mato); }
.price b { display: block; font: 800 38px/1.1 "Roboto Slab", serif; color: var(--verde-mata); }
.today { margin: 2px 0; font-size: 14px; color: var(--terracota); font-weight: 600; }
.pay { margin: 2px 0 12px; font-size: 13px; color: var(--cinza-mato); }
a.cta { display: flex; align-items: center; justify-content: center; text-decoration: none; height: auto; min-height: 56px; padding: 10px 14px; line-height: 1.2; }
.sec { font-size: 12px; color: var(--cinza-mato); margin: 10px 0 0; }
.osec { margin: 22px 0; }
.osec h2 { font: 800 21px/1.25 "Roboto Slab", serif; text-align: center; margin: 0 0 12px; }
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.checks li { position: relative; padding: 10px 12px 10px 40px; background: var(--creme-2); border: 1.5px solid var(--kraft); border-radius: var(--raio); font-size: 14.5px; }
.checks li::before { content: "✓"; position: absolute; left: 12px; top: 9px; width: 20px; height: 20px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.testi { display: grid; grid-template-columns: 90px 1fr; gap: 10px; background: var(--creme-2); border: 1.5px solid var(--kraft); border-radius: var(--raio); padding: 10px; margin-bottom: 10px; }
.testi .ph { min-height: 90px; font-size: 8px; }
.testi p { margin: 4px 0 0; font-size: 14px; }
.bonus { background: var(--bege); border-left: 4px solid var(--terracota); border-radius: 8px; padding: 12px; margin-bottom: 10px; }
.bonus p { margin: 6px 0 0; font-size: 14px; }
.guar { display: grid; grid-template-columns: 100px 1fr; gap: 12px; align-items: center; background: var(--creme-2); border: 1.5px dashed var(--verde-oliva); border-radius: var(--raio); padding: 12px; }
.guar .ph { min-height: 100px; border-radius: 50%; font-size: 8px; }
.guar p { margin: 0; font-size: 14px; }
.expect { padding-left: 0; list-style: none; counter-reset: e; margin: 0; }
.expect li { counter-increment: e; position: relative; padding: 10px 12px 10px 44px; margin-bottom: 8px; background: var(--creme-2); border-radius: var(--raio); font-size: 14.5px; }
.expect li::before { content: counter(e); position: absolute; left: 12px; top: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--verde-oliva); color: #fff; font: 700 13px Roboto, sans-serif; display: flex; align-items: center; justify-content: center; }
details { background: var(--creme-2); border: 1.5px solid var(--kraft); border-radius: var(--raio); margin-bottom: 8px; }
summary { cursor: pointer; padding: 13px 14px; font-weight: 600; font-size: 15px; list-style: none; }
summary::-webkit-details-marker { display: none; }
details p { margin: 0; padding: 0 14px 13px; font-size: 14px; color: var(--cinza-mato); }

/* Planos (39) */
.timer { background: var(--alerta); color: #fff; text-align: center; padding: 10px; border-radius: var(--raio); font-weight: 600; }
.timer b { font: 800 20px "Roboto Slab", serif; }
.plans { display: flex; flex-direction: column; gap: 22px; margin-top: 18px; }
.plan { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 2px 10px; background: var(--creme-2); border: 2px solid var(--kraft); border-radius: var(--raio); padding: 20px 14px 12px; cursor: pointer; }
.plan.on { border-color: var(--verde-oliva); background: var(--bege); }
.plan input { grid-row: span 3; accent-color: var(--verde-oliva); width: 20px; height: 20px; margin: 2px 0 0; }
.pn { font: 700 16px Roboto, sans-serif; }
.pp s { color: var(--cinza-mato); font-size: 13px; }
.pp b { font: 800 20px "Roboto Slab", serif; }
.plan small { color: var(--ok); font-weight: 600; }
.badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--terracota); color: var(--creme-2); font: 700 11px Inter, sans-serif; font-style: normal; padding: 4px 10px; border-radius: 99px; }

em { font-style: normal; color: var(--terracota); font-weight: 700; }
em.dor { color: var(--alerta); }
[hidden] { display: none !important; }

/* ===== Etapa 1: banner em imagem + personagem integrado ao fundo ===== */
.banner-img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; margin: 0 0 4px; }
.hero-split { grid-template-columns: 1.05fr .95fr; align-items: stretch; gap: 4px; }
.hero-split .opts { position: relative; z-index: 2; align-self: center; }
.hero { position: relative; min-height: 330px; margin-right: -16px; }
.hero::before { /* luz quente de fim de tarde atrás dele */
  content: ""; position: absolute; left: -10%; right: -5%; top: 8%; bottom: 0;
  background: radial-gradient(ellipse at 55% 45%, rgba(234,206,169,.75), rgba(236,220,204,.35) 45%, transparent 70%);
}
.hero img {
  position: absolute; right: 0; bottom: 0; height: 100%; width: auto; max-width: none;
  mix-blend-mode: multiply; /* some o fundo branco da foto */
  transform: scaleX(-1); /* espelhado: punho levantado do outro lado */
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 98%);
          mask-image: linear-gradient(to bottom, #000 72%, transparent 98%);
}
.hero.missing { background: var(--kraft); border-radius: var(--raio); margin-right: 0; }
.hero.missing img { display: none; }

/* Texto escuro com negrito (etapa 2) */
p.text.dark { color: #111; font-size: 17px; }
p.text strong, .box strong { font-weight: 700; color: #111; }
h1 { font-weight: 800; }

/* Personagem de corpo inteiro à esquerda (etapa 3) */
.hero-left { grid-template-columns: .95fr 1.05fr; }
.hero-left .hero { margin-right: 0; margin-left: -16px; }
.hero-left .hero img { right: auto; left: 0; }
.hero.full img { -webkit-mask-image: none; mask-image: none; height: 100%; }
.hero.full::after { /* sombra no chão */
  content: ""; position: absolute; left: 4%; width: 92%; bottom: -2px; height: 18px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(60,40,20,.28), transparent 70%);
}
/* ajuste: aproveita o espaço branco da foto e assenta as botas na sombra */
.hero-left { grid-template-columns: 1.1fr .9fr; }
.hero-left .hero.full img { height: 112%; bottom: -9%; }
.hero.full::after { bottom: 2px; }

/* etapa 3: foto sem espelhar (o espelho vale só para a etapa 1) */
.hero-left .hero img { transform: scaleX(1); }

/* Foto de fundo branco integrada à página (etapa 4) */
.ph.blend { background: transparent; }
.ph.blend span { display: none; }
.ph.blend img { object-fit: contain; mix-blend-mode: multiply; transform: scaleX(1); }

/* Fotos das opções em pé (etapa 5) */
.thumbs-v .opt.has-img { padding: 6px 14px 6px 6px; min-height: 128px; font-size: 16px; }
.thumbs-v .opt .ph {
  flex: 0 0 96px; width: 96px; height: 116px; min-height: 0; align-self: center;
  background: var(--bege); border-radius: 10px; padding: 0;
}
.thumbs-v .opt .ph span { display: none; }
.thumbs-v .opt .ph img { object-fit: cover; object-position: 50% 30%; mix-blend-mode: multiply; transform: scaleX(1); }
.thumbs-v .opt.sel .ph, .thumbs-v .opt:hover .ph { background: var(--kraft); }

/* 5a: puxa o enquadramento para mostrar o "antes" (silhueta gorda) atrás */
[data-step="5"] .opt:first-child .ph img { object-position: 22% 30%; }

/* fotos já em retrato (etapa 9): mostra a área marcada inteira */
[data-step="9"] .thumbs-v .opt .ph img { object-fit: contain; object-position: center; }

/* etapa 19: foto já ocupa a altura toda, sem esticar */
[data-step="19"] .hero-left .hero.full img { height: 100%; bottom: 0; }
[data-step="19"] .hero { min-height: 360px; }

/* etapa 23: fotos quadradas inteiras nos cards das semanas */
.week .ph { aspect-ratio: 1 / 1; min-height: 0; }

/* etapa 29: fotos de comida já têm fundo próprio, sem mistura de cor */
[data-step="29"] .thumbs-v .opt .ph img { mix-blend-mode: normal; object-position: center; }

/* etapa 29: cards um pouco menores para caber sem rolar */
[data-step="29"] .thumbs-v .opt.has-img { min-height: 96px; padding: 5px 12px 5px 5px; }
[data-step="29"] .thumbs-v .opt .ph { flex-basis: 74px; width: 74px; height: 86px; }
[data-step="29"] .opts { gap: 8px; }
[data-step="29"] h1 { margin-bottom: 8px; }

/* Gráfico de evolução (etapa 31): curva em S, desenho mais lento */
.svgc.evo .draw { stroke-dasharray: 520; stroke-dashoffset: 520; animation: draw 3.2s cubic-bezier(.45,.05,.35,1) forwards .3s; }
.svgc.evo .draw.red { animation-duration: 3.2s; }
.svgc.evo .area { opacity: 0; animation: fadein 1.4s ease forwards 2.4s; }
.svgc.evo .pin { opacity: 0; animation: fadein .5s ease forwards 2.6s; }
.svgc.evo .you { font: 800 13px Roboto, sans-serif; fill: var(--verde-mata); }
@keyframes fadein { to { opacity: 1; } }
.tag.right { float: right; }

/* Antes e depois passando (etapa 32) */
.slides { position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: var(--raio); overflow: hidden; background: var(--bege); margin: 6px 0 4px; box-shadow: 0 2px 8px rgba(12,60,33,.12); }
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; }
.slides img.on { opacity: 1; }

/* etapa 37: imagem única de antes e depois */
.sum .pic1 { margin: 0 0 6px; border-radius: 10px; }

/* ===== Teste de tipografia (etapa 1): Poppins, números mais "tratados" ===== */
[data-step="1"] h1 { font-family: Poppins, Roboto, sans-serif; font-weight: 700; font-size: 22px; letter-spacing: -.01em; }
[data-step="1"] h1 em { font-weight: 800; }
[data-step="1"] .opt {
  font-family: Poppins, Inter, sans-serif; font-weight: 700; font-size: 19px; letter-spacing: -.01em;
  color: var(--verde-mata); background: #fff; border: 1.5px solid var(--kraft);
  padding: 18px 16px; box-shadow: 0 2px 6px rgba(12,60,33,.07);
}
[data-step="1"] .opt::after { content: "→"; color: var(--verde-oliva); font-weight: 600; font-size: 20px; }
[data-step="1"] .opt:hover, [data-step="1"] .opt.sel { border-color: var(--verde-oliva); background: var(--bege); }
.strip.boxed {
  background: var(--bege); border: 1.5px solid var(--kraft); border-radius: var(--raio);
  color: var(--verde-mata); font: 600 14px/1.4 Poppins, Inter, sans-serif; padding: 12px 14px; margin-top: 14px;
}
[data-step="1"] .legal { font-family: Poppins, Inter, sans-serif; }
/* ajuste: idade sempre numa linha só */
[data-step="1"] .opt { font-size: 17px; padding: 17px 14px; white-space: nowrap; gap: 6px; }
[data-step="1"] .opt::after { font-size: 18px; }

/* ===== Tipografia do quiz inteiro: Poppins (aprovada no teste da etapa 1) ===== */
body { font-family: Poppins, Inter, system-ui, sans-serif; }
h1 { font-family: Poppins, Roboto, sans-serif; font-weight: 700; letter-spacing: -.01em; }
h1 em { font-weight: 800; }
.opt { font-family: Poppins, Inter, sans-serif; font-weight: 700; color: var(--verde-mata); }
.opt small { font-weight: 400; }
.cta, .units button, .resume button { font-family: Poppins, Roboto, sans-serif; font-weight: 700; }
.osec h2, .ctitle, .clabel, .metrics b, .row b, .pn, .week b, .bio figcaption, p.ok, .seal, .timer { font-family: Poppins, Roboto, sans-serif; }
.rval b, .pct, .price b, .pp b, .timer b { font-family: Poppins, sans-serif; font-weight: 800; }
.tag, .mark b, .badge, .wheel > span, .svgc text { font-family: Poppins, Inter, sans-serif; }
/* espaço no fim da página só quando há botão fixo (evita rolagem à toa) */
.wrap { padding-bottom: 28px; }
.step:has(.cta-bar) { padding-bottom: 92px; }
/* etapa 9: cards um tico menores para não ficar atrás do botão */
[data-step="9"] .thumbs-v .opt.has-img { min-height: 118px; }
[data-step="9"] .thumbs-v .opt .ph { height: 106px; }

/* etapa 2: título um pouco maior */
[data-step="2"] h1 { font-size: 26px; line-height: 1.22; }

/* Barra da VSL em vermelho */
.vbar { height: 7px; background: rgba(255,255,255,.22); }
.vbar span { background: var(--alerta); transition: width .25s linear; }

/* Depoimentos: foto de antes e depois grande, com selo "Imagem ilustrativa" */
.testi { grid-template-columns: 1fr; padding: 10px; }
.testi .tpic { position: relative; }
.testi .ph { min-height: 0; aspect-ratio: 896 / 1200; font-size: 11px; }
.ilus { position: absolute; left: 8px; bottom: 8px; background: rgba(12,60,33,.82); color: #fff; font: 600 11px Poppins, sans-serif; padding: 3px 8px; border-radius: 6px; }
/* Selo de garantia (PNG com fundo branco) */
.guar { grid-template-columns: 110px 1fr; }
.guar .ph { min-height: 0; aspect-ratio: 1 / 1; border-radius: 0; background: transparent; }
.guar .ph span { display: none; }
.guar .ph img { object-fit: contain; mix-blend-mode: multiply; }
.ilus { z-index: 2; }
.bonus b { text-transform: uppercase; }

/* ===== Bônus: número + ícone redondo no tema ===== */
.bonus { position: relative; display: grid; grid-template-columns: 54px 1fr; gap: 12px; align-items: center;
  background: var(--creme-2); border: 1.5px solid var(--kraft); border-left: 1.5px solid var(--kraft); border-radius: var(--raio);
  padding: 18px 14px 16px; margin: 0 0 16px 6px; }
.bnum { position: absolute; top: -10px; left: -8px; width: 24px; height: 24px; border-radius: 7px; background: var(--terracota);
  color: var(--creme-2); font: 800 13px Poppins, sans-serif; display: flex; align-items: center; justify-content: center; }
.bico { width: 54px; height: 54px; border-radius: 50%; background: var(--bege); color: var(--verde-oliva); display: flex; align-items: center; justify-content: center; }
.bonus b { display: block; font: 800 14px/1.25 Poppins, sans-serif; color: var(--verde-mata); text-transform: uppercase; }
.bonus p { margin: 5px 0 0; font-size: 14px; color: var(--cinza-mato); }

/* ===== FAQ com setinha ===== */
summary { display: flex; align-items: center; gap: 10px; }
summary span { flex: 1; }
.chev { flex: 0 0 auto; color: var(--terracota); transition: transform .2s ease; }
details[open] .chev { transform: rotate(180deg); }

/* ===== Bandeiras e pagamento seguro ===== */
.pays { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 6px 0 10px; }
.bp { display: inline-flex; align-items: center; justify-content: center; gap: 2px; width: 58px; height: 34px; border-radius: 6px;
  background: #fff; border: 1px solid #e3dccf; font: 800 12px/1 Arial, Helvetica, sans-serif; color: #222; text-align: center; }
.bp.visa { color: #1A1F71; font-style: italic; font-size: 15px; }
.bp.mc i { display: block; width: 16px; height: 16px; border-radius: 50%; }
.bp.amex { background: #2E77BB; color: #fff; font-size: 7.5px; line-height: 1.05; border-color: #2E77BB; }
.bp.elo { background: #111; color: #fff; font-size: 15px; text-transform: lowercase; }
.bp.pix { color: #32BCAD; font-size: 13px; }
.bp.ppl b { color: #003087; font-style: italic; font: italic 800 11px/1 Arial, Helvetica, sans-serif; }
.bp.disc { font-size: 9px; }
.paysafe { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 8px; padding: 12px;
  background: #EEF5E8; border: 1.5px solid #cfe0c2; border-radius: var(--raio); color: var(--verde-mata); font: 700 15px Poppins, sans-serif; }
.paysafe svg { color: var(--ok); }
.bp.ppl { font-size: 11px; }
.bp.ap { font-size: 13px; gap: 1px; }

/* Barra vermelha com timer (oferta) */
.tbar { position: fixed; top: 0; left: 0; right: 0; z-index: 20; background: #D9534F; color: #fff; text-align: center;
  font: 600 14px/1.2 Poppins, sans-serif; padding: 10px 12px; box-shadow: 0 2px 8px rgba(0,0,0,.15); animation: in .35s ease; }
.tbar b { font-weight: 800; font-size: 15px; margin-left: 2px; }
body.has-tbar { padding-top: 40px; }
body.has-tbar .top { top: 40px; }

/* Página da oferta: só a barra vermelha fica fixa; o cabeçalho rola junto com a página */
body.on-offer .top { position: static; }
body.on-offer .back { display: none; }

/* Página da oferta: esconde a barra de rolagem para a faixa vermelha ir de ponta a ponta */
html:has(body.on-offer) { scrollbar-width: none; }
html:has(body.on-offer)::-webkit-scrollbar { display: none; width: 0; height: 0; }
.tbar { left: 0; right: 0; width: 100%; margin: 0; }
