/* ==========================================================================
   Chorão Eterno — estilos base
   Direção: zine de skate / cartaz de show. Preto de palco, papel creme,
   vermelho da capa de "Abalando a Sua Fábrica" e o violeta do holofote.
   ========================================================================== */

:root {
    --ink: #0d0b0c;
    --ink-2: #171314;
    --ink-3: #231d1f;
    --paper: #f2eadb;
    --paper-2: #e6dbc6;
    --red: #e0301e;
    --red-deep: #b5200f;
    --violet: #5a48ff;
    --text: var(--paper);
    --text-muted: rgba(242, 234, 219, 0.66);
    --line: rgba(242, 234, 219, 0.16);

    --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
    --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

    --gutter: clamp(1rem, 4vw, 3rem);
    --max: 82rem;
    --section-y: clamp(5rem, 12vw, 10rem);
    --header-h: 4.5rem;

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset enxuto ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--ink);
    color: var(--text);
    font-family: var(--font-body);
    font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Granulado de filme por cima de tudo */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    opacity: 0.07;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img,
svg,
picture { display: block; max-width: 100%; }
main { overflow-x: clip; }
img { height: auto; }

h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

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

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

html { scrollbar-color: var(--paper-2) var(--ink); }
body::-webkit-scrollbar { width: 12px; }
body::-webkit-scrollbar-track { background: var(--ink); }
body::-webkit-scrollbar-thumb { background: var(--paper-2); border: 3px solid var(--ink); border-radius: 12px; }

.container {
    width: 100%;
    max-width: calc(var(--max) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section { position: relative; padding-block: var(--section-y); }

.skip-link {
    position: absolute;
    left: var(--gutter);
    top: -4rem;
    z-index: 200;
    padding: 0.75rem 1rem;
    background: var(--paper);
    color: var(--ink);
    font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.eyebrow--ink { color: rgba(13, 11, 12, 0.7); }

.dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--red);
    flex: none;
}
.dot--live { box-shadow: 0 0 0 0 rgba(224, 48, 30, 0.6); }
.is-playing .dot--live { animation: pulse 1.6s infinite; }

@keyframes pulse {
    70% { box-shadow: 0 0 0 0.6rem rgba(224, 48, 30, 0); }
    100% { box-shadow: 0 0 0 0 rgba(224, 48, 30, 0); }
}

.caption {
    margin-top: 0.9rem;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.section-head {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    column-gap: clamp(1rem, 2.5vw, 2rem);
}
.section-head__num {
    padding-top: 0.6em;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--red);
    font-variant-numeric: tabular-nums;
}
.section-head__num::after {
    content: "";
    display: inline-block;
    width: 2.5rem;
    height: 1px;
    margin-left: 0.75rem;
    vertical-align: middle;
    background: currentColor;
}
.section-head__title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(3rem, 2rem + 5vw, 6.5rem);
    line-height: 0.88;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

/* ---------- Botões ---------- */
.btn {
    --btn-bg: transparent;
    --btn-fg: var(--paper);
    --btn-bd: transparent;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 3.25rem;
    padding: 0.85rem 1.5rem;
    border: 2px solid var(--btn-bd);
    border-radius: 0;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    line-height: 1.1;
    cursor: pointer;
    transition: transform 0.25s var(--ease-out), background-color 0.25s, color 0.25s, box-shadow 0.25s var(--ease-out);
}
.btn__icon { width: 1.1em; height: 1.1em; }
.btn:active { transform: translate(2px, 2px); box-shadow: none; }

.btn--primary {
    --btn-bg: var(--red);
    --btn-bd: var(--red);
    box-shadow: 5px 5px 0 var(--paper);
}
.btn--primary:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--paper); }

.btn--ghost { --btn-bd: var(--line); }
.btn--ghost:hover { --btn-bd: var(--paper); }

.btn--outline { --btn-bd: var(--paper); }
.btn--outline:hover { --btn-bg: var(--paper); --btn-fg: var(--ink); }

