/* ==========================================================================
   La Fabrique de l'Imprévu · mise en page du site
   (les couleurs, polices et boutons viennent de charte.css ; les boutons sont redessinés plus bas)
   ========================================================================== */

:root {
  --header-h: 4.5rem;
  --night-2: #2a1f55; /* le survol des boutons d'encre, comme sur la v2 */
}
html { scroll-padding-top: calc(var(--header-h) + 1rem); }

/* --- Boutons (2026-10-28, à la demande d'Amélie) --------------------------
   Le dessin de la v2 du site, comme sur celui des Récits du mardi : des aplats sans reflet, ni dégradé, ni ombre
   portée, en gardant la flèche dans sa pastille ronde (charte.css garde le « liquid glass », commun aux deux sites).
   Sur fond clair, l'encre (.btn--glass-light, le .btn--ink de la v2) ; sur la photo de l'accueil, le blanc
   (le .btn--light de la v2) ; sur fond sombre, le verre de la v2 (.btn--glass) ; dans la couleur de la rubrique,
   un aplat (.btn--tint). Même hauteur qu'un bouton de la v2. */
.btn {
  gap: .55rem; padding: .78em 1.35em;
  -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn::after { content: none; }
.btn:has(.btn__arrow) { padding: .56em .56em .56em 1.35em; }
.btn--glass-light { color: #fff; background: var(--ink); border-color: transparent; box-shadow: none; }
.btn--glass-light:hover { background: var(--night-2); box-shadow: none; }
.btn--glass-light .btn__arrow { background: #fff; color: var(--ink); }
.btn--glass { color: #fff; background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .25); box-shadow: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--glass:hover { background: rgb(255 255 255 / .18); }
.btn--glass .btn__arrow { background: #fff; color: var(--ink); }
.btn--tint { background: color-mix(in srgb, var(--c, var(--accent)) 26%, white); border-color: transparent; box-shadow: none; }
.btn--tint:hover { background: color-mix(in srgb, var(--c, var(--accent)) 36%, white); }

/* --- En-tête ------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgb(28 23 51 / .35); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: var(--space-m); }
.brand { display: block; flex: none; }
.brand img { height: 2.9rem; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: .2rem; }
.nav a:not(.btn) {
  padding: .45rem .85rem; border-radius: var(--radius-full);
  font-size: .93rem; font-weight: 500; text-decoration: none; color: var(--ink);
  transition: background-color .2s;
}
.nav a:not(.btn):hover { background: var(--paper-alt); }
.nav a:not(.btn)[aria-current="page"], .nav a.is-section { background: color-mix(in srgb, var(--c, var(--accent)) 20%, white); }
.nav .ext::after { content: " ↗"; font-size: .8em; opacity: .6; }
.nav .btn { margin-inline: .5rem; padding: .5em .6em .5em 1.05em; font-size: .9rem; }
.nav .btn .btn__arrow { width: 1.35rem; height: 1.35rem; font-size: .85rem; }
/* Le bouton de la page où l'on se trouve passe en sombre */
.nav .btn[aria-current="page"] { color: #fff; background: var(--ink); border-color: var(--ink); box-shadow: 0 8px 22px -10px rgb(28 23 51 / .55); }
.nav .btn[aria-current="page"]::after { opacity: .18; }
.nav .btn[aria-current="page"] .btn__arrow { background: #fff; color: var(--ink); }

/* Sous-menus : une petite plaque de verre sous la rubrique, au survol ou au clavier */
.nav__item { position: relative; display: flex; align-items: center; }
.nav__item > a::after {
  content: ""; display: inline-block; width: .36em; height: .36em; margin-left: .5em;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-.22em) rotate(45deg); opacity: .4; transition: transform .2s ease, opacity .2s ease;
}
.nav__item:is(:hover, :focus-within) > a::after { transform: translateY(.05em) rotate(225deg); opacity: .75; }
.sous-menu {
  position: absolute; top: calc(100% + .6rem); left: 50%; z-index: 5;
  display: grid; min-width: 15rem; padding: .45rem;
  /* fond opaque : dans l'en-tête, qui a déjà son propre flou, celui du menu ne s'applique pas et le texte de la page transparaissait */
  background: #fff;
  border: 1px solid rgb(28 23 51 / .1); border-radius: var(--radius-m);
  box-shadow: inset 0 1px 0 #fff, var(--shadow-m);
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.sous-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -.7rem; height: .7rem; }
.nav__item:is(:hover, :focus-within) > .sous-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.nav .sous-menu a { display: flex; align-items: center; gap: .65rem; padding: .55rem .8rem; border-radius: var(--radius-s); font-size: .92rem; white-space: nowrap; }
.sous-menu a::before { content: ""; flex: none; width: .5rem; height: .5rem; border-radius: 50%; background: var(--c, var(--accent)); }
.sous-menu a.sous-menu__plus::before { background: var(--accent); }

.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--radius-full); padding: .5rem .85rem; font: 600 .85rem var(--f-text); color: var(--ink); cursor: pointer; }
@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: .15rem;
    max-height: calc(100svh - var(--header-h)); overflow-y: auto;
    padding: var(--space-s) var(--gutter) var(--space-m);
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-m);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: .8rem 1rem; font-size: 1.05rem; }
  .nav .btn { margin: .5rem 0; justify-content: space-between; }
  .nav__item { display: block; }
  .nav__item > a { display: block; }
  .nav__item > a::after { display: none; }
  .sous-menu, .nav__item:is(:hover, :focus-within) > .sous-menu {
    position: static; transform: none; opacity: 1; visibility: visible; min-width: 0;
    padding: 0 0 .4rem 1rem; background: none; border: 0; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none; transition: none;
  }
  .sous-menu::before { display: none; }
  .nav .sous-menu a { padding: .45rem 1rem; font-size: .97rem; color: var(--ink-soft); }
}

/* Plus grand en haut de page, l'en-tête reprend sa taille habituelle (--header-h, logo de 2,9rem) dès qu'on fait
   défiler (classe is-scrolled, posée par site.js), comme sur le site des Récits du mardi (2026-10-28). Fixé plutôt
   que collant, avec la place gardée en haut de page : sa hauteur change sans faire bouger le contenu. */
:root { --header-grand: 6.5rem; --brand-grand: 4.4rem; }
body { padding-top: var(--header-grand); }
.site-header { position: fixed; left: 0; right: 0; height: var(--header-grand); transition: height .3s ease, border-color .25s, box-shadow .25s; }
.site-header.is-scrolled { height: var(--header-h); }
.brand img { height: var(--brand-grand); transition: height .3s ease; }
.is-scrolled .brand img { height: 2.9rem; }
@media (min-width: 1021px) {
  .nav { gap: .35rem; transition: gap .3s ease; }
  .nav a:not(.btn) { padding: .55rem 1rem; font-size: 1.04rem; transition: background-color .2s, padding .3s ease, font-size .3s ease; }
  .is-scrolled .nav { gap: .2rem; }
  .is-scrolled .nav a:not(.btn) { padding: .45rem .85rem; font-size: .93rem; }
}
@media (max-width: 1020px) {
  :root { --header-grand: 5.5rem; --brand-grand: 3.7rem; }
  /* Le menu déplié part du bas de l'en-tête, quelle que soit sa hauteur, et tient dans l'écran même en haut de page */
  .nav { top: 100%; max-height: calc(100svh - var(--header-grand)); }
}
@media (prefers-reduced-motion: reduce) {
  .site-header, .brand img, .nav, .nav a:not(.btn), .recherche-bouton { transition: none; }
}

/* Recherche : la loupe de l'en-tête (posée par site.js, au bout du menu après Contact, ou à côté du bouton Menu
   sur téléphone) et sa fenêtre, en haut de l'écran. L'index vient de recherche.php. Reprise des Récits du mardi. */
.recherche-bouton {
  display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; padding: 0;
  border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer;
  transition: background-color .2s, width .3s ease, height .3s ease;
}
.recherche-bouton:hover { background: var(--paper-alt); }
.recherche-bouton svg { width: 1.3rem; height: 1.3rem; }
.is-scrolled .recherche-bouton { width: 2.4rem; height: 2.4rem; }
@media (max-width: 1020px) {
  .recherche-bouton { margin-left: auto; }
  .recherche-bouton + .nav-toggle { margin-left: calc(.4rem - var(--space-m)); }
}

.recherche {
  width: min(42rem, calc(100% - 2rem)); max-width: none; max-height: calc(100dvh - 2 * clamp(1rem, 9vh, 6rem));
  margin: clamp(1rem, 9vh, 6rem) auto auto; padding: 0; border: 0; border-radius: var(--radius-l);
  background: var(--sheet); color: var(--ink); box-shadow: var(--shadow-l); overflow: hidden;
}
.recherche[open] { display: flex; flex-direction: column; }
.recherche::backdrop { background: rgb(23 17 46 / .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
html:has(.recherche[open]) { overflow: hidden; }
.recherche__barre { display: flex; align-items: center; gap: .8rem; padding: .85rem .85rem .85rem 1.4rem; border-bottom: 1px solid var(--line); }
.recherche__barre > svg { flex: none; width: 1.35rem; height: 1.35rem; color: var(--muted); }
.recherche__champ {
  flex: 1; min-width: 0; padding: .4rem 0; border: 0; background: none; outline: none;
  font: 500 1.2rem/1.3 var(--f-text); color: var(--ink);
}
.recherche__champ::placeholder { color: var(--muted); opacity: 1; }
/* sans la petite croix du navigateur, qui doublait celle qui ferme la fenêtre */
.recherche__champ::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.recherche__fermer {
  display: grid; place-items: center; flex: none; width: 2.4rem; height: 2.4rem; padding: 0; border-radius: 50%;
  border: 1px solid rgb(28 23 51 / .1); background: #fff; box-shadow: var(--shadow-s);
  font: 400 1.5rem/1 var(--f-text); color: var(--ink); cursor: pointer; transition: transform .3s;
}
.recherche__fermer:hover { transform: rotate(90deg); }
.recherche__etat { margin: 0; padding: .8rem 1.4rem 0; font-size: .82rem; color: var(--muted); }
.recherche__etat:empty { display: none; }
.recherche__resultats { margin: 0; padding: .45rem .6rem .7rem; list-style: none; overflow-y: auto; overscroll-behavior: contain; }
.recherche__resultats:empty { display: none; }
.recherche__resultat {
  display: flex; align-items: flex-start; gap: 1rem; padding: .7rem .8rem; border-radius: var(--radius-m);
  color: inherit; text-decoration: none; transition: background-color .15s;
}
.recherche__resultat:hover, .recherche__resultat:focus-visible { background: var(--paper-alt); }
.recherche__resultat:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.recherche__vignette { flex: none; width: 3.75rem; height: 3.75rem; border-radius: var(--radius-s); object-fit: cover; background: var(--paper-alt); }
.recherche__vignette--page { background: var(--paper-alt) url("../img/logo.svg") center / 70% no-repeat; }
.recherche__texte { display: grid; gap: .1rem; min-width: 0; }
.recherche__rubrique { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.recherche__titre { font: 500 1.4rem/1.1 var(--f-display); }
.recherche__role { font-size: .86rem; font-weight: 600; }
.recherche__extrait {
  margin-top: .2rem; font-size: .86rem; line-height: 1.45; color: var(--ink-soft);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
.recherche__extrait:empty { display: none; }
.recherche mark { padding: 0 .08em; border-radius: 3px; background: color-mix(in srgb, var(--accent) 30%, white); color: inherit; }
/* Sur téléphone, la fenêtre prend tout l'écran : le clavier ne cache pas les résultats */
@media (max-width: 640px) {
  .recherche { width: 100%; height: 100dvh; max-height: none; margin: 0; border-radius: 0; }
  .recherche__barre { padding-left: 1.1rem; }
  .recherche__resultats { padding-inline: .3rem; }
}

/* ==========================================================================
   Accueil : un diaporama à la taille de l'écran (Amélie et Joan, 2026-10-29, sur le modèle de La Volige)
   ========================================================================== */
/* Les photos tournent sous l'en-tête, transparent, dont le logo et le menu passent en blanc ou en noir selon la photo
   (data-ton sur <body>, posé par site.js). D'abord l'eau et la phrase, puis les projets, chacun avec son titre ; à
   droite, une colonne de petits points dit où l'on en est et mène à chaque photo. Le menu se lit sans attendre les photos. */
.page-accueil { padding-top: 0; }
.page-accueil .site-header:not(.is-scrolled) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.page-accueil .site-header .brand img { transition: height .3s ease, filter .6s ease; }
.page-accueil[data-ton="sombre"] .site-header:not(.is-scrolled) .brand img { filter: brightness(0) invert(1); }
.page-accueil[data-ton="sombre"] .site-header:not(.is-scrolled) :is(.recherche-bouton, .nav-toggle) { color: #fff; border-color: rgb(255 255 255 / .5); }
.page-accueil[data-ton="sombre"] .site-header:not(.is-scrolled) .recherche-bouton:hover { background: rgb(255 255 255 / .16); }
@media (min-width: 1021px) {
  .page-accueil .site-header:not(.is-scrolled) :is(.nav > a, .nav__item > a) { transition: background-color .2s, color .6s ease, padding .3s ease, font-size .3s ease; }
  .page-accueil[data-ton="sombre"] .site-header:not(.is-scrolled) :is(.nav > a, .nav__item > a) { color: #fff; }
  .page-accueil[data-ton="sombre"] .site-header:not(.is-scrolled) :is(.nav > a, .nav__item > a):hover { background: rgb(255 255 255 / .16); }
}

.diapo {
  --encre: var(--ink); --voile: 255 255 255;
  position: relative; isolation: isolate; overflow: hidden;
  height: 100vh; height: 100svh; min-height: 34rem;
  color: var(--encre); background: var(--night); transition: color .6s ease;
}
[data-ton="sombre"] .diapo { --encre: #fff; --voile: 20 14 40; }
.diapo__images { position: absolute; inset: 0; z-index: -2; margin: 0; padding: 0; list-style: none; }
.diapo__images img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.diapo__images img.is-active { opacity: 1; }
/* deux voiles discrets : en haut sous le menu, en bas à gauche sous la phrase */
.diapo::before, .diapo::after { content: ""; position: absolute; z-index: -1; pointer-events: none; transition: opacity .6s ease; }
.diapo::before { inset: 0 0 auto; height: 11rem; background: linear-gradient(180deg, rgb(var(--voile) / .5), rgb(var(--voile) / 0)); }
.diapo::after { inset: auto 0 0; height: 55%; background: linear-gradient(20deg, rgb(var(--voile) / .72) 0%, rgb(var(--voile) / .3) 40%, rgb(var(--voile) / 0) 65%); }

.diapo__texte { position: absolute; left: 0; right: 0; bottom: clamp(2.5rem, 1rem + 6vh, 5.5rem); display: grid; align-items: end; }
.diapo__texte > * { grid-area: 1 / 1; }
/* la phrase en plus petit, la photo d'abord (Joan, 2026-10-29) */
.diapo h1, .diapo__titre { margin: 0; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); line-height: 1; letter-spacing: -0.005em; }
.diapo__sous-titre, .diapo__cat { margin: var(--space-m) 0 0; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
/* plus clair et détaché par une ombre sur les photos sombres : le cuivre se perdait dans les vagues */
[data-ton="sombre"] :is(.diapo__sous-titre, .diapo__cat) { color: color-mix(in srgb, var(--accent) 70%, #fff); text-shadow: 0 1px 12px rgb(var(--voile) / .9), 0 0 3px rgb(var(--voile) / .6); }
[data-ton="clair"] :is(.diapo__sous-titre, .diapo__cat) { color: var(--accent-ink); }

/* Sur la première photo, la phrase ; sur les suivantes, à sa place, le titre du projet à l'écran, cliquable : la
   phrase s'efface en remontant (classe sur-projet) et le titre arrive ligne après ligne, comme sorti d'une fente
   (classe nom-visible, retirée le temps de changer de titre) ; le diaporama attend tant que la souris est sur le titre
   (Joan, 2026-10-29) */
.diapo__phrase { transition: opacity .45s ease, transform .6s cubic-bezier(.2, .75, .15, 1), filter .45s ease; }
.sur-projet .diapo__phrase { opacity: 0; transform: translateY(-.6rem); filter: blur(5px); pointer-events: none; }
.diapo__nom { position: relative; z-index: 1; justify-self: start; color: inherit; text-decoration: none; visibility: hidden; pointer-events: none; transition: visibility 0s .7s; }
.nom-visible .diapo__nom { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.diapo__ligne { display: block; overflow: hidden; padding: .15em .6em .2em 0; margin: -.15em -.6em -.2em 0; }
.diapo__ligne > * { display: inline-block; transform: translateY(115%); transition: transform .45s cubic-bezier(.5, 0, .75, 0); }
.nom-visible .diapo__ligne > * { transform: none; }
.nom-visible .diapo__cat { transition: transform .8s cubic-bezier(.2, .75, .15, 1) .1s; }
.nom-visible .diapo__titre { transition: transform .8s cubic-bezier(.2, .75, .15, 1) .2s, background-size .35s ease; }
.nom-visible .diapo__fleche { transition: transform .8s cubic-bezier(.2, .75, .15, 1) .2s, translate .25s ease; }
.diapo__cat { margin: 0 0 .55rem; }
.diapo__titre { padding-bottom: .06em; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; }
/* la flèche dans un rond, comme sur les boutons du site */
.diapo__fleche { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; margin-left: .7rem; border-radius: 50%; vertical-align: .45em; background: var(--encre); color: rgb(var(--voile)); font-size: 1rem; line-height: 1; }
.diapo__nom:is(:hover, :focus-visible) .diapo__titre { background-size: 100% 1.5px; }
.diapo__nom:is(:hover, :focus-visible) .diapo__fleche { translate: .3em 0; }
.diapo__nom:focus-visible { outline: none; }

/* Les points : une colonne à droite, au-dessus du bouton, de petits ronds blancs ou noirs selon la photo, à moitié
   transparents, celui de la photo à l'écran plein ; un clic montre sa photo, sans titre écrit (Joan, 2026-10-29) */
.points {
  position: absolute; z-index: 2; top: 50%; right: max(var(--gutter), (100% - var(--container)) / 2); transform: translateY(-50%);
  display: grid; justify-items: center; width: 2.6rem; margin: 0; padding: 0; list-style: none;
}
.point { display: grid; place-items: center; width: 1.75rem; height: 1.45rem; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--encre); cursor: pointer; transition: color .6s ease; }
.point::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: currentColor; opacity: .45; box-shadow: 0 0 8px rgb(var(--voile) / .55); transition: opacity .4s ease, transform .4s ease; }
.point:hover::before { opacity: .8; transform: scale(1.25); }
.point.is-active::before { opacity: 1; transform: scale(1.25); }
.point:focus-visible { outline: 1.5px solid currentColor; outline-offset: -2px; }

.diapo__pause {
  position: absolute; z-index: 2; right: max(var(--gutter), (100% - var(--container)) / 2); bottom: clamp(2.5rem, 1rem + 6vh, 5.5rem);
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; padding: 0; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--encre) 45%, transparent); background: rgb(var(--voile) / .25);
  color: var(--encre); cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.diapo__pause:hover { background: rgb(var(--voile) / .45); }
.diapo__pause:focus-visible { outline: 2px solid var(--encre); outline-offset: 2px; }
.diapo__pause svg { width: .9rem; height: .9rem; fill: currentColor; }
/* l'anneau du temps de la photo, posé sur le bord du bouton, rempli par site.js en 6 s depuis le haut (Joan, 2026-10-29) */
.diapo__pause .diapo__anneau { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); fill: none; transform: rotate(-90deg); pointer-events: none; }
.diapo__anneau circle { stroke: currentColor; stroke-width: 1.75; stroke-dasharray: 0 100; }
.diapo__pause [data-icone="lecture"], .diapo__pause[aria-pressed="true"] [data-icone="pause"] { display: none; }
.diapo__pause[aria-pressed="true"] [data-icone="lecture"] { display: block; }
html:not(.js) .diapo__pause { display: none; }

/* Sur un écran étroit, la phrase reste en bas, à l'écart du bouton : en haut, elle passait sur les visages (2026-10-29) */
@media (max-width: 760px) {
  .diapo__texte { padding-right: 3.4rem; }
  .diapo::after { height: 50%; background: linear-gradient(0deg, rgb(var(--voile) / .7) 0%, rgb(var(--voile) / .3) 50%, rgb(var(--voile) / 0) 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .diapo__images img, .diapo, .point, .point::before, .diapo__phrase, .diapo__nom,
  .diapo__ligne > *, .nom-visible .diapo__ligne > * { transition: none; }
}

/* La compagnie : la page « Édito » de la plaquette */
.edito { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--space-xl); align-items: start; }
.edito__title { font-family: var(--f-display); font-weight: 500; font-size: var(--step-5); line-height: .9; color: var(--c-edito); }
.edito__aside { margin-top: var(--space-l); color: var(--muted); max-width: 26rem; }
.prose { hyphens: auto; -webkit-hyphens: auto; }
.prose--justify { text-align: justify; }
@media (max-width: 820px) { .edito { grid-template-columns: 1fr; gap: var(--space-l); } .prose--justify { text-align: left; } }

/* La citation, sur le fond de nuit de la v2 */
.on-night {
  color: var(--night-text);
  background:
    radial-gradient(44rem 26rem at 100% 0%, rgb(118 92 200 / .45), transparent 70%),
    radial-gradient(36rem 24rem at 0% 100%, rgb(224 162 116 / .22), transparent 70%),
    linear-gradient(165deg, #2a1f55 0%, var(--night) 70%);
}
.quote { max-width: 52rem; margin-block: 0; text-align: center; }
.quote blockquote { margin: 0; font-family: var(--f-display); font-weight: 300; font-size: var(--step-3); line-height: 1.2; }
.quote blockquote p { margin: 0; }
.quote blockquote::before { content: "«"; display: block; margin-bottom: 1rem; font-weight: 500; font-size: 4rem; line-height: .6; color: var(--accent); }
.quote figcaption { margin-top: var(--space-m); font-weight: 600; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

/* ==========================================================================
   Pages intérieures
   ========================================================================== */
/* Fil d'Ariane retiré de l'affichage (Amélie, 2026-10-29 : « ça fait un grand espace de blanc ») : il reste dans les
   pages, où admin/inc/seo.php le lit pour le fil des moteurs de recherche ; une ligne à retirer pour le faire revenir */
.crumbs { display: none !important; }
/* En flex : le fil peut passer à la ligne entre deux étapes (le balisage n'a pas d'espaces) */
.crumbs { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; font-size: .85rem; color: var(--muted); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span[aria-hidden] { margin-inline: .45rem; opacity: .5; }

/* En-tête de page à la plaquette : titre et accroche, en couleur ; sur une fiche, au-dessus du titre, le surtitre qui
   ramène à la liste (« Spectacles », « Créations partagées »…) à la place du fil d'Ariane (Amélie, 2026-10-29) */
.show-head { text-align: center; margin-bottom: clamp(2rem, 1rem + 3vw, 4rem); }
.show-retour { display: inline-block; margin-bottom: .6rem; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--c); text-decoration: none; }
.show-retour span { display: inline-block; margin-right: .35em; transition: transform .2s; }
.show-retour:hover, .show-retour:focus-visible { text-decoration: underline; text-underline-offset: .25em; }
.show-retour:hover span { transform: translateX(-3px); }
.show-title { font-family: var(--f-display); font-weight: 500; font-size: clamp(3.4rem, 2rem + 5vw, 6.4rem); line-height: .92; letter-spacing: -0.01em; color: var(--c); margin-top: .15em; }
.show-title--italic { font-style: italic; }
.show-tagline { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.2rem, 1rem + .7vw, 1.6rem); line-height: 1.3; color: var(--ink-soft); margin: var(--space-m) auto 0; max-width: 34rem; }
.page-head { padding: var(--space-l) 0 var(--space-xl); background: var(--sheet); }
.page-head .crumbs { margin-bottom: var(--space-xl); }
.page-head .show-head { margin-bottom: 0; }
.page-head .intro { max-width: 36rem; margin: var(--space-xl) auto 0; }

/* Fiche : le visuel à gauche à sa taille, toujours du même côté (la souris et le menu sont à droite), le texte à droite,
   sans fond gris et sans rester collé au défilement (Amélie, 2026-10-28 et 2026-10-29) ; les fiches des spectacles aussi,
   sans la photo fixe en pleine hauteur (« le mal de mer ») */
.spread {
  display: grid; grid-template-columns: minmax(15rem, 26rem) minmax(0, 1fr); gap: clamp(2rem, 1rem + 3vw, 4.5rem); align-items: start;
  padding: clamp(2rem, 1.25rem + 2.5vw, 4rem) max(var(--gutter), (100% - var(--container)) / 2) var(--space-l);
  background: var(--sheet);
}
.spread__media { position: relative; margin: 0; padding-top: clamp(0rem, -1rem + 4vw, 3.5rem); }
.spread__media img { display: block; width: 100%; height: auto; max-height: 82svh; object-fit: contain; object-position: top; border-radius: var(--radius-l); box-shadow: var(--shadow-m); }
.spread__media figcaption { margin-top: .7rem; font-family: var(--f-display); font-weight: 300; font-size: .95rem; color: var(--muted); }
.spread__media--poster .poster-bg { display: none; }
.spread__page { display: flex; flex-direction: column; padding: 0; }
.spread__page > :is(.crumbs, .show-head, .cols, .portrait-head) { width: 100%; max-width: 46rem; margin-inline: auto; }
.spread__page > .crumbs { margin-bottom: 2rem; }

/* Texte en deux colonnes, intertitres en capitales grasses ; dans les fiches, une seule colonne (Amélie, 2026-10-28) */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-l) clamp(1.5rem, 1rem + 2vw, 3rem); align-items: start; }
.block h2, .block h3 { font-family: var(--f-text); font-weight: 700; font-size: .88rem; letter-spacing: .02em; text-transform: uppercase; margin: 0 0 .8rem; color: var(--ink); }
.block + .block { margin-top: var(--space-l); }
.cols > .block + .block { margin-top: 0; }
.spread__page .cols { grid-template-columns: minmax(0, 1fr); }
.block p, .block li { font-size: .98rem; line-height: 1.7; color: #2b2838; }
.block p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.block .signe { margin-top: 1rem; text-align: right; font-size: .78rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--ink); }
.block strong { font-weight: 600; }
.credits { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.credits li { font-size: .78rem; line-height: 1.35; text-transform: uppercase; letter-spacing: .03em; color: #2b2838; }
.credits b { display: block; font-weight: 700; color: var(--ink); }
/* Générique façon film : le poste d'abord, puis le nom (Amélie, 2026-10-29) ; listes marquées par .claude/outils/personnes.py */
.postes li { display: flex; flex-direction: column; }
.postes li > :is(b, .visage-lien) { order: 1; }
.credits--top { margin-bottom: var(--space-xl); }
.media-link { align-self: flex-end; margin-top: var(--space-l); }
/* Fiches spectacles : un poème cité, vers par vers */
.poeme { margin: var(--space-l) 0 0; }
.poeme blockquote { margin: 0; }
.poeme p { margin: 0; font-family: var(--f-display); font-weight: 300; font-size: 1.15rem; line-height: 1.35; color: var(--ink-soft); text-align: left; }
.poeme figcaption { margin-top: .8rem; font-size: .78rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--ink); }

/* Informations sous les doubles pages : en générique, sans encadrés */
.infos { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.infos > div { border-top: 1px solid var(--line); padding-top: var(--space-m); }
.infos h2 { font-family: var(--f-display); font-weight: 500; font-size: 1.9rem; line-height: 1; color: var(--c); margin-bottom: var(--space-m); }
.infos ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.infos li { font-size: .95rem; color: var(--ink-soft); }
.infos li b { display: block; color: var(--ink); font-weight: 600; }
/* L'équipe d'une création : un visage devant chaque nom dont le portrait existe (Amélie, 2026-10-28, agrandi le 2026-10-29 :
   « visages trop petits » ; posés par .claude/outils/personnes.py) ; celui d'une personne qui a une fiche l'ouvre en
   fenêtre (site.js). Tailles en em : plus petits dans le générique en capitales, un peu plus grands sous « Équipe artistique » */
.visages li { position: relative; min-height: 3.6em; padding-left: 4.4em; justify-content: center; }
.visage { position: absolute; left: 0; top: 0; width: 3.6em; height: 3.6em; border-radius: 50%; object-fit: cover; object-position: center 25%; background: var(--paper-alt); }
.visage-lien { display: block; color: inherit; text-decoration: none; }
.visage-lien b { text-decoration: underline 1px color-mix(in srgb, currentColor 30%, transparent); text-underline-offset: .2em; transition: text-decoration-color .2s; }
.visage-lien:hover b, .visage-lien:focus-visible b { text-decoration-color: currentColor; }
.visage-lien .visage { transition: box-shadow .2s; }
.visage-lien:hover .visage, .visage-lien:focus-visible .visage { box-shadow: 0 0 0 2px var(--sheet), 0 0 0 3.5px var(--c, var(--accent)); }
.infos p { color: var(--ink-soft); font-size: .95rem; }
.infos--deux { grid-template-columns: repeat(2, 1fr); }

/* Citations de presse : sans cadre, en grand */
.presse { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.presse figure { margin: 0; }
.presse p { margin: 0; font-family: var(--f-display); font-weight: 300; font-size: clamp(1.3rem, 1.1rem + .5vw, 1.6rem); line-height: 1.3; color: var(--ink); }

/* Création précédente / suivante */
.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.pager a { display: block; padding: var(--space-xl) var(--gutter); text-decoration: none; background: var(--sheet); transition: background-color .2s; }
.pager a:hover { background: color-mix(in srgb, var(--c) 8%, white); }
.pager a + a { border-left: 1px solid var(--line); text-align: right; }
.pager small { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pager span { display: block; margin-top: .3rem; font-family: var(--f-display); font-weight: 500; font-size: var(--step-3); line-height: 1; color: var(--c); }

/* Moins d'air entre les sections (Amélie, 2026-10-28 : « trop de vide », « trop aéré ») */
.section { padding-block: var(--space-2xl); }
.section--tight { padding-block: var(--space-xl); }
.section--alt { background: var(--paper-alt); }
/* flow-root : la marge du premier titre reste dans la section, sinon le fond crème du body apparaît en bandeau */
.section--sheet { display: flow-root; background: var(--sheet); }
.h-section { font-family: var(--f-display); font-weight: 500; font-size: var(--step-4); line-height: 1; }

/* ==========================================================================
   Spectacles : une grille de trois, serrée (Amélie, 2026-10-28 : « trop aérée », « trop scroller »)
   ========================================================================== */
.promenade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl) clamp(1.25rem, .75rem + 1.5vw, 2.25rem); align-items: start; padding-block: var(--space-m) var(--space-2xl); }
.pas { display: flex; flex-direction: column; gap: 1rem; text-decoration: none; color: inherit; }
/* Miniatures des spectacles au format de celles des créations partagées (Amélie, 2026-10-29) ; couleurs et sous-titres gardés */
.pas__media { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-m); background: var(--paper-alt); margin: 0; }
.pas__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
a.pas:hover .pas__media img { transform: scale(1.04); }
.pas__cat { font-family: var(--f-display); font-weight: 300; font-size: 1.2rem; line-height: 1; color: var(--c); }
.pas__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(2rem, 1.5rem + 1.2vw, 2.8rem); line-height: .95; color: var(--c); margin: .15em 0 .3em; }
.pas__tagline { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.1rem, 1rem + .3vw, 1.3rem); line-height: 1.3; color: var(--ink-soft); margin: 0; }
a.pas .pas__title { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .4s ease; display: inline; }
a.pas:hover .pas__title { background-size: 100% 2px; }
.pas__more { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; margin-top: 1.1rem; border-radius: 50%; font-size: 1.1rem; color: #fff;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 80%, white), var(--c));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .55), 0 8px 18px -8px color-mix(in srgb, var(--c) 80%, black); transition: transform .25s ease; }
.promenade .pas__more { margin-top: .8rem; }
a.pas:hover .pas__more, a.entree:hover .pas__more { transform: translateX(4px); }
@media (max-width: 900px) { .promenade { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .promenade { gap: var(--space-l) .9rem; } .pas__title { font-size: 1.7rem; } .pas__tagline { font-size: 1rem; } }

/* ==========================================================================
   Pages intermédiaires : trois entrées, comme trois portes
   ========================================================================== */
.entrees { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, .5rem + 2.5vw, 3rem); align-items: start; padding-block: var(--space-l) var(--space-3xl); }
.entree { display: block; text-decoration: none; color: inherit; }
.entree__media { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-l); background: var(--paper-alt); box-shadow: 0 34px 50px -38px color-mix(in srgb, var(--c) 85%, black); }
.entree__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
a.entree:hover .entree__media img { transform: scale(1.045); }
.entree__txt { position: relative; margin-top: 1.1rem; }
.entree__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.9rem, 1.1rem + 2.1vw, 3.4rem); line-height: .95; color: var(--c); hyphens: auto; -webkit-hyphens: auto; }
.entree__title span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .4s ease; }
a.entree:hover .entree__title span { background-size: 100% 2px; }
.entree__sub { margin: .45rem 0 0; font-family: var(--f-display); font-weight: 300; font-size: clamp(1.1rem, 1rem + .3vw, 1.3rem); line-height: 1.3; color: var(--ink-soft); }
/* La flèche se pose dans le coin de l’image : le titre garde toute la largeur */
.entree .pas__more { position: absolute; right: .9rem; bottom: calc(100% + 2rem); margin: 0; }
/* Quatre entrées (Créations avec l'accompagnement, Transmission par publics, Joan, 2026-11-02) : deux par ligne sur
   tablette, quatre sur ordinateur, avec des titres un peu plus petits pour tenir dans la colonne */
/* deux entrées (Festivals) : deux colonnes resserrées au centre, des cartes de la taille des autres */
.entrees--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 54rem; margin-inline: auto; }
@media (min-width: 761px) and (max-width: 1020px) { .entrees--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1021px) {
  .entrees--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, .5rem + 1.8vw, 2.25rem); }
  .entrees--4 .entree__title { font-size: clamp(1.8rem, 1rem + 1.4vw, 2.6rem); }
}
/* Rencontres & Décalages : sept formats en vignettes */
.rencontres { padding-block: var(--space-xl) var(--space-3xl); }
.rencontres__head { margin-bottom: var(--space-l); }
.rencontres__head .entree__title { margin: 0; }
.rencontres__grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: var(--space-s); margin: 0; padding: 0; list-style: none; }
.rencontres__grille figure { margin: 0; }
.rencontres__grille img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-m); box-shadow: 0 24px 36px -30px color-mix(in srgb, var(--c) 85%, black); }
.rencontres__grille figcaption { margin-top: .6rem; font-family: var(--f-display); font-size: 1.2rem; line-height: 1.15; }
@media (max-width: 560px) { .rencontres__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.entrees.draft { outline-offset: 1.2rem; }
@media (max-width: 760px) {
  .entrees { grid-template-columns: 1fr; gap: var(--space-xl); }
  .entrees.draft { outline-offset: .4rem; }
}

/* Ailleurs dans la même rubrique */
.voisins { padding-block: var(--space-2xl); border-top: 1px solid var(--line); background: var(--paper-alt); text-align: center; }
.voisins__label { margin: 0 0 var(--space-m); font-family: var(--f-display); font-weight: 300; font-size: var(--step-2); color: var(--ink-soft); }
.voisins .btn-row { justify-content: center; }

/* ==========================================================================
   Frise : de nombreuses créations, rangées par décennie, comme un index
   ========================================================================== */
.frise { padding-block: 0 var(--space-3xl); }
.frise__temps { display: flex; align-items: baseline; gap: 1.25rem; margin: var(--space-2xl) 0 var(--space-l); font-family: var(--f-display); font-weight: 300; font-size: var(--step-3); line-height: 1; color: var(--c); }
.frise__temps::after { content: ""; flex: 1; height: 1px; background: color-mix(in srgb, var(--c) 35%, var(--line)); }
.frise > .frise__temps:first-child { margin-top: 0; }
.frise__liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl) clamp(1.25rem, .75rem + 1.5vw, 2.25rem); align-items: start; }
/* Photo en grand au-dessus du texte (Amélie, 2026-10-28 : « les images sont trop petites ») */
.trace { position: relative; display: grid; gap: .9rem; align-content: start; }
.trace__media { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-m); background: var(--paper-alt); }
.trace__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .4s ease; }
.trace:hover .trace__media img { transform: scale(1.05); filter: none; }
.trace__an { margin: 0; font-family: var(--f-display); font-weight: 300; font-size: 1.1rem; line-height: 1; color: var(--c); }
.trace__titre { margin: .3rem 0 .35rem; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.45rem, 1.2rem + .8vw, 1.95rem); line-height: 1.02; color: var(--ink); }
.trace__titre a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .4s ease; }
.trace__titre a:hover { background-size: 100% 2px; }
.trace__ligne { margin: 0; font-size: .93rem; line-height: 1.45; color: var(--ink-soft); }
.trace__lien { display: inline-block; margin-top: .4rem; font-size: .85rem; font-weight: 600; text-decoration: none; color: color-mix(in oklab, var(--c) 65%, var(--ink)); }
.trace__lien:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Une création qui a sa fiche : toute la ligne est cliquable, le lien secondaire reste au-dessus */
.trace__titre a::after { content: ""; position: absolute; inset: 0; }
.trace__lien { position: relative; z-index: 1; }

