/* ══════════════════════════════════════════
   style_2026v2.css
   Claris — feuille de styles commune 2026 v2
   art.claris.fr/communs/style_2026v2.css
   Inclut tout le CSS précédemment inline
   dans les templates d'exposition
══════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --white:  #ffffff;
  --bg:     #f7f7f7;
  --rule:   #e0e0e0;
  --mid:    #a8a8a8;
  --dark:   #1e1e1e;
  --text:   #333333;
  --soft:   #666666;
  --accent: #c0392b;
  /* Aliases compatibilité template v3 */
  --w:      #ffffff;
  --ink:    #1a1a1a;
  --red:    #c0392b;
  --link:   #6e6e6e;
  /* Variables layout */
  scroll-padding-top: 0;
}

section[id], div[id] { scroll-margin-top: 0; }

body {
  font-family: 'Raleway', sans-serif;
  background: var(--white);
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
  overflow-x: hidden;
}

strong, b { font-weight: 600; color: #6e6e6e; }
a { color: var(--link); text-decoration: none; border-bottom: 1px solid var(--rule); transition: color 0.2s, border-color 0.2s; }
a:hover { color: var(--accent); border-color: var(--accent); }

/* ══════════════════════════════════════════
   NAV — #main-nav
══════════════════════════════════════════ */

#main-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem; height: 56px; /* +4px pour accomoder logo plus gros */
  background: rgba(0,0,0,0.55);
  transition: background 0.4s, box-shadow 0.4s;
}
#main-nav.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
  border-bottom: 1px solid var(--rule);
}

/* ── Logo ── */
#main-nav .nav-logo {
  font-weight: 300; font-size: 0.713rem; /* 0.62rem * 1.15 = 0.713rem */
  letter-spacing: 0.35em;
  text-transform: uppercase; color: #fff;
  transition: color 0.4s; white-space: nowrap; cursor: pointer;
}
#main-nav.scrolled .nav-logo { color: var(--soft); }

/* ── Nav-left (contient logo + liens éditions sous) ── */
#main-nav .nav-left {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 0.25rem; flex-shrink: 0; justify-content: center;
}

/* ── Liens éditions ── */
#main-nav .editions-wrap {
  display: flex; flex-direction: row; flex-wrap: wrap; gap: 0.3rem 0.6rem;
  max-width: 220px;
}
#main-nav .edition-link {
  font-size: clamp(0.535rem, 0.85vw, 0.65rem); /* 75% de 0.713rem ≈ 0.535rem */
  letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.65);
  text-decoration: none; border-bottom: none; white-space: nowrap; transition: color 0.2s;
}
#main-nav .edition-link:hover          { color: #fff; }
#main-nav.scrolled .edition-link       { color: rgba(0,0,0,0.5) !important; }
#main-nav.scrolled .edition-link:hover { color: var(--accent) !important; }

/* ── Nav links (mode 1 ligne / par défaut) ── */
#main-nav .nav-links {
  display: flex; flex-wrap: wrap; gap: 0.3rem 1.8rem; list-style: none;
  margin-left: 40px; align-content: center;
}
#main-nav .nav-links a {
  font-weight: 300; font-size: 0.68rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: #fff; white-space: nowrap;
  text-decoration: none; border: none; transition: color 0.25s;
}
#main-nav .nav-links a:hover          { color: rgba(255,255,255,0.7); }
#main-nav.scrolled .nav-links a       { color: #3a3a3a !important; font-weight: 400; }
#main-nav.scrolled .nav-links a:hover { color: var(--accent) !important; }

/* ── Fade in menu ── */
#main-nav .nav-links a,
#main-nav .nav-logo,
#main-nav .lang-toggle a {
  opacity: 0;
  animation: menuFadeIn 1.8s ease forwards;
}
@keyframes menuFadeIn { 0% { opacity: 0; } 100% { opacity: 1; } }
#nav-toggle span,
#main-nav .edition-link {
  opacity: 0;
  animation: menuFadeIn 1.8s ease forwards;
}

