/* =========================================================
   Geração Trend · Interclasse 2026
   Sistema visual: Clean Modern Athleticism + acentos de energia
   (base institucional sólida em azul-marinho, energia em ciano/magenta)
   ========================================================= */
:root {
  /* institucional */
  --navy: #1e40af;
  --navy-deep: #00288e;
  --navy-hover: #1d4ed8;
  --navy-tint: #e8edfb;
  /* energia (ao vivo, palpites, destaques) */
  --cyan: #06b6d4;
  --cyan-tint: #e0f7fb;
  --magenta: #d946ef;
  --magenta-tint: #fbeafe;
  --grad-live: linear-gradient(135deg, #06b6d4 0%, #d946ef 100%);
  --grad-nav: linear-gradient(90deg, #06b6d4, #1e40af);
  /* ranking */
  --gold: #f59e0b;
  --gold-tint: #fef3c7;
  --silver: #94a3b8;
  --silver-tint: #f1f5f9;
  --bronze: #d97706;
  --bronze-tint: #fdead0;
  /* estado */
  --emerald: #10b981;
  --emerald-tint: #d1fae5;
  --error: #ba1a1a;
  --error-tint: #ffdad6;
  /* neutros */
  --ink: #0f172a;
  --ink-2: #475569;
  --ink-3: #64748b;
  --outline: #94a3b8;
  --line: #e2e8f0;
  --line-soft: #f1f5f9;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f5f7fc;
  --surface-3: #eef1fb;
  /* forma */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;
  --shadow-1: 0 2px 8px -2px rgba(15, 23, 42, .06);
  --shadow-2: 0 8px 24px -4px rgba(30, 64, 175, .12);
  --shadow-3: 0 20px 40px -12px rgba(15, 23, 42, .18);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Space Grotesk", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: scroll; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .4em; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 .8em; }
button, input, select, textarea { font: inherit; color: inherit; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
.icon { flex-shrink: 0; }

/* ===== Topo ===== */
.topo { position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(15, 23, 42, .05); }
.topo-faixa {
  background: var(--navy); color: #fff; font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; padding: 6px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.topo-faixa-esc { display: flex; align-items: center; gap: 6px; opacity: .95; white-space: nowrap; }
.topo-faixa-meio { opacity: .85; text-align: center; flex: 1; font-weight: 500; }
.topo-faixa-temp { display: flex; align-items: center; gap: 7px; white-space: nowrap; font-weight: 700; }
@media (max-width: 860px) { .topo-faixa-esc, .topo-faixa-meio { display: none; } .topo-faixa { justify-content: center; } }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); display: inline-block; animation: pulso 1.4s infinite; }
.live-dot-cyan { background: #67e8f9; }
.live-dot-error { background: #fff; }
@keyframes pulso { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.8); } }

.topo-inner {
  background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px);
  max-width: 1280px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 20px; height: 68px;
}
.marca { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.marca img { height: 38px; width: auto; }
.marca-div { width: 1px; height: 28px; background: var(--line); }
.marca-txt { display: flex; flex-direction: column; line-height: 1.15; }
.marca-txt strong { font-weight: 800; font-size: 1rem; color: var(--navy); letter-spacing: -.01em; }
.marca-txt small { font-family: var(--font-mono); font-size: .68rem; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a, .mais-btn {
  text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .92rem;
  padding: 9px 13px; border-radius: var(--r-sm); border: 0; background: none; cursor: pointer; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 4px; transition: background .12s, color .12s;
}
.nav > a:hover, .mais-btn:hover { background: var(--surface-3); color: var(--ink); }
.nav > a.ativo { color: var(--navy); font-weight: 700; background: var(--navy-tint); }
.btn-campeao {
  margin-left: 8px; display: inline-flex; align-items: center; gap: 7px;
  background: var(--grad-live) !important; color: #fff !important; font-weight: 700 !important;
  box-shadow: 0 6px 16px -6px rgba(217, 70, 239, .55);
}
.btn-campeao:hover { filter: brightness(1.06); }
.btn-campeao.ativo { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--magenta); }
.mais { position: relative; }
.mais-menu {
  display: none; position: absolute; right: 0; top: calc(100% + 6px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2);
  padding: 6px; min-width: 210px;
}
.mais.aberto .mais-menu { display: block; }
.mais-menu a { display: block; padding: 9px 12px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .92rem; }
.mais-menu a:hover, .mais-menu a.ativo { background: var(--surface-3); color: var(--navy); }
.menu-btn { display: none; margin-left: auto; background: var(--surface-3); border: 0; border-radius: var(--r-sm); width: 42px; height: 42px; cursor: pointer; align-items: center; justify-content: center; color: var(--ink); }

@media (max-width: 1080px) {
  .menu-btn { display: flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px 16px; box-shadow: var(--shadow-2);
    max-height: calc(100vh - 64px); overflow-y: auto;
  }
  .nav.aberto { display: flex; }
  .nav > a, .mais-btn { padding: 12px 14px; text-align: left; border-radius: var(--r-sm); }
  .mais-btn { display: none; }
  .mais-menu { display: block; position: static; border: 0; box-shadow: none; padding: 0; min-width: 0; }
  .mais-menu a { padding: 11px 14px; }
  .btn-campeao { margin: 8px 0 0; justify-content: center; }
}

/* ===== Layout ===== */
main { max-width: 1280px; margin: 0 auto; padding: 28px 20px 64px; outline: none; min-height: 60vh; }
.secao { margin-top: 48px; }
.cabecalho { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 8px 0 24px; }
.cabecalho h1 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); font-weight: 800; margin: 0; }
.cabecalho p { margin: 3px 0 0; color: var(--ink-2); max-width: 640px; }
.eyebrow {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 700; letter-spacing: .06em; color: var(--navy);
  text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 6px;
}
.titulo-sec { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.titulo-sec h2 { font-size: 1.4rem; font-weight: 800; margin: 0; display: flex; align-items: center; gap: 9px; }
.titulo-sec h2 .icon { color: var(--navy); }
.titulo-sec a { font-weight: 700; text-decoration: none; font-size: .9rem; display: inline-flex; align-items: center; gap: 4px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
@media (max-width: 400px) { .g2 { grid-template-columns: 1fr; } }

.emblem {
  width: 68px; height: 68px; border-radius: var(--r-lg); flex-shrink: 0; display: grid; place-items: center;
  background: var(--surface-3); color: var(--navy);
}
.emblem-live { background: var(--grad-live); color: #fff; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-1); padding: 20px;
}
.card-app { padding: 0; overflow: hidden; }
.card-app .app-bar {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  background: var(--surface-2); border-bottom: 1px solid var(--line);
  font-size: .82rem; font-weight: 700; color: var(--ink-2);
}
.card-app .app-bar .icon { color: var(--navy); }
.card-app .app-body { padding: 20px; }
a.card { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s, border-color .15s; display: block; }
a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--navy-tint); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--r-sm); border: 0; cursor: pointer;
  font-weight: 700; text-decoration: none; transition: transform .12s, filter .12s, background .12s;
  background: var(--navy); color: #fff; box-shadow: var(--shadow-1);
}
.btn:hover { background: var(--navy-hover); transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-sec { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn-sec:hover { background: var(--surface-2); color: var(--navy); border-color: var(--navy-tint); }
.btn-live { background: var(--grad-live); box-shadow: 0 6px 16px -6px rgba(217, 70, 239, .5); }
.btn-live:hover { filter: brightness(1.06); }
.btn-peq { padding: 7px 12px; border-radius: var(--r-sm); font-size: .86rem; }
.btn-perigo { background: #fff; color: var(--error); border: 1px solid var(--error-tint); box-shadow: none; }
.btn-perigo:hover { background: #fff5f4; }

.chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: var(--r-full);
  font-family: var(--font-mono); font-size: .72rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
  background: var(--surface-3); color: var(--navy); white-space: nowrap;
}
.chip-azul { background: var(--cyan-tint); color: #0e7490; }
.chip-verde { background: var(--emerald-tint); color: #047857; }
.chip-vermelho { background: var(--error-tint); color: #93000a; }
.chip-ouro { background: var(--gold-tint); color: #92400e; }
.chip-cinza { background: var(--line-soft); color: var(--ink-3); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

.filtros { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.filtros select, .filtros input {
  padding: 9px 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; min-width: 150px; font-size: .9rem;
}
.abas { display: flex; gap: 4px; overflow-x: auto; padding: 4px; margin-bottom: 18px; background: var(--surface-3); border-radius: var(--r); scrollbar-width: thin; }
.aba {
  border: 0; background: none; padding: 9px 15px; border-radius: var(--r-sm); cursor: pointer;
  font-weight: 700; font-size: .88rem; white-space: nowrap; color: var(--ink-2);
}
.aba small { display: block; font-size: .68rem; font-weight: 500; opacity: .8; }
.aba.ativa { background: var(--navy); color: #fff; box-shadow: var(--shadow-1); }

.vazio { text-align: center; padding: 40px 16px; color: var(--ink-3); border: 1.5px dashed var(--line); border-radius: var(--r-lg); background: var(--surface-2); }
.vazio .icon { color: var(--outline); margin: 0 auto 12px; display: block; }

.aviso-exemplo { max-width: 1280px; margin: 12px auto 0; padding: 0 20px; }
.aviso-exemplo div {
  background: var(--gold-tint); border: 1px solid #fde68a; color: #7a5200; border-radius: var(--r); font-family: var(--font-mono);
  padding: 10px 14px; font-size: .82rem; font-weight: 600; display: flex; gap: 10px; align-items: flex-start;
}
.aviso-exemplo div strong { font-weight: 700; }
.aviso-exemplo span { flex: 1; font-family: var(--font); font-weight: 500; }
.aviso-exemplo button { margin-left: auto; background: none; border: 0; cursor: pointer; font-size: 1.1rem; color: inherit; line-height: 1; }

/* ===== Faixa ao vivo (ticker) ===== */
.ticker { background: var(--surface-2); border-bottom: 1px solid var(--line); padding: 8px 20px; overflow-x: auto; }
.ticker-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; gap: 10px; }
.ticker-tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-full); flex-shrink: 0;
  background: var(--magenta-tint); color: #a21caf; font-family: var(--font-mono); font-size: .68rem; font-weight: 700; text-transform: uppercase;
}
.ticker-item {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0; background: #fff; padding: 6px 12px; border-radius: var(--r-sm);
  box-shadow: var(--shadow-1); font-size: .82rem; font-weight: 600; white-space: nowrap;
}

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: center;
  background: linear-gradient(160deg, #fff 0%, var(--surface-2) 100%);
  border: 1px solid var(--line); border-radius: var(--r-xl); padding: 40px; box-shadow: var(--shadow-1);
}
.hero-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35; z-index: 0; pointer-events: none; }
.hero-logo-wrap { position: relative; z-index: 1; }
.hero-status { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; padding: 0 4px; }
.hero-status .tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: .68rem; font-weight: 700; text-transform: uppercase; color: var(--navy); }
.hero-status .fase { font-family: var(--font-mono); font-size: .68rem; font-weight: 600; color: var(--ink-3); }
.hero-logo { width: 100%; border-radius: var(--r-lg); }
.hero h1 { position: relative; z-index: 1; font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -.01em; margin: 0; color: var(--ink); }
.hero h1 span { background: linear-gradient(100deg, var(--navy) 20%, var(--cyan) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { position: relative; z-index: 1; font-size: 1.15rem; font-weight: 600; color: var(--navy); margin: 6px 0 10px; }
.lema {
  position: relative; z-index: 1; font-size: 1.05rem; font-weight: 500; color: var(--ink-2); border-left: 3px solid var(--magenta);
  padding: 4px 0 4px 14px; margin: 14px 0 18px; font-style: italic;
}
.hero-meta { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.hero-meta .chip { background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.hero-botoes { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
@media (prefers-reduced-motion: reduce) { .confete i { animation: none !important; } html { scroll-behavior: auto; } .live-dot { animation: none; } }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding: 26px 20px; border-radius: var(--r-lg); }
}

.ao-vivo { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--error); }
.ao-vivo::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--error); animation: pulso 1.2s infinite; }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; align-items: start; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; box-shadow: var(--shadow-1); }
.kpi-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; color: var(--navy); }
.kpi-top .cap { font-family: var(--font-mono); font-size: .62rem; font-weight: 700; text-transform: uppercase; color: var(--outline); letter-spacing: .04em; }
.kpi b { display: block; font-family: var(--font-mono); font-size: 1.9rem; font-weight: 700; line-height: 1; color: var(--ink); }
.kpi span { color: var(--ink-2); font-size: .86rem; font-weight: 500; }
.semana-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 980px) { .semana-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .semana-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 400px) { .semana-grid { grid-template-columns: 1fr; } }
.dia-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: 10px; min-height: 154px; }
.dia-card-cab { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; padding-bottom: 9px; border-bottom: 1px solid var(--line-soft); }
.dia-card-cab b { font-size: .9rem; font-weight: 800; color: var(--navy); }
.dia-card-cab span { font-family: var(--font-mono); font-size: .7rem; color: var(--ink-3); font-weight: 600; flex-shrink: 0; }
.dia-card-mod { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .84rem; color: var(--ink); }
.dia-card-hora { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-weight: 700; color: var(--ink-2); font-size: .8rem; }
.dia-card-times { font-weight: 700; font-size: .86rem; color: var(--ink); }
.dia-card-times .x { color: var(--outline); font-weight: 600; margin: 0 6px; font-family: var(--font-mono); }
.dia-card-vazio { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--ink-3); text-align: center; font-size: .82rem; }
.dia-card-vazio .icon { color: var(--outline); }

