/* ============================================
   Sidebar Stocks — site de venda
   Layout no estilo Simplapp (claro, arredondado, pill buttons)
   + identidade do app (tokens.css: Geist, azul #7AA7FF, verdes/vermelhos)
   ============================================ */
/* Fontes servidas pelo próprio site (mesmas do app). swap: o texto aparece na hora com a
   fonte do sistema e troca quando a Geist chega (a principal tem preload no HTML). */
@font-face {
    font-family: 'Geist';
    src: url('assets/fonts/Geist-Variable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Geist Mono';
    src: url('assets/fonts/GeistMono-Variable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Página (clara) */
    --bg: #FFFFFF;
    --bg-soft: #F4F7FB;
    --ink: #0B1220;          /* = --accent-ink do app */
    --ink-2: #4A5565;
    --ink-3: #6B7685;
    --line: #E4E8EE;

    /* Marca */
    --brand: #7AA7FF;        /* = --accent do app */
    --brand-strong: #2F6BE0; /* versão com contraste p/ fundo branco */
    --brand-deep: #1E4FB8;
    --brand-soft: #EAF1FF;

    /* App (escuro) — tokens.css */
    --app-bg: #14171C;
    --app-sunken: #0F1115;
    --app-card: #1A1E25;
    --app-border: #262A32;
    --app-text: #ECEEF1;
    --app-muted: #9AA1AC;
    --up: #3FCF8E;
    --down: #FF7A70;
    --jcp: #F5B65B;

    --r-sm: .75rem;
    --r: 1.25rem;
    --r-lg: 1.5rem;
    --r-xl: 2rem;
    --shadow: 0 1px 2px rgba(11,18,32,.04), 0 8px 24px rgba(11,18,32,.06);
    --shadow-lg: 0 30px 80px rgba(11,18,32,.22);
    --font: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --mono: 'Geist Mono', ui-monospace, Consolas, monospace;
    --header-h: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
    margin: 0; background: var(--bg); color: var(--ink);
    font-family: var(--font); font-size: 16px; line-height: 1.6;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Botões (pill) ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    border-radius: 9999px; font-weight: 600; font-size: .95rem; border: 1.5px solid transparent;
    padding: .7rem 1.3rem; transition: transform .15s, box-shadow .15s, background .15s, color .15s;
    cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .55rem 1.1rem; font-size: .9rem; }
.btn-lg { padding: .95rem 1.6rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand-strong); color: #fff; box-shadow: 0 8px 20px rgba(47,107,224,.28); }
.btn-primary:hover { background: var(--brand-deep); box-shadow: 0 12px 26px rgba(47,107,224,.34); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand-strong); color: var(--brand-strong); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 8px 20px rgba(11,18,32,.18); }
.btn-dark:hover { background: #1A2333; }
.btn-light { background: #fff; color: var(--ink); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { border-color: #fff; }
.btn:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

/* ---------- Nav ---------- */
.nav {
    position: sticky; top: 0; z-index: 50; height: var(--header-h);
    background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-size: 1.1rem; font-weight: 500; }
.brand img { border-radius: 9px; }
.brand b { font-weight: 700; }
.nav-links { display: flex; gap: 1.75rem; margin-left: auto; font-size: .93rem; color: var(--ink-2); font-weight: 500; }
.nav-links a:hover { color: var(--brand-strong); }
.nav-cta-mobile { display: none !important; }
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 12px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
    color: var(--brand-strong); background: var(--brand-soft);
    padding: .35rem .8rem; border-radius: 9999px;
}
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 rgba(63,207,142,.6); animation: pulse 1.8s infinite; display: inline-block; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(63,207,142,.55); } 70% { box-shadow: 0 0 0 8px rgba(63,207,142,0); } 100% { box-shadow: 0 0 0 0 rgba(63,207,142,0); } }

.sec-head { max-width: 720px; margin: 0 auto 3.5rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.sec-head-left { text-align: left; align-items: flex-start; margin: 0; }
.sec-head h2, .split h2, .cta h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); font-weight: 500; color: var(--ink-2); }
.sec-head h2 b, .split h2 b, .cta h2 b { color: var(--ink); font-weight: 750; display: block; }
.sec-head p { color: var(--ink-3); font-size: 1.08rem; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 4.5rem 0 5rem; overflow: hidden; }
.hero-glow {
    position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
    background: radial-gradient(circle at center, rgba(122,167,255,.32), rgba(122,167,255,0) 60%);
    pointer-events: none; z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 750; letter-spacing: -0.035em; }
