/* =========================================================
   LEYA — « Plus mal » — Dossier radio
   Noir, blanc, et le framboise de la pochette (#9D364D)
   ========================================================= */

:root {
  --noir: #0d0b0c;
  --noir-2: #171415;
  --blanc: #fbf9f8;
  --papier: #f3eeec;
  --framboise: #9d364d;          /* couleur dominante de la pochette */
  --framboise-fonce: #7a2638;
  --framboise-clair: #e07390;    /* version lisible sur fond noir */
  --texte: #0d0b0c;
  --texte-2: #5c5557;            /* 6,6:1 sur --blanc */
  --texte-clair: #bdb5b7;        /* 9:1 sur --noir */
  --trait: rgba(13, 11, 12, .14);
  --trait-clair: rgba(255, 255, 255, .16);
  --surligneur: #ffe45c;

  --serif: "Cormorant Garamond", "Cormorant", Didot, "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", "Avenir Next", "Helvetica Neue", Arial, sans-serif;

  --gouttiere: clamp(20px, 5.2vw, 64px);
  --max: 1240px;
  --section: clamp(84px, 11vw, 160px);
  --ease: cubic-bezier(.22, .7, .18, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--blanc);
  color: var(--texte);
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(16px, .18vw + 15.4px, 18px);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--framboise); color: #fff; }
:focus-visible { outline: 2px solid var(--framboise); outline-offset: 3px; }
.bio :focus-visible, .univers :focus-visible, .phrase :focus-visible, .hero :focus-visible, .pied :focus-visible, .menu :focus-visible, .dock :focus-visible, .visionneuse :focus-visible { outline-color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gouttiere); }
.section { padding: var(--section) 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--noir); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }

.ico { width: 20px; height: 20px; flex: none; fill: currentColor; }

