/* ============================================================
   BEAUNE BLUES BOOGIE FESTIVAL — site.css
   Palettes, typographie, composants, animations, responsive
   Chargé par toutes les pages du site
============================================================ */

/* ── CUSTOM PROPERTIES ─────────────────────────────────── */
:root {
  --peach:        #ECC8AD;
  --peach-dark:   #D4A882;
  --ivory:        #FBF3EA;
  --ivory-warm:   #F5E6D0;
  --bordeaux:     #660f30;
  --bordeaux-l:   #8B1A42;
  --terracotta:   #C4694A;
  --sage:         #6B8A60;
  --noir:         #1d1d1b;
  --brun:         #2A1A0E;
  --ambre:        #D4883A;
  --text-dark:    #2A1A0E;
  --text-mid:     #6B4E35;
  --text-light:   #F5E8D4;

  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body:    'Nunito', system-ui, sans-serif;
  --ease-out:   cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h:      96px;
  --nav-logo-h: 76px;
  --day-nav-h:  46px;
  --page-gutter: clamp(20px, 6vw, 80px);
}

/* Accessibilité — titre masqué visuellement */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ── RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  color: var(--text-dark);
  background: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── NAVIGATION ────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  padding: 0 var(--page-gutter);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.nav > a:first-of-type {
  display: flex; align-items: center; align-self: stretch;
  flex-shrink: 0;
}
.nav.scrolled {
  background: rgba(251,243,234,.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(102,15,48,.1);
  border-bottom: 1px solid rgba(102,15,48,.14);
}

/* Pages intérieures : bordure fine sous la nav, fond transparent comme à l’origine */
body:not(.page-index) .nav {
  border-bottom: 1px solid rgba(102,15,48,.14);
}

.nav-logo { height: var(--nav-logo-h); width: auto; flex-shrink: 0; }
.page-index .hero-content { transform: translateY(-80px); }

.nav-links {
  display: flex; align-items: center; flex-wrap: nowrap;
  gap: clamp(14px, 1.8vw, 32px); list-style: none;
  margin-left: auto; min-width: 0;
}
.nav-links li { flex-shrink: 0; }
.nav-links a {
  font-size: .8125rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; white-space: nowrap;
  color: var(--text-dark); position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--bordeaux); transition: width .3s var(--ease-out);
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--bordeaux) !important; color: var(--ivory) !important;
  padding: 8px 18px !important; border-radius: 2px;
  font-size: .8125rem !important; letter-spacing: .1em !important;
  transition: background .2s, transform .2s !important;
}
.nav-cta:hover { background: var(--bordeaux-l) !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* Burger */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-burger span {
  display: block; width: 24px; height: 2px;
  background: var(--text-dark); transition: all .3s;
  transform-origin: center;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay — replié à 0 quand fermé (évite la ligne au redimensionnement) */
.nav-mobile {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 199;
  display: flex; flex-direction: column; gap: 0;
  background: rgba(251,243,234,.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  max-height: 0; overflow: hidden;
  border: none; pointer-events: none;
  transition: max-height .35s var(--ease-out);
}
.nav-mobile.open {
  max-height: min(80vh, 420px);
  border-bottom: 1px solid rgba(102,15,48,.1);
  pointer-events: all;
}
.nav-mobile a {
  display: block; padding: 16px var(--page-gutter);
  font-size: 1rem; font-weight: 600; color: var(--text-dark);
  border-bottom: 1px solid rgba(42,26,14,.06);
  transition: background .15s;
}
.nav-mobile a:hover { background: var(--ivory-warm); }
.nav-mobile a.cta-mob { color: var(--bordeaux); font-weight: 800; }

/* Typo nav plus généreuse sur grands écrans */
@media (min-width: 1400px) {
  .nav-links { gap: clamp(18px, 2vw, 36px); }
  .nav-links a { font-size: .875rem; }
  .nav-cta { padding: 9px 22px !important; font-size: .875rem !important; }
}

/* Bascule burger avant débordement */
@media (min-width: 1181px) {
  body:not(.page-index) .nav-mobile { display: none; }
}
@media (min-width: 1321px) {
  body.page-index .nav-mobile { display: none; }
}
@media (max-width: 1320px) {
  .page-index .nav-links { display: none; }
  .page-index .nav-burger { display: flex; }
}
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}


/* ── HERO ──────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh; min-height: 580px;
  background: var(--peach);
  display: flex; flex-direction: column;
  align-items: center;
  overflow: hidden;
}

/*
 * Couche 1 — Illustration plein écran (mix-blend-mode: multiply)
 * Le fond blanc de l'image devient pêche, les musiciens s'intègrent.
 * z-index: 2
 */
.hero-illus {
  position: absolute; inset: 0;
  z-index: 2; pointer-events: none;
  opacity: 0; animation: revealFade 1.6s var(--ease-out) 0.9s forwards;
}
.hero-illus img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 92%;
  mix-blend-mode: multiply;
}

/*
 * Couche 2 — Halo centré pour lisibilité du texte
 * Voile ivoire plus marqué dans la zone de contenu,
 * qui s'efface vers le bas pour laisser les musiciens visibles.
 * z-index: 3
 */
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    radial-gradient(
      ellipse 90% 60% at 50% 32%,
      rgba(251, 243, 234, 0.52) 0%,
      rgba(251, 243, 234, 0.18) 45%,
      transparent 68%
    );
}

/*
 * Couche 3 — Texture grain vintage
 * z-index: 5 — au-dessus de tout sauf la vague
 */
.hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px; opacity: .055;
}

/* Contenu texte — z-index: 4 (entre halo et grain) */
.hero-content {
  position: relative; z-index: 4;
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  width: 100%;
  padding: 90px clamp(20px, 5vw, 60px) clamp(130px, 24svh, 280px);
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(102,15,48,.1); border: 1px solid rgba(102,15,48,.2);
  border-radius: 100px; padding: 6px 18px;
  font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--bordeaux); margin-bottom: 28px;
  opacity: 0; animation: revealUp .6s var(--ease-out) .15s forwards;
}

.hero-logo20 {
  width: clamp(220px, 42vw, 420px); height: auto;
  margin-bottom: 22px;
  opacity: 0; animation: revealUp .8s var(--ease-out) .35s forwards;
}

.hero-dates {
  font-family: var(--ff-display);
  font-size: clamp(18px, 3.2vw, 36px);
  font-weight: 400; letter-spacing: .04em;
  color: var(--text-dark); margin-bottom: 8px;
  opacity: 0; animation: revealUp .7s var(--ease-out) .55s forwards;
}

.hero-location {
  font-size: clamp(10px, 1.4vw, 13px); font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--text-mid); margin-bottom: 38px;
  opacity: 0; animation: revealUp .7s var(--ease-out) .7s forwards;
}

.hero-ctas {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center;
  opacity: 0; animation: revealUp .7s var(--ease-out) .85s forwards;
}

/* Scroll hint — juste au-dessus de la vague, z-index: 4 */
.hero-scroll-hint {
  position: absolute; bottom: 88px; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  opacity: 0; animation: revealFade .8s var(--ease-out) 1.5s forwards;
}
.scroll-arrow {
  width: 1px; height: 28px;
  background: rgba(42,26,14,.4); position: relative;
  animation: scrollPulse 1.8s ease-in-out 2.2s infinite;
}
.scroll-arrow::after {
  content: '';
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  border: 4px solid transparent; border-top: 5px solid rgba(42,26,14,.4);
}

/* Vague ivoire — au-dessus de tout (z-index: 6) */
.hero-wave {
  position: absolute; bottom: -1px; left: 0; width: 100%;
  z-index: 6; line-height: 0;
}
.hero-wave svg { display: block; width: 100%; }

/* Mobile — illustration portrait */
@media (max-width: 480px) {
  .hero-illus img {
    object-position: 40% bottom;
    opacity: .72; /* légèrement atténuée pour lisibilité du texte */
  }
}


/* ── BILLETTERIE DROPDOWN ──────────────────────────────── */
.billet-wrap { position: relative; }

.btn-billet {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bordeaux); color: var(--ivory);
  border: none; cursor: pointer; text-decoration: none;
  font-family: var(--ff-body); font-size: .82rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 14px 24px; border-radius: 2px;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-billet:hover {
  background: var(--bordeaux-l);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(102,15,48,.28);
}
.btn-billet svg { transition: transform .3s var(--ease-out); }
.billet-wrap.open .btn-billet svg { transform: rotate(180deg); }

.billet-menu {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 330px; background: var(--ivory);
  border: 1px solid rgba(102,15,48,.12); border-radius: 4px;
  box-shadow: 0 20px 50px rgba(42,26,14,.2);
  opacity: 0; pointer-events: none;
  transition: all .28s var(--ease-out); z-index: 50;
}
.billet-wrap.open .billet-menu {
  opacity: 1; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.billet-menu-hd {
  padding: 12px 16px 8px;
  font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-mid); border-bottom: 1px solid rgba(102,15,48,.08);
}
.billet-item {
  display: grid; grid-template-columns: 90px 1fr auto;
  align-items: center; gap: 10px;
  padding: 11px 16px; border-bottom: 1px solid rgba(42,26,14,.05);
  transition: background .15s; cursor: pointer;
}
.billet-item:last-child { border-bottom: none; }
.billet-item:hover { background: var(--ivory-warm); }
.billet-d { font-size: .76rem; font-weight: 800; color: var(--bordeaux); white-space: nowrap; }
.billet-l { font-size: .76rem; color: var(--text-dark); font-weight: 500; line-height: 1.3; }
.billet-p { font-size: .72rem; font-weight: 700; color: var(--text-mid); white-space: nowrap; }
.billet-p.libre { color: var(--sage); }

/* Ghost button */
.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--text-dark);
  border: 1.5px solid rgba(42,26,14,.28);
  cursor: pointer; font-family: var(--ff-body);
  font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 12px 22px; border-radius: 2px;
  transition: all .2s;
}
.btn-ghost:hover { border-color: var(--bordeaux); color: var(--bordeaux); }

