/* ==========================================================================
   ISLERO — feuille de style unique
   1. Polices
   2. Tokens (couleurs, typo, espacements)
   3. Reset & base
   4. Utilitaires de mise en page
   5. Composants (boutons, cartes, badges, formulaires)
   6. En-tête & navigation
   7. Pied de page
   8. Sections spécifiques
   9. Animations & préférences de mouvement
   10. Impression
   ========================================================================== */

/* 1. POLICES — auto-hébergées (aucune requête vers un service tiers, RGPD) */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/anton-latin-400.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: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/anton-latin-ext-400.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-latin-400.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: 400;
  font-display: swap;
  src: url('../fonts/inter-latin-ext-400.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-latin-600.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: 600;
  font-display: swap;
  src: url('../fonts/inter-latin-ext-600.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-latin-700.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: 700;
  font-display: swap;
  src: url('../fonts/inter-latin-ext-700.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* 2. TOKENS */
:root {
  /* Couleurs de marque, échantillonnées sur le dossier de presse ISLERO 2026 */
  --brand: #f01414;          /* accent, textes courts sur fond sombre — 4.6:1 */
  --brand-solid: #e11111;    /* fonds de bouton, texte blanc dessus — 4.9:1  */
  --brand-hover: #f5231d;
  --brand-active: #bf0d0d;
  --brand-soft: rgba(240, 20, 20, 0.12);
  --brand-line: rgba(240, 20, 20, 0.38);

  /* Surfaces */
  --bg: #08080a;
  --bg-alt: #0c0c10;
  --surface: #121218;
  --surface-2: #191921;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* Textes */
  --text: #f3f3f5;
  --text-muted: #adadb6;
  --text-dim: #85858f;

  /* Typographie */
  --font-display: 'Anton', 'Arial Narrow', 'Haettenschweiler', Impact, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif;

  /* Rythme d'espacement */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  /* Indique au navigateur que l'interface est sombre : les ascenseurs, le
     sélecteur de date et les listes déroulantes adoptent le thème sombre. */
  color-scheme: dark;
  accent-color: var(--brand-solid);

  /* Divers */
  --radius: 4px;
  --radius-lg: 6px;
  --container: 1200px;
  --container-wide: 1400px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow: 0 18px 48px -24px rgba(0, 0, 0, 0.9);
  --shadow-lg: 0 32px 70px -30px rgba(0, 0, 0, 0.95);
}

@media (max-width: 860px) {
  :root { --header-h: 62px; }
}

/* Très grands écrans : on élargit légèrement la colonne de contenu pour que la
   page ne paraisse pas étriquée, sans casser la longueur de ligne confortable. */
@media (min-width: 1700px) {
  :root { --container: 1320px; --container-wide: 1520px; }
}

/* Plus de contraste si le système le demande */
@media (prefers-contrast: more) {
  :root {
    --text-muted: #d8d8dd;
    --text-dim: #b8b8c0;
    --line: rgba(255, 255, 255, 0.22);
    --line-strong: rgba(255, 255, 255, 0.4);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  /* Réserve la place de l'ascenseur : aucun décalage de mise en page quand une
     page est courte, ou quand la visionneuse bloque le défilement. */
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; /* filet de sécurité contre tout débordement latéral */
}

img, svg, video { display: block; max-width: 100%; }
img, video { height: auto; }
/* <picture> ne sert que de conteneur pour le format WebP : il est retiré du
   calcul de mise en page pour que l'image se comporte exactement comme si
   elle était l'enfant direct de son bloc parent. */
picture { display: contents; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.98;
  margin: 0;
  overflow-wrap: break-word;
  /* Équilibre les retours à la ligne des titres courts (Chrome, Safari 17+). */
  text-wrap: balance;
}

h1 { font-size: clamp(2.75rem, 9vw, 6rem); }
h2 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); letter-spacing: 0.02em; line-height: 1.08; }
h4 { font-size: 1.0625rem; letter-spacing: 0.04em; line-height: 1.12; }

p, li { text-wrap: pretty; } /* évite les lignes orphelines d'un seul mot */
p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

figure, blockquote, dl, dd { margin: 0; }

a { color: inherit; text-decoration: none; }

ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.25rem; }
ul:last-child, ol:last-child { margin-bottom: 0; }
li { margin-bottom: var(--sp-2); }
li:last-child { margin-bottom: 0; }

strong, b { font-weight: 600; color: var(--text); }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--sp-7) 0;
}

::selection { background: var(--brand-solid); color: #fff; }

/* Focus : visible, homogène, jamais supprimé */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 2px;
}
.card:focus-within { border-color: var(--line-strong); }

/* Lien d'évitement */
.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -110%);
  z-index: 200;
  background: var(--brand-solid);
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: transform 0.18s var(--ease);
}
.skip-link:focus-visible { transform: translate(-50%, 0); outline-offset: -4px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

/* 4. MISE EN PAGE */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}
.container--wide { max-width: var(--container-wide); }
.container--narrow { max-width: 760px; }

.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--alt { background: var(--bg-alt); }
.section--line { border-top: 1px solid var(--line); }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 var(--sp-4);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--brand);
  flex: none;
}
.eyebrow--center, .section-head--center .eyebrow, .text-center .eyebrow { justify-content: center; }
.page-hero .eyebrow { margin-top: 2rem; }

.lead {
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  color: var(--text-muted);
  margin-top: var(--sp-4);
  max-width: 60ch;
}
.section-head--center .lead { margin-inline: auto; }

