/* ================================================================
   STYLE.CSS — 1ª Copa Francisco de Paula Barros
   Tema: Dark · Vermelho · Dourado · Premium
   ================================================================ */

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #07070e;
  --surface:   #0c0c18;
  --card:      #12121f;
  --card2:     #0f0f1c;
  --border:    #1c1c2e;
  --border2:   #252540;
  --red:       #d91b30;
  --red-dark:  #a0121f;
  --red-glow:  rgba(217,27,48,.22);
  --gold:      #f0c040;
  --gold-dark: #c89a20;
  --white:     #f0f2f8;
  --text:      #ccd0e0;
  --muted:     #545870;
  --green:     #22c55e;
  --blue:      #3b82f6;
  --live:      #ff3b30;
  --r: 14px;
  --r2: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,.5);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  font-family: 'Outfit', sans-serif;
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: 'Outfit', sans-serif; cursor: pointer; border: none; }

/* ── Noise texture ──────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
}

/* ── Container ──────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ── HEADER ─────────────────────────────────────────────────── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(7,7,14,.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.navbar {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 24px; height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 800; letter-spacing: .04em;
  color: var(--white); white-space: nowrap;
}
.nav-logo img { width: 36px; height: 36px; object-fit: contain; }
.nav-links {
  display: flex; gap: 4px; align-items: center; flex: 1; justify-content: center;
}
.nav-link {
  font-size: 12.5px; font-weight: 600; letter-spacing: .05em;
  color: var(--muted); padding: 6px 10px; border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--white); background: rgba(255,255,255,.06);
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: transparent; padding: 11px;
  margin-left: auto;
  min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all .3s;
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; position: relative;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: 80px 24px 60px;
  overflow: hidden;
}
.hero-orb {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.hero-orb-1 {
  width: 700px; height: 700px; top: -200px; left: -200px;
  background: radial-gradient(circle, rgba(217,27,48,.12) 0%, transparent 65%);
}
.hero-orb-2 {
  width: 600px; height: 600px; bottom: -150px; right: -150px;
  background: radial-gradient(circle, rgba(240,192,64,.07) 0%, transparent 65%);
}
.hero-main {
  text-align: center; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  flex: 1; justify-content: center; padding: 40px 0;
}
.hero-logo { width: 120px; height: 120px; object-fit: contain; filter: drop-shadow(0 0 30px rgba(217,27,48,.4)); }
.hero-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .28em;
  text-transform: uppercase; color: var(--gold); margin-top: 4px;
}
.hero-title {
  font-size: clamp(2rem, 6vw, 3.8rem); font-weight: 900; line-height: 1.08;
  background: linear-gradient(135deg, #fff 0%, var(--gold) 55%, #f07030 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { font-size: 14px; color: var(--muted); }

.hero-foot {
  z-index: 1; width: 100%; max-width: 720px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}

/* Próximo jogo card */
.proximo-card {
  width: 100%; background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--r); padding: 20px 24px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(217,27,48,.08);
}
.proximo-label {
  font-size: 10px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--red); margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.proximo-label::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 8px var(--red);
}
.proximo-confronto {
  display: flex; align-items: center; justify-content: center; gap: 16px;
}
.proximo-time {
  display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1;
}
.proximo-time img { width: 48px; height: 48px; object-fit: contain; }
.proximo-time span { font-size: 13px; font-weight: 700; text-align: center; color: var(--white); }
.proximo-vs { font-size: 13px; font-weight: 800; color: var(--muted); }
.proximo-info {
  display: flex; justify-content: space-between; margin-top: 12px;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.proximo-info-item { display: flex; flex-direction: column; gap: 2px; }
.proximo-info-item .pi-label { font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.proximo-info-item .pi-val { font-size: 13px; font-weight: 700; color: var(--white); }

/* Countdown */
.countdown-wrap { width: 100%; }
.countdown {
  display: flex; justify-content: center; gap: 8px;
}
.cd-block {
  background: var(--card); border: 1px solid var(--border2);
  border-radius: var(--r2); padding: 10px 14px;
  display: flex; flex-direction: column; align-items: center; min-width: 64px;
}
.cd-num { font-size: 26px; font-weight: 900; color: var(--white); line-height: 1; }
.cd-lbl { font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.cd-sep { font-size: 22px; font-weight: 900; color: var(--red); align-self: center; }

.btn-hero {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff;
  padding: 12px 28px; border-radius: 10px;
  font-size: 13px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase;
  transition: transform .2s, box-shadow .2s, background .2s;
  box-shadow: 0 4px 20px rgba(217,27,48,.35);
}
.btn-hero:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(217,27,48,.45); }

/* ── SECTIONS ───────────────────────────────────────────────── */
.section { padding: 80px 0; position: relative; z-index: 1; }
.section-alt { background: var(--surface); }
.sec-hdr {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 36px; flex-wrap: wrap; gap: 16px;
}
.sec-title {
  font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900;
  color: var(--white); position: relative;
  padding-left: 18px;
}
.sec-title::before {
  content: ''; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 70%; background: var(--red);
  border-radius: 2px;
}

/* ── FILTER BAR ─────────────────────────────────────────────── */
.filter-bar { display: flex; gap: 6px; }
.filter-btn {
  background: var(--card); border: 1px solid var(--border2);
  color: var(--muted); font-size: 12px; font-weight: 700;
  letter-spacing: .06em; padding: 6px 16px; border-radius: 20px;
  transition: all .2s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.filter-btn:hover { border-color: var(--red); color: var(--white); }
.filter-btn.active { background: var(--red); border-color: var(--red); color: #fff; }

/* ── JOGOS ──────────────────────────────────────────────────── */
.rodada-bloco { margin-bottom: 28px; }
.rodada-hdr {
  display: flex; align-items: center; gap: 12px; padding: 10px 16px;
  background: var(--card2); border: 1px solid var(--border);
  border-radius: var(--r) var(--r) 0 0;
}
.rodada-badge {
  background: var(--red); color: #fff;
  font-size: 10px; font-weight: 900; letter-spacing: .14em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 6px;
}
.rodada-data { font-size: 13px; font-weight: 600; color: var(--white); }
.rodada-dia  { font-size: 12px; color: var(--muted); margin-left: 4px; }
.rodada-jogos { border: 1px solid var(--border); border-top: none; border-radius: 0 0 var(--r) var(--r); overflow: hidden; }

.jogo-card {
  display: grid; grid-template-columns: 80px 1fr 80px;
  align-items: center; padding: 14px 20px; background: var(--card);
  border-bottom: 1px solid var(--border);
  transition: background .18s;
}
.jogo-card:last-child { border-bottom: none; }
.jogo-card:hover { background: rgba(255,255,255,.025); }

.jogo-hora {
  font-size: 12px; font-weight: 700; color: var(--gold);
  letter-spacing: .04em;
}
.jogo-confronto {
  display: flex; align-items: center; gap: 10px; justify-content: center;
}
.jogo-time {
  display: flex; align-items: center; gap: 8px; flex: 1;
}
.jogo-time.right { flex-direction: row-reverse; }
.jogo-time img { width: 32px; height: 32px; object-fit: contain; }
.jogo-time-nome { font-size: 14px; font-weight: 700; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; }
.jogo-placar {
  background: var(--card2); border: 1px solid var(--border2);
  border-radius: 8px; padding: 4px 12px; min-width: 60px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 18px; font-weight: 900; color: var(--white);
}
.jogo-placar.live { border-color: var(--live); box-shadow: 0 0 12px rgba(255,59,48,.25); }
.placar-sep { font-size: 14px; color: var(--muted); }
.jogo-score-m { display: none; }
.jogo-vs {
  font-size: 11px; font-weight: 700; color: var(--muted);
  background: var(--card2); border: 1px solid var(--border);
  border-radius: 6px; padding: 5px 10px; min-width: 48px; text-align: center;
}
.jogo-status { display: flex; justify-content: flex-end; }

/* Status badges */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 20px;
  white-space: nowrap;
}
.badge-ao-vivo {
  background: rgba(255,59,48,.15); color: var(--live);
  border: 1px solid rgba(255,59,48,.3);
  animation: pulse-live 1.5s infinite;
}
.badge-ao-vivo::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--live); flex-shrink: 0;
}
.badge-encerrado { background: rgba(255,255,255,.05); color: var(--muted); border: 1px solid var(--border); }
.badge-em-breve  { background: rgba(59,130,246,.12); color: var(--blue); border: 1px solid rgba(59,130,246,.2); }

@keyframes pulse-live {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,59,48,.4); }
  50% { box-shadow: 0 0 0 6px rgba(255,59,48,0); }
}

