/* ==========================================================================
   Charlotte de Soos — proposition de refonte « Albers »
   Inspirée du site de la fondation Josef & Anni Albers : page blanche,
   voix serif, œuvres présentées comme dans une collection, peu d’interface.
   Petite touche : chaque tableau arrive d’abord en aplat de sa couleur
   moyenne, puis se révèle.
   ========================================================================== */

@font-face {
  font-family: "Commissioner";
  src: url("../fonts/commissioner-texte.woff2") format("woff2");
  font-weight: 300 700;
  font-style: oblique 0deg 12deg;
  font-display: swap;
}

:root {
  color-scheme: light;
  --fond: #ffffff;
  --encre: #2b2b2b;
  --encre-forte: #141414;
  --encre-2: #6b6b6b;
  --filet: #e4e4e2;
  --filet-fort: #cdcdca;
  --surlignage: #f4f1e8;
  --voile: rgb(22 22 22 / .34);
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Commissioner", "Helvetica Neue", Arial, sans-serif;
  --bord: clamp(1.25rem, 6.9vw, 6.25rem);
  --max: 90rem;
  --t-affiche: clamp(2.45rem, 1.25rem + 4.7vw, 4.6rem);
  --t-titre: clamp(1.8rem, 1.3rem + 2vw, 2.65rem);
  --t-chapo: clamp(1.35rem, 1.05rem + 1.2vw, 1.95rem);
  --t-carte: clamp(1.3rem, 1.15rem + .55vw, 1.6rem);
  --t-legende: .9375rem;
  --sortie: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  background: var(--fond);
}

body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: var(--sans);
  font-size: .9375rem;
  line-height: 1.6;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
strong { font-weight: 600; }
:focus-visible { outline: 1.5px solid var(--encre-forte); outline-offset: 3px; }

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.evitement {
  position: absolute; left: var(--bord); top: .75rem; z-index: 60;
  padding: .45rem .95rem; border: 1px solid var(--encre); border-radius: 999px;
  background: var(--fond); text-decoration: none; transform: translateY(-220%);
}
.evitement:focus { transform: none; }

.enveloppe { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--bord); }

/* ───── Typographie ───── */

.affiche, .titre, .chapo, .enseigne, h1, h2, h3, .legende, .recits, .citation blockquote {
  font-family: var(--serif);
  font-weight: 360;
  font-optical-sizing: auto;
}

