:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --ink: #16203a;
  --muted: #667089;
  --line: #e5e9f2;
  --brand: #2a4d94;
  --brand-2: #3f6bc4;
  --brand-soft: #eaf0fb;
  --gold: #c99a2e;
  --gold-soft: #fbf4e0;
  --up: #12804a;
  --up-bg: #e5f6ec;
  --down: #c2382f;
  --down-bg: #fdecea;
  --warn: #8a5a05;
  --warn-bg: #fff4dc;
  --radius: 20px;
  --shadow-sm: 0 1px 2px rgba(22, 32, 58, .05);
  --shadow: 0 2px 4px rgba(22, 32, 58, .04), 0 16px 40px -12px rgba(42, 77, 148, .18);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Manrope", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 var(--font); letter-spacing: -.003em;
  min-height: 100vh; display: flex; flex-direction: column;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
main { flex: 1; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.02em; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.topbar { background: rgba(255, 255, 255, .92); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(10px); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, #e0b345, #b88720); color: #231a02;
  font: 800 12.5px var(--font-display); letter-spacing: .03em; box-shadow: 0 4px 10px -2px rgba(184, 135, 32, .5);
}
.brand-text { font: 800 16px/1.1 var(--font-display); letter-spacing: -.01em; }
.brand-text small { display: block; margin-top: 3px; font: 500 11.5px var(--font); color: var(--muted); letter-spacing: 0; }
.nav { display: flex; gap: 4px; background: var(--bg); padding: 4px; border-radius: 12px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 9px; transition: .15s; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { background: var(--surface); color: var(--brand); box-shadow: var(--shadow-sm); }

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff; padding: 44px 0 96px; overflow: hidden;
  background:
    radial-gradient(900px 380px at 85% -20%, rgba(255, 255, 255, .22), transparent 60%),
    radial-gradient(600px 300px at 0% 110%, rgba(201, 154, 46, .25), transparent 60%),
    linear-gradient(135deg, #2a4d94 0%, #3b66bd 55%, #4f7fd3 100%);
}
.hero .eyebrow { display: inline-block; font: 700 12px var(--font); letter-spacing: .12em; text-transform: uppercase; color: #ffe29a; margin-bottom: 12px; }
.hero h1 { margin: 0 0 12px; font-size: clamp(1.9rem, 6vw, 2.9rem); line-height: 1.08; font-weight: 800; }
.hero p { margin: 0; color: #e3ebfb; max-width: 62ch; font-size: clamp(.98rem, 2.6vw, 1.1rem); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .24); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 500; color: #fff; backdrop-filter: blur(6px); }
.chip b { color: #ffe29a; font-weight: 700; }

/* ---------- search ---------- */
.search-card { margin-top: -56px; position: relative; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; border: 1px solid var(--line); }
.search-card label { display: block; font: 700 1.02rem var(--font-display); margin-bottom: 12px; }
.search-row { display: flex; gap: 10px; }
.search-row input { flex: 1; min-width: 0; font: 500 1rem var(--font); padding: 15px 16px; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; transition: .15s; }
.search-row input::placeholder { color: #9aa3b8; }
.search-row input:focus { outline: none; border-color: var(--brand-2); background: #fff; box-shadow: 0 0 0 4px rgba(63, 107, 196, .14); }
.btn { font: 700 1rem var(--font-display); padding: 15px 26px; border: 0; border-radius: 14px; background: linear-gradient(135deg, #2f58a8, #3f6bc4); color: #fff; cursor: pointer; box-shadow: 0 8px 18px -6px rgba(42, 77, 148, .55); transition: .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 22px -6px rgba(42, 77, 148, .6); }
.hint { margin: 10px 2px 0; color: var(--muted); font-size: 13.5px; }

.matches { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.matches button { width: 100%; text-align: left; font: inherit; color: var(--ink); cursor: pointer; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; justify-content: space-between; gap: 12px; align-items: center; transition: .15s; }
.matches button:hover { border-color: var(--brand-2); background: var(--brand-soft); }
.matches .m-name { font-weight: 600; }
.matches .m-pos { font: 800 1.1rem var(--font-display); color: var(--brand); white-space: nowrap; }
.matches .m-sub { display: block; font-size: 12.5px; color: var(--muted); font-weight: 400; margin-top: 1px; }

/* ---------- result ---------- */
.result { margin-top: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.result-head { padding: 24px 24px 8px; }
.result-head h2 { margin: 0; font-size: clamp(1.25rem, 4.2vw, 1.6rem); line-height: 1.2; font-weight: 800; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tag { font-size: 12.5px; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.tag.turma { background: var(--brand-soft); color: var(--brand); border-color: transparent; }
.tag.ppi { background: var(--gold-soft); color: var(--warn); border-color: transparent; }

.pos-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 12px; padding: 18px 24px 8px; }
.tile { border-radius: 16px; padding: 16px 12px; text-align: center; background: var(--bg); border: 1px solid var(--line); }
.tile .k { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.tile .v { font: 800 clamp(1.9rem, 8vw, 2.7rem)/1.15 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-top: 2px; }
.tile.main { background: linear-gradient(135deg, #2f58a8, #4573cb); border-color: transparent; color: #fff; box-shadow: 0 14px 28px -12px rgba(42, 77, 148, .6); }
.tile.main .k { color: #cfdcf6; }
.var-up { color: var(--up); } .var-down { color: var(--down); } .var-zero { color: var(--muted); }

.status { margin: 14px 24px 4px; padding: 16px 18px; border-radius: 16px; font-size: 15px; }
.status.in { background: var(--up-bg); color: var(--up); font-weight: 700; }
.status.out { background: var(--brand-soft); color: #1f3a74; }
.status.out .big { display: block; font: 800 2rem/1.1 var(--font-display); letter-spacing: -.02em; margin: 4px 0; color: var(--brand); }
.status.zone { background: var(--warn-bg); color: var(--warn); }
.status.elim { background: var(--down-bg); color: var(--down); }
.status .t { display: block; font: 800 1.05rem var(--font-display); margin-bottom: 2px; }
.status small { display: block; margin-top: 8px; font-size: 13.5px; opacity: .9; }

.details { margin: 0; padding: 18px 24px 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 20px; }
.details dt { font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; }
.details dd { margin: 2px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.details .wide { grid-column: 1 / -1; }
.note-box { margin: 20px 0 0; padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1.5px dashed #cfd6e6; color: var(--muted); font-size: 14.5px; }

/* ---------- curiosidades ---------- */
.section { margin: 40px 0 8px; }
.section h2 { font-size: 1.25rem; margin: 0 0 4px; font-weight: 800; }
.section .lead { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: var(--shadow-sm); }
.stat .k { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; }
.stat .v { font: 800 clamp(1.8rem, 6vw, 2.4rem)/1.1 var(--font-display); letter-spacing: -.03em; color: var(--brand); margin-top: 6px; font-variant-numeric: tabular-nums; }
.stat .s { color: var(--muted); font-size: 13px; margin-top: 2px; }

.bars { margin: 14px 0 0; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 36px; }
.bars h3 { grid-column: 1 / -1; margin: 0; font-size: 1rem; font-weight: 800; }
.bar-row .top { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.bar-row .top span:last-child { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 500; }
.bar-row .top b { color: var(--ink); font-weight: 800; }
.track { height: 8px; border-radius: 999px; background: var(--brand-soft); overflow: hidden; }
.fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #3f6bc4, #6b97e3); }

/* ---------- etapas ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.timeline li { display: flex; justify-content: space-between; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px; font-size: 14.5px; font-weight: 500; }
.timeline .when { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.timeline li.done { color: var(--muted); }
.timeline li.done .when::after { content: " ✓"; color: var(--up); }
.timeline li.next { border-color: #e6cd8a; background: var(--gold-soft); }

/* ---------- classificacao ---------- */
.page-title { padding: 32px 0 6px; }
.page-title h1 { margin: 0; font-size: clamp(1.6rem, 5vw, 2.1rem); font-weight: 800; }
.page-title p { margin: 6px 0 0; color: var(--muted); }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 14px; }
.toolbar input, .toolbar select { font: 500 .95rem var(--font); padding: 12px 14px; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; }
.toolbar input { flex: 1; min-width: 200px; }
.toolbar input:focus, .toolbar select:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(63, 107, 196, .14); }
.count { color: var(--muted); font-size: 14px; align-self: center; font-weight: 500; }

.table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: auto; max-height: 76vh; }
table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 900px; font-size: 14px; }
th, td { padding: 11px 12px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line); }
thead th { position: sticky; top: 0; z-index: 2; background: #eef2fa; color: #3a4a70; font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; border-bottom: 1px solid #dbe2f0; }
tbody tr:last-child td { border-bottom: 0; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
td.name { white-space: normal; min-width: 230px; font-weight: 600; }
td.turma { font-weight: 600; color: var(--brand); font-variant-numeric: tabular-nums; }
tbody tr:hover td { background: #f6f8fd; }
.pos-badge { display: inline-block; min-width: 3em; text-align: center; font: 800 13px var(--font-display); border-radius: 999px; padding: 3px 9px; background: var(--bg); color: var(--ink); }
tr.in-vagas .pos-badge { background: var(--up-bg); color: var(--up); }
tr.zone td { background: #fffaf0; }
tr.zone .pos-badge { background: #ffe9b8; color: var(--warn); }
.var { font-weight: 800; font-variant-numeric: tabular-nums; }
.ppi { color: var(--gold); font-weight: 800; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 2px 0; color: var(--muted); font-size: 13px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.small { font-size: 13px; color: var(--muted); }

/* ---------- footer ---------- */
.footer { margin-top: 56px; background: #eaeff8; color: #4a556f; font-size: 13.5px; padding: 32px 0 40px; border-top: 1px solid var(--line); }
.footer h3 { margin: 0 0 10px; color: var(--ink); font-size: 15px; font-weight: 800; }
.footer ul { margin: 0 0 14px; padding-left: 18px; }
.footer li { margin-bottom: 6px; }
.footer strong { color: var(--ink); }
.footer .legal { border-top: 1px solid #d5ddec; padding-top: 14px; margin: 10px 0 0; }

[hidden] { display: none !important; }
@media (max-width: 720px) {
  .stat-grid { grid-template-columns: 1fr; }
  .stat { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  .stat .v { margin-top: 0; font-size: 1.7rem; }
  .bars { grid-template-columns: 1fr; padding: 18px; }
  .details { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .brand-text small { display: none; }
  .nav a { padding: 7px 10px; font-size: 13px; }
  .hero { padding: 32px 0 88px; }
  .search-card { padding: 18px; }
  .search-row { flex-direction: column; }
  .result-head, .pos-grid, .details { padding-left: 16px; padding-right: 16px; }
  .status { margin-left: 16px; margin-right: 16px; }
  .pos-grid { gap: 8px; }
  .tile { padding: 14px 6px; }
}

/* ---------- aviso de empate ---------- */
.aviso { margin: 18px 0 0; padding: 16px 18px; border-radius: 16px; background: var(--warn-bg); color: var(--warn); font-size: 15.5px; border: 1px solid #f0d99b; }
.aviso b { font-weight: 800; }
.aviso small { display: block; margin-top: 6px; font-size: 13px; opacity: .9; }

/* ---------- calendário ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 16px; }
.pill { font: 700 .92rem var(--font-display); padding: 10px 18px; border-radius: 999px; cursor: pointer; background: var(--surface); color: var(--muted); border: 1.5px solid var(--line); transition: .15s; }
.pill:hover { border-color: var(--brand-2); color: var(--brand); }
.pill.on { background: linear-gradient(135deg, #2f58a8, #4573cb); color: #fff; border-color: transparent; box-shadow: 0 8px 18px -8px rgba(42, 77, 148, .6); }
.stages { display: grid; gap: 14px; margin-top: 14px; }
.stage { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: var(--shadow-sm); }
.stage h3 { margin: 0; font-size: 1.02rem; font-weight: 800; }
.stage-note { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.events { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.ev { display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: start; padding: 11px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.ev-date { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--brand); font-size: 14.5px; }
.ev-date span { display: block; font-weight: 600; font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.ev-info b { display: block; font-size: 14.5px; }
.ev-info small { display: block; color: var(--muted); font-size: 12.8px; margin-top: 1px; }
.ev.result { background: var(--gold-soft); border-color: #ecd9a0; }
.ev.result .ev-date { color: var(--warn); }
.ev.past { opacity: .6; }
.ev.past .ev-date::after { content: " ✓"; color: var(--up); }
.cal-block { padding: 6px 24px 26px; border-top: 1px solid var(--line); }
.cal-block > h3 { margin: 20px 0 0; font-size: 1.1rem; font-weight: 800; }
.cal-block .stage { box-shadow: none; padding: 16px; }
@media (max-width: 520px) {
  .nav-long { display: none; }
  .ev { grid-template-columns: 1fr; gap: 4px; }
  .cal-block { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 440px) {
  .brand-text { display: none; }
  .topbar .wrap { gap: 8px; }
  .nav { flex: 1; justify-content: space-between; }
  .nav a { padding: 7px 8px; font-size: 12.5px; }
}

main a, .note-box a { color: var(--brand); font-weight: 600; }

/* ---------- curiosidades: funil ---------- */
.big-stat { margin-top: 18px; padding: 26px 24px; border-radius: var(--radius); color: #fff; background: radial-gradient(700px 260px at 90% -30%, rgba(255,255,255,.22), transparent 60%), linear-gradient(135deg, #2a4d94, #4573cb); box-shadow: var(--shadow); }
.big-stat .k { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: #ffe29a; }
.big-stat .v { font: 800 clamp(2.6rem, 11vw, 4rem)/1.05 var(--font-display); letter-spacing: -.03em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.big-stat .s { color: #dbe6fb; font-size: 14px; margin-top: 2px; }
.funnel { display: grid; gap: 14px; }
.f-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: var(--shadow-sm); }
.f-card.pending { background: var(--bg); box-shadow: none; }
.f-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.f-head h3 { margin: 0; font-size: 1.02rem; font-weight: 800; }
.f-date { font-size: 13px; font-weight: 700; color: var(--warn); background: var(--gold-soft); padding: 3px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.f-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.f-nums .k { font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; }
.f-nums .n { font: 800 clamp(1.4rem, 5vw, 1.9rem)/1.15 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.f-nums .p { font-size: 13.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.f-nums .ok .n, .f-nums .ok .p { color: var(--up); }
.f-nums .bad .n, .f-nums .bad .p { color: var(--down); }
.split { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--line); margin-top: 14px; gap: 2px; }
.split-ok { background: #2fa36b; border-radius: 999px; }
.split-bad { background: #e0675f; border-radius: 999px; }
.f-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
@media (max-width: 520px) { .f-nums { gap: 8px; } }

@media (max-width: 440px) {
  .nav { overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 7px 6px; font-size: 12px; white-space: nowrap; }
  .topbar .wrap { padding: 0 12px; }
}

@media (max-width: 440px) {
  .brand-mark { width: 28px; height: 28px; border-radius: 9px; font-size: 10px; }
  .topbar .wrap { gap: 6px; padding: 0 10px; }
  .nav { padding: 3px; gap: 0; }
  .nav a { padding: 7px 5px; font-size: 11.5px; }
}

.riscado { color: var(--muted); font-weight: 600; text-decoration-thickness: 2px; }
.ast { color: var(--gold); margin-left: 1px; }
.foot-ast { margin: 12px 2px 0; font-size: 13px; color: var(--muted); }

/* ---------- aviso em faixa ---------- */
.aviso-faixa { margin: 18px 0 0; padding: 12px 16px; border-radius: 14px; background: var(--warn-bg); color: var(--warn); border: 1px solid #f0d99b; font-size: 14px; font-weight: 500; }

/* ---------- vidro embaçado + formulário de contato ---------- */
.glass-wrap { position: relative; overflow: hidden; border-radius: 0 0 var(--radius) var(--radius); }
.glass-wrap .blur { filter: blur(9px) saturate(.9); user-select: none; pointer-events: none; opacity: .9; }
.glass-cta { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(245,247,251,.75)); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.glass-cta p { margin: 0; max-width: 34ch; font-weight: 600; color: var(--ink); }
.glass-cta .cadeado { font-size: 1.6rem; }
.glass-cta h2 { margin: 0; font-size: 1.3rem; font-weight: 800; }
.glass-cta.grande { padding: 24px 18px; }
.tabela-trancada { min-height: 520px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); margin-top: 16px; }
.tabela-trancada .blur table { min-width: 0; }
.tabela-trancada .glass-cta { background: rgba(245,247,251,.55); }
.result.locked .glass-wrap { min-height: 360px; }
.m-pos.borrado { filter: blur(5px); }
.lead-form { display: grid; gap: 12px; width: 100%; max-width: 380px; text-align: left; margin-top: 8px; }
.lead-form label { display: grid; gap: 5px; font-size: 13px; font-weight: 700; color: var(--muted); }
.lead-form input[type=email], .lead-form input[type=tel] { font: 500 1rem var(--font); padding: 13px 14px; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; }
.lead-form input:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(63,107,196,.14); }
.lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-erro { margin: 0; padding: 9px 12px; border-radius: 10px; background: var(--down-bg); color: var(--down); font-size: 13.5px; font-weight: 600; }
.lead-nota { margin: 0; font-size: 12px; color: var(--muted); font-weight: 400; text-align: center; }
.lead-form .btn:disabled { opacity: .7; cursor: wait; }
.gate-dialog { border: 0; border-radius: 22px; padding: 26px 22px 22px; width: min(440px, calc(100% - 28px)); box-shadow: 0 30px 80px -20px rgba(22,32,58,.55); color: var(--ink); background: var(--surface); }
.gate-dialog::backdrop { background: rgba(22,32,58,.45); backdrop-filter: blur(6px); }
.gate-dialog h2 { margin: 0 0 4px; font-size: 1.35rem; font-weight: 800; }
.gate-dialog .lead { margin: 0 0 14px; color: var(--muted); font-size: 14.5px; }
.gate-dialog .fechar { position: absolute; right: 12px; top: 8px; font-size: 1.8rem; line-height: 1; border: 0; background: none; color: var(--muted); cursor: pointer; }
.gate-dialog .lead-form { max-width: none; margin-top: 0; }

/* ---------- tabela longa ---------- */
table.sem-turma th:nth-child(2), table.sem-turma td:nth-child(2) { display: none; }
.mais-wrap { text-align: center; margin-top: 14px; }
.btn-sec { font: 700 .95rem var(--font-display); padding: 11px 22px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--brand); cursor: pointer; }
.btn-sec:hover { border-color: var(--brand-2); background: var(--brand-soft); }
.ev.previsao { background: var(--gold-soft); border-color: #ecd9a0; }
.ev.previsao .ev-date { color: var(--warn); }

/* ---------- escolha do concurso ---------- */
.escolha { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: -56px; position: relative; }
.card-concurso { display: block; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: .15s; }
.card-concurso:hover { transform: translateY(-3px); border-color: var(--brand-2); }
.card-concurso .tipo { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--warn); }
.card-concurso h2 { margin: 6px 0 4px; font-size: 1.5rem; font-weight: 800; }
.card-concurso p { margin: 0 0 14px; color: var(--muted); font-size: 14.5px; }
.card-concurso .meta { font-size: 13px; color: var(--muted); font-weight: 500; }
.card-concurso .ir { display: inline-block; margin-top: 14px; font: 700 .95rem var(--font-display); color: var(--brand); }
@media (max-width: 720px) { .escolha { grid-template-columns: 1fr; } }

/* ---------- texto corrido (privacidade) ---------- */
.prosa { max-width: 760px; margin: 0 auto; padding: 24px 0 8px; }
.prosa h1 { margin: 0 0 6px; font-size: 1.8rem; font-weight: 800; }
.prosa h2 { margin: 26px 0 6px; font-size: 1.1rem; font-weight: 800; }
.prosa p, .prosa li { color: #38425c; font-size: 15px; }
.prosa .atualizado { color: var(--muted); font-size: 13px; }
.prosa .lead-form { max-width: 460px; }
.prosa textarea { font: 500 1rem var(--font); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; min-height: 90px; }
.footer .links a { color: var(--brand); font-weight: 600; }

.hero .aviso-faixa { margin-top: 18px; max-width: 760px; background: rgba(255, 248, 225, .96); border-color: transparent; }

.notas-bloco { margin: 10px 0 6px; }
.notas-bloco h2 { font-size: 1.25rem; margin: 0 0 4px; font-weight: 800; }
.notas-bloco .lead { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; }

/* ---------- poster oficial ---------- */
.apoio { display: flex; gap: 14px; align-items: flex-start; margin: 14px 0 6px; padding: 16px 18px; border-radius: 16px; background: var(--gold-soft); border: 1px solid #ecd9a0; color: #5b4306; font-size: 14.5px; }
.apoio strong { display: block; font: 800 1.05rem var(--font-display); margin-bottom: 2px; color: #4a3504; }
.apoio-icone { font-size: 1.5rem; color: #c2392f; line-height: 1.2; }
.poster-grid { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 28px; margin-top: 18px; align-items: start; }
.poster-previa { position: sticky; top: 84px; }
.moldura { border-radius: 14px; overflow: hidden; box-shadow: 0 24px 50px -18px rgba(8, 22, 44, .55); border: 1px solid var(--line); background: #0b1b36; line-height: 0; }
.moldura svg { width: 100%; height: auto; display: block; }
.poster-previa .small { margin: 10px 2px 0; }
.poster-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.poster-form h2 { margin: 0 0 14px; font-size: 1.25rem; font-weight: 800; }
.poster-form form, .poster-form section { display: grid; gap: 14px; }
.poster-form label { display: grid; gap: 5px; font-size: 13px; font-weight: 700; color: var(--muted); }
.poster-form input[type=text], .poster-form input[type=email], .poster-form input:not([type]), .poster-form select { font: 500 1rem var(--font); padding: 13px 14px; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; width: 100%; }
.poster-form input:focus, .poster-form select:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(63,107,196,.14); }
.poster-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.poster-form .aceite { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 13.5px; color: var(--ink); }
.poster-form .aceite input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.poster-form a { color: var(--brand); font-weight: 600; }
.preco-linha { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px; border-radius: 14px; background: var(--brand-soft); font-weight: 600; }
.preco-linha strong { font: 800 1.6rem var(--font-display); color: var(--brand); }
.poster-form .btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
#passo2 { text-align: center; justify-items: center; }
#passo2 label { width: 100%; text-align: left; }
#passo2 input[readonly] { font-size: .8rem; }
.pix-instrucao { margin: 0; color: var(--muted); font-size: 14.5px; }
#qr { border: 1px solid var(--line); border-radius: 14px; padding: 8px; background: #fff; image-rendering: pixelated; }
.aguardando { display: flex; gap: 10px; align-items: center; justify-content: center; margin: 0; color: var(--muted); font-weight: 600; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--brand-soft); border-top-color: var(--brand); animation: gira 0.9s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }
#passo3 { text-align: center; justify-items: center; }
.sucesso-icone { width: 64px; height: 64px; border-radius: 50%; background: var(--up-bg); color: var(--up); font-size: 2rem; display: grid; place-items: center; font-weight: 800; }
#passo3 .btn { display: inline-block; text-decoration: none; }
@media (max-width: 860px) {
  .poster-grid { grid-template-columns: 1fr; }
  .poster-previa { position: static; max-width: 380px; margin: 0 auto; }
}

/* navegação com 5 abas: nomes completos só em telas largas */
.nav { overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.nav::-webkit-scrollbar { display: none; }
.nav a { white-space: nowrap; font-size: 13px; padding: 7px 11px; }
.brand-text { white-space: nowrap; }
@media (max-width: 1100px) { .nav-long { display: none; } .nav a { font-size: 13.5px; padding: 8px 12px; } }

.poster-form a.btn { color: #fff; font-weight: 700; }

@media (max-width: 700px) {
  .topbar { position: static; }
  .topbar .wrap { height: auto; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; gap: 8px; }
  .brand-text { display: block; }
  .brand-text small { display: block; }
  .nav { width: 100%; flex: none; overflow: visible; flex-wrap: wrap; justify-content: center; gap: 2px; }
  .nav a { font-size: 13px; padding: 7px 10px; }
}

/* faixa de aviso dentro do topo azul: texto escuro sobre fundo claro (antes herdava o texto claro do topo) */
.hero .aviso-faixa { background: #fff6dc; color: #5a3b00; border: 1px solid #f0d99b; font-weight: 600; font-size: 14.5px; line-height: 1.45; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .35); }
.hero .aviso-faixa span { color: #b45309; }

.moldura { background: #ffffff; }