/* Fiches des créations partagées : photos en vignettes, agrandies au clic */
/* trois colonnes de photos entières, sans recadrage (Amélie : photos plus grandes, « on voit les visages ») ; cinq sur
   ordinateur, dès que le menu est en entier (Joan, 2026-10-30) */
.galerie { list-style: none; margin: var(--space-m) 0 0; padding: 0; columns: 3 15rem; column-gap: .8rem; }
@media (min-width: 1021px) { .galerie { columns: 5; } }
.galerie li { break-inside: avoid; margin-bottom: .8rem; }
.galerie a { display: block; overflow: hidden; border-radius: var(--radius-s); background: var(--paper-alt); }
.galerie img { display: block; width: 100%; height: auto; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.galerie a:hover img { transform: scale(1.05); }
.galerie__suite { margin-top: 0; }
.galerie__suite > summary { display: inline-block; margin-top: var(--space-s); cursor: pointer; font-weight: 600; font-size: .92rem; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.galerie__suite[open] > summary { display: none; }
.visionneuse { width: 100vw; max-width: none; height: 100svh; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(12 8 22 / .94); color: #fff; }
.visionneuse[open] { display: grid; place-items: center; }
.visionneuse::backdrop { background: rgb(12 8 22 / .6); }
.visionneuse img { max-width: calc(100vw - 7rem); max-height: calc(100svh - 6rem); width: auto; height: auto; border-radius: var(--radius-s); box-shadow: var(--shadow-l); }
.visionneuse__compte { position: absolute; left: 0; right: 0; bottom: 1rem; margin: 0; text-align: center; font-size: .85rem; color: rgb(255 255 255 / .75); }
.visionneuse button { position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid rgb(255 255 255 / .4); background: rgb(255 255 255 / .12); color: #fff; font: 400 1.4rem/1 var(--f-text); cursor: pointer; transition: background-color .2s; }
.visionneuse button:hover { background: rgb(255 255 255 / .25); }
.visionneuse__fermer { top: 1rem; right: 1rem; }
.visionneuse__prec { left: 1rem; top: 50%; transform: translateY(-50%); }
.visionneuse__suiv { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .galerie { columns: 2; column-gap: .45rem; }
  .galerie li { margin-bottom: .45rem; }
  .visionneuse img { max-width: 100vw; border-radius: 0; }
  .visionneuse__prec, .visionneuse__suiv { top: auto; bottom: .5rem; transform: none; }
}
/* Retours du public et témoignages : en colonnes, filet de couleur */
.temoignages { columns: 3 17rem; column-gap: var(--space-xl); margin-top: var(--space-l); }
.temoignages blockquote { break-inside: avoid; margin: 0 0 var(--space-l); padding-left: 1rem; border-left: 3px solid color-mix(in srgb, var(--c) 45%, white); }
/* les retours du public en italique (Amélie, 2026-10-29) */
.temoignages p { margin: 0 0 .6rem; font-size: .95rem; font-style: italic; line-height: 1.6; color: var(--ink-soft); }
.temoignages cite { display: block; font-style: normal; font-size: .76rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--ink); }
.temoignages--courts p { font-family: var(--f-display); font-weight: 300; font-style: italic; font-size: 1.2rem; line-height: 1.3; color: var(--ink); }
.block ul { margin: 0 0 1em; padding-left: 1.1rem; }
.block .replique { margin-bottom: .35em; text-align: left; }
.frise__intro { max-width: 40rem; margin: 0 auto; }
@media (max-width: 900px) { .frise__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .frise__liste { gap: var(--space-l) .9rem; } .trace__titre { font-size: 1.3rem; } .trace__ligne { font-size: .85rem; } }

/* ==========================================================================
   Bande de photos (ateliers, interventions)
   ========================================================================== */
.bande { list-style: none; margin: 0; padding: var(--space-s) 0 .5rem; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: start; gap: clamp(.6rem, .3rem + 1vw, 1.1rem); }
.bande img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-m); }
@media (max-width: 860px) {
  .bande { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); scrollbar-width: none; }
  .bande li { scroll-snap-align: center; }
}

