/* ==========================================================================
   ULYSSE MARS — « Cabaret clair-obscur »
   Maquette — Chinaski design
   ========================================================================== */

/* ============================================================
   POLICES — auto-hébergées (RGPD : aucun appel à Google)
   Fichiers variables, sous-ensemble latin (français complet)
   ============================================================ */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/fraunces-roman.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/fraunces-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   VARIABLES — bloc à copier tel quel dans Webstudio / le projet
   ============================================================ */
:root {
  /* Typographies */
  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif; /* typo de caractère : titres */
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;     /* typo simple : corps */

  /* Échelle typographique — base 18px, ratio 1.333 (perfect fourth)
     clamp(mobile, fluide, desktop) — la valeur max = valeur de l'échelle */
  --text-small: 0.844rem;                                   /* 13.5px */
  --text-body: 1.125rem;                                    /* 18px — base */
  --text-h6: 1.5rem;                                        /* 24px */
  --text-h5: clamp(1.6rem, 1.3rem + 0.9vw, 2rem);           /* 32px */
  --text-h4: clamp(1.9rem, 1.4rem + 1.6vw, 2.666rem);       /* 42.7px */
  --text-h3: clamp(2.2rem, 1.5rem + 2.6vw, 3.554rem);       /* 56.9px */
  --text-h2: clamp(2.6rem, 1.6rem + 4vw, 4.738rem);         /* 75.8px */
  --text-h1: clamp(3.2rem, 1.8rem + 6vw, 6.316rem);         /* 101px */
  --text-display: clamp(4.6rem, 1.6rem + 11vw, 8.42rem);    /* 134.7px */

  /* Couleur claire → sombre (10 étapes) — jamais blanc/noir purs */
  --light: #EFE9DF;     /* papier crème — 60% */
  --light-2: #E0DAD1;
  --light-3: #CDC7BF;
  --grey-1: #AFA9A4;
  --grey-2: #8E8A86;
  --grey-3: #726E6D;
  --dark-3: #595555;
  --dark-2: #433F41;
  --dark-1: #302C30;
  --dark: #18151A;      /* velours quasi-noir — 30% */

  /* Accent (10%) : 5 vers le clair, 4 vers le foncé — rouge « rideau / rose » */
  --accent-light-5: #F9E6E2;
  --accent-light-4: #EFC9C7;
  --accent-light-3: #E3A4A4;
  --accent-light-2: #D47B7C;
  --accent-light-1: #C65155;
  --accent: #B8282E;
  --accent-dark-1: #9C2227;
  --accent-dark-2: #7F1C20;
  --accent-dark-3: #631619;
  --accent-dark-4: #461013;

  /* Espacements & mise en page */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-section: clamp(4.5rem, 3rem + 7vw, 9rem);
  --container: 1320px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --header-h: 72px;
  --radius: 4px;
  --radius-pill: 999px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}
/* ====================== fin des variables ====================== */

/* Paires AA validées (texte normal ≥ 4.5) :
   dark/light 14.98 · accent/light 5.14 · light/accent 5.14 · dark-3/light 6.09
   accent-light-2/dark 5.96 · grey-1/dark 7.78 · light-3/dark 10.78
   ⚠ accent sur dark = 2.91 → sur fond sombre, liens et accents en accent-light-2. */

/* ---------- Reset léger ---------- */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, var(--text-body));
  line-height: 1.6;
  color: var(--dark);
  background: var(--light);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.08;
  font-variation-settings: "SOFT" 50, "WONK" 0;
  text-wrap: balance;
}
p { text-wrap: pretty; }
em, i { font-style: italic; }

/* Grain papier — calque fixe, ne capte pas la souris */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .11;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Accessibilité ---------- */
.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 200;
  padding: .75rem 1.25rem;
  background: var(--dark);
  color: var(--light);
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 500;
}
.skip-link:focus { top: 1rem; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.section--dark :focus-visible,
.site-header.is-dark :focus-visible,
.section--accent :focus-visible { outline-color: var(--accent-light-3); }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Mise en page ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--space-section); position: relative; }
.section--dark { background: var(--dark); color: var(--light); }
.section--accent { background: var(--accent); color: var(--light); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dark-3);
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  gap: .75rem;
}
.eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: currentColor;
}
.section--dark .eyebrow { color: var(--grey-1); }
.section--accent .eyebrow { color: var(--accent-light-5); }

.section__head { max-width: 52rem; margin-bottom: var(--space-5); }
.section__title {
  font-size: var(--text-h2);
  font-weight: 360;
  line-height: 1;
  letter-spacing: -.025em;
  font-variation-settings: "SOFT" 60, "WONK" 1;
}
.section__title em { color: var(--accent); }
.section--dark .section__title em { color: var(--accent-light-2); }
.section__intro {
  margin-top: var(--space-3);
  max-width: 38rem;
  color: var(--dark-3);
}
.section--dark .section__intro { color: var(--grey-1); }

