/* Lucas Lago v4 · "a página é o setlist colado no palco"
   Direção: The page is the object (seed 237964237). Paleta fixa do cliente. */

:root {
  --bg: #ffffff;
  --surface: #f2f2f2;
  --ink: #0a0a0a;
  --muted: #5f5f5f;
  --accent: #d92b21;
  --accent-ink: #ffffff;
  --field-1: #0a0a0a;
  --field-1-ink: #ffffff;

  --ground: var(--field-1);         /* o chão preto do palco */
  --paper: var(--bg);               /* o papel do setlist */

  --font-display: "Libre Franklin", "Arial Narrow", Arial, sans-serif;
  --font-text: "Source Serif 4", Georgia, serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(3rem, 1rem + 5.2vw, 6.25rem);

  --m: clamp(16px, 1.7vw, 24px);
  --gutter: clamp(12px, 1.7vw, 24px);
  --section: clamp(96px, 12vw, 176px);
  --tab: 58px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-exit: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
  --t-reveal: 800ms;
  --t-open: 1200ms;
  --stagger-line: 90ms;
  --stagger-item: 70ms;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--field-1-ink); font-family: var(--font-text); font-size: var(--step-body); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, figure, ul, ol, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; text-wrap: balance; letter-spacing: -0.02em; line-height: 1.05; }
:target { scroll-margin-top: 24px; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.head { font-size: var(--step-head); letter-spacing: -0.035em; line-height: 0.98; }

/* botões: cantos retos, uma cor chapada */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; font-family: var(--font-display); font-weight: 700; font-size: var(--step-body); letter-spacing: -0.01em; text-decoration: none; cursor: pointer; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease; }
.btn:active { transform: scale(0.97); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ghost { background: var(--surface); color: var(--ink); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--wide { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn--accent:hover { background: var(--ink); color: var(--paper); }
  .btn--ink:hover { background: var(--accent); }
  .btn--ghost:hover { background: var(--ink); color: var(--paper); }
}
.more { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: var(--step-body); text-decoration: underline; text-decoration-thickness: 0.09em; text-underline-offset: 0.22em; transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease; }
.more::after { content: " →"; display: inline-block; transition: transform var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .more:hover::after { transform: translateX(4px); } }

/* a fita: o único ornamento, um pedaço de silver tape preto */
.tape { background: var(--ink); }
.tape--top { min-height: 56px; display: flex; align-items: center; justify-content: center; padding: 10px 24px; margin: 0 -10px 0; width: calc(100% + 20px); clip-path: polygon(0 6%, 2% 0, 4% 9%, 6% 2%, 94% 0, 96% 8%, 98% 1%, 100% 6%, 100% 94%, 98% 100%, 96% 91%, 94% 99%, 6% 100%, 4% 92%, 2% 100%, 0 94%); }

/* ---------- HERO: setlist ao lado da casa ---------- */
.hero { display: grid; padding-top: var(--m); grid-template-columns: 1fr 1fr; gap: 12px; padding: var(--m); min-height: 100svh; }
.hero__room { grid-column: 2; grid-row: 1; position: sticky; top: var(--m); height: calc(100svh - 2 * var(--m)); overflow: clip; background: #1c1c1c; }
.hero__room img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1600ms ease; }
.hero__room img.is-on { opacity: 1; }
.hero__caption { position: absolute; left: 0; bottom: 0; background: var(--paper); color: var(--ink); font-size: var(--step-small); padding: 10px 16px; font-weight: 600; }

.setlist { grid-column: 1; grid-row: 1; position: relative; background: var(--paper); color: var(--ink); min-height: calc(100svh - 2 * var(--m)); display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 clamp(20px, 3.4vw, 56px) 100px; }
.setlist__name { margin-top: clamp(24px, 4svh, 44px); font-size: var(--step-display); text-transform: uppercase; letter-spacing: -0.035em; line-height: 0.92; white-space: nowrap; }
.setlist__lede { margin-top: 20px; max-width: 46ch; font-size: 1.25rem; line-height: 1.45; }
.setlist__actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.setlist__label { margin-top: clamp(22px, 4svh, 40px); font-size: var(--step-small); color: var(--muted); font-style: italic; }
.setlist__songs { margin-top: 6px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: var(--step-lead); line-height: 1.14; letter-spacing: -0.02em; }
.song span { display: inline-block; padding: 0 8px; }
.song--hit span { background: var(--accent); color: var(--accent-ink); }
.song--hit .now { display: inline-block; margin-left: 10px; font-family: var(--font-text); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: var(--step-small); vertical-align: middle; }
.setlist__note { margin-top: auto; padding-top: 22px; font-size: var(--step-small); max-width: 52ch; }
.setlist__note strong { display: block; font-family: var(--font-display); font-size: var(--step-body); }
.setlist__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 20px; color: var(--paper); font-family: var(--font-display); font-weight: 700; font-size: var(--step-body); }
.setlist__nav a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.22em; text-decoration-thickness: 0.09em; transition: text-decoration-color var(--t-hover) ease; padding: 6px 0; }
.setlist__nav a:hover, .setlist__nav a:focus-visible { text-decoration-color: currentColor; }

