/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
svg { display: block; }

/* ============ VARIÁVEIS ============ */
:root {
  --azul: #41b9f0;
  --azul-claro: #7CCFF7;
  --azul-escuro: #1A7FB5;
  --black: #010301;
  --gray: #C7CAC4;
  --white: #fcfcfd;

  --bg: #010301;
  --bg-alt: #0a0d0a;
  --fg: #fcfcfd;
  --fg-muted: #8a8d87;
  --card: rgba(199, 202, 196, 0.04);
  --card-border: rgba(199, 202, 196, 0.12);
  --card-hover: rgba(65, 185, 240, 0.06);
  --shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
  --glow: 0 0 60px rgba(65, 185, 240, 0.35);
  --teaser-sombra: rgba(1, 3, 1, 0.78);
  --teaser-brilho: 0 0 45px rgba(65, 185, 240, 0.5);
}
[data-theme="light"] {
  --bg: #fcfcfd;
  --bg-alt: #f1f2ee;
  --fg: #010301;
  --fg-muted: #5a5d57;
  --card: rgba(1, 3, 1, 0.025);
  --card-border: rgba(1, 3, 1, 0.1);
  --card-hover: rgba(65, 185, 240, 0.05);
  --shadow: 0 20px 60px -20px rgba(0,0,0,0.15);
  --glow: 0 0 60px rgba(65, 185, 240, 0.2);
}

/* ============ TYPO ============ */
.display { font-family: 'Anton', sans-serif; font-weight: 400; letter-spacing: 0.005em; text-transform: uppercase; line-height: 0.92; }
.eyebrow { font-size: 0.7rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--azul); font-weight: 600; }
h1, h2, h3 { font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase; line-height: 0.95; letter-spacing: 0.005em; }
.accent { color: var(--azul); }
.brand-claro { color: var(--white); }

/* ============ NOISE OVERLAY ============ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.06;
  mix-blend-mode: overlay;
}

/* ============ LAYOUT (mobile-first) ============ */
.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 1.25rem; }
section { position: relative; padding: 4rem 0; }
@media (min-width: 768px) { section { padding: 6rem 0; } .container { padding: 0 2rem; } }
@media (min-width: 1024px) { section { padding: 8rem 0; } }

/* Cada .section-fit ocupa uma viewport e centraliza o conteúdo compacto.
   No celular a altura travada em 100svh só atrapalhava: seção curta ganhava
   vão enorme e seção longa (elenco, títulos) estourava a tela assim mesmo.
   Abaixo de 768px o conteúdo manda na altura, com respiro uniforme. */
.section-fit {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media (min-width: 768px) {
  .section-fit { min-height: 100svh; }
}

.section-head { margin-bottom: 2rem; max-width: 720px; }
.section-head h2 { font-size: clamp(2.2rem, 7vw, 5rem); margin: 0.5rem 0 0.75rem; }
.section-head p { color: var(--fg-muted); font-size: 1rem; }
@media (min-width: 768px) {
  .section-head { margin-bottom: 3rem; }
  .section-head h2 { margin: 0.5rem 0 1rem; }
  .section-head p { font-size: 1.05rem; }
}

.conteudo-indisponivel {
  color: var(--fg-muted);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 2rem 1.25rem;
}

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--card-border);
  transition: background 0.4s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Anton', sans-serif;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
/* Escudo oficial do clube — substitui a bola desenhada em CSS do protótipo. */
.logo-mark {
  width: auto;
  height: 38px;
  flex-shrink: 0;
  object-fit: contain;
}
.logo span span { color: var(--azul); }
.header-tools { display: flex; align-items: center; gap: 0.5rem; }

.social-strip {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 768px) { .social-strip { display: flex; } }
.social-strip a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--fg-muted);
  transition: all 0.3s ease;
}
.social-strip a:hover { color: var(--azul); background: var(--card-hover); transform: translateY(-2px); }
.social-strip svg { width: 17px; height: 17px; }

