/* Thème « Laboratoire animé » : fond encre, vert acide, défilement animé (motion.js). */

:root {
  /* Palette : noir #181818, rose poudré #ffced7, rose pâle #e8c3cb, mauve #91767d, taupe #635552 */
  --bg: #181818;
  --bg-2: #211c1d;
  --fg: #ffced7;
  --fg-soft: #e8c3cb;
  --muted: #91767d;
  --taupe: #635552;
  --line: rgba(255, 206, 215, 0.18);
  --accent: #ffced7;
  --accent-2: #91767d;
  --ink: #2a1f22;
  --display: 'Unbounded', system-ui, sans-serif;
  --body: 'Space Grotesk', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --p: 0; /* progression du défilement dans le héros, 0 à 1, posée par motion.js */
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

body {
  font-family: var(--body);
  font-size: 17px;
}

/* Barre de progression */
.lab-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 120;
}

/* Navigation */
.nav__logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  text-transform: none;
  letter-spacing: -0.04em;
}

.nav__logo span {
  color: var(--accent);
}

.nav__menu {
  background: var(--bg);
}

.nav__menu a {
  font-family: var(--display);
  font-weight: 800;
  text-transform: none;
  letter-spacing: -0.02em;
}

@media (min-width: 860px) {
  .nav__menu a {
    font-family: var(--mono);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .nav__menu a:hover {
    color: var(--accent);
  }
}

/* Boutons */
.btn {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 0;
  min-height: 50px;
}

.btn--primary {
  background: var(--accent);
  color: var(--ink);
}

.btn--primary:hover {
  background: var(--fg);
}

.btn--ghost {
  border-color: var(--fg);
  color: var(--fg);
}

.btn--ghost:hover {
  background: var(--fg);
  color: var(--bg);
}

/* Héros : lettres qui montent une à une, contenu qui s'efface au défilement */
.hero__line {
  overflow: hidden;
}

.hero__line > span {
  animation: none;
  transform: none;
}

.ch {
  display: inline-block;
  transform: translateY(110%);
  animation: chIn 1.1s var(--ease) forwards;
  animation-delay: calc(var(--i) * 45ms + 300ms);
}

@keyframes chIn {
  to { transform: none; }
}

.hero__title {
  font-family: var(--display);
  font-weight: 800;
  text-transform: none;
  font-size: clamp(64px, 17vw, 260px);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.hero__line--num > span {
  color: var(--accent);
}

.hero__content {
  opacity: calc(1 - var(--p) * 1.8);
  transform: translate3d(0, calc(var(--p) * -140px), 0);
}

.hero__kicker {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.hero__shade {
  background:
    linear-gradient(to top, var(--bg) 4%, rgba(24, 24, 24, 0.25) 60%, rgba(24, 24, 24, 0.45)),
    linear-gradient(to right, rgba(24, 24, 24, 0.6), transparent 70%);
}

/* Bandeau : vert acide, texte en mono */
.marquee {
  background: var(--accent);
  color: var(--bg);
  transform: rotate(-1deg);
  margin: 40px 0 0;
  max-width: 100%;
  overflow: hidden;
}

.marquee__track {
  animation: none;
  will-change: transform;
}

.marquee__track span {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(26px, 5vw, 52px);
  letter-spacing: -0.04em;
  text-transform: none;
}

.marquee__track span::after {
  color: var(--accent-2);
  opacity: 1;
}

/* Sections */
.section {
  padding: 130px 16px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.h2 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: none;
  letter-spacing: -0.05em;
  font-size: clamp(42px, 8vw, 118px);
  line-height: 0.9;
}

.h2--huge {
  font-size: clamp(60px, 14vw, 200px);
}

/* Musique : image révélée par un masque qui s'ouvre */
.release__art {
  clip-path: inset(18% 0 0 0);
  transition: clip-path 1.4s var(--ease);
  border-radius: 0;
}

.reveal.is-visible .release__art {
  clip-path: inset(0);
}

.release__art img {
  transition: none;
}

.release:hover .release__art img {
  transform: none;
}

.release__title {
  font-family: var(--display);
  font-weight: 800;
  text-transform: none;
  letter-spacing: -0.05em;
  font-size: clamp(44px, 9vw, 110px);
}

/* Galerie : mosaïque sur mobile, piste horizontale épinglée sur desktop */
.gallery {
  gap: 10px;
}

.gallery__item {
  border-radius: 0;
  background: var(--bg-2);
}

.gallery__item::after {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(24, 24, 24, 0.5);
  color: var(--accent);
}

.hg {
  position: relative;
}

.hg__stick {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

@media (min-width: 860px) {
  .hg__track {
    display: flex;
    width: max-content;
    gap: 24px;
    padding: 0 6vw;
    will-change: transform;
  }

  .hg__track .gallery__item,
  .hg__track .gallery__item--wide {
    grid-column: auto;
    flex: none;
    width: 34vw;
    max-width: 520px;
    aspect-ratio: 3 / 4;
  }

  .hg__track .gallery__item img {
    transition: none;
  }
}

/* Live */
.live {
  background: var(--bg);
}

.live__bg::after {
  background: linear-gradient(to bottom, var(--bg) 0%, rgba(24, 24, 24, 0.6) 45%, rgba(24, 24, 24, 0.9) 100%);
}

.live__bg img {
  filter: grayscale(0.6) contrast(1.15);
}

.dates li {
  font-family: var(--mono);
  font-size: 15px;
  border-bottom-color: var(--line);
}

.dates__date {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: -0.04em;
  color: var(--accent);
  text-transform: none;
}

.dates__empty {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--muted);
}

/* Bio : texte en grand, portrait révélé en masque */
.bio__figure {
  clip-path: inset(0 0 22% 0);
  transition: clip-path 1.4s var(--ease);
  border-radius: 0;
}

.bio__figure.is-visible {
  clip-path: inset(0);
}

.bio__figure img {
  transition: none;
}

.bio__text p {
  font-family: var(--body);
  font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.4;
  color: var(--fg);
  max-width: 36ch;
}

.bio__text p:first-child {
  color: var(--accent);
}

/* Contact */
.contact {
  border-top: 1px solid var(--line);
}

.contact__item:hover {
  color: var(--accent);
}

.contact__label {
  font-family: var(--mono);
}

.contact__value {
  font-family: var(--display);
  font-weight: 800;
  text-transform: none;
  letter-spacing: -0.04em;
}

/* Lightbox et pied de page */
.lightbox {
  background: rgba(24, 24, 24, 0.97);
}

.lightbox__btn {
  border-radius: 0;
}

.lightbox__btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.footer {
  font-family: var(--mono);
  font-size: 13px;
}

/* Mouvement réduit : pas de piste épinglée ni de masques animés */
@media (prefers-reduced-motion: reduce) {
  .ch {
    transform: none;
    animation: none;
  }

  .release__art,
  .bio__figure {
    clip-path: none;
  }

  .hero__content {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Discographie EPK (sections ajoutées à la page) ---------- */

.nav.is-scrolled {
  background: rgba(24, 24, 24, 0.82);
}

.epk__rows {
  list-style: none;
  margin: 0 0 48px;
  padding: 0;
  border-top: 1px solid var(--line);
}

.epk__rows li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 2px 16px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.epk__year {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}

.epk__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(22px, 3.6vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.epk__credit {
  grid-column: 2;
  font-size: 15px;
  color: var(--muted);
}

.epk__rows--small .epk__title {
  font-family: var(--body);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0;
}

.epk__rows--small li {
  padding: 12px 0;
}

.epk__sub {
  margin: 0 0 14px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  color: var(--fg-soft);
}

.epk__plain {
  list-style: none;
  margin: 0 0 48px;
  padding: 0;
}

.epk__plain li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.15;
  color: var(--fg);
}

.epk__two {
  display: grid;
  gap: 48px;
}

@media (min-width: 860px) {
  .epk__two {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}
