/* Fabric — demo da Outder.
   Noite, flash e funk: preto, branco-osso e o amarelo do Baile do Panda.
   Archivo variável (o eixo de largura é a assinatura) + JetBrains Mono para dados. */

:root {
  --ink: #0b0b0c;
  --ink-2: #151517;
  --ink-3: #222226;
  --bone: #f2efe7;
  --mute: #8f8c84;
  --line: rgba(242, 239, 231, .14);
  --panda: #ffd43b;
  --pad: clamp(16px, 4vw, 56px);
  --topo: 64px;
  --ease: cubic-bezier(.2, .7, 0, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --fs-titulo: clamp(3.4rem, 11vw, 10.5rem);
  --fs-grande: clamp(1.6rem, 3.6vw, 3.2rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--topo); }
html.trava { overflow: hidden; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: 'Archivo', system-ui, sans-serif;
  font-stretch: 100%;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* Grão de película por cima de tudo */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  animation: grao .9s steps(4) infinite;
}
@keyframes grao {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); }
  75% { transform: translate(-2%, -1%); }
}

[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--panda); outline-offset: 3px; }
::selection { background: var(--panda); color: var(--ink); }

.mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.5;
}
.nota { color: var(--mute); }
.encaixa { display: block; width: max-content; white-space: nowrap; }

/* ---------- Botões ---------- */
.btn {
  --b: var(--bone);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 44px;
  padding: .7em 1.2em;
  font-family: 'JetBrains Mono', monospace;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid var(--b);
  border-radius: 999px;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s, transform .3s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--panda { background: var(--panda); color: var(--ink); --b: var(--panda); }
.btn--panda:hover { background: var(--bone); --b: var(--bone); }
.btn--linha:hover { background: var(--bone); color: var(--ink); }
.btn--preto { background: var(--ink); color: var(--panda); --b: var(--ink); }
.btn--preto:hover { background: transparent; color: var(--ink); }
.btn--linha-preta { --b: var(--ink); color: var(--ink); }
.btn--linha-preta:hover { background: var(--ink); color: var(--panda); }
.btn--grande { min-height: 56px; padding: 1em 1.8em; font-size: .85rem; }
.btn:disabled { opacity: .35; pointer-events: none; }
.ligacao {
  font-family: 'JetBrains Mono', monospace;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  min-height: 32px;
}
.ligacao:hover { color: var(--panda); }

.chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .55em 1em;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background .25s, color .25s, border-color .25s;
}
.chip:hover { border-color: var(--bone); }
.chip[aria-pressed="true"] { background: var(--bone); color: var(--ink); border-color: var(--bone); }

/* ---------- Fotos: enquanto não há foto, fica a luz da pista ---------- */
.foto {
  --h: 330;
  position: relative;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 25% 20%, hsl(var(--h) 95% 58% / .55), transparent 62%),
    radial-gradient(80% 60% at 85% 85%, hsl(calc(var(--h) + 50) 95% 52% / .38), transparent 60%),
    radial-gradient(60% 40% at 60% 45%, rgba(255, 255, 255, .08), transparent 70%),
    #121214;
}
.foto img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.foto__ph {
  position: absolute;
  left: 10px;
  bottom: 8px;
  font: 400 .62rem/1 'JetBrains Mono', monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

/* ---------- Abertura ---------- */
.pre { display: none; }
.com-pre .pre {
  animation: pre-sai .01s 4s forwards;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--ink);
}
@keyframes pre-sai { to { opacity: 0; visibility: hidden; } }
.pre__marca { font-weight: 900; font-stretch: 125%; font-size: clamp(2.4rem, 7vw, 5rem); letter-spacing: -.02em; line-height: 1; }
.pre__bpm { color: var(--panda); font-size: .85rem; }