.theme-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--azul); color: var(--azul); }
.theme-toggle svg { width: 18px; height: 18px; transition: transform 0.5s cubic-bezier(0.4, 1.4, 0.6, 1); }
.theme-toggle .sun { display: none; }
[data-theme="light"] .theme-toggle .sun { display: block; }
[data-theme="light"] .theme-toggle .moon { display: none; }

/* ============ BALL MENU ============ */
.ball-toggle {
  width: 48px;
  height: 48px;
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ball-toggle .ball-svg {
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 4px 12px rgba(65,185,240,0.5));
}
.ball-toggle.bouncing .ball-svg {
  animation: ballBounce 0.7s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.ball-toggle.open .ball-svg {
  animation: ballSpin 4s linear infinite;
}
@keyframes ballBounce {
  0% { transform: translateY(0) rotate(0deg) scale(1); }
  25% { transform: translateY(-28px) rotate(180deg) scale(1.15); }
  50% { transform: translateY(0) rotate(360deg) scale(0.85); }
  70% { transform: translateY(-10px) rotate(540deg) scale(1.05); }
  85% { transform: translateY(0) rotate(630deg) scale(0.95); }
  100% { transform: translateY(0) rotate(720deg) scale(1); }
}
@keyframes ballSpin {
  to { transform: rotate(360deg); }
}
.ball-shadow {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 4px;
  background: var(--fg);
  border-radius: 50%;
  filter: blur(3px);
  opacity: 0.4;
  transition: all 0.3s ease;
}
.ball-toggle.bouncing .ball-shadow {
  animation: shadowPulse 0.7s cubic-bezier(0.34, 1.4, 0.64, 1);
}
@keyframes shadowPulse {
  0%, 50%, 100% { transform: translateX(-50%) scale(1); opacity: 0.4; }
  25% { transform: translateX(-50%) scale(0.6); opacity: 0.2; }
  70% { transform: translateX(-50%) scale(0.8); opacity: 0.3; }
}

/* ============ MENU OVERLAY ============ */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 1.5rem 2rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
}
.menu-overlay.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.menu-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(65,185,240,0.15), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(65,185,240,0.08), transparent 50%);
  pointer-events: none;
}
.menu-nav { position: relative; z-index: 1; }
.menu-nav ul { display: flex; flex-direction: column; gap: 0.4rem; }
.menu-nav a {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  font-family: 'Anton', sans-serif;
  font-size: clamp(2rem, 9vw, 5.5rem);
  text-transform: uppercase;
  line-height: 1;
  padding: 0.3rem 0;
  color: var(--fg);
  transition: color 0.3s, transform 0.3s;
  position: relative;
}
.menu-nav a .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--azul);
  letter-spacing: 0.2em;
  align-self: center;
}
.menu-nav a:hover { color: var(--azul); transform: translateX(20px); }
.menu-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--azul);
  transition: width 0.4s ease;
}
.menu-nav a:hover::after { width: 100%; }
.menu-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--card-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.menu-footer .social-strip { display: flex; }
.menu-contato {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ============ HERO ============ */
.hero {
  padding-top: 2rem;
  min-height: calc(100svh - 72px);
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  width: 100%;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 35% 65%;
    gap: 3rem;
    align-items: center;
  }
}
.hero-text { order: 2; }
@media (min-width: 900px) { .hero-text { order: 1; } }
.hero-text .eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.25rem; }
.hero-text .eyebrow::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--azul);
}
.hero-text h1 {
  font-size: clamp(2.75rem, 8vw, 6rem);
  margin-bottom: 1.25rem;
}
.hero-text h1 .accent { color: var(--azul); }
.hero-text p {
  color: var(--fg-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 420px;
}
.cta-group { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-primary {
  background: var(--azul);
  color: var(--black);
}
.btn-primary:hover { background: var(--azul-claro); transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(65,185,240,0.6); }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--fg);
}
.btn-ghost:hover { border-color: var(--azul); color: var(--azul); }
.btn svg { width: 16px; height: 16px; }