/* ── CLASSIFICAÇÃO ──────────────────────────────────────────── */
.grupos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grupo-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.grupo-hdr {
  padding: 12px 20px; display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--border);
}
.grupo-hdr.grupo-a { background: linear-gradient(90deg, rgba(59,130,246,.18) 0%, transparent 100%); }
.grupo-hdr.grupo-b { background: linear-gradient(90deg, rgba(217,27,48,.18) 0%, transparent 100%); }
.grupo-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.grupo-a .grupo-dot { background: var(--blue); box-shadow: 0 0 8px var(--blue); }
.grupo-b .grupo-dot { background: var(--red);  box-shadow: 0 0 8px var(--red); }
.grupo-hdr h3 { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--white); }

.tab-classif { width: 100%; border-collapse: collapse; min-width: 520px; }
.tab-classif th {
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); padding: 8px 12px; text-align: center; background: var(--card2);
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
.tab-classif th.col-time { text-align: left; padding-left: 16px; }
.tab-classif td { padding: 10px 12px; text-align: center; font-size: 13px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.tab-classif tr:last-child td { border-bottom: none; }
.tab-classif tr:hover td { background: rgba(255,255,255,.025); }
.td-pos { font-weight: 800; color: var(--muted); font-size: 13px; }
.td-time {
  display: flex; align-items: center; gap: 10px;
  text-align: left; padding-left: 16px;
}
.td-time img { width: 26px; height: 26px; object-fit: contain; }
.td-time-nome { font-size: 13px; font-weight: 700; color: var(--white); }
.td-pts { font-size: 14px; font-weight: 900; color: var(--white); }
.tab-classif tr.classif-1 td:first-child { border-left: 3px solid var(--green); }
.tab-classif tr.classif-2 td:first-child { border-left: 3px solid var(--green); }
.tab-classif tr.classif-3 td:first-child { border-left: 3px solid var(--gold); }
.tab-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.legenda-classif {
  display: flex; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--border);
  font-size: 10px; font-weight: 600; color: var(--muted);
}
.leg-item { display: flex; align-items: center; gap: 6px; }
.leg-dot  { width: 8px; height: 8px; border-radius: 50%; }
.leg-dot.green  { background: var(--green); }