/* ---------- CARTA ---------- */
.letter { overflow-x: clip; padding: var(--section) var(--m); display: flex; flex-direction: column; align-items: center; }
.letter__sheet { width: min(720px, 100%); background: var(--paper); color: var(--ink); padding: clamp(28px, 5vw, 60px); padding-bottom: 44px; }
.letter__face { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; background: var(--surface); }
.letter__title { margin-top: 24px; font-size: var(--step-lead); letter-spacing: -0.02em; }
.letter__body { margin-top: 18px; display: grid; gap: 1.05em; }
.letter__body mark { background: var(--accent); color: var(--accent-ink); padding: 0 4px; }
.letter__sign { margin-top: 32px; font-style: italic; font-size: var(--step-lead); line-height: 1.2; }
.letter__sign span { display: block; margin-top: 6px; font-style: normal; font-size: var(--step-small); color: var(--muted); }
.letter .bites { display: none; }
.letter__stub { position: relative; width: min(720px, 100%); background: var(--paper); color: var(--ink); border-top: 5px dotted var(--ground); padding: 18px clamp(28px, 5vw, 60px) 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.letter__stub::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 12px; background: var(--ground); clip-path: polygon(0 100%, 0 40%, 2.5% 100%, 5% 40%, 7.5% 100%, 10% 40%, 12.5% 100%, 15% 40%, 17.5% 100%, 20% 40%, 22.5% 100%, 25% 40%, 27.5% 100%, 30% 40%, 32.5% 100%, 35% 40%, 37.5% 100%, 40% 40%, 42.5% 100%, 45% 40%, 47.5% 100%, 50% 40%, 52.5% 100%, 55% 40%, 57.5% 100%, 60% 40%, 62.5% 100%, 65% 40%, 67.5% 100%, 70% 40%, 72.5% 100%, 75% 40%, 77.5% 100%, 80% 40%, 82.5% 100%, 85% 40%, 87.5% 100%, 90% 40%, 92.5% 100%, 95% 40%, 97.5% 100%, 100% 40%, 100% 100%); }

/* ---------- TRAJETÓRIA: pastas ---------- */
.road { padding: 0 0 var(--section); }
.road__head { padding: 0 var(--m) 48px; display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: end; }
.road__head h2 { grid-column: 1 / 8; }
.road__sub { grid-column: 9 / 13; font-size: var(--step-lead); line-height: 1.3; }