.hero-card {
  order: 1;
  position: relative;
  aspect-ratio: 4/5;
  max-height: 52svh;
  margin: 0 auto;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-alt);
}
@media (min-width: 900px) {
  .hero-card { order: 2; aspect-ratio: 16/10; max-height: calc(100vh - 220px); }
}
.hero-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
}
.hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(1,3,1,0.85) 100%),
              linear-gradient(90deg, rgba(65,185,240,0.15), transparent 50%);
}
.hero-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (min-width: 768px) { .hero-card-overlay { padding: 2rem; } }
.hero-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.hero-badge {
  background: var(--azul);
  color: var(--black);
  padding: 0.5rem 0.85rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.hero-card-bottom { color: var(--white); }
.hero-card-bottom .display { font-size: clamp(1.5rem, 4vw, 2.5rem); }
.hero-card-bottom .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--gray);
}
.hero-card-bottom .meta span strong { color: var(--white); display: block; font-size: 1.1rem; }

/* ============ MARQUEE ============ */
.marquee-section {
  padding: 2rem 0;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  background: var(--bg-alt);
  overflow: hidden;
}
.marquee-label {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
}
.marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  flex-shrink: 0;
  animation: marqueeScroll 30s linear infinite;
  padding-right: 3rem;
}
.marquee-track.reverse { animation-direction: reverse; animation-duration: 35s; }
@keyframes marqueeScroll {
  to { transform: translateX(-100%); }
}
/* O fundo vem do CMS (`--sponsor-bg`, por patrocinador) e cai no branco do tema
   quando não há cor definida — sem ele, logo de arte escura sumia sobre o fundo
   do site. Por isso também não há mais opacidade de repouso: escurecer o card
   derrubaria de novo o contraste que ele existe para garantir. */
.sponsor-logo {
  height: 50px;
  width: 140px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--sponsor-bg, var(--white));
  border-radius: 8px;
  padding: 0.35rem 0.6rem;
  transition: transform 0.3s ease;
  color: var(--black);
}
.sponsor-logo:hover { transform: scale(1.05); }
.sponsor-logo svg, .sponsor-logo img { width: 100%; height: 100%; max-height: 50px; object-fit: contain; }

/* ============ ROSTER — carrossel mobile + ring 3D desktop ============ */
.roster { overflow: hidden; }

/* Mobile: faixa contínua. O JS duplica a lista, então deslocar metade da
   largura recoloca a faixa no ponto de partida e o laço não tem emenda
   (movimento e arrasto em elencoFrame/ligarArrasto no site.js).
   O espaçamento é margem no card (não `gap`), senão a metade cairia no meio
   de um vão e o ciclo daria um pulo.
   touch-action pan-y: o arrasto horizontal é do carrossel, mas o dedo ainda
   rola a página na vertical. */
.roster-scroller {
  display: flex;
  width: max-content;
  padding: 1.5rem 0;
  margin-top: 1.5rem;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
  will-change: transform;
}
.roster-scroller:active { cursor: grabbing; }
.roster-scroller .player-card {
  position: relative;
  inset: auto;
  flex: 0 0 auto;
  width: 70vw;
  max-width: 280px;
  margin-right: 1rem;
  aspect-ratio: 3/4;
}

/* Ring 3D só a partir de 1024px */
.roster-stage-wrap { display: none; }
@media (min-width: 1024px) {
  .roster-scroller { display: none; }
  .roster-stage-wrap { display: block; position: relative; margin-top: 3rem; padding: 2rem 0; }
}
.roster-stage {
  position: relative;
  width: 100%;
  height: 520px;
  perspective: 1400px;
  perspective-origin: 50% 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
}
.roster-stage:active { cursor: grabbing; }
.roster-stage::before {
  content: '';
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 30px;
  background: radial-gradient(ellipse at center, rgba(65,185,240,0.4), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}
.roster-stage::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, var(--azul), transparent 70%);
  filter: blur(15px);
  z-index: 0;
  animation: pulseGlow 2s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.3); }
}
.roster-ring {
  position: relative;
  width: 220px;
  height: 320px;
  transform-style: preserve-3d;
  will-change: transform;
}
.roster-ring .player-card { position: absolute; inset: 0; }

