/* DJ Laroca v3 — layout inspirado no "DJ ZakDerdan", paleta roxa da v2 */
:root {
  --ink: #060408;
  --deep: #120a18;
  --violet: #9b30ff;
  --neon: #d966ff;
  --lilac: #f0e8ff;
  --dim: #a393b5;
  --line: rgba(240, 232, 255, .16);
  --sans: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(16px, 2.4vw, 40px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.menu-aberto { overflow: hidden; }
body { background: var(--ink); color: var(--lilac); font: 400 1rem/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; }
::selection { background: var(--violet); color: #fff; }

.wrap { padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: #fff; color: #000; padding: 10px 16px; border-radius: 99px; }
.skip:focus { top: 12px; }

.tag { font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.row-tags { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }

.pill {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 18px;
  border-radius: 99px; background: #fff; color: #0a0610; font-size: .82rem; font-weight: 500; white-space: nowrap;
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.pill:hover { background: var(--neon); }
.pill:active { transform: scale(.97); }
.pill-cor { background: var(--violet); color: #fff; }
.pill-cor:hover { background: var(--neon); color: #0a0610; }
.pill-linha { background: none; color: var(--lilac); box-shadow: inset 0 0 0 1px var(--line); }
.pill-linha:hover { background: var(--lilac); color: #0a0610; }
.pill-lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }

/* ---------- Topo e menu ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 40; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 14px var(--gutter); pointer-events: none;
}
.top > * { pointer-events: auto; }
.top-clock { font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--dim); mix-blend-mode: difference; }
.top-clock { transition: opacity .3s; }
.rolou .top-clock { opacity: 0; }
.top-clock span { color: #fff; font-variant-numeric: tabular-nums; margin-left: .4em; }
.top > .pill { justify-self: end; }
.top-menu { display: grid; justify-items: center; gap: 4px; min-width: 56px; min-height: 44px; font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; mix-blend-mode: difference; }
.top-menu { padding: 6px 14px; border-radius: 99px; transition: background .3s; }
.rolou .top-menu { mix-blend-mode: normal; background: rgba(6, 4, 8, .7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.bars { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.bars i { width: 2px; background: #fff; animation: eq 1.1s ease-in-out infinite alternate; }
.bars i:nth-child(1) { height: 4px; animation-delay: -.2s; }
.bars i:nth-child(2) { height: 9px; animation-delay: -.7s; }
.bars i:nth-child(3) { height: 12px; }
.bars i:nth-child(4) { height: 7px; animation-delay: -.5s; }
.bars i:nth-child(5) { height: 4px; animation-delay: -.9s; }
@keyframes eq { to { transform: scaleY(.35); } }
.bars i { transform-origin: bottom; }

.menu {
  position: fixed; inset: 0; z-index: 30; background: var(--ink); display: flex; flex-direction: column; justify-content: center;
  padding: 80px var(--gutter) 32px; animation: menu-in .45s var(--ease);
}
.menu[hidden] { display: none; }
.menu a {
  display: flex; align-items: baseline; gap: 18px; padding: .12em 0; border-bottom: 1px solid var(--line);
  font-size: clamp(2.2rem, 8.5vh, 5.5rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.1; transition: color .2s, padding .35s var(--ease);
}
.menu a:hover { color: var(--neon); padding-left: .25em; }
.menu small { font-size: .72rem; font-weight: 400; letter-spacing: .04em; color: var(--dim); }
@keyframes menu-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }

/* ---------- Hero ---------- */
.hero { position: sticky; top: 0; min-height: 100svh; display: flex; overflow: hidden; touch-action: pan-y; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; filter: saturate(1.25) contrast(1.1) brightness(.62); z-index: -2; transform: scale(calc(1 + var(--p, 0) * .08)); }
/* --p (0 a 1) = quanto o hero já foi coberto pela rolagem (js/main.js) */
.hero::after { content: ''; position: absolute; inset: 0; z-index: 5; background: var(--ink); opacity: calc(var(--p, 0) * .8); pointer-events: none; }
main > section:not(.hero) { position: relative; z-index: 1; background: var(--ink); overflow-x: clip; } /* clip: títulos que deslizam não podem alargar a página */
.sobre { box-shadow: 0 -40px 80px rgba(0, 0, 0, .7); }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(6, 4, 8, .82), rgba(6, 4, 8, .1) 42%, rgba(6, 4, 8, .35) 70%, var(--ink)),
              radial-gradient(90% 70% at 70% 45%, rgba(155, 48, 255, .28), transparent 70%);
}
.hero-video { display: none; filter: saturate(1.15) contrast(1.05) brightness(.36); }
.ink { position: absolute; left: 0; top: 0; pointer-events: none; } /* tamanho e posição: js/ink.js */
.hero-in { position: relative; flex: 1; display: flex; flex-direction: column; padding: clamp(84px, 13vh, 130px) var(--gutter) clamp(20px, 4vh, 40px); }
.logo-slot { position: relative; width: min(100%, 1060px, 76vw); margin: auto auto 0; aspect-ratio: 2048 / 590; }
.logo-slot img { position: absolute; left: 0; top: 50%; width: 100%; max-width: none; height: auto; transform: translateY(-50%); }
.ink-on .logo-slot img { opacity: 0; }
.hero-tags { display: flex; justify-content: space-between; gap: 4px 16px; white-space: nowrap; margin-top: clamp(8px, 2vh, 20px); font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; }
.hero-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.hero-foot ul { max-width: 26em; font-size: .86rem; line-height: 1.35; display: grid; gap: 8px; }
.hero-foot li::before { content: '• '; }

/* ---------- Sobre ---------- */
.sobre { padding-block: clamp(28px, 5vh, 56px) clamp(40px, 7vh, 80px); overflow: hidden; }
.statement { margin-top: clamp(28px, 6vh, 64px); max-width: 21em; font-size: clamp(1.9rem, 5.1vw, 5rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.02; text-wrap: balance; }
.sobre-foot { margin-top: clamp(48px, 10vh, 120px); display: grid; grid-template-columns: minmax(0, 22em) 1fr auto; gap: 32px clamp(24px, 6vw, 96px); align-items: end; }
.sobre-foot > p { font-size: .86rem; color: var(--dim); line-height: 1.4; }
.stats { display: flex; gap: clamp(20px, 4vw, 64px); }
.stats dt { font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; color: var(--dim); }
.stats dd { font-size: clamp(1.8rem, 3.4vw, 3.2rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.1; }
.chips { text-align: right; color: var(--dim); }
.chips ul { display: flex; gap: 6px; margin-top: 10px; justify-content: flex-end; flex-wrap: wrap; }
.chips li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; font-size: .74rem; color: var(--lilac); }

/* ---------- Som ---------- */
main > section.som { padding-block: clamp(40px, 8vh, 80px) clamp(28px, 5vh, 48px); background: linear-gradient(to bottom, var(--ink) 55%, #3a0f6e 80%, var(--violet) 93%, var(--neon)); }
.mega { margin-top: clamp(40px, 9vh, 110px); text-align: center; font-size: clamp(3.4rem, 15.5vw, 17rem); font-weight: 600; letter-spacing: -.055em; line-height: .86; text-transform: uppercase; }
.capa { position: relative; display: block; width: min(64vw, 300px); margin: clamp(20px, 3vw, 44px) auto 0; text-align: center; font-size: .82rem; color: var(--dim); }
.capa img { aspect-ratio: 1; width: 100%; height: auto; object-fit: cover; object-position: 50% 22%; transition: transform .6s var(--ease), filter .4s; }
.capa svg { position: absolute; left: 50%; top: calc((100% - 2.4em) / 2); translate: -50% -50%; color: #fff; filter: drop-shadow(0 4px 18px rgba(0, 0, 0, .6)); transition: scale .35s var(--ease); }
.capa span { display: block; margin-top: 14px; color: var(--lilac); }
.capa:hover img { transform: scale(1.03); filter: saturate(1.2); }
.capa:hover svg { scale: 1.18; }

.faixas { margin: clamp(48px, 9vh, 96px) auto 0; max-width: 1180px; }
.faixas li { display: grid; grid-template-columns: 3.2em minmax(9em, 1fr) minmax(0, 2.2fr); gap: 4px 20px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); transition: padding .4s var(--ease), background .3s; }
.faixas li:hover { padding-inline: 14px; background: rgba(240, 232, 255, .05); }
.faixas span { font-size: .7rem; color: var(--dim); font-variant-numeric: tabular-nums; }
.faixas h3 { font-size: clamp(1.05rem, 1.7vw, 1.5rem); font-weight: 500; letter-spacing: -.02em; }
.faixas p { font-size: .88rem; color: rgba(240, 232, 255, .78); line-height: 1.4; }
.player-titulo { max-width: 1180px; margin: clamp(48px, 9vh, 96px) auto 0; font-size: clamp(1.5rem, 3.4vw, 3rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; text-wrap: balance; }
.player-titulo + .player { margin-top: clamp(18px, 3vh, 32px); }
.player { display: block; width: 100%; max-width: 1180px; margin: clamp(32px, 6vh, 64px) auto 0; border: 0; border-radius: 6px; background: rgba(6, 4, 8, .5); }
.som-foot { max-width: 1180px; margin: clamp(28px, 5vh, 48px) auto 0; align-items: center; color: #12051f; font-weight: 500; }

/* ---------- Agenda, histórico ---------- */
.agenda, .historico, .galeria { padding-block: clamp(64px, 12vh, 130px) 0; }
.galeria { padding-bottom: clamp(64px, 12vh, 130px); }
/* respiro embaixo: a moldura e o brilho dos cartões passam da caixa do cartão e a seção seguinte (fundo opaco) cortava */
.agenda { padding-bottom: 48px; }
.historico { padding-top: clamp(40px, 8vh, 90px); }
main > .agenda { margin-top: -32px; border-radius: 32px 32px 0 0; }
main > section.som { padding-bottom: calc(clamp(28px, 5vh, 48px) + 32px); }
.titulo { font-size: clamp(2rem, 5.2vw, 4.6rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; text-transform: uppercase; }
.titulo em { font-style: normal; color: var(--neon); }
.nota { margin-top: 28px; font-size: .74rem; color: var(--dim); }

/* agenda: um cartão por dia */
.dias { margin-top: clamp(24px, 4vh, 44px); display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 30px 28px; }
.dia { display: grid; align-content: start; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(240, 232, 255, .03); transition: border-color .3s, background .3s, translate .4s var(--ease); }
.dia:hover { border-color: var(--violet); background: rgba(155, 48, 255, .1); translate: 0 -4px; }
.dia { min-width: 0; position: relative; isolation: isolate; }
.dia header { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.dia-n { font-size: clamp(2.6rem, 4vw, 3.6rem); font-weight: 600; letter-spacing: -.05em; line-height: .9; font-variant-numeric: tabular-nums; }
.dia-m { font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--dim); white-space: pre-line; line-height: 1.25; }
.dia-s { margin-left: auto; padding: 4px 10px; border: 1px solid var(--line); border-radius: 99px; font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; color: var(--neon); white-space: nowrap; }
/* sempre o local em cima e a cidade embaixo */
.dia li { display: grid; justify-items: start; gap: 1px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.dia b { font-weight: 500; }
.dia li > * { min-width: 0; overflow-wrap: anywhere; }
.dia li span { font-size: .78rem; color: var(--dim); }
.dia.livre { border-style: dashed; border-color: var(--violet); }
.dia.livre p { font-size: .86rem; color: var(--dim); line-height: 1.4; }
.dia.livre .pill { justify-self: start; }
/* dia que ainda vai acontecer: moldura "sigilo" (ramos finos emaranhados com espinhos, estilo neo-tribal / gótico),
   gerada por extras/molduras/gerar_sigilo.py. ::before = moldura de 9 fatias; ::after = ornamento no meio de cima e de baixo.
   Sem fundo: no hover só o desenho acende. --bw = tamanho do canto na tela. */
@property --cresce { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
.dia.futuro { --bw: 78px; --fora: 8px; padding: 38px 32px 34px; border-color: transparent; border-radius: 0; background: none; }
.dia.futuro:hover { border-color: transparent; background: none; }
.dia.futuro::before, .dia.futuro::after {
  content: ''; position: absolute; inset: calc(var(--fora) * -1); z-index: -1; pointer-events: none;
  filter: drop-shadow(0 0 2px rgba(155, 48, 255, .9)) drop-shadow(0 0 6px rgba(155, 48, 255, .45));
  opacity: 0; transition: filter .45s, opacity .45s;
  --m: #000 var(--cresce), transparent calc(var(--cresce) + 10%);
  --mask: radial-gradient(circle at 0 0, var(--m)), radial-gradient(circle at 100% 0, var(--m)), radial-gradient(circle at 0 100%, var(--m)), radial-gradient(circle at 100% 100%, var(--m));
}
.dia.futuro::before { border: var(--bw) solid transparent; border-image: url("../assets/images/sigilo.svg") 240 / var(--bw) round; }
.dia.futuro::after { background: url("../assets/images/sigilo-brasao.svg") center 0 / calc(var(--bw) * 1.333) no-repeat, url("../assets/images/sigilo-brasao-baixo.svg") center 100% / calc(var(--bw) * 1.333) no-repeat; }
/* A máscara que faz a moldura crescer dos cantos só existe DURANTE a animação: uma máscara
   permanente cortaria o brilho num retângulo (era a "luz quadrada" do hover). */
.dia.futuro.in::before, .dia.futuro.in::after { opacity: .88; animation: cresce 2.6s var(--ease) calc(.5s + var(--k, 0) * 110ms) both; }
@keyframes cresce {
  0%   { --cresce: 0%;  -webkit-mask: var(--mask); mask: var(--mask); }
  99%  { --cresce: 62%; -webkit-mask: var(--mask); mask: var(--mask); }
  100% { --cresce: 62%; -webkit-mask: none; mask: none; }
}
.dia.futuro:hover::before, .dia.futuro:hover::after { opacity: 1; filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 5px var(--neon)) drop-shadow(0 0 12px var(--violet)); }

/* dia que já passou: o cartão inteiro falha (glitch), não só os textos */
.dia.passou { border-color: rgba(240, 232, 255, .1); }
.js .dia.passou.in { animation: linha-in .9s var(--ease) both, bloco-glitch 2.6s steps(1) infinite; animation-delay: calc(var(--k, 0) * 80ms), calc(var(--k, 0) * -.37s); }
.dia.passou::before, .dia.passou::after { content: ''; position: absolute; inset: -1px; border: 1px solid var(--neon); border-radius: inherit; background: rgba(217, 102, 255, .1); pointer-events: none; clip-path: inset(0 0 100% 0); opacity: .7; animation: glitch-a 2.6s steps(1) infinite; animation-delay: calc(var(--k, 0) * -.37s); }
.dia.passou::after { border-color: #fff; background: rgba(255, 255, 255, .07); animation-name: glitch-b; }
@keyframes bloco-glitch { 0%, 66%, 100% { transform: none; filter: none; } 68% { transform: translateX(-4px) skewX(-3deg); filter: hue-rotate(30deg) contrast(1.2); } 72% { transform: translateX(4px); filter: none; } 76% { transform: translate(-3px, 1px) skewX(4deg); filter: brightness(1.35); } 80% { transform: translateX(5px) skewX(-2deg); filter: none; } 85% { transform: translateX(-3px); filter: saturate(1.6); } 90% { transform: translateX(2px); filter: none; } 94% { transform: none; } }
/* e os textos também */
.dia.passou :is(.dia-n, b) { color: var(--dim); }
.dia.passou .dia-s { color: var(--dim); }
.glitch { position: relative; display: inline-block; }
.passou .glitch::before, .passou .glitch::after { content: attr(data-t); position: absolute; inset: 0; pointer-events: none; clip-path: inset(0 0 100% 0); animation: glitch-a 2.2s steps(1) infinite; animation-delay: calc(var(--k, 0) * -.31s); }
.passou .glitch::before { color: var(--neon); text-shadow: -2px 0 var(--violet); }
.passou .glitch::after { color: #fff; text-shadow: 2px 0 var(--neon); animation-name: glitch-b; }
.passou .glitch { animation: glitch-c 2.2s steps(1) infinite; animation-delay: calc(var(--k, 0) * -.31s); }
@keyframes glitch-a { 0%, 62%, 100% { clip-path: inset(0 0 100% 0); transform: none; } 64% { clip-path: inset(6% 0 60% 0); transform: translateX(-6px); } 68% { clip-path: inset(64% 0 4% 0); transform: translateX(6px); } 72% { clip-path: inset(30% 0 40% 0); transform: translateX(-5px) skewX(-22deg); } 76% { clip-path: inset(80% 0 0 0); transform: translateX(8px); } 80% { clip-path: inset(12% 0 70% 0); transform: translateX(-8px) skewX(16deg); } 84% { clip-path: inset(46% 0 24% 0); transform: translateX(5px); } 88% { clip-path: inset(0 0 82% 0); transform: translateX(-4px); } 92% { clip-path: inset(58% 0 18% 0); transform: translateX(6px) skewX(-10deg); } }
@keyframes glitch-b { 0%, 63%, 100% { clip-path: inset(0 0 100% 0); transform: none; } 66% { clip-path: inset(50% 0 26% 0); transform: translateX(6px); } 70% { clip-path: inset(2% 0 82% 0); transform: translateX(-6px); } 74% { clip-path: inset(68% 0 10% 0); transform: translateX(5px) skewX(18deg); } 78% { clip-path: inset(20% 0 62% 0); transform: translateX(-8px); } 82% { clip-path: inset(74% 0 4% 0); transform: translateX(7px); } 86% { clip-path: inset(36% 0 44% 0); transform: translateX(-5px) skewX(-14deg); } 90% { clip-path: inset(88% 0 0 0); transform: translateX(4px); } }
@keyframes glitch-c { 0%, 62%, 100% { opacity: 1; transform: none; } 66% { opacity: .5; transform: translateX(2px) skewX(-5deg); } 72% { opacity: .95; transform: translateX(-2px); } 78% { opacity: .4; transform: translateX(2px) skewX(6deg); } 84% { opacity: .85; transform: none; } 90% { opacity: .6; } }
.aviso { display: inline-flex; align-items: center; gap: 12px; margin-top: clamp(24px, 4vh, 40px); padding: 10px 18px; border: 1px solid var(--violet); border-radius: 99px; font-size: .9rem; }
.aviso[hidden] { display: none; }
.aviso::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--neon); animation: pisca 1.4s ease-in-out infinite alternate; }
@keyframes pisca { to { opacity: .25; transform: scale(.7); } }

/* faixa de texto correndo */
.rolante { overflow: hidden; margin: clamp(56px, 10vh, 110px) calc(var(--gutter) * -1) 0; padding-block: 12px; border-block: 1px solid var(--line); }
.rolante div { display: flex; width: max-content; animation: rola 9s linear infinite; will-change: transform; }
.rolante span { flex: none; white-space: pre; font-size: clamp(2.2rem, 6.5vw, 6rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.1; text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(240, 232, 255, .6); }
@keyframes rola { to { transform: translateX(-25%); } }

.linha { margin-top: clamp(32px, 7vh, 80px); }
.linha li { display: grid; grid-template-columns: minmax(8em, 1fr) minmax(10em, 1.4fr) minmax(0, 2.6fr); gap: 4px 24px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--line); }
.linha span { font-size: clamp(1.2rem, 2.2vw, 2rem); font-weight: 300; letter-spacing: -.03em; color: var(--neon); font-variant-numeric: tabular-nums; }
.linha h3 { font-size: clamp(1.05rem, 1.7vw, 1.5rem); font-weight: 500; letter-spacing: -.02em; }
.linha p { font-size: .9rem; color: var(--dim); line-height: 1.45; max-width: 48em; }

/* ---------- Galeria e visor ---------- */
/* fotos espalhadas: cada .slot tem posição e inclinação fixas; as .foto trocam dentro dele */
.mesa { position: relative; margin-top: clamp(32px, 6vh, 64px); height: clamp(600px, 80vw, 1160px); }
.slot { position: absolute; width: 19%; rotate: var(--r); transition: rotate .5s var(--ease), translate .5s var(--ease); }
/* fileira de cima */
.slot:nth-child(1)  { left: 0%;  top: 4%;  --r: -7deg; }
.slot:nth-child(2)  { left: 17%; top: -1%; --r: 3deg; }
.slot:nth-child(3)  { left: 35%; top: 2%;  --r: -3deg; }
.slot:nth-child(4)  { left: 52%; top: -2%; --r: 5deg; }
.slot:nth-child(5)  { left: 68%; top: 3%;  --r: -5deg; }
/* fileira do meio */
.slot:nth-child(6)  { left: 9%;  top: 30%; --r: 4deg; }
.slot:nth-child(7)  { left: 27%; top: 27%; --r: -5deg; }
.slot:nth-child(8)  { left: 45%; top: 31%; --r: 6deg; }
.slot:nth-child(9)  { left: 63%; top: 28%; --r: -2deg; }
.slot:nth-child(10) { left: 81%; top: 20%; --r: 4deg; }
/* fileira de baixo */
.slot:nth-child(11) { left: 1%;  top: 58%; --r: 5deg; }
.slot:nth-child(12) { left: 20%; top: 61%; --r: -4deg; }
.slot:nth-child(13) { left: 39%; top: 57%; --r: 2deg; }
.slot:nth-child(14) { left: 58%; top: 61%; --r: -6deg; }
.slot:nth-child(15) { left: 77%; top: 56%; --r: 3deg; }
.slot:hover, .slot:focus-within { rotate: 0deg; translate: 0 -10px; z-index: 999 !important; }
.foto { position: absolute; left: 0; top: 0; width: 100%; padding: 6px 6px 22px; background: #f3eefa; box-shadow: 0 2px 3px rgba(0, 0, 0, .5), 0 18px 36px rgba(0, 0, 0, .55); transition: opacity .8s; }
.foto img { width: 100%; height: auto; }
.foto.entra { animation: joga .75s var(--ease) both; }
.foto.sai { opacity: 0; pointer-events: none; }
@keyframes joga { from { opacity: 0; transform: translate(6%, -22%) scale(1.22) rotate(9deg); } 60% { opacity: 1; } }
.visor { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; border: 0; background: rgba(6, 4, 8, .94); color: #fff; }
.visor[open] { display: grid; place-items: center; }
.visor::backdrop { background: var(--ink); }
.visor img { max-width: 92vw; max-height: 88dvh; object-fit: contain; }
.visor button { position: absolute; width: 52px; height: 52px; border-radius: 50%; background: rgba(240, 232, 255, .12); font-size: 1.7rem; line-height: 1; transition: background .2s; }
.visor button:hover { background: var(--violet); }
.visor-x { top: 16px; right: 16px; }
.visor-ant { left: 16px; top: 50%; translate: 0 -50%; }
.visor-prox { right: 16px; top: 50%; translate: 0 -50%; }

/* ---------- Contato e rodapé ---------- */
.contato { padding-block: clamp(48px, 9vh, 96px) clamp(64px, 12vh, 130px); text-align: center; }
main > section.contato { background: linear-gradient(to bottom, var(--ink), #2a0b52 70%, var(--violet)); }
.contato .mega { margin-top: clamp(24px, 5vh, 56px); }
.contato-txt { max-width: 30em; margin: clamp(24px, 5vh, 48px) auto 0; font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.4; }
.contato-acoes { margin-top: 28px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.rodape { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-block: 22px; background: var(--violet); color: #12051f; font-size: .78rem; font-weight: 500; }
.rodape ul { display: flex; gap: 18px; text-transform: uppercase; letter-spacing: .04em; }
.rodape a { display: inline-block; padding-block: 12px; }
.rodape a:hover { text-decoration: underline; }

/* ---------- Cursor (só com mouse) ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; opacity: 0; transition: opacity .25s; }
.cursor { width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: rgba(200, 200, 200, .75); }
.cursor::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--neon); opacity: 0; scale: 1; transition: opacity .25s, scale .35s var(--ease); }
.cursor.on { opacity: 1; }
.cursor.alvo::after { opacity: .55; scale: 2.6; }

/* ---------- Entradas ---------- */
.js [data-split] span { display: inline-block; opacity: 0; filter: blur(14px); transition: opacity .7s var(--ease), filter .7s var(--ease); transition-delay: calc(var(--i) * 28ms); }
.js [data-split="chars"] span { transition-duration: .9s; transition-delay: calc(var(--i) * 70ms); }
.js [data-split].in span { opacity: 1; filter: none; }
/* linhas das listas: entram da esquerda, uma depois da outra (--k = ordem, js/main.js) */
.js :is(.faixas li, .dia, .linha li) { opacity: 0; }
.js :is(.faixas li, .dia, .linha li).in { animation: linha-in .9s var(--ease) both; animation-delay: calc(var(--k, 0) * 80ms); }
@keyframes linha-in { from { opacity: 0; transform: translateX(-48px); } to { opacity: 1; } }
/* blocos de cada seção sobem e entram em foco ao aparecer */
.js [data-rev] { opacity: 0; transform: translateY(90px); filter: blur(12px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.js [data-rev].in { opacity: 1; transform: none; filter: none; }
/* títulos de seção: aparecem como se fossem escritos da esquerda para a direita */
.js .row-tags[data-rev] .titulo { clip-path: inset(-10% 100% -10% 0); transition: clip-path 1.2s var(--ease) .2s; }
.js .row-tags[data-rev].in .titulo { clip-path: inset(-10% 0 -10% 0); }

/* efeitos presos à rolagem: --s vai de 0 (entrando por baixo) a 1 (saindo por cima), js/main.js */
.js .statement span { opacity: clamp(.13, calc(var(--s, 1) * var(--n, 1) * 2.4 - var(--i)), 1); filter: none; transition: opacity .3s linear; transition-delay: 0s; }
.js .mega[data-scrub] { transform: translateX(calc((.5 - var(--s, .5)) * 16vw)); }
.js .contato .mega[data-scrub] { transform: scale(calc(.6 + min(var(--s, .5) * 2.2, 1) * .4)); }
.js .capa[data-scrub] { rotate: calc((var(--s, .5) - .5) * 16deg); translate: 0 calc((.5 - var(--s, .5)) * 70px); }

/* fotos da mesa: jogadas uma a uma quando a galeria aparece */
.js .mesa:not(.in) .foto { opacity: 0; }
.js .mesa.in .slot > .foto:not(.entra):not(.sai) { animation: joga .8s var(--ease) both; animation-delay: calc(var(--k, 0) * 90ms); }

@media (max-width: 820px) {
  .top-clock { font-size: .6rem; max-width: 11em; }
  .top-clock span { display: block; margin: 0; }
  .logo-slot { width: 90%; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .hero-tags { flex-direction: column; }
  .hero-video[src] { display: block; }
  .dias { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
  .dia { padding: 14px 12px; }
  .dia.futuro { --bw: 58px; --fora: 6px; padding: 30px 22px 26px; }
  .dia header { flex-wrap: wrap; }
  .dia-s { margin-left: 0; }
  .sobre-foot { grid-template-columns: 1fr; }
  .chips { text-align: left; } .chips ul { justify-content: flex-start; }
  .faixas li, .linha li { grid-template-columns: 2.6em 1fr; }
  .faixas p, .linha p { grid-column: 2; }
  .linha li { grid-template-columns: 1fr; } .linha p { grid-column: 1; }
  .mesa { height: 218vw; }
  .slot { width: 46%; }
  .slot:nth-child(1) { left: 1%;  top: 0; }
  .slot:nth-child(2) { left: 52%; top: 3%; }
  .slot:nth-child(3) { left: 7%;  top: 22%; }
  .slot:nth-child(4) { left: 50%; top: 25%; }
  .slot:nth-child(5) { left: 2%;  top: 44%; }
  .slot:nth-child(6) { left: 49%; top: 47%; }
  .slot:nth-child(7) { left: 6%;  top: 65%; }
  .slot:nth-child(8) { left: 51%; top: 67%; }
  .slot:nth-child(n+9) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-split] span, .js [data-rev] { filter: none; }
  .js [data-rev], .js :is(.faixas li, .dia, .linha li) { transform: none; }
  .hero-bg { transform: none; }
  .js .statement span { opacity: 1; }
  .js .mega[data-scrub], .js .contato .mega[data-scrub] { transform: none; }
  .js .capa[data-scrub] { rotate: none; translate: none; }
  .js .mesa:not(.in) .foto { opacity: 1; }
  .js .row-tags[data-rev] .titulo { clip-path: none; }
  .cursor { display: none; }
}
