/* =================================================================
   Onze Arena — folha de estilos (metodologia BEM)
   Tema 2026: "estádio à noite" (dark mode) · relva + dourado/lima
   Inspirado nos padrões de FotMob / OneFootball / Sofascore
   ================================================================= */

/* --- Tokens --- */
:root {
  --bg: #0a140f;
  --bg-2: #0e1c15;
  --surface: #13241b;
  --surface-2: #18301f;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #d7e6dd;
  --muted: #8aa899;
  --white: #f3faf6;

  --green: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --lime: #a3e635;
  --gold: #fbbf24;
  --gold-600: #f59e0b;

  --shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(1100px 500px at 12% -8%, rgba(34, 197, 94, 0.16), transparent 60%),
    radial-gradient(900px 420px at 92% 4%, rgba(163, 230, 53, 0.10), transparent 55%),
    linear-gradient(180deg, #0b1610 0%, #0a140f 100%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', system-ui, sans-serif;
  color: var(--white);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin-bottom: 18px; }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
p { margin-bottom: 12px; }

a { color: var(--lime); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
  border-radius: 4px;
}
img { max-width: 100%; height: auto; display: block; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--lime); color: #06140d;
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 300; font-weight: 700;
}
.skip-link:focus { left: 0; text-decoration: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 14px;
}

/* =================================================================
   Bloco: ticker (faixa de destaques a deslizar)
   ================================================================= */
.ticker {
  background: linear-gradient(90deg, var(--green-700), var(--green-600));
  color: #04130b;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}
.ticker__track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  width: max-content;
  animation: ticker-scroll 32s linear infinite;
}
.ticker__item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 26px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800; font-size: 0.82rem;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.ticker__item::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: #04130b; flex-shrink: 0;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =================================================================
   Bloco: header / navegação
   ================================================================= */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 20, 15, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; padding: 14px 0;
}
.logo {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.4rem;
  color: var(--white);
}
.logo:hover { text-decoration: none; }
.logo__mark { width: 36px; height: 36px; }
.logo__accent { color: var(--green); }