.btn--small { min-height: 2.5rem; padding: 0.5rem 1.1rem; font-size: 0.85rem; }

.btn--ink {
    --btn-bg: var(--ink);
    --btn-fg: var(--paper);
    --btn-bd: var(--ink);
    box-shadow: 5px 5px 0 var(--paper);
}
.btn--ink:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--paper); }
.btn--ink-ghost { --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--ink-ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--red); }

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    transition: background-color 0.35s, border-color 0.35s, transform 0.35s var(--ease-out);
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
    background: rgba(13, 11, 12, 0.94);
    border-bottom-color: var(--line);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: calc(var(--max) + var(--gutter) * 2);
    height: var(--header-h);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}
.brand img {
    width: 2.75rem;
    height: 2.75rem;
    transition: transform 0.5s var(--ease-out);
}
.brand:hover img { transform: rotate(-12deg); }
.brand__name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 0.92;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 2.75rem); }
.nav__list { display: flex; gap: clamp(1.25rem, 2.5vw, 2.25rem); }
.nav__list a {
    position: relative;
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
    padding-block: 0.4rem;
    font-weight: 600;
    font-size: 0.92rem;
}
.nav__num {
    font-size: 0.65rem;
    color: var(--red);
    font-variant-numeric: tabular-nums;
}
.nav__list a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s var(--ease-out);
}
.nav__list a:hover::after,
.nav__list a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle {
    display: none;
    align-items: center;
    gap: 0.75rem;
    min-height: 2.75rem;
    padding: 0.5rem 0;
    border: 0;
    background: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.menu-toggle__bars,
.menu-toggle__bars::before {
    display: block;
    width: 1.6rem;
    height: 2px;
    background: currentColor;
    transition: transform 0.35s var(--ease-out);
}
.menu-toggle__bars { position: relative; transform: translateY(-4px); }
.menu-toggle__bars::before { content: ""; position: absolute; top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(-8px) rotate(-90deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    display: flex;
    min-height: 100vh;
    min-height: 100svh;
    padding-top: calc(var(--header-h) + 2rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
    overflow: hidden;
    isolation: isolate;
}

.hero__media {
    position: absolute;
    inset: 0 0 0 28%;
    z-index: -1;
}
.hero__media picture { height: 100%; }
.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
    animation: hero-zoom 2.4s var(--ease-out) both;
}
.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, var(--ink) 0%, rgba(13, 11, 12, 0.75) 22%, rgba(13, 11, 12, 0) 55%),
        linear-gradient(0deg, var(--ink) 0%, rgba(13, 11, 12, 0) 35%),
        linear-gradient(180deg, rgba(13, 11, 12, 0.6) 0%, rgba(13, 11, 12, 0) 20%);
}

