/* --- POLICES ---
   Heading Now Trial n'a pas de chiffres : la plage unicode les exclut,
   ils retombent sur la police de texte. */
@font-face {
  font-family: 'HN';
  src: url('HeadingNowTrial-47Extrabold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-002F, U+003A-024F, U+2010-203A;
}

@font-face {
  font-family: 'HN';
  src: url('HeadingNowTrial-61Thin.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-002F, U+003A-024F, U+2010-203A;
}

/* Replis calés sur la largeur de Heading Now, pour que rien ne déborde avant son chargement */
@font-face {
  font-family: 'HN repli A';
  src: local('Arial Narrow Bold'), local('ArialNarrow-Bold');
  font-weight: 800;
  size-adjust: 71%;
  unicode-range: U+0020-002F, U+003A-024F, U+2010-203A;
}

@font-face {
  font-family: 'HN repli B';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Helvetica Neue Bold'), local('HelveticaNeue-Bold');
  font-weight: 800;
  size-adjust: 58%;
  unicode-range: U+0020-002F, U+003A-024F, U+2010-203A;
}

/* --- COULEURS ET VARIABLES --- */
:root {
  --accent: #FF3300; /* orange du vinyle */
  --ink: #141412;    /* texte posé sur une étiquette de couleur */
  --cream: #f2ecdf;
  --display: 'HN', 'HN repli A', 'HN repli B', 'Helvetica Neue', Arial, sans-serif;
  --text: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --serif: 'Didot', 'Bodoni 72', 'Bodoni MT', 'Playfair Display', 'Times New Roman', serif;
  --wrap: 1360px;
  --gut: clamp(16px, 4vw, 48px);
  --nav: 56px;
  --ease: cubic-bezier(0.16, 0.84, 0.24, 1);
  /* grain de pellicule, posé sur les images et les vidéos */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Fond noir : la seule variante retenue */
:root {
  --bg: #0b0b0b;
  --fg: #f2ecdf;
  --muted: #a59f93;
  --line: rgba(242, 236, 223, 0.16);
  --panel: #151514;
  --nav-bg: rgba(11, 11, 11, 0.86);
}

/* --- RESET & BASE --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav) + 16px);
  -webkit-text-size-adjust: 100%;
}

html.menu-open { overflow: hidden; }

body {
  background-color: var(--bg);
  color: var(--fg);
  font: 400 16px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 8px;
  background: var(--accent);
  color: var(--ink);
  padding: 10px 14px;
  font-weight: 700;
  z-index: 100;
}

.skip-link:focus { top: 8px; }

/* Grain commun aux blocs d'image */
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.09;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* --- NAVIGATION --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--nav);
  padding-inline: var(--gut);
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav__mark {
  margin-right: auto;
  font: 800 22px/1 var(--display);
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.nav__links { display: flex; gap: 22px; list-style: none; }

.nav__links a {
  display: block;
  padding: 10px 0;
  font: 500 12px/1 var(--text);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav__links a:hover { text-decoration: underline; text-underline-offset: 6px; }

/* Sélecteur de langue : deux vraies pages, le choix fait à la main est mémorisé */
.lang { display: flex; gap: 12px; }

.lang a {
  display: block;
  padding: 10px 0;
  color: var(--muted);
  font: 500 12px/1 var(--text);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.lang a:hover { color: var(--fg); }
.lang a[aria-current="true"] { color: var(--fg); text-decoration: underline; text-underline-offset: 6px; }
.nav .nav__menu { display: none; }

/* Menu plein écran (téléphone) */
.menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  overflow-y: auto;
}

.menu[hidden] { display: none; }

.menu__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex: none;
  height: var(--nav);
  padding-inline: var(--gut);
  border-bottom: 1px solid var(--line);
}

.menu__links { flex: 1; padding: clamp(20px, 5vh, 48px) var(--gut); list-style: none; }

.menu__links a {
  display: block;
  padding: 4px 0;
  font: 800 clamp(44px, 14vw, 88px)/0.95 var(--display);
  text-transform: uppercase;
  text-decoration: none;
}

.menu__foot { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 20px var(--gut) 32px; border-top: 1px solid var(--line); list-style: none; }

.menu__foot a {
  display: inline-block;
  padding: 8px 0;
  font: 500 12px/1 var(--text);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-underline-offset: 5px;
}

/* --- BOUTONS ET ÉTIQUETTES --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 16px 22px;
  border: 1.5px solid var(--fg);
  background: none;
  color: var(--fg);
  font: 700 13px/1 var(--text);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn--fill { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn--fill:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.btn--sm { padding: 10px 14px; font-size: 11px; }

/* L'étiquette : aplat de couleur, texte noir, comme sur les pochettes */
.tag {
  display: inline-block;
  background: var(--c, var(--accent));
  color: var(--ink);
  padding: 7px 9px 6px;
  font: 700 11px/1 var(--text);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Pause / lecture des vidéos qui démarrent seules */
.media-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px 9px;
  border: 1px solid rgba(242, 236, 223, 0.42);
  background: rgba(10, 10, 10, 0.42);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #f2ecdf;
  font: 700 11px/1 var(--text);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.media-toggle[hidden] { display: none; }
.has-loop > .hero__content .media-toggle[hidden] { display: inline-flex; visibility: hidden; }
.media-toggle:focus-visible { outline-color: #f2ecdf; }

.media-toggle::before {
  content: "";
  width: 3px;
  height: 10px;
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
}

.media-toggle[data-paused="true"]::before {
  width: 0;
  height: 0;
  border: 0;
  border-left: 9px solid currentColor;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

/* --- OUVERTURE : le clip Mali Spirit --- */
.hero {
  position: relative;
  height: calc(100vh - var(--nav));
  height: calc(100svh - var(--nav));
  min-height: 520px;
  max-height: 1100px;
  overflow: hidden;
  background: #06090b;
  color: #f2ecdf;
}

.hero__media, .hero__media img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img, .hero__video { object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 0.9s ease; }
.hero.is-playing .hero__video { opacity: 1; }

.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 26%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
}

.hero__content {
  position: absolute;
  left: var(--gut);
  right: var(--gut);
  bottom: clamp(20px, 5vh, 56px);
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
}

.hero__label {
  background: var(--accent);
  color: var(--ink);
  padding: clamp(10px, 1.3vw, 22px) clamp(12px, 1.7vw, 28px) clamp(8px, 1vw, 16px);
  animation: hero-in 1.1s var(--ease) 0.15s both;
}

.hero__we {
  display: block;
  margin-bottom: 0.55em;
  font: 400 clamp(12px, 1.3vw, 22px)/1 var(--serif);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1 {
  font: 800 clamp(52px, 9.4vw, 172px)/0.86 var(--display);
  text-transform: uppercase;
  white-space: nowrap;
}

.hero__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  text-align: right;
  animation: hero-fade 1s ease 0.7s both;
}

.hero__caption { font: 500 11px/1.5 var(--text); letter-spacing: 0.14em; text-transform: uppercase; }
.hero__caption a { text-underline-offset: 5px; }

@keyframes hero-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes hero-fade { from { opacity: 0; } to { opacity: 1; } }

/* --- INTRO --- */
.intro {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: end;
  gap: clamp(24px, 5vw, 80px);
  padding-block: clamp(40px, 7vw, 96px);
}

.intro__lead {
  max-width: 12em;
  font: 300 clamp(28px, 3.6vw, 56px)/1.06 var(--display);
  text-transform: uppercase;
}

.intro__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.platforms { display: flex; flex-wrap: wrap; gap: 2px 18px; width: 100%; margin-top: 10px; list-style: none; }

.platforms a {
  display: inline-block;
  padding: 8px 0;
  font: 500 12px/1 var(--text);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-underline-offset: 5px;
}

/* --- SECTIONS --- */
.section { padding-block: clamp(48px, 8vw, 120px); }

.section__head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 10px 24px;
  margin-bottom: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(12px, 2vw, 24px);
  border-bottom: 1px solid var(--line);
}

.section__head .tag { grid-column: 1 / -1; justify-self: start; }

.section__head h2, .live h2 {
  font: 800 clamp(56px, 12.5vw, 190px)/0.82 var(--display);
  text-transform: uppercase;
}

/* Le titre monte derrière un cache */
.rise { display: block; overflow: hidden; padding-block: 0.07em; margin-block: -0.07em; }
.rise > span { display: block; }

/* --- SORTIES --- */
.releases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px) clamp(14px, 2.4vw, 32px);
  list-style: none;
}

.release__cover { position: relative; display: block; overflow: hidden; background: var(--panel); }

.release__cover img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.release__cover:hover img { transform: scale(1.04); }

/* En bas à gauche : seul coin libre sur toutes les pochettes */
.release__no { position: absolute; bottom: 0; left: 0; }

.release h3 {
  margin-top: 14px;
  font: 800 clamp(22px, 2.5vw, 36px)/0.95 var(--display);
  text-transform: uppercase;
}

/* Nom de l'invité en serif, comme sur les pochettes de remix */
.release h3 em {
  display: block;
  margin-top: 0.4em;
  font: 400 0.6em/1 var(--serif);
  font-style: normal;
  letter-spacing: 0.08em;
}

.release__meta {
  margin-top: 8px;
  color: var(--muted);
  font: 500 11px/1.4 var(--text);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.release__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
  margin-top: 10px;
  padding-top: 4px;
  border-top: 2px solid var(--c);
  list-style: none;
}

.release__links a {
  display: inline-block;
  padding: 9px 0;
  font: 600 11px/1 var(--text);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.release__links a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* --- CLIPS --- */
.clips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 44px) clamp(14px, 2.4vw, 32px);
}

.clip--feature { grid-column: 1 / -1; }

.clips__sub {
  grid-column: 1 / -1;
  margin-top: clamp(8px, 2vw, 24px);
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 700 11px/1 var(--text);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.clip__frame { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }

.clip__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), opacity 0.3s ease;
}

