/* ════════════════════════════════════════════════════════════════════════
   79 — Le chaos ou rien · charte (teintes prélevées sur face_4096px.jpg)
   ════════════════════════════════════════════════════════════════════════ */
:root {
  --violet:       #7A2895;  /* fond principal (dominante pochette) */
  --violet-deep:  #4A1A5E;  /* sections, profondeur, ombres */
  --violet-shadow:#291831;  /* ombres très profondes */
  --violet-elec:  #B14AE6;  /* accent / hover / CTA */
  --os:           #EAE1D0;  /* crème "os" : titres, texte clair */
  --os-dim:       #cdbfae;
  --encre:        #121013;  /* noir-encre */

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

  --font-display: 'Anton', 'Arial Narrow', 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(--violet);
  color: var(--os);
  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(--os); text-decoration: none; }
em { font-style: italic; }

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

/* ── Grain imprimé global ───────────────────────────────────────────────── */
.grain {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 9999; opacity: .055; mix-blend-mode: overlay;
}

/* ── Titres ─────────────────────────────────────────────────────────────── */
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: .92;
  font-size: clamp(2.6rem, 8vw, 6rem);
  margin: .1em 0 .5em;
  color: var(--os);
  text-shadow: 2px 3px 0 var(--violet-shadow);
}
.kicker {
  font-size: .78rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--violet-elec); font-weight: 700; margin: 0 0 .4em;
}

/* ── 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(18,16,19,.6), transparent);
  transition: background .3s;
}
.nav.is-stuck { background: var(--violet-deep); box-shadow: 0 2px 20px rgba(0,0,0,.4); }
.nav__logo {
  font-family: var(--font-display); font-size: 2rem; line-height: 1;
  color: var(--os); letter-spacing: .02em;
}
.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;
}
.nav__links a:hover, .nav__links a:focus-visible { color: var(--violet-elec); border-color: var(--violet-elec); }
@media (max-width: 640px) { .nav__links { gap: 14px; font-size: .8rem; } .nav__links a { letter-spacing: .06em; } }

/* ── Héros ──────────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; }
.hero__art { position: absolute; inset: 0; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__overlay {
  position: relative; z-index: 2; width: 100%;
  padding: var(--pad); padding-bottom: clamp(28px, 7vh, 80px);
  background: linear-gradient(to top, rgba(18,16,19,.82) 0%, rgba(18,16,19,.32) 38%, transparent 65%);
}
.hero__cry {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.4rem, 9vw, 7rem); line-height: .9; margin: 0 0 .35em;
  text-transform: uppercase; letter-spacing: .005em;
  text-shadow: 3px 4px 0 var(--violet-shadow), 0 2px 30px rgba(0,0,0,.5);
}
.hero__cry span { color: var(--violet-elec); }
.hero__scroll {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .82rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 700;
}
.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; background: var(--violet-deep); }
.manifeste__bg {
  position: absolute; inset: 0; pointer-events: none;
  background: url('/img/bison-os-960.webp') no-repeat right -8% center / contain;
  opacity: .05;
}
.manifeste__text { max-width: 760px; font-size: clamp(1.05rem, 2.2vw, 1.45rem); line-height: 1.65; }
.manifeste__text p { margin: 0 0 1.1em; }
.manifeste__text em { color: var(--violet-elec); font-style: italic; }
.manifeste__punch {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.8rem, 5vw, 3.2rem) !important; line-height: 1; letter-spacing: .01em;
  color: var(--os); margin-top: .5em !important; text-shadow: 2px 2px 0 var(--violet-shadow);
}
.bio {
  max-width: 720px; margin-top: 2.4em; padding-top: 1.6em;
  border-top: 2px solid rgba(234,225,208,.18);
  font-size: clamp(1.05rem, 2.5vw, 1.5rem); color: var(--os-dim);
}

/* ── 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(0,0,0,.45); }
.album__meta { margin-top: 1em; font-size: 1rem; line-height: 1.4; color: var(--os-dim); }
.album__meta strong { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; color: var(--os); text-transform: uppercase; letter-spacing: .02em; display: inline-block; }
@media (max-width: 880px) { .album__cover { position: static; max-width: 380px; } }

/* Playlist */
.playlist { list-style: none; margin: 0; padding: 0; counter-reset: tr; }
.track {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 16px; cursor: pointer;
  border-bottom: 1px solid rgba(234,225,208,.12);
  transition: background .15s, padding-left .15s;
}
.track:hover { background: rgba(177,74,230,.14); padding-left: 22px; }
.track:focus-visible { outline: 2px solid var(--violet-elec); outline-offset: -2px; }
.track__n { font-family: var(--font-display); font-size: 1.3rem; color: var(--violet-elec); min-width: 1.8em; }
.track__title { flex: 1; font-size: 1.1rem; font-weight: 500; }
.track__dur { color: var(--os-dim); font-variant-numeric: tabular-nums; font-size: .95rem; }
.track.is-active { background: rgba(177,74,230,.22); }
.track.is-active .track__title { color: var(--violet-elec); }
.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(--violet-elec); 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 } }