.page-index .hero-ctas .btn-ghost {
  background: var(--noir);
  color: var(--ivory);
  border-color: var(--noir);
  transition: background .25s var(--ease-out), transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.page-index .hero-ctas .btn-ghost:hover {
  background: #333331;
  border-color: #333331;
  color: var(--ivory);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29, 29, 27, .32);
}


/* ── SECTION ESPRIT ────────────────────────────────────── */
.s-esprit {
  background: var(--ivory);
  padding: clamp(64px, 9vw, 110px) clamp(20px, 6vw, 80px);
  position: relative; overflow: hidden;
}
.esprit-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.7fr;
  gap: clamp(36px, 6vw, 80px); align-items: start;
}
.esprit-text {
  max-width: 56ch;
  padding-right: clamp(40px, 5vw, 72px);
  transform: translateX(clamp(-6px, -0.5vw, -12px));
}

/* iPad paysage → avant très grand écran */
@media (min-width: 961px) and (max-width: 1320px) {
  .esprit-text {
    max-width: min(56ch, calc(100% - 12rem));
    padding-right: clamp(88px, 12vw, 150px);
  }
  .esprit-text h2 {
    max-width: 18em;
  }
  .esprit-deco {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    right: clamp(0px, 1.5vw, 16px);
  }
}
.esprit-stats { display: flex; flex-direction: column; gap: 32px; }
.stat-item { border-left: 3px solid var(--bordeaux); padding-left: 20px; }
.stat-num {
  font-family: var(--ff-display);
  font-size: clamp(42px, 6.5vw, 70px); font-weight: 700;
  color: var(--bordeaux); line-height: 1; margin-bottom: 4px;
}
.stat-lbl {
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-mid);
}
.esprit-text h2 {
  font-family: var(--ff-display);
  font-size: clamp(26px, 3.8vw, 46px); font-weight: 700;
  color: var(--text-dark); line-height: 1.2; margin-bottom: 20px;
  text-wrap: balance;
}
.esprit-text h2 em { color: var(--bordeaux); font-style: italic; }
.esprit-text p {
  font-size: clamp(14px, 1.4vw, 16.5px); line-height: 1.8;
  color: var(--text-mid); margin-bottom: 26px;
}
.esprit-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.esprit-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .88rem; color: var(--text-dark); font-weight: 500;
}
.esprit-list li::before { content: '♩'; color: var(--terracotta); flex-shrink: 0; margin-top: 1px; }
.esprit-deco {
  position: absolute; right: -10px; bottom: -10px;
  width: clamp(169px, 23.4vw, 338px);
  pointer-events: none; mix-blend-mode: multiply;
}


/* ── SECTION PROGRAMME & ARTISTES (section fusionnée) ──── */
.s-programme {
  background: var(--ivory-warm);
  padding: clamp(64px, 9vw, 110px) clamp(20px, 6vw, 80px);
}
.s-header { max-width: 1180px; margin: 0 auto 52px; }
.eyebrow {
  display: inline-block; font-size: .7rem; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--bordeaux); margin-bottom: 10px;
}
.s-header h2 {
  font-family: var(--ff-display);
  font-size: clamp(30px, 4.8vw, 58px); font-weight: 700;
  color: var(--text-dark); line-height: 1.1; margin-bottom: 10px;
}
.prog-artistes { color: var(--bordeaux); }
.s-header p { font-size: .97rem; color: var(--text-mid); max-width: 560px; }
.s-programme .s-header p { font-size: 1.1rem; }

/* Liste des soirées */
.pa-list {
  max-width: 1180px; margin: 0 auto;
  display: flex; flex-direction: column;
  border-top: 1px solid rgba(42,26,14,.12);
}

/* Carte soirée — layout 2 colonnes */
.pa-card {
  display: grid;
  grid-template-columns: clamp(240px, 24vw, 300px) 1fr;
  gap: 0;
  border-bottom: 1px solid rgba(42,26,14,.1);
  padding: clamp(28px, 3.5vw, 44px) clamp(24px, 3vw, 40px);
  transition: background .25s var(--ease-out);
}
.pa-card:last-child { border-bottom: none; }
.pa-card:hover { background: rgba(251,243,234,.6); }

/* Colonne gauche — date / lieu / prix / CTA */
.pa-left {
  padding-right: clamp(28px, 3.5vw, 48px);
  border-right: 1px solid rgba(42,26,14,.1);
  display: flex; flex-direction: column; gap: 0;
}
.pa-date { margin-bottom: 16px; }
.pa-daynum {
  display: block; font-family: var(--ff-display);
  font-size: clamp(52px, 7vw, 80px); font-weight: 900;
  color: var(--bordeaux); line-height: 1; opacity: .18;
}
.pa-dayname {
  display: block; font-size: .72rem; font-weight: 800;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--bordeaux);
  margin-bottom: -6px;
}
.pa-lieu {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: .82rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--terracotta);
  margin-bottom: 3px; line-height: 1.4;
}
.pa-pin {
  flex-shrink: 0; margin-top: 1px;
  color: var(--terracotta);
}
.pa-stops { display: flex; flex-direction: column; gap: 16px; margin-bottom: 16px; }
.pa-stop .pa-time { margin-bottom: 8px; }
.pa-prix.libre { color: var(--sage); }
.pa-time {
  font-size: .9rem; font-weight: 700; color: var(--text-mid);
  margin-bottom: 14px;
}
.pa-prix {
  font-family: var(--ff-display); font-size: clamp(1.35rem, 2.2vw, 1.55rem); font-weight: 700;
  color: var(--text-dark); line-height: 1.2;
  margin-bottom: 14px; margin-top: auto;
}
.pa-prix small {
  font-family: var(--ff-body); font-size: .82rem;
  color: rgba(42,26,14,.78); display: block; font-weight: 600;
  margin-top: 5px; line-height: 1.45; letter-spacing: .01em;
}
.pa-prix.theatre { color: var(--terracotta); font-size: 1.05rem; }
.pa-prix.multi { font-size: 1.15rem; }

/* Bouton réservation */
.btn-resa {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--bordeaux); color: var(--ivory);
  border: none; cursor: pointer;
  font-family: var(--ff-body); font-size: .8rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 10px 16px; border-radius: 2px; white-space: nowrap;
  align-self: flex-start;
  transition: background .2s, transform .2s;
}
.btn-resa:hover { background: var(--bordeaux-l); transform: translateY(-1px); }
.btn-resa.terracotta { background: var(--terracotta); }
.btn-resa.terracotta:hover { background: #a8553a; }
.pa-stop .btn-resa { margin-top: 8px; margin-bottom: 12px; }
.btn-resa--stack {
  flex-direction: column; align-items: center;
  gap: 1px; line-height: 1.15; text-align: center;
}
.btn-resa--stack small {
  font-size: .6rem; font-weight: 600;
  letter-spacing: .03em; text-transform: none; opacity: .92;
}

/* Colonne droite — titre + lineup artistes */
.pa-right {
  padding-left: clamp(28px, 3.5vw, 52px);
  display: flex; flex-direction: column; justify-content: center;
}
.pa-title {
  font-family: var(--ff-display); font-style: italic;
  font-size: clamp(17px, 2.2vw, 26px); font-weight: 700;
  color: var(--text-dark); margin-bottom: 22px;
}

/* Slot horaire (pour soirées multi-événements) */
.pa-slot { margin-bottom: 22px; }
.pa-slot:last-child { margin-bottom: 0; }
.pa-slot-hd {
  font-size: .68rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--bordeaux);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
}
.pa-slot-hd::after {
  content: ''; flex: 1; height: 1px;
  background: rgba(102,15,48,.15);
}
.pa-slot-meta {
  font-size: .82rem; color: var(--text-mid); font-weight: 500;
  margin-left: 6px; letter-spacing: 0; text-transform: none;
}

/* Liste artistes dans un slot — égalité totale de traitement */
.pa-lineup { display: flex; flex-direction: column; }
.pa-artist {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(42,26,14,.06);
}
.pa-artist:last-child { border-bottom: none; }
.pa-artist-hd {
  display: flex; align-items: center; gap: 14px;
  width: 100%;
}
.pa-nom {
  font-family: var(--ff-display);
  font-size: clamp(14px, 1.55vw, 18px); font-weight: 600;
  color: var(--text-dark); flex-shrink: 0; white-space: nowrap;
}
.pa-sep {
  flex: 1; height: 1px;
  background: linear-gradient(to right, rgba(42,26,14,.14), rgba(42,26,14,.02));
  flex-shrink: 1;
}
.pa-style {
  font-size: .82rem; color: var(--text-mid);
  white-space: nowrap; flex-shrink: 0;
}
.pa-pitch {
  font-size: .85rem; font-style: italic; line-height: 1.4;
  color: var(--bordeaux); margin: 0;
}
/* Fiches courtes (sans pitch) : une seule ligne */
.pa-artist:has(> .pa-nom) {
  flex-direction: row; align-items: center; flex-wrap: wrap; gap: 14px;
}

.btn-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-display); font-style: italic;
  font-size: 1.05rem; color: var(--bordeaux);
  transition: gap .2s;
}
.btn-link:hover { gap: 14px; }


/* ── SECTION HISTOIRE / 20 ANS ─────────────────────────── */
.page-index .s-histoire {
  background: var(--noir); color: var(--text-light);
  padding: clamp(64px, 9vw, 110px) clamp(20px, 6vw, 80px);
  position: relative; overflow: hidden;
}
.s-histoire::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px; opacity: .04;
}
.histoire-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: clamp(40px, 8vw, 100px); align-items: center; position: relative;
}
.hist-big {
  font-family: var(--ff-display);
  font-size: clamp(80px, 13vw, 160px); font-weight: 900;
  color: var(--bordeaux); opacity: .35; line-height: 1;
  display: block; margin-bottom: -18px;
}
.hist-h2 {
  font-family: var(--ff-display);
  font-size: clamp(26px, 3.8vw, 46px); font-weight: 700;
  color: var(--text-light); line-height: 1.2; margin-bottom: 22px;
}
.hist-h2 em { color: var(--ambre); font-style: italic; }
.hist-p {
  font-size: clamp(13px, 1.4vw, 15.5px); line-height: 1.85;
  color: rgba(245,232,212,.72); margin-bottom: 30px;
}
.btn-blanc {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text-light);
  border: 1.5px solid rgba(245,232,212,.35);
  cursor: pointer; font-family: var(--ff-body);
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 12px 24px; border-radius: 2px; transition: all .2s;
}
.btn-blanc:hover { border-color: var(--ambre); color: var(--ambre); }