/* ---------- Boutons & liens ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85em 1.6em;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out), border-color .35s var(--ease-out), transform .35s var(--ease-out);
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; transition: transform .35s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: var(--light); }
.btn--primary:hover { background: var(--accent-dark-1); }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: var(--dark); color: var(--light); border-color: var(--dark); }
.section--dark .btn--ghost:hover,
.section--accent .btn--ghost:hover { background: var(--light); color: var(--dark); border-color: var(--light); }
.btn--light { background: var(--light); color: var(--dark); }
.btn--light:hover { background: var(--accent-light-5); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
  color: var(--accent);
}
.link-arrow:hover { text-decoration-thickness: 2px; }
.section--dark .link-arrow { color: var(--accent-light-2); }
.section--accent .link-arrow { color: var(--light); }

.tag {
  display: inline-block;
  padding: .3em .8em;
  border-radius: var(--radius-pill);
  border: 1px solid currentColor;
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
}

/* ==========================================================================
   EN-TÊTE
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  color: var(--dark);
  transition: background-color .4s var(--ease-out), color .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--light) 86%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--light-3);
}
.site-header.is-dark { color: var(--light); }
.site-header.is-dark.is-scrolled {
  background: color-mix(in srgb, var(--dark) 84%, transparent);
  box-shadow: 0 1px 0 var(--dark-2);
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -.01em;
  text-decoration: none;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.logo em { color: var(--accent); }
.site-header.is-dark .logo em { color: var(--accent-light-2); }

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.25rem);
  list-style: none;
  padding: 0;
}
.nav__list a {
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  padding-block: .4rem;
}
.nav__list a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav__list a:not(.btn):hover::after,
.nav__list a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__list .btn { padding: .6em 1.2em; font-size: .9rem; }
.site-header.is-dark .nav__list .btn--ghost:hover { background: var(--light); color: var(--dark); border-color: var(--light); }

.nav__toggle {
  display: none;
  align-items: center;
  gap: .6rem;
  padding: .5rem .2rem;
  background: none;
  border: 0;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.nav__toggle-icon { width: 22px; height: 10px; position: relative; }
.nav__toggle-icon::before,
.nav__toggle-icon::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform .4s var(--ease-out), top .4s var(--ease-out);
}
.nav__toggle-icon::before { top: 0; }
.nav__toggle-icon::after { top: 8px; }
.nav[data-open] .nav__toggle-icon::before { top: 4px; transform: rotate(45deg); }
.nav[data-open] .nav__toggle-icon::after { top: 4px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav__toggle { display: inline-flex; }
  .nav__list {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-3);
    padding: var(--header-h) var(--gutter) var(--space-5);
    background: var(--dark);
    color: var(--light);
    visibility: hidden;
    opacity: 0;
    transition: opacity .45s var(--ease-out), visibility 0s linear .45s;
  }
  .nav[data-open] .nav__list {
    visibility: visible;
    opacity: 1;
    transition: opacity .45s var(--ease-out);
  }
  .nav__list a:not(.btn) {
    font-family: var(--font-heading);
    font-size: var(--text-h3);
    font-weight: 350;
    font-variation-settings: "SOFT" 60, "WONK" 1;
  }
  .nav__list .btn { font-size: 1rem; margin-top: var(--space-3); color: var(--light); }
  .nav[data-open] .nav__toggle { color: var(--light); }
}

/* ==========================================================================
   HERO — le projecteur et les ombres portées
   ========================================================================== */
.hero {
  /* Position de la lumière (%) et décalage des ombres (px, sans unité) — pilotés en JS */
  --lx: 30%;
  --ly: 28%;
  --sx: 12;
  --sy: 16;
  --scroll: 0;
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + var(--space-4));
  padding-bottom: var(--space-6);
  background: var(--light-2);
  overflow: clip;
}
.hero__light {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--lx) var(--ly), var(--light) 0, color-mix(in srgb, var(--light) 0%, transparent) 42vmax),
    radial-gradient(ellipse 120% 90% at 50% 45%, transparent 55%, color-mix(in srgb, var(--light-3) 80%, transparent) 100%);
}
.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-areas:
    "head head head head head fig fig fig fig fig fig fig"
    "body body body body body fig fig fig fig fig fig fig";
  column-gap: clamp(1rem, 2vw, 2rem);
  align-items: center;
}
.hero__head { grid-area: head; position: relative; z-index: 2; align-self: end; }
.hero__body { grid-area: body; position: relative; z-index: 2; align-self: start; }
.hero__figure { grid-area: fig; position: relative; z-index: 1; margin-left: 2vw; }

.hero__kicker { margin-bottom: var(--space-3); }