/* Paroles recueillies, en grand, sans cadre */
.paroles { columns: 2 22rem; column-gap: clamp(2rem, 1rem + 4vw, 5rem); }
.paroles blockquote { break-inside: avoid; margin: 0 0 var(--space-xl); font-family: var(--f-display); font-weight: 300; font-style: italic; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.6rem); line-height: 1.3; color: var(--ink); }
.paroles blockquote:first-child { font-size: var(--step-2); line-height: 1.2; }
details .paroles blockquote:first-child { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.6rem); line-height: 1.3; }

/* Transmission : bandes de 4 ou 5 photos */
@media (min-width: 861px) { .bande--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } .bande--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* --- Contact ------------------------------------------------------------ */
.contact-tel { display: block; width: fit-content; margin: 0 auto var(--space-l); font-family: var(--f-display); font-weight: 500; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.6rem); line-height: 1; color: var(--c); text-decoration: none; }
.contact-tel:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.terrains--contact { margin-top: 0; }
.terrains--contact .domaine { font-size: 1.3rem; }
.terrains .domaine small { display: block; margin-top: .25rem; font-family: var(--f-text); font-size: .8rem; font-weight: 400; color: var(--muted); }
.terrains--contact a { color: inherit; }
/* Sans grande image : téléphone et interlocuteurs à côté du formulaire (sur téléphone : numéro, formulaire, interlocuteurs),
   puis la carte des adresses,
   dessinée comme celle de l'agenda par carte-agenda.js */
