/* =====================================================================
   TEMPLATE ONE-PAGE ARTISTE · style.css
   ---------------------------------------------------------------------
   1. Variables (charte graphique)   6. Bio
   2. Reset & base                   7. Médias & galerie
   3. Utilitaires & boutons          8. Dates
   4. Header / navigation            9. Formulaire
   5. Hero                          10. Footer, lightbox, animations
   Les couleurs et polices sont écrasées par config.json (theme.*) via
   script.js : modifiez ces valeurs uniquement comme valeurs par défaut.
   ===================================================================== */

/* ---------- 1. VARIABLES ---------- */
:root {
  /* Couleurs de l'artiste */
  /* Charte par défaut : rouge et blanc */
  --color-primary: #a00810;   /* rouge profond (dégradés, aplats) */
  --color-secondary: #e30a13;  /* rouge du logo One Million Factory */
  --color-bg: #ffffff;
  --color-surface: #f7f2f2;
  --color-text: #160b0b;
  --color-muted: #6b5c5c;
  --color-border: color-mix(in srgb, var(--color-text) 10%, transparent);
  --color-on-media: #ffffff;   /* texte posé sur une photo/vidéo (hero) */
  --color-error: #ff4d6d;
  --color-success: #2ee59d;

  /* Typographies */
  --font-display: "Montserrat", "Arial Black", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display-weight: 900;   /* graisse des titres (Montserrat : 100 à 900) */

  /* Mise en page */
  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(4.5rem, 10vw, 8rem);
  --radius: 18px;
  --radius-sm: 10px;
  --header-h: 72px;

  /* Mouvement */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.7s;

  color-scheme: light; /* passé à dark par script.js si le fond configuré est sombre */

  /* Teintes dérivées des 2 couleurs de l'artiste (changer primary / secondary suffit) */
  --color-deep: color-mix(in srgb, var(--color-primary) 26%, #000);    /* fond du hero */
  --color-deeper: color-mix(in srgb, var(--color-primary) 9%, #000);
  --color-glow: color-mix(in srgb, var(--color-secondary) 72%, #fff);  /* reflets clairs */
  --color-hot: color-mix(in srgb, var(--color-secondary) 82%, #ff8a00); /* lueurs chaudes */

  /* Dégradé signature (primaire → secondaire) */
  --gradient: linear-gradient(120deg, var(--color-primary), var(--color-secondary));
}

/* ---------- 2. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--color-secondary); color: #fff; }

:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  padding: .75rem 1rem; background: var(--color-secondary); color: #fff; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

.noscript { padding: 1rem; text-align: center; background: var(--color-surface); }

/* ---------- 3. UTILITAIRES & BOUTONS ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: .75rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gradient); }

.section__title {
  font-family: var(--font-display); font-weight: var(--display-weight);
  font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -.01em;
  text-wrap: balance;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.lead { color: var(--color-muted); font-size: 1.1rem; margin-bottom: 1.75rem; max-width: 46ch; }

.btn {
  --btn-bg: transparent;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.6rem;
  border: 1px solid transparent; border-radius: 999px;
  background: var(--btn-bg);
  font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .88rem;
  cursor: pointer;
  overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s, border-color .35s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn--sm { padding: .55rem 1.1rem; font-size: .78rem; }
.btn--lg { padding: 1.05rem 2rem; font-size: .95rem; }

.btn--primary { background: var(--gradient); color: #fff; }
/* reflet qui balaie le bouton au survol */
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn--primary:hover::after { transform: translateX(120%); }
.btn--primary:hover { box-shadow: 0 12px 30px -10px var(--color-secondary); }

.btn--glow { animation: glow 3s ease-in-out infinite; }
@keyframes glow {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-secondary) 55%, transparent); }
  50%      { box-shadow: 0 0 0 14px transparent; }
}

.btn--ghost { border-color: rgb(255 255 255 / .35); color: #fff; backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: #fff; background: rgb(255 255 255 / .08); }

.btn__icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover .btn__icon { transform: translate(2px, -2px); }

/* ---------- 4. HEADER / NAVIGATION ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 120;
  height: 3px; width: 100%;
  background: rgb(255 255 255 / .85); /* visible sur le menu rouge */
  transform-origin: 0 50%; transform: scaleX(0);
}

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: background-color .4s, backdrop-filter .4s, box-shadow .4s, transform .4s var(--ease);
}
/* Le menu reste blanc sur fond rouge, en haut du hero comme après le scroll */
.site-header { color: var(--color-on-media); }
.site-header.is-scrolled {
  /* Dégradé qui rappelle le hero : rouge vif du logo à gauche, rouge profond à droite,
     avec une lueur qui respire lentement */
  background:
    radial-gradient(ellipse 40% 140% at var(--hdr-glow, 20%) 0%, color-mix(in srgb, var(--color-glow) 45%, transparent), transparent 70%),
    linear-gradient(100deg, var(--color-secondary) 0%, color-mix(in srgb, var(--color-secondary) 70%, #000) 55%, var(--color-deep) 100%);
  animation: headerGlow 12s ease-in-out infinite alternate;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 8px 30px -12px rgb(0 0 0 / .5);
}
@property --hdr-glow { syntax: '<percentage>'; inherits: false; initial-value: 20%; }
@keyframes headerGlow { to { --hdr-glow: 80%; } }

/* backdrop-filter enfermerait le menu mobile (position: fixed) dans la barre :
   on le coupe pendant que le menu est ouvert */
body.menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }

/* Bouton Booking du menu : blanc pour ressortir sur le rouge */
.site-header .btn--primary { background: var(--color-secondary); color: #fff; box-shadow: 0 0 0 1px rgb(255 255 255 / .35), 0 6px 18px -6px color-mix(in srgb, var(--color-secondary) 80%, transparent); }
.site-header .btn--primary:hover { background: color-mix(in srgb, var(--color-secondary) 88%, #fff); box-shadow: 0 0 0 1px rgb(255 255 255 / .6), 0 10px 26px -8px color-mix(in srgb, var(--color-secondary) 90%, transparent); }

.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav__brand {
  font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.2rem; letter-spacing: .02em; text-transform: uppercase;
  display: flex; align-items: center;
}
/* Logo de l'artiste : fourni en blanc, il reste blanc sur le menu rouge */
.nav__brand img { height: 30px; width: auto; }
@media (min-width: 900px) { .nav__brand img { height: 34px; } }

/* Sélecteur de langue (drapeaux) */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem 1.7rem .45rem .6rem; border: 1px solid currentColor; border-radius: 999px;
  background: transparent; color: inherit; cursor: pointer;
  font: inherit; font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: right .95rem center, right .65rem center;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
  transition: background-color .3s, opacity .3s;
}
.lang__btn:hover, .lang__btn[aria-expanded="true"] { background-color: color-mix(in srgb, currentColor 14%, transparent); }
.lang__flag, .lang__list img { width: 20px; height: 14px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgb(0 0 0 / .15); flex: none; }
.lang__list {
  position: absolute; top: calc(100% + .5rem); right: 0; z-index: 60; min-width: 11rem;
  margin: 0; padding: .4rem; list-style: none; border-radius: 14px;
  background: var(--color-bg); color: var(--color-text); box-shadow: 0 18px 40px -12px rgb(0 0 0 / .45); border: 1px solid var(--color-border);
}
.lang__list[hidden] { display: none; }
.lang__list li {
  display: flex; align-items: center; gap: .65rem; padding: .55rem .7rem; border-radius: 9px;
  font-size: .9rem; font-weight: 600; letter-spacing: 0; text-transform: none; cursor: pointer; outline: none;
}
.lang__list li:hover, .lang__list li:focus-visible { background: var(--color-surface); color: var(--color-secondary); }
.lang__list li[aria-selected="true"] { color: var(--color-secondary); }
.lang__list li[aria-selected="true"]::after { content: "✓"; margin-left: auto; font-weight: 800; }
.lang.is-loading .lang__btn { opacity: .5; pointer-events: none; }
.lang__msg {
  position: absolute; top: calc(100% + .5rem); right: 0; z-index: 60; width: max-content; max-width: 16rem;
  margin: 0; padding: .55rem .8rem; border-radius: 10px; background: #160b0b; color: #fff;
  font-size: .78rem; letter-spacing: 0; text-transform: none;
}
@media (max-width: 899px) { .lang__list, .lang__msg { top: auto; bottom: calc(100% + .5rem); left: 50%; right: auto; transform: translateX(-50%); } }

/* Google Traduction : on masque sa barre et son menu, le select ci-dessus pilote tout */
#google_translate_element { display: none; }
.skiptranslate iframe, iframe.skiptranslate { display: none !important; }
body { top: 0 !important; }

.nav__toggle {
  display: grid; gap: 5px; place-content: center;
  width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  position: relative; z-index: 2;
}
.nav__toggle span { width: 24px; height: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile plein écran (mobile-first) */
.nav__menu {
  position: fixed; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem;
  /* Menu mobile plein écran : fond rouge, texte blanc */
  background:
    radial-gradient(ellipse at 20% 0%, color-mix(in srgb, var(--color-glow) 50%, transparent), transparent 55%),
    radial-gradient(ellipse at 90% 100%, color-mix(in srgb, var(--color-secondary) 40%, transparent), transparent 60%),
    linear-gradient(165deg, var(--color-secondary) 0%, color-mix(in srgb, var(--color-secondary) 65%, #000) 50%, color-mix(in srgb, var(--color-primary) 16%, #000) 100%);
  color: #fff;
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.nav__menu.is-open { opacity: 1; visibility: visible; }
.nav__link {
  font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.8rem; text-transform: uppercase;
  position: relative; transition: color .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--gradient); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-active { color: inherit; }
.nav__link::after { background: currentColor; }
body.menu-open { overflow: hidden; }

@media (min-width: 900px) {
  .nav__toggle { display: none; }
  .nav__menu {
    position: static; flex-direction: row; gap: 2rem;
    background: none; backdrop-filter: none; opacity: 1; visibility: visible; color: inherit;
  }
  .nav__link {
    font-family: var(--font-body); font-size: .8rem; font-weight: 600;
    letter-spacing: .14em; color: inherit; opacity: .8;
  }
  .nav__link:hover, .nav__link.is-active { color: inherit; opacity: 1; }
}

/* ---------- 5. HERO ---------- */
.hero {
  position: relative;
  min-height: 60svh;   /* le hero occupe 60 % de la hauteur de l'écran */
  display: grid; align-items: end;
  padding-block: calc(var(--header-h) + 2rem) clamp(2.5rem, 6vh, 4rem);
  overflow: hidden;
  isolation: isolate;
  color: var(--color-on-media);
  /* Fond par défaut quand aucune image/vidéo n'est fournie dans config.json */
  background:
    radial-gradient(ellipse at 20% 0%, color-mix(in srgb, var(--color-secondary) 55%, transparent), transparent 60%),
    linear-gradient(160deg, var(--color-deep), var(--color-deeper) 55%, color-mix(in srgb, var(--color-primary) 16%, #000));
}
.hero__media { position: absolute; inset: -6% 0; z-index: -2; will-change: transform; }
.hero__media img, .hero__media video {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 18s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.15); } to { transform: scale(1); } }

.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 15% 85%, color-mix(in srgb, var(--color-primary) 45%, transparent), transparent 55%),
    radial-gradient(ellipse at 90% 10%, color-mix(in srgb, var(--color-secondary) 30%, transparent), transparent 50%),
    linear-gradient(to top, rgb(0 0 0 / .7) 2%, rgb(0 0 0 / .25) 55%, rgb(0 0 0 / .45));
}

/* Portrait en filigrane : niveaux de gris fondus dans le rouge (luminosity),
   bords estompés, léger mouvement lent. Placé sous les lueurs. */
.hero__backdrop {
  position: absolute; z-index: -1; pointer-events: none;
  top: 0; bottom: 0; left: 30%; right: 8%;
  background: var(--hero-backdrop, none) center 20% / cover no-repeat;
  mix-blend-mode: luminosity; opacity: .26;
  -webkit-mask-image: radial-gradient(ellipse 60% 75% at 55% 40%, #000 35%, transparent 80%);
          mask-image: radial-gradient(ellipse 60% 75% at 55% 40%, #000 35%, transparent 80%);
  animation: backdropDrift 24s ease-in-out infinite alternate;
}
@keyframes backdropDrift { from { transform: scale(1.04) translateX(0); } to { transform: scale(1.1) translateX(-2%); } }
@media (max-width: 719px) { .hero__backdrop { left: -10%; right: -10%; opacity: .2; } }
@media (prefers-reduced-motion: reduce) { .hero__backdrop { animation: none; } }

/* Lueurs animées du hero : taches de lumière floues qui dérivent lentement.
   mix-blend-mode: screen éclaire le fond sans jamais l'assombrir. */
.hero__glows {
  position: absolute; inset: 0; z-index: -1;
  overflow: hidden; pointer-events: none;
  mix-blend-mode: screen;
}
.glow {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, var(--glow-color, var(--color-secondary)) 0%, transparent 65%);
  filter: blur(40px);
  opacity: .75;
  will-change: transform, opacity;
}
.glow--1 { width: 55vmax; height: 55vmax; left: -15vmax; top: -20vmax; animation: drift1 16s ease-in-out infinite alternate; }
.glow--2 { width: 40vmax; height: 40vmax; right: -10vmax; top: 10%; --glow-color: var(--color-hot); animation: drift2 21s ease-in-out infinite alternate; }
.glow--3 { width: 30vmax; height: 30vmax; left: 30%; bottom: -18vmax; --glow-color: var(--color-primary); animation: drift3 13s ease-in-out infinite alternate; }
.glow--4 { width: 18vmax; height: 18vmax; left: 55%; top: 15%; --glow-color: var(--color-glow); opacity: .5; animation: drift4 9s ease-in-out infinite alternate, pulse 4s ease-in-out infinite; }

/* Lueur qui suit le pointeur (positionnée par script.js via --gx / --gy) */
.glow--pointer {
  width: 28vmax; height: 28vmax; left: 0; top: 0;
  --glow-color: var(--color-hot);
  opacity: 0;
  transform: translate(calc(var(--gx, 50vw) - 50%), calc(var(--gy, 30vh) - 50%));
  transition: opacity .6s;
}
.hero.is-pointer .glow--pointer { opacity: .55; }

@keyframes drift1 { to { transform: translate(28vw, 18vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-32vw, 12vh) scale(.85); } }
@keyframes drift3 { to { transform: translate(-22vw, -26vh) scale(1.25); } }
@keyframes drift4 { to { transform: translate(-30vw, 22vh); } }
@keyframes pulse  { 50% { opacity: .2; } }

/* Photo détourée de l'artiste (buste), calée en bas à droite du hero.
   Le bas de la photo se fond dans le hero grâce au masque. */
.hero__portrait {
  position: absolute; right: 0; bottom: 0; z-index: -1;
  height: calc(100% - var(--header-h) + 1rem);
  aspect-ratio: 697 / 1000;
  max-width: 100%;
  background: var(--hero-portrait, none) bottom center / contain no-repeat;
  -webkit-mask-image: linear-gradient(to top, transparent 0, #000 22%);
  mask-image: linear-gradient(to top, transparent 0, #000 22%);
  animation: portraitIn 1.2s var(--ease) both .2s;
  pointer-events: none;
}
@keyframes portraitIn { from { opacity: 0; transform: translateY(30px); } }
@media (min-width: 900px) { .hero__portrait { right: 6vw; } }
@media (max-width: 719px) { .hero__portrait { right: -12%; opacity: .5; } }

/* Le titre du hero peut être le logo de l'artiste */
.hero__title img { width: min(100%, 520px); height: auto; }

.hero__kicker {
  display: inline-block;
  padding: .4rem .9rem; margin-bottom: 1.25rem;
  border: 1px solid rgb(255 255 255 / .2); border-radius: 999px;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  background: rgb(255 255 255 / .06); backdrop-filter: blur(8px);
}
.hero__kicker { display: inline-flex; align-items: center; gap: .65rem; }
.hero__kicker:has(span:empty) { display: none; }
/* Logo du label dans la pastille : carré rouge arrondi, légèrement débordant */
.hero__kicker-link { display: inline-flex; flex: none; border-radius: 9px; transition: transform .35s var(--ease); }
.hero__kicker-link:hover { transform: scale(1.1) rotate(-4deg); }
.hero__kicker-logo {
  display: block; flex: none;
  width: 36px; height: 36px; min-width: 36px; aspect-ratio: 1; margin-block: -.5rem; margin-left: -.55rem;
  border-radius: 9px; object-fit: contain;
  box-shadow: 0 0 0 2px rgb(255 255 255 / .25), 0 4px 14px rgb(0 0 0 / .35);
}
@media (max-width: 599px) { .hero__kicker { font-size: .66rem; letter-spacing: .08em; } }

.hero__title {
  text-wrap: balance;
  font-family: var(--font-display); font-weight: var(--display-weight);
  font-size: clamp(2.5rem, .5rem + 9vw, 8.5rem);
  line-height: .92;
  text-transform: uppercase;
  letter-spacing: -.03em;
  overflow-wrap: anywhere;
  background: linear-gradient(180deg, #fff 40%, rgb(255 255 255 / .55));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero__tagline {
  margin-top: 1.25rem;
  font-size: clamp(1rem, .9rem + .6vw, 1.35rem);
  font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem;
}
.hero__genres { color: rgb(255 255 255 / .68); font-weight: 400; display: inline-flex; flex-wrap: wrap; gap: .4rem; }
.hero__genres span:not(:last-child)::after { content: " /"; color: var(--color-secondary); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.5rem; translate: -50% 0;
  width: 26px; height: 42px; border: 2px solid rgb(255 255 255 / .5); border-radius: 14px;
  display: none;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: #fff; border-radius: 2px; animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
/* Indicateur de défilement masqué : le hero ne fait que 60 % de l'écran */

/* ---------- 6. BIO ---------- */
.bio__grid { display: grid; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (min-width: 900px) { .bio__grid { grid-template-columns: 5fr 7fr; } }

.bio__photo {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 5;
  /* Fond rouge derrière la photo détourée */
  background:
    radial-gradient(ellipse at 50% 20%, color-mix(in srgb, var(--color-secondary) 70%, transparent), transparent 70%),
    linear-gradient(170deg, var(--color-primary), color-mix(in srgb, var(--color-primary) 16%, #000));
}
.bio__photo img[src$=".webp"], .bio__photo img[src$=".png"] { object-fit: contain; object-position: bottom center; padding-top: 1.5rem; }
.bio__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bio__photo:hover img { transform: scale(1.04); }
.bio__photo::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1);
  background: linear-gradient(to top, color-mix(in srgb, var(--color-primary) 22%, transparent), transparent 45%);
}

.bio__paragraphs p { color: var(--color-muted); font-size: 1.08rem; margin-bottom: 1.1rem; max-width: 62ch; }
.bio__paragraphs p:first-child { color: var(--color-text); font-size: 1.25rem; font-weight: 500; }

/* Bio repliée : le bouton n'apparaît que si le texte dépasse (voir script.js) */
.bio__paragraphs.is-clamped {
  --bio-max: 15.5rem;
  max-height: var(--bio-max);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent);
  mask-image: linear-gradient(to bottom, #000 65%, transparent);
}
.bio__paragraphs { transition: max-height .6s var(--ease); }

.bio__more {
  display: inline-flex; align-items: center; gap: .45rem;
  margin-top: .25rem; padding: .5rem 0;
  border: 0; background: none; cursor: pointer;
  color: var(--color-secondary);
  font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.bio__more svg {
  width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .35s var(--ease);
}
.bio__more[aria-expanded="true"] svg { transform: rotate(180deg); }
.bio__more:hover { text-decoration: underline; text-underline-offset: 4px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 1rem; margin-top: 2.25rem; }
.stats li {
  padding: 1.25rem; border-radius: var(--radius-sm);
  background: var(--color-surface); border: 1px solid var(--color-border);
}
.stats strong {
  display: block; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 2.1rem; line-height: 1;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stats span { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-muted); }

/* ---------- 7. MÉDIAS & GALERIE ---------- */
.media { background: linear-gradient(180deg, var(--color-bg), var(--color-surface) 50%, var(--color-bg)); }

.embeds { display: grid; gap: 1.25rem; margin-bottom: 1.25rem; }
@media (min-width: 720px)  { .embeds { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .embeds { grid-template-columns: repeat(3, 1fr); } }

.embed {
  position: relative; aspect-ratio: 16 / 10;
  border-radius: var(--radius); overflow: hidden;
  background: var(--color-surface); border: 1px solid var(--color-border);
}
.embed iframe { width: 100%; height: 100%; border: 0; }

/* Façade cliquable : l'iframe n'est chargée qu'au clic (performance + RGPD) */
.embed__facade {
  position: absolute; inset: 0; width: 100%;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: .4rem;
  padding: 1.4rem; border: 0; text-align: left; cursor: pointer;
  background:
    radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--embed-color, var(--color-primary)) 55%, transparent), transparent 60%),
    linear-gradient(160deg, var(--color-surface), var(--color-bg));
  transition: transform .5s var(--ease);
}
.embed__facade:hover { transform: scale(1.02); }

/* Carte mise en avant (dernière sortie) : toute la largeur sur grand écran */
@media (min-width: 720px) {
  .embed--featured { grid-column: 1 / -1; aspect-ratio: 21 / 8; }
  .embed--featured .embed__title { font-size: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); }
  .embed--featured .embed__cover { object-position: center 30%; }
}
/* Lecteur pas encore disponible : la carte reste lisible, sans bouton lecture */
.embed__facade:disabled { cursor: default; }
.embed__facade:disabled .embed__play { display: none; }
.embed__facade:disabled:hover { transform: none; }

/* Pochette / miniature originale du projet en fond */
.embed__cover {
  position: absolute; inset: 0; z-index: -2; /* sous le voile sombre (::before) */
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease), filter .5s;
}
.embed__facade { isolation: isolate; overflow: hidden; }
.embed__facade.has-cover::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgb(0 0 0 / .85) 5%, rgb(0 0 0 / .25) 55%, rgb(0 0 0 / .1));
}
.embed__facade.has-cover { color: #fff; }
.embed__facade.has-cover .embed__platform,
.embed__facade.has-cover .embed__note { color: rgb(255 255 255 / .75); }
.embed__facade.has-cover:hover .embed__cover { transform: scale(1.06); }
.embed__platform { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--color-muted); }
.embed__title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.2rem; text-transform: uppercase; line-height: 1.1; }
.embed__play {
  position: absolute; top: 50%; left: 50%; translate: -50% -60%;
  width: 68px; height: 68px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--embed-color, var(--color-primary)); color: #fff;
  box-shadow: 0 10px 40px -8px var(--embed-color, var(--color-primary));
  transition: transform .4s var(--ease);
}
.embed__play svg { width: 26px; height: 26px; fill: currentColor; margin-left: 4px; }
.embed__facade:hover .embed__play { transform: scale(1.12); }
.embed__note { font-size: .7rem; color: var(--color-muted); }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
  .gallery li:nth-child(4n + 1) { grid-row: span 2; }
}
.gallery button {
  display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in;
  border-radius: var(--radius-sm); overflow: hidden; background: var(--color-surface);
  aspect-ratio: 1;
}
@media (min-width: 900px) { .gallery li:nth-child(4n + 1) button { aspect-ratio: auto; } }
.gallery img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.35); transition: transform .8s var(--ease), filter .5s;
}
.gallery button:hover img { transform: scale(1.07); filter: grayscale(0); }

/* ---------- 7 bis. INSTAGRAM ---------- */
.instagram__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}
.instagram__head .section__title { margin-bottom: 0; }
.instagram__handle { text-transform: none; }
.instagram__follow { flex-shrink: 0; }
.instagram__feed { margin-top: clamp(1.5rem, 4vw, 2.5rem); }