@keyframes hero-zoom {
    from { transform: scale(1.08); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.hero__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero__eyebrow { color: var(--paper); }

.hero__title {
    margin: 1.25rem 0 clamp(2rem, 4vw, 3rem);
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(5.5rem, 3rem + 13vw, 16rem);
    line-height: 0.8;
    letter-spacing: -0.015em;
    text-transform: uppercase;
}
.hero__line {
    display: block;
    animation: rise 1.1s var(--ease-out) both;
}
.hero__line--outline {
    margin-left: 0.32em;
    color: transparent;
    -webkit-text-stroke: 2px var(--paper);
    animation-delay: 0.12s;
}
@supports not (-webkit-text-stroke: 1px black) {
    .hero__line--outline { color: var(--paper); }
}

@keyframes rise {
    from { transform: translateY(0.35em); opacity: 0; }
    to { transform: none; opacity: 1; }
}

.hero__bottom {
    display: grid;
    grid-template-columns: minmax(0, 27rem) auto;
    align-items: end;
    gap: 1.5rem 3rem;
    animation: rise 1.1s 0.25s var(--ease-out) both;
}
.hero__lead {
    font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
    line-height: 1.55;
    color: var(--text-muted);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__sticker {
    position: absolute;
    right: clamp(4rem, 9vw, 9rem);
    bottom: clamp(8rem, 16vw, 14rem);
    width: clamp(6.5rem, 11vw, 9.5rem);
    border-radius: 50%;
    transform: rotate(-14deg);
    filter: drop-shadow(4px 4px 0 var(--ink));
    animation: sticker 1s 0.6s var(--ease-out) both;
}
@keyframes sticker {
    from { transform: rotate(-40deg) scale(0.6); opacity: 0; }
    to { transform: rotate(-14deg) scale(1); opacity: 1; }
}

.hero__meta {
    position: absolute;
    right: var(--gutter);
    bottom: clamp(3rem, 6vw, 5rem);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    line-height: 1.7;
    text-align: right;
    text-transform: uppercase;
    color: var(--text-muted);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

/* ---------- Marquee ---------- */
.marquee {
    position: relative;
    z-index: 2;
    margin-block: -1.5rem;
    padding-block: 1rem;
    overflow: hidden;
    background: var(--red);
    color: var(--ink);
    transform: rotate(-2deg) scale(1.04);
    border-block: 2px solid var(--ink);
}
.marquee__track {
    display: flex;
    width: max-content;
    animation: marquee 32s linear infinite;
}
.marquee__track span {
    padding-inline: 1.5rem;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(1.75rem, 1.2rem + 2.5vw, 3.25rem);
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}
.marquee__track .marquee__star { padding-inline: 0; font-family: var(--font-body); }

@keyframes marquee {
    to { transform: translateX(-50%); }
}

/* ---------- Origem ---------- */
.origin { padding-top: calc(var(--section-y) + 2rem); }

.origin__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 3.5rem) clamp(1rem, 2.5vw, 2rem);
    align-items: start;
}
.origin__head { grid-column: 1 / -1; }

.origin__photo {
    grid-column: 1 / span 6;
    margin-top: 1rem;
}
.origin__frame {
    position: relative;
    isolation: isolate;
}
.origin__frame::before {
    content: "";
    position: absolute;
    inset: 1.25rem -1.25rem -1.25rem 1.25rem;
    z-index: -1;
    background: var(--red);
}
.origin__photo .caption { margin-top: 2.25rem; padding-left: 1.25rem; }
.origin__frame img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    filter: contrast(1.08) saturate(0.85);
}

.origin__text {
    grid-column: 8 / span 5;
    display: grid;
    gap: 2rem;
}

.quote p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.75rem);
    line-height: 0.98;
    letter-spacing: -0.01em;
    text-indent: -0.4em;
}
.origin__body { color: var(--text-muted); max-width: 34rem; }
.origin__body q { color: var(--paper); quotes: "“" "”"; }
.origin__kicker {
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem);
    line-height: 1;
    text-transform: uppercase;
}
.origin__kicker strong { color: var(--red); font-weight: 900; }

/* ---------- Utilitários extras ---------- */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.round-btn {
    display: inline-grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    flex: none;
    border: 2px solid currentColor;
    border-radius: 50%;
    background: transparent;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, transform 0.25s var(--ease-out);
}
.round-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.round-btn:active { transform: scale(0.94); }
.round-btn:disabled { opacity: 0.3; cursor: default; background: transparent; color: inherit; border-color: currentColor; }
.round-btn--ink { color: var(--ink); }

.chip-link {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid var(--line);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--text-muted);
    transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.chip-link:hover { color: var(--paper); border-color: var(--paper); }

/* ---------- Capas dos discos ---------- */
.cover {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--ink-3);
}
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 1px rgba(13, 11, 12, 0.12);
    pointer-events: none;
}
.cover--mini { width: 3.25rem; flex: none; }

