/* ==========================================================================
   1. VARIÁVEIS & RESET
   ========================================================================== */

:root {
  /* Paleta analógica inspirada em equipamentos Hi-Fi (Braun / Rams) */
  --paper: #ece6da;
  --paper-2: #e2dac9;
  --surface: rgba(20, 19, 17, 0.055);
  --ink: #141311;
  --ink-2: #4a463f;
  --mute: #7d776c;
  --red: #d9412a;
  --line: rgba(20, 19, 17, 0.08);
  --line-strong: rgba(20, 19, 17, 0.16);

  /* Tipografia enxuta (2 famílias) */
  --display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, monospace;

  /* Curva de animação */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.locked,
body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.01em;
}


/* ==========================================================================
   2. CABEÇALHO FIXO
   ========================================================================== */

.top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5vw;
  background: rgba(236, 230, 218, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(20, 19, 17, 0.07);
}

.logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.logo span {
  color: var(--red);
}

.top nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}

.top nav a {
  position: relative;
  transition: color 0.2s;
}

.top nav a:hover {
  color: var(--ink);
}

.nav-cta {
  background: var(--ink);
  color: var(--paper) !important;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 500;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.nav-cta:hover {
  background: #2b2925;
}


/* ==========================================================================
   3. LAYOUT PRINCIPAL (2 COLUNAS NO DESKTOP)
   ========================================================================== */

.stage {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 5vw;
  padding: 0 5vw;
}

.content {
  padding-top: 0;
}


/* ==========================================================================
   4. CAPA / HERO & BOTÕES
   ========================================================================== */

.cover {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 64px;
}

.cover > * {
  opacity: 0;
  transform: translateY(20px);
}

body.started .cover > * {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease);
}

body.started .cover > *:nth-child(2) { transition-delay: 0.1s; }
body.started .cover > *:nth-child(3) { transition-delay: 0.2s; }
body.started .cover > *:nth-child(4) { transition-delay: 0.3s; }

body:not(.started) .cover > * {
  animation: showUp 0.85s var(--ease) 4.4s forwards;
}

.id-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.me {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  border: 1px solid var(--line-strong);
}

.id-row strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--mute);
  font-size: 13px;
}

.status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3f9b5f;
  box-shadow: 0 0 0 3px rgba(63, 155, 95, 0.16);
}

.cover h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(34px, 4.3vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.032em;
  max-width: 17ch;
}

.lede {
  max-width: 50ch;
  margin-top: 24px;
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.65;
}

.lede b {
  color: var(--ink);
  font-weight: 600;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  padding: 11px 20px;
  border-radius: 6px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.01em;
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.btn:hover {
  background: #2b2925;
  border-color: #2b2925;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 13.5px;
  margin-top: 16px;
}

.cta-row .btn {
  margin-top: 0;
}

.btn-line {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn-line:hover {
  background: var(--paper-2);
  border-color: rgba(20, 19, 17, 0.28);
  color: var(--ink);
}


/* ==========================================================================
   5. SOBRE / FICHA TÉCNICA
   ========================================================================== */

.about {
  padding: 56px 0 48px;
}

.about h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(24px, 2.5vw, 34px);
  letter-spacing: -0.026em;
  line-height: 1.2;
}

.credits {
  margin-top: 28px;
}

.credits > div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.credits > div:last-child {
  border-bottom: 0;
}

.credits dt {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--mute);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 450;
  line-height: 1.35;
  padding: 4px 10px;
  border-radius: 5px;
  background: var(--surface);
  color: var(--ink);
}

.credit-text {
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.5;
}

.credit-text strong {
  font-weight: 600;
  color: var(--ink);
}

.sub-note {
  color: var(--mute);
  font-size: 14px;
}


/* ==========================================================================
   6. TRABALHOS / LISTA DE FAIXAS
   ========================================================================== */

.tracks {
  padding: 40px 0 72px;
}

.side {
  margin-bottom: 68px;
  scroll-margin-top: 96px;
}

.side:last-child {
  margin-bottom: 0;
}

.side h2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 12px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(26px, 2.8vw, 36px);
  letter-spacing: -0.028em;
  line-height: 1.1;
}

.side-tag {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--mute);
}

.tracklist {
  list-style: none;
}

.track {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition:
    color 0.25s var(--ease),
    border-color 0.25s;
}

.track::before {
  content: "";
  position: absolute;
  inset: 3px -14px;
  z-index: -1;
  border-radius: 8px;
  background: var(--ink);
  opacity: 0;
  transform: scale(0.985);
  transition:
    opacity 0.25s var(--ease),
    transform 0.3s var(--ease);
}

