/* ==========================================================================
   ZOETROPES.BE — “La galerie de nuit”
   Design system : noir chaud, Fraunces monumental, cartels mono, or & encre
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces */
  --bg: #060504;
  --bg-raised: #0d0b09;
  --bg-lift: #14110e;

  /* Encres */
  --ivory: #f2ede4;
  --ivory-dim: #cfc8bb;
  --muted: #97907f;
  --faint: #5d574c;

  /* Filets */
  --line: rgba(242, 237, 228, 0.14);
  --line-soft: rgba(242, 237, 228, 0.08);

  /* Accents */
  --gold: #c7a468;
  --gold-bright: #e3c68b;
  --ink-red: #c33b32;
  --paper: #f0ece2;
  --leaf: #4a7040;
  --sea: #35549e;

  /* Typo */
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", sans-serif;
  --mono: "Spline Sans Mono", "Courier New", monospace;

  /* Échelle */
  --text-display: clamp(3.4rem, 8.5vw, 8.2rem);
  --text-title: clamp(2.4rem, 5.4vw, 4.6rem);
  --text-section: clamp(1.9rem, 3.6vw, 3rem);
  --text-lead: clamp(1.2rem, 1.9vw, 1.55rem);
  --text-body: clamp(1.05rem, 1.25vw, 1.2rem);
  --text-small: 0.92rem;
  --text-label: 0.78rem;

  /* Rythme */
  --space-section: clamp(7rem, 14vh, 12rem);
  --gutter: clamp(1.4rem, 4.5vw, 4rem);
  --content-max: 90rem;

  /* Divers */
  --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 5.2rem;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: var(--text-body);
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Grain photographique global */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, video { display: block; max-width: 100%; height: auto; }

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

::selection { background: var(--gold); color: var(--bg); }

/* ---------- Typographie ---------- */
h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 380;
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 em, h2 em, h3 em, .serif em {
  font-style: italic;
  font-weight: 340;
  color: var(--gold-bright);
}

.t-display { font-size: var(--text-display); }
.t-title   { font-size: var(--text-title); }
.t-section { font-size: var(--text-section); }

.lead {
  font-size: var(--text-lead);
  font-weight: 300;
  line-height: 1.55;
  color: var(--ivory-dim);
  max-width: 46ch;
}

.muted { color: var(--muted); }

/* Cartel de musée */
.eyebrow {
  font-family: var(--mono);
  font-size: var(--text-label);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}