.hero__title-wrap { position: relative; }
.hero__title,
.hero__shadow {
  font-family: var(--font-heading);
  font-size: var(--text-display);
  font-weight: 330;
  line-height: .86;
  letter-spacing: -.035em;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.hero__title { position: relative; color: var(--dark); }
.hero__title .line { display: block; }
.hero__title .line--2 { padding-left: .9em; }
.hero__title em { color: var(--accent); font-weight: 300; }
/* L'ombre du nom : un double flou, décalé selon la lumière */
.hero__shadow {
  position: absolute;
  inset: 0;
  z-index: -1;
  color: var(--dark);
  opacity: .16;
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
  transform-origin: 50% 100%;
  transform:
    translate3d(calc(var(--sx) * 1px), calc((var(--sy) + var(--scroll) * 70) * 1px), 0)
    skewX(calc(var(--sx) * -0.8deg));
}
.hero__shadow .line { display: block; }
.hero__shadow .line--2 { padding-left: .9em; }

.hero__tagline {
  margin-top: var(--space-4);
  font-family: var(--font-heading);
  font-size: var(--text-h5);
  font-style: italic;
  font-weight: 350;
  line-height: 1.2;
  max-width: 20ch;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

/* Le « billet » du prochain concert */
.next-gig {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: var(--space-3);
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid var(--dark);
  max-width: 30rem;
  text-decoration: none;
}
.next-gig__label {
  grid-column: 1 / -1;
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dark-3);
  margin-bottom: .35rem;
}
.next-gig__date {
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  line-height: 1;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.next-gig__place { line-height: 1.35; }
.next-gig__place strong { display: block; font-weight: 600; }
.next-gig:hover .next-gig__date { color: var(--accent); }

/* Photo + son ombre portée */
.hero__photo { position: relative; aspect-ratio: 3 / 2; }
.hero__photo-shadow {
  position: absolute;
  inset: 5% 3%;
  z-index: -1;
  background: var(--dark);
  opacity: .42;
  filter: blur(34px);
  transform: translate3d(calc(var(--sx) * 2.2px), calc((var(--sy) * 2.2 + var(--scroll) * 140) * 1px), 0);
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
  transition: filter 1.4s var(--ease-out);
}
.hero__figure:hover .hero__photo img { filter: grayscale(.1) contrast(1.02); }
.hero__figure figcaption {
  margin-top: var(--space-2);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1rem;
  color: var(--dark-3);
  text-align: right;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: var(--space-3);
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  font-size: var(--text-small);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dark-3);
  text-decoration: none;
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 42px;
  background: linear-gradient(var(--dark-3), transparent);
  transform-origin: top;
}
@media (prefers-reduced-motion: no-preference) {
  .scroll-cue::after { animation: cue 2.4s var(--ease-out) infinite; }
}
@keyframes cue {
  0% { transform: scaleY(0); }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 900px) {
  .hero { min-height: auto; padding-bottom: var(--space-5); }
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "fig" "body";
    row-gap: var(--space-4);
  }
  .hero__figure { margin-left: 0; margin-top: -1.2rem; }
  .hero__figure figcaption { text-align: left; }
  .hero__title .line--2, .hero__shadow .line--2 { padding-left: .6em; }
  .hero__tagline { margin-top: 0; }
  .next-gig { margin-top: var(--space-4); }
  .scroll-cue { display: none; }
}

/* ==========================================================================
   CONCERTS
   ========================================================================== */
.gigs__list { list-style: none; padding: 0; border-top: 1px solid var(--dark-2); }
.gig {
  position: relative;
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-2);
  border-bottom: 1px solid var(--dark-2);
  transition: background-color .4s var(--ease-out);
}
.gig:hover { background: var(--dark-1); }
.gig__date { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.gig__day {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 330;
  line-height: .9;
  letter-spacing: -.02em;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  transition: color .4s var(--ease-out);
}
.gig:hover .gig__day { color: var(--accent-light-2); }
.gig__month { font-size: var(--text-small); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-1); }
.gig__weekday { flex-basis: 100%; font-size: var(--text-small); color: var(--grey-2); text-transform: capitalize; }
.gig__venue { font-size: var(--text-h6); font-weight: 400; line-height: 1.2; font-variation-settings: "SOFT" 60, "WONK" 0; }
.gig__place { color: var(--light-3); margin-top: .2rem; }
.gig__place span { color: var(--grey-1); }
.gig__note { color: var(--accent-light-3); font-style: italic; font-family: var(--font-heading); margin-top: .35rem; }
.gig__meta { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-2); flex-wrap: wrap; }
.gig__meta .tag { color: var(--grey-1); }
.gig__meta .btn { padding: .6em 1.2em; font-size: .9rem; }
.gig__flag {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-light-2);
}
.gig.is-next { padding-top: calc(var(--space-4) + 1rem); }

.gigs__empty { padding: var(--space-4) 0; color: var(--grey-1); font-style: italic; }

.gigs__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-5);
  align-items: start;
}
.gigs__home {
  padding: var(--space-4);
  border: 1px solid var(--dark-2);
  border-radius: var(--radius);
  background: var(--dark-1);
}
.gigs__home h3 { font-size: var(--text-h5); font-style: italic; font-weight: 350; font-variation-settings: "SOFT" 100, "WONK" 1; }
.gigs__home p { color: var(--light-3); margin: var(--space-2) 0 var(--space-3); }

.gigs__past summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--dark-2);
  font-weight: 500;
}
.gigs__past summary::-webkit-details-marker { display: none; }
.gigs__past summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  line-height: 1;
  transition: transform .4s var(--ease-out);
}
.gigs__past[open] summary::after { transform: rotate(45deg); }
.gigs__past summary span { color: var(--grey-1); font-weight: 400; }
.past-list {
  list-style: none;
  padding: var(--space-3) 0 0;
  columns: 2 16rem;
  column-gap: var(--space-4);
  font-size: .95rem;
}
.past-list li { break-inside: avoid; padding: .3rem 0; color: var(--light-3); }
.past-list time { color: var(--grey-1); font-variant-numeric: tabular-nums; margin-right: .5rem; }

