/* ═══════════════════════════════════════════════════════════════════
   SPK FC — folha de estilo

   Paleta tirada de duas fontes: o escudo (preto, prata, branco) e os
   cartazes do time (lime ácido). O lime é o acento e aparece pouco:
   números, marcas de conquista, arestas vivas. Quem colore de verdade
   são os cartazes.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --void:    #070708;
  --carbon:  #0E0F11;
  --steel:   #1A1C1F;
  --edge:    #2A2D33;
  --dim:     #797F88;
  --silver:  #C8CCD2;
  --chrome:  #FFFFFF;

  /* lime amostrado do cartaz do bunny (#A0C010) e clareado pra tela */
  --acid:     #A8D316;
  --acid-hot: #C6F32C;
  --acid-mute: rgba(168, 211, 22, .16);

  --f-display: "Chakra Petch", "Segoe UI", sans-serif;
  --f-body:    "Manrope", "Segoe UI", sans-serif;
  --f-jersey:  "Saira Condensed", "Arial Narrow", sans-serif;

  --gut: clamp(1.25rem, 5vw, 5rem);
  --ease: cubic-bezier(.22, 1, .36, 1);

  /* canto cortado em viés — eco dos estilhaços do cartaz */
  --bevel: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  margin: 0;
  background: var(--void);
  color: var(--silver);
  font-family: var(--f-body);
  font-size: clamp(.95rem, .35vw + .85rem, 1.05rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
b, strong { color: var(--chrome); font-weight: 600; }

::selection { background: var(--acid); color: var(--void); }

:focus-visible { outline: 2px solid var(--acid-hot); outline-offset: 3px; }

/* ── Tipografia utilitária ───────────────────────────────────────── */
.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--f-display);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--acid);
  margin: 0 0 1.1rem;
}
/* barra em viés antes do rótulo */
.eyebrow::before {
  content: "";
  width: 26px;
  height: 9px;
  background: var(--acid);
  transform: skewX(-24deg);
  flex: none;
}

.section__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 8.5vw, 6.5rem);
  line-height: .9;
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: var(--chrome);
  margin: 0 0 1.1rem;
}

.section__sub { max-width: 48ch; margin: 0; color: var(--dim); }

/* ── Botões ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 2.1rem;
  font-family: var(--f-display);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--acid);
  background: var(--acid);
  color: var(--void);
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.btn:hover {
  background: var(--acid-hot);
  border-color: var(--acid-hot);
  box-shadow: 0 0 32px -6px rgba(168, 211, 22, .5);
}
.btn--ghost {
  background: transparent;
  color: var(--silver);
  border-color: var(--edge);
  box-shadow: none;
}
.btn--ghost:hover {
  background: transparent;
  color: var(--acid-hot);
  border-color: var(--acid-hot);
  box-shadow: none;
}

/* ═══ NAV ════════════════════════════════════════════════════════ */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--gut);
  border-bottom: 1px solid transparent;
  transition: background .45s var(--ease), border-color .45s var(--ease), padding .45s var(--ease);
}
.nav.is-stuck {
  background: rgba(7, 7, 8, .86);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--steel);
  padding-block: .6rem;
}

.nav__crest {
  display: flex; align-items: center; gap: .65rem;
  text-decoration: none;
  font-family: var(--f-display);
  font-weight: 700; font-size: 1.05rem; letter-spacing: .12em;
  color: var(--chrome);
}
.nav__crest img { transition: transform .6s var(--ease); }
.nav__crest:hover img { transform: rotate(-8deg) scale(1.1); }
.nav__crest b { color: var(--acid); font-weight: 700; }