.eyebrow::before {
  content: "";
  width: 2.6rem;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.eyebrow--bare::before { display: none; }
.eyebrow--ink { color: var(--ink-red); }
.eyebrow--ink::before { background: var(--ink-red); }

.mono {
  font-family: var(--mono);
  font-size: var(--text-small);
  letter-spacing: 0.06em;
}

/* ---------- Structure ---------- */
.container {
  width: min(var(--content-max), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.section { padding-block: var(--space-section); position: relative; }
.section--tight { padding-block: calc(var(--space-section) * 0.55); }

.hairline { border: 0; height: 1px; background: var(--line); }

.split {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}
.split > .col-4 { grid-column: span 4; }
.split > .col-5 { grid-column: span 5; }
.split > .col-6 { grid-column: span 6; }
.split > .col-7 { grid-column: span 7; }
.split > .col-8 { grid-column: span 8; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split > .col-4, .split > .col-5, .split > .col-6,
  .split > .col-7, .split > .col-8 { grid-column: 1 / -1; }
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: transform 0.5s var(--ease-lux), background 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(6, 5, 4, 0.82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line-soft);
}
.nav.is-hidden { transform: translateY(-100%); }

.nav__inner {
  width: min(var(--content-max), 100% - 2 * var(--gutter));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__brand {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}
.nav__brand img { height: 1.6rem; width: auto; transform: translateY(0.2rem); }
.nav__brand .be {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.4vw, 2.6rem);
  list-style: none;
}
.nav__links a {
  font-family: var(--mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ivory-dim);
  padding-block: 0.4rem;
  position: relative;
  transition: color 0.3s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-lux);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--ivory); }
.nav__links a:hover::after, .nav__links a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__cta { display: flex; align-items: center; gap: 1.6rem; }

.lang-switch {
  display: flex;
  gap: 0.15rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}
.lang-switch a {
  padding: 0.3rem 0.45rem;
  color: var(--muted);
  text-transform: uppercase;
  transition: color 0.3s ease;
}
.lang-switch a:hover { color: var(--ivory-dim); }
.lang-switch a.is-active { color: var(--gold); }

/* Burger */
.nav__burger {
  display: none;
  background: none;
  border: 0;
  width: 2.4rem;
  height: 2rem;
  cursor: pointer;
  position: relative;
  z-index: 1102;
}
.nav__burger span {
  position: absolute;
  left: 0.2rem; right: 0.2rem;
  height: 1px;
  background: var(--ivory);
  transition: transform 0.4s var(--ease-lux), opacity 0.3s ease, top 0.4s var(--ease-lux);
}
.nav__burger span:nth-child(1) { top: 0.55rem; }
.nav__burger span:nth-child(2) { top: 1.05rem; }
.nav__burger span:nth-child(3) { top: 1.55rem; }
body.menu-open .nav__burger span:nth-child(1) { top: 1.05rem; transform: rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav__burger span:nth-child(3) { top: 1.05rem; transform: rotate(-45deg); }

/* Menu mobile plein écran */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(6, 5, 4, 0.97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu ul { list-style: none; display: grid; gap: 0.4rem; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 3.2rem);
  line-height: 1.25;
  color: var(--ivory);
  display: inline-block;
  transition: color 0.3s ease, transform 0.3s var(--ease-lux);
}
.mobile-menu a:hover { color: var(--gold-bright); transform: translateX(0.4rem); }
.mobile-menu .mobile-menu__meta {
  margin-top: 2.5rem;
  display: flex;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__cta .btn { display: none; }
  .nav__burger { display: block; }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--ivory);
  border: 1px solid var(--line);
  padding: 1.05rem 2.1rem;
  background: transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.45s ease, border-color 0.45s ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ivory);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-lux);
  z-index: -1;
}
.btn:hover { color: var(--bg); border-color: var(--ivory); }
.btn:hover::before { transform: translateY(0); }

.btn--gold { border-color: rgba(199, 164, 104, 0.55); color: var(--gold-bright); }
.btn--gold::before { background: var(--gold); }
.btn--gold:hover { color: var(--bg); border-color: var(--gold); }

.btn--ink { border-color: rgba(195, 59, 50, 0.6); color: var(--paper); }
.btn--ink::before { background: var(--ink-red); }
.btn--ink:hover { color: var(--paper); border-color: var(--ink-red); }

.btn--solid { background: var(--ivory); color: var(--bg); border-color: var(--ivory); }
.btn--solid::before { background: var(--gold); }
.btn--solid:hover { border-color: var(--gold); }

.btn .arrow { transition: transform 0.4s var(--ease-lux); }
.btn:hover .arrow { transform: translateX(0.35rem); }

/* Lien discret */
.link-quiet {
  font-family: var(--mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.25rem;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.link-quiet:hover { color: var(--gold-bright); border-color: var(--gold); }

/* ---------- Média / œuvres ---------- */
.artwork {
  position: relative;
  overflow: hidden;
  background: var(--bg-raised);
}
.artwork img,
.artwork video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-lux);
}
.artwork--hover:hover img,
.artwork--hover:hover video { transform: scale(1.04); }

.artwork__caption {
  margin-top: 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

/* Rideau de reveal d’image */
.artwork[data-curtain]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg);
  transform: scaleY(1);
  transform-origin: top;
  z-index: 2;
}
.artwork[data-curtain].is-revealed::after {
  transition: transform 1.1s var(--ease-lux);
  transform: scaleY(0);
}

/* ---------- Sections signature ---------- */