.clip__frame:hover img { transform: scale(1.03); opacity: 0.86; }

.clip__play {
  position: absolute;
  left: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--ink);
  padding: 10px 12px 9px;
  font: 700 11px/1 var(--text);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.clip--feature .clip__play { padding: 16px 20px 15px; font-size: 13px; }

.clip__play::before {
  content: "";
  border-left: 9px solid currentColor;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.clip iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }

.clip figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.clip figcaption b { font: 800 clamp(18px, 1.9vw, 26px)/1 var(--display); text-transform: uppercase; }
.clip--feature figcaption b { font-size: clamp(28px, 4vw, 60px); }

.clip figcaption span {
  color: var(--muted);
  font: 500 11px/1.3 var(--text);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: right;
}

/* --- LIVE : Dakar Session --- */
.live {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(92vh, 60vw);
  min-height: min(92svh, 60vw);
  overflow: hidden;
  overflow: clip; /* rogne sans créer de zone de défilement : view() remonte jusqu'à la page */
  background: #0b0705;
  color: #f2ecdf;
}

.live__media, .live__media img, .live__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.live__media img, .live__video { object-fit: cover; }
.live__video { opacity: 0; transition: opacity 0.9s ease; }
.live.is-playing .live__video { opacity: 1; }
.live__toggle { position: absolute; right: var(--gut); bottom: clamp(20px, 4vw, 48px); z-index: 2; }

