/* =========================================================================
   XANDBAP — site oficial
   Linguagem visual: cartaz de show / story "Agenda de Shows"
   (preto quente, degradê vinho, granulado, cantos em L, texto vertical)
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --ink: #0b0a09;
  --ink-2: #131110;
  --ink-3: #1b1817;
  --bone: #f3ede6;
  --dim: #a8a09a;         /* ~7:1 sobre --ink */
  --faint: #6f6863;
  --red: #e4231f;
  --red-hot: #ff3b2f;
  --red-deep: #a81410;
  --wine: #4a0a0e;
  --whatsapp: #25d366;
  --green: #22c55e;
  --line: rgba(243, 237, 230, 0.12);
  --line-strong: rgba(243, 237, 230, 0.28);

  --font-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --font-sans: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --max: 1320px;
  --gutter: 20px;
  --header-h: 68px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
}
@media (min-width: 768px) { :root { --gutter: 40px; --header-h: 76px; } }
@media (min-width: 1280px) { :root { --gutter: 56px; } }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.is-loading, html.menu-open { overflow: hidden; }
body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--red); color: #fff; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 4px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }
.accent { color: var(--red); }
.text-green { color: var(--green); }
.hide-sm { display: none; }
@media (min-width: 768px) { .hide-sm { display: inline; } }

.skip-link {
  position: fixed; left: 16px; top: 16px; z-index: 1000; padding: 12px 18px;
  background: var(--bone); color: var(--ink); font-weight: 700; transform: translateY(-200%);
}
.skip-link:focus-visible { transform: none; }

/* granulado global (mesmo das artes) */
.grain {
  position: fixed; inset: 0; z-index: 300; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
}

/* cantos em L */
.corner { position: absolute; width: 18px; height: 18px; border: 0 solid var(--bone); pointer-events: none; z-index: 4; }
.corner.tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.corner.tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.corner.bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.corner.br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }

.rec-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red-hot); margin-right: 8px; vertical-align: 1px; animation: blink 1.4s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .2; } }

/* ---------- 3. Botões e links ---------- */
.btn {
  --pad-y: 17px; --pad-x: 28px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: var(--pad-y) var(--pad-x);
  font-family: var(--font-sans); font-weight: 700; font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1;
  border: 1px solid transparent; border-radius: 2px; overflow: hidden; isolation: isolate;
  transition: transform .45s var(--ease), box-shadow .35s ease, color .3s ease, border-color .3s ease;
}
.btn-icon { width: 1.15em; height: 1.15em; flex-shrink: 0; fill: currentColor; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 18px 40px -18px rgba(228, 35, 31, .8); }
.btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bone);
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn-primary:hover { color: var(--ink); }
.btn-primary:hover::before { transform: none; }
.btn-primary:active { transform: scale(.97); }
.btn-sm { --pad-y: 12px; --pad-x: 18px; min-height: 44px; font-size: 14px; }
.btn-lg { --pad-y: 22px; --pad-x: 34px; font-size: 18px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px; min-height: 48px;
  font-weight: 700; font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase;
}
.link-arrow span { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; transition: background-size .45s var(--ease); }
.link-arrow svg { width: 20px; height: 20px; transition: transform .45s var(--ease); }
.link-arrow:hover span { background-size: 0 1px; background-position: 100% 100%; }
.link-arrow:hover svg { transform: translateX(6px); color: var(--red); }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 2px;
  color: var(--bone); transition: background-color .25s ease, color .25s ease, transform .25s var(--ease);
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: rgba(243, 237, 230, .1); }
.icon-btn:active { transform: scale(.92); }
.icon-btn.round { border: 1px solid var(--line-strong); border-radius: 50%; width: 52px; height: 52px; }
.icon-btn.round:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.icon-btn[disabled] { opacity: .3; pointer-events: none; }

