/* ══════════════════════════════════════════
   style_2026.css
   Claris — feuille de styles commune 2026
   art.claris.fr/communs/style_2026.css
══════════════════════════════════════════ */

*, *::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;
}

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 — deux variantes : #main-nav (ROUGE 2017)
   et #nav (template v3 / ROUGE 2025)
══════════════════════════════════════════ */

/* ── #main-nav (ROUGE 2017, On the Rocks) */
#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: 52px;
  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);
}
#main-nav .nav-logo {
  font-weight: 300; font-size: 0.62rem; letter-spacing: 0.35em;
  text-transform: uppercase; color: #fff; transition: color 0.4s; white-space: nowrap;
}
#main-nav.scrolled .nav-logo { color: var(--soft); }
#main-nav .nav-links { display: flex; gap: 2rem; list-style: none; }
#main-nav .nav-links a {
  font-weight: 300; font-size: 0.6rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: #fff;
  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; font-weight: 400; }
#main-nav.scrolled .nav-links a:hover { color: var(--accent); }

/* lang-toggle pour #main-nav */
.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; }

/* ── #nav (template v3 / ROUGE 2025) */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 52px;
  background: rgba(0,0,0,0.55);
  transition: background 0.4s, box-shadow 0.4s;
}
#nav.solid {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 0 var(--rule);
}
#nav .nav-logo {
  font-weight: 200; font-size: 0.58rem; letter-spacing: 0.35em;
  text-transform: uppercase; color: #fff; transition: color 0.3s; white-space: nowrap;
}
#nav.solid .nav-logo { color: var(--mid); }
#nav .nav-links { display: flex; gap: clamp(0.8rem,2vw,1.8rem); list-style: none; flex-wrap: nowrap; }
#nav .nav-links a {
  font-weight: 300; font-size: clamp(0.48rem,0.9vw,0.58rem); letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,.85);
  text-decoration: none; border: none; transition: color 0.25s; white-space: nowrap;
}
#nav .nav-links a:hover { color: #fff; }
#nav.solid .nav-links a { color: #3a3a3a; }
#nav.solid .nav-links a:hover { color: var(--accent); }
.nav-lang {
  display: flex; border: 1px solid rgba(255,255,255,.4); border-radius: 2px;
  overflow: hidden; transition: border-color 0.4s; flex-shrink: 0;
}
#nav.solid .nav-lang { border-color: var(--rule); }
.nav-lang a {
  font-weight: 300; font-size: 0.56rem; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.7);
  padding: .22rem .6rem; border: none; transition: background 0.2s, color 0.2s;
}
.nav-lang a.on, .nav-lang a:hover { background: rgba(255,255,255,.2); color: #fff; }
#nav.solid .nav-lang a { color: var(--mid); }
#nav.solid .nav-lang a.on, #nav.solid .nav-lang a:hover { background: var(--dark); color: #fff; }

/* ── Hamburger (template v3) */
.hamburger {
  display: none; flex-direction: column; justify-content: space-between;
  width: 24px; height: 18px; background: none; border: none; cursor: pointer; z-index: 501;
}
.hamburger span { display: block; width: 100%; height: 2px; background: #fff; transition: all 0.3s; }
#nav.solid .hamburger span { background: var(--mid); }
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hamburger pour #main-nav */
#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; }

/* ══════════════════════════════════════════
   HERO — split-screen commun à toutes expos
══════════════════════════════════════════ */
#hero {
  display: grid; grid-template-columns: auto 1fr; align-items: stretch;
}
.hero-img-wrap { background: #111; align-self: start; overflow: hidden; }
.hero-slide { display: none; width: auto; height: auto; max-height: 80vh; vertical-align: top; }
.hero-slide.active { display: block; animation: heroFade 1.2s ease forwards; }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
.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: 200; font-size: 0.56rem; letter-spacing: .4em;
  text-transform: uppercase; color: var(--mid); margin-bottom: 1rem;
}
.hero-title {
  font-weight: 100; font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: 1; letter-spacing: -.02em; color: var(--dark);
  margin-bottom: 2rem; white-space: nowrap;
}
.hero-title em { font-style: normal; font-weight: 100; color: var(--mid); }
.hero-sub {
  font-weight: 300; font-size: 0.82rem; color: var(--mid);
  line-height: 1.65; max-width: 30ch;
  border-top: 1px solid var(--rule); padding-top: 1rem;
}
.hero-credit { font-size: .55rem; font-weight: 300; color: var(--mid); margin-top: 1rem; }

.scroll-cue {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 100;
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  opacity: 0; animation: fadeIn 1s 1.8s forwards; transition: opacity .5s;
}
.scroll-cue span { font-weight: 200; font-size: .48rem; letter-spacing: .3em; text-transform: uppercase; color: var(--mid); writing-mode: vertical-rl; }
.scroll-cue i { width: 1px; height: 36px; background: var(--rule); display: block; animation: lineDown 1.8s 2s infinite; }

/* ══════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════ */
.section { padding: 3.5rem 2.5rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-alt { background: var(--bg); }

.section-label {
  display: block; font-weight: 300; font-size: 0.55rem;
  letter-spacing: 0.45em; text-transform: uppercase;
  color: var(--mid); margin-bottom: 0.4rem;
}
/* Alias éditorial (template v3) */
.auteurs-label {
  font-weight: 300; font-size: .72rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--mid); display: block; margin-bottom: .4rem;
}
/* Titres de sections — taille raisonnée */
.section-title {
  font-weight: 200; font-size: clamp(1.3rem, 2.2vw, 2rem);
  line-height: 1.1; color: var(--dark); margin-bottom: 2rem;
}
.auteurs-title {
  font-weight: 100; font-size: clamp(1.3rem, 2.2vw, 2rem);
  line-height: 1.1; color: var(--dark);
}

/* ══════════════════════════════════════════
   POÈME (On the Rocks)
══════════════════════════════════════════ */
.pres-grid { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 3rem; align-items: start; }
.poem-col { font-size: 0.88rem; line-height: 1.55; font-style: italic; font-weight: 300; }
.poem-strophe { margin-bottom: 0.7rem; display: block; }
.poem-sig { display: block; font-style: normal; font-weight: 400; font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--dark); margin-top: 1.2rem; }
.poem-date { display: block; font-style: normal; font-weight: 200; font-size: 0.58rem; letter-spacing: 0.2em; color: var(--mid); margin-top: 0.2rem; }
.statement { font-size: 0.9rem; line-height: 1.85; text-align: justify; }
.statement p { margin-bottom: 1rem; }
.expos { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--rule); }
.expos h4 { font-weight: 300; font-size: 0.58rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--mid); margin-bottom: 0.7rem; }
.expos ul { list-style: none; }
.expos li { font-weight: 300; font-size: 0.78rem; color: var(--soft); padding: 0.3rem 0; border-bottom: 1px solid var(--bg); display: flex; gap: 0.6rem; }
.expos li::before { content: '—'; color: var(--rule); flex-shrink: 0; }
.expos a { color: #6e6e6e; text-decoration: none; border-bottom: 1px solid var(--rule); transition: color 0.2s; }
.expos a:hover { color: var(--accent); border-color: var(--accent); }

/* Double colonne */
.double-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.double-col > * { min-width: 0; }

/* ══════════════════════════════════════════
   FILM
══════════════════════════════════════════ */
.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; margin-bottom: 2rem; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Section film fond sombre */
.film-section { background: #1e1e1e; padding: 5rem; }
.film-section .film-label { font-weight: 300; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.6); display: block; margin-bottom: .5rem; }
.film-section h2 { font-weight: 100; font-size: clamp(1.3rem, 2.2vw, 2rem); color: #fff; line-height: 1.1; margin-bottom: 2rem; }

/* Film header (template v3) */
.film-header { display: flex; align-items: baseline; gap: 2rem; margin-bottom: 2.5rem; }
.film-label { font-weight: 300; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.film-title { font-weight: 100; font-size: clamp(1.3rem, 2.2vw, 2rem); color: #fff; line-height: 1.1; }

.flip-wrap { position: relative; padding-bottom: 72%; height: 0; overflow: hidden; }
.flip-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.awards-block { border-top: 1px solid var(--rule); padding-top: 1.8rem; margin-bottom: 2.5rem; }
.awards-block h4 { font-weight: 300; font-size: 0.58rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--mid); margin-bottom: 1rem; }
.awards-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; list-style: none; }
.awards-cols li { font-weight: 300; font-size: 0.82rem; color: var(--soft); padding: 0.38rem 0; border-bottom: 1px solid var(--rule); display: flex; gap: 0.5rem; align-items: baseline; }
.awards-cols li::before { content: '✦'; color: var(--accent); font-size: 0.42rem; flex-shrink: 0; position: relative; top: -1px; }

.film-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; border-top: 1px solid var(--rule); padding-top: 1.8rem; }
.film-note { font-size: 0.88rem; color: var(--soft); line-height: 1.75; text-align: justify; }
.film-note p { margin-bottom: 0.9rem; }
.film-note a { color: #6e6e6e; text-decoration: none; border-bottom: 1px solid var(--rule); transition: color 0.2s; }
.film-note a:hover { color: var(--accent); }

/* ══════════════════════════════════════════
   GALERIE
══════════════════════════════════════════ */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 3px; max-width: 1200px; margin: 0 auto; }
.gallery .item { display: block; overflow: hidden; background: var(--rule); }
.gallery .item img { display: block; width: 100%; height: auto; transition: transform 0.45s ease, opacity 0.3s; }
.gallery .item:hover img { transform: scale(1.04); opacity: 0.9; }

/* ══════════════════════════════════════════
   AUTEURS — bandes éditoriales (template v3)
══════════════════════════════════════════ */
.author-block { display: grid; grid-template-columns: 280px 1fr; gap: 0; margin-bottom: 1px; background: var(--white); }
.author-block.reverse { grid-template-columns: 1fr 280px; }
.author-block.reverse .author-photo { order: 2; }
.author-block.reverse .author-text  { order: 1; }
.author-photo { overflow: hidden; background: #eee; min-height: 380px; }
.author-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; filter: grayscale(20%); transition: filter .5s, transform .6s; }
.author-block:hover .author-photo img { filter: grayscale(0); transform: scale(1.03); }
.author-text { padding: 3.5rem 4rem; display: flex; flex-direction: column; justify-content: center; }
.author-name { font-weight: 200; font-size: 1.4rem; letter-spacing: .08em; text-transform: uppercase; color: var(--dark); margin-bottom: .3rem; }
.author-role { font-weight: 300; font-size: .78rem; color: var(--mid); margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--rule); }
.author-role a { color: var(--soft); border: none; }
.author-role a:hover { color: var(--accent); }
.author-quote { font-size: .9rem; line-height: 1.8; font-style: italic; font-weight: 200; color: #555; margin-bottom: 1.5rem; border-left: 2px solid var(--accent); padding-left: 1.2rem; }
.author-quote cite { display: block; font-style: normal; font-size: .72rem; font-weight: 400; color: var(--mid); margin-top: .8rem; letter-spacing: .05em; }
.author-bio { font-size: .85rem; line-height: 1.85; color: var(--soft); text-align: justify; }
.author-bio p { margin-bottom: .7rem; }
.author-bio a { color: var(--link); }
.author-bio a:hover { color: var(--accent); }
.author-links { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--rule); display: flex; gap: 1.5rem; }
.author-links a { font-weight: 300; font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--dark); border-bottom: 1px solid var(--dark); transition: color .2s, border-color .2s; }
.author-links a:hover { color: var(--accent); border-color: var(--accent); }

