@font-face { font-family: "Jakarta"; src: url("/fonts/jakarta.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #f6f4ee; --bg-2: #eef4ef; --surface: #ffffff; --text: #18201b; --muted: #5b655f; --line: #e3e0d7;
  --green: #0b6b3a; --green-2: #0e8549; --green-soft: #e2f1e7; --red: #c8102e; --red-soft: #fbe6e9;
  --gold: #f2c200; --gold-soft: #fdf4d3; --ink: #0d2a1b;
  --shadow: 0 1px 2px rgba(16,24,20,.05), 0 8px 24px rgba(16,24,20,.06);
  --shadow-lg: 0 2px 6px rgba(16,24,20,.06), 0 24px 60px rgba(16,24,20,.12);
  --radius: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overflow-x: hidden; }
a { color: var(--green); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5.6vw, 3.6rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: 1.4rem; font-weight: 750; }
h3 { font-size: 1.08rem; font-weight: 700; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 680px; }
.small { font-size: .875rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
[hidden] { display: none !important; }
svg { flex: none; }

/* ---------- topo ---------- */
.topbar-wrap { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; max-width: 1120px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: -.02em; font-size: 1.05rem; }
.logo { width: 34px; height: 34px; }
.topnav { display: flex; align-items: center; gap: 6px; }
.navlink { white-space: nowrap; color: var(--text); text-decoration: none; font-weight: 600; font-size: .93rem; padding: 8px 10px; border-radius: 8px; }
.navlink:hover { background: var(--surface); }
.lang { border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 999px; padding: 6px 12px; font: inherit; font-weight: 700; font-size: .85rem; cursor: pointer; }
@media (max-width: 760px) { .hide-sm { display: none !important; } }
@media (max-width: 420px) { #navBuy { display: none; } .brand span { font-size: .95rem; } }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 12px 20px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; min-height: 48px; transition: transform .15s, filter .15s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn.sm { min-height: 38px; padding: 8px 14px; font-size: .9rem; border-radius: 10px; }
.btn.lg { min-height: 54px; padding: 14px 24px; font-size: 1.02rem; }
.btn.full { width: 100%; }
.btn.primary { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(11,107,58,.25); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--green); }
.btn.light { background: #fff; color: var(--ink); }
.linkbtn { background: none; border: 0; color: var(--green); font: inherit; font-weight: 600; cursor: pointer; padding: 6px 0; text-decoration: none; display: inline-block; }
.linkbtn.danger { color: var(--red); margin-top: 16px; }
.navlink.linkbtn { color: var(--text); padding: 8px 10px; font-size: .93rem; }
@media (min-width: 761px) { .navlink.linkbtn { white-space: nowrap; } }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 10px; }
.cta-row.center { justify-content: center; }

/* ---------- hero ---------- */
.hero { padding: 48px 0 32px; background:
  radial-gradient(700px 380px at 85% 10%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 70%),
  radial-gradient(800px 420px at 10% 0%, color-mix(in srgb, var(--green) 14%, transparent), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } .hero { padding-top: 28px; } }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .82rem; font-weight: 700; color: var(--muted); margin: 0 0 18px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.hl { color: var(--green); background: linear-gradient(transparent 68%, color-mix(in srgb, var(--gold) 45%, transparent) 68%); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 580px; }
.trust { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.trust li { display: flex; align-items: center; gap: 7px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.trust svg, .paybadges svg, .guarantee svg { width: 18px; height: 18px; fill: none; stroke: var(--green); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.hero-demo { position: relative; padding: 18px 8px; }
.device { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: var(--shadow-lg); position: relative; z-index: 1; }
.device-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.device h3 { font-size: 1.12rem; margin: 6px 0 14px; }
.device .opt { padding: 12px; min-height: 48px; }
.float { position: absolute; z-index: 2; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; line-height: 1.2; font-size: .8rem; color: var(--muted); }
.float strong { font-size: 1.15rem; color: var(--text); }
.f1 { top: -16px; right: 28px; flex-direction: row; align-items: baseline; gap: 6px; }
.f2 { bottom: -20px; left: -10px; flex-direction: row; align-items: baseline; gap: 6px; }
@media (max-width: 520px) { .f1 { right: 16px; } .f2 { left: 4px; } }

/* ---------- estado da lei ---------- */
.status { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
@media (max-width: 760px) { .status { grid-template-columns: 1fr; } }
.st { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.st p { margin: 8px 0 0; font-size: .94rem; color: var(--muted); }
.st b { color: var(--text); }
.st-badge { display: inline-block; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 3px 10px; border-radius: 999px; }
.st-badge.ok { background: var(--green-soft); color: var(--green); }
.st-badge.wait { background: var(--gold-soft); color: #8a6a00; }

/* ---------- números ---------- */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
@media (max-width: 760px) { .numbers { grid-template-columns: repeat(2, 1fr); } }
.numbers > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; }
.numbers strong { display: block; font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; color: var(--green); letter-spacing: -.03em; line-height: 1.1; }
.numbers span { font-size: .88rem; color: var(--muted); }

/* ---------- secções ---------- */
.section { margin-top: 72px; scroll-margin-top: 76px; }
@media (max-width: 760px) { .section { margin-top: 52px; } }
.kicker { color: var(--red); font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .09em; margin: 0 0 8px; }
.section-title { font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 24px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step .num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; margin-bottom: 14px; }
.step p, .ben p { margin: 0; color: var(--muted); font-size: .95rem; }
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .benefits { grid-template-columns: 1fr; } }
.ben { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.ico { display: inline-flex; align-items: baseline; justify-content: center; line-height: 46px; place-items: center; min-width: 46px; height: 46px; padding: 0 8px; border-radius: 12px; background: var(--green-soft); color: var(--green); font-weight: 800; margin-bottom: 14px; }
.ico small { font-size: .7rem; margin-left: 3px; opacity: .7; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin: 16px 0; }
.card.success { border-color: var(--green); }
#unlockedPanel { margin-top: 28px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.topic { display: flex; flex-direction: column; gap: 4px; text-align: left; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 14px; padding: 16px 18px; font: inherit; color: var(--text); }
button.topic { cursor: pointer; }
button.topic:hover { border-color: var(--green); }
.t-historia, .t-direitos, .t-europa { border-left-color: var(--red); }
.count { color: var(--green); font-weight: 700; }
.sources { margin-top: 16px; }

/* ---------- preço ---------- */
#pricing { scroll-margin-top: 80px; }
.pricing-wrap { display: grid; grid-template-columns: .8fr 1fr; gap: 18px; max-width: 820px; margin: 0 auto; align-items: stretch; }
@media (max-width: 760px) { .pricing-wrap { grid-template-columns: 1fr; } .best { order: -1; } }
.plan { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 26px; position: relative; }
.plan .ticks { margin: 12px 0 18px; flex: 1; }
.plan.best { border: 2px solid var(--green); box-shadow: var(--shadow-lg); }
.ribbon { position: absolute; top: -13px; left: 24px; background: var(--green); color: #fff; font-size: .75rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.price { font-size: 3rem; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.price.sm { font-size: 2.2rem; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: 6px 0 6px 28px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.paybadges { display: flex; align-items: center; gap: 6px; justify-content: center; margin-top: 10px; text-align: center; }
.plan .linkbtn { align-self: center; }
.guarantee { display: flex; gap: 14px; align-items: flex-start; max-width: 820px; margin: 18px auto 0; background: var(--gold-soft); border-radius: var(--radius); padding: 16px 20px; }
.guarantee svg { width: 30px; height: 30px; margin-top: 2px; }
.guarantee p { margin: 2px 0 0; }

/* ---------- FAQ ---------- */
.faq { scroll-margin-top: 80px; }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 40px; }
@media (max-width: 760px) { .faq-grid { grid-template-columns: 1fr; gap: 12px; } }
details { border-bottom: 1px solid var(--line); padding: 16px 4px; }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--green); font-weight: 800; font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin: 10px 0 2px; color: var(--muted); }

.cta-band { background: linear-gradient(135deg, var(--green), #08502b); color: #fff; border-radius: 24px; padding: 40px 24px; text-align: center; }
.cta-band h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); font-weight: 800; }
.cta-band p { opacity: .9; margin: 0 0 20px; }
.disclaimer { margin: 36px auto; }

/* ---------- quiz ---------- */
.quizhead { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.bar { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; margin: 8px 0; }
.bar > div { height: 100%; background: var(--green); border-radius: 99px; transition: width .3s; }
.qcard h2 { font-size: 1.25rem; margin-bottom: 16px; }
.tag { display: inline-block; font-size: .76rem; font-weight: 800; color: var(--green); text-transform: uppercase; letter-spacing: .05em; margin: 0 0 8px; }
.device .tag { margin: 0; }
.opts { display: flex; flex-direction: column; gap: 10px; }
.opt { display: flex; gap: 12px; align-items: flex-start; text-align: left; width: 100%; padding: 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); font: inherit; cursor: pointer; min-height: 52px; transition: border-color .15s, background .15s; }
.opt:hover:not(:disabled) { border-color: var(--green); }
.opt .key { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); font-weight: 700; font-size: .85rem; }
.opt.good { border-color: var(--green); background: var(--green-soft); }
.opt.bad { border-color: var(--red); background: var(--red-soft); }
.opt.picked { border-color: var(--green); }
.opt:disabled { cursor: default; }
.feedback { margin: 14px 0 4px; padding: 14px; border-radius: 12px; }
.feedback.ok { background: var(--green-soft); }
.feedback.ko { background: var(--red-soft); }
.feedback p { margin: 6px 0 0; }
#qNext { margin-top: 14px; width: 100%; }
#sMore { margin-top: 12px; }

.modes { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.mode { display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; cursor: pointer; }
.mode:hover { border-color: var(--green); }
.mode span { color: var(--muted); font-size: .875rem; }

.score { font-size: 4rem; font-weight: 800; letter-spacing: -.03em; }
.score span { font-size: 1.6rem; color: var(--muted); }
.topicbars { text-align: left; margin-top: 16px; }
.tb { margin: 10px 0; }
.tb-l { display: flex; justify-content: space-between; font-size: .9rem; }
.review p { margin: 4px 0; }
.good-t { color: var(--green); }
.bad-t { color: var(--red); }
.upsell { border-color: var(--green); }
.eyebrow { color: var(--green); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 10px; }

dialog { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); padding: 22px; width: min(420px, calc(100vw - 32px)); }
dialog::backdrop { background: rgba(0,0,0,.4); }
dialog input { width: 100%; padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; }

.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 10px; max-width: calc(100vw - 32px); z-index: 30; box-shadow: var(--shadow); }
.footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 24px 0 34px; }
.footer a { color: var(--muted); }

.legal { max-width: 760px; margin: 0 auto; padding: 20px 16px 40px; }
.legal h1 { font-size: 1.8rem; }
.legal h2 { font-size: 1.15rem; margin-top: 1.6em; }

#gWrap { margin: 14px 0 6px; }
#gBtn { min-height: 44px; display: flex; justify-content: center; }
#restoreDlg .or { text-align: center; color: var(--muted); margin: 12px 0 0; }

/* conta */
.acct-btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px 4px 4px; font: inherit; font-weight: 600; font-size: .93rem; color: var(--text); cursor: pointer; }
.acct-btn:hover { background: var(--surface); }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; display: inline-grid; place-items: center; font-weight: 700; font-size: .9rem; flex: none; }
.avatar.lg { width: 52px; height: 52px; font-size: 1.3rem; }
.acct-head { display: flex; align-items: center; gap: 14px; word-break: break-all; }
.acct-plan { margin: 6px 0 4px; font-size: 1.1rem; }
.badge-ok { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; font-size: .8rem; }
@media (max-width: 760px) { .acct-btn { padding: 2px; border: 0; } }