/* ── Actus ──────────────────────────────────────────────────────────────── */
.actus { padding: clamp(56px, 10vh, 120px) 0; background: var(--violet-deep); }
.actus__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-top: 1em; }
.event {
  background: var(--violet); border: 1px solid rgba(234,225,208,.12);
  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(0,0,0,.4); border-color: var(--violet-elec); }
.event__photo { aspect-ratio: 16/10; object-fit: cover; width: 100%; background: var(--violet-shadow); }
.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(--violet-elec); font-weight: 700; }
.event__title { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; line-height: 1; text-transform: uppercase; margin: 0; }
.event__desc { color: var(--os-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(--violet-elec);
  border-bottom: 2px solid var(--violet-elec); padding-bottom: 2px;
}
.event__link:hover { color: var(--os); border-color: var(--os); }
.actus__empty { color: var(--os-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(--os-dim); }
.actus__archive summary:hover { color: var(--violet-elec); }
.actus__archive[open] summary { margin-bottom: 16px; }

/* ── 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(--os-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(--os-dim); }
.form__row { display: flex; gap: 10px; }
@media (max-width: 460px) { .form__row { flex-direction: column; } }
.form__input {
  background: var(--violet-shadow); border: 2px solid rgba(234,225,208,.2); color: var(--os);
  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(--violet-elec); }
.form__input::placeholder { color: #9a86a8; }
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: #7ee0a0; }
.form__msg.err { color: #ff8a8a; }
.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(--violet-elec); color: var(--encre); 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(--os); box-shadow: 0 6px 24px rgba(177,74,230,.4); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: progress; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer { position: relative; background: var(--encre); padding: clamp(48px, 8vh, 90px) 0 28px; overflow: hidden; }
.footer__frieze {
  position: absolute; inset: 0; pointer-events: none;
  background: url('/img/dos-1600.webp') no-repeat center / cover;
  opacity: .12; mix-blend-mode: luminosity;
}
.footer__inner { position: relative; display: grid; gap: 28px; }
.footer__brand { display: flex; align-items: baseline; gap: 14px; }
.footer__79 { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: var(--os); }
.footer__brand span:last-child { text-transform: uppercase; letter-spacing: .2em; color: var(--os-dim); 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: var(--os-dim); }
.footer__links a:hover { color: var(--violet-elec); }
.footer__legal { font-size: .82rem; color: #7a6a86; line-height: 1.7; }
.footer__legal a { color: var(--os-dim); text-decoration: underline; }
.footer__legal a:hover { color: var(--violet-elec); }
.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(--encre); border-top: 2px solid var(--violet-elec);
  box-shadow: 0 -6px 30px rgba(0,0,0,.5);
}
.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(--violet-elec); font-size: .8rem; }
.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(--os); 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(177,74,230,.2); color: var(--violet-elec); }
.player__btn--play { background: var(--violet-elec); color: var(--encre); font-size: 1.05rem; }
.player__btn--play:hover { background: var(--os); color: var(--encre); }
.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: var(--os-dim); flex: none; }
.player__bar { position: relative; flex: 1; height: 6px; background: rgba(234,225,208,.22); border-radius: 3px; cursor: pointer; min-width: 60px; }
.player__bar:focus-visible { outline: 2px solid var(--violet-elec); outline-offset: 3px; }
.player__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; background: var(--violet-elec); border-radius: 3px; }
.player__fill::after { content: ''; position: absolute; right: -5px; top: 50%; transform: translateY(-50%); width: 11px; height: 11px; background: var(--os); border-radius: 50%; }
.player__vol { display: flex; align-items: center; gap: 6px; flex: none; }
.player__vol input { width: 80px; accent-color: var(--violet-elec); }
@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(--violet-elec); background: var(--violet-deep); color: var(--os);
  max-width: 640px; width: 90%; padding: 32px; border-radius: 8px;
}
.legal::backdrop { background: rgba(18,16,19,.8); }
.legal__close { position: absolute; top: 14px; right: 16px; background: none; border: none; color: var(--os); font-size: 1.3rem; cursor: pointer; }
.legal h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.8rem; margin: 0 0 .4em; }
.legal p { color: var(--os-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(--violet) 0%, var(--violet-deep) 70%, var(--violet-shadow) 100%);
}
.util__card { max-width: 540px; }
.util__bison { width: clamp(120px, 26vw, 200px); margin: 0 auto 24px; opacity: .95; }
.util h1 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.4rem, 9vw, 4.4rem); line-height: .95; margin: 0 0 .3em; text-shadow: 2px 3px 0 var(--violet-shadow); }
.util p { color: var(--os-dim); font-size: 1.1rem; margin: 0 0 1.6em; }
.util .btn { display: inline-block; text-decoration: none; }
