/*
 * Página de vendas do NutricaoCarbon (só ela: o painel usa theme.css).
 *
 * Identidade da proposta aprovada: fundo creme, berinjela na marca, Fraunces
 * nos títulos, Figtree no texto, DM Mono nos números e as três cores fixas dos
 * macros (salmão = proteína, trigo = carboidrato, abacate = gordura), que
 * nunca trocam de papel. Celular primeiro (390 px); as telas maiores somam.
 *
 * Movimento só por transform e opacity. O estado final de cada quadro é o do
 * HTML: as classes s-* (postas pelo lp.js) só desenham os passos da cena. Com
 * "reduzir movimento", nada liga e nada fica escondido.
 */

@font-face { font-family: "Fraunces"; src: url("../landing/fonts/fraunces-var.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../landing/fonts/figtree-var.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("../landing/fonts/dm-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("../landing/fonts/dm-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
    --bg: #f7f4ec; --surface: #fffdf8; --sunken: #efeadd; --line: #e4ddcc; --line-strong: #cfc6b0;
    --fg: #1f1b14; --muted: #5f5849; --faint: #857d6b;
    --brand: #5b2a6e; --brand-ink: #ffffff; --brand-text: #4f2361; --brand-soft: #f0e6f2; --brand-hover: #4a2159;
    --pro: #c2462e; --pro-soft: #fbe7e1; --carb: #a87100; --carb-soft: #f8edd2; --fat: #5f7f1e; --fat-soft: #ebf1dc;
    --ok: #2f7a4f; --ok-soft: #e2f2e8; --warn: #8f5400; --warn-soft: #fbefd9;
    --shadow: 0 1px 2px rgb(31 27 20 / .05), 0 12px 30px -16px rgb(31 27 20 / .25);
    --shadow-lg: 0 2px 4px rgb(31 27 20 / .05), 0 30px 60px -28px rgb(31 27 20 / .38);
    --phone: #1f1b14;
    --display: "Fraunces", Georgia, "Times New Roman", serif;
    --body: "Figtree", "Helvetica Neue", system-ui, sans-serif;
    --mono: "DM Mono", ui-monospace, "SF Mono", monospace;
    --r: 14px; --r-lg: 20px; --r-xl: 28px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --spring: cubic-bezier(.34, 1.4, .64, 1);
    color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
    --bg: #14120e; --surface: #1c1914; --sunken: #171510; --line: #2c2820; --line-strong: #3d382d;
    --fg: #f0ebe0; --muted: #b3ab98; --faint: #8d8573;
    --brand: #7a3d91; --brand-ink: #ffffff; --brand-text: #dcb8ea; --brand-soft: #2f1f37; --brand-hover: #8a4aa3;
    --pro: #f08a73; --pro-soft: #3d1f17; --carb: #e6b44a; --carb-soft: #3a2c0d; --fat: #a8c86a; --fat-soft: #26301a;
    --ok: #7fd3a0; --ok-soft: #173326; --warn: #f0bd64; --warn-soft: #38290d;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 14px 30px -14px rgb(0 0 0 / .7);
    --shadow-lg: 0 2px 4px rgb(0 0 0 / .4), 0 30px 60px -24px rgb(0 0 0 / .8);
    --phone: #000;
    color-scheme: dark;
} }
:root[data-theme="dark"] {
    --bg: #14120e; --surface: #1c1914; --sunken: #171510; --line: #2c2820; --line-strong: #3d382d;
    --fg: #f0ebe0; --muted: #b3ab98; --faint: #8d8573;
    --brand: #7a3d91; --brand-ink: #ffffff; --brand-text: #dcb8ea; --brand-soft: #2f1f37; --brand-hover: #8a4aa3;
    --pro: #f08a73; --pro-soft: #3d1f17; --carb: #e6b44a; --carb-soft: #3a2c0d; --fat: #a8c86a; --fat-soft: #26301a;
    --ok: #7fd3a0; --ok-soft: #173326; --warn: #f0bd64; --warn-soft: #38290d;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 14px 30px -14px rgb(0 0 0 / .7);
    --shadow-lg: 0 2px 4px rgb(0 0 0 / .4), 0 30px 60px -24px rgb(0 0 0 / .8);
    --phone: #000;
    color-scheme: dark;
}

/* ---------------- base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
main { overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
b, strong { font-weight: 600; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brand-text); outline-offset: 3px; border-radius: 8px; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.02em; text-wrap: balance; font-variation-settings: "SOFT" 100; }
h1 { font-size: clamp(40px, 10.4vw, 76px); line-height: 1.02; }
h2 { font-size: clamp(30px, 7.4vw, 46px); line-height: 1.06; }
h3 { font: 600 17px/1.35 var(--body); }
h1 em, h2 em { font-style: normal; color: var(--brand-text); }
.eyebrow, .step { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--brand-text); }
.lede { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 58ch; text-wrap: pretty; }
.lede b { color: var(--fg); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--brand); color: var(--brand-ink); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.dotm { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot-pro { background: var(--pro); } .dot-carb { background: var(--carb); } .dot-fat { background: var(--fat); }
.bg-pro { background: var(--pro); } .bg-carb { background: var(--carb); } .bg-fat { background: var(--fat); }
.pill { display: inline-flex; align-items: center; font: 600 11.5px/1 var(--body); padding: 5px 10px; border-radius: 99px; white-space: nowrap; }
.p-brand { background: var(--brand-soft); color: var(--brand-text); }
.p-mute { background: var(--sunken); color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }

/* ---------------- topo do site ---------------- */
.nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.mark { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; flex: none; }
.mark svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.logo-name { font: 500 21px/1 var(--display); letter-spacing: -.02em; font-variation-settings: "SOFT" 100; }
.logo-name b { font-weight: 650; color: var(--brand-text); }
.nav-links { display: none; gap: 4px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; padding: 10px 14px; border-radius: 10px; transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--fg); background: var(--sunken); }

