/* v5 conversão — prejuízo vivo, chute × conta, demo do kit, segurança, FAQ, decisão final */

/* ---------- Odômetro ---------- */
.odo { display: inline-flex; align-items: flex-end; overflow: hidden; line-height: 1; height: 1em; }
.odo .ch { display: inline-block; }
.odo .col { display: inline-block; height: 1em; overflow: hidden; position: relative; width: .58em; }
.odo .col span { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; transition: transform 1.1s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--k) * 40ms); }
.odo .col span i { font-style: normal; height: 1em; display: block; text-align: center; }
.loss-out .lost { height: auto; }
.loss-out.flash { animation: cardFlash .7s var(--ease-out); }
@keyframes cardFlash { 0% { box-shadow: 0 0 0 0 rgba(224, 65, 76, .55); } 100% { box-shadow: 0 0 0 26px rgba(224, 65, 76, 0); } }
.loss .range output { display: inline-block; transition: transform .25s var(--ease-swing); }
.loss .range output.pop { transform: scale(1.35); }

/* Colunas de prejuízo acumulado */
.months { display: flex; align-items: flex-end; gap: 3px; height: 92px; margin: 1.4rem auto .2rem; max-width: 420px; }
.months i { flex: 1; min-width: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #FF6B75, var(--blood-900)); transform-origin: bottom; transform: scaleY(0); transition: transform .8s var(--ease-swing), height .6s var(--ease-out); transition-delay: calc(var(--k) * 22ms); }
.months.on i { transform: scaleY(1); }
.months i:last-child { background: linear-gradient(180deg, #FFD2D5, var(--blood)); box-shadow: 0 0 18px rgba(224, 65, 76, .6); }

/* Ticker ao vivo */
.ticker { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1rem; padding: .5rem .9rem; border-radius: 999px; background: rgba(224, 65, 76, .12); color: rgba(250, 243, 227, .85); font-size: .9rem; }
.ticker b { color: #FF8A92; font-family: var(--f-display); font-size: 1.05rem; min-width: 7.5ch; text-align: left; }
.ticker .rec { width: 9px; height: 9px; border-radius: 50%; background: var(--blood); animation: rec 1s steps(2) infinite; }
@keyframes rec { 50% { opacity: .2; } }
.ticker.light { background: rgba(224, 65, 76, .16); }

/* ---------- Chute × Conta ---------- */
.versus { position: relative; perspective: 1200px; }
.versus > div { transform-style: preserve-3d; }
.vs-badge { position: absolute; z-index: 2; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center; background: var(--petrol); color: var(--gold); font: 700 1.25rem var(--f-display); letter-spacing: .04em; box-shadow: 0 0 0 6px var(--paper), 0 16px 30px -12px rgba(0, 0, 0, .5); transform: scale(0) rotate(-180deg); transition: transform .9s var(--ease-swing) .3s; }
.versus.in .vs-badge { transform: scale(1) rotate(0); animation: vsPulse 2.6s ease-in-out 1.4s infinite; }
@keyframes vsPulse { 50% { box-shadow: 0 0 0 6px var(--paper), 0 0 0 16px rgba(242, 179, 61, .25), 0 16px 30px -12px rgba(0, 0, 0, .5); } }
.versus li { position: relative; opacity: 0; transform: translateX(-14px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.versus .good li { transform: translateX(14px); }
.versus.in li { opacity: 1; transform: none; }
.versus.in li:nth-child(1) { transition-delay: .35s; } .versus.in li:nth-child(2) { transition-delay: .5s; } .versus.in li:nth-child(3) { transition-delay: .65s; }
.versus.in li:nth-child(4) { transition-delay: .8s; } .versus.in li:nth-child(5) { transition-delay: .95s; }
.versus .bad li span.t { background: linear-gradient(var(--blood), var(--blood)) no-repeat 0 55% / 0 2px; transition: background-size .6s var(--ease-out); }
.versus.in .bad li span.t { background-size: 100% 2px; }
.versus.in .bad li:nth-child(1) span.t { transition-delay: 1.1s; } .versus.in .bad li:nth-child(2) span.t { transition-delay: 1.25s; } .versus.in .bad li:nth-child(3) span.t { transition-delay: 1.4s; }
.versus.in .bad li:nth-child(4) span.t { transition-delay: 1.55s; } .versus.in .bad li:nth-child(5) span.t { transition-delay: 1.7s; }
.versus .bad { transition: filter .8s 1.8s; } .versus.in .bad { filter: saturate(.75); }
.versus .good { box-shadow: inset 0 0 0 0 rgba(30, 122, 85, 0); transition: box-shadow .8s 1.4s; }
.versus.in .good { box-shadow: inset 0 0 0 2px rgba(30, 122, 85, .35); }
.versus .good li::before { animation: none; }
.versus.in .good li::before { display: inline-block; animation: checkPop .5s var(--ease-swing) both; animation-delay: inherit; }
@keyframes checkPop { 0% { transform: scale(0) rotate(-30deg); } 100% { transform: none; } }

.score { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.4rem; }
.sc { border-radius: 18px; padding: 1.3rem 1.4rem; display: grid; gap: .25rem; }
.sc small { font: 600 .8rem var(--f-display); letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.sc b { font: 700 clamp(2rem, 1.5rem + 2.4vw, 3.2rem)/1 var(--f-display); font-variant-numeric: tabular-nums; }
.sc span { font-size: .9rem; opacity: .75; }
.sc.bad { background: #2A1215; color: #FFB4B9; }
.sc.good { background: var(--petrol); color: var(--cream); position: relative; overflow: hidden; }
.sc.good b { color: var(--gold); }
.sc.good::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(242, 179, 61, .22) 50%, transparent 65%); background-size: 250% 100%; animation: sweep 3.4s ease-in-out infinite; }
.score-note { grid-column: 1 / -1; font-size: .85rem; color: var(--ink-2); }

/* ---------- Demo ao vivo da planilha ---------- */
.screen[data-live] { overflow: visible; }
.live-toast, .live-badge { position: absolute; z-index: 3; padding: .45rem .75rem; border-radius: 10px; font: 700 .78rem var(--f-display); letter-spacing: .02em; white-space: nowrap; opacity: 0; transform: translateY(8px) scale(.9); transition: opacity .35s, transform .45s var(--ease-swing); pointer-events: none; }
.live-toast { right: 10px; top: -16px; background: var(--blood); color: #fff; box-shadow: 0 10px 20px -8px rgba(224, 65, 76, .7); }
.live-badge { right: 10px; bottom: -14px; background: var(--ok); color: #fff; box-shadow: 0 10px 20px -8px rgba(30, 122, 85, .7); }
.live-toast.on, .live-badge.on { opacity: 1; transform: none; }
.screen td.flash { animation: cellFlash 1.1s var(--ease-out); }
@keyframes cellFlash { 0% { background: #FFE08A; box-shadow: inset 0 0 0 2px var(--gold-700); } 100% { background: transparent; box-shadow: inset 0 0 0 2px transparent; } }
.screen td.in.flash { animation-name: cellFlashIn; }
@keyframes cellFlashIn { 0% { background: #FFB4B9; box-shadow: inset 0 0 0 2px var(--blood); } 100% { background: #FFF5CC; } }
.screens:not(.in) .screen { opacity: 0; }
.screens.in .s1 { animation: assembleL 1.1s var(--ease-out) both, floaty 7s ease-in-out 1.1s infinite; }
.screens.in .s2 { animation: assembleU 1.1s var(--ease-out) .12s both, floaty 7s ease-in-out 1.2s infinite; }
.screens.in .s3 { animation: assembleR 1.1s var(--ease-out) .24s both, floaty 7s ease-in-out 1.3s infinite; }
@keyframes assembleU { from { opacity: 0; translate: 0 60px; } }

/* ---------- Caixa de compra: o que recebe + segurança ---------- */
.buybox { grid-template-columns: 1fr auto; }
.gets { grid-column: 1 / -1; list-style: none; padding: 1.2rem 0 0; margin: 0; border-top: 1px dashed var(--line); display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .55rem 1.2rem; }
.gets li { display: flex; align-items: center; gap: .55rem; font-weight: 600; color: var(--ink); }
.gets svg { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--ok); fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.gets svg path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .5s var(--ease-out); transition-delay: calc(var(--i) * 110ms + .35s); }
.gets.in svg path { stroke-dashoffset: 0; }
.secure { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.secure li { display: flex; gap: .7rem; align-items: center; padding: .9rem 1rem; border-radius: 16px; background: rgba(250, 243, 227, .05); border: 1px solid rgba(250, 243, 227, .1); color: rgba(250, 243, 227, .75); font-size: .85rem; transition: transform .35s var(--ease-out), border-color .35s, background .35s; }
.secure li:hover { transform: translateY(-4px); border-color: rgba(242, 179, 61, .45); background: rgba(242, 179, 61, .07); }
.secure li b { display: block; color: var(--cream); font-size: .95rem; }
.secure svg { flex: none; width: 30px; height: 30px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.secure li:hover svg { animation: iconBeat 1s ease-in-out; }

/* ---------- FAQ ---------- */
.faq details { position: relative; transition: background .35s; border-radius: 14px; }
.faq details::before { content: ""; position: absolute; left: -14px; top: 18px; bottom: 18px; width: 4px; border-radius: 4px; background: var(--gold); transform: scaleY(0); transition: transform .45s var(--ease-swing); }
.faq details[open]::before { transform: scaleY(1); }
.faq details[open] { background: rgba(242, 179, 61, .08); }
.faq details[open] summary { padding-left: .9rem; }
.faq details > p { padding-left: .9rem; padding-right: .9rem; }
.faq summary::after { content: "+"; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--petrol); color: var(--gold); font-size: 1.35rem; transition: transform .45s var(--ease-swing), background .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(135deg); background: var(--gold); color: var(--petrol); }
.faq.stagger > * { transform: translateX(-18px); }
.faq.stagger.in > * { transform: none; }
.help { margin-top: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; padding: 1.4rem 1.6rem; border-radius: 22px; background: var(--petrol); color: var(--cream); }
.help b { display: block; font: 700 var(--step-1) var(--f-display); color: var(--gold); }
.help span { color: rgba(250, 243, 227, .8); max-width: 52ch; display: block; }

/* ---------- Decisão final ---------- */
.final { text-align: left; position: relative; overflow: hidden; }
.final .wrap > .eyebrow, .final h2 { text-align: center; }
.final h2 { max-width: none; font-size: var(--step-4); }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 2.6rem 0 2rem; }
.choice { position: relative; border-radius: 24px; padding: 1.8rem 1.7rem; transition: transform .4s var(--ease-out); }
.choice:hover { transform: translateY(-6px); }
.choice .ch-tag { display: inline-block; font: 700 .72rem var(--f-brand); letter-spacing: .16em; text-transform: uppercase; padding: .35rem .65rem; border-radius: 999px; margin-bottom: .9rem; }
.choice h3 { font-size: var(--step-2); margin-bottom: .6rem; }
.choice p { line-height: 1.55; }
.choice.no { background: #1E0E11; color: rgba(250, 243, 227, .75); border: 1px solid rgba(224, 65, 76, .25); }
.choice.no .ch-tag { background: rgba(224, 65, 76, .18); color: #FF8A92; }
.choice.no h3 { color: #FFB4B9; text-decoration: line-through; text-decoration-color: rgba(224, 65, 76, .6); text-decoration-thickness: 3px; }
.choice.no b { color: #FF8A92; }
.choice.yes { background: linear-gradient(160deg, #165A66, var(--petrol)); color: var(--cream); border: 1px solid rgba(242, 179, 61, .5); box-shadow: 0 30px 60px -30px rgba(242, 179, 61, .45); }
.choice.yes .ch-tag { background: var(--gold); color: var(--petrol-900); }
.choice.yes h3 { color: var(--gold); }
.choice.yes::after { content: "Recomendado"; position: absolute; top: -12px; right: 18px; font: 700 .72rem var(--f-brand); letter-spacing: .14em; text-transform: uppercase; background: var(--ok); color: #fff; padding: .4rem .7rem; border-radius: 999px; animation: chipFloat 3s ease-in-out infinite; }
.mega { text-align: center; }
.mega-btn { position: relative; overflow: visible; min-height: 76px; padding: 1.2rem 2.4rem; font-size: clamp(1.15rem, 1rem + 1vw, 1.7rem); letter-spacing: .02em; text-transform: uppercase; animation: pulse 2.4s var(--ease-out) infinite; }
.mega-btn .rings { position: absolute; inset: 0; pointer-events: none; }
.mega-btn .rings i { position: absolute; inset: 0; border-radius: 999px; border: 2px solid var(--gold); opacity: 0; animation: ringOut 2.7s var(--ease-out) infinite; }
.mega-btn .rings i:nth-child(2) { animation-delay: .9s; } .mega-btn .rings i:nth-child(3) { animation-delay: 1.8s; }
@keyframes ringOut { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.35, 1.9); opacity: 0; } }
.mega-btn .arrow { animation: nudge 1.2s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }
.mega-btn[aria-disabled="true"] .rings { display: none; }
.mega-sub { margin: 1rem 0 0; color: rgba(250, 243, 227, .75); font-weight: 600; letter-spacing: .02em; }

@keyframes assembleL { from { opacity: 0; translate: -60px 30px; } }
@keyframes assembleR { from { opacity: 0; translate: 60px 30px; } }

@media (max-width: 960px) { .secure { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .score, .choices { grid-template-columns: 1fr; }
  .vs-badge { top: auto; bottom: auto; position: relative; display: grid; margin: -32px auto; left: auto; }
  .versus { display: flex; flex-direction: column; }
  .versus .bad { order: 0; } .versus .vs-badge { order: 1; } .versus .good { order: 2; }
  .secure { grid-template-columns: 1fr; }
  .mega-btn { width: 100%; padding: 1.1rem 1.2rem; }
  .final h2 { font-size: var(--step-3); }
  .months { height: 70px; }
}
.loss-out .lost.odo { text-shadow: none; filter: drop-shadow(0 10px 28px rgba(224, 65, 76, .45)); }
/* risco atravessa cada linha do texto (não só o bloco) */
.versus .bad li span.t { display: inline; -webkit-box-decoration-break: clone; box-decoration-break: clone; background-position: 0 62%; }
.live-badge { left: 12px; right: auto; top: -16px; bottom: auto; }
/* revelação não corta selos que saem da caixa (ex.: "Recomendado", VS) */
.js .reveal { clip-path: inset(-80px -80px 12% -80px); }
.js .reveal.in { clip-path: inset(-80px -80px -80px -80px); }
.mega-sub { max-width: 60ch; margin-inline: auto; }
.faq details::before { left: 0; }

@media (max-width: 640px) {
  .versus .bad { padding-bottom: 2.8rem; } .versus .good { padding-top: 2.8rem; }
  .vs-badge { margin: -30px auto; width: 58px; height: 58px; }
}
.brand-name, .nav-cta { white-space: nowrap; }
@media (max-width: 400px) {
  .brand-name { font-size: .6rem; letter-spacing: .12em; }
  .brand { gap: .5rem; padding-right: .7rem; }
  .brand-mark, .brand-mark img { width: 30px; height: 30px; }
  .nav-cta { font-size: .62rem; letter-spacing: .08em; padding: .55rem .7rem; }
}

/* integração 2026-12: sem rolagem horizontal em 360-768 px */
.offer { overflow-x: clip; }
.buybox > * { min-width: 0; }
.buybox .btn { white-space: normal; text-align: center; }