/* ---------- 4. Abertura (loader) ---------- */
.loader { display: none; }
.js .loader { display: block; position: fixed; inset: 0; z-index: 900; }
.loader-panel, .loader-wipe { position: absolute; inset: 0; }
.loader-panel {
  z-index: 2; background: var(--ink); overflow: hidden;
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s var(--ease-in-out);
}
.loader-wipe { z-index: 1; background: var(--red); clip-path: inset(0 0 0 0); transition: clip-path 1s var(--ease-in-out) .12s; }
.loader-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 0% 100%, rgba(122, 14, 20, .75), transparent 70%),
    radial-gradient(55% 50% at 100% 0%, rgba(122, 14, 20, .55), transparent 70%),
    radial-gradient(40% 40% at 50% 50%, rgba(228, 35, 31, .10), transparent 70%);
  animation: glowShift 6s ease-in-out infinite alternate;
}
@keyframes glowShift { to { transform: scale(1.12) rotate(4deg); } }
.loader .corner { width: 26px; height: 26px; }
.loader .corner.tl { top: 20px; left: 20px; } .loader .corner.tr { top: 20px; right: 20px; }
.loader .corner.bl { bottom: 20px; left: 20px; } .loader .corner.br { bottom: 20px; right: 20px; }
.loader-top { position: absolute; top: 34px; left: 56px; right: 56px; display: flex; justify-content: space-between; color: var(--dim); }
.loader-center { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 28px; padding: 0 24px; }
.loader-logo { width: clamp(150px, 26vw, 240px); clip-path: inset(100% 0 0 0); animation: logoIn 1.1s var(--ease) .15s forwards; }
.loader-logo img { width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .6)); }
@keyframes logoIn { to { clip-path: inset(0 0 0 0); } }
.eq { display: flex; align-items: flex-end; gap: 4px; height: 22px; opacity: 0; animation: fadeIn .6s ease .7s forwards; }
.eq i { width: 4px; height: 100%; background: var(--red); transform-origin: bottom; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.2s; } .eq i:nth-child(3) { animation-delay: -.55s; }
.eq i:nth-child(4) { animation-delay: -.35s; } .eq i:nth-child(5) { animation-delay: -.8s; }
.eq i:nth-child(6) { animation-delay: -.1s; } .eq i:nth-child(7) { animation-delay: -.65s; }
@keyframes eq { 0%, 100% { transform: scaleY(.2); } 50% { transform: scaleY(1); } }
@keyframes fadeIn { to { opacity: 1; } }
.loader-vertical {
  position: absolute; right: 32px; top: 50%; color: var(--dim);
  transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; letter-spacing: .3em;
}
.loader-bottom { position: absolute; left: 56px; right: 56px; bottom: 44px; }
.loader-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 14px; color: var(--dim); }
.loader-pct { font-family: var(--font-display); font-size: clamp(56px, 9vw, 112px); line-height: .8; letter-spacing: 0; color: var(--bone); font-variant-numeric: tabular-nums; }
.loader-pct #loaderPct { display: inline-block; min-width: 2ch; text-align: right; }
.loader-bar { position: relative; height: 3px; background: rgba(243, 237, 230, .12); overflow: hidden; }
.loader-bar span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--red-deep), var(--red-hot)); transform-origin: left; transform: scaleX(0); }
.loader-bar::after { /* reflexo correndo na barra */
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; left: -120px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent);
  animation: barShine 1.6s ease-in-out infinite;
}
@keyframes barShine { to { transform: translateX(calc(100vw + 120px)); } }
.loader-steps { display: flex; gap: 22px; margin-top: 14px; color: var(--faint); flex-wrap: wrap; }
.loader-steps li { display: flex; align-items: center; gap: 8px; transition: color .3s ease; }
.loader-steps li::before { content: ""; width: 6px; height: 6px; border: 1px solid currentColor; transition: background-color .3s ease; }
.loader-steps li.is-active { color: var(--bone); }
.loader-steps li.is-done { color: var(--dim); }
.loader-steps li.is-done::before { background: var(--red); border-color: var(--red); }

/* saída */
.loader.is-leaving .loader-center,
.loader.is-leaving .loader-bottom,
.loader.is-leaving .loader-top,
.loader.is-leaving .loader-vertical { opacity: 0; transform: translateY(-24px); transition: opacity .35s ease, transform .5s var(--ease); }
.loader.is-leaving .loader-panel { clip-path: inset(0 0 100% 0); transition-delay: .25s; }
.loader.is-leaving .loader-wipe { clip-path: inset(0 0 100% 0); transition-delay: .4s; }
.loader.is-gone { display: none; }

@media (max-width: 640px) {
  .loader .corner.tl, .loader .corner.tr { top: 14px; } .loader .corner.bl, .loader .corner.br { bottom: 14px; }
  .loader .corner.tl, .loader .corner.bl { left: 14px; } .loader .corner.tr, .loader .corner.br { right: 14px; }
  .loader-top { top: 26px; left: 36px; right: 36px; }
  .loader-bottom { left: 24px; right: 24px; bottom: 36px; }
  .loader-vertical { right: 16px; }
  .loader-steps { gap: 14px; }
}