/* Hero plein écran */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  padding-bottom: clamp(3rem, 8vh, 6rem);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img, .hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,5,4,0.55) 0%, rgba(6,5,4,0.15) 40%, rgba(6,5,4,0.88) 88%),
    radial-gradient(120% 60% at 50% 110%, rgba(6,5,4,0.9), transparent 60%);
}
.hero .container { position: relative; }

.hero__title { max-width: 12ch; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 2.6rem;
  align-items: center;
}

/* Lignes masquées (reveal typographique) */
.mask-line { display: block; overflow: hidden; }
.mask-line > span { display: block; will-change: transform; }

/* Chapitres numérotés */
.chapter {
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}
.chapter__no {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--faint);
}

/* Grande liste éditoriale */
.index-list { list-style: none; }
.index-list li {
  border-bottom: 1px solid var(--line);
  padding: clamp(1.6rem, 3.2vw, 2.6rem) 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: baseline;
  transition: padding-left 0.5s var(--ease-lux);
}
.index-list li:hover { padding-left: 1rem; }
.index-list .no {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--faint);
  letter-spacing: 0.2em;
}
.index-list .name {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.4vw, 2.8rem);
  line-height: 1.1;
}
.index-list .desc {
  color: var(--muted);
  font-size: var(--text-small);
  max-width: 34ch;
  text-align: right;
}
@media (max-width: 760px) {
  .index-list li { grid-template-columns: auto 1fr; }
  .index-list .desc { grid-column: 2; text-align: left; }
}

/* Statistiques cartel */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 2.2rem 1.8rem;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; }
.stat b {
  display: block;
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1;
  margin-bottom: 0.7rem;
}
.stat span {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}
@media (max-width: 760px) {
  .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
}

/* Galerie horizontale pinnée */
.strip { position: relative; overflow: hidden; }
.strip__track {
  display: flex;
  gap: clamp(1.2rem, 2.5vw, 2.5rem);
  align-items: center;
  padding-inline: var(--gutter);
  will-change: transform;
  width: max-content;
}
.strip__item { flex: 0 0 auto; width: clamp(16rem, 30vw, 26rem); }
.strip__item:nth-child(even) { transform: translateY(clamp(1.5rem, 4vh, 3.5rem)); }
.strip__item .artwork { aspect-ratio: 1; }

/* Comparateur LCD / e-ink */
.compare {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
  background: var(--bg-raised);
}
.compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.compare__top { clip-path: inset(0 0 0 50%); }
.compare__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--paper);
  z-index: 3;
  pointer-events: none;
}
.compare__handle::after {
  content: "⟷";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 2.6rem; height: 2.6rem;
  border-radius: 50%;
  background: var(--paper);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
}
.compare__label {
  position: absolute;
  bottom: 0.9rem;
  z-index: 2;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  background: rgba(6,5,4,0.65);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.compare__label--a { left: 0.9rem; }
.compare__label--b { right: 0.9rem; }

/* Cartes édition (pricing) */
.edition {
  border: 1px solid var(--line);
  padding: clamp(2rem, 3.5vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  position: relative;
  background: linear-gradient(180deg, rgba(20,17,14,0.5), rgba(6,5,4,0));
  transition: border-color 0.4s ease, transform 0.5s var(--ease-lux);
}
.edition:hover { border-color: rgba(199, 164, 104, 0.45); transform: translateY(-0.35rem); }
.edition--featured { border-color: rgba(199, 164, 104, 0.55); }
.edition__name {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
}
.edition__price {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1;
}
.edition__price small {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  display: block;
  margin-top: 0.6rem;
  text-transform: uppercase;
}
.edition ul {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  color: var(--ivory-dim);
  font-size: var(--text-small);
  font-weight: 300;
}
.edition ul li { padding-left: 1.4rem; position: relative; }
.edition ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
}
.edition .btn { margin-top: auto; justify-content: center; }

.editions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

/* Badge stock */
.stock {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  color: var(--ivory-dim);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
}
.stock::before {
  content: "";
  width: 0.42rem; height: 0.42rem;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 8px rgba(74, 112, 64, 0.9);
}
.stock--low::before { background: var(--gold); box-shadow: 0 0 8px rgba(199,164,104,0.9); }
.stock--out::before { background: var(--faint); box-shadow: none; }
.stock--soon::before { background: var(--sea); box-shadow: 0 0 8px rgba(53,84,158,0.9); }

/* ---------- Accordéon (FAQ) ---------- */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__q {
  width: 100%;
  background: none;
  border: 0;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  text-align: left;
  padding: 1.6rem 3rem 1.6rem 0;
  cursor: pointer;
  position: relative;
  line-height: 1.3;
}
.acc__q::after {
  content: "+";
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 1.3rem;
  color: var(--gold);
  transition: transform 0.4s var(--ease-lux);
}
.acc__item.is-open .acc__q::after { transform: translateY(-50%) rotate(45deg); }
.acc__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s var(--ease-lux);
}
.acc__a > div {
  padding: 0 0 1.8rem;
  color: var(--muted);
  max-width: 62ch;
}

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 1.6rem; }
.form__row { display: grid; gap: 1.6rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 700px) { .form__row { grid-template-columns: 1fr; } }