@media (max-width: 760px) {
  .gig {
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: var(--space-2) var(--space-3);
    padding: var(--space-3) 0;
    align-items: start;
  }
  .gig:hover { background: none; }
  .gig__meta { grid-column: 2; justify-content: flex-start; }
  .gig__flag { left: 0; top: var(--space-2); }
  .gig__month { letter-spacing: .08em; }
  .gigs__footer { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
}

/* ==========================================================================
   CITATION — la lumière passe sur la phrase
   ========================================================================== */
.quote { background: var(--light); }
.quote__text {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 330;
  line-height: 1.12;
  letter-spacing: -.015em;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  max-width: 22em;
}
.quote__text em { color: var(--accent); }
.quote__text .word { will-change: color; }
.quote figcaption {
  margin-top: var(--space-4);
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--dark-3);
}
.quote figcaption::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; }
.quote cite { font-style: italic; }

/* ==========================================================================
   ÉCOUTER — Sub Rosa
   ========================================================================== */
.listen__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.listen__visual { position: relative; }
.listen__visual img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.play {
  position: absolute;
  left: var(--space-3);
  bottom: var(--space-3);
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  padding: .6rem 1.4rem .6rem .6rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--light);
  color: var(--dark);
  font-weight: 500;
  cursor: pointer;
  transition: transform .4s var(--ease-out), background-color .4s var(--ease-out);
}
.play:hover { transform: scale(1.04); background: var(--accent-light-5); }
.play__icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--light);
}
.play__icon svg { width: 1rem; height: 1rem; margin-left: 3px; }
.play small { display: block; font-weight: 400; color: var(--dark-3); font-size: var(--text-small); }

.listen__lead {
  font-family: var(--font-heading);
  font-size: var(--text-h6);
  font-style: italic;
  font-weight: 350;
  line-height: 1.35;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  margin-top: var(--space-3);
}
.listen__text { color: var(--light-3); margin-top: var(--space-3); max-width: 34rem; }
.tracklist {
  counter-reset: track;
  list-style: none;
  padding: 0;
  margin-top: var(--space-4);
  border-top: 1px solid var(--dark-2);
}
.tracklist li {
  counter-increment: track;
  display: flex;
  gap: var(--space-3);
  padding: .7rem 0;
  border-bottom: 1px solid var(--dark-2);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-variation-settings: "SOFT" 60, "WONK" 0;
}
.tracklist li::before {
  content: counter(track, decimal-leading-zero);
  font-family: var(--font-body);
  font-size: var(--text-small);
  color: var(--grey-1);
  padding-top: .35rem;
  font-variant-numeric: tabular-nums;
}
.listen__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
.platforms { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin-top: var(--space-3); font-size: .95rem; }
.platforms a { color: var(--light-3); text-underline-offset: .3em; }
.platforms a:hover { color: var(--accent-light-2); }

.disco { margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--dark-2); }
.disco h3 { font-size: var(--text-h5); font-weight: 350; margin-bottom: var(--space-4); }
.disco__list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}
.album { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: var(--space-3); align-items: center; }
.album__cover {
  aspect-ratio: 1;
  width: 100%;
  object-fit: cover;
  background: var(--dark-1);
}
.album__cover--type {
  display: grid;
  place-items: center;
  border: 1px solid var(--dark-2);
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--accent-light-2);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.album__cover--rosa { object-position: 50% 45%; }
.album h4 { font-size: 1.25rem; font-weight: 400; line-height: 1.2; }
.album p { font-size: var(--text-small); color: var(--grey-1); margin-top: .2rem; }
.album a { text-decoration: none; }
.album a:hover h4 { color: var(--accent-light-2); }

@media (max-width: 900px) {
  .listen__grid { grid-template-columns: minmax(0, 1fr); }
  .disco__list { grid-template-columns: minmax(0, 1fr); }
}

/* Lecteur vidéo (fenêtre modale native) */
.video-modal {
  width: min(1100px, 100% - 2 * var(--gutter));
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--light);
  overflow: visible;
}
.video-modal::backdrop { background: color-mix(in srgb, var(--dark) 92%, transparent); }
.video-modal__frame { aspect-ratio: 16 / 9; background: var(--dark); }
.video-modal__frame iframe { width: 100%; height: 100%; border: 0; }
.video-modal__close {
  position: absolute;
  right: 0;
  bottom: calc(100% + .75rem);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  border: 1px solid var(--grey-2);
  border-radius: var(--radius-pill);
  background: none;
  cursor: pointer;
}
.video-modal__close:hover { background: var(--light); color: var(--dark); }

/* ==========================================================================
   BIO
   ========================================================================== */