/* ── Lang toggle ── */
.lang-toggle-wrap {
  flex-shrink: 0; display: flex; align-items: center; gap: 1rem;
}
.lang-toggle {
  display: flex; border: 1px solid rgba(255,255,255,0.5);
  border-radius: 2px; overflow: hidden; transition: border-color 0.4s;
}
#main-nav.scrolled .lang-toggle { border-color: var(--rule); }
.lang-toggle a {
  font-weight: 300; font-size: 0.58rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.8);
  text-decoration: none; border: none; padding: 0.22rem 0.6rem;
  transition: background 0.2s, color 0.2s;
}
.lang-toggle a.active,
.lang-toggle a:hover              { background: rgba(255,255,255,0.2); color: #fff; }
#main-nav.scrolled .lang-toggle a { color: var(--mid); }
#main-nav.scrolled .lang-toggle a.active,
#main-nav.scrolled .lang-toggle a:hover { background: var(--dark); color: #fff; }

/* ── Hamburger ── */
#nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
#nav-toggle span {
  display: block; width: 22px; height: 1px;
  background: #fff; transition: background 0.3s;
}
#main-nav.scrolled #nav-toggle span { background: #333; }

/* ══════════════════════════════════════════
   NAV MULTILINE — 2 lignes (≥ 7 items)
   Le nombre de colonnes est injecté en inline
   style via PHP : --nav-cols: N
   DOIT être À GAUCHE (margin-left: 40px) — pas centré
══════════════════════════════════════════ */

#main-nav.nav-multiline {
  align-items: center; padding: 0.4rem 2.5rem;
  height: auto; min-height: 56px;
}
#main-nav.nav-multiline .nav-left {
  flex-direction: column; align-items: flex-start; gap: 0.25rem;
  flex-shrink: 0; min-width: 0; justify-content: center;
}
#main-nav.nav-multiline .nav-logo {
  line-height: 1; padding-top: 0; flex-shrink: 0;
}
#main-nav.nav-multiline .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.6rem;
  justify-content: flex-start;
  align-content: flex-start;
  margin-left: 40px;
  padding: 0.15rem 0;
  flex: 1 1 0; min-width: 0;
}
/* En mobile, .open prend le dessus via la media query — ne pas déclarer display ici */
#main-nav.nav-multiline .nav-links li { white-space: nowrap; }
#main-nav.nav-multiline .nav-links a {
  font-size: 0.68rem; letter-spacing: 0.18em;
  white-space: nowrap; line-height: 2; color: #fff;
}
#main-nav.nav-multiline .lang-toggle-wrap {
  padding-top: 0; flex-shrink: 0; align-self: center;
}
#main-nav.nav-multiline .edition-link {
  font-size: clamp(0.535rem, 0.7vw, 0.65rem);
}

/* ══════════════════════════════════════════
   NAV MOBILE — hamburger à 900px
   Fond noir à 20% d'opacité (transparence accrue)
══════════════════════════════════════════ */

