/* =========================================================
   THIDET — CSS principal
   Mobile-first · Fond blanc · Typographie Inter · Aucune couleur d'accent
   ========================================================= */

/* ── Variables ─────────────────────────────────────────────────────────── */
:root {
  --font-sans:       'Inter', system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --color-bg:        #ffffff;
  --color-text:      #111111;
  --color-muted:     #888888;
  --color-border:    #ebebeb;
  --color-hover:     #555555;

  --header-h:        48px;
  --strip-h:         52px;

  --space-xs:        8px;
  --space-s:         16px;
  --space-m:         32px;
  --space-l:         64px;
  --space-xl:        96px;

  --container-max:   1200px;
  --container-pad:   24px;

  --transition:      150ms ease;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

/* ── Accessibilité ─────────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-s);
  background: var(--color-text);
  color: var(--color-bg);
  padding: 6px 14px;
  font-size: 12px;
  z-index: 9999;
  border-radius: 0 0 3px 3px;
}
.skip-link:focus { top: 0; }

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

/* ── Container ─────────────────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ─────────────────────────────────────────────────────────────────────────
   HEADER — sticky, barre top, navigation Direction B
   ───────────────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-inline: var(--container-pad);
  gap: var(--space-m);
}

/* ── Nom / brand ─────────────────────────────────────────────────────── */
.header-brand { flex-shrink: 0; }

.brand-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-text);
  white-space: nowrap;
  transition: opacity var(--transition);
}
.brand-link:hover { opacity: .55; }

/* ── Navigation principale (desktop) ─────────────────────────────────── */
.header-nav {
  display: none; /* masquée sur mobile */
  align-items: center;
  gap: var(--space-m);
}

.nav-link {
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--color-muted);
  white-space: nowrap;
  transition: color var(--transition);
  padding-bottom: 2px;
}
.nav-link:hover        { color: var(--color-text); }
.nav-link.is-active    {
  color: var(--color-text);
  border-bottom: 1px solid var(--color-text);
}

/* ── Droite header : langue + hamburger ──────────────────────────────── */
.header-right {
  display: flex;
  align-items: center;
  gap: var(--space-s);
  flex-shrink: 0;
}

/* Sélecteur de langue Polylang */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0;
}
.lang-switcher a {
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-muted);
  transition: color var(--transition);
  text-decoration: none;
}
.lang-switcher a + a::before {
  content: '/';
  margin: 0 5px;
  color: var(--color-border);
}
.lang-switcher a.current-lang,
.lang-switcher a[aria-current="true"] { color: var(--color-text); font-weight: 500; }
.lang-switcher a:hover                { color: var(--color-text); }

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: var(--header-h);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.toggle-bar {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--color-text);
  transition: transform var(--transition), opacity var(--transition);
}
/* Hamburger animé en X quand ouvert */
.nav-is-open .toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-is-open .toggle-bar:nth-child(2) { opacity: 0; }
.nav-is-open .toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── Overlay navigation mobile ───────────────────────────────────────── */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 101;              /* au-dessus de la strip (100) et du header (100) */
  background: var(--color-bg);
  overflow-y: auto;
  padding: var(--space-l) var(--container-pad) calc(160px + var(--space-l)); /* espace sous les liens > strip */
}
.mobile-nav-overlay.is-visible { display: block; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav-link {
  display: block;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -.01em;
  color: var(--color-text);
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  transition: opacity var(--transition);
}
.mobile-nav-link:hover    { opacity: .5; }
.mobile-nav-link.is-active { font-weight: 500; }

.mobile-lang {
  margin-top: var(--space-m);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.mobile-lang ul { display: flex; gap: 12px; list-style: none; }

/* ─────────────────────────────────────────────────────────────────────────
   SITE MAIN
   ───────────────────────────────────────────────────────────────────────── */
.site-main { min-height: calc(100svh - var(--header-h)); }

/* ─────────────────────────────────────────────────────────────────────────
   GRILLE ŒUVRES — archive-oeuvre
   ───────────────────────────────────────────────────────────────────────── */
.oeuvres-grid {
  display: grid;
  grid-template-columns: 1fr;          /* 1 col mobile */
  gap: 1px;
  background: var(--color-border);     /* la bordure devient le gap */
  margin: 0;
}

.card-oeuvre {
  background: var(--color-bg);
}

.card-oeuvre-link {
  display: block;
  padding: var(--space-s);
  transition: opacity var(--transition);
}
.card-oeuvre-link:hover { opacity: .75; }
.card-oeuvre-link:hover .card-oeuvre-img img {
  transform: scale(1.015);
}

.card-oeuvre-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f5f5f5;
  margin-bottom: var(--space-xs);
}
.card-oeuvre-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}
.card-oeuvre-placeholder {
  width: 100%;
  height: 100%;
  background: #ebebeb;
}