.timeline { display: flex; flex-direction: column; }
.tl-item {
  display: grid; grid-template-columns: 56px 1fr;
  gap: 16px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid rgba(245,232,212,.07);
}
.tl-item:first-child { padding-top: 0; }
.tl-item:last-child { border-bottom: none; }
.tl-yr { font-family: var(--ff-display); font-size: 1.05rem; font-weight: 700; color: var(--ambre); }
.tl-desc { font-size: .83rem; color: rgba(245,232,212,.65); line-height: 1.65; }


/* ── SECTION INFOS PRATIQUES ───────────────────────────── */
.s-infos {
  background: var(--ivory);
  padding: clamp(50px, 6vw, 80px) clamp(20px, 6vw, 80px);
}
.infos-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.info-card {
  padding: 28px 22px; border: 1px solid rgba(42,26,14,.08); border-radius: 4px;
  transition: box-shadow .25s, border-color .25s;
}
.info-card:hover {
  box-shadow: 0 8px 28px rgba(42,26,14,.08);
  border-color: rgba(102,15,48,.14);
}
.info-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(102,15,48,.08); display: flex; align-items: center; justify-content: center;
  color: var(--bordeaux); margin-bottom: 14px;
}
.info-card h3 {
  font-family: var(--ff-display); font-size: 1.05rem; font-weight: 700; margin-bottom: 10px;
}
.info-card p,
.info-card address { font-size: .84rem; line-height: 1.8; color: var(--text-mid); font-style: normal; }
.info-card a {
  color: var(--bordeaux); font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(102,15,48,.28);
  text-underline-offset: 3px;
}


/* ── FOOTER ────────────────────────────────────────────── */
.footer {
  background: var(--bordeaux); color: rgba(245,232,212,.55);
  padding: clamp(44px, 6vw, 70px) clamp(20px, 6vw, 80px) 28px;
}
.footer-top {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(245,232,212,.09); margin-bottom: 24px;
}
.f-logo { width: 130px; height: auto; margin-bottom: 16px; filter: brightness(0) invert(1) opacity(.8); }
.f-brand p { font-size: .8rem; line-height: 1.75; max-width: 210px; }
.f-col h4 {
  font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(245,232,212,.88); margin-bottom: 14px;
}
.f-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.f-col ul a { font-size: .82rem; color: rgba(245,232,212,.5); transition: color .2s; }
.f-col ul a:hover { color: rgba(245,232,212,.95); }
.f-col address { font-style: normal; font-size: .8rem; line-height: 1.85; }
.f-col address a { color: rgba(245,232,212,.5); transition: color .2s; }
.f-col address a:hover { color: var(--ambre); }
.social-row { display: flex; gap: 10px; margin-top: 12px; }
.social-btn {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(245,232,212,.18);
  display: flex; align-items: center; justify-content: center;
  color: rgba(245,232,212,.5); transition: all .2s;
}
.social-btn:hover { border-color: var(--ambre); color: var(--ambre); background: rgba(255,255,255,.08); }
.footer-bot {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .72rem; gap: 16px; flex-wrap: wrap;
}
.footer-bot-left {
  display: flex; align-items: center; gap: clamp(14px, 3vw, 28px);
  flex-wrap: wrap;
}
.footer-bot a { color: rgba(245,232,212,.35); transition: color .2s; }
.footer-bot a:hover { color: rgba(245,232,212,.75); }
.footer-credit { margin-left: auto; }


/* ── ANIMATIONS ────────────────────────────────────────── */
@keyframes revealUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes revealFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: .4; }
  50%       { transform: scaleY(1.5); opacity: .7; }
}

/* Scroll-triggered reveal */
.rev {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.rev.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }
.d5 { transition-delay: .5s; }


/* ── PAGE PROGRAMMATION ────────────────────────────────── */

/* ── EN-TÊTE PAGES INTÉRIEURES (commun à toutes) ───────── */
/* Utilisé sur : programmation.html, association.html,
   editions.html, partenaires.html, candidatures.html     */
.page-header {
  position: relative;
  background: var(--ivory-warm);
  padding: calc(var(--nav-h) + clamp(36px, 5vw, 64px)) var(--page-gutter) clamp(36px, 5vw, 52px);
  border-bottom: 1px solid rgba(42,26,14,.1);
}
.page-header::after {
  content: '';
  position: absolute;
  top: var(--nav-h);
  left: var(--page-gutter);
  width: min(120px, 28vw);
  height: 2px;
  background: var(--bordeaux);
  opacity: .35;
  pointer-events: none;
}
.page-header--has-illus::after { display: none; }
.page-header--has-illus {
  overflow: hidden;
  min-height: clamp(220px, 28vw, 320px);
}
.page-header-inner {
  position: relative;
  z-index: 1;
  max-width: min(560px, 100%);
}
.page-header-illus {
  position: absolute;
  right: clamp(-2%, 0vw, 4%);
  bottom: -8%;
  width: min(58%, 560px);
  max-height: 95%;
  pointer-events: none;
  z-index: 0;
}
.page-header-illus img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: right bottom;
  mix-blend-mode: multiply;
}
@media (max-width: 960px) {
  .page-header-illus {
    width: min(50%, 420px);
  }
}
@media (max-width: 720px) {
  .page-header--has-illus { min-height: 0; }
  .page-header-illus { display: none; }
}
.page-header h1 {
  font-family: var(--ff-display);
  font-size: clamp(36px, 5.5vw, 64px); font-weight: 700;
  color: var(--text-dark); line-height: 1.1; margin-bottom: 10px;
}
.page-header p { font-size: .97rem; color: var(--text-mid); max-width: 520px; }

/* Offset ancres : nav + barre jours sticky + marge */
.page-programmation {
  --day-sticky-offset: calc(var(--nav-h) + var(--day-nav-h) + 8px);
  scroll-padding-top: var(--day-sticky-offset);
}
.page-programmation .day-section {
  scroll-margin-top: var(--day-sticky-offset);
}

/* Barre de navigation par jour — sticky, bordeaux */
.day-nav {
  position: sticky; top: var(--nav-h); z-index: 14;
  height: var(--day-nav-h);
  background: var(--bordeaux);
  display: flex; align-items: center;
  gap: 2px; padding: 0 var(--page-gutter);
  overflow-x: auto;
  scrollbar-width: none;
}
.day-nav::-webkit-scrollbar { display: none; }
.day-pill {
  font-family: var(--ff-body); font-size: .72rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(245,232,212,.55);
  padding: 6px 14px; border-radius: 100px;
  white-space: nowrap; flex-shrink: 0;
  transition: all .2s;
}
.day-pill:hover, .day-pill.active {
  background: rgba(245,232,212,.18);
  color: rgba(245,232,212,1);
}

/* Section journée */
.day-section { border-bottom: 3px solid rgba(42,26,14,.12); }

/* En-tête journée — discret, intégré au flux */
.day-header {
  background: var(--ivory);
  padding: clamp(36px, 5vw, 56px) var(--page-gutter) clamp(18px, 2.5vw, 26px);
}
.dh-text h2 {
  font-family: var(--ff-display);
  font-size: clamp(28px, 3.5vw, 42px); font-weight: 700;
  color: var(--text-dark); line-height: 1.12; margin-bottom: 8px;
}
.dh-text p {
  font-size: .92rem; color: var(--text-mid);
  font-style: italic; max-width: 36em; line-height: 1.5;
}
.dh-text::after {
  content: '';
  display: block;
  width: clamp(48px, 8vw, 72px);
  height: 2px;
  background: var(--bordeaux);
  margin-top: clamp(14px, 2vw, 20px);
}
.day-section .time-block:first-of-type {
  border-top: none;
  padding-top: clamp(16px, 2.5vw, 28px);
}

/* Bloc horaire */
.time-block {
  background: var(--ivory);
  padding: clamp(28px, 4vw, 48px) clamp(20px, 6vw, 80px);
  border-top: 1px solid rgba(42,26,14,.07);
}
.time-block + .time-block {
  border-top: 2px dashed rgba(42,26,14,.1);
}

/* Ligne horaire — l'heure comme élément graphique principal */
.time-meta-row {
  display: flex; align-items: center;
  gap: clamp(16px, 3vw, 36px); flex-wrap: wrap;
  padding-bottom: clamp(20px, 3vw, 32px);
  margin-bottom: clamp(20px, 3vw, 32px);
  border-bottom: 1px solid rgba(42,26,14,.1);
}
.time-hero {
  font-family: var(--ff-display);
  font-size: clamp(44px, 6.5vw, 68px);
  font-weight: 900; color: var(--bordeaux);
  line-height: 1; letter-spacing: -.02em; flex-shrink: 0;
  margin-right: clamp(24px, 4.5vw, 56px);
}
.time-info { flex: 1; min-width: 160px; }
.time-venue {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: .76rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--terracotta); margin-bottom: 4px; line-height: 1.4;
}
.time-prix {
  font-family: var(--ff-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700; color: var(--text-dark);
  line-height: 1.2;
}
.time-prix small {
  display: block;
  margin-top: 6px;
  font-family: var(--ff-body);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.45;
  color: rgba(42,26,14,.8);
}
.time-prix.libre {
  color: var(--sage);
  font-size: clamp(1.1rem, 1.8vw, 1.25rem);
}
.time-prix.theatre {
  color: var(--terracotta);
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  font-weight: 700;
}

/* Grille artistes — cartes verticales, 2 colonnes équilibrées */
.artist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 56px);
  align-items: start;
}