.affiche {
  max-width: 21ch;
  font-size: var(--t-affiche);
  font-weight: 330;
  line-height: 1.1;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.titre {
  max-width: 24ch;
  font-size: var(--t-titre);
  line-height: 1.18;
  letter-spacing: -.012em;
  text-wrap: balance;
}

.chapo {
  max-width: 34ch;
  font-size: var(--t-chapo);
  line-height: 1.3;
  letter-spacing: -.008em;
  text-wrap: pretty;
}

.etiquette {
  margin-bottom: 1rem;
  font-family: var(--sans);
  font-size: .8125rem;
  line-height: 1.4;
  letter-spacing: .02em;
}

.note { margin-top: 1.75rem; max-width: 44rem; font-size: .8125rem; color: var(--encre-2); }

.ico { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.fleche {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-size: .875rem; line-height: 1.4; letter-spacing: .02em;
  text-decoration: none;
}
.fleche .ico { width: .9rem; height: .9rem; transition: transform .25s var(--sortie); }
.fleche:hover { text-decoration: underline; }
.fleche:hover .ico { transform: translateX(2px); }
.fleches { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; }

.espace { margin-top: clamp(1.75rem, 3vw, 2.5rem); }

/* ───── Boutons ronds et pastilles ───── */

.rond {
  display: inline-grid; place-items: center;
  width: 2.75rem; height: 2.15rem; padding: 0;
  border: 1px solid var(--encre); border-radius: 999px;
  background: var(--fond); color: var(--encre);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.rond .ico { width: .95rem; height: .95rem; }
.rond:hover { background: var(--encre); color: var(--fond); }

.pastilles { display: flex; flex-wrap: wrap; gap: .5rem; }

.pastille {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .4rem .85rem;
  border: 1px solid var(--filet-fort); border-radius: 999px;
  background: var(--fond); color: var(--encre);
  font-family: var(--sans); font-size: .8125rem; line-height: 1.35; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s;
}
.pastille .ico { width: .75rem; height: .75rem; }
.pastille small { font-size: inherit; color: var(--encre-2); transition: color .2s; }
a.pastille:hover, button.pastille:hover { border-color: var(--encre); }
.pastille[aria-current="true"], .pastille[aria-selected="true"] { border-color: var(--encre); background: var(--encre); color: var(--fond); }
.pastille[aria-current="true"] small, .pastille[aria-selected="true"] small { color: rgb(255 255 255 / .7); }
.pastille--fixe { cursor: default; white-space: normal; }

.bouton {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .75rem 1.3rem;
  border: 1px solid var(--encre); border-radius: 999px;
  background: var(--encre); color: var(--fond);
  font-family: var(--sans); font-size: .875rem; letter-spacing: .02em;
  cursor: pointer; transition: background-color .2s, color .2s;
}
.bouton:hover { background: var(--fond); color: var(--encre); }

/* ───── En-tête ───── */

.entete {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-top: clamp(1.25rem, 3.4vw, 3.25rem);
}

.enseigne {
  font-size: clamp(1.3rem, 1.1rem + .65vw, 1.75rem);
  font-weight: 380;
  letter-spacing: -.01em;
  line-height: 1.2;
  text-decoration: none;
}

.entete__actions { display: flex; gap: .5rem; }

/* ───── Menu ───── */

.menu { position: fixed; inset: 0; z-index: 50; }
.menu[hidden] { display: none; }
.menu__voile { position: absolute; inset: 0; background: var(--voile); }

.menu__panneau {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 2.25rem clamp(2rem, 5vw, 5rem);
  max-height: 100%; overflow-y: auto; overscroll-behavior: contain;
  padding: clamp(1.25rem, 3.4vw, 3.25rem) var(--bord) clamp(2.5rem, 4vw, 3.5rem);
  background: var(--fond);
  animation: descendre .36s var(--sortie);
}
@keyframes descendre { from { transform: translateY(-1rem); } }

.menu__tete {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: clamp(1rem, 3vw, 2.5rem);
}

.menu__colonnes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem 2rem; align-content: start; }
.menu__titre { font-size: 1.0625rem; font-weight: 400; line-height: 1.35; }
.menu__titre a { text-decoration: none; }
.menu__groupe ul { display: grid; gap: .45rem; margin-top: .85rem; }
.menu__groupe a { font-size: .875rem; text-decoration: none; }
.menu__groupe a:hover, .menu__titre a:hover, .menu a[aria-current="page"] { text-decoration: underline; }

.menu__recits { padding-left: clamp(1.5rem, 3vw, 2.75rem); border-left: 1px solid var(--filet); }
.recits { font-size: clamp(1.05rem, .95rem + .35vw, 1.25rem); line-height: 1.85; }
.recits a { text-decoration: none; }
.recits a:hover { text-decoration: underline; }
.recits .point { margin-inline: .2em .35em; color: var(--encre-2); }

html.menu-ouvert { overflow: hidden; }

/* ───── Ouverture et entrées de page ───── */

.ouverture { padding-top: clamp(4rem, 10.5vw, 9.5rem); }
.ouverture .fleche { margin-top: clamp(1.25rem, 2.4vw, 2rem); }

.entree { padding-top: clamp(3.5rem, 9vw, 8rem); }
.entree .etiquette { margin-bottom: 1.25rem; }
.entree__chapo {
  max-width: 34ch; margin-top: clamp(1.25rem, 2.5vw, 2rem);
  font-family: var(--serif); font-size: var(--t-chapo); font-weight: 360; line-height: 1.3; letter-spacing: -.008em;
  text-wrap: pretty;
}
.entree__liens { display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin-top: clamp(1.5rem, 3vw, 2.25rem); }

/* ───── L’aplat de couleur, puis l’œuvre ───── */

.cadre {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: var(--r, auto);
  background: var(--c, #eeeeec);
}
.cadre img { width: 100%; height: 100%; object-fit: cover; }

.js.revelation-prete .cadre img { opacity: 0; transition: opacity 1.1s var(--sortie); }
.js.revelation-prete .cadre.est-revele img { opacity: 1; }
.js:not(.revelation-prete) .cadre img { animation: secours 0s 3s both; }
@keyframes secours { from { opacity: 0; } to { opacity: 1; } }

/* ───── Accrochage de l’accueil ───── */

.accrochage {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2vw, 2rem); row-gap: clamp(4rem, 8.5vw, 8rem);
  padding-top: clamp(4.5rem, 9vw, 8rem);
}
.oeuvre { grid-column: var(--col); margin-top: var(--mt, 0); align-self: start; }
.oeuvre a { display: block; color: inherit; text-decoration: none; }
.oeuvre a:hover .legende span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.legende { margin-top: .95rem; font-size: var(--t-legende); line-height: 1.38; }
.legende span, .legende em { display: block; }

/* ───── Bandeaux et sections ───── */

.bandeau {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2rem clamp(2rem, 5vw, 5rem); align-items: start;
  padding-block: clamp(6rem, 12vw, 10rem) clamp(3.5rem, 6vw, 5rem);
}
.bandeau .titre { margin-bottom: 1.5rem; }
.bandeau .pastilles { padding-top: 2.1rem; }

.filet { height: 1px; margin: 0; border: 0; background: var(--filet); }

.section { padding-top: clamp(5rem, 10vw, 9rem); }
.section--serree { padding-top: clamp(4rem, 8vw, 7rem); }
.retrait { padding-inline-start: clamp(0rem, 7vw, 6.5rem); }

.tete-section {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1rem 2.5rem; margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}
.tete-section .titre { margin-top: 0; }
.tete-section--ligne { align-items: baseline; margin-bottom: 0; padding-bottom: 1.1rem; }
.tete-section--ligne .etiquette { margin-bottom: 0; }

.duo {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 7vw, 6rem); align-items: start;
  margin-top: clamp(3rem, 6vw, 5rem);
}
.portrait h3 { margin-top: 1.4rem; font-size: var(--t-carte); line-height: 1.2; }
.portrait p { max-width: 30rem; margin-top: .6rem; }
.portrait .fleche { margin-top: 1.1rem; }
.portrait--haut .cadre--etroit { width: 78%; }

.deux {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 7vw, 6.5rem); align-items: start;
}
.deux--egal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.deux--inverse > :first-child { order: 2; }