/* ---------- 02 Sucessos / jukebox ---------- */
.hits {
    background: var(--ink-2);
    overflow: hidden;
    isolation: isolate;
}
.hits__glow {
    position: absolute;
    z-index: -1;
    top: -10%;
    left: -20%;
    width: 75vw;
    height: 75vw;
    max-width: 62rem;
    max-height: 62rem;
    background: radial-gradient(closest-side, rgba(90, 72, 255, 0.3), rgba(90, 72, 255, 0));
}
.hits__intro,
.discs__intro,
.story__intro {
    grid-column: 2;
    max-width: 30rem;
    margin-top: 1.25rem;
    color: var(--text-muted);
}

.jukebox {
    display: grid;
    grid-template-columns: minmax(18rem, 25rem) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
    margin-top: clamp(3rem, 6vw, 4.5rem);
}

.deck__sticky {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
    display: grid;
    gap: 1rem;
}
.deck__title {
    margin-top: 0.25rem;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.25rem, 1.6rem + 2.2vw, 3.5rem);
    line-height: 0.9;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}
.deck__meta { color: var(--text-muted); font-size: 0.95rem; }

.deck__screen {
    position: relative;
    min-height: 152px;
    margin-top: 0.5rem;
    background: var(--ink);
    border: 1px solid var(--line);
}
.deck__screen iframe {
    display: block;
    width: 100%;
    height: 152px;
    border: 0;
}
.deck__placeholder {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    height: 152px;
    padding: 1rem 1.25rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.deck__vinyl {
    flex: none;
    display: grid;
    place-items: center;
    width: 6.5rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        repeating-radial-gradient(circle, #111 0 2px, #1d191a 2px 3px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    animation: spin 6s linear infinite;
}
.deck__vinyl img {
    width: 38%;
    padding: 6%;
    border-radius: 50%;
    background: var(--red);
}
@keyframes spin { to { transform: rotate(360deg); } }

.deck__controls { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.deck__hint { font-size: 0.78rem; color: var(--text-muted); }

.dot--live { box-shadow: 0 0 0 0 rgba(224, 48, 30, 0.6); }
.is-loaded .dot--live { animation: pulse 1.6s infinite; }
@keyframes pulse {
    70% { box-shadow: 0 0 0 0.6rem rgba(224, 48, 30, 0); }
    100% { box-shadow: 0 0 0 0 rgba(224, 48, 30, 0); }
}

/* Busca + filtros */
.crate__tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
}
.search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1 1 18rem;
    min-height: 3.25rem;
    border-bottom: 2px solid var(--paper);
    transition: border-color 0.2s;
}
.search:focus-within { border-color: var(--red); }
.search svg { width: 1.25rem; height: 1.25rem; flex: none; color: var(--text-muted); }
.search input {
    flex: 1;
    min-width: 0;
    padding: 0.6rem 0;
    border: 0;
    background: transparent;
    font-size: 1.1rem;
    outline: none;
}
.search input::placeholder { color: rgba(242, 234, 219, 0.45); }
.search input::-webkit-search-cancel-button { filter: invert(1); }
.search kbd {
    padding: 0.1rem 0.45rem;
    border: 1px solid var(--line);
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.filters { display: flex; flex-wrap: wrap; }
.filter {
    min-height: 2.75rem;
    padding: 0.5rem 0.95rem;
    border: 1px solid var(--line);
    background: transparent;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.filter + .filter { margin-left: -1px; }
.filter:hover { border-color: var(--paper); position: relative; }
.filter[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); position: relative; }

.crate__count {
    margin-top: 1.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Lista de faixas */
.tracks { margin-top: 0.75rem; border-top: 1px solid var(--line); }
.track {
    position: relative;
    display: grid;
    grid-template-columns: 2rem 3.25rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0.75rem 1rem 0.5rem;
    border-bottom: 1px solid var(--line);
    transition: background-color 0.25s;
}
.track[hidden] { display: none; }
.track::before {
    content: "";
    position: absolute;
    left: 0;
    top: -1px;
    bottom: -1px;
    width: 3px;
    background: var(--red);
    transform: scaleY(0);
    transition: transform 0.35s var(--ease-out);
}
.track:hover { background: rgba(242, 234, 219, 0.04); }
.track.is-active { background: rgba(224, 48, 30, 0.08); }
.track.is-active::before { transform: scaleY(1); }

.track__n {
    font-size: 0.78rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--text-muted);
}
.track.is-active .track__n { color: var(--red); }

.track__info { display: grid; gap: 0.15rem; min-width: 0; }
.track__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.4rem, 1.1rem + 0.9vw, 1.9rem);
    line-height: 1;
    text-transform: uppercase;
}
.track__sub {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: none;
    color: var(--text-muted);
}
.track__meta { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); }
.track__note { font-size: 0.82rem; color: rgba(242, 234, 219, 0.5); }