/* Carte artiste — image en hero, texte en dessous */
.artiste-bloc {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.5vw, 26px);
  min-width: 0;
}
.artiste-photo { width: 100%; }
.artiste-photo img, .artiste-photo .ph-art {
  width: 100%;
  aspect-ratio: 3/4;
  max-height: min(400px, 50vw);
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
  display: block;
}
.artiste-photo .ph-art {
  background: rgba(102,15,48,.07);
  display: flex; align-items: center; justify-content: center;
  color: rgba(102,15,48,.2);
}
.artiste-body { display: flex; flex-direction: column; min-width: 0; }
.artiste-header-row {
  display: flex; align-items: baseline; gap: 10px;
  flex-wrap: wrap; margin-bottom: 8px;
}
.artiste-nom-full {
  font-family: var(--ff-display);
  font-size: clamp(18px, 2.4vw, 26px); font-weight: 700;
  color: var(--text-dark); line-height: 1.15;
}
.artiste-tag {
  font-size: .63rem; font-weight: 800; letter-spacing: .09em;
  text-transform: uppercase; color: var(--bordeaux);
  padding: 2px 8px; border: 1px solid rgba(102,15,48,.22);
  border-radius: 100px; white-space: nowrap; flex-shrink: 0;
}
.artiste-styles {
  font-size: .7rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--bordeaux);
  margin: 2px 0 12px;
}
.artiste-pitch {
  font-family: var(--ff-display); font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.15rem); font-weight: 600;
  color: var(--text-dark); line-height: 1.35;
  margin: 0 0 16px;
}
.artiste-formation {
  font-size: .82rem; line-height: 1.7; color: var(--text-mid);
  padding: 14px 0; margin: 0 0 18px;
  border-top: 1px solid rgba(42,26,14,.1);
  border-bottom: 1px solid rgba(42,26,14,.1);
}
.artiste-formation strong { font-weight: 700; color: var(--text-dark); }
.artiste-role {
  font-weight: 500; color: rgba(42,26,14,.55); font-size: .92em;
}
.artiste-summary {
  font-size: .88rem; line-height: 1.78; color: var(--text-mid);
  margin-bottom: 16px;
}
.artiste-summary.a-venir { opacity: .5; font-style: italic; }
.artiste-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* Bouton expand bio */
.btn-bio {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer; padding: 0;
  font-family: var(--ff-display); font-style: italic;
  font-size: .88rem; color: var(--bordeaux); transition: gap .2s;
}
.btn-bio:hover { gap: 10px; }
.btn-bio svg { transition: transform .3s var(--ease-out); flex-shrink: 0; }
.btn-bio.open svg { transform: rotate(180deg); }

/* Tiroir bio */
.bio-drawer {
  max-height: 0; overflow: hidden;
  transition: max-height .55s ease-out, margin-top .3s;
  margin-top: 0;
}
.bio-drawer.open { max-height: 1200px; margin-top: 18px; }
.bio-drawer-inner {
  font-size: .87rem; line-height: 1.88; color: var(--text-mid);
  border-left: 2px solid rgba(102,15,48,.18); padding-left: 16px;
}
.bio-drawer-inner p + p { margin-top: 10px; }
.bio-drawer-inner em { font-style: italic; }
.bio-drawer-inner strong { font-weight: 700; color: var(--text-dark); }

/* Bouton vidéo */
.btn-video {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(42,26,14,.05); border: 1px solid rgba(42,26,14,.12);
  border-radius: 2px; padding: 7px 14px; cursor: pointer;
  font-family: var(--ff-body); font-size: .74rem; font-weight: 700;
  color: var(--text-dark); letter-spacing: .05em; text-transform: uppercase;
  transition: all .2s;
}
.btn-video:hover { background: rgba(42,26,14,.1); }
.btn-video.open { background: rgba(102,15,48,.07); border-color: rgba(102,15,48,.25); color: var(--bordeaux); }

/* Tiroir vidéo */
.video-drawer {
  max-height: 0; overflow: hidden;
  transition: max-height .5s ease-out, margin-top .3s; margin-top: 0;
}
.video-drawer.open { max-height: 400px; margin-top: 18px; }
.video-grid { display: flex; gap: 14px; flex-wrap: wrap; }
.yt-item { width: 260px; flex-shrink: 0; }
.yt-thumb-wrap {
  position: relative; aspect-ratio: 16/9;
  background: var(--noir); border-radius: 3px;
  overflow: hidden; cursor: pointer; margin-bottom: 7px;
}
.yt-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.yt-thumb-wrap:hover img { transform: scale(1.04); }
.yt-play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.22); transition: background .2s;
}
.yt-thumb-wrap:hover .yt-play-overlay { background: rgba(0,0,0,.08); }
.yt-play-icon {
  width: 42px; height: 42px; background: rgba(200,0,0,.92);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: transform .2s;
}
.yt-thumb-wrap:hover .yt-play-icon { transform: scale(1.14); }
.yt-item-title { font-size: .72rem; color: var(--text-mid); line-height: 1.4; }

/* Popup vidéo YouTube */
.yt-modal {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 40px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease-out), visibility .3s;
}
.yt-modal.open {
  opacity: 1; visibility: visible; pointer-events: all;
}
.yt-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(29,29,27,.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.yt-modal-panel {
  position: relative; z-index: 1;
  width: min(960px, 100%);
  background: var(--ivory);
  border-radius: 4px;
  padding: clamp(20px, 3vw, 28px);
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
}
.yt-modal-close {
  position: absolute; top: 12px; right: 14px;
  width: 36px; height: 36px;
  border: none; background: transparent;
  font-size: 1.75rem; line-height: 1;
  color: var(--text-mid); cursor: pointer;
  transition: color .2s;
}
.yt-modal-close:hover { color: var(--bordeaux); }
.yt-modal-title {
  font-family: var(--ff-display); font-size: 1.05rem; font-weight: 600;
  color: var(--text-dark); margin: 0 40px 14px 0; line-height: 1.3;
}
.yt-modal-player {
  position: relative; aspect-ratio: 16/9;
  background: var(--noir); border-radius: 3px; overflow: hidden;
}
.yt-modal-player iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: none;
}
body.yt-modal-open { overflow: hidden; }
.yt-modal-fallback {
  margin: 14px 0 0;
  text-align: center;
  font-size: .85rem;
}
.yt-modal-fallback a {
  color: var(--bordeaux);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.yt-modal-fallback a:hover { color: var(--text-dark); }
.yt-modal-file {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem;
  text-align: center;
  font-size: .88rem;
  line-height: 1.55;
  color: rgba(255,255,255,.92);
}
.yt-modal-file code {
  font-size: .8em;
  background: rgba(255,255,255,.12);
  padding: .1em .35em;
  border-radius: 2px;
}

/* Carte compacte (repeat d'artiste) */
.artiste-compact {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0; border-bottom: 1px solid rgba(42,26,14,.06);
}
.artiste-compact:last-child { border-bottom: none; }
.ac-photo { width: 52px; height: 70px; flex-shrink: 0; border-radius: 2px; overflow: hidden; }
.ac-photo img, .ac-photo .ph-sm {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.ac-photo .ph-sm {
  background: rgba(102,15,48,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(102,15,48,.2);
}
.ac-nom {
  font-family: var(--ff-display);
  font-size: clamp(14px, 1.8vw, 17px); font-weight: 600; color: var(--text-dark);
}
.ac-style { font-size: .7rem; color: var(--text-mid); margin-top: 2px; }
.ac-link {
  margin-left: auto; font-size: .72rem; font-style: italic;
  color: var(--bordeaux); text-decoration: underline;
  text-decoration-color: rgba(102,15,48,.3); text-underline-offset: 2px;
  white-space: nowrap; flex-shrink: 0;
}

/* Lien contextuel — candidatures artistes */
.cand-crosslink {
  padding: clamp(40px, 5vw, 56px) clamp(20px, 6vw, 80px);
  border-top: 1px solid rgba(42,26,14,.08);
  background: var(--ivory-warm);
}
.cand-crosslink-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: 16px 28px;
}
.cand-crosslink p {
  font-family: var(--ff-display); font-style: italic;
  font-size: clamp(15px, 1.8vw, 19px); color: var(--text-mid);
  margin: 0; max-width: 36em; line-height: 1.5;
}
.directeur-candidatures {
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid rgba(42,26,14,.08);
  max-width: 520px;
}
.directeur-candidatures p {
  font-size: .9rem; color: var(--text-mid); line-height: 1.75;
  margin-bottom: 14px;
}

/* Note jam session */
.jam-note {
  grid-column: 1 / -1;
  padding: 22px 0;
  font-family: var(--ff-display); font-style: italic;
  font-size: clamp(15px, 1.8vw, 20px); color: var(--text-mid);
}
.jam-note span { color: var(--bordeaux); }

/* Programmation — grille 2 colonnes + image mise en avant */
@media (min-width: 900px) {
  .artist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(36px, 4.5vw, 72px);
    row-gap: clamp(48px, 5vw, 72px);
  }
  .page-programmation .artiste-photo img,
  .page-programmation .artiste-photo .ph-art {
    max-height: min(420px, 34vw);
    aspect-ratio: 3/4;
  }
}

@media (max-width: 899px) {
  .page-programmation .artiste-photo img,
  .page-programmation .artiste-photo .ph-art {
    max-height: min(380px, 62vw);
  }
}

@media (max-width: 640px) {
  .page-programmation .time-hero { font-size: clamp(36px, 10vw, 54px); }
  .page-programmation .artiste-tag { display: none; }
}

@media (max-width: 960px) {
  .esprit-grid { grid-template-columns: 1fr; }
  .esprit-text { padding-right: 0; transform: none; }
  .esprit-stats { flex-direction: row; flex-wrap: wrap; gap: 20px; }
  .stat-item { min-width: 110px; }
  .esprit-deco { display: none; }

  .artistes-deco { display: none; }
  .lineup-top { grid-template-columns: 1fr; }

  /* Section programme : colonne gauche lisible */
  .pa-card { grid-template-columns: minmax(210px, 32%) 1fr; }
}

@media (max-width: 700px) {
  /* Bascule en vertical */
  .pa-card { grid-template-columns: 1fr; gap: 0; padding: 24px 20px; }
  .pa-left {
    border-right: none; border-bottom: 1px solid rgba(42,26,14,.1);
    padding-right: 0; padding-bottom: 16px; margin-bottom: 20px;
    flex-direction: row; flex-wrap: wrap; gap: 12px; align-items: baseline;
  }
  .pa-date { margin-bottom: 0; display: flex; align-items: baseline; gap: 8px; }
  .pa-daynum { font-size: 40px; opacity: .18; }
  .pa-dayname { margin-top: 0; }
  .pa-time { display: none; } /* déjà dans slot-hd sur mobile */
  .pa-prix { margin-top: 0; margin-bottom: 0; }
  .pa-right { padding-left: 0; }
  .pa-nom { white-space: normal; }
  .pa-style { display: none; }
  .pa-artist:has(> .pa-nom) { flex-direction: column; align-items: flex-start; gap: 4px; }

  .infos-grid { grid-template-columns: 1fr; }

  .histoire-grid { grid-template-columns: 1fr; }
  .hist-big { font-size: clamp(60px, 18vw, 110px); }

  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
  .hero-ctas { flex-direction: column; width: 100%; }
  .btn-billet, .btn-ghost { width: 100%; justify-content: center; }
  .billet-menu { left: 0; right: 0; transform: translateY(-6px); width: auto; }
  .billet-wrap.open .billet-menu { transform: translateY(0); }

  .footer-top { grid-template-columns: 1fr; }
}


/* Section générique association */
.asso-section {
  padding: clamp(60px, 8vw, 100px) clamp(20px, 6vw, 80px);
  position: relative; overflow: hidden;
}
.asso-section.ivory { background: var(--ivory); }
.asso-section.warm  { background: var(--ivory-warm); }
.asso-section.peach { background: var(--peach); }
.asso-section.dark  { background: var(--noir); color: var(--text-light); }

/* Décoration illustrée latérale — musicien dessiné */
.section-deco {
  position: absolute; right: -20px; bottom: -10px;
  height: clamp(240px, 38vw, 500px); width: auto;
  opacity: .3; pointer-events: none; mix-blend-mode: multiply; z-index: 0;
}
.asso-section.dark .section-deco {
  height: clamp(320px, 52vw, 680px);
  right: clamp(-40px, -2vw, 0);
  bottom: clamp(-40px, -4vw, -8px);
  opacity: 1;
  mix-blend-mode: normal;
}

.asso-inner { max-width: 1180px; margin: 0 auto; position: relative; z-index: 1; }

/* Intro / Mission */
.intro-grid {
  display: grid; grid-template-columns: 1fr 1.8fr;
  gap: clamp(40px, 6vw, 80px); align-items: start;
}
.intro-stats { display: flex; flex-direction: column; gap: 28px; }
.intro-stat { border-left: 3px solid var(--bordeaux); padding-left: 20px; }
.intro-stat-num {
  font-family: var(--ff-display);
  font-size: clamp(40px, 6vw, 64px); font-weight: 700;
  color: var(--bordeaux); line-height: 1; margin-bottom: 4px;
}
.intro-stat-lbl {
  font-size: .76rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-mid);
}
.intro-text h2 {
  font-family: var(--ff-display);
  font-size: clamp(26px, 3.8vw, 44px); font-weight: 700;
  color: var(--text-dark); line-height: 1.2; margin-bottom: 20px;
}
.intro-text h2 em { color: var(--bordeaux); font-style: italic; }
.intro-text p {
  font-size: clamp(14px, 1.4vw, 16.5px); line-height: 1.8;
  color: var(--text-mid); margin-bottom: 18px;
}
.intro-values {
  list-style: none; display: flex; flex-direction: column; gap: 9px;
  margin-top: 4px;
}
.intro-values li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .88rem; color: var(--text-dark); font-weight: 500;
}
.intro-values li::before { content: '♩'; color: var(--terracotta); flex-shrink: 0; }