/* ===== Escudos (times/turmas) ===== */
.escudo {
  --c: var(--navy);
  display: inline-grid; place-items: center; flex-shrink: 0; font-family: var(--font-mono);
  background: var(--c); color: var(--fg, #fff); font-weight: 700;
  clip-path: polygon(50% 0, 100% 14%, 100% 62%, 50% 100%, 0 62%, 0 14%);
  object-fit: cover;
}
.escudo-sm { width: 28px; height: 32px; font-size: .56rem; }
.escudo-md { width: 42px; height: 48px; font-size: .74rem; }
.escudo-lg { width: 88px; height: 100px; font-size: 1.3rem; }
.escudo.vazio { background: var(--line-soft); color: var(--ink-3); }
.cor-bolinha { width: 13px; height: 13px; border-radius: 4px; display: inline-block; background: var(--c); border: 1px solid rgba(0, 0, 0, .1); vertical-align: middle; }

/* ===== Selos de modalidade ===== */
.mod-badge {
  --c: var(--navy); display: inline-grid; place-items: center; flex-shrink: 0; border-radius: var(--r);
  background: color-mix(in srgb, var(--c) 14%, white); color: var(--c); font-family: var(--font-mono); font-weight: 700;
}
img.mod-badge { object-fit: cover; background: var(--surface-3); }
.mod-badge-sm { width: 34px; height: 34px; font-size: .56rem; border-radius: var(--r-sm); }
.mod-badge-md { width: 52px; height: 52px; font-size: .68rem; }
.mod-badge-lg { width: 68px; height: 68px; font-size: .8rem; border-radius: var(--r-lg); }
.chip-mod { --c: var(--navy); background: color-mix(in srgb, var(--c) 12%, white); color: var(--c); }
.chip-mod .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c); display: inline-block; }