/* guias */
.guide-top { border-bottom: 1px solid var(--line); background: var(--surface); }
.guide-top .wrap { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; max-width: 760px; margin: 0 auto; }
.guide-brand { font-weight: 800; color: var(--text); text-decoration: none; }
.guide h1 { line-height: 1.2; }
.guide .lead { font-size: 1.08rem; }
.guide li { margin: 6px 0; }
.guide-cta { background: var(--green-soft); border: 1px solid var(--green); border-radius: var(--radius); padding: 18px 20px; margin: 28px 0; }
.guide-cta p { margin: 6px 0 12px; }
.guide-list { list-style: none; padding: 0; }
.guide-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }

/* painel de quem comprou */
#home.paid-mode > section:not(#dash) { display: none; }
.dash { padding-top: 28px; padding-bottom: 40px; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.dash-title { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin: 4px 0 6px; line-height: 1.15; }
.dash-top { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.dash-top .card { margin: 0; }
.dash-ring { display: flex; align-items: center; gap: 22px; }
.ring-wrap { position: relative; width: 140px; height: 140px; flex: none; }
.ring { width: 140px; height: 140px; }
.ring-c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-c strong { font-size: 1.9rem; line-height: 1; }
.ring-c span { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .95rem; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.legend b { margin-left: auto; padding-left: 12px; }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; }
.kpi-l { color: var(--muted); font-size: .85rem; font-weight: 600; }
.kpi strong { font-size: 1.7rem; line-height: 1.1; }
.kpi strong small { font-size: .95rem; color: var(--muted); font-weight: 600; }
.kpi-s { font-size: .82rem; color: var(--green); font-weight: 600; }
.card-h { font-size: 1.1rem; margin: 0 0 14px; }
.recos { display: grid; gap: 10px; }
.reco { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.reco-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-weight: 800; flex: none; }
.reco-t { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.reco-t span { color: var(--muted); font-size: .9rem; }
.dash-two { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; }
.dash-two .card { margin: 16px 0 0; }
.trow { padding: 10px 0; border-bottom: 1px solid var(--line); }
.trow:last-child { border-bottom: 0; }
.trow-h { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; font-size: .95rem; }
.trow-b { display: flex; align-items: center; gap: 12px; }
.stack { flex: 1; height: 10px; border-radius: 6px; background: var(--line); overflow: hidden; display: flex; }
.stack i { display: block; height: 100%; }
.s-r { background: var(--green-2); }
.s-w { background: var(--red); }
.exchart { position: relative; display: flex; align-items: flex-end; gap: 10px; padding: 0 2px; }
.exline { position: absolute; left: 0; right: 0; height: 0; border-top: 2px dashed var(--gold); z-index: 1; }
.exline span { position: absolute; right: 0; top: -20px; font-size: .72rem; color: var(--muted); background: var(--surface); padding: 0 4px; }
.exb { flex: 1; max-width: 46px; display: flex; flex-direction: column; align-items: center; }
.exb-col { height: 168px; width: 100%; display: flex; align-items: flex-end; border-bottom: 1px solid var(--line); }
.exb-fill { width: 100%; border-radius: 8px 8px 3px 3px; display: flex; justify-content: center; align-items: flex-start; }
.exb-fill span { color: #fff; font-size: .72rem; font-weight: 700; padding-top: 4px; }
.exb-fill.ok { background: var(--green-2); }
.exb-fill.ko { background: var(--red); }
.exb-d { height: 22px; line-height: 22px; font-size: .7rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 860px) {
  .dash-top, .dash-two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .dash-ring { gap: 16px; }
  .ring-wrap, .ring { width: 112px; height: 112px; }
  .ring-c strong { font-size: 1.5rem; }
  .legend { flex: 1; font-size: .9rem; }
  .reco { flex-wrap: wrap; }
  .reco .btn { width: 100%; }
  .dash-head .btn { width: 100%; }
}

/* passo do código */
.code-step { text-align: center; }
.code-ic { width: 60px; height: 60px; border-radius: 18px; margin: 4px auto 12px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
.code-step h3 { margin: 0 0 6px; }
.code-step p { margin: 0 0 14px; }
.code-step strong { word-break: break-all; }
dialog input.code-input { text-align: center; font-size: 1.9rem; font-weight: 700; letter-spacing: .5em; padding: 12px 0 12px .5em; font-variant-numeric: tabular-nums; border: 2px solid var(--line); background: var(--surface); }
dialog input.code-input:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 4px var(--green-soft); }
.code-help { margin-top: 12px !important; line-height: 1.6; }

/* painel: separadores no telemóvel */
.tabbar { display: none; }
@media (max-width: 760px) {
  #dashBody:not([data-active="home"]) [data-tab="home"],
  #dashBody:not([data-active="progress"]) [data-tab="progress"],
  #dashBody:not([data-active="train"]) [data-tab="train"] { display: none; }
  #dashBody .dash-top, #dashBody .dash-two { gap: 0; }
  #dashBody .dash-two .card:first-child { margin-top: 0; }
  #dashBody .kpis { margin-bottom: 16px; }
  #dashBody[data-active="progress"] .dash-top { display: block; }
  #home.paid-mode ~ .footer, body:has(#home.paid-mode:not([hidden])) .footer { padding-bottom: 90px; }
  .dash { padding-bottom: 96px; }
  .tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--surface); border-top: 1px solid var(--line); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(0,0,0,.06); }
  .tabbar button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; background: none; border: 0; padding: 6px 0; font: inherit; font-size: .75rem; font-weight: 700; color: var(--muted); cursor: pointer; border-radius: 12px; }
  .tabbar button.on { color: var(--green); background: var(--green-soft); }
}

/* janela de entrar */
#restoreDlg { position: relative; padding: 26px 24px 20px; }
#restoreDlg form > [hidden] { display: none; }
.dlg-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.dlg-x:hover { background: var(--bg); color: var(--text); }
.login-head { text-align: center; }
.login-head h3 { margin: 0 0 4px; font-size: 1.35rem; }
.login-head p { margin: 0; }
#gWrap { margin: 20px 0 4px; }
#restoreDlg .or { display: flex; align-items: center; gap: 12px; color: var(--muted); margin: 16px 0 4px; }
#restoreDlg .or::before, #restoreDlg .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.field-l { display: block; font-weight: 700; margin: 14px 0 6px; }
#restoreDlg input[type=email] { padding: 13px 14px; border-radius: 12px; background: var(--surface); border: 1.5px solid var(--line); }
#restoreDlg input[type=email]:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 4px var(--green-soft); }
#restoreDlg #restoreMsg:empty { display: none; }
.login-go { width: 100%; margin-top: 14px; justify-content: center; }
.login-note { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; line-height: 1.45; }
.login-note svg { flex: none; margin-top: 2px; }

/* revisão do teste */
.rev { margin-top: 16px; }
.rev-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.rev-h h3 { margin: 0; }
.rev > p { margin: 6px 0 12px; }
.rev-start { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
.rev-only { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; cursor: pointer; font-weight: 600; }
.rev-only input { width: 18px; height: 18px; accent-color: var(--green); }
.rev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); gap: 8px; }
.rq { height: 42px; border-radius: 10px; border: 0; font: inherit; font-weight: 800; cursor: pointer; transition: transform .1s; }
.rq.ok { background: var(--green-soft); color: var(--green); }
.rq.ko { background: var(--red-soft); color: var(--red); }
.rq:hover { transform: translateY(-1px); }
.rq.cur { outline: 3px solid var(--text); outline-offset: 2px; }
.rev-q { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.rev-qh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.rev-qh .tag { margin: 0; }
.rev-text { font-weight: 700; font-size: 1.08rem; margin: 0 0 12px; }
.rev-opts { display: grid; gap: 8px; }
.rev-opts .opt { cursor: default; }
.rev-opts .opt.good .key { background: var(--green); color: #fff; }
.rev-opts .opt.bad .key { background: var(--red); color: #fff; }
.rev-note { display: block; font-style: normal; font-size: .78rem; font-weight: 700; margin-top: 2px; }
.opt.good .rev-note { color: var(--green); }
.opt.bad .rev-note { color: var(--red); }
.rev-q .feedback { margin-top: 12px; }
.rev-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.rev-nav .btn { justify-content: center; }
#revNW { grid-column: 1 / -1; grid-row: 1; }
.rev-nav .btn:disabled { opacity: .4; cursor: default; }
#rWhen { margin: -4px 0 6px; }
/* histórico */
#hList { display: grid; gap: 10px; }
.hrow { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); font: inherit; cursor: pointer; }
.hrow:hover { border-color: var(--green); }
.hpct { flex: none; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; }
.hpct.ok { background: var(--green-soft); color: var(--green); }
.hpct.ko { background: var(--red-soft); color: var(--red); }
.hmain { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.hgo { color: var(--green); font-weight: 700; }
.dash-hist { margin: 12px 0 0; }
.rev-opts .opt:not(.good):not(.bad):hover { border-color: var(--line); }

/* botão fixo do teste grátis (telemóvel) */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.06); transform: translateY(110%); transition: transform .25s ease; }
  .sticky-cta.on { transform: none; }
  .sticky-cta .btn { width: 100%; justify-content: center; }
  #home.paid-mode .sticky-cta { display: none; }
}