.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.grid--center { align-items: center; }
.grid--start { align-items: start; }
.grid--members { grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid--members { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .grid--members { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Utilitaires d'espacement et de texte — échelle unique, pas de valeur au hasard */
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-5 { margin-bottom: var(--sp-5); }
.mb-6 { margin-bottom: var(--sp-6); }
.mb-7 { margin-bottom: var(--sp-7); }

.text-muted { color: var(--text-muted); }
.text-dim { color: var(--text-dim); }
.text-center { text-align: center; }
.text-sm { font-size: 0.9375rem; }
.text-xs { font-size: 0.875rem; }
.break-word { overflow-wrap: anywhere; }
.center-inline { margin-inline: auto; }
.text-center .lead, .text-center .btn-row { margin-inline: auto; }

/* Titres de second rang, à l'échelle d'une carte ou d'un encadré */
.h2-sm { font-size: clamp(1.5rem, 3vw, 2rem); }
.h3-sm { font-size: 1.125rem; }
.h3-md { font-size: 1.375rem; }

/* 5. COMPOSANTS */

/* Boutons */
.btn {
  --btn-bg: var(--brand-solid);
  --btn-fg: #fff;
  --btn-border: var(--brand-solid);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8125rem 1.5rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease),
    color 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn:hover {
  --btn-bg: var(--brand-hover);
  --btn-border: var(--brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -14px rgba(240, 20, 20, 0.85);
}
.btn:active { transform: translateY(0); --btn-bg: var(--brand-active); --btn-border: var(--brand-active); box-shadow: none; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: 0.55; pointer-events: none; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-border: var(--line-strong);
}
.btn--ghost:hover {
  --btn-bg: rgba(255, 255, 255, 0.06);
  --btn-border: var(--text-dim);
  box-shadow: none;
}
.btn--ghost:active { --btn-bg: rgba(255, 255, 255, 0.03); }

.btn--outline-brand {
  --btn-bg: transparent;
  --btn-fg: var(--brand);
  --btn-border: var(--brand-line);
}
.btn--outline-brand:hover { --btn-bg: var(--brand-soft); --btn-border: var(--brand); --btn-fg: var(--brand); box-shadow: none; }

.btn--sm { min-height: 40px; padding: 0.5rem 1rem; font-size: 0.8125rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.btn-row--center { justify-content: center; }
.btn-row--baseline { align-items: center; }
@media (max-width: 460px) {
  /* Sur les très petits écrans, les actions principales prennent toute la
     largeur : cible plus sûre au pouce et alignement net. */
  .btn-row > .btn:not(.btn--sm) { width: 100%; }
}

/* Lien texte souligné à l'animation discrète */
.link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.9375rem;
  background-image: linear-gradient(var(--brand), var(--brand));
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.25s var(--ease);
  padding-bottom: 2px;
}
.link:hover { background-size: 100% 1px; }
.link .arrow { transition: transform 0.25s var(--ease); }
.link:hover .arrow { transform: translateX(4px); }

/* Prose : liens visibles dans le corps de texte */
.prose a:not(.btn):not(.link) {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose a:not(.btn):not(.link):hover { color: var(--brand-hover); }

/* Cartes */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 2.6vw, 1.75rem);
  position: relative;
  transition: border-color 0.22s var(--ease), background-color 0.22s var(--ease),
    transform 0.22s var(--ease);
}
.card--hover:hover { border-color: var(--brand-line); transform: translateY(-3px); }
.card--accent { border-color: var(--brand-line); }
.card--centered { display: flex; flex-direction: column; justify-content: center; }
.card__title { margin-bottom: var(--sp-3); }
.card__num {
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--brand);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: var(--sp-3);
}

/* Badge / chip */
.chip {
  display: inline-block;
  padding: 0.3125rem 0.6875rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.chip-list { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0; list-style: none; }
.chip-list li { margin: 0; }
.chip-list li:hover .chip { border-color: var(--brand-line); color: var(--text); }

/* Statistiques */
.stats { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 5vw, 3.5rem); }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  line-height: 1;
  color: #fff;
  display: block;
}
.stat__label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 0.5rem;
  display: block;
}

/* Médias */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-2);
}
.media img { width: 100%; object-fit: cover; }
.media--ratio-32 { aspect-ratio: 3 / 2; }
.media--ratio-23 { aspect-ratio: 2 / 3; }
.media--ratio-169 { aspect-ratio: 16 / 9; }
.media--ratio-32 img, .media--ratio-23 img, .media--ratio-169 img { height: 100%; }

/* Formulaires */
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 0 1.25rem;
}
.field { display: flex; flex-direction: column; gap: 0.4375rem; margin-bottom: var(--sp-5); }
.field__label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.field__req { color: var(--brand); }
.field__hint { font-size: 0.8125rem; color: var(--text-dim); }
.field__hint--block { display: block; margin-top: 0.25rem; }

.input, .textarea, .select {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.875rem;
  background: var(--bg-alt);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem; /* 16px : empêche le zoom automatique sur iOS */
  line-height: 1.5;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background-color 0.18s var(--ease);
}
.textarea { min-height: 150px; resize: vertical; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%23adadb6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 12px 8px;
  padding-right: 2.5rem;
}
.input::placeholder, .textarea::placeholder { color: #6a6a74; }
.input:hover, .textarea:hover, .select:hover { border-color: var(--text-dim); }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
  background: var(--bg);
}
.input:focus-visible, .textarea:focus-visible, .select:focus-visible { outline: none; }