@media (max-width: 900px) {
  #main-nav { padding: 0 1.2rem; height: 56px; align-items: center; }

  /* Hamburger visible */
  #nav-toggle { display: flex; }

  /* Multiline → 1 ligne compacte */
  #main-nav.nav-multiline {
    align-items: center; padding: 0 1.2rem; height: 56px;
  }
  #main-nav.nav-multiline .nav-left {
    flex-direction: row; align-items: baseline; gap: 0.8rem;
  }
  #main-nav.nav-multiline .nav-logo { padding-top: 0; }
  #main-nav.nav-multiline .lang-toggle-wrap { padding-top: 0; }
  #main-nav.nav-multiline .edition-link { display: inline; font-size: 0.55rem; }

  /* Menu — masqué par défaut, glisse depuis le haut au clic */
  /* Fond noir avec 20% d'opacité (héritage) */
  #main-nav .nav-links,
  #main-nav.nav-multiline .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.5rem;
    position: fixed; top: 52px; right: 0; left: auto;
    background: rgba(0,0,0,0.20);  /* OPACITÉ 20% */
    backdrop-filter: blur(8px);    /* Pour meilleure lisibilité sur fonds variés */
    padding: 2rem 2.5rem 2rem 3rem;
    z-index: 300;
    width: auto; min-width: 260px; max-width: 85vw;
    transform: translateX(110%);
    transition: transform 0.3s ease;
    box-sizing: border-box;
  }
  #main-nav .nav-links.open,
  #main-nav.nav-multiline .nav-links.open {
    transform: translateX(0);
  }

  /* Items */
  #main-nav .nav-links li { line-height: 1; }
  #main-nav .nav-links a,
  #main-nav.nav-multiline .nav-links a {
    color: #fff !important;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    border: none;
    display: block;
    line-height: 1;
  }
  #main-nav .nav-links a:hover,
  #main-nav.nav-multiline .nav-links a:hover { color: rgba(255,255,255,0.6) !important; }

  /* Nav scrolled — fond blanc (reprendre l'opacité mais sur blanc) */
  #main-nav.scrolled .nav-links { background: rgba(255,255,255,0.20); backdrop-filter: blur(8px); }
  #main-nav.scrolled .nav-links a { color: #3a3a3a !important; }
  #main-nav.scrolled .nav-links a:hover { color: var(--accent) !important; }
}

/* ══════════════════════════════════════════
   HERO — split-screen + optimisation pour titres d'1 mot
══════════════════════════════════════════ */

#hero {
  display: grid; grid-template-columns: auto 1fr; padding-top: 0;
}
.hero-img-wrap {
  align-self: start; overflow: hidden; background: #111;
  display: flex; justify-content: center; align-items: flex-start;
  max-width: 58vw;
}
.hero-slide {
  display: none;
  width: auto; height: auto;
  max-height: 75vh; max-width: 100%;
  vertical-align: top;
}
.hero-slide.active { display: block; animation: heroFade 1.2s ease forwards; }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
.hero-slide.horizontal {
  width: 100%; height: auto;
  max-height: 75vh; object-fit: contain;
}
.hero-text-wrap {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 3rem 3rem; background: var(--white); position: relative;
}
.hero-tag {
  font-weight: 300; font-size: 0.6rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--mid); margin-bottom: 1rem;
}
.hero-title {
  font-weight: 100; font-size: clamp(1.36rem, 5.1vw, 4.25rem);
  letter-spacing: 0.08em; color: var(--mid);
  line-height: 1.05; margin-bottom: 1.5rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* RÈGLE SPÉCIALE : quand le titre ne contient qu'un seul mot (exposants inline ajoutés par JS ou PHP)
   On applique une fonte plus fine (weight 100), et on réduit la taille de 15% */
.hero-title.one-word {
  font-weight: 100 !important;
  font-size: clamp(1.156rem, 4.335vw, 3.6125rem) !important; /* 85% de la valeur originale */
  letter-spacing: 0.12em;
  white-space: normal !important;   /* Pas de coupure forcée mais on évite le nowrap */
  overflow-wrap: normal;
  word-break: keep-all;             /* empêche la coupure intempestive */
}
/* Alternative : via attribut de données ou classe ajoutée en JS. Si pas de JS : on utilise la sélection longue
   On cache la classe .one-word non présente, mais on laisse la règle ici pour dynamique */
.hero-title em { font-style: normal; }
.hero-sub {
  font-weight: 300; font-size: 0.78rem; letter-spacing: 0.1em;
  color: var(--mid); line-height: 1.7; margin-bottom: 1rem;
}
.hero-credit {
  font-weight: 300; font-size: 0.58rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--rule);
}
.scroll-cue {
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  z-index: 100; transition: opacity 0.4s;
}
.scroll-cue span {
  font-weight: 300; font-size: 0.52rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
}
.scroll-cue i {
  display: block; width: 1px; height: 40px;
  background: rgba(255,255,255,0.3);
  animation: lineDown 1.8s ease-in-out infinite;
}