/* ---------- 5. Barra de rolagem / cursor label ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 210; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }

.hover-label {
  position: fixed; top: 0; left: 0; z-index: 400; pointer-events: none;
  padding: 10px 16px; border-radius: 100px; background: var(--red); color: #fff;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  opacity: 0; transform: translate3d(var(--x, 0), var(--y, 0), 0) translate(-50%, -50%) scale(.5);
  transition: opacity .25s ease, transform .35s var(--ease);
}
.hover-label.show { opacity: 1; transform: translate3d(var(--x, 0), var(--y, 0), 0) translate(-50%, -50%) scale(1); }

/* ---------- 6. Cabeçalho ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: env(safe-area-inset-top) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 0;
  transition: transform .5s var(--ease), background-color .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.header::before { /* vidro só depois de rolar */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s ease;
  background: rgba(11, 10, 9, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header.is-scrolled::before { opacity: 1; }
.header.is-hidden { transform: translateY(-100%); }
.header-logo { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.header-logo img { height: 34px; width: auto; transition: transform .5s var(--ease); }
.header-logo:hover img { transform: rotate(-6deg) scale(1.06); }
.header-logo span { font-family: var(--font-display); font-size: 20px; letter-spacing: .04em; text-transform: uppercase; }
.header-nav { display: none; gap: 34px; }
.header-nav a, .mobile-menu-links a { position: relative; }
.header-nav a { display: flex; align-items: baseline; gap: 6px; padding: 10px 0; font-size: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); transition: color .25s ease; }
.header-nav small { font-family: var(--font-mono); font-size: 10px; color: var(--faint); transition: color .25s ease; }
.header-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.header-nav a:hover, .header-nav a.is-active { color: var(--bone); }
.header-nav a:hover small, .header-nav a.is-active small { color: var(--red); }
.header-nav a:hover::after, .header-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header-right { display: flex; align-items: center; gap: 10px; }
.header .btn-sm span { display: none; }
@media (min-width: 420px) { .header .btn-sm span { display: inline; } }
.menu-toggle { position: relative; z-index: 260; display: flex; align-items: center; gap: 10px; min-width: 44px; height: 44px; padding: 0 4px; }
.menu-toggle-lines { position: relative; width: 26px; height: 12px; }
.menu-toggle-lines i { position: absolute; left: 0; width: 100%; height: 2px; background: var(--bone); transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-toggle-lines i:first-child { top: 0; } .menu-toggle-lines i:last-child { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines i:first-child { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines i:last-child { top: 5px; transform: rotate(-45deg); }
.menu-toggle-text { display: none; }
@media (min-width: 560px) { .menu-toggle-text { display: inline; } }
@media (min-width: 1024px) {
  .header-nav { display: flex; }
  .menu-toggle { display: none; }
}

/* menu mobile */
.mobile-menu {
  position: fixed; inset: 0; z-index: 190; background: var(--ink); visibility: hidden;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-in-out), visibility 0s linear .7s;
}
.mobile-menu::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 50% at 100% 100%, rgba(122, 14, 20, .6), transparent 70%); pointer-events: none; }
.mobile-menu.is-open { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .7s var(--ease-in-out), visibility 0s; }
.mobile-menu-inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--header-h) + 32px) var(--gutter) max(32px, env(safe-area-inset-bottom)); overflow-y: auto; }
.mobile-menu-kicker { color: var(--faint); margin-bottom: 12px; }
.mobile-menu-links { display: flex; flex-direction: column; }
.mobile-menu-links a {
  display: flex; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: clamp(32px, min(10vw, 11svh), 72px); line-height: 1; text-transform: uppercase;
  opacity: 0; transform: translateY(30px); transition: opacity .5s ease, transform .7s var(--ease), color .2s ease;
}
.mobile-menu-links small { font-family: var(--font-mono); font-size: 12px; color: var(--red); }
.mobile-menu-links a:hover, .mobile-menu-links a.is-active { color: var(--red); }
.mobile-menu.is-open .mobile-menu-links a { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-menu-links a:nth-child(1) { transition-delay: .25s; }
.mobile-menu.is-open .mobile-menu-links a:nth-child(2) { transition-delay: .31s; }
.mobile-menu.is-open .mobile-menu-links a:nth-child(3) { transition-delay: .37s; }
.mobile-menu.is-open .mobile-menu-links a:nth-child(4) { transition-delay: .43s; }
.mobile-menu-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; margin-top: 32px; opacity: 0; transition: opacity .5s ease .45s; }
.mobile-menu.is-open .mobile-menu-foot { opacity: 1; }
.mobile-menu-social { display: flex; gap: 22px; color: var(--dim); }
.mobile-menu-social a { padding: 12px 0; }
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* bolha fixa do WhatsApp */
.fixed-whatsapp {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 180;
  width: 56px; height: 56px; border-radius: 50%; background: var(--whatsapp);
  display: grid; place-items: center; box-shadow: 0 14px 30px rgba(0, 0, 0, .5);
  opacity: 0; transform: scale(.6) translateY(20px); pointer-events: none;
  transition: opacity .4s ease, transform .5s var(--ease);
}
.fixed-whatsapp svg { width: 28px; height: 28px; fill: #fff; }
.fixed-whatsapp.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fixed-whatsapp.is-visible.is-tucked { opacity: 0; transform: scale(.6) translateY(20px); pointer-events: none; }
@media (max-width: 767px) { .fixed-whatsapp { width: 52px; height: 52px; } .fixed-whatsapp svg { width: 26px; height: 26px; } }
.fixed-whatsapp:hover { transform: scale(1.08); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--header-h) + 24px); overflow: hidden; isolation: isolate;
}
.hero-backdrop { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero-backdrop img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; object-position: center 30%; opacity: .26; filter: grayscale(1) contrast(1.15); }
.hero-backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 10, 9, .55), rgba(11, 10, 9, .35) 40%, var(--ink) 96%); }
.hero-glow {
  position: absolute; z-index: -2; inset: 0; pointer-events: none;
  background:
    radial-gradient(55% 60% at 100% 10%, rgba(140, 16, 22, .55), transparent 70%),
    radial-gradient(45% 45% at 0% 90%, rgba(122, 14, 20, .45), transparent 70%);
}
.hero-ghost {
  position: absolute; z-index: -1; width: min(70vw, 760px); height: auto; right: -8vw; top: 6%;
  opacity: .05; pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: 28px; align-items: end; padding-bottom: 24px; }