.player-card {
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--card-border);
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  backface-visibility: visible;
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.5);
}
.player-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(1,3,1,0.95) 100%);
  z-index: 2;
  pointer-events: none;
}
.player-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(65,185,240,0.05) 100%);
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.player-card:hover { border-color: var(--azul); box-shadow: 0 0 40px rgba(65,185,240,0.4); }
.player-card:hover::after { opacity: 1; }
.player-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
}
.player-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  z-index: 3;
  color: var(--white);
}
.player-card .num {
  font-family: 'Anton', sans-serif;
  font-size: 2rem;
  line-height: 1;
  color: var(--azul);
  margin-bottom: 0.25rem;
}
.player-card .name {
  font-family: 'Anton', sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.player-card .pos {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
}
@media (min-width: 1024px) {
  .player-card .num { font-size: 2.5rem; }
  .player-card .name { font-size: 1.1rem; }
}
.roster-hint {
  text-align: center;
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-top: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ============ MODAL ============ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(1,3,1,0.85);
  backdrop-filter: blur(10px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.modal-backdrop.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--bg-alt);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  width: 100%;
  max-width: 880px;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(0, 1fr);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
}
@media (min-width: 768px) {
  .modal { grid-template-columns: 45% 55%; grid-template-rows: 1fr; max-height: 80vh; }
}
.modal-backdrop.open .modal { transform: scale(1) translateY(0); }
.modal-img {
  position: relative;
  aspect-ratio: 3/4;
  max-height: 45vh;
  overflow: hidden;
}
@media (min-width: 768px) { .modal-img { aspect-ratio: auto; max-height: none; } }
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(65,185,240,0.2));
}
.modal-img .num-big {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: 'Anton', sans-serif;
  font-size: 5rem;
  color: var(--azul);
  line-height: 1;
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}
.modal-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow-y: auto;
}
.modal-body .eyebrow { font-size: 0.65rem; }
.modal-body h3 { font-size: 2.5rem; line-height: 1; margin: 0.25rem 0 0.5rem; }
.modal-body h3 .accent { color: var(--azul); }
.modal-bio { color: var(--fg-muted); font-size: 0.95rem; }
.modal-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}
.modal-stat {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1rem;
}
.modal-stat .label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.4rem;
}
.modal-stat .value {
  font-family: 'Anton', sans-serif;
  font-size: 1.4rem;
  line-height: 1;
}
/* Redes do atleta, no rodapé do modal. Fica vazio (e sem ocupar espaço) quando
   o cadastro não tem nenhuma rede preenchida. */
.modal-redes {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1rem;
}
.modal-redes:empty { display: none; }
.modal-redes a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--fg-muted);
  background: var(--card);
  border: 1px solid var(--card-border);
  transition: all 0.3s ease;
}
.modal-redes a:hover { color: var(--azul); background: var(--card-hover); transform: translateY(-2px); }
.modal-redes svg { width: 17px; height: 17px; }
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(1,3,1,0.6);
  backdrop-filter: blur(10px);
  color: var(--white);
  display: grid;
  place-items: center;
  z-index: 5;
  transition: all 0.3s;
}
.modal-close:hover { background: var(--azul); transform: rotate(90deg); }
.modal-close svg { width: 18px; height: 18px; }

/* ============ CTA CARDS ============ */
/* Mobile: cards compactos em linha para caber na viewport */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.cta-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(65,185,240,0.18), transparent 70%);
  filter: blur(40px);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.cta-card:hover { border-color: var(--azul); transform: translateY(-6px); }
.cta-card:hover::before { opacity: 1; }
.cta-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--azul);
  color: var(--black);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.cta-card .icon svg { width: 24px; height: 24px; }
.cta-card > div { flex: 1; }
.cta-card h3 { font-size: 1.25rem; margin-bottom: 0.25rem; }
.cta-card p { color: var(--fg-muted); font-size: 0.85rem; }
.cta-card .btn { flex-shrink: 0; padding: 0.6rem 1rem; }
@media (min-width: 768px) {
  .cta-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
  .cta-card {
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 2rem;
    min-height: 280px;
  }
  .cta-card .icon { width: 56px; height: 56px; border-radius: 16px; margin-bottom: 1.5rem; }
  .cta-card .icon svg { width: 26px; height: 26px; }
  .cta-card h3 { font-size: 1.75rem; margin-bottom: 0.5rem; }
  .cta-card p { font-size: 0.95rem; margin-bottom: 1.5rem; }
  .cta-card .btn { align-self: flex-start; padding: 0.85rem 1.25rem; }
}