.field--error .input, .field--error .textarea, .field--error .select { border-color: #ff6b5e; }
.field__error {
  display: none;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: #ff8378;
}
.field--error .field__error { display: flex; }

.form-note { font-size: 0.8125rem; color: var(--text-dim); }

.form-status {
  display: none;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1.125rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  margin-bottom: var(--sp-5);
  font-size: 0.9375rem;
}
.form-status[data-state='success'] { display: flex; border-color: rgba(60, 200, 120, 0.45); background: rgba(40, 160, 100, 0.12); }
.form-status[data-state='error'] { display: flex; border-color: rgba(255, 110, 95, 0.5); background: rgba(200, 60, 50, 0.12); }

.honeypot {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.honeypot input, .honeypot label { width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; font-size: 1px; }

/* Case à cocher du consentement */
.checkbox {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9375rem;
  color: var(--text-muted);
  cursor: pointer;
  padding-block: 0.125rem;
}
.checkbox input[type='checkbox'] {
  flex: none;
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  margin: 0;
  display: grid;
  place-content: center;
  background: var(--bg-alt);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.checkbox input[type='checkbox']::before {
  content: '';
  width: 13px;
  height: 13px;
  background: #fff;
  transform: scale(0);
  transition: transform 0.16s var(--ease);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.checkbox input[type='checkbox']:checked { background: var(--brand-solid); border-color: var(--brand-solid); }
.checkbox input[type='checkbox']:checked::before { transform: scale(1); }
.checkbox input[type='checkbox']:hover { border-color: var(--text-dim); }
.checkbox:hover { color: var(--text); }
.field--error .checkbox input[type='checkbox'] { border-color: #ff6b5e; }

.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
.btn[data-loading='true'] .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Fil d'Ariane */
.breadcrumb { font-size: 0.8125rem; color: var(--text-dim); padding-top: var(--sp-5); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 0.5rem; }
.breadcrumb li + li::before { content: '/'; color: var(--line-strong); }
.breadcrumb a { display: inline-block; padding-block: 0.25rem; }
.breadcrumb a:hover { color: var(--text); }

/* 6. EN-TÊTE */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header { background: rgba(8, 8, 10, 0.97); }
}
.header[data-scrolled='true'] { background: rgba(8, 8, 10, 0.94); border-bottom-color: var(--line); }

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.brand { display: flex; align-items: center; gap: 0.625rem; flex: none; }
.brand__mark { width: 30px; height: 30px; border-radius: 3px; flex: none; }
.brand__text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: #fff;
  line-height: 1;
}
.brand__dot { color: var(--brand); }
.brand:hover .brand__text { color: #fff; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 0.125rem; white-space: nowrap; list-style: none; margin: 0; padding: 0; }
.nav__list li { margin: 0; flex: none; }
.nav__link {
  display: block;
  white-space: nowrap;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-radius: var(--radius);
  position: relative;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.nav__link:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav__link[aria-current='page'] { color: #fff; }
.nav__link[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 0.75rem; right: 0.75rem; bottom: 0.125rem;
  height: 2px;
  background: var(--brand);
}
.header__cta { margin-left: 0.75rem; flex: none; }
.nav__cta { display: none; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.nav-toggle:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.04); }
.nav-toggle__bars { position: relative; width: 20px; height: 14px; }
.nav-toggle__bars span {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.28s var(--ease), opacity 0.2s var(--ease), top 0.28s var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded='true'] .nav-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] .nav-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .header__cta { display: none; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    margin: 0;
    background: rgba(8, 8, 10, 0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: clamp(1.5rem, 5vw, 2.5rem) clamp(1rem, 4vw, 2rem) 3rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s;
  }
  .nav[data-open='true'] { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link {
    padding: 1rem 0.25rem;
    font-size: 1.125rem;
    font-family: var(--font-display);
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav__link:hover { background: transparent; }
  .nav__link[aria-current='page'] { color: var(--brand); }
  .nav__link[aria-current='page']::after { display: none; }
  .nav__cta { display: block; margin-top: var(--sp-6); }
  .nav__cta .btn { width: 100%; }
}

body[data-nav-open='true'] { overflow: hidden; }

/* 7. PIED DE PAGE */
.footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 6vw, 4.5rem) var(--sp-6);
  margin-top: auto;
}
.footer::before {
  content: '';
  position: absolute;
  right: -8%;
  bottom: -40%;
  width: clamp(15rem, 30vw, 30rem);
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.2;
}
.footer__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
}
.footer__title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 var(--sp-4);
  font-family: var(--font-body);
}
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: 0.25rem; }
.footer__list a, .footer__link {
  display: inline-block;
  padding-block: 0.3125rem;   /* garantit une cible d’au moins 24 px de haut */
  color: var(--text-muted);
  font-size: 0.9375rem;
  transition: color 0.18s var(--ease);
  overflow-wrap: anywhere;
}
.footer__list a:hover, .footer__link:hover { color: var(--brand); }
.footer__tagline { color: var(--text-dim); font-size: 0.9375rem; max-width: 30ch; margin-top: var(--sp-4); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.socials { display: flex; gap: 0.625rem; }
.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text-muted);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease),
    background-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.social:hover { color: #fff; border-color: var(--brand-line); background: var(--brand-soft); transform: translateY(-2px); }
.social svg { width: 19px; height: 19px; }

/* 8. SECTIONS SPÉCIFIQUES */

/* --- Héros --- */
.hero {
  position: relative;
  min-height: min(92svh, 860px);
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
  isolation: isolate;
}
/* La photo ne porte plus le héros : elle devient une texture sombre, et le
   taureau enflammé — l'emblème du groupe — prend la place du sujet principal. */
.hero__bg { position: absolute; inset: 0; z-index: -3; }
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: grayscale(45%) brightness(0.5) contrast(1.12);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 70% at 74% 48%, rgba(150, 12, 12, 0.34), transparent 70%),
    linear-gradient(to top, var(--bg) 3%, rgba(8, 8, 10, 0.72) 46%, rgba(8, 8, 10, 0.86) 100%),
    linear-gradient(to right, rgba(8, 8, 10, 0.94) 0%, rgba(8, 8, 10, 0.6) 52%, rgba(8, 8, 10, 0.5) 100%);
}