/* Grille de publications */
.insta-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
@media (min-width: 720px) { .insta-grid { grid-template-columns: repeat(3, 1fr); gap: .75rem; } }
@media (min-width: 1024px) { .insta-grid { grid-template-columns: repeat(6, 1fr); } }

.insta-post {
  position: relative; display: block; aspect-ratio: 1; overflow: hidden;
  border-radius: var(--radius-sm); background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.insta-post img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; }
.insta-post:hover img { transform: scale(1.08); filter: brightness(.7); }
.insta-post__icon {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: #fff; opacity: 0; transition: opacity .35s;
}
.insta-post__icon svg { width: 28px; height: 28px; fill: currentColor; }
.insta-post:hover .insta-post__icon { opacity: 1; }

/* Lecteur officiel Instagram : on masque l'en-tête et la légende de l'iframe
   en la décalant, pour ne garder que le média (aperçu carré). */
.insta-grid--embeds { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px)  { .insta-grid--embeds { grid-template-columns: repeat(3, 1fr); } }
.insta-post--embed { aspect-ratio: 1; background: #000; }
.insta-post--embed iframe {
  position: absolute; left: 0; top: -56px;
  width: 100%; height: calc(100% + 56px + 260px);
  border: 0; pointer-events: auto;
}

/* Liens réseaux dans l'en-tête de la section */
.socials--inline { justify-content: flex-start; }
.instagram__head { row-gap: 1.25rem; }
.instagram__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }

