/* ════════════════════════════════════════════════════════════════════════
   Green Mammouth · charte (teintes prélevées sur la pochette du vinyle)
   Identité claire : fond blanc/ivoire, lettrage vert forêt, accents mousse.
   ════════════════════════════════════════════════════════════════════════ */
:root {
  --blanc:      #FFFFFF;  /* fond principal (dominante pochette : 65 %) */
  --ivoire:     #E7E6CC;  /* sections alternées, défenses du mammouth */
  --ivoire-pale:#F4F3E6;  /* fond très légèrement teinté */
  --vert:       #3A4C40;  /* lettrage « GREEN MAMMOUTH », texte principal */
  --vert-deep:  #2A3830;  /* sections sombres, footer */
  --vert-shadow:#1C231C;  /* noir-vert : traits, ombres portées */
  --mousse:     #7A8F5F;  /* corps du mammouth — décoratif, grands aplats */
  --olive:      #5A6E42;  /* accent lisible : liens, kickers (5,5:1 sur blanc) */
  --pousse:     #9EB17A;  /* reflets, accents sur fond sombre */
  --prune:      #6B4848;  /* le short du mammouth : accent chaud secondaire */

  /* Triplets RGB : permettent les rgba() sans figer la teinte en dur. */
  --rgb-vert:    58, 76, 64;
  --rgb-shadow:  28, 35, 28;
  --rgb-ivoire:  231, 230, 204;
  --rgb-olive:   90, 110, 66;
  --rgb-mousse:  122, 143, 95;

  --txt:        var(--vert);
  --txt-dim:    #6E7A6E;  /* texte secondaire (4,6:1 sur blanc) */

  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 64px);
  --player-h: 76px;

  --font-display: 'Archivo Black', 'Arial Black', sans-serif;
  --font-body: 'Space Grotesk', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--blanc);
  color: var(--txt);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: var(--player-h);
}

img, picture { max-width: 100%; display: block; }
a { color: var(--vert); text-decoration: none; }
em { font-style: italic; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

/* ── Grain imprimé global ───────────────────────────────────────────────── */
/* Plus discret que sur fond sombre : le grain marque vite sur du blanc. */
.grain {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 9999; opacity: .035; mix-blend-mode: multiply;
}

/* ── Titres ─────────────────────────────────────────────────────────────── */
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -.01em;
  line-height: .95;
  font-size: clamp(2.3rem, 7vw, 5rem);
  margin: .1em 0 .5em;
  color: var(--vert);
}
.kicker {
  font-size: .78rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--olive); font-weight: 700; margin: 0 0 .4em;
}

/* Sections sombres : on bascule les jetons de texte d'un coup. */
.on-dark {
  background: var(--vert-deep);
  --txt: var(--ivoire);
  --txt-dim: #A9B5A4;
  color: var(--txt);
}
.on-dark .section-title { color: var(--ivoire); }
.on-dark .kicker { color: var(--pousse); }
.on-dark a { color: var(--ivoire); }

/* ── Navigation ─────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--pad);
  background: linear-gradient(to bottom, rgba(255,255,255,.92), rgba(255,255,255,0));
  transition: background .3s, box-shadow .3s;
}
.nav.is-stuck {
  background: var(--blanc);
  box-shadow: 0 2px 20px rgba(var(--rgb-vert), .14);
}
.nav__logo {
  font-family: var(--font-display); font-size: 1.35rem; line-height: 1;
  color: var(--vert); letter-spacing: -.02em; text-transform: uppercase;
}
.nav__links { display: flex; gap: clamp(12px, 2.4vw, 30px); }
.nav__links a {
  font-size: .92rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 500;
  padding: 4px 0; border-bottom: 2px solid transparent; color: var(--vert);
}
.nav__links a:hover, .nav__links a:focus-visible { color: var(--olive); border-color: var(--olive); }
.nav__logo-short { display: none; }
/* Sous 820 px, « Green Mammouth » plus six rubriques ne tiennent pas sur une
   ligne : le nom passe en monogramme et la barre de liens défile au doigt
   plutôt que de déborder ou de passer à la ligne sous le logo. */