/* ============ RECORDS ============ */
.records {
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
.records::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(65,185,240,0.1), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(65,185,240,0.05), transparent 50%);
  pointer-events: none;
}
.records-inner { position: relative; z-index: 1; }
/* Slides alternam por display; o container auto-dimensiona */
.records-slider { position: relative; margin-top: 1.5rem; }
.record-slide {
  display: none;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.record-slide.active {
  display: grid;
  animation: fadeUp 0.6s cubic-bezier(0.2, 0.8, 0.3, 1);
}
@media (min-width: 900px) {
  .record-slide.active { grid-template-columns: 45% 55%; align-items: center; }
}
.record-img {
  position: relative;
  height: 30svh;
  max-height: 280px;
  width: 100%;
  max-width: 360px;
  border-radius: 18px;
  overflow: hidden;
}
@media (min-width: 900px) {
  .record-img { height: auto; max-height: none; aspect-ratio: 3/4; max-width: 400px; }
}
/* object-position: top — no recorte do mobile o `cover` centralizado comia a
   cabeça do atleta; ancorar no topo alinha a foto com o topo do contêiner. */
.record-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.record-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(1,3,1,0.6));
}
.record-img .label {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  background: var(--azul);
  color: var(--black);
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  z-index: 2;
}
.record-content .name {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2rem, 7vw, 5rem);
  line-height: 0.95;
  margin-bottom: 0.4rem;
}
.record-content .name .accent { color: var(--azul); }
.record-content .role {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 1rem;
}
.record-stats { display: flex; flex-direction: column; gap: 0.3rem; margin-top: 0.5rem; }
.record-stat {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--card-border);
}
.record-stat .big {
  font-family: 'Anton', sans-serif;
  font-size: 1.35rem;
  color: var(--azul);
  line-height: 1;
  flex-shrink: 0;
  min-width: 72px;
}
.record-stat .desc { font-size: 0.85rem; }
@media (min-width: 900px) {
  .record-stats { gap: 0.5rem; }
  .record-stat { padding: 0.6rem 0; }
  .record-stat .big { font-size: 1.6rem; min-width: 80px; }
  .record-stat .desc { font-size: 0.95rem; }
}
.records-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--card-border);
}
.records-dots { display: flex; gap: 0.5rem; }
.records-dots button {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: var(--card-border);
  transition: all 0.3s;
}
.records-dots button.active { background: var(--azul); width: 60px; }
.records-progress {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
}

/* ============ TIMELINE ============ */
.timeline-section { overflow: hidden; }
.timeline-wrap {
  margin-top: 2rem;
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 1rem 0 2rem;
  scrollbar-width: thin;
  scrollbar-color: var(--azul) transparent;
}
.timeline-wrap::-webkit-scrollbar { height: 6px; }
.timeline-wrap::-webkit-scrollbar-track { background: var(--card-border); }
.timeline-wrap::-webkit-scrollbar-thumb { background: var(--azul); border-radius: 3px; }
.timeline {
  position: relative;
  display: flex;
  align-items: center;
  min-width: max-content;
  /* padding vertical generoso: cards alternados acima/abaixo não podem ser cortados */
  padding: 12rem 3rem;
  gap: 0;
}
@media (min-width: 768px) { .timeline { padding: 13rem 4rem; } }
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--card-border) 5%, var(--card-border) 95%, transparent);
}
.timeline-progress {
  position: absolute;
  left: 0;
  top: 50%;
  height: 2px;
  background: var(--azul);
  width: 0;
  transition: width 0.5s ease;
  box-shadow: 0 0 10px var(--azul);
}
.timeline-item {
  position: relative;
  flex-shrink: 0;
  width: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 768px) { .timeline-item { width: 220px; } }