/* ===== Jogos ===== */
.jogo {
  position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 18px; margin-bottom: 10px;
}
.jogo.ao-vivo-card { box-shadow: var(--shadow-2); }
.jogo.ao-vivo-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--grad-live); }
.jogo-hora { text-align: center; }
.jogo-hora b { display: block; font-family: var(--font-mono); font-size: .84rem; font-weight: 700; color: var(--navy); }
.jogo-hora small { color: var(--ink-3); font-size: .72rem; font-weight: 600; }
.jogo-meio .chips { margin-bottom: 7px; }
.confronto { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 700; }
.lado { display: flex; align-items: center; gap: 8px; min-width: 0; }
.lado.venceu { color: var(--emerald); }
.lado.venceu::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); }
.placar { font-family: var(--font-mono); font-size: .9rem; font-weight: 700; background: var(--surface-3); padding: 6px 10px; border-radius: var(--r-sm); color: var(--navy); white-space: nowrap; }
.x { color: var(--outline); font-weight: 700; font-family: var(--font-mono); font-size: .82rem; }
.jogo-local { font-size: .82rem; color: var(--ink-3); margin-top: 5px; display: flex; align-items: center; gap: 5px; }
.jogo-status { text-align: right; }
.dia-titulo { display: flex; align-items: center; gap: 10px; margin: 28px 0 12px; font-size: 1.05rem; font-weight: 800; color: var(--ink); }
.dia-titulo::after { content: ""; flex: 1; height: 1px; background: var(--line); }
@media (max-width: 640px) {
  .jogo { grid-template-columns: 54px 1fr; }
  .jogo-status { grid-column: 1 / -1; text-align: left; margin-top: 6px; }
}