@media (max-width: 820px) {
  .nav { padding: 10px var(--pad); gap: 12px; }
  .nav__logo { font-size: 1.15rem; flex: none; }
  .nav__logo-long { display: none; }
  .nav__logo-short { display: inline; }
  .nav__links {
    flex: 1; gap: 16px; justify-content: flex-end;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .nav__links::-webkit-scrollbar { display: none; }
  .nav__links a { font-size: .76rem; letter-spacing: .05em; white-space: nowrap; }
}
/* Sous 560 px les six rubriques débordent même réduites. Un dégradé sur le
   bord droit signale qu'il reste des liens à faire défiler — sans ça, la barre
   paraît simplement coupée. */
@media (max-width: 560px) {
  .nav__links {
    justify-content: flex-start;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 26px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 26px), transparent);
  }
}

/* ── Héros ──────────────────────────────────────────────────────────────── */
/* Le mammouth est détouré sur fond clair : pas d'image de fond plein cadre,
   mais une composition centrée qui respire, comme la face avant du vinyle. */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 84px var(--pad) 32px;
  background: radial-gradient(120% 80% at 50% 12%, var(--blanc) 0%, var(--ivoire-pale) 100%);
}
/* Tout le bloc doit tenir dans une hauteur d'écran, sous-titre et lien de
   défilement compris : le mammouth est donc borné par la hauteur disponible,
   pas seulement par la largeur. */
.hero__art { width: min(37vh, 64vw); margin: 0 auto; }
.hero__art img { width: 100%; height: auto; }
.hero__cry {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.2rem, 8.5vw, 5.4rem); line-height: .9; margin: .16em 0 .12em;
  text-transform: uppercase; letter-spacing: -.02em; color: var(--vert);
}
.hero__sub {
  font-size: clamp(.72rem, 2.1vw, .95rem); letter-spacing: .34em;
  text-transform: uppercase; color: var(--olive); font-weight: 700; margin: 0 0 1.6em;
}
/* Écran très bas (portable 13" en 16:9) : on rend la main au contenu. */
@media (max-height: 700px) {
  .hero { min-height: auto; padding-top: 76px; padding-bottom: 44px; }
  .hero__art { width: min(32vh, 52vw); }
}
.hero__scroll {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .82rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 700;
  color: var(--vert);
}
.hero__scroll svg { animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .hero__scroll svg { animation: none; } }

/* ── Manifeste ──────────────────────────────────────────────────────────── */
.manifeste { position: relative; padding: clamp(64px, 12vh, 140px) 0; overflow: hidden; }
.manifeste__bg {
  position: absolute; inset: 0; pointer-events: none;
  background: url('/img/mammouth-960.png') no-repeat right -10% center / contain;
  opacity: .06;
}
.manifeste__text { max-width: 760px; font-size: clamp(1.05rem, 2.2vw, 1.4rem); line-height: 1.65; }
.manifeste__text p { margin: 0 0 1.1em; }
.manifeste__text em { color: var(--olive); font-style: italic; }
.manifeste__punch {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.6rem, 4.5vw, 2.8rem) !important; line-height: 1.05; letter-spacing: -.01em;
  color: var(--vert); margin-top: .5em !important;
}
.on-dark .manifeste__punch { color: var(--ivoire); }
.bio {
  max-width: 720px; margin-top: 2.4em; padding-top: 1.6em;
  border-top: 2px solid rgba(var(--rgb-vert), .18);
  font-size: clamp(1.05rem, 2.5vw, 1.45rem); color: var(--txt-dim);
}
.on-dark .bio { border-top-color: rgba(var(--rgb-ivoire), .22); }

/* ── Le groupe ──────────────────────────────────────────────────────────── */
.groupe { padding: clamp(56px, 10vh, 120px) 0; }
.groupe__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(18px, 3vw, 36px); margin-top: 1.2em;
}
/* Les quatre découpes ont des proportions différentes (la batterie est large,
   les guitaristes sont hauts) : on leur impose une boîte de hauteur commune et
   un `contain`, sinon les noms se retrouvent sur quatre lignes de base. */