.field { display: grid; gap: 0.55rem; }
.field label {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 300;
  padding: 0.75rem 0.1rem;
  border-radius: 0;
  transition: border-color 0.35s ease;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c7a468' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.3rem center;
  cursor: pointer;
}
.field select option { background: var(--bg-raised); color: var(--ivory); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}
.field textarea { min-height: 8.5rem; resize: vertical; }

/* Honeypot */
.hp { position: absolute; left: -6000px; opacity: 0; pointer-events: none; }

/* Feedback formulaire */
.feedback {
  padding: 1.1rem 1.4rem;
  border: 1px solid var(--line);
  font-size: var(--text-small);
  display: none;
}
.feedback.is-visible { display: block; }
.feedback--success { border-color: rgba(74, 112, 64, 0.6); color: #a9c8a0; }
.feedback--error { border-color: rgba(195, 59, 50, 0.6); color: #e2a09a; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: clamp(3.5rem, 8vh, 6rem) 0 2.5rem;
  margin-top: var(--space-section);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: 3.5rem;
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__brand {
  font-family: var(--serif);
  font-size: 2rem;
  margin-bottom: 1rem;
}
.footer h4 {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--faint);
  margin-bottom: 1.2rem;
  font-weight: 400;
}
.footer ul { list-style: none; display: grid; gap: 0.6rem; }
.footer ul a {
  color: var(--muted);
  font-size: var(--text-small);
  transition: color 0.3s ease;
}
.footer ul a:hover { color: var(--gold-bright); }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--faint);
}

/* ---------- Utilitaires anim ----------
   Les états initiaux (opacité 0, translations) sont posés par GSAP :
   sans JS ou sans GSAP, tout le contenu reste visible. */
html.no-motion .artwork[data-curtain]::after,
html.no-js .artwork[data-curtain]::after { display: none; }

/* Défilement marquee doux (bandeau œuvres) */
.marquee { overflow: hidden; }
.marquee__track {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track .artwork { width: clamp(12rem, 22vw, 19rem); aspect-ratio: 1; flex: 0 0 auto; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
html.no-motion .marquee__track { animation: none; }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2.2rem;
  right: var(--gutter);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.scroll-hint::after {
  content: "";
  width: 1px;
  height: 3.2rem;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: hint 2.2s var(--ease-lux) infinite;
}
@keyframes hint {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
html.no-motion .scroll-hint::after { animation: none; }

/* ---------- Divers ---------- */
.page-head { padding-top: calc(var(--nav-h) + clamp(4rem, 10vh, 8rem)); }

.two-cols {
  columns: 2;
  column-gap: clamp(2rem, 5vw, 5rem);
}
@media (max-width: 800px) { .two-cols { columns: 1; } }

.prose { max-width: 68ch; color: var(--ivory-dim); }
.prose p + p { margin-top: 1.2em; }
.prose h3 { margin: 2.2em 0 0.8em; font-size: 1.5rem; }
.prose a { border-bottom: 1px solid var(--gold); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