.card-oeuvre-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-xs);
  padding-top: 4px;
}
.card-oeuvre-title {
  font-size: 12px;
  font-weight: 400;
  font-style: italic;
  color: var(--color-text);
}
.card-oeuvre-annee {
  font-size: 11px;
  color: var(--color-muted);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────────────────
   PAGE ŒUVRE — Direction C2
   Image pleine hauteur + bande blanche toujours visible en bas
   ───────────────────────────────────────────────────────────────────────── */

/* Section hero : occupe exactement la fenêtre moins le header */
.oeuvre-hero {
  height: calc(100svh - var(--header-h) - var(--strip-h));
  display: flex;
  flex-direction: column;
  overflow: hidden;           /* empêche tout débordement */
}

/* Zone média : prend tout l'espace disponible au-dessus de la strip */
.oeuvre-hero-media {
  flex: 1 1 0;                /* grandit ET rétrécit librement */
  min-height: 0;              /* crucial : permet au flex de rétrécir sous le contenu */
  overflow: hidden;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.oeuvre-hero-media img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;        /* image entière, jamais croppée */
}

.oeuvre-hero-placeholder {
  width: 100%;
  height: 100%;
  background: #f0f0f0;
}

/* ── Strip bande blanche — toujours calée en bas, jamais hors champ ── */
.oeuvre-strip {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: auto;              /* mobile : hauteur flexible */
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: 1fr; /* mobile : 1 colonne, nav en dessous */
  align-items: start;
  padding-inline: var(--container-pad);
  padding-block: 10px 8px;
  gap: 6px;
  z-index: 100;
}

.oeuvre-strip-left {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;           /* mobile : titre sur 2 lignes si long */
  gap: 0 6px;
  min-width: 0;
}
.oeuvre-strip-title {
  font-size: 13px;
  font-weight: 400;
  font-style: italic;
  white-space: normal;       /* mobile : retour à la ligne autorisé */
  flex: 0 0 100%;            /* mobile : ligne dédiée, force le saut de ligne */
  overflow-wrap: break-word;
}
.oeuvre-strip-annee {
  font-size: 11px;
  color: var(--color-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.oeuvre-strip-lieu {
  font-size: 11px;
  color: var(--color-muted);
  white-space: normal;       /* mobile : peut enrouler */
  flex: 0 0 100%;            /* mobile : ligne dédiée pleine largeur */
  text-wrap: balance;        /* évite les orphelins (1 mot seul sur une ligne) */
}

.strip-sep {
  color: var(--color-muted);
  flex-shrink: 0;
  user-select: none;
}
.oeuvre-strip-left .strip-sep { font-size: 11px; margin-inline: -3px; display: none; } /* masqué mobile, restauré 900px */

.oeuvre-strip-meta {
  display: block;            /* mobile : visible, sur sa propre ligne */
  font-size: 11px;
  color: var(--color-muted);
  white-space: normal;       /* mobile : pas de troncature, le texte enroule */
  overflow: visible;
  min-width: 0;
  flex: 0 0 100%;            /* mobile : ligne dédiée pleine largeur */
  text-wrap: balance;        /* évite les orphelins (1 mot seul sur une ligne) */
}

.oeuvre-strip-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end; /* mobile : flèches à droite */
  gap: var(--space-s);
  flex-shrink: 0;
}
.strip-nav-btn {
  font-size: 18px;
  color: var(--color-muted);
  line-height: 1;
  padding: 4px 8px;
  transition: color var(--transition);
}
.strip-nav-btn:hover { color: var(--color-text); }

.strip-scroll-hint { transition: opacity var(--transition); }

/* Espace sous la séquence pour ne pas être masqué par la strip fixe */
/* mobile : strip auto-height (jusqu'à ~160px), marge généreuse */
.oeuvre-sequence { padding-bottom: calc(160px + var(--space-l)); }

/* ─────────────────────────────────────────────────────────────────────────
   SÉQUENCE ÉDITORIALE — images secondaires + vidéo + texte
   ───────────────────────────────────────────────────────────────────────── */
.oeuvre-sequence {
  /* Pas de padding global — chaque élément gère son espace */
}

/* ── Image dans la séquence ──────────────────────────────────────────── */
.oeuvre-seq-img {
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  /* Séparation visuelle légère entre les images */
  padding-block: var(--space-l);
  border-top: 1px solid var(--color-border);
}

.oeuvre-seq-img img {
  display: block;
  max-width: 100%;
  max-height: calc(100svh - var(--header-h) - var(--strip-h) - 2 * var(--space-l));
  width: auto;
  height: auto;
  object-fit: contain;        /* image entière visible, jamais croppée */
}

/* Paysage : pleine largeur avec une hauteur max généreuse */
.oeuvre-seq-img--landscape img {
  width: 100%;
  max-height: calc(100svh - var(--header-h) - var(--strip-h) - 2 * var(--space-l));
  padding-inline: 0;
}

/* Portrait : centré, plus étroit pour respirer */
.oeuvre-seq-img--portrait img {
  max-width: min(600px, 90vw);
}

/* Carré : traitement neutre */
.oeuvre-seq-img--square img {
  max-width: min(720px, 90vw);
}

.oeuvre-seq-caption {
  margin-top: var(--space-s);
  font-size: 11px;
  color: var(--color-muted);
  text-align: center;
  max-width: 600px;
  line-height: 1.6;
}

/* ── Vidéo dans la séquence ──────────────────────────────────────────── */
.oeuvre-seq-video {
  width: 100%;
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-l);
  background: var(--color-bg);
}

/* Wrapper pour préserver le ratio de l'embed (Vimeo/YouTube) */
.oeuvre-seq-video .wp-block-embed__wrapper,
.oeuvre-seq-video > div,
.oeuvre-seq-video > iframe {
  position: relative;
  width: 100%;
  max-width: 100%;
}

/* Override WordPress oEmbed — pleine largeur, ratio 16/9 */
.oeuvre-seq-video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(100svh - var(--header-h) - var(--strip-h) - 2 * var(--space-l));
  max-width: calc((100svh - var(--header-h) - var(--strip-h) - 2 * var(--space-l)) * 16 / 9);
  margin-inline: auto;
  border: none;
}