.membre { text-align: center; display: flex; flex-direction: column; }
.membre img {
  width: 100%; max-width: 190px; height: clamp(120px, 16vw, 170px);
  object-fit: contain; object-position: bottom; margin: 0 auto .7em;
}
.membre figcaption { margin-top: auto; }
.membre__nom {
  font-family: var(--font-display); font-size: 1.15rem; text-transform: uppercase;
  letter-spacing: .02em; color: var(--vert); margin: 0;
}
.membre__role { font-size: .85rem; color: var(--txt-dim); margin: 2px 0 0; }

/* ── Album ──────────────────────────────────────────────────────────────── */
.album { padding: clamp(56px, 10vh, 120px) 0; }
.album__grid { display: grid; grid-template-columns: minmax(0, 440px) 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 880px) { .album__grid { grid-template-columns: 1fr; } }
.album__cover { position: sticky; top: 90px; }
.album__cover img {
  width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; border-radius: 4px;
  box-shadow: 0 24px 60px rgba(var(--rgb-vert), .28);
}
.album__meta { margin-top: 1em; font-size: 1rem; line-height: 1.4; color: var(--txt-dim); }
.album__meta strong {
  font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; color: var(--vert);
  text-transform: uppercase; letter-spacing: -.01em; display: inline-block;
}
.album__buy { margin-top: 1.2em; }
@media (max-width: 880px) { .album__cover { position: static; max-width: 380px; } }

/* Playlist — séparée par face du vinyle. */
.playlist { list-style: none; margin: 0 0 1.4em; padding: 0; }
.playlist__face {
  font-size: .74rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--olive); font-weight: 700; margin: 1.6em 0 .4em;
}
.playlist__face:first-child { margin-top: 0; }
.track {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 16px; cursor: pointer;
  border-bottom: 1px solid rgba(var(--rgb-vert), .14);
  transition: background .15s, padding-left .15s;
}
.track:hover { background: rgba(var(--rgb-mousse), .16); padding-left: 22px; }
.track:focus-visible { outline: 2px solid var(--olive); outline-offset: -2px; }
.track__n { font-family: var(--font-display); font-size: 1.05rem; color: var(--olive); min-width: 1.8em; }
.track__title { flex: 1; font-size: 1.1rem; font-weight: 500; }
.track__dur { color: var(--txt-dim); font-variant-numeric: tabular-nums; font-size: .95rem; }
.track.is-active { background: rgba(var(--rgb-mousse), .26); }
.track.is-active .track__title { color: var(--olive); font-weight: 700; }
.track__eq { display: none; gap: 2px; align-items: flex-end; height: 16px; }
.track.is-active.is-playing .track__eq { display: inline-flex; }
.track__eq i { width: 3px; background: var(--olive); animation: eq .9s ease-in-out infinite; }
.track__eq i:nth-child(2){ animation-delay:.2s } .track__eq i:nth-child(3){ animation-delay:.4s }
@keyframes eq { 0%,100%{ height:4px } 50%{ height:16px } }

/* ── Photos (galerie) ───────────────────────────────────────────────────── */
.photos { padding: clamp(56px, 10vh, 120px) 0; }

/* Rail : 2 lignes fixes qui défilent horizontalement. La section garde la même
   hauteur qu'il y ait 4 photos ou 200 — la one-page n'est jamais noyée. */
.photos__rail { position: relative; margin-top: 1em; }
.photos__viewport {
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x proximity; scroll-behavior: smooth;
  scrollbar-width: none;
}
.photos__viewport::-webkit-scrollbar { display: none; }
.photos__viewport:focus-visible { outline: 2px solid var(--olive); outline-offset: 4px; }
.photos__grid {
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  grid-auto-columns: 150px;
  gap: 12px;
}
@media (min-width: 700px) { .photos__grid { grid-auto-columns: 200px; gap: 16px; } }
@media (prefers-reduced-motion: reduce) { .photos__viewport { scroll-behavior: auto; } }