.track__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
}
@media (min-width: 861px) {
    .track__actions { flex-wrap: nowrap; }
}
.track__play {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-right: 0.35rem;
    border: 0;
    border-radius: 50%;
    background: var(--paper);
    color: var(--ink);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, transform 0.25s var(--ease-out);
}
.track__play svg { width: 1rem; height: 1rem; }
.track__play:hover { background: var(--red); color: var(--paper); transform: scale(1.08); }
.track.is-active .track__play { background: var(--red); color: var(--paper); }

.tracks__empty { padding: 2rem 0; color: var(--text-muted); }
.tracks__empty a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 03 Discos ---------- */
.discs {
    background: var(--paper);
    color: var(--ink);
    --line: rgba(13, 11, 12, 0.18);
}
.discs .section-head__num { color: var(--red-deep); }
.discs__intro { color: rgba(13, 11, 12, 0.7); }

.shelf {
    margin-top: clamp(2.5rem, 5vw, 4rem);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--ink) transparent;
    scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2));
}
.shelf__list {
    display: flex;
    gap: clamp(1rem, 2vw, 1.75rem);
    width: max-content;
    padding: 1.5rem max(var(--gutter), calc((100vw - var(--max)) / 2)) 2rem;
}
.shelf__item {
    width: clamp(11.5rem, 19vw, 15.5rem);
    scroll-snap-align: start;
}

.album {
    display: grid;
    gap: 0.35rem;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
    color: inherit;
    cursor: pointer;
}
.album .cover {
    margin-bottom: 0.75rem;
    box-shadow: 0 18px 30px -18px rgba(13, 11, 12, 0.7);
    transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.album:hover .cover { transform: translateY(-0.5rem) rotate(-1.5deg); box-shadow: 0 26px 36px -20px rgba(13, 11, 12, 0.75); }
.album[aria-expanded="true"] .cover { transform: translateY(-0.75rem); box-shadow: 0 0 0 3px var(--paper), 0 0 0 6px var(--ink), 0 26px 36px -20px rgba(13, 11, 12, 0.75); }
.album:focus-visible { outline: none; }
.album:focus-visible .cover { box-shadow: 0 0 0 3px var(--paper), 0 0 0 6px var(--red); }

.album__year {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 2rem;
    line-height: 0.9;
}
.album__title { font-weight: 700; font-size: 0.95rem; line-height: 1.3; }
.album__kind { font-size: 0.78rem; color: rgba(13, 11, 12, 0.6); }
.album[aria-expanded="true"] .album__year { color: var(--red-deep); }

.shelf__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
}
.shelf__nav .round-btn { color: var(--ink); }

.album-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 1rem clamp(2rem, 5vw, 5rem);
    margin-top: clamp(2rem, 4vw, 3rem);
    padding-top: clamp(1.5rem, 3vw, 2.25rem);
    border-top: 2px solid var(--ink);
    animation: rise 0.6s var(--ease-out) both;
}
.album-detail[hidden] { display: none; }
.album-detail__kind {
    grid-column: 1;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--red-deep);
}
.album-detail__title {
    grid-column: 1;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem);
    line-height: 0.9;
    text-transform: uppercase;
}
.album-detail__desc,
.album-detail__track,
.album-detail__links { grid-column: 2; }
.album-detail__desc { grid-row: 1 / span 2; align-self: end; font-size: 1.1rem; }
.album-detail__track {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 2.75rem;
    padding: 0.5rem 1rem;
    border: 0;
    background: var(--ink);
    color: var(--paper);
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
}
.album-detail__track span { font-size: 0.7rem; color: var(--red); }
.album-detail__track:hover { background: var(--red-deep); }
.album-detail__track:hover span { color: var(--paper); }
.album-detail__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 0.5rem; }
.album-detail__links a {
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}
.album-detail__links a:hover { color: var(--red-deep); }

