/* ============================================================
   Instants Classiques de Saône & Loire
   Design system — édition « luxe éditorial »
   Charte issue de l'affiche : bleu nuit étoilé, or, orange.
   Tout se pilote depuis :root.
   ============================================================ */

:root {
  /* Palette */
  /* Palette assouplie : bleus un peu désaturés, or antique, orange terracotta */
  --navy-950: #0a1824;
  --navy-900: #10212e;
  --navy-800: #182c3b;
  --navy-700: #234559;
  --navy-blue: #2b567a;
  --gold:      #b8935a;
  --gold-soft: #d6bd8b;
  --gold-deep: #8c6a2e;
  --orange:    #c97c50;
  --orange-soft: #d69a72;
  --cream:     #efe8d9;
  --paper:     #f6f0e5;
  --ink:       #222a30;
  --ink-soft:  #5d6169;

  /* Rôles */
  --bg: var(--paper);
  --text: var(--ink);
  --text-soft: var(--ink-soft);
  --accent: var(--gold);
  --accent-2: var(--orange);
  --hairline: rgba(140, 106, 46, .24);
  --hairline-light: rgba(255, 255, 255, .16);

  /* Typo — une seule famille premium, façon Apple :
     SF Pro sur Apple, Inter en secours ailleurs (rendu quasi identique). */
  --font-sans:   -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-serif:  var(--font-sans);
  --font-script: var(--font-sans);

  /* Rythme */
  --maxw: 1240px;
  --gutter: clamp(22px, 5vw, 64px);
  --radius: 4px;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --dur: .8s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  font-family: var(--font-sans);
  font-weight: 400; font-size: 16px;
  color: var(--text); background: var(--bg);
  line-height: 1.7; letter-spacing: .01em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--navy-900); }

h1, h2, h3, h4 {
  font-family: var(--font-sans); font-weight: 600; line-height: 1.08;
  letter-spacing: -.022em; color: inherit;
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* Micro-label doré (small-caps large) */
.eyebrow {
  font-family: var(--font-sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .32em; text-transform: uppercase; color: var(--accent-2);
  display: inline-flex; align-items: center; gap: .8em; margin-bottom: 22px;
}
/* Plus de trait décoratif avant les intitulés (partout) */
.eyebrow::before { display: none; }
.eyebrow.centered { justify-content: center; }
/* Page « Le festival » : chaque section nettement délimitée */
body.page-festival .section { border-top: 1px solid var(--hairline); }
/* Mot de la directrice remonté et visible dès l'arrivée (bandeau inchangé) */
body.page-festival .section-intro { padding-top: clamp(40px, 5vw, 60px); }
body.page-festival .section-intro .section-head { margin-bottom: clamp(26px, 3vw, 38px); }
.eyebrow-light { color: var(--gold-soft); }
.eyebrow-light::before { background: var(--gold-soft); }

/* ---------- Grain global ---------- */
.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
  --pad: .95em 2em;
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: .6em; padding: var(--pad);
  font-family: var(--font-sans); font-weight: 600; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: 2px; cursor: pointer;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease), background .5s var(--ease), transform .5s var(--ease);
  touch-action: manipulation;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.btn:hover::after { transform: scaleX(1); transform-origin: left; }

.btn-primary { background: var(--accent-2); color: #fff; }
.btn-primary::after { background: var(--navy-800); }
.btn-primary:hover { color: #fff; border-color: var(--navy-800); }

.btn-ghost { background: transparent; border-color: var(--hairline-light); color: #fff; }
.btn-ghost::after { background: rgba(255,255,255,.1); }
.btn-ghost:hover { border-color: var(--gold-soft); }

.btn-nav {
  padding: .62em 1.25em; font-size: .72rem; letter-spacing: .12em;
  background: transparent; border-color: var(--gold); color: var(--gold-soft);
}
.btn-nav::after { background: var(--gold); }
.btn-nav:hover { color: var(--navy-900); border-color: var(--gold); }

/* ============================================================
   PAGE D'ACCUEIL — tous les boutons en or
   ============================================================ */
.home .btn-primary { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }
.home .btn-primary::after { background: var(--gold-deep); }
.home .btn-primary:hover { color: var(--navy-900); border-color: var(--gold-deep); }

.home .btn-ghost { background: transparent; border-color: var(--gold); color: var(--gold-soft); }
.home .btn-ghost::after { background: rgba(184, 147, 90, .18); }
.home .btn-ghost:hover { color: #fff; border-color: var(--gold-soft); }

/* CTA sticky mobile en or sur l'accueil */
.home .sticky-cta { background: var(--gold); color: var(--navy-900); box-shadow: 0 14px 34px -14px rgba(150, 118, 70, .45); }

/* Lien fléché à soulignement animé */
.link-arrow {
  position: relative; display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-sans); font-weight: 600; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2);
  padding-bottom: 4px;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }
.link-arrow svg { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
/* Bandeau bleu nuit, fixe (sticky) et constant — la page défile dessous */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy-950);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: box-shadow .5s var(--ease);
}
.site-header.scrolled { box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .6); }
.nav-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 92px; gap: 20px;
}
.brand { display: flex; align-items: center; justify-self: start; }
.brand-logo { height: 62px; width: auto; display: block; transition: opacity .4s var(--ease); }
.brand:hover .brand-logo { opacity: .82; }
.main-nav { justify-self: center; }
.nav-actions { display: flex; align-items: center; gap: 14px; justify-self: end; }