/* ── ARTILHARIA ─────────────────────────────────────────────── */
.artilharia-list { display: flex; flex-direction: column; gap: 8px; max-width: 720px; margin: 0 auto; }
.artilheiro-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r2); padding: 12px 18px;
  transition: border-color .2s;
}
.artilheiro-card:hover { border-color: var(--border2); }
.art-pos { font-size: 18px; font-weight: 900; color: var(--muted); min-width: 30px; text-align: center; }
.art-pos.gold-pos { color: var(--gold); }
.art-foto {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--card2); border: 2px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800; color: var(--muted);
  overflow: hidden; flex-shrink: 0;
}
.art-foto img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.art-info { flex: 1; }
.art-nome  { font-size: 15px; font-weight: 800; color: var(--white); }
.art-time  { font-size: 12px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.art-time img { display: inline-block; width: 14px; height: 14px; object-fit: contain; vertical-align: middle; margin-right: 4px; }
.art-gols { text-align: right; }
.art-gols-num  { font-size: 26px; font-weight: 900; color: var(--white); line-height: 1; }
.art-gols-lbl  { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.artilharia-vazia {
  text-align: center; padding: 60px 20px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); color: var(--muted); font-size: 15px;
}

/* ── ESTATÍSTICAS ───────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.stat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 22px 20px;
  transition: border-color .2s, transform .2s;
}
.stat-card:hover { border-color: var(--border2); transform: translateY(-2px); }
.stat-icon { font-size: 22px; margin-bottom: 10px; }
.stat-val { font-size: 28px; font-weight: 900; color: var(--white); line-height: 1; }
.stat-val.red  { color: var(--red); }
.stat-val.gold { color: var(--gold); }
.stat-label { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.stat-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ── MATA-MATA ──────────────────────────────────────────────── */
.bracket-wrap {
  overflow-x: auto; padding-bottom: 16px;
}
.bracket {
  display: flex; gap: 0; align-items: stretch;
  min-width: 900px;
}
.bracket-stage { display: flex; flex-direction: column; flex: 1; }
.bracket-stage-hdr {
  text-align: center; padding: 10px;
  font-size: 10px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--border); margin-bottom: 8px;
}
.bracket-col {
  display: flex; flex-direction: column;
  justify-content: space-around; flex: 1; padding: 8px 0;
}
.bracket-match {
  position: relative; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--r2);
  overflow: hidden; margin: 8px 16px;
}
.bm-team {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-bottom: 1px solid var(--border);
}
.bm-team:last-child { border-bottom: none; }
.bm-team img { width: 24px; height: 24px; object-fit: contain; }
.bm-team-nome { flex: 1; font-size: 13px; font-weight: 700; color: var(--white); }
.bm-score {
  font-size: 15px; font-weight: 900; color: var(--white);
  min-width: 22px; text-align: center;
}
.bm-score.win { color: var(--gold); }
.bm-team-vaga { color: var(--muted); font-size: 12px; font-style: italic; }
.bm-status { position: absolute; top: 4px; right: 6px; }