/* Le taureau, emblème du groupe. L'image est posée à droite et déborde du
   cadre ; c'est un masque CSS radial qui la fond dans le noir de la page,
   sans bord visible et sans avoir à détourer les flammes. */
.hero__bull {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  right: 0;
  top: 4%;
  bottom: 6%;
  right: -3%;
  width: min(70%, 70rem);
  mix-blend-mode: screen;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(74% 82% at 68% 46%, #000 24%, rgba(0, 0, 0, 0.42) 58%, transparent 94%);
  mask-image: radial-gradient(74% 82% at 68% 46%, #000 24%, rgba(0, 0, 0, 0.42) 58%, transparent 94%);
}
.hero__bull img { width: 100%; height: 100%; object-fit: contain; object-position: center; }

@media (max-width: 1040px) {
  .hero__bull {
    /* Sur téléphone, le texte occupe toute la largeur : le taureau devient
       une ambiance derrière la page plutôt qu'un objet posé dessus, pour ne
       jamais gêner la lecture d'un titre ou d'un paragraphe. */
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: auto;
    opacity: 0.32;
    -webkit-mask-image: radial-gradient(78% 56% at 50% 34%, #000 18%, rgba(0, 0, 0, 0.42) 54%, transparent 94%);
    mask-image: radial-gradient(78% 56% at 50% 34%, #000 18%, rgba(0, 0, 0, 0.42) 54%, transparent 94%);
  }
  .hero::after {
    background:
      radial-gradient(70% 40% at 50% 22%, rgba(150, 12, 12, 0.26), transparent 74%),
      linear-gradient(to top, var(--bg) 6%, rgba(8, 8, 10, 0.92) 42%, rgba(8, 8, 10, 0.62) 100%);
  }
}

.hero__inner { width: 100%; }
.hero__title { color: #fff; margin-bottom: var(--sp-5); }
.hero__title span { display: block; }
.hero__title .hero__title-sub {
  font-size: clamp(0.9rem, 2vw, 1.375rem);
  letter-spacing: 0.34em;
  color: var(--brand);
  margin-top: 0.75rem;
}
.hero__text { max-width: 54ch; color: #dcdce2; font-size: clamp(1rem, 1.7vw, 1.1875rem); }
.hero__actions { margin-top: clamp(1.75rem, 3.5vw, 2.5rem); }
.hero__stats {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

/* Téléphone tenu à l'horizontale : on évite un héros plus haut que l'écran */
@media (orientation: landscape) and (max-height: 540px) {
  .hero {
    min-height: 0;
    padding-top: calc(var(--header-h) + 1.75rem);
    padding-bottom: 2.25rem;
  }
  .hero__stats { margin-top: 1.75rem; }
  .page-hero { padding-top: calc(var(--header-h) + 2rem); }
}

.nowrap { white-space: nowrap; }

/* --- Marque taureau ---------------------------------------------------
   L'emblème du groupe, décliné en filigrane sur tout le site. L'image est
   sur fond noir : le mode « screen » ne laisse apparaître que les flammes,
   qui se fondent dans le fond sombre sans aucun détourage ni transparence.
   Pour changer l'emblème partout, il suffit de remplacer --bull-img. */
:root { --bull-img: url('../img/bull-art-420.jpg'); }
@supports (background-image: image-set(url('a.webp') type('image/webp'))) {
  :root {
    --bull-img: image-set(
      url('../img/bull-art-420.webp') type('image/webp'),
      url('../img/bull-art-420.jpg') type('image/jpeg')
    );
  }
}

.page-hero::after,
.cta-band::after,
.footer::before,
.section--error::before,
.empty-state::before {
  content: '';
  pointer-events: none;
  mix-blend-mode: screen;
  background: var(--bull-img) no-repeat center / cover;
  aspect-ratio: 1380 / 1134;
  -webkit-mask-image: radial-gradient(closest-side, #000 34%, rgba(0, 0, 0, 0.5) 62%, transparent 84%);
  mask-image: radial-gradient(closest-side, #000 34%, rgba(0, 0, 0, 0.5) 62%, transparent 84%);
}

/* Héros interne (pages secondaires) */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 5.5rem));
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -8%;
  width: min(620px, 80vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(240, 20, 20, 0.2), transparent 68%);
  pointer-events: none;
  z-index: -1;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: 50%;
  right: clamp(-3.5rem, -2vw, -0.5rem);
  transform: translateY(-50%);
  width: clamp(11rem, 26vw, 23rem);
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.65;
}
@media (max-width: 860px) {
  .page-hero::after { opacity: 0.24; right: -16%; width: 21rem; }
}
.page-hero__title { color: #fff; }
.page-hero__title--sm { font-size: clamp(2.25rem, 6vw, 3.75rem); }
.page-hero .lead { margin-top: var(--sp-5); }

/* Page 404 */
.section--error {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 5rem));
  min-height: 62svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.section--error::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: clamp(20rem, 60vw, 44rem);
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.4;
}
.error-title { font-size: clamp(3rem, 12vw, 7rem); color: #fff; }
.text-left { text-align: left; }

/* --- Membres --- */
.member { display: flex; flex-direction: column; }
.member__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 2 / 3;
  background: var(--surface-2);
}
.member__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.06);
  transition: transform 0.55s var(--ease), filter 0.45s var(--ease);
}
.member:hover .member__media img, .member:focus-within .member__media img {
  transform: scale(1.045);
  filter: grayscale(35%) contrast(1.02);
}
.member__media::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(to top, rgba(8, 8, 10, 0.92), transparent);
  pointer-events: none;
}
.member__badge {
  position: absolute;
  left: 0; bottom: 0;
  z-index: 1;
  padding: 1rem 1.125rem;
}
.member__name { font-size: clamp(1.35rem, 2.6vw, 1.75rem); color: #fff; }
.member__role {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-top: 0.3125rem;
}
.member__bio { margin-top: var(--sp-4); color: var(--text-muted); font-size: 0.9375rem; }

/* --- Répertoire --- */
.repertoire-card { height: 100%; display: flex; flex-direction: column; }
.repertoire-card__genre { color: #fff; margin-bottom: var(--sp-2); }
.repertoire-card__meta {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: var(--sp-4);
}

/* --- Références --- */
.ref-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.ref-card figcaption { padding: 1.25rem 1.25rem 1.375rem; }
.ref-card__title { font-size: 1.125rem; }
.ref-card__meta { font-size: 0.875rem; color: var(--text-dim); margin-top: 0.3125rem; }
.ref-card img { transition: transform 0.6s var(--ease); }
.ref-card:hover img { transform: scale(1.04); }

/* --- Agenda --- */
.dates { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.dates li { margin: 0; }
.date-row {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  padding: clamp(1.125rem, 2.6vw, 1.625rem) 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s var(--ease);
}
.date-row:hover { background: rgba(255, 255, 255, 0.02); }
.date-row__day {
  text-align: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.5rem 0.25rem;
  background: var(--surface);
}
.date-row__d { font-family: var(--font-display); font-size: 1.625rem; line-height: 1; color: #fff; display: block; }
.date-row__m {
  font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand); margin-top: 0.25rem; display: block; font-weight: 700;
}
.date-row__y { font-size: 0.625rem; color: var(--text-dim); display: block; margin-top: 0.125rem; }
.date-row__title { font-size: 1.0625rem; font-weight: 600; color: var(--text); }
.date-row__meta { font-size: 0.875rem; color: var(--text-dim); margin-top: 0.25rem; }
@media (max-width: 640px) {
  .date-row { grid-template-columns: 68px 1fr; row-gap: var(--sp-4); }
  .date-row__action { grid-column: 1 / -1; }
  .date-row__action .btn { width: 100%; }
}

.empty-state {
  position: relative;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  background: rgba(255, 255, 255, 0.015);
  isolation: isolate;
  overflow: hidden;
}
.empty-state::before {
  display: block;
  width: 104px;
  margin: 0 auto 0.5rem;
  background-image: url('../img/bull-art-420.jpg'); /* version légère */
}
.empty-state__title { color: #fff; margin-bottom: var(--sp-3); }

/* --- Galerie --- */
.gallery {
  display: grid;
  gap: clamp(0.5rem, 1.2vw, 0.875rem);
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-2);
  aspect-ratio: 3 / 2;
  border: 0;
  padding: 0;
  cursor: zoom-in;
  width: 100%;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease), opacity 0.3s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); opacity: 0.85; }
.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease);
  pointer-events: none;
}
.gallery__item:hover::after { border-color: var(--brand-line); }

/* Visionneuse */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(4, 4, 6, 0.93); }
.lightbox__inner {
  position: relative;
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(0.75rem, 4vw, 3.5rem);
}
.lightbox__figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; gap: var(--sp-3); align-items: center; }
.lightbox__img {
  max-width: 100%;
  max-height: calc(100svh - 9rem);
  width: auto;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox__caption { font-size: 0.875rem; color: var(--text-muted); text-align: center; max-width: 60ch; }
.lightbox__btn {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  background: rgba(20, 20, 26, 0.85);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.lightbox__btn:hover { background: var(--brand-solid); border-color: var(--brand-solid); color: #fff; }
.lightbox__btn:active { transform: scale(0.95); }
.lightbox__close { top: clamp(0.75rem, 2vw, 1.25rem); right: clamp(0.75rem, 2vw, 1.25rem); }
.lightbox__prev { left: clamp(0.5rem, 2vw, 1.25rem); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: clamp(0.5rem, 2vw, 1.25rem); top: 50%; transform: translateY(-50%); }
.lightbox__prev:active, .lightbox__next:active { transform: translateY(-50%) scale(0.95); }
.lightbox__count {
  position: absolute;
  bottom: clamp(0.75rem, 2vw, 1.25rem);
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8125rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}
@media (max-width: 560px) {
  .lightbox__prev { left: 0.5rem; }
  .lightbox__next { right: 0.5rem; }
}

/* Lecteur YouTube différé (aucune requête tierce avant le clic) */
.yt-facade {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}
.yt-facade > img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transition: opacity 0.3s var(--ease), transform 0.6s var(--ease); }
.yt-facade > iframe { width: 100%; height: 100%; border: 0; display: block; }
.yt-facade__btn {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 1.5rem;
}
.yt-facade__play {
  display: grid;
  place-items: center;
  width: 74px; height: 52px;
  background: var(--brand-solid);
  border-radius: 10px;
  transition: transform 0.22s var(--ease), background-color 0.22s var(--ease);
}
.yt-facade__play svg { width: 30px; height: 30px; }
.yt-facade__label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}
.yt-facade__btn:hover .yt-facade__play,
.yt-facade__btn:focus-visible .yt-facade__play { transform: scale(1.08); background: var(--brand-hover); }
.yt-facade:hover > img { opacity: 0.68; }
.yt-facade__btn:focus-visible { outline-offset: -4px; }
.yt-now { min-height: 1.5em; }

/* Liste des vidéos (page Médias) — cartes sans miniature distante : aucune
   requête vers YouTube avant le clic. Le taureau sert de fond de vignette. */
.video-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}
.video-head__title { font-size: 1.375rem; margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter {
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.375rem 0.875rem;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.filter:hover { border-color: var(--brand-line); color: var(--text); }
.filter[aria-pressed='true'] { background: var(--brand-solid); border-color: var(--brand-solid); color: #fff; }

.video-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(0.75rem, 1.6vw, 1.125rem);
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .video-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.video-card {
  margin: 0;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease);
}
.video-card:hover, .video-card:focus-within { border-color: var(--brand-line); transform: translateY(-3px); }
.video-card.is-playing { border-color: var(--brand); }
.video-card__btn {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.video-card__btn:focus-visible { outline-offset: -3px; }
.video-card__thumb {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background: #000;
  isolation: isolate;
  overflow: hidden;
}
.video-card__thumb::before {
  content: '';
  position: absolute;
  inset: -12%;
  background: var(--bull-img) no-repeat center / cover;
  mix-blend-mode: screen;
  opacity: 0.28;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 78%);
          mask-image: radial-gradient(ellipse at center, #000 35%, transparent 78%);
  transition: opacity 0.3s var(--ease), transform 0.6s var(--ease);
  z-index: -1;
}
.video-card:hover .video-card__thumb::before,
.video-card.is-playing .video-card__thumb::before { opacity: 0.45; transform: scale(1.04); }
.video-card__play {
  display: grid;
  place-items: center;
  width: 52px; height: 36px;
  background: var(--brand-solid);
  border-radius: 8px;
  color: #fff;
  transition: transform 0.22s var(--ease), background-color 0.22s var(--ease);
}
.video-card__play svg { width: 20px; height: 20px; }
.video-card__btn:hover .video-card__play,
.video-card__btn:focus-visible .video-card__play { transform: scale(1.08); background: var(--brand-hover); }
.video-card.is-playing .video-card__play { background: #fff; color: var(--brand-solid); }
.video-card__dur {
  position: absolute;
  right: 0.5rem; bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #fff;
  background: rgba(0, 0, 0, 0.78);
  border-radius: 3px;
  padding: 0.125rem 0.375rem;
}
.video-card__body { display: block; padding: 0.875rem 1rem 1rem; }
.video-card__kind {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.25rem;
}
.video-card__title {
  display: block;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.video-card__meta { display: block; font-size: 0.875rem; color: var(--text-dim); margin-top: 0.25rem; }
.video-card__ext {
  position: absolute;
  top: 0.5rem; right: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(8, 8, 10, 0.72);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0.125rem 0.4375rem;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.2s var(--ease), color 0.2s var(--ease);
}
.video-card:hover .video-card__ext,
.video-card__ext:focus-visible { opacity: 1; }
.video-card__ext:hover { color: #fff; }
@media (hover: none) { .video-card__ext { opacity: 1; } }

/* --- Pages d'atterrissage (bars, collectivités) --- */
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}
.page-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.42;
  filter: saturate(0.85);
}
.page-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 10, 0.96) 0%, rgba(8, 8, 10, 0.78) 48%, rgba(8, 8, 10, 0.35) 100%),
    linear-gradient(180deg, rgba(8, 8, 10, 0.5), rgba(8, 8, 10, 0.2) 40%, var(--bg) 100%);
}
.page-hero--photo .page-hero__title { font-size: clamp(2.75rem, 7.5vw, 5.25rem); max-width: 14ch; }
.page-hero__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: var(--sp-5); padding: 0; list-style: none; }
.page-hero__tags li { margin: 0; }
.page-hero__proof {
  display: flex; flex-wrap: wrap; gap: clamp(1rem, 3vw, 2.5rem);
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
}
.proof { display: flex; align-items: center; gap: 0.625rem; margin: 0; font-size: 0.875rem; color: var(--text-muted); }
.proof__icon { width: 18px; height: 18px; color: var(--brand); flex: none; }