/* ---------------- botão ---------------- */
.cta { display: grid; gap: 12px; justify-items: start; }
.cta form { margin: 0; }
.btn-cta { appearance: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 16px 26px 16px 28px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font: 600 17px/1 var(--body); letter-spacing: -.005em; box-shadow: 0 1px 0 rgb(255 255 255 / .18) inset, 0 14px 28px -14px color-mix(in srgb, var(--brand) 80%, transparent); transition: transform .25s var(--spring), background-color .2s, box-shadow .25s; }
.btn-cta:hover { background: var(--brand-hover); transform: translateY(-2px); box-shadow: 0 1px 0 rgb(255 255 255 / .18) inset, 0 20px 34px -16px color-mix(in srgb, var(--brand) 85%, transparent); }
.btn-cta:active { transform: translateY(0) scale(.98); }
.btn-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--spring); }
.btn-cta:hover .btn-ico { transform: translateX(4px); }
.cta-note { font-size: 14px; color: var(--muted); max-width: 44ch; }

/* ---------------- hero ---------------- */
.hero { padding-block: 32px 56px; }
.hero-in { display: grid; gap: 40px; }
.hero-copy { display: grid; gap: 20px; align-content: center; }
.hero-copy .eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.hero-copy .eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.hero .lede { font-size: 18px; }
.hero .cta { margin-top: 4px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; color: var(--muted); }

.hero-art { position: relative; }
.hero-frame { position: relative; overflow: hidden; border-radius: var(--r-xl); aspect-ratio: 4 / 4.6; background: var(--sunken); box-shadow: var(--shadow-lg); isolation: isolate; }
.hero-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .06); pointer-events: none; }
.hero-layer { position: absolute; inset: -8% 0; will-change: transform; }
.hero-layer picture, .hero-poster, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-poster, .hero-video { object-fit: cover; object-position: 50% 45%; }
.hero-video { opacity: 0; transition: opacity .8s ease; }
.hero-video.is-on { opacity: 1; }

.av-card { position: relative; z-index: 2; margin: -132px 12px 0; padding: 16px; display: grid; gap: 12px; }
.av-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.av-title { font-weight: 650; font-size: 15px; }
.av-sub { font-size: 12.5px; color: var(--muted); }
.folds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fold { display: grid; gap: 2px; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); transition: border-color .25s, background-color .25s; }
.fold > span { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fold b { font-size: 17px; font-weight: 500; }
.fold small { font-size: 11px; color: var(--muted); }
.av-res { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 8px; padding-top: 12px; border-top: 1px dashed var(--line-strong); }
.res { display: grid; gap: 2px; min-width: 0; }
.res small { font-size: 11.5px; color: var(--muted); }
.res strong { font-weight: 500; font-size: 15px; white-space: nowrap; }
.res-main strong { font: 500 30px/1 var(--display); letter-spacing: -.02em; color: var(--brand-text); font-variation-settings: "SOFT" 100; }
.av-foot { font-size: 12px; color: var(--muted); }
.ring-card { position: absolute; z-index: 2; top: 14px; right: 14px; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 18px; }
.ring-card .ring { width: 48px; height: 48px; }
.ring-card div { display: grid; line-height: 1.15; }
.ring-card small { font-size: 11px; color: var(--muted); }
.ring-card b { font-size: 18px; font-weight: 500; }
.ring-card span { font-size: 11.5px; color: var(--muted); }
.ring circle { fill: none; stroke-width: 5; }
.ring-bg { stroke: var(--sunken); }
.ring-arc { stroke-linecap: round; }
.arc-pro { stroke: var(--pro); } .arc-carb { stroke: var(--carb); } .arc-fat { stroke: var(--fat); }

/* cena do topo: as dobras entram e o resultado aparece */
.av-card.s-empty .res strong, .av-card.s-empty .fold b { color: var(--faint); }
.av-card .fold.is-typing { border-color: var(--brand); background: var(--brand-soft); }
.av-card.s-calc .av-res { animation: pop .5s var(--ease); }
.is-tick { animation: tick .45s var(--ease); }
@keyframes tick { from { opacity: .2; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: .3; transform: scale(.98); } to { opacity: 1; transform: none; } }

/* ---------------- faixa ---------------- */
.marquee { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee ul { display: flex; flex: none; }
.marquee li { display: inline-flex; align-items: center; gap: 22px; padding: 15px 0 15px 22px; font: 500 13px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.marquee li::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pro); }
.marquee li:nth-child(3n+2)::after { background: var(--carb); }
.marquee li:nth-child(3n)::after { background: var(--fat); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- seções ---------------- */
.sec { padding-block: 72px; }
.sec-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 36px; }
.sec-head.center { text-align: center; margin-inline: auto; justify-items: center; }

/* sem × com */
.vs-grid { display: grid; gap: 16px; align-items: start; }
.vs-col { border-radius: var(--r-lg); padding: 24px 20px; border: 1px solid var(--line); }
.vs-sem { background: var(--sunken); }
.vs-com { background: var(--surface); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 28%, var(--line)); }
.vs-label { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; color: var(--muted); }
.vs-com .vs-label { color: var(--brand-text); }
.vs-col li { position: relative; padding: 12px 0 12px 32px; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.5; }
.vs-col li:first-child { border-top: 0; }
.vs-col li::before { content: ""; position: absolute; left: 0; top: 14px; width: 20px; height: 20px; border-radius: 50%; background: no-repeat center / 12px 12px; }
.vs-sem li { color: var(--muted); }
.vs-sem li::before { background-color: var(--line); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3L3 9' stroke='%235f5849' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.vs-com li::before { background-color: var(--brand); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* tour */
.feat-in { display: grid; gap: 40px; align-items: center; }
.feat-copy { display: grid; gap: 16px; }
.step { display: inline-flex; align-items: center; gap: 10px; }
.step .num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-text); font-size: 12px; letter-spacing: 0; }
.ticks { display: grid; gap: 10px; margin-top: 4px; }
.ticks li { position: relative; padding-left: 28px; color: var(--fg); font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--fat); }
.ticks li:nth-child(2)::before { border-color: var(--carb); }
.ticks li:nth-child(3)::before { border-color: var(--pro); }
.feat-art { position: relative; padding-top: 56px; min-width: 0; }
.tile { position: absolute; z-index: 0; border-radius: var(--r-lg); object-fit: cover; box-shadow: var(--shadow); }
.tile-r { top: 0; right: 0; width: 64%; height: auto; aspect-ratio: 2 / 1; }
.tile-l { top: 0; left: 0; width: 64%; height: auto; aspect-ratio: 2 / 1; }
.tile-tall { width: 46%; aspect-ratio: 3 / 4; top: 0; }
.feat-art > :not(.tile) { position: relative; z-index: 1; }