.bio__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.bio__portrait { position: sticky; top: calc(var(--header-h) + var(--space-3)); }
.bio__portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.bio__portrait figcaption { margin-top: var(--space-2); font-family: var(--font-heading); font-style: italic; color: var(--dark-3); }
.bio__lead {
  font-family: var(--font-heading);
  font-size: var(--text-h5);
  font-weight: 330;
  font-style: italic;
  line-height: 1.22;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  margin-top: var(--space-4);
}
.bio__lead em { font-style: normal; color: var(--accent); }
.bio__text { margin-top: var(--space-4); display: grid; gap: var(--space-3); max-width: 38rem; }
.bio__text strong { font-weight: 600; }

.influences { margin-top: var(--space-5); }
.influences h3, .milestones h3 {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dark-3);
  margin-bottom: var(--space-2);
}
.influences ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .1rem .2rem;
  font-family: var(--font-heading);
  font-size: var(--text-h6);
  line-height: 1.35;
  font-variation-settings: "SOFT" 60, "WONK" 0;
}
.influences li:not(:last-child)::after { content: " ·"; color: var(--accent); }
.influences p { margin-top: var(--space-2); color: var(--dark-3); font-size: .95rem; }

.milestones { margin-top: var(--space-5); }
.milestones ol { list-style: none; padding: 0; border-top: 1px solid var(--light-3); }
.milestones li {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--light-3);
}
.milestones .year {
  font-family: var(--font-heading);
  font-size: var(--text-h6);
  line-height: 1.2;
  color: var(--accent);
  font-variant-numeric: lining-nums;
}

@media (max-width: 900px) {
  .bio__grid { grid-template-columns: minmax(0, 1fr); }
  .bio__portrait { position: relative; top: 0; max-width: 28rem; }
  .milestones li { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
}

/* ==========================================================================
   LIEUX — bandeau rideau rouge
   ========================================================================== */
.venues { padding-block: var(--space-6); overflow: clip; }
.venues__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.venues .section__title em { color: var(--light); }
.stats { display: flex; gap: clamp(1.5rem, 4vw, 4rem); }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dd {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 330;
  line-height: 1;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.stats dt { font-size: var(--text-small); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-light-5); }

.marquee { display: flex; overflow: hidden; user-select: none; }
.marquee + .marquee { margin-top: var(--space-2); }
.marquee__track {
  display: flex;
  flex: none;
  align-items: center;
  list-style: none;
  padding: 0;
  animation: marquee var(--marquee-duration, 90s) linear infinite;
}
.marquee--reverse .marquee__track { animation-direction: reverse; }
.venues:hover .marquee__track,
.venues:focus-within .marquee__track,
.venues.is-paused .marquee__track { animation-play-state: paused; }
.marquee__track li { flex: none; white-space: nowrap; }
.marquee--names li {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-style: italic;
  font-weight: 320;
  line-height: 1.25;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.marquee--names li::after { content: "✦"; font-style: normal; font-size: .4em; vertical-align: middle; margin: 0 .9em; color: var(--accent-dark-3); }
.marquee--towns li {
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-light-5);
}
.marquee--towns li::after { content: "—"; margin: 0 1.2em; color: var(--accent-light-3); }
@keyframes marquee { to { transform: translateX(-50%); } }

.venues__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.marquee-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem 1rem;
  border: 1px solid var(--accent-light-3);
  border-radius: var(--radius-pill);
  background: none;
  color: var(--light);
  font-size: var(--text-small);
  cursor: pointer;
}
.marquee-toggle:hover { background: var(--accent-dark-1); }

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; flex: 1 1 auto; row-gap: .25rem; }
  .marquee__track[aria-hidden="true"] { display: none; }
  .marquee--names li { font-size: var(--text-h5); }
  .marquee-toggle { display: none; }
}

/* ==========================================================================
   PAROLES RECUEILLIES
   ========================================================================== */