/* Deux colonnes « ce que ça vous apporte / ce que nous apportons » */
.split { display: grid; gap: clamp(1rem, 2.4vw, 1.75rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.split__title { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); margin-bottom: var(--sp-4); font-weight: 700; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.5rem 0; border-top: 1px solid var(--line); }
.check-list li:first-child { border-top: 0; }
.check-list svg { width: 18px; height: 18px; flex: none; margin-top: 0.2rem; color: var(--brand); }

/* Aides au financement */
.aid { position: relative; overflow: hidden; }
.aid__label { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); font-weight: 700; }
.aid__name { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 1.875rem); letter-spacing: 0.02em; color: #fff; margin: 0.375rem 0 0; }
.aid__figure { font-family: var(--font-display); font-size: clamp(2.75rem, 6vw, 4rem); line-height: 1; color: var(--brand); margin: var(--sp-5) 0 0; }
.aid__figure small { font-family: var(--font-body); font-size: 0.9375rem; font-weight: 600; color: var(--text-muted); display: block; margin-top: 0.375rem; letter-spacing: 0; }
.aid .spec-list { margin-top: var(--sp-5); }
.aid__link { display: inline-block; margin-top: var(--sp-5); font-size: 0.875rem; }

/* Étapes */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1rem, 2.4vw, 1.75rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.steps li { margin: 0; position: relative; padding-top: 3.25rem; }
.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-display);
  font-size: 2.25rem; line-height: 1;
  color: var(--brand);
}
.steps li::after {
  content: '';
  position: absolute; top: 1.125rem; left: 3.25rem; right: 0;
  height: 1px; background: var(--line-strong);
}
.steps li:last-child::after { display: none; }
.steps__title { font-size: 1.0625rem; font-weight: 600; color: var(--text); margin: 0 0 0.375rem; }
.steps p { font-size: 0.9375rem; color: var(--text-muted); }