/* navegador */
.browser { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; margin-inline: 0; }
.bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--sunken); }
.bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); flex: none; }
.url { margin-left: 8px; flex: 1; min-width: 0; padding: 4px 10px; border-radius: 7px; background: var(--surface); border: 1px solid var(--line); font: 500 11.5px var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* montador */
.builder { display: grid; }
.meals { padding: 14px; display: grid; gap: 8px; align-content: start; background: var(--bg); min-width: 0; }
.meal { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }
.meal-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 9px 12px; font-size: 14px; }
.meal-h .num { font-size: 12.5px; color: var(--muted); }
.meal.open .meal-h { border-bottom: 1px solid var(--line); }
.items li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 12px; font-size: 13.5px; border-top: 1px solid var(--line); }
.items li:first-child { border-top: 0; }
.items .num { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.item-new { position: relative; background: var(--brand-soft); }
.item-new > span { transition: opacity .45s var(--ease), transform .55s var(--spring); }
.item-new span:first-child { font-weight: 600; color: var(--brand-text); }
.add { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-top: 1px dashed var(--line-strong); font-size: 13px; font-weight: 600; color: var(--brand-text); transition: transform .2s var(--ease); transform-origin: left center; }
.add-plus { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--brand); color: var(--brand-ink); font-size: 15px; line-height: 1; }
.total { padding: 16px; display: grid; gap: 14px; align-content: start; border-top: 1px solid var(--line); min-width: 0; }
.total-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 15px; }
.ringwrap { position: relative; width: 128px; height: 128px; margin-inline: auto; }
.ringwrap .ring { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .7s var(--ease); }
.ringwrap .ring circle { stroke-width: 4.2; }
.ring-antes { opacity: 0; }
.ring-c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.1; }
.ring-c strong { font-size: 24px; font-weight: 500; }
.ring-c small { font-size: 11.5px; color: var(--muted); }
.macros { display: grid; gap: 10px; }
.macro-h { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.macro-h > span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.macro-h .num { color: var(--muted); font-size: 12.5px; }
.mbar { height: 7px; border-radius: 99px; background: var(--sunken); overflow: hidden; margin-top: 5px; }
.mbar i { display: block; height: 100%; border-radius: inherit; transform-origin: left center; transform: scaleX(var(--k)); transition: transform .9s var(--ease); }
.gap { font-size: 13px; font-weight: 600; padding: 9px 12px; border-radius: 10px; background: var(--ok-soft); color: var(--ok); transition: background-color .3s, color .3s; }

/* cena do montador: antes do salmão, o anel de antes, as barras curtas e o recado de falta */
.browser.s-pre .ring-antes { opacity: 1; }
.browser.s-pre .ring-depois { opacity: 0; }
.browser.s-pre .mbar i { transform: scaleX(var(--k0)); }
.browser.s-pre .gap { background: var(--warn-soft); color: var(--warn); }
.browser.s-pre .item-new { background: transparent; outline: 1.5px dashed var(--line-strong); outline-offset: -5px; }
.browser.s-pre .item-new > span { opacity: 0; transform: translateX(-14px); }
.browser.s-tap .add { transform: scale(.96); }
.browser.s-add .item-new { animation: glow 1.6s var(--ease); }
@keyframes glow { 0% { box-shadow: inset 0 0 0 0 transparent; } 30% { box-shadow: inset 3px 0 0 0 var(--brand); } 100% { box-shadow: inset 0 0 0 0 transparent; } }

/* trocas */
.swap { padding: 16px; display: grid; gap: 12px; max-width: 440px; margin-inline: auto; margin-top: 16px; }
.swap-from { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.swap-from div { display: grid; }
.swap-from small { font-size: 11.5px; color: var(--muted); }
.swap-from b { font-size: 15px; }
.swap-from .num { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.swap-btn { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 8px 14px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-text); font-size: 13.5px; font-weight: 600; transition: transform .2s var(--ease); }
.swap-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.swap-list { display: grid; gap: 6px; transition: opacity .35s var(--ease), transform .45s var(--ease); }
.swap-group { font: 500 11px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 4px 2px 6px; }
.swap-list ul { display: grid; gap: 6px; }
.swap-list li { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); font-size: 14px; transition: opacity .4s var(--ease), transform .5s var(--spring); }
.swap-list li::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1.5px solid var(--brand); background: color-mix(in srgb, var(--brand-soft) 60%, transparent); opacity: 0; transition: opacity .3s; z-index: -1; }
.swap-list li { isolation: isolate; }
.swap-list li .num { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.swap-list li .num b { color: var(--fg); font-weight: 500; }
.swap.s-closed .swap-list { opacity: 0; transform: translateY(-8px); }
.swap.s-closed .swap-list li { opacity: 0; transform: translateY(-6px); }
.swap.s-tap .swap-btn { transform: scale(.95); }
.swap.s-open .swap-list { opacity: 1; transform: none; }
.swap.s-open .swap-list li { opacity: 1; transform: none; }
.swap.s-open .o2 { transition-delay: .07s; } .swap.s-open .o3 { transition-delay: .14s; } .swap.s-open .o4 { transition-delay: .21s; } .swap.s-open .o5 { transition-delay: .28s; }
.swap.s-h1 .o1::before, .swap.s-h2 .o2::before, .swap.s-h3 .o3::before { opacity: 1; }
.swap.s-h2 .o1::before, .swap.s-h3 .o2::before, .swap.s-h3 .o1::before { opacity: 0; }

/* telefone */
.phone-art { display: grid; justify-items: center; }
.phone { width: 292px; max-width: 100%; padding: 9px; border-radius: 44px; background: var(--phone); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgb(255 255 255 / .08); }
.screen { position: relative; height: 560px; border-radius: 36px; overflow: hidden; background: var(--bg); display: flex; flex-direction: column; }
.screen::before { content: ""; position: absolute; z-index: 5; top: 9px; left: 50%; width: 84px; height: 22px; margin-left: -42px; border-radius: 99px; background: var(--phone); }
.ph-top { padding: 44px 18px 12px; display: grid; gap: 2px; background: var(--surface); border-bottom: 1px solid var(--line); }
.ph-top b { font-size: 16px; }
.ph-top small { font-size: 12px; color: var(--muted); }
.seg { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: 14px 14px 0; padding: 3px; border-radius: 12px; background: var(--sunken); border: 1px solid var(--line); }
.seg span { position: relative; z-index: 1; padding: 8px 4px; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--muted); transition: color .3s; }
.seg::before { content: ""; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / 3); border-radius: 9px; background: var(--surface); box-shadow: var(--shadow); transition: transform .45s var(--spring); }
.seg .seg-mifflin { color: var(--fg); }
.phone.s-harris .seg::before { transform: translateX(100%); }
.phone.s-fao .seg::before { transform: translateX(200%); }
.phone.s-mif .seg::before { transform: none; }
.phone.s-harris .seg .seg-mifflin, .phone.s-fao .seg .seg-mifflin { color: var(--muted); }
.phone.s-harris .seg .seg-harris, .phone.s-fao .seg .seg-fao, .phone.s-mif .seg .seg-mifflin { color: var(--fg); }
.phone.s-mif .seg .seg-harris, .phone.s-mif .seg .seg-fao { color: var(--muted); }
.tmb-box { margin: 12px 14px 0; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 4px; }
.tmb-box small { font-size: 12px; color: var(--muted); }
.tmb-box strong { font: 500 40px/1 var(--display); letter-spacing: -.02em; color: var(--brand-text); font-variation-settings: "SOFT" 100; }
.tmb-box strong .num, .tmb-box strong span { font-family: var(--display); }
.tmb-box em { font: 500 14px var(--body); color: var(--muted); font-style: normal; }
.expr { font-size: 11px; color: var(--muted); line-height: 1.45; min-height: 32px; }
.ph-rows { margin: 10px 14px 0; display: grid; }
.ph-rows div { display: flex; justify-content: space-between; gap: 8px; padding: 9px 2px; border-top: 1px solid var(--line); font-size: 13px; }
.ph-rows div:first-child { border-top: 0; }
.ph-rows span { color: var(--muted); }
.ph-rows b { font-weight: 500; }
.ph-res { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 12px 14px 18px; background: var(--brand); color: var(--brand-ink); }
.ph-res div { display: grid; }
.ph-res small { font-size: 11px; opacity: .85; }
.ph-res strong { font-size: 19px; font-weight: 500; }
.conv-toast { position: absolute; z-index: 4; left: 12px; right: 12px; bottom: 82px; display: grid; gap: 2px; padding: 11px 13px; border-radius: 12px; background: var(--ok-soft); color: var(--ok); border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent); font-size: 12px; line-height: 1.4; box-shadow: var(--shadow); opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease), transform .45s var(--spring); }
.conv-toast b { font-size: 12.5px; }
.phone.s-conv .conv-toast { opacity: 1; transform: none; }