.track:hover,
.track.active {
  color: var(--paper);
  border-bottom-color: transparent;
}

.track:hover::before,
.track.active::before {
  opacity: 1;
  transform: scale(1);
}

.track .t {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(18px, 1.8vw, 23px);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.track .t small {
  display: block;
  margin-top: 3px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0;
  color: var(--mute);
  transition: color 0.25s;
}

.track:hover .t small,
.track.active .t small {
  color: rgba(236, 230, 218, 0.72);
}

.track-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-placeholder,
.badge-video {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--paper-2);
  color: var(--ink-2);
  transition: background 0.25s, color 0.25s;
}

.badge-video {
  color: var(--ink);
}

.track:hover .badge-placeholder,
.track.active .badge-placeholder {
  background: rgba(255, 255, 255, 0.12);
  color: var(--paper-2);
}

.track:hover .badge-video,
.track.active .badge-video {
  background: var(--red);
  color: var(--paper);
}

.track .d {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mute);
  transition: color 0.25s;
}

.track:hover .d,
.track.active .d {
  color: var(--paper-2);
}

/* Detalhes expandidos na lista (usado apenas no mobile) */
.track-more {
  display: none;
}


/* ==========================================================================
   7. CONTATO, LINKS & RODAPÉ
   ========================================================================== */

.notes {
  padding: 56px 0 96px;
}

.notes h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.mail {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -0.02em;
  transition: color 0.2s;
}

.mail em {
  font-style: normal;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0;
  padding: 4px 10px;
  border-radius: 5px;
  background: var(--paper-2);
  color: var(--ink-2);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.mail:hover em {
  background: var(--ink);
  color: var(--paper);
}

.form {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  max-width: 520px;
}

.form input,
.form textarea {
  font: inherit;
  font-size: 15px;
  padding: 13px 15px;
  border-radius: 6px;
  border: 1px solid rgba(20, 19, 17, 0.12);
  background: rgba(226, 218, 201, 0.65);
  color: var(--ink);
  resize: vertical;
  transition: border-color 0.2s, background 0.2s;
}

.form input::placeholder,
.form textarea::placeholder {
  color: var(--mute);
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #f3eee4;
}

.form .btn {
  justify-self: start;
  cursor: pointer;
  margin-top: 6px;
}

.links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 42px;
}

.links li {
  position: relative;
}

.links a {
  position: relative;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--ink);
  color: rgba(236, 230, 218, 0.85);
  box-shadow: 0 4px 12px -4px rgba(20, 19, 17, 0.28);
  transition:
    transform 0.28s var(--ease),
    background 0.24s var(--ease),
    color 0.24s var(--ease),
    box-shadow 0.28s var(--ease),
    opacity 0.24s var(--ease);
}

.links a svg {
  width: 21px;
  height: 21px;
  transition: transform 0.28s var(--ease);
}

.links:hover a:not(:hover) {
  opacity: 0.72;
}

.links a:hover,
.links a:focus-visible {
  outline: none;
  transform: translateY(-4px) scale(1.14);
  background: var(--red);
  color: #ffffff;
  box-shadow:
    0 12px 26px -5px rgba(217, 65, 42, 0.55),
    0 0 0 3px rgba(217, 65, 42, 0.16);
}

.links a:hover svg,
.links a:focus-visible svg {
  transform: scale(1.06);
}

/* Tooltip discreta abaixo do ícone (sem encostar no botão do formulário) */
.links a::after {
  content: attr(data-tip);
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px) scale(0.88);
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  z-index: 5;
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.35);
  transition:
    opacity 0.2s var(--ease),
    transform 0.22s var(--ease);
}

.links li:first-child a::after {
  left: 0;
  transform: translateY(-4px) scale(0.88);
  transform-origin: top left;
}

.links a:hover::after,
.links a:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(0.88);
}

.links li:first-child a:hover::after,
.links li:first-child a:focus-visible::after {
  transform: translateY(0) scale(0.88);
}

.foot {
  margin-top: 56px;
  font-size: 13px;
  color: var(--mute);
}


/* ==========================================================================
   8. TOCA-DISCOS (COLUNA FIXA À DIREITA)
   ========================================================================== */

.deck {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding-top: 56px;
}

.player {
  position: relative;
  width: min(100%, 420px, 46vh);
  aspect-ratio: 1;
  margin: 0 auto;
}