/* Citation client */
.quote {
  position: relative;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 3rem);
  border-left: 3px solid var(--brand);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.quote p { font-family: var(--font-display); font-size: clamp(1.5rem, 3.4vw, 2.375rem); line-height: 1.15; letter-spacing: 0.01em; color: #fff; margin: 0; }
.quote cite { display: block; margin-top: var(--sp-4); font-style: normal; font-size: 0.875rem; color: var(--text-dim); }
.quote cite strong { color: var(--text); font-weight: 600; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.125rem 0;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  flex: none;
  font-family: var(--font-display);
  font-size: 1.5rem; line-height: 1;
  color: var(--brand);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--brand); }
.faq details > p, .faq details > ul { padding: 0 0 1.25rem; color: var(--text-muted); max-width: 70ch; }
.faq details > ul { padding-left: 1.25rem; }

/* Cartes « pour qui » (accueil) */
.audience { padding: 0; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.audience__media { aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.audience__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.audience:hover .audience__media img { transform: scale(1.04); }
.audience__body { padding: 1.375rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.audience__title { font-size: 1.375rem; margin: 0; }
.audience__cta { margin-top: auto; padding-top: 0.75rem; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); }
.audience__cta::after { content: ' →'; }

/* Bandeau « téléchargez le dossier » */
.download { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-5); }
.download__meta { font-size: 0.875rem; color: var(--text-dim); margin-top: 0.25rem; }
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: none;
  padding: 0.625rem 1rem calc(0.625rem + env(safe-area-inset-bottom));
  background: rgba(8, 8, 10, 0.92);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.sticky-cta .btn { flex: 1; justify-content: center; }
@media (max-width: 760px) {
  .sticky-cta { display: flex; gap: 0.5rem; }
  body:has(.sticky-cta) { padding-bottom: 4.5rem; }
}

/* Visuel de marque */
.artwork { max-width: 420px; }
.artwork img {
  width: 100%;
  border: 1px solid var(--brand-line);
  border-radius: var(--radius);
}
.artwork figcaption {
  font-size: 0.8125rem;
  color: var(--text-dim);
  margin-top: 0.75rem;
  max-width: 34ch;
}

/* Vidéo */
.video-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}
.video-frame video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.video-fallback { padding: 1.5rem; }