.contact { padding-top: 0; }
.contact__grille { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 0 clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.contact__tel { grid-column: 2; grid-row: 1; }
.contact__grille > .ecrire { grid-column: 1; grid-row: 1 / span 2; margin-bottom: 0; }
.contact__grille > .terrains { grid-column: 2; grid-row: 2; }
.contact__libelle { margin: 0 0 .6rem; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.contact__tel .contact-tel { margin: 0 0 var(--space-l); font-size: clamp(2rem, 1.5rem + 1.6vw, 2.9rem); }
.contact__grille > .terrains li { grid-template-columns: 1fr; gap: .3rem; }
.contact-lieux { margin-top: var(--space-2xl); padding-top: var(--space-xl); border-top: 1px solid var(--line); }
/* .agenda-carte.contact-carte : passer devant les règles de l'agenda, écrites plus bas */
.agenda-carte.contact-carte { margin: var(--space-m) 0 0; padding-top: 0; border-top: 0; align-items: center; }
.agenda-carte.contact-carte .mk { cursor: default; }
.agenda-carte.contact-carte .mk .mk-nom { fill: var(--ink); font-family: var(--f-display); font-weight: 500; }
.contact-carte .mk.est-actif circle { stroke: var(--night); stroke-width: .6; }
/* Les lieux en deux colonnes, sans numéro ; des ondes rayonnent autour de chaque point de la carte */
.contact-carte__adresses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-s); }
.contact-carte__adresses li { display: grid; align-content: start; padding: var(--space-m); border-radius: var(--radius-l); background: var(--paper); transition: background .15s; }
.contact-carte__adresses li > * { margin: 0; }
.contact-carte .rayon { fill: none; stroke: var(--accent); stroke-width: 1.2; vector-effect: non-scaling-stroke; opacity: 0; pointer-events: none; transform-box: fill-box; transform-origin: center; animation: rayonner 3.6s cubic-bezier(.2, .6, .4, 1) var(--d, 0s) infinite; }
@keyframes rayonner { from { transform: scale(1); opacity: .7; } to { transform: scale(5); opacity: 0; } }
.contact-carte.anim .rayon { animation-name: none; } /* les ondes partent une fois la carte dessinée */
@media (prefers-reduced-motion: reduce) {
  .contact-carte .rayon { animation: none; opacity: .3; transform: scale(calc(1.6 + var(--k, 0) * 1.4)); }
}
@media (max-width: 480px) { .contact-carte__adresses { grid-template-columns: 1fr; } }
.contact-carte__adresses li.est-actif { background: color-mix(in srgb, var(--accent) 16%, var(--paper)); }
.contact-carte__ville { font-family: var(--f-display); font-weight: 500; font-size: 1.7rem; line-height: 1.05; }
.contact-carte__adresse { padding-top: .4rem; line-height: 1.4; }
.contact-carte__role { padding-top: .35rem; font-size: .92rem; color: var(--ink-soft); }
.contact-carte__lien { justify-self: start; padding-top: .5rem; font-size: .9rem; font-weight: 600; color: var(--accent-ink); }
@media (max-width: 860px) {
  .contact__grille { grid-template-columns: 1fr; grid-template-rows: none; }
  .contact__tel, .contact__grille > .ecrire, .contact__grille > .terrains { grid-column: 1; grid-row: auto; }
  .contact__grille > .terrains { margin-top: var(--space-xl); }
}
.ecrire { margin-bottom: var(--space-2xl); }
.ecrire__titre { margin: 0 0 var(--space-m); font-family: var(--f-display); font-weight: 500; font-size: var(--step-2); line-height: 1.1; color: var(--ink); }
.formulaire { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-m); }
.champ { grid-column: span 3; display: grid; align-content: start; gap: .4rem; min-width: 0; margin: 0; }
.champ--court { grid-column: span 2; }
.champ--long { grid-column: span 4; }
.champ--large, .formulaire__alerte, .formulaire__pied { grid-column: 1 / -1; }
.champ label { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.champ label small { margin-left: .3rem; font-size: .74rem; font-weight: 400; letter-spacing: .02em; text-transform: none; color: var(--muted); }
.champ :is(input, select, textarea) {
  width: 100%; padding: .75rem .95rem; font: inherit; color: var(--ink);
  background: #fff; border: 1px solid color-mix(in srgb, var(--ink) 18%, white); border-radius: var(--radius-m);
  box-shadow: inset 0 1px 2px rgb(28 23 51 / .05); transition: border-color .2s, box-shadow .2s;
}
.champ textarea { min-height: 11rem; resize: vertical; line-height: 1.55; }
.champ select {
  appearance: none; padding-right: 2.6rem; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231c1733' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 1rem center / .75rem;
}
.champ :is(input, select, textarea):focus { outline: none; border-color: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 22%, transparent); }
.champ [aria-invalid="true"] { border-color: #b3261e; }
.champ__erreur, .formulaire__alerte { margin: 0; font-size: .88rem; font-weight: 600; color: #b3261e; }
.champ__aide { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.champ--repli { position: absolute; left: -200vw; top: 0; width: 1px; height: 1px; overflow: hidden; }
.formulaire__pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-s) var(--space-m); }
.formulaire__note { margin: 0; font-size: .85rem; color: var(--muted); }
.envoye { padding: var(--space-m) var(--space-l); border-radius: var(--radius-l); background: color-mix(in srgb, var(--c) 10%, white); }
.envoye p { margin-bottom: .5rem; }
.envoye a { font-weight: 600; color: var(--ink-soft); }
/* Contact : vérification de l'adresse par un code reçu par courriel */
.verification { display: grid; gap: var(--space-m); padding: var(--space-m) var(--space-l) var(--space-l); border-radius: var(--radius-l); background: color-mix(in srgb, var(--c) 10%, white); }
.verification > p { margin: 0; }
.verification__annonce { font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.champ--code { grid-column: 1 / -1; }
.champ--code input { max-width: 11rem; font-size: 1.45rem; font-weight: 600; letter-spacing: .3em; font-variant-numeric: tabular-nums; }
.verification__autres { display: flex; flex-wrap: wrap; gap: .4rem var(--space-l); margin: 0; }
.verification__autres button { padding: 0; border: 0; background: none; font: 600 .85rem var(--f-text); color: var(--ink-soft); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.verification__autres button:hover { color: var(--ink); }
@media (max-width: 560px) {
  .formulaire { grid-template-columns: 1fr; }
  .champ, .champ--court, .champ--long { grid-column: 1 / -1; }
}

/* ==========================================================================
   Transmission : des chapitres distincts
   ========================================================================== */
.chapitre { padding-block: var(--space-3xl); border-top: 1px solid var(--line); }
.chapitre:first-of-type { border-top: 0; }
.chapitre__head { display: grid; grid-template-columns: auto 1fr; gap: var(--space-l); align-items: baseline; margin-bottom: var(--space-2xl); }
.chapitre__num { font-family: var(--f-display); font-weight: 300; font-size: var(--step-4); line-height: 1; color: var(--c); }
.chapitre__title { font-family: var(--f-display); font-weight: 500; font-size: var(--step-4); line-height: 1; color: var(--c); }
.chapitre__sub { font-family: var(--f-display); font-weight: 300; font-size: var(--step-1); color: var(--ink-soft); margin-top: .4rem; }
.duo { display: grid; grid-template-columns: minmax(0, 22rem) 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.duo--reverse { grid-template-columns: 1fr minmax(0, 22rem); }
.duo--reverse > figure { order: 2; }
.duo figure { margin: 0; }
.duo figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-l); }
.duo figcaption { margin-top: .6rem; font-size: .8rem; color: var(--muted); }
.terrains { list-style: none; margin: var(--space-l) 0 0; padding: 0; }
.terrains li { display: grid; grid-template-columns: 11rem 1fr; gap: var(--space-m); padding: var(--space-m) 0; border-top: 1px solid var(--line); }
.terrains li:last-child { border-bottom: 1px solid var(--line); }
.terrains .domaine { font-family: var(--f-display); font-weight: 500; font-size: 1.45rem; line-height: 1.1; color: var(--c); }
.terrains .lieu { font-weight: 600; }
.terrains .lieu small { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; }
.terrains .lien { display: inline-block; margin-top: .35rem; font-size: .9rem; color: color-mix(in oklab, var(--c-heros) 60%, var(--ink)); }
.parole { margin: var(--space-2xl) 0 0; font-family: var(--f-display); font-weight: 300; font-style: italic; font-size: var(--step-2); line-height: 1.25; color: var(--ink); max-width: 34rem; }
.parole cite { display: block; margin-top: .6rem; font-family: var(--f-text); font-style: normal; font-size: .8rem; color: var(--muted); }
details.retrait { margin-top: var(--space-xl); font-size: .9rem; color: var(--muted); }
details.retrait summary { cursor: pointer; font-weight: 600; color: var(--ink-soft); }
details.retrait ul { margin: .8rem 0 0; padding-left: 1.1rem; columns: 2; column-gap: 2rem; }
.ages { list-style: none; margin: var(--space-m) 0 0; padding: 0; display: grid; gap: .9rem; }
.ages li { padding-left: 1rem; border-left: 3px solid color-mix(in srgb, var(--c) 45%, white); }
.ages b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 1.35rem; line-height: 1.1; color: var(--ink); }
@media (max-width: 860px) {
  .duo, .duo--reverse { grid-template-columns: 1fr; }
  .duo--reverse > figure { order: 0; }
  .duo figure { max-width: 22rem; }
  .terrains li { grid-template-columns: 1fr; gap: .3rem; }
  details.retrait ul { columns: 1; }
  .chapitre__head { grid-template-columns: 1fr; gap: .3rem; }
}

/* ==========================================================================
   La Fabrique : Amélie en avant, puis le générique
   ========================================================================== */
.portrait-head { margin-bottom: var(--space-l); }
.portrait-head .role { font-family: var(--f-display); font-weight: 300; font-size: 1.4rem; color: var(--c); }
.portrait-head h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(3rem, 2rem + 3.5vw, 5rem); line-height: .95; color: var(--c); }
.maximes li { font-size: inherit; line-height: inherit; color: inherit; margin-bottom: .2rem; }
.maximes { list-style: none; margin: var(--space-l) 0 0; padding: 0; font-family: var(--f-display); font-weight: 300; font-style: italic; font-size: 1.3rem; line-height: 1.45; color: var(--ink); }