/* Base / prato do toca-discos */
.platter {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: radial-gradient(circle, #d8d0bf 0 60%, #cfc6b3 61% 100%);
  box-shadow:
    inset 0 0 0 1px rgba(20, 19, 17, 0.12),
    0 36px 72px -38px rgba(20, 19, 17, 0.45);
}

/* Disco de vinil */
.record {
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  background: #121110;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
  cursor: grab;
  will-change: transform;
  opacity: 0;
  transform: translateX(-60%) rotate(-200deg) scale(0.6);
  transition:
    transform 1.6s var(--ease),
    opacity 0.8s;
}

.record.dropped {
  opacity: 1;
  transform: none;
  transition:
    transform 1.5s var(--ease),
    opacity 0.8s;
}

.player.ready .record {
  transition: none;
}

.record:active {
  cursor: grabbing;
}

/* Sulcos do vinil */
.grooves {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle,
    #121110 0 2px,
    #1d1b19 2.5px 3px,
    #121110 3.5px 5px
  );
}

.record .grooves::after {
  content: "";
  position: absolute;
  inset: 31%;
  border-radius: 50%;
  box-shadow: 0 0 0 6px #0d0c0b;
}

/* Rótulo central (diagramado acima e abaixo do furo central, como um LP real) */
.label {
  position: relative;
  width: 36%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  padding: 13% 10%;
  display: grid;
  grid-template-rows: 1fr 22% 1fr;
  justify-items: center;
  text-align: center;
  background: var(--red);
  color: var(--paper);
  transition: background 0.6s var(--ease), color 0.6s var(--ease);
}

.record[data-side="A"] .label { background: var(--red); color: var(--paper); }
.record[data-side="B"] .label { background: #d9a441; color: var(--ink); }
.record[data-side="C"] .label { background: #3d5a4c; color: var(--paper); }

.label-ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.3);
}

.label-top {
  grid-row: 1;
  align-self: center;
}

.label-bottom {
  grid-row: 3;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: opacity 0.25s, transform 0.25s;
}

.label-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(10.5px, 1.1vw, 13.5px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.label .mono {
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.85;
  transition: opacity 0.25s, transform 0.25s;
}

.label.flip .label-bottom,
.label.flip .mono {
  opacity: 0;
  transform: translateY(5px);
}

.hole {
  position: absolute;
  width: 3.2%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--paper);
}