.voices__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-5) clamp(2rem, 6vw, 6rem);
}
.voice blockquote p { text-wrap: pretty; }
.voice--big { grid-row: span 2; }
.voice--big blockquote {
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  font-weight: 330;
  font-style: italic;
  line-height: 1.18;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.voice:not(.voice--big) blockquote {
  font-family: var(--font-heading);
  font-size: var(--text-h6);
  font-weight: 350;
  line-height: 1.4;
  font-variation-settings: "SOFT" 60, "WONK" 0;
}
.voice:not(.voice--big) { padding-top: var(--space-3); border-top: 1px solid var(--light-3); }
.voice figcaption { margin-top: var(--space-3); font-size: .95rem; color: var(--dark-3); }
.voice figcaption strong { color: var(--dark); font-weight: 600; }
.voice__mark {
  display: block;
  font-family: var(--font-heading);
  font-size: 6rem;
  line-height: .6;
  color: var(--accent);
  height: 2.6rem;
}
@media (max-width: 900px) {
  .voices__grid { grid-template-columns: minmax(0, 1fr); }
  .voice--big { grid-row: auto; }
}

/* ==========================================================================
   PROJETS
   ========================================================================== */
.projects__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-4);
  align-items: stretch;
}
.project {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--dark-2);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark-1);
}
.project__media { overflow: hidden; }
.project__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.project:hover .project__media img { transform: scale(1.03); }
.project__body { padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.project__body h3 { font-size: var(--text-h5); font-weight: 350; font-variation-settings: "SOFT" 100, "WONK" 1; }
.project__body h3 em { color: var(--accent-light-2); }
.project__body p { color: var(--light-3); }
.project__body .link-arrow { margin-top: auto; padding-top: var(--space-2); }
.project--poster {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--light);
}
.project--poster .project__body { justify-content: space-between; gap: var(--space-3); }
.project--poster .poster__title {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: 330;
  line-height: .92;
  letter-spacing: -.02em;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.project--poster .poster__title em { display: block; padding-left: .6em; }
.project--poster p { color: var(--accent-light-5); }
.project--poster dl { display: grid; gap: .4rem; font-size: .95rem; border-top: 1px solid var(--accent-light-3); padding-top: var(--space-2); }
.project--poster dl div { display: flex; justify-content: space-between; gap: 1rem; }
.project--poster dt { color: var(--accent-light-4); }
.project--poster dd { font-weight: 500; text-align: right; }
.project--poster .link-arrow { color: var(--light); }
@media (max-width: 900px) {
  .projects__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   LETTRE D'ULYSSE (newsletter)
   ========================================================================== */
.letter__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.letter__visual img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 60%; }
.letter__visual figcaption { margin-top: var(--space-2); font-family: var(--font-heading); font-style: italic; color: var(--dark-3); }
.letter__gifts { list-style: none; padding: 0; margin: var(--space-3) 0 var(--space-4); display: grid; gap: .5rem; }
.letter__gifts li { display: flex; gap: .75rem; align-items: baseline; }
.letter__gifts li::before { content: "✦"; color: var(--accent); font-size: .8em; }

.form { display: grid; gap: var(--space-3); }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 500; font-size: .95rem; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--grey-3);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--light) 60%, transparent);
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light-4); }
.field .hint { font-size: var(--text-small); color: var(--dark-3); }
.check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .75rem; align-items: start; font-size: .92rem; color: var(--dark-3); }
.check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--accent); }
.form__status { font-weight: 500; color: var(--accent-dark-1); min-height: 1.6em; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
@media (max-width: 900px) {
  .letter__grid { grid-template-columns: minmax(0, 1fr); }
  .letter__visual { order: 2; max-width: 26rem; }
}
@media (max-width: 600px) {
  .form__row { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   APPEL PROGRAMMATEURS + PIED DE PAGE
   ========================================================================== */
.cta-pro { text-align: left; }
.cta-pro__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-5); align-items: end; }
.cta-pro__title {
  font-size: var(--text-h1);
  font-weight: 320;
  line-height: .95;
  letter-spacing: -.03em;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.cta-pro__title em { color: var(--accent-light-2); }
.cta-pro p { color: var(--light-3); margin-bottom: var(--space-4); }
@media (max-width: 900px) { .cta-pro__inner { grid-template-columns: minmax(0, 1fr); } }

.site-footer {
  background: var(--dark);
  color: var(--light-3);
  padding-top: var(--space-6);
  overflow: clip;
  border-top: 1px solid var(--dark-2);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
}
.site-footer h2 {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--grey-1);
  margin-bottom: var(--space-2);
}
.footer__mail {
  font-family: var(--font-heading);
  font-size: var(--text-h5);
  color: var(--light);
  text-decoration: none;
  overflow-wrap: anywhere;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.footer__mail:hover { color: var(--accent-light-2); }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .45rem; }
.site-footer a { text-underline-offset: .3em; }
.site-footer a:hover { color: var(--accent-light-2); }
.footer__tel { display: inline-block; margin-top: var(--space-2); color: var(--light); }
.footer__wordmark {
  margin-top: var(--space-6);
  font-family: var(--font-heading);
  font-size: clamp(4rem, 19vw, 19rem);
  font-weight: 300;
  line-height: .75;
  letter-spacing: -.045em;
  color: var(--dark-1);
  white-space: nowrap;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  user-select: none;
  translate: -.04em 0;
}
.footer__wordmark em { color: var(--accent-dark-3); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--dark-2);
  font-size: var(--text-small);
  color: var(--grey-1);
}
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}

/* Petit mot qui apparaît (easter egg) */
.toast {
  position: fixed;
  left: 50%;
  bottom: var(--space-4);
  z-index: 150;
  translate: -50% 1rem;
  padding: .9rem 1.6rem;
  border-radius: var(--radius-pill);
  background: var(--dark);
  color: var(--light);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--ease-out), translate .5s var(--ease-out);
}
.toast.is-visible { opacity: 1; translate: -50% 0; }
.hero.is-lights-out .hero__light { opacity: .15; transition: opacity 1.2s var(--ease-out); }
.hero__light { transition: opacity 1.2s var(--ease-out); }

/* ==========================================================================
   PAGE PROGRAMMATEURS
   ========================================================================== */