/* ── Variante sombre (bloc Romain) ── */
.author-block--dark { background: #0d0d0d; }
.author-block--dark .author-name { color: #ffffff; }
.author-block--dark .author-role { color: rgba(255,255,255,.55); border-bottom-color: rgba(255,255,255,.12); }
.author-block--dark .author-role a,
.author-block--dark .author-role a:visited { color: rgba(255,255,255,.5) !important; border: none; }
.author-block--dark .author-role a:hover { color: var(--accent) !important; }
.author-block--dark .author-quote { color: rgba(255,255,255,.82); border-left-color: var(--accent); }
.author-block--dark .author-quote cite { color: rgba(255,255,255,.5); }
.author-block--dark .author-bio { color: rgba(255,255,255,.72); }
.author-block--dark .author-bio p { color: rgba(255,255,255,.72); }
.author-block--dark .author-bio a,
.author-block--dark .author-bio a:visited { color: rgba(255,255,255,.6) !important; border-bottom-color: rgba(255,255,255,.25) !important; }
.author-block--dark .author-bio a:hover { color: var(--accent) !important; border-color: var(--accent) !important; }
.author-block--dark .author-bio strong,
.author-block--dark .author-bio b { color: rgba(255,255,255,.72) !important; }
.author-block--dark .author-links { border-top-color: rgba(255,255,255,.12); }
.author-block--dark .author-links a,
.author-block--dark .author-links a:visited { color: rgba(255,255,255,.85) !important; border-bottom-color: rgba(255,255,255,.4) !important; }
.author-block--dark .author-links a:hover { color: var(--accent) !important; border-color: var(--accent) !important; }

/* Colonnes auteurs (On the Rocks) */
.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); transition: color 0.2s; }
.author-col a:hover { color: var(--accent); }
.author-col em { font-style: italic; }