/* Section JPB — directeur artistique */
.directeur-intro {
  max-width: 640px;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.directeur-grid {
  display: grid;
  grid-template-columns: minmax(280px, 44%) 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.directeur-photo { width: 100%; min-width: 0; }
.directeur-photo img, .directeur-photo .ph-dir {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 58% center;
  border-radius: 4px;
  display: block;
}
.directeur-photo .ph-dir {
  background: rgba(102,15,48,.07);
  display: flex; align-items: center; justify-content: center;
  color: rgba(102,15,48,.2);
}
.directeur-eyebrow {
  font-size: .7rem; font-weight: 800; letter-spacing: .2em;
  text-transform: uppercase; color: var(--bordeaux);
  display: block; margin-bottom: 10px;
}
.directeur-nom {
  font-family: var(--ff-display);
  font-size: clamp(28px, 4vw, 48px); font-weight: 700;
  color: var(--text-dark); line-height: 1.1; margin-bottom: 4px;
}
.directeur-nom em { display: block; font-style: italic; color: var(--bordeaux); }
.directeur-body p {
  font-size: clamp(14px, 1.4vw, 15.5px); line-height: 1.85;
  color: var(--text-mid); margin-bottom: 16px;
}
.directeur-body p:last-child { margin-bottom: 0; }

/* Section Bureau */
.bureau-intro {
  max-width: 620px; margin-bottom: 48px;
}
.bureau-intro h2 {
  font-family: var(--ff-display);
  font-size: clamp(26px, 3.5vw, 42px); font-weight: 700;
  color: var(--text-dark); margin-bottom: 12px;
}
.bureau-intro p { font-size: .95rem; color: var(--text-mid); line-height: 1.7; }
.bureau-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.bureau-card {
  background: rgba(251,243,234,.7); border-radius: 4px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(102,15,48,.1);
  backdrop-filter: blur(4px);
  transition: transform .25s var(--ease-out), box-shadow .25s;
}
.bureau-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(42,26,14,.1);
}
.bureau-role {
  font-size: .68rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--bordeaux); margin-bottom: 10px;
}
.bureau-nom {
  font-family: var(--ff-display);
  font-size: clamp(18px, 2vw, 24px); font-weight: 700;
  color: var(--text-dark); margin-bottom: 14px; line-height: 1.2;
}
.bureau-bio {
  font-size: .84rem; line-height: 1.75; color: var(--text-mid);
}
.bureau-quote {
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid rgba(102,15,48,.12);
  font-family: var(--ff-display); font-style: italic;
  font-size: .82rem; color: var(--bordeaux); line-height: 1.5;
}

/* Activités */
.activites-intro h2 {
  font-family: var(--ff-display);
  font-size: clamp(26px, 3.5vw, 42px); font-weight: 700;
  color: var(--text-dark); margin-bottom: 36px;
}
.activites-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.activite-card {
  border: 1px solid rgba(42,26,14,.09); border-radius: 4px;
  padding: clamp(24px, 3vw, 36px);
  position: relative; overflow: hidden;
  transition: box-shadow .25s, border-color .25s;
}
.activite-card:hover {
  box-shadow: 0 8px 28px rgba(42,26,14,.09);
  border-color: rgba(102,15,48,.18);
}
.activite-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--bordeaux); transform: scaleY(0); transform-origin: top;
  transition: transform .3s var(--ease-out);
}
.activite-card:hover::before { transform: scaleY(1); }
.activite-card h3 {
  font-family: var(--ff-display);
  font-size: clamp(18px, 2.2vw, 26px); font-weight: 700;
  color: var(--text-dark); margin-bottom: 8px;
}
.activite-card .activite-lieu {
  font-size: .72rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--terracotta); margin-bottom: 12px;
}
.activite-card p {
  font-size: .88rem; line-height: 1.75; color: var(--text-mid);
}
.activite-card a.btn-link { margin-top: 16px; display: inline-flex; }

/* Section Adhésion */
.adhesion-inner { max-width: 1180px; margin: 0 auto; position: relative; z-index: 1; }
.adhesion-header { margin-bottom: 44px; }
.adhesion-header h2 {
  font-family: var(--ff-display);
  font-size: clamp(28px, 4vw, 48px); font-weight: 700;
  color: var(--text-light); line-height: 1.15; margin-bottom: 12px;
}
.adhesion-header h2 em { color: var(--ambre); font-style: italic; }
.adhesion-header p {
  font-size: clamp(14px, 1.4vw, 16px); color: rgba(245,232,212,.7); max-width: 520px;
}
.tarifs-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 36px;
}
.tarif-card {
  background: rgba(245,232,212,.06); border: 1px solid rgba(245,232,212,.12);
  border-radius: 4px; padding: clamp(18px, 2.5vw, 28px);
  transition: background .2s, border-color .2s;
}
.tarif-card:hover { background: rgba(245,232,212,.12); border-color: rgba(245,232,212,.25); }
.tarif-card.highlight {
  background: rgba(212,136,58,.12); border-color: rgba(212,136,58,.3);
}
.tarif-prix {
  font-family: var(--ff-display);
  font-size: clamp(32px, 4vw, 48px); font-weight: 700;
  color: var(--ambre); line-height: 1; margin-bottom: 8px;
}
.tarif-label {
  font-size: .78rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(245,232,212,.85); margin-bottom: 10px;
}
.tarif-desc {
  font-size: .78rem; color: rgba(245,232,212,.55); line-height: 1.6;
}
.adhesion-modes {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.adhesion-mode {
  display: flex; flex-direction: column;
  background: rgba(245,232,212,.06);
  border: 1px solid rgba(245,232,212,.12);
  border-radius: 4px;
  padding: clamp(22px, 3vw, 32px);
}
.adhesion-mode h3 {
  font-size: .7rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ambre);
  margin-bottom: 14px;
}
.adhesion-mode p {
  font-size: .88rem; color: rgba(245,232,212,.72);
  line-height: 1.75; margin-bottom: 12px;
}
.adhesion-mode-detail {
  font-size: .82rem; color: rgba(245,232,212,.55); line-height: 1.7;
}
.adhesion-mode-detail strong { color: rgba(245,232,212,.78); font-weight: 700; }
.adhesion-adresse {
  font-style: normal; font-size: .85rem;
  color: rgba(245,232,212,.65); line-height: 1.75;
  margin-bottom: 12px;
}
.adhesion-mode .btn-adhesion,
.adhesion-mode .btn-adhesion-outline { margin-top: auto; align-self: flex-start; }
.btn-adhesion {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ambre); color: var(--brun);
  border: none; cursor: pointer;
  font-family: var(--ff-body); font-size: .85rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 15px 32px; border-radius: 2px;
  transition: background .2s, transform .2s;
  text-decoration: none;
}
.btn-adhesion:hover { background: #E09530; transform: translateY(-2px); }
.btn-adhesion-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text-light);
  border: 1.5px solid rgba(245,232,212,.35);
  font-family: var(--ff-body); font-size: .85rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 13px 28px; border-radius: 2px;
  transition: border-color .2s, color .2s, transform .2s;
  text-decoration: none;
}
.btn-adhesion-outline:hover {
  border-color: var(--ambre); color: var(--ambre);
  transform: translateY(-2px);
}