/* ---------- Cursor (só com rato) ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  /* só o círculo; a classe entra pelo js quando o círculo já anda */
  .circulo, .circulo * { cursor: none !important; }
  .cursor {
    display: grid;
    place-items: center;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 95;
    width: 12px;
    height: 12px;
    margin: -6px 0 0 -6px;
    border-radius: 50%;
    background: #fff;
    mix-blend-mode: difference;
    border: 0; /* o popover traz borda, padding e overflow do browser */
    padding: 0;
    overflow: visible;
    pointer-events: none;
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease);
  }
  .cursor span {
    font: 600 .62rem/1 'JetBrains Mono', monospace;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #000;
    opacity: 0;
    transition: opacity .2s;
  }
  .cursor.com-texto { width: 86px; height: 86px; margin: -43px 0 0 -43px; }
  .cursor.com-texto span { opacity: 1; }
  .cursor.com-texto.pequeno { width: 43px; height: 43px; margin: -21.5px 0 0 -21.5px; }
  .cursor.escondido { width: 0; height: 0; margin: 0; }
}

/* ---------- Topo ---------- */
.topo {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--topo);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 var(--pad);
}
.topo__marca, .topo__nav { mix-blend-mode: difference; color: #fff; }
.topo__marca { font-weight: 900; font-stretch: 125%; font-size: 1.35rem; letter-spacing: -.02em; margin-right: auto; }
.topo__nav { display: flex; gap: 26px; font-size: .92rem; }
.topo__nav a { position: relative; padding: 6px 0; }
.topo__nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.topo__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.topo__menu { display: none; }
.em-panda .topo__bilhetes { background: var(--ink); color: var(--panda); --b: var(--ink); }
.em-panda .topo { background: var(--panda); }
.em-panda .topo__marca, .em-panda .topo__nav, .em-panda .topo__menu { mix-blend-mode: normal; color: var(--ink); }
.em-panda.menu-aberto .topo__nav, .em-panda.menu-aberto .topo__marca, .em-panda.menu-aberto .topo__menu { color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: minmax(0, 1fr);
  padding: calc(var(--topo) + 18px) var(--pad) 0;
  cursor: crosshair;
}
.hero__strobe { position: absolute; inset: 0; z-index: 0; }
.flash {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  aspect-ratio: 3 / 4;
  rotate: var(--r);
  opacity: .9;
  filter: saturate(.75) brightness(.8);
  transition: opacity .6s var(--ease), filter .6s var(--ease), scale .6s var(--ease);
}
/* A foto com o rato por cima acende num clarão e vem para a frente; as outras recuam */
.flash.on, .flash:hover {
  z-index: 1;
  opacity: 1;
  filter: none;
  scale: 1.04;
  transition: opacity .08s, filter .08s, scale .5s var(--ease);
  animation: acende .7s var(--ease);
}
@keyframes acende { from { filter: brightness(2.4) saturate(0); } }
.hero__strobe:has(.flash:hover) .flash:not(:hover, .on) { opacity: .35; filter: grayscale(1) brightness(.6); }
.hero__topo, .hero__meio { pointer-events: none; }
.hero__topo button, .hero__meio button { pointer-events: auto; }
.hero__flash { position: absolute; inset: 0; z-index: 3; background: #fff; opacity: 0; pointer-events: none; }

.hero__topo { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }

.hero__meio { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding-bottom: 2vw; }
.hero__linha { font-size: var(--fs-grande); font-weight: 600; font-stretch: 88%; line-height: 1.02; letter-spacing: -.01em; max-width: 14ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .5); }
.proxima {
  display: grid;
  gap: 6px;
  width: min(320px, 100%);
  padding: 18px;
  text-align: left;
  background: rgba(11, 11, 12, .62);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  transition: border-color .3s, transform .4s var(--ease);
}
.proxima:hover { border-color: var(--panda); transform: translateY(-3px); }
.proxima__rotulo { color: var(--mute); }
.proxima__nome { font-size: 1.5rem; font-weight: 800; font-stretch: 90%; line-height: 1.05; }
.proxima__contagem { color: var(--panda); font-size: .85rem; letter-spacing: .1em; }
.proxima .btn { justify-self: start; margin-top: 8px; }

.hero__marca {
  position: relative;
  z-index: 2;
  margin: 0 0 -1.2vw;
  font-weight: 900;
  font-stretch: 125%;
  font-size: 21vw;
  line-height: .8;
  letter-spacing: -.03em;
  color: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
}
.hero__dica { position: absolute; z-index: 2; right: var(--pad); bottom: 14px; color: rgba(255, 255, 255, .5); mix-blend-mode: difference; }

/* ---------- Manifesto ---------- */
.manifesto { padding: clamp(96px, 16vw, 220px) var(--pad); }
.manifesto__texto {
  max-width: 22ch;
  font-size: clamp(2rem, 5.6vw, 5.4rem);
  font-weight: 700;
  font-stretch: 80%;
  line-height: 1;
  letter-spacing: -.015em;
}
.manifesto__texto .palavra { display: inline-block; }

/* ---------- Faixa de clubes ---------- */
.faixa { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; }
.faixa__pista {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: faixa 38s linear infinite;
  font-size: clamp(1.6rem, 3.6vw, 3rem);
  font-weight: 900;
  font-stretch: 62%;
  text-transform: uppercase;
  white-space: nowrap;
}
.faixa__pista i { font-style: normal; color: var(--panda); font-size: .55em; }
@keyframes faixa { to { transform: translateX(-50%); } }

/* ---------- Cabeças de secção ---------- */
.cabeca {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: end;
  gap: 32px;
  margin-bottom: clamp(32px, 5vw, 64px);
}
.titulo {
  margin: 0;
  font-size: var(--fs-titulo);
  font-weight: 900;
  font-stretch: 62%;
  line-height: .84;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.cabeca__lado { display: grid; gap: 10px; max-width: 40ch; font-size: 1.05rem; color: #cfccc4; padding-bottom: 8px; }

/* ---------- Datas ---------- */
.datas { padding: clamp(96px, 12vw, 180px) var(--pad); }
.filtros { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.datas__lista { border-top: 1px solid var(--line); }
.data[hidden] { display: none; }
.data__btn {
  position: relative;
  isolation: isolate;
  width: 100%;
  display: grid;
  grid-template-columns: 110px minmax(0, 1.7fr) minmax(0, 1fr) 120px 150px 110px;
  align-items: center;
  gap: 20px;
  padding: 22px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  transition: color .35s var(--ease);
}
.data__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--panda);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .45s var(--ease);
}
.data__btn:hover, .data__btn:focus-visible { color: var(--ink); }
.data__btn:hover::before, .data__btn:focus-visible::before { transform: scaleY(1); }
.data__btn:hover .mono, .data__btn:hover .chip-estado { color: var(--ink); border-color: var(--ink); }
.data__dia { display: grid; grid-template-columns: auto auto; align-items: end; column-gap: 10px; line-height: 1; }
.data__dia b { grid-row: span 2; font-size: 3.4rem; font-weight: 900; font-stretch: 62%; line-height: .8; }
.data__dia .mono { color: var(--mute); }
.data__nome { display: grid; gap: 4px; font-size: clamp(1.3rem, 2.4vw, 2.1rem); font-weight: 800; font-stretch: 85%; line-height: 1; }
.data__nome .mono { font-weight: 400; color: var(--mute); }
.data__sitio { line-height: 1.25; }
.data__sitio .mono { color: var(--mute); }
.data__preco { color: var(--bone); }
.chip-estado {
  justify-self: start;
  font: 600 .66rem/1 'JetBrains Mono', monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .55em .8em;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.chip-estado--ultimos { border-color: var(--panda); color: var(--panda); }
.chip-estado--esgotado { color: var(--mute); text-decoration: line-through; }
.data__cta { justify-self: end; font: 600 .78rem/1 'JetBrains Mono', monospace; letter-spacing: .06em; text-transform: uppercase; }
.data--esgotado .data__nome, .data--esgotado .data__dia b { opacity: .45; }

/* ---------- Baile do Panda ---------- */
.panda {
  position: relative;
  isolation: isolate;
  color: var(--ink);
  padding: clamp(96px, 12vw, 180px) 0 clamp(80px, 10vw, 140px);
}
.panda__cabeca, .panda__pede { margin-inline: var(--pad); }
.panda__fundo { position: absolute; inset: 0; z-index: -1; background: var(--panda); }
.panda .mono { color: var(--ink); }
.panda__cabeca { position: relative; }
.panda__marca { position: relative; margin: 18px 0 0; font-weight: 900; font-stretch: 62%; font-size: 30vw; line-height: .78; letter-spacing: -.01em; overflow: hidden; }
.panda__marca .encaixa { will-change: transform; }
.panda__baile {
  position: absolute;
  z-index: 1;
  left: 4%;
  top: 34%;
  font-size: .22em;
  font-weight: 300;
  font-stretch: 125%;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--panda);
  background: var(--ink);
  padding: .02em .14em .1em;
  rotate: -7deg;
}
.panda__texto {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px 48px;
  margin: clamp(40px, 6vw, 80px) var(--pad);
  font-size: 1.1rem;
  max-width: 1200px;
}
.panda__lema { grid-row: span 2; font-size: var(--fs-grande); font-weight: 800; font-stretch: 85%; line-height: 1; letter-spacing: -.01em; }
.numeros { display: flex; gap: clamp(24px, 5vw, 64px); margin: 0; }
.numeros div { display: grid; }
.numeros dt { order: 2; font: 400 .72rem/1.4 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: .06em; }
.numeros dd { margin: 0; font-size: clamp(3.4rem, 7vw, 6rem); font-weight: 900; font-stretch: 62%; line-height: .9; }

.galeria { overflow: hidden; padding: 0 var(--pad); }
.galeria__pista { display: flex; gap: clamp(12px, 2vw, 28px); width: max-content; }
.galeria__pista li { width: clamp(220px, 26vw, 420px); }
.galeria__pista .foto { aspect-ratio: 3 / 4; }
.galeria__pista .mono { margin-top: 10px; }

.panda__pede { display: grid; gap: 18px; max-width: 760px; margin-top: clamp(56px, 8vw, 110px); font-size: 1.1rem; }
.panda__pede-titulo { font-size: clamp(2.4rem, 6vw, 5.2rem); font-weight: 900; font-stretch: 62%; line-height: .98; text-transform: uppercase; }
.acoes { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Outras festas ---------- */
.festas { padding: clamp(96px, 12vw, 180px) var(--pad); }
.festas__lista { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.festa { display: grid; align-content: start; gap: 10px; }
.festa .foto { aspect-ratio: 4 / 5; margin-bottom: 8px; }
.festa .foto img { transition: transform 1.2s var(--ease); }
.festa:hover .foto img { transform: scale(1.06); }
.festa h3 { margin: 0; font-size: clamp(2.4rem, 4.6vw, 4.4rem); font-weight: 900; font-stretch: 62%; line-height: .9; text-transform: uppercase; transition: font-stretch .5s var(--ease); }
.festa:hover h3 { font-stretch: 100%; }
.festa .mono { color: var(--panda); }
.festa p:not(.mono) { color: #cfccc4; max-width: 34ch; }
.festa .ligacao { justify-self: start; margin-top: 6px; }

/* ---------- Artistas ---------- */
.artistas { padding: clamp(96px, 12vw, 180px) var(--pad); }
.artistas__lista { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.artista { width: 100%; display: grid; gap: 8px; text-align: left; }
.artista__foto { display: block; aspect-ratio: 4 / 5; }
.artista__foto img { filter: grayscale(1) contrast(1.15) brightness(.92); transition: filter .5s, scale .9s var(--ease); }
.artista:hover .artista__foto img { filter: none; scale: 1.04; }
.artista__nome {
  margin-top: 8px;
  font-size: clamp(2.6rem, 4.6vw, 5rem);
  font-weight: 900;
  font-stretch: 62%;
  line-height: .9;
  text-transform: uppercase;
  transition: color .3s;
}
.artista__tags { color: var(--mute); }
.artista:hover .artista__nome, .artista:focus-visible .artista__nome { color: var(--panda); }
.artistas__lista:hover .artista:not(:hover) .artista__nome { color: var(--ink-3); }

/* ---------- Booking ---------- */
.booking { padding: clamp(96px, 12vw, 180px) var(--pad); border-top: 1px solid var(--line); }
.booking__grelha { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.portas { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); margin-bottom: 32px; }
.portas button {
  padding: 18px 16px;
  min-height: 64px;
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  font-weight: 800;
  font-stretch: 85%;
  text-align: left;
  color: var(--mute);
  transition: background .3s, color .3s;
}
.portas button[aria-selected="true"] { background: var(--bone); color: var(--ink); }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; margin-bottom: 32px; }
.campo { display: grid; gap: 8px; }
.campo--largo { grid-column: 1 / -1; }
.campo[hidden] { display: none; }
.campo .mono { color: var(--mute); }
.campo input, .campo select, .campo textarea {
  width: 100%;
  min-height: 48px;
  padding: 8px 0;
  font: 500 1.15rem/1.3 'Archivo', sans-serif;
  color: var(--bone);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  transition: border-color .3s;
  color-scheme: dark;
}
.campo select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23f2efe7' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") right 4px center / 12px no-repeat; padding-right: 24px; }
.campo select option { background: var(--ink-2); color: var(--bone); }
.campo textarea { resize: vertical; }
.campo input::placeholder, .campo textarea::placeholder { color: #5d5b56; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--panda); }
.campo input.erro { border-color: #ff6b4a; }
.pedido__ok { display: grid; gap: 8px; margin-top: 28px; padding: 24px; border: 1px solid var(--panda); }
.pedido__ok-titulo { font-size: 2rem; font-weight: 900; font-stretch: 62%; text-transform: uppercase; color: var(--panda); }

.direto { display: grid; gap: 10px; }
.direto__foto { aspect-ratio: 4 / 5; max-width: 360px; margin-bottom: 10px; }
.direto .mono { color: var(--mute); }
.direto__nome { font-size: 3rem; font-weight: 900; font-stretch: 62%; line-height: .9; text-transform: uppercase; }
.direto__lista { margin-top: 18px; border-top: 1px solid var(--line); }
.direto__lista a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  transition: color .25s, padding .35s var(--ease);
}
.direto__lista a:hover { color: var(--panda); padding-left: 8px; }

/* ---------- Avisa-me ---------- */
.avisa { padding: clamp(80px, 10vw, 140px) var(--pad); background: var(--ink-2); }
.avisa__titulo { max-width: 16ch; margin-bottom: 36px; font-size: clamp(2.4rem, 6vw, 5.6rem); font-weight: 900; font-stretch: 62%; line-height: .9; text-transform: uppercase; }
.avisa__form { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 24px; align-items: end; max-width: 1100px; }
.avisa__ok { grid-column: 1 / -1; color: var(--panda); }

/* ---------- Pé ---------- */
.pe { padding: clamp(64px, 8vw, 120px) var(--pad) 28px; }
.pe__marca { font-weight: 900; font-stretch: 125%; font-size: 21vw; line-height: .8; letter-spacing: -.03em; margin-bottom: 40px; }
.pe__grelha { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.pe__grelha .mono { color: var(--mute); }
.pe__grelha a:hover { color: var(--panda); }
.pe__grelha li + li { margin-top: 6px; }
.pe__fim { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; margin-top: 48px; color: var(--mute); }
.creditos { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; transition: color .3s; }
.creditos:hover { color: var(--panda); }
/* A marca do estúdio é uma máscara: pinta com currentColor, não há versão clara e escura */
.creditos__m { width: 116px; aspect-ratio: 420 / 61; background-color: currentColor; color: var(--bone);
  -webkit-mask: url('../assets/img/outder-marca.png') center / contain no-repeat;
          mask: url('../assets/img/outder-marca.png') center / contain no-repeat; }
.creditos:hover .creditos__m { color: var(--panda); }
.u-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Barra fixa (telemóvel) ---------- */
.barra { display: none; }

/* ---------- Painéis (bilhetes e artistas) ---------- */
.painel {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(540px, 100vw);
  max-width: 100vw;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--ink-2);
  color: var(--bone);
  transform: translateX(100%);
  transition: transform .5s var(--ease);
}
.painel.on { transform: none; }
.painel::backdrop { background: rgba(0, 0, 0, 0); transition: background .4s; }
.painel.on::backdrop { background: rgba(0, 0, 0, .66); }
.painel__corpo { display: grid; align-content: start; gap: 22px; height: 100%; overflow-y: auto; padding: 0 28px 28px; }
.painel__topo {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 64px;
  margin: 0 -28px;
  padding: 0 28px;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
}
.fechar { width: 44px; height: 44px; margin-right: -12px; font-size: 1.1rem; }
.fechar:hover { color: var(--panda); }
.passos { color: var(--panda); }
.painel__pe { color: var(--mute); text-align: center; padding-top: 6px; }

.evento { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; }
.evento__foto { aspect-ratio: 3 / 4; }
.evento__quando, .evento__cartaz { color: var(--mute); }
.evento__nome { font-size: 1.9rem; font-weight: 900; font-stretch: 70%; line-height: .95; text-transform: uppercase; margin: 4px 0; }

.tipos { border-top: 1px solid var(--line); }
.tipo { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.tipo b { display: block; font-size: 1.1rem; }
.tipo small { display: block; color: var(--mute); font-size: .85rem; }
.tipo .mono { color: var(--panda); }
.tipo--esgotado b, .tipo--esgotado .mono { color: var(--mute); text-decoration: line-through; }
.passo-a-passo { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.passo-a-passo button { width: 44px; height: 44px; font-size: 1.2rem; }
.passo-a-passo button:hover { color: var(--panda); }
.passo-a-passo button:disabled { opacity: .25; cursor: default; }
.passo-a-passo output { min-width: 24px; text-align: center; font: 600 .95rem/1 'JetBrains Mono', monospace; }
.rrpp__ok { color: var(--panda); margin-top: -6px; }
.rrpp input { text-transform: uppercase; letter-spacing: .08em; }
.total { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 6px; }
.total p { display: grid; }
.total b { font-size: 1.9rem; font-weight: 900; font-stretch: 70%; line-height: 1; }
.espera { display: grid; gap: 14px; padding: 20px; border: 1px solid var(--line); }
.espera__titulo { font-size: 2rem; font-weight: 900; font-stretch: 62%; text-transform: uppercase; color: var(--panda); }
.espera__ok { color: var(--panda); }
.passo[data-passo="1"].sem-venda .tipos, .passo[data-passo="1"].sem-venda .rrpp, .passo[data-passo="1"].sem-venda .total { display: none; }

.resumo { border-top: 1px solid var(--line); }
.resumo li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.resumo li:last-child { font-weight: 800; }
.metodos__rotulo { color: var(--mute); margin-bottom: -8px; }
.metodos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.metodos button { min-height: 56px; border: 1px solid var(--line); font-weight: 700; transition: border-color .25s, background .25s; }
.metodos button[aria-checked="true"] { border-color: var(--panda); background: rgba(255, 212, 59, .08); }
.a-pagar { position: relative; color: transparent !important; }
.a-pagar::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--ink); border-right-color: transparent; border-radius: 50%; animation: roda .7s linear infinite; }
@keyframes roda { to { rotate: 360deg; } }

.bilhete { display: grid; justify-items: center; gap: 18px; padding: 24px; background: var(--bone); color: var(--ink); text-align: center; border-radius: 14px; position: relative; }
.bilhete::before, .bilhete::after { content: ""; position: absolute; top: 58%; width: 26px; height: 26px; border-radius: 50%; background: var(--ink-2); }
.bilhete::before { left: -13px; }
.bilhete::after { right: -13px; }
.bilhete__nome { font-size: 2rem; font-weight: 900; font-stretch: 70%; line-height: .95; text-transform: uppercase; margin: 6px 0; }
.bilhete__itens { margin-top: 8px; }
.bilhete__qr { width: min(220px, 70%); aspect-ratio: 1; }
.bilhete__qr svg { width: 100%; height: 100%; }
.bilhete__ref { letter-spacing: .2em; }

.ficha__foto { width: calc(100% + 56px); height: min(52vh, 480px); margin: -22px -28px 0; }
.ficha__nome { font-size: clamp(3.4rem, 10vw, 5.6rem); font-weight: 900; font-stretch: 62%; line-height: .85; text-transform: uppercase; color: var(--panda); }
.ficha__quem { color: var(--mute); margin-top: -10px; }
.ficha__bio { font-size: 1.1rem; }
.ficha__tocou .mono { color: var(--mute); margin-bottom: 10px; }
.ficha__tocou ul { display: flex; flex-wrap: wrap; gap: 8px; }
.ficha__tocou li { padding: .45em .8em; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; }
.ficha__tocou[hidden] { display: none; }
.ficha__links { display: flex; flex-wrap: wrap; gap: 16px; }
.ficha__links a { border-bottom: 1px solid currentColor; }
.ficha__links a:hover { color: var(--panda); }

.aviso-demo {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 120;
  translate: -50% 20px;
  opacity: 0;
  padding: 12px 18px;
  background: var(--bone);
  color: var(--ink);
  border-radius: 999px;
  font: 600 .72rem/1 'JetBrains Mono', monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
  pointer-events: none;
  transition: opacity .3s, translate .4s var(--ease);
}
.aviso-demo.on { opacity: 1; translate: -50% 0; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .data__btn { grid-template-columns: 96px minmax(0, 1.6fr) minmax(0, 1fr) 140px 100px; }
  .data__preco { display: none; }
}

/* ---------- Telemóvel ---------- */
@media (max-width: 767px) {
  :root { --topo: 56px; }
  .topo { gap: 10px; }
  .topo__bilhetes { min-height: 38px; padding: .5em 1em; font-size: .7rem; }
  .topo__menu { display: block; min-height: 44px; padding: 0 4px; mix-blend-mode: difference; color: #fff; }
  .topo__nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 0 var(--pad);
    background: var(--ink);
    mix-blend-mode: normal;
    font-size: 3.4rem;
    font-weight: 900;
    font-stretch: 62%;
    text-transform: uppercase;
    line-height: 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s;
  }
  .menu-aberto .topo__nav { opacity: 1; visibility: visible; }

  .hero { min-height: 560px; padding-bottom: 0; cursor: auto; grid-template-rows: auto auto 1fr; }
  .hero__marca { order: 1; margin: 22px 0 0; }
  .hero__meio { order: 2; align-self: end; }
  /* Sem rato: as fotos não recebem toques (nada de :hover preso); o toque vai para o hero e troca a foto */
  .hero__strobe { pointer-events: none; }
  .flash { left: 0; top: 0; width: 100%; height: 100%; aspect-ratio: auto; rotate: 0deg; opacity: 0; transition: opacity .9s var(--ease); }
  .flash.on { opacity: .78; filter: none; scale: 1; transition: opacity .9s var(--ease); }
  /* A noite-03 é quase só fumo claro: sem isto o FABRIC (difference) fica cinzento por cima dela */
  .flash--fumo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11, 11, 12, .8) 8%, rgba(11, 11, 12, 0) 52%); }
  .hero__strobe::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 12, .55), rgba(11, 11, 12, .1) 40%, rgba(11, 11, 12, .85)); }
  .hero__meio { flex-direction: column; align-items: stretch; gap: 20px; padding-bottom: 18px; justify-content: flex-end; }
  .hero__linha { font-size: 2rem; }
  .proxima { width: 100%; grid-template-columns: 1fr auto; align-items: center; padding: 14px 16px; }
  .proxima__rotulo, .proxima__nome, .proxima__quando, .proxima__contagem { grid-column: 1; }
  .proxima .btn { grid-column: 2; grid-row: 1 / span 4; align-self: center; margin: 0; }
  .proxima__nome { font-size: 1.25rem; }
  .hero__marca { font-size: 22vw; }
  .hero__dica { display: none; }

  .cabeca { grid-template-columns: 1fr; gap: 18px; }
  .filtros { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scrollbar-width: none; }
  .filtros::-webkit-scrollbar { display: none; }
  .chip { flex: none; }

  .data__btn { grid-template-columns: 58px minmax(0, 1fr) auto; gap: 6px 14px; padding: 18px 4px; }
  .data__dia { grid-row: span 3; grid-template-columns: 1fr; align-self: start; row-gap: 4px; }
  .data__dia b { grid-row: auto; font-size: 2.8rem; order: 2; }
  .data__dia .mono:last-child { order: 3; }
  .data__nome { grid-column: 2; font-size: 1.35rem; }
  .data__sitio { grid-column: 2; font-size: .95rem; }
  .data__sitio br { display: none; }
  .data__sitio .mono::before { content: " · "; }
  .data__preco { display: block; grid-column: 2; font-size: .7rem; }
  .chip-estado { grid-column: 3; grid-row: 1; justify-self: end; align-self: start; font-size: .58rem; }
  .data__cta { grid-column: 3; grid-row: 3; font-size: .7rem; }

  .panda__marca { font-size: 38vw; }
  .panda__baile { top: 30%; }
  .panda__texto { grid-template-columns: 1fr; }
  .panda__lema { grid-row: auto; }
  .galeria { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .galeria::-webkit-scrollbar { display: none; }
  .galeria__pista li { width: 72vw; scroll-snap-align: center; }

  .festas__lista { grid-template-columns: 1fr; gap: 48px; }

  .artistas__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .artista__nome { font-size: 10vw; }
  .artistas__lista:hover .artista:not(:hover) .artista__nome { color: inherit; }

  .booking__grelha { grid-template-columns: 1fr; }
  .campos { grid-template-columns: 1fr; }
  .portas button { font-size: 1rem; }
  .btn--grande { width: 100%; }

  .avisa__form { grid-template-columns: 1fr; }
  .avisa__form .btn { width: 100%; min-height: 52px; }

  .pe__marca { font-size: 22vw; }
  .pe__grelha { grid-template-columns: 1fr 1fr; }
  .pe__grelha > p { grid-column: 1 / -1; }
  .pe { padding-bottom: 96px; }

  .barra {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 45;
    padding: 10px 10px 10px 16px;
    background: rgba(21, 21, 23, .9);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid var(--line);
    border-radius: 999px;
    transform: translateY(calc(100% + 24px));
    transition: transform .5s var(--ease);
  }
  .barra.on { transform: none; }
  .barra p { display: grid; line-height: 1.2; min-width: 0; }
  .barra .mono { color: var(--panda); font-size: .62rem; }
  .barra b { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  .painel {
    inset: auto 0 0 0;
    width: 100%;
    height: 92svh;
    max-height: 92svh;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 18px 18px 0 0;
    transform: translateY(100%);
  }
  .painel__corpo { padding: 0 18px 24px; }
  .painel__topo { margin: 0 -18px; padding: 0 18px; }
  .ficha__foto { width: calc(100% + 36px); height: 44svh; margin: -22px -18px 0; }
  .total { flex-wrap: wrap; }
  .total .btn--grande { flex: 1 1 auto; width: auto; }
}

/* ---------- Menos movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  body::after { animation: none; }
  .faixa__pista { animation: none; }
}