/* ══════════════════════════════════════════
   SECTIONS (inchangées — gardées pour homogénéité)
══════════════════════════════════════════ */

.section { padding: 5rem 4rem; }
.section-alt { background: var(--bg); }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  display: block; font-weight: 300; font-size: 0.6rem;
  letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--mid); margin-bottom: 0.6rem;
}
.section-title {
  font-weight: 200; font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--dark); margin-bottom: 2rem; line-height: 1.2;
}

/* ── Hero image unique (pas de slideshow) ── */
#hero.hero-static { grid-template-columns: auto 1fr; }
#hero.hero-static .hero-img-wrap { max-width: 58vw; }
.hero-single {
  display: block;
  max-height: 75vh;
  max-width: 100%;
  width: auto; height: auto;
  vertical-align: top;
}
@media (max-width: 768px) {
  #hero.hero-static { grid-template-columns: 1fr; }
  #hero.hero-static .hero-img-wrap { max-width: 100%; }
  .hero-single { width: 100%; max-height: none; }
}
#presentation {
  display: grid; grid-template-columns: var(--img-col-width, 58%) 1fr;
  align-items: start;
}
/* ── Haiku / poème dans pres-left ── */
.haiku-block {
  margin-bottom: 2.5rem; padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1); text-align: center;
}
.haiku-jp {
  font-size: 1.1rem; font-weight: 200; color: rgba(255,255,255,0.45);
  letter-spacing: 0.18em; display: block; margin-bottom: 1.2rem;
  white-space: nowrap;
}
.haiku-fr {
  font-size: 0.9rem; font-weight: 200; font-style: italic;
  color: rgba(255,255,255,0.55); line-height: 2; display: block; margin-bottom: 0.8rem;
}
.haiku-author {
  font-size: 0.58rem; font-weight: 300; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(255,255,255,0.28);
}

.pres-left {
  background: #1a1a1a; padding: 5rem 4rem 5rem 5rem;
  display: flex; flex-direction: column; justify-content: flex-start;
}
.pres-left .section-label { color: rgba(255,255,255,0.5); }
.pres-left .section-title { color: #fff; margin-bottom: 2rem; }
.pres-left a { color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.2); }
.pres-left a:hover { color: #fff; border-color: rgba(255,255,255,0.5); }
/* Alias pour anciens fichiers utilisant pres-left-body au lieu de pres-body */
.pres-left-body, .pres-body {
  font-size: 0.88rem; line-height: 1.85; font-weight: 300;
  color: rgba(255,255,255,0.55); text-align: justify;
}
.pres-left-body p, .pres-body p { margin-bottom: 1rem; }
.pres-left-body b, .pres-left-body strong,
.pres-body b, .pres-body strong { color: rgba(255,255,255,0.8); }
.pres-right {
  background: var(--white); padding: 5rem 5rem 5rem 4rem;
  display: flex; flex-direction: column; justify-content: flex-start;
  align-self: stretch;
}
/* Pas de margin-top fixe — chaque expo a un header gauche de hauteur différente.
   L'alignement des premières lignes de corps de texte est assuré par le template :
   .pres-right > *:first-child reçoit un padding-top inline si nécessaire expo par expo. */
.statement p { margin-bottom: 1.2rem; font-size: 0.9rem; line-height: 1.85; color: var(--text); text-align: justify; }

/* ── Film / vidéo ── */
.film-section { background: #1e1e1e; padding: 5rem; }
.film-label {
  font-weight: 300; font-size: 0.72rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: rgba(255,255,255,0.6);
  display: block; margin-bottom: 0.5rem;
}
.film-title {
  font-weight: 100; font-size: clamp(1.3rem, 2.2vw, 2rem);
  letter-spacing: 0.1em;
  color: #fff; margin-bottom: 2rem; line-height: 1.2;
}
.film-subtitle {
  font-size: 0.78rem; font-weight: 300; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
  display: block; margin-bottom: 1rem; margin-top: 2.5rem;
}
.video-wrap {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; margin-bottom: 3rem;
}
.video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.flip-wrap { position: relative; padding-bottom: 72%; height: 0; overflow: hidden; }
.flip-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ── Galerie photos ── */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 3px;
}
.gallery .item { display: block; overflow: hidden; aspect-ratio: 1/1; }
.gallery .item img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: transform 0.4s ease;
}
.gallery .item:hover img { transform: scale(1.03); }