/* ---------- 04 Linha do tempo ---------- */
.story__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
}
.story__head {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
}
.story__intro { grid-column: 2; }

.timeline { border-top: 1px solid var(--line); }
.moment {
    display: grid;
    grid-template-columns: minmax(7rem, 11rem) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
    padding-block: clamp(1.5rem, 3vw, 2.25rem);
    border-bottom: 1px solid var(--line);
}
.moment__year {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(3rem, 2rem + 3.5vw, 5.5rem);
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--paper);
    transition: color 0.4s;
}
.moment:hover .moment__year { color: var(--paper); }
.moment--mark .moment__year { color: var(--red); -webkit-text-stroke-color: var(--red); }
.moment__tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--red);
}
.moment__body { padding-top: 0.15rem; }
.moment__text { margin-top: 0.4rem; font-size: 1.05rem; color: var(--text-muted); }
.moment__text em { font-style: normal; font-weight: 600; color: var(--paper); }

/* ---------- Lado B ---------- */
.sideb { background: var(--ink-2); overflow: hidden; }
.sideb__grid {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
}
.sideb__title {
    margin-top: 1rem;
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(3.5rem, 2.25rem + 5vw, 7rem);
    line-height: 0.88;
}
.sideb__intro { max-width: 22rem; margin-top: 1.25rem; color: var(--text-muted); }

.facts {
    position: relative;
    padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.25rem);
    background: var(--paper);
    color: var(--ink);
    transform: rotate(-1.2deg);
    box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.9);
}
.facts::before {
    content: "";
    position: absolute;
    top: -0.85rem;
    left: 50%;
    width: 7.5rem;
    height: 1.8rem;
    background: rgba(224, 48, 30, 0.85);
    transform: translateX(-50%) rotate(3deg);
}
.facts__stage { display: grid; min-height: clamp(11rem, 16vw, 12.5rem); }
.fact { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
.fact[hidden] { display: none; }
.fact.is-entering { animation: fact-in 0.55s var(--ease-out) both; }
@keyframes fact-in {
    from { opacity: 0; transform: translateX(1.5rem); }
    to { opacity: 1; transform: none; }
}
.fact__text p {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 1.15rem + 1.6vw, 2.6rem);
    line-height: 1.12;
    letter-spacing: -0.005em;
}
.fact__src { font-size: 0.82rem; color: rgba(13, 11, 12, 0.65); }
.fact__src a { font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.fact__src a:hover { color: var(--red-deep); }

.facts__controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px dashed rgba(13, 11, 12, 0.3);
}
.facts__count {
    margin-right: auto;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.5rem;
    font-variant-numeric: tabular-nums;
}

/* ---------- Banda ---------- */
.band__head { align-items: end; }
.band__note {
    grid-column: 2;
    max-width: 26rem;
    margin-top: 1.25rem;
    color: var(--text-muted);
}

.lineup {
    margin-top: clamp(2.5rem, 5vw, 4rem);
    border-top: 1px solid var(--line);
    counter-reset: lineup;
}
.lineup li { border-bottom: 1px solid var(--line); }
.lineup a {
    position: relative;
    display: grid;
    grid-template-columns: minmax(6rem, 12rem) 1fr auto;
    align-items: center;
    gap: 1rem;
    padding-block: clamp(1rem, 2vw, 1.5rem);
    overflow: hidden;
    isolation: isolate;
}
.lineup a::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--red);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.45s var(--ease-out);
}
.lineup__role {
    padding-left: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.3s, transform 0.45s var(--ease-out);
}
.lineup__name {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.75rem, 1.5rem + 6vw, 7.5rem);
    line-height: 0.9;
    text-transform: uppercase;
    transition: transform 0.45s var(--ease-out), color 0.3s;
}
.lineup__arrow {
    padding-right: 0.5rem;
    font-size: clamp(1.5rem, 1rem + 2vw, 3rem);
    transform: translateX(-1rem);
    opacity: 0;
    transition: transform 0.45s var(--ease-out), opacity 0.3s;
}