.folder { --band: var(--paper); --band-ink: var(--ink); color: var(--band-ink); }
.folder--ink { --band: #161616; --band-ink: var(--field-1-ink); }
.folder--accent { --band: var(--accent); --band-ink: var(--accent-ink); }
.folder--tone { --band: var(--surface); --band-ink: var(--ink); }
.folder__tab { display: inline-flex; align-items: center; gap: 14px; height: calc(var(--tab) - 6px); margin-left: var(--m); padding: 0 40px 0 24px; background: var(--band); font-size: var(--step-lead); letter-spacing: -0.02em; clip-path: polygon(0 100%, 0 14px, 14px 0, calc(100% - 30px) 0, 100% 100%); }
.folder__year { font-variant-numeric: tabular-nums; }
.folder__body { background: var(--band); display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); padding: 32px var(--m); }
.folder__pic { grid-column: 1 / 8; margin: 0; overflow: clip; }
.folder__pic--video { display: grid; align-content: center; }
.folder__videos { display: flex; flex-wrap: wrap; gap: 10px; }
.folder__pic > img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 30%; }
.folder--accent:last-child .folder__pic > img { object-position: 50% 12%; }
.folder__text { grid-column: 9 / 13; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.folder__kind { font-family: var(--font-display); font-weight: 700; font-size: var(--step-body); }
.folder--ink { border-color: var(--band); }

@media (min-width: 1024px) and (min-height: 640px) {
  .folders { --fb: max(520px, calc(100svh - 6 * var(--tab) + 40px)); }
  .folder { position: sticky; top: calc(var(--k) * var(--tab)); }
  .folder__body { height: calc(var(--fb) + (5 - var(--k)) * var(--tab)); align-items: start; padding-top: 76px; }
  .folder__pic { height: calc(var(--fb) - 112px); }
  .folder__pic > img { aspect-ratio: auto; }
}

/* vídeo do YouTube: só carrega no clique */
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; overflow: clip; color: var(--paper); text-align: left; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-soft); }
.yt__label { position: absolute; left: 0; bottom: 0; right: 0; display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: var(--step-small); }
.yt__label::before { content: ""; flex: none; width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent var(--accent); }
@media (hover: hover) and (pointer: fine) { .yt:hover img { transform: scale(1.04); } }
.yt iframe, .hit__screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- ZOAR E BEBER ---------- */
.hit__stage { position: relative; height: 100svh; min-height: 620px; overflow: clip; background: #000; }
.hit__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transition: opacity 600ms ease; }
.hit__card { --col: calc((100vw - 2 * var(--m) - 3 * var(--gutter)) / 4); position: absolute; left: calc(var(--m) + var(--col) + var(--gutter)); top: 50%; translate: 0 -50%; width: var(--col); min-height: 52svh; background: var(--ink); color: var(--paper); padding: 28px; display: flex; flex-direction: column; gap: 12px; transition: left 700ms var(--ease-in-out); }
.hit__name { font-size: var(--step-lead); text-transform: uppercase; letter-spacing: -0.02em; }
.hit__variant { font-size: var(--step-small); font-weight: 600; }
.hit__fact { font-size: var(--step-body); }
.hit__whole { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 35%; margin-top: auto; }
.hit__actions { display: grid; gap: 4px; }
.hit__alt { min-height: 44px; font-family: var(--font-display); font-weight: 700; font-size: var(--step-body); text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 0.09em; }
.hit__screen { position: absolute; background: #000; aspect-ratio: 16 / 9; }
.hit.is-playing .hit__bg { opacity: 0.18; }
.hit.is-playing .hit__card { left: var(--m); }
.hit.is-playing .hit__screen { left: calc(var(--m) + (100vw - 2 * var(--m) - 3 * var(--gutter)) / 4 + var(--gutter)); right: var(--m); top: 50%; translate: 0 -50%; max-height: calc(100svh - 2 * var(--m)); }

/* ---------- DISCOGRAFIA: caixas de CD que viram lombadas ---------- */
.discs { overflow-x: clip; --spine: 96px; --cw: 760px; --deck-h: 420px; }
.discs__stage { padding: var(--section) var(--m); }
.deck { margin-top: 48px; display: grid; gap: 12px; }
.disc { --tone: var(--paper); --tone-ink: var(--ink); background: var(--tone); color: var(--tone-ink); }
.disc--tone { --tone: var(--surface); }
.disc--accent { --tone: var(--accent); --tone-ink: var(--accent-ink); }
.disc__spine { display: none; }
.disc__body { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 24px; padding: 24px; align-items: start; }
.disc__body img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 20%; }
.disc__text { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.disc__text h3 { font-size: var(--step-lead); text-transform: uppercase; letter-spacing: -0.02em; }
.disc__meta { font-family: var(--font-display); font-weight: 700; font-size: var(--step-small); }
.discs__foot { margin-top: 40px; font-size: var(--step-body); }
.discs__foot a { font-family: var(--font-display); font-weight: 700; text-underline-offset: 0.22em; text-decoration-thickness: 0.09em; }

.discs.is-pinned .discs__stage { position: sticky; top: 0; height: 100svh; padding-top: max(56px, 11svh); padding-bottom: 0; display: flex; flex-direction: column; }
.discs.is-pinned .deck { position: relative; display: block; height: var(--deck-h); overflow: clip; margin-top: 40px; }
.discs.is-pinned .disc { position: absolute; top: 0; left: 0; width: var(--cw); height: 100%; display: grid; grid-template-columns: var(--spine) 1fr; will-change: transform, clip-path; }
.discs.is-pinned .disc__spine { display: flex; align-items: center; justify-content: center; height: 100%; cursor: pointer; }
.discs.is-pinned .disc__spine span { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: var(--step-body); letter-spacing: 0; white-space: nowrap; max-height: calc(var(--deck-h) - 32px); overflow: hidden; text-overflow: ellipsis; }
.discs.is-pinned .disc__body { grid-template-columns: calc(var(--deck-h) - 64px) 1fr; padding: 32px 32px 32px 0; gap: 28px; height: 100%; }
.discs.is-pinned .disc__body img { height: 100%; width: auto; }

/* ---------- NO PALCO: loop do DVD + setlists em pé ---------- */
.stage { position: relative; height: 96svh; min-height: 680px; overflow: clip; background: #000; }
.stage__film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage__copy { position: absolute; left: 18%; top: 8svh; width: min(44vw, 640px); background: rgba(10, 10, 10, 0.72); color: var(--paper); padding: 28px 32px; display: grid; gap: 14px; font-size: var(--step-lead); line-height: 1.3; }
.stage__title { font-size: var(--step-head); letter-spacing: -0.035em; line-height: 0.98; }
.slips { position: absolute; left: var(--m); right: var(--m); bottom: 0; display: flex; gap: 12px; align-items: flex-end; }
.slip { flex: 1 1 0; min-width: 0; min-height: var(--h); background: var(--paper); color: var(--ink); padding: 18px 18px 64px; transform: translateY(40px) rotate(var(--r, 0deg)); transform-origin: 50% 100%; font-size: var(--step-body); line-height: 1.32; }
.slip p + p { margin-top: 2px; }
.slip__head { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; }
.slip__cut { color: var(--muted); letter-spacing: 0.1em; }

/* ---------- PARA O JÚRI: o programa impresso ---------- */
.jury { background: var(--accent); padding-top: var(--section); overflow: clip; }
.jury__card { width: min(56vw, 860px); min-width: min(760px, calc(100% - 2 * var(--m))); margin: 0 auto -120px; background: var(--paper); color: var(--ink); padding: 56px 56px 200px; text-align: center; transform: rotate(-1.2deg); }
.jury__title { font-size: var(--step-head); letter-spacing: -0.035em; line-height: 0.98; }
.jury__plate { margin: 32px 0 8px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 40%; }
.jury__group { margin-top: 28px; }
.jury__group h3 { font-size: var(--step-lead); text-transform: uppercase; letter-spacing: -0.02em; }
.jury__group p { margin-top: 8px; line-height: 1.7; }
.jury__group a { font-weight: 600; text-underline-offset: 0.2em; }
@media (hover: hover) and (pointer: fine) { .jury__group a:hover { color: var(--accent); } }
.jury__actions { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ---------- FOTOS: etiquetas presas na foto ---------- */
.tags { overflow-x: clip; padding: var(--section) var(--m); }
.tags__grid { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 12px; }
.tag { --s: var(--paper); --s-ink: var(--ink); }
.tag--b { --s: var(--accent); --s-ink: var(--accent-ink); }
.tag--c { --s: var(--surface); --s-ink: var(--ink); }
.tag--d { --s: #1c1c1c; --s-ink: var(--field-1-ink); }
.tag img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; background: #1c1c1c; }
.tag__strip { position: relative; background: var(--s); color: var(--s-ink); min-height: 84px; padding: 12px 14px; font-size: var(--step-small); font-variant-numeric: tabular-nums; display: grid; align-content: center; gap: 4px; }
.tag__strip p { display: flex; justify-content: space-between; gap: 10px; }
.tag__strip p:first-child { font-family: var(--font-display); font-weight: 700; font-size: var(--step-body); }

/* ---------- PEDIDO: o cupom ---------- */
.order { overflow-x: clip; padding: 0 var(--m) 120px; }
.coupon { position: relative; width: min(1150px, 100%); margin: 0 auto; display: grid; grid-template-columns: 46fr 0 54fr; background: var(--accent); color: var(--accent-ink); }
.coupon__left { padding: 48px; display: flex; flex-direction: column; gap: 18px; }
.coupon__title { font-size: var(--step-head); text-transform: uppercase; letter-spacing: -0.035em; line-height: 0.95; }
.coupon__lede { font-size: var(--step-body); max-width: 34ch; }
.ticket { margin-top: auto; background: var(--paper); color: var(--ink); padding: 22px 24px; text-align: center; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; transform: rotate(-1deg); }
.ticket__name { font-size: var(--step-lead); letter-spacing: -0.02em; }
.ticket__line { font-size: var(--step-body); }
.ticket__songs { margin-top: 10px; font-size: var(--step-body); background: var(--ink); color: var(--paper); padding: 6px 10px; }
.ticket [data-out].is-new { animation: marker 700ms var(--ease-out); }
@keyframes marker { from { background: var(--accent); color: var(--accent-ink); } }
.coupon__cut { position: relative; border-left: 5px dotted var(--ground); }
.notch { position: absolute; left: -16px; width: 28px; height: 28px; border-radius: 50%; background: var(--ground); }
.notch--top { top: -14px; }
.notch--bottom { bottom: -14px; }
.coupon__right { padding: 48px; display: grid; gap: 10px; align-content: start; }
.field input[type="text"], .field input[type="date"], .field select { width: 100%; height: 52px; border: 0; border-radius: 0; background: var(--paper); color: var(--ink); padding: 0 16px; font-size: var(--step-body); appearance: none; }
.field select { background-image: none; cursor: pointer; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field--choice, .field--songs { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.field--choice label { flex: 1 1 0; }
.field--choice input, .field--songs input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.field--choice span, .field--songs span { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 16px; background: var(--paper); color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: var(--step-body); cursor: pointer; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.field--songs span { min-height: 44px; font-size: var(--step-small); }
.field--choice input:checked + span, .field--songs input:checked + span { background: var(--ink); color: var(--paper); }
.field--choice input:focus-visible + span, .field--songs input:focus-visible + span { outline: 3px solid var(--paper); outline-offset: 2px; }
.field--choice span:active, .field--songs span:active { transform: scale(0.97); }
.field--songs legend { width: 100%; padding: 8px 0 2px; font-family: var(--font-display); font-weight: 700; font-size: var(--step-body); }
.coupon__send { margin-top: 8px; height: 56px; width: 100%; background: var(--ink); color: var(--paper); font-family: var(--font-display); font-weight: 700; font-size: var(--step-body); transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease; }
.coupon__send:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .coupon__send:hover { background: var(--paper); color: var(--ink); } }
.coupon.is-sent .coupon__left { animation: tear 900ms var(--ease-out); }
@keyframes tear { 30% { transform: translate(-10px, 6px) rotate(-1.6deg); } 100% { transform: none; } }

/* ---------- RODAPÉ: o verso do cartão ---------- */
.back { overflow-x: clip; padding: 0 var(--m) 120px; }
.tape--band { height: 8px; background: var(--accent); margin-bottom: 72px; }
.back__card { position: relative; width: min(1150px, 100%); margin: 0 auto; background: var(--paper); color: var(--ink); padding: 56px; min-height: 420px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px 56px; }
.scallops { position: absolute; left: 0; right: 0; top: 0; display: flex; transform: translateY(-99%); }
.scallops i { flex: 1; aspect-ratio: 2 / 1; background: var(--paper); border-radius: 999px 999px 0 0; }
.back__title { font-size: var(--step-head); letter-spacing: -0.035em; line-height: 0.98; }
.back__note p { margin-top: 18px; max-width: 40ch; }
.back__mark { margin-top: 28px; width: min(300px, 100%); }
.back__address { position: relative; padding-top: 8px; }
.back__stamp { position: absolute; right: 0; top: 0; width: 88px; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 10%; padding: 6px; background: var(--surface); transform: rotate(3deg); }
.back__address ul { display: grid; gap: 12px; padding-top: 120px; font-size: var(--step-lead); line-height: 1.25; }
.back__address a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease; }
.back__address a:hover, .back__address a:focus-visible { text-decoration-color: currentColor; color: var(--accent); }
.back__imprint { grid-column: 1 / -1; align-self: end; text-align: center; font-size: var(--step-small); color: var(--muted); }
.back__name { margin-top: 80px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: var(--step-display); letter-spacing: -0.035em; line-height: 0.9; text-align: center; }

/* ---------- PLAYER: a fita branca no canto ---------- */
.player { position: fixed; right: var(--m); top: var(--m); z-index: 60; display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; background: var(--paper); color: var(--ink); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28); /* taste-skill-ignore: player e botão flutuantes, exceção prevista no BRIEF */ }
.player::before, .player::after { content: ""; position: absolute; top: 0; bottom: 0; width: 8px; background: var(--paper); }
.player::before { right: 100%; clip-path: polygon(100% 0, 0 10%, 70% 22%, 0 36%, 80% 50%, 0 64%, 70% 78%, 0 90%, 100% 100%); }
.player::after { left: 100%; clip-path: polygon(0 0, 100% 12%, 30% 26%, 100% 40%, 20% 54%, 100% 68%, 30% 82%, 100% 92%, 0 100%); }
.player__play { flex: none; width: 48px; height: 48px; display: grid; place-items: center; background: var(--ink); color: var(--paper); transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.player__play svg { width: 22px; height: 22px; fill: currentColor; }
.player__play .ico-pause { display: none; }
.player__play[aria-pressed="true"] { background: var(--accent); }
.player__play[aria-pressed="true"] .ico-play { display: none; }
.player__play[aria-pressed="true"] .ico-pause { display: block; }
.player__play:active { transform: scale(0.94); }
.eq { flex: none; display: flex; align-items: flex-end; gap: 3px; width: 29px; height: 26px; }
.eq i { flex: 1; height: 100%; background: var(--accent); transform-origin: 50% 100%; transform: scaleY(0.18); }
.player__info { display: grid; font-size: var(--step-small); line-height: 1.25; min-width: 0; }
.player__song { font-family: var(--font-display); font-weight: 700; }
.player__hint { font-style: italic; }
.player__more { display: none; }
.player__volume { display: flex; align-items: center; gap: 6px; }
.player__step { width: 36px; height: 44px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.player__mute { min-height: 44px; padding: 0 12px; background: var(--surface); font-family: var(--font-display); font-weight: 700; font-size: var(--step-small); }
.player__mute[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.player__step:hover, .player__more:hover { color: var(--accent); }
.player input[type="range"] { -webkit-appearance: none; appearance: none; width: 104px; height: 44px; background: transparent; cursor: pointer; }
.player input[type="range"]::-webkit-slider-runnable-track { height: 6px; background: var(--surface); }
.player input[type="range"]::-moz-range-track { height: 6px; background: var(--surface); }
.player input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -7px; border-radius: 50%; background: var(--ink); }
.player input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: var(--ink); }

.wa-fixed { flex: none; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 14px; margin-left: 4px; background: var(--accent); color: var(--accent-ink); font-family: var(--font-display); font-weight: 700; font-size: var(--step-body); text-decoration: none; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.wa-fixed svg { width: 24px; height: 24px; fill: currentColor; }
.wa-fixed:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .wa-fixed:hover { background: var(--ink); } }

/* ---------- tablete e celular ---------- */
@media (max-width: 1023px) {
  .road__head h2 { grid-column: 1 / -1; }
  .road__sub { grid-column: 1 / -1; }
  .folder__pic, .folder__text { grid-column: 1 / -1; }
  .folder__text { gap: 14px; }
  .jury__card { width: auto; min-width: 0; margin-inline: calc(var(--m) + 8px); }
  .tags__grid { grid-template-columns: repeat(3, 1fr); }
  .hit__card { --col: calc((100vw - 2 * var(--m) - var(--gutter)) / 2); left: var(--m); }
  .hit.is-playing .hit__screen { left: calc(var(--m) + (100vw - 2 * var(--m) - var(--gutter)) / 2 + var(--gutter)); }

  /* no palco: o texto em cima, os setlists em grade logo abaixo, nada escondido */
  .stage { height: auto; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; }
  .stage__copy { position: relative; left: auto; top: auto; width: auto; max-width: 620px; margin: var(--m); font-size: var(--step-body); padding: 22px; }
  .slips { --lift: 0px; position: relative; left: auto; right: auto; padding: 48px var(--m) var(--m); display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: start; }
  .slip { min-height: 0; padding: 16px 16px 20px; transform: rotate(var(--r, 0deg)); }

  /* a fita do player vira uma barra compacta no topo */
  .player { gap: 10px; padding: 6px; }
  .player__play { width: 44px; height: 44px; }
  .player__info { flex: 1; }
  .player__hint { display: none; }
  .player__more { display: grid; place-items: center; flex: none; width: 44px; height: 44px; }
  .player__more svg { width: 22px; height: 22px; fill: currentColor; }
  .player__volume { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--paper); padding: 6px 10px; justify-content: space-between; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28); /* taste-skill-ignore: player flutuante, exceção prevista no BRIEF */ }
  .player__volume:not(.is-open) { display: none; }
  .player input[type="range"] { flex: 1; width: auto; }
  .wa-fixed { min-height: 44px; }
}

@media (max-width: 899px) {
  .hero { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .hero__room { grid-column: 1; grid-row: 1; position: relative; top: 0; height: 42svh; }
  .hero__caption { display: none; }
  .setlist { padding-bottom: 28px; grid-column: 1; grid-row: 2; min-height: 0; margin-top: -24px; z-index: 1; width: calc(100% - 16px); justify-self: center; }
  .tape--top { min-height: 40px; padding: 8px 16px; }
  .setlist__nav { gap: 0 16px; font-size: var(--step-small); }
  .setlist__name { margin-top: 18px; font-size: clamp(2.6rem, 12vw, 6rem); }
  .setlist__note { margin-top: 0; }
}

@media (max-width: 700px) {
  .letter__stub { flex-direction: column; align-items: stretch; }
  .folder__tab { height: 46px; font-size: var(--step-body); padding: 0 34px 0 18px; }
  .folder__body { padding: 20px var(--m) 28px; }
  .folder__pic > img { aspect-ratio: 4 / 3; }
  .hit__stage { height: auto; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: var(--m); }
  .hit__card { position: relative; left: auto; top: auto; translate: none; width: 100%; min-height: 46svh; display: grid; grid-template-columns: 1fr 96px; align-content: start; padding: 20px; }
  .hit__card > *:not(.hit__whole) { grid-column: 1 / -1; }
  .hit__name { grid-column: 1 !important; grid-row: 1; align-self: center; }
  .hit__whole { grid-column: 2; grid-row: 1; margin: 0; width: 96px; }
  .hit.is-playing .hit__card { left: auto; }
  .hit.is-playing .hit__screen { position: relative; left: auto; right: auto; top: auto; translate: none; width: 100%; margin-bottom: 12px; order: -1; }
  .disc__body { grid-template-columns: 112px 1fr; gap: 16px; padding: 16px; }
  .slips { grid-template-columns: 1fr 1fr; padding-top: 32px; }
  .slip { padding: 14px 14px 18px; }
  .jury__card { padding: 28px 22px 160px; transform: rotate(-1deg); }
  .jury__group p { line-height: 1.6; }
  .tags__grid { grid-template-columns: 1fr 1fr; gap: 20px 8px; }
  .tag__strip { min-height: 0; padding: 10px; }
  .tag__strip p:last-child { display: none; }
  .tag__strip p:first-child { font-size: var(--step-small); flex-wrap: wrap; }
  .coupon { grid-template-columns: 1fr; }
  .coupon__left, .coupon__right { padding: 26px 20px; }
  .coupon__cut { border-left: 0; border-top: 5px dotted var(--ground); height: 0; }
  .notch { top: -16px; left: auto; bottom: auto; }
  .notch--top { left: -14px; }
  .notch--bottom { right: -14px; }
  .field-row { grid-template-columns: 1fr; }
  .tape--band { margin-bottom: 80px; }
  .back__card { grid-template-columns: 1fr; padding: 32px 22px; }
  .back__stamp { width: 64px; }
  .back__address ul { padding-top: 0; padding-right: 80px; font-size: var(--step-body); }
  .scallops i { flex: 0 0 calc(100% / 6); }
  .scallops { overflow: hidden; }
  .player { left: var(--m); top: 10px; }
  .wa-fixed { width: 44px; padding: 0; justify-content: center; }
  .wa-fixed span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

/* ---------- movimento ---------- */
.lines .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.lines [data-line] { display: block; }

@media (prefers-reduced-motion: no-preference) {
  /* carga: nome sobe, frase e botões chegam, a foto abre, a fita assenta */
  .js .hero [data-line] { transform: translateY(105%); animation: rise-line 900ms var(--ease-expo) forwards; animation-delay: calc(140ms + var(--i) * var(--stagger-line)); }
  .js .hero [data-load] { opacity: 0; transform: translateY(14px); animation: rise 560ms var(--ease-out) forwards; animation-delay: var(--d); }
  .js .hero__room { clip-path: inset(0 0 100% 0); animation: open 1100ms var(--ease-in-out) 120ms forwards; }
  .js .tape--top { transform: translateY(-8px) rotate(-0.8deg) scaleX(1.04); opacity: 0; animation: tape 700ms var(--ease-out) 60ms forwards; }
  .js .song--hit span { clip-path: inset(0 100% 0 0); animation: wipe 700ms var(--ease-in-out) 760ms forwards; }

  /* entradas por seção, uma vez */
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-expo); transition-delay: calc(var(--d, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .hit__card[data-reveal] { transform: translateY(48px); }
  .js .hit__card[data-reveal].is-in { transform: none; }
  .js [data-sheet] { transform: translateY(40px) rotate(2.2deg); opacity: 0; transition: transform 1100ms var(--ease-expo), opacity 600ms var(--ease-out); }
  .js [data-sheet].is-in { transform: rotate(-0.6deg); opacity: 1; }
  .js .letter__stub { transform: rotate(-0.6deg); transform-origin: 50% 0; }
  .js [data-card] { transform: translateY(80px) rotate(4deg); transition: transform 1300ms var(--ease-expo); }
  .js .jury__card[data-card].is-in { transform: rotate(-1.2deg); }
  .js .back__card[data-card].is-in { transform: none; }
  .js [data-slip] { transform: translateY(calc(var(--lift, 40px) + 60%)) rotate(0deg); transition: transform 1000ms var(--ease-expo); transition-delay: calc(var(--n, 0) * 80ms); }
  .js [data-slip].is-in { transform: translateY(var(--lift, 40px)) rotate(var(--r, 0deg)); }
  .js .folder__pic img, .js .folder__pic .yt { transform: scale(1.1); transition: transform 1500ms var(--ease-soft); }
  .js .folder.is-in .folder__pic img, .js .folder.is-in .folder__pic .yt { transform: none; }
  .js .folder__text > * { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease-out), transform 800ms var(--ease-expo); }
  .js .folder.is-in .folder__text > * { opacity: 1; transform: none; }
  .js .folder.is-in .folder__text > :nth-child(2) { transition-delay: 80ms; }
  .js .folder.is-in .folder__text > :nth-child(3) { transition-delay: 160ms; }
  .js .tag img { clip-path: inset(0 0 100% 0); transition: clip-path 800ms var(--ease-in-out); transition-delay: calc(var(--n, 0) * 70ms); }
  .js .tag__strip { transform: translateY(-30px); opacity: 0; transition: transform 700ms var(--ease-out), opacity 400ms ease; transition-delay: calc(500ms + var(--n, 0) * 70ms); }
  .js .tag.is-in img { clip-path: inset(0); }
  .js .tag.is-in .tag__strip { transform: none; opacity: 1; }
  .js .discs:not(.is-pinned) .disc { opacity: 0; transform: translateX(40px); transition: opacity 600ms var(--ease-out), transform 900ms var(--ease-expo); }
  .js .discs:not(.is-pinned) .disc.is-in { opacity: 1; transform: none; }
  .js .coupon[data-reveal] { transform: translateY(40px) rotate(-1deg); }
  .js .coupon[data-reveal].is-in { transform: none; }

}
@keyframes rise-line { to { transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes open { to { clip-path: inset(0); } }
@keyframes tape { to { transform: none; opacity: 1; } }
@keyframes wipe { to { clip-path: inset(0); } }

/* o cartaz de Zoar e Beber aproxima devagar com a rolagem */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hit__stage { view-timeline-name: --hit; }
    .hit__bg { animation: drift linear both; animation-timeline: --hit; animation-range: cover 0% cover 100%; }
    .stage { view-timeline-name: --stage; }
    .stage__film { animation: sink linear both; animation-timeline: --stage; animation-range: cover 0% cover 100%; }
  }
}
@keyframes drift { from { transform: scale(1.12) translateY(-3%); } to { transform: scale(1.02) translateY(3%); } }
@keyframes sink { from { transform: scale(1.08); } to { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .hero__room img { transition: none; }
}

@media (prefers-reduced-motion: no-preference) and (max-width: 700px) {
  .js [data-card] { transform: translateY(60px) rotate(1deg); }
}
