:root {
  --fundo: #000000; /* mesmo preto do fundo da foto do armário */
  --fundo-2: #161310;
  --madeira-1: #5a3a22;
  --madeira-2: #3d2716;
  --madeira-3: #2a1a0e;
  --dourado: #d8b25a;
  --dourado-claro: #f3d892;
  --texto: #f4efe6;
  --texto-suave: #a79c8c;
  --verde: #1fbf6b;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  background: var(--fundo);
  color: var(--texto);
  font-family: "Inter", system-ui, sans-serif;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

/* ---------- Cena ---------- */

.cena {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  perspective: 1400px;
  background: var(--fundo);
}


/* ---------- Partículas do fundo ---------- */

.particulas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.5s ease;
}
.particulas.pronto { opacity: 1; }
/* Com o armário aberto, o fundo fica mais discreto para as ligas aparecerem */
.cena[data-estado="aberto"] .particulas.pronto { opacity: 0.35; }

/* ---------- Armário ---------- */

/* As medidas abaixo estão na escala de 1024px da foto do armário
   recortam a frente: da borda esquerda até a divisão do brasão, e dela até a direita. */
.armario {
  --W: min(94vw, 82vh, 760px);
  --px: calc(var(--W) / 1024);
  --frente-x: 164;
  --frente-y: 190;
  --meio: 517;
  --frente-fim-x: 896;
  --frente-fim-y: 873;
  position: relative;
  width: var(--W);
  height: var(--W);
  cursor: pointer;
  outline: none;
  transition: transform 1s cubic-bezier(.2, .8, .2, 1);
}
/* Foto do armário (sem fundo, 1024x1024). A sombra fica só na foto, não nas portas */
.armario::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("img/armario.webp") center / cover no-repeat;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.8));
  transition: filter 1s;
}
.cena[data-estado="fechado"] .armario:hover { transform: translateY(-4px) scale(1.01); }
.cena[data-estado="fechado"] .armario:hover .fresta { opacity: 0.55; }

.frente {
  position: absolute;
  left: calc(var(--frente-x) * var(--px));
  top: calc(var(--frente-y) * var(--px));
  width: calc((var(--frente-fim-x) - var(--frente-x)) * var(--px));
  height: calc((var(--frente-fim-y) - var(--frente-y)) * var(--px));
  perspective: calc(var(--W) * 2.2);
  /* Sem preserve-3d: as portas ficam sempre desenhadas por cima do interior
     (senão o navegador mistura os planos e as camisas vazam pela porta) */
  isolation: isolate;
}

/* Interior do armário */
.interior {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 220, 150, 0.22), transparent 70%),
    linear-gradient(180deg, #16110c, #070504);
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.95);
}

.cabideiro {
  position: absolute;
  top: 9%;
  left: 4%; right: 4%;
  height: 7px;
  border-radius: 4px;
  background: linear-gradient(180deg, #f0d894, #8a6a2a);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
}

.penduradas {
  position: absolute;
  top: calc(9% + 2px);
  left: 6%; right: 6%;
  display: flex;
  justify-content: center;
}

/* Camisas reais penduradas no cabideiro (fotos recortadas) */
.camisinha {
  position: relative;
  width: 33%;
  margin: 0 -8.2%;
  transform-origin: 50% 0;
  animation: balancar 3.5s ease-in-out infinite;
}
/* alterna profundidade: as de trás ficam um pouco menores e mais escuras */
.camisinha:nth-child(even) { transform: scale(0.92); filter: brightness(0.7); z-index: 0; }
.camisinha:nth-child(odd) { z-index: 1; }
.camisinha::before { /* gancho do cabide */
  content: "";
  position: absolute;
  left: 50%; top: -7px;
  width: 9px; height: 11px;
  transform: translateX(-50%);
  border: 2px solid #c9c2b3;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
}
.camisinha img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(-5px 6px 6px rgba(0, 0, 0, 0.75)) saturate(0.95);
}

@keyframes balancar {
  0%, 100% { transform: rotate(-1.5deg); }
  50%      { transform: rotate(1.5deg); }
}

.luz-interna {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 40% at 50% 45%, rgba(255, 230, 170, 0), transparent);
  transition: background 1s;
}

/* Portas: cada uma mostra o seu pedaço da foto, alinhado com a moldura.
   Giram até quase ficarem de lado (sem passar de 90°, para nunca mostrar o avesso). */