/* ── Auteurs ── */
.author-block {
  display: grid; grid-template-columns: 280px 1fr;
  align-items: stretch; margin-bottom: 2px;
}
.author-block.reverse { grid-template-columns: 1fr 280px; }
.author-block.reverse .author-photo { order: 2; }
.author-block.reverse .author-text  { order: 1; }
.author-block--dark .author-text    { background: #1a1a1a; }
.author-photo { min-height: 320px; overflow: hidden; }
.author-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.author-text {
  padding: 3rem 3.5rem; background: var(--bg);
  display: flex; flex-direction: column; gap: 1rem;
}
.author-block--dark .author-text { color: rgba(255,255,255,0.7); }
.author-name {
  font-weight: 300; font-size: 1rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--dark); margin: 0;
}
.author-block--dark .author-name { color: #fff; }
.author-role {
  font-size: 0.75rem; font-weight: 300; letter-spacing: 0.1em;
  color: var(--mid); margin: 0;
}
.author-role a { color: var(--mid); border-color: var(--rule); }
.author-role a:hover { color: var(--accent); }
.author-quote {
  font-size: 0.82rem; font-style: italic; font-weight: 300;
  line-height: 1.75; color: var(--soft); border-left: 2px solid var(--rule);
  padding-left: 1.2rem; margin: 0;
}
.author-block--dark .author-quote { color: rgba(255,255,255,0.4); border-color: rgba(255,255,255,0.15); }
.author-quote cite {
  display: block; margin-top: 0.6rem; font-style: normal;
  font-size: 0.72rem; letter-spacing: 0.08em; color: var(--mid);
}
.author-bio { font-size: 0.85rem; line-height: 1.8; font-weight: 300; }
.author-bio p { margin-bottom: 0.6rem; }
.author-bio a { color: var(--link); }
.author-bio a:hover { color: var(--accent); }
.author-block--dark .author-bio { color: rgba(255,255,255,0.55); }
.author-links { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: 0.5rem; }
.author-links a {
  font-size: 0.62rem; font-weight: 300; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--soft);
  border-bottom: 1px solid var(--rule); padding-bottom: 1px;
  text-decoration: none; transition: color 0.2s, border-color 0.2s;
}
.author-links a:hover { color: var(--accent); border-color: var(--accent); }
.author-block--dark .author-links a { color: rgba(255,255,255,0.4); border-color: rgba(255,255,255,0.15); }
.author-block--dark .author-links a:hover { color: #fff; border-color: rgba(255,255,255,0.5); }

/* ── Partenaires ── */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(480px, 1fr)); gap: 3rem; }
.partner-block { display: flex; gap: 2rem; align-items: flex-start; }
.partner-logo { flex-shrink: 0; width: 140px; text-align: center; }
.partner-logo img { max-width: 140px; height: auto; display: block; margin: 0 auto; }
.partner-text { font-size: 0.85rem; line-height: 1.85; color: var(--soft); text-align: justify; }
.partner-text h3 {
  font-weight: 300; font-size: 0.88rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--dark); margin-bottom: 0.5rem;
}
.partner-text p { margin-bottom: 0.6rem; }
.partner-text address {
  font-style: normal; font-size: 0.78rem; color: var(--mid);
  line-height: 1.7; margin-top: 0.8rem;
}
/* ── Partenaires liste (variante) ── */
.partner-list { width: 100%; display: flex; flex-direction: column; gap: 2.5rem; }
.partner-row { width: 100%; display: grid; grid-template-columns: 200px 1fr; gap: 2rem; align-items: start; }
.partner-row .partner-logo img { width: 100%; height: auto; display: block; }