.life-badge { width: fit-content; display: inline-flex; align-items: center; gap: 6px; margin: 10px 0 2px; padding: 5px 12px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-weight: 800; font-size: .85rem; }
.life-badge svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

.btn.wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; background: #25d366; color: #fff; border: 0; text-decoration: none; }
.btn.wa:hover { background: #1fb457; }

/* janela do limite de aparelhos */
#devDlg { padding: 26px 24px 20px; }
#devDlg .code-ic.warn { background: var(--gold-soft); color: #8a6d00; }
#devDlg .login-go + .login-go { margin-top: 8px; }
#devDlg #devMsg:empty { display: none; }
.btn.dev-all { background: var(--red); color: #fff; border: 0; }
.btn.dev-all:hover { background: #a90d26; }

/* ouvir / reportar */
.qtop { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.qtop .tag { margin: 0; }
.speak { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); background: var(--surface); color: var(--green); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; }
.speak:hover { border-color: var(--green); }
.rep { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; margin-top: 6px; }
.rep:hover { color: var(--red); }
#repDlg textarea { width: 100%; padding: 12px; border-radius: 12px; border: 1.5px solid var(--line); font: inherit; resize: vertical; }
#repDlg textarea:focus { border-color: var(--green); outline: none; }
.rep-q { background: var(--bg); border-radius: 10px; padding: 10px 12px; font-weight: 600; }
#repStatus:empty { display: none; }
/* plano de estudo */
.plan-sec { margin-top: 8px; }
.plan-card { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.plan-ic { flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
.plan-main { flex: 1; min-width: 200px; }
.plan-main h3 { margin: 0 0 2px; }
.plan-main p { margin: 0; }
.plan-main .kicker { margin: 0; }
.plan-set { display: flex; gap: 8px; margin: 12px 0 2px; flex-wrap: wrap; }
.plan-set input { flex: 1; min-width: 150px; padding: 11px 12px; border-radius: 12px; border: 1.5px solid var(--line); font: inherit; background: var(--surface); }
.plan-on { display: block; }
.plan-top { display: flex; gap: 14px; align-items: center; }
.plan-today { display: flex; gap: 18px; align-items: center; margin: 16px 0 14px; }
.plan-num { display: flex; flex-direction: column; align-items: center; min-width: 92px; padding: 10px 12px; background: var(--bg); border-radius: 14px; font-size: .78rem; color: var(--muted); font-weight: 700; }
.plan-num strong { font-size: 1.9rem; color: var(--text); line-height: 1.1; }
.plan-num small { font-size: .95rem; color: var(--muted); }
.plan-bars { flex: 1; }
.plan-bars p { margin: 6px 0 0; }
.plan-lock { background: var(--gold-soft); border-radius: 14px; padding: 14px 16px; }
.plan-lock p { margin: 4px 0 12px; }
@media (max-width: 760px) { .plan-ask .btn { width: 100%; justify-content: center; } .plan-card .plan-main { min-width: 0; } }
.plan-on .kicker { color: var(--green); }
.plan-on [data-plan-edit] { padding: 2px 0 0; }
.plan-card { align-items: flex-start; }
@media (max-width: 760px) { .plan-card:not(.plan-on) .plan-ic { width: 44px; height: 44px; } .plan-card:not(.plan-on) { gap: 12px; } .plan-set .btn { flex: 1; justify-content: center; } }
.plan-set { max-width: 520px; }
.plan-save { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--green-soft); border: 1px solid #cfe6d7; }
.ps-ic { flex: none; width: 42px; height: 42px; border-radius: 12px; background: #fff; color: var(--green); display: grid; place-items: center; }
.ps-t { flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: .92rem; color: var(--muted); line-height: 1.4; }
.ps-t strong { color: var(--text); font-size: 1rem; }
.plan-save .btn { flex: none; }
@media (max-width: 760px) { .plan-save { flex-wrap: wrap; } .plan-save .btn { width: 100%; justify-content: center; } }
/* promoção de lançamento */
.promo-bar { display: block; background: var(--green); color: #fff; text-align: center; font-size: .88rem; padding: 8px 16px; text-decoration: none; line-height: 1.35; }
.promo-bar b { font-weight: 800; }
.old-price { font-size: 1.4rem; font-weight: 600; color: var(--muted, #888); margin-right: 10px; vertical-align: middle; }
.promo-note { display: inline-block; margin: 6px 0 4px; background: #fff4d6; color: #7a5200; font-size: .82rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }

/* para quem é */
.who-lead { max-width: 720px; margin: -6px 0 22px; }
.who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .who { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .who { grid-template-columns: 1fr; } }
.who-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.who-card h3 { margin: 10px 0 6px; font-size: 1.05rem; }
.who-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.who-ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #e6f2ea; font-size: 1.2rem; }
.who-note { margin-top: 16px; padding: 14px 18px; border-radius: var(--radius); background: #fff8e6; border: 1px solid #f1e2b8; }
.who-note p { margin: 0 0 6px; }
.who-note a { color: var(--green); font-weight: 700; text-decoration: none; }
@media (max-width: 1100px) { .hide-md { display: none !important; } }
@media (min-width: 761px) { .topbar .btn, .topbar .brand { white-space: nowrap; } }
@media (min-width: 761px) and (max-width: 900px) { .topbar [data-nav="stats"] { display: none; } }

.r-plan { margin-top: 16px; }

.plan-page { margin: 14px 0 24px; }
.stats-sub { margin: 8px 0 10px; font-size: 1.05rem; }

.shot { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.shot-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.shot-list li { position: relative; padding-left: 30px; }
.shot-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; font-size: .75rem; font-weight: 800; display: grid; place-items: center; }
.shot-img { margin: 0; }
.shot-img img { width: 100%; height: auto; display: block; }
@media (max-width: 760px) { .shot { grid-template-columns: 1fr; gap: 20px; } }

.footer .install-link { font: inherit; color: var(--green); font-weight: 700; padding: 0; }

.streak-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; padding: 16px 20px; }
.streak-main { display: flex; align-items: center; gap: 14px; flex: 1 1 240px; }
.streak-main strong { display: block; font-size: 1.1rem; }
.streak-ic { font-size: 1.9rem; line-height: 1; filter: grayscale(1); opacity: .45; }
.streak-ic.on { filter: none; opacity: 1; }
.streak-bar { height: 6px; background: var(--line); border-radius: 99px; margin-top: 8px; overflow: hidden; max-width: 260px; }
.streak-bar i { display: block; height: 100%; background: var(--green-2); border-radius: 99px; }
.streak-week { display: flex; gap: 6px; }
.sd { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.sd i { width: 28px; height: 28px; border-radius: 50%; background: var(--line); display: grid; place-items: center; font-style: normal; font-size: .8rem; font-weight: 800; color: #fff; }
.sd.on i { background: var(--green-2); }
.sd.today i { box-shadow: 0 0 0 2px var(--green); }
.sd small { font-size: .7rem; color: var(--muted, #6b7280); }

.foot-social { margin: 12px 0 0; }
.foot-social a { display: inline-flex; align-items: center; gap: 8px; color: #1877f2; font-weight: 700; text-decoration: none; }
.foot-social a:hover { text-decoration: underline; }

.notify { display: flex; gap: 16px; align-items: flex-start; border-color: #e7d48a; background: #fffbea; }
.notify-ic { flex: none; width: 48px; height: 48px; border-radius: 50%; background: #fff2bf; color: #8a6a00; display: grid; place-items: center; }
.notify-body { flex: 1; min-width: 0; }
.notify h3 { margin: 0 0 6px; }
.notify-form { display: flex; gap: 8px; margin: 12px 0 8px; flex-wrap: wrap; }
.notify-form input { flex: 1 1 200px; min-width: 0; padding: 12px 14px; border: 1px solid var(--line, #d6dbd8); border-radius: 12px; font: inherit; }
.notify-done { font-weight: 700; color: var(--green); margin: 12px 0 8px; }
.notify .tiny { font-size: .8rem; margin: 0; }
#rNotify { margin-top: 16px; text-align: left; }
@media (max-width: 520px) { .notify { flex-direction: column; } .notify-form .btn { width: 100%; } }

.sq { border: 1px solid var(--line, #e2e6e4); border-radius: 14px; padding: 14px 16px; margin: 12px 0; background: #fff; }
.sq-q { margin: 0 0 6px; }
.sq-o { margin: 0 0 8px; padding-left: 26px; }
.sq-o li { margin: 3px 0; }
.sq details { border: 0; padding: 4px 0 0; }
.sq details summary { cursor: pointer; color: var(--green); font-weight: 700; justify-content: flex-start; }
.sq details summary::after { margin-left: 6px; }
.sq details p { color: var(--ink, #1a1f1c); margin: 8px 0 0; padding: 10px 12px; background: var(--green-soft); border-radius: 10px; }

.ms-dlg { text-align: center; }
.ms-fire { font-size: 3.4rem; line-height: 1; margin: 4px 0 2px; animation: ms-pop .5s ease-out; }
.ms-num { margin: 0; color: #c2410c; font-weight: 700; }
.ms-num strong { font-size: 2.4rem; display: block; line-height: 1.1; }
.ms-dlg h3 { margin: 8px 0 6px; }
.ms-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; align-items: stretch; }
.ms-btns .btn { justify-content: center; }
@keyframes ms-pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.15); } 100% { transform: scale(1); opacity: 1; } }

.hlist-mini { display: flex; flex-direction: column; gap: 8px; }
.hlist-mini .hrow { padding: 10px 12px; gap: 12px; }
.hlist-mini .hpct { width: 46px; height: 46px; border-radius: 12px; font-size: .9rem; }
.ex-sub { margin: 18px 0 4px; font-weight: 700; }

.reco-tag { align-self: flex-start; font-style: normal; font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--green); background: var(--green-soft); border-radius: 999px; padding: 2px 9px; margin-bottom: 4px; }

.hpct.mid { background: #fdf3d3; color: #9a6700; }
.exb-fill.mid { background: #e0a400; }

.acc-extras { display: flex; flex-direction: column; gap: 0; padding-top: 6px; padding-bottom: 6px; }
.acc-x { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.acc-x:last-child { border-bottom: 0; }
.acc-x[hidden] { display: none; }
.acc-xi { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--green-soft); display: grid; place-items: center; font-size: 1.3rem; }
.acc-xt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.acc-xt a { color: var(--green); font-weight: 600; }
@media (max-width: 600px) { .acc-x { flex-wrap: wrap; align-items: flex-start; } .acc-xt { flex: 1 1 calc(100% - 58px); } .acc-x .btn { margin-left: 58px; } }
