/* Hi Poliglota · paleta extraída da logo: índigo #1F1B3A, azul #2D7FF9, coral #FF6B4A */
:root {
  --bg: #F5F4FB;
  --surface: #FFFFFF;
  --surface-2: #EFEEF8;
  --border: #E3E0F1;
  --gold: #2D7FF9;          /* destaque principal (azul da logo) */
  --gold-light: #6AA8FF;
  --gold-dark: #1D5FD0;
  --coral: #FF6B4A;         /* destaque secundário (coral da logo) */
  --coral-light: #FF9A7F;
  --cream: #1F1B3A;         /* títulos e textos fortes (índigo da logo) */
  --text: #1F1B3A;
  --text-dim: #6B6790;
  --danger: #E5484D;
  --ok: #1F8A4C;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(31,27,58,.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Inter', system-ui, sans-serif; line-height: 1.5; }
body { min-height: 100vh; background:
  radial-gradient(900px 500px at 50% -180px, rgba(255,107,74,0.10), transparent 70%), var(--bg); }
button { font-family: inherit; }
.hidden { display: none !important; }

/* ---------- topo ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.9);
  position: sticky; top: 0; z-index: 10; backdrop-filter: blur(8px); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: 46px; object-fit: contain; border-radius: 12px; }
.brand-name { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.15rem; letter-spacing: .5px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-sub { font-size: .72rem; color: var(--text-dim); letter-spacing: 1.5px; text-transform: uppercase; }
#user-area { display: flex; align-items: center; gap: 10px; font-size: .9rem; }
.xp-pill { background: var(--surface-2); border: 1px solid var(--gold-dark); color: var(--gold-light);
  padding: 6px 12px; border-radius: 999px; font-weight: 700; }

main { max-width: 900px; margin: 0 auto; padding: 24px 16px 80px; }

/* ---------- botões ---------- */
.btn { background: var(--surface); color: var(--text); border: 1.5px solid var(--gold-dark); border-radius: 12px;
  padding: 12px 18px; font-weight: 700; cursor: pointer; transition: all .2s ease; }
.btn:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-1px); }
.btn-primary { background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: #FFFFFF; border-color: var(--gold); }
.btn-primary:hover { color: #FFFFFF; box-shadow: 0 6px 24px rgba(45,127,249,.35); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; }
.tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.tab { flex: 1; padding: 10px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text-dim); font-weight: 700; cursor: pointer; }
.tab.active { border-color: var(--gold); color: var(--gold-light); background: var(--surface-2); }

/* ---------- login ---------- */
.login-card { max-width: 420px; margin: 40px auto; background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; padding: 36px 28px; text-align: center; box-shadow: var(--shadow); }
.login-card img { width: 150px; height: 150px; object-fit: contain; border-radius: 18px; }
.login-card h1 { font-family: 'Montserrat', sans-serif; margin: 16px 0 4px; font-size: 1.8rem;
  background: linear-gradient(90deg, var(--gold-light), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.login-card p { color: var(--text-dim); margin: 0 0 22px; }
input[type=text], select, input[type=number] { width: 100%; background: var(--surface-2); color: var(--text);
  border: 1.5px solid var(--border); border-radius: 12px; padding: 12px 14px; font-size: 1rem; margin-bottom: 14px; }
input:focus, select:focus { outline: none; border-color: var(--gold); }

/* ---------- cartões de módulo ---------- */
.section-title { font-family: 'Montserrat', sans-serif; font-size: 1.25rem; margin: 26px 0 12px; }
.mod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.mod-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px;
  cursor: pointer; transition: all .2s ease; position: relative; overflow: hidden; }
.mod-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.mod-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gold); opacity: .6; }
.mod-card.done::before { opacity: 1; }
.mod-card h3 { margin: 0 0 8px; font-size: 1rem; }
.mod-meta { display: flex; justify-content: space-between; font-size: .8rem; color: var(--text-dim); margin-bottom: 10px; }
.bar { height: 7px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-dark), var(--gold-light)); border-radius: 999px; }
.lvl { font-size: .72rem; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--gold-dark); color: var(--gold-light); }