/* Carte sans image : lien simple vers la publication */
.insta-post--link {
  display: grid; place-items: center; padding: 1rem; text-align: center;
  background: var(--gradient); color: #fff;
}
.insta-post--link span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }

/* Widget tiers (LightWidget, SnapWidget) */
.insta-empty {
  display: grid; place-items: center; gap: .75rem; padding: clamp(2rem, 6vw, 3.5rem);
  border-radius: var(--radius); border: 1px dashed var(--color-border);
  background: var(--color-surface); text-align: center; color: var(--color-muted);
}
.insta-empty svg { width: 34px; height: 34px; fill: var(--color-secondary); }

.instagram__feed iframe { width: 100%; border: 0; border-radius: var(--radius); }

/* ---------- 8. DATES ---------- */
.dates__list { display: grid; gap: 1rem; }
.date-card {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.5rem; align-items: center;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius); background: var(--color-surface); border: 1px solid var(--color-border);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.date-card:hover {
  transform: translateX(6px);
  border-color: color-mix(in srgb, var(--color-secondary) 60%, transparent);
  box-shadow: -6px 0 0 0 var(--color-secondary);
}
.date-card__day {
  display: grid; place-items: center; text-align: center;
  width: 72px; height: 72px; border-radius: var(--radius-sm);
  background: var(--gradient); color: #fff; line-height: 1;
}
.date-card__day strong { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.6rem; }
.date-card__day span { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.date-card__event { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.15rem; text-transform: uppercase; line-height: 1.2; }
.date-card__place { color: var(--color-muted); font-size: .95rem; }
.date-card .btn { grid-column: 1 / -1; justify-self: start; }
.date-card__soon { grid-column: 1 / -1; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--color-muted); }