/* Reflexo de luz fixo sobre o vinil girando */
.sheen {
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: conic-gradient(
    from 0deg,
    transparent 0 8%,
    rgba(255, 255, 255, 0.13) 12%,
    transparent 20% 50%,
    rgba(255, 255, 255, 0.1) 62%,
    transparent 70%
  );
  mask: radial-gradient(circle, transparent 18%, #000 19%);
  -webkit-mask: radial-gradient(circle, transparent 18%, #000 19%);
  transition: opacity 1s 0.8s;
}

.player.ready .sheen {
  opacity: 1;
}

/* Braço da agulha */
.tonearm {
  position: absolute;
  right: -3%;
  top: 2%;
  width: 14%;
  height: 62%;
  transform-origin: 50% 7%;
  transform: rotate(-28deg);
  transition: transform 1.2s var(--ease);
}

.tonearm.down {
  transform: rotate(6deg);
}

.arm-base {
  position: absolute;
  left: 50%;
  top: 0;
  width: 64%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: inset 0 0 0 6px #2a2825;
}

.arm-rod {
  position: absolute;
  left: 50%;
  top: 7%;
  width: 5px;
  height: 82%;
  transform: translateX(-50%);
  border-radius: 3px;
  background: linear-gradient(90deg, #3a3733, #141311);
}

.arm-head {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 34%;
  height: 12%;
  transform: translateX(-30%) rotate(-18deg);
  border-radius: 3px;
  background: var(--red);
}

.rpm {
  position: absolute;
  left: 4%;
  bottom: 0;
  color: var(--mute);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Painel "Tocando agora" */
.now {
  position: relative;
  max-width: 480px;
  width: 100%;
  min-height: 190px;
  margin: 0 auto;
}

.now > * {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.deck.live .now > * {
  opacity: 1;
  transform: none;
}

.deck.live .now > *:nth-child(2) { transition-delay: 0.08s; }
.deck.live .now > *:nth-child(3) { transition-delay: 0.16s; }
.deck.live .now > *:nth-child(4) { transition-delay: 0.24s; }

.now-kicker {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mute);
  margin-bottom: 10px;
  padding-right: 48px;
}

.now h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(24px, 2.3vw, 30px);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.now p#now-desc {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}

/* Seletor segmentado estilo equipamento de áudio */
.side-btns {
  display: inline-flex;
  gap: 4px;
  margin-top: 16px;
  padding: 4px;
  border-radius: 7px;
  background: var(--paper-2);
}

.side-btn {
  padding: 7px 14px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}

.side-btn:hover {
  color: var(--ink);
  background: rgba(20, 19, 17, 0.05);
}

.side-btn.active {
  background: var(--ink);
  color: var(--paper);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.tags span {
  padding: 3px 9px;
  border-radius: 4px;
  background: var(--paper-2);
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-2);
}

/* Equalizador discreto */
.eq {
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
}

.eq i {
  width: 2.5px;
  height: 4px;
  border-radius: 1px;
  background: var(--red);
  transition: height 0.3s;
}

.deck.on .eq i {
  animation: eq 1.1s ease-in-out infinite;
}

.eq i:nth-child(2) { animation-delay: 0.12s; }
.eq i:nth-child(3) { animation-delay: 0.30s; }
.eq i:nth-child(4) { animation-delay: 0.05s; }
.eq i:nth-child(5) { animation-delay: 0.22s; }
.eq i:nth-child(6) { animation-delay: 0.40s; }
.eq i:nth-child(7) { animation-delay: 0.17s; }


/* ==========================================================================
   9. TELA DE ENTRADA (INTRO)
   ========================================================================== */

.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s cubic-bezier(0.77, 0, 0.18, 1);
  animation: introAuto 1s cubic-bezier(0.77, 0, 0.18, 1) 4.2s forwards;
}

.intro.out {
  clip-path: inset(0 0 100% 0);
}

.intro-stage {
  position: relative;
  width: min(64vw, 330px);
  aspect-ratio: 1;
}

.sleeve {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 8%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  opacity: 0;
  transform: translateY(40px);
  animation:
    sleeveIn 0.9s var(--ease) 0.1s forwards,
    sleeveSlide 1s var(--ease) 1.5s forwards;
}

.sleeve b {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(52px, 9.5vw, 96px);
  letter-spacing: -0.05em;
  line-height: 0.88;
  color: var(--ink);
}

.sleeve .mono {
  font-size: 11px;
  color: var(--mute);
}

.intro-disc {
  position: absolute;
  inset: 3%;
  z-index: 1;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #121110;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
  animation:
    discOut 1.4s var(--ease) 0.9s forwards,
    spin 1.1s linear 0.9s infinite;
}

.intro-label {
  position: relative;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: var(--paper);
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
}

.intro-text {
  position: absolute;
  bottom: 12vh;
  text-align: center;
}

.intro-text h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(24px, 3.6vw, 44px);
  letter-spacing: -0.03em;
}

.intro-text span {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: wordUp 0.8s var(--ease) forwards;
}

.intro-text p span {
  animation-delay: 1.7s;
  color: var(--mute);
}

.intro-text h2 span:nth-child(1) { animation-delay: 1.90s; }
.intro-text h2 span:nth-child(2) { animation-delay: 2.05s; }
.intro-text h2 span:nth-child(3) { animation-delay: 2.20s; }

.skip {
  position: absolute;
  right: 5vw;
  bottom: 5vh;
  padding: 6px 12px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: rgba(236, 230, 218, 0.75);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.skip:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--paper);
}


/* ==========================================================================
   10. ANIMAÇÕES & SCROLL REVEAL
   ========================================================================== */

.swap {
  animation: swap 0.45s var(--ease);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes eq {
  0%, 100% { height: 4px; }
  50% { height: 18px; }
}

@keyframes swap {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes sleeveIn {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes sleeveSlide {
  to { transform: translateX(-46%) rotate(-4deg); }
}

@keyframes discOut {
  0% { translate: 0 0; }
  100% { translate: 46% 0; }
}

@keyframes wordUp {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes introAuto {
  to {
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
  }
}

@keyframes showUp {
  to {
    opacity: 1;
    transform: none;
  }
}


/* ==========================================================================
   11. RESPONSIVO (MOBILE ≤ 900px)
   ========================================================================== */

@media (max-width: 900px) {
  .top {
    padding: 14px 6vw;
  }

  .top nav a:not(.nav-cta) {
    display: none;
  }

  .stage {
    display: block;
    padding: 0 6vw;
  }

  .content {
    padding-bottom: 20px;
  }

  .deck {
    display: none;
  }

  .cover {
    min-height: auto;
    padding: 108px 0 40px;
  }

  .cover h1 {
    font-size: clamp(32px, 9vw, 48px);
  }

  .lede {
    font-size: 16px;
  }

  .cta-row .btn {
    flex: 1 1 auto;
  }

  .credits > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .side {
    margin-bottom: 52px;
  }

  /* Faixas em formato acordeão no mobile */
  .track {
    grid-template-columns: 1fr auto;
    padding: 16px 0;
  }

  .track::before {
    display: none;
  }

  .track:hover,
  .track.active {
    color: var(--ink);
    border-bottom-color: var(--line);
  }

  .track:hover .t small,
  .track.active .t small {
    color: var(--mute);
  }

  .track:hover .badge-placeholder,
  .track.active .badge-placeholder,
  .track:hover .badge-video,
  .track.active .badge-video {
    background: var(--paper-2);
    color: var(--ink);
  }

  .track .d {
    display: none;
  }

  .track-meta::after {
    content: "+";
    font-family: var(--mono);
    font-size: 18px;
    line-height: 1;
    color: var(--mute);
    transition: transform 0.3s var(--ease), color 0.2s;
  }

  .track.open .track-meta::after {
    transform: rotate(45deg);
    color: var(--red);
  }

  .track-more {
    grid-column: 1 / -1;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s var(--ease);
  }

  .track.open .track-more {
    grid-template-rows: 1fr;
  }

  .track-more > div {
    overflow: hidden;
  }

  .track-more p {
    margin: 12px 0 0;
    font-family: var(--sans);
    font-size: 15px;
    color: var(--ink-2);
  }

  .track-more .tags {
    margin-top: 12px;
  }

  .track-more .btn {
    margin: 14px 0 4px;
  }

  .intro-stage {
    width: 52vw;
  }

  .intro-text {
    bottom: 16vh;
    padding: 0 6vw;
  }
}


/* ==========================================================================
   12. MODAL DE VÍDEOS (GALERIA HI-FI)
   ========================================================================== */

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
}

.vm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 19, 17, 0.72);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.24s var(--ease);
}

.video-modal.open .vm-backdrop {
  opacity: 1;
}

.vm-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 32px 80px -20px rgba(0, 0, 0, 0.52);
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(0.985);
  transition:
    opacity 0.26s var(--ease),
    transform 0.26s var(--ease);
}

.vm-dialog[data-aspect="9:16"] {
  max-width: 740px;
}

.video-modal.open .vm-dialog {
  opacity: 1;
  transform: none;
}

.vm-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}