@media (hover: hover) {
    .lineup a:hover::before { transform: scaleY(1); }
    .lineup a:hover .lineup__name { transform: translateX(0.75rem); color: var(--ink); }
    .lineup a:hover .lineup__role { color: var(--ink); transform: translateX(0.75rem); }
    .lineup a:hover .lineup__arrow { transform: none; opacity: 1; color: var(--ink); }
}
.lineup a:focus-visible { outline-offset: -2px; }

/* ---------- CTA final ---------- */
.finale {
    position: relative;
    padding-block: clamp(5rem, 12vw, 9rem);
    background: var(--red);
    color: var(--ink);
    overflow: hidden;
    isolation: isolate;
}
.finale::before {
    content: "";
    position: absolute;
    right: -6rem;
    bottom: -8rem;
    z-index: -1;
    width: clamp(18rem, 40vw, 34rem);
    aspect-ratio: 1;
    background: url("../img/cbjr-logo-ink.png") center / contain no-repeat;
    opacity: 0.12;
    transform: rotate(-14deg);
}
.finale__title {
    margin-top: 1.25rem;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(3.5rem, 2rem + 8vw, 10.5rem);
    line-height: 0.84;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}
.finale__title em {
    font-family: var(--font-serif);
    font-weight: 400;
    font-style: italic;
    text-transform: none;
    letter-spacing: -0.02em;
    color: var(--paper);
}
.finale__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

/* ---------- Footer ---------- */
.site-footer {
    padding-top: clamp(4rem, 8vw, 6rem);
    padding-bottom: 2rem;
    background: var(--ink);
    font-size: 0.95rem;
}
.site-footer__top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 3rem 2rem;
    padding-bottom: clamp(3rem, 6vw, 4.5rem);
}
.site-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    align-self: start;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
    line-height: 0.85;
    text-transform: uppercase;
}
.site-footer__brand img { width: clamp(4rem, 6vw, 5.5rem); }

.site-footer__label {
    margin-bottom: 1rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--red);
}
.site-footer__col ul { display: grid; gap: 0.35rem; }
.site-footer__col a {
    display: inline-block;
    padding-block: 0.3rem;
    color: var(--text-muted);
    transition: color 0.2s;
}
.site-footer__col a:hover { color: var(--paper); }

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--line);
    font-size: 0.82rem;
    color: var(--text-muted);
}
.site-footer__top-link { font-weight: 600; color: var(--paper); }
.site-footer__top-link:hover { color: var(--red); }