.hero h1 .hl { color: var(--brand-strong); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-actions.center { justify-content: center; }
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; color: var(--ink-2); font-size: .93rem; }
.checks li { display: flex; gap: .5rem; align-items: flex-start; }
.checks li::before {
    content: ""; flex: none; width: 18px; height: 18px; margin-top: .15rem; border-radius: 50%;
    background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F6BE0' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat;
}
.checks-col { flex-direction: column; }

/* Mockup */
.hero-visual { position: relative; min-height: 560px; display: flex; align-items: center; justify-content: center; }
.desk { position: absolute; inset: 30px 0 30px 10%; border-radius: var(--r-xl); background: linear-gradient(135deg, #DCE7FB, #EEF3FB 55%, #E6ECF5); border: 1px solid var(--line); overflow: hidden; }
.desk-window { position: absolute; left: 7%; top: 12%; width: 56%; height: 70%; background: #fff; border-radius: 14px; box-shadow: var(--shadow); }
.desk-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.desk-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D9DEE6; }
.desk-lines { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.desk-lines span { height: 9px; border-radius: 9px; background: #EEF1F5; }

.sidebar-app {
    position: relative; margin-left: auto; margin-right: 4%; width: 320px;
    background: var(--app-bg); color: var(--app-text); border-radius: 14px;
    border: 1px solid var(--app-border); box-shadow: var(--shadow-lg); overflow: hidden;
    font-size: 13px; animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.sb-titlebar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--app-border); font-weight: 600; }
.sb-titlebar img { border-radius: 5px; }
.sb-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--app-muted); font-weight: 500; }
.sb-live .dot-live { width: 6px; height: 6px; }
.sb-summary { padding: 14px; display: flex; flex-direction: column; gap: 4px; background: var(--app-sunken); }
.sb-summary small { color: var(--app-muted); font-size: 11px; }
.sb-summary strong { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.chip { align-self: flex-start; font-size: 11px; padding: 2px 8px; border-radius: 6px; }
.chip.up { background: rgba(63,207,142,.12); color: var(--up); }
.sb-spark { width: 100%; height: 44px; margin-top: 6px; }
.sb-list { padding: 6px; }
.sb-row {
    display: grid; grid-template-columns: 1fr auto; grid-template-areas: "tk px" "nm ch";
    padding: 9px 10px; border-radius: 9px; column-gap: 8px; transition: background .2s;
}
.sb-row:hover { background: #1F232B; }
.sb-row .tk { grid-area: tk; font-weight: 600; }
.sb-row .tk-alt { color: var(--brand); }
.sb-row .nm { grid-area: nm; color: var(--app-muted); font-size: 11px; }
.sb-row .px { grid-area: px; text-align: right; font-weight: 500; transition: color .4s; }
.sb-row .ch { grid-area: ch; text-align: right; font-size: 11px; }
.up, .up-t { color: var(--up); }
.down { color: var(--down); }
.jcp-t { color: #C98A22; }
.sb-row .px.flash-up { color: var(--up); }
.sb-row .px.flash-down { color: var(--down); }
.sb-bench { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--app-border); }
.sb-bench div { padding: 10px 12px; display: flex; flex-direction: column; }
.sb-bench div + div { border-left: 1px solid var(--app-border); }
.sb-bench small { color: var(--app-muted); font-size: 10.5px; }
.sb-bench b { font-weight: 600; }

.toast {
    position: absolute; display: flex; gap: 10px; align-items: center;
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    padding: 10px 14px 10px 10px; box-shadow: 0 14px 40px rgba(11,18,32,.14); font-size: 13px;
}
.toast b { display: block; font-weight: 650; }
.toast small { color: var(--ink-3); font-size: 12px; }
.toast-ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-soft); font-size: 16px; flex: none; }
.toast-ic.jcp { background: #FFF3DF; color: #B7791F; font-weight: 700; font-size: 12px; }
.toast-alert { left: -28px; top: 120px; max-width: 214px; animation: float 6s ease-in-out infinite .8s; }
.toast-income { left: -28px; bottom: 110px; max-width: 214px; animation: float 6.5s ease-in-out infinite 1.6s; }

/* ---------- Strip / marquee ---------- */
.strip { border-block: 1px solid var(--line); padding: 1.75rem 0; background: #fff; }
.strip-title { text-align: center; font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1rem; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track span { font-size: 1.15rem; font-weight: 650; color: #A3ACB9; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(calc(-50% - 1.5rem)); } }

/* ---------- Seções ---------- */
.section { padding: 6rem 0; }
.section-soft { background: var(--bg-soft); }

/* Cards de recursos */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 1.75rem; display: flex; flex-direction: column; gap: .7rem;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #CFDBF2; }
.card-label { align-self: flex-start; font-size: .75rem; font-weight: 600; color: var(--brand-strong); background: var(--brand-soft); padding: .2rem .65rem; border-radius: 9999px; }
.card h3 { font-size: 1.3rem; font-weight: 700; }
.card .pain { color: var(--ink-3); }
.card ul { list-style: none; padding: .9rem 0 0; margin: .2rem 0 0; border-top: 1px dashed var(--line); display: flex; flex-direction: column; gap: .45rem; font-size: .93rem; color: var(--ink-2); }
.card li { display: flex; gap: .55rem; }
.card li::before { content: "→"; color: var(--brand-strong); font-weight: 700; }

/* Por que */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2rem; }
.why-item { display: flex; flex-direction: column; gap: .55rem; }
.why-ic { width: 48px; height: 48px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: .4rem; box-shadow: var(--shadow); }
.why-item h3 { font-size: 1.15rem; font-weight: 700; }
.why-item p { color: var(--ink-3); }

/* Split proventos */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split > div:first-child { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }
.lead-sm { color: var(--ink-2); font-size: 1.07rem; }
.soon { font-size: .93rem; color: var(--ink-2); background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .85rem 1rem; }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; color: #fff; background: var(--ink); padding: .15rem .55rem; border-radius: 9999px; margin-right: .4rem; vertical-align: 1px; }
.cal { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 1.25rem; box-shadow: var(--shadow); }
.cal-head { display: flex; justify-content: space-between; align-items: baseline; padding: .4rem .5rem 1rem; gap: 1rem; flex-wrap: wrap; }
.cal-head span { color: var(--ink-3); font-size: .9rem; }
.cal-row { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: .85rem .5rem; border-top: 1px solid var(--line); }
.cal-row small { display: block; color: var(--ink-3); font-size: .85rem; }
.cal-row > .mono:last-child { font-weight: 600; }
.cal-day { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-soft); color: var(--brand-strong); display: grid; place-content: center; text-align: center; font-weight: 700; font-size: 1.1rem; line-height: 1; }
.cal-day small { font-size: .65rem; text-transform: uppercase; color: var(--brand-strong); margin-top: 3px; font-family: var(--font); }

/* Números (faixa escura = cara do app) */
.numbers { background: var(--app-bg); color: var(--app-text); padding: 4rem 0; }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.nums strong { display: block; font-family: var(--mono); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 600; color: var(--brand); letter-spacing: -0.03em; }
.nums span { color: var(--app-muted); font-size: .95rem; }

/* Passos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: s; }
.steps li { position: relative; background: var(--bg-soft); border-radius: var(--r-lg); padding: 1.75rem; display: flex; flex-direction: column; gap: .6rem; }
.step-n { font-family: var(--mono); font-size: 2.4rem; font-weight: 600; color: var(--brand-strong); line-height: 1; margin-bottom: .6rem; }
.steps h3 { font-size: 1.15rem; font-weight: 700; }
.steps p { color: var(--ink-3); font-size: .95rem; }

/* Planos */
/* Flex: funciona com qualquer número de planos cadastrados no admin */
.plans { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; align-items: stretch; }
.plans > .plan { flex: 1 1 280px; max-width: 380px; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.plan h3 { font-size: 1.25rem; font-weight: 700; }
.plan-desc { color: var(--ink-3); font-size: .95rem; }
.price { display: flex; flex-direction: column; gap: .2rem; padding: .5rem 0; }
.price .mono { font-size: 2.4rem; font-weight: 600; letter-spacing: -0.03em; }
.price small { color: var(--ink-3); font-size: .85rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 .5rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; font-size: .95rem; color: var(--ink-2); }
.plan li { display: flex; gap: .55rem; }
.plan li::before { content: "✓"; color: var(--brand-strong); font-weight: 700; }
.plan-hl { background: var(--app-bg); color: var(--app-text); border-color: var(--app-bg); box-shadow: var(--shadow-lg); transform: scale(1.03); }
.plan-hl .plan-desc, .plan-hl .price small { color: var(--app-muted); }
.plan-hl ul { color: #C9CED6; }
.plan-hl li::before { color: var(--brand); }
.plan-hl .btn-primary { background: var(--brand); color: var(--ink); box-shadow: none; }
.plan-hl .btn-primary:hover { background: #A9C6FF; }
.plan-tag { position: absolute; top: -12px; left: 2rem; background: var(--brand); color: var(--ink); font-size: .75rem; font-weight: 700; padding: .25rem .75rem; border-radius: 9999px; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.faq { display: flex; flex-direction: column; gap: .75rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 0 1.4rem; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #CFDBF2; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 1.15rem 0; font-weight: 650; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-strong); display: grid; place-items: center; font-size: 1.15rem; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 1.2rem; }

/* CTA */
.cta { padding: 2rem 0 6rem; }
.cta-box {
    position: relative; overflow: hidden; text-align: center; border-radius: var(--r-xl);
    padding: 4.5rem 1.5rem; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
    background: radial-gradient(circle at 20% 0%, rgba(122,167,255,.45), transparent 50%), radial-gradient(circle at 90% 100%, rgba(63,207,142,.25), transparent 45%), var(--app-bg);
}
.cta-box img { border-radius: 14px; box-shadow: 0 10px 30px rgba(122,167,255,.35); }
.cta h2 { color: #C9CED6; max-width: 40rem; }
.cta h2 b { color: #fff; }
.cta-box > p { color: var(--app-muted); max-width: 34rem; font-size: 1.07rem; }
.cta-note { color: var(--app-muted); font-size: .85rem; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; background: #fff; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.foot-grid h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: .8rem; }
.foot-grid > div { display: flex; flex-direction: column; gap: .5rem; }
.foot-grid a:not(.brand) { color: var(--ink-2); font-size: .95rem; }
.foot-grid a:not(.brand):hover { color: var(--brand-strong); }
.foot-tag { color: var(--ink-3); margin-top: .5rem; }
.foot-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: var(--ink-3); }

/* Reveal ao rolar */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1020px) {
    .hero-grid, .split, .faq-wrap { grid-template-columns: 1fr; gap: 3rem; }
    .hero-visual { min-height: 520px; }
    .cards, .why { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .plan-hl { transform: none; }
    .nums { grid-template-columns: repeat(2, 1fr); }
    .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
    .nav-links {
        position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0;
        background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1.25rem;
        display: none;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
    .nav-links .nav-cta-mobile { display: inline-flex !important; margin-top: 1rem; border: 0; padding: .8rem; }
    .nav-cta { display: none; }
    .nav-toggle { display: flex; }
}
@media (max-width: 640px) {
    .section { padding: 4.5rem 0; }
    .hero { padding: 2.5rem 0 3.5rem; }
    .cards, .why, .steps { grid-template-columns: 1fr; }
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-visual { min-height: 500px; }
    .desk { inset: 20px -1.25rem; border-radius: var(--r-lg); }
    .sidebar-app { margin: 0 auto; width: min(320px, 100%); }
    .toast { font-size: 12px; max-width: 250px; }
    .toast-alert { top: 0; left: 0; }
    .toast-income { bottom: 0; left: auto; right: 0; }
    .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- Páginas internas (termos, 404) ---------- */
.legal { max-width: 760px; margin: 0 auto; color: var(--ink-2); }
.legal h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 750; color: var(--ink); margin-bottom: 1.25rem; }
.legal h2 { font-size: 1.3rem; font-weight: 700; color: var(--ink); margin: 2.5rem 0 .75rem; }
.legal h3 { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin: 1.75rem 0 .5rem; }
.legal p, .legal li { margin: 0 0 .9rem; }
.legal ul, .legal ol { padding-left: 1.25rem; }
.legal strong { color: var(--ink); }
.legal a { color: var(--brand-strong); text-decoration: underline; }
.notfound-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; color: var(--ink-2); }
.notfound-title b { display: block; color: var(--ink); font-weight: 750; }

/* Link secundário de download (Mac Intel) */
.dl-alt { font-size: .88rem; color: var(--ink-3); margin-top: -.5rem; }
.dl-alt a { color: var(--brand-strong); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.dl-alt-dark { color: var(--app-muted); margin-top: -.25rem; }
.dl-alt-dark a { color: var(--brand); }