/* evolução */
.evo { padding: 16px; display: grid; gap: 14px; }
.evo-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 15px; }
.evo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.spark { border: 1px solid var(--line); border-radius: 14px; padding: 12px 12px 10px; background: var(--bg); display: grid; gap: 8px; min-width: 0; }
.spark figcaption { display: grid; gap: 1px; }
.spark figcaption span { font-size: 12px; color: var(--muted); }
.spark figcaption b { font-size: 19px; font-weight: 500; }
.spark figcaption small { font-size: 12px; color: var(--muted); }
.spark svg { width: 100%; height: 56px; overflow: visible; }
.spark-grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; fill: none; }
.spark-line { fill: none; stroke: var(--brand-text); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.spark-dot { fill: var(--brand-text); }
.spark-cover { fill: var(--bg); transform-box: fill-box; transform-origin: right center; transform: scaleX(0); }
.spark-foot { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); }
.spark-foot span { color: var(--fg); }
.evo.s-hide .spark-cover { transform: scaleX(1); transition: none; }
.evo.s-hide.s-draw .spark-cover { transform: scaleX(0); transition: transform 1.4s var(--ease); }
.evo.s-draw .spark:nth-child(2) .spark-cover { transition-delay: .15s; }
.evo.s-draw .spark:nth-child(3) .spark-cover { transition-delay: .3s; }
.evo.s-draw .spark:nth-child(4) .spark-cover { transition-delay: .45s; }