.hero-kicker { color: var(--dim); margin-bottom: 18px; }
.hero-title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(50px, min(15.5vw, 24svh), 200px); line-height: .86; letter-spacing: -0.005em;
  position: relative; z-index: 3;
}
.hero-title .line { display: block; overflow: hidden; padding: .12em 0 .02em; margin-top: -.12em; }
.hero-title .line > span { display: inline-block; }
.hero-title .line-accent > span { color: var(--red); }
.hero-title .line:nth-child(2) { padding-left: .3em; }
@media (min-width: 640px) { .hero-title .line:nth-child(2) { padding-left: .55em; } }
.hero-bottom { display: grid; gap: 22px; margin-top: 24px; max-width: 520px; }
.hero-sub { font-size: 20px; line-height: 1.4; color: var(--dim); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }

.hero-frame { position: relative; justify-self: end; width: min(58vw, 300px); margin-top: 12px; z-index: 2; }
.frame-media { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--ink-3); }
.frame-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-frame .corner { margin: -10px; }
.frame-hud { position: absolute; z-index: 2; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); pointer-events: none; }
.timecode { font-variant-numeric: tabular-nums; }
.frame-caption { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; color: var(--dim); }
.frame-caption .icon-btn { margin-right: -12px; }
[data-video-toggle] .i-play, [data-video-toggle].is-paused .i-pause { display: none; }
[data-video-toggle].is-paused .i-play { display: block; }
[data-video-sound] .i-on, [data-video-sound][aria-pressed="true"] .i-off { display: none; }
[data-video-sound][aria-pressed="true"] .i-on { display: block; }

.hero-vertical {
  display: none; position: absolute; right: calc(var(--gutter) / 2 - 6px); top: 50%; z-index: 3;
  writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); color: var(--faint); letter-spacing: .3em;
}
.hero-meta { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 22px; color: var(--dim); }
.hero-meta::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.scroll-cue i { position: relative; width: 1px; height: 28px; background: var(--line-strong); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--red); animation: cue 1.8s var(--ease-in-out) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