.nav__links { display: flex; gap: 2rem; }
.nav__links a {
  position: relative;
  font-family: var(--f-display);
  font-size: .8rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; color: var(--dim);
  padding-block: .35rem;
  transition: color .3s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--acid);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav__links a:hover { color: var(--chrome); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  background: none; border: 1px solid var(--steel);
  cursor: pointer; padding: 0;
  place-items: center; gap: 5px; flex-direction: column;
}
.nav__toggle span {
  display: block; width: 18px; height: 2px; background: var(--acid);
  transition: transform .35s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child  { transform: translateY(-3.5px) rotate(-45deg); }

/* ═══ HERO ═══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 6.5rem var(--gut) 0;
  overflow: hidden;
  isolation: isolate;
}

.hero__pitch {
  position: absolute; inset: -10%;
  z-index: -2; opacity: .55;
  mask-image: radial-gradient(ellipse 62% 55% at 50% 45%, #000 0%, transparent 78%);
}
.hero__pitch svg { width: 100%; height: 100%; }
.hero__pitch svg :is(circle, line, rect) { fill: none; stroke: var(--edge); stroke-width: 1.2; }
.hero__pitch svg .fill { fill: var(--acid); }

.hero__glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 44% 34% at 50% 30%, rgba(168, 211, 22, .09), transparent 70%),
    radial-gradient(ellipse 55% 45% at 50% 34%, rgba(200, 204, 210, .07), transparent 72%);
  animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: .5; transform: scale(1.07); } }

.hero__inner { text-align: center; max-width: 800px; margin-block: auto; }

.hero__crest {
  width: clamp(130px, 17vw, 190px);
  height: auto;
  margin: 0 auto 1.4rem;
  filter: drop-shadow(0 0 40px rgba(200, 204, 210, .2));
  animation: crestIn 1.3s var(--ease);
}
@keyframes crestIn { from { opacity: 0; transform: translateY(28px) scale(.9); filter: blur(9px); } }

.hero__eyebrow {
  display: flex; align-items: center; justify-content: center; gap: .9rem;
  font-family: var(--f-display);
  font-size: clamp(.66rem, 1.6vw, .78rem);
  font-weight: 600; letter-spacing: .34em; text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 .8rem;
  animation: fadeUp .9s var(--ease) .35s both;
}
.hero__eyebrow span:nth-child(3) { color: var(--acid); }
.hero__eyebrow i { width: 22px; height: 1px; background: var(--edge); }

/* Todas as letras ficam brancas; o lime é só um brilho que atravessa. */
.hero__wordmark {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(4rem, 16vw, 11rem);
  line-height: .84;
  letter-spacing: -.035em;
  margin: 0 0 1.3rem;
  background: linear-gradient(100deg,
    #FFFFFF 0%, #FFFFFF 34%,
    var(--acid-hot) 44%, #FFFFFF 52%,
    #C8CCD2 62%, #FFFFFF 100%);
  background-size: 320% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fadeUp 1s var(--ease) .5s both, sheen 2.6s var(--ease) 1.1s both;
}
@keyframes sheen { to { background-position: 0% 0; } }
.hero__wordmark:hover { animation: sheen 1.5s var(--ease) both; }

.hero__lede {
  max-width: 52ch; margin: 0 auto 2.1rem;
  color: var(--dim);
  animation: fadeUp .9s var(--ease) .68s both;
}

.hero__cta {
  display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center;
  animation: fadeUp .9s var(--ease) .82s both;
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } }

/* ── Trilho de estatísticas ─────────────────────────────────────── */
.statrail {
  list-style: none; margin: 0; padding: 0;
  width: 100%;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--steel);
  animation: fadeUp 1s var(--ease) 1s both;
}
.statrail li {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: .05rem;
  padding: 1.5rem .5rem 1.7rem;
  border-right: 1px solid var(--steel);
}
.statrail li:last-child { border-right: 0; }
/* traço lime em viés sob cada número */
.statrail li::after {
  content: "";
  position: absolute; left: 50%; bottom: 1.05rem;
  width: 20px; height: 2px;
  background: var(--acid);
  transform: translateX(-50%) skewX(-24deg);
  opacity: .55;
}
.statrail__n {
  font-family: var(--f-jersey); font-weight: 900;
  font-size: clamp(2.4rem, 6.5vw, 4rem);
  line-height: 1;
  color: var(--chrome);
  font-variant-numeric: tabular-nums;
}
.statrail li:first-child .statrail__n { color: var(--acid); }
.statrail__l {
  font-family: var(--f-display); font-size: .62rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase; color: var(--dim);
}

/* ═══ SEÇÕES ═════════════════════════════════════════════════════ */
.section { padding: clamp(4.5rem, 10vw, 7.5rem) var(--gut); }
.section--alt { background: var(--carbon); border-block: 1px solid var(--steel); }
.section__head { margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }

/* ═══ CAMPO ══════════════════════════════════════════════════════ */
.field-wrap {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(280px, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.field {
  position: relative;
  aspect-ratio: 300 / 425;
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
  background:
    repeating-linear-gradient(180deg, rgba(255,255,255,.02) 0 46px, transparent 46px 92px),
    var(--carbon);
  border: 1px solid var(--edge);
}
.section--alt .field { background-color: var(--void); }

.field__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.field__lines :is(rect, line, circle, ellipse) {
  fill: none; stroke: #34383F;
  stroke-width: 1.1;
  vector-effect: non-scaling-stroke;   /* traço fino mesmo com o viewBox esticado */
}
.field__lines .fill { fill: var(--acid); stroke: none; }

/* ═══ A JOGADA ═══════════════════════════════════════════════════
   Bola sai do goleiro, sobe pela defesa, troca de lado e o capitão
   finaliza. Roda uma vez quando a seção entra na tela e repete no
   botão.
   ════════════════════════════════════════════════════════════════ */

.playbtn {
  display: inline-flex; align-items: center; gap: .7rem;
  margin-top: 1.5rem;
  padding: .7rem 1.4rem .7rem 1.1rem;
  background: transparent;
  border: 1px solid var(--edge);
  color: var(--silver);
  font-family: var(--f-display);
  font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  cursor: pointer;
  transition: color .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.playbtn:hover { color: var(--void); background: var(--acid); border-color: var(--acid); }
.playbtn:disabled { opacity: .45; cursor: default; }
.playbtn:disabled:hover { color: var(--silver); background: transparent; border-color: var(--edge); }

.playbtn__icon {
  width: 0; height: 0;
  border-left: 9px solid currentColor;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

/* ── Linha do passe ── */
.field__passes { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.field__passes line {
  stroke: var(--acid);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 3 3;
  opacity: .85;
}

/* ── Bola ── */
.ball {
  position: absolute; top: 0; left: 0;
  z-index: 2;
  width: 13px; height: 13px;
  margin: -6.5px 0 0 -6.5px;
  border-radius: 50%;
  background: var(--chrome);
  box-shadow: 0 0 0 2px rgba(168, 211, 22, .3), 0 0 18px 3px rgba(168, 211, 22, .55);
  opacity: 0;
  pointer-events: none;
}

/* rastro deixado pela bola */
.ball-trail {
  position: absolute; top: 0; left: 0;
  z-index: 1;
  width: 7px; height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: var(--acid);
  pointer-events: none;
  animation: trailOut .5s ease-out forwards;
}
@keyframes trailOut { to { opacity: 0; transform: scale(.3); } }

/* ── Jogador recebendo a bola ── */
.node.has-ball .node__disc {
  border-color: var(--acid-hot);
  box-shadow: 0 0 0 4px rgba(168, 211, 22, .22), 0 0 30px rgba(168, 211, 22, .6);
}
.node.has-ball .node__nick { color: var(--chrome); }

/* ── Gol ── */
/* Casa com o retângulo do gol no SVG (x=120 y=8 w=60 h=20 de 300x425),
   em porcentagem pra acompanhar qualquer tamanho de campo. */
.field__net {
  position: absolute; top: 1.9%; left: 40%;
  width: 20%; height: 4.7%;
  z-index: 1;
  background: var(--acid);
  opacity: 0;
  pointer-events: none;
}
.field__net.is-scored { animation: netFlash .9s var(--ease); }
@keyframes netFlash {
  0%   { opacity: .85; }
  100% { opacity: 0; }
}

.field.is-scored { animation: fieldFlash .7s var(--ease); }
@keyframes fieldFlash {
  0%   { border-color: var(--acid-hot); box-shadow: inset 0 0 60px rgba(168, 211, 22, .3); }
  100% { border-color: var(--edge); box-shadow: none; }
}

.goalcry {
  position: absolute; inset: 0;
  z-index: 4;
  display: grid; place-items: center;
  font-family: var(--f-jersey); font-weight: 900;
  font-size: clamp(3.5rem, 14vw, 6rem);
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--acid);
  opacity: 0;
  pointer-events: none;
  text-shadow: 0 0 40px rgba(168, 211, 22, .5);
}
.goalcry.is-on { animation: goalCry 1.5s var(--ease); }
@keyframes goalCry {
  0%   { opacity: 0; transform: scale(.5); }
  18%  { opacity: 1; transform: scale(1.08); }
  30%  { transform: scale(1); }
  75%  { opacity: 1; }
  100% { opacity: 0; transform: scale(1.04); }
}

/* Na lateral esquerda, na vertical: no centro elas batiam no atacante
   e no goleiro, que ficam nos dois fundos. */
.field__end {
  position: absolute;
  left: .55rem;
  /* writing-mode em vez de rotate: a caixa acompanha o texto, então
     top/bottom continuam medindo certo e nada vaza pra fora do campo. */
  writing-mode: vertical-rl;
  font-family: var(--f-display);
  font-size: .55rem; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--dim); opacity: .55; margin: 0;
  white-space: nowrap;
  pointer-events: none;
}
.field__end--top { top: .9rem; color: var(--acid); opacity: .75; }
.field__end--bottom { bottom: .9rem; transform: rotate(180deg); }

/* ── Nó do jogador ── */
/* Centralização pela propriedade `translate` isolada, não por `transform`:
   assim a movimentação tática (--dx/--dy) soma na mesma propriedade sem
   brigar com o deslocamento de centro, e `scale` fica livre pra comemoração.
   As custom properties trocam de valor na hora, mas `translate` é animável,
   então a transição interpola o caminho — é isso que faz o boneco "andar". */
.node {
  position: absolute;
  translate: calc(-50% + var(--dx, 0px)) calc(-50% + var(--dy, 0px));
  scale: 1;
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  background: none; border: 0; padding: 0;
  cursor: pointer; color: inherit;
  z-index: 3;
  transition: translate .55s cubic-bezier(.37, 0, .63, 1), scale .25s var(--ease);
}

/* comemoração do gol */
.node.is-celebrating { scale: 1.16; }

.node__disc {
  position: relative;
  width: clamp(50px, 11vw, 64px);
  aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--edge);
  background: var(--void);
  overflow: hidden;
  transition: border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.node__disc img { width: 100%; height: 100%; object-fit: cover; }
.node__disc em {
  font-family: var(--f-jersey); font-weight: 900; font-style: normal;
  font-size: 1.3rem; color: var(--silver);
}

.node__tag {
  font-family: var(--f-display);
  font-size: .57rem; font-weight: 700; letter-spacing: .16em;
  color: var(--void); background: var(--silver);
  padding: .12rem .42rem;
  transform: skewX(-14deg);
  transition: background .35s var(--ease);
}
.node__nick {
  font-family: var(--f-display);
  font-size: .72rem; font-weight: 600; letter-spacing: .05em;
  color: var(--dim); white-space: nowrap;
  transition: color .35s var(--ease);
}

.node:is(:hover, :focus-visible, .is-active) .node__disc {
  border-color: var(--acid);
  transform: scale(1.12);
  box-shadow: 0 0 0 5px rgba(168, 211, 22, .12), 0 0 34px rgba(168, 211, 22, .35);
}
.node:is(:hover, :focus-visible, .is-active) .node__tag { background: var(--acid-hot); }
.node:is(:hover, :focus-visible, .is-active) .node__nick { color: var(--chrome); }

/* Capitão: anel lime fixo. Era pulsante em loop, mas ficava competindo com
   a bola e a movimentação dos jogadores no mesmo campo — uma coisa se
   mexendo por vez. O anel só reage ao hover e à jogada. */
.node--captain .node__disc { border-color: rgba(168, 211, 22, .55); }
.node--captain .node__disc::after {
  content: "";
  position: absolute; inset: -5px;
  border: 1px solid rgba(168, 211, 22, .45);
  border-radius: 50%;
  transition: border-color .4s var(--ease), inset .4s var(--ease);
}
.node--captain:is(:hover, :focus-visible, .is-active, .has-ball) .node__disc::after {
  border-color: var(--acid-hot);
}

/* ── Lateral: banco e comissão ── */
.sideline { display: flex; flex-direction: column; gap: 1.3rem; }
.sideline__block { border: 1px solid var(--steel); border-left: 2px solid var(--acid); padding: 1.1rem 1.2rem 1.3rem; }
.section--alt .sideline__block { background: var(--void); }

.sideline__title {
  font-family: var(--f-display);
  font-size: .66rem; font-weight: 700; letter-spacing: .26em;
  text-transform: uppercase; color: var(--acid); margin: 0 0 .8rem;
}

.mini {
  display: flex; align-items: center; gap: .8rem;
  width: 100%;
  background: none; border: 0; border-top: 1px solid var(--steel);
  padding: .7rem 0; text-align: left; cursor: pointer; color: inherit;
  transition: padding-left .35s var(--ease);
}
.mini:first-of-type { border-top: 0; }
.mini:hover { padding-left: .5rem; }

.mini__disc {
  flex: none; width: 42px; aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--edge); overflow: hidden;
  transition: border-color .35s var(--ease);
}
.mini__disc img { width: 100%; height: 100%; object-fit: cover; }
.mini__disc em {
  font-family: var(--f-jersey); font-weight: 900; font-style: normal;
  font-size: .85rem; color: var(--dim);
  transition: color .35s var(--ease);
}
.mini:hover .mini__disc { border-color: var(--acid); }
.mini:hover .mini__disc em { color: var(--acid); }

.mini__txt { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.mini__txt b {
  font-family: var(--f-display); font-size: .95rem; font-weight: 600;
  color: var(--silver); transition: color .35s var(--ease);
}
.mini:hover .mini__txt b { color: var(--chrome); }
.mini__txt i { font-style: normal; font-size: .74rem; color: var(--dim); }

.sideline__note { border-left: 1px solid var(--edge); padding-left: 1.1rem; }
.sideline__note p { margin: 0; font-size: .86rem; color: var(--dim); }

/* ═══ CARDS DO ELENCO ════════════════════════════════════════════ */
.roster {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--steel);
  border: 1px solid var(--steel);
}

.card {
  position: relative;
  background: var(--void);
  padding: 1.9rem 1.4rem 1.5rem;
  overflow: hidden;
  isolation: isolate;
  transition: background .45s var(--ease);
}
.section--alt .card { background: var(--carbon); }

.card::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(155deg, rgba(168, 211, 22, .09), transparent 52%);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.card:is(:hover, :focus-visible, .is-active)::before { opacity: 1; }
.card:is(:hover, :focus-visible, .is-active) { background: var(--carbon); }

/* Cunha em viés no canto — acende no hover. */
.card::after {
  content: "";
  position: absolute; right: 0; bottom: 0;
  width: 34px; height: 34px;
  background: var(--steel);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  transition: background .45s var(--ease);
}
.card:is(:hover, :focus-visible, .is-active)::after { background: var(--acid); }

.card__ghost {
  position: absolute;
  right: .6rem; top: .9rem;
  z-index: -1;
  font-family: var(--f-jersey); font-weight: 900;
  font-size: 2.6rem; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .1);
  letter-spacing: -.02em;
  transition: -webkit-text-stroke-color .5s var(--ease);
}
.card:is(:hover, :focus-visible, .is-active) .card__ghost {
  -webkit-text-stroke-color: rgba(168, 211, 22, .5);
}

.card__disc {
  width: 66px; aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--edge); overflow: hidden;
  margin-bottom: 1rem;
  transition: border-color .45s var(--ease), transform .45s var(--ease);
}
.card__disc img { width: 100%; height: 100%; object-fit: cover; }
.card__disc em {
  font-family: var(--f-jersey); font-weight: 900; font-style: normal;
  font-size: 1.4rem; color: var(--silver);
}
.card:is(:hover, :focus-visible, .is-active) .card__disc {
  border-color: var(--acid);
  transform: scale(1.05);
}