.photos__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 72px; border-radius: 4px; cursor: pointer;
  background: rgba(255,255,255,.9); border: 1px solid rgba(var(--rgb-vert), .22);
  color: var(--vert); font-size: 1.9rem; line-height: 1;
  transition: color .2s, border-color .2s, opacity .2s;
}
.photos__arrow--prev { left: -6px; }
.photos__arrow--next { right: -6px; }
.photos__arrow:hover, .photos__arrow:focus-visible { color: var(--olive); border-color: var(--olive); }
.photos__arrow:disabled { opacity: .25; cursor: default; }
@media (min-width: 1100px) {
  .photos__arrow--prev { left: -22px; }
  .photos__arrow--next { right: -22px; }
}

.photo {
  padding: 0; border: 1px solid rgba(var(--rgb-vert), .16); border-radius: 6px;
  background: var(--ivoire); overflow: hidden; cursor: pointer; display: block;
  aspect-ratio: 1; scroll-snap-align: start;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo:hover, .photo:focus-visible {
  transform: translateY(-3px); border-color: var(--olive);
  box-shadow: 0 8px 24px rgba(var(--rgb-vert), .25);
}

/* Lightbox */
.lightbox {
  border: none; background: none; padding: 0; max-width: 100vw; max-height: 100vh;
  width: 100%; height: 100%; overflow: hidden;
}
.lightbox::backdrop { background: rgba(var(--rgb-shadow), .92); }
.lightbox__fig {
  margin: 0; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px; padding: 56px 16px;
}
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; border: 1px solid rgba(var(--rgb-ivoire), .15); }
.lightbox__cap { color: var(--ivoire); font-size: .92rem; text-align: center; max-width: 60ch; }
.lightbox__close {
  position: absolute; top: 12px; right: 16px; z-index: 2;
  background: none; border: none; color: var(--ivoire); font-size: 1.6rem; cursor: pointer;
}
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  background: rgba(var(--rgb-shadow), .5); border: 1px solid rgba(var(--rgb-ivoire), .2);
  color: var(--ivoire); font-size: 2rem; line-height: 1; cursor: pointer;
  width: 44px; height: 64px; border-radius: 4px;
}
.lightbox__nav:hover, .lightbox__nav:focus-visible { color: var(--pousse); border-color: var(--pousse); }
.lightbox__nav--prev { left: 8px; }
.lightbox__nav--next { right: 8px; }
.lightbox__close:hover, .lightbox__close:focus-visible { color: var(--pousse); }

/* ── Actualités & dates ─────────────────────────────────────────────────── */
.actus { padding: clamp(56px, 10vh, 120px) 0; background: var(--ivoire); }
.actus__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-top: 1em; }
.event {
  background: var(--blanc); border: 1px solid rgba(var(--rgb-vert), .14);
  border-radius: 6px; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.event:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(var(--rgb-vert), .18); border-color: var(--olive); }
.event__photo { aspect-ratio: 16/10; object-fit: cover; width: 100%; background: var(--ivoire-pale); }
.event__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.event__date { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--olive); font-weight: 700; }
.event__city { color: var(--prune); }
.event__title {
  font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; line-height: 1.1;
  text-transform: uppercase; letter-spacing: -.01em; margin: 0; color: var(--vert);
}
.event__desc { color: var(--txt-dim); font-size: .98rem; flex: 1; white-space: pre-line; }
.event__link {
  align-self: flex-start; margin-top: 6px; font-weight: 700; font-size: .9rem;
  text-transform: uppercase; letter-spacing: .08em; color: var(--olive);
  border-bottom: 2px solid var(--olive); padding-bottom: 2px;
}
.event__link:hover { color: var(--vert); border-color: var(--vert); }
.actus__empty { color: var(--txt-dim); font-style: italic; }
.actus__archive { margin-top: 32px; }
.actus__archive summary { cursor: pointer; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--txt-dim); }
.actus__archive summary:hover { color: var(--olive); }
.actus__archive[open] summary { margin-bottom: 16px; }

