:root {
  --white: #ffffff;
  --blush: #fff1f5;
  --petal: #ffdfe9;
  --rose: #f7b6ca;
  --pink: #c92a63;
  --pink-dark: #a81f50;
  --ink: #33202a;
  --muted: #6e5a64;
  --line: #f3d9e2;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 16px/1.55 var(--font);
  min-height: 100dvh;
  overflow-x: hidden;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }

#ribbon { background: var(--ink); color: #fff; font-size: 11.5px; text-align: center; padding: 5px 12px; }
#app { outline: none; }
.wrap { width: 100%; max-width: 460px; margin: 0 auto; padding: 20px 20px calc(36px + env(safe-area-inset-bottom)); }

/* Barra de etapas */
#bar { position: sticky; top: 0; z-index: 2; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
#bar[hidden] { display: none; }
.barTop { display: grid; grid-template-columns: 36px 1fr 36px; align-items: center; max-width: 460px; margin: 0 auto; padding: 6px 12px 0; }
.back { width: 36px; height: 36px; border: 0; background: none; font-size: 19px; color: var(--muted); border-radius: 8px; }
.logo { text-align: center; font-weight: 800; font-size: 15px; color: var(--pink); }
.count { text-align: right; font-size: 12px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; max-width: 460px; margin: 0 auto; padding: 6px 20px 11px; }
.stages li { font-size: 11px; font-weight: 600; color: #a08d96; text-align: center; }
.stages li.now { color: var(--pink); }
.stages li.done { color: var(--ink); }
.stages i { display: block; height: 5px; margin-bottom: 5px; border-radius: 3px; background: var(--petal); overflow: hidden; }
.stages b { display: block; height: 100%; border-radius: 3px; background: var(--pink); width: 0; transition: width .5s var(--ease); }

/* Tipografia */
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pink); }
.title { font-size: 28px; line-height: 1.16; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
.title em { font-style: normal; color: var(--pink); }
.ln { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.ln > span { display: inline-block; }
.lead { color: var(--muted); }
.hint { color: var(--muted); font-size: 15px; margin-top: 8px; }
.fine { font-size: 12.5px; line-height: 1.5; color: var(--muted); }

/* Abertura */
.intro .wrap { padding-top: 16px; }
.hero { position: relative; width: 100%; max-width: 300px; aspect-ratio: 1; margin: 0 auto 6px; overflow: hidden; }
.halo { position: absolute; left: 12%; top: 9%; width: 76%; aspect-ratio: 1; border-radius: 50%; background: #fbb6c9; animation: halo 6s ease-in-out infinite; }
.char { position: absolute; inset: 0; transform-origin: 50% 100%; animation: breathe 4.6s ease-in-out infinite; }
.char img, .headwrap { position: absolute; inset: 0; width: 100%; height: 100%; }
.headwrap { transform-origin: 49% 36%; animation: nod 7s ease-in-out infinite; }
.lid { position: absolute; width: 6.4%; height: 3.4%; border-radius: 50%; background: #f8a971; border-bottom: 1.5px solid #4a2a20; transform-origin: 50% 0; animation: blink 5.2s ease-in-out infinite; }
.lid.l { left: 44.8%; top: 17%; --tilt: -3deg; }
.lid.r { left: 53.2%; top: 18.8%; --tilt: 6deg; }
.steam { position: absolute; inset: 0; width: 100%; height: 100%; }
.steam path { fill: none; stroke: #fff; stroke-width: 1.3; stroke-linecap: round; opacity: 0; animation: steam 3.6s ease-in-out infinite; }
.steam path:nth-child(2) { animation-delay: .9s; }
.steam path:nth-child(3) { animation-delay: 1.8s; }
@keyframes halo { 50% { transform: scale(1.035); } }
@keyframes breathe {
  0%, 100% { transform: scale(1, 1) rotate(-.5deg); }
  50% { transform: scale(1.007, 1.018) rotate(.6deg); }
}
@keyframes nod {
  0%, 100% { transform: rotate(-1.1deg); }
  50% { transform: rotate(1.4deg); }
}
@keyframes blink {
  0%, 90%, 100% { transform: rotate(var(--tilt)) scaleY(0); }
  93%, 95% { transform: rotate(var(--tilt)) scaleY(1); }
}
@keyframes steam {
  0% { opacity: 0; transform: translateY(5%); }
  35% { opacity: .75; }
  100% { opacity: 0; transform: translateY(-7%); }
}
.intro h1 { font-size: 34px; line-height: 1.12; font-weight: 800; letter-spacing: -.025em; text-wrap: balance; }
.intro h1 em { font-style: normal; color: var(--pink); }
.intro .lead { margin: 12px 0 18px; font-size: 16.5px; }
.who { display: flex; gap: 11px; align-items: center; margin-top: 16px; font-size: 13px; line-height: 1.35; color: var(--muted); }
.who strong { color: var(--ink); font-weight: 700; }
.mono { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--petal); color: var(--pink); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.intro .fine { margin-top: 12px; }

/* Botões */
.btn {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 14px;
  background: var(--pink);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  padding: 17px 18px;
  text-align: center;
  box-shadow: 0 10px 22px -12px rgba(201, 42, 99, .75);
  transition: transform .16s var(--ease), background .16s ease, opacity .2s ease;
}
.btn:active { transform: scale(.98); background: var(--pink-dark); }
.btn[disabled] { opacity: .4; box-shadow: none; cursor: not-allowed; }
.btn.ghost { background: none; box-shadow: none; color: var(--muted); font-weight: 500; font-size: 14.5px; text-decoration: underline; text-underline-offset: 3px; padding: 13px 10px; }

/* Perguntas */
.q .title { margin-top: 8px; }
.opts { display: grid; gap: 10px; margin-top: 20px; }
.opt {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 58px;
  text-align: left;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 600;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color .15s ease, background .15s ease, transform .15s var(--ease);
}
.opt:active { transform: scale(.985); }
@media (hover: hover) { .opt:hover { border-color: var(--rose); } }
.opt[aria-pressed="true"] { border-color: var(--pink); background: var(--blush); color: var(--pink-dark); }
.opt .box { flex: none; width: 22px; height: 22px; border: 1.5px solid var(--rose); border-radius: 7px; display: grid; place-items: center; color: transparent; font-size: 13px; line-height: 1; }
.opt[aria-pressed="true"] .box { background: var(--pink); border-color: var(--pink); color: #fff; }
.q .btn { margin-top: 18px; }

/* Altura e peso */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.pair label, .solo label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field { width: 100%; margin-top: 6px; padding: 15px 14px; font-size: 19px; font-weight: 600; background: var(--white); border: 1.5px solid var(--line); border-radius: 14px; }
.field:focus { border-color: var(--pink); outline: none; }
.err { min-height: 20px; margin-top: 8px; font-size: 13.5px; color: var(--pink-dark); }

/* Antes e depois da rotina */
.compare { touch-action: pan-y; user-select: none; cursor: ew-resize; position: relative; margin-top: 18px; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--petal); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .after { clip-path: inset(0 0 0 var(--cut, 50%)); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--cut, 50%); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(51, 32, 42, .14); pointer-events: none; }
.compare .handle::after { content: "↔"; position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; font-size: 17px; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.compare img { pointer-events: none; -webkit-user-drag: none; }
.tag { position: absolute; top: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 12px; font-weight: 700; pointer-events: none; }
.tag.l { left: 10px; }
.tag.r { right: 10px; color: var(--pink); }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; font-size: 14px; line-height: 1.35; }
.cols h3 { font-size: 13.5px; font-weight: 800; margin-bottom: 6px; }
.cols li { margin-bottom: 5px; color: var(--muted); }
.cols .good h3 { color: var(--pink); }
.note { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

/* Duelo */
.duel { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.pick { min-height: 112px; padding: 14px; background: var(--white); border: 1.5px solid var(--line); border-radius: 16px; font-weight: 700; font-size: 16px; line-height: 1.25; text-align: left; display: flex; align-items: flex-end; transition: border-color .25s ease, background .25s ease, opacity .25s ease; }
.pick.right { border-color: var(--pink); background: var(--blush); color: var(--pink-dark); }
.pick.dim { opacity: .45; }
.verdict b { display: block; font-size: 20px; font-weight: 800; margin: 16px 0 4px; }
.verdict .btn { margin-top: 16px; }

/* Prato */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 14px; font-size: 14.5px; font-weight: 600; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.chip[aria-pressed="true"] { background: var(--pink); border-color: var(--pink); color: #fff; }

/* Análise */
.loading { min-height: 70dvh; display: flex; flex-direction: column; justify-content: center; }
.meter { height: 10px; margin-top: 22px; border-radius: 5px; background: var(--petal); overflow: hidden; }
.meter b { display: block; height: 100%; width: 0; border-radius: 5px; background: var(--pink); }
.loading ul { margin-top: 18px; display: grid; gap: 10px; color: var(--muted); }
.loading li { opacity: .35; transition: opacity .3s ease; }
.loading li.on { opacity: 1; color: var(--ink); font-weight: 600; }

/* Resultado */
.badge { background: var(--blush); border-radius: 20px; padding: 22px 20px; text-align: center; }
.badge small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pink); }
.badge strong { display: block; margin: 6px 0 2px; font-size: 38px; line-height: 1.08; font-weight: 800; letter-spacing: -.025em; }
.badge span { color: var(--muted); font-weight: 600; }
.sec { margin-top: 28px; }
.sec h3 { font-size: 21px; font-weight: 800; letter-spacing: -.015em; margin-bottom: 12px; }
.bars { display: grid; gap: 13px; }
.bars div > p { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; font-weight: 600; margin-bottom: 5px; }
.bars span { color: var(--pink-dark); font-size: 13px; }
.bars i { display: block; height: 9px; border-radius: 5px; background: var(--petal); overflow: hidden; }
.bars b { display: block; height: 100%; border-radius: 5px; background: var(--pink); width: 0; transition: width 1.1s var(--ease); }
.steps { counter-reset: s; display: grid; gap: 13px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; gap: 10px; color: var(--muted); }
.steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: var(--petal); color: var(--pink); font-weight: 800; font-size: 14px; display: grid; place-items: center; }

/* Oferta */
.offer { margin-top: 30px; background: var(--blush); border: 1.5px solid var(--rose); border-radius: 20px; padding: 24px 20px 20px; }
.offer h3 { font-size: 30px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 8px; }
.offer p { color: var(--muted); }
.ticks { display: grid; gap: 10px; margin: 16px 0; }
.ticks li { padding-left: 24px; position: relative; line-height: 1.36; font-size: 15px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--pink); font-weight: 800; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 14px; }
.price b { font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.price span { color: var(--muted); font-size: 14px; }
.offer .fine { margin-top: 12px; text-align: center; }

/* Página de vendas */
.sales { padding-bottom: 92px; }
.sHero { background: linear-gradient(180deg, var(--blush), var(--white)); }
.sHero h1 { font-size: 33px; line-height: 1.13; font-weight: 800; letter-spacing: -.025em; text-wrap: balance; margin-top: 8px; }
.sHero h1 em { font-style: normal; color: var(--pink); }
.sHero .lead { margin-top: 12px; }
.bookWrap { display: grid; place-items: center; margin: 26px 0 22px; perspective: 900px; }
.book {
  position: relative;
  overflow: hidden;
  width: 214px;
  aspect-ratio: 3 / 4.2;
  padding: 18px 16px 0 26px;
  border-radius: 4px 12px 12px 4px;
  background: linear-gradient(165deg, #d9407a, #a81f50);
  color: #fff;
  box-shadow: 18px 22px 34px -14px rgba(120, 20, 60, .55);
  transform: rotateY(-13deg);
  animation: bookFloat 5.5s ease-in-out infinite;
}
.book .spine { position: absolute; left: 0; top: 0; bottom: 0; width: 12px; background: rgba(0, 0, 0, .16); }
.bTop { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.bTitle { font-size: 24px; line-height: 1.08; font-weight: 800; letter-spacing: -.02em; margin-top: 8px; }
.bSub { font-size: 12px; font-weight: 600; margin-top: 6px; opacity: .9; }
.bArt { position: absolute; left: 15%; right: 3%; bottom: 0; aspect-ratio: 1; }
.bArt img { position: absolute; inset: 0; width: 100%; height: 100%; }
@keyframes bookFloat { 50% { transform: rotateY(-9deg) translateY(-6px); } }
.price.center { justify-content: center; margin-top: 4px; }
.price.center b { color: var(--ink); }
.fine.center { text-align: center; }
.sales .sec .title { font-size: 25px; }
.sales .ticks { margin-bottom: 0; }
.chapters { counter-reset: c; display: grid; gap: 10px; }
.chapters li { counter-increment: c; display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; padding: 12px 14px; background: var(--blush); border-radius: 14px; }
.chapters li::before { content: counter(c); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; background: var(--pink); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.chapters b { font-weight: 700; line-height: 1.3; }
.chapters span { font-size: 14.5px; line-height: 1.35; color: var(--muted); }
.swap { display: grid; grid-template-columns: 1fr 22px 1fr; gap: 6px; align-items: center; margin-top: 14px; text-align: center; font-weight: 700; line-height: 1.25; }
.swap p { padding: 14px 10px; border-radius: 14px; }
.swap .from { background: #f7f3f5; color: var(--muted); }
.swap .to { background: var(--blush); color: var(--pink-dark); border: 1.5px solid var(--pink); }
.swap span { color: var(--pink); font-size: 19px; }
.author { display: grid; grid-template-columns: 42px 1fr; gap: 10px 12px; align-items: center; padding: 16px; border: 1.5px solid var(--line); border-radius: 18px; }
.author h3 { font-size: 17px; margin: 0; }
.author .lead { grid-column: span 2; font-size: 15.5px; }
.notfor { padding: 16px; background: #f7f3f5; border-radius: 18px; }
.notfor h3 { font-size: 17px; margin-bottom: 6px; }
.notfor .lead { font-size: 15px; }
.faq { display: grid; gap: 8px; margin-top: 12px; }
.faq details { border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 15px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 3;
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .3s var(--ease);
}
.buybar.on { transform: none; }
.buybar b { display: block; font-size: 20px; font-weight: 800; line-height: 1.1; }
.buybar span { font-size: 11.5px; color: var(--muted); }
.buybar .btn { padding: 13px 14px; font-size: 16px; }

/* Compra simulada */
.row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.row.total { border: 0; padding-top: 15px; font-weight: 800; font-size: 24px; }
.bump { display: grid; grid-template-columns: 24px 1fr; gap: 12px; margin-top: 12px; padding: 14px; background: var(--blush); border: 1.5px dashed var(--rose); border-radius: 14px; cursor: pointer; }
.bump input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--pink); }
.bump strong { display: block; line-height: 1.25; font-weight: 700; }
.bump em { font-style: normal; color: var(--pink); white-space: nowrap; }
.bump p { font-size: 14px; line-height: 1.38; color: var(--muted); margin-top: 3px; }
.mock { margin: 16px 0 14px; padding: 11px 13px; background: #f7f3f5; border-radius: 12px; font-size: 13.5px; line-height: 1.42; color: var(--muted); }
.card { margin-top: 18px; background: var(--white); border: 1.5px solid var(--line); border-radius: 18px; padding: 18px; }

footer.foot { margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.5; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (min-width: 640px) {
  .title { font-size: 32px; }
}

/* Desafio Corre & Força */
.pg { position: sticky; top: 0; z-index: 2; background: var(--white); padding: 10px 20px; }
.pg[hidden] { display: none; }
.pg div { max-width: 420px; margin: 0 auto; height: 8px; border-radius: 4px; background: var(--petal); overflow: hidden; }
.pg b { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--pink); transition: width .45s var(--ease); }
.opt .em { flex: none; font-size: 24px; line-height: 1; }
.opt small { display: block; font-weight: 500; font-size: 14px; color: var(--muted); margin-top: 2px; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.pillars div { background: var(--blush); border-radius: 14px; padding: 14px; }
.pillars b { display: block; font-weight: 800; line-height: 1.2; }
.pillars span { display: block; font-size: 14px; line-height: 1.3; color: var(--muted); margin-top: 4px; }
.week { display: grid; gap: 6px; margin-top: 16px; }
.week li { display: grid; grid-template-columns: 56px 1fr; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--blush); font-weight: 600; }
.week li span { color: var(--pink); font-weight: 800; font-size: 14px; }
.week li.rest { background: #f7f3f5; color: var(--muted); }
.trust { display: grid; gap: 6px; margin-top: 14px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 16px; }
.trust b { font-size: 17px; }
.trust p { font-size: 15px; color: var(--muted); line-height: 1.4; }
.landing h1 { font-size: 35px; line-height: 1.1; font-weight: 800; letter-spacing: -.025em; text-wrap: balance; margin-top: 8px; }
.landing h1 em { font-style: normal; color: var(--pink); }
.landing .lead { margin: 12px 0 18px; }