.nav__list { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; align-items: center; }
.nav__link {
  display: inline-block; padding: 9px 14px; border-radius: 999px;
  color: var(--text); font-weight: 600; font-size: 0.95rem;
  transition: background 0.15s, color 0.15s;
}
.nav__link:hover { background: var(--surface-2); color: var(--white); text-decoration: none; }
.nav__link--cta {
  background: var(--green); color: #04130b; font-weight: 800;
}
.nav__link--cta:hover { background: var(--lime); color: #04130b; }

/* botão hambúrguer (escondido no desktop) */
.nav-toggle {
  display: none; width: 46px; height: 46px; padding: 0;
  border: 1px solid var(--line-strong); background: var(--surface-2);
  border-radius: 12px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle__bar { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.header.is-nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.is-nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.header.is-nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =================================================================
   Bloco: secção
   ================================================================= */
.section { padding: 72px 0; }
.section--tight { padding: 44px 0; }
.section__head { max-width: 760px; margin-bottom: 8px; }
.section__lead { max-width: 720px; color: var(--muted); }

/* =================================================================
   Bloco: hero (bold, dark, tipografia grande)
   ================================================================= */
.hero { padding: 84px 0 64px; position: relative; }
.hero__inner {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
}
.hero h1 .hl {
  background: linear-gradient(100deg, var(--green), var(--lime));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__text > p { font-size: 1.12rem; color: var(--text); max-width: 60ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 22px; }
.hero__media { display: flex; justify-content: center; position: relative; }
.hero__media::after {
  content: ""; position: absolute; inset: 8% 8% 8% 8%;
  background: radial-gradient(circle, rgba(34,197,94,0.35), transparent 70%);
  filter: blur(40px); z-index: -1;
}
.hero__media img {
  width: 100%; max-width: 380px; border-radius: 30px; box-shadow: var(--shadow);
}
.note {
  font-size: 0.9rem; background: var(--surface);
  border-left: 3px solid var(--green); padding: 12px 16px; border-radius: 8px;
  color: var(--muted);
}
.note strong { color: var(--white); }

/* =================================================================
   Bloco: estatísticas
   ================================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; }
.stats__item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; text-align: center;
}
.stats__num {
  font-family: 'Montserrat', sans-serif; font-size: 2rem; font-weight: 800;
  background: linear-gradient(100deg, var(--green), var(--lime));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stats__label { font-size: 0.86rem; color: var(--muted); margin-top: 2px; }

/* =================================================================
   Bloco: destaque (jogo #1 — cartão grande horizontal)
   ================================================================= */
.featured {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 0;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.featured__media { position: relative; min-height: 320px; }
.featured__media img { width: 100%; height: 100%; object-fit: cover; }
.featured__tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--gold); color: #3a2600; font-weight: 800; font-size: 0.74rem;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 13px; border-radius: 999px;
}
.featured__body { padding: 38px; display: flex; flex-direction: column; justify-content: center; }
.featured__head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.featured__icon { width: 76px; height: 76px; border-radius: 18px; box-shadow: var(--shadow-sm); }
.featured__dev { color: var(--muted); font-size: 0.92rem; }
.featured__rating { color: var(--gold); font-weight: 700; }
.featured__desc { color: var(--text); margin-bottom: 22px; }

/* =================================================================
   Bloco: slider / galeria (scroll-snap nativo)
   ================================================================= */
.slider { position: relative; margin-top: 32px; }
.slider__viewport {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding-bottom: 6px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.slider__viewport::-webkit-scrollbar { display: none; }
.slider__slide {
  flex: 0 0 clamp(280px, 80%, 760px); scroll-snap-align: center;
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-strong); background: var(--surface);
}
.slider__slide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.slider__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 20px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 700;
}
.slider__caption span { display: block; font-family: 'Inter', sans-serif; font-weight: 400; font-size: 0.85rem; color: #c8e6d4; }
.slider__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: rgba(10, 20, 15, 0.8); color: #fff; cursor: pointer; z-index: 2;
  display: grid; place-items: center; backdrop-filter: blur(6px); transition: background 0.2s;
}
.slider__btn:hover { background: var(--green); color: #04130b; }
.slider__btn svg { width: 22px; height: 22px; }
.slider__btn--prev { left: -8px; }
.slider__btn--next { right: -8px; }
.slider__dots { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.slider__dot {
  width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0;
  background: var(--line-strong); cursor: pointer; transition: background 0.2s, width 0.2s;
}
.slider__dot.is-active { background: var(--green); width: 26px; border-radius: 999px; }

/* =================================================================
   Bloco: parallax (banda nativa com declaração)
   ================================================================= */
.parallax {
  position: relative;
  background-image:
    linear-gradient(rgba(6, 16, 11, 0.58), rgba(6, 16, 11, 0.74)),
    url("./img/stadium_parallax.webp");
  background-size: cover; background-position: center;
  background-attachment: fixed;          /* parallax nativo */
  padding: 96px 0; text-align: center;
}
.parallax__inner { max-width: 760px; margin: 0 auto; }
.parallax h2 { color: #fff; }
.parallax p { color: #d7e6dd; font-size: 1.1rem; }
.parallax .eyebrow { color: var(--lime); }

/* =================================================================
   Bloco: manifesto (somos amadores / sem ganhos)
   ================================================================= */
.manifesto {
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 40px; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
}
.manifesto__badge {
  width: 84px; height: 84px; border-radius: 22px; flex-shrink: 0;
  background: rgba(34, 197, 94, 0.14); color: var(--green);
  display: grid; place-items: center;
}
.manifesto__badge svg { width: 46px; height: 46px; }
.manifesto h2 { margin-bottom: 10px; }
.manifesto p { color: var(--text); margin-bottom: 0; }
.manifesto strong { color: var(--lime); }

/* =================================================================
   Bloco: estilos de jogo (categorias)
   ================================================================= */
.styles__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; margin-top: 30px; }
.style-card {
  display: block; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; transition: transform 0.2s, border-color 0.2s;
}
.style-card:hover { transform: translateY(-3px); border-color: var(--green); text-decoration: none; }
.style-card__emoji { font-size: 1.9rem; line-height: 1; margin-bottom: 12px; }
.style-card__title { font-family: 'Montserrat', sans-serif; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.style-card__text { color: var(--muted); font-size: 0.9rem; }

/* =================================================================
   Bloco: classificação (tabela tipo standings)
   ================================================================= */
.standings {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--surface); margin-top: 28px;
}
.standings__table { width: 100%; border-collapse: collapse; }
.standings__table caption { position: absolute; left: -9999px; }
.standings__table thead th {
  background: var(--surface-2); color: var(--muted);
  font-family: 'Montserrat', sans-serif; font-size: 0.72rem;
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 800;
  padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line);
}
.standings__table tbody td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.standings__table tbody tr:last-child td { border-bottom: none; }
.standings__table tbody tr:hover { background: rgba(255, 255, 255, 0.03); }
.standings__pos {
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.05rem;
  color: var(--green); width: 44px;
}
.standings__pos--top { color: var(--gold); }
.standings__game { display: flex; align-items: center; gap: 12px; }
.standings__game img { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; }
.standings__name { font-weight: 700; color: var(--white); }
.standings__sub { font-size: 0.82rem; color: var(--muted); }
.standings__rating { color: var(--gold); font-weight: 700; white-space: nowrap; }
.standings__type { color: var(--muted); font-size: 0.88rem; }
.standings__link { color: var(--lime); font-weight: 700; white-space: nowrap; }
.col-hide-sm { }

/* =================================================================
   Bloco: catálogo de jogos
   ================================================================= */
.catalog__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 26px; margin-top: 32px;
}
.game-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.game-card:hover { transform: translateY(-4px); border-color: var(--green); box-shadow: var(--shadow); }
.game-card__head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.game-card__icon { width: 68px; height: 68px; border-radius: 16px; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.game-card__title { margin-bottom: 2px; }
.game-card__dev { font-size: 0.88rem; color: var(--muted); }
.game-card__badge {
  align-self: flex-start; display: inline-block;
  background: rgba(163, 230, 53, 0.14); color: var(--lime);
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.03em;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
  border: 1px solid rgba(163, 230, 53, 0.25);
}
.game-card__desc { font-size: 0.96rem; margin-bottom: 14px; color: var(--text); }
.game-card__meta { display: flex; gap: 16px; font-size: 0.84rem; color: var(--muted); margin-bottom: 16px; }
.game-card__meta b { color: var(--white); }
.game-card__shots { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.game-card__shots img {
  width: 100%; border-radius: 10px; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line);
}
.game-card__cta { margin-top: auto; }
.catalog__note { margin-top: 26px; font-size: 0.88rem; color: var(--muted); font-style: italic; }

/* =================================================================
   Bloco: botão
   ================================================================= */
.btn {
  display: inline-block; background: var(--green); color: #04130b;
  border: none; border-radius: 999px; padding: 13px 28px;
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 0.96rem;
  text-align: center; cursor: pointer; transition: transform 0.1s ease, background 0.2s ease, box-shadow 0.2s;
}
.btn:hover { background: var(--lime); color: #04130b; text-decoration: none; box-shadow: 0 8px 24px rgba(34,197,94,0.3); }
.btn:active { transform: translateY(1px); }
.btn--block { display: block; width: 100%; }
.btn--ghost { background: transparent; color: var(--white); border: 2px solid var(--line-strong); padding: 11px 26px; }
.btn--ghost:hover { background: var(--surface-2); color: var(--white); border-color: var(--green); box-shadow: none; }
.btn--gold { background: var(--gold); color: #3a2600; }
.btn--gold:hover { background: var(--gold-600); color: #3a2600; }

/* =================================================================
   Bloco: features
   ================================================================= */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; margin-top: 32px; }
.feature {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.feature:hover { border-color: var(--line-strong); }
.feature__icon {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px;
  background: rgba(34, 197, 94, 0.14); color: var(--green); margin-bottom: 16px;
}
.feature__icon svg { width: 28px; height: 28px; }

/* =================================================================
   Bloco: subscrição
   ================================================================= */
.subscribe {
  max-width: 620px; margin: 0 auto;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 40px;
}
.subscribe__title, .subscribe__subtitle { text-align: center; }
.subscribe__subtitle { color: var(--muted); margin-bottom: 24px; }
.form__field { margin-bottom: 14px; }
.form__label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.form__optional { font-weight: 400; color: var(--muted); font-size: 0.8rem; }
.form__input {
  width: 100%; padding: 12px 15px; border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); font-size: 0.96rem; font-family: inherit;
  background: rgba(0, 0, 0, 0.25); color: var(--white); transition: border-color 0.2s, box-shadow 0.2s;
}
.form__input::placeholder { color: #5f7a6c; }
.form__input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); outline: none; }
.form__note { font-size: 0.82rem; color: var(--muted); margin: 8px 0 14px; }
.form__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--text); cursor: pointer; }
.form__consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green); flex-shrink: 0; cursor: pointer; }
.form__error {
  margin: 0 0 14px; padding: 11px 14px; background: rgba(251, 191, 36, 0.12);
  color: var(--gold); border-left: 3px solid var(--gold); border-radius: 8px; font-size: 0.88rem;
}
.form__error[hidden] { display: none; }
.consent-field { margin: 16px 0; }
.success {
  margin-top: 12px; padding: 24px; background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3); border-radius: 12px; text-align: center; color: var(--text);
}
.success[hidden] { display: none; }
.success strong { font-family: 'Montserrat', sans-serif; display: block; margin-bottom: 6px; font-size: 1.1rem; color: var(--white); }