.nav-links { list-style: none; display: flex; align-items: center; gap: 28px; padding: 0; }
.nav-links a {
  position: relative; font-size: .74rem; font-weight: 500; letter-spacing: .11em;
  text-transform: uppercase; color: rgba(255, 255, 255, .88); padding: 6px 0;
  transition: color .4s var(--ease);
  text-shadow: 0 1px 12px rgba(6, 21, 44, .4);
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--gold-soft); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav-links a:not(.btn):hover { color: #fff; }
.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a:not(.btn).active { color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 1.5px; background: #fff; border-radius: 2px; transition: .4s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav-toggle[aria-expanded="true"] span { background: #fff; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; margin-top: -92px;
  text-align: center; color: #fff;
  background: var(--navy-950); overflow: hidden;
}
/* Écran d'accueil : uniquement le titre, plein écran. La photo est confinée ici. */
.hero-cover {
  position: relative; z-index: 2; min-height: 100svh; overflow: hidden;
  padding: 112px 0 96px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
/* Suite (compteur, affiche, boutons) — sur fond bleu uni, bien détachée de la photo */
.hero-more {
  position: relative; z-index: 2; padding: 128px 0 96px;
  display: flex; flex-direction: column; align-items: center;
}
/* Indicateur « descendre » */
.hero-scroll {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 9px;
  text-decoration: none; font-size: .68rem; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(255, 255, 255, .68); transition: color .3s var(--ease);
}
.hero-scroll:hover { color: var(--gold-soft); }
.hero-scroll-arrow { font-size: 1.15rem; animation: heroBob 1.8s ease-in-out infinite; }
@keyframes heroBob {
  0%, 100% { transform: translateY(0); opacity: .55; }
  50%      { transform: translateY(7px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .hero-scroll-arrow { animation: none; } }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }

/* Fond photo du hero (parallax au scroll) */
.hero-bg {
  position: absolute; left: 0; right: 0; top: -10vh; height: 130vh; z-index: 0;
  background: url("../assets/hero-bg.jpg?v=73") center 45% / cover no-repeat;
  will-change: transform; transform: translate3d(0, 0, 0);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,24,36,.82) 0%, rgba(10,24,36,.58) 44%, rgba(10,24,36,.9) 100%);
}
/* Repli si le shader ne se lance pas */
.hero-canvas-fallback {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 90% at 22% 12%, rgba(43, 86, 122,.6), transparent 55%),
    radial-gradient(120% 90% at 85% 88%, rgba(201, 124, 80,.28), transparent 55%),
    linear-gradient(165deg, var(--navy-950), var(--navy-900) 55%, #05101f);
}
.hero-cover::before { /* voile pour lisibilité, uniquement sur la photo */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(75% 65% at 50% 50%, transparent 30%, rgba(4,12,24,.55) 100%);
}
.stars {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .7;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 22%, rgba(255,255,255,.9), transparent),
    radial-gradient(1.4px 1.4px at 28% 62%, rgba(255,255,255,.6), transparent),
    radial-gradient(1.8px 1.8px at 42% 30%, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 58% 72%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.4px 1.4px at 72% 26%, rgba(255,255,255,.75), transparent),
    radial-gradient(1px 1px at 84% 56%, rgba(255,255,255,.6), transparent),
    radial-gradient(1.8px 1.8px at 92% 80%, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 34% 86%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 50% 14%, rgba(255,255,255,.5), transparent);
  animation: twinkle 7s ease-in-out infinite alternate;
}
.stars-soft { opacity: .3; }
@keyframes twinkle { from { opacity: .45; } to { opacity: .9; } }

.hero-inner { position: relative; z-index: 2; max-width: 960px; margin-inline: auto; }
.hero-kicker {
  font-size: .74rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 26px; font-weight: 500;
}
.hero-script {
  font-family: var(--font-sans); color: var(--gold-soft);
  font-size: clamp(.82rem, 2vw, 1rem); font-weight: 500; line-height: 1;
  letter-spacing: .42em; text-transform: uppercase; margin-bottom: 22px;
  padding-left: .42em; /* compense le tracking pour rester centré */
}
.hero-title {
  font-size: clamp(2.6rem, 8vw, 5.6rem); font-weight: 600; letter-spacing: -.03em; margin-top: 0;
}
.hero-title span { display: block; color: var(--gold-soft); font-weight: 400; }

/* Logos institutionnels sous le titre (accueil) — posés directement sur la photo.
   Empilés : Département en haut, Bourbon-Lancy en dessous (plus grand). */
.hero-institutions {
  position: absolute; z-index: 3; right: clamp(14px, 3vw, 40px); bottom: clamp(14px, 3vw, 34px);
  display: flex; flex-direction: row; align-items: flex-end; gap: 14px; margin: 0;
}
.hero-inst { display: inline-flex; align-items: flex-end; }
.hero-inst img {
  display: block; width: auto;
  border-radius: 12px;                 /* arrondit et rogne les coins blancs des badges */
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, .55));
}
.hero-inst--dept img { height: 42px; }
.hero-inst--bl img { height: 64px; }
@media (max-width: 480px) {
  .hero-inst--dept img { height: 32px; }
  .hero-inst--bl img { height: 50px; }
}

.hero-dates {
  font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.3rem, 3vw, 1.9rem);
  letter-spacing: .28em; text-transform: uppercase; margin-bottom: 8px;
}
.hero-dates span { color: var(--orange-soft); }
.hero-lieux { font-size: .8rem; letter-spacing: .22em; color: rgba(255,255,255,.72); text-transform: uppercase; }
.hero-desc { max-width: 540px; margin: 26px auto 0; color: rgba(255,255,255,.78); font-size: 1.02rem; line-height: 1.75; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }

/* Affiche du festival dans le hero */
.hero-affiche {
  display: block; width: clamp(300px, 46vw, 460px); margin: 40px auto 4px;
  border-radius: 6px; overflow: hidden;
  border: 1px solid rgba(184, 147, 90, .55);
  box-shadow: 0 34px 66px -26px rgba(0, 0, 0, .7);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.hero-affiche img { display: block; width: 100%; height: auto; }
.hero-affiche:hover { transform: translateY(-5px); box-shadow: 0 44px 78px -28px rgba(0, 0, 0, .78); }

/* Indice « feuilleter » sur l'affiche */
.hero-affiche { position: relative; }
.affiche-hint {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 34px 12px 13px; color: #fff; font-size: .84rem; font-weight: 600;
  background: linear-gradient(180deg, transparent, rgba(6, 14, 24, .88));
  opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.affiche-hint svg { width: 17px; height: 17px; }
.hero-affiche:hover .affiche-hint,
.hero-affiche:focus-visible .affiche-hint { opacity: 1; transform: none; }
/* Au doigt, pas de survol : l'indice reste visible */
@media (hover: none) { .affiche-hint { opacity: 1; transform: none; } }

/* Livret feuilletable A4, intégré dans le hero (une page à la fois) */
.hero-livret { width: clamp(280px, 44vw, 430px); margin: 38px auto 4px; }
.hlv-frame {
  position: relative; aspect-ratio: 800 / 1131; border-radius: 6px; overflow: hidden;
  border: 1px solid rgba(184, 147, 90, .55); background: #fff;
  box-shadow: 0 34px 66px -26px rgba(0, 0, 0, .7); outline: none;
}
.hlv-frame:focus-visible { box-shadow: 0 0 0 3px var(--gold-soft), 0 34px 66px -26px rgba(0,0,0,.7); }
.hlv-stack { position: absolute; inset: 0; }
.hlv-page {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease);
}
.hlv-page.is-current { opacity: 1; visibility: visible; }
.hlv-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(184, 147, 90, .6); background: rgba(10, 24, 36, .82);
  color: #fff; font-size: 1.55rem; line-height: 1; display: grid; place-items: center;
  transition: background .25s var(--ease), opacity .25s var(--ease);
}
.hlv-nav:hover { background: var(--navy-800); }
.hlv-nav.prev { left: 8px; }
.hlv-nav.next { right: 8px; }
.hlv-nav[disabled] { opacity: .28; cursor: default; }
.hlv-bar {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-top: 12px; font-size: .82rem; color: rgba(255, 255, 255, .78);
}
.hlv-counter { font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.hlv-dl { color: var(--gold-soft); font-weight: 600; border-bottom: 1px solid currentColor; }
.hlv-dl:hover { color: #fff; }
@media (max-width: 640px) { .hlv-nav { width: 36px; height: 36px; font-size: 1.3rem; } }

/* Livret intégré directement dans la page (flipbook, plus de modal) */
.livret-inline {
  max-width: 1120px; margin: 0 auto;
  border-radius: 14px; overflow: hidden;
  background: var(--navy-950); color: #fff;
  box-shadow: 0 34px 80px -46px rgba(6, 14, 24, .7);
}
.livret-bar {
  display: flex; align-items: center; gap: 16px; padding: 12px 14px 12px 20px;
  border-bottom: 1px solid var(--hairline-light);
}
.livret-title { font-size: .95rem; font-weight: 600; margin-right: auto; }
.livret-counter { font-size: .85rem; color: rgba(255,255,255,.6); font-variant-numeric: tabular-nums; }
.livret-dl { color: var(--gold-soft); font-size: .85rem; font-weight: 600; border-bottom: 1px solid currentColor; }
.livret-dl:hover { color: #fff; }
.livret-close {
  background: none; border: none; color: rgba(255,255,255,.75); font-size: 1.9rem;
  line-height: 1; cursor: pointer; padding: 0 6px; transition: color .2s var(--ease);
}
.livret-close:hover { color: #fff; }

/* Lecteur : les pages défilent horizontalement, une à la fois */
.livret-body { position: relative; height: min(72vh, 640px); background: var(--navy-900); }
.livret-pages {
  display: flex; align-items: center; gap: 18px; height: 100%;
  padding: 18px; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none;
}
.livret-pages::-webkit-scrollbar { display: none; }
.livret-pages img {
  height: 100%; width: auto; flex: 0 0 auto; scroll-snap-align: center;
  object-fit: contain; border-radius: 4px; background: #fff;
  box-shadow: 0 20px 50px -24px rgba(0,0,0,.8);
}
.livret-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--hairline-light); background: rgba(10, 24, 36, .78);
  color: #fff; font-size: 1.6rem; line-height: 1; display: grid; place-items: center;
  transition: background .25s var(--ease), opacity .25s var(--ease);
}
.livret-nav:hover { background: var(--navy-800); }
.livret-nav.prev { left: 14px; }
.livret-nav.next { right: 14px; }
.livret-nav[disabled] { opacity: .28; cursor: default; }

@media (max-width: 640px) {
  .livret-inline { border-radius: 10px; }
  .livret-body { height: min(60vh, 460px); }
  .livret-title { font-size: .85rem; }
  .livret-pages { padding: 10px; gap: 10px; }
  .livret-nav { width: 38px; height: 38px; }
  .livret-nav.prev { left: 6px; }
  .livret-nav.next { right: 6px; }
}

/* Texte de présentation (page festival) */
.intro-text { max-width: 720px; margin: 0 auto; text-align: center; }
.intro-text p { margin-bottom: 20px; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.85; }
.intro-text p:last-child { margin-bottom: 0; }
.intro-text .intro-lead { font-size: 1.28rem; line-height: 1.65; color: var(--ink); }

/* Mot de la directrice (page festival) */
.director-word {
  display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: start;
  max-width: 900px; margin: 0 auto; text-align: left;
}
.director-portrait { position: static; }
.director-portrait .portrait-slot {
  aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden;
  background: var(--paper); border: 1px solid var(--hairline);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: var(--gold-deep);
}
img.portrait-slot { width: 100%; height: auto; object-fit: cover; display: block; }
.director-portrait .portrait-slot svg { width: 30px; height: 30px; opacity: .6; }
.director-portrait .portrait-slot span { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.director-portrait figcaption { margin-top: 12px; text-align: center; font-weight: 600; color: var(--ink); font-size: .95rem; }
.director-text { position: relative; margin: 0; padding-left: 26px; border-left: 2px solid var(--gold-soft); }
.director-text p { margin-bottom: 16px; color: var(--ink-soft); line-height: 1.8; }
.director-text p:first-child { font-size: 1.12rem; color: var(--ink); }
.director-sign { margin-top: 22px; display: flex; flex-direction: column; }
.director-sign .sign-name { font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.director-sign .sign-role { font-size: .82rem; letter-spacing: .04em; color: var(--gold-deep); }
@media (max-width: 720px) {
  .director-word { grid-template-columns: 1fr; gap: 26px; }
  .director-portrait { position: static; max-width: 200px; }
  .director-text { padding-left: 18px; }
}

/* Ligne « Au programme » + badge Création (page programme) */
.event-works { margin-top: 8px; font-size: .96rem; color: var(--ink); line-height: 1.65; }
.event-works .works-label {
  display: inline-block; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 700; margin-right: 8px;
}
.event-works em { font-style: italic; }
.badge-creation {
  display: inline-block; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
  color: #fff; background: var(--accent-2); padding: 2px 8px; border-radius: 999px;
  vertical-align: middle; margin: 0 3px;
}

/* Cartes biographies des artistes (fin de la page programme) */
.artists-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 22px;
}
.artist-card {
  background: #fff; border: 1px solid var(--hairline); border-radius: 16px;
  padding: 28px 24px 26px; display: flex; flex-direction: column; align-items: center;
  box-shadow: 0 16px 34px -26px rgba(20, 30, 40, .45);
}
.artist-avatar {
  width: 96px; height: 96px; border-radius: 50%; overflow: hidden; margin-bottom: 16px;
  background: var(--navy-900); display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.artist-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; display: block; }
.artist-initials { font-size: 1.9rem; font-weight: 600; color: var(--gold-soft); }
.artist-name { font-size: 1.18rem; margin-bottom: 3px; text-align: center; }
.artist-role {
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep);
  font-weight: 700; margin-bottom: 15px; text-align: center;
}
.artist-bio { font-size: .92rem; line-height: 1.72; color: var(--ink-soft); text-align: left; }

/* Bloc « stage de chœur » sur la page programme */
.stage-choeur {
  margin: 30px 0 8px; padding: 30px 32px;
  background: var(--paper); border: 1px solid var(--hairline); border-radius: 14px;
}
.stage-choeur h3 { font-size: 1.5rem; margin: 14px 0 12px; }
.stage-choeur p { color: var(--ink-soft); margin-bottom: 10px; }
.stage-choeur a { color: var(--gold-deep); font-weight: 600; }

/* Encart « réserver autrement » (billetterie) — même largeur et même forme
   que le cadre HelloAsso au-dessus (cf. .ticketing / .ticketing-embed). */
.ticketing-info {
  margin: 34px auto 0; max-width: 860px; padding: 28px 30px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--hairline-light); border-radius: 14px;
}
.ticketing-info h3 { color: #fff; font-size: 1.3rem; margin-bottom: 16px; }
.ticketing-info ul { list-style: none; display: grid; gap: 12px; }
.ticketing-info li { display: grid; grid-template-columns: 230px 1fr; gap: 12px; align-items: baseline; color: rgba(255,255,255,.82); }
.ticketing-info .ci-label { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }
.ticketing-info a { color: var(--gold-soft); font-weight: 600; }
/* un numéro de téléphone ne doit jamais être coupé en fin de ligne */
.ticketing-info a[href^="tel:"] { white-space: nowrap; }
.ticketing-tarifs { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hairline-light); color: rgba(255,255,255,.7); font-size: .95rem; }
@media (max-width: 560px) { .ticketing-info li { grid-template-columns: 1fr; gap: 2px; } }

/* Bandeau défilant des partenaires */
.partners { padding: 72px 0 84px; background: var(--paper); border-top: 1px solid var(--hairline); }
.partners-head { text-align: center; margin-bottom: 42px; }
.marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: flex; width: max-content; list-style: none; padding: 6px 0; margin: 0;
  animation: marquee 46s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  flex: 0 0 auto; margin-right: 26px;
  height: 96px; width: 190px;
  display: flex; align-items: center; justify-content: center; padding: 0 22px;
  background: #fff; border: 1px solid var(--hairline); border-radius: 14px;
  box-shadow: 0 14px 30px -22px rgba(20, 30, 40, .5);
}
.marquee-item img { max-height: 62px; max-width: 100%; width: auto; height: auto; display: block; }
/* Partenaire sans logo (ajouté au CMS sans image) : on affiche son nom
   plutôt qu'une image cassée. */