.vm-kicker {
  display: block;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--mute);
  margin-bottom: 2px;
}

.vm-head h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.vm-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vm-ext {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 7px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.vm-ext:hover {
  background: var(--paper-2);
  color: var(--ink);
}

.vm-close {
  border: 0;
  border-radius: 6px;
  padding: 7px 14px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.vm-close:hover {
  background: #2b2925;
}

.vm-body {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(240px, 0.95fr);
  gap: 20px;
  padding: 20px 22px 22px;
  overflow-y: auto;
  align-items: start;
}

.vm-dialog[data-aspect="9:16"] .vm-body {
  grid-template-columns: minmax(220px, 290px) minmax(0, 1fr);
}

.vm-stage {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #0d0c0b;
  box-shadow: 0 12px 32px -16px rgba(0, 0, 0, 0.45);
}

.vm-dialog[data-aspect="9:16"] .vm-stage {
  width: min(100%, calc(64vh * 9 / 16));
  aspect-ratio: 9 / 16;
  margin: 0 auto;
}

.vm-stage iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.vm-list-wrap {
  min-width: 0;
}

.vm-list-label {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--mute);
  margin-bottom: 10px;
}

.vm-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 58vh;
  overflow-y: auto;
  padding-right: 2px;
}

.vm-item {
  width: 100%;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: center;
  padding: 7px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.vm-item img {
  width: 88px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 5px;
  background: #1c1b19;
}

.vm-item:hover {
  background: var(--paper-2);
}

.vm-item.active {
  background: var(--ink);
  color: var(--paper);
}

.vm-item-info {
  min-width: 0;
}

.vm-item-info strong {
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13.5px;
  line-height: 1.3;
}

.vm-item-info small {
  display: block;
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
}

.vm-item.active .vm-item-info small {
  color: rgba(236, 230, 218, 0.72);
}

@media (max-width: 760px) {
  .video-modal {
    padding: 12px;
  }

  .vm-head {
    padding: 14px 16px;
  }

  .vm-ext {
    display: none;
  }

  .vm-body,
  .vm-dialog[data-aspect="9:16"] .vm-body {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }

  .vm-dialog[data-aspect="9:16"] .vm-stage {
    width: min(100%, calc(46vh * 9 / 16));
  }

  .vm-list {
    max-height: none;
  }
}


/* ==========================================================================
   13. ACESSIBILIDADE (MOVIMENTO REDUZIDO)
   ========================================================================== */

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

  .intro {
    display: none;
  }

  .cover > *,
  .now > *,
  .record,
  .reveal {
    opacity: 1;
    transform: none;
  }
}