/* ───── Cartes (cours & stages) ───── */

.cartes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 3vw, 2.75rem); }
.carte a { display: block; text-decoration: none; }
.carte__quand { font-size: .8125rem; }
.carte h3 { margin-top: .7rem; font-size: var(--t-carte); line-height: 1.18; }
.carte p:last-child { max-width: 22rem; margin-top: .7rem; font-size: .875rem; }
.carte a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }

/* ───── Rangées (expositions, stages) ───── */

.rangees { border-top: 1px solid var(--filet); }
.rangee {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr);
  gap: 1.25rem clamp(1.5rem, 4vw, 4rem); align-items: start;
  padding-block: clamp(1.75rem, 3.4vw, 2.6rem);
  border-bottom: 1px solid var(--filet);
  scroll-margin-top: 2rem;
}
.rangee__date { font-size: .8125rem; font-variant-numeric: tabular-nums; }
.rangee__vignettes { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.rangee__vignettes .vignette { width: 7.25rem; }
.rangee h3 { max-width: 26ch; font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2.25rem); line-height: 1.14; letter-spacing: -.01em; text-wrap: balance; }
.rangee__lieu { max-width: 36rem; margin-top: .85rem; font-size: .875rem; }
.rangee__suite { padding-top: .35rem; }
.rangee:target { animation: surligner 2.6s ease-out; }
@keyframes surligner { from { background: var(--surlignage); } }