.partner-name {
  display: block; text-align: center; line-height: 1.25;
  font-size: .82rem; font-weight: 600; letter-spacing: .01em;
  color: var(--gold, #b8975a); padding: 0 8px;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
@media (max-width: 600px) {
  .marquee-item { height: 80px; width: 150px; margin-right: 18px; }
  .marquee-item img { max-height: 50px; }
}

/* Compte à rebours */
.countdown {
  display: flex; flex-wrap: wrap; justify-content: center;
  align-items: flex-start; gap: 22px clamp(26px, 5vw, 58px); margin: 34px auto 6px;
}
.cd-unit { display: flex; flex-direction: column; align-items: center; }
.cd-num {
  font-family: var(--font-sans); font-weight: 700; font-size: clamp(2.6rem, 6vw, 3.8rem);
  line-height: 1; letter-spacing: -.02em; color: #fff;
  font-variant-numeric: tabular-nums; font-feature-settings: "tnum";
}
.cd-label { font-size: .98rem; letter-spacing: 0; text-transform: none; color: rgba(255, 255, 255, .55); margin-top: 10px; }
.cd-sep { display: none; }
.countdown.is-live .cd-num { color: var(--orange-soft); }
.countdown-ended { margin: 26px auto 4px; font-family: var(--font-serif); font-size: 1.6rem; color: var(--gold-soft); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: clamp(80px, 12vw, 150px) 0; position: relative; }
.section-alt { background: var(--cream); }
.section-dark {
  color: #fff; overflow: hidden; background: var(--navy-950);
}
.section-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(90% 70% at 82% 15%, rgba(43, 86, 122,.45), transparent 55%),
    radial-gradient(80% 70% at 12% 90%, rgba(201, 124, 80,.16), transparent 55%);
}
.section-dark .container { position: relative; z-index: 2; }

.section-head { max-width: 760px; margin: 0 auto clamp(48px, 6vw, 72px); text-align: center; }
.section-head h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
.section-head h2 em { font-style: italic; color: var(--accent-2); }
.section-dark .section-head h2 em { color: var(--gold-soft); }
.section-lead { margin-top: 20px; color: var(--text-soft); font-size: 1.06rem; line-height: 1.8; }
.section-dark .section-lead { color: rgba(255,255,255,.78); }

/* Index de section « 01 » éditorial */
.section-index {
  display: block; font-family: var(--font-serif); font-style: italic;
  font-size: 1.1rem; color: var(--accent); letter-spacing: .1em; margin-bottom: 14px;
}
.section-dark .section-index { color: var(--gold-soft); }

/* ---------- Le festival ---------- */
.festival-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.festival-text p { color: var(--text-soft); margin-bottom: 20px; font-size: 1.08rem; line-height: 1.85; }
.festival-text p:first-child { font-size: 1.25rem; line-height: 1.7; color: var(--text); font-family: var(--font-serif); }
.festival-text strong { color: var(--text); font-weight: 600; }

/* Page « Stage de chœur » */
.stage-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); }
.stage-h3 { font-size: 1.4rem; margin-bottom: 14px; color: var(--navy-blue); }
.stage-narrow { max-width: 720px; margin: 0 auto; }
.stage-contact { margin-top: 30px; color: var(--text-soft); line-height: 1.85; font-size: 1.02rem; }
.stage-contact ul { list-style: none; padding: 0; margin: 12px 0 18px; }
.stage-contact li { padding: 7px 0; border-bottom: 1px solid var(--hairline); }
.stage-contact li:last-child { border-bottom: none; }
.stage-contact a { color: var(--gold-deep); font-weight: 600; border-bottom: 1px solid currentColor; }
.stage-contact a:hover { color: var(--accent-2); }
@media (max-width: 860px) { .stage-cols { grid-template-columns: 1fr; } }

.facts { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--hairline); }
.facts li { padding: 22px 4px; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; border-bottom: 1px solid var(--hairline); }
.fact-label { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-2); font-weight: 600; }
.fact-value { font-family: var(--font-serif); font-size: 1.3rem; color: var(--text); text-align: right; }

/* ---------- Cartes programme ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.card {
  background: var(--paper); padding: 40px 30px; position: relative;
  transition: background .5s var(--ease), transform .5s var(--ease);
}
.section-alt .card { background: var(--cream); }
.card:hover { background: var(--navy-900); }
.card-icon {
  width: 54px; height: 54px; display: grid; place-items: center; color: var(--accent-2);
  border: 1px solid var(--hairline); border-radius: 50%; margin-bottom: 22px;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.5rem; margin-bottom: 12px; transition: color .5s var(--ease); }
.card p { color: var(--text-soft); font-size: .96rem; line-height: 1.7; transition: color .5s var(--ease); }
.card:hover h3 { color: #fff; }
.card:hover p { color: rgba(255,255,255,.78); }
.card:hover .card-icon { color: var(--gold-soft); border-color: var(--hairline-light); }

.programme-note { text-align: center; margin-top: clamp(44px, 6vw, 64px); }

/* ---------- Cartes de navigation (accueil) ---------- */
.nav-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.nav-card {
  display: flex; flex-direction: column; gap: 14px; padding: 40px 34px;
  background: var(--paper); border: 1px solid var(--hairline);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s var(--ease);
}
.nav-card:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -40px rgba(8,31,63,.45); border-color: var(--gold); }
.nav-card h3 { font-size: 1.7rem; }
.nav-card p { color: var(--text-soft); font-size: .98rem; flex: 1; line-height: 1.7; }