.pro-hero {
  padding-top: calc(var(--header-h) + var(--space-6));
  padding-bottom: var(--space-section);
}
.pro-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
}
.pro-hero h1 {
  font-size: var(--text-h1);
  font-weight: 320;
  line-height: .95;
  letter-spacing: -.03em;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.pro-hero h1 em { color: var(--accent-light-2); }
.pro-hero__lead {
  margin-top: var(--space-4);
  font-family: var(--font-heading);
  font-size: var(--text-h6);
  font-style: italic;
  font-weight: 350;
  line-height: 1.4;
  color: var(--light-3);
  max-width: 34rem;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.pro-hero__lead strong { color: var(--light); font-weight: 450; }
.pro-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
.pro-hero figure img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: grayscale(1); }
.pro-hero figcaption { margin-top: var(--space-2); font-family: var(--font-heading); font-style: italic; color: var(--grey-1); }
.signature { margin-top: var(--space-3); font-family: var(--font-heading); font-style: italic; font-size: var(--text-h6); color: var(--light); }

.facts {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--light-3);
}
.facts li {
  padding: var(--space-4) var(--space-4) var(--space-4) 0;
  border-bottom: 1px solid var(--light-3);
}
.facts li:not(:nth-child(3n + 1)) { padding-left: var(--space-4); border-left: 1px solid var(--light-3); }
.facts h3 {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dark-3);
  margin-bottom: .6rem;
}
.facts p { font-family: var(--font-heading); font-size: 1.35rem; line-height: 1.35; font-variation-settings: "SOFT" 60, "WONK" 0; }
.facts p small { display: block; font-family: var(--font-body); font-size: .95rem; color: var(--dark-3); margin-top: .4rem; }
@media (max-width: 900px) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts li, .facts li:not(:nth-child(3n + 1)) { padding: var(--space-3) 0; border-left: 0; }
}

.formulas { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.formula { padding: var(--space-4); border: 1px solid var(--dark-2); border-radius: var(--radius); background: var(--dark-1); display: flex; flex-direction: column; gap: var(--space-2); }
.formula__num { font-family: var(--font-heading); font-size: var(--text-h3); line-height: 1; color: var(--accent-light-2); font-variation-settings: "SOFT" 100, "WONK" 1; }
.formula h3 { font-size: var(--text-h6); font-weight: 400; }
.formula p { color: var(--light-3); }
.formula .link-arrow { margin-top: auto; }
@media (max-width: 900px) { .formulas { grid-template-columns: minmax(0, 1fr); } }

.home-concert__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.home-concert__grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: var(--space-3); margin-top: var(--space-4); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: var(--space-2); align-items: baseline; }
.steps li::before {
  content: counter(step);
  font-family: var(--font-heading);
  font-size: var(--text-h5);
  font-style: italic;
  line-height: 1;
  color: var(--accent);
}
.steps strong { display: block; font-weight: 600; }
@media (max-width: 900px) { .home-concert__grid { grid-template-columns: minmax(0, 1fr); } }

.workshops { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.workshops li { border-top: 1px solid var(--light-3); padding-top: var(--space-3); }
.workshops h3 { font-size: var(--text-h6); font-style: italic; font-weight: 400; margin-bottom: .5rem; font-variation-settings: "SOFT" 100, "WONK" 1; }
.workshops p { color: var(--dark-3); }
@media (max-width: 900px) { .workshops { grid-template-columns: minmax(0, 1fr); } }

.kit { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); margin-top: var(--space-4); }
.kit a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3);
  border: 1px solid var(--dark-2);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background-color .3s, border-color .3s;
}
.kit a:hover { background: var(--dark-1); border-color: var(--grey-3); }
.kit .tag { color: var(--accent-light-2); }
@media (max-width: 900px) { .kit { grid-template-columns: minmax(0, 1fr); } }