.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--card-border);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  cursor: pointer;
}
.timeline-item:hover .timeline-dot,
.timeline-item.active .timeline-dot {
  border-color: var(--azul);
  background: var(--azul);
  box-shadow: 0 0 0 6px rgba(65,185,240,0.2), 0 0 20px var(--azul);
  transform: scale(1.2);
}
.timeline-card {
  position: absolute;
  width: 180px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}
@media (min-width: 768px) { .timeline-card { width: 200px; } }
.timeline-item:nth-child(odd) .timeline-card { bottom: calc(50% + 30px); }
.timeline-item:nth-child(even) .timeline-card { top: calc(50% + 30px); }
.timeline-item:hover .timeline-card,
.timeline-item.active .timeline-card {
  border-color: var(--azul);
  background: var(--card-hover);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px -10px rgba(65,185,240,0.3);
}
.timeline-item:nth-child(odd):hover .timeline-card,
.timeline-item:nth-child(odd).active .timeline-card { transform: translateY(4px); }
.timeline-card .year {
  font-family: 'Anton', sans-serif;
  font-size: 1.1rem;
  color: var(--azul);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.timeline-card h4 {
  font-family: 'Anton', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}
.timeline-card p { font-size: 0.8rem; color: var(--fg-muted); line-height: 1.4; }

/* ============ BENTO ============ */
/* Telas pequenas: coluna única. Em duas colunas de ~45vw os títulos longos
   ("Liga Sul-Americana 2010 · 2013 · 2015") ficavam espremidos em cartões de
   140px. O mosaico começa a valer a partir de 640px. */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 2rem;
  grid-auto-rows: 200px;
}
@media (min-width: 640px) { .bento-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; } }
@media (min-width: 768px) { .bento-grid { gap: 1rem; margin-top: 3rem; grid-auto-rows: 160px; } }
@media (min-width: 900px) {
  .bento-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 180px; }
}
.bento-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--card-border);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
}
@media (min-width: 768px) { .bento-item { padding: 1.5rem; } }
.bento-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(1,3,1,0.92));
  z-index: 1;
}
.bento-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.6s ease;
}
.bento-item:hover { transform: translateY(-4px); border-color: var(--azul); }
.bento-item:hover img { transform: scale(1.08); }
.bento-item .content { position: relative; z-index: 2; color: var(--white); }
.bento-item .tag {
  display: inline-block;
  background: var(--azul);
  color: var(--black);
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.6rem;
}
.bento-item h4 {
  font-family: 'Anton', sans-serif;
  font-size: 1.25rem;
  line-height: 1;
  margin-bottom: 0.4rem;
}
@media (min-width: 768px) { .bento-item h4 { font-size: 1.4rem; } }
.bento-item p { font-size: 0.8rem; color: var(--gray); }

/* Spans por tamanho: mobile compacto, desktop bento completo */
/* Em coluna única nenhum item pode pedir 2 colunas — o grid criaria uma coluna
   implícita e o conteúdo sairia da tela. O destaque só ganha altura. */
.bento-destaque { grid-column: span 1; grid-row: span 1; }
.bento-faixa { grid-column: span 1; grid-row: span 1; }
@media (min-width: 640px) {
  .bento-destaque { grid-column: span 2; grid-row: span 2; }
  .bento-faixa { grid-column: span 2; grid-row: span 1; }
}
@media (min-width: 900px) {
  .bento-destaque { grid-column: span 3; grid-row: span 2; }
  .bento-medio { grid-column: span 3; grid-row: span 1; }
  .bento-normal { grid-column: span 2; grid-row: span 1; }
  .bento-faixa { grid-column: span 6; grid-row: span 1; }
}
.bento-destaque h4 { font-size: 1.7rem; }
@media (min-width: 900px) { .bento-destaque h4 { font-size: 2.2rem; } }
.bento-faixa { justify-content: center; }
.bento-faixa .content {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 768px) { .bento-faixa .content { grid-template-columns: 1fr auto; gap: 2rem; } }
.bento-faixa h4 { font-size: clamp(1.4rem, 4vw, 3rem); }
.bento-faixa .number {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2rem, 6vw, 4.5rem);
  color: var(--azul);
  line-height: 0.9;
}