.proximo { display: grid; gap: 16px; }
.proximo .vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; text-align: center; }
.proximo .vs .time { display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 700; }
.proximo .vs .x { font-family: var(--font-mono); font-size: .82rem; font-weight: 700; color: var(--outline); }

/* ===== Modalidades ===== */
.mod-card { position: relative; overflow: hidden; }
.mod-card h3 { font-size: 1.1rem; font-weight: 800; margin: 12px 0 2px; }
.mod-card .mini { font-size: .85rem; color: var(--ink-2); }
.mod-num { position: absolute; top: 16px; right: 18px; font-family: var(--font-mono); font-size: .68rem; font-weight: 700; color: var(--outline); }
.mod-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; overflow-x: auto; padding: 4px 4px 10px; }
.mod-strip a { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .78rem; width: 84px; text-align: center; }
.mod-strip a:hover .mod-badge { transform: translateY(-2px); }
.mod-badge { transition: transform .15s; }
.info-lista { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 14px 0; }
.info-lista div { background: var(--surface-2); border-radius: var(--r); padding: 10px 12px; }
.info-lista small { display: block; color: var(--ink-3); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 2px; }
.info-lista b { font-weight: 700; }
.texto-regras { white-space: pre-line; color: var(--ink-2); }

/* ===== Equipes ===== */
.equipe-card { border-top: 3px solid var(--c, var(--navy)); }
.equipe-topo { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.equipe-topo h3 { margin: 0; font-size: 1.1rem; font-weight: 800; }
.equipe-topo small { color: var(--ink-3); font-weight: 600; }
.linha-info { font-size: .88rem; color: var(--ink-2); margin: 5px 0; display: flex; align-items: center; gap: 6px; }
.linha-info b { color: var(--ink); font-weight: 700; }
.equipe-hero { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; border-top: 4px solid var(--c); }

/* ===== Palpites ===== */
.palpite { display: flex; flex-direction: column; gap: 12px; }
.palpite h3 { font-size: .92rem; margin: 0; color: var(--ink-3); font-weight: 700; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .02em; }
.opcoes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opcao {
  display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 14px 8px; border-radius: var(--r-lg);
  border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-weight: 700; transition: all .15s;
}
.opcao:hover:not(:disabled) { border-color: var(--navy); transform: translateY(-2px); }
.opcao.sel { border-color: var(--navy); background: var(--navy-tint); box-shadow: 0 0 0 3px var(--navy-tint); }
.opcao.opt-b.sel { border-color: var(--cyan); background: var(--cyan-tint); box-shadow: 0 0 0 3px var(--cyan-tint); }
.opcao:disabled { cursor: default; }
.opcao .tag { font-size: .72rem; font-weight: 700; color: var(--ink-3); font-family: var(--font-mono); text-transform: uppercase; }
.opcao .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--navy); }
.opcao.opt-b .dot { background: var(--cyan); }
.barra-votos { display: flex; height: 14px; border-radius: var(--r-full); overflow: hidden; background: var(--line-soft); }
.barra-votos div { height: 100%; transition: width .5s; }
.barra-votos .va { background: var(--navy); }
.barra-votos .vb { background: var(--cyan); }
.votos-legenda { display: flex; justify-content: space-between; font-size: .84rem; font-weight: 700; font-family: var(--font-mono); }
.votos-legenda .la { color: var(--navy); }
.votos-legenda .lb { color: #0e7490; }
.palpite-rodape { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .86rem; color: var(--ink-3); }
.resultado-palpite { padding: 10px 12px; border-radius: var(--r); font-weight: 600; font-size: .9rem; }
.acertou { background: var(--emerald-tint); color: #047857; }
.errou { background: var(--error-tint); color: #93000a; }
.neutro { background: var(--line-soft); color: var(--ink-2); }
.previsao-bloco { border-top: 1px dashed var(--line); padding-top: 12px; }
.previsao-bloco > .tag { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: var(--ink-3); margin-bottom: 8px; }
.previsao-form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* ===== Tabelas ===== */
.tabela-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-1); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
th { background: var(--surface-2); font-family: var(--font-mono); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--surface-2); }
td.num, th.num { text-align: center; }
td.pts { font-weight: 700; font-family: var(--font-mono); font-size: 1.05rem; color: var(--navy); }
.pos { font-family: var(--font-mono); font-size: .74rem; font-weight: 700; width: 30px; height: 30px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--surface-3); color: var(--ink-2); }
.pos-1 { background: var(--gold); color: #4a2c00; }
.pos-2 { background: var(--silver); color: #1e293b; }
.pos-3 { background: var(--bronze); color: #431e00; }
.turma-cel { display: flex; align-items: center; gap: 10px; font-weight: 700; }

/* ===== Gráficos ===== */
.bars { display: grid; gap: 9px; }
.bar-row { display: grid; grid-template-columns: minmax(80px, 150px) 1fr 52px; gap: 10px; align-items: center; font-size: .88rem; }
.bar-label { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-track { background: var(--line-soft); border-radius: var(--r-sm); height: 20px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: var(--r-sm); background: var(--c, var(--navy)); min-width: 3px; transition: width .6s; }
.bar-val { font-weight: 700; font-family: var(--font-mono); text-align: right; font-variant-numeric: tabular-nums; }
.donut-wrap { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.donut { width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.donut div { width: 92px; height: 92px; border-radius: 50%; background: #fff; display: grid; place-items: center; text-align: center; }
.donut b { font-size: 1.4rem; font-weight: 700; font-family: var(--font-mono); color: var(--navy); line-height: 1; }
.donut small { font-size: .68rem; color: var(--ink-3); font-weight: 600; }
.legenda { display: grid; gap: 6px; font-size: .86rem; }
.legenda span { display: flex; align-items: center; gap: 8px; }
.legenda i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }

/* ===== Galeria ===== */
.galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.foto { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-3); aspect-ratio: 4 / 3; }
.foto-btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.foto:hover img { transform: scale(1.04); }
.foto figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 12px 10px; color: #fff; font-size: .82rem; font-weight: 600;
  text-align: left; background: linear-gradient(transparent, rgba(15, 23, 42, .85));
}
.lightbox { position: fixed; inset: 0; background: rgba(15, 23, 42, .82); backdrop-filter: blur(4px); z-index: 200; display: grid; place-items: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 80vh; max-width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-3); }
.lightbox p { color: #fff; text-align: center; margin-top: 12px; font-weight: 500; }
.lightbox button { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%; border: 0; font-size: 1.3rem; cursor: pointer; background: #fff; color: var(--ink); display: grid; place-items: center; }

/* ===== Notícias ===== */
.noticia { border-left: 3px solid var(--c, var(--navy)); }
.noticia h3 { font-size: 1.08rem; font-weight: 800; margin: 8px 0 6px; }
.noticia .data { font-size: .8rem; color: var(--ink-3); font-weight: 600; }
.noticia .texto-regras { font-size: .92rem; }
.noticia.destaque { background: linear-gradient(160deg, #fff, var(--magenta-tint) 220%); }

/* ===== Regras ===== */
details.regra { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 10px; box-shadow: var(--shadow-1); }
details.regra summary { cursor: pointer; padding: 16px 18px; font-weight: 700; font-size: 1.02rem; list-style: none; display: flex; align-items: center; gap: 12px; }
details.regra summary::-webkit-details-marker { display: none; }
details.regra summary .icon { color: var(--navy); flex-shrink: 0; }
details.regra summary::after { content: "+"; margin-left: auto; font-family: var(--font-mono); font-weight: 700; font-size: 1rem; color: var(--outline); }
details.regra[open] summary::after { content: "–"; }
details.regra .corpo { padding: 0 18px 18px; color: var(--ink-2); }
details.regra ul { padding-left: 20px; margin: 0 0 10px; }
details.regra li { margin-bottom: 7px; }

/* ===== Premiação / Campeão ===== */
.premio { text-align: center; }
.premio .grande { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 12px; background: var(--surface-3); color: var(--navy); }
.premio .grande.ouro { background: var(--gold-tint); color: #92400e; }
.premio .grande.prata { background: var(--silver-tint); color: #334155; }
.premio .grande.bronze { background: var(--bronze-tint); color: #7c2d12; }
.premio .grande.live { background: var(--grad-live); color: #fff; }
.podio { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 12px; max-width: 760px; margin: 22px auto 0; }
.degrau { text-align: center; }
.degrau .bloco { border-radius: var(--r-lg) var(--r-lg) var(--r-sm) var(--r-sm); padding: 14px 8px; color: #fff; font-family: var(--font-mono); font-size: 1.05rem; font-weight: 700; }
.degrau.p1 .bloco { background: linear-gradient(180deg, #fbbf24, var(--gold)); height: 150px; }
.degrau.p2 .bloco { background: linear-gradient(180deg, #cbd5e1, var(--silver)); height: 110px; }
.degrau.p3 .bloco { background: linear-gradient(180deg, #fdba74, var(--bronze)); height: 80px; }
.degrau .nome { font-weight: 800; font-size: 1.05rem; margin: 10px 0 2px; }
.degrau .pts { color: var(--ink-3); font-weight: 600; font-size: .86rem; margin-bottom: 8px; font-family: var(--font-mono); }
.degrau .escudo { margin: 0 auto; }
.campeao-hero { text-align: center; position: relative; overflow: hidden; background: linear-gradient(160deg, #fff, var(--surface-2)); }
.campeao-hero h1 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); font-weight: 800; }
.confete i { position: absolute; top: -20px; width: 9px; height: 9px; border-radius: 2px; animation: cai 5s linear infinite; }
@keyframes cai { to { transform: translateY(560px) rotate(540deg); } }

/* ===== Admin ===== */
.admin { display: grid; grid-template-columns: 224px minmax(0, 1fr); gap: 18px; align-items: start; }
.admin-menu { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 2px; }
.admin-menu button { text-align: left; border: 0; background: none; padding: 10px 12px; border-radius: var(--r-sm); cursor: pointer; font-weight: 600; color: var(--ink-2); font-size: .9rem; }
.admin-menu button:hover { background: var(--surface-2); }
.admin-menu button.ativa { background: var(--navy); color: #fff; font-weight: 700; }
@media (max-width: 860px) {
  .admin { grid-template-columns: 1fr; }
  .admin-menu { position: static; flex-direction: row; overflow-x: auto; padding: 6px; background: var(--surface-2); border-radius: var(--r); }
  .admin-menu button { white-space: nowrap; }
}
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px 16px; }
.form .campo { display: flex; flex-direction: column; gap: 5px; font-weight: 600; font-size: .86rem; color: var(--ink-2); }
.form .largo { grid-column: 1 / -1; }
.form input:not([type=checkbox]):not([type=color]):not([type=file]), .form select, .form textarea, .input {
  padding: 10px 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; width: 100%; font-size: .92rem; color: var(--ink);
}
.form input[type=color] { width: 60px; height: 40px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 3px; background: #fff; }
.form .checks { display: flex; flex-wrap: wrap; gap: 6px 14px; font-weight: 500; color: var(--ink); }
.form .checks label { display: flex; align-items: center; gap: 6px; }
.form .preview { width: 88px; height: 88px; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line); }
.form-acoes { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; }
.ajuda { font-size: .82rem; color: var(--ink-3); font-weight: 400; }
p.ajuda { margin-bottom: 16px; }
.acoes-linha { display: flex; gap: 6px; }
.login { max-width: 400px; margin: 40px auto; text-align: center; }
.login input { text-align: center; font-size: 1.1rem; letter-spacing: .1em; margin: 14px 0; font-family: var(--font-mono); }
.placar-in { width: 60px !important; text-align: center; font-family: var(--font-mono); font-weight: 700; }

/* ===== Rodapé ===== */
.rodape { background: var(--ink); color: #cbd5e1; margin-top: 40px; }
.rodape-inner { max-width: 1280px; margin: 0 auto; padding: 32px 20px; display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 20px; align-items: center; }
.rodape-col { display: flex; gap: 14px; align-items: center; }
.rodape-escola { width: 56px; height: 56px; background: #fff; border-radius: var(--r-sm); padding: 4px; }
.rodape strong { color: #fff; }
.rodape p { margin: 0; color: #94a3b8; font-size: .88rem; }
.lema-mini { font-style: italic; margin-top: 4px !important; }
.rodape-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.rodape-links a { text-decoration: none; font-weight: 600; color: #cbd5e1; font-size: .9rem; }
.rodape-links a:hover { color: #fff; }
.rodape-info { font-size: .84rem !important; }
@media (max-width: 860px) { .rodape-inner { grid-template-columns: 1fr; text-align: center; } .rodape-col { flex-direction: column; } }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--ink); color: #fff;
  padding: 12px 18px; border-radius: var(--r); font-weight: 600; font-size: .92rem; z-index: 300; transition: transform .25s, opacity .25s;
  max-width: calc(100% - 32px); opacity: 0; pointer-events: none; box-shadow: var(--shadow-3);
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ===== Blog de notícias ===== */
.blog-grid { align-items: stretch; }
.blog-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.blog-thumb { display: block; aspect-ratio: 16 / 8; overflow: hidden; background: var(--surface-2); }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.blog-thumb:hover img { transform: scale(1.025); }
.blog-card-corpo { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.blog-card h3 { font-size: 1.3rem; margin: 5px 0 9px; }
.blog-card h3 a { color: inherit; text-decoration: none; }
.blog-card p { color: var(--ink-2); }
.blog-ler { margin-top: auto; padding-top: 12px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.blog-destaque { margin-bottom: 24px; display: grid; grid-template-columns: minmax(260px, 1.1fr) minmax(280px, 1fr); border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(145deg, var(--navy), #172554); color: #fff; box-shadow: var(--shadow-2); }
.blog-destaque > img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.blog-destaque > div { padding: clamp(28px, 5vw, 56px); align-self: center; }
.blog-destaque h2 { font-size: clamp(1.7rem, 4vw, 2.8rem); margin: 8px 0 14px; line-height: 1.08; }
.blog-destaque p { color: #dbeafe; font-size: 1.05rem; }
.blog-artigo { max-width: 900px; margin: 0 auto; }
.blog-artigo header { margin: 28px 0 24px; }
.blog-artigo h1 { font-size: clamp(2rem, 6vw, 3.7rem); line-height: 1.04; margin: 12px 0; }
.blog-resumo { font-size: 1.16rem; color: var(--ink-2); max-width: 760px; }
.blog-capa { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-2); }
.blog-texto { max-width: 760px; margin: 30px auto; font-size: 1.05rem; line-height: 1.78; }
.blog-video, .blog-video-arquivo { width: 100%; margin: 26px 0; border-radius: var(--r-lg); overflow: hidden; background: #000; }
.blog-video { aspect-ratio: 16 / 9; }
.blog-video iframe { width: 100%; height: 100%; border: 0; }
.blog-video-arquivo { display: block; max-height: 620px; }
@media (max-width: 720px) { .blog-destaque { grid-template-columns: 1fr; } .blog-destaque > img { min-height: 210px; max-height: 300px; } }

/* Atletas e equipes (basquete e vôlei) */
.atl-mod { display: flex; align-items: center; gap: 8px; font-size: .95rem; margin: 14px 0 6px; }
.atl-mod:first-of-type { margin-top: 4px; }
.atl-lista { padding-left: 18px; margin: 0 0 6px; display: grid; gap: 3px; }
.atl-lista small { color: var(--ink-2); }
.form .checks-coluna { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px 14px; max-height: 280px; overflow-y: auto; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.form .checks-coluna label { display: block; line-height: 1.35; }
.form .checks-coluna label small { color: var(--ink-2); font-size: .78rem; }
.form .checks-coluna label[hidden] { display: none; }

/* Palpites de placar (futsal) */
.palpite-placar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 12px 0; }
.palpite-placar .largo { grid-column: 1 / -1; justify-self: stretch; }
.palpite-time { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-weight: 700; font-size: .92rem; }
.palpite-inputs { display: flex; align-items: center; gap: 6px; font-weight: 800; }
.palpite-inputs .placar-in { width: 58px; text-align: center; font-size: 1.15rem; font-weight: 800; }
.palpite-placar .placar { font-size: 1.4rem; }
.pontuacao { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.pontuacao > div { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.pontuacao b { font-size: 1.25rem; color: var(--navy); }
.pontuacao span { font-weight: 700; }
.pontuacao small { color: var(--ink-2); font-size: .8rem; }

/* Craque do jogo */
.craque-card { display: grid; gap: 10px; align-content: start; }
.craque-card > .chip { justify-self: start; }
.craque-opcoes { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px; }
.craque-opcoes label { display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; }
.craque-opcoes label:has(input:checked) { border-color: var(--navy); background: color-mix(in srgb, var(--navy) 7%, transparent); }
.craque-opcoes span, .craque-eleito div { display: grid; }
.craque-opcoes small, .craque-eleito small { color: var(--ink-2); font-size: .8rem; }
.craque-eleito { display: flex; gap: 10px; align-items: center; color: var(--ink); }
.craque-eleito b { font-size: 1.1rem; }
.nav a[hidden] { display: none; }

/* Galeria: vídeos e painel */
.foto video { width: 100%; height: 100%; object-fit: cover; display: block; background: #0f172a; }
.foto-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; pointer-events: none; }
.foto-play svg { width: 54px; height: 54px; padding: 14px; border-radius: 50%; background: rgba(15, 23, 42, .6); }
.lightbox video, .lightbox .blog-video { width: 100%; max-height: 78vh; border-radius: var(--r-lg); background: #000; }
.galeria-item .foto { border-radius: var(--r); }

/* Painel administrativo em abas */
.admin-abas { margin-top: 4px; }
.admin-abas .aba { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; flex: 0 0 auto; }

/* Brasões enviados (PNG): livres do recorte de escudo, dentro de um quadrado */
img.escudo { clip-path: none; background: none; object-fit: contain; }
img.escudo-sm { width: 32px; height: 32px; }
img.escudo-md { width: 48px; height: 48px; }
img.escudo-lg { width: 100px; height: 100px; }