/* =================================================================
   Bloco: páginas de texto / legais
   ================================================================= */
.prose { max-width: 820px; }
.prose h1 { margin-bottom: 20px; }
.prose h2 { margin-top: 36px; color: var(--white); }
.prose h3 { margin-top: 22px; }
.prose ul, .prose ol { margin: 12px 0 12px 24px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--white); }
.prose__updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }

/* =================================================================
   Bloco: FAQ
   ================================================================= */
.faq { margin-top: 28px; max-width: 820px; }
.faq__item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; margin-bottom: 12px; overflow: hidden;
}
.faq__item[open] { border-color: var(--line-strong); }
.faq__q {
  cursor: pointer; padding: 17px 48px 17px 20px;
  font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--white);
  position: relative; list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--green); }
.faq__item[open] .faq__q::after { content: "\2212"; }
.faq__a { padding: 0 20px 18px; color: var(--text); }

/* =================================================================
   Bloco: banner de cookies
   ================================================================= */
.cookie { position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-end; pointer-events: none; }
.cookie[hidden] { display: none; }
.cookie__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(5px); opacity: 0; transition: opacity 0.3s ease; pointer-events: auto; }
.cookie__panel {
  position: relative; width: 100%; max-width: 720px; margin: 0 auto;
  background: var(--surface-2); border: 1px solid var(--line-strong);
  border-radius: 16px 16px 0 0; box-shadow: var(--shadow); padding: 26px;
  transform: translateY(24px); opacity: 0; transition: transform 0.35s ease, opacity 0.3s ease; pointer-events: auto;
}
.cookie.is-visible .cookie__backdrop { opacity: 1; }
.cookie.is-visible .cookie__panel { transform: translateY(0); opacity: 1; }
.cookie__title { font-size: 1.2rem; margin-bottom: 8px; }
.cookie__text { font-size: 0.92rem; margin-bottom: 16px; color: var(--text); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cookie__actions .btn { flex: 1 1 200px; max-width: 260px; }

/* =================================================================
   Bloco: rodapé (conceito "estádio": placar + relva + holofotes)
   ================================================================= */
.footer { position: relative; margin-top: 64px; color: var(--muted); overflow: hidden; }
.footer a { color: var(--lime); }

/* holofotes no topo */
.footer__lights {
  position: absolute; top: 0; left: 0; right: 0; height: 220px; pointer-events: none; z-index: 0;
  background:
    radial-gradient(440px 220px at 16% -45%, rgba(186, 230, 253, 0.18), transparent 70%),
    radial-gradient(440px 220px at 84% -45%, rgba(186, 230, 253, 0.18), transparent 70%);
}

/* placar (scoreboard) */
.footer__scoreboard {
  position: relative; z-index: 1;
  background: linear-gradient(180deg, #0a1712, #06110c);
  border-top: 3px solid var(--green); border-bottom: 1px solid var(--line);
}
.footer__board {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(14px, 5vw, 56px); padding: 28px 20px; flex-wrap: wrap;
}
.footer__team { display: flex; flex-direction: column; text-align: center; gap: 3px; }
.footer__team-tag { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.footer__team-name { font-family: 'Montserrat', sans-serif; font-weight: 800; color: #fff; font-size: clamp(1.05rem, 3vw, 1.5rem); }
.footer__team--away .footer__team-name { color: var(--muted); }
.footer__score { display: flex; align-items: center; gap: 10px; position: relative; }
.footer__digit {
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: clamp(2.3rem, 9vw, 3.6rem); color: var(--lime);
  text-shadow: 0 0 20px rgba(163, 230, 53, 0.55);
  background: #04100a; padding: 4px 16px; border-radius: 12px;
  border: 1px solid var(--line-strong); font-variant-numeric: tabular-nums;
}
.footer__sep { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(1.6rem, 6vw, 2.4rem); color: var(--green); }
.footer__minute {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: -20px;
  white-space: nowrap; font-size: 0.62rem; letter-spacing: 0.14em;
  color: var(--gold); text-transform: uppercase;
}

/* relva */
.footer__pitch {
  position: relative; z-index: 1; padding: 58px 0 34px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.028) 0 64px, transparent 64px 128px),
    linear-gradient(180deg, #0c4a2b, #062a18);
}
.footer__markings {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.6;
  background: url("./img/pitch_lines.svg") no-repeat top center;
  background-size: 880px auto;
}
.footer__pitch-inner { position: relative; z-index: 1; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; margin-bottom: 30px; }
.footer__brand .logo { color: #fff; }
.footer__brand p { color: #bcd6c8; font-size: 0.9rem; margin-top: 12px; max-width: 38ch; }
.footer__made { color: var(--lime) !important; font-weight: 600; margin-top: 10px !important; }
.footer__col h4 {
  color: #fff; font-family: 'Montserrat', sans-serif; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px;
  padding-bottom: 8px; border-bottom: 2px solid rgba(255, 255, 255, 0.14); display: inline-block;
}
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 9px; }
.footer__col a { color: #cfe5d8; font-size: 0.92rem; }
.footer__col a:hover { color: var(--lime); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 20px; font-size: 0.85rem; color: #a9c6b6; text-align: center; }
.footer__fineprint { font-size: 0.76rem; opacity: 0.7; margin: 6px 0 0; }

/* bola / botão voltar ao topo */
.footer__totop {
  position: absolute; right: 22px; top: -26px; z-index: 3;
  width: 56px; height: 56px; border-radius: 50%; cursor: pointer;
  background: var(--green); color: #04130b; border: 3px solid #06110c;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s, background 0.2s;
}
.footer__totop:hover { background: var(--lime); transform: translateY(-4px); }
.footer__totop svg { width: 24px; height: 24px; }

/* =================================================================
   Bloco: página de erro
   ================================================================= */
.error { text-align: center; padding: 90px 0; }
.error__code {
  font-family: 'Montserrat', sans-serif; font-size: 6rem; font-weight: 800; line-height: 1;
  background: linear-gradient(100deg, var(--green), var(--lime));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.error__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* =================================================================
   Bloco: passos (como escolhemos)
   ================================================================= */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; margin-top: 30px; }
.steps__item {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 22px 22px; overflow: hidden;
}
.steps__item::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--green), var(--lime)); opacity: 0.65; }
.steps__num { display: block; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 2.7rem; line-height: 1; margin-bottom: 12px; color: transparent; -webkit-text-stroke: 1.5px var(--green); }
.steps__item h3 { margin-bottom: 6px; }
.steps__item p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.steps__more { margin-top: 22px; font-weight: 600; }

/* veredito editorial (jogo do mês) */
.featured__verdict {
  border-left: 3px solid var(--green); background: rgba(34, 197, 94, 0.08);
  padding: 12px 16px; border-radius: 8px; color: var(--white); font-style: italic; margin-bottom: 16px;
}
/* opinião pessoal nas fichas */
.game-card__quote { color: var(--lime); font-style: italic; font-size: 0.92rem; margin: -2px 0 14px; }

/* =================================================================
   Bloco: página de contactos
   ================================================================= */
.contact { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 30px; align-items: start; margin-top: 8px; }
.contact .subscribe { margin: 0; max-width: none; }
.contact__info { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.contact__info h2 { font-size: 1.3rem; margin-bottom: 18px; }
.contact__list { list-style: none; display: grid; gap: 18px; margin-bottom: 20px; }
.contact__item { display: flex; gap: 14px; align-items: flex-start; }
.contact__icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: rgba(34, 197, 94, 0.14); color: var(--green); display: grid; place-items: center; }
.contact__icon svg { width: 22px; height: 22px; }
.contact__item h3 { font-size: 1rem; margin-bottom: 2px; }
.contact__item p { margin: 0; color: var(--text); font-size: 0.92rem; }
.contact__note { font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }

/* =================================================================
   Responsivo
   ================================================================= */

/* Navegação móvel (hambúrguer) */
@media (max-width: 820px) {
  .header__inner { position: relative; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: calc(100% + 1px);
    background: rgba(8, 16, 12, 0.98);
    backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height 0.32s ease;
  }
  .header.is-nav-open .nav { max-height: 78vh; overflow-y: auto; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; padding: 14px 20px 20px; }
  .nav__link { display: block; padding: 14px 16px; border-radius: 12px; font-size: 1.05rem; }
  .nav__link--cta { text-align: center; margin-top: 10px; }
}

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__media img { max-width: 280px; }
  .featured { grid-template-columns: 1fr; }
  .featured__media { min-height: 220px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 56px 0; }
  .parallax { background-attachment: scroll; padding: 72px 0; }   /* iOS não suporta fixed */
  .manifesto { grid-template-columns: 1fr; text-align: center; padding: 30px; gap: 18px; }
  .manifesto__badge { margin: 0 auto; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .hero { padding: 48px 0 40px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .section { padding: 44px 0; }
  .section--tight { padding: 32px 0; }
  .game-card__shots { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .cookie__actions { flex-direction: column; }
  .cookie__actions .btn { max-width: none; }
  .standings__type, .col-hide-sm { display: none; }
  .standings__table thead th, .standings__table tbody td { padding: 12px 10px; }
  .standings__game img { width: 34px; height: 34px; }
  .featured__body { padding: 24px; }
  .subscribe { padding: 26px; }
  .slider__btn { width: 40px; height: 40px; }
  .slider__btn--prev { left: 2px; }
  .slider__btn--next { right: 2px; }
  /* placar empilhado e legível */
  .footer__board { gap: 8px 22px; }
  .footer__team { flex: 1 1 40%; }
  .footer__score { order: -1; flex: 1 1 100%; justify-content: center; margin-bottom: 6px; }
  .footer__totop { right: 16px; width: 50px; height: 50px; }
  .footer__markings { background-size: 600px auto; }
}

@media (max-width: 380px) {
  .game-card__shots { grid-template-columns: 1fr; }
  .footer__team-name { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