/* ---------- Lieux ---------- */
.lieux-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); max-width: 960px; margin: 0 auto; }
.lieu { display: flex; align-items: center; gap: 12px; justify-content: center; background: var(--paper); padding: 34px 18px; font-family: var(--font-serif); font-size: 1.35rem; color: var(--text); }
.lieu-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--accent-2); box-shadow: 0 0 0 4px rgba(201, 124, 80,.14); }

.lieux-detailed { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 940px; margin: 0 auto; }
.lieu-card {
  background: var(--cream); padding: 36px 36px; border: 1px solid var(--hairline);
  transition: transform .6s var(--ease), border-color .6s var(--ease);
}
.lieu-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.lieu-card h3 { display: flex; align-items: center; gap: 14px; font-size: 1.8rem; margin-bottom: 12px; }
.lieu-card p { color: var(--text-soft); line-height: 1.75; }

/* ---------- Dates (infos pratiques) ---------- */
/* Itinéraire du festival, jour après jour, ville après ville */
.journey { list-style: none; display: flex; max-width: 940px; margin: 12px auto 0; padding: 0; }
.stop { flex: 1; position: relative; text-align: center; padding-top: 42px; }
.stop::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: var(--hairline); }
.stop:first-child::before { left: 50%; }
.stop:last-child::before { right: 50%; }
.stop-dot {
  position: absolute; top: 2px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 147, 90, .1);
}
.section-alt .stop-dot { background: var(--cream); }
.stop-date { display: block; font-size: 1rem; color: var(--ink); }
.stop-date b { color: var(--accent-2); font-weight: 600; font-size: 1.55rem; margin-right: 4px; }
.stop-city { display: block; margin-top: 5px; font-size: .92rem; color: var(--ink-soft); }
@media (max-width: 700px) {
  .journey { flex-direction: column; max-width: 320px; }
  .stop { text-align: left; padding: 15px 0 15px 36px; }
  .stop::before { top: 0; bottom: 0; left: 8px; right: auto; width: 2px; height: auto; }
  .stop:first-child::before { top: 50%; left: 8px; }
  .stop:last-child::before { bottom: 50%; top: 0; left: 8px; right: auto; }
  .stop-dot { top: 50%; left: 8px; transform: translate(-50%, -50%); }
}

/* Tarifs : réutilise .facts ; prix en attente affichés en italique discret */
.tarifs .fact-value { font-style: italic; color: var(--gold-deep); font-size: 1.15rem; }

/* ---------- Emplacements photo (à remplir depuis le livret) ---------- */
.photo-slot {
  position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center;
  text-align: center; overflow: hidden;
  background: linear-gradient(160deg, var(--cream), #ece2ce);
}
.photo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-slot .ph { padding: 22px; color: var(--text-soft); }
.photo-slot .ph svg { width: 30px; height: 30px; color: var(--accent); margin: 0 auto 10px; display: block; }
.photo-slot .ph-label { font-size: .82rem; letter-spacing: 0; text-transform: none; font-style: italic; }
.photo-slot .ph-cap { font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; color: var(--text); margin-top: 4px; }

/* Emplacement contenant une vraie photo */
.photo-slot.has-photo { background: var(--navy-900); }
.photo-slot.has-photo .ph-cap {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0; z-index: 1;
  padding: 30px 14px 12px; color: #fff; font-size: .98rem; font-style: italic;
  background: linear-gradient(180deg, transparent, rgba(8, 16, 26, .8));
}
.event-media .photo-slot.has-photo { border: 1px solid var(--hairline); background: var(--navy-900); }
.photo-slot.has-photo img { transition: transform .8s var(--ease); }
.photo-slot.has-photo:hover img { transform: scale(1.04); }

/* Cartes lieux : photo en tête, texte dessous */
.lieu-card { padding: 0; overflow: hidden; }
.lieu-card .photo-slot { border-bottom: 1px solid var(--hairline); }
.lieu-card .lieu-card-body { padding: 28px 32px; }

/* Galerie « En images » */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1040px; margin: 0 auto; }
.gallery .photo-slot { border: 1px solid var(--hairline); }
@media (max-width: 820px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }

/* ---------- Carte interactive des villes ---------- */
.citymap { max-width: 780px; margin: clamp(48px, 7vw, 72px) auto 0; }
.citymap-hint { text-align: center; color: var(--gold-deep); font-size: 1.12rem; font-weight: 600; margin-bottom: 22px; }
.citymap-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 24px; }
.citymap-chip {
  font-family: var(--font-sans); font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: .55em 1.25em; border-radius: 16px; cursor: pointer; line-height: 1.2;
  display: inline-flex; flex-direction: column; align-items: center; gap: 3px; text-align: center;
  background: transparent; border: 1px solid var(--hairline); color: var(--text);
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.citymap-chip .chip-dates { font-size: .66rem; letter-spacing: .02em; text-transform: none; font-weight: 500; color: var(--gold-deep); }
.citymap-chip:hover { border-color: var(--gold); color: var(--gold-deep); transform: translateY(-2px); }
.citymap-chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--navy-900); }
.citymap-chip[aria-pressed="true"] .chip-dates { color: var(--navy-900); }
.citymap-stage {
  border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(184, 147, 90, .3);
  background: radial-gradient(120% 100% at 50% -10%, #143463, #071a34 68%);
  box-shadow: var(--shadow);
}
.citymap-svg { display: block; width: 100%; height: auto; }
.citymap-dept { fill: rgba(70, 120, 190, .2); stroke: var(--gold); stroke-width: 1.6; stroke-linejoin: round; }

.citymap-point { cursor: pointer; }
.pt-dot { fill: var(--gold); opacity: .28; transition: opacity .4s var(--ease); }
.pt-aura { fill: var(--gold); opacity: 0; }
.pt-label { fill: var(--gold-soft); font-family: var(--font-serif); font-style: italic; font-size: 15px; text-anchor: middle; opacity: 0; transition: opacity .4s var(--ease); }
.pt-note { fill: var(--gold-soft); font-size: 15px; text-anchor: middle; opacity: 0; }
.citymap-point:hover .pt-dot { opacity: .6; }

.citymap-point.is-active .pt-dot { opacity: 1; filter: drop-shadow(0 0 4px rgba(184, 147, 90, .5)); }
.citymap-point.is-active .pt-label { opacity: 1; }
.citymap-point.is-active .pt-aura { animation: ptAura 2.4s var(--ease) infinite; }
.citymap-point.is-active .pt-note.n1 { animation: ptNoteA 2.6s var(--ease) infinite; }
.citymap-point.is-active .pt-note.n2 { animation: ptNoteB 2.6s var(--ease) .9s infinite; }
.citymap-point.is-active .pt-note.n3 { animation: ptNoteC 2.6s var(--ease) 1.7s infinite; }

@keyframes ptAura { 0% { transform: scale(.4); opacity: .55; } 70% { opacity: 0; } 100% { transform: scale(2.7); opacity: 0; } }
@keyframes ptNoteA { 0% { transform: translate(0,0); opacity: 0; } 15% { opacity: .95; } 100% { transform: translate(-11px,-42px); opacity: 0; } }
@keyframes ptNoteB { 0% { transform: translate(0,0); opacity: 0; } 15% { opacity: .95; } 100% { transform: translate(3px,-50px); opacity: 0; } }
@keyframes ptNoteC { 0% { transform: translate(0,0); opacity: 0; } 15% { opacity: .95; } 100% { transform: translate(13px,-40px); opacity: 0; } }

/* ============================================================
   AGENDA / programmation chronologique
   ============================================================ */
.agenda { max-width: 900px; margin: 0 auto; }
.day-group { margin-bottom: clamp(40px, 6vw, 64px); }
.day-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--hairline); }
.day-num { font-family: var(--font-serif); font-weight: 500; font-size: 2.8rem; color: var(--accent-2); line-height: 1; }
.day-month { font-family: var(--font-serif); font-size: 1.5rem; color: var(--accent-2); margin-left: -8px; }
.day-dow { font-family: var(--font-serif); font-style: italic; font-size: 1.6rem; color: var(--text); text-transform: capitalize; }
.day-city { margin-left: auto; font-size: 1rem; color: var(--ink-soft); }