.live__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 5, 3, 0.74) 0%, rgba(8, 5, 3, 0.46) 46%, rgba(8, 5, 3, 0.3) 72%, rgba(8, 5, 3, 0) 100%),
    linear-gradient(180deg, rgba(8, 5, 3, 0) 32%, rgba(8, 5, 3, 0.72) 100%);
  pointer-events: none;
}

.live__content { position: relative; z-index: 1; width: 100%; padding-block: clamp(32px, 6vw, 88px); }
.live__content .tag { margin-bottom: 12px; }
.live__text { max-width: 40ch; margin-top: 18px; font-size: 17px; line-height: 1.6; }

/* L'image glisse avec le défilement, là où le navigateur le permet */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .live__media {
      animation: live-drift linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
  }
}

@keyframes live-drift {
  from { transform: scale(1.16) translateY(-3.5%); }
  to { transform: scale(1.08) translateY(3.5%); }
}

/* --- LE COLLECTIF --- */
.collectif { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 6vw, 96px); align-items: start; }

.collectif__still { position: relative; overflow: hidden; }
.collectif__still img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 38% 50%; }

.collectif__body p { max-width: 56ch; margin-bottom: 1em; font-size: 17px; line-height: 1.65; }
.collectif__body .collectif__lead { max-width: 15em; margin-bottom: clamp(20px, 3vw, 40px); font: 300 clamp(26px, 3.2vw, 48px)/1.08 var(--display); text-transform: uppercase; }