.porta {
  --espessura: calc(12 * var(--px));
  position: absolute;
  top: 0;
  height: 100%;
  background-image: url("img/armario.webp");
  background-size: var(--W) var(--W);
  background-repeat: no-repeat;
  z-index: 2;
  will-change: transform;
}
.porta--esq {
  left: 0;
  width: calc((var(--meio) - var(--frente-x)) * var(--px));
  background-position: calc(var(--frente-x) * var(--px) * -1) calc(var(--frente-y) * var(--px) * -1);
  transform-origin: 0 50%;
}
.porta--dir {
  right: 0;
  width: calc((var(--frente-fim-x) - var(--meio)) * var(--px));
  background-position: calc(var(--meio) * var(--px) * -1) calc(var(--frente-y) * var(--px) * -1);
  transform-origin: 100% 50%;
}

/* Sombra que escurece a frente da porta conforme ela vira para longe da luz */
.porta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.75));
  opacity: 0;
  pointer-events: none;
}
.porta--dir::before { background: linear-gradient(270deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.75)); }

/* Linha de luz dourada que acende na divisão antes das portas abrirem */
.fresta {
  position: absolute;
  top: 2%; bottom: 2%;
  left: calc((var(--meio) - var(--frente-x)) * var(--px) - 1px);
  width: 2px;
  z-index: 3;
  background: linear-gradient(180deg, transparent, #ffe7a3 20%, #fff6d8 50%, #ffe7a3 80%, transparent);
  box-shadow: 0 0 12px 3px rgba(255, 215, 120, 0.8), 0 0 40px 8px rgba(255, 200, 90, 0.4);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

/* ---------- Botão "Clique no armário" (no estilo do brasão) ---------- */

.botao-abrir {
  --ouro: linear-gradient(180deg, #f6e3a1 0%, #d8b25a 35%, #9a7430 65%, #e9cf85 100%);
  position: absolute;
  bottom: max(5vh, 24px);
  left: 50%;
  z-index: 5;
  padding: 3px;
  border: none;
  border-radius: 14px;
  background: var(--ouro);
  isolation: isolate;
  cursor: pointer;
  transform: translateX(-50%);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.8),
    0 0 0 1px #5c4418,
    0 0 26px rgba(216, 178, 90, 0.35);
  animation: chamar 2.4s ease-in-out infinite, halo 2s ease-out infinite;
  transition: opacity 0.4s, transform 0.4s;
  -webkit-tap-highlight-color: transparent;
}
.botao-abrir__miolo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 0 0 16px;
  border-radius: 11px;
  overflow: hidden;
  background: #0c0c0c;
  box-shadow: inset 0 0 0 1px rgba(216, 178, 90, 0.6), inset 0 0 18px rgba(0, 0, 0, 0.6);
}
.botao-abrir__coroa { width: 30px; height: 24px; flex: none; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.7)); }
.botao-abrir__texto {
  font-family: "Cinzel", "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(15px, 4.3vw, 21px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--ouro);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.9));
}
/* Pontas de fita saindo por trás do botão, como a faixa do brasão */
.botao-abrir::before,
.botao-abrir::after {
  content: "";
  position: absolute;
  top: 22%;
  bottom: -14%;
  width: 20px;
  z-index: -1;
  background: linear-gradient(180deg, #e9cf85, #9a7430);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
}
.botao-abrir::before { left: -16px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 38% 50%); }
.botao-abrir::after { right: -16px; clip-path: polygon(0 0, 100% 0, 62% 50%, 100% 100%, 0 100%); }

/* Halo dourado pulsando em volta, para chamar atenção */
@keyframes halo {
  0%   { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 0 1px #5c4418, 0 0 26px rgba(216, 178, 90, 0.35), 0 0 0 0 rgba(216, 178, 90, 0.6); }
  100% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 0 1px #5c4418, 0 0 26px rgba(216, 178, 90, 0.35), 0 0 0 18px rgba(216, 178, 90, 0); }
}

/* Canto branco em diagonal, como a metade clara do brasão */
.botao-abrir__lado {
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: 0 14px 0 26px;
  margin-left: 4px;
  background: linear-gradient(180deg, #ffffff, #e4e0d6);
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%);
}
.botao-abrir__texto { padding: 16px 0; }
.botao-abrir__seta {
  width: 12px;
  height: 12px;
  flex: none;
  margin-left: 2px;
  border-top: 3px solid #9a7430;
  border-left: 3px solid #9a7430;
  transform: rotate(45deg);
  animation: apontar 1.2s ease-in-out infinite;
}
.botao-abrir:hover, .botao-abrir:focus-visible {
  outline: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 0 1px #5c4418, 0 0 44px rgba(216, 178, 90, 0.65);
}

@keyframes chamar {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-5px); }
}
@keyframes apontar {
  0%, 100% { transform: rotate(45deg) translate(0, 0); }
  50%      { transform: rotate(45deg) translate(-4px, -4px); }
}