/* ───── Pleine page ───── */

.pleine-page { margin-top: clamp(4.5rem, 9vw, 8rem); scroll-margin-top: 1rem; }
.entree + .pleine-page, .entree__liens + .pleine-page { margin-top: clamp(3rem, 6vw, 5rem); }
.pleine-page .cadre { width: 100%; max-height: 88vh; }
.pleine-page figcaption { margin-top: .95rem; font-family: var(--serif); font-size: var(--t-legende); line-height: 1.4; }

/* ───── Livre d’or ───── */

.citations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.5rem, 7vw, 6rem); margin-top: .5rem; }
.citation blockquote p { max-width: 30ch; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.85rem); line-height: 1.32; letter-spacing: -.006em; }
.citation figcaption { margin-top: 1.1rem; font-size: .875rem; }

/* ───── Œuvres ───── */

.sommaire {
  position: sticky; top: 0; z-index: 20;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-block: 1px solid var(--filet);
  background: rgb(255 255 255 / .94);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  backdrop-filter: saturate(1.2) blur(8px);
}
.sommaire ul { display: flex; gap: .5rem; overflow-x: auto; padding-block: .8rem; scrollbar-width: none; }
.sommaire ul::-webkit-scrollbar { display: none; }
.sommaire li { flex: none; }

.serie { padding-top: clamp(4rem, 8vw, 7rem); scroll-margin-top: 4.25rem; }
.serie__tete {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1.5rem clamp(2rem, 5vw, 5rem); margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.serie__compte { margin-top: .8rem; font-size: .875rem; color: var(--encre-2); }
.serie__affiche { display: flex; align-items: flex-end; gap: 1rem; margin-top: 1.5rem; }
.serie__affiche .vignette { width: 6.5rem; }
.serie__affiche p { font-size: .8125rem; }

.mur { columns: 4 13.5rem; column-gap: clamp(1rem, 2.2vw, 2rem); }
.mur > li { margin-bottom: clamp(1rem, 2.2vw, 2rem); break-inside: avoid; }

.vignette { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.vignette .cadre img { transition: opacity 1.1s var(--sortie), transform .6s var(--sortie); }
.vignette:hover .cadre img { transform: scale(1.015); }

/* ───── Photos ───── */

.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(10.5rem, 44vw), 1fr)); gap: clamp(.65rem, 1.4vw, 1.1rem); }
.photos .cadre { aspect-ratio: 1; }
.photos li[hidden] { display: none; }
.suite { margin-top: 1.75rem; }