/* Fil d'actualités (éditorial), distinct des dates de concert. */
.news { padding: clamp(56px, 10vh, 120px) 0; }
.news__list { display: flex; flex-direction: column; gap: 28px; margin-top: 1em; max-width: 860px; }
.post {
  display: grid; grid-template-columns: minmax(0, 220px) 1fr; gap: 24px;
  padding-bottom: 28px; border-bottom: 1px solid rgba(var(--rgb-vert), .14);
}
.post:last-child { border-bottom: none; }
.post--notext { grid-template-columns: 1fr; }
@media (max-width: 660px) { .post { grid-template-columns: 1fr; gap: 14px; } }
.post__photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; }
.post__date { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--olive); font-weight: 700; }
.post__title {
  font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1.1;
  text-transform: uppercase; letter-spacing: -.01em; margin: .2em 0 .4em; color: var(--vert);
}
.post__body { color: var(--txt); white-space: pre-line; margin: 0; }
.post__link {
  display: inline-block; margin-top: .8em; font-weight: 700; font-size: .9rem;
  text-transform: uppercase; letter-spacing: .08em; color: var(--olive);
  border-bottom: 2px solid var(--olive); padding-bottom: 2px;
}
.post__link:hover { color: var(--vert); border-color: var(--vert); }

/* ── Contact + Newsletter ───────────────────────────────────────────────── */
.contact { padding: clamp(56px, 10vh, 120px) 0; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 820px) { .contact__grid { grid-template-columns: 1fr; } }
.contact__lead { color: var(--txt-dim); margin: 0 0 1.4em; }
.form { display: flex; flex-direction: column; gap: 10px; }
.form__label { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--txt-dim); }
.form__row { display: flex; gap: 10px; }
@media (max-width: 460px) { .form__row { flex-direction: column; } }
.form__input {
  background: var(--blanc); border: 2px solid rgba(var(--rgb-vert), .28); color: var(--vert);
  padding: 13px 15px; font-family: var(--font-body); font-size: 1rem; border-radius: 4px; width: 100%;
}
.form__input:focus-visible { outline: none; border-color: var(--olive); }
.form__input::placeholder { color: #9AA598; }
textarea.form__input { resize: vertical; min-height: 120px; }
.form__row .form__input { flex: 1; }
.form__msg { font-size: .92rem; min-height: 1.2em; margin: 4px 0 0; }
.form__msg.ok { color: #2F7D4F; }
.form__msg.err { color: #B03A3A; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.btn {
  font-family: var(--font-body); font-weight: 700; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .1em;
  background: var(--vert); color: var(--blanc); border: none; cursor: pointer;
  padding: 13px 26px; border-radius: 4px; white-space: nowrap;
  transition: transform .1s, background .2s, box-shadow .2s;
}
.btn:hover { background: var(--olive); box-shadow: 0 6px 24px rgba(var(--rgb-olive), .35); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: progress; }
.btn--ghost { background: none; color: var(--vert); border: 2px solid var(--vert); }
.btn--ghost:hover { background: var(--vert); color: var(--blanc); }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer { position: relative; background: var(--vert-deep); color: var(--ivoire); padding: clamp(48px, 8vh, 90px) 0 28px; overflow: hidden; }
.footer__frieze {
  position: absolute; inset: 0; pointer-events: none;
  background: url('/img/mammouth-960.png') no-repeat right -6% bottom -12% / contain;
  opacity: .07;
}
.footer__inner { position: relative; display: grid; gap: 28px; }
.footer__brand { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.footer__name { font-family: var(--font-display); font-size: clamp(1.6rem, 5vw, 2.4rem); line-height: 1; color: var(--ivoire); text-transform: uppercase; letter-spacing: -.01em; }
.footer__brand span:last-child { text-transform: uppercase; letter-spacing: .2em; color: var(--pousse); font-size: .9rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__links a { text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; font-weight: 500; color: #A9B5A4; }
.footer__links a:hover { color: var(--pousse); }
.footer__social { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__social a { color: var(--ivoire); font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; border-bottom: 2px solid rgba(var(--rgb-ivoire), .3); padding-bottom: 2px; }
.footer__social a:hover { color: var(--pousse); border-color: var(--pousse); }
.footer__legal { font-size: .82rem; color: #8E9A89; line-height: 1.7; }
.footer__legal a { color: #A9B5A4; text-decoration: underline; }
.footer__legal a:hover { color: var(--pousse); }
.footer__rgpd { display: block; margin-top: 8px; max-width: 60ch; }

/* ── Lecteur sticky ─────────────────────────────────────────────────────── */
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; height: var(--player-h);
  display: flex; align-items: center; gap: 14px; padding: 0 clamp(10px, 2vw, 22px);
  background: var(--vert-deep); color: var(--ivoire); border-top: 2px solid var(--mousse);
  box-shadow: 0 -6px 30px rgba(var(--rgb-shadow), .28);
}
.player[hidden] { display: none; }
.player__art { padding: 0; border: none; background: none; cursor: pointer; flex: none; }
.player__art img { width: 56px; height: 56px; object-fit: cover; border-radius: 3px; }
.player__info { min-width: 0; display: flex; flex-direction: column; width: clamp(110px, 18vw, 230px); }
.player__num { font-family: var(--font-display); color: var(--pousse); font-size: .72rem; }
.player__title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.player__controls { display: flex; align-items: center; gap: 6px; flex: none; }
.player__btn {
  background: none; border: none; color: var(--ivoire); cursor: pointer;
  font-size: 1.2rem; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; transition: background .15s, color .15s;
}
.player__btn:hover { background: rgba(var(--rgb-mousse), .28); color: var(--pousse); }
.player__btn--play { background: var(--mousse); color: var(--vert-shadow); font-size: 1.05rem; }
.player__btn--play:hover { background: var(--pousse); color: var(--vert-shadow); }
.player__seek { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.player__time { font-variant-numeric: tabular-nums; font-size: .8rem; color: #A9B5A4; flex: none; }
.player__bar { position: relative; flex: 1; height: 6px; background: rgba(var(--rgb-ivoire), .22); border-radius: 3px; cursor: pointer; min-width: 60px; }
.player__bar:focus-visible { outline: 2px solid var(--pousse); outline-offset: 3px; }
.player__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; background: var(--mousse); border-radius: 3px; }
.player__fill::after { content: ''; position: absolute; right: -5px; top: 50%; transform: translateY(-50%); width: 11px; height: 11px; background: var(--ivoire); border-radius: 50%; }
.player__vol { display: flex; align-items: center; gap: 6px; flex: none; }
.player__vol input { width: 80px; accent-color: var(--mousse); }
@media (max-width: 720px) {
  .player__vol, .player__seek .player__time:last-child { display: none; }
  .player__info { width: auto; flex: 1; }
  .player__seek { flex: 2; }
}
@media (max-width: 460px) { .player__art { display: none; } }

/* ── Modale légale ──────────────────────────────────────────────────────── */
.legal {
  border: 2px solid var(--olive); background: var(--blanc); color: var(--vert);
  max-width: 640px; width: 90%; padding: 32px; border-radius: 8px;
}
.legal::backdrop { background: rgba(var(--rgb-shadow), .55); }
.legal__close { position: absolute; top: 14px; right: 16px; background: none; border: none; color: var(--vert); font-size: 1.3rem; cursor: pointer; }
.legal h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.5rem; margin: 0 0 .4em; }
.legal p { color: var(--txt-dim); font-size: .95rem; }

/* ── Apparition au scroll ───────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ── Pages utilitaires (confirm / unsubscribe) ──────────────────────────── */
.util {
  min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--pad);
  background: radial-gradient(120% 90% at 50% 0%, var(--blanc) 0%, var(--ivoire-pale) 70%, var(--ivoire) 100%);
}
.util__card { max-width: 540px; }
.util__mammouth { width: clamp(120px, 26vw, 200px); margin: 0 auto 24px; }
.util h1 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 7vw, 3.6rem); line-height: 1; margin: 0 0 .3em; color: var(--vert); letter-spacing: -.02em; }
.util p { color: var(--txt-dim); font-size: 1.1rem; margin: 0 0 1.6em; }
.util .btn { display: inline-block; text-decoration: none; }