@media (min-width: 720px) {
  .date-card { grid-template-columns: auto 1fr auto; }
  .date-card .btn, .date-card__soon { grid-column: auto; justify-self: end; }
}
.dates__empty { color: var(--color-muted); }

/* ---------- 9. FORMULAIRE ---------- */
/* Formulaire de contact en pleine largeur */

.form {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border-radius: var(--radius); background: var(--color-surface); border: 1px solid var(--color-border);
}
.form__row { display: grid; gap: 0 1.25rem; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .form__row--4 { grid-template-columns: repeat(4, 1fr); } }

.field { margin-bottom: 1.1rem; }
.field label { display: block; margin-bottom: .45rem; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--color-muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: .9rem 1rem;
  border-radius: var(--radius-sm); border: 1px solid var(--color-border);
  background: var(--color-bg); color: var(--color-text);
  transition: border-color .3s, box-shadow .3s;
}
.field input, .field select { height: 3.5rem; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary) 25%, transparent);
}
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--color-error); }
.field__error { min-height: 1.1em; margin-top: .3rem; font-size: .8rem; color: var(--color-error); }

/* Honeypot : retiré du flux visuel sans display:none (certains robots l'ignorent) */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn--submit { width: 100%; margin-top: .5rem; }
@media (min-width: 900px) {
  .btn--submit { width: auto; min-width: 280px; }
  .form { display: flex; flex-direction: column; }
  .form > .btn--submit { align-self: flex-end; }
  .form__status { text-align: right; }
}
.btn__spinner {
  position: absolute; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid rgb(255 255 255 / .35); border-top-color: #fff;
  opacity: 0; animation: spin .8s linear infinite;
}
.btn--submit.is-loading { pointer-events: none; }
.btn--submit.is-loading .btn__label { opacity: 0; }
.btn--submit.is-loading .btn__spinner { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

.form__status { margin-top: 1rem; font-size: .95rem; min-height: 1.4em; }
.form__status.is-success { color: var(--color-success); }
.form__status.is-error { color: var(--color-error); }

/* ---------- 10. FOOTER, LIGHTBOX, ANIMATIONS ---------- */
.site-footer { padding-block: 3rem; border-top: 1px solid var(--color-border); }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; text-align: center; }
.footer__brand { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.6rem; text-transform: uppercase; }
.footer__label { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.footer__label img { width: 72px; height: auto; border-radius: 12px; }
.footer__label span { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--color-muted); }
.footer__brand img { height: 42px; width: auto; filter: invert(1); }