.onglets__liste { display: none; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.onglets--actifs .onglets__liste { display: flex; }
.onglets__panneau + .onglets__panneau { margin-top: 3rem; }
.onglets--actifs .onglets__panneau + .onglets__panneau { margin-top: 0; }
.onglets__panneau[hidden] { display: none; }
.onglets__titre { margin-bottom: 1.25rem; font-size: var(--t-carte); }
.onglets--actifs .onglets__titre { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* ───── Textes ───── */

.prose { max-width: 38rem; font-size: 1rem; line-height: 1.65; }
.prose p + p, .prose p + ul, .prose ul + p, .prose ul + h3, .prose h3 + ul, .prose p + h3, .prose h3 + p { margin-top: 1em; }
.prose ul { display: grid; gap: .45em; }
.prose li { position: relative; padding-left: 1.15em; }
.prose li::before { content: "–"; position: absolute; left: 0; color: var(--encre-2); }
.prose h3 { margin-top: 1.6em; font-size: 1.35rem; line-height: 1.25; }
.prose a { text-decoration: underline; }
.prose em { font-family: var(--serif); font-size: 1.12em; }
.prose--large { font-family: var(--serif); font-size: clamp(1.12rem, 1.02rem + .4vw, 1.3rem); line-height: 1.55; letter-spacing: 0; }
.prose--large .fleche { margin-top: .5rem; }
.serie__texte { font-size: 1rem; }

.prose--legal { max-width: 44rem; }
.prose--legal h2 { margin: 2.6rem 0 .8rem; font-size: var(--t-carte); line-height: 1.25; }
.prose--legal h2:first-child { margin-top: 0; }
.prose--legal h3 { font-size: 1.15rem; }

/* ───── Cours : tarifs ───── */

.tarifs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 3.5vw, 3.5rem); padding-top: 2.25rem; border-top: 1px solid var(--filet); }
.tarif h3 { font-size: var(--t-carte); line-height: 1.2; }
.tarif__prix { margin-top: .7rem; font-family: var(--serif); font-size: 1.15rem; line-height: 1.4; }
.tarif dl { display: grid; gap: 1rem; margin-top: 1.5rem; }
.tarif dt { font-size: .8125rem; color: var(--encre-2); }
.tarif dd { margin-top: .2rem; }
.tarif dd li { padding-left: 1em; text-indent: -1em; }
.tarif dd li::before { content: "– "; color: var(--encre-2); }

.infos { display: grid; gap: 1.25rem; padding-top: 1.5rem; border-top: 1px solid var(--filet); }
.infos dt { font-size: .8125rem; color: var(--encre-2); }
.infos dd { margin-top: .25rem; }

.cloture__texte { max-width: 38rem; margin-top: 1.25rem; }

/* ───── Expositions : presse ───── */

.presses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 3.5vw, 3.5rem); align-items: start; }
.presse h3 { margin-top: 1.2rem; font-size: 1.35rem; line-height: 1.25; }
.presse__extrait { margin-top: .7rem; font-size: .875rem; }
.presse__lien { margin-top: .9rem; }
.article-presse { max-width: 46rem; }

/* ───── Contact ───── */

.coordonnees { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 4vw, 4rem); }
.coordonnees dd { font-family: var(--serif); font-size: clamp(1.2rem, 1.05rem + .6vw, 1.55rem); line-height: 1.45; }
.coordonnees dd a { text-decoration: none; }
.coordonnees dd a:hover { text-decoration: underline; }
.coordonnees dd p { margin-top: 1rem; }

.formulaire { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 2rem; }
.champ { display: grid; gap: .35rem; }
.champ--large, .case { grid-column: 1 / -1; }
.champ label { font-size: .8125rem; }
.champ input, .champ textarea {
  width: 100%; padding: .55rem 0;
  border: 0; border-bottom: 1px solid var(--encre); border-radius: 0;
  background: transparent; font-size: 1rem;
}
.champ textarea { min-height: 9rem; padding: .75rem; border: 1px solid var(--filet-fort); resize: vertical; }
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--encre-forte); box-shadow: 0 1px 0 var(--encre-forte); }
.case { display: flex; align-items: flex-start; gap: .75rem; font-size: .8125rem; }
.case input { width: 1rem; height: 1rem; margin-top: .2rem; accent-color: var(--encre); flex: none; }

/* ───── Parcours ───── */