/* portal */
.portal { background: var(--bg); }
.pt-top { display: flex; align-items: center; gap: 10px; padding: 44px 16px 12px; background: var(--surface); }
.pt-top div { display: grid; line-height: 1.25; }
.pt-top b { font-size: 15px; }
.pt-top small { font-size: 11.5px; color: var(--muted); }
.mark-sm { width: 30px; height: 30px; }
.mark-sm svg { width: 17px; height: 17px; }
.tabs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--surface); border-bottom: 1px solid var(--line); }
.tabs span { padding: 10px 0 11px; text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); transition: color .3s; }
.tabs .t1 { color: var(--brand-text); }
.tabs::after { content: ""; position: absolute; bottom: -1px; left: 0; width: calc(100% / 3); height: 2.5px; background: var(--brand); border-radius: 2px; transition: transform .45s var(--spring); }
.phone.s-t2 .tabs::after { transform: translateX(100%); }
.phone.s-t3 .tabs::after { transform: translateX(200%); }
.phone.s-t2 .tabs .t1 { color: var(--muted); }
.phone.s-t2 .tabs .t2 { color: var(--brand-text); }
.phone.s-t3 .tabs .t2 { color: var(--muted); }
.phone.s-t3 .tabs .t3 { color: var(--brand-text); }
.panes { position: relative; flex: 1; display: grid; }
.pane { grid-area: 1 / 1; padding: 12px; display: grid; gap: 10px; align-content: start; transition: opacity .4s var(--ease), transform .5s var(--ease); }
.pane-2, .pane-3 { opacity: 0; transform: translateX(24px); pointer-events: none; }
.phone.s-t2 .pane-1, .phone.s-t3 .pane-1 { opacity: 0; transform: translateX(-24px); }
.phone.s-t2 .pane-2 { opacity: 1; transform: none; }
.phone.s-t3 .pane-2 { opacity: 0; transform: translateX(-24px); }
.phone.s-t3 .pane-3 { opacity: 1; transform: none; }
.pm { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; display: grid; gap: 4px; }
.pm-h { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 4px; font-size: 14px; }
.pm-h .num { font-size: 11.5px; color: var(--muted); }
.pm p { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; }
.pm p .num { color: var(--muted); font-size: 11.5px; white-space: nowrap; }
.pm .pm-swap { margin: 0 0 2px 10px; padding: 5px 8px; border-left: 2px solid var(--carb); background: var(--carb-soft); border-radius: 0 8px 8px 0; color: var(--fg); font-size: 12px; }
.pane-t { font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 4px 2px; }
.buy { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; }
.buy span { display: grid; line-height: 1.25; }
.buy small { font-size: 11px; color: var(--muted); }
.buy b { font-weight: 500; font-size: 12.5px; }
.buy i { position: relative; width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--line-strong); }
.buy i::after { content: ""; position: absolute; inset: -1.5px; border-radius: 6px; background: var(--fat) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 11px; opacity: 0; transform: scale(.4); transition: opacity .25s, transform .35s var(--spring); }
.phone.s-b1 .b1 i::after, .phone.s-b2 .b2 i::after, .phone.s-b3 .b3 i::after, .phone.s-b4 .b4 i::after { opacity: 1; transform: none; }
.diary { display: grid; gap: 10px; padding: 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); transition: transform .5s var(--spring), opacity .4s; }
.diary-img { width: 100%; height: auto; aspect-ratio: 3 / 2; border-radius: 10px; object-fit: cover; }
.diary div { display: grid; line-height: 1.35; }
.diary b { font-size: 13.5px; }
.diary small { font-size: 12px; color: var(--muted); }
.sent { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 7px 12px; border-radius: 99px; background: var(--ok-soft); color: var(--ok); font-size: 12px; font-weight: 600; transition: opacity .35s, transform .45s var(--spring); }
.sent::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.phone.s-t3:not(.s-photo) .diary { opacity: 0; transform: translateY(14px) scale(.96); }
.phone.s-t3:not(.s-sent) .sent { opacity: 0; transform: translateY(6px); }