.event { display: grid; grid-template-columns: 96px 1fr 200px; gap: 28px; align-items: start; padding: 26px 4px; border-bottom: 1px solid var(--hairline); transition: background .5s var(--ease); }
/* Photo d'événement : format portrait 3:4, calée en haut (les sujets sont
   surtout des personnes → un portrait évite de couper les visages). */
.event-media .photo-slot { aspect-ratio: 3 / 4; border: 1px dashed var(--hairline); background: rgba(184, 147, 90, .045); border-radius: 12px; }
.event-media .photo-slot img { object-position: 50% 30%; border-radius: 12px; }
.event-media .photo-slot .ph svg { opacity: .55; }
@media (min-width: 861px) {
  .event { align-items: start; }
  .event-media .photo-slot { width: 100%; }
}
@media (max-width: 860px) {
  .event { grid-template-columns: 90px 1fr; }
  .event-media { grid-column: 2 / -1; max-width: 260px; margin-top: 6px; }
}
.event:last-child { border-bottom: none; }
.event:hover { background: var(--cream); }
.section-alt .event:hover { background: rgba(255,255,255,.5); }
.event-time { font-family: var(--font-serif); font-size: 1.35rem; color: var(--accent-2); font-variant-numeric: tabular-nums; padding-top: 4px; }
.event-tag { display: block; margin-bottom: 3px; font-family: var(--font-serif); font-size: 1.72rem; line-height: 1.15; letter-spacing: 0; text-transform: none; font-weight: 600; }
.tag-concert { color: var(--navy-blue); }
.tag-danse   { color: #b5652c; }
.tag-atelier { color: var(--gold-deep); }
.tag-choeur  { color: var(--navy-700); }
/* Sur la page programme, tous les titres d'événements sont de la même couleur */
.event-body .event-tag { color: var(--navy-blue); }
.event-title { font-family: var(--font-serif); font-size: 1.05rem; font-style: italic; font-weight: 500; color: var(--ink-soft); margin: 0 0 12px; }
.event-place { display: flex; align-items: flex-start; gap: 8px; font-size: .95rem; color: var(--ink-soft); font-weight: 500; margin-bottom: 14px; }
.event-place svg { width: 15px; height: 15px; flex: none; margin-top: 4px; color: var(--gold-deep); }
.event-summary { color: var(--text-soft); margin-bottom: 14px; line-height: 1.75; }
.event-org { font-size: .92rem; color: var(--text); }
.event-qr { display: inline-flex; align-items: center; gap: 14px; margin-top: 16px; padding: 8px 14px 8px 8px;
  border: 1px solid var(--hairline); border-radius: 14px; background: var(--paper); }
.section-alt .event-qr { background: rgba(255,255,255,.55); }
.event-qr img { width: 92px; height: 92px; display: block; background: #fff; border-radius: 8px; padding: 5px; }
.event-qr span { font-size: .88rem; font-weight: 600; color: var(--gold-deep); max-width: 130px; line-height: 1.35; }
.event-org .org-line { display: block; margin-top: 3px; }
.event-org .role { color: var(--text-soft); }

/* Accordéon : petit bouton « En savoir plus » par événement */
.event-more { margin-top: 12px; }
.event-more-summary { list-style: none; cursor: pointer; -webkit-user-select: none; user-select: none;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px; border: 1px solid rgba(140,106,46,.45); border-radius: 999px;
  font-size: .82rem; font-weight: 600; letter-spacing: .01em; color: var(--gold-deep);
  background: rgba(184,147,90,.06);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.event-more-summary::-webkit-details-marker { display: none; }
.event-more-summary:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.event-more-summary:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.event-more-chevron { width: 7px; height: 7px; flex: none; margin-top: -3px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg); transition: transform .3s var(--ease), margin .3s var(--ease); }
.event-more[open] .event-more-chevron { transform: rotate(-135deg); margin-top: 3px; }
.event-more[open] > .event-more-summary { background: rgba(184,147,90,.14); border-color: rgba(140,106,46,.6); }
.event-more-body { margin-top: 6px; }
/* Vignettes des artistes liés à un événement */
.event-artists { margin-top: 18px; }
.event-artists-label { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-bottom: 12px; }
.event-artists-row { display: flex; flex-wrap: wrap; gap: 14px 18px; }
.event-artist { display: inline-flex; flex-direction: column; align-items: center; gap: 7px; width: 76px; text-decoration: none; color: inherit; }
.event-artist-photo { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; background: var(--navy-900); display: block; box-shadow: 0 6px 16px -8px rgba(20,30,40,.55); transition: transform .25s var(--ease); }
.event-artist:hover .event-artist-photo { transform: translateY(-2px); }
.event-artist-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; display: block; }
.event-artist-name { font-size: .74rem; line-height: 1.25; text-align: center; color: var(--ink-soft); }
.event-artist:hover .event-artist-name { color: var(--gold-deep); }
.event-detail { color: var(--text); line-height: 1.75; }
.event-detail p { margin: 0 0 11px; }
.event-detail p:last-child { margin-bottom: 0; }
.event-detail ul { margin: 6px 0 12px; padding-left: 20px; }
.event-detail li { margin-bottom: 8px; padding-left: 2px; }
.event-detail li::marker { color: var(--gold-deep); }
.event-detail strong { color: var(--ink); font-weight: 600; }
.event-detail em { font-style: italic; }
.event-detail + .event-works, .event-detail + .event-org { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--hairline); }
.event-more[open] .event-more-body { animation: eventMoreIn .35s var(--ease); }
@keyframes eventMoreIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .event-more[open] .event-more-body { animation: none; } .event-more-chevron { transition: none; } }