/* ══════════════════════════════════════════
   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: .85rem; line-height: 1.85; color: var(--soft); text-align: justify; }
.partner-text h3 { font-weight: 300; font-size: .88rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dark); margin-bottom: .5rem; }
.partner-text p { margin-bottom: .6rem; }
.partner-text address { font-style: normal; font-size: .78rem; color: var(--mid); line-height: 1.7; margin-top: .8rem; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
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-ghost { display: inline-block; font-weight: 300; font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.25); padding: .5rem 1.2rem; text-decoration: none; margin-top: .5rem; transition: background .2s, color .2s, border-color .2s; }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.5); }

/* ══════════════════════════════════════════
   REVEAL — deux classes acceptées
══════════════════════════════════════════ */
.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; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  #hero { grid-template-columns: 55% 45%; }
  .hero-slide { max-height: 65vh; }
  .author-block { grid-template-columns: 220px 1fr; }
  .author-block.reverse { grid-template-columns: 1fr 220px; }
  .author-text { padding: 2.5rem; }
  .partner-grid { grid-template-columns: 1fr; }
  .film-section { padding: 3rem; }
}

@media (max-width: 768px) {
  #nav { padding: 0 1.2rem; }
  #main-nav { padding: 0 1.2rem; }

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

  /* Menu #nav mobile (slide down) */
  #nav .nav-links {
    position: fixed; top: 52px; left: 0; right: 0;
    background: rgba(0,0,0,0.95); flex-direction: column;
    align-items: center; gap: 1.5rem; padding: 2rem 1rem;
    transform: translateY(-120%); transition: transform 0.3s;
    z-index: 500; display: flex !important;
  }
  #nav.solid .nav-links { background: rgba(255,255,255,0.98); }
  #nav .nav-links.open { transform: translateY(0); }
  #nav .nav-links a { font-size: 1rem; color: #fff !important; white-space: normal; }
  #nav.solid .nav-links a { color: var(--dark) !important; }

  /* Menu #main-nav mobile (masqué, géré en JS) */
  #main-nav .nav-links { display: none; }
  #main-nav .nav-links.open { display: flex; flex-direction: column; flex-wrap: nowrap; position: absolute; top: 52px; left: 0; right: 0; background: rgba(0,0,0,0.95); padding: 1.5rem 2rem; gap: 0; z-index: 300; }
  #main-nav.scrolled .nav-links.open { background: rgba(255,255,255,0.97); }
  #main-nav .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.1); }
  #main-nav.scrolled .nav-links li { border-bottom: 1px solid var(--rule); }
  #main-nav .nav-links a { font-size: 0.62rem; letter-spacing: 0.18em; padding: 0.7rem 0; display: block; line-height: 1.5; }

  /* Hero mobile */
  #hero { grid-template-columns: 1fr; }
  .hero-img-wrap { height: auto; }
  .hero-slide { width: 100%; height: auto; max-height: 60vw; max-width: none; }
  .hero-text-wrap { padding: 3rem 1.5rem 2.5rem; }
  .hero-title { font-size: clamp(2rem, 10vw, 3.5rem); white-space: normal; }

  .section { padding: 2rem 1.2rem; }
  .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; }
  .film-section { padding: 2.5rem 1.5rem; }
  .flip-wrap { padding-bottom: 80%; }

  .author-block, .author-block.reverse { grid-template-columns: 1fr; }
  .author-block.reverse .author-photo, .author-block.reverse .author-text { order: unset; }
  .author-photo { min-height: 260px; }
  .author-text { padding: 2rem 1.5rem; }
  .partner-grid { grid-template-columns: 1fr; }
  .partner-block { flex-direction: column; }

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

  .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; }
}