/* ---------------- o resto ---------------- */
.more { background: var(--surface); border-block: 1px solid var(--line); }
.more-grid { display: grid; gap: 12px; }
.mcard { grid-template-columns: 42px minmax(0, 1fr); column-gap: 14px; padding: 18px 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg); display: grid; gap: 8px; align-content: start; transition: transform .35s var(--spring), box-shadow .3s, border-color .3s; }
.mcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); }
.mcard p { color: var(--muted); font-size: 15px; grid-column: 2; }
.mcard h3 { grid-column: 2; align-self: center; }
.mico { grid-row: 1 / span 2; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); transition: transform .4s var(--spring); }
.mcard:hover .mico { transform: rotate(-6deg) scale(1.06); }
.mico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mcard:nth-child(3n+2) .mico { background: var(--carb-soft); color: var(--warn); }
.mcard:nth-child(3n) .mico { background: var(--fat-soft); color: var(--ok); }
.mid-cta { margin-top: 40px; display: grid; gap: 16px; justify-items: center; text-align: center; }
.mid-cta > p { font: 500 22px/1.25 var(--display); font-variation-settings: "SOFT" 100; }
.mid-cta .cta { justify-items: center; }

/* ---------------- números ---------------- */
.nums { position: relative; padding-block: 80px; color: #fff; isolation: isolate; }
.nums-bg { position: absolute; inset: 0; z-index: -1; background: #1f1b14; }
.nums-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.nums-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(31 18 38 / .55), rgb(20 18 14 / .7)); }
.nums-in { display: grid; gap: 32px; }
.nums h2 { color: #fff; max-width: 16ch; }
.nums-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
.nums-grid div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding-top: 14px; border-top: 1px solid rgb(255 255 255 / .22); }
.nums-grid dd { font: 500 clamp(44px, 12vw, 64px)/1 var(--display); letter-spacing: -.03em; font-variation-settings: "SOFT" 100; }
.nums-grid dt { font-size: 14px; color: rgb(255 255 255 / .82); }
.nums-note { color: rgb(255 255 255 / .82); max-width: 52ch; }