@media (min-width: 640px) {
  .hero-frame { width: 280px; margin-top: -40px; }
}
@media (min-width: 1024px) {
  .hero { justify-content: center; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) auto; gap: 0; align-items: center; padding-bottom: 40px; }
  .hero-title { font-size: clamp(100px, 10.8vw, 190px); }
  .hero-title .line:nth-child(2) { padding-left: .4em; }
  .hero-frame { width: clamp(280px, 25vw, 380px); margin: 0 0 0 -90px; justify-self: end; }
  .hero-vertical { display: block; }
}
@media (min-width: 1024px) and (max-height: 760px) {
  .hero-frame { width: 250px; }
  .hero-title { font-size: clamp(96px, 10.5vw, 170px); }
}

/* entrada do hero (após a abertura) */
.js .hero-title .line > span { transform: translateY(105%); transition: transform 1.1s var(--ease); }
.js .hero-title .line:nth-child(2) > span { transition-delay: .08s; }
.js .hero-title .line:nth-child(3) > span { transition-delay: .16s; }
.js [data-hero] { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform 1s var(--ease); }
.js [data-hero="1"] { transition-delay: .05s; }
.js [data-hero="2"] { transition-delay: .35s; }
.js [data-hero="3"] { transition-delay: .45s; }
.js [data-hero="4"] { transition-delay: .6s; }
.js [data-hero="frame"] { transform: none; clip-path: inset(100% 0 0 0); transition: opacity .2s ease .15s, clip-path 1.2s var(--ease-in-out) .15s; }
.js [data-hero="frame"] video { transform: scale(1.25); transition: transform 1.6s var(--ease) .15s; }
.js .hero-backdrop img { opacity: 0; transition: opacity 1.6s ease; }
.site-ready .hero-title .line > span { transform: none; }
.site-ready [data-hero] { opacity: 1; transform: none; }
.site-ready [data-hero="frame"] { clip-path: inset(-24px -24px -24px -24px); }
.site-ready [data-hero="frame"] video { transform: none; }
.site-ready .hero-backdrop img { opacity: .26; }

/* ---------- 8. Faixas de estilos ---------- */
.bands { position: relative; height: 150px; margin: 10px 0 0; overflow: hidden; }
.band { position: absolute; left: -5%; right: -5%; top: 50%; padding: 14px 0; }
.band-front { background: var(--red); transform: translateY(-50%) rotate(-2.4deg); z-index: 2; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); }
.band-back { background: var(--ink-3); border-block: 1px solid var(--line); transform: translateY(-50%) rotate(2.2deg); }
.band-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.band-back .band-track { animation-direction: reverse; animation-duration: 36s; }
.band-track span { display: flex; align-items: center; gap: 22px; padding-right: 22px; white-space: nowrap; font-family: var(--font-display); font-size: 30px; line-height: 1; text-transform: uppercase; }
.band-front .band-track span { color: #fff; }
.band-back .band-track span { color: transparent; -webkit-text-stroke: 1px var(--dim); }
.band-track i { font-style: normal; font-family: var(--font-sans); font-size: 22px; }
.band-front .band-track i { color: var(--ink); }
.band-back .band-track i { color: var(--red); -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (min-width: 768px) { .bands { height: 190px; } .band-track span { font-size: 42px; } }

/* ---------- 9. Seções: estrutura comum ---------- */
.section { position: relative; padding: 96px 0; scroll-margin-top: 20px; overflow-x: hidden; }
@supports (overflow: clip) { .section { overflow-x: clip; } }
@media (min-width: 1024px) { .section { padding: 140px 0; } }
.section-head { display: flex; align-items: center; gap: 18px; margin-bottom: 40px; }
.section-index { color: var(--dim); white-space: nowrap; }
.section-index span { color: var(--red); margin-right: 6px; }
.section-rule { flex: 1; height: 1px; background: var(--line); position: relative; }
.section-rule::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; background: var(--red); }
.display {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(42px, 11vw, 120px); line-height: .9; letter-spacing: -0.005em;
  overflow-wrap: break-word;
}
.display-xl { font-size: clamp(48px, 11vw, 150px); }
.display .line { display: block; overflow: hidden; padding: .14em 0 .07em; margin: -.14em 0 -.04em; }
.display .line > span { display: inline-block; }
.lede { max-width: 46ch; margin-top: 28px; font-size: 20px; line-height: 1.5; color: var(--dim); }

/* revelações ao rolar (apenas com JS) */
.js [data-reveal]:not([data-reveal="lines"]):not([data-reveal="clip"]):not([data-reveal="stagger"]):not([data-reveal="card"]) { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform 1s var(--ease); }
.js [data-reveal].is-in:not([data-reveal="lines"]):not([data-reveal="clip"]):not([data-reveal="stagger"]):not([data-reveal="card"]) { opacity: 1; transform: none; }
.js [data-reveal="lines"] .line > span { transform: translateY(105%); transition: transform 1.05s var(--ease); }
.js [data-reveal="lines"] .line:nth-child(2) > span { transition-delay: .08s; }
.js [data-reveal="lines"] .line:nth-child(3) > span { transition-delay: .16s; }
.js [data-reveal="lines"].is-in .line > span { transform: none; }
.js [data-reveal="clip"] { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease-in-out); }
.js [data-reveal="clip"].is-in { clip-path: inset(-40px -40px -40px -40px); }
.js [data-reveal="stagger"] > * { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .9s var(--ease); }
.js [data-reveal="stagger"].is-in > * { opacity: 1; transform: none; }
.js [data-reveal="stagger"].is-in > :nth-child(2) { transition-delay: .07s; }
.js [data-reveal="stagger"].is-in > :nth-child(3) { transition-delay: .14s; }
.js [data-reveal="stagger"].is-in > :nth-child(4) { transition-delay: .21s; }
.js [data-reveal="stagger"].is-in > :nth-child(5) { transition-delay: .28s; }
.js [data-reveal="card"] { opacity: 0; transform: translateY(50px); transition: opacity .8s ease, transform 1.1s var(--ease); }
.js [data-reveal="card"].is-in { opacity: 1; transform: none; }
.js [data-reveal="card"].is-in + [data-reveal="card"].is-in { transition-delay: .12s; }