.card__nick {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--f-display); font-weight: 700; font-size: 1.3rem;
  color: var(--chrome); margin: 0 0 .1rem;
}
.card__band {
  display: grid; place-items: center;
  width: 19px; height: 19px;
  font-family: var(--f-jersey); font-weight: 900; font-size: .72rem;
  color: var(--void); background: var(--acid);
}

.card__pos {
  font-family: var(--f-display);
  font-size: .68rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--acid);
  margin: 0 0 .85rem;
}
.card__bio { font-size: .85rem; margin: 0 0 1.3rem; color: var(--dim); min-height: 3.1em; }

.card__foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }

.card__kind {
  display: inline-block;
  font-family: var(--f-display);
  font-size: .6rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  padding: .22rem .6rem;
  border: 1px solid var(--edge); color: var(--dim);
}
.card__kind--titular { border-color: var(--acid); color: var(--acid); }

.card__poster-link {
  font-family: var(--f-display);
  font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--dim); text-decoration: none; white-space: nowrap;
  transition: color .35s var(--ease);
}
.card__poster-link:hover { color: var(--acid-hot); }

/* ═══ GALERIA DE CARTAZES ════════════════════════════════════════ */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr));
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  perspective: 1400px;
}

/* Com um cartaz só, vira peça de capa ao lado do texto. */
.gallery--solo {
  grid-template-columns: minmax(260px, 400px) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.poster {
  display: flex; flex-direction: column; gap: 1rem;
  background: none; border: 0; padding: 0;
  cursor: pointer; color: inherit; text-align: left; font: inherit;
  transform-style: preserve-3d;
  transition: transform .5s var(--ease);
  will-change: transform;
}

/* Cada cartaz acende na própria cor. `--tint` vem do banco, amostrado da
   imagem; sem ele, cai no lime do site. */
.poster { --tint: var(--acid); }

.poster__frame {
  position: relative; display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid var(--edge);
  background: var(--void);
  clip-path: var(--bevel);
  box-shadow: 0 18px 50px -24px rgba(0, 0, 0, .95);
  transition: border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.poster:is(:hover, :focus-visible) .poster__frame {
  border-color: var(--tint);
  box-shadow: 0 34px 70px -26px rgba(0, 0, 0, 1), 0 0 46px -14px var(--tint);
}

.poster__frame img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
  filter: saturate(.95);
  transition: transform .8s var(--ease), filter .6s var(--ease);
}
.poster:is(:hover, :focus-visible) .poster__frame img { transform: scale(1.06); filter: saturate(1.08); }

.poster__glare {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle 44% at var(--gx, 50%) var(--gy, 0%),
    rgba(255, 255, 255, .26), rgba(255, 255, 255, .05) 42%, transparent 68%);
  opacity: 0;
  mix-blend-mode: overlay;
  transition: opacity .45s var(--ease);
}
.poster:is(:hover, :focus-visible) .poster__glare { opacity: 1; }