.generique-roll { display: grid; gap: var(--space-2xl); padding-block: var(--space-2xl); }
/* La Compagnie : entre les artistes et « Partenaires & Soutiens », une respiration plutôt qu'un vide (Joan, 2026-10-27) */
.section--compagnie { padding-bottom: var(--space-xl); }
.section--compagnie .generique-roll { padding-bottom: 0; }
#partenaires { padding-block: var(--space-xl); }
#partenaires .logos { padding-bottom: 0; }
.generique-roll > section > h2 { text-align: center; font-family: var(--f-display); font-weight: 300; font-size: var(--step-2); color: var(--c); margin-bottom: var(--space-l); }
/* « Amélie Armao » et « L'Équipe » : deux grands titres, l'accroche de l'équipe dessous (Amélie, 2026-10-29) */
.generique-roll .titre-grand { font-weight: 500; font-size: clamp(3rem, 2rem + 3.5vw, 5rem); line-height: .95; margin-bottom: 0; }
.generique-roll .titre-grand + :is(.tete-equipe, .troupe) { margin-top: var(--space-xl); }
.generique-roll .equipe__accroche { text-align: center; margin: var(--space-m) auto var(--space-xl); }
/* Portraits sur une grille : chaque rangée commence à la même colonne */
.troupe { --membre: 9.5rem; display: grid; grid-template-columns: repeat(auto-fit, var(--membre)); justify-content: center; gap: var(--space-l) var(--space-m); }
.membre { text-align: center; margin: 0; }
.membre img, .membre .sans-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-m); margin-bottom: .6rem; filter: grayscale(.15); }
.membre .sans-photo { display: grid; place-items: center; background: color-mix(in srgb, var(--c) 12%, white); border: 1.5px dashed color-mix(in srgb, var(--c) 45%, white); color: color-mix(in oklab, var(--c) 70%, var(--ink)); font-family: var(--f-display); font-size: 2rem; }
.membre .generique__name { font-size: 1.2rem; }
.membre .generique__role { margin-top: .2rem; letter-spacing: .1em; }
/* L'Équipe : les sept sur une ligne quand la place le permet, dernière ligne centrée sinon */
.troupe--equipe { display: flex; flex-wrap: wrap; }
.troupe--equipe > .membre { width: clamp(8.2rem, (100% - 6 * var(--space-m)) / 7, 12rem); }
.troupe--equipe .generique__name { font-size: 1.3rem; }
/* Pratique amateur : les portraits des comédien·nes formateur·rices en grand, cinq par ligne au plus, dernière ligne centrée */
.troupe--profs { display: flex; flex-wrap: wrap; }
.troupe--profs > .membre { width: clamp(10rem, (100% - 6rem) / 5, 13.5rem); }
.troupe--profs .generique__name { font-size: 1.4rem; }