/* ---------- Estado aberto ---------- */

/* 1) a fresta acende  2) tranco da trava  3) cada porta gira com peso,
   passa um pouco do ponto e volta  4) a luz de dentro acende  5) o armário recua */
.cena[data-estado="aberto"] .fresta { animation: clarao 0.9s ease-out forwards; }
@keyframes clarao {
  0%   { opacity: 0; }
  25%  { opacity: 1; }
  100% { opacity: 0; }
}

.cena[data-estado="aberto"] .frente { animation: tranco 0.35s ease-out 0.1s; }
@keyframes tranco {
  0%, 100% { transform: translateX(0); }
  25%      { transform: translateX(1.5px); }
  50%      { transform: translateX(-1.5px); }
  75%      { transform: translateX(0.8px); }
}

.cena[data-estado="aberto"] .porta--esq { animation: abrir-esq 1.7s cubic-bezier(.5, 0, .25, 1) 0.15s both; }
.cena[data-estado="aberto"] .porta--dir { animation: abrir-dir 1.7s cubic-bezier(.5, 0, .25, 1) 0.22s both; }
.cena[data-estado="aberto"] .porta::before { animation: sombrear 1.7s ease-in 0.15s both; }

@keyframes abrir-esq {
  0%   { transform: rotateY(0deg); }
  9%   { transform: rotateY(-6deg); }   /* destrava */
  15%  { transform: rotateY(-3deg); }   /* segura um instante */
  78%  { transform: rotateY(-88deg); }  /* abre com o peso */
  89%  { transform: rotateY(-79deg); }  /* bate no batente e volta */
  100% { transform: rotateY(-84deg); }
}
@keyframes abrir-dir {
  0%   { transform: rotateY(0deg); }
  9%   { transform: rotateY(6deg); }
  15%  { transform: rotateY(3deg); }
  78%  { transform: rotateY(88deg); }
  89%  { transform: rotateY(79deg); }
  100% { transform: rotateY(84deg); }
}
@keyframes sombrear {
  0%   { opacity: 0; }
  70%  { opacity: 1; }
  100% { opacity: 1; }
}

/* Fechando (só depois de ter aberto uma vez, para não animar ao carregar a página) */
.cena.ja-abriu[data-estado="fechado"] .porta--esq { animation: fechar-esq 0.9s cubic-bezier(.55, 0, .7, .4) both; }
.cena.ja-abriu[data-estado="fechado"] .porta--dir { animation: fechar-dir 0.9s cubic-bezier(.55, 0, .7, .4) 0.05s both; }
@keyframes fechar-esq {
  0%   { transform: rotateY(-84deg); }
  85%  { transform: rotateY(2deg); }
  100% { transform: rotateY(0deg); }
}
@keyframes fechar-dir {
  0%   { transform: rotateY(84deg); }
  85%  { transform: rotateY(-2deg); }
  100% { transform: rotateY(0deg); }
}

/* Luz de dentro acende oscilando, como lâmpada ligando */
.luz-interna { opacity: 0; background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(255, 230, 170, 0.24), transparent); }
.cena[data-estado="aberto"] .luz-interna { animation: acender 1.4s ease-out 0.5s both; }
@keyframes acender {
  0%   { opacity: 0; }
  20%  { opacity: 1; }
  30%  { opacity: 0.2; }
  45%  { opacity: 0.95; }
  55%  { opacity: 0.5; }
  100% { opacity: 1; }
}

.cena[data-estado="aberto"] .armario {
  cursor: default;
  transform: scale(0.82) translateY(-2vh);
  transition-delay: 1.1s;
}
.cena[data-estado="aberto"] .armario::before {
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.8)) brightness(0.5);
  transition-delay: 1.1s;
}
.frente::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s;
}
.cena[data-estado="aberto"] .frente::after { opacity: 0.5; transition-delay: 1.1s; }
.cena[data-estado="aberto"] .botao-abrir {
  opacity: 0;
  pointer-events: none;
  animation: none;
  transform: translateX(-50%) translateY(20px);
}

/* ---------- Escudos das ligas ---------- */

.ligas {
  position: absolute;
  inset: 0;
  display: flex;
  flex-wrap: wrap;
  align-content: safe center;
  overflow: hidden;
  scrollbar-width: none;
  justify-content: center;
  /* Tudo precisa caber na tela sem rolar: os tamanhos acompanham a altura */
  gap: clamp(10px, 2.2vh, 26px) clamp(10px, 2vw, 26px);
  padding: 20px 16px;
  max-width: 980px;
  margin: 0 auto;
  pointer-events: none;
}
.cena[data-estado="aberto"] .ligas { pointer-events: auto; overflow-y: auto; }