.footer__legal { font-size: .85rem; color: var(--color-muted); display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1rem; }
.footer__copyright[href] { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: color .3s, text-decoration-color .3s; }
.footer__copyright[href]:hover { color: var(--color-secondary); text-decoration-color: currentColor; }
.footer__presskit {
  display: inline-flex; align-items: center; gap: .75rem;
  padding: .85rem 1.4rem; border: 2px solid var(--color-secondary); border-radius: 14px;
  color: var(--color-secondary); font-weight: 800; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase;
  background: color-mix(in srgb, var(--color-secondary) 6%, transparent);
  transition: background-color .3s, color .3s, transform .3s var(--ease), box-shadow .3s;
}
.footer__presskit[hidden] { display: none; }
.footer__presskit-icon {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--color-secondary); color: #fff; font-size: .9rem; letter-spacing: 0;
}
.footer__presskit:hover { background: var(--color-secondary); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px -14px var(--color-secondary); }
.footer__presskit:hover .footer__presskit-icon { background: #fff; color: var(--color-secondary); }
.footer__presskit:hover { color: var(--color-text); }

.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.socials a {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--color-border); background: var(--color-surface);
  transition: transform .35s var(--ease), background .35s, border-color .35s;
}
.socials a:hover { transform: translateY(-4px) rotate(-6deg); background: var(--gradient); border-color: transparent; }