.venue-list { columns: 3 16rem; column-gap: var(--space-5); }
.venue-group { break-inside: avoid; margin-bottom: var(--space-4); }
.venue-group__title {
  font-size: 1.3rem;
  font-weight: 400;
  padding-bottom: .4rem;
  margin-bottom: .6rem;
  border-bottom: 1px solid var(--light-3);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.venue-group__title span { font-family: var(--font-body); font-size: var(--text-small); color: var(--accent); font-weight: 500; }
.venue-group ul { list-style: none; padding: 0; display: grid; gap: .25rem; font-size: .95rem; }
.venue-group li span { color: var(--dark-3); }
.venue-country { font-size: var(--text-h4); font-weight: 330; font-style: italic; margin: var(--space-5) 0 var(--space-3); font-variation-settings: "SOFT" 100, "WONK" 1; }
.venue-country:first-child { margin-top: 0; }

.booking__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.booking__contact { display: grid; gap: var(--space-2); margin-top: var(--space-4); }
.booking__contact a { font-family: var(--font-heading); font-size: var(--text-h6); text-decoration: none; overflow-wrap: anywhere; }
.booking__contact a:hover { color: var(--accent); }
@media (max-width: 900px) { .booking__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Utilitaires & variantes ---------- */
.section--flush-top { padding-top: 0; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-weight: 500; }

/* Formulaire sur fond sombre */
.form--dark .field label { color: var(--light); }
.form--dark .field input,
.form--dark .field select,
.form--dark .field textarea {
  border-color: var(--grey-3);
  background: var(--dark-1);
  color: var(--light);
}
.form--dark .field input::placeholder,
.form--dark .field textarea::placeholder { color: var(--grey-2); }
.form--dark .field input:focus,
.form--dark .field select:focus,
.form--dark .field textarea:focus { border-color: var(--accent-light-2); box-shadow: 0 0 0 3px var(--accent-dark-2); }
.form--dark .form__status { color: var(--accent-light-3); }

/* Le bandeau bas coupe le grand nom, comme un rideau qui tombe */
.footer__bottom { position: relative; background: var(--dark); }
.project--poster .eyebrow { color: var(--accent-light-5); }

/* Menu mobile ouvert : l'en-tête s'efface derrière le rideau sombre */
.site-header.is-menu-open {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: transparent;
  box-shadow: none;
  color: var(--light);
}
.site-header.is-menu-open .logo { position: relative; z-index: 2; }
.site-header.is-menu-open .logo em { color: var(--accent-light-2); }

/* ---------- Production : liens-boutons, newsletter Mailjet ---------- */
.play { text-decoration: none; }
.gigs__list .gigs__empty { list-style: none; padding: var(--space-4) 0; }
.newsletter { display: grid; gap: var(--space-2); justify-items: start; }
.newsletter__note { font-size: .92rem; color: var(--dark-3); max-width: 32rem; }
.newsletter__slot { width: 100%; }
.mailjet-frame {
  display: block;
  width: 100%;
  height: 470px;
  border: 1px solid var(--light-3);
  border-radius: var(--radius);
  background: var(--light);
}

/* ==========================================================================
   PAGE 404 — la piste de silence
   ========================================================================== */
.error-page {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + var(--space-5));
}
.error-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.error-page__code-wrap { position: relative; width: fit-content; }
.error-page__code {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-display);
  font-weight: 300;
  line-height: .85;
  letter-spacing: -.04em;
  color: var(--accent-light-2);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.error-page__code--shadow {
  position: absolute;
  inset: 0;
  color: var(--dark-3);
  filter: blur(5px);
  transform: translate(14px, 20px) skewX(-10deg);
  opacity: .7;
}
.error-page__code:not(.error-page__code--shadow) { position: relative; }
.error-page__title {
  margin-top: var(--space-4);
  font-size: var(--text-h3);
  font-weight: 330;
  line-height: 1.05;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.error-page__title em { color: var(--accent-light-2); }
.error-page__text { margin-top: var(--space-3); color: var(--light-3); max-width: 30rem; }
.error-page__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }

.silence {
  margin: 0;
  padding: var(--space-4);
  border: 1px solid var(--dark-2);
  border-radius: var(--radius);
  background: var(--dark-1);
  display: grid;
  gap: var(--space-2);
}
.silence .eyebrow { margin-bottom: 0; }
.silence__track { font-family: var(--font-heading); font-size: var(--text-h5); line-height: 1.1; font-variation-settings: "SOFT" 100, "WONK" 1; }
.silence__track em { color: var(--grey-1); }
.silence__play {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  width: fit-content;
  padding: .5rem 1.2rem .5rem .5rem;
  border: 1px solid var(--grey-3);
  border-radius: var(--radius-pill);
  background: none;
  font-weight: 500;
  cursor: pointer;
}
.silence__play:hover { background: var(--dark-2); }
.silence__bar { height: 2px; background: var(--dark-2); }
.silence__bar span { display: block; width: 0; height: 100%; background: var(--accent-light-2); }
.silence__time { display: flex; justify-content: space-between; font-size: var(--text-small); color: var(--grey-1); font-variant-numeric: tabular-nums; }
.silence__credit { font-family: var(--font-heading); font-style: italic; color: var(--grey-1); }
@media (max-width: 900px) {
  .error-page__grid { grid-template-columns: minmax(0, 1fr); }
}

.site-footer--slim { padding-top: 0; }

/* ==========================================================================
   MENTIONS LÉGALES
   ========================================================================== */
.legal { padding-top: calc(var(--header-h) + var(--space-6)); }
.legal__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.legal__head { position: sticky; top: calc(var(--header-h) + var(--space-3)); }
.legal__title { font-size: var(--text-h2); font-weight: 340; line-height: 1; font-variation-settings: "SOFT" 100, "WONK" 1; }
.legal__title em { color: var(--accent); }
.legal__updated { margin-top: var(--space-3); color: var(--dark-3); font-size: .95rem; }
.legal__body { display: grid; gap: var(--space-5); max-width: 42rem; }
.legal__body section { display: grid; gap: var(--space-2); }
.legal__body h2 { font-size: var(--text-h6); font-weight: 450; padding-bottom: .5rem; border-bottom: 1px solid var(--light-3); }
.legal__body h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin-top: var(--space-1); }
.legal__body a { color: var(--accent); text-underline-offset: .25em; }
mark.todo { background: var(--accent-light-5); color: var(--accent-dark-2); padding: .05em .3em; border-radius: 3px; }
@media (max-width: 900px) {
  .legal__grid { grid-template-columns: minmax(0, 1fr); }
  .legal__head { position: static; }
}