.liga {
  --dx: 0px;
  --dy: 0px;
  --atraso: 0ms;
  width: clamp(84px, 15vh, 150px);
  background: none;
  border: none;
  color: var(--texto);
  font: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  /* Parte do centro do armário, pequenininho */
  transform: translate(var(--dx), var(--dy)) scale(0.2) rotate(-20deg);
  transition:
    transform 0.8s cubic-bezier(.2, 1.3, .4, 1) var(--atraso),
    opacity 0.4s ease var(--atraso);
}
.cena[data-estado="fechado"] .liga { transition-delay: 0s; }
.cena[data-estado="aberto"] .liga {
  opacity: 1;
  transform: none;
}
.liga:hover .medalha,
.liga:focus-visible .medalha { transform: translateY(-6px) scale(1.06); }
.liga:focus-visible { outline: none; }

.liga__nome {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(18px, 2.4vw, 22px);
  letter-spacing: 0.06em;
  line-height: 1;
  text-align: center;
}
.liga__pais {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--texto-suave);
  margin-top: 4px;
}

/* Medalha redonda da liga */
.medalha {
  --c1: #333;
  --c2: #fff;
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.35), transparent 45%),
    conic-gradient(from 210deg, var(--c1), color-mix(in srgb, var(--c1) 60%, #000), var(--c1));
  box-shadow:
    0 0 0 4px var(--fundo),
    0 0 0 7px var(--dourado),
    0 14px 30px rgba(0, 0, 0, 0.7),
    0 0 40px color-mix(in srgb, var(--c1) 45%, transparent);
  transition: transform 0.3s cubic-bezier(.2, 1.4, .4, 1);
  overflow: hidden;
}
.medalha img { width: 66%; height: 66%; object-fit: contain; position: relative; }
/* Logo real da liga sobre um disco claro, para qualquer cor de logo aparecer */
.medalha--logo {
  background: radial-gradient(circle at 35% 30%, #ffffff, #ece6d9 60%, #cfc6b3);
}
.medalha__sigla {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(30px, 6vw, 48px);
  letter-spacing: 0.04em;
  color: var(--c2);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* ---------- Painel (times / camisas) ---------- */

.painel {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, color-mix(in srgb, var(--cor-liga, #d8b25a) 22%, transparent), transparent 70%),
    var(--fundo-2);
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(.65, 0, .25, 1);
  visibility: hidden;
}
.painel.aberto { transform: none; visibility: visible; }

.painel__topo {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.voltar {
  width: 42px; height: 42px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: var(--texto);
  font-size: 20px;
  cursor: pointer;
}
.voltar:hover { background: rgba(255, 255, 255, 0.1); }
.painel__titulo { flex: 1; min-width: 0; }
.painel__titulo small {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--texto-suave);
}
.painel__titulo h1 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 5vw, 40px);
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.marca {
  font-family: "Bebas Neue", sans-serif;
  font-size: 20px;
  letter-spacing: 0.08em;
  color: var(--dourado);
}
.marca b { color: #e04545; }

.painel__conteudo {
  flex: 1;
  overflow-y: auto;
  padding: 28px 16px 60px;
}

.grade {

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 18px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Cartão de time */
.time {
  width: 140px;
  background: none;
  border: none;
  color: var(--texto);
  font: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: surgir 0.5s cubic-bezier(.2, 1.2, .4, 1) both;
  animation-delay: var(--atraso, 0ms);
}
.time__escudo {
  width: 100px;
  height: 116px;
  transition: transform 0.3s cubic-bezier(.2, 1.4, .4, 1);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.6));
}
.time__escudo img { width: 100%; height: 100%; object-fit: contain; }
.time:hover .time__escudo,
.time:focus-visible .time__escudo { transform: translateY(-5px) scale(1.07); }
.time__nome { font-weight: 600; font-size: 14px; text-align: center; }

@keyframes surgir {
  from { opacity: 0; transform: translateY(24px) scale(0.85); }
}

/* Cartão de camisa */
.camisa {
  width: min(240px, calc(50% - 9px));
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: surgir 0.5s cubic-bezier(.2, 1.2, .4, 1) both;
  animation-delay: var(--atraso, 0ms);
}
.camisa__foto {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.08), transparent 70%);
}
.camisa__foto img { width: 100%; height: 100%; object-fit: cover; }
.camisa__foto svg { width: 70%; }
.camisa__info { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; }
.camisa__nome { font-weight: 600; font-size: 14px; }
.camisa__preco { color: var(--dourado); font-weight: 700; }
.pedir {
  margin-top: 4px;
  padding: 9px 12px;
  border-radius: 8px;
  border: none;
  background: var(--verde);
  color: #04140b;
  font: inherit;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}
.pedir[aria-disabled="true"] { opacity: 0.4; cursor: default; }


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}

/* ---------- Página do time ---------- */

.destaque {
  max-width: 760px;
  margin: 0 auto 36px;
  display: flex;
  align-items: center;
  gap: 28px;
  animation: surgir 0.5s cubic-bezier(.2, 1.2, .4, 1) both;
}
.destaque__escudo {
  flex: none;
  width: 170px;
  height: 170px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.7));
}
.destaque__escudo img,
.destaque__escudo svg { max-width: 100%; max-height: 100%; object-fit: contain; }
.destaque__texto h2 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-size: 30px;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.destaque__texto p { color: var(--texto-suave); line-height: 1.5; margin-bottom: 16px; }
.pedir--grande { display: inline-block; padding: 13px 22px; font-size: 15px; border-radius: 10px; }