.poster__foot {
  display: flex; flex-direction: column; gap: .15rem;
  padding-left: .95rem;
  border-left: 2px solid var(--steel);
  transition: border-color .45s var(--ease);
}
.poster:is(:hover, :focus-visible) .poster__foot { border-left-color: var(--tint); }

.poster__nick {
  font-family: var(--f-display); font-weight: 700;
  font-size: 1.4rem; line-height: 1.2; color: var(--chrome);
}
.gallery--solo .poster__nick { font-size: clamp(2.4rem, 6vw, 4rem); line-height: .95; text-transform: uppercase; }

.poster__pos {
  font-family: var(--f-display);
  font-size: .68rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--tint);
}
.poster__tag { font-size: .86rem; color: var(--dim); margin-top: .4rem; max-width: 34ch; }
.gallery--solo .poster__tag { font-size: 1.05rem; max-width: 26ch; }

/* Texto de apoio quando há um cartaz só */
.gallery__aside { align-self: center; }
.gallery__aside p { color: var(--dim); max-width: 42ch; }
.gallery__hint {
  font-family: var(--f-display);
  font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--acid); margin-top: 1.5rem;
}

/* ── Cartaz em tela cheia ── */
.lightbox {
  --tint: var(--acid);
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(4, 4, 5, .94);
  backdrop-filter: blur(10px);
  animation: peekBg .35s var(--ease) both;
}
.lightbox[hidden] { display: none; }