/* --- Fiche technique --- */
.spec-list { list-style: none; margin: 0; padding: 0; }
.spec-list li {
  display: flex;
  gap: 0.75rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
}
.spec-list li:last-child { border-bottom: 0; }
.spec-list li::before { content: ''; width: 6px; height: 6px; margin-top: 0.6rem; background: var(--brand); flex: none; border-radius: 1px; }
.spec-list strong { color: var(--text); font-weight: 600; }

/* Plan de scène — construit en HTML/CSS : le texte reste lisible et
   agrandissable à toutes les tailles d'écran, et se réorganise sur mobile. */
.stage-plot {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(1rem, 3vw, 2rem);
}
.stage-plot__edge {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0;
}
.stage-plot__edge::before, .stage-plot__edge::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.stage-plot__edge--public { color: var(--brand); }
.stage-plot__edge--public::before, .stage-plot__edge--public::after {
  background: linear-gradient(to right, transparent, var(--brand-line), transparent);
}
.stage-plot__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-block: 1.25rem;
}
.stage-plot__pos {
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
  background: var(--bg-alt);
  padding: 0.875rem 1rem;
}
.stage-plot__pos--lead { background: rgba(240, 20, 20, 0.08); border-color: var(--brand-line); }
.stage-plot__pos--spacer { border: 1px dashed var(--line); border-left-width: 1px; background: transparent; }
.stage-plot__name { font-family: var(--font-display); font-size: 1.125rem; color: #fff; margin: 0; letter-spacing: 0.03em; }
.stage-plot__role {
  font-size: 0.625rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand); margin: 0.25rem 0 0;
}
.stage-plot__gear { font-size: 0.8125rem; color: var(--text-muted); margin: 0.5rem 0 0; }
.stage-plot__zone { font-size: 0.6875rem; color: var(--text-dim); margin: 0.5rem 0 0; letter-spacing: 0.06em; }
.stage-plot__monitors {
  display: flex; align-items: center; justify-content: center; gap: 0.625rem;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim); margin: 0 0 1.25rem;
}
.stage-plot__wedges { display: flex; gap: 0.375rem; }
.stage-plot__wedges span {
  width: 22px; height: 9px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  clip-path: polygon(0 0, 100% 0, 86% 100%, 14% 100%);
}
@media (max-width: 760px) {
  .stage-plot__grid { grid-template-columns: 1fr; }
  .stage-plot__pos--spacer { display: none; }
}