/* Bandeau d'info */
.notice { display: flex; gap: 14px; align-items: flex-start; max-width: 900px; margin: 0 auto clamp(40px, 5vw, 56px); padding: 20px 24px; background: rgba(184, 147, 90,.08); border: 1px solid var(--hairline); border-radius: 3px; color: var(--gold-deep); font-size: .92rem; line-height: 1.6; }
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }

/* ============================================================
   BILLETTERIE
   ============================================================ */
.ticketing { max-width: 860px; margin: 0 auto; }
.ticketing-embed { background: rgba(255,255,255,.05); border: 1px solid var(--hairline-light); border-radius: 14px; overflow: hidden; min-height: 340px; display: grid; place-items: center; }
.ticketing-embed iframe { width: 100%; border: none; display: block; }
/* Widget de billetterie HelloAsso (iframe publique, aucune clé requise) */
.ha-widget { width: 100%; min-height: 780px; border: none; display: block; background: #fff; }
/* l'attribut hidden doit l'emporter sur le display du widget/panneau */
.ha-widget[hidden], .ha-mailpanel[hidden] { display: none; }
@media (max-width: 640px) { .ha-widget { min-height: 900px; } }

/* Réservation par mail : une carte par événement */
.resa-list { display: grid; gap: 14px; max-width: 860px; margin: 0 auto; }
.resa-item {
  display: grid; grid-template-columns: 62px 1fr auto; gap: 22px; align-items: center;
  padding: 20px 24px; background: #fff; border: 1px solid var(--hairline); border-radius: 14px;
  box-shadow: 0 14px 30px -24px rgba(20, 30, 40, .4);
}
.resa-when { text-align: center; line-height: 1; }
.resa-day { display: block; font-family: var(--font-serif); font-size: 2rem; color: var(--accent-2); }
.resa-month { font-family: var(--font-serif); font-size: .9rem; color: var(--accent-2); }
.resa-cat { font-size: .95rem !important; margin-bottom: 2px; color: var(--navy-blue) !important; }
.resa-title { font-family: var(--font-serif); font-size: 1.18rem; margin: 0 0 5px; }
.resa-meta { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: .9rem; color: var(--ink-soft); margin: 0; }
.resa-meta svg { width: 14px; height: 14px; flex: none; color: var(--gold-deep); }
.resa-price { font-size: .88rem; color: var(--gold-deep); font-weight: 600; margin: 6px 0 0; }
.resa-action { justify-self: end; }
.btn-sm { padding: 10px 18px; font-size: .84rem; }
.resa-free { font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-deep); white-space: nowrap; }
@media (max-width: 680px) {
  .resa-item { grid-template-columns: 50px 1fr; gap: 8px 16px; }
  .resa-action { grid-column: 2; justify-self: start; margin-top: 4px; }
}

/* Billetterie plein écran : pas de grand hero, le widget remplit la fenêtre.
   Colonne flex : le widget prend tout l'espace restant, quelle que soit la
   hauteur du titre et des onglets. Le défilement se fait DANS le widget. */
.container-wide { max-width: 1500px; }
.billetterie-full {
  min-height: calc(100vh - 93px);          /* 93px = en-tête sticky */
  display: flex; flex-direction: column;
  padding: clamp(16px, 2vw, 26px) 0 clamp(20px, 2.5vw, 32px);
}
.billetterie-full > .container-wide { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.billetterie-head { text-align: center; margin-bottom: 14px; }
.billetterie-head h1 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); color: #fff; margin: 0; }
.billetterie-full .ticketing { max-width: none; flex: 1; display: flex; flex-direction: column; min-height: 0; }
.billetterie-full .ticketing-embed { flex: 1; min-height: 0; display: flex; align-items: stretch; justify-content: stretch; place-items: stretch; }
.billetterie-full .ha-widget { flex: 1; height: auto; min-height: 0; }
@media (max-width: 860px) {
  .billetterie-full { min-height: 0; }
  .billetterie-full .ha-widget { height: auto; min-height: 700px; }
}