.quote { margin-top: clamp(24px, 3vw, 40px); padding: clamp(16px, 2vw, 28px); background: var(--accent); color: var(--ink); }
.quote p { max-width: none; margin: 0; font: 400 clamp(22px, 2.4vw, 34px)/1.15 var(--serif); }

.quote cite {
  display: block;
  margin-top: 14px;
  font: 700 11px/1.3 var(--text);
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.press__title {
  margin: clamp(40px, 6vw, 88px) 0 12px;
  color: var(--muted);
  font: 700 11px/1 var(--text);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.press { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(14px, 2.4vw, 32px); list-style: none; border-top: 1px solid var(--line); }

.press a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.press b { font: 800 clamp(20px, 2vw, 28px)/1 var(--display); text-transform: uppercase; }

.press span {
  color: var(--muted);
  font: 500 11px/1.3 var(--text);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: right;
}

.press a:hover b { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }

/* --- LE VINYLE : toujours sombre --- */
.vinyl {
  --bg: #0d0d0c;
  --fg: #f2ecdf;
  --muted: #a59f93;
  --line: rgba(242, 236, 223, 0.16);
  background: var(--bg);
  color: var(--fg);
}

.vinyl__top { display: grid; grid-template-columns: 1.25fr 1fr; }

.vinyl__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: clamp(32px, 5vw, 80px) var(--gut);
}

.vinyl__we { font: 400 clamp(13px, 1.2vw, 18px)/1 var(--serif); letter-spacing: 0.22em; text-transform: uppercase; }
.vinyl h2 { font: 800 clamp(52px, 6.4vw, 112px)/0.84 var(--display); text-transform: uppercase; }
.vinyl__sub { color: var(--muted); font: 500 12px/1.5 var(--text); letter-spacing: 0.12em; text-transform: uppercase; }

.tracklist { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-block: 20px; border-block: 1px solid var(--line); }
.tracklist h3 { margin-bottom: 12px; color: var(--accent); font: 700 11px/1 var(--text); letter-spacing: 0.14em; text-transform: uppercase; }
.tracklist ol { list-style: none; }
.tracklist li { margin-bottom: 8px; font: 300 clamp(18px, 1.8vw, 26px)/1.1 var(--display); text-transform: uppercase; }

.tracklist li small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font: 400 11px/1.3 var(--text);
  letter-spacing: 0.06em;
  text-transform: none;
}

.vinyl__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.price { font: 700 24px/1 var(--text); }
.price small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; font-weight: 400; }
.vinyl__small { color: var(--muted); font-size: 12px; line-height: 1.5; }

/* La scène du vinyle animé */
.lp-stage {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(520px, 56vw, 860px);
  padding-bottom: 64px;
  overflow: hidden;
  container-type: size;
  background: radial-gradient(64% 60% at 50% 42%, #3b2718 0%, #1c130d 54%, #0c0907 100%);
}

.lp {
  position: relative;
  width: min(46%, 420px);
  width: min(50cqw, 60cqh, 500px);
  aspect-ratio: 1;
  perspective: 1600px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* Ombre portée au sol, hors de la chaîne 3D */
.lp-floor {
  position: absolute;
  left: 50%;
  top: 100%;
  width: 176%;
  height: 26%;
  transform: translate(calc(-50% + var(--rx, 0) * -14px), calc(-8% + var(--ry, 0) * 6px));
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0));
  filter: blur(14px);
  pointer-events: none;
}