/* Responsive association */
@media (max-width: 960px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-stats { flex-direction: row; flex-wrap: wrap; gap: 20px; }
  .directeur-grid { grid-template-columns: 1fr; }
  .bureau-grid { grid-template-columns: 1fr 1fr; }
  .tarifs-grid { grid-template-columns: repeat(2, 1fr); }
  .adhesion-modes { grid-template-columns: 1fr; }
  .section-deco { opacity: .15; }
}
@media (max-width: 640px) {
  .bureau-grid { grid-template-columns: 1fr; }
  .activites-grid { grid-template-columns: 1fr; }
  .tarifs-grid { grid-template-columns: repeat(2, 1fr); }
  .section-deco { display: none; }
}


/* ── PAGE ÉDITIONS PRÉCÉDENTES ─────────────────────────── */

/* Offset ancres : nav + barre années sticky + marge */
.page-editions {
  --day-sticky-offset: calc(var(--nav-h) + var(--day-nav-h) + 8px);
  scroll-padding-top: var(--day-sticky-offset);
}
.page-editions .edition-block,
.page-editions .editions-before {
  scroll-margin-top: var(--day-sticky-offset);
}

/* Barre de navigation par année — identique à .day-nav */
.editions-nav {
  position: sticky; top: var(--nav-h); z-index: 14;
  background: var(--bordeaux);
  display: flex; align-items: center;
  gap: 2px; padding: 0 clamp(20px, 6vw, 80px);
  height: var(--day-nav-h); overflow-x: auto; scrollbar-width: none;
}
.editions-nav::-webkit-scrollbar { display: none; }
.editions-nav .day-pill {
  font-size: .7rem;
  color: rgba(245,232,212,.55);
}
.editions-nav .day-pill:hover,
.editions-nav .day-pill.active {
  background: rgba(245,232,212,.18);
  color: rgba(245,232,212,1);
}

/* Bloc édition */
.edition-block {
  border-bottom: 3px solid rgba(42,26,14,.1);
  padding: clamp(52px, 7vw, 90px) clamp(20px, 6vw, 80px);
}
.edition-block:nth-child(odd)  { background: var(--ivory); }
.edition-block:nth-child(even) { background: var(--ivory-warm); }

.edition-top {
  display: flex; align-items: baseline;
  gap: clamp(16px, 3vw, 40px); flex-wrap: wrap;
  margin-bottom: clamp(20px, 3vw, 32px);
}
.edition-year {
  font-family: var(--ff-display);
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 900; color: var(--bordeaux);
  opacity: .22; line-height: 1; flex-shrink: 0;
}
.edition-info { padding-bottom: 4px; }
.edition-num {
  font-size: .7rem; font-weight: 800;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--bordeaux); display: block; margin-bottom: 6px;
}
.edition-artistes {
  font-family: var(--ff-display); font-style: italic;
  font-size: clamp(14px, 1.7vw, 18px);
  color: var(--text-mid); line-height: 1.55;
  max-width: 700px;
}
.edition-artistes strong { color: var(--bordeaux); font-style: normal; }

/* Grille photos — 3 colonnes (vignettes plus grandes), lightbox 1200×800 */
.edition-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 1.2vw, 14px);
  margin-bottom: 20px;
}
.edition-photo {
  display: block;
  aspect-ratio: 4/3;
  background: rgba(42,26,14,.05);
  overflow: hidden; border-radius: 2px;
  position: relative; cursor: zoom-in;
  text-decoration: none;
  color: inherit;
}
.edition-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform .45s var(--ease-out);
  display: block;
}
.edition-photo:hover img { transform: scale(1.06); }

/* Placeholder photo — warm, pas gris terne */
.edition-ph {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(212,168,130,.18) 0%, rgba(196,105,74,.08) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px; color: rgba(102,15,48,.22);
}
.edition-ph svg { opacity: .5; }
.edition-ph span {
  font-size: .6rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; opacity: .5;
}

/* Overlay au hover sur les vraies photos */
.edition-photo::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(42,26,14,.0);
  transition: background .3s;
}
.edition-photo:hover::after { background: rgba(42,26,14,.06); }

/* Présentation des artistes en vidéo (Vimeo) */
.edition-retro {
  margin-top: clamp(20px, 3vw, 28px);
}
.edition-retro .btn-video {
  font-size: .78rem;
  padding: 10px 18px;
}

/* Section de clôture — les éditions précédentes */
.editions-before {
  background: var(--noir); color: var(--text-light);
  padding: clamp(60px, 8vw, 90px) clamp(20px, 6vw, 80px);
  position: relative; overflow: hidden;
}
.editions-before .section-deco {
  height: clamp(320px, 52vw, 680px);
  right: clamp(-40px, -2vw, 0);
  bottom: clamp(-40px, -4vw, -8px);
  opacity: 1;
  mix-blend-mode: normal;
}
.editions-before-inner {
  max-width: 680px; position: relative; z-index: 1;
}
.editions-before h2 {
  font-family: var(--ff-display);
  font-size: clamp(26px, 4vw, 42px); font-weight: 700;
  color: var(--text-light); margin-bottom: 16px; line-height: 1.2;
}
.editions-before h2 em { color: var(--ambre); font-style: italic; }
.editions-before p {
  font-size: clamp(14px, 1.4vw, 16px);
  color: rgba(245,232,212,.65); line-height: 1.85; margin-bottom: 14px;
}
.editions-years-list {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px;
}
.edition-year-pill {
  font-family: var(--ff-display); font-size: .85rem; font-weight: 600;
  color: rgba(245,232,212,.5);
  padding: 4px 12px; border: 1px solid rgba(245,232,212,.12);
  border-radius: 100px;
}