/* Fiches de l'équipe : un clic sur le portrait ou sur « En savoir plus » ouvre le texte, la photo glisse jusqu'à la fiche */
.membre__lien { position: relative; display: block; width: 100%; margin: 0 0 .6rem; padding: 0; border: 0; border-radius: var(--radius-m); background: none; font: inherit; color: inherit; cursor: pointer; -webkit-appearance: none; appearance: none; }
.membre__lien img { margin-bottom: 0; transition: transform .4s cubic-bezier(.22, 1, .36, 1), box-shadow .4s, filter .4s; }
.membre__lien:hover img, .membre__lien:focus-visible img, .membre:has(> .membre__parcours:hover) img { transform: translateY(-4px); box-shadow: var(--shadow-m); filter: none; }
.membre__lien:focus-visible { outline: 2px solid var(--c); outline-offset: 4px; }
/* « En savoir plus » sous le nom et le rôle : une pastille transparente cerclée de la couleur de la rubrique, alignée en bas de la carte d'une carte à l'autre */
.membre:has(> .membre__parcours) { display: flex; flex-direction: column; }
.membre:has(> .membre__parcours) figcaption { margin-bottom: .8rem; }
.membre__parcours {
  display: inline-flex; align-items: center; gap: .4rem; margin: auto auto 0; padding: .4rem .85rem;
  border: 1px solid color-mix(in srgb, var(--c, var(--accent)) 50%, transparent); border-radius: var(--radius-full); background: transparent;
  font: 600 .8rem/1.2 var(--f-text); color: var(--ink); cursor: pointer; transition: background-color .2s, border-color .2s;
}
.membre__fleche { color: color-mix(in oklab, var(--c, var(--accent)) 70%, var(--ink)); transition: transform .2s; }
.membre__parcours:hover, .membre__parcours:focus-visible { border-color: var(--c, var(--accent)); background: color-mix(in srgb, var(--c, var(--accent)) 10%, transparent); }
.membre__parcours:hover .membre__fleche { transform: translateX(2px); }
.membre__parcours:focus-visible { outline: 2px solid var(--c, var(--accent)); outline-offset: 3px; }
.membre--grand .membre__parcours { padding: .55rem 1.1rem; font-size: .92rem; }
/* à la souris, le bouton n'apparaît qu'au survol de la carte (ou au clavier) ; toujours visible sur écran tactile */
@media (hover: hover) and (pointer: fine) {
  .membre__parcours { opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s, background-color .2s, border-color .2s; }
  .membre:hover > .membre__parcours, .membre__parcours:focus-visible { opacity: 1; transform: none; }
}

/* La Compagnie : présentation reprise de l'ancien accueil, puis la citation sur fond de nuit */
.presentation { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.presentation__lead { margin: 0; font-family: var(--f-display); font-weight: 300; font-size: var(--step-2); line-height: 1.35; color: var(--ink); }
.presentation .btn-row { margin-top: var(--space-l); }
.presentation figure { margin: 0; }
.presentation img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-l); }
@media (max-width: 860px) {
  .presentation { grid-template-columns: 1fr; }
}

/* Amélie, avant l'équipe : son portrait en plus grand, ses maximes à côté, le reste dans sa fiche */
.tete-equipe { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-l) var(--space-2xl); }
.membre--grand { width: clamp(13rem, 10rem + 8vw, 18rem); }
.membre--grand .generique__name { font-size: 1.9rem; }
.tete-equipe__maximes { margin: 0; padding-left: var(--space-l); border-left: 3px solid var(--c); max-width: 27rem; font-size: clamp(1.3rem, 1.1rem + .7vw, 1.7rem); }
@media (max-width: 640px) {
  .tete-equipe__maximes { padding: 0; border-left: 0; text-align: center; }
  .tete-equipe__maximes::before { content: ""; display: block; width: 3rem; height: 3px; margin: 0 auto var(--space-m); border-radius: 3px; background: var(--c); }
}

/* Le texte d'une personne : dans sa page (la-fabrique/<nom>.html) et dans la fenêtre qui la reprend */
.fiche__nom { margin: 0; font-family: var(--f-display); font-weight: 500; font-size: var(--step-3); line-height: 1; color: var(--c, var(--ink)); }
.fiche__role { margin: .55rem 0 0; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fiche__texte { margin-top: var(--space-l); }
.fiche__texte p { margin: 0 0 1em; line-height: 1.6; color: var(--ink-soft); }
.fiche__texte p:last-child { margin-bottom: 0; }
.fiche__texte .fiche__accroche { font-family: var(--f-display); font-weight: 300; font-style: italic; font-size: 1.4rem; line-height: 1.35; color: var(--ink); }
.fiche__intertitre { margin: var(--space-l) 0 .8rem; font-family: var(--f-text); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--c, var(--ink)); }
.fiche__texte .maximes { margin: 0 0 1em; font-size: 1.15rem; }
/* Site et réseaux d'un·e artiste : sous le texte sans script, sous la photo dans la fiche ouverte */
.fiche__liens { display: flex; flex-wrap: wrap; gap: .45rem; margin: var(--space-l) 0 0; padding: 0; list-style: none; }
.fiche__liens a { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .8rem; border-radius: 999px; background: color-mix(in srgb, var(--c, var(--accent)) 10%, white); color: var(--ink); font-size: .8rem; font-weight: 600; text-decoration: none; transition: background .2s; }
.fiche__liens a::after { content: "↗"; font-weight: 400; color: var(--muted); }
.fiche__liens a:hover, .fiche__liens a:focus-visible { background: color-mix(in srgb, var(--c, var(--accent)) 22%, white); }

/* La page d'une personne (la-fabrique/<nom>.html, 2026-10-28) : la fiche de la fenêtre, en page ; la photo reste en vue */
.page-head--personne { padding-bottom: var(--space-l); }
.personne { display: flex; gap: var(--space-xl); max-width: 58rem; margin: 0 auto; }
.personne__cote { flex: none; align-self: flex-start; position: sticky; top: calc(var(--header-h) + var(--space-m)); width: clamp(12rem, 8rem + 12vw, 19rem); }
.personne__photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-m); }
.personne__cote .fiche__liens { margin-top: var(--space-s); }
.personne__cote .fiche__medias { flex-direction: column; align-items: flex-start; }
.personne__corps { flex: 1 1 auto; min-width: 0; }
@media (max-width: 640px) {
  .personne { flex-direction: column; gap: var(--space-m); }
  .personne__cote { position: static; display: flex; align-items: flex-end; gap: var(--space-s); width: auto; }
  .personne__photo { flex: none; width: 8.5rem; }
  .personne__cote .fiche__liens { flex-direction: column; align-items: flex-start; margin-top: 0; }
  /* podcasts et interviews : sous la photo, sur toute la largeur */
  .personne__cote:has(.fiche__medias) { flex-wrap: wrap; }
  .personne__cote .fiche__medias { flex: 0 0 100%; flex-direction: row; flex-wrap: wrap; align-items: center; }
}