.lp__tilt, .lp__obj, .lp__flap, .lp__disc { position: absolute; inset: 0; transform-style: preserve-3d; }

/* Inclinaison pilotée par le pointeur */
.lp__tilt { transform: rotateX(calc(var(--ry, 0) * -7deg)) rotateY(calc(var(--rx, 0) * 11deg)); }

/* Mêmes fonctions dans les trois états : l'interpolation reste lisible d'un état à l'autre */
.lp__obj { transform: translateX(0) rotateY(0deg) scale(1); transition: transform 1.15s var(--ease); }
.lp-stage.is-live .lp__obj { transform: translateX(-28%) rotateY(0deg) scale(1); }
.lp-stage.is-live[data-state="interieur"] .lp__obj { transform: translateX(37%) rotateY(0deg) scale(0.74); }
.lp-stage.is-live[data-state="verso"] .lp__obj { transform: translateX(28%) rotateY(-180deg) scale(1); }

.lp__face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background: #1a1a18;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.lp__face img { width: 100%; height: 100%; object-fit: cover; }

/* Lumière qui suit l'inclinaison */
.lp__light {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 90% at calc(38% - var(--rx, 0) * 36%) calc(24% - var(--ry, 0) * 30%), rgba(255, 244, 226, 0.2), rgba(255, 244, 226, 0) 60%),
    linear-gradient(115deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.2) 100%);
  pointer-events: none;
}

/* Dos de la pochette, tourné vers l'arrière */
.lp__back { transform: rotateY(180deg); }
/* Intérieur droit : devant le disque, qui reste dans sa poche */
.lp__inside-r { transform: translateZ(4px); }

/* Volet avant, articulé sur la tranche gauche */
.lp__flap { transform-origin: 0 50%; transform: translateZ(6px) rotateY(0deg); transition: transform 0.8s cubic-bezier(0.3, 0.7, 0.1, 1); }
.lp-stage[data-state="interieur"] .lp__flap { transform: translateZ(6px) rotateY(-180deg); transition-duration: 1.25s; }
.lp__flap .lp__inside-l { transform: rotateY(180deg); }

/* Ombre du volet sur l'intérieur droit pendant l'ouverture */
.lp__inside-r::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0) 38%);
  opacity: 1;
  transition: opacity 1.2s ease;
  pointer-events: none;
}

.lp-stage[data-state="interieur"] .lp__inside-r::after { opacity: 0.14; }

/* Le disque */
.lp__disc { inset: 2%; transform: translateZ(2px) translateX(0); transition: transform 1.1s var(--ease); }

.lp-stage.is-live[data-state="recto"] .lp__disc,
.lp-stage.is-live[data-state="verso"] .lp__disc { transform: translateZ(2px) translateX(60%); }