.lightbox__fig {
  margin: 0;
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
  max-height: 100%;
  animation: posterIn .55s var(--ease) both;
}
@keyframes posterIn { from { opacity: 0; transform: translateY(26px) scale(.96); } }

.lightbox__fig img {
  max-height: calc(100svh - 8rem); max-width: 100%; width: auto;
  object-fit: contain;
  border: 1px solid var(--edge);
  box-shadow: 0 30px 90px -30px rgba(0, 0, 0, 1);
}
.lightbox__fig figcaption {
  font-family: var(--f-display);
  font-size: .72rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--tint);
}

.lightbox__close {
  position: absolute; top: clamp(.5rem, 2vw, 1.5rem); right: clamp(.5rem, 2vw, 1.5rem);
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: none; border: 1px solid var(--steel);
  color: var(--silver); font-size: 1.8rem; line-height: 1; cursor: pointer;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.lightbox__close:hover { color: var(--tint); border-color: var(--tint); }

/* ═══ ESCADA DE CONQUISTAS ═══════════════════════════════════════ */
.ladder { display: flex; flex-direction: column; gap: clamp(1.8rem, 4vw, 3rem); }

.ladder__year {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
}

.ladder__marker { position: sticky; top: 6rem; }
.ladder__num {
  display: block;
  font-family: var(--f-jersey); font-weight: 900;
  font-size: clamp(3rem, 7vw, 4.6rem); line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--edge);
  transition: -webkit-text-stroke-color .5s var(--ease);
}
.ladder__year:hover .ladder__num { -webkit-text-stroke-color: var(--acid); }
.ladder__qty {
  font-family: var(--f-display);
  font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--dim);
}