.fiche-ouverte {
  width: min(58rem, calc(100% - 2rem)); max-width: none; max-height: calc(100dvh - 2rem);
  margin: auto; padding: var(--space-xl); border: 0; border-radius: var(--radius-l);
  background: var(--sheet); color: var(--ink); box-shadow: var(--shadow-l);
}
.fiche-ouverte[open] { display: flex; gap: var(--space-xl); }
.fiche-ouverte::backdrop { background: rgb(23 17 46 / .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.fiche-ouverte__cote { flex: none; align-self: flex-start; width: clamp(12rem, 8rem + 12vw, 19rem); }
.fiche-ouverte__photo { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-m); }
.fiche-ouverte__cote .fiche__liens { margin-top: var(--space-s); }
.fiche-ouverte__corps { flex: 1 1 auto; min-width: 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: .25rem .5rem .25rem 0; }
.fiche-ouverte .fiche__nom { padding-right: 2.5rem; }
.fiche-ouverte__corps .draft { margin-inline: .4rem; margin-bottom: .4rem; outline-offset: .3rem; }
.fiche-ouverte__fermer {
  position: absolute; top: .9rem; right: .9rem; z-index: 1;
  display: grid; place-items: center; width: 2.4rem; height: 2.4rem; padding: 0; border-radius: 50%;
  border: 1px solid rgb(28 23 51 / .1); background: rgb(255 255 255 / .85); box-shadow: inset 0 1px 0 #fff, var(--shadow-s);
  font: 400 1.5rem/1 var(--f-text); color: var(--ink); cursor: pointer; transition: transform .3s;
}
.fiche-ouverte__fermer:hover { transform: rotate(90deg); }
html:has(.fiche-ouverte[open]) { overflow: hidden; }
/* Les flèches vers la personne d'avant et celle d'après, de part et d'autre de la fenêtre ; sur un écran moyen, à cheval
   sur son bord (dans la marge intérieure, sans toucher au texte) ; sur téléphone, en bas de l'écran, sous la fenêtre
   (comme sur le site des Récits du mardi, 2026-10-29) */
.fiche-ouverte.a-fleches { --fleche: 3.2rem; width: min(58rem, calc(100% - 5rem)); }
.fiche-ouverte__fleche {
  position: fixed; top: 50%; z-index: 1;
  display: grid; place-items: center; width: var(--fleche); height: var(--fleche); margin-top: calc(var(--fleche) / -2); padding: 0; border-radius: 50%;
  border: 1px solid rgb(255 255 255 / .6); background: rgb(255 255 255 / .9); box-shadow: var(--shadow-m);
  font: 400 1.35rem/1 var(--f-text); color: var(--ink); cursor: pointer; transition: transform .25s, background .2s;
}
.fiche-ouverte__fleche[hidden] { display: none; }
.fiche-ouverte__fleche:hover { background: #fff; }
.fiche-ouverte__fleche--avant { left: max(.9rem, calc(50% - 29rem - var(--fleche) - 1rem)); }
.fiche-ouverte__fleche--apres { right: max(.9rem, calc(50% - 29rem - var(--fleche) - 1rem)); }
.fiche-ouverte__fleche--avant:hover { transform: translateX(-3px); }
.fiche-ouverte__fleche--apres:hover { transform: translateX(3px); }
@media (max-width: 640px) {
  .fiche-ouverte { padding: var(--space-l); }
  .fiche-ouverte.a-fleches { --fleche: 3rem; width: calc(100% - 2rem); inset-block: 0 4.5rem; max-height: calc(100dvh - 6rem); }
  .fiche-ouverte__fleche { top: auto; bottom: 1rem; margin-top: 0; }
  .fiche-ouverte__fleche--avant { left: 1rem; }
  .fiche-ouverte__fleche--apres { right: 1rem; }
  .fiche-ouverte[open] { flex-direction: column; gap: var(--space-m); }
  .fiche-ouverte__cote { display: flex; align-items: flex-end; gap: var(--space-s); width: auto; }
  .fiche-ouverte__photo { flex: none; width: 8.5rem; }
  .fiche-ouverte__cote .fiche__liens { flex-direction: column; align-items: flex-start; margin-top: 0; }
}
/* Podcasts et interviews : des titres plus longs, un par ligne sous la photo ; sur mobile, une ligne qui défile pour laisser la place au texte */
.fiche__liens.fiche__medias a { display: inline-block; line-height: 1.4; }
.fiche__liens.fiche__medias a::after { margin-left: .35rem; }
.fiche-ouverte__cote .fiche__medias { flex-direction: column; align-items: flex-start; }
@media (max-width: 640px) {
  .fiche-ouverte__cote:has(.fiche__medias) { flex-wrap: wrap; align-self: stretch; min-width: 0; }
  .fiche-ouverte__cote .fiche__medias {
    flex: 0 0 calc(100% + 2 * var(--space-l)); min-width: 0; flex-direction: row; flex-wrap: nowrap; align-items: center;
    margin-inline: calc(-1 * var(--space-l)); padding-inline: var(--space-l); overflow-x: auto; scrollbar-width: none;
  }
  .fiche-ouverte__cote .fiche__medias::-webkit-scrollbar { display: none; }
  .fiche-ouverte__cote .fiche__medias a { white-space: nowrap; }
}
@media (prefers-reduced-motion: no-preference) {
  .fiche-ouverte[open] .fiche-ouverte__corps > * { animation: fiche-monte .6s cubic-bezier(.22, 1, .36, 1) .1s both; }
  .fiche-ouverte[open] .fiche-ouverte__corps > :nth-child(2) { animation-delay: .17s; }
  .fiche-ouverte[open] .fiche-ouverte__corps > :nth-child(3) { animation-delay: .24s; }
  ::view-transition-group(portrait) { animation-duration: .6s; animation-timing-function: cubic-bezier(.22, 1, .36, 1); }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
}
@keyframes fiche-monte { from { opacity: 0; transform: translateY(14px); } }
.lignes { display: grid; gap: var(--space-m); justify-content: center; }
.lignes p { margin: 0; }
@media (max-width: 560px) { .troupe { --membre: 8.2rem; } .troupe--equipe > .membre { width: min(9.6rem, 50% - .75rem); } .troupe--profs > .membre { width: min(10rem, 50% - .75rem); } }

/* Partenaires : les logos posés, en couleur et en grand, comme sur l'ancien site, plutôt que deux bandes grises qui
   défilent (Amélie, 2026-10-29 : « on ne les valorise pas vraiment ») ; alignés à gauche avec leur titre (Joan, 2026-10-30) */
.logos { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); padding-block: var(--space-m); }
.logos__groupe { --logo: clamp(5.2rem, 4rem + 3.5vw, 7.6rem); --ecart: clamp(1rem, .5rem + 1.5vw, 2rem); min-width: 0; }
.logos__titre { margin: 0 0 1rem; text-align: left; font-family: var(--f-text); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
/* une grille qui remplit toute la largeur (les capsules grandissent un peu), la dernière ligne partant de la gauche */
.logos__liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--logo), 1fr)); gap: var(--ecart); margin: 0; padding: 0; list-style: none; }
/* chaque logo dans sa capsule blanche aux coins arrondis, comme sur l'ancien site (Joan, 2026-10-30) : les images
   ont déjà leur fond blanc, il suffit de les arrondir */
.logos__liste a { display: block; border-radius: 15%; transition: transform .3s, box-shadow .3s; }
.logos__liste a:hover, .logos__liste a:focus-visible { transform: translateY(-3px); box-shadow: 0 10px 24px -12px rgb(23 17 46 / .35); }
.logos__liste a:focus-visible { outline: 2px solid var(--c); outline-offset: 3px; }
.logos__liste img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 15%; background: #fff; }

/* --- Agenda ------------------------------------------------------------- */
.agenda { list-style: none; margin: 0 auto; padding: 0; max-width: 56rem; border-top: 1px solid var(--line); }
.agenda p { margin: 0; }
.agenda li { position: relative; display: grid; grid-template-columns: 8rem 1fr auto; gap: var(--space-m); align-items: center; padding: var(--space-m) 0; border-bottom: 1px solid var(--line); }
/* Date : le jour en grand, le mois en capitales bien lisibles, l'année en retrait */
.agenda__date { line-height: 1; }
.agenda__date b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 2.3rem; }
.agenda__mois { display: block; margin-top: .45rem; font-size: .9rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.agenda__an { display: block; margin-top: .25rem; font-size: .85rem; font-weight: 600; letter-spacing: .06em; color: var(--muted); }
.agenda__what { font-family: var(--f-display); font-weight: 500; font-size: 1.7rem; line-height: 1.05; color: var(--c, var(--ink)); }
.agenda__what a { color: inherit; text-decoration: none; text-underline-offset: .15em; text-decoration-thickness: 1px; }
.agenda__what a:hover, .agenda__what a:focus-visible, .agenda li:hover .agenda__lien { text-decoration-line: underline; }
/* Une seule fiche : toute la ligne y mène ; la catégorie garde son propre lien */
.agenda__lien::after { content: ""; position: absolute; inset: 0; }
.agenda__where { color: var(--muted); font-size: .95rem; margin-top: .2rem; }
.agenda__tag { position: relative; z-index: 1; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; padding: .35rem .75rem; border-radius: var(--radius-full); background: color-mix(in srgb, var(--c, var(--ink)) 14%, white); color: color-mix(in oklab, var(--c, var(--ink)) 65%, var(--ink)); white-space: nowrap; transition: background .2s; }
.agenda__tag:hover, .agenda__tag:focus-visible { background: color-mix(in srgb, var(--c, var(--ink)) 26%, white); }
@media (max-width: 640px) { .agenda li { grid-template-columns: 6.5rem 1fr; row-gap: .75rem; align-items: start; } .agenda__date { grid-row: span 2; } .agenda__tag { grid-column: 2; justify-self: start; } .agenda__date b { font-size: 1.9rem; } }
/* Toutes les saisons sur une page (septembre-août), voir site.js */
.agenda-saison { --c: var(--ink); max-width: 56rem; margin-inline: auto; }
.agenda-saison .frise__temps { margin: var(--space-2xl) 0 var(--space-m); }
.agenda-saison:first-child .frise__temps { margin-top: 0; }
.agenda-saison .agenda { border-top: 0; }
/* Saisons passées repliées : le titre devient un bouton, avec un chevron (Joan, 2026-10-27 ; voir site.js) */
.frise__bascule { display: inline-flex; align-items: center; gap: .45em; padding: 0; border: 0; background: none; font: inherit; line-height: inherit; color: inherit; text-align: left; cursor: pointer; }
.frise__chevron { flex: none; width: .32em; height: .32em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-.12em) rotate(45deg); opacity: .5; transition: transform .25s ease, opacity .2s ease; }
.frise__bascule[aria-expanded="false"] .frise__chevron { transform: rotate(-45deg); }
.frise__bascule:hover .frise__chevron, .frise__bascule:focus-visible .frise__chevron { opacity: 1; }
.agenda-saison.is-repliee > :not(.frise__temps) { display: none; }
.agenda-saison.is-repliee .frise__temps { margin-bottom: 0; }
.agenda-saison.is-repliee + .agenda-saison .frise__temps { margin-top: var(--space-xl); }
.agenda__vide { margin: 0; padding: var(--space-m) 0; color: var(--muted); font-size: 1.15rem; }
.agenda li.agenda__prochain { --deborde: min(var(--space-m), var(--gutter) * .6); margin: var(--space-xs) calc(-1 * var(--deborde)); padding: var(--space-l) max(var(--deborde), .9rem); border-radius: var(--radius-l); border-bottom: 0; background: color-mix(in srgb, var(--c) 10%, var(--sheet)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 30%, transparent); }
.agenda__prochain .agenda__what::before { content: "Prochaine date"; display: block; margin-bottom: .5rem; font-family: var(--f-text); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: color-mix(in oklab, var(--c) 65%, var(--ink)); }