/* Repères à compléter : bien visibles, faciles à retrouver */
.todo {
  background: var(--surligneur);
  color: #1a1400;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: .8em;
  letter-spacing: .01em;
  line-height: 1.35;
  padding: .12em .45em;
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.todo--petit { font-size: 10px; padding: 2px 5px; vertical-align: middle; }

/* ---------- Typo commune ---------- */
.label {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 22px;
  font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
}
.label__num { font-family: var(--serif); font-size: 15px; letter-spacing: .04em; color: var(--framboise); font-weight: 500; }
.label::after { content: ""; width: 48px; height: 1px; background: currentColor; opacity: .35; }

.titre {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(42px, 6.4vw, 88px);
  line-height: .98;
  letter-spacing: -.01em;
  margin: 0 0 28px;
}
.titre em { font-style: italic; color: var(--framboise); }
.titre--grand { font-size: clamp(46px, 8.4vw, 128px); }

.entete { margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.entete__texte { color: var(--texte-2); margin: 0; max-width: 52ch; }
.entete--ligne { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; max-width: none; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px;
  border: 1px solid transparent; border-radius: 0;
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn small { font-size: 11px; letter-spacing: .08em; opacity: .7; text-transform: none; }
.btn--accent { background: var(--framboise); color: #fff; }
.btn--accent:hover { background: var(--framboise-fonce); }
.btn--ghost { border-color: rgba(255,255,255,.75); color: #fff; background: rgba(13,11,12,.12); }
.btn--ghost:hover { background: #fff; color: var(--noir); }
.btn--noir { background: var(--noir); color: #fff; }
.btn--noir:hover { background: var(--framboise); }
.btn--ligne-clair { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn--ligne-clair:hover { background: #fff; color: var(--noir); }
.btn:active { transform: scale(.98); }

/* bouton lecture : alterne l'icône et le libellé */
[data-play] .ico-pause, [data-play] .lbl-pause, [data-play-courant] .ico-pause { display: none; }
.is-playing .ico-play, .is-playing .lbl-play { display: none; }
.is-playing .ico-pause, .is-playing .lbl-pause { display: inline; }
.is-playing svg.ico-pause { display: block; }
.btn .ico-pause, .btn .ico-play { width: 18px; height: 18px; }

/* =========================================================
   EN-TÊTE
   ========================================================= */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 64px; padding: 0 var(--gouttiere);
  padding-top: env(safe-area-inset-top);
  height: calc(64px + env(safe-area-inset-top));
  color: #fff;
  transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.top__logo { display: block; width: 84px; position: relative; }
.top__logo img { width: 100%; }
.top__logo .logo-noir { position: absolute; inset: 0; opacity: 0; transition: opacity .35s var(--ease); }
.top__logo .logo-blanc { transition: opacity .35s var(--ease); }
.top__nav { display: none; gap: 30px; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.top__nav a { text-decoration: none; position: relative; padding: 6px 0; }
.top__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.top__nav a:hover::after, .top__nav a.is-actif::after { transform: scaleX(1); }
.top__menu {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 2px;
  background: none; border: 0; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
}
.top__menu-icon { display: grid; gap: 6px; width: 22px; }
.top__menu-icon i { display: block; height: 1px; background: currentColor; transition: transform .3s var(--ease); }
.top__menu[aria-expanded="true"] .top__menu-icon i:first-child { transform: translateY(3.5px) rotate(45deg); }
.top__menu[aria-expanded="true"] .top__menu-icon i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.top.is-solide { background: rgba(251, 249, 248, .92); color: var(--noir); box-shadow: 0 1px 0 var(--trait); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.top.is-solide .logo-noir { opacity: 1; }
.top.is-solide .logo-blanc { opacity: 0; }
.top.is-menu { background: transparent; color: #fff; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.top.is-menu .logo-noir { opacity: 0; }
.top.is-menu .logo-blanc { opacity: 1; }

@media (min-width: 1024px) {
  .top { height: 76px; }
  .top__logo { width: 96px; }
  .top__nav { display: flex; }
  .top__menu { display: none; }
}

/* Menu plein écran */
.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--noir); color: #fff;
  display: flex; flex-direction: column; justify-content: center;
  padding: 96px var(--gouttiere) 40px;
}
.menu[hidden] { display: none; }
.menu__list { list-style: none; margin: 0; padding: 0; }
.menu__list a {
  display: flex; align-items: baseline; gap: 18px;
  padding: 6px 0; text-decoration: none;
  font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 9vw, 56px); line-height: 1.15;
}
.menu__list span { font-size: 15px; font-family: var(--sans); letter-spacing: .1em; color: var(--framboise-clair); min-width: 26px; }
.menu__list a:hover { font-style: italic; }
.menu__foot { margin-top: auto; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--texte-clair); }
.js .menu:not([hidden]) .menu__list li { animation: monte .6s var(--ease) both; }
.menu__list li:nth-child(2) { animation-delay: .04s !important; }
.menu__list li:nth-child(3) { animation-delay: .08s !important; }
.menu__list li:nth-child(4) { animation-delay: .12s !important; }
.menu__list li:nth-child(5) { animation-delay: .16s !important; }
.menu__list li:nth-child(6) { animation-delay: .2s !important; }
.menu__list li:nth-child(7) { animation-delay: .24s !important; }
.menu__list li:nth-child(8) { animation-delay: .28s !important; }

/* =========================================================
   1. ACCUEIL
   ========================================================= */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  background: #1d1b1c; color: #fff; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 18%; }
.js .hero__media img { animation: respire 2.8s var(--ease) both; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13,11,12,.45) 0%, rgba(13,11,12,0) 18%, rgba(13,11,12,0) 38%, rgba(13,11,12,.55) 62%, rgba(13,11,12,.92) 100%);
}
.hero__content { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gouttiere) calc(56px + env(safe-area-inset-bottom)); }
.hero__titre { margin: 0; font-weight: 400; }
.hero__logo { width: clamp(220px, 62vw, 560px); height: auto; margin: 0 0 clamp(26px, 4vw, 40px) -1%; }
.hero__kicker {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase;
  color: #fff;
}
.hero__kicker::before { content: ""; width: 34px; height: 1px; background: var(--framboise-clair); }
.hero__single {
  display: block;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(64px, 15vw, 168px); line-height: .92; letter-spacing: -.015em;
  margin: 6px 0 0 -.04em;
}
.hero__meta { margin: 14px 0 30px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.hero__actions { display: flex; gap: 10px; }
.hero__actions .btn { flex: 1 1 0; max-width: 240px; padding: 0 12px; gap: 10px; font-size: 12px; letter-spacing: .14em; }
@media (min-width: 600px) { .hero__actions .btn { padding: 0 28px; font-size: 13px; letter-spacing: .18em; } }
.hero__todo { position: absolute; top: calc(76px + env(safe-area-inset-top)); right: var(--gouttiere); max-width: 220px; z-index: 2; font-size: 11px; }
.hero__suite { display: none; }

/* Entrée de l'accueil (décalée si l'ouverture est jouée) */
:root { --d0: 0s; }
.avec-intro { --d0: 1.75s; }
.js .hero__media img { animation-delay: var(--d0); }
.js .hero__logo { animation: trace 1.7s var(--ease) both; animation-delay: calc(var(--d0) + .05s); }
.js .hero__kicker, .js .hero__meta, .js .hero__actions { animation: monte 1.1s var(--ease) both; }
.js .hero__kicker { animation-delay: calc(var(--d0) + .45s); }
.js .hero__meta { animation-delay: calc(var(--d0) + 1.15s); }
.js .hero__actions { animation-delay: calc(var(--d0) + 1.3s); }
.js .hero__single:not(.est-coupe) { animation: apparait .8s 2.6s both; }
.lettre { display: inline-block; white-space: pre; animation: lettre 1.1s var(--ease) both; animation-delay: calc(var(--d0) + .6s + var(--i) * 60ms); }

@media (min-width: 900px) {
  .hero::before {
    background:
      linear-gradient(90deg, rgba(13,11,12,.78) 0%, rgba(13,11,12,.35) 42%, rgba(13,11,12,0) 70%),
      linear-gradient(180deg, rgba(13,11,12,.4) 0%, rgba(13,11,12,0) 22%, rgba(13,11,12,0) 60%, rgba(13,11,12,.6) 100%);
  }
  .hero__media img { object-position: 50% 6%; }
  .hero__content { padding-bottom: 9vh; }
  .hero__logo { width: clamp(320px, 36vw, 560px); }
  .hero__suite {
    display: block; position: absolute; left: 50%; bottom: 26px; width: 44px; height: 44px; margin-left: -22px;
  }
  .hero__suite span { position: absolute; left: 50%; top: 6px; width: 1px; height: 32px; background: rgba(255,255,255,.7); transform-origin: top; animation: fil 2.4s var(--ease) infinite; }
}

/* =========================================================
   2. EN 10 SECONDES
   ========================================================= */
.dix { padding-bottom: clamp(56px, 7vw, 96px); }
.dix__phrase {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(32px, 4.9vw, 66px); line-height: 1.08; letter-spacing: -.005em;
  max-width: 20ch; margin: 0 0 clamp(48px, 7vw, 88px);
}
@media (min-width: 900px) { .dix__phrase { max-width: 25ch; } }
.dix__phrase em { color: var(--framboise); }
.faits { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid var(--noir); }
.faits div { padding: 20px 16px 22px 0; border-bottom: 1px solid var(--trait); }
.faits div:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--trait); }
.faits div:nth-child(even) { padding-left: 16px; }
.faits dt { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--texte-2); margin-bottom: 8px; }
.faits dd { margin: 0; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.12; }
.faits dd .todo { font-size: 14px; }
@media (min-width: 900px) {
  .faits { grid-template-columns: repeat(4, 1fr); }
  .faits div, .faits div:nth-child(odd), .faits div:nth-child(even) { padding: 24px 22px 26px; border-right: 1px solid var(--trait); border-bottom: 0; }
  .faits div:first-child { padding-left: 0; }
  .faits div:last-child { border-right: 0; }
}

/* =========================================================
   3. LE SINGLE
   ========================================================= */
.single { padding-top: 0; }
.single__grid { display: grid; gap: 0 clamp(48px, 6vw, 96px); grid-template-areas: "entete" "media" "texte"; }
.single__entete { grid-area: entete; }
.single__media { grid-area: media; margin-bottom: 48px; }
.single__texte { grid-area: texte; }
.single__entete .titre { font-style: italic; }
.pochette { margin: 0; aspect-ratio: 1; background: var(--framboise); }
.pochette img { width: 100%; height: 100%; object-fit: cover; }
.chapo { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.4vw, 31px); line-height: 1.28; margin: 0 0 32px; max-width: 30ch; }
.prose { max-width: 60ch; }
.prose p { margin: 0 0 1.1em; color: #2a2527; }
.prose h3 {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2;
  margin: 1.8em 0 .55em; color: var(--framboise);
}
@media (min-width: 960px) {
  .single__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: auto 1fr; grid-template-areas: "media entete" "media texte"; align-items: start; }
  .single__media { position: sticky; top: 100px; margin-bottom: 0; }
}

/* ---------- Lecteurs ---------- */
.player--main {
  display: grid; grid-template-columns: auto 1fr; gap: 14px 18px; align-items: center;
  margin-top: 18px; padding: 18px 20px 16px; background: var(--noir); color: #fff;
}
.player__btn {
  width: 56px; height: 56px; border-radius: 50%; border: 0;
  display: grid; place-items: center; background: var(--framboise); color: #fff;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.player__btn:hover { background: var(--framboise-clair); }
.player__btn:active { transform: scale(.94); }
.player__btn .ico { width: 22px; height: 22px; }
.player__btn--petit { width: 46px; height: 46px; background: transparent; border: 1px solid rgba(255,255,255,.5); }
.player__btn--petit:hover { background: #fff; color: var(--noir); }
.player__btn--petit.is-playing { background: var(--framboise); border-color: var(--framboise); }
.player__body { min-width: 0; }
.player__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.player__titre { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1; }
.player__artiste { font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: .22em; margin-left: 8px; color: var(--texte-clair); }
.player__temps { font-size: 12px; letter-spacing: .06em; color: var(--texte-clair); font-variant-numeric: tabular-nums; white-space: nowrap; }
.player__saut {
  grid-column: 1 / -1; justify-self: start;
  display: inline-flex; gap: 10px; align-items: center; min-height: 40px; padding: 0 14px;
  background: transparent; border: 1px solid rgba(255,255,255,.28); color: #fff;
  font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  transition: border-color .25s, background-color .25s;
}
.player__saut span { color: var(--framboise-clair); letter-spacing: .06em; }
.player__saut:hover { border-color: #fff; }

.wave { position: relative; height: 46px; cursor: pointer; touch-action: none; }
.wave--petite { height: 34px; }
.wave svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.wave .wave__fond rect { fill: rgba(255,255,255,.26); }
.wave .wave__joue { clip-path: inset(0 100% 0 0); }
.wave .wave__joue rect { fill: var(--framboise-clair); }
.wave:focus-visible { outline-offset: 4px; }
.wave__tete { position: absolute; top: -3px; bottom: -3px; width: 1px; background: #fff; left: 0; opacity: 0; transition: opacity .2s; pointer-events: none; }
.player.is-actif .wave__tete { opacity: 1; }

/* =========================================================
   LA PHRASE — moment fort
   ========================================================= */
.phrase {
  position: relative; overflow: hidden;
  background: var(--framboise); color: #fff;
  padding: clamp(88px, 12vw, 170px) 0 clamp(72px, 10vw, 140px);
}
.phrase::before { /* grain très léger, comme la pochette */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.phrase .wrap { position: relative; }
.phrase__citation { margin: 0; }
.phrase__citation p {
  margin: 0;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(66px, 16.5vw, 250px); line-height: .88; letter-spacing: -.025em;
}
.phrase__l { display: block; }
.phrase__l--decal { padding-left: .9em; }
.phrase__l em { font-weight: 300; }
.phrase__mal {
  display: inline-block;
  color: #fff;
  -webkit-text-stroke: 1px #fff;
  transition: color 2.2s var(--ease) .5s, -webkit-text-stroke-color 2.2s var(--ease);
}
.phrase.is-vue .phrase__mal { color: transparent; }
.phrase__legende {
  margin: clamp(36px, 5vw, 64px) 0 0 auto; max-width: 40ch;
  font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: rgba(255,255,255,.92);
}
.js .phrase__l { opacity: 0; transform: translateY(.18em); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .phrase.is-vue .phrase__l { opacity: 1; transform: none; }
.js .phrase.is-vue .phrase__l:nth-child(2) { transition-delay: .15s; }
.js .phrase.is-vue .phrase__l:nth-child(3) { transition-delay: .3s; }

/* ---------- Notes (motif « téléphone ») ---------- */
.note {
  position: relative; margin: 0;
  background: #fffdfb; color: var(--texte);
  border-radius: 18px;
  padding: 14px 20px 18px;
  box-shadow: 0 1px 0 rgba(13,11,12,.05), 0 18px 40px -24px rgba(13,11,12,.35);
  display: flex; flex-direction: column;
}
.note__barre { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--trait); }
.note__retour { color: var(--framboise); font-size: 15px; font-weight: 500; letter-spacing: .01em; }
.note__points { color: var(--framboise); letter-spacing: .1em; }
.note__tag { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--texte-2); }
.note__texte { margin: 0 0 16px; font-size: 17px; line-height: 1.55; flex: 1; }
.note--flottante {
  width: min(320px, 100%); margin: 0 0 clamp(40px, 6vw, 64px);
  transform: rotate(-2deg);
  box-shadow: 0 30px 60px -30px rgba(40, 6, 16, .7);
}
.note--flottante .note__texte { margin: 0; min-height: 1.6em; font-size: 19px; }
.note__curseur { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -0.18em; background: var(--framboise); animation: clignote 1s steps(1) infinite; }
.note--sombre { background: var(--noir-2); color: #f1ecec; box-shadow: none; border: 1px solid var(--trait-clair); }
.note--sombre .note__barre { border-color: var(--trait-clair); }
.note--sombre .note__retour { color: var(--framboise-clair); }
.note--sombre .note__tag { color: var(--texte-clair); }

.copier, .lien-copier {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--trait); border-radius: 999px; background: transparent;
  font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  transition: background-color .25s, color .25s, border-color .25s;
}
.copier:hover { background: var(--noir); color: #fff; border-color: var(--noir); }
.note--sombre .copier { border-color: var(--trait-clair); }
.note--sombre .copier:hover { background: #fff; color: var(--noir); }
.copier.is-ok, .lien-copier.is-ok { background: var(--framboise); border-color: var(--framboise); color: #fff; }
.lien-copier { border-radius: 0; margin-top: 26px; }
.lien-copier:hover { border-color: var(--noir); }
.lien-copier .ico { width: 18px; height: 18px; }

/* =========================================================
   4. POUR LES RADIOS
   ========================================================= */
.mention {
  display: inline-flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin: 4px 0 0; padding: 10px 14px;
  border: 1px solid var(--framboise); color: var(--framboise);
  font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
}
@media (min-width: 600px) { .mention { padding: 10px 18px; font-size: 12px; letter-spacing: .24em; } }
.radio__grid { display: grid; gap: 48px; }
.fiche__liste { margin: 0; border-top: 1px solid var(--noir); }
.fiche__liste div { display: grid; grid-template-columns: minmax(118px, 38%) 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--trait); }
.fiche__liste dt { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--texte-2); padding-top: 4px; }
.fiche__liste dd { margin: 0; font-size: 17px; }
.fiche__sous { margin: 40px 0 12px; font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--framboise); }

.dl { background: var(--noir); color: #fff; padding: clamp(24px, 3.4vw, 40px); align-self: start; }
.dl__titre { margin: 0 0 18px; font-family: var(--serif); font-style: italic; font-size: 28px; line-height: 1.1; }
.dl__liste { list-style: none; margin: 0; padding: 0; }
.dl__item {
  display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 14px;
  min-height: 72px; padding: 14px 0; text-decoration: none;
  border-top: 1px solid var(--trait-clair);
  transition: color .25s, padding .3s var(--ease);
}
.dl__liste li:last-child .dl__item { border-bottom: 1px solid var(--trait-clair); }
.dl__format { font-family: var(--serif); font-size: 26px; line-height: 1; }
.dl__item--fort .dl__format { font-size: 34px; color: var(--framboise-clair); }
.dl__info { font-size: 14px; line-height: 1.4; }
.dl__info small { font-size: 12px; color: var(--texte-clair); letter-spacing: .04em; }
.dl__item .ico { width: 22px; height: 22px; transition: transform .3s var(--ease); }
.dl__item:hover { color: var(--framboise-clair); padding-left: 6px; }
.dl__item:hover .ico { transform: translateY(3px); }
.dl__note { margin: 20px 0 0; font-size: 13px; color: var(--texte-clair); }
@media (min-width: 960px) {
  .radio__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 6vw, 96px); }
  .dl { position: sticky; top: 100px; }
}

/* Vidéo « Leya se présente » (dans la bio) */
.presentation { margin: 40px 0 0; max-width: 560px; }
.presentation__vide { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--noir); color: #fff; }
.presentation__vide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: grayscale(1) brightness(.5); }
.presentation__texte { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 10px; padding: 24px; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.1; }
.presentation__texte .todo { font-size: 12px; }
.presentation__play { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); display: grid; place-items: center; margin-bottom: auto; }
.presentation__play svg { width: 20px; height: 20px; fill: #fff; }
.presentation video { width: 100%; aspect-ratio: 16 / 9; background: var(--noir); }

/* =========================================================
   6. QUI EST LEYA
   ========================================================= */
.bio { background: var(--noir); color: #f1ecec; }
.bio .label__num, .univers .label__num { color: var(--framboise-clair); }
.bio .titre em, .univers .titre em { color: var(--framboise-clair); }
.bio__grid { display: grid; gap: clamp(40px, 6vw, 96px); }
.bio__photo { margin: 0; aspect-ratio: 4 / 5; background: #222; }
.bio__photo img { width: 100%; height: 100%; object-fit: cover; }
.bio__identite { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: -6px 0 26px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-clair); }
.bio__identite b { font-weight: 500; color: #fff; }
.bio__identite span { display: inline-flex; align-items: center; gap: 8px; }
.bio__identite span + span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--framboise-clair); margin-right: 14px; }
.bio__identite .todo { text-transform: none; letter-spacing: 0; font-size: 12px; }
.bio__court { font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 2vw, 27px); line-height: 1.42; margin: 0 0 30px; max-width: 36ch; }
.bio__bouton .lbl-fermer { display: none; }
.bio__bouton[aria-expanded="true"] .lbl-ouvrir { display: none; }
.bio__bouton[aria-expanded="true"] .lbl-fermer { display: inline; }
.bio__bouton .ico { transition: transform .35s var(--ease); }
.bio__bouton[aria-expanded="true"] .ico { transform: rotate(180deg); }
.bio__complete { margin-top: 30px; max-width: 62ch; color: var(--texte-clair); }
.bio__complete p { margin: 0 0 1.05em; }
.bio__complete .bio__exergue { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.3; color: #fff; margin: 1.3em 0; }
.js .bio__complete:not([hidden]) .bio__complete-int { animation: monte .7s var(--ease) both; }
.bio__copier-titre { margin: 56px 0 16px; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--texte-clair); }
.bio__versions { display: grid; gap: 16px; }
.bio__versions .note__texte { font-size: 16px; }
@media (min-width: 960px) {
  .bio__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .bio__photo { position: sticky; top: 100px; }
}

/* =========================================================
   7. PHOTOS PRESSE
   ========================================================= */
.credit { margin: 0; font-size: 14px; color: var(--texte-2); }
.galerie { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.galerie__item { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #e9e4e2; }
.galerie__item--grand { grid-column: 1 / -1; }
.galerie__item--large { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.galerie__item--large img { object-position: 50% 55%; }
.galerie__ouvrir { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.galerie__ouvrir img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s var(--ease); }
.galerie__item:hover .galerie__ouvrir img { transform: scale(1.03); }
.galerie__hd {
  position: absolute; right: 10px; bottom: 10px;
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px;
  background: rgba(13,11,12,.82); color: #fff; text-decoration: none;
  font-size: 11px; font-weight: 500; letter-spacing: .18em;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color .25s;
}
.galerie__hd .ico { width: 16px; height: 16px; }
.galerie__hd:hover { background: var(--framboise); }
@media (min-width: 960px) {
  .galerie { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .galerie__item--grand { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .galerie__item--large { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
  .galerie__hd { opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .25s; }
  .galerie__item:hover .galerie__hd, .galerie__hd:focus-visible { opacity: 1; transform: none; }
}
@media (hover: none) { .galerie__hd { opacity: 1 !important; transform: none !important; } }

/* Visionneuse */
.visionneuse {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(13,11,12,.97); color: #fff;
}
.visionneuse[open] { display: grid; grid-template-rows: auto 1fr; }
.visionneuse::backdrop { background: rgba(13,11,12,.9); }
.visionneuse__haut { display: flex; align-items: center; gap: 16px; padding: calc(10px + env(safe-area-inset-top)) var(--gouttiere) 10px; }
.visionneuse__compteur { font-family: var(--serif); font-size: 20px; font-style: italic; margin-right: auto; }
.visionneuse__hd { font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--framboise-clair); padding: 6px 0; }
.visionneuse__fermer { width: 48px; height: 48px; border: 0; background: none; display: grid; place-items: center; }
.visionneuse__fermer .ico { width: 26px; height: 26px; }
.visionneuse__img { width: 100%; height: 100%; object-fit: contain; padding: 0 var(--gouttiere) calc(20px + env(safe-area-inset-bottom)); min-height: 0; }
.visionneuse__nav { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.visionneuse__nav:hover { background: rgba(255,255,255,.18); }
.visionneuse__nav--prec { left: 12px; }
.visionneuse__nav--suiv { right: 12px; }
.visionneuse__nav .ico { width: 24px; height: 24px; }

/* =========================================================
   8. AUTRES TITRES
   ========================================================= */
.univers { background: var(--noir); color: #f1ecec; }
.univers .entete__texte { color: var(--texte-clair); }
.titres { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--trait-clair); }
.titres__item {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "btn nom duree" "wave wave wave";
  align-items: center; gap: 14px 18px; padding: 24px 0; border-bottom: 1px solid var(--trait-clair);
}
.titres__num { display: none; }
.titres__item .player__btn { grid-area: btn; }
.titres__nom { grid-area: nom; font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 4.4vw, 56px); line-height: 1; }
.titres__item .wave { grid-area: wave; }
.titres__item > * { min-width: 0; }
.titres__duree { grid-area: duree; font-size: 13px; color: var(--texte-clair); font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.titres__duree .todo { display: block; width: max-content; margin: 6px 0 0 auto; }
@media (min-width: 900px) {
  .titres__item { grid-template-columns: 40px auto minmax(180px, 280px) 1fr auto; grid-template-areas: "num btn nom wave duree"; gap: 28px; padding: 30px 0; }
  .titres__num { display: block; grid-area: num; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--framboise-clair); }
}

/* =========================================================
   9. CONTACT + PIED
   ========================================================= */
.contact .titre em { font-style: italic; }
.contact__grid { display: grid; gap: 36px; margin-top: clamp(32px, 5vw, 64px); border-top: 1px solid var(--noir); padding-top: 32px; }
.contact__label { margin: 0 0 12px; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--texte-2); }
.contact__bloc p { margin: 0; }
.contact__mail { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; text-decoration: none; border-bottom: 1px solid var(--framboise); overflow-wrap: anywhere; transition: color .25s; }
.contact__mail:hover { color: var(--framboise); }
.contact .lien-copier { margin-top: 18px; }
.reseaux { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.reseaux a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; font-size: 17px; }
.reseaux a span { color: var(--texte-2); }
.reseaux a:hover, .reseaux a:hover span { color: var(--framboise); }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1.4fr 1fr; gap: 48px; } }

.pied { background: var(--noir); color: var(--texte-clair); padding: 56px 0 calc(120px + env(safe-area-inset-bottom)); font-size: 13px; letter-spacing: .06em; }
.pied__int { display: grid; gap: 10px; justify-items: start; }
.pied__logo { width: 110px; margin-bottom: 14px; }
.pied p { margin: 0; }
.pied__discret { font-size: 12px; opacity: .8; }

/* =========================================================
   MINI-LECTEUR
   ========================================================= */
.dock {
  position: fixed; z-index: 40; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 12px;
  padding: 8px 10px 8px 8px; background: rgba(13,11,12,.94); color: #fff;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.55);
  transform: translateY(0); transition: transform .45s var(--ease), opacity .45s var(--ease);
}
.dock[hidden] { display: grid; transform: translateY(140%); opacity: 0; pointer-events: none; visibility: hidden; }
.dock__btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--framboise); color: #fff; display: grid; place-items: center; }
.dock__btn .ico { width: 18px; height: 18px; }
.dock__info { min-width: 0; display: grid; gap: 7px; }
.dock__titre { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock__artiste { font-family: var(--sans); font-style: normal; font-size: 10px; letter-spacing: .22em; color: var(--texte-clair); margin-left: 6px; }
.dock__barre { display: block; height: 2px; background: rgba(255,255,255,.18); }
.dock__barre span { display: block; height: 100%; width: 0; background: var(--framboise-clair); }
.dock__temps { font-size: 12px; color: var(--texte-clair); font-variant-numeric: tabular-nums; }
.dock__dl { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border: 1px solid rgba(255,255,255,.3); text-decoration: none; font-size: 11px; font-weight: 500; letter-spacing: .16em; white-space: nowrap; }
.dock__dl:hover { border-color: #fff; }
@media (max-width: 380px) { .dock__temps { display: none; } }
@media (min-width: 760px) {
  .dock { left: 50%; right: auto; width: 520px; margin-left: -260px; bottom: 18px; }
}

/* =========================================================
   APPARITIONS DOUCES
   ========================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@keyframes monte { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes respire { from { transform: scale(1.07); } to { transform: scale(1); } }
@keyframes clignote { 50% { opacity: 0; } }
@keyframes fil { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .phrase__l { opacity: 1 !important; transform: none !important; }
  .note__curseur { animation: none; }
}

/* =========================================================
   IMPRESSION (si quelqu'un imprime la page)
   ========================================================= */
@media print {
  .top, .menu, .dock, .hero__actions, .player__saut, .copier, .lien-copier, .galerie__hd, .visionneuse, .hero__suite { display: none !important; }
  .hero { min-height: auto; height: 80vh; }
  .js [data-reveal], .js .phrase__l { opacity: 1 !important; transform: none !important; }
  .bio__complete[hidden] { display: block !important; }
}

/* =========================================================
   EFFETS « PERSONNALITÉ »
   ========================================================= */

/* --- Ouverture : le logo se trace, puis le rideau se lève (une fois par visite) --- */
.intro { display: none; }
.avec-intro .intro {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 200;
  background: var(--noir); color: var(--texte-clair);
  animation: rideau 1s cubic-bezier(.77, 0, .18, 1) 1.3s both;
}
.intro__logo { width: min(58vw, 440px); animation: trace 1.25s var(--ease) .1s both; }
.intro__ligne { position: absolute; left: 0; right: 0; bottom: 14vh; text-align: center; font-size: 11px; font-weight: 500; letter-spacing: .42em; text-transform: uppercase; animation: monte .8s var(--ease) .55s both; }
.intro-passe .intro { animation: rideau .55s cubic-bezier(.77, 0, .18, 1) both !important; }
.intro__logo, .js .hero__logo {
  -webkit-mask-image: linear-gradient(90deg, #000 42%, transparent 58%);
          mask-image: linear-gradient(90deg, #000 42%, transparent 58%);
  -webkit-mask-size: 260% 100%; mask-size: 260% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}

/* --- Lumière framboise sur la photo, synchronisée sur la musique --- */
.hero__lueur {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(70% 60% at 64% 34%, #e07390 0%, #9d364d 55%, #4a1220 100%);
  mix-blend-mode: color;
  opacity: 0; transition: opacity .5s var(--ease);
}
.hero.est-en-musique .hero__lueur { opacity: calc(.22 + var(--niveau, 0) * .7); transition: opacity .08s linear; }

/* --- Bouton lecture : un anneau qui bat avec le son --- */
.player__btn, .dock__btn { position: relative; }
.player__btn::after, .dock__btn::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; pointer-events: none;
  border: 1px solid var(--framboise-clair);
  opacity: 0; transform: scale(1);
}
.is-playing.player__btn::after, .is-playing.dock__btn::after {
  opacity: calc(.25 + var(--niveau, 0) * .75);
  transform: scale(calc(1 + var(--niveau, 0) * .32));
}

/* --- Mini-égaliseur du lecteur en bas d'écran --- */
.egaliseur { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; margin-left: 10px; vertical-align: -1px; opacity: 0; transition: opacity .4s; }
.egaliseur i { display: block; width: 2px; height: calc(2px + var(--e, 0) * 10px); background: var(--framboise-clair); }
.egaliseur i:nth-child(1) { --e: var(--e1); } .egaliseur i:nth-child(2) { --e: var(--e2); }
.egaliseur i:nth-child(3) { --e: var(--e3); } .egaliseur i:nth-child(4) { --e: var(--e4); }
.dock.est-en-musique .egaliseur { opacity: 1; }

/* --- Le vinyle sort de la pochette quand « Plus mal » joue --- */
.disque { position: relative; }
.pochette { position: relative; z-index: 1; box-shadow: 0 30px 60px -36px rgba(13, 11, 12, .55); }
.vinyle {
  position: absolute; z-index: 0; top: 3%; left: 3%; width: 94%; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 33.5%, #0d0b0c 34% 35%, transparent 35.5%),
    repeating-radial-gradient(circle, #0d0b0c 0 1.4px, #1f1b1d 1.4px 2.8px);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6);
  transform: translateX(0); transition: transform 1.2s var(--ease);
}
.vinyle::after { /* reflet fixe */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 20deg, transparent 0 8%, rgba(255,255,255,.12) 13%, transparent 19% 58%, rgba(255,255,255,.08) 63%, transparent 69%);
}
.vinyle__rond {
  position: absolute; inset: 34%; border-radius: 50%;
  background: url("../img/pochette-600.webp") center / cover;
  animation: tourne 3.6s linear infinite; animation-play-state: paused;
}
.vinyle__rond::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6%; height: 6%; margin: -3% 0 0 -3%; border-radius: 50%; background: var(--blanc); }
.disque.est-en-musique .vinyle { transform: translateX(13%); }
.disque.est-en-musique .vinyle__rond { animation-play-state: running; }
@media (min-width: 960px) { .disque.est-en-musique .vinyle { transform: translateX(17%); } }

/* --- « En 10 secondes » : un vrai compte à rebours --- */
.chrono { display: none; }
.js .chrono { display: inline-flex; align-items: center; gap: 10px; margin-left: 2px; }
.label:has(.chrono)::after { display: none; }
.chrono i { position: relative; display: block; width: 64px; height: 1px; background: var(--trait); overflow: hidden; }
.chrono i::after { content: ""; position: absolute; inset: 0; background: var(--framboise); transform: scaleX(0); transform-origin: left; }
.chrono.go i::after { transform: scaleX(1); transition: transform 10s linear; }
.chrono b { font-family: var(--serif); font-size: 16px; font-weight: 500; color: var(--framboise); letter-spacing: 0; min-width: 2ch; font-variant-numeric: tabular-nums; }

/* --- Titres : les mots apparaissent un à un --- */
.js [data-mots] .mot { display: inline-block; opacity: 0; transform: translateY(.38em); filter: blur(7px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: calc(var(--i) * 65ms); }
.js [data-mots].is-in .mot { opacity: 1; transform: none; filter: none; }

/* --- La phrase : l'écho du refrain défile en fond --- */
.phrase__echo {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between;
  padding: 4vh 0; overflow: hidden; pointer-events: none;
}
.phrase__echo p {
  margin: 0; white-space: nowrap;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(96px, 20vw, 320px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, calc(.13 + var(--niveau, 0) * .25));
  transform: translate3d(var(--x, 0px), 0, 0); will-change: transform;
}

/* --- Photos : un rideau framboise se lève sur chaque image --- */
.galerie__item::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: var(--framboise); transform: scaleY(0); transform-origin: top;
}
.js .galerie__item::after { transition: transform 1.05s cubic-bezier(.77, 0, .18, 1) calc(var(--i, 0) * 90ms); }
.js .galerie__item:not(.is-in)::after { transform: scaleY(1); transform-origin: bottom; }
.js .galerie__item:not(.is-in) .galerie__ouvrir img { transform: scale(1.14); }
.js .galerie__item .galerie__ouvrir img { transition: transform 1.8s var(--ease) calc(var(--i, 0) * 90ms + .15s); }
.galerie__hd { z-index: 1; }

@keyframes trace { from { -webkit-mask-position: 100% 0; mask-position: 100% 0; } to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
@keyframes rideau { 0% { transform: none; } 99% { transform: translateY(-100%); visibility: visible; } 100% { transform: translateY(-100%); visibility: hidden; } }
@keyframes lettre { from { opacity: 0; transform: translateY(.32em) rotate(5deg); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes apparait { from { opacity: 0; } to { opacity: 1; } }
@keyframes tourne { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .avec-intro .intro { display: none; }
  .js [data-mots] .mot { opacity: 1 !important; transform: none !important; filter: none !important; }
  .js .galerie__item::after { transform: scaleY(0) !important; }
  .js .galerie__item .galerie__ouvrir img { transform: none !important; }
  .intro__logo, .js .hero__logo { -webkit-mask-image: none; mask-image: none; }
  .phrase__echo p { transform: none !important; }
  .vinyle__rond { animation: none; }
}

/* =========================================================
   EN 10 SECONDES (nouvelle présentation) + MACARON
   ========================================================= */
.dix__grid { display: grid; gap: 36px; align-items: center; }
.dix .dix__phrase { margin-bottom: 34px; }
.dix__ligne {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; row-gap: 10px;
  font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.3vw, 31px); line-height: 1.1;
}
.dix__ligne li { display: inline-flex; align-items: center; white-space: nowrap; }
.dix__ligne li + li::before { content: ""; width: 7px; height: 7px; background: var(--framboise); transform: rotate(45deg); margin: 0 clamp(14px, 2vw, 26px); }
.dix__ligne em { font-style: italic; color: var(--framboise); }
@media (min-width: 900px) { .dix__grid { grid-template-columns: minmax(0, 1fr) auto; gap: 72px; } }

.macaron {
  position: relative; justify-self: end;
  width: clamp(150px, 17vw, 214px); aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--noir); color: #fff;
  box-shadow: 0 26px 50px -26px rgba(13, 11, 12, .65);
}
.macaron__texte { position: absolute; inset: 0; width: 100%; height: 100%; animation: tourne 24s linear infinite; }
.macaron__texte text { font-family: var(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: 1px; fill: #fff; }
.macaron__centre {
  position: relative; width: 40%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; background: var(--framboise);
  transition: transform .35s var(--ease), background-color .25s;
}
.macaron:hover .macaron__centre { transform: scale(1.08); background: var(--framboise-fonce); }
.macaron .ico { width: 26px; height: 26px; }
.macaron::after {
  content: ""; position: absolute; inset: -7px; border-radius: 50%; pointer-events: none;
  border: 1px solid var(--framboise); opacity: 0;
}
.macaron.is-playing::after { opacity: calc(.3 + var(--niveau, 0) * .7); transform: scale(calc(1 + var(--niveau, 0) * .12)); }
@media (max-width: 899px) { .macaron { margin-top: -8px; } }

.btn__temps { color: var(--framboise-clair); letter-spacing: .06em; }

/* =========================================================
   CARTE D'IDENTITÉ
   ========================================================= */
.identite__grid { display: grid; gap: 44px; align-items: center; }
.identite .entete { margin-bottom: 0; }
.identite .lien-copier { margin-top: 26px; }
@media (min-width: 960px) { .identite__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; } }

.carte {
  position: relative; overflow: hidden; width: 100%; max-width: 660px; justify-self: center;
  border-radius: 22px; padding: clamp(20px, 3vw, 34px);
  background: linear-gradient(145deg, #1d1718 0%, #0d0b0c 52%, #2b0f19 100%);
  color: #fff;
  box-shadow: 0 44px 80px -42px rgba(13, 11, 12, .75), inset 0 0 0 1px rgba(255, 255, 255, .08);
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease);
}
.carte.est-survolee { transition: transform .1s linear; }
.carte__reflet {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background:
    radial-gradient(55% 45% at var(--mx, 25%) var(--my, 0%), rgba(224, 115, 144, .32), transparent 65%),
    linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .06) 46%, transparent 60%);
}
.carte__haut { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; margin-bottom: 22px; border-bottom: 1px solid var(--trait-clair); }
.carte__logo { width: 96px; }
.carte__type { font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--framboise-clair); }
.carte__corps { display: grid; grid-template-columns: 34% minmax(0, 1fr); gap: clamp(16px, 3vw, 30px); align-items: start; }
.carte__pochette { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.carte__infos { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.carte__infos dt { margin-bottom: 4px; font-size: 10px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--texte-clair); }
.carte__infos dd { margin: 0; font-family: var(--serif); font-size: clamp(19px, 1.7vw, 24px); line-height: 1.12; }
.carte__mention { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; margin: 24px 0 14px; padding: 11px 12px; border: 1px solid var(--framboise-clair); font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.carte__mrz { margin: 0; overflow: hidden; white-space: nowrap; font-family: "Courier New", ui-monospace, monospace; font-size: clamp(9px, 1.2vw, 13px); line-height: 1.55; letter-spacing: .14em; color: rgba(255, 255, 255, .36); }
@media (max-width: 520px) {
  .carte__corps { grid-template-columns: 1fr; }
  .carte__pochette { width: 44%; }
}

.dock__refrain {
  min-height: 44px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff;
  font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
}
.dock__refrain:hover { border-color: #fff; }

/* Ajustements téléphone */
@media (max-width: 599px) {
  .dix__ligne { display: grid; grid-template-columns: max-content max-content; justify-content: start; row-gap: 12px; font-size: 22px; }
  .dix__ligne li:nth-child(3)::before { display: none; }
  .dix__ligne li + li::before { margin: 0 16px; }
  .carte__mention span[aria-hidden] { display: none; }
  .carte__mention { flex-direction: column; align-items: center; letter-spacing: .18em; }
}

/* =========================================================
   QUI EST LEYA — ses trois valeurs
   ========================================================= */
.valeurs { list-style: none; margin: 4px 0 34px; padding: 0; display: grid; gap: 22px; }
.valeurs li { display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid var(--trait-clair); position: relative; }
.valeurs li::before { content: ""; position: absolute; top: -1px; left: 0; width: 42px; height: 1px; background: var(--framboise-clair); }
.valeurs__num { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--framboise-clair); }
.valeurs strong { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3vw, 40px); line-height: 1; color: #fff; }
.valeurs li > span:last-child { font-size: 14px; line-height: 1.5; color: var(--texte-clair); }
.js .valeurs li[data-reveal] { transition-delay: calc(var(--i) * 120ms); }
@media (min-width: 700px) { .valeurs { grid-template-columns: repeat(3, 1fr); gap: 26px; } }

/* Photos presse : autres univers du shooting */
.univers-photos { margin-top: clamp(48px, 7vw, 88px); }
.univers-photos__titre { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0 0 18px; font-family: var(--serif); font-style: italic; font-size: clamp(28px, 2.8vw, 36px); line-height: 1.1; }
.univers-photos__titre span { font-family: var(--sans); font-style: normal; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--texte-2); }
/* Autres univers : 5 photos sur une ligne (ordinateur), défilement au doigt (téléphone) */
@media (min-width: 960px) { .galerie--univers { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 959px) {
  .galerie--univers {
    display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin: 0 calc(-1 * var(--gouttiere)); padding: 0 var(--gouttiere) 6px; scroll-padding: 0 var(--gouttiere);
    scrollbar-width: none;
  }
  .galerie--univers::-webkit-scrollbar { display: none; }
  .galerie--univers .galerie__item { flex: 0 0 62%; scroll-snap-align: start; }
  .univers-photos__titre::after { content: "Faites glisser →"; margin-left: auto; font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-2); }
}

/* Le single : photos en studio */
.studio { margin: 2.4em 0 .4em; }
.studio__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.studio__photos img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.studio__photos img:last-child { margin-top: 28px; }
.studio figcaption { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--texte-2); }
.studio figcaption::before { content: ""; width: 34px; height: 1px; background: var(--framboise); }

/* =========================================================
   PETITES SURPRISES
   ========================================================= */
/* Ligne de lecture de la page */
.progression { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 70; pointer-events: none; }
.progression span { display: block; height: 100%; background: var(--framboise-clair); transform: scaleX(0); transform-origin: left; }

/* Pochette : un aperçu du vinyle au survol, et on peut cliquer */
.pochette { cursor: pointer; }
@media (hover: hover) {
  .disque:not(.est-en-musique):hover .vinyle { transform: translateX(7%); }
}

/* Mot de remerciement après l'écoute */
.merci {
  position: fixed; z-index: 41; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom));
  width: min(520px, calc(100% - 20px)); transform: translate(-50%, 16px); opacity: 0;
  padding: 18px 52px 18px 20px; background: var(--blanc); color: var(--noir);
  box-shadow: 0 24px 60px -24px rgba(13, 11, 12, .55), inset 0 0 0 1px var(--trait);
  transition: transform .45s var(--ease), opacity .45s var(--ease);
}
.merci.is-in { transform: translate(-50%, 0); opacity: 1; }
.merci[hidden] { display: block; visibility: hidden; }
.merci__titre { margin: 0 0 12px; font-family: var(--serif); font-size: 22px; line-height: 1.15; }
.merci__titre em { color: var(--framboise); }
.merci__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.merci__btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--noir); background: transparent; color: var(--noir); text-decoration: none; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.merci__btn:first-child { background: var(--framboise); border-color: var(--framboise); color: #fff; }
.merci__fermer { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border: 0; background: none; display: grid; place-items: center; }

/* Pied de page : le logo se trace, et un mot de fin */
.js .pied__logo {
  -webkit-mask-image: linear-gradient(90deg, #000 42%, transparent 58%); mask-image: linear-gradient(90deg, #000 42%, transparent 58%);
  -webkit-mask-size: 260% 100%; mask-size: 260% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 100% 0; mask-position: 100% 0;
}
.js .pied__logo.is-in { animation: trace 1.8s var(--ease) both; }
.pied__mot { font-family: var(--serif); font-style: italic; font-size: 20px; letter-spacing: 0; color: #fff; margin: 0 0 6px !important; }
@media (prefers-reduced-motion: reduce) {
  .js .pied__logo { -webkit-mask-image: none; mask-image: none; }
  .progression { display: none; }
}

/* Badge Netlify : le mini-lecteur et le mot de fin passent au-dessus */
@media (max-width: 1099px) {
  .avec-badge .dock { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .avec-badge .merci { bottom: calc(158px + env(safe-area-inset-bottom)); }
  .avec-badge .pied { padding-bottom: calc(190px + env(safe-area-inset-bottom)); }
}