/* ---------- Revelação ao rolar ---------- */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .lineup li[data-reveal]:nth-child(2) { transition-delay: 0.07s; }
.js .lineup li[data-reveal]:nth-child(3) { transition-delay: 0.14s; }
.js .lineup li[data-reveal]:nth-child(4) { transition-delay: 0.21s; }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1024px) {
    .origin__photo { grid-column: 1 / span 7; }
    .origin__text { grid-column: 8 / -1; }
    .jukebox { grid-template-columns: 1fr; }
    .deck__sticky { position: static; }
    .story__grid,
    .sideb__grid { grid-template-columns: 1fr; }
    .story__head { position: static; }
    .hero__bottom { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
    .menu-toggle { display: inline-flex; position: relative; z-index: 2; }

    .nav {
        position: fixed;
        inset: 0;
        z-index: 1;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 2.5rem;
        padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
        background: var(--ink);
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.35s var(--ease-out), visibility 0s 0.35s;
    }
    .nav.is-open {
        visibility: visible;
        opacity: 1;
        transition: opacity 0.35s var(--ease-out);
    }
    .nav__list { flex-direction: column; gap: 0.25rem; }
    .nav__list a {
        gap: 0.9rem;
        font-family: var(--font-display);
        font-weight: 900;
        font-size: clamp(3rem, 14vw, 4.5rem);
        line-height: 1;
        text-transform: uppercase;
    }
    .nav__num { font-family: var(--font-body); font-size: 0.8rem; }
    .nav__list a::after { display: none; }
    .nav .btn { min-height: 3.25rem; padding-inline: 1.5rem; font-size: 1rem; }
    .brand { position: relative; z-index: 2; }
}

@media (max-width: 860px) {
    :root { --header-h: 4rem; }

    .hero__media { inset: 0; }
    .hero__media img { object-position: 50% 15%; }
    .hero__media::after {
        background:
            linear-gradient(0deg, var(--ink) 8%, rgba(13, 11, 12, 0.7) 45%, rgba(13, 11, 12, 0.1) 75%),
            linear-gradient(180deg, rgba(13, 11, 12, 0.7) 0%, rgba(13, 11, 12, 0) 22%);
    }
    .hero__meta { display: none; }
    .hero__sticker { top: calc(var(--header-h) + 1.5rem); bottom: auto; right: var(--gutter); }
    .hero__lead { max-width: 34rem; }

    .origin__photo,
    .origin__text { grid-column: 1 / -1; }
    .origin__photo { margin-right: 1.25rem; max-width: 42rem; }
    .origin__text { margin-top: 1.5rem; }

    .lineup a { grid-template-columns: 1fr auto; row-gap: 0.35rem; }
    .lineup__role { grid-column: 1; grid-row: 1; padding-left: 0; }
    .lineup__name { grid-column: 1; grid-row: 2; }
    .lineup__arrow { grid-column: 2; grid-row: 1 / span 2; opacity: 1; transform: none; color: var(--red); }

    .track { grid-template-columns: 3.25rem minmax(0, 1fr); row-gap: 0.85rem; padding-left: 0.75rem; }
    .track__n { display: none; }
    .track__actions { grid-column: 1 / -1; justify-content: flex-start; max-width: none; }

    .album-detail { grid-template-columns: 1fr; }
    .album-detail__desc,
    .album-detail__track,
    .album-detail__links { grid-column: 1; }
    .album-detail__desc { grid-row: auto; }

    .moment { grid-template-columns: 1fr; gap: 0.75rem; }

    .site-footer__top { grid-template-columns: 1fr 1fr; }
    .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    .hero__title { font-size: clamp(4.25rem, 24vw, 7rem); }
    .hero__line--outline { margin-left: 0; -webkit-text-stroke-width: 1.5px; }
    .hero__actions { flex-direction: column; align-items: stretch; }
    .hero__actions .btn { width: 100%; }
    .hero__sticker { width: 6rem; top: calc(var(--header-h) + 1.25rem); }

    .section-head { grid-template-columns: 1fr; row-gap: 0.75rem; }
    .section-head__num { padding-top: 0; }
    .band__note,
    .hits__intro,
    .discs__intro,
    .story__intro { grid-column: 1; margin-top: 0.5rem; }

    .crate__tools { flex-direction: column; align-items: stretch; }
    .search { flex-basis: auto; }
    .search kbd { display: none; }
    .filters { display: grid; grid-template-columns: repeat(2, 1fr); }
    .filter + .filter { margin-left: 0; }
    .filter:nth-child(even) { margin-left: -1px; }
    .filter:nth-child(n+3) { margin-top: -1px; }

    .deck__controls .btn { flex: 1 1 auto; }

    .facts { transform: none; }

    .finale__actions { flex-direction: column; align-items: stretch; }

    .site-footer__top { grid-template-columns: 1fr; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .marquee__track { animation: none; }
    .deck__vinyl { animation: none; }
    .js [data-reveal] { opacity: 1; transform: none; }
}