/* fallback elegante de mídia */
.media { position: relative; background: var(--ink-3); }
.media::before { /* esqueleto enquanto carrega */
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(243, 237, 230, .05) 50%, transparent 70%) 0 0 / 250% 100%;
  animation: shimmer 1.6s linear infinite;
}
picture { display: contents; }
.media img, .media video { position: relative; z-index: 1; }
.media.is-loaded::before { animation: none; opacity: 0; }
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.media.is-missing img, .media.is-missing video { visibility: hidden; }
.media.is-missing::before { animation: none; opacity: 1; background: radial-gradient(70% 70% at 30% 20%, rgba(122, 14, 20, .55), transparent 70%), var(--ink-3); }
.media.is-missing::after {
  content: attr(data-media-label) " — indisponível"; position: absolute; inset: 16px 16px auto 16px; z-index: 2;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim);
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.hero-backdrop img.is-missing { display: none; }

/* ---------- 10. Identidade ---------- */
.identity-grid { display: grid; gap: 56px; }
.identity-figure { position: relative; max-width: 520px; }
.identity-photo { aspect-ratio: 4 / 5; overflow: hidden; }
.identity-photo img { width: 100%; height: 112%; margin-top: -6%; object-fit: cover; object-position: top center; }
.identity-figure .corner { margin: -12px; width: 26px; height: 26px; }
.sticker {
  position: absolute; right: 8px; bottom: 34px; z-index: 3; width: 168px; padding: 12px 12px 10px;
  background: var(--bone); color: var(--ink); transform: rotate(-4deg); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .7);
  display: grid; gap: 4px; font-size: 10px; letter-spacing: .1em;
}
.sticker strong { font-family: var(--font-display); font-size: 22px; font-weight: 400; letter-spacing: .02em; line-height: 1; }
.barcode { height: 26px; margin-top: 4px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px); }
@media (min-width: 640px) { .sticker { right: -40px; width: 190px; } }

.style-list { margin-top: 44px; border-top: 1px solid var(--line); }
.style-list li { position: relative; display: flex; align-items: baseline; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.style-list li::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.style-list span { color: var(--red); transition: color .3s ease; }
.style-list strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 6vw, 44px); line-height: 1; text-transform: uppercase; transition: transform .5s var(--ease); }
.style-list li:hover::before { transform: scaleY(1); }
.style-list li:hover span { color: var(--ink); }
.style-list li:hover strong { transform: translateX(12px); }
.style-list li { isolation: isolate; }

@media (min-width: 960px) {
  .identity-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(56px, 6vw, 96px); align-items: center; }
  .identity .display { font-size: clamp(60px, 6.6vw, 104px); }
  .identity-figure { max-width: none; }
}