.parcours { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem clamp(2rem, 6vw, 6rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.parcours__titre { margin-bottom: 1rem; font-family: var(--sans); font-size: .8125rem; font-weight: 400; letter-spacing: .02em; }
.etape {
  display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: .2rem 1.25rem;
  padding-block: 1.25rem; border-top: 1px solid var(--filet);
  scroll-margin-top: 2rem;
}
.etape__date { grid-row: span 2; padding-top: .3rem; font-size: .8125rem; color: var(--encre-2); font-variant-numeric: tabular-nums; }
.etape h3 { font-size: 1.3rem; line-height: 1.25; }
.etape:target { animation: surligner 2.6s ease-out; }

/* ───── Visionneuse ───── */

.visionneuse {
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: var(--fond); color: var(--encre);
}
.visionneuse::backdrop { background: var(--fond); }
.visionneuse__corps {
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 1rem;
  height: 100%; padding: clamp(1rem, 2.5vw, 2rem) var(--bord);
}
.visionneuse__haut, .visionneuse__bas { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.visionneuse__bas { align-items: flex-end; }
.visionneuse__image { position: relative; min-height: 0; }
.visionneuse__img {
  position: absolute; inset: 0; margin: auto;
  width: auto; height: auto; max-width: 100%; max-height: 100%;
  background: var(--c, #eeeeec);
}
.visionneuse__legende { font-family: var(--serif); font-size: var(--t-legende); line-height: 1.4; }
.visionneuse__legende em { font-style: italic; }
.visionneuse__nav { display: flex; gap: .5rem; }
.compteur { font-size: .8125rem; color: var(--encre-2); font-variant-numeric: tabular-nums; }

/* ───── Pied de page ───── */

.pied { margin-top: clamp(6rem, 12vw, 10rem); padding-bottom: 2rem; }
.pied__haut {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr);
  gap: 2.5rem clamp(2rem, 4vw, 4rem);
  padding-top: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--filet);
}
.pied__adresse { margin-bottom: 1.1rem; font-family: var(--serif); font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); line-height: 1.25; letter-spacing: -.008em; }
.pied__liens { display: grid; gap: .35rem; }
.pied__liens a { font-family: var(--serif); font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); text-decoration: none; }
.pied__liens a:hover { text-decoration: underline; }
.pied__bas {
  display: flex; flex-wrap: wrap; gap: .5rem 2rem;
  margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.25rem; border-top: 1px solid var(--filet);
  font-size: .8125rem; color: var(--encre-2);
}
.pied__bas a { text-decoration: none; }
.pied__bas a:hover { text-decoration: underline; }
.pied__haut-de-page { margin-left: auto; }

/* ───── Écrans moyens ───── */

@media (max-width: 63.99rem) {
  .menu__panneau { grid-template-columns: 1fr; }
  .menu__recits { padding: 2rem 0 0; border-left: 0; border-top: 1px solid var(--filet); }
  .cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tarifs, .presses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bandeau { grid-template-columns: 1fr; }
  .bandeau .pastilles { padding-top: 0; }
  .pied__haut { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pied__venir { grid-column: 1 / -1; }
}

/* ───── Téléphones ───── */

@media (max-width: 47.99rem) {
  .accrochage { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 3.5rem; }
  .oeuvre { grid-column: var(--col-m, 1 / -1); margin-top: 0; }
  .retrait { padding-inline-start: 0; }
  .duo, .deux, .deux--egal, .citations, .parcours, .serie__tete, .coordonnees, .formulaire { grid-template-columns: 1fr; }
  .deux--inverse > :first-child { order: 0; }
  .portrait--haut .cadre--etroit { width: 86%; }
  .rangee { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .rangee__suite { padding-top: 0; }
  .etape { grid-template-columns: 1fr; }
  .etape__date { grid-row: auto; padding-top: 0; }
  .menu__colonnes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.25rem; }
  .menu__panneau { min-height: 100%; }
  .mur { columns: 2; }
  .tete-section { align-items: flex-start; }
}

@media (max-width: 35.99rem) {
  .cartes, .tarifs, .presses, .pied__haut { grid-template-columns: 1fr; }
  .pied__haut-de-page { margin-left: 0; }
}

/* ───── Mouvements réduits ───── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  .entete__actions, .menu, .visionneuse, .sommaire, .suite { display: none !important; }
  .js.revelation-prete .cadre img { opacity: 1; }
}