.ladder__list { list-style: none; margin: 0; padding: 0; }

.row {
  display: grid;
  grid-template-columns: 22px 1fr auto 46px;
  align-items: center; gap: 1rem;
  padding: .95rem .5rem .95rem 0;
  border-top: 1px solid var(--steel);
  transition: padding-left .45s var(--ease), background .45s var(--ease);
}
.row:last-child { border-bottom: 1px solid var(--steel); }
.row:hover { padding-left: .9rem; background: rgba(168, 211, 22, .04); }

.row__mark {
  width: 10px; height: 10px;
  transform: rotate(45deg);
  transition: transform .45s var(--ease);
}
.row--campeao .row__mark { background: var(--acid); }
.row--vice .row__mark { border: 1px solid var(--dim); }
.row:hover .row__mark { transform: rotate(135deg) scale(1.2); }
.row--vice:hover .row__mark { border-color: var(--acid); }

.row__title {
  font-family: var(--f-display);
  font-size: clamp(.95rem, 2vw, 1.2rem); font-weight: 500;
  color: var(--silver);
}
.row--campeao .row__title { color: var(--chrome); font-weight: 600; }

.row__place {
  font-family: var(--f-display);
  font-size: .6rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--dim); border: 1px solid var(--steel);
  padding: .18rem .5rem;
}
.row--campeao .row__place { color: var(--void); background: var(--acid); border-color: var(--acid); }

.row__date {
  font-family: var(--f-display);
  font-size: .72rem; letter-spacing: .12em; color: var(--dim); text-align: right;
}

/* ═══ SOBRE ══════════════════════════════════════════════════════ */
.about {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about__text p { max-width: 54ch; color: var(--dim); }
.about__text .btn { margin-top: 1.3rem; }

.about__crest { display: grid; place-items: center; position: relative; }
.about__crest::before {
  content: "";
  position: absolute; width: 76%; aspect-ratio: 1;
  border: 1px solid var(--steel);
  border-top-color: var(--acid);
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 30s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.about__crest img {
  width: min(100%, 320px);
  filter: drop-shadow(0 0 50px rgba(168, 211, 22, .14));
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-14px); } }

/* ═══ FOOTER ═════════════════════════════════════════════════════ */
.foot {
  border-top: 1px solid var(--steel);
  padding: clamp(2.5rem, 6vw, 4rem) var(--gut);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  text-align: center;
}
.foot__brand {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--f-display); font-weight: 700; font-size: 1.3rem;
  letter-spacing: .12em; color: var(--chrome); margin-bottom: .4rem;
}
.foot__brand b { color: var(--acid); }
.foot__line {
  font-family: var(--f-display);
  font-size: .68rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--dim); margin: 0;
}
.foot__meta { font-size: .78rem; color: var(--edge); margin: 0; }
.foot__meta a { color: var(--dim); text-decoration: none; }
.foot__meta a:hover { color: var(--acid); }