/* ---------- trilha ---------- */
.trail-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.trail-head h2 { font-family: 'Montserrat', sans-serif; font-size: 1.25rem; margin: 0; }
.trail { position: relative; width: 100%; margin: 10px auto 0; }
.trail svg.path { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.node { position: absolute; width: 74px; height: 74px; margin-left: -37px; margin-top: -37px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.5rem; color: #FFFFFF;
  border: 4px solid rgba(0,0,0,.4); box-shadow: 0 6px 0 #1D5FD0, 0 0 0 transparent; cursor: default; user-select: none;
  transition: transform .15s ease, box-shadow .15s ease; animation: pop .45s cubic-bezier(.3,1.6,.5,1) backwards; }
.node .lbl { position: absolute; top: 80px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .72rem;
  color: var(--text-dim); font-weight: 600; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.node.done { background: linear-gradient(180deg, var(--gold-light), var(--gold)); cursor: pointer; }
.node.done:hover { transform: scale(1.06); }
.node.current { background: linear-gradient(180deg, #8FBDFF, #FF6B4A); cursor: pointer; animation: pulse 1.6s infinite; }
.node.current .lbl { color: var(--gold-light); font-weight: 800; }
.node.locked { background: linear-gradient(180deg, #D9D6E8, #EEEDF6); color: #8E8AAA; box-shadow: 0 6px 0 #C9C6DB; }
.node.start { background: linear-gradient(180deg, #E3E0F1, #FFFFFF); color: var(--gold); box-shadow: 0 6px 0 #000; }
.node.chest.open { background: linear-gradient(180deg, #8FBDFF, #1D5FD0); }
.node.chest.locked { background: linear-gradient(180deg, #D9D6E8, #EEEDF6); filter: grayscale(1); opacity: .6; }
.node.trophy { background: linear-gradient(180deg, #8FBDFF, #2D7FF9); width: 84px; height: 84px; margin-left: -42px; margin-top: -42px; }
.node:active { transform: translateY(4px); box-shadow: 0 2px 0 #1D5FD0; }
.node.locked:active { transform: none; box-shadow: 0 6px 0 #C9C6DB; }
.mascot { position: absolute; width: 86px; height: auto; margin-left: -43px; margin-top: -34px; pointer-events: none;
  filter: drop-shadow(0 8px 10px rgba(0,0,0,.7)); animation: bob 2s ease-in-out infinite; }
.mascot.flip { transform: scaleX(-1); }
.mascot-tag { position: absolute; white-space: nowrap; background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: #FFFFFF; font-size: .78rem; font-weight: 800; padding: 6px 12px; border-radius: 12px; box-shadow: 0 4px 0 var(--gold-dark);
  transform: translate(-50%, -100%); pointer-events: none; }
.mascot-tag::after { content: ''; position: absolute; left: 50%; bottom: -8px; margin-left: -8px; border: 8px solid transparent;
  border-bottom: 0; border-top-color: var(--gold); }

@keyframes pulse { 0%,100% { box-shadow: 0 6px 0 #1D5FD0, 0 0 0 0 rgba(45,127,249,.5); } 50% { box-shadow: 0 6px 0 #1D5FD0, 0 0 0 14px rgba(45,127,249,0); } }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes pop { from { transform: scale(.2); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- modal / quiz ---------- */
.modal { position: fixed; inset: 0; background: rgba(31,27,58,.45); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 16px; }
.modal-card { width: 100%; max-width: 560px; background: var(--surface); border: 1px solid var(--gold-dark); border-radius: 20px;
  padding: 26px; box-shadow: 0 30px 80px rgba(0,0,0,.7); max-height: 92vh; overflow: auto; }
.quiz-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: .9rem; color: var(--text-dim); }
.hearts { letter-spacing: 3px; font-size: 1.1rem; }
.question { font-size: 1.35rem; font-weight: 700; text-align: center; margin: 18px 0 22px; line-height: 1.35; }
.opt { display: block; width: 100%; text-align: left; background: var(--surface-2); border: 1.5px solid var(--border);
  color: var(--text); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; font-size: 1rem; cursor: pointer; transition: all .15s; }
.opt:hover { border-color: var(--gold); }
.opt.sel { border-color: var(--gold); background: #FFF4EF; }
.opt.right { border-color: var(--ok); background: #EAF8EF; color: var(--gold-light); }
.opt.wrong { border-color: var(--danger); background: #FFECEC; }
.feedback { border-radius: 12px; padding: 12px 14px; margin: 12px 0; font-weight: 600; }
.feedback.ok { background: #EAF8EF; color: var(--gold-light); border: 1px solid var(--gold-dark); }
.feedback.err { background: #FFECEC; color: #D6334A; border: 1px solid var(--danger); }
.result { text-align: center; padding: 10px 0; }
.result .big { font-size: 3rem; }
.result h2 { font-family: 'Montserrat', sans-serif; color: var(--gold-light); }

/* ---------- duelos ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; }
.card h3 { margin: 0 0 10px; font-size: 1rem; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.muted { color: var(--text-dim); font-size: .85rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px; text-align: center; }
.stat b { display: block; font-family: 'Montserrat', sans-serif; font-size: 1.5rem; color: var(--gold-light); }
.stat span { font-size: .75rem; color: var(--text-dim); }
.warn { background: #FFF4EF; border: 1px solid var(--gold-dark); border-radius: 12px; padding: 14px; color: var(--gold-light); }

@media (max-width: 600px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .node { width: 64px; height: 64px; margin-left: -32px; margin-top: -32px; font-size: 1.25rem; }
  .node .lbl { top: 70px; font-size: .66rem; }
  .question { font-size: 1.15rem; }
  .brand-sub { display: none; }
  .mascot { width: 72px; margin-left: -36px; margin-top: -28px; }
  .mascot-tag { font-size: .7rem; padding: 5px 9px; }
}

/* ---------- painel do professor ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 10px; }
.grid3 input { margin-bottom: 0; }
.card input[type=text], .card input[type=password] { margin-bottom: 0; }
.table-wrap { overflow-x: auto; }
.tabela { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tabela th, .tabela td { padding: 10px 8px; border-bottom: 1px solid var(--border); text-align: left; white-space: nowrap; }
.tabela th { color: var(--gold-light); font-weight: 700; }
.st-ok { color: var(--gold-light); }
.st-bloq { color: var(--danger); }
.acoes { white-space: nowrap; }
.btn-mini { padding: 6px 10px; font-size: .8rem; border-radius: 8px; margin: 2px; height: auto; }
@media (max-width: 700px) { .grid3 { grid-template-columns: 1fr; } }

/* ---------- cadastro e login ---------- */
.login-card.wide { max-width: 520px; }
.login-card.wide img { display: block; margin: 0 auto; }
.login-card.wide .tabs { margin: 18px 0 16px; }
.login-card input, .login-card select { width: 100%; background: var(--surface-2); color: var(--text);
  border: 1.5px solid var(--border); border-radius: 12px; padding: 12px 14px; font-size: 1rem; margin-bottom: 12px; font-family: inherit; }
.login-card input:focus, .login-card select:focus { outline: none; border-color: var(--gold); }
.login-card select option { background: var(--surface-2); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid2 input, .grid2 select { margin-bottom: 12px; }
.erro { color: #D6334A; font-size: .9rem; margin-top: 10px; min-height: 1em; }
.small { font-size: .78rem; }
.st-pend { color: var(--gold-light); font-weight: 700; }
#pendentes-card { border-color: var(--gold-dark); }
@media (max-width: 600px) { .grid2 { grid-template-columns: 1fr; } }

/* ---------- gamificação ---------- */
.main-tabs { max-width: 560px; margin: 4px 0 6px; }

/* ---------- ranking ---------- */
.podio { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 10px; align-items: end; margin: 6px 0 18px; }
.pod { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 16px 8px; text-align: center; }
.pod-1 { background: linear-gradient(180deg, #FFF4EF, #FFFFFF); border-color: var(--gold); padding-top: 28px;
  box-shadow: 0 16px 36px rgba(45,127,249,.2); }
.pod-2 { border-color: #9aa3ad; }
.pod-3 { border-color: #a8691f; }
.pod .medalha { font-size: 2.2rem; }
.pod-1 .medalha { font-size: 2.9rem; }
.pod b { display: block; font-family: 'Montserrat', sans-serif; margin: 6px 0 2px; font-size: .95rem; word-break: break-word; }
.pod-xp { color: var(--gold-light); font-weight: 800; margin-top: 6px; }
.pod.eu, .rank-row.eu { outline: 2px solid var(--gold); }
.rank-lista { display: flex; flex-direction: column; gap: 8px; }
.rank-row { display: grid; grid-template-columns: 36px 1fr auto auto; gap: 10px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; }
.rank-row .pos { font-family: 'Montserrat', sans-serif; font-weight: 800; color: var(--text-dim); }
.rank-xp { color: var(--gold-light); font-weight: 800; }

/* ---------- plano no cabeçalho ---------- */
.plano-pill { font-size: .78rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; white-space: normal; text-align: center;
  border: 1px solid var(--gold-dark); color: var(--gold-light); background: var(--surface-2); }
.plano-pill.atencao { border-color: var(--gold); box-shadow: 0 0 12px rgba(45,127,249,.2); }
.plano-pill.urgente { border-color: var(--danger); color: #D6334A; }
@media (max-width: 600px) { .podio { gap: 6px; } .pod { padding: 12px 6px; } .pod-1 .medalha { font-size: 2.3rem; } }
.opt-row { display: flex; gap: 8px; align-items: stretch; margin-bottom: 10px; }
.opt-row .opt { flex: 1; margin-bottom: 0; }
.snd { width: 46px; min-height: 46px; flex: 0 0 46px; border-radius: 12px; border: 1.5px solid var(--gold-dark);
  background: var(--surface-2); color: var(--gold-light); cursor: pointer; font-size: 1.1rem; transition: all .15s; }
.snd:hover { border-color: var(--gold); transform: scale(1.05); }
.snd.big { width: 56px; height: 56px; flex: none; border-radius: 50%; font-size: 1.4rem; }
.conquistas { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-bottom: 8px; }
.badge { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px 8px;
  text-align: center; filter: grayscale(1); opacity: .45; }
.badge.on { filter: none; opacity: 1; border-color: var(--gold); box-shadow: 0 0 18px rgba(45,127,249,.18); }
.badge span { font-size: 1.7rem; display: block; }
.badge small { color: var(--text-dim); font-size: .72rem; font-weight: 700; }
.perf-row { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 10px; }
.perf-row .row { margin-bottom: 6px; }
.perf-row.clicavel { cursor: pointer; transition: all .15s ease; }
.perf-row.clicavel:hover { border-color: var(--gold); transform: translateY(-2px); }
.perf-row.clicavel:active { transform: translateY(0); }

/* ---------- fases com erro na trilha ---------- */
.node.errada { box-shadow: 0 6px 0 #7a1f22, 0 0 0 4px rgba(229,72,77,.45); background: linear-gradient(180deg, #6AA8FF, #C9A227); }
.node .marca { position: absolute; top: -8px; right: -8px; background: #E5484D; color: #fff; border: 2px solid #FFFFFF;
  border-radius: 999px; font-size: .72rem; font-weight: 800; padding: 2px 7px; line-height: 1.2; }
.erros-box { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  background: #FFECEC; border: 1px solid var(--danger); border-radius: 12px; padding: 12px 14px; margin: 10px 0 4px; font-size: .9rem; }
.celebra { text-align: center; padding: 8px 0; }
.trofeu { font-size: 4.5rem; animation: bob 1.6s ease-in-out infinite; }
.celebra h2 { font-family: 'Montserrat', sans-serif; color: var(--gold-light); margin: 6px 0; }
.celebra .stats { margin: 18px 0; }
.feedback.ok { animation: pop .35s cubic-bezier(.3,1.6,.5,1); }

/* ---------- cabeçalho e menu das trilhas ---------- */
.hero { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; margin-bottom: 14px;
  border-radius: 22px; border: 1px solid var(--gold-dark);
  background: radial-gradient(500px 220px at 100% 0%, rgba(45,127,249,.22), transparent 70%), linear-gradient(135deg, #1E1B12, #0E0E0E);
  box-shadow: 0 16px 40px rgba(0,0,0,.45); }
.hero h2 { font-family: 'Montserrat', sans-serif; margin: 2px 0 4px; font-size: 1.6rem;
  background: linear-gradient(90deg, var(--gold-light), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { margin: 0; }
.hero-kick, .kick { font-size: .72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.anel { flex: 0 0 84px; }
.continuar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  background: linear-gradient(90deg, #FFF4EF, #FFFFFF); border: 1px solid var(--gold); border-radius: var(--radius);
  padding: 16px 18px; margin-bottom: 18px; }
.continuar b { display: block; font-family: 'Montserrat', sans-serif; font-size: 1.05rem; margin: 4px 0 2px; }
.filtros { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 16px; }
.seg { display: flex; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 4px; }
.seg-btn { flex: 1; padding: 10px; border: 0; border-radius: 10px; background: transparent; color: var(--text-dim); font-weight: 700; cursor: pointer; }
.seg-btn.on { background: var(--surface-2); color: var(--gold-light); box-shadow: inset 0 0 0 1px var(--gold-dark); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text-dim); font-weight: 600; cursor: pointer; font-size: .9rem; }
.chip.on { border-color: var(--gold); color: var(--gold-light); background: var(--surface-2); }
details.nivel { margin-bottom: 18px; }
details.nivel summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 8px 4px; margin-bottom: 8px; }
details.nivel summary::-webkit-details-marker { display: none; }
.nivel-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; }
.nivel-tit b { display: block; font-family: 'Montserrat', sans-serif; font-size: 1.05rem; }
.nivel-tit small { color: var(--text-dim); }
.dif { font-weight: 800; font-size: .8rem; }
.mod-card::before { background: var(--cor, var(--gold)); opacity: .9; }
@media (max-width: 600px) { .hero { padding: 18px; } .hero h2 { font-size: 1.3rem; } }

/* ===== Hi Poliglota · fontes próprias (sem Google Fonts) ===== */
@font-face { font-family: 'Montserrat'; font-weight: 500; font-style: normal; font-display: swap; src: url('assets/fonts/montserrat-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 700; font-style: normal; font-display: swap; src: url('assets/fonts/montserrat-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 800; font-style: normal; font-display: swap; src: url('assets/fonts/montserrat-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url('assets/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap; src: url('assets/fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-style: normal; font-display: swap; src: url('assets/fonts/inter-latin-700-normal.woff2') format('woff2'); }

/* ===== acessibilidade ===== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--gold); color: #C9C6DB; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 2px; }
[role="button"]:focus-visible, [data-mod]:focus-visible, [data-li]:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ===== formulários ===== */
.campo { display: block; font-size: 13px; color: var(--text-dim); margin: 10px 0 4px; }
.logo-login { display: block; width: min(300px, 80%); margin: 0 auto 6px; }
.aceite { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-dim); margin: 14px 0; line-height: 1.45; }
.aceite input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--gold); }
.aceite a { color: var(--gold-light); }
.suporte-linha { margin-top: 18px; text-align: center; font-size: 14px; }
.suporte { color: var(--gold-light); font-weight: 600; text-decoration: none; }
.suporte:hover { text-decoration: underline; }
.btn-danger { background: var(--danger); color: #fff; border: 0; }
.zona-perigo { border-top: 1px solid #2a2a2a; margin-top: 18px; padding-top: 14px; }

/* ===== rodapé e cookies ===== */
.rodape { max-width: 980px; margin: 40px auto 0; padding: 22px 16px 28px; border-top: 1px solid #222; text-align: center; font-size: 13px; color: var(--text-dim); display: grid; gap: 10px; }
.rodape b { color: var(--cream); }
.rodape-links { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; }
.rodape a { color: var(--gold-light); text-decoration: none; }
.rodape a:hover { text-decoration: underline; }
.cookies { position: fixed; left: 12px; right: 12px; bottom: 12px; max-width: 640px; margin: 0 auto; z-index: 500; background: #FFFFFF; border: 1px solid var(--gold-dark); border-radius: 14px; padding: 14px 16px; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.cookies p { margin: 0; font-size: 14px; color: var(--cream); flex: 1 1 300px; }
.cookies a { color: var(--gold-light); }
.cookies.hidden { display: none; }

/* ===== página de políticas ===== */
.legal { max-width: 800px; margin: 0 auto; padding: 24px 16px 40px; line-height: 1.65; color: var(--cream); }
.legal h1 { font-size: 26px; color: var(--gold-light); }
.legal h2 { font-size: 19px; color: var(--gold-light); margin-top: 34px; scroll-margin-top: 20px; }
.legal a { color: var(--gold-light); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.small { font-size: 13px; }
.muted { color: var(--text-dim); }
.legal:focus { outline: none; }

/* ===== telas pequenas ===== */
@media (max-width: 600px) {
  .rodape { font-size: 12px; }
  .cookies { flex-direction: column; align-items: stretch; }
}

/* ===== painel do professor (v5) ===== */
.adm main { max-width: 1120px; }
.adm-tabs { display: flex; gap: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 5px; margin-bottom: 20px; overflow-x: auto; }
.adm-tab { flex: 1 0 auto; background: transparent; border: 0; color: var(--text-dim); padding: 10px 14px; border-radius: 10px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.adm-tab.on { background: var(--surface-2); color: var(--gold-light); box-shadow: inset 0 0 0 1px var(--gold-dark); }
.adm-tab .qtd { display: inline-block; margin-left: 6px; background: var(--danger); color: #fff; border-radius: 999px; padding: 0 7px; font-size: .75rem; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 20px; }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.kpi b { display: block; font-family: 'Montserrat', sans-serif; font-size: 1.8rem; line-height: 1.1; }
.kpi span { font-size: .82rem; color: var(--text-dim); }
.kpi.alerta b { color: var(--danger); }
.kpi.aviso b { color: var(--gold-light); }
.kpi.ok b { color: #1F8A4C; }
.bloco { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 18px; box-shadow: var(--shadow); }
.bloco h3 { margin: 0 0 12px; font-size: 1.02rem; font-family: 'Montserrat', sans-serif; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; align-items: center; }
.toolbar input[type=search] { flex: 1 1 240px; background: var(--surface-2); color: var(--text); border: 1.5px solid var(--border); border-radius: 12px; padding: 11px 14px; font-size: .98rem; }
.toolbar select { background: var(--surface-2); color: var(--text); border: 1.5px solid var(--border); border-radius: 12px; padding: 11px 12px; font-size: .95rem; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.chip { background: var(--surface-2); border: 1px solid var(--border); color: var(--text-dim); border-radius: 999px; padding: 6px 12px; font-size: .84rem; font-weight: 600; cursor: pointer; }
.chip.on { border-color: var(--gold); color: var(--gold-light); }
.aluno { display: grid; grid-template-columns: minmax(180px, 1.4fr) minmax(150px, 1fr) auto; gap: 12px 16px; align-items: center; padding: 14px 4px; border-top: 1px solid var(--border); }
.aluno:first-child { border-top: 0; }
.aluno .nome { font-weight: 700; }
.aluno .sub { font-size: .82rem; color: var(--text-dim); }
.aluno .acoes-r { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.pill { display: inline-block; border-radius: 999px; padding: 3px 10px; font-size: .76rem; font-weight: 700; border: 1px solid transparent; }
.pill.ok { background: rgba(142,213,166,.12); color: #1F8A4C; border-color: rgba(142,213,166,.35); }
.pill.aviso { background: rgba(255,107,74,.12); color: var(--gold-light); border-color: rgba(255,107,74,.35); }
.pill.alerta { background: rgba(240,96,106,.12); color: var(--danger); border-color: rgba(240,96,106,.35); }
.pill.neutro { background: var(--surface-2); color: var(--text-dim); border-color: var(--border); }
.btn-sm { padding: 8px 12px; font-size: .86rem; border-radius: 10px; }
.btn-ok { background: rgba(142,213,166,.14); border-color: rgba(142,213,166,.45); color: #1F8A4C; }
.btn-ok:hover { color: #C9F2D9; border-color: #1F8A4C; }
.btn-perigo { border-color: rgba(240,96,106,.5); color: #D6334A; }
.btn-perigo:hover { border-color: var(--danger); color: #D6334A; }
.planos-rapidos { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.planos-rapidos .btn { padding: 10px 8px; font-size: .9rem; }
.vazio { text-align: center; color: var(--text-dim); padding: 24px 10px; }
.overlay { position: fixed; inset: 0; background: rgba(31,27,58,.45); display: flex; align-items: flex-start; justify-content: center; z-index: 60; padding: 24px 14px; overflow: auto; }
.overlay .painel-modal { width: 100%; max-width: 620px; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.painel-modal .cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.painel-modal h2 { margin: 0; font-family: 'Montserrat', sans-serif; font-size: 1.2rem; }
.secao-modal { border-top: 1px solid var(--border); margin-top: 16px; padding-top: 14px; }
.secao-modal h4 { margin: 0 0 8px; font-size: .92rem; color: var(--gold-light); }
.msg-erro { color: #D6334A; font-size: .9rem; min-height: 1.2em; }
.msg-ok { color: #1F8A4C; font-size: .9rem; min-height: 1.2em; }
.campo-min { font-size: .8rem; color: var(--text-dim); display: block; margin: 8px 0 4px; }
.adm input[type=date] { background: var(--surface-2); color: var(--text); border: 1.5px solid var(--border); border-radius: 12px; padding: 10px 12px; font-size: .95rem; }
.pendente-card { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--border); border-radius: 14px; margin-bottom: 10px; background: var(--surface-2); }
@media (max-width: 760px) {
  .aluno { grid-template-columns: 1fr; }
  .aluno .acoes-r { justify-content: flex-start; }
}

/* ===== página de planos / venda (planos.html) ===== */
.venda { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.hero-v { text-align: center; padding: 56px 8px 36px; }
.hero-v .etiqueta { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold-light); border: 1px solid var(--gold-dark); border-radius: 999px; padding: 6px 14px; margin-bottom: 18px; }
.hero-v h1 { font-family: 'Montserrat', sans-serif; font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.15; margin: 0 0 16px; }
.hero-v h1 span { color: var(--gold-light); }
.hero-v p.lead { font-size: 1.1rem; color: var(--text-dim); max-width: 620px; margin: 0 auto 26px; }
.cta-linha { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-grande { padding: 15px 26px; font-size: 1.02rem; border-radius: 14px; text-decoration: none; display: inline-block; }
.nota-teste { font-size: .88rem; color: var(--text-dim); margin-top: 14px; }
.secao-v { padding: 40px 0 10px; }
.secao-v h2 { font-family: 'Montserrat', sans-serif; text-align: center; font-size: 1.6rem; margin: 0 0 22px; }
.grade-v { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.cartao-v { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.cartao-v .ico { font-size: 1.6rem; margin-bottom: 8px; }
.cartao-v h3 { margin: 0 0 6px; font-size: 1.02rem; }
.cartao-v p { margin: 0; color: var(--text-dim); font-size: .95rem; }
.passos-v { counter-reset: passo; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.passo-v { position: relative; padding: 20px 20px 18px 66px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.passo-v::before { counter-increment: passo; content: counter(passo); position: absolute; left: 18px; top: 18px; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: #FFFFFF; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.passo-v b { display: block; margin-bottom: 4px; }
.passo-v span { color: var(--text-dim); font-size: .95rem; }
.planos-v { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; align-items: stretch; }
.plano-v { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 22px 18px; display: flex; flex-direction: column; box-shadow: var(--shadow); position: relative; }
.plano-v.destaque { border-color: var(--gold); box-shadow: 0 10px 34px rgba(255,107,74,.18); }
.plano-v .selo { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: #FFFFFF; font-size: .74rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.plano-v h3 { margin: 4px 0 2px; font-family: 'Montserrat', sans-serif; font-size: 1.1rem; }
.plano-v .duracao { color: var(--text-dim); font-size: .9rem; margin-bottom: 14px; }
.plano-v .preco { font-family: 'Montserrat', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--gold-light); min-height: 2.1rem; }
.plano-v .preco small { display: block; font-family: 'Inter', sans-serif; font-size: .8rem; color: var(--text-dim); font-weight: 400; }
.plano-v ul { list-style: none; padding: 0; margin: 14px 0 18px; flex: 1; font-size: .93rem; color: var(--text-dim); }
.plano-v li { padding: 4px 0 4px 22px; position: relative; }
.plano-v li::before { content: '✓'; position: absolute; left: 0; color: var(--gold-light); font-weight: 800; }
.plano-v .btn { width: 100%; }
.faq-v details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
.faq-v summary { cursor: pointer; font-weight: 700; list-style: none; }
.faq-v summary::-webkit-details-marker { display: none; }
.faq-v summary::after { content: '+'; float: right; color: var(--gold-light); font-size: 1.2rem; line-height: 1; }
.faq-v details[open] summary::after { content: '–'; }
.faq-v details p { color: var(--text-dim); margin: 10px 0 2px; font-size: .95rem; }
.cta-final-v { text-align: center; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--gold-dark); border-radius: 24px; padding: 34px 20px; margin: 44px 0 10px; }
.cta-final-v h2 { margin: 0 0 8px; font-family: 'Montserrat', sans-serif; font-size: 1.5rem; }
.cta-final-v p { color: var(--text-dim); margin: 0 0 20px; }
.rodape-v { margin-top: 30px; }
@media (max-width: 600px) {
  .hero-v { padding-top: 36px; }
  .cta-linha .btn { width: 100%; }
  .passo-v { padding-left: 62px; }
}
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%) translateY(16px); opacity: 0; background: var(--surface); border: 1px solid var(--gold-dark); color: var(--text); border-radius: 12px; padding: 12px 16px; z-index: 80; box-shadow: var(--shadow); transition: opacity .2s ease, transform .2s ease; pointer-events: none; max-width: calc(100vw - 32px); font-size: .92rem; }
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== dashboard do professor (v6) ===== */
.dash-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin: 4px 0 18px; }
.dash-data { color: var(--text-dim); font-size: .86rem; text-transform: capitalize; }
.dash-titulo { font-family: 'Montserrat', sans-serif; font-size: 1.6rem; margin: 2px 0 0; }
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); }
.kpi-ico { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; background: var(--surface-2); flex: 0 0 auto; }
.kpi b { display: block; font-family: 'Montserrat', sans-serif; font-size: 1.6rem; line-height: 1.1; color: var(--text); }
.kpi span { font-size: .82rem; color: var(--text-dim); }
.kpi.ok .kpi-ico { background: rgba(142,213,166,.14); }
.kpi.aviso .kpi-ico { background: rgba(255,107,74,.14); }
.kpi.alerta .kpi-ico { background: rgba(240,96,106,.14); }
.kpi.info .kpi-ico { background: rgba(111,168,255,.14); }
.kpi.alerta b { color: #D6334A; }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); min-width: 0; }
.panel h3 { margin: 0 0 14px; font-family: 'Montserrat', sans-serif; font-size: .98rem; }
.panel-wide { grid-column: 1 / -1; }
.stack { display: flex; height: 16px; border-radius: 999px; overflow: hidden; background: var(--surface-2); gap: 2px; }
.stack span { display: block; min-width: 4px; }
.legenda { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; font-size: .86rem; color: var(--text-dim); }
.legenda span { display: inline-flex; align-items: center; gap: 6px; }
.legenda i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.legenda b { color: var(--text); }
.hbar { display: grid; grid-template-columns: 130px 1fr 36px; align-items: center; gap: 10px; margin-bottom: 10px; font-size: .9rem; }
.hb-rot { color: var(--text-dim); }
.hb-trilho { height: 10px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.hb-trilho i { display: block; height: 100%; border-radius: 999px; min-width: 0; transition: width .4s ease; }
.hbar b { text-align: right; }
.atencao-linha { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--border); }
.atencao-linha:first-of-type { border-top: 0; }
.atencao-txt { min-width: 0; flex: 1 1 220px; }
.aluno-head { font-size: .76rem; text-transform: uppercase; letter-spacing: .8px; color: var(--text-dim); border-top: 0; padding-bottom: 6px; }
.aluno-head span:last-child { text-align: right; }
@media (max-width: 860px) {
  .dash-grid { grid-template-columns: 1fr; }
  .aluno-head { display: none; }
  .hbar { grid-template-columns: 110px 1fr 30px; }
}

/* ===== página de vendas (v6) ===== */
.venda-body main.venda { padding-top: 0; }
.hero-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: center; padding: 44px 4px 28px; }
.hero-texto h1 { font-family: 'Montserrat', sans-serif; font-size: clamp(2rem, 4.6vw, 3rem); line-height: 1.12; margin: 14px 0 14px; }
.hero-texto h1 span { color: var(--gold-light); }
.hero-texto .lead { font-size: 1.08rem; color: var(--text-dim); margin: 0 0 24px; max-width: 560px; }
.cta-esq { justify-content: flex-start; }
.nota-esq { text-align: left; }
.sub-h { text-align: center; color: var(--text-dim); margin: -10px 0 22px; }
.hero-visual { position: relative; display: flex; justify-content: center; padding: 10px 0 20px; }
.mock { width: min(340px, 100%); background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.35); transform: rotate(-2deg); }
.mock-top { display: flex; justify-content: space-between; font-size: .8rem; color: var(--text-dim); margin-bottom: 14px; }
.mock-xp { color: var(--gold-light); font-weight: 700; }
.mock-trilha { display: flex; justify-content: space-between; align-items: center; padding: 6px 4px 16px; position: relative; }
.mock-trilha::before { content: ''; position: absolute; left: 14px; right: 14px; top: 50%; height: 3px; background: var(--surface-2); border-radius: 3px; transform: translateY(-50%); }
.mn { position: relative; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .9rem; color: #FFFFFF; background: var(--surface-2); border: 3px solid var(--surface); }
.mn.feito { background: linear-gradient(180deg, var(--gold-light), var(--gold)); }
.mn.errada { background: linear-gradient(180deg, #FF9A7F, #E85A3A); box-shadow: 0 0 0 2px #D6334A; }
.mn.atual { background: #8FBDFF; box-shadow: 0 0 0 5px rgba(255,107,74,.25); }
.mn.bloq { color: #8E8AAA; }
.mock-pergunta { font-size: .96rem; text-align: center; padding: 12px 6px; border-top: 1px solid var(--border); }
.mock-pergunta b { color: var(--gold-light); }
.mock-ops { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-ops span { text-align: center; padding: 9px 4px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); font-size: .9rem; }
.mock-ops .ok { border-color: #1F8A4C; color: #1F8A4C; }
.urso { position: absolute; right: 0; bottom: -6px; width: 92px; filter: drop-shadow(0 10px 14px rgba(0,0,0,.5)); animation: bob 2.4s ease-in-out infinite; }
.faixa-num { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 8px 0 6px; }
.faixa-num > div { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px; text-align: center; }
.faixa-num b { display: block; font-family: 'Montserrat', sans-serif; font-size: 1.3rem; color: var(--gold-light); }
.faixa-num span { font-size: .88rem; color: var(--text-dim); }
.cta-final-v { position: relative; }
.urso-final { width: 84px; margin: -70px auto 8px; display: block; }
.plano-v .preco { min-height: 2.4rem; }
@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; padding-top: 28px; }
  .hero-visual { order: -1; }
  .cta-esq { justify-content: stretch; }
  .cta-esq .btn { width: 100%; }
  .nota-esq { text-align: center; }
  .mock { transform: none; }
}

/* ===== identidade v7 (logo: índigo, azul, coral) ===== */
body { background:
  radial-gradient(1100px 520px at 88% -140px, rgba(45,127,249,.16), transparent 70%),
  radial-gradient(900px 460px at -10% 10%, rgba(255,107,74,.10), transparent 70%),
  var(--bg); }
.topbar { border-bottom: 1px solid var(--border); box-shadow: 0 1px 0 rgba(31,27,58,.02), 0 6px 18px rgba(31,27,58,.05); }
.brand img { box-shadow: none; }
.brand-name { background: linear-gradient(90deg, #1F1B3A, #2D7FF9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.btn { border-radius: 14px; border: 1.5px solid var(--border); color: var(--text); background: var(--surface); box-shadow: 0 1px 2px rgba(31,27,58,.04); }
.btn:hover { border-color: var(--gold); color: var(--gold-dark); }
.btn-primary { background: linear-gradient(180deg, #4B92FF, #2D7FF9); border-color: #2D7FF9; color: #fff; box-shadow: 0 8px 22px rgba(45,127,249,.28); }
.btn-primary:hover { color: #fff; box-shadow: 0 10px 28px rgba(45,127,249,.38); }
.btn-coral { background: linear-gradient(180deg, #FF8A6E, #FF6B4A); border-color: #FF6B4A; color: #fff; box-shadow: 0 8px 22px rgba(255,107,74,.28); }
.btn-coral:hover { color: #fff; }
.xp-pill { background: #FFF1EC; border-color: #FFC4B3; color: #C7402A; }
.login-card { background: var(--surface); border-color: var(--border); box-shadow: 0 24px 60px rgba(31,27,58,.10); }
.login-card h1 { background: linear-gradient(90deg, #1F1B3A, #2D7FF9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mod-card { border-radius: 20px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.mod-card:hover { border-color: #2D7FF9; box-shadow: 0 14px 34px rgba(45,127,249,.16); }
.mod-card::before { background: linear-gradient(180deg, #2D7FF9, #FF6B4A); opacity: 1; }
.lvl { border-color: #BFD6FF; color: #1D5FD0; background: #EEF5FF; }
.bar { background: #E6EEFB; }
.bar > span { background: linear-gradient(90deg, #2D7FF9, #FF6B4A); }
.node.done { background: linear-gradient(180deg, #4B92FF, #2D7FF9); box-shadow: 0 6px 0 #1D5FD0; color: #fff; }
.node.current { background: linear-gradient(180deg, #FF8A6E, #FF6B4A); box-shadow: 0 6px 0 #C7402A; color: #fff; }
.node.current .lbl { color: #C7402A; }
.node.errada { box-shadow: 0 6px 0 #C7402A, 0 0 0 3px #FFD0C4; }
.node.locked { background: linear-gradient(180deg, #FFFFFF, #E9E7F5); color: #8E8AAA; box-shadow: 0 6px 0 #C9C6DB; border-color: #fff; }
.node.start { background: linear-gradient(180deg, #FFFFFF, #EEF5FF); color: #2D7FF9; box-shadow: 0 6px 0 #BFD6FF; }
.mascot-tag { background: linear-gradient(180deg, #4B92FF, #2D7FF9); color: #fff; box-shadow: 0 4px 0 #1D5FD0; }
.mascot-tag::after { border-top-color: #2D7FF9; }
.modal-card { border-color: #D7E6FF; box-shadow: 0 30px 80px rgba(31,27,58,.18); }
.plano-pill { background: #EEF5FF; border-color: #BFD6FF; color: #1D5FD0; }

/* página de vendas com mais impacto */
.hero-split { position: relative; }
.hero-split::before { content: ''; position: absolute; inset: -40px -20px auto auto; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(45,127,249,.18), transparent 65%); z-index: -1; pointer-events: none; }
.hero-texto h1 span { background: linear-gradient(90deg, #2D7FF9, #FF6B4A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-v .etiqueta, .etiqueta { background: #EEF5FF; border-color: #BFD6FF; color: #1D5FD0; }
.mock { background: #fff; border-color: #E3E0F1; box-shadow: 0 24px 60px rgba(31,27,58,.14); }
.mock-xp { color: #C7402A; }
.mock-pergunta b { color: #1D5FD0; }
.mock-ops .ok { border-color: #1F8A4C; color: #1F8A4C; background: #EAF8EF; }
.mn.feito { background: linear-gradient(180deg, #4B92FF, #2D7FF9); color: #fff; }
.mn.atual { background: linear-gradient(180deg, #FF8A6E, #FF6B4A); color: #fff; box-shadow: 0 0 0 5px rgba(255,107,74,.2); }
.mn.errada { background: #FFE3DB; color: #C7402A; box-shadow: 0 0 0 2px #FF6B4A; }
.faixa-num { background: linear-gradient(90deg, #1F1B3A, #2D3A7A); border-radius: 20px; padding: 6px; gap: 0; margin: 14px 0 10px; }
.faixa-num > div { background: transparent; border: 0; padding: 14px; }
.faixa-num b { color: #fff; }
.faixa-num span { color: #C9CCF0; }
.grade-v { gap: 16px; }
.cartao-v { border-radius: 20px; border-color: var(--border); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.cartao-v:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(45,127,249,.14); border-color: #BFD6FF; }
.cartao-v .ico { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: #EEF5FF; font-size: 1.5rem; margin-bottom: 12px; }
.passo-v::before { background: linear-gradient(180deg, #4B92FF, #2D7FF9); color: #fff; box-shadow: 0 6px 14px rgba(45,127,249,.3); }
.passo-v { border-radius: 20px; border-color: var(--border); }
.plano-v { border-radius: 24px; border-color: var(--border); }
.plano-v.destaque { border: 2px solid #2D7FF9; box-shadow: 0 22px 50px rgba(45,127,249,.22); transform: translateY(-8px); }
.plano-v .selo { background: linear-gradient(90deg, #FF8A6E, #FF6B4A); color: #fff; }
.plano-v .preco { color: #1D5FD0; }
.plano-v li::before { color: #1F8A4C; }
.cta-final-v { background: linear-gradient(135deg, #2D7FF9 0%, #5B5BD6 55%, #FF6B4A 130%); border: 0; color: #fff; box-shadow: 0 24px 60px rgba(45,127,249,.28); }
.cta-final-v h2, .cta-final-v p { color: #fff; }
.cta-final-v p { opacity: .92; }
.cta-final-v .btn-primary { background: #fff; color: #1D5FD0; border-color: #fff; box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.cta-final-v .btn-primary:hover { color: #1D5FD0; }
.urso-final { filter: drop-shadow(0 10px 18px rgba(0,0,0,.25)); }
.faq-v details { border-radius: 16px; border-color: var(--border); }
.faq-v summary::after { color: #2D7FF9; }
.rodape { border-top-color: var(--border); }
.rodape a { color: #1D5FD0; }
.cookies { background: #fff; border-color: #BFD6FF; box-shadow: 0 14px 36px rgba(31,27,58,.14); }
.cookies a, .legal a, .suporte { color: #1D5FD0; }
.legal h1, .legal h2 { color: #1F1B3A; }
.kpi, .panel, .bloco, .card { border-radius: 20px; }
.kpi-ico { background: #EEF5FF; }
.kpi.ok .kpi-ico { background: #EAF8EF; }
.kpi.aviso .kpi-ico { background: #FFF4DB; }
.kpi.alerta .kpi-ico { background: #FFE8E4; }
.kpi.info .kpi-ico { background: #EEF5FF; }
.kpi.alerta b { color: #D6334A; }
.adm-tab.on { background: #EEF5FF; color: #1D5FD0; box-shadow: inset 0 0 0 1px #BFD6FF; }
.adm-tab .qtd { background: #FF6B4A; }
.chip.on { border-color: #2D7FF9; color: #1D5FD0; background: #EEF5FF; }
.hero-texto h1 span { background: none; -webkit-background-clip: initial; background-clip: initial; color: #2D7FF9; }
.urso, .urso-final { filter: hue-rotate(160deg) saturate(1.15) drop-shadow(0 10px 16px rgba(0,0,0,.22)); }

/* ===== preços com desconto (v8) ===== */
.de-por { color: var(--text-dim); font-size: .88rem; text-decoration: line-through; min-height: 1.2em; }
.plano-v .preco { font-size: 1.9rem; margin-top: 2px; }
.plano-v .preco small { font-size: .8rem; }
.economia { display: inline-block; align-self: flex-start; background: #EAF8EF; color: #1F8A4C; border-radius: 999px; padding: 4px 10px; font-size: .8rem; font-weight: 700; margin: 8px 0 4px; min-height: 1.6em; }
.vazio-eco { background: transparent; }
.planos-v a.btn { text-decoration: none; }
.planos-v .plano-v .btn { width: 100%; text-align: center; }