.bracket-champion {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 24px; gap: 12px;
}
.champion-crown { font-size: 36px; }
.champion-label { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.champion-name {
  font-size: 18px; font-weight: 900; color: var(--white);
  text-align: center;
}
.champion-shield { width: 60px; height: 60px; object-fit: contain; }

.bracket-empty {
  text-align: center; padding: 60px 20px;
  color: var(--muted); font-size: 15px; line-height: 1.8;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r);
}

/* ── TIMES ──────────────────────────────────────────────────── */
.times-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.time-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 24px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s;
  text-align: center;
}
.time-card:hover {
  border-color: var(--red); transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(217,27,48,.15);
}
.time-card img { width: 72px; height: 72px; object-fit: contain; }
.time-card-nome { font-size: 14px; font-weight: 800; color: var(--white); }
.time-card-grupo {
  font-size: 10px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
  background: var(--card2); padding: 3px 10px; border-radius: 20px;
  border: 1px solid var(--border);
}
.time-card-ver { font-size: 11px; font-weight: 600; color: var(--red); margin-top: 4px; }

/* ── MODAL ──────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.75); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--card); border: 1px solid var(--border2);
  border-radius: var(--r); width: 100%; max-width: 600px;
  max-height: 90vh;
  /* overflow fica no #modalBody para o botão fechar não rolar */
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
  transform: translateY(20px);
  transition: transform .25s;
}
.modal-overlay.open .modal-box { transform: translateY(0); }
#modalBody {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
}
.modal-header {
  display: flex; justify-content: flex-end;
  padding: 10px 12px; flex-shrink: 0;
  border-bottom: 1px solid var(--border);
}
.modal-close {
  background: var(--card2); border: 1px solid var(--border);
  color: var(--muted); width: 36px; height: 36px; border-radius: 8px;
  font-size: 18px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: color .2s, border-color .2s, background .2s;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.modal-close:hover { color: var(--white); border-color: var(--red); background: rgba(217,27,48,.12); }

.modal-team-hdr {
  display: flex; align-items: center; gap: 16px; padding: 28px 28px 20px;
  border-bottom: 1px solid var(--border);
}
.modal-team-hdr img { width: 64px; height: 64px; object-fit: contain; }
.modal-team-nome { font-size: 22px; font-weight: 900; color: var(--white); }
.modal-team-grupo { font-size: 12px; font-weight: 600; color: var(--muted); margin-top: 3px; }
.modal-stats-row {
  display: flex; gap: 0; border-bottom: 1px solid var(--border);
}
.modal-stat {
  flex: 1; text-align: center; padding: 14px;
  border-right: 1px solid var(--border);
}
.modal-stat:last-child { border-right: none; }
.modal-stat-val { font-size: 20px; font-weight: 900; color: var(--white); }
.modal-stat-lbl { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.modal-jogos-sec { padding: 16px 28px; }
.modal-jogos-sec h4 { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.modal-jogo-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 0;
  border-bottom: 1px solid var(--border); font-size: 13px;
}
.modal-jogo-item:last-child { border-bottom: none; }
.mjr { font-size: 12px; font-weight: 700; color: var(--gold); min-width: 60px; }
.mjn { flex: 1; color: var(--text); }
.mjn strong { color: var(--white); }
.mjs { font-size: 13px; font-weight: 800; color: var(--white); }
.mjb { margin-left: 6px; }

/* ── REGULAMENTO ────────────────────────────────────────────── */
.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.reg-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 24px;
}
.reg-card.full { grid-column: 1 / -1; }
.reg-card h3 {
  font-size: 13px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.reg-card h3::before {
  content: ''; width: 3px; height: 16px; background: var(--red); border-radius: 2px;
}
.reg-card p, .reg-card li {
  font-size: 14px; color: var(--text); line-height: 1.7; margin-bottom: 6px;
}
.reg-card ol { padding-left: 18px; }
.reg-card ul { padding-left: 0; }
.reg-card li { list-style: none; display: flex; align-items: flex-start; gap: 8px; }
.reg-card li::before { content: '—'; color: var(--red); font-weight: 700; flex-shrink: 0; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 60px 0 0; position: relative; z-index: 1;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { width: 60px; height: 60px; object-fit: contain; margin-bottom: 12px; }
.footer-name { font-size: 15px; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.footer-org  { font-size: 13px; color: var(--muted); }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 13px; color: var(--muted); transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 18px 0;
  text-align: center; font-size: 12px; color: var(--muted);
}

/* ── UTILITÁRIOS ────────────────────────────────────────────── */
.text-vazio {
  text-align: center; padding: 48px 20px; color: var(--muted);
  font-size: 14px; line-height: 1.8;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r);
}

/* ── ANIMAÇÕES ──────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .5s both; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */

/* Tablets largos */
@media (max-width: 1024px) {
  .grupos-grid { grid-template-columns: 1fr; }
}

/* Tablets */
@media (max-width: 900px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: rgba(7,7,14,.97); border-bottom: 1px solid var(--border); padding: 16px; gap: 4px; z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-link { padding: 10px 14px; font-size: 14px; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .reg-grid { grid-template-columns: 1fr; }
  .reg-card.full { grid-column: 1; }
  .bracket { min-width: 700px; }
}

/* Mobile */
@media (max-width: 680px) {
  .section { padding: 56px 0; }

  /* ── Jogos: layout empilhado no mobile ── */
  .jogo-card {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    grid-template-areas: "hora status" "confronto confronto";
    padding: 12px 14px;
    gap: 10px 0;
  }
  .jogo-hora      { grid-area: hora; align-self: center; }
  .jogo-status    { grid-area: status; align-self: center; }
  .jogo-confronto {
    grid-area: confronto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .jogo-time {
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
    gap: 10px;
  }
  .jogo-time:last-child { border-bottom: none; }
  .jogo-time.right  { flex-direction: row; }
  .jogo-time img    { width: 28px; height: 28px; }
  .jogo-time-nome   { max-width: none; font-size: 14px; flex: 1; white-space: normal; }
  .jogo-placar,
  .jogo-vs          { display: none; }
  .jogo-score-m {
    display: flex;
    align-items: center;
    font-size: 17px;
    font-weight: 900;
    color: var(--white);
    min-width: 20px;
    justify-content: flex-end;
  }
  .jogo-score-m.live { color: var(--live); }
  .countdown { gap: 5px; }
  .cd-block { min-width: 52px; padding: 8px 10px; }
  .cd-num { font-size: 20px; }
  .proximo-confronto { gap: 8px; }
  .proximo-time img { width: 36px; height: 36px; }
  .proximo-time span { font-size: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Mobile pequeno */
@media (max-width: 480px) {
  .navbar { height: 56px; }
  .hero { padding: 72px 16px 48px; }
  .hero-logo { width: 90px; height: 90px; }
  .hero-title { font-size: 1.8rem; }
  .times-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .jogo-hora { font-size: 11px; }
  .sec-hdr { flex-direction: column; align-items: flex-start; }
  .grupos-grid { grid-template-columns: 1fr; }
  .modal-stats-row { flex-wrap: wrap; }
  .modal-stat { min-width: 50%; border-bottom: 1px solid var(--border); }
}