/* Vidéo mp4 locale — même traitement qu'une image paysage */
.oeuvre-seq-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(100svh - var(--header-h) - var(--strip-h) - 2 * var(--space-l));
  max-width: calc((100svh - var(--header-h) - var(--strip-h) - 2 * var(--space-l)) * 16 / 9);
  margin-inline: auto;
  background: #000;
}

/* ── Vidéo en hero (si pas d'image) ─────────────────────────────────── */
.oeuvre-hero-video {
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.oeuvre-hero-video iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.oeuvre-hero-video video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

/* ── Texte de présentation ───────────────────────────────────────────── */
.oeuvre-seq-text {
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-xl);
  padding-inline: var(--container-pad);
}
.oeuvre-seq-text-inner {
  max-width: 580px;         /* colonne étroite, lisible */
  margin-inline: auto;
  font-size: 13px;
  line-height: 1.9;
  color: var(--color-text);
}
.oeuvre-seq-text-inner p + p { margin-top: var(--space-s); }

/* Description courte (crédit, contexte) — même style que les métadonnées */
.oeuvre-seq-text--meta .oeuvre-seq-text-inner {
  font-size: 11px;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────────────────────
   EXPOSITIONS — liste par année
   ───────────────────────────────────────────────────────────────────────── */
.expositions-list {
  padding-top: var(--space-l);
  padding-bottom: var(--space-xl);
}

.expo-year-group {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 var(--space-m);
  margin-bottom: var(--space-l);
}

.expo-year-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-muted);
  padding-top: 18px;
  grid-row: 1;
  grid-column: 1;
}