/* ═══ PAINEL DO JOGADOR ══════════════════════════════════════════ */
.peek {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: end center;
  background: rgba(7, 7, 8, .8);
  backdrop-filter: blur(6px);
  animation: peekBg .3s var(--ease) both;
  padding: 1rem;
}
.peek[hidden] { display: none; }
@keyframes peekBg { from { opacity: 0; } }

.peek__inner {
  position: relative;
  width: 100%; max-width: 420px;
  background: var(--carbon);
  border: 1px solid var(--steel);
  border-top: 2px solid var(--acid);
  padding: 2rem 1.75rem;
  text-align: center;
  animation: peekIn .45s var(--ease) both;
}
@keyframes peekIn { from { opacity: 0; transform: translateY(30px); } }

.peek__close {
  position: absolute; top: .4rem; right: .7rem;
  background: none; border: 0; color: var(--dim);
  font-size: 1.9rem; line-height: 1; cursor: pointer;
}
.peek__close:hover { color: var(--acid); }

.peek__disc {
  width: 82px; aspect-ratio: 1; margin: 0 auto 1rem;
  display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--acid); overflow: hidden;
}
.peek__disc img { width: 100%; height: 100%; object-fit: cover; }
.peek__disc em {
  font-family: var(--f-jersey); font-weight: 900; font-style: normal;
  font-size: 1.7rem; color: var(--silver);
}
.peek__pos {
  font-family: var(--f-display); font-size: .64rem; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase; color: var(--acid); margin: 0 0 .3rem;
}
.peek__nick {
  font-family: var(--f-display); font-weight: 700; font-size: 1.7rem;
  color: var(--chrome); margin: 0 0 .6rem;
}
.peek__bio { font-size: .88rem; color: var(--dim); margin: 0; }
.peek__poster { margin-top: 1.3rem; }
.peek__poster[hidden] { display: none; }

/* ═══ REVEAL ON SCROLL ═══════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ═══ RESPONSIVO ═════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .roster { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .field-wrap { grid-template-columns: 1fr; }
  .field { max-width: 420px; }
  .about { grid-template-columns: 1fr; }
  .about__crest { order: -1; }
  .about__crest img { width: min(58%, 220px); }
  .ladder__year { grid-template-columns: 1fr; gap: .7rem; }
  .ladder__marker { position: static; display: flex; align-items: baseline; gap: .8rem; }
  .gallery--solo { grid-template-columns: 1fr; gap: 1.75rem; }
  .gallery--solo .poster { max-width: 340px; }
  .roster { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; inset: 100% 0 auto 0;
    flex-direction: column; gap: 0;
    background: rgba(7, 7, 8, .97);
    backdrop-filter: blur(14px);
    border-block: 1px solid var(--steel);
    padding: .5rem var(--gut) 1.2rem;
    clip-path: inset(0 0 100% 0);
    transition: clip-path .5s var(--ease);
  }
  .nav__links.is-open { clip-path: inset(0 0 0 0); }
  .nav__links a { padding-block: .9rem; font-size: .95rem; border-bottom: 1px solid var(--steel); }
  .nav__links a:last-child { border-bottom: 0; }

  .statrail { grid-template-columns: repeat(2, 1fr); }
  .statrail li:nth-child(2) { border-right: 0; }
  .statrail li:nth-child(-n+2) { border-bottom: 1px solid var(--steel); }

  .row { grid-template-columns: 18px 1fr auto; row-gap: .25rem; }
  .row__date { grid-column: 2 / -1; text-align: left; font-size: .66rem; }

  .card { padding: 1.4rem 1.1rem 1.2rem; }
  .card__bio { display: none; }
  .card__nick { font-size: 1.1rem; }
  .poster__tag { display: none; }
  .gallery--solo .poster__tag { display: block; font-size: .92rem; }
}

@media (max-width: 420px) {
  .roster { grid-template-columns: 1fr; }
  .card__bio { display: block; }
}

/* ═══ MOVIMENTO REDUZIDO ═════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__wordmark { background-position: 0 0; }
  .poster { transform: none !important; }
  .poster__glare { display: none; }
}