/* Lightbox photos éditions */
.edition-lightbox {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 32px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease-out), visibility .3s;
}
.edition-lightbox.open {
  opacity: 1; visibility: visible; pointer-events: all;
}
.edition-lightbox-backdrop {
  position: absolute; inset: 0;
  background: rgba(29,29,27,.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.edition-lightbox-img {
  position: relative; z-index: 1;
  max-width: min(1200px, 96vw);
  max-height: min(800px, 88vh);
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 20px 56px rgba(0,0,0,.45);
}
.edition-lightbox-close,
.edition-lightbox-nav {
  position: absolute; z-index: 2;
  border: none; border-radius: 2px;
  background: rgba(245,232,212,.12);
  color: var(--text-light);
  cursor: pointer;
  transition: background .2s, opacity .2s;
}
.edition-lightbox-close {
  top: clamp(12px, 3vw, 24px);
  right: clamp(12px, 3vw, 24px);
  width: 44px; height: 44px;
  font-size: 1.75rem; line-height: 1;
}
.edition-lightbox-nav {
  top: 50%; transform: translateY(-50%);
  width: clamp(40px, 8vw, 52px);
  height: clamp(52px, 10vw, 64px);
  font-family: var(--ff-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1;
}
.edition-lightbox-prev { left: clamp(8px, 2vw, 20px); }
.edition-lightbox-next { right: clamp(8px, 2vw, 20px); }
.edition-lightbox-close:hover,
.edition-lightbox-nav:hover:not(:disabled) { background: rgba(245,232,212,.22); }
.edition-lightbox-nav:disabled {
  opacity: .35; cursor: default;
}
.edition-lightbox-counter {
  position: absolute; bottom: clamp(12px, 3vw, 24px);
  left: 50%; transform: translateX(-50%); z-index: 2;
  margin: 0;
  font-family: var(--ff-sans);
  font-size: .8rem; letter-spacing: .08em;
  color: rgba(245,232,212,.65);
}
body.edition-lightbox-open { overflow: hidden; }

/* Responsive éditions */
@media (max-width: 900px) {
  .edition-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .edition-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .edition-top { flex-direction: column; gap: 0; }
  .edition-year { font-size: clamp(52px, 18vw, 80px); margin-bottom: -8px; }
}


/* ── PAGE PARTENAIRES ──────────────────────────────────── */

.partner-section {
  padding: clamp(52px, 7vw, 80px) var(--page-gutter);
  position: relative; overflow: hidden;
}
.partner-section.ivory      { background: var(--ivory); }
.partner-section.warm       { background: var(--ivory-warm); }

/* En-tête de catégorie */
.partner-cat-header {
  display: flex; align-items: baseline;
  gap: 20px; flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.partner-cat-title {
  font-family: var(--ff-display);
  font-size: clamp(22px, 3vw, 34px); font-weight: 700;
  color: var(--text-dark);
}
.partner-cat-title em { color: var(--bordeaux); font-style: italic; }
.partner-cat-line {
  flex: 1; height: 1px; min-width: 40px;
  background: rgba(42,26,14,.12); align-self: center;
}
.partner-cat-count {
  font-size: .7rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-mid); flex-shrink: 0;
}

/* Grilles de logos — carrées, 6 max / ligne (5 sur écran moyen) pour aérer */
.partner-grid {
  --partner-gap: clamp(14px, 1.6vw, 20px);
  --partner-cell: clamp(168px, 18vw, 228px);
  display: grid;
  gap: var(--partner-gap);
  width: 100%;
  max-width: calc(6 * var(--partner-cell) + 5 * var(--partner-gap));
  margin-inline: auto;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
}

/* Boîte logo individuelle */
.partner-logo {
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(42,26,14,.07);
  border-radius: 3px;
  padding: clamp(10px, 1.4vw, 14px);
  transition: box-shadow .2s, border-color .2s, transform .2s var(--ease-out);
  text-decoration: none;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.partner-logo:hover {
  box-shadow: 0 6px 22px rgba(42,26,14,.1);
  border-color: rgba(102,15,48,.15);
  transform: translateY(-3px);
}

/* Image logo — occupe toute la zone utile */
.partner-logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transition: filter .2s;
}

/* Placeholder texte — avant réception des logos */
.partner-logo-ph {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  font-family: var(--ff-body); font-weight: 700;
  font-size: clamp(.68rem, 1.15vw, .85rem);
  color: var(--text-mid); text-align: center;
  line-height: 1.35; letter-spacing: .01em;
}

/* Remerciements — bas de page partenaires */
.partner-thanks {
  background: var(--ivory);
  padding: clamp(32px, 5vw, 48px) var(--page-gutter) clamp(40px, 6vw, 56px);
  border-top: 1px solid rgba(42,26,14,.08);
}
.partner-note {
  font-size: .88rem; color: var(--text-mid);
  line-height: 1.75; margin: 0 auto;
  max-width: 42em; text-align: center;
  font-style: italic;
}

/* Section CTA — Devenir partenaire */
.partner-cta-section {
  background: var(--noir); color: var(--text-light);
  padding: clamp(56px, 8vw, 90px) var(--page-gutter);
  position: relative; overflow: hidden;
}
.partner-cta-section .section-deco {
  height: clamp(320px, 52vw, 680px);
  right: clamp(-40px, -2vw, 0);
  bottom: clamp(-40px, -4vw, -8px);
  opacity: 1;
  mix-blend-mode: normal;
}
.partner-cta-inner {
  max-width: 720px; position: relative; z-index: 1;
}
.partner-cta-inner h2 {
  font-family: var(--ff-display);
  font-size: clamp(28px, 4vw, 46px); font-weight: 700;
  color: var(--text-light); line-height: 1.15; margin-bottom: 16px;
}
.partner-cta-inner h2 em { color: var(--ambre); font-style: italic; }
.partner-cta-inner p {
  font-size: clamp(14px, 1.4vw, 16px);
  color: rgba(245,232,212,.68); line-height: 1.85; margin-bottom: 28px;
  max-width: 560px;
}
.partner-contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-bottom: 30px;
}
.partner-contact-card {
  background: rgba(245,232,212,.06);
  border: 1px solid rgba(245,232,212,.12);
  border-radius: 3px; padding: 20px 22px;
}
.partner-contact-card h3 {
  font-size: .7rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ambre);
  margin-bottom: 8px;
}
.partner-contact-card address {
  font-style: normal; font-size: .85rem;
  color: rgba(245,232,212,.65); line-height: 1.75;
}
.partner-contact-card a {
  color: rgba(245,232,212,.65); transition: color .2s;
}
.partner-contact-card a:hover { color: var(--ambre); }

/* Responsive partenaires */
@media (max-width: 1180px) {
  .partner-grid {
    max-width: calc(5 * var(--partner-cell) + 4 * var(--partner-gap));
  }
}
@media (max-width: 900px) {
  .partner-grid {
    max-width: calc(4 * var(--partner-cell) + 3 * var(--partner-gap));
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 168px), 1fr));
  }
  .partner-contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 580px) {
  .partner-grid {
    max-width: 100%;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 148px), 1fr));
  }
}
@media (max-width: 380px) {
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ── PAGE CANDIDATURES ─────────────────────────────────── */

/* Section intro candidatures */
.cand-intro-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 80px); align-items: start;
  max-width: 1180px; margin: 0 auto;
}
.cand-intro-text h2 {
  font-family: var(--ff-display);
  font-size: clamp(24px, 3.5vw, 40px); font-weight: 700;
  color: var(--text-dark); line-height: 1.2; margin-bottom: 18px;
}
.cand-intro-text h2 em { color: var(--bordeaux); font-style: italic; }
.cand-intro-text p {
  font-size: clamp(14px, 1.4vw, 16px); line-height: 1.85;
  color: var(--text-mid); margin-bottom: 16px;
}
.cand-intro-text p:last-child { margin-bottom: 0; }

/* Profil recherché — liste de tags */
.cand-styles {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px;
}
.style-tag {
  font-size: .72rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--bordeaux);
  padding: 6px 14px; border: 1.5px solid rgba(102,15,48,.22);
  border-radius: 100px;
}

/* Grille critères (format, expérience) */
.cand-criteria-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; max-width: 1180px; margin: 0 auto;
}
.cand-criteria-card {
  background: var(--ivory); border-radius: 3px;
  padding: clamp(18px, 2.5vw, 26px);
  border: 1px solid rgba(42,26,14,.07);
  transition: box-shadow .2s;
}
.cand-criteria-card:hover { box-shadow: 0 6px 22px rgba(42,26,14,.08); }
.cand-criteria-num {
  font-family: var(--ff-display); font-size: 2.25rem; font-weight: 900;
  color: var(--bordeaux); opacity: .12; line-height: 1;
  margin-bottom: 4px; display: block;
}
.cand-criteria-card h3 {
  font-family: var(--ff-display); font-size: 1rem; font-weight: 700;
  color: var(--text-dark); margin-bottom: 8px;
}
.cand-criteria-card p {
  font-size: .82rem; color: var(--text-mid); line-height: 1.7;
}

/* Section "Comment candidater" */
.cand-steps {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0; border-top: 1px solid rgba(42,26,14,.1);
}
.cand-step {
  padding: clamp(24px, 3vw, 36px);
  border-bottom: 1px solid rgba(42,26,14,.07);
  border-right: 1px solid rgba(42,26,14,.07);
  position: relative;
}
.cand-step:last-child { border-right: none; }
.cand-step-num {
  font-family: var(--ff-display); font-size: 3rem; font-weight: 900;
  color: var(--bordeaux); opacity: .12; line-height: 1;
  margin-bottom: -8px; display: block;
}
.cand-step h3 {
  font-family: var(--ff-display); font-size: 1rem; font-weight: 700;
  color: var(--text-dark); margin-bottom: 8px;
}
.cand-step p {
  font-size: .82rem; color: var(--text-mid); line-height: 1.7;
}
.cand-step ul {
  list-style: none; display: flex; flex-direction: column;
  gap: 5px; margin-top: 8px;
}
.cand-step ul li {
  font-size: .8rem; color: var(--text-mid); line-height: 1.55;
  padding-left: 14px; position: relative;
}
.cand-step ul li::before {
  content: '·'; position: absolute; left: 0;
  color: var(--terracotta); font-weight: 900;
}

/* Formulaire */
.cand-form-wrap {
  max-width: 780px; margin: 0 auto;
}
.cand-form-wrap h2 {
  font-family: var(--ff-display);
  font-size: clamp(22px, 3vw, 34px); font-weight: 700;
  color: var(--text-dark); margin-bottom: 8px;
}
.cand-form-wrap > p {
  font-size: .88rem; color: var(--text-mid); margin-bottom: 32px;
}

.cand-form { display: flex; flex-direction: column; gap: 18px; }
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-size: .72rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-dark);
}
.form-label .req { color: var(--bordeaux); margin-left: 2px; }
.form-input, .form-select, .form-textarea {
  font-family: var(--ff-body); font-size: .9rem;
  color: var(--text-dark); background: var(--ivory);
  border: 1.5px solid rgba(42,26,14,.14); border-radius: 3px;
  padding: 11px 14px; outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(42,26,14,.28); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--bordeaux); box-shadow: 0 0 0 3px rgba(102,15,48,.08);
}
.form-textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.form-select { appearance: none; cursor: pointer; }

/* Checkbox consentement */
.form-consent {
  display: flex; align-items: flex-start; gap: 12px; cursor: pointer;
}
.form-consent input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0; cursor: pointer;
  accent-color: var(--bordeaux); margin-top: 2px;
}
.form-consent span {
  font-size: .78rem; color: var(--text-mid); line-height: 1.55;
}

.form-submit {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bordeaux); color: var(--ivory);
  border: none; cursor: pointer;
  font-family: var(--ff-body); font-size: .85rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 15px 32px; border-radius: 2px; align-self: flex-start;
  transition: background .2s, transform .2s;
}
.form-submit:hover { background: var(--bordeaux-l); transform: translateY(-2px); }

/* Note sélection */
.cand-note {
  max-width: 780px; margin: 28px auto 0;
  font-size: .78rem; color: var(--text-mid); line-height: 1.75;
  padding: 16px 20px; background: rgba(42,26,14,.04);
  border-left: 3px solid rgba(102,15,48,.2); border-radius: 0 3px 3px 0;
}

/* Responsive candidatures */
@media (max-width: 900px) {
  .cand-intro-grid { grid-template-columns: 1fr; }
  .cand-criteria-grid { grid-template-columns: 1fr 1fr; }
  .cand-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .form-row { grid-template-columns: 1fr; }
  .cand-criteria-grid { grid-template-columns: 1fr; }
  .cand-steps { grid-template-columns: 1fr; }
  .cand-step { border-right: none; }
}