/* Couleurs officielles des réseaux : pastille de la marque, icône blanche */
.socials a[class^="social--"] { color: #fff; border-color: transparent; background: var(--brand); }
.socials a[class^="social--"]:hover { background: var(--brand); box-shadow: 0 10px 24px -10px var(--brand-shadow, var(--brand)); filter: brightness(1.08); }
.social--instagram {
  --brand: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  --brand-shadow: #d6249f;
}
.social--spotify    { --brand: #1db954; }
.social--soundcloud { --brand: linear-gradient(180deg, #ff8800, #ff3300); --brand-shadow: #ff5500; }
.social--youtube    { --brand: #ff0000; }
.social--tiktok     { --brand: #010101; --brand-shadow: #25f4ee; }
.social--facebook   { --brand: #1877f2; }
.social--x          { --brand: #000000; }
.socials svg { width: 20px; height: 20px; fill: currentColor; }

.lightbox {
  margin: auto; /* le reset global (margin: 0) décentrait la boîte */
  max-width: min(92vw, 1100px); max-height: 92vh; padding: 0; border: 0; border-radius: var(--radius);
  background: transparent; overflow: visible;
}
.lightbox::backdrop { background: rgb(0 0 0 / .85); backdrop-filter: blur(6px); }
.lightbox__figure { display: flex; flex-direction: column; align-items: center; gap: .9rem; margin: 0; }
.lightbox__img { display: block; max-height: 78vh; max-width: 100%; width: auto; margin: auto; border-radius: var(--radius); box-shadow: 0 30px 80px -20px rgb(0 0 0 / .8); }
.lightbox__figure:not(:has(.lightbox__caption:not([hidden]))) .lightbox__img { max-height: 90vh; }
.lightbox__caption {
  display: grid; gap: .25rem; max-width: min(92vw, 34rem); text-align: center; color: #fff;
}
.lightbox__caption[hidden], .lightbox__caption [hidden] { display: none; }
.lightbox__title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.15rem; text-transform: uppercase; letter-spacing: .02em; }
.lightbox__meta { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--color-glow); }
.lightbox__desc { font-size: .92rem; line-height: 1.5; color: rgb(255 255 255 / .78); }
.lightbox__close {
  position: absolute; top: -.75rem; right: -.75rem; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--color-secondary); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.lightbox[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }

/* Animations au scroll (déclenchées par IntersectionObserver dans script.js).
   La classe .js n'est ajoutée que si JS fonctionne : sans JS, tout reste visible. */
.js [data-animate] {
  opacity: 0;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  transition-delay: var(--delay, 0ms);
}
.js [data-animate="fade-up"]    { transform: translateY(40px); }
.js [data-animate="fade-right"] { transform: translateX(-40px); }
.js [data-animate="fade-left"]  { transform: translateX(40px); }
.js [data-animate="zoom"]       { transform: scale(.92); }
.js [data-animate].is-visible   { opacity: 1; transform: none; }

/* Sections désactivées via config.json */
[data-section].is-disabled { display: none !important; }

/* Respect des préférences d'accessibilité */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-animate] { opacity: 1; transform: none; }
  .glow--pointer { display: none; }
}

/* ---------- Projets : une ligne par sortie ---------- */
.releases { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1rem; }
.release {
  display: grid; grid-template-columns: 96px 1fr; gap: 1rem; align-items: center;
  padding: .75rem; border-radius: 18px; background: var(--color-surface);
  border: 1px solid color-mix(in srgb, var(--color-primary) 8%, transparent);
  transition: transform .3s ease, box-shadow .3s ease;
}
.release:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -24px color-mix(in srgb, var(--color-primary) 45%, transparent); }
.release__art { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, var(--color-secondary), var(--color-primary)); }
.release__art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.release:hover .release__art img { transform: scale(1.05); }
.release__play {
  position: absolute; inset: 0; margin: auto; width: 48px; height: 48px; border-radius: 50%;
  border: 0; cursor: pointer; display: grid; place-items: center;
  background: color-mix(in srgb, var(--color-secondary) 92%, transparent); color: #fff; box-shadow: 0 8px 20px -6px rgba(0,0,0,.5);
  transition: transform .25s ease;
}
.release__play svg { width: 22px; height: 22px; fill: currentColor; margin-left: 3px; }
.release__play:hover, .release__play:focus-visible { transform: scale(1.12); }
.release__info { min-width: 0; }
.release__tag { margin: 0 0 .2rem; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--color-secondary); }
.release__title { margin: 0; font-size: clamp(1.05rem, .9rem + .8vw, 1.6rem); font-weight: 900; text-transform: uppercase; line-height: 1.1; }
.release__artists { margin: .2rem 0 0; font-size: .9rem; color: var(--color-muted); }
.release__links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.release__link {
  display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .85rem; border-radius: 999px;
  font-size: .8rem; font-weight: 700; text-decoration: none; color: #fff; background: var(--brand);
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.release__link svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.release__link:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 10px 22px -10px var(--brand-shadow, var(--brand)); }
.release__player { grid-column: 1 / -1; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.release__player iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 479px) {
  .release__link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .release__link { padding: .6rem; }
  .release__link svg { width: 20px; height: 20px; }
}
@media (min-width: 720px) {
  .releases { gap: 1.25rem; }
  .release { grid-template-columns: 150px 1fr; gap: 1.75rem; padding: 1rem 1.5rem 1rem 1rem; }
}
@media (min-width: 1024px) {
  .release { grid-template-columns: 140px 1fr; padding-right: 2rem; }
  .release__info { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
  .release__links { margin: 0; flex-wrap: nowrap; }
  .release__link { padding: .7rem 1.1rem; font-size: .85rem; }
  .release__title { font-size: 1.75rem; }
}

/* ---------- Section SoundCloud (mixtapes) ---------- */
.soundcloud { background: linear-gradient(180deg, var(--color-bg), color-mix(in srgb, #ff5500 6%, var(--color-bg))); }
.soundcloud__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2rem; }
.soundcloud__head .section__title { margin-bottom: 0; }
.soundcloud__follow { color: #fff; border: 0; background: linear-gradient(180deg, #ff8800, #ff3300); box-shadow: 0 12px 26px -12px #ff5500; }
.soundcloud__follow:hover { filter: brightness(1.08); }
@media (min-width: 720px) { .soundcloud .embeds { grid-template-columns: repeat(2, 1fr); } }
.soundcloud .embed { aspect-ratio: 16 / 9; }
@media (max-width: 719px) { .release__play { width: 38px; height: 38px; } .release__play svg { width: 18px; height: 18px; } }

/* ---------- Réseaux : photo de fond floutée + voile noir ---------- */
.instagram { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #111; }
.instagram::before {
  content: ""; position: absolute; inset: -24px; z-index: -2;
  background: url("assets/reseaux-bg.webp") center / cover no-repeat;
  filter: blur(5px); transform: scale(1.05);
}
.instagram::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(0 0 0 / .55); }
.instagram .section__title, .instagram .instagram__handle { color: #fff; }
.instagram .eyebrow { color: #fff; }
.instagram .eyebrow::before { background: var(--color-secondary); }
.instagram .insta-empty { background: rgb(0 0 0 / .35); border-color: rgb(255 255 255 / .35); color: rgb(255 255 255 / .85); backdrop-filter: blur(4px); }
.soundcloud .embed__cover { object-position: center 35%; }
.soundcloud .embed__cover { object-position: center 30%; }

/* ---------- Mode sombre ----------
   Les couleurs sombres viennent de config.json (theme.dark) via script.js ;
   valeurs de secours ici pour le premier affichage. */
:root[data-theme="dark"] {
  --color-bg: color-mix(in srgb, var(--color-primary) 7%, #080808);
  --color-surface: color-mix(in srgb, var(--color-primary) 12%, #121212);
  --color-text: color-mix(in srgb, var(--color-primary) 4%, #f5f5f5);
  --color-muted: color-mix(in srgb, var(--color-primary) 10%, #a8a8a8);
  color-scheme: dark;
}
:root[data-theme="dark"] .footer__brand img { filter: none; }
:root[data-theme="dark"] .release { border-color: rgb(255 255 255 / .06); }
:root[data-theme="dark"] .release:hover { box-shadow: 0 18px 40px -20px color-mix(in srgb, var(--color-secondary) 55%, transparent); }
:root[data-theme="dark"] .lang__list li:hover,
:root[data-theme="dark"] .lang__list li:focus-visible { background: rgb(255 255 255 / .06); }
/* Transition douce des couleurs uniquement pendant le changement de thème */
.theme-switching, .theme-switching *, .theme-switching *::before, .theme-switching *::after {
  transition: background-color .4s ease, color .4s ease, border-color .4s ease !important;
}

/* ---------- Boutons flottants (droite) ---------- */
.floating {
  position: fixed; right: clamp(.75rem, 2vw, 1.5rem); bottom: clamp(.75rem, 3vw, 1.5rem); z-index: 90;
  display: flex; flex-direction: column-reverse; align-items: center; gap: .65rem;
}
.floating__btn {
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: #fff;
  background: var(--gradient);
  box-shadow: 0 0 0 1px rgb(255 255 255 / .25), 0 10px 26px -8px color-mix(in srgb, var(--color-primary) 70%, transparent);
  transition: transform .3s var(--ease), box-shadow .3s, opacity .3s;
}
.floating__btn svg { width: 22px; height: 22px; fill: currentColor; }
.floating__btn:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 0 0 1px rgb(255 255 255 / .45), 0 14px 30px -8px color-mix(in srgb, var(--color-secondary) 85%, transparent); }
.floating__btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 3px; }

.theme-toggle { background: var(--color-text); color: var(--color-bg); box-shadow: 0 10px 26px -10px rgb(0 0 0 / .5); }
.theme-toggle svg { position: absolute; transition: transform .5s var(--ease), opacity .3s; }
.theme-toggle { position: relative; overflow: hidden; }
.theme-toggle__sun { opacity: 0; transform: rotate(-90deg) scale(.5); }
[data-theme="dark"] .theme-toggle__moon { opacity: 0; transform: rotate(90deg) scale(.5); }
[data-theme="dark"] .theme-toggle__sun { opacity: 1; transform: none; color: #ffc93c; }

.to-top { opacity: 0; transform: translateY(12px); pointer-events: none; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top.is-visible:hover { transform: translateY(-3px) scale(1.05); }
.to-top[hidden] { display: none; }
body.menu-open .floating { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .floating__btn, .theme-toggle svg { transition: none; } }

/* ---------- Dates avec flyers (affiches) ----------
   Activé dès qu'une date a un `flyer` dans config.json. */
.dates__list--posters {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 72%);
  gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .25rem .25rem 1rem;
  margin-inline: -.25rem; scrollbar-width: thin;
}
@media (min-width: 720px) {
  .dates__list--posters { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; }
}
@media (min-width: 1100px) { .dates__list--posters { grid-template-columns: repeat(5, 1fr); } }
.date-card--poster {
  display: flex; flex-direction: column; gap: .8rem; padding: .7rem .7rem 1rem;
  scroll-snap-align: start;
}
.date-card--poster:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -22px color-mix(in srgb, var(--color-primary) 70%, transparent); }
.date-card__flyer {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0;
  border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: var(--gradient);
}
.date-card__flyer--empty { cursor: default; }
.date-card__flyer img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.date-card--poster:hover .date-card__flyer img { transform: scale(1.06); }
.date-card--poster .date-card__day {
  position: absolute; top: .6rem; left: .6rem; width: 62px; height: auto; padding: .45rem 0 .5rem; gap: .15rem;
  box-shadow: 0 8px 20px -6px rgb(0 0 0 / .55), 0 0 0 1px rgb(255 255 255 / .25);
}
.date-card__day small { font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.date-card--poster .date-card__day strong { font-size: 1.5rem; }
.date-card--poster .date-card__info { padding-inline: .3rem; }
.date-card--poster .date-card__event { font-size: 1rem; }
.date-card--poster .date-card__place { font-size: .85rem; }
.date-card--poster .btn, .date-card--poster .date-card__soon { margin: auto .3rem 0; justify-self: auto; align-self: flex-start; font-size: .7rem; }

/* Dates en affiches : flyer seul (la légende s'affiche à l'agrandissement) */
.date-card--poster { scroll-snap-align: start; list-style: none; padding: 0; }
.date-card--poster:hover { transform: none; box-shadow: none; }
.date-card--poster .date-card__flyer {
  box-shadow: 0 16px 34px -20px rgb(0 0 0 / .6);
  transition: transform .45s var(--ease), box-shadow .45s;
}
.date-card--poster .date-card__flyer:hover,
.date-card--poster .date-card__flyer:focus-visible { transform: translateY(-6px); box-shadow: 0 26px 46px -20px color-mix(in srgb, var(--color-primary) 75%, transparent); }
.date-card--poster .date-card__flyer:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 3px; }
.date-card__flyer--empty { display: grid; align-content: end; gap: .5rem; padding: 1rem; color: #fff; }