.lp__side {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background:
    /* bourrelet du bord */
    radial-gradient(circle closest-side, rgba(0, 0, 0, 0) 97.2%, rgba(255, 255, 255, 0.1) 98.2%, rgba(255, 255, 255, 0.02) 99.2%, #000 100%),
    /* plages entre les titres */
    radial-gradient(circle closest-side, rgba(0, 0, 0, 0) 53.6%, rgba(255, 255, 255, 0.07) 54%, rgba(0, 0, 0, 0) 54.5%),
    radial-gradient(circle closest-side, rgba(0, 0, 0, 0) 73.2%, rgba(255, 255, 255, 0.07) 73.6%, rgba(0, 0, 0, 0) 74.1%),
    /* zone lisse autour du macaron */
    radial-gradient(circle closest-side, #0d0d0d 0 37.5%, rgba(13, 13, 13, 0) 38.2%),
    /* sillons */
    repeating-radial-gradient(circle closest-side, #070707 0, #070707 0.8px, #141414 1.4px, #070707 2px),
    #0a0a0a;
  /* trou central */
  -webkit-mask: radial-gradient(circle closest-side, transparent 0 1.15%, #000 1.3%);
  mask: radial-gradient(circle closest-side, transparent 0 1.15%, #000 1.3%);
}

.lp__side--b { transform: rotateY(180deg); }

.lp__label {
  position: absolute;
  left: 50%;
  top: 50%;
  /* l'image a un liseré blanc : on rogne juste à l'intérieur du dessin */
  width: 34.2%;
  height: 34.2%;
  margin: -17.1% 0 0 -17.1%;
  border-radius: 50%;
  clip-path: circle(48.5%);
  object-fit: cover;
  animation: lp-spin 1.8s linear infinite;
  animation-play-state: paused;
}

.lp-stage.is-live:not(.is-paused):not(.is-away):not([data-state="interieur"]) .lp__label { animation-play-state: running; }

/* Reflets : la lumière reste fixe pendant que le disque tourne */
.lp__sheen {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    conic-gradient(from calc(28deg + var(--rx, 0) * 46deg + var(--ry, 0) * 20deg),
      rgba(255, 255, 255, 0) 0deg, rgba(255, 244, 228, 0.3) 14deg, rgba(255, 255, 255, 0.06) 26deg, rgba(255, 255, 255, 0) 44deg,
      rgba(255, 255, 255, 0) 172deg, rgba(255, 236, 214, 0.2) 190deg, rgba(255, 255, 255, 0.04) 204deg, rgba(255, 255, 255, 0) 224deg,
      rgba(255, 255, 255, 0) 360deg);
  -webkit-mask: radial-gradient(circle closest-side, transparent 0 37%, #000 39%, #000 97%, transparent 98%);
  mask: radial-gradient(circle closest-side, transparent 0 37%, #000 39%, #000 97%, transparent 98%);
  pointer-events: none;
}

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

.lp-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(16px, 2.4vw, 28px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 4px;
}

.lp-controls[hidden], .lp-controls button[hidden] { display: none; }

.lp-controls button {
  padding: 11px 13px 10px;
  border: 1px solid rgba(242, 236, 223, 0.28);
  background: rgba(242, 236, 223, 0.08);
  color: #f2ecdf;
  font: 700 11px/1 var(--text);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lp-controls button:hover { background: rgba(242, 236, 223, 0.18); }
.lp-controls button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.lp-controls .lp-spin { margin-left: 10px; }

/* Le film du vinyle */
.vinyl__film { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px, 1.2vw, 16px); padding: clamp(8px, 1.2vw, 16px); }
.film { position: relative; aspect-ratio: 9 / 7; overflow: hidden; background: #151514; }
.film img, .film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film video { opacity: 0; transition: opacity 0.8s ease; }
.film.is-playing video { opacity: 1; }
.film .media-toggle { position: absolute; right: 12px; bottom: 12px; z-index: 1; }

/* --- PAGES DE TEXTE (mentions légales, confidentialité) --- */
.doc { max-width: 820px; padding-block: clamp(40px, 7vw, 96px) clamp(24px, 4vw, 48px); }
.doc h1 { margin-top: 14px; font: 800 clamp(44px, 9vw, 120px)/0.86 var(--display); text-transform: uppercase; }
.doc__date { margin-top: 18px; color: var(--muted); font: 500 12px/1.4 var(--text); letter-spacing: 0.1em; text-transform: uppercase; }
.doc section { margin-top: clamp(32px, 5vw, 56px); padding-top: 20px; border-top: 1px solid var(--line); }
.doc h2 { margin-bottom: 14px; font: 700 12px/1.3 var(--text); letter-spacing: 0.14em; text-transform: uppercase; }
.doc p, .doc li, .doc dd, .doc dt { font-size: 17px; line-height: 1.65; overflow-wrap: anywhere; }
.doc p + p, .doc p + ul, .doc ul + p, .doc dl + p, .doc p + dl { margin-top: 0.9em; }
.doc ul { padding-left: 1.2em; }
.doc li + li { margin-top: 0.4em; }
.doc dl { display: grid; grid-template-columns: minmax(140px, 0.4fr) 1fr; gap: 6px 24px; }
.doc dt { color: var(--muted); }
.doc a { text-underline-offset: 4px; }
.footer--doc { padding-top: clamp(24px, 4vw, 48px); }
.footer__legal a { color: inherit; text-underline-offset: 4px; }

/* --- PIED DE PAGE --- */
.footer { padding-top: clamp(48px, 8vw, 120px); }

.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 56px); }

.footer h3 { margin-bottom: 16px; color: var(--muted); font: 700 11px/1 var(--text); letter-spacing: 0.14em; text-transform: uppercase; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 4px; }

.footer li a {
  display: inline-block;
  padding: 4px 0;
  font: 800 clamp(20px, 2vw, 28px)/1.05 var(--display);
  text-transform: uppercase;
  text-decoration: none;
}

.footer li a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
/* Les adresses e-mail peuvent passer à la ligne plutôt que d'élargir la page sur petit écran */
.footer__grid > * { min-width: 0; }
.footer__text { max-width: 34ch; font-size: 15px; line-height: 1.6; overflow-wrap: break-word; }
.footer__text + .footer__text { margin-top: 10px; }

.footer__mark {
  margin-top: clamp(40px, 7vw, 96px);
  padding-bottom: 0.06em;
  overflow: hidden;
  font: 800 20.5vw/0.92 var(--display);
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

/* --- APPARITION AU DÉFILEMENT (activée par le script seulement) --- */
.anim [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.9s var(--ease);
}

.anim [data-reveal].in { opacity: 1; transform: none; }

.anim [data-reveal="head"] { opacity: 1; transform: none; }
.anim [data-reveal="head"] .rise > span { transform: translateY(104%); transition: transform 1.1s var(--ease); }
.anim [data-reveal="head"].in .rise > span { transform: none; }

@media print { .anim [data-reveal], .anim [data-reveal] .rise > span { opacity: 1; transform: none; } }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .releases { grid-template-columns: repeat(2, 1fr); }
  .nav .nav__links, .nav .nav__cta { display: none; }
  .nav .nav__menu { display: inline-flex; }
  .vinyl__top { grid-template-columns: 1fr; }
  .lp-stage { height: clamp(420px, 104vw, 760px); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .intro, .collectif, .clips, .press, .vinyl__film { grid-template-columns: 1fr; }
  .section__head { grid-template-columns: 1fr; }
  .collectif__still img { aspect-ratio: 16 / 10; }
  .tracklist { grid-template-columns: 1fr; }
  .doc dl { grid-template-columns: 1fr; gap: 0; }
  .doc dd { margin-bottom: 10px; }
  .live__toggle { top: var(--gut); bottom: auto; }
}

@media (max-width: 700px) and (orientation: portrait) {
  /* Ouverture verticale dédiée au téléphone */
  /* L'étiquette en haut à gauche, comme sur la pochette : le bas de l'image reste libre */
  .hero__content { top: 20px; flex-direction: column; align-items: flex-start; }
  .live { min-height: 86vh; min-height: 86svh; }
  .hero__label { padding: 12px 14px 10px; }
  .hero h1 { font-size: 21vw; white-space: normal; }
  .hero h1 span { display: block; }
  .hero__aside { flex-direction: row; align-items: center; text-align: left; }
}

@media (max-width: 389px) {
  .lp-controls { gap: 4px; }
  .lp-controls button { padding: 11px 8px 10px; letter-spacing: 0.08em; }
  .lp-controls .lp-spin { margin-left: 4px; }
}

/* Téléphone à l'horizontale : l'ouverture et la scène du vinyle tiennent dans la hauteur de l'écran */
@media (max-height: 540px) and (orientation: landscape) {
  .hero { min-height: 280px; }
}

@media (max-width: 900px) and (max-height: 540px) and (orientation: landscape) {
  .lp-stage { height: calc(100vh - var(--nav)); height: calc(100svh - var(--nav)); min-height: 280px; padding-bottom: 56px; }
  .lp { width: min(46%, 50vh); width: min(50cqw, 60cqh, 500px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .lp__label { animation: none; }
}