/* ---------------- perguntas ---------------- */
.faq-in { display: grid; gap: 8px; }
.faq-list { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: color-mix(in srgb, var(--brand) 32%, var(--line)); box-shadow: var(--shadow); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; min-height: 56px; cursor: pointer; list-style: none; font-weight: 600; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2.5v7M2.5 6h7' stroke='%235b2a6e' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 12px; transition: transform .35s var(--spring); }
:root[data-theme="dark"] .faq summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2.5v7M2.5 6h7' stroke='%23dcb8ea' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 20px; color: var(--muted); max-width: 64ch; }

/* ---------------- planos ----------------
   Os dois preços de cada plano ocupam a mesma célula da grade; o rádio
   escolhido (ou .is-anual, posta pelo lp.js no navegador sem :has) decide
   qual aparece. O escondido sai também do leitor de tela e do Tab
   (visibility). Sem script, funciona igual. */
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nav-planos { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); text-decoration: none; font-weight: 600; font-size: 15px; color: var(--fg); background: var(--surface); }
.pricing { background: linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--brand-soft) 55%, var(--bg)) 55%, var(--bg)); }
.pricing .sec-head .lede { margin-inline: auto; }
.cycle-wrap { display: grid; justify-items: center; gap: 12px; margin: -8px 0 32px; }
.cycle { border: 0; margin: 0; padding: 0; min-width: 0; }
.cycle-track { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); isolation: isolate; }
.cycle-track label { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 15.5px; color: var(--muted); white-space: nowrap; transition: color .2s; }
.cycle-thumb { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--brand); box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--brand) 80%, transparent); transition: transform .35s var(--spring); }
#lp-mensal:checked + label, #lp-anual:checked + label { color: var(--brand-ink); }
#lp-mensal:focus-visible + label, #lp-anual:focus-visible + label { outline: 2px solid var(--brand-text); outline-offset: 3px; }
.save { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 999px; font: 600 11.5px/1.2 var(--body); background: var(--ok-soft); color: var(--ok); white-space: nowrap; }
#lp-anual:checked + label .save { background: rgb(255 255 255 / .2); color: var(--brand-ink); }
.cycle-note { font-size: 14.5px; color: var(--muted); text-align: center; }
.plans { display: grid; gap: 16px; max-width: 520px; margin-inline: auto; }
.plan { position: relative; display: grid; gap: 16px; align-content: start; padding: 24px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.plan-hi { border-color: color-mix(in srgb, var(--brand) 55%, var(--line)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 40%, transparent), var(--shadow-lg); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-head h3 { font: 500 26px/1.1 var(--display); letter-spacing: -.02em; font-variation-settings: "SOFT" 100; }
.plan-desc { color: var(--muted); font-size: 15px; }
.price { display: grid; }
.price-v { grid-area: 1 / 1; display: grid; gap: 4px; transition: opacity .22s var(--ease), transform .28s var(--ease), visibility 0s; }
.price-big { font: 500 clamp(38px, 10vw, 46px)/1 var(--display); letter-spacing: -.03em; font-variation-settings: "SOFT" 100; }
.price-per { margin-left: 4px; font-size: 16px; color: var(--muted); }
.price-sub { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.plan-list { display: grid; gap: 2px; padding-top: 16px; border-top: 1px solid var(--line); }
.plan-list li { position: relative; padding: 7px 0 7px 30px; font-size: 15px; line-height: 1.45; }
.plan-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%235b2a6e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 12px; }
:root[data-theme="dark"] .plan-list li:not(.no)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23dcb8ea' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan-list li.no { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line-strong); }
.plan-list li.no::before { background: var(--sunken) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.5 3.5l5 5M8.5 3.5l-5 5' stroke='%23857d6b' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 12px; }
.plan-list .pill { margin-left: 4px; vertical-align: 1px; }
.plan-cta { display: grid; margin-top: auto; }
.btn-plan { grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 16px; border: 1.5px solid var(--brand); color: var(--brand-text); background: transparent; transition: transform .25s var(--spring), background-color .2s, color .2s; }
:root[data-theme="dark"] .btn-plan:not(.is-hi) { border-color: var(--brand-text); }
.btn-plan:hover { background: var(--brand-soft); transform: translateY(-2px); }
.btn-plan.is-hi { background: var(--brand); color: var(--brand-ink); }
.btn-plan.is-hi:hover { background: var(--brand-hover); }
.plans-foot { max-width: 64ch; margin: 28px auto 0; text-align: center; font-size: 14px; color: var(--muted); }

/* qual ciclo aparece. As regras com :has vão separadas das com .is-anual:
   num navegador sem :has, um seletor inválido derruba a regra inteira. */
.pricing .if-anual { visibility: hidden; opacity: 0; pointer-events: none; }
.pricing .price-v.if-anual { transform: translateY(8px); }
.pricing .cycle-note .if-anual, .pricing .btn-plan.if-anual { display: none; }
.pricing .price-v { transition-delay: 0s, 0s, .22s; }
.pricing .price-v.if-mensal { transition-delay: .06s, .06s, 0s; }

.pricing.is-anual .if-mensal { visibility: hidden; opacity: 0; pointer-events: none; }
.pricing.is-anual .price-v.if-mensal { transform: translateY(-8px); transition-delay: 0s, 0s, .22s; }
.pricing.is-anual .if-anual { visibility: visible; opacity: 1; pointer-events: auto; transform: none; }
.pricing.is-anual .price-v.if-anual { transition-delay: .06s, .06s, 0s; }
.pricing.is-anual .cycle-note .if-mensal, .pricing.is-anual .btn-plan.if-mensal { display: none; }
.pricing.is-anual .cycle-note .if-anual { display: inline; }
.pricing.is-anual .btn-plan.if-anual { display: inline-flex; }
.pricing.is-anual .cycle-thumb { transform: translateX(100%); }

.pricing:has(#lp-anual:checked) .if-mensal { visibility: hidden; opacity: 0; pointer-events: none; }
.pricing:has(#lp-anual:checked) .price-v.if-mensal { transform: translateY(-8px); transition-delay: 0s, 0s, .22s; }
.pricing:has(#lp-anual:checked) .if-anual { visibility: visible; opacity: 1; pointer-events: auto; transform: none; }
.pricing:has(#lp-anual:checked) .price-v.if-anual { transition-delay: .06s, .06s, 0s; }
.pricing:has(#lp-anual:checked) .cycle-note .if-mensal { display: none; }
.pricing:has(#lp-anual:checked) .btn-plan.if-mensal { display: none; }
.pricing:has(#lp-anual:checked) .cycle-note .if-anual { display: inline; }
.pricing:has(#lp-anual:checked) .btn-plan.if-anual { display: inline-flex; }
.pricing:has(#lp-anual:checked) .cycle-thumb { transform: translateX(100%); }

/* ---------------- fim ---------------- */
.final { padding-block: 24px 80px; }
.final-card { display: grid; border-radius: var(--r-xl); overflow: hidden; background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line)); }
.final-photo img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.final-copy { padding: 32px 20px 36px; display: grid; gap: 18px; align-content: center; }
.notice { padding: 12px 14px; border-radius: 12px; background: var(--warn-soft); color: var(--warn); font-size: 14px; font-weight: 600; }

/* ---------------- rodapé ---------------- */
.foot { border-top: 1px solid var(--line); padding-block: 36px 40px; }
.foot-in { display: grid; gap: 20px; }
.foot-brand { display: flex; gap: 12px; align-items: flex-start; }
.foot-name { font: 600 17px/1.3 var(--display); }
.foot-note { color: var(--muted); font-size: 14px; max-width: 52ch; }
.foot-vendor { color: var(--muted); font-size: 14px; }
.foot-vendor a { color: var(--brand-text); font-weight: 600; text-underline-offset: 3px; display: inline-block; padding-block: 12px; }

/* ---------------- botão fixo do celular ---------------- */
.dock { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); transition: transform .4s var(--ease), opacity .3s; }
.dock .cta { justify-items: stretch; }
.dock .btn-cta { width: 100%; }
.js .dock:not(.is-on) { transform: translateY(110%); opacity: 0; }
body { padding-bottom: 84px; }

/* ---------------- revelar ao rolar ---------------- */
.js [data-reveal] { transition: opacity .7s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-pending { opacity: 0; transform: translateY(28px); }
.more-grid [data-reveal]:nth-child(3n+2), .nums-grid [data-reveal]:nth-child(2n) { transition-delay: .08s; }
.more-grid [data-reveal]:nth-child(3n) { transition-delay: .16s; }
.faq-list [data-reveal]:nth-child(2n) { transition-delay: .06s; }

/* ================ 600 px ================ */
@media (min-width: 600px) {
    .wrap { padding-inline: 24px; }
    .av-card { margin: -140px 32px 0; padding: 18px; }
    .hero-frame { aspect-ratio: 16 / 13; }
    .ring-card { top: 20px; right: 20px; }
    .vs-col { padding: 28px; }
    .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .builder { grid-template-columns: minmax(0, 1fr) 232px; }
    .total { border-top: 0; border-left: 1px solid var(--line); }
    .nums-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .final-copy { padding: 40px 36px; }
    .plan { padding: 28px 28px; }
}

/* ================ 900 px ================ */
@media (min-width: 900px) {
    body { padding-bottom: 0; }
    .dock { display: none; }
    .wrap { padding-inline: 32px; }
    .nav-links { display: flex; }
    .hero { padding-block: 56px 96px; }
    .hero-in { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
    .hero-art { padding: 0 24px 48px 56px; }
    .hero-frame { aspect-ratio: 11 / 13.5; max-width: 440px; margin-left: auto; }
    .av-card { position: absolute; margin: 0; left: 0; bottom: 0; width: 328px; }
    .ring-card { top: 40px; right: 0; }
    .sec { padding-block: 112px; }
    .sec-head { margin-bottom: 48px; }
    .vs-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .feat { padding-block: 80px; }
    .feat-in { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; }
    .feat.flip .feat-copy { order: 2; }
    .feat-art { padding-top: 48px; }
    .tile-r { right: -24px; top: 0; width: 56%; aspect-ratio: 5 / 4; }
    .tile-l { left: -24px; top: 0; width: 56%; aspect-ratio: 4 / 3; }
    .browser { margin-left: 0; margin-right: 24px; }
    .swap { margin-top: 72px; margin-right: 0; }
    .mcard { grid-template-columns: 1fr; padding: 22px 20px; }
    .mcard p, .mcard h3 { grid-column: auto; }
    .mico { grid-row: auto; margin-bottom: 6px; }
    .tile-tall { right: 0; width: 42%; }
    .phone-art .phone { margin-top: 0; }
    #portal .phone-art { justify-items: start; padding-left: 8%; }
    .more-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .nums { padding-block: 112px; }
    .nums-in { gap: 48px; }
    .nums h2 { max-width: none; }
    .nums-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
    .faq-in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
    .final { padding-block: 40px 112px; }
    .final-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 440px; }
    .final-photo img { aspect-ratio: auto; }
    .final-copy { padding: 56px; }
    .foot-in { grid-template-columns: 1fr auto; align-items: center; }
    .nav-planos { display: none; }
    .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; gap: 20px; align-items: stretch; }
    .plan-hi { transform: translateY(-12px); }
    .cycle-wrap { margin-top: -16px; margin-bottom: 48px; }
}

@media (min-width: 1200px) {
    .hero-art { padding-left: 72px; }
    .browser { margin-right: 40px; }
}

/* ---------------- tema escuro: fotos um pouco mais baixas ---------------- */
:root[data-theme="dark"] .tile, :root[data-theme="dark"] .final-photo img, :root[data-theme="dark"] .hero-frame picture { filter: brightness(.86) saturate(.95); }

/* ---------------- reduzir movimento ---------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    /* Parada, a faixa vira uma nuvem de etiquetas que cabe na largura. */
    .marquee-track { width: 100%; }
    .marquee ul + ul { display: none; }
    .marquee ul { flex: 1 1 auto; flex-wrap: wrap; justify-content: center; gap: 4px 0; padding: 10px 16px; }
    .marquee li { padding: 6px 0 6px 18px; gap: 18px; }
    .hero-video { display: none; }
}

/* ---------------- aviso de cookies (views/partials/cookies.php) ----------------
   Folha embaixo no celular (acima do botão fixo quando ele aparece), cartão no
   canto no desktop. Nunca cobre o "Ver demonstração" do topo nem prende o foco. */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cookie-note { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); background: var(--surface); color: var(--fg); border: 1px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); animation: cookie-in .32s var(--ease) both; transition: bottom .4s var(--ease); }
.cookie-note.is-leaving { animation: cookie-out .2s var(--ease) forwards; }
.cookie-note-in { margin: 0; padding: 16px 16px 14px; display: grid; gap: 10px; }
.cookie-note-title { margin: 0; font: 600 15px/1.2 var(--body); }
.cookie-note-text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.cookie-note-text a { color: var(--brand-text); font-weight: 600; text-underline-offset: 3px; white-space: nowrap; }
.cookie-note-actions { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.cookie-btn { appearance: none; cursor: pointer; min-height: 44px; padding: 10px 16px; border-radius: 999px; font: 600 15px/1 var(--body); border: 1px solid var(--line-strong); background: transparent; color: var(--fg); transition: background-color .2s, filter .2s; }
.cookie-btn:hover { background: var(--sunken); }
.cookie-btn-main { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.cookie-btn-main:hover { background: var(--brand-hover); }
body:has(.dock.is-on) .cookie-note { bottom: calc(92px + env(safe-area-inset-bottom)); }
@keyframes cookie-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes cookie-out { to { opacity: 0; transform: translateY(14px); } }
@media (min-width: 900px) {
    .cookie-note, body:has(.dock.is-on) .cookie-note { left: auto; right: 20px; bottom: 20px; width: 380px; }
}
@media (prefers-reduced-motion: reduce) { .cookie-note, .cookie-note.is-leaving { animation: none; transition: none; } }

/* Fotos de fora antes do aceite: a moldura com um fundo no lugar (consent.js troca). */
img.is-gated { background: linear-gradient(135deg, var(--brand-soft), var(--sunken)); color: transparent; }
.nums-bg img.is-gated { background: none; }