.expo-year-list {
  grid-column: 2;
  border-top: 1px solid var(--color-border);
}

.expo-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 13px;
}

.expo-titre       { font-weight: 400; font-style: italic; flex: 0 0 100%; margin-bottom: 2px; }
.expo-lieu        { color: var(--color-muted); font-weight: 600; font-size: 12px; }
.expo-location    { color: var(--color-muted); font-size: 12px; }
.expo-item .strip-sep { margin-inline: -5px; }
.expo-type-badge  {
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.expo-commissaire {
  font-size: 11px;
  color: var(--color-muted);
  flex: 0 0 100%;
  margin-top: 2px;
}

/* ─────────────────────────────────────────────────────────────────────────
   TEXTES
   ───────────────────────────────────────────────────────────────────────── */
.textes-list {
  padding-top: var(--space-l);
  padding-bottom: var(--space-xl);
}

.texte-items { border-top: 1px solid var(--color-border); }

.texte-item {
  padding: var(--space-m) 0;
  border-bottom: 1px solid var(--color-border);
}

.texte-item-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 12px;
  margin-bottom: var(--space-xs);
}
.texte-titre       { font-size: 13px; font-weight: 400; font-style: italic; flex: 0 0 100%; margin-bottom: 4px; }
.texte-auteur      { font-size: 11px; color: var(--color-muted); }
.texte-meta        { font-size: 11px; color: var(--color-muted); }
.texte-pdf-link    {
  display: inline-block;
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-border);
  transition: color var(--transition);
  padding-bottom: 1px;
}
.texte-pdf-link:hover { color: var(--color-text); border-color: var(--color-text); }

.texte-lang-badge {
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-muted);
  border: 1px solid var(--color-border);
  padding: 1px 5px;
  border-radius: 2px;
  line-height: 1;
  align-self: center;
}
.texte-lang--fr_en {
  color: var(--color-text);
  border-color: currentColor;
}

.texte-extrait {
  font-size: 12px;
  color: var(--color-muted);
  line-height: 1.7;
  max-width: 680px;
}

/* ─────────────────────────────────────────────────────────────────────────
   DOCUMENTS
   ───────────────────────────────────────────────────────────────────────── */

.documents-list { padding-block: var(--space-l); }

.document-items { border-top: 1px solid var(--color-border); }

.document-item {
  border-bottom: 1px solid var(--color-border);
}

.document-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: var(--space-m) 0;
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}
.document-link:hover { color: var(--color-muted); }

.document-title {
  font-size: 13px;
  font-style: italic;
}
.document-size {
  font-size: 11px;
  color: var(--color-muted);
}
.document-arrow {
  font-size: 11px;
  color: var(--color-muted);
  margin-left: auto;
}

/* ─────────────────────────────────────────────────────────────────────────
   ÉDITIONS
   ───────────────────────────────────────────────────────────────────────── */
.editions-grid { padding-top: var(--space-l); padding-bottom: var(--space-xl); }

.editions-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-l);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-l);
}

.edition-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: var(--space-m);
  padding-bottom: var(--space-l);
  border-bottom: 1px solid var(--color-border);
}
.edition-cover { align-self: start; }
.edition-cover img { width: 100%; height: auto; border: 1px solid var(--color-border); }

.edition-titre      { display: block; font-size: 13px; font-weight: 400; font-style: italic; margin-bottom: 4px; }
.edition-editeur    { display: block; font-size: 11px; color: var(--color-muted); margin-bottom: 2px; }
.edition-annee      { display: block; font-size: 11px; color: var(--color-muted); margin-bottom: 2px; }
.edition-auteur     { display: block; font-size: 11px; color: var(--color-muted); margin-bottom: var(--space-xs); }
.edition-desc       { font-size: 12px; line-height: 1.7; margin-top: var(--space-xs); }
.edition-desc p     { margin-bottom: var(--space-xs); }

/* ─────────────────────────────────────────────────────────────────────────
   PAGE GÉNÉRIQUE (Biographie, etc.)
   ───────────────────────────────────────────────────────────────────────── */
.page-content {
  padding-top: var(--space-l);
  padding-bottom: var(--space-xl);
}

