:root {
  --bg: #070b14; --bg2: #0d1424; --card: rgba(255,255,255,.04); --border: rgba(255,255,255,.08);
  --text: #e8edf7; --muted: #8a96ad; --up: #22d39b; --down: #ff5c7a; --accent: #7c5cff; --accent2: #22c4ff;
}
* { box-sizing: border-box; }
body {
  margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--text); background: var(--bg);
  background-image: radial-gradient(1200px 600px at 10% -10%, rgba(124,92,255,.18), transparent),
                    radial-gradient(900px 500px at 100% 0%, rgba(34,196,255,.12), transparent);
  min-height: 100vh;
}
.up { color: var(--up); } .down { color: var(--down); }
.grad { background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* faixa de cotações */
.tape { overflow: hidden; border-bottom: 1px solid var(--border); background: rgba(0,0,0,.35); font-size: 13px; }
.tape-track { display: inline-flex; gap: 28px; padding: 8px 0; white-space: nowrap; animation: scroll 80s linear infinite; }
.tape:hover .tape-track { animation-play-state: paused; }
.tape-track span b { margin-right: 6px; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* topo */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 20px; padding: 14px 28px;
  backdrop-filter: blur(14px); background: rgba(7,11,20,.7); border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.brand { font-size: 22px; font-weight: 600; } .brand b { font-weight: 800; color: var(--accent2); }
.logo { color: var(--accent); }
nav { display: flex; gap: 4px; flex-wrap: wrap; flex: 1; }
nav button { background: none; border: 0; color: var(--muted); padding: 9px 14px; border-radius: 10px; font: inherit; font-weight: 500; cursor: pointer; transition: .2s; }
nav button:hover { color: var(--text); background: var(--card); }
nav button.active { color: #fff; background: linear-gradient(90deg, rgba(124,92,255,.35), rgba(34,196,255,.25)); }
.status { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.dot.live { background: var(--up); box-shadow: 0 0 0 0 rgba(34,211,155,.7); animation: pulse 2s infinite; }
.dot.err { background: var(--down); }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34,211,155,0); } 100% { box-shadow: 0 0 0 0 rgba(34,211,155,0); } }

main { max-width: 1240px; margin: 0 auto; padding: 24px 16px 40px; }
.tab { display: none; animation: fade .35s ease; } .tab.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.hero { padding: 26px 4px 18px; } .hero h1 { font-size: clamp(30px, 5vw, 48px); margin: 0 0 8px; letter-spacing: -1px; }
.hero.small h1 { font-size: clamp(24px, 4vw, 36px); } .hero p { color: var(--muted); margin: 0; max-width: 640px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 18px 0; }
.card, .panel { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px; }
.card { transition: transform .2s, border-color .2s; } .card:hover { transform: translateY(-3px); border-color: rgba(124,92,255,.5); }
.card .label { color: var(--muted); font-size: 13px; } .card .value { font-size: 24px; font-weight: 700; margin: 6px 0 2px; }
.card .delta { font-size: 13px; font-weight: 600; }
.flash { animation: flash 1s; } @keyframes flash { 0% { background: rgba(124,92,255,.3); } 100% { background: var(--card); } }

.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 14px; margin-bottom: 14px; }
.panel h3 { margin: 0 0 14px; font-size: 16px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
h3.sub { margin: 28px 0 0; }

.row, .alloc-row { display: flex; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid var(--border); }
.row:last-child { border: 0; }
.row img, td img { width: 26px; height: 26px; border-radius: 6px; background: #fff; object-fit: contain; }
.row .name { flex: 1; min-width: 0; } .row .name small { display: block; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill { padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pill.up { background: rgba(34,211,155,.12); } .pill.down { background: rgba(255,92,122,.12); }

.bar { height: 14px; border-radius: 999px; overflow: hidden; display: flex; background: var(--down); margin: 10px 0; }
.bar i { background: var(--up); display: block; }

input, select { background: var(--bg2); color: var(--text); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; font: inherit; }
input:focus, select:focus { outline: 2px solid var(--accent); }
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; align-items: end; }
.toolbar label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
#search { flex: 1; min-width: 220px; }

.table-wrap { overflow-x: auto; padding: 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
th { color: var(--muted); font-weight: 500; cursor: pointer; user-select: none; position: sticky; top: 0; background: var(--bg2); }
th:hover { color: var(--text); }
tbody tr:hover { background: rgba(255,255,255,.03); }
td .tk { display: flex; align-items: center; gap: 10px; } td .tk small { color: var(--muted); display: block; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }

.opp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 14px; }
.opp { position: relative; overflow: hidden; }
.opp .tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: 4px 8px; border-radius: 6px; background: rgba(124,92,255,.2); color: #c3b5ff; }
.opp .tag.green { background: rgba(34,211,155,.15); color: var(--up); } .opp .tag.red { background: rgba(255,92,122,.15); color: var(--down); }
.opp p { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 10px 0 0; }
.opp .head { display: flex; align-items: center; gap: 10px; margin: 12px 0 4px; } .opp .head b { font-size: 18px; }

.quiz fieldset { border: 0; padding: 0 0 16px; margin: 0 0 16px; border-bottom: 1px solid var(--border); }
.quiz legend { font-weight: 600; margin-bottom: 10px; }
.quiz label { display: block; padding: 10px 14px; margin: 6px 0; border-radius: 10px; border: 1px solid var(--border); cursor: pointer; transition: .15s; }
.quiz label:hover { border-color: var(--accent); }
.quiz input { margin-right: 10px; accent-color: var(--accent); }
.quiz label:has(input:checked) { background: rgba(124,92,255,.15); border-color: var(--accent); }
.btn { background: linear-gradient(90deg, var(--accent), var(--accent2)); color: #fff; border: 0; padding: 12px 22px; border-radius: 12px; font: inherit; font-weight: 700; cursor: pointer; }
.btn:hover { filter: brightness(1.1); }
.result { margin-top: 14px; text-align: center; padding: 28px; }
.result .big { font-size: 34px; font-weight: 800; text-transform: capitalize; }

.alloc-row .sw { width: 12px; height: 12px; border-radius: 3px; } .alloc-row span:nth-child(2) { flex: 1; }
.alloc-row small { color: var(--muted); display: block; font-size: 12px; }
.note { color: var(--muted); font-size: 13px; line-height: 1.6; }
.skeleton { color: var(--muted); padding: 10px; }

footer { text-align: center; color: var(--muted); font-size: 12px; padding: 24px 16px 40px; border-top: 1px solid var(--border); line-height: 1.7; }

@media (max-width: 640px) { .top { padding: 12px 16px; } .grid2 { grid-template-columns: 1fr; } }

/* começar a investir */
nav button.cta { color: #fff; border: 1px solid rgba(124,92,255,.6); }

.btn.sm { padding: 7px 12px; font-size: 13px; border-radius: 9px; }
.btn.ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn.ghost:hover { border-color: var(--up); color: var(--up); }
.ico { width: 26px; height: 26px; display: grid; place-items: center; font-size: 16px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.steps div { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); }
.steps b { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.toolbar label input, .toolbar label select { min-width: 160px; }

/* login */
body.auth { display: grid; place-items: center; padding: 24px 16px; }
.auth-box { width: 100%; max-width: 400px; }
.auth-box .brand { font-size: 30px; }
.auth-tabs { display: flex; gap: 4px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 4px; margin-bottom: 14px; }
.auth-tabs button { flex: 1; background: none; border: 0; color: var(--muted); padding: 10px; border-radius: 9px; font: inherit; font-weight: 600; cursor: pointer; }
.auth-tabs button.active { color: #fff; background: linear-gradient(90deg, rgba(124,92,255,.35), rgba(34,196,255,.25)); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.field[hidden] { display: none; }
.auth-msg { color: var(--down); font-size: 13px; min-height: 18px; margin: 0 0 10px; }
.btn:disabled { opacity: .6; cursor: wait; }
.user { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }

/* plano mensal + menção honrosa */
.honors { border-color: rgba(255,181,71,.35); background: linear-gradient(135deg, rgba(255,181,71,.07), rgba(124,92,255,.05)); }
.honors .opp-grid { margin-top: 0; }
.honor ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.honor .tag.green { background: rgba(255,181,71,.15); color: #ffb547; }
.month { border-bottom: 1px solid var(--border); }
.month:last-child { border: 0; }
.msum { display: flex; align-items: center; gap: 12px; padding: 12px 4px; cursor: pointer; list-style: none; }
.msum::-webkit-details-marker { display: none; }
.msum span:first-child { flex: 1; } .msum small { display: block; color: var(--muted); }
details.month .row { padding-left: 16px; }
.done { font-size: 20px; font-weight: 700; padding: 10px 0; text-transform: none; }

/* interatividade */
.clickable { cursor: pointer; }
.row.clickable:hover, tr.clickable:hover { background: rgba(124,92,255,.08); }
.card.clickable:active { transform: scale(.98); }
#toasts { position: fixed; right: 16px; bottom: 16px; z-index: 100; display: flex; flex-direction: column; gap: 8px; max-width: min(360px, calc(100vw - 32px)); }
.toast { background: var(--bg2); border: 1px solid var(--up); color: var(--text); padding: 12px 16px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.35); animation: toastIn .3s ease; font-size: 14px; }
.toast.err { border-color: var(--down); }
.toast.out { opacity: 0; transform: translateY(10px); transition: .4s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px); } }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 99; }
dialog#assetModal { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); background: var(--bg2); color: var(--text); border: 1px solid var(--border); border-radius: 20px; padding: 24px; }
dialog#assetModal[open] { animation: fade .25s ease; }
dialog::backdrop { background: rgba(0,0,0,.55); backdrop-filter: blur(4px); }
dialog .close { position: absolute; top: 14px; right: 14px; }
dialog .head { display: flex; gap: 12px; align-items: center; padding-right: 40px; }
dialog .head img { width: 44px; height: 44px; border-radius: 10px; background: #fff; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.stats div { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; }
.stats small { display: block; color: var(--muted); font-size: 12px; } .stats b { font-size: 15px; }
#assetChartWrap[hidden] { display: none; }
.slider { min-width: 200px; flex: 1; } .slider b { color: var(--text); font-size: 18px; }
input[type=range] { padding: 0; accent-color: var(--accent); background: none; border: 0; height: 28px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* tema claro */
:root[data-theme="light"] { --bg: #f4f6fb; --bg2: #ffffff; --card: #ffffff; --border: rgba(10,20,40,.1); --text: #0d1424; --muted: #5b6780; --up: #0f9f6e; --down: #d93a5a; }
:root[data-theme="light"] body { background-image: radial-gradient(1200px 600px at 10% -10%, rgba(124,92,255,.12), transparent), radial-gradient(900px 500px at 100% 0%, rgba(34,196,255,.10), transparent); }
:root[data-theme="light"] .top { background: rgba(244,246,251,.8); }
:root[data-theme="light"] .tape { background: rgba(255,255,255,.7); }
:root[data-theme="light"] nav button.active, :root[data-theme="light"] nav button.cta, :root[data-theme="light"] .auth-tabs button.active { color: var(--text); }
:root[data-theme="light"] .card, :root[data-theme="light"] .panel { box-shadow: 0 2px 10px rgba(10,20,40,.05); }
:root[data-theme="light"] tbody tr:hover { background: rgba(10,20,40,.03); }

/* login: explicação do projeto */
.about { margin-bottom: 14px; font-size: 13px; color: var(--muted); line-height: 1.55; }
.about b { color: var(--text); } .about p { margin: 6px 0; }
.about ul { margin: 8px 0 0; padding-left: 0; list-style: none; } .about li { margin: 6px 0; }
.about a { color: var(--accent2); }

/* investimentos e corretoras */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 16px; }
.chips button { background: var(--card); border: 1px solid var(--border); color: var(--muted); padding: 9px 14px; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; }
.chips button:hover { color: var(--text); border-color: var(--accent); }
.chips button.active { color: #fff; background: linear-gradient(90deg, var(--accent), var(--accent2)); border-color: transparent; }
:root[data-theme="light"] .chips button.active { color: #fff; }
.product .ptitle { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 16px; }
.product p { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 8px 0 10px; }
.product dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; margin: 0; font-size: 13px; }
.product dt { color: var(--muted); } .product dd { margin: 0; }
.risk { color: #ffb547; letter-spacing: 1px; font-size: 12px; white-space: nowrap; }
.broker .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.broker .tags span { font-size: 11px; padding: 3px 8px; border-radius: 999px; background: rgba(124,92,255,.12); color: var(--text); }
.checklist { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13px; line-height: 1.6; } .checklist li { margin-bottom: 8px; }
#brokerIntegration p { margin: 0 0 10px; line-height: 1.6; }
#invBody .panel { margin-top: 14px; }

/* menu com muitas abas: uma linha que rola para o lado */
.top { flex-wrap: wrap; row-gap: 10px; }
nav { order: 3; flex: 1 0 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
nav::-webkit-scrollbar { display: none; }
nav button { white-space: nowrap; flex: none; }
.brand { flex: 1; }
@media (min-width: 1280px) { nav { order: 0; flex: 1; -webkit-mask-image: none; mask-image: none; } .brand { flex: none; } }

/* importação B3 */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.file-btn { display: inline-block; cursor: pointer; }
.file-btn:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.steps-list { padding-left: 20px; line-height: 1.7; margin: 8px 0 14px; }

/* detalhes do ativo: desempenho, seções */
.msec { margin: 20px 0 8px; font-size: 15px; }
.perfs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.perf { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 8px 10px; text-align: center; }
.perf small { display: block; color: var(--muted); font-size: 11px; } .perf b { font-size: 14px; }
.perf.up b { color: var(--up); } .perf.down b { color: var(--down); }
.stats div[title] { cursor: help; }
#rangeChips button { padding: 5px 12px; font-size: 12px; }
@media (max-width: 520px) { .perfs { grid-template-columns: repeat(3, 1fr); } }

/* aba Aprenda */
.learn { margin-bottom: 14px; }
.learn details { border-top: 1px solid var(--border); }
.learn details:first-of-type { border-top: 0; }
.learn summary { cursor: pointer; padding: 12px 4px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.learn summary::-webkit-details-marker { display: none; }
.learn summary::after { content: '+'; color: var(--accent2); font-size: 18px; line-height: 1; }
.learn details[open] summary::after { content: '−'; }
.learn summary:hover { color: var(--accent2); }
.learn p { margin: 0 4px 14px; color: var(--muted); line-height: 1.65; font-size: 14px; }
.learn p b { color: var(--text); }

/* logo */
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; letter-spacing: -.3px; }
.brand img { display: block; border-radius: 10px; box-shadow: 0 4px 14px rgba(124,92,255,.35); transition: transform .2s; }
a.brand:hover img { transform: rotate(-6deg) scale(1.05); }
.brand b { background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-lg { flex-direction: column; gap: 10px; font-size: 32px; margin-bottom: 6px; }
.brand-lg img { border-radius: 16px; box-shadow: 0 8px 30px rgba(124,92,255,.45); }

/* modo educativo e admin */
.pickbox { border-top: 1px solid var(--border); padding-top: 12px; margin-top: 12px; }
.pickbox h4 { margin: 0 0 8px; }
.pick-add { display: flex; gap: 8px; margin-bottom: 10px; } .pick-add input { flex: 1; min-width: 0; }
.advice { display: grid; grid-template-columns: minmax(160px, 1fr) 2fr auto; gap: 10px; align-items: start; padding: 10px 4px; border-bottom: 1px solid var(--border); }
.advice .name { display: flex; gap: 10px; align-items: center; } .advice .name img { width: 26px; height: 26px; border-radius: 6px; background: #fff; }
.advice .name small { display: block; color: var(--muted); }
.advice ul { margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); line-height: 1.6; }
@media (max-width: 640px) { .advice { grid-template-columns: 1fr auto; } .advice ul { grid-column: 1 / -1; grid-row: 2; } }
.guide { margin: 8px 0 12px; padding-left: 20px; } .guide li { margin-bottom: 8px; font-size: 14px; }
.guide li span { display: block; color: var(--muted); font-size: 13px; }
.adm-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .adm-actions select { padding: 6px 8px; font-size: 13px; }
.btn.danger:hover { border-color: var(--down); color: var(--down); }
#accessBadge:empty { display: none; }

/* página de planos */
body.pricing main { max-width: 1040px; }
.pricing-hero { text-align: center; padding-top: 34px; } .pricing-hero p { margin: 0 auto; }
.pricing-hero .tag { display: inline-block; margin-bottom: 12px; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); margin-top: 22px; gap: 18px; align-items: stretch; }
.price-card { position: relative; padding: 26px; display: flex; flex-direction: column; }
.price-card h3 { margin: 0 0 8px; font-size: 20px; }
.price-card.featured { border: 2px solid transparent; background: linear-gradient(var(--bg2), var(--bg2)) padding-box, linear-gradient(135deg, var(--accent), var(--accent2)) border-box; box-shadow: 0 20px 60px rgba(124,92,255,.25); }
.price-card.pop { animation: pop .45s ease; } @keyframes pop { 40% { transform: scale(1.02); } }
.ribbon { position: absolute; top: -13px; right: 20px; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; color: #fff; background: linear-gradient(90deg, var(--accent), var(--accent2)); }
.price { display: flex; align-items: baseline; gap: 6px; margin: 6px 0; } .price .cur { color: var(--muted); font-weight: 600; }
.price .amount { font-size: 46px; font-weight: 800; letter-spacing: -1.5px; } .price .per { color: var(--muted); }
.saving { color: var(--up); font-weight: 600; font-size: 14px; margin: 0 0 6px; min-height: 20px; }
/* nome do período em destaque para ninguém confundir mensal, semestral e anual */
.period-tag { align-self: flex-start; font-size: 15px; font-weight: 800; letter-spacing: 1.5px; padding: 6px 14px; border-radius: 10px; margin-bottom: 12px; color: #fff; background: linear-gradient(90deg, var(--accent), var(--accent2)); }
.period-tag.free { background: var(--card); color: var(--text); border: 1px solid var(--border); }
.price-card[data-plan] .saving { line-height: 1.5; } .saving s { color: var(--muted); font-weight: 500; }
.price-card[data-plan] .price .amount { font-size: 40px; }
.plan-includes { margin-top: 18px; } .plan-includes h3 { margin: 0 0 4px; }

.feat { list-style: none; padding: 0; margin: 14px 0 20px; flex: 1; } .feat li { padding: 7px 0 7px 26px; position: relative; font-size: 14px; }
.feat li::before { position: absolute; left: 0; font-weight: 800; } .feat .ok::before { content: '✓'; color: var(--up); } .feat .no { color: var(--muted); } .feat .no::before { content: '—'; color: var(--muted); }
.btn.wide { display: block; text-align: center; text-decoration: none; padding: 14px; font-size: 16px; }
a.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.center { text-align: center; }
.calc-panel { margin-top: 26px; } .calc-panel h2, .course h2 { margin: 0 0 6px; }
.course { margin-top: 18px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: linear-gradient(135deg, rgba(255,181,71,.10), rgba(124,92,255,.08)); }
.course p { color: var(--muted); margin: 6px 0 0; max-width: 560px; } .course .btn { text-decoration: none; padding: 14px 22px; }
#faq { margin-top: 18px; }
.wa-float { position: fixed; left: 18px; bottom: 18px; z-index: 90; display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 999px; background: #25d366; color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 10px 30px rgba(37,211,102,.4); animation: toastIn .4s ease; }
.wa-float:hover { filter: brightness(1.05); transform: translateY(-2px); }
@media (max-width: 520px) { .wa-float span { display: none; } }

/* clientes do admin e aviso do analista */
.client-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; border-color: rgba(124,92,255,.4); }
.client-bar label { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.client-bar select { min-width: 220px; }
.disclosure { border-left: 3px solid var(--accent); padding: 6px 10px; background: rgba(124,92,255,.07); border-radius: 6px; }

/* "hidden" sempre esconde, mesmo com display definido no CSS */
[hidden] { display: none !important; }

/* abas bloqueadas no plano grátis */
nav button.locked::after { content: ' 🔒'; font-size: 11px; opacity: .8; }
.lock-panel { max-width: 720px; margin: 20px auto; }
.lock-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 0 auto 16px; max-width: 600px; }
.lock-plans .card { display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; color: var(--text); padding: 14px; }
.lock-plans .period-tag { align-self: center; margin: 0 0 4px; font-size: 13px; } .lock-plans b { font-size: 22px; }
.lock-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 6px; text-align: left; max-width: 600px; margin: 0 auto 18px; color: var(--muted); font-size: 14px; }

/* página inicial (landing + planos) */
.lp-top { justify-content: space-between; }
.lp-nav { display: flex; gap: 4px; flex: 1; justify-content: center; order: 0; }
.lp-nav a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 500; }
.lp-nav a:hover { color: var(--text); background: var(--card); }
.lp-top .user .btn { text-decoration: none; }
@media (max-width: 900px) { .lp-nav { display: none; } }
.lp-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 34px; align-items: center; padding: 46px 0 30px; }
.lp-hero h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.08; letter-spacing: -1.5px; margin: 14px 0; }
.lp-hero p { color: var(--muted); font-size: 18px; line-height: 1.6; margin: 0 0 22px; }
.lp-cta { display: flex; gap: 10px; flex-wrap: wrap; } .lp-cta .btn { text-decoration: none; padding: 14px 22px; font-size: 16px; }
.lp-trust { list-style: none; padding: 0; display: flex; gap: 16px; flex-wrap: wrap; margin: 22px 0 0; color: var(--muted); font-size: 13px; }
.lp-mock { background: var(--bg2); border: 1px solid var(--border); border-radius: 20px; padding: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.35), 0 0 0 1px rgba(124,92,255,.15); transform: perspective(1200px) rotateY(-6deg) rotateX(3deg); transition: transform .5s; }
.lp-mock:hover { transform: none; }
.mock-bar { display: flex; gap: 6px; align-items: center; margin-bottom: 12px; } .mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.mock-bar span:nth-child(1) { background: #ff5f57; } .mock-bar span:nth-child(2) { background: #febc2e; } .mock-bar span:nth-child(3) { background: #28c840; }
.mock-bar small { margin-left: auto; color: var(--muted); font-size: 11px; }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .mock-grid .card { padding: 10px; } .mock-grid .value { font-size: 16px; }
.mock-list { margin: 10px 0; } .mock-list .row { padding: 7px 2px; font-size: 13px; }
.mock-plan { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.mock-plan > div:first-child { display: flex; justify-content: space-between; align-items: baseline; } .mock-plan small { color: var(--muted); }
@media (max-width: 860px) { .lp-hero { grid-template-columns: 1fr; } .lp-mock { transform: none; } }
.lp-section { padding: 46px 0 10px; scroll-margin-top: 80px; }
.lp-head { text-align: center; max-width: 680px; margin: 0 auto 24px; }
.lp-head h2 { font-size: clamp(24px, 3.6vw, 36px); letter-spacing: -.8px; margin: 10px 0 8px; } .lp-head p { color: var(--muted); margin: 0; }
.lp-head .tag { display: inline-block; }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; }
.feat-card { padding: 22px; } .feat-card h3 { margin: 10px 0 6px; } .feat-card p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }
.ficon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: linear-gradient(135deg, rgba(124,92,255,.25), rgba(34,196,255,.18)); }
.try-controls { display: flex; gap: 16px; flex-wrap: wrap; align-items: end; margin-bottom: 8px; } .try-controls .chips { margin: 0; }
.try-out { display: grid; grid-template-columns: 260px 1fr; gap: 20px; align-items: center; margin: 10px 0; }
@media (max-width: 700px) { .try-out { grid-template-columns: 1fr; } .try-chart { max-width: 240px; margin: 0 auto; } }
.steps-flow { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; counter-reset: s; }
.steps-flow li { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 20px; position: relative; }
.steps-flow b { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent2)); font-size: 16px; }
.steps-flow h3 { margin: 12px 0 6px; } .steps-flow p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.55; }
.compare { margin-top: 18px; } .compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 110px; }
.compare td:nth-child(3) { color: var(--up); font-weight: 700; }
.faq-cat { margin: 18px 4px 6px; font-size: 15px; color: var(--accent2); } .faq-cat:first-child { margin-top: 4px; }
.faq-help { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 14px; } .faq-help .btn { text-decoration: none; }
#faqCats { margin-top: 0; }
.lp-footer { text-align: left; max-width: 1040px; margin: 40px auto 0; }
.lp-foot-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 20px; margin-bottom: 18px; }
.lp-foot-grid > div { display: flex; flex-direction: column; gap: 6px; } .lp-foot-grid a { color: var(--muted); text-decoration: none; } .lp-foot-grid a:hover { color: var(--text); }
.lp-foot-grid b { color: var(--text); }
@media (max-width: 700px) { .lp-foot-grid { grid-template-columns: 1fr 1fr; } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; } .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
html { scroll-behavior: smooth; }