/* ---------- 11. Lançamentos ---------- */
.releases { background: var(--ink-2); overflow: hidden; }
.releases::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 50% at 100% 0%, rgba(122, 14, 20, .35), transparent 70%); }
.releases-head { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }
.carousel-controls { display: flex; align-items: center; gap: 12px; }
.drag-hint { display: inline-flex; align-items: center; gap: 8px; color: var(--dim); margin-right: 8px; }
.drag-hint svg { width: 16px; height: 16px; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(5px); } }
.carousel-progress { width: 90px; height: 2px; background: var(--line); margin-right: 8px; overflow: hidden; }
.carousel-progress span { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .2s linear; }
@media (max-width: 400px) { .carousel-progress { display: none; } .drag-hint { margin-right: 0; } }
.carousel-controls.is-static .drag-hint, .carousel-controls.is-static .carousel-progress, .carousel-controls.is-static .icon-btn { display: none; }

.carousel-outer { position: relative; margin-top: 48px; }
.carousel {
  display: flex; gap: 22px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding: 10px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 30px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.carousel::-webkit-scrollbar { display: none; }
@media (hover: hover) and (pointer: fine) { .carousel { cursor: grab; } .carousel.is-dragging { cursor: grabbing; scroll-snap-type: none; } .carousel.is-dragging * { pointer-events: none; } }

.release-card { flex: 0 0 auto; width: min(78vw, 400px); scroll-snap-align: start; display: block; user-select: none; -webkit-user-drag: none; }
.release-sleeve { position: relative; }
.release-cover { position: relative; z-index: 2; aspect-ratio: 1; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.release-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s ease; -webkit-user-drag: none; }
.vinyl {
  position: absolute; z-index: 1; top: 4%; bottom: 4%; right: 4%; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle, var(--red) 0 13%, var(--ink) 13.5% 15%, transparent 15.5%),
    repeating-radial-gradient(circle, #111 0 2px, #1d1a19 2px 3px),
    #111;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
  transition: transform .9s var(--ease);
}
.vinyl::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 30deg, transparent 0 20%, rgba(255, 255, 255, .08) 25%, transparent 30% 70%, rgba(255, 255, 255, .06) 75%, transparent 80%); }
a.release-card:hover .vinyl, a.release-card:focus-visible .vinyl { transform: translateX(34%) rotate(140deg); }
a.release-card:hover .release-cover img { transform: scale(1.05); }
.release-card.is-pending .release-cover img { filter: grayscale(1) brightness(.5); }
.release-card.is-pending:hover .release-cover img { filter: grayscale(.6) brightness(.65); }
.release-pending-label {
  position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-6deg);
  padding: 10px 18px; background: var(--red); color: #fff; font-size: 13px; white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
}
.release-info { display: grid; gap: 4px; padding-top: 20px; }
.release-index { color: var(--faint); }
.release-title { font-family: var(--font-display); font-size: clamp(28px, 5vw, 36px); line-height: 1; text-transform: uppercase; margin-top: 4px; }
.release-type { color: var(--dim); font-size: 18px; }
.release-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--red); font-size: 12px; }
.release-cta svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
a.release-card:hover .release-cta svg { transform: translate(3px, -3px); }
.release-cta.is-muted { color: var(--faint); }
@media (min-width: 900px) { .release-card { width: 420px; } .carousel { gap: 64px; } }

.platforms { position: relative; margin-top: 64px; border-top: 1px solid var(--line); }
.platforms-label { color: var(--faint); padding: 18px 0 6px; }
.platform {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 16px 0; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate;
  font-family: var(--font-display); font-size: clamp(34px, 8vw, 64px); line-height: 1; text-transform: uppercase;
  transition: color .4s ease, padding .5s var(--ease);
}
.platform::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bone); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.platform svg { width: clamp(24px, 4vw, 40px); height: clamp(24px, 4vw, 40px); transition: transform .5s var(--ease); }
.platform:hover { color: var(--ink); padding-left: 18px; padding-right: 18px; }
.platform:hover::before { transform: scaleY(1); }
.platform:hover svg { transform: rotate(45deg); color: var(--red); }