.page-title {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .04em;
  margin-bottom: var(--space-l);
  padding-bottom: var(--space-s);
  border-bottom: 1px solid var(--color-border);
}

.page-body {
  max-width: 640px;
  font-size: 13px;
  line-height: 1.85;
}
.page-body p + p   { margin-top: var(--space-s); }
.page-body h2      { font-size: 13px; font-weight: 500; margin-top: var(--space-m); margin-bottom: var(--space-xs); }
.page-body a       { border-bottom: 1px solid var(--color-border); transition: border-color var(--transition); }
.page-body a:hover { border-color: var(--color-text); }

/* ─────────────────────────────────────────────────────────────────────────
   PAGE CONTACT
   ───────────────────────────────────────────────────────────────────────── */
.contact-page {
  padding-top: var(--space-l);
  padding-bottom: var(--space-xl);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-l);
  padding-top: 0;
  margin-bottom: var(--space-l);
}

.contact-col-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-s);
}
.contact-col-body  {
  font-size: 13px;
  line-height: 1.85;
}
.contact-email,
.contact-instagram {
  display: block;
  font-size: 13px;
  border-bottom: 1px solid var(--color-border);
  transition: border-color var(--transition);
  width: fit-content;
}
.contact-email { margin-bottom: 6px; }
.contact-email:hover,
.contact-instagram:hover { border-color: var(--color-text); }

/* ─────────────────────────────────────────────────────────────────────────
   404
   ───────────────────────────────────────────────────────────────────────── */
.error-404 {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}
.error-404-text {
  font-size: 13px;
  color: var(--color-muted);
}
.error-404-text a {
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  margin-left: var(--space-s);
}

/* ─────────────────────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-m);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--container-pad);
}
.footer-copy {
  font-size: 11px;
  color: var(--color-muted);
  letter-spacing: .04em;
}

/* ─────────────────────────────────────────────────────────────────────────
   RESPONSIVE — Tablette ≥ 640px
   ───────────────────────────────────────────────────────────────────────── */
@media (min-width: 640px) {

  /* Grille : 2 colonnes */
  .oeuvres-grid { grid-template-columns: 1fr 1fr; }

  /* Expositions : colonne année plus large */
  .expo-year-group { grid-template-columns: 100px 1fr; }

  /* Contact : 2 colonnes */
  .contact-grid { grid-template-columns: 1fr 1fr; }

  /* Éditions : cover plus grande */
  .edition-item { grid-template-columns: 220px 1fr; }
}

/* ─────────────────────────────────────────────────────────────────────────
   RESPONSIVE — Desktop ≥ 900px
   ───────────────────────────────────────────────────────────────────────── */
@media (min-width: 900px) {

  /* Afficher la nav desktop, masquer hamburger */
  .header-nav  { display: flex; }
  .nav-toggle  { display: none; }

  /* Grille : 3 colonnes */
  .oeuvres-grid { grid-template-columns: repeat(3, 1fr); }

  /* Strip : layout 1 ligne sur desktop */
  .oeuvre-strip {
    height: var(--strip-h);
    padding-block: 0;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: var(--space-s);
  }
  .oeuvre-strip-left  { flex-wrap: nowrap; }
  .oeuvre-strip-left .strip-sep { display: inline; }
  .oeuvre-strip-title { white-space: nowrap; flex-shrink: 0; flex: none; }
  .oeuvre-strip-lieu  { white-space: nowrap; flex-shrink: 0; flex: none; }
  .oeuvre-strip-meta  { display: inline; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; }
  .oeuvre-sequence    { padding-bottom: calc(var(--strip-h) + var(--space-l)); }

  /* Contact : 3 colonnes */
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ─────────────────────────────────────────────────────────────────────────
   RESPONSIVE — Large ≥ 1440px
   ───────────────────────────────────────────────────────────────────────── */
@media (min-width: 1440px) {
  /* Grille : 4 colonnes optionnel */
  /* .oeuvres-grid { grid-template-columns: repeat(4, 1fr); } */
}

/* ─────────────────────────────────────────────────────────────────────────
   TRANSITIONS & ÉTATS
   ───────────────────────────────────────────────────────────────────────── */

/* Réduction des animations si préférence système */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}