/* nomes dos planos nas abas do período */

/* minha assinatura */
.sub-main .sub-top { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.sub-emoji { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 32px; background: linear-gradient(135deg, rgba(124,92,255,.25), rgba(34,196,255,.18)); }
.sub-left { text-align: center; } .sub-left b { display: block; font-size: 34px; line-height: 1; } .sub-left small { color: var(--muted); }
.sub-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 12px 0 14px; }
.sub-plan { display: flex; flex-direction: column; gap: 6px; } .sub-plan.current { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.sub-plan .sp-head { display: flex; justify-content: space-between; align-items: center; font-size: 16px; }
.sp-price { font-size: 26px; font-weight: 800; } .sp-price small { font-size: 13px; color: var(--muted); font-weight: 500; }
.sub-plan .btn.wide { margin-top: auto; padding: 10px; font-size: 14px; }
.sub-cancel { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.pill.req { background: rgba(255,181,71,.15); color: #ffb547; display: inline-block; margin-top: 4px; }
a#accessBadge { text-decoration: none; color: inherit; }

/* minha conta */
.avatar { display: inline-grid; place-items: center; border-radius: 50%; object-fit: cover; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; font-weight: 800; flex: none; }
.avatar.sm { width: 28px; height: 28px; font-size: 13px; } .avatar.lg { width: 112px; height: 112px; font-size: 44px; box-shadow: 0 10px 30px rgba(124,92,255,.35); }
.avatar-link { display: flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; }
.acct-head { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.acct-photo { display: flex; flex-direction: column; align-items: center; gap: 8px; } .acct-photo label { cursor: pointer; }
.acct-info { flex: 1; min-width: 260px; }
code.secret { font-size: 15px; letter-spacing: 1px; padding: 3px 8px; border-radius: 6px; background: var(--bg2); border: 1px solid var(--border); user-select: all; }
.danger-zone { border-color: rgba(255,92,122,.35); }
#acctSecurity .panel { margin-bottom: 12px; }

/* notícias */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.card.news { display: flex; flex-direction: column; gap: 8px; color: var(--text); text-decoration: none; }
.card.news:hover { border-color: var(--accent2); }
.news-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card.news h3 { margin: 0; font-size: 15px; line-height: 1.45; flex: 1; }
.card.news .note { font-size: 12px; }

/* seletor de idioma */
.lang-sel { padding: 6px 8px; font-size: 13px; border-radius: 9px; }
.lang-sel.corner { position: fixed; top: 14px; right: 14px; z-index: 50; }

/* comunidade */
.cm-compose textarea { width: 100%; resize: vertical; min-height: 70px; font: inherit; background: var(--bg2); color: var(--text); border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.cm-compose-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.cm-post { margin-top: 12px; } .cm-post header { display: flex; gap: 10px; align-items: center; } .cm-post header > div { flex: 1; } .cm-post header small { display: block; }
.cm-body { margin: 12px 0; line-height: 1.6; word-wrap: break-word; } .cm-body a { color: var(--accent2); }
.cm-post footer { display: flex; gap: 8px; } .btn.liked { border-color: #ff5c7a; }
.cm-comments { border-top: 1px solid var(--border); margin-top: 10px; padding-top: 10px; }
.cm-comment { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; } .cm-comment > div { flex: 1; font-size: 14px; }
.cm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.cm-member { display: flex; gap: 12px; align-items: flex-start; } .cm-member p { margin: 6px 0; font-size: 14px; color: var(--muted); }
.avatar.md { width: 52px; height: 52px; font-size: 20px; }
#cmMap { height: 480px; } .leaflet-container { background: var(--bg2); font: inherit; }
.cm-pop { display: flex; gap: 10px; min-width: 200px; color: #0d1424; } .cm-pop p { margin: 6px 0 0; }
.cm-join { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; border-color: rgba(34,211,155,.4); }
#acctBio { width: 100%; font: inherit; background: var(--bg2); color: var(--text); border: 1px solid var(--border); border-radius: 10px; padding: 10px; }

/* notícias estilo portal */
.news-sections { margin-top: -4px; }
.news-top-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; margin-bottom: 14px; }
@media (max-width: 860px) { .news-top-row { grid-template-columns: 1fr; } }
.news-hero { padding: 0; overflow: hidden; display: flex; flex-direction: column; color: var(--text); text-decoration: none; }
.news-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg2); }
.news-hero-text { padding: 16px 18px; } .news-hero h2 { margin: 8px 0; font-size: clamp(18px, 2.4vw, 24px); line-height: 1.3; }
.news-side { display: flex; flex-direction: column; } .news-side h3 { margin-bottom: 6px; }
.news-line { display: block; padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; } .news-line:last-child { border: 0; }
.news-line b { display: block; font-size: 14px; line-height: 1.4; margin-top: 2px; } .news-line:hover b, .news-hero:hover h2, .card.news:hover h3 { color: var(--accent2); }
.news-sec { color: var(--accent2); font-weight: 700; text-transform: uppercase; font-size: 11px; letter-spacing: .4px; }
.card.news { padding: 0; overflow: hidden; } .card.news img, .news-noimg { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg2); }
.news-noimg { display: grid; place-items: center; font-size: 34px; background: linear-gradient(135deg, rgba(124,92,255,.18), rgba(34,196,255,.12)); }
.news-card-text { padding: 12px 14px 14px; } .card.news h3 { margin: 6px 0 0; }

/* o mapa não passa por cima do topo fixo */
#cmMap { position: relative; z-index: 0; isolation: isolate; }

/* botões de dúvida e janelinha */
.help { display: inline-grid; place-items: center; width: 18px; height: 18px; padding: 0; margin-left: 4px; border-radius: 50%; border: 1px solid var(--accent2); background: transparent; color: var(--accent2); font: 700 11px/1 Inter, sans-serif; cursor: pointer; vertical-align: middle; transition: .15s; }
.help:hover, .help:focus-visible { background: var(--accent2); color: #fff; outline: none; }
#helpPop { position: fixed; z-index: 2000; background: var(--bg2); color: var(--text); border: 1px solid var(--accent2); border-radius: 14px; padding: 14px 16px; box-shadow: 0 16px 40px rgba(0,0,0,.45); font-size: 14px; animation: fade .18s ease; }
#helpPop b { display: block; padding-right: 22px; font-size: 15px; } #helpPop p { margin: 8px 0 0; color: var(--muted); line-height: 1.6; } #helpPop p b { display: inline; color: var(--text); font-size: inherit; }
.help-x { position: absolute; top: 8px; right: 10px; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 14px; }

/* gráfico ao vivo */
.live-chart { margin-bottom: 14px; }
.lc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.lc-price { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 6px; } .lc-price b { font-size: 30px; font-weight: 800; letter-spacing: -.5px; }
.lc-controls { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; } .lc-controls .chips { margin: 6px 0 10px; } .lc-controls .chips button { padding: 6px 12px; font-size: 13px; }
.live-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--up); margin-left: 4px; vertical-align: middle; animation: pulse 2s infinite; box-shadow: 0 0 0 0 rgba(34,211,155,.7); }
.live-dot.off { background: var(--muted); animation: none; } .live-dot.busy { background: #ffb547; }

/* controle financeiro */
.fin-month { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 0 0 16px; }

.fin-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-bottom: 14px; }
.fin-fields label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.fin-chart { position: relative; height: 240px; } .fin-chart.wide { height: 220px; }
.fin-tip { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 18px; }
.fin-tip.up { border-color: rgba(34,211,155,.45); } .fin-tip.down { border-color: rgba(255,92,122,.45); } .fin-tip .btn { text-decoration: none; }
.fin-day { border-top: 1px solid var(--border); padding: 10px 0; } .fin-day:first-child { border-top: 0; }
.fin-day-head { display: flex; justify-content: space-between; text-transform: capitalize; margin-bottom: 4px; font-size: 14px; }
.fin-item { display: grid; grid-template-columns: 28px 1fr auto auto; gap: 10px; align-items: center; padding: 6px 0; }
.fin-item .name small { display: block; color: var(--muted); font-size: 12px; } .fin-item > span:not(.ico) { font-weight: 700; }

/* curso */
body.course-page main { max-width: 980px; }
.c-progress-panel { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.c-progress-panel > div { flex: 1; min-width: 220px; } .c-progress-panel .bar { margin: 8px 0 0; background: rgba(255,255,255,.08); }
.c-progress-panel .bar i { background: linear-gradient(90deg, var(--accent), var(--up)); transition: width .6s; }
.c-modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin-top: 18px; }
.c-mod { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; color: var(--text); padding: 18px; transition: .2s; }
.c-mod:hover { border-color: var(--accent); transform: translateY(-2px); }
.c-mod > div { flex: 1; } .c-mod b { display: block; font-size: 17px; margin: 2px 0 4px; } .c-mod p { margin: 0; font-size: 13px; }
.c-mod.done { border-color: rgba(34,211,155,.45); }
.c-mod-emoji { font-size: 34px; line-height: 1; }
.c-lesson-head { display: flex; gap: 14px; align-items: center; margin: 22px 0 14px; flex-wrap: wrap; } .c-lesson-head h2 { margin: 2px 0 0; }
.c-player { border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: var(--bg2); }
.c-stage { min-height: 430px; display: grid; place-items: center; padding: 24px; position: relative; overflow: hidden;
  background: radial-gradient(circle at 20% 10%, rgba(124,92,255,.25), transparent 50%), radial-gradient(circle at 85% 90%, rgba(34,196,255,.18), transparent 50%), var(--bg); }
.c-scene { width: 100%; max-width: 760px; animation: cIn .6s ease both; }
.c-scene-title { display: inline-block; font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent2); font-weight: 700; margin-bottom: 8px; }
.c-scene h3 { font-size: clamp(20px, 3.2vw, 30px); margin: 0 0 16px; line-height: 1.2; }
@keyframes cIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes cPop { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
.c-sub { padding: 14px 20px; font-size: 16px; line-height: 1.55; min-height: 76px; border-top: 1px solid var(--border); background: rgba(0,0,0,.25); }
.c-seg { display: flex; gap: 4px; padding: 0 20px; }
.c-seg button { flex: 1; height: 14px; border: 0; background: none; padding: 5px 0; cursor: pointer; }
.c-seg i { display: block; height: 4px; border-radius: 4px; background: rgba(255,255,255,.15); position: relative; overflow: hidden; }
.c-seg .done i { background: var(--accent); }
.c-seg .now i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--accent), var(--accent2)); transform-origin: left; transform: scaleX(.15); }
.c-seg .now i.run::after { animation: cFill linear forwards; animation-duration: inherit; }
.c-seg .now i.indet::after { animation: cPulse 1.6s ease-in-out infinite; }
@keyframes cFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes cPulse { 0%, 100% { transform: scaleX(.2); } 50% { transform: scaleX(.85); } }
.c-controls { display: flex; gap: 8px; align-items: center; padding: 10px 20px 16px; flex-wrap: wrap; }
/* visuais */
.v-big { text-align: center; } .v-emoji { font-size: clamp(56px, 10vw, 96px); animation: cBounce 1.2s ease both; }
.v-big p { color: var(--muted); font-size: 18px; margin: 0; }
@keyframes cBounce { 0% { transform: scale(.3); opacity: 0; } 60% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); } }
.v-list ul, .v-vs ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.v-list li, .v-vs li, .v-pie li, .v-steps li { opacity: 0; animation: cPop .5s ease both; }
.v-list li { font-size: clamp(16px, 2.2vw, 21px); padding: 12px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--border); }
.v-bar { display: grid; grid-template-columns: minmax(120px, 34%) 1fr auto; gap: 12px; align-items: center; margin: 12px 0; font-size: 15px; }
.v-bar > div { height: 26px; border-radius: 8px; background: rgba(255,255,255,.06); overflow: hidden; }
.v-bar i { display: block; height: 100%; width: var(--w); border-radius: 8px; transform-origin: left; animation: cGrow 1.1s cubic-bezier(.2,.8,.2,1) both; }
.v-bar i.neg { opacity: .85; background-image: repeating-linear-gradient(45deg, transparent 0 6px, rgba(0,0,0,.18) 6px 12px); }
.v-bar b { min-width: 90px; text-align: right; }
@keyframes cGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.v-pie-row { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; justify-content: center; }
.v-donut { width: min(220px, 50vw); aspect-ratio: 1; border-radius: 50%; position: relative; animation: cSpin 1.2s cubic-bezier(.2,.8,.2,1) both;
  -webkit-mask: radial-gradient(circle, transparent 42%, #000 43%); mask: radial-gradient(circle, transparent 42%, #000 43%); }
@keyframes cSpin { from { transform: rotate(-120deg) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.v-pie ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 16px; }
.v-pie li i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 8px; }
.v-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.v-side { padding: 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--border); } .v-side.l { border-color: rgba(34,211,155,.4); } .v-side.r { border-color: rgba(255,92,122,.4); }
.v-side h3 { font-size: 18px !important; } .v-vs li { font-size: 15px; }
.v-steps ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.v-steps li { display: flex; gap: 12px; align-items: center; font-size: clamp(15px, 2vw, 19px); }
.v-steps li b { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.v-chart { width: 100%; height: auto; max-height: 200px; }
.v-line { fill: none; stroke: #22d39b; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1000; animation: cDraw 2s ease forwards; }
.v-base { fill: none; stroke: #8a96ad; stroke-width: 2; stroke-dasharray: 5 5; }
.v-area { fill: rgba(34,211,155,.14); }
@keyframes cDraw { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }
.v-grow-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.v-grow-nums b { display: block; font-size: clamp(15px, 2.4vw, 22px); color: var(--text); } .v-grow-nums b.up { color: var(--up); }
.v-slider { display: block; margin-top: 10px; font-size: 14px; } .v-slider input { width: 100%; accent-color: var(--accent); }
.v-shrink { text-align: center; } .v-shrink p { font-size: 18px; max-width: 520px; margin: 18px auto 0; }
.v-bill { margin: 0 auto; width: 220px; height: 110px; border-radius: 12px; display: grid; place-items: center; font-size: 30px; font-weight: 800; color: #0b3; background: linear-gradient(135deg, #b8f5c8, #6fd68b);
  box-shadow: 0 10px 30px rgba(34,211,155,.25); animation: cShrink 3s ease .6s forwards; }
@keyframes cShrink { to { transform: scale(var(--s, .8)); filter: saturate(.4); opacity: .75; } }
/* quiz e resultado */
.c-quiz { margin-top: 16px; } .c-quiz h3 { font-size: 20px; }
.c-opts { display: grid; gap: 10px; margin: 14px 0; }
.c-opt { text-align: left; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--card); color: var(--text); font: inherit; font-size: 16px; cursor: pointer; }
.c-opt:hover:not(:disabled) { border-color: var(--accent); } .c-opt:disabled { cursor: default; }
.c-opt.right { border-color: var(--up); background: rgba(34,211,155,.14); } .c-opt.wrong { border-color: var(--down); background: rgba(255,92,122,.12); }
.c-why { line-height: 1.5; } .c-why b { margin-right: 4px; }
.c-result { text-align: center; } .c-result-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; } .c-result-btns .btn { text-decoration: none; }
.c-task { max-width: 560px; margin: 12px auto 0; padding: 12px 16px; border-radius: 12px; background: rgba(255,181,71,.1); border: 1px solid rgba(255,181,71,.35); text-align: left; }
.c-confetti { position: fixed; top: -10px; width: 9px; height: 14px; z-index: 200; border-radius: 2px; animation: cFall 2.4s ease-in forwards; pointer-events: none; }
@keyframes cFall { to { top: 105vh; opacity: .6; } }
/* certificado */
.c-cert-form { margin: 22px 0; }
.c-cert-ok { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; cursor: pointer; } .c-cert-ok input { margin-top: 3px; }
.c-cert .c-cert-code { margin-top: 14px; font-size: 13px; color: #5b6780; } .c-cert .c-cert-code b { letter-spacing: 1px; color: #1b2235; }
.c-cert { margin: 0 auto 30px; max-width: 820px; aspect-ratio: 1.414; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 40px;
  border-radius: 18px; background: #fff; color: #1b2235; border: 10px double #7c5cff; }
.c-cert small { letter-spacing: 4px; font-weight: 700; color: #7c5cff; } .c-cert h1 { font-size: clamp(26px, 5vw, 46px); margin: 6px 0; border-bottom: 2px solid #22c4ff; padding-bottom: 6px; }
.c-cert p { max-width: 600px; line-height: 1.6; margin: 4px 0; } .c-cert .note { color: #5b6780; }
@media (max-width: 640px) {
  .c-stage { aspect-ratio: auto; min-height: 380px; padding: 18px 14px; } .v-vs { grid-template-columns: 1fr; } .v-bar { grid-template-columns: 1fr auto; } .v-bar > div { grid-column: 1 / -1; grid-row: 2; }
  .c-sub { font-size: 15px; padding: 12px 14px; } .c-controls, .c-seg { padding-left: 14px; padding-right: 14px; }
}
@media (prefers-reduced-motion: reduce) { .c-scene, .v-list li, .v-vs li, .v-pie li, .v-steps li, .v-bar i, .v-donut, .v-line, .v-emoji, .v-bill { animation: none !important; opacity: 1; } }
@media print { body.course-page header, .no-print, .wa-float { display: none !important; } body.course-page { background: #fff; } .c-cert { border-radius: 0; margin: 0; max-width: none; } }
.course-cta { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--text); margin-bottom: 18px; border-color: rgba(124,92,255,.45); }
.course-cta > span:first-child { font-size: 34px; } .course-cta div { flex: 1; } .course-cta small { display: block; }

.cm-map-wrap { position: relative; }
.cm-map-empty { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 500; display: flex; flex-direction: column; gap: 4px; text-align: center; padding: 16px 22px; border-radius: 14px; background: var(--bg2); border: 1px solid var(--border); box-shadow: 0 12px 30px rgba(0,0,0,.35); pointer-events: none; max-width: 80%; }
.cm-map-empty span { color: var(--muted); font-size: 14px; }
.cm-join .pick-add { flex: 1; min-width: 260px; max-width: 460px; }

/* páginas legais e login */
.legal { max-width: 780px; margin: 0 auto; padding: 30px 20px 50px; line-height: 1.7; }
.legal h1 { margin: 34px 0 10px; } .legal h2 { font-size: 18px; margin: 26px 0 6px; } .legal ul { padding-left: 20px; } .legal li { margin: 6px 0; }
.legal p, .legal li { color: var(--muted); } .legal b { color: var(--text); }
.legal section { scroll-margin-top: 90px; }
.auth-legal { font-size: 12.5px; text-align: center; margin: 12px 0 0; line-height: 1.5; }
.auth-forgot { text-align: center; margin: 12px 0 0; font-size: 14px; }
.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 30px; }
.not-found h1 { font-size: 64px; margin: 0; } .not-found p { color: var(--muted); }
body.auth a:not(.btn), .legal a, footer a, .lp-footer a, .c-modules + p a { color: var(--accent2); }
.auth-msg.ok { color: var(--up); }

/* busca de ativos do gráfico */
.lc-search { display: flex; gap: 6px; flex: 1; max-width: 380px; min-width: 220px; } .lc-search input { flex: 1; min-width: 0; }
.lc-suggest { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 4px; }
.lc-sg { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; } .lc-sg small { color: var(--muted); font-size: 12px; margin-right: 2px; }
.lc-sg button { background: var(--card); border: 1px solid var(--border); color: var(--muted); padding: 4px 10px; border-radius: 999px; font: inherit; font-size: 13px; cursor: pointer; }
.lc-sg button:hover, .lc-sg button.active { color: var(--text); border-color: var(--accent); }
.lc-name { display: block; margin-top: 2px; }
.lc-price .lc-name { flex-basis: 100%; margin-top: 4px; }

.check-field { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 0 0 14px; line-height: 1.45; } .check-field input { margin-top: 2px; accent-color: var(--accent); }

/* teste grátis e indicação */
.trial-bar { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 10px 20px; font-size: 14px; text-align: center;
  background: linear-gradient(90deg, rgba(124,92,255,.18), rgba(34,196,255,.14)); border-bottom: 1px solid var(--border); }
.trial-bar.ended { background: rgba(255,181,71,.12); } .trial-bar .btn { text-decoration: none; }
.ref-head { margin-bottom: 12px; }
.ref-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.ref-stats div { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 12px; text-align: center; }
.ref-stats b { display: block; font-size: 24px; } .ref-stats small { color: var(--muted); }
#refLink { flex: 1; min-width: 0; }

.invite-bar { margin: 18px auto 0; max-width: 1040px; display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 12px 18px; border-radius: 14px; text-align: center;
  background: linear-gradient(90deg, rgba(34,211,155,.14), rgba(34,196,255,.12)); border: 1px solid rgba(34,211,155,.4); }
.invite-bar .btn { text-decoration: none; }
.trial-note { margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; font-size: 13.5px; background: rgba(34,211,155,.1); border: 1px solid rgba(34,211,155,.35); }

/* curso dentro do app */
.course-tab #cMain { max-width: 980px; margin: 0 auto; }
@media print { body.print-cert * { visibility: hidden !important; } body.print-cert #cCertCard, body.print-cert #cCertCard * { visibility: visible !important; }
  body.print-cert #cCertCard { position: absolute; left: 0; top: 0; width: 100%; margin: 0; } }

/* usabilidade: foco visível, toque, celular */
:focus-visible { outline: 2px solid var(--accent2); outline-offset: 2px; }
main:focus { outline: none; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 14px; border-radius: 10px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }
.toast { display: flex; align-items: center; gap: 12px; }
.toast-act { margin-left: auto; background: none; border: 1px solid var(--border); color: var(--accent2); font: inherit; font-weight: 700; padding: 6px 12px; border-radius: 8px; cursor: pointer; min-height: 36px; }
.help { position: relative; } .help::after { content: ''; position: absolute; inset: -11px; } /* área de toque de 40px sem mudar o desenho */
@media (pointer: coarse) {
  .chips button, .lc-sg button, nav button { min-height: 44px; }
  .btn.sm, .btn, select, input:not([type=checkbox]):not([type=radio]):not([type=range]) { min-height: 44px; }
  .lc-sg button { padding: 6px 12px; }
}
@media (max-width: 640px) {
  input, select, textarea { font-size: 16px; } /* menos de 16px faz o iPhone dar zoom ao tocar no campo */
  .top { padding: 8px 12px; gap: 8px; row-gap: 6px; }
  .brand { font-size: 19px; } .brand img { width: 30px; height: 30px; }
  .status #updated, #userName, #accessBadge { display: none; } /* o ponto verde e a faixa do teste já dizem o estado */
  .user { gap: 6px; }
  .lang-sel { padding: 6px 4px; font-size: 16px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .cards .card { padding: 14px; } .cards .value { font-size: 20px; word-break: break-word; }
  main { padding-bottom: 84px; } /* o botão do WhatsApp não cobre o fim da página */
  .trial-bar { padding: 8px 12px; font-size: 13px; gap: 8px; }
}
@media (max-width: 430px) { .top .brand span { display: none; } .top .brand { flex: 1; } } /* só o logo: o topo cabe numa linha e sobra tela para o conteúdo */

.trial-buy { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; } .trial-bar a.btn { text-decoration: none; }

/* presente do teste grátis */
dialog.gift { max-width: 460px; width: calc(100% - 32px); border: 1px solid var(--border); border-radius: 22px; padding: 30px 26px 24px; text-align: center; color: var(--text);
  background: radial-gradient(circle at 50% 0%, rgba(124,92,255,.25), transparent 60%), var(--bg2); box-shadow: 0 30px 80px rgba(0,0,0,.5); animation: giftIn .5s cubic-bezier(.2,.9,.3,1.3) both; }
dialog.gift::backdrop { background: rgba(3,6,14,.7); backdrop-filter: blur(4px); }
dialog.gift h2 { margin: 14px 0 6px; font-size: 26px; }
@keyframes giftIn { from { opacity: 0; transform: translateY(30px) scale(.9); } to { opacity: 1; transform: none; } }
.gift-box { position: relative; width: 92px; height: 92px; margin: 0 auto; animation: giftBounce 1.2s ease .2s both; }
.gift-body { position: absolute; left: 10px; right: 10px; bottom: 0; height: 58px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.gift-body::after { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 12px; margin-left: -6px; background: rgba(255,255,255,.8); }
.gift-lid { position: absolute; left: 4px; right: 4px; top: 16px; height: 22px; border-radius: 8px; background: linear-gradient(135deg, #a58bff, #5fd8ff); z-index: 1; transform-origin: 20% 100%; animation: lidOpen .7s ease 1s both; }
.gift-lid::after { content: ''; position: absolute; left: 50%; top: -14px; width: 26px; height: 18px; margin-left: -13px; border: 5px solid rgba(255,255,255,.85); border-bottom: 0; border-radius: 14px 14px 0 0; }
.gift-shine { position: absolute; left: 50%; top: 30px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #fff; box-shadow: 0 0 40px 22px rgba(255,214,102,.75); opacity: 0; animation: shine 1.4s ease 1.2s both; }
@keyframes giftBounce { 0% { transform: scale(.3) rotate(-12deg); opacity: 0; } 55% { transform: scale(1.12) rotate(4deg); opacity: 1; } 75% { transform: scale(.95) rotate(-2deg); } 100% { transform: none; } }
@keyframes lidOpen { to { transform: translateY(-14px) rotate(-24deg); } }
@keyframes shine { 0% { opacity: 0; } 40% { opacity: 1; } 100% { opacity: .55; } }
.gift-list { list-style: none; padding: 0; margin: 16px 0 20px; text-align: left; display: grid; gap: 8px; }
.gift-list li { padding: 9px 12px 9px 36px; border-radius: 10px; background: var(--card); border: 1px solid var(--border); position: relative; font-size: 14px; opacity: 0; animation: cPop .45s ease both; }
.gift-list li::before { content: '✓'; position: absolute; left: 13px; color: var(--up); font-weight: 800; }
.gift-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
nav button.just-unlocked { animation: unlockGlow 1.3s ease 2; }
@keyframes unlockGlow { 50% { box-shadow: 0 0 0 3px rgba(34,211,155,.55); color: var(--up); } }
@media (prefers-reduced-motion: reduce) { dialog.gift, .gift-box, .gift-lid, .gift-shine, .gift-list li, nav button.just-unlocked { animation: none !important; opacity: 1; } }

/* ===== camada imersiva (página de planos e app) ===== */
/* fundo vivo: três manchas de luz que flutuam devagar atrás de tudo */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(70px); opacity: .32; animation: drift 26s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { background: #7c5cff; left: -12vmax; top: -16vmax; }
.aurora i:nth-child(2) { background: #22c4ff; right: -14vmax; top: 10vh; animation-duration: 32s; animation-delay: -8s; }
.aurora i:nth-child(3) { background: #22d39b; left: 30vw; bottom: -26vmax; opacity: .16; animation-duration: 38s; animation-delay: -14s; }
.aurora.soft i { opacity: .14; } .aurora.soft i:nth-child(3) { opacity: .07; }
:root[data-theme="light"] .aurora i { opacity: .16; } :root[data-theme="light"] .aurora.soft i { opacity: .08; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6vmax, 4vmax) scale(1.12); } 100% { transform: translate(-4vmax, 7vmax) scale(.94); } }
.aurora::after { content: ''; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 70%); }

/* luz que segue o cursor nos cartões e painéis */
.card, .panel { position: relative; }
.card::after, .panel::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(124,92,255,.13), transparent 45%); }
.card:hover::after, .panel:hover::after { opacity: 1; }
[data-tilt] { transition: transform .25s ease, box-shadow .25s ease; transform-style: preserve-3d; will-change: transform; }
[data-tilt]:hover { box-shadow: 0 24px 60px rgba(0,0,0,.35); }

/* plano em destaque: borda em gradiente que gira */
@property --spin { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.price-card.featured { background: linear-gradient(var(--bg2), var(--bg2)) padding-box, conic-gradient(from var(--spin), #7c5cff, #22c4ff, #22d39b, #7c5cff) border-box; animation: spin 6s linear infinite; }
@keyframes spin { to { --spin: 360deg; } }

/* faixa de números */
.lp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 10px 0 34px; padding: 22px; border-radius: 18px; border: 1px solid var(--border); background: rgba(13,20,36,.55); backdrop-filter: blur(10px); }
.lp-stats div { text-align: center; } .lp-stats b { display: block; font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -1px;
  background: linear-gradient(90deg, #fff, #b9c7ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="light"] .lp-stats { background: rgba(255,255,255,.7); } :root[data-theme="light"] .lp-stats b { background: linear-gradient(90deg, #1b2235, #5b4bd1); -webkit-background-clip: text; background-clip: text; }
.lp-stats span { color: var(--muted); font-size: 13px; }
@media (max-width: 720px) { .lp-stats { grid-template-columns: repeat(2, 1fr); } }

/* chamada fixa no celular depois do topo */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 95; display: none; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 10px 16px;
  border-radius: 16px; color: var(--text); text-decoration: none; background: rgba(13,20,36,.92); border: 1px solid rgba(124,92,255,.5); backdrop-filter: blur(12px); box-shadow: 0 16px 40px rgba(0,0,0,.45);
  transform: translateY(140%); transition: transform .35s ease; }
.sticky-cta.show { transform: none; }
@media (max-width: 720px) { .sticky-cta { display: flex; } body.pricing .wa-float { bottom: 84px; } }

/* app: aba entra deslizando, com os blocos em sequência */
.tab.active > * { animation: rise .5s cubic-bezier(.2,.8,.2,1) both; }
.tab.active > *:nth-child(2) { animation-delay: .05s; } .tab.active > *:nth-child(3) { animation-delay: .1s; } .tab.active > *:nth-child(4) { animation-delay: .15s; }
.tab.active > *:nth-child(5) { animation-delay: .2s; } .tab.active > *:nth-child(n+6) { animation-delay: .25s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* destaque da aba ativa que desliza entre os botões do menu */
nav.has-pill { position: relative; }
.nav-pill { position: absolute; left: 0; top: 0; z-index: 0; border-radius: 10px; pointer-events: none; transition: transform .35s cubic-bezier(.3,.9,.3,1), width .35s, height .35s, opacity .2s;
  background: linear-gradient(90deg, rgba(124,92,255,.38), rgba(34,196,255,.26)); box-shadow: 0 0 0 1px rgba(124,92,255,.35), 0 6px 20px rgba(124,92,255,.25); }
nav.has-pill button { position: relative; z-index: 1; } nav.has-pill button.active { background: none; }
/* carregando: brilho que passa */
.skeleton { position: relative; overflow: hidden; border-radius: 10px; background: var(--card); }
.skeleton::before { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.07), transparent); animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
/* números dos cartões com leve brilho ao passar o mouse */
.card .value { transition: text-shadow .3s; } .card:hover .value { text-shadow: 0 0 22px rgba(124,92,255,.35); }

@media (prefers-reduced-motion: reduce) {
  .aurora i, .price-card.featured, .tab.active > *, .skeleton::before { animation: none !important; }
  .nav-pill, [data-tilt] { transition: none; }
}

/* rodapé padrão */
.site-foot { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 22px 16px 26px; }
.site-foot p { margin: 0; }
.foot-brand { font-size: 13px; color: var(--text); font-weight: 600; letter-spacing: .2px; }
.foot-brand .company-line { font-weight: 400; color: var(--muted); }
.foot-brand .company-line::before { content: '·'; margin: 0 8px; color: var(--muted); }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; font-size: 13px; }
body .site-foot .foot-links a { color: var(--muted); text-decoration: none; } body .site-foot .foot-links a:hover { color: var(--accent2); text-decoration: underline; }
body.auth .site-foot { padding-top: 26px; }

.pay-status { margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; font-size: 14px; border: 1px solid var(--border); background: var(--card); }
.pay-status.ok { border-color: rgba(34,211,155,.5); } .pay-status.test { border-color: rgba(255,181,71,.5); } .pay-status.off { border-color: rgba(255,92,122,.5); }

.st-head { display: flex; gap: 14px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; } .st-head p { margin-bottom: 0; }

/* metas */
.goal-types button span { margin-right: 4px; }
.fipe-card { display: grid; gap: 4px; margin: 6px 0 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(34,211,155,.4); background: rgba(34,211,155,.07); }
.fipe-card b { font-size: 28px; letter-spacing: -.5px; } .fipe-card span { color: var(--muted); font-size: 14px; }
.goal-summary { display: grid; gap: 14px; } .goal-summary h3 { margin: 2px 0; font-size: 22px; }
.goal-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.goal-nums div { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.goal-nums small { display: block; color: var(--muted); font-size: 12px; } .goal-nums b { font-size: 20px; }
.grad-text { background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.goal-h { margin: 22px 0 10px; }
.goal-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.goal-way { display: flex; flex-direction: column; gap: 8px; padding: 22px 18px 18px; }
.goal-way .period-tag { margin-bottom: 0; }
.goal-way.rec { border: 2px solid transparent; background: linear-gradient(var(--bg2), var(--bg2)) padding-box, linear-gradient(135deg, var(--accent), var(--accent2)) border-box; }
.goal-pmt { display: flex; align-items: baseline; gap: 6px; } .goal-pmt b { font-size: 30px; letter-spacing: -1px; } .goal-pmt span { color: var(--muted); }
.goal-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: 14px; }
.goal-way .note { margin: 0; line-height: 1.5; } .goal-way .btn { margin-top: auto; }
.goal-whatif { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 16px; } .goal-whatif input { width: 140px; margin: 0 6px; }
.goal-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.goal-item { display: grid; gap: 10px; } .goal-item.done { border-color: rgba(34,211,155,.5); }
.goal-item-head { display: flex; gap: 12px; align-items: center; } .goal-item-head > div { flex: 1; } .goal-item-head small { display: block; text-transform: none; }
.goal-ico { font-size: 28px; }
.goal-item .bar { background: rgba(255,255,255,.08); height: 10px; margin: 0; } .goal-item .bar i { background: linear-gradient(90deg, var(--accent), var(--up)); }
.goal-item-nums { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--muted); } .goal-item-nums b { color: var(--text); }
.goal-item .btn { justify-self: start; }
@media (max-width: 640px) { .goal-nums { grid-template-columns: 1fr; } }
/* metas dentro de Começar a investir */
.goal-mix { display: grid; gap: 6px; padding: 10px 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--border); }
.goal-mix-row { display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; } .goal-mix-row b { color: var(--accent2); }
.goal-assets { display: flex; flex-wrap: wrap; gap: 6px; margin: -2px 0 4px; }
.goal-assets span { font-size: 12px; padding: 4px 8px; border-radius: 999px; background: rgba(124,92,255,.12); border: 1px solid rgba(124,92,255,.3); }
.goal-list-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 26px; } .goal-list-head h2 { margin: 0; }
/* busca de carro e moto */
.car-step { display: grid; gap: 8px; margin: 12px 0; } .car-step > b { font-size: 14px; }
.car-step select, .car-step input { max-width: 420px; }
.car-chips { margin: 0; } .car-chips button small { opacity: .6; font-size: 11px; margin-left: 2px; }
.car-card { grid-template-columns: minmax(0, 240px) 1fr; align-items: center; gap: 16px; }
.car-photo { position: relative; border-radius: 12px; overflow: hidden; background: var(--card); min-height: 120px; display: grid; place-items: center; }
.car-photo img { width: 100%; height: 150px; object-fit: cover; display: block; }
.car-photo a { position: absolute; left: 6px; bottom: 6px; font-size: 10.5px; padding: 2px 6px; border-radius: 6px; background: rgba(0,0,0,.6); color: #fff; text-decoration: none; }
.car-info { display: grid; gap: 4px; }
@media (max-width: 560px) { .car-card { grid-template-columns: 1fr; } }

/* acompanhamento das metas */
.goal-summary-bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; grid-column: 1 / -1; }
.goal-summary-bar > div { display: grid; gap: 2px; padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--border); }
.goal-summary-bar small { color: var(--muted); font-size: 12px; } .goal-summary-bar b { font-size: 22px; } .goal-summary-bar span { font-size: 12.5px; color: var(--muted); }
.goal-summary-bar span.up { color: var(--up); } .goal-summary-bar span.down { color: var(--down); }
.goal-list > p.note { grid-column: 1 / -1; margin: 0; }
.goal-track { position: relative; } .goal-mark { position: absolute; top: -4px; width: 3px; height: 18px; margin-left: -1px; border-radius: 2px; background: var(--text); opacity: .7; }
.goal-item-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.goal-item-head .pill { white-space: nowrap; font-size: 11.5px; }
@media (max-width: 640px) { .goal-summary-bar { grid-template-columns: 1fr; } .goal-item-head { flex-wrap: wrap; } }

.value.inv, .fin-item .inv { color: #a78bfa; } .fin-item .pill { font-size: 10.5px; }

/* plano do mês: pular sugestão e registrar outra compra */
.item-acts { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.skip-btn { color: var(--muted); font-size: 12px; }
.skipped-list { margin-top: 12px; } .skipped-list span { display: inline-flex; align-items: center; gap: 4px; margin-right: 8px; }
.other-buy { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.other-form { margin-bottom: 14px; }

/* ---------- página de apresentação (planos.html): escura, tipografia grande, uma cor de destaque ---------- */
body.lp2 { --l-bg: #06070b; --l-tx: #f3f4f8; --l-mu: #9aa1b2; --l-ln: rgba(255,255,255,.08); --l-card: #0e1018; --l-acc: linear-gradient(90deg, #7c5cff, #22c4ff);
  background: var(--l-bg); color: var(--l-tx); font-family: Inter, system-ui, sans-serif; overflow-x: hidden; }
.lp2 main { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.lp2 a { color: inherit; }
.l-top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 18px; padding: 14px max(16px, calc(50% - 560px)); background: rgba(6,7,11,.72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--l-ln); }
.l-top .brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; text-decoration: none; color: var(--l-tx); } .l-top .brand b, .l-foot .brand b { color: #22c4ff; }
.l-nav { display: flex; gap: 26px; margin-left: auto; } .l-nav a { color: var(--l-mu); text-decoration: none; font-size: 15px; } .l-nav a:hover { color: var(--l-tx); }
.l-user { display: flex; align-items: center; gap: 14px; } .l-link { color: var(--l-mu); text-decoration: none; font-size: 15px; }
@media (max-width: 820px) { .l-nav { display: none; } .l-user { margin-left: auto; } }
@media (max-width: 420px) { .l-top { gap: 10px; } .l-top .brand span { display: none; } .l-user { gap: 10px; } }
.l-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 30px; border-radius: 999px; border: 0; background: var(--l-acc); color: #fff !important; font: 600 16px Inter, sans-serif; text-decoration: none; cursor: pointer; box-shadow: 0 10px 40px rgba(124,92,255,.35); transition: transform .2s, box-shadow .2s; }
.l-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 50px rgba(124,92,255,.5); } .l-btn.sm { padding: 10px 18px; font-size: 14px; }
.l-btn.ghost { background: transparent; border: 1px solid rgba(255,255,255,.2); box-shadow: none; } .l-btn.ghost:hover { border-color: rgba(255,255,255,.45); }
.l-btn.wide { width: 100%; } .l-btn[aria-disabled=true] { opacity: .55; cursor: default; transform: none; }
.l-grad { background: var(--l-acc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.l-dim { color: var(--l-mu); }
.lp2 h1, .lp2 h2 { font-weight: 400; letter-spacing: -.035em; line-height: 1.06; margin: 0 0 18px; }
.lp2 h1 { font-size: clamp(40px, 7vw, 76px); } .lp2 h2 { font-size: clamp(32px, 5vw, 54px); }
.lp2 h3 { font-weight: 500; letter-spacing: -.02em; margin: 6px 0 10px; font-size: 26px; }
.l-lead { color: var(--l-mu); font-size: clamp(16px, 2vw, 19px); line-height: 1.55; max-width: 620px; margin: 0 auto 28px; }
.l-mini { color: var(--l-mu); font-size: 13px; margin-top: 16px; } .l-mini.center { text-align: center; margin-top: 26px; }
.l-note { color: var(--l-mu); font-size: 13px; margin: 8px 0 0; line-height: 1.5; }
.l-k { display: block; color: var(--l-mu); font-size: 12px; letter-spacing: .02em; }
.l-big { display: block; font-size: 30px; font-weight: 600; letter-spacing: -.02em; margin: 4px 0 14px; }
.lp2 .up { color: #22d39b; } .lp2 .down { color: #ff5c7a; }
.l-tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #9b8bff; margin-bottom: 8px; } .l-tag.soon { color: #22d39b; }
/* hero */
.l-hero { text-align: center; padding: 92px 0 40px; position: relative; overflow-x: clip; }
.l-hero::before { content: ''; position: absolute; inset: 0 -30% auto; height: 620px; background: radial-gradient(closest-side, rgba(124,92,255,.22), transparent), radial-gradient(closest-side at 70% 60%, rgba(34,196,255,.12), transparent); z-index: -1; pointer-events: none; }
.l-phone { width: min(330px, 86vw); margin: 56px auto 0; aspect-ratio: 9 / 18.5; border-radius: 52px; padding: 11px; background: #111319; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 40px 120px rgba(124,92,255,.25), inset 0 0 0 2px #1d2029; position: relative; }
.l-notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 96px; height: 28px; border-radius: 20px; background: #000; z-index: 2; }
.l-screen { height: 100%; border-radius: 42px; background: #090b11; padding: 64px 20px 20px; text-align: left; display: flex; flex-direction: column; overflow: hidden; }
.l-app-top { display: flex; align-items: center; gap: 8px; margin-bottom: 26px; font-size: 15px; } .l-app-top span { color: #22c4ff; } .l-app-top small { margin-left: auto; color: var(--l-mu); }
.l-slides { position: relative; flex: 1; } .l-slide { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .6s; } .l-slide.on { opacity: 1; transform: none; }
.l-row { display: flex; align-items: center; gap: 12px; padding: 12px; margin-bottom: 9px; border-radius: 16px; background: var(--l-card); border: 1px solid var(--l-ln); font-size: 14px; }
.l-row i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-style: normal; font-weight: 700; color: #0b1222; flex: none; }
.l-row span { flex: 1; display: grid; } .l-row small { color: var(--l-mu); font-size: 11px; }
.l-bar { display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 10px; font-size: 12px; margin-bottom: 14px; color: var(--l-mu); } .l-bar i { height: 10px; border-radius: 6px; } .l-bar b { color: var(--l-tx); }
.l-prog { height: 12px; border-radius: 8px; background: #1a1d28; overflow: hidden; } .l-prog i { display: block; height: 100%; border-radius: 8px; background: var(--l-acc); }
.l-dots { display: flex; gap: 6px; justify-content: center; } .l-dots i { width: 7px; height: 7px; border-radius: 50%; background: #2a2e3b; cursor: pointer; transition: width .3s, background .3s; } .l-dots i.on { width: 20px; border-radius: 4px; background: #7c5cff; }
/* números */
.l-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: center; padding: 48px 0; margin: 40px 0 0; border-top: 1px solid var(--l-ln); border-bottom: 1px solid var(--l-ln); }
.l-stats b { display: block; font-size: clamp(28px, 4.5vw, 44px); font-weight: 400; letter-spacing: -.03em; } .l-stats span { color: var(--l-mu); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 560px) { .l-stats { grid-template-columns: 1fr; gap: 26px; } }
/* seções */
.l-sec { padding: 110px 0 0; text-align: center; } .l-sec > h2 { max-width: 820px; margin-left: auto; margin-right: auto; }
.l-feats { display: grid; gap: 18px; margin-top: 48px; text-align: left; }
.l-feat { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 40px; border-radius: 32px; background: var(--l-card); border: 1px solid var(--l-ln); }
.l-feat p { color: var(--l-mu); line-height: 1.6; margin: 0; max-width: 460px; }
.l-feat:nth-child(even) > div:first-child { order: 2; }
@media (max-width: 760px) { .l-feat { grid-template-columns: 1fr; padding: 26px; gap: 22px; } .l-feat:nth-child(even) > div:first-child { order: 0; } }
.l-card { padding: 24px; border-radius: 22px; background: #07080d; border: 1px solid var(--l-ln); }
.l-chips { display: flex; flex-wrap: wrap; gap: 8px; } .l-chips span { padding: 8px 14px; border-radius: 999px; background: #151826; font-size: 13px; }
.l-line { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--l-ln); font-size: 15px; } .l-line:last-child { border: 0; } .l-line span { color: var(--l-mu); }
.l-mbars { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin-top: 12px; } .l-mbars i { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--l-acc); }
/* conversa (em breve) */
.l-chat-sec { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; text-align: left; } .l-chat-sec .l-lead { margin-left: 0; }
@media (max-width: 760px) { .l-chat-sec { grid-template-columns: 1fr; } }
.l-chat { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 32px; background: var(--l-card); border: 1px solid var(--l-ln); }
.l-chat p { margin: 0; max-width: 82%; padding: 11px 15px; border-radius: 18px; font-size: 15px; line-height: 1.45; }
.l-chat .me { align-self: flex-end; background: #1f6f4e; border-bottom-right-radius: 4px; } .l-chat .bot { align-self: flex-start; background: #171a26; border-bottom-left-radius: 4px; }
/* simulador (reaproveita .try) */
.l-panel { padding: 28px; border-radius: 32px; background: var(--l-card); border: 1px solid var(--l-ln); text-align: left; }
.lp2 .try .card, .lp2 .cards .card { background: #07080d; border-color: var(--l-ln); }
.lp2 .chips button { background: #151826; color: var(--l-tx); border: 1px solid var(--l-ln); } .lp2 .chips button.active { background: #7c5cff; border-color: #7c5cff; }
/* planos */
.l-period { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--l-card); border: 1px solid var(--l-ln); margin-bottom: 34px; }
.l-period button { border: 0; background: transparent; color: var(--l-mu); font: 500 14px Inter, sans-serif; padding: 10px 18px; border-radius: 999px; cursor: pointer; } .l-period button small { color: #22d39b; font-weight: 600; }
.l-period button.on { background: #fff; color: #06070b; }
.l-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; } @media (max-width: 900px) { .l-prices { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.l-price { position: relative; padding: 32px 28px; border-radius: 28px; background: var(--l-card); border: 1px solid var(--l-ln); display: flex; flex-direction: column; }
.l-price.hot { border-color: rgba(124,92,255,.7); box-shadow: 0 30px 90px rgba(124,92,255,.18); background: linear-gradient(180deg, #14122a, var(--l-card) 60%); }
.l-price h3 { margin: 0; font-size: 24px; } .l-for { color: var(--l-mu); font-size: 14px; margin: 6px 0 22px; min-height: 20px; }
.l-amount b { font-size: 42px; font-weight: 500; letter-spacing: -.03em; } .l-amount span { color: var(--l-mu); margin-left: 6px; font-size: 14px; }
.l-save { color: var(--l-mu); font-size: 13px; margin: 6px 0 20px; min-height: 36px; }
.l-price:first-child .l-amount { margin-bottom: 62px; }
.l-price ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; font-size: 14px; line-height: 1.45; }
.l-price li { padding-left: 26px; position: relative; } .l-price li::before { position: absolute; left: 0; font-weight: 700; }
.l-price li.ok::before { content: '✓'; color: #22d39b; } .l-price li.no { color: #5d6375; } .l-price li.no::before { content: '–'; }
.l-ribbon { position: absolute; top: -12px; right: 24px; padding: 5px 12px; border-radius: 999px; background: var(--l-acc); font-size: 12px; font-weight: 600; } .l-ribbon.soon { background: #22d39b; color: #06231a; }
/* curso, dúvidas, final, rodapé */
.l-course { display: flex; align-items: center; justify-content: space-between; gap: 30px; text-align: left; margin-top: 110px; padding: 44px; border-radius: 32px; background: linear-gradient(120deg, #15123a, #0b1d2c); border: 1px solid var(--l-ln); }
.l-course .l-lead { margin: 0; } @media (max-width: 760px) { .l-course { flex-direction: column; align-items: flex-start; padding: 28px; } }
.l-search { width: 100%; max-width: 560px; padding: 15px 20px; border-radius: 999px; border: 1px solid var(--l-ln); background: var(--l-card); color: var(--l-tx); font: 15px Inter, sans-serif; margin-bottom: 16px; }
.lp2 #faqCats { justify-content: center; margin-bottom: 26px; }
.l-faq { max-width: 820px; margin: 0 auto; text-align: left; } .l-faq .faq-cat { font-weight: 500; color: var(--l-mu); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin: 30px 0 6px; }
.l-faq details { border-bottom: 1px solid var(--l-ln); } .l-faq summary { cursor: pointer; padding: 20px 0; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.l-faq summary::after { content: '+'; color: var(--l-mu); font-size: 22px; line-height: 1; } .l-faq details[open] summary::after { content: '−'; }
.l-faq summary::-webkit-details-marker { display: none; } .l-faq details p { color: var(--l-mu); line-height: 1.65; margin: 0 0 20px; }
.l-help { max-width: 820px; margin: 36px auto 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; text-align: left; padding: 22px 26px; border-radius: 22px; background: var(--l-card); border: 1px solid var(--l-ln); }
.l-final { text-align: center; padding: 130px 0 110px; } .l-final h2 { font-size: clamp(36px, 6vw, 66px); margin-bottom: 30px; }
.l-foot { border-top: 1px solid var(--l-ln); padding: 44px max(16px, calc(50% - 560px)) 28px; }
.l-foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 24px; } .l-foot-grid > div { display: grid; gap: 9px; align-content: start; font-size: 14px; }
.l-foot-grid b { font-weight: 600; } .l-foot-grid a { color: var(--l-mu); text-decoration: none; } .l-foot-grid a:hover { color: var(--l-tx); }
.l-foot .brand { display: flex; align-items: center; gap: 8px; color: var(--l-tx) !important; font-weight: 700; }
.l-copy { margin-top: 34px; } .l-copy .company-line { margin-left: 8px; }
@media (max-width: 760px) { .l-foot-grid { grid-template-columns: 1fr 1fr; } }
.lp2 .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; } .lp2 .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .lp2 .reveal { opacity: 1; transform: none; transition: none; } .l-slide { transition: none; } }

/* ---------- Minha conta em formato de menu ---------- */
.acct2 { max-width: 760px; margin: 0 auto; }
.am-head { text-align: center; padding: 26px 0 8px; } .am-head h2 { margin: 14px 0 2px; font-size: 26px; letter-spacing: -.02em; } .am-head .note { margin: 0; }
.am-photo { position: relative; display: inline-block; cursor: pointer; }
.avatar.xl { width: 132px; height: 132px; font-size: 52px; box-shadow: 0 14px 40px rgba(124,92,255,.35); }
.am-edit { position: absolute; right: 2px; bottom: 4px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg2); border: 3px solid var(--bg); color: var(--text); }
.am-photo:hover .am-edit, .am-photo:focus-within .am-edit { background: var(--accent); color: #fff; }
.am-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0 8px; }
.am-card { display: grid; gap: 4px; justify-items: start; text-align: left; padding: 20px; border-radius: 22px; background: var(--card); border: 1px solid var(--border); color: var(--text); font: inherit; cursor: pointer; transition: border-color .2s; }
.am-card svg { margin-bottom: 10px; color: var(--accent2); } .am-card b { font-size: 19px; font-weight: 600; } .am-card small { color: var(--muted); font-size: 14px; }
.am-card:hover, .am-row:hover { border-color: rgba(124,92,255,.5); }
.am-group { margin: 26px 6px 10px; font-size: 14px; font-weight: 500; color: var(--muted); }
.am-row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 17px 20px; margin-bottom: 8px; border-radius: 20px; background: var(--card); border: 1px solid var(--border); color: var(--text); font: 500 16px Inter, sans-serif; text-decoration: none; cursor: pointer; transition: border-color .2s; }
.am-row span { flex: 1; text-align: left; } .am-row > svg:last-child { color: var(--muted); } .am-row .pill { font-style: normal; font-size: 12px; }
.am-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin: 26px 0 10px; }
.am-out, .am-del { display: inline-flex; align-items: center; gap: 10px; padding: 10px 6px; border: 0; background: none; font: 500 16px Inter, sans-serif; cursor: pointer; }
.am-out { color: var(--down); } .am-del { color: var(--muted); font-size: 14px; } .am-del:hover { color: var(--down); }
.acct-back { border: 0; background: none; color: var(--accent2); font: 500 15px Inter, sans-serif; padding: 18px 0 4px; cursor: pointer; }
.acct-title { font-size: 30px; letter-spacing: -.02em; margin: 6px 0 18px; }
@media (max-width: 520px) { .am-cards { gap: 8px; } .am-card { padding: 16px; } .am-card b { font-size: 16px; } .avatar.xl { width: 112px; height: 112px; } }

/* ---------- assistente (chat) ---------- */
.chat-wrap { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; min-height: calc(100vh - 220px); }
.chat-head { text-align: center; padding: 18px 0 6px; } .chat-head h1 { margin: 0 0 4px; font-size: 30px; letter-spacing: -.02em; }
.chat-log { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 16px 0; overflow-y: auto; max-height: 60vh; }
.chat-msg { max-width: 82%; display: grid; gap: 6px; } .chat-msg p { margin: 0; padding: 12px 16px; border-radius: 20px; line-height: 1.5; font-size: 15px; }
.chat-msg.me { align-self: flex-end; } .chat-msg.me p { background: linear-gradient(135deg, var(--accent), #5b3fe0); color: #fff; border-bottom-right-radius: 6px; }
.chat-msg.bot { align-self: flex-start; } .chat-msg.bot p { background: var(--card); border: 1px solid var(--border); border-bottom-left-radius: 6px; }
.chat-msg.undone p { opacity: .5; text-decoration: line-through; }
.chat-undo { justify-self: start; border: 1px solid var(--border); background: none; color: var(--accent2); border-radius: 999px; padding: 6px 14px; font: 500 13px Inter, sans-serif; cursor: pointer; text-decoration: none; }
.chat-msg.typing i { display: inline-block; width: 7px; height: 7px; margin: 0 2px; border-radius: 50%; background: var(--muted); animation: chatDot 1s infinite; } .chat-msg.typing i:nth-child(2) { animation-delay: .15s; } .chat-msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chatDot { 0%, 80%, 100% { opacity: .3; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: none; } .chat-chips button { flex: none; border: 1px solid var(--border); background: var(--card); color: var(--text); border-radius: 999px; padding: 8px 14px; font: 13px Inter, sans-serif; cursor: pointer; }
.chat-form { display: flex; gap: 8px; padding: 8px; border-radius: 24px; background: var(--card); border: 1px solid var(--border); position: sticky; bottom: 12px; backdrop-filter: blur(12px); }
.chat-form input { flex: 1; border: 0; background: transparent; color: var(--text); font: 16px Inter, sans-serif; padding: 10px 12px; outline: none; } .chat-form .btn { border-radius: 50%; width: 46px; height: 46px; padding: 0; }
@media (prefers-reduced-motion: reduce) { .chat-msg.typing i { animation: none; } }

/* ---------- app limpo (index.html, body.app2): menu lateral no computador, barra embaixo no celular ---------- */
:root:not([data-theme="light"]) body.app2 { --bg: #0a0a0c; --bg2: #131316; --card: #161619; --border: rgba(255,255,255,.07); --text: #f2f2f4; --muted: #8e8e98; }
body.app2, :root[data-theme="light"] body.app2 { background: var(--bg); background-image: none; }
.app2 .aurora, .app2 .tape, .app2 .top .status, .app2 .nav-pill { display: none !important; }
.app2 .card, .app2 .panel { border-radius: 20px; background: var(--card); border: 1px solid var(--border); box-shadow: none; backdrop-filter: none; }
.app2 .card:hover { transform: none; border-color: rgba(255,255,255,.14); } :root[data-theme="light"] .app2 .card:hover { border-color: rgba(10,20,40,.18); }
.app2 .hero { padding: 30px 2px 20px; } .app2 .hero h1 { font-weight: 600; letter-spacing: -.035em; }
.app2 .hero .grad, .app2 h1 .grad, .app2 h2 .grad { background: none; -webkit-background-clip: initial; background-clip: initial; color: inherit; }
.app2 h2.sub { font-weight: 600; letter-spacing: -.02em; }
.app2 .btn { background: var(--accent); border-radius: 14px; font-weight: 600; } .app2 .btn.ghost { background: transparent; } .app2 .btn.sm { border-radius: 11px; }
.app2 .trial-bar { font-size: 13px; padding: 9px 16px; background: var(--bg2); border-bottom: 1px solid var(--border); }
.app2 #nav button { position: relative; display: flex; align-items: center; gap: 12px; background: none; border: 0; color: var(--muted); font: 500 14.5px Inter, sans-serif; cursor: pointer; }
.app2 #nav button svg { flex: none; } .app2 #nav button:hover { color: var(--text); background: var(--card); }
.app2 #nav button.active { color: var(--text); background: var(--card); } .app2 nav button.cta { border: 0; }
.app2 nav button.locked::after { content: 'Pro'; margin-left: auto; font-size: 10px; font-weight: 700; letter-spacing: .04em; padding: 2px 6px; border-radius: 6px; background: rgba(124,92,255,.18); color: #b6a6ff; opacity: 1; }
.app2 .nav-group { color: var(--muted); font-size: 12px; font-weight: 500; padding: 18px 12px 6px; opacity: .75; }
.app2 .nav-more { display: none !important; }
@media (min-width: 980px) {
  .app2 .top { position: fixed; inset: 0 auto 0 0; width: 252px; z-index: 40; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; padding: 22px 12px 16px; background: var(--bg); border-right: 1px solid var(--border); border-bottom: 0; overflow-y: auto; backdrop-filter: none; }
  .app2 .top .brand { padding: 0 12px 10px; }
  .app2 #nav { order: 0; flex: 1; flex-direction: column; flex-wrap: nowrap; gap: 2px; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .app2 #nav button { padding: 10px 12px; border-radius: 12px; width: 100%; text-align: left; white-space: nowrap; }
  .app2 .top .user { flex-wrap: wrap; gap: 8px; margin-top: 14px; padding: 14px 6px 0; border-top: 1px solid var(--border); }
  .app2 .top .user .avatar-link { order: -1; flex: 1 0 100%; display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 500; }
  .app2 main, .app2 .trial-bar, .app2 > footer { margin-left: 252px; }
  .app2 main { max-width: 1180px; padding: 12px 40px 60px; }
  :root[data-theme="light"] .app2 .top { background: #fff; }
}
@media (max-width: 979px) {
  .app2 .top { flex-wrap: nowrap; padding: 10px 16px; gap: 10px; }
  .app2 .top .user #userName, .app2 .top .user #accessBadge, .app2 .top .user [data-act="logout"], .app2 .top .lang-sel, .app2 #themeBtn { display: none; }
  .app2 .top .user { margin-left: auto; }
  .app2 #nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; order: 0; flex: none; display: flex; flex-wrap: nowrap; gap: 0; justify-content: space-around; overflow: visible;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(18px); border-top: 1px solid var(--border); -webkit-mask-image: none; mask-image: none; }
  .app2 #nav button:not([data-main]), .app2 #nav .nav-group { display: none; }
  .app2 #nav button[data-main], .app2 #nav .nav-more { display: grid !important; justify-items: center; gap: 3px; flex: 1 1 0; min-width: 0; padding: 7px 2px; border-radius: 12px; font-size: 10.5px; line-height: 1.15; text-align: center; white-space: normal; }
  .app2 #nav button[data-main].active, .app2 #nav .nav-more.active { background: none; color: var(--text); }
  .app2 nav button.locked::after { display: none; }
  .app2 main { padding-bottom: 110px; } .app2 > footer { padding-bottom: 80px; } .app2 .wa-float { bottom: 84px; }
  /* "Mais": todas as abas numa folha que sobe de baixo */
  body.app2.nav-open::after { content: ''; position: fixed; inset: 0; z-index: 55; background: rgba(0,0,0,.55); }
  body.app2.nav-open #nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; align-content: start; max-height: 82vh; overflow-y: auto; padding: 20px 14px calc(16px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; }
  body.app2.nav-open #nav .nav-group { display: block; grid-column: 1 / -1; padding: 10px 6px 2px; }
  body.app2.nav-open #nav button:not([hidden]) { display: grid !important; justify-items: center; gap: 6px; padding: 14px 4px; border-radius: 16px; background: var(--card); font-size: 12px; text-align: center; white-space: normal; }
  body.app2.nav-open #nav button.active { outline: 1px solid var(--accent); }
  body.app2.nav-open #nav .nav-more { grid-column: 1 / -1; order: 99; background: none; }
}
/* Preferências */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.chip-opt { border: 1px solid var(--border); background: var(--card); color: var(--text); border-radius: 999px; padding: 10px 18px; font: 500 14px Inter, sans-serif; cursor: pointer; } .chip-opt.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.app2 .top { scrollbar-width: thin; scrollbar-color: rgba(128,128,140,.25) transparent; }
.app2 .wa-float { left: auto; right: 18px; padding: 12px; } .app2 .wa-float span { display: none; }
@media (max-width: 979px) { .app2 .top { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); border-bottom: 1px solid var(--border); } } /* desfoque no topo prenderia a barra de baixo dentro dele */
@media (max-width: 979px) { body.app2.nav-open .top { z-index: 70; } body.app2.nav-open .wa-float { display: none; } }
@media (max-width: 979px) { .app2 .chat-form { bottom: 84px; } .app2 .chat-wrap { min-height: calc(100vh - 260px); } }
.app2.on-chat .wa-float { display: none; }

/* ---------- Premium no controle financeiro: alertas, limites e relatório ---------- */
.fin-prem, .fin-alerts { margin-top: 14px; } .fin-prem { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.fa-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; } .fa-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.fa-item { display: grid; gap: 2px; padding: 12px 14px; margin-bottom: 8px; border-radius: 14px; border: 1px solid var(--border); border-left: 4px solid var(--muted); }
.fa-item.bad { border-left-color: var(--down); } .fa-item.warn { border-left-color: #ffb547; } .fa-item.info { border-left-color: var(--accent2); } .fa-item small { color: var(--muted); }
.fa-weekly { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.fa-limits { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; margin: 10px 0 12px; } .fa-limits label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.fin-report { display: none; }
@media print {
  body.print-report * { visibility: hidden !important; }
  body.print-report .fin-report, body.print-report .fin-report * { visibility: visible !important; }
  body.print-report .fin-report { display: block; position: absolute; left: 0; top: 0; width: 100%; padding: 24px; background: #fff; color: #1b2235; font: 13px/1.5 Inter, Arial, sans-serif; }
  .fin-report header { display: flex; gap: 12px; align-items: center; border-bottom: 2px solid #7c5cff; padding-bottom: 12px; margin-bottom: 16px; } .fin-report header b { font-size: 18px; display: block; } .fin-report header small { color: #5b6780; }
  .fin-report .fr-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; } .fin-report .fr-cards div { border: 1px solid #dde2ee; border-radius: 10px; padding: 10px; } .fin-report .fr-cards small { color: #5b6780; display: block; } .fin-report .fr-cards b { font-size: 16px; }
  .fin-report h3 { margin: 18px 0 6px; font-size: 15px; } .fin-report table { width: 100%; border-collapse: collapse; } .fin-report th, .fin-report td { text-align: left; padding: 6px 8px; border-bottom: 1px solid #e6e9f2; } .fin-report .r { text-align: right; }
  .fin-report .fr-foot { margin-top: 20px; color: #5b6780; font-size: 11px; }
}
.l-soon { color: #22d39b; font-size: 11px; font-weight: 600; margin-left: 4px; }

/* ---------- login (login.html): brilho azul no topo, campos em pílula, tudo centralizado ---------- */
body.auth2 { min-height: 100vh; margin: 0; color: #f2f4fa; background: #04060c; background-image: radial-gradient(120% 70% at 50% -8%, #2f6bff 0%, #1638a8 28%, #0a1440 52%, #04060c 78%); background-attachment: fixed; }
.auth2 .a2-wrap { max-width: 420px; margin: 0 auto; min-height: 100vh; padding: 56px 20px 28px; display: flex; flex-direction: column; }
.a2-brand { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 26px; font-weight: 400; letter-spacing: -.02em; } .a2-brand b { font-weight: 600; color: #8fd8ff; }
.a2-brand img { filter: drop-shadow(0 6px 24px rgba(34,196,255,.45)); }
.a2-title { text-align: center; font-size: clamp(30px, 8vw, 38px); font-weight: 600; letter-spacing: -.03em; margin: 13vh 0 8px; }
.a2-sub { text-align: center; color: rgba(225,232,250,.72); margin: 0 0 30px; font-size: 15px; }
.a2-form { display: grid; gap: 12px; }
.a2-field input { width: 100%; box-sizing: border-box; padding: 17px 22px; border-radius: 999px; border: 1px solid rgba(255,255,255,.1); background: rgba(8,10,18,.72); color: #f2f4fa; font: 16px Inter, sans-serif; outline: none; transition: border-color .2s, box-shadow .2s; }
.a2-field input::placeholder { color: rgba(205,214,235,.55); } .a2-field input:focus { border-color: #4f8bff; box-shadow: 0 0 0 4px rgba(79,139,255,.2); }
.a2-field input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px #0b0f1c inset; -webkit-text-fill-color: #f2f4fa; caret-color: #f2f4fa; }
.auth2 .auth-forgot { text-align: right; margin: 2px 6px 4px; } .auth2 .auth-forgot a { color: #f2f4fa; text-decoration: none; font-weight: 500; font-size: 14px; }
.a2-btn { width: 100%; border: 0; border-radius: 999px; padding: 17px; font: 600 16px Inter, sans-serif; color: #061024; cursor: pointer; background: linear-gradient(90deg, #5b8cff, #5fe0f5); box-shadow: 0 12px 36px rgba(79,139,255,.35); transition: transform .15s, filter .15s; }
.a2-btn:hover { filter: brightness(1.06); transform: translateY(-1px); } .a2-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.a2-btn.ghost { background: transparent; color: #f2f4fa; border: 1px solid rgba(255,255,255,.2); box-shadow: none; padding: 12px; }
.a2-switch { text-align: center; color: rgba(225,232,250,.7); margin: 10px 0 0; font-size: 15px; } .a2-switch button { border: 0; background: none; color: #fff; font: 600 15px Inter, sans-serif; cursor: pointer; padding: 0 2px; }
.auth2 .trial-note { text-align: center; margin: 0 0 4px; padding: 10px 14px; border-radius: 16px; background: rgba(34,211,155,.12); color: #c9f5e6; font-size: 14px; }
.auth2 .a2-check { font-size: 13px; color: rgba(225,232,250,.75); padding: 0 8px; }
.auth2 .auth-msg { text-align: center; margin: 0; min-height: 0; } .auth2 .auth-msg:empty { display: none; }
.auth2 .auth-legal { text-align: center; font-size: 13px; color: rgba(225,232,250,.65); } .auth2 .auth-legal a, .a2-foot a { color: #dfe7ff; }
.a2-foot { margin-top: auto; padding-top: 40px; text-align: center; font-size: 13px; color: rgba(225,232,250,.55); } .a2-foot p { margin: 8px 0 0; } .a2-foot a { text-decoration: underline; text-underline-offset: 3px; }
.a2-foot > a { display: inline-block; margin-bottom: 6px; font-weight: 500; text-decoration: none; padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); }
@media (max-height: 760px) { .a2-title { margin-top: 7vh; } }
body.auth2 .auth-forgot a { color: #f2f4fa; } body.auth2 .a2-foot a, body.auth2 .auth-legal a { color: #dfe7ff; }
body.auth2 .a2-foot { border: 0; } body.auth2 footer { border: 0 !important; }