/* Carte de chaque saison (carte-agenda.js) : la France, un repère par lieu, les dates du repère à côté. */
.agenda-carte { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--space-l); margin: var(--space-xl) 0 0; padding-top: var(--space-l); border-top: 1px solid var(--line); }
.agenda-carte svg { display: block; width: 100%; height: auto; overflow: visible; }
.agenda-carte .dep { fill: var(--paper-alt); stroke: var(--sheet); stroke-width: .3; stroke-linejoin: round; }
.agenda-carte .dep.est-actif { fill: color-mix(in srgb, var(--accent) 30%, var(--paper-alt)); }
.agenda-carte .mk { cursor: pointer; outline: none; }
.agenda-carte .mk circle { fill: var(--accent); stroke: var(--sheet); stroke-width: .5; transition: stroke .15s, stroke-width .15s; }
.agenda-carte .mk text { fill: var(--night); font-family: var(--f-text); font-weight: 700; pointer-events: none; }
.agenda-carte .mk:hover circle, .agenda-carte .mk.est-actif circle { stroke: var(--night); stroke-width: .6; }
.agenda-carte .mk:focus-visible circle { stroke: var(--night); stroke-width: .9; }
.agenda-carte .mk-lien path { fill: none; stroke: var(--ink-soft); stroke-width: .25; }
.agenda-carte .mk-lien circle { fill: var(--ink-soft); }
.agenda-carte .onde { fill: none; stroke: var(--accent); stroke-width: 1.6; vector-effect: non-scaling-stroke; opacity: 0; pointer-events: none; transform-box: fill-box; transform-origin: center; }
.agenda-carte__info { contain: size; overflow: auto; overscroll-behavior: contain; padding: var(--space-m); border-radius: var(--radius-l); background: var(--paper); }
.agenda-carte__info p { margin: 0; }
.agenda-carte__info.a-suivre::after { content: ""; position: sticky; bottom: 0; display: block; height: 3rem; margin: -3rem calc(-1 * var(--space-m)) 0; background: linear-gradient(rgb(251 248 243 / 0), var(--paper) 85%); pointer-events: none; }
.agenda-carte__titre { font-family: var(--f-display); font-weight: 500; font-size: 1.7rem; line-height: 1.05; }
.agenda-carte__compte { margin-top: .35rem !important; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.agenda-carte__aide { margin-top: var(--space-m) !important; font-size: .85rem; color: var(--muted); }
.agenda-carte__titre:focus { outline: none; }
.agenda-carte__annees { white-space: nowrap; }
.agenda-carte__groupes { list-style: none; margin: var(--space-s) 0 0; padding: 0; display: grid; gap: .1rem; }
.agenda-carte__groupes button { display: flex; align-items: center; gap: .7rem; width: calc(100% + 1rem); margin-inline: -.5rem; padding: .35rem .5rem; border: 0; border-radius: var(--radius-s); background: none; font: inherit; font-size: .95rem; font-weight: 600; line-height: 1.25; color: var(--ink); text-align: left; cursor: pointer; }
.agenda-carte__groupes button:hover, .agenda-carte__groupes button:focus-visible { background: color-mix(in srgb, var(--accent) 16%, transparent); }
.agenda-carte__pastille { flex: none; display: grid; place-items: center; min-width: 1.8rem; height: 1.8rem; padding-inline: .3rem; border-radius: var(--radius-full); background: var(--accent); color: var(--night); font-size: .75rem; font-weight: 700; }
.agenda-carte__retour { display: inline-flex; margin: 0 0 var(--space-s); padding: .3rem .8rem; border: 1px solid var(--line); border-radius: var(--radius-full); background: var(--sheet); font: inherit; font-size: .8rem; font-weight: 600; color: var(--ink-soft); cursor: pointer; }
.agenda-carte__retour:hover, .agenda-carte__retour:focus-visible { border-color: var(--ink-soft); color: var(--ink); }
.agenda-carte__lieux, .agenda-carte__lieux ul { list-style: none; margin: 0; padding: 0; }
.agenda-carte__lieux { margin-top: var(--space-s); display: grid; gap: var(--space-s); }
.agenda-carte__lieux b { display: block; margin-bottom: .2rem; font-size: .95rem; }
.agenda-carte__lieux ul li { padding: .3rem 0; border-top: 1px solid var(--line); font-size: .92rem; line-height: 1.35; color: var(--ink-soft); }
.agenda-carte__lieux ul li:first-child { border-top: 0; }
.agenda-carte__lieux time { display: block; font-size: .8rem; font-weight: 700; color: var(--muted); }
.agenda-carte.anim .dep { opacity: 0; transform: scale(.94); transform-box: fill-box; transform-origin: center; }
.agenda-carte.anim .mk-lien { opacity: 0; }
.agenda-carte.anim.go .mk-lien { opacity: 1; transition: opacity .4s ease 1.6s; }
.agenda-carte.anim .mk { opacity: 0; transform: scale(0); transform-box: fill-box; transform-origin: center; }
.agenda-carte.anim.go .dep { opacity: 1; transform: none; transition: opacity .6s ease var(--d, 0ms), transform .9s cubic-bezier(.2, .8, .2, 1) var(--d, 0ms); }
.agenda-carte.anim.go .mk { opacity: 1; transform: none; transition: opacity .2s ease var(--d, 0ms), transform .6s cubic-bezier(.3, 1.6, .5, 1) var(--d, 0ms); }
@media (max-width: 760px) {
  .agenda-carte { grid-template-columns: 1fr; gap: var(--space-m); }
  .agenda-carte__info { contain: none; overflow: visible; }
}

/* --- Pied de page ------------------------------------------------------- */
.site-footer { background: var(--night); color: var(--night-text); padding: var(--space-2xl) 0 var(--space-l); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(5, 1fr); gap: var(--space-xl); }
.footer-brand img { width: 11rem; }
.footer-brand p { color: var(--night-muted); margin-top: var(--space-m); max-width: 20rem; }
.site-footer h2 { font-family: var(--f-text); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--space-s); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: var(--night-text); text-decoration: none; opacity: .88; }
.site-footer a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { margin-top: var(--space-2xl); padding-top: var(--space-m); border-top: 1px solid rgb(255 255 255 / .1); display: flex; flex-wrap: wrap; gap: var(--space-m); justify-content: space-between; color: var(--night-muted); font-size: .85rem; }
.footer-bottom nav { display: flex; gap: var(--space-m); }
/* cinq rubriques depuis les Festivals (2026-11-02) : sur un écran moyen, le logo passe au-dessus des colonnes */
@media (min-width: 1021px) and (max-width: 1200px) { .footer-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 1020px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* --- Mentions légales, confidentialité --------------------------------- */
.texte-legal { max-width: 44rem; margin-inline: auto; }
.texte-legal h2 { font-family: var(--f-display); font-weight: 500; font-size: var(--step-2); line-height: 1.1; margin: var(--space-xl) 0 var(--space-s); }
.texte-legal h2:first-child { margin-top: 0; }
.texte-legal p, .texte-legal ul { margin: 0 0 var(--space-s); }
.texte-legal__fiche { list-style: none; padding: 0; display: grid; gap: .3rem; }
/* Plan du site (plan-du-site/index.php) */
.plan h2 a, .plan h3 a { text-decoration: none; }
.plan h2 a:hover, .plan h3 a:hover { text-decoration: underline; }
.plan h3 { font-family: var(--f-text); font-weight: 600; font-size: var(--step-0); margin: var(--space-m) 0 var(--space-2xs); }
.plan ul { padding-left: 1.2rem; }
.plan ul ul { margin: .3rem 0 0; }
.plan__principal { font-family: var(--f-display); font-size: var(--step-1); }
.plan__xml { margin-top: var(--space-xl); color: var(--muted); font-size: var(--step--1); }

/* --- Couleur de chaque rubrique ou projet ------------------------------- */
.c-lichen { --c: var(--c-lichen); }
.c-heros { --c: var(--c-heros); }
.c-entre-deux { --c: var(--c-entre-deux); }
.c-je-doute { --c: var(--c-je-doute); }
.c-trace { --c: var(--c-trace); }
.c-secret { --c: var(--c-secret); }
.c-nycthemere { --c: var(--c-nycthemere); }
.c-trois { --c: var(--c-trois); }
.c-nuit { --c: var(--c-nuit); }
.c-accomp { --c: var(--c-accomp); }
.c-partage { --c: var(--c-partage); }
.c-transmission { --c: var(--c-transmission); }
.c-festival { --c: var(--c-festival); }
.c-togo { --c: var(--c-togo); }
.c-amateur { --c: var(--c-amateur); }
.c-social { --c: var(--c-social); }
.c-eac { --c: var(--c-eac); }
.c-rencontres { --c: var(--c-rencontres); }
.c-fabrique { --c: var(--c-fabrique); }
.c-edito { --c: var(--c-edito); }
.c-agenda { --c: var(--c-agenda); }
.c-contact { --c: var(--c-contact); }
.c-image { --c: var(--c-image); }
.c-cri { --c: var(--c-cri); }

/* --- Mobile : doubles pages empilées ------------------------------------ */
@media (max-width: 900px) {
  .spread { grid-template-columns: 1fr; }
  .spread__media { padding-top: 0; }
  .spread__media img { max-height: 70svh; width: auto; max-width: 100%; margin-inline: auto; }
  .cols, .infos, .presse { grid-template-columns: 1fr; }
  .block p { text-align: left; }
}

/* --- Apparition douce (seulement si JS actif) --------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