/* ---------- 12. Ao vivo ---------- */
.stage { }
.stage-grid { display: grid; gap: 56px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; margin-top: 44px; border-top: 1px solid var(--line); }
.stat { padding: 20px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat dt { color: var(--dim); order: 2; }
.stat { display: flex; flex-direction: column-reverse; gap: 8px; }
.stat-num { font-family: var(--font-display); font-size: clamp(64px, 14vw, 120px); line-height: .9; font-variant-numeric: tabular-nums; }
.stat:first-child .stat-num { color: var(--red); }

.stage-videos {
  margin: 0 calc(var(--gutter) * -1); padding: 6px var(--gutter) 10px;
  scroll-padding-inline: var(--gutter); gap: 16px;
}
.clip { flex: 0 0 auto; width: min(66vw, 300px); scroll-snap-align: start; }
.clip-media { aspect-ratio: 9 / 16; overflow: hidden; }
.clip-media video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.clip:hover .clip-media video { transform: scale(1.03); }
.clip-caption { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; color: var(--dim); }
.clip-buttons { display: flex; margin-right: -10px; }

@media (min-width: 1024px) {
  .stage-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
  .stage-copy { position: sticky; top: calc(var(--header-h) + 40px); }
  .stage-videos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; overflow: visible; margin: 0; padding: 0; cursor: auto; }
  .clip { width: auto; }
  .clip-offset { margin-top: 120px; }
}

/* ---------- 13. Contratação ---------- */
.hire { padding-top: 40px; }
.hire-poster {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 64px 24px 56px; background: var(--ink);
  border: 1px solid var(--line);
}
.hire-poster .corner { margin: 14px; width: 24px; height: 24px; }
.hire-glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 0% 100%, rgba(140, 16, 22, .75), transparent 70%),
    radial-gradient(50% 60% at 100% 0%, rgba(122, 14, 20, .55), transparent 70%);
}
.hire-vertical { display: none; position: absolute; right: 30px; top: 50%; writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); color: var(--dim); letter-spacing: .3em; }
.hire-poster .section-index { margin-bottom: 24px; }
.hire-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hire-list li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line-strong); color: var(--bone); }
.hire-list span { color: var(--red); }
.hire-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 40px; }
@media (min-width: 768px) {
  .hire-poster { padding: 110px 96px 96px; }
  .hire-vertical { display: block; }
}

/* ---------- 14. Rodapé ---------- */
.footer { position: relative; padding: 96px 0 0; border-top: 1px solid var(--line); overflow: hidden; }
.footer-top { display: grid; gap: 56px; }
.footer-logo { display: block; width: min(52vw, 240px); }
.footer-logo img { width: 100%; height: auto; opacity: .9; transition: transform .6s var(--ease), opacity .3s ease; }
.footer-logo:hover img { transform: rotate(-4deg); opacity: 1; }
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
.footer-cols > div { display: flex; flex-direction: column; align-items: flex-start; }
.footer-label { color: var(--faint); margin-bottom: 12px; }
.footer-cols a { padding: 6px 0; font-size: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; transition: color .25s ease, transform .4s var(--ease); }
.footer-cols a:hover { color: var(--red); transform: translateX(4px); }
@media (min-width: 768px) {
  .footer-top { grid-template-columns: auto 1fr; gap: 96px; align-items: start; }
  .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); justify-self: end; width: min(100%, 640px); }
}
.footer-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 72px; padding: 18px 0; border-top: 1px solid var(--line); color: var(--dim); }
.back-top { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; transition: color .25s ease; }
.back-top svg { width: 14px; height: 14px; }
.back-top:hover { color: var(--bone); }

.credit {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 20px 0 calc(96px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line);
  font-size: 15px; color: var(--dim);
}
.credit a { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; min-height: 44px; transition: opacity .2s ease; }
.credit svg { width: 16px; height: 16px; fill: var(--dim); transition: fill .2s ease; }
.credit a:hover svg { fill: var(--green); }
@media (min-width: 768px) { .credit { padding-bottom: 28px; } }

/* ---------- 15. Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  .band-track { animation: none !important; }
  .js .hero-title .line > span, .js [data-hero], .js [data-hero="frame"], .js [data-hero="frame"] video,
  .js [data-reveal] , .js [data-reveal] .line > span, .js [data-reveal="stagger"] > * {
    transform: none !important; clip-path: none !important; opacity: 1 !important; transition: none !important;
  }
  .js .hero-backdrop img { opacity: .26; transition: none; }
  .loader-logo { clip-path: none; }
  .eq { opacity: 1; }
  .loader-panel, .loader-wipe { transition: opacity .4s ease !important; }
  .loader.is-leaving .loader-panel, .loader.is-leaving .loader-wipe { clip-path: inset(0 0 0 0); opacity: 0; }
  .mobile-menu { transition: none; }
  .mobile-menu-links a, .mobile-menu-foot { transition: none; }
}