/* ============ SPONSORS GRID ============ */
.sponsors-grid-section { background: var(--bg-alt); }
/* Flex centralizado em vez de grid de colunas fixas: com 5 patrocinadores o grid
   de 4 colunas deixava um cartão sozinho e encostado à esquerda na última linha.
   Aqui a sobra fica centralizada, seja qual for a quantidade cadastrada no CMS. */
.sponsors-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 768px) { .sponsors-grid { margin-top: 3rem; } }
.sponsor-card {
  flex: 1 1 calc(50% - 0.5rem);
  max-width: calc(50% - 0.5rem);
  aspect-ratio: 4/3;
  background: var(--sponsor-bg, var(--white));
  border: 1px solid var(--card-border);
  border-radius: 16px;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  transition: all 0.3s ease;
  color: var(--black);
}
@media (min-width: 640px) { .sponsor-card { flex-basis: calc(33.333% - 0.67rem); max-width: calc(33.333% - 0.67rem); } }
@media (min-width: 900px) { .sponsor-card { flex-basis: calc(25% - 0.75rem); max-width: calc(25% - 0.75rem); } }
/* O hover não troca o fundo: a cor do card é do patrocinador. */
.sponsor-card:hover { border-color: var(--azul); transform: translateY(-4px); }
.sponsor-card svg, .sponsor-card img { width: 100%; height: 100%; max-height: 60px; object-fit: contain; }

/* ============ FOOTER ============ */
.footer {
  background: var(--black);
  color: var(--gray);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .footer { padding: 5rem 0 2rem; } }