/* ── PAGE INFOS & BILLETS ──────────────────────────────── */

/* Récap billetterie */
.recap-list {
  max-width: 1180px; margin: 0 auto;
  display: flex; flex-direction: column;
  border-top: 1px solid rgba(42,26,14,.1);
}
.recap-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 14rem 7.5rem 9.5rem;
  gap: 0 20px; align-items: center;
  padding: clamp(14px, 2vw, 20px) 0;
  border-bottom: 1px solid rgba(42,26,14,.07);
  transition: background .15s;
}
.recap-row:hover { background: rgba(251,243,234,.6); }
.recap-date {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(13px, 1.4vw, 16px); color: var(--bordeaux);
  line-height: 1.3;
}
.recap-soiree h3 {
  font-family: var(--ff-display); font-style: italic;
  font-size: clamp(14px, 1.6vw, 17px); font-weight: 700;
  color: var(--text-dark); margin-bottom: 3px;
}
.recap-soiree .recap-artists {
  font-size: .75rem; color: var(--text-mid); line-height: 1.4;
}
.recap-lieu {
  font-size: .74rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: var(--terracotta); line-height: 1.35;
  text-align: left; align-self: center;
}
.recap-row > :last-child { justify-self: end; }
.recap-prix {
  font-family: var(--ff-display); font-size: 1.1rem; font-weight: 700;
  color: var(--text-dark); white-space: nowrap; text-align: right;
}
.recap-prix small {
  display: block; font-family: var(--ff-body);
  font-size: .62rem; color: var(--text-mid); font-weight: 400;
}
.recap-prix.libre { color: var(--sage); font-size: .9rem; }
.recap-action-libre {
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--sage); white-space: nowrap;
}

/* Venue cards */
.venue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px; max-width: 1180px; margin: 0 auto;
}
.venue-card {
  border-radius: 4px; overflow: hidden;
  border: 1px solid rgba(42,26,14,.08);
  background: var(--ivory);
  transition: transform .25s var(--ease-out), box-shadow .25s;
}
.venue-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(42,26,14,.1); }
.venue-photo {
  width: 100%; aspect-ratio: 16/9;
  overflow: hidden; position: relative;
  background: rgba(42,26,14,.05);
}
.venue-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform .45s var(--ease-out);
  display: block;
}
#lieu-bichot .venue-photo img { object-position: center top; }
.venue-card:hover .venue-photo img { transform: scale(1.04); }
.venue-photo .venue-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(42,26,14,.18);
}
.venue-body { padding: clamp(16px, 2vw, 22px); }
.venue-soirees {
  display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px;
}
.venue-soiree-tag {
  font-size: .62rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--bordeaux);
  padding: 3px 9px; border: 1px solid rgba(102,15,48,.2);
  border-radius: 100px;
}
.venue-name {
  font-family: var(--ff-display); font-size: clamp(16px, 2vw, 20px);
  font-weight: 700; color: var(--text-dark); margin-bottom: 6px;
}
.venue-addr {
  font-size: .78rem; color: var(--text-mid); line-height: 1.6;
  margin-bottom: 10px;
}
.venue-addr a { color: var(--bordeaux); text-decoration: underline; text-decoration-color: rgba(102,15,48,.25); text-underline-offset: 2px; }
.venue-maps {
  font-size: .72rem; font-weight: 700; color: var(--bordeaux);
  text-decoration: underline; text-decoration-color: rgba(102,15,48,.25);
  text-underline-offset: 2px; display: inline-flex; align-items: center; gap: 5px;
  transition: gap .2s;
}
.venue-maps:hover { gap: 8px; }

/* Carte OpenStreetMap embed */
.map-wrap {
  max-width: 1180px; margin: 0 auto 32px;
  border-radius: 4px; overflow: hidden;
  border: 1px solid rgba(42,26,14,.1);
  aspect-ratio: 16/7;
  position: relative;
}
.map-wrap iframe {
  width: 100%; height: 100%;
  border: none; display: block;
}

/* Billetterie externe */
.billet-ext-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; max-width: 1180px; margin: 0 auto;
}
.billet-ext-card {
  padding: clamp(18px, 2.5vw, 26px);
  border: 1px solid rgba(42,26,14,.08); border-radius: 4px;
  background: var(--ivory);
  transition: box-shadow .2s, border-color .2s;
}
.billet-ext-card:hover { box-shadow: 0 6px 22px rgba(42,26,14,.08); border-color: rgba(102,15,48,.14); }
.billet-ext-card h3 {
  font-family: var(--ff-display); font-size: 1rem; font-weight: 700;
  color: var(--text-dark); margin-bottom: 8px;
}
.billet-ext-card p {
  font-size: .82rem; color: var(--text-mid); line-height: 1.7;
  margin-bottom: 12px;
}
.billet-ext-card address {
  font-style: normal; font-size: .78rem; color: var(--text-mid); line-height: 1.75;
}
.billet-ext-card a { color: var(--bordeaux); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(102,15,48,.25); text-underline-offset: 2px; }

/* Conditions générales */
.conditions-list {
  max-width: 780px;
  list-style: none; display: flex; flex-direction: column; gap: 8px;
}
.conditions-list li {
  font-size: .82rem; color: var(--text-mid); line-height: 1.65;
  padding-left: 16px; position: relative;
}
.conditions-list li::before {
  content: '·'; position: absolute; left: 0;
  color: var(--terracotta); font-weight: 900;
}

/* Responsive infos */
@media (max-width: 900px) {
  .recap-row { grid-template-columns: 80px minmax(0, 1fr) 14rem; }
  .recap-prix, .recap-row .btn-resa { display: none; }
  .billet-ext-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .recap-row { grid-template-columns: 70px 1fr; }
  .recap-lieu { display: none; }
  .venue-grid { grid-template-columns: 1fr; }
  .billet-ext-grid { grid-template-columns: 1fr; }
  .map-wrap { aspect-ratio: 4/3; }
}


/* ── POPUP MENTIONS LÉGALES ────────────────────────────── */
.legal-modal {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 40px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease-out), visibility .3s;
}
.legal-modal.open {
  opacity: 1; visibility: visible; pointer-events: all;
}
.legal-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(29,29,27,.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.legal-modal-panel {
  position: relative; z-index: 1;
  width: min(720px, 100%);
  max-height: min(90vh, 880px);
  overflow-y: auto;
  background: var(--ivory);
  border-radius: 4px;
  padding: clamp(28px, 4vw, 44px) clamp(22px, 4vw, 40px);
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
  -webkit-overflow-scrolling: touch;
}
.legal-modal-close {
  position: sticky; top: 0; float: right;
  width: 36px; height: 36px; margin: -8px -8px 0 0;
  border: none; background: var(--ivory);
  font-size: 1.75rem; line-height: 1;
  color: var(--text-mid); cursor: pointer;
  transition: color .2s; z-index: 2;
}
.legal-modal-close:hover { color: var(--bordeaux); }
.legal-modal-header { clear: both; margin-bottom: clamp(24px, 3vw, 36px); }
.legal-modal-eyebrow {
  font-size: .68rem; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--terracotta);
  display: block; margin-bottom: 10px;
}
.legal-modal-header h2 {
  font-family: var(--ff-display);
  font-size: clamp(28px, 4vw, 42px); font-weight: 700;
  color: var(--text-dark); line-height: 1.1; margin-bottom: 10px;
}
.legal-modal-header h2 em { color: var(--bordeaux); font-style: italic; }
.legal-modal-lead {
  font-size: .92rem; color: var(--text-mid); line-height: 1.65;
  max-width: 32em;
}
.legal-modal-body section {
  padding: clamp(20px, 2.5vw, 28px) 0;
  border-top: 1px solid rgba(42,26,14,.1);
}
.legal-modal-body section:first-child { padding-top: 0; border-top: none; }
.legal-modal-body h3 {
  font-family: var(--ff-display);
  font-size: clamp(17px, 2vw, 22px); font-weight: 700;
  color: var(--text-dark); margin-bottom: 16px;
}
.legal-def { margin: 0; }
.legal-def > div {
  display: grid;
  grid-template-columns: minmax(120px, 38%) 1fr;
  gap: 8px 20px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(42,26,14,.06);
  font-size: .86rem; line-height: 1.6;
}
.legal-def > div:last-child { border-bottom: none; }
.legal-def dt {
  font-weight: 800; color: var(--text-mid);
  letter-spacing: .02em;
}
.legal-def dd { margin: 0; color: var(--text-dark); }
.legal-def a {
  color: var(--bordeaux);
  text-decoration: underline; text-underline-offset: 2px;
}
.legal-def a:hover { color: var(--text-dark); }
.legal-prose {
  font-size: .86rem; color: var(--text-mid); line-height: 1.75;
}
.legal-prose ul {
  margin: 12px 0 0; padding-left: 1.1em;
}
.legal-prose li { margin-bottom: 8px; }
.legal-prose li:last-child { margin-bottom: 0; }
body.legal-modal-open { overflow: hidden; }
@media (max-width: 520px) {
  .legal-def > div { grid-template-columns: 1fr; gap: 2px; }
}

/* ── Bouton retour en haut de page ──────────────────────── */
.back-to-top {
  position: fixed;
  right: clamp(18px, 4vw, 36px);
  bottom: clamp(18px, 4vw, 36px);
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border: none; border-radius: 3px;
  background: var(--bordeaux); color: var(--ivory);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(42, 26, 14, .22);
  opacity: 0; visibility: hidden;
  transform: translateY(14px);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out),
              visibility .35s var(--ease-out), background .25s var(--ease-out);
  z-index: 180;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--bordeaux-l); transform: translateY(-3px); }
.back-to-top:focus-visible { outline: 2px solid var(--ambre); outline-offset: 3px; }
.back-to-top svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: opacity .2s linear, visibility .2s linear; transform: none; }
  .back-to-top.visible { transform: none; }
  .back-to-top:hover { transform: none; }
}