/* ── Éditions ── */
.editions-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.editions-list li {
  font-size: 0.88rem; font-weight: 300; line-height: 1.45;
  color: var(--mid); padding-left: 1.2em; position: relative;
}
.editions-list li::before { content: '—'; position: absolute; left: 0; color: var(--accent); }

/* ── Double colonne ── */
.double-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.authors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 4rem; align-items: start; }
.author-col { font-size: 0.9rem; line-height: 1.85; text-align: justify; color: var(--text); }
.author-col p { margin-bottom: 0.9rem; }
.author-col img { display: block; width: 100%; max-width: 260px; height: auto; margin-bottom: 1.2rem; }
.author-col a { color: #6e6e6e; text-decoration: none; border-bottom: 1px solid var(--rule); }
.author-col a:hover { color: var(--accent); }
.author-col em { font-style: italic; }

/* ══════════════════════════════════════════
   FOOTER (inchangé)
══════════════════════════════════════════ */

footer { background: var(--white); border-top: 1px solid var(--rule); font-family: 'Raleway', sans-serif; }
footer * { font-family: 'Raleway', sans-serif !important; }
.footer-contact-label {
  text-align: center; padding: 0.35rem 2.5rem 0.2rem;
  font-weight: 300; font-size: 0.55rem; letter-spacing: 0.45em;
  text-transform: uppercase; color: var(--mid);
}
.footer-main {
  display: grid; grid-template-columns: 1fr 2fr 1fr;
  align-items: center; padding: 0 2.5rem 0.14rem; gap: 1rem;
}
.footer-logo { height: 80px; overflow: hidden; display: flex; align-items: center; }
.footer-logo img { height: 180px; width: auto; display: block; }
.footer-cta { text-align: center; }
.footer-cta a {
  font-weight: 300; font-size: 0.62rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--dark);
  text-decoration: none; border-bottom: 1px solid var(--dark);
  padding-bottom: 2px; transition: color 0.2s, border-color 0.2s;
}
.footer-cta a:hover { color: var(--accent); border-color: var(--accent); }
.footer-emails { font-weight: 300; font-size: 0.82rem; color: var(--soft); text-align: right; line-height: 1.6; }
.footer-emails a { color: var(--soft); text-decoration: none; border: none; transition: color 0.2s; }
.footer-emails a:hover { color: var(--accent); }
.footer-expos { text-align: center; padding-bottom: 0.1rem; }
.footer-expos a {
  font-weight: 300; font-size: 0.62rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--soft);
  text-decoration: none; border-bottom: 1px solid var(--rule);
  transition: color 0.2s, border-color 0.2s;
}
.footer-expos a:hover { color: var(--accent); border-color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.21rem 2.5rem; border-top: 1px solid var(--rule);
}
.footer-copy { font-weight: 300; font-size: 0.7rem; color: var(--mid); }

/* ══════════════════════════════════════════
   LIGHTBOX
══════════════════════════════════════════ */

#lightbox {
  display: none; position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,0.92);
  align-items: center; justify-content: center; flex-direction: column;
}
#lb-close {
  position: absolute; top: 1.2rem; right: 1.5rem;
  background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1;
}
#lb-prev, #lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(255,255,255,0.7);
  font-size: 2.5rem; cursor: pointer; padding: 0.5rem;
}
#lb-prev { left: 1rem; }
#lb-next { right: 1rem; }
#lb-img { max-width: 90vw; max-height: 88vh; object-fit: contain; display: block; }
#lb-counter { color: rgba(255,255,255,0.4); font-size: 0.65rem; letter-spacing: 0.2em; margin-top: 0.8rem; }

/* ══════════════════════════════════════════
   BOUTONS
══════════════════════════════════════════ */