[data-theme="light"] .footer { background: #0a0d0a; color: var(--gray); }
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--azul), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1.5fr; gap: 3rem; } }
.footer-brand .logo { color: var(--white); margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; max-width: 320px; margin-bottom: 1.5rem; }
.footer-brand .social-strip { display: flex; }
.footer-brand .social-strip a { color: var(--gray); }
.footer-brand .social-strip a:hover { color: var(--azul); }
.footer-col h5 {
  font-family: 'Anton', sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { font-size: 0.9rem; color: var(--gray); transition: color 0.3s; }
.footer-col a:hover { color: var(--azul); }
.footer-contact a { color: var(--azul); font-weight: 500; }
.footer-rotulo { display: block; color: var(--fg-muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-cidade { color: var(--gray); font-size: 0.85rem; margin-top: 0.5rem; }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(199,202,196,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}
.footer-bottom .legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-bottom .legal a { color: var(--gray); transition: color 0.3s; }
.footer-bottom .legal a:hover { color: var(--azul); }

/* ============ PÁGINA SATÉLITE (pagina.html) ============ */
.back-link {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding: 0.6rem 0.9rem;
  border-radius: 50px;
  border: 1px solid var(--card-border);
  transition: all 0.3s ease;
  white-space: nowrap;
}
.back-link:hover { color: var(--azul); border-color: var(--azul); }
.pagina-main { padding: 3rem 0 4rem; min-height: calc(100svh - 160px); }
@media (min-width: 768px) { .pagina-main { padding: 5rem 0 6rem; } }
.pagina-conteudo { max-width: 720px; margin: 0 auto; }
.pagina-conteudo h1 {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 7vw, 4rem);
  line-height: 0.98;
  margin-bottom: 1.5rem;
}
.pagina-conteudo h2 {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  line-height: 1;
  color: var(--azul);
  margin: 2rem 0 0.75rem;
}
.pagina-conteudo h3 {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: 1.3rem;
  line-height: 1.05;
  margin: 1.5rem 0 0.5rem;
}
.pagina-conteudo p,
.pagina-conteudo li {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.pagina-conteudo ul,
.pagina-conteudo ol { padding-left: 1.25rem; margin-bottom: 1rem; }
.pagina-conteudo ul { list-style: disc; }
.pagina-conteudo ol { list-style: decimal; }
.pagina-conteudo li { margin-bottom: 0.5rem; }
/* O editor do painel envolve o conteúdo de cada item em <p>. Sem isto, todo
   item de lista salvo por lá soma o espaçamento do parágrafo ao do próprio
   item e a lista abre o dobro do espaço. */
.pagina-conteudo li > p { margin-bottom: 0; }
.pagina-conteudo li > p + p { margin-top: 0.5rem; }
.pagina-conteudo a { color: var(--azul); text-decoration: underline; text-underline-offset: 2px; }
.pagina-conteudo a:hover { color: var(--azul-claro); }
.pagina-conteudo strong { color: var(--fg); }
.pagina-link-home { font-weight: 600; }

/* Canal do Time — grade de vídeos publicada pelo CMS (classes reutilizáveis:
   a equipe copia um .canal-card para acrescentar um vídeo novo). */
.canal-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin: 1.5rem 0 2rem; }
@media (min-width: 640px) { .canal-grid { grid-template-columns: 1fr 1fr; } }
.pagina-conteudo .canal-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.pagina-conteudo .canal-card:hover { border-color: var(--azul); background: var(--card-hover); transform: translateY(-3px); }
.canal-thumb { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.canal-card-corpo { padding: 0.85rem 1rem 1rem; }
.canal-data { display: block; color: var(--fg-muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; }
.canal-titulo { display: block; color: var(--fg); font-size: 0.95rem; font-weight: 600; line-height: 1.35; margin-top: 0.35rem; }
/* Páginas "em breve" — bloco de itens do que está por vir. */
.em-breve-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--azul);
  border: 1px solid var(--card-border);
  border-radius: 50px;
  padding: 0.4rem 0.9rem;
  margin-bottom: 1.25rem;
}
.pagina-conteudo .em-breve-lead { color: var(--fg); font-size: 1.1rem; }

/* Marketplace — teaser do Spooky. O mascote fica na sombra, com uma
   interrogação por cima: a graça é não entregar o personagem antes da hora.
   A imagem é o asset real, escurecido por filtro — não há versão recortada. */
.teaser { margin: 2rem 0 2.5rem; text-align: center; }
.teaser__moldura {
  position: relative;
  width: min(320px, 100%);
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  background: var(--black);
  border: 1px solid var(--card-border);
}
.teaser__oculto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.15) saturate(0.3) blur(3px);
  transform: scale(1.04);
  transition: filter 0.5s ease, transform 0.5s ease;
}
.teaser__veu {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, transparent, var(--teaser-sombra) 72%);
}
.teaser__interrogacao {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: 'Anton', sans-serif;
  font-size: clamp(5rem, 22vw, 8rem);
  line-height: 1;
  color: var(--azul);
  text-shadow: var(--teaser-brilho);
  animation: teaserPulso 2.8s ease-in-out infinite;
}
@keyframes teaserPulso {
  0%, 100% { transform: scale(1); opacity: 0.88; }
  50% { transform: scale(1.09); opacity: 1; }
}
/* Espiada no hover: a sombra clareia de leve, sem revelar quem está lá dentro. */
.teaser__moldura:hover .teaser__oculto {
  filter: brightness(0.4) saturate(0.75) blur(1px);
  transform: scale(1.09);
}
.teaser__legenda {
  margin-top: 1rem;
  color: var(--fg-muted);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-compacto { padding: 2.5rem 0; }
.footer-compacto .footer-bottom { padding-top: 0; border-top: none; }

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; }
.reveal.in-view { animation: fadeUp 0.8s cubic-bezier(0.2, 0.8, 0.3, 1) forwards; }

/* ============ RESPONSIVE / A11Y ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .marquee-track { animation: none; }
  /* O movimento automático do elenco (ring e faixa) é do JS e respeita esta
     media query. A faixa volta a rolar nativamente para quem pediu menos
     movimento; o !important neutraliza um transform inline que tenha sobrado
     de um gesto anterior à troca da preferência. */
  .roster-scroller { width: auto; overflow-x: auto; transform: none !important; }
  html { scroll-behavior: auto; }
}