/* Billetterie 2 colonnes : liste des événements à gauche, fenêtre fixe à droite */
.billetterie-head { text-align: center; margin-bottom: 26px; }
.billetterie-head h1 { color: #fff; margin: 0 0 8px; }
.billetterie-sub { color: rgba(255,255,255,.72); font-size: 1rem; }
.ha-layout {
  display: grid; grid-template-columns: minmax(230px, 300px) 1fr; gap: 22px;
  align-items: stretch; max-width: 1200px; margin: 0 auto;
}
/* colonne de gauche : les événements empilés */
.ha-layout .ha-picker {
  flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; gap: 8px;
  margin: 0; max-height: clamp(560px, 74vh, 780px); overflow-y: auto; padding-right: 2px;
}
.ha-layout .ha-tab { width: 100%; align-items: flex-start; text-align: left; padding: 12px 16px; }
/* fenêtre de droite : TAILLE FIXE, quel que soit le contenu (widget ou mail) */
.ha-win {
  height: clamp(560px, 74vh, 780px); position: relative; display: block;
  padding: 0; place-items: initial; min-height: 0; border-radius: 14px; overflow: hidden;
}
.ha-win .ha-widget { width: 100%; height: 100%; min-height: 0; }
.ha-win .ha-mailpanel { position: absolute; inset: 0; margin: 0; border-radius: 0; }
@media (max-width: 760px) {
  .ha-layout { grid-template-columns: 1fr; gap: 16px; }
  .ha-layout .ha-picker { flex-direction: row; flex-wrap: wrap; justify-content: center; max-height: none; overflow: visible; }
  .ha-layout .ha-tab { width: auto; align-items: center; text-align: center; }
  .ha-win { height: clamp(600px, 80vh, 820px); }
}

/* Sélecteur de billetterie : un onglet par campagne HelloAsso ouverte */
.ha-intro { text-align: center; color: rgba(255,255,255,.75); margin-bottom: 18px; font-size: .98rem; }
.ha-picker { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 22px; }
.ha-tab {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 11px 18px; cursor: pointer; border-radius: 12px;
  border: 1px solid var(--hairline-light); background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.82); font-family: inherit; text-align: center;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.ha-tab:hover { background: rgba(255,255,255,.1); color: #fff; }
.ha-tab-date { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); font-weight: 700; }
.ha-tab-name { font-family: var(--font-serif); font-size: .98rem; }
.ha-tab.is-active {
  background: var(--gold-soft); border-color: var(--gold-soft); color: var(--navy-950);
}
.ha-tab.is-active .ha-tab-date { color: var(--navy-900); }
/* Onglets « par mail » : petit liseré pour les distinguer des billetteries en ligne */
.ha-tab--mail { border-style: dashed; }
.ha-tab--mail.is-active { border-style: solid; }
/* Panneau affiché quand on choisit un événement sans billetterie en ligne */
.ha-mailpanel {
  flex: 1; min-height: 0; background: #fff; border-radius: 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 48px 30px; gap: 16px;
}
.ha-mailpanel-title { font-family: var(--font-serif); font-size: 1.7rem; color: var(--navy-900); }
.ha-mailpanel-text { max-width: 460px; color: var(--text-soft); line-height: 1.7; }
@media (max-width: 640px) { .ha-tab { width: 100%; } }
.embed-placeholder { text-align: center; padding: 70px 30px; color: rgba(255,255,255,.72); }
.embed-placeholder-title { font-family: var(--font-serif); font-size: 1.7rem; color: #fff; margin-bottom: 10px; }
.embed-placeholder .btn { margin-top: 26px; }
.ticketing-fallback { text-align: center; margin-top: 26px; color: rgba(255,255,255,.68); font-size: .92rem; }
.ticketing-fallback a { color: var(--gold-soft); border-bottom: 1px solid currentColor; }
.ticketing-fallback a:hover { color: #fff; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.contact-form { display: grid; gap: 24px; }
.field { display: grid; gap: 9px; }
.field label { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-soft); }
.field input, .field textarea {
  font-family: var(--font-sans); font-size: 1rem; color: var(--text);
  padding: 14px 16px; border: 1px solid var(--hairline); border-radius: 2px;
  background: var(--paper); transition: border-color .4s var(--ease), box-shadow .4s var(--ease); resize: vertical;
}
.section-alt .field input, .section-alt .field textarea { background: #fff; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(201, 124, 80,.12); }
.req { color: var(--accent-2); }
.form-note { font-size: .82rem; color: var(--text-soft); }
.contact-form .btn { justify-self: start; }
.form-status { font-size: .92rem; min-height: 1.2em; }
.form-status.ok { color: #1f8a4c; }
.form-status.err { color: #c0392b; }

.contact-info { background: var(--navy-900); color: #fff; padding: 40px 38px; }
.contact-info h3 { color: #fff; font-size: 1.6rem; margin-bottom: 26px; }
.contact-info ul { list-style: none; padding: 0; display: grid; gap: 24px; }
.contact-info li { display: grid; gap: 5px; }
.ci-label { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; }
.contact-info a, .contact-info span { color: rgba(255,255,255,.9); }
.contact-info a { border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; width: fit-content; }
.contact-info a:hover { color: var(--gold-soft); border-color: var(--gold-soft); }

/* ============================================================
   PAGE-HERO (sous-pages)
   ============================================================ */
.page-hero { position: relative; overflow: hidden; color: #fff; text-align: center; margin-top: -92px; padding: clamp(150px, 15vw, 190px) 0 clamp(70px, 9vw, 100px); background: var(--navy-950); }
.page-hero .hero-canvas, .page-hero .hero-canvas-fallback { position: absolute; inset: 0; z-index: 0; }
.page-hero .hero-canvas-fallback {
  background:
    radial-gradient(120% 80% at 35% 108%, rgba(43, 86, 122,.5), transparent 62%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-950) 45%, var(--navy-700) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .crumb { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 18px; }
.page-hero .crumb a { color: var(--gold-soft); }
.page-hero .crumb a:hover { color: #fff; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.page-hero h1 em { font-style: italic; color: var(--gold-soft); }
.page-hero .lead { color: rgba(255,255,255,.8); max-width: 660px; margin: 20px auto 0; font-size: 1.05rem; line-height: 1.8; }
.page-hero .page-dates { font-family: var(--font-serif); font-size: 1.4rem; letter-spacing: .24em; color: var(--orange-soft); margin-top: 16px; text-transform: uppercase; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { position: relative; overflow: hidden; color: rgba(255,255,255,.8); background: var(--navy-950); padding-top: clamp(70px, 9vw, 100px); }
.site-footer::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 60% at 80% 0%, rgba(43, 86, 122,.4), transparent 60%); }
.footer-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 44px; padding-bottom: 56px; }
.footer-name { font-family: var(--font-serif); font-size: 1.7rem; color: #fff; line-height: 1.1; }
.footer-name span { color: var(--gold-soft); font-style: italic; font-size: 1.15rem; }
.footer-tag { margin-top: 16px; font-size: .95rem; color: rgba(255,255,255,.6); font-style: italic; font-family: var(--font-serif); }
.footer-nav h4 { font-family: var(--font-sans); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 20px; font-weight: 600; }
.footer-nav ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.footer-nav a { font-size: .92rem; color: rgba(255,255,255,.78); transition: color .3s; }
.footer-nav a:hover { color: var(--gold-soft); }
.footer-bottom { position: relative; z-index: 2; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 26px; padding-bottom: 34px; border-top: 1px solid var(--hairline-light); font-size: .8rem; letter-spacing: .04em; color: rgba(255,255,255,.5); }

/* ============================================================
   CTA STICKY (mobile)
   ============================================================ */
.sticky-cta {
  position: fixed; left: 16px; right: 16px; z-index: 90;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: none; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 24px; border-radius: 3px;
  font-family: var(--font-sans); font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: #fff;
  background: var(--accent-2); box-shadow: 0 16px 40px -12px rgba(201, 124, 80,.7);
  transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.sticky-cta.hidden { transform: translateY(160%); opacity: 0; pointer-events: none; }
.sticky-cta-icon { width: 20px; height: 20px; }

/* ============================================================
   REVEAL AU SCROLL
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); will-change: opacity, transform; }
[data-reveal].in-view { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }
[data-reveal-delay="4"] { transition-delay: .4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .festival-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .lieux-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-cards { grid-template-columns: 1fr; }
  .lieux-detailed { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; z-index: 20; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 28px; padding: 48px;
    background: rgba(6,21,44,.98); backdrop-filter: blur(10px);
    transform: translateX(100%); transition: transform .5s var(--ease);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1rem; color: rgba(255,255,255,.9); }
  .nav-links a:not(.btn):hover, .nav-links a:not(.btn).active { color: #fff; }
  .nav-actions .btn-nav { display: none; }
  .brand-logo, .site-header.scrolled .brand-logo { height: 44px; }
  .sticky-cta { display: flex; }
  .site-footer { padding-bottom: 84px; }
}

@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
  .lieux-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .event { grid-template-columns: 1fr; gap: 8px; }
  .event-media { grid-column: 1 / -1; max-width: 360px; }
  .event-time { font-size: 1.15rem; }
  .event-tag { font-size: 1.42rem; }
  .day-num { font-size: 2.2rem; }
  .day-city { width: 100%; margin-left: 0; }
  .facts li { flex-direction: column; gap: 4px; }
  .fact-value { text-align: left; }
}

/* ---------- Traînée de notes au curseur ---------- */
.note-trail {
  position: fixed; z-index: 9998; pointer-events: none; user-select: none;
  color: var(--gold); font-family: var(--font-serif); font-weight: 600; line-height: 1;
  transform: translate(-50%, -50%);
  text-shadow: 0 1px 9px rgba(216, 168, 92, .55);
  will-change: transform, opacity;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