.btn-sm {
  display: inline-block; font-weight: 300; font-size: 0.6rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--dark);
  text-decoration: none; border-bottom: 1px solid var(--dark);
  padding-bottom: 1px; transition: color 0.2s, border-color 0.2s;
}
.btn-sm:hover { color: var(--accent); border-color: var(--accent); }
/* btn-sm sur fond sombre */
.film-section .btn-sm,
.pres-left .btn-sm { color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.3); }
.film-section .btn-sm:hover,
.pres-left .btn-sm:hover { color: #fff; border-color: #fff; }
.btn-ghost {
  display: inline-block; font-weight: 300; font-size: 0.58rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.25); padding: 0.5rem 1.2rem;
  text-decoration: none; margin-top: 0.5rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.5); }

/* ══════════════════════════════════════════
   REVEAL
══════════════════════════════════════════ */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible, .reveal.on { opacity: 1; transform: none; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes lineDown {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */

@media (max-width: 960px) {
  .pres-grid { grid-template-columns: 1fr 1fr; }
  .pres-grid > div:last-child { grid-column: span 2; }
  .awards-cols, .film-notes { grid-template-columns: 1fr; }
  .authors-grid { grid-template-columns: 1fr; }
}

/* ── 1 colonne systématique sous 1048px ── */
@media (max-width: 1048px) {
  #hero,
  #hero.hero-static { grid-template-columns: 1fr; }
  .hero-img-wrap,
  #hero.hero-static .hero-img-wrap { max-width: 100%; }
  .hero-slide { max-width: 100%; max-height: none; width: 100%; }
  .hero-slide.horizontal { max-height: none; object-fit: cover; }
  .hero-single { width: 100%; max-height: none; }
  .hero-text-wrap { padding: 2.5rem 2rem 2.5rem; }

  #presentation { grid-template-columns: 1fr; }
  .pres-left  { padding: 3.5rem 2rem; width: auto !important; }
  .pres-right { padding: 3.5rem 2rem; }

  .double-col { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .authors-grid { grid-template-columns: 1fr; }

  .author-block, .author-block.reverse { grid-template-columns: 1fr; }
  .author-block.reverse .author-photo,
  .author-block.reverse .author-text { order: unset; }

  .partner-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* Hero — comportements fins conservés sous 768 */
  .hero-text-wrap { padding: 3rem 1.5rem 2.5rem; }
  .hero-title { font-size: clamp(1.36rem, 8.5vw, 3rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  /* Version one-word on mobile : on garde les mêmes proportions */
  .hero-title.one-word {
    font-size: clamp(1.156rem, 7.225vw, 2.55rem) !important;
    white-space: normal !important;
  }

  /* Présentation */
  .pres-left  { padding: 3rem 1.5rem; }
  .pres-right { padding: 3rem 1.5rem; margin-top: 0; }
  .pres-right .statement { margin-top: 0; }

  /* Sections */
  .section { padding: 2rem 1.2rem; }
  .film-section { padding: 2.5rem 1.5rem; }
  .pres-grid { grid-template-columns: 1fr; }
  .pres-grid > div:last-child { grid-column: span 1; }
  .double-col { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .flip-wrap { padding-bottom: 80%; }

  /* Auteurs — ajustements fins sous 768 */
  .author-photo { min-height: 260px; }
  .author-text { padding: 2rem 1.5rem; }

  /* Partenaires */
  .partner-block { flex-direction: column; }
  .partner-row { grid-template-columns: 140px 1fr; gap: 1.2rem; }

  /* Galerie */
  .gallery { grid-template-columns: 1fr !important; gap: 1rem; }
  .gallery .item { aspect-ratio: auto !important; }
  .gallery .item img { height: auto !important; object-fit: contain; }

  /* Footer */
  .footer-main { grid-template-columns: 1fr; text-align: center; gap: 0.5rem; padding: 0.2rem 1.2rem 0.35rem; }
  .footer-logo img { margin: 0 auto; }
  .footer-emails { text-align: center; }
  .footer-bottom { flex-wrap: wrap; gap: 0.35rem; padding: 0.35rem 1.2rem; }
  .footer-contact-label { padding: 0.4rem 1.2rem 0.2rem; }
  .footer-expos { padding-bottom: 0.28rem; }
  .scroll-cue { display: none; }
}