/* --- Contact --- */
.contact-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: var(--sp-4); align-items: flex-start; padding: var(--sp-4) 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item__icon {
  flex: none;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--brand-line);
  border-radius: var(--radius);
  color: var(--brand);
  background: var(--brand-soft);
}
.contact-item__icon svg { width: 17px; height: 17px; }
.contact-item__label { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); }
.contact-item__value {
  font-size: clamp(0.9375rem, 3.2vw, 1.0625rem);
  font-weight: 600;
  color: var(--text);
  margin-top: 0.125rem;
  display: block;
  line-height: 1.45;
}
a.contact-item__value:hover { color: var(--brand); }

/* --- Appel à l'action de bas de page --- */
.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(120deg, rgba(240, 20, 20, 0.14), transparent 55%),
    var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-band::after {
  content: '';
  position: absolute;
  top: 50%;
  right: clamp(-5rem, -4vw, -2rem);
  transform: translateY(-50%);
  width: clamp(9rem, 20vw, 19rem);
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.48;
}
@media (max-width: 900px) { .cta-band::after { opacity: 0.2; right: -24%; } }
.cta-band__inner { display: flex; flex-wrap: wrap; gap: var(--sp-6); align-items: center; justify-content: space-between; }
.cta-band__text { max-width: 46ch; }

/* 9. ANIMATIONS
   Le masquage initial n'est appliqué que si le JavaScript a démarré (.js).
   Si le script ne se charge pas, un filet de sécurité (.reveal-off, posé
   après 2,5 s par le script en ligne de l'en-tête) réaffiche tout : aucun
   contenu ne peut rester invisible. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}
.js [data-reveal][data-revealed='true'],
.js.reveal-off [data-reveal] { opacity: 1; transform: none; will-change: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .member:hover .member__media img, .gallery__item:hover img { transform: none; }
}

/* Mise en page générale : pied de page collé en bas */
body { min-height: 100svh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }

/* Mode contrastes forcés (Windows) */
@media (forced-colors: active) {
  .btn, .card, .chip, .social, .nav-toggle { border: 1px solid ButtonText; }
  .nav__link[aria-current='page']::after,
  .eyebrow::before { background: Highlight; forced-color-adjust: none; }
  .hero::after { display: none; }
}

/* 10. IMPRESSION */
@media print {
  /* Bascule de tous les jetons de couleur vers un thème « encre sur papier » :
     tout ce qui dérive des variables suit automatiquement. */
  :root {
    color-scheme: light;
    --bg: #fff;
    --bg-alt: #fff;
    --surface: #fff;
    --surface-2: #fff;
    --text: #000;
    --text-muted: #333;
    --text-dim: #555;
    --line: #ddd;
    --line-strong: #bbb;
    --brand: #b71414;
    --brand-solid: #b71414;
    --brand-line: #d8a0a0;
    --brand-soft: #faeeee;
    --shadow: none;
    --shadow-lg: none;
  }

  /* Aucune transition ni animation : sinon un bloc peut être figé au milieu de
     son apparition et ressortir à moitié transparent. */
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    box-shadow: none !important;
  }

  .header, .footer, .nav-toggle, .skip-link, .lightbox, .cta-band,
  .breadcrumb, .btn-row, .gallery, .video-frame, .yt-facade, .video-grid, .filters, .yt-now, .socials,
  .hero__bg { display: none !important; }

  html { scrollbar-gutter: auto; background: #fff; }
  body { background: #fff; color: #000; font-size: 11pt; line-height: 1.5; }
  a { color: #000; }

  /* Blancs codés en dur dans le thème sombre */
  .page-hero__title, .hero__title, .hero__title-sub, .member__name,
  .stat__value, .empty-state__title, .error-title, .brand__text,
  .repertoire-card__genre, .stage-plot__name { color: #000 !important; }

  /* Les blocs à apparition ne doivent jamais rester invisibles sur papier */
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }

  h1 { font-size: 26pt; }
  h2 { font-size: 17pt; margin-top: 14pt; }
  h3 { font-size: 13pt; }

  .section { padding-block: 10pt; }
  .section--line { border-top: 0; }
  .hero, .page-hero { padding-top: 0; padding-bottom: 8pt; border: 0; min-height: 0; }
  .hero::after, .page-hero::before { display: none; }

  .card, .stage-plot, .stage-plot__pos, .empty-state { border-color: #ccc; }
  .stage-plot__pos--lead { background: #f4f4f4; }
  .card, .member, .stage-plot__pos, .date-row { break-inside: avoid; }
  .section-head { break-after: avoid; }
  .member__media { max-height: 70mm; }
  .member__media::after { display: none; }
  .member__badge { position: static; padding: 0.5rem 0 0; }

  /* L'adresse e-mail doit rester exploitable une fois la page imprimée */
  .prose a[href^="http"]::after { content: ' (' attr(href) ')'; font-size: 9pt; color: #555; }
}