.grade + .como { margin-top: 36px; }

.como {
  max-width: 760px;
  margin: 0 auto;
  padding: 22px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: surgir 0.5s cubic-bezier(.2, 1.2, .4, 1) 120ms both;
}
.como h3 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 0.05em;
  color: var(--dourado);
  margin-bottom: 14px;
}
.como ol { padding-left: 20px; display: grid; gap: 10px; line-height: 1.5; }
.como b { color: var(--texto); }
.como li { color: var(--texto-suave); }
.contato { display: table; margin: 18px auto 0; }
.como__nota { margin-top: 16px; font-size: 13px; color: var(--texto-suave); line-height: 1.5; }

@media (max-width: 560px) {
  .destaque { flex-direction: column; text-align: center; gap: 16px; }
  .destaque__escudo { width: 130px; height: 130px; }
}

/* ---------- Vitrine (fotos do álbum) ---------- */

.vitrine { max-width: 1000px; margin: 0 auto 36px; }
.vitrine__aviso { text-align: center; color: var(--texto-suave); padding: 24px 0; }
.vitrine__mes {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--dourado);
  text-transform: capitalize;
  margin: 26px 2px 10px;
}
.vitrine__grade {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}
.foto {
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}
.foto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.foto:hover img, .foto:focus-visible img { transform: scale(1.05); }
.vitrine__rodape { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }
.mais {
  padding: 11px 18px;
  border-radius: 10px;
  border: 1px solid rgba(216, 178, 90, 0.5);
  background: rgba(216, 178, 90, 0.08);
  color: var(--dourado-claro);
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
}

@media (max-width: 560px) {
  .vitrine__grade { grid-template-columns: repeat(3, 1fr); gap: 5px; }
  .foto { border-radius: 6px; }
}

/* ---------- Foto ampliada ---------- */

.visor {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  gap: 14px;
  padding: 56px 12px 24px;
  background: rgba(0, 0, 0, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.visor.aberto { opacity: 1; visibility: visible; }
.visor__figura { display: flex; flex-direction: column; align-items: center; gap: 10px; min-height: 0; max-height: 100%; }
.visor__figura img { max-width: min(92vw, 900px); max-height: calc(100dvh - 190px); object-fit: contain; border-radius: 8px; }
.visor__figura figcaption { color: var(--texto-suave); font-size: 13px; text-align: center; }
.visor__fechar, .visor__seta {
  position: absolute;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
}
.visor__fechar { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 18px; }
.visor__seta { top: 50%; width: 44px; height: 44px; font-size: 28px; line-height: 1; transform: translateY(-50%); }
.visor__seta--ant { left: 10px; }
.visor__seta--prox { right: 10px; }

/* Celular: todas as ligas em fileiras de 4, sem precisar rolar a tela */
@media (max-width: 600px) {
  .ligas { gap: clamp(8px, 1.8vh, 18px) 8px; padding: 16px 10px; }
  .liga { width: calc((100% - 3 * 8px) / 4); gap: 6px; }
  .medalha {
    width: min(86%, 11vh);
    box-shadow:
      0 0 0 3px var(--fundo),
      0 0 0 5px var(--dourado),
      0 8px 18px rgba(0, 0, 0, 0.7),
      0 0 24px color-mix(in srgb, var(--c1) 45%, transparent);
  }
  .liga__nome { font-size: 13px; letter-spacing: 0.03em; }
  .liga__pais { font-size: 8px; letter-spacing: 0.06em; margin-top: 2px; }
}
