/* Règle : sobriété. Une colonne de lecture (≈ 62 caractères), titres modestes, aucune capitale décorative,
   images en vignettes (le clic les agrandit en plein écran). */
/* Polices hébergées sur le site (licence SIL OFL, voir assets/polices/) */

:root {
  --papier: #ebeae6;       /* Gris 1 (17 nov. 2026) ; avant : #f4f4f1 */
  --encre: #111110;       /* titres : noir */
  --corps: #3d3d39;       /* texte courant : gris foncé, contraste ≈ 10:1 */
  --graphite: #5c5c56;    /* légendes, années : contraste ≥ 6:1 sur le papier */
  --filet: #d6d5cf;        /* avant : #d9d9d2 */
  --bleu: #2b4592;        /* liens */
  --voile: #0f0f0e;       /* fond de la visionneuse */

  /* Polices : à remplacer par la combinaison choisie */
  --serif: "Amiri", "Times New Roman", serif;          /* titres (voir CHARTE.md) */
  --sans: "Tajawal", "Segoe UI", Arial, sans-serif;    /* texte */
  --titre-poids: 400;

  /* Tailles : le corps au minimum lisible sans effort, des titres modestes */
  --t-petit: 0.875rem;    /* 14 px : légendes, dates, navigation, pied */
  --t-corps: 1rem;        /* 16 px : texte courant */
  --t-h2: 1.1875rem;      /* 19 px : titres de parties */
  --t-h1: 1.5rem;         /* 24 px : titre de page */

  --largeur: 1100px;
  --texte: 38rem;
  --vignette: clamp(6rem, 17vw, 9.5rem);   /* largeur mini d'une vignette */
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --papier: #131312; --encre: #f4f4f0; --corps: #c8c8c1; --graphite: #a2a29b; --filet: #2f2f2c; --bleu: #9aaee8;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --papier: #131312; --encre: #f4f4f0; --corps: #c8c8c1; --graphite: #a2a29b; --filet: #2f2f2c; --bleu: #9aaee8;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-y: scroll; scrollbar-gutter: stable; }   /* place de la barre de défilement toujours réservée : la page ne bouge pas d'une page à l'autre */
body {
  margin: 0;
  background: var(--papier);
  color: var(--corps);
  font-family: var(--sans);
  font-size: var(--t-corps);
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--bleu); outline-offset: 3px; }
p { margin: 0 0 0.85em; }
h1, h2, h3 { color: var(--encre); font-family: var(--serif); font-weight: var(--titre-poids); line-height: 1.25; text-wrap: balance; margin: 0; }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-corps); }
.mesure { max-width: var(--texte); }

.cadre {
  max-width: var(--largeur);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .cadre {
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
}

/* Petit texte : légendes, dates, navigation */
.etiquette, .legende, .fil, .an, .pied, .note-proto, .lien-video, .retour, a.ext, .signature {
  font-size: var(--t-petit);
  color: var(--graphite);
  font-variant-numeric: tabular-nums;
}
.etiquette { margin: 0; }

/* En-tête */
.entete { border-bottom: 1px solid var(--filet); position: sticky; top: 0; z-index: 20; }   /* menu fixe au défilement */
html { scroll-padding-top: 5.5rem; }   /* ancres (#engendrements…) : pas cachées sous le menu */
/* Fonds (essai du 17 nov. 2026 ; pour revenir aux réglages d'avant : supprimer ce bloc et rétablir les deux valeurs
   « avant » de :root) : menu blanc ; Bio et Contact sur gris foncé, pleine largeur. */
.entete { --encre: #111110; --corps: #3d3d39; --graphite: #5c5c56; --filet: #d6d5cf; --bleu: #2b4592;
  background: #ffffff; color: var(--corps); }
/* Fond par menu, du plus clair au plus sombre (18 nov. 2026) : Art (et séries) → Expositions → Bio → Contact */
body.art { --papier: #f4f3ef; --filet: #dcdbd5; }
body.expositions { --papier: #e2e1dc; --filet: #cac9c2; }
body.bio { --papier: #c4c2ba; --filet: #a9a79f; --graphite: #47463f; --corps: #2f2f2b; --bleu: #22397c; }
body.contact {
  --papier: #3a3935; --encre: #f6f5f1; --corps: #dedcd6; --graphite: #b9b7b0; --filet: #55534e; --bleu: #b4c3ee;
  color-scheme: dark;
}
.contact .entete, .bio .entete { border-bottom-color: transparent; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .entete { --encre: #f4f4f0; --corps: #c8c8c1; --graphite: #a2a29b; --filet: #2f2f2c; --bleu: #9aaee8; background: #131312; }
}
:root[data-theme="dark"] .entete { --encre: #f4f4f0; --corps: #c8c8c1; --graphite: #a2a29b; --filet: #2f2f2c; --bleu: #9aaee8; background: #131312; }
.entete .cadre {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 0.5rem 2rem; padding-block: 1rem 0.85rem;
}
.nom { font-family: var(--sans); font-weight: 400; font-size: var(--t-corps); color: var(--graphite); text-decoration: none; }   /* même police que le menu, un peu plus grand, gris comme EN */
.nom:hover { color: var(--bleu); }
.nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; font-size: var(--t-petit); }
.nav a { color: var(--encre); text-decoration: none; padding-block: 0.25rem; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em; }
.nav a:hover { color: var(--bleu); }
.nav a.langue { color: var(--graphite); }

main { padding-block: 2rem 3.5rem; }

/* Légendes de catalogue : titre de l'œuvre en italique, puis technique, dimensions, année */
.legende { line-height: 1.45; margin: 0.4rem 0 0; }
.legende i { color: var(--encre); }

/* Mise en page au nombre d'or : colonne étroite (1) | filet vertical | colonne large (1,618) */
.or { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.or > * { min-width: 0; }
@media (min-width: 860px) {
  .or { grid-template-columns: minmax(0, 1fr) minmax(0, 1.618fr); gap: 0; align-items: start; }
  .or-gauche { padding-right: 2.25rem; position: sticky; top: calc(3.75rem + 1.5rem); }   /* sous le menu fixe */
  .or-droite { padding-left: 2.25rem; border-left: 1px solid var(--filet); min-height: 100%; }
}
.or-droite > :first-child { margin-top: 0; }

/* Bio */
.chapeau { max-width: var(--texte); margin: 1.25rem 0 0; text-wrap: pretty; }
.portrait { margin: 1.25rem 0 0; max-width: 16rem; }
.or-gauche > .portrait:first-child { margin-top: 0; }   /* Bio : image alignée sur le haut de la colonne de droite */
.chapeau.suite { margin-top: 0.5rem; }
h1.chapeau { font-family: var(--sans); font-size: var(--t-corps); font-weight: 400; color: var(--corps); line-height: inherit; }
.portrait button { all: unset; display: block; cursor: zoom-in; }
.portrait button:focus-visible { outline: 2px solid var(--bleu); outline-offset: 3px; }
.portrait img { width: 100%; }
.accordeons { border-top: 1px solid var(--filet); }
@media (min-width: 860px) { .accordeons { border-top: 0; } .accordeons .accordeon:first-child { border-top: 1px solid var(--filet); } }
.accordeon { border-bottom: 1px solid var(--filet); }
.accordeon summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding-block: 0.8rem;
}
.accordeon summary::-webkit-details-marker { display: none; }
.accordeon summary::after { content: "+"; font-size: var(--t-corps); color: var(--graphite); line-height: 1; }
.accordeon[open] summary::after { content: "−"; }
.accordeon summary:hover h2 { color: var(--bleu); }
.accordeon summary h2 { display: inline; }
.accordeon-corps { padding-bottom: 1.25rem; max-width: var(--texte); }
.accordeon-corps h3 { font-family: var(--sans); font-weight: 600; font-size: var(--t-corps); margin: 1.5rem 0 0.5rem; }
.accordeon-corps h3:first-child { margin-top: 0; }

/* Accueil : galerie à défilement automatique */
.accueil main { padding-top: 1.5rem; }
.galerie { max-width: 60rem; margin-inline: auto; }
.diapos { display: grid; }
.diapo { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity 0.9s ease, visibility 0s linear 0.9s; display: grid; gap: 0.6rem; justify-items: center; }
.diapo.active { opacity: 1; visibility: visible; transition: opacity 0.9s ease, visibility 0s; }
.diapo-image { all: unset; cursor: zoom-in; display: block; position: relative; width: 100%; height: min(68vh, 40rem); }
.diapo-image:focus-visible { outline: 2px solid var(--bleu); outline-offset: 3px; }
.diapo-image img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; }
.diapo .legende { text-align: center; max-width: 40rem; min-height: 2.9em; }
.diapo .legende a { white-space: nowrap; text-decoration: none; }
.galerie-commandes { display: flex; justify-content: center; align-items: center; gap: 0.5rem; margin-top: 0.75rem; font-size: var(--t-petit); }
.galerie-commandes button { font: inherit; color: var(--encre); background: transparent; border: 1px solid var(--filet); padding: 0.35rem 0.75rem; cursor: pointer; }
.galerie-commandes button:hover { border-color: var(--encre); }
.galerie-compteur { color: var(--graphite); font-variant-numeric: tabular-nums; min-width: 4rem; text-align: center; }
@media (max-width: 600px) { .diapo-image { height: min(62vh, 92vw); } }
@media (prefers-reduced-motion: reduce) { .diapo, .diapo.active { transition: none; } }

.note-langue { font-size: var(--t-petit); color: var(--graphite); font-style: italic; margin: 0; }
.contact { font-size: var(--t-corps); }

.liste-dates { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.3rem; }
.liste-dates li { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 1rem; }
.liste-dates .an { padding-top: 0.1rem; }
@media (max-width: 460px) {
  .liste-dates li { grid-template-columns: 1fr; gap: 0; }
}
a.ext { color: var(--bleu); text-decoration: none; white-space: nowrap; }

/* Art : les quatre questions */
.intro-art { margin-bottom: 1rem; }
.intro-art .or-droite p { max-width: var(--texte); }
.intro-art .or-droite p:last-child { margin-bottom: 0; }
.question { border-top: 1px solid var(--filet); padding-top: 1.25rem; margin-top: 2.5rem; scroll-margin-top: 1rem; }
.question-tete { display: grid; gap: 0.15rem; align-content: start; }
.question-texte p { max-width: var(--texte); }
.question figure { margin: 1rem 0 0; max-width: 14rem; }
.series { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--filet); }
.series li { border-bottom: 1px solid var(--filet); }
.series a, .series .a-venir {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding-block: 0.45rem; text-decoration: none;
}
.series .t { font-style: normal; }   /* noms de séries en romain (19 nov. 2026) */
.series .an { white-space: nowrap; }
.series a .t { color: var(--encre); }
.series a:hover .t { color: var(--bleu); }
.series a .t::after { content: "\00a0→"; font-style: normal; color: var(--bleu); }
.series .a-venir .t { color: var(--graphite); }
.note-proto { margin-top: 0.5rem; }

/* Page de série */
.fil { margin-bottom: 1rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.fil a { color: var(--graphite); }
.serie-tete { display: grid; gap: 0.2rem; align-content: start; }
@media (max-width: 859px) { .serie-tete { margin-bottom: 1rem; } }
.presentation { max-width: var(--texte); margin-top: 0.75rem; }
.groupe { margin-top: 2.5rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.9rem; }
.groupe > * { min-width: 0; }
.groupe:first-of-type { margin-top: 0; }
.groupe-tete { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; border-top: 1px solid var(--filet); padding-top: 0.8rem; }

/* Corps d'une page de série ou d'expositions : blocs dans l'ordre du contenu */
.serie-corps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.serie-corps > * { min-width: 0; margin: 0; }
.groupe-titre { margin-top: 0.75rem; }
.groupe-titre .an { font-family: var(--sans); font-size: var(--t-petit); margin-left: 0.4rem; }
.separateur { border: 0; border-top: 1px solid var(--filet); margin: 1.25rem 0 0.5rem; width: 100%; }
.texte { white-space: pre-line; max-width: var(--texte); }
.texte b { color: var(--encre); font-weight: 600; }
.texte[dir="rtl"], .texte:dir(rtl) { text-align: right; }
.lien-seul { margin: 0; }
.fiche { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.fiche .planche.seule { max-width: 7rem; }
.fiche .texte { font-size: var(--t-petit); line-height: 1.5; }
.fiche .texte a.ext { display: inline-block; margin-right: 1rem; }
@media (max-width: 460px) { .fiche { grid-template-columns: 5rem minmax(0, 1fr); gap: 0.9rem; } .fiche .planche.seule { max-width: 5rem; } }
.liste-simple { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.liste-simple li { display: block; }   /* texte continu : pas d'espaces de grille entre titre, virgule et lien */
.liste-simple a { text-decoration: none; }
.liste-simple a:hover { text-decoration: underline; }

/* Vignettes : petites, alignées par le haut ; le clic ouvre la visionneuse */
.planche {
  display: grid; gap: 1rem 0.75rem; align-items: start;
  grid-template-columns: repeat(auto-fill, minmax(var(--vignette), 1fr));
  max-width: 52rem;
}
.planche figure { margin: 0; min-width: 0; }
.planche button { all: unset; display: block; cursor: zoom-in; width: 100%; }
.planche button:focus-visible { outline: 2px solid var(--bleu); outline-offset: 3px; }
.planche img { width: 100%; background: var(--filet); }
.pleine-largeur { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; max-width: 34rem; }
.planche.seule { grid-template-columns: minmax(0, 1fr); max-width: 30rem; }
.legende-groupe { margin-top: 0; }

.texte-associe { margin: 0.5rem 0; max-width: var(--texte); border-left: 1px solid var(--filet); padding-left: 1rem; }
.poemes { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); max-width: var(--texte); margin-top: 0.5rem; }
.poeme h3 { font-style: italic; margin: 0 0 0.4rem; }
.poeme p { white-space: pre-line; line-height: 1.5; margin-bottom: 0.5rem; }

.video { position: relative; aspect-ratio: 16 / 9; max-width: min(100%, 34rem); background: var(--voile); }
.video button { all: unset; cursor: pointer; position: absolute; inset: 0; display: grid; place-items: center; }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.video .lire {
  position: relative; font-size: var(--t-petit);
  color: #fff; background: rgba(0,0,0,0.6); padding: 0.55rem 0.9rem; border: 1px solid rgba(255,255,255,0.6);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lien-video { margin-top: -0.4rem; }

.retour { margin-top: 3rem; border-top: 1px solid var(--filet); padding-top: 0.9rem; display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; }
.retour > :last-child { text-align: right; }
@media (max-width: 460px) { .retour { grid-template-columns: 1fr 1fr; } .retour > :nth-child(2) { display: none; } }

/* Pied de page */
.pied { border-top: 1px solid var(--filet); }
.pied .cadre { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; padding-block: 1.25rem 1.75rem; }
.pied ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.pied a { color: var(--graphite); }

/* Visionneuse */
.visionneuse { border: 0; padding: 0; margin: 0; width: 100%; height: 100%; max-width: none; max-height: none; background: var(--voile); color: #e9e9e4; }
.visionneuse::backdrop { background: var(--voile); }
.visionneuse[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.visionneuse .scene { position: relative; min-height: 0; overflow: hidden; margin: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) 0 max(12px, env(safe-area-inset-left, 0px)); }
/* Ajustée à l'écran : jamais plus grande que la zone visible */
.visionneuse .scene img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; }
.visionneuse .scene.zoomable img { cursor: zoom-in; }
/* Zoom : taille réelle de l'image, déplacement en glissant */
.visionneuse .scene.zoom { overflow: auto; cursor: grab; overscroll-behavior: contain; scrollbar-width: none; }
.visionneuse .scene.zoom::-webkit-scrollbar { display: none; }
.visionneuse .scene.zoom.glisse { cursor: grabbing; }
.visionneuse .scene.zoom img { position: static; width: auto; height: auto; max-width: none; max-height: none; cursor: zoom-out; margin: auto; }
.visionneuse .barre {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem;
  padding: 0.8rem max(16px, env(safe-area-inset-right, 0px)) max(0.8rem, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  font-size: var(--t-petit);
}
.visionneuse .barre p { margin: 0; min-width: 0; flex: 1 1 16rem; color: #c4c4bd; }
.visionneuse .barre i { color: #f2f2ee; }
.visionneuse .commandes { display: flex; gap: 0.5rem; align-items: center; }
.visionneuse .commandes button {
  font: inherit; color: #f2f2ee; background: transparent;
  border: 1px solid #66665f; padding: 0.4rem 0.75rem; cursor: pointer;
}
.visionneuse .commandes button:hover { border-color: #f2f2ee; }
.visionneuse .compteur { color: #a3a39c; font-variant-numeric: tabular-nums; min-width: 3.5rem; text-align: center; }

@media (prefers-reduced-motion: no-preference) {
  .planche img { transition: opacity 0.2s ease; }
  .planche button:hover img { opacity: 0.88; }
}

/* ---------------------------------------------------------------------------
   Design des menus (repris de l'essai « une page », 18 nov. 2026) : titre de page + filet,
   puis une grille commune de trois colonnes égales. Retour arrière : modele/style-avant-design-2026-11-18.css
   et outils/build-avant-design-2026-11-18.py.
   --------------------------------------------------------------------------- */
.tete-page { border-bottom: 1px solid var(--filet); padding-bottom: 0.6rem; margin-bottom: 0.9rem; }
.g3 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 860px) {
  .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2.25rem; align-items: start; }
  .g3 > :last-child:nth-child(2) { grid-column: 2 / 4; }   /* deux blocs : le second occupe les deux colonnes de droite */
}
.sous-titre { font-size: var(--t-petit); color: var(--graphite); margin: 0.2rem 0 0.9rem; }
/* Art */
.intro-une .sous-titre { margin-bottom: 0; }
.intro-texte p { font-size: 0.9375rem; line-height: 1.5; margin-bottom: 0.6em; }
.q3 { border-top: 1px solid var(--filet); padding-top: 0.9rem; margin-top: 1.1rem; }
.q3 figure { margin: 0; }
.q3 .question-texte p { font-size: 0.9375rem; line-height: 1.5; margin: 0; }   /* même interligne entre paragraphes qu'entre lignes */
.q3 .series a, .q3 .series .a-venir { padding-block: 0.2rem; line-height: 1.45; }   /* lignes compactées à 75 % */
/* Expositions : une par ligne, affiches de même largeur */
.expo-liste { display: grid; gap: 1.1rem; }
.expo-liste .groupe-titre { margin-top: 0.3rem; }
.expo-liste .groupe-titre ~ .groupe-titre { margin-top: 0.6rem; border-top: 1px solid var(--filet); padding-top: 0.9rem; }
.expo-liste .fiche { grid-template-columns: 8rem minmax(0, 1fr); gap: 2.25rem; }
.expo-liste .fiche .planche.seule { max-width: 8rem; }
.expo-liste .texte { line-height: 1.45; max-width: none; }
.expo-liste .expo-sous { font-size: var(--t-corps); border-top: 1px solid var(--filet); padding-top: 0.9rem; }
@media (max-width: 460px) { .expo-liste .fiche { grid-template-columns: 5rem minmax(0, 1fr); gap: 0.9rem; } .expo-liste .fiche .planche.seule { max-width: 5rem; } }
/* Bio */
.bio-gauche .portrait { margin: 0; max-width: 13rem; }
.bio-gauche .chapeau { margin: 0.9rem 0 0; }
.bio-gauche .chapeau.suite { margin-top: 0.5rem; }
.g3 .accordeons, .g3 .accordeons .accordeon:first-child { border-top: 0; }   /* le filet du titre suffit */
.g3 .accordeon:first-child summary { padding-top: 0; }
.g3 .accordeon summary { padding-block: 0.55rem; }
/* Contact */
.contact-ligne { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; }
.contact-ligne a { text-decoration: none; }
.contact-ligne a:hover { text-decoration: underline; }

/* Recherche : loupe à côté du commutateur de langue ; le champ s'ouvre sous le menu (18 nov. 2026) */
.loupe { all: unset; cursor: pointer; color: var(--graphite); display: inline-flex; align-items: center; align-self: center; padding: 0.25rem 0.1rem; }
.loupe:hover, .loupe[aria-expanded="true"] { color: var(--bleu); }
.loupe:focus-visible { outline: 2px solid var(--bleu); outline-offset: 3px; }
.recherche { border-top: 1px solid var(--filet); }
.recherche[hidden] { display: none; }
.recherche .cadre { padding-block: 0.75rem 0.9rem; }
.recherche input {
  width: 100%; font: inherit; font-size: var(--t-corps); color: var(--encre); background: #fff;
  border: 1px solid var(--filet); border-radius: 0; padding: 0.45rem 0.7rem; -webkit-appearance: none; appearance: none;
}
.recherche input:focus { outline: none; border-color: var(--graphite); }
.resultats { list-style: none; margin: 0; padding: 0; max-height: min(60vh, 32rem); overflow-y: auto; }
.resultats:not(:empty) { margin-top: 0.6rem; border-top: 1px solid var(--filet); }
.resultats li { border-bottom: 1px solid var(--filet); }
.resultats a { display: grid; gap: 0.1rem; padding-block: 0.45rem; text-decoration: none; }
.resultats .r-titre { color: var(--encre); }
.resultats a:hover .r-titre { color: var(--bleu); }
.resultats .r-extrait { font-size: var(--t-petit); color: var(--graphite); line-height: 1.45; }
.resultats mark { background: #f1e7b8; color: inherit; padding: 0 0.05em; }
.resultats .vide { padding-block: 0.5rem; font-size: var(--t-petit); color: var(--graphite); border-bottom: 0; }

/* Bouton « haut de page », permanent en bas à droite */
.haut {
  position: fixed; z-index: 15;
  right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px));
  width: 2.5rem; height: 2.5rem; display: grid; place-items: center; cursor: pointer;
  font: inherit; font-size: 1.05rem; line-height: 1; color: #111110;
  background: rgba(255, 255, 255, 0.88); border: 1px solid #d6d5cf;
}
.haut:hover { border-color: #111110; }
.haut:focus-visible { outline: 2px solid var(--bleu); outline-offset: 3px; }

/* Archive (une page, fond uni) : Galerie de la Bibliothèque Nationale de Tunisie (18 nov. 2026) */
body.archive { --papier: #f4f3ef; --filet: #dcdbd5; }
.archive main { padding-top: 1.25rem; }
.fil-archive { font-size: var(--t-petit); color: var(--graphite); margin: 0 0 2rem; }
.fil-archive a { color: var(--graphite); }
.archive-tete { border-bottom: 1px solid var(--filet); padding-bottom: 0.9rem; }
.archive-tete h1 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); line-height: 1.15; }
.archive-tete .sous-titre { margin-bottom: 0; }
.archive-partie { border-bottom: 1px solid var(--filet); padding-block: 1.5rem 1.75rem; }
.archive-partie h2 { font-size: var(--t-h2); }
.texte-long { max-width: var(--texte); }
.texte-long p { margin-bottom: 0.75em; text-wrap: pretty; }
.texte-long h3 { font-size: var(--t-corps); font-family: var(--sans); font-weight: 600; margin: 1.5rem 0 0.5rem; }
.texte-long h3:first-child { margin-top: 0; }
.signature-texte { color: var(--graphite); font-size: var(--t-petit); margin-top: 1.25rem; }
.affiches { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); align-items: start; margin-top: 1rem; }
.affiches figure { margin: 0; }
.affiches button { all: unset; display: block; cursor: zoom-in; width: 100%; }
.affiches button:focus-visible { outline: 2px solid var(--bleu); outline-offset: 3px; }
.affiches img { width: 100%; height: auto; background: var(--filet); }
@media (prefers-reduced-motion: no-preference) { .affiches img { transition: opacity 0.2s ease; } .affiches button:hover img { opacity: 0.88; } }
.artistes { list-style: none; margin: 0; padding: 0; }
.artistes li { display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); gap: 0.5rem; padding-block: 0.3rem; border-bottom: 1px solid var(--filet); font-size: 0.9375rem; line-height: 1.5; }
.artistes li:first-child { border-top: 1px solid var(--filet); }
.artistes .lettre { font-family: var(--serif); color: var(--encre); font-size: var(--t-h2); line-height: 1.25; }
.suite summary { list-style: none; cursor: pointer; display: inline-block; color: var(--bleu); font-size: var(--t-petit); padding-block: 0.25rem; }
.suite summary::-webkit-details-marker { display: none; }
.suite summary::after { content: "\00a0↓"; }
.suite summary:hover { text-decoration: underline; text-underline-offset: 0.18em; }
.suite[open] summary { display: none; }   /* une fois déroulé, le texte reste ouvert */
.catalogues { list-style: none; margin: 0; padding: 0; }
.catalogues li { display: grid; gap: 0.15rem 1.5rem; padding-block: 0.4rem; border-bottom: 1px solid var(--filet); }
@media (min-width: 600px) { .catalogues li { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; } }
.catalogues li:first-child { padding-top: 0; }
.catalogues li:last-child { border-bottom: 0; padding-bottom: 0; }   /* une seule ligne, entre les catalogues */
.catalogues i { color: var(--encre); }
.catalogues .liens { display: flex; gap: 1rem; white-space: nowrap; }
.archive-tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; }
.logo-archive { width: auto; height: 4.75rem; flex: none; mix-blend-mode: multiply; }   /* fond blanc du logo fondu dans le papier */
@media (max-width: 600px) { .archive-tete { flex-direction: column-reverse; align-items: flex-start; } .logo-archive { height: 3.5rem; } }

/* Archive : État d'urgence (19 nov. 2026) */
.couvertures { grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr)); }
.numero { padding-block: 0.6rem 0.7rem; border-bottom: 1px solid var(--filet); }
.numero:first-child { padding-top: 0; }
.numero:last-child { border-bottom: 0; padding-bottom: 0; }
.numero header { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.numero h3 { font-size: var(--t-h2); }
.numero .infos { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.1rem 1rem; margin: 0.4rem 0 0.3rem; font-size: 0.9375rem; line-height: 1.5; }
.numero .infos dt { color: var(--graphite); font-size: var(--t-petit); padding-top: 0.1rem; }
.numero .infos dd { margin: 0; }
@media (max-width: 460px) { .numero .infos { grid-template-columns: 1fr; } .numero .infos dd { margin-bottom: 0.3rem; } }
.sommaire summary { cursor: pointer; color: var(--bleu); font-size: var(--t-petit); list-style: none; display: inline-block; padding-block: 0.15rem; }
.sommaire summary::-webkit-details-marker { display: none; }
.sommaire summary::after { content: "\00a0↓"; }
.sommaire[open] summary::after { content: "\00a0↑"; }
.sommaire ol { margin: 0.3rem 0 0; padding-left: 1.4rem; font-size: 0.9375rem; line-height: 1.5; }
.sommaire li[dir="rtl"], .sommaire li:dir(rtl) { text-align: right; }
.auteurs { list-style: none; margin: 0; padding: 0; columns: 1; }
.auteurs li { padding-block: 0.3rem; border-bottom: 1px solid var(--filet); font-size: 0.9375rem; line-height: 1.5; break-inside: avoid; }
.auteurs li:last-child { border-bottom: 0; }
.nom-auteur { color: var(--encre); }
.numero { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.numero-couverture figure { margin: 0; }
.numero-couverture button { all: unset; display: block; cursor: zoom-in; width: 100%; }
.numero-couverture button:focus-visible { outline: 2px solid var(--bleu); outline-offset: 3px; }
.numero-couverture img { width: 100%; height: auto; background: var(--filet); }
@media (max-width: 460px) { .numero { grid-template-columns: 5rem minmax(0, 1fr); gap: 0.9rem; } }

/* Contact : formulaire (19 nov. 2026) ; le lien Contact est dans le pied de page */
.contact-formulaire { margin-top: 1.75rem; }
.formulaire-contact { display: grid; gap: 0.9rem; }
.formulaire-contact .champs-2 { display: grid; gap: 0.9rem; }
@media (min-width: 600px) { .formulaire-contact .champs-2 { grid-template-columns: 1fr 1fr; } }
.formulaire-contact label { display: grid; gap: 0.3rem; }
.formulaire-contact label span { font-size: var(--t-petit); color: var(--graphite); }
.formulaire-contact input, .formulaire-contact textarea {
  font: inherit; color: var(--encre); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--filet);
  border-radius: 0; padding: 0.5rem 0.65rem; width: 100%; -webkit-appearance: none; appearance: none;
}
.formulaire-contact textarea { resize: vertical; min-height: 9rem; }
.formulaire-contact input:focus, .formulaire-contact textarea:focus { outline: none; border-color: var(--graphite); }
.formulaire-contact .envoi { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; }
.formulaire-contact button {
  font: inherit; color: var(--papier); background: var(--encre); border: 1px solid var(--encre); padding: 0.5rem 1.4rem; cursor: pointer;
}
.formulaire-contact button:hover { background: transparent; color: var(--encre); }
.note-envoi { margin: 0; font-size: var(--t-petit); color: var(--graphite); }
.pied a[aria-current="page"] { text-decoration-thickness: 2px; }

/* Archive : Studies (19 nov. 2026) */
.logo-rond { mix-blend-mode: normal; }
.membres { display: grid; gap: 0; }
.membre { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1.25rem; align-items: start; padding-block: 0.7rem; border-bottom: 1px solid var(--filet); }
.membre:first-child { padding-top: 0; }
.membre:last-child { border-bottom: 0; padding-bottom: 0; }
.membre h3 { font-size: var(--t-h2); }
.membre p { font-size: 0.9375rem; line-height: 1.5; margin: 0.3rem 0 0; max-width: var(--texte); }
.membre .liens-membre { font-size: var(--t-petit); }
.membre-portrait figure { margin: 0; }
.membre-portrait button { all: unset; display: block; cursor: zoom-in; width: 100%; }
.membre-portrait img { width: 100%; height: auto; background: var(--filet); }
.liste-noms { list-style: none; padding: 0; margin: 0.3rem 0 0; }
.liste-noms li { line-height: 1.6; }
.exergue-bande { background: #e2e1dc; margin-block: 1.5rem; padding: 2.25rem clamp(1.25rem, 6vw, 4rem) 2rem; }
.exergue-bande h2 { font-family: var(--sans); font-size: var(--t-petit); font-weight: 400; color: var(--graphite); text-align: center; margin: 0 0 1.25rem; }
.exergue { max-width: 36rem; margin-inline: auto; }
.exergue p { font-family: var(--serif); font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.55; color: var(--encre); margin: 0 0 1em; text-wrap: pretty; }
.exergue .signature-exergue { font-family: var(--sans); font-size: var(--t-petit); color: var(--graphite); text-align: right; margin: 1.25rem 0 0; }
.expo-studies { padding-block: 1rem 1.1rem; }
.chapeau-expo { margin: 0.3rem 0 0; font-size: 0.9375rem; }
.texte-expo { margin-top: 0.15rem; }
.texte-expo .texte-long { margin-top: 0.5rem; font-size: 0.9375rem; }
.galerie-expo { margin-top: 0.9rem; }
.galerie-expo h4 { font-family: var(--sans); font-weight: 400; font-size: var(--t-petit); color: var(--graphite); margin: 0 0 0.45rem; }
.galerie-expo .nombre::before { content: "· "; }
.planche-archive { --vignette: 4.75rem; gap: 0.5rem; max-width: none; }
.planche-archive img { aspect-ratio: 1; object-fit: cover; height: auto; }
.planche-archive.oeuvres img { object-fit: contain; background: transparent; }   /* œuvres : entières, sans recadrage */
@media (max-width: 460px) { .membre { grid-template-columns: 4rem minmax(0, 1fr); gap: 0.9rem; } .planche-archive { --vignette: 3.75rem; } }

/* Archive : GOAT Studio (19 nov. 2026) */
.image-accueil { margin-top: 1.25rem; max-width: 34rem; }
.image-accueil figure { margin: 0; }
.image-accueil button { all: unset; display: block; cursor: zoom-in; width: 100%; }
.image-accueil img { width: 100%; height: auto; background: var(--filet); }
.legende-image { font-size: var(--t-petit); color: var(--graphite); margin-top: 0.4rem; }
.chapeau-expo p { margin: 0 0 0.2rem; }

/* Archive : Plastikos (19 nov. 2026) */
.date-activite { font-size: var(--t-petit); color: var(--graphite); margin: 0.15rem 0 0.4rem; }
.citations blockquote { margin: 0 0 1.75rem; }
.citations blockquote:last-child { margin-bottom: 0; }
.citations .signature-exergue { margin-top: 0.4rem; }
.citation-pic { margin: 0.6rem 0; padding-left: 1rem; border-left: 1px solid var(--filet); }
.citation-pic p { font-family: var(--serif); font-size: 1.0625rem; margin: 0; }
.citation-pic .signature-exergue { font-family: var(--sans); font-size: var(--t-petit); color: var(--graphite); margin-top: 0.3rem; }
.numero header a.ext { font-size: var(--t-petit); white-space: nowrap; }
.planche-archive.dessins-largeur { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.planche-archive.dessins-largeur img { aspect-ratio: auto; object-fit: initial; }

/* ==========================================================================
   Harmonisation (19 nov. 2026) : 3 polices, 2 couleurs, 1 bleu pâle pour les liens.
   Ce bloc, en fin de fichier, prime sur les règles précédentes ; il est identique sur
   oussamatroudi.com et asmaghiloufi.com.
   - Polices, 3 rôles : --f-titre (titres), --f-texte (corps du texte), --f-detail (menus,
     sous-titres, légendes, dates). Pour changer de combinaison, ne modifier que ces trois lignes
     (et les @font-face).
   - Couleurs : --encre (titres, texte, menu) et --gris (sous-titres, légendes, dates, menu secondaire) ;
     --bleu (liens). Sur les fonds sombres, les deux couleurs passent en clair.
     Contrastes vérifiés ≥ 4,5:1 sur tous les fonds clairs (Bio compris) pour l'encre et le gris.
   - Tailles, 4 seulement : 24 px titre de page, 19 px titres de parties et d'éléments,
     16 px corps, 14 px détails.
   ========================================================================== */
:root {
  --f-titre: var(--serif);
  --f-texte: var(--sans);
  --f-detail: var(--sans);
  --encre: #1c1b19;
  --corps: #1c1b19;
  --gris: #4d4c46;
  --graphite: var(--gris);
  --bleu: #3f63a8;
}
.entete { --encre: #1c1b19; --corps: #1c1b19; --gris: #4d4c46; --graphite: #4d4c46; --bleu: #3f63a8; }
body.bio { --encre: #1c1b19; --corps: #1c1b19; --gris: #4d4c46; --graphite: #4d4c46; --bleu: #3f63a8; }
body.contact { --encre: #f4f3ef; --corps: #f4f3ef; --gris: #bdbbb4; --graphite: #bdbbb4; --bleu: #a9bce8; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]), :root:not([data-theme="light"]) .entete {
    --encre: #f0efea; --corps: #f0efea; --gris: #a8a7a0; --graphite: #a8a7a0; --bleu: #a9bce8;
  }
}
:root[data-theme="dark"], :root[data-theme="dark"] .entete {
  --encre: #f0efea; --corps: #f0efea; --gris: #a8a7a0; --graphite: #a8a7a0; --bleu: #a9bce8;
}

/* Polices par rôle */
body { font-family: var(--f-texte); color: var(--encre); }
h1, h2, h3, .artistes .lettre, .prose h3, .exergue p, .citation-pic p { font-family: var(--f-titre); }
.nom, .nav, .sous-titre, .legende, .fil, .fil-archive, .pied, .an, .groupe-titre .an, .note-langue,
.date-activite, .legende-image, .galerie-expo h4, .signature-texte, .signature-exergue, .infos dt,
.numero .infos dt, .exergue-bande h2, .contexte, .textes .contexte, .apercu-titre, .livre-partie,
.livre-notice dt, .livre-notice dl, .sommaire-livres .an, .visionneuse .barre, .galerie-commandes,
.suite summary, .sommaire summary, .resultats .r-extrait, .formulaire-contact label span, .note-envoi,
.membre .liens-membre, .numero header a.ext, .pratique > h2 .an, .fiche .texte { font-family: var(--f-detail); }
.accordeon-corps h3, .texte-long h3, .accordeon-corps.prose h3 { font-family: var(--f-texte); }

/* Tailles : 24 / 19 / 16 / 14 */
h1, .archive-tete h1 { font-size: var(--t-h1); line-height: 1.2; }
h2, .archive-partie h2, .livre-notice h2, .prose h3, .serie-corps h3.groupe-titre, .livre-extraits h3.groupe-titre,
.numero h3, .membre h3, .artistes .lettre, .exergue p { font-size: var(--t-h2); }
h3 { font-size: var(--t-corps); }
.numero h3, .membre h3 { font-size: var(--t-h2); }
.intro-texte p, .q3 .question-texte p, .artistes li, .numero .infos, .sommaire ol, .auteurs li, .membre p,
.chapeau-expo, .texte-expo .texte-long, .citation-pic p, .contact, .expo-liste .expo-sous { font-size: var(--t-corps); }
.nav, .sous-titre, .legende, .fil, .fil-archive, .pied, .note-langue, .date-activite, .legende-image,
.galerie-expo h4, .signature-texte, .signature-exergue, .numero .infos dt, .exergue-bande h2, .textes .contexte,
.apercu-titre, .livre-partie, .livre-notice dl, .sommaire-livres .an, .visionneuse .barre, .galerie-commandes,
.suite summary, .sommaire summary, .resultats .r-extrait, .membre .liens-membre, .numero header a.ext,
.groupe-titre .an, .fiche .texte { font-size: var(--t-petit); }
.nom { font-size: var(--t-corps); }

/* Couleurs : encre et gris seulement (plus le bleu des liens) */
h1, h2, h3, .nav a, .legende i, .texte b, .prose b, .nom-auteur, .catalogues i, .series a .t, .resultats .r-titre,
.sommaire a, .sommaire-livres a, .livre-notice dd, h1.chapeau, .exergue p, .galerie-commandes button,
.formulaire-contact input, .formulaire-contact textarea { color: var(--encre); }
.nom, .nav a.langue, .sous-titre, .legende, .fil a, .fil-archive, .fil-archive a, .pied a, .series .a-venir .t,
.galerie-compteur, .note-langue, .date-activite, .legende-image, .galerie-expo h4, .signature-texte, .signature-exergue,
.numero .infos dt, .exergue-bande h2, .textes .contexte, .apercu-titre, .livre-partie, .livre-notice dt, .livre-notice .genre,
.sommaire-livres .an, .resultats .r-extrait, .resultats .vide, .formulaire-contact label span, .note-envoi,
.accordeon summary::after, .loupe { color: var(--gris); }
.haut { color: #1c1b19; }
.resultats mark { background: rgba(63, 99, 168, 0.16); }
/* Visionneuse (fond noir) : les deux couleurs en clair */
.visionneuse, .visionneuse .barre i, .visionneuse .commandes button { color: #f4f3ef; }
.visionneuse .barre p, .visionneuse .compteur { color: #bdbbb4; }
/* Survols (rétablis après les couleurs ci-dessus) */
.nom:hover, .nav a:hover, .accordeon summary:hover h2, .series a:hover .t, .loupe:hover, .loupe[aria-expanded="true"],
.resultats a:hover .r-titre, .sommaire a:hover, .sommaire-livres a:hover i, .fil a:hover, .fil-archive a:hover, .pied a:hover { color: var(--bleu); }
.haut:hover { border-color: #1c1b19; }
.visionneuse .commandes button:hover { border-color: #f4f3ef; }

/* Liens (19 nov. 2026) : jamais soulignés ; ils gardent la police et la couleur de l'endroit où ils sont ;
   en bleu seulement dans le corps du texte. Page active du menu : en bleu (au lieu du soulignement). */
a, a:hover, a:focus, .nav a[aria-current="page"], .pied a[aria-current="page"], .liste-simple a:hover, .contact-ligne a:hover,
.suite summary:hover, .sommaire summary:hover { text-decoration: none; }
a, a.ext { color: inherit; }
main :is(p, li, dd, blockquote, td) a, main :is(p, li, dd, blockquote, td) a.ext { color: var(--bleu); }
main :is(.sous-titre, .legende, .legende-image, .fil, .fil-archive, .date-activite, .signature-texte, .signature-exergue,
  .liens-membre, .note-langue, .contact-studies, .contact-ligne, .series, .sommaire, .sommaire-livres, .resultats, .infos,
  .livre-notice, .numero header, .an, .catalogues .liens, .retour) a,
main :is(.sous-titre, .legende, .legende-image, .fil, .fil-archive, .date-activite, .signature-texte, .signature-exergue,
  .liens-membre, .note-langue, .contact-studies, .contact-ligne, .series, .sommaire, .sommaire-livres, .resultats, .infos,
  .livre-notice, .numero header, .an, .catalogues .liens, .retour) a.ext { color: inherit; }
.series a .t::after { color: inherit; }
a:hover, a.ext:hover, main :is(p, li, dd) a:hover, .nav a[aria-current="page"], .pied a[aria-current="page"] { color: var(--bleu); }
main :is(p, li, dd, blockquote, td) a:hover { opacity: 0.75; }
a.ext { font-size: inherit; font-family: inherit; }      /* les liens externes prennent la typographie de leur phrase */
main :is(.texte, .prose, .texte-long, .accordeon-corps) a, main :is(.texte, .prose, .texte-long, .accordeon-corps) a.ext { color: var(--bleu); }
main :is(h1, h2, h3, h4) a, main :is(h1, h2, h3, h4) a.ext, main :is(.texte, .prose, .texte-long, .accordeon-corps) :is(h1, h2, h3, h4) a, main :is(.texte, .prose, .texte-long, .accordeon-corps) :is(h1, h2, h3, h4) a.ext { color: inherit; }   /* liens dans un titre : couleur du titre */

/* Polices choisies le 19 nov. 2026 (licence SIL OFL), téléchargées de Google Fonts, hébergées sur le site */
@font-face { font-family: "Amiri"; font-style: italic; font-weight: 400; font-display: swap; src: url("polices/amiri-arabic-400-italic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: "Amiri"; font-style: italic; font-weight: 400; font-display: swap; src: url("polices/amiri-latin-ext-400-italic.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Amiri"; font-style: italic; font-weight: 400; font-display: swap; src: url("polices/amiri-latin-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Amiri"; font-style: normal; font-weight: 400; font-display: swap; src: url("polices/amiri-arabic-400-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: "Amiri"; font-style: normal; font-weight: 400; font-display: swap; src: url("polices/amiri-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Amiri"; font-style: normal; font-weight: 400; font-display: swap; src: url("polices/amiri-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Encode Sans Semi Condensed"; font-style: normal; font-weight: 400; font-display: swap; src: url("polices/encode-sans-semi-condensed-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Encode Sans Semi Condensed"; font-style: normal; font-weight: 400; font-display: swap; src: url("polices/encode-sans-semi-condensed-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Encode Sans Semi Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("polices/encode-sans-semi-condensed-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Encode Sans Semi Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("polices/encode-sans-semi-condensed-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 400; font-display: swap; src: url("polices/tajawal-arabic-400-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 400; font-display: swap; src: url("polices/tajawal-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 700; font-display: swap; src: url("polices/tajawal-arabic-700-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 700; font-display: swap; src: url("polices/tajawal-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ==========================================================================
   Choix du 19 nov. 2026 : polices et filigrane
   - Titres et texte : combinaison 3 (Amiri, Tajawal : latin et arabe) ; menus, légendes, bas de page : combinaison 6
     (Encode Sans Semi Condensed). Pas d'italique dessiné pour Tajawal et Encode Sans : le navigateur penche les lettres.
   - Filigrane « Fibres, clairsemé » (variante 3) sur toutes les pages, sauf Art (body.art) ; fibres claires sur fonds sombres.
   ========================================================================== */
:root {
  --serif: "Amiri", "Times New Roman", serif;
  --sans: "Tajawal", "Segoe UI", Arial, sans-serif;
  --detail: "Encode Sans Semi Condensed", "Arial Narrow", Arial, sans-serif;
  --f-titre: var(--serif);
  --f-texte: var(--sans);
  --f-detail: var(--detail);
  --filigrane: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='293' height='293' viewBox='0 0 293 293'%3E%3Cg fill='none' stroke='%231c1b19' stroke-opacity='0.08' stroke-width='1' stroke-linecap='round'%3E%3Cpath d='M222.0,193.7 Q228.5,194.6 233.6,198.8'/%3E%3Cpath d='M24.9,95.8 Q28.0,104.0 33.2,111.0'/%3E%3Cpath d='M129.3,152.4 Q135.3,159.9 144.9,160.9'/%3E%3Cpath d='M198.3,101.1 Q196.7,106.7 195.0,112.3'/%3E%3Cpath d='M138.1,7.2 Q133.7,11.5 130.4,16.6'/%3E%3Cpath d='M9.1,238.5 Q8.9,245.0 4.5,250.0'/%3E%3Cpath d='M91.0,223.5 Q85.6,228.9 79.5,233.6'/%3E%3Cpath d='M258.0,19.9 Q255.6,29.0 259.2,37.7'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='379' height='379' viewBox='0 0 379 379'%3E%3Cg fill='none' stroke='%231c1b19' stroke-opacity='0.08' stroke-width='1' stroke-linecap='round'%3E%3Cpath d='M296.5,21.1 Q302.4,20.0 307.4,23.3'/%3E%3Cpath d='M43.1,338.2 Q35.6,344.2 26.1,345.9'/%3E%3Cpath d='M303.5,152.1 Q297.9,154.3 292.2,156.2'/%3E%3Cpath d='M142.7,238.1 Q144.9,246.3 141.2,253.8'/%3E%3Cpath d='M270.1,266.8 Q278.9,271.1 288.6,270.3'/%3E%3Cpath d='M71.1,181.9 Q68.6,190.2 71.1,198.6'/%3E%3Cpath d='M142.5,115.0 Q148.3,117.5 154.7,117.4'/%3E%3Cpath d='M207.4,-10.9 Q206.5,-3.3 200.9,2.0'/%3E%3Cpath d='M207.4,368.1 Q206.5,375.7 200.9,381.0'/%3E%3Cpath d='M127.5,325.9 Q133.6,327.9 140.0,328.4'/%3E%3Cpath d='M6.8,246.1 Q4.7,254.7 9.4,262.2'/%3E%3Cpath d='M48.4,39.7 Q46.2,46.1 49.0,52.3'/%3E%3Cpath d='M238.9,199.5 Q231.2,197.4 224.3,201.2'/%3E%3Cpath d='M333.5,323.6 Q334.5,329.2 335.8,334.7'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='457' height='457' viewBox='0 0 457 457'%3E%3Cg fill='none' stroke='%231c1b19' stroke-opacity='0.08' stroke-width='1' stroke-linecap='round'%3E%3Cpath d='M245.9,188.6 Q239.0,194.3 230.3,196.5'/%3E%3Cpath d='M105.4,53.5 Q100.1,58.9 96.5,65.7'/%3E%3Cpath d='M227.6,284.9 Q221.0,285.2 214.8,287.3'/%3E%3Cpath d='M194.7,17.0 Q199.5,21.5 203.2,26.9'/%3E%3Cpath d='M112.8,358.9 Q102.8,358.8 93.3,361.8'/%3E%3Cpath d='M315.1,344.5 Q309.1,345.8 303.2,347.2'/%3E%3Cpath d='M80.4,212.4 Q74.2,212.5 68.1,213.7'/%3E%3Cpath d='M296.1,421.6 Q300.5,426.4 300.4,432.9'/%3E%3Cpath d='M380.1,238.2 Q388.6,236.4 395.8,241.2'/%3E%3Cpath d='M370.6,45.2 Q364.1,44.6 358.2,47.4'/%3E%3Cpath d='M279.1,61.0 Q281.5,71.0 277.8,80.5'/%3E%3Cpath d='M233.6,380.3 Q224.1,379.8 216.7,385.7'/%3E%3Cpath d='M30.3,76.4 Q28.6,82.4 26.1,88.2'/%3E%3Cpath d='M120.3,436.6 Q125.5,438.2 130.9,437.6'/%3E%3Cpath d='M388.6,376.9 Q396.1,374.4 403.0,378.3'/%3E%3Cpath d='M19.6,256.3 Q16.4,264.7 9.0,270.0'/%3E%3Cpath d='M431.6,439.1 Q436.3,440.9 440.9,442.9'/%3E%3Cpath d='M316.0,137.6 Q321.8,137.4 327.3,139.1'/%3E%3Cpath d='M189.7,116.7 Q180.7,116.6 173.7,122.1'/%3E%3Cpath d='M393.7,164.3 Q388.7,166.9 383.8,169.6'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='541' height='541' viewBox='0 0 541 541'%3E%3Cg fill='none' stroke='%231c1b19' stroke-opacity='0.08' stroke-width='1' stroke-linecap='round'%3E%3Cpath d='M269.3,188.8 Q268.1,194.7 268.8,200.7'/%3E%3Cpath d='M384.2,240.3 Q390.4,242.8 397.0,243.1'/%3E%3Cpath d='M244.6,7.2 Q245.0,14.1 246.0,20.9'/%3E%3Cpath d='M181.2,250.1 Q181.6,257.3 181.2,264.4'/%3E%3Cpath d='M488.7,380.0 Q489.2,388.2 487.4,396.2'/%3E%3Cpath d='M494.4,12.7 Q486.5,18.3 477.9,23.0'/%3E%3Cpath d='M27.5,120.9 Q34.0,122.5 38.8,127.2'/%3E%3Cpath d='M128.5,476.4 Q134.1,483.6 131.8,492.4'/%3E%3Cpath d='M207.1,138.9 Q209.6,144.8 211.2,150.9'/%3E%3Cpath d='M237.8,411.0 Q246.9,415.0 253.7,422.3'/%3E%3Cpath d='M400.8,71.3 Q408.1,72.8 415.6,72.5'/%3E%3Cpath d='M76.5,394.8 Q75.5,402.3 70.8,408.2'/%3E%3Cpath d='M175.7,342.2 Q183.5,348.1 193.3,347.3'/%3E%3Cpath d='M85.7,275.9 Q80.7,277.3 75.6,276.9'/%3E%3Cpath d='M277.0,272.5 Q273.0,277.3 266.7,277.1'/%3E%3Cpath d='M65.4,-4.5 Q67.5,2.1 72.5,6.9'/%3E%3Cpath d='M65.4,536.5 Q67.5,543.1 72.5,547.9'/%3E%3Cpath d='M331.3,122.4 Q341.6,123.3 347.5,131.8'/%3E%3Cpath d='M455.5,172.5 Q446.8,177.2 440.9,185.1'/%3E%3Cpath d='M409.0,484.4 Q412.2,488.7 412.2,494.0'/%3E%3Cpath d='M128.2,178.0 Q137.7,178.3 147.2,178.5'/%3E%3Cpath d='M511.2,280.4 Q515.0,285.5 517.1,291.6'/%3E%3Cpath d='M3.4,503.9 Q-0.8,509.2 -7.5,510.7'/%3E%3Cpath d='M544.4,503.9 Q540.2,509.2 533.5,510.7'/%3E%3Cpath d='M374.3,398.5 Q371.9,404.5 369.7,410.7'/%3E%3Cpath d='M104.4,64.0 Q101.1,73.2 96.1,81.7'/%3E%3Cpath d='M340.0,5.9 Q348.0,11.5 357.3,14.4'/%3E%3Cpath d='M486.1,465.0 Q477.8,468.4 468.9,468.8'/%3E%3Cpath d='M156.4,12.5 Q156.6,19.9 158.6,27.1'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='613' height='613' viewBox='0 0 613 613'%3E%3Cg fill='none' stroke='%231c1b19' stroke-opacity='0.08' stroke-width='1' stroke-linecap='round'%3E%3Cpath d='M252.7,593.0 Q258.0,598.5 263.6,603.7'/%3E%3Cpath d='M373.1,419.8 Q374.2,425.8 378.8,429.9'/%3E%3Cpath d='M307.5,108.3 Q313.5,114.1 316.4,122.0'/%3E%3Cpath d='M516.9,516.0 Q509.5,520.7 500.9,519.9'/%3E%3Cpath d='M126.8,389.8 Q125.0,399.4 130.2,407.8'/%3E%3Cpath d='M226.9,302.1 Q224.6,309.9 226.2,317.7'/%3E%3Cpath d='M440.6,82.1 Q440.4,88.1 442.9,93.5'/%3E%3Cpath d='M14.0,89.1 Q14.4,95.0 18.8,99.0'/%3E%3Cpath d='M503.5,195.7 Q513.1,197.8 521.9,202.3'/%3E%3Cpath d='M183.7,63.3 Q182.1,73.0 187.7,81.2'/%3E%3Cpath d='M75.8,588.4 Q75.9,594.0 72.5,598.5'/%3E%3Cpath d='M10.3,534.1 Q7.0,540.2 9.2,546.8'/%3E%3Cpath d='M75.1,284.8 Q81.9,288.3 86.4,294.3'/%3E%3Cpath d='M319.3,333.9 Q325.6,341.0 333.8,345.8'/%3E%3Cpath d='M270.6,229.1 Q271.7,238.9 269.4,248.4'/%3E%3Cpath d='M446.6,294.5 Q440.0,298.7 437.3,306.1'/%3E%3Cpath d='M405.6,554.5 Q400.0,562.4 398.6,572.0'/%3E%3Cpath d='M302.1,480.9 Q296.4,487.8 294.5,496.5'/%3E%3Cpath d='M587.6,448.9 Q580.8,454.1 575.9,461.0'/%3E%3Cpath d='M5.3,5.4 Q0.4,9.7 -6.1,8.6'/%3E%3Cpath d='M618.3,5.4 Q613.4,9.7 606.9,8.6'/%3E%3Cpath d='M372.4,14.7 Q374.1,24.1 369.1,32.2'/%3E%3Cpath d='M129.4,492.6 Q130.8,498.1 132.6,503.4'/%3E%3Cpath d='M156.2,237.0 Q147.6,235.7 139.5,238.9'/%3E%3Cpath d='M559.5,320.8 Q557.5,330.7 548.4,335.0'/%3E%3Cpath d='M504.3,8.4 Q498.6,8.3 494.4,12.0'/%3E%3Cpath d='M476.4,391.4 Q472.6,397.7 465.6,399.7'/%3E%3Cpath d='M66.0,187.4 Q59.6,188.9 54.8,193.3'/%3E%3Cpath d='M592.4,181.3 Q595.9,188.5 594.2,196.3'/%3E%3Cpath d='M103.2,121.8 Q108.1,125.8 114.1,127.3'/%3E%3Cpath d='M334.3,212.6 Q342.1,215.6 348.5,220.9'/%3E%3Cpath d='M509.2,80.7 Q519.7,78.0 528.9,83.6'/%3E%3Cpath d='M373.3,498.6 Q368.4,502.1 362.7,503.8'/%3E%3Cpath d='M211.4,384.3 Q210.3,393.3 216.2,400.2'/%3E%3Cpath d='M285.1,416.1 Q291.3,420.1 297.5,424.3'/%3E%3Cpath d='M27.3,369.4 Q33.3,374.1 35.8,381.4'/%3E%3C/g%3E%3C/svg%3E");   /* outils/filigrane.py (oussamatroudi.com) */
  --filigrane-clair: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='293' height='293' viewBox='0 0 293 293'%3E%3Cg fill='none' stroke='%23f4f3ef' stroke-opacity='0.04' stroke-width='1' stroke-linecap='round'%3E%3Cpath d='M222.0,193.7 Q228.5,194.6 233.6,198.8'/%3E%3Cpath d='M24.9,95.8 Q28.0,104.0 33.2,111.0'/%3E%3Cpath d='M129.3,152.4 Q135.3,159.9 144.9,160.9'/%3E%3Cpath d='M198.3,101.1 Q196.7,106.7 195.0,112.3'/%3E%3Cpath d='M138.1,7.2 Q133.7,11.5 130.4,16.6'/%3E%3Cpath d='M9.1,238.5 Q8.9,245.0 4.5,250.0'/%3E%3Cpath d='M91.0,223.5 Q85.6,228.9 79.5,233.6'/%3E%3Cpath d='M258.0,19.9 Q255.6,29.0 259.2,37.7'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='379' height='379' viewBox='0 0 379 379'%3E%3Cg fill='none' stroke='%23f4f3ef' stroke-opacity='0.04' stroke-width='1' stroke-linecap='round'%3E%3Cpath d='M296.5,21.1 Q302.4,20.0 307.4,23.3'/%3E%3Cpath d='M43.1,338.2 Q35.6,344.2 26.1,345.9'/%3E%3Cpath d='M303.5,152.1 Q297.9,154.3 292.2,156.2'/%3E%3Cpath d='M142.7,238.1 Q144.9,246.3 141.2,253.8'/%3E%3Cpath d='M270.1,266.8 Q278.9,271.1 288.6,270.3'/%3E%3Cpath d='M71.1,181.9 Q68.6,190.2 71.1,198.6'/%3E%3Cpath d='M142.5,115.0 Q148.3,117.5 154.7,117.4'/%3E%3Cpath d='M207.4,-10.9 Q206.5,-3.3 200.9,2.0'/%3E%3Cpath d='M207.4,368.1 Q206.5,375.7 200.9,381.0'/%3E%3Cpath d='M127.5,325.9 Q133.6,327.9 140.0,328.4'/%3E%3Cpath d='M6.8,246.1 Q4.7,254.7 9.4,262.2'/%3E%3Cpath d='M48.4,39.7 Q46.2,46.1 49.0,52.3'/%3E%3Cpath d='M238.9,199.5 Q231.2,197.4 224.3,201.2'/%3E%3Cpath d='M333.5,323.6 Q334.5,329.2 335.8,334.7'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='457' height='457' viewBox='0 0 457 457'%3E%3Cg fill='none' stroke='%23f4f3ef' stroke-opacity='0.04' stroke-width='1' stroke-linecap='round'%3E%3Cpath d='M245.9,188.6 Q239.0,194.3 230.3,196.5'/%3E%3Cpath d='M105.4,53.5 Q100.1,58.9 96.5,65.7'/%3E%3Cpath d='M227.6,284.9 Q221.0,285.2 214.8,287.3'/%3E%3Cpath d='M194.7,17.0 Q199.5,21.5 203.2,26.9'/%3E%3Cpath d='M112.8,358.9 Q102.8,358.8 93.3,361.8'/%3E%3Cpath d='M315.1,344.5 Q309.1,345.8 303.2,347.2'/%3E%3Cpath d='M80.4,212.4 Q74.2,212.5 68.1,213.7'/%3E%3Cpath d='M296.1,421.6 Q300.5,426.4 300.4,432.9'/%3E%3Cpath d='M380.1,238.2 Q388.6,236.4 395.8,241.2'/%3E%3Cpath d='M370.6,45.2 Q364.1,44.6 358.2,47.4'/%3E%3Cpath d='M279.1,61.0 Q281.5,71.0 277.8,80.5'/%3E%3Cpath d='M233.6,380.3 Q224.1,379.8 216.7,385.7'/%3E%3Cpath d='M30.3,76.4 Q28.6,82.4 26.1,88.2'/%3E%3Cpath d='M120.3,436.6 Q125.5,438.2 130.9,437.6'/%3E%3Cpath d='M388.6,376.9 Q396.1,374.4 403.0,378.3'/%3E%3Cpath d='M19.6,256.3 Q16.4,264.7 9.0,270.0'/%3E%3Cpath d='M431.6,439.1 Q436.3,440.9 440.9,442.9'/%3E%3Cpath d='M316.0,137.6 Q321.8,137.4 327.3,139.1'/%3E%3Cpath d='M189.7,116.7 Q180.7,116.6 173.7,122.1'/%3E%3Cpath d='M393.7,164.3 Q388.7,166.9 383.8,169.6'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='541' height='541' viewBox='0 0 541 541'%3E%3Cg fill='none' stroke='%23f4f3ef' stroke-opacity='0.04' stroke-width='1' stroke-linecap='round'%3E%3Cpath d='M269.3,188.8 Q268.1,194.7 268.8,200.7'/%3E%3Cpath d='M384.2,240.3 Q390.4,242.8 397.0,243.1'/%3E%3Cpath d='M244.6,7.2 Q245.0,14.1 246.0,20.9'/%3E%3Cpath d='M181.2,250.1 Q181.6,257.3 181.2,264.4'/%3E%3Cpath d='M488.7,380.0 Q489.2,388.2 487.4,396.2'/%3E%3Cpath d='M494.4,12.7 Q486.5,18.3 477.9,23.0'/%3E%3Cpath d='M27.5,120.9 Q34.0,122.5 38.8,127.2'/%3E%3Cpath d='M128.5,476.4 Q134.1,483.6 131.8,492.4'/%3E%3Cpath d='M207.1,138.9 Q209.6,144.8 211.2,150.9'/%3E%3Cpath d='M237.8,411.0 Q246.9,415.0 253.7,422.3'/%3E%3Cpath d='M400.8,71.3 Q408.1,72.8 415.6,72.5'/%3E%3Cpath d='M76.5,394.8 Q75.5,402.3 70.8,408.2'/%3E%3Cpath d='M175.7,342.2 Q183.5,348.1 193.3,347.3'/%3E%3Cpath d='M85.7,275.9 Q80.7,277.3 75.6,276.9'/%3E%3Cpath d='M277.0,272.5 Q273.0,277.3 266.7,277.1'/%3E%3Cpath d='M65.4,-4.5 Q67.5,2.1 72.5,6.9'/%3E%3Cpath d='M65.4,536.5 Q67.5,543.1 72.5,547.9'/%3E%3Cpath d='M331.3,122.4 Q341.6,123.3 347.5,131.8'/%3E%3Cpath d='M455.5,172.5 Q446.8,177.2 440.9,185.1'/%3E%3Cpath d='M409.0,484.4 Q412.2,488.7 412.2,494.0'/%3E%3Cpath d='M128.2,178.0 Q137.7,178.3 147.2,178.5'/%3E%3Cpath d='M511.2,280.4 Q515.0,285.5 517.1,291.6'/%3E%3Cpath d='M3.4,503.9 Q-0.8,509.2 -7.5,510.7'/%3E%3Cpath d='M544.4,503.9 Q540.2,509.2 533.5,510.7'/%3E%3Cpath d='M374.3,398.5 Q371.9,404.5 369.7,410.7'/%3E%3Cpath d='M104.4,64.0 Q101.1,73.2 96.1,81.7'/%3E%3Cpath d='M340.0,5.9 Q348.0,11.5 357.3,14.4'/%3E%3Cpath d='M486.1,465.0 Q477.8,468.4 468.9,468.8'/%3E%3Cpath d='M156.4,12.5 Q156.6,19.9 158.6,27.1'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='613' height='613' viewBox='0 0 613 613'%3E%3Cg fill='none' stroke='%23f4f3ef' stroke-opacity='0.04' stroke-width='1' stroke-linecap='round'%3E%3Cpath d='M252.7,593.0 Q258.0,598.5 263.6,603.7'/%3E%3Cpath d='M373.1,419.8 Q374.2,425.8 378.8,429.9'/%3E%3Cpath d='M307.5,108.3 Q313.5,114.1 316.4,122.0'/%3E%3Cpath d='M516.9,516.0 Q509.5,520.7 500.9,519.9'/%3E%3Cpath d='M126.8,389.8 Q125.0,399.4 130.2,407.8'/%3E%3Cpath d='M226.9,302.1 Q224.6,309.9 226.2,317.7'/%3E%3Cpath d='M440.6,82.1 Q440.4,88.1 442.9,93.5'/%3E%3Cpath d='M14.0,89.1 Q14.4,95.0 18.8,99.0'/%3E%3Cpath d='M503.5,195.7 Q513.1,197.8 521.9,202.3'/%3E%3Cpath d='M183.7,63.3 Q182.1,73.0 187.7,81.2'/%3E%3Cpath d='M75.8,588.4 Q75.9,594.0 72.5,598.5'/%3E%3Cpath d='M10.3,534.1 Q7.0,540.2 9.2,546.8'/%3E%3Cpath d='M75.1,284.8 Q81.9,288.3 86.4,294.3'/%3E%3Cpath d='M319.3,333.9 Q325.6,341.0 333.8,345.8'/%3E%3Cpath d='M270.6,229.1 Q271.7,238.9 269.4,248.4'/%3E%3Cpath d='M446.6,294.5 Q440.0,298.7 437.3,306.1'/%3E%3Cpath d='M405.6,554.5 Q400.0,562.4 398.6,572.0'/%3E%3Cpath d='M302.1,480.9 Q296.4,487.8 294.5,496.5'/%3E%3Cpath d='M587.6,448.9 Q580.8,454.1 575.9,461.0'/%3E%3Cpath d='M5.3,5.4 Q0.4,9.7 -6.1,8.6'/%3E%3Cpath d='M618.3,5.4 Q613.4,9.7 606.9,8.6'/%3E%3Cpath d='M372.4,14.7 Q374.1,24.1 369.1,32.2'/%3E%3Cpath d='M129.4,492.6 Q130.8,498.1 132.6,503.4'/%3E%3Cpath d='M156.2,237.0 Q147.6,235.7 139.5,238.9'/%3E%3Cpath d='M559.5,320.8 Q557.5,330.7 548.4,335.0'/%3E%3Cpath d='M504.3,8.4 Q498.6,8.3 494.4,12.0'/%3E%3Cpath d='M476.4,391.4 Q472.6,397.7 465.6,399.7'/%3E%3Cpath d='M66.0,187.4 Q59.6,188.9 54.8,193.3'/%3E%3Cpath d='M592.4,181.3 Q595.9,188.5 594.2,196.3'/%3E%3Cpath d='M103.2,121.8 Q108.1,125.8 114.1,127.3'/%3E%3Cpath d='M334.3,212.6 Q342.1,215.6 348.5,220.9'/%3E%3Cpath d='M509.2,80.7 Q519.7,78.0 528.9,83.6'/%3E%3Cpath d='M373.3,498.6 Q368.4,502.1 362.7,503.8'/%3E%3Cpath d='M211.4,384.3 Q210.3,393.3 216.2,400.2'/%3E%3Cpath d='M285.1,416.1 Q291.3,420.1 297.5,424.3'/%3E%3Cpath d='M27.3,369.4 Q33.3,374.1 35.8,381.4'/%3E%3C/g%3E%3C/svg%3E");
}
body { background-image: var(--filigrane); background-repeat: repeat; }
body.contact, body.contact-sombre { background-image: var(--filigrane-clair); }
body.art { background-image: none; }
.entete, .visionneuse { background-image: none; }
.etiquette, .etiquette *, .retour, .retour *, .exergue .signature-exergue, .citation-pic .signature-exergue, .lien-video, .note-proto, .signature { font-family: var(--f-detail); }   /* détails : étiquettes, navigation entre pages, signatures */

/* 19 nov. 2026 : métier sous la photo de la Bio (police des détails, gris) ; page Art sur 4 colonnes */
.metier-bio { font-family: var(--f-detail); font-size: var(--t-petit); color: var(--graphite); margin: 0.45rem 0 0.6rem; }
.g4 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem 1.75rem; }
.questions-4 { border-top: 1px solid var(--filet); padding-top: 0.9rem; margin-top: 1.1rem; gap: 2rem 1.75rem; }
.q4 h2 { margin: 0; }
.q4 .sous-titre { margin: 0.15rem 0 0.7rem; }
.q4 figure { margin: 0 0 0.8rem; }
.q4 figure img { width: 100%; height: auto; display: block; }
.q4 .series a, .q4 .series .a-venir { padding-block: 0.2rem; line-height: 1.45; }
@media (min-width: 620px) { .questions-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) {
  .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .intro-4 > :last-child { grid-column: 2 / 5; }
}

/* ==========================================================================
   Accueil : graphique « Notes d'égarement » (20 nov. 2026), remplace la galerie.
   Script : modele/accueil.js ; données : assets/graphe-fr.js / graphe-en.js (build.py).
   Retour arrière : modele/style-avant-graphe-2026-11-20.css.
   ========================================================================== */
body.accueil { background-image: none; }
.accueil main { padding-top: clamp(3rem, 9vh, 7rem); }
.graphe svg { display: block; width: 100%; height: auto; overflow: visible; }
.graphe svg text { font-family: var(--f-detail); }
.g-q text { font-size: 14px; fill: var(--gris); }
.g-q circle { fill: var(--encre); }
.g-axe line { stroke: var(--encre); }
.g-axe .g-an { font-size: 13px; fill: var(--gris); stroke: none; font-variant-numeric: lining-nums; }
.g-corde { fill: none; transition: stroke-opacity .25s, stroke-width .25s; }
.g-clou { fill: var(--encre); transition: fill .2s; }
.g-tete { fill: var(--papier); stroke: var(--encre); stroke-width: 1.2; }
.g-info .g-t { font-family: var(--f-titre); font-size: 24px; font-style: italic; fill: var(--encre); }
.g-info .g-bt { font-family: var(--f-titre); font-size: 19px; fill: var(--encre); }
.g-info .g-s { font-size: 14px; fill: var(--gris); }
.g-zone { fill: transparent; cursor: pointer; }
@keyframes g-tirer { from { stroke-dashoffset: var(--l); } to { stroke-dashoffset: 0; } }
.g-tire { stroke-dasharray: var(--l); animation: g-tirer 1.6s ease-out both; }
@media (prefers-reduced-motion: reduce) { .g-tire { animation: none; stroke-dasharray: none; } }
.graphe-son { display: flex; justify-content: flex-end; margin: 0; }
.graphe-son button { color: var(--gris); background: none; border: 0; padding: 11px; margin-right: -11px; cursor: pointer; line-height: 0; }
.graphe-son button:hover { color: var(--bleu); }
#graphe-son[aria-pressed="true"] .barre { display: none; }
.g-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ==========================================================================
   Carnets, Infolettre, Presse (20 nov. 2026)
   ========================================================================== */
.carnets-liste { display: grid; gap: 1.75rem; }
.carnet-ligne { display: grid; grid-template-columns: 10rem minmax(0, 1fr) 8rem; gap: 0.5rem 1.5rem; align-items: start;
  padding-bottom: 1.75rem; border-bottom: 1px solid var(--filet); }
.carnet-ligne .an { margin: 0.2rem 0 0; }
.carnet-ligne h2 { margin: 0 0 0.4rem; }
.carnet-ligne h2 a { color: var(--encre); text-decoration: none; }
.carnet-ligne h2 a:hover { color: var(--bleu); }
.carnet-ligne p { margin: 0; }
.carnet-vignette img { display: block; width: 100%; height: auto; }
.carnets-abo { margin-top: 0.75rem; }
@media (max-width: 700px) { .carnet-ligne { grid-template-columns: minmax(0, 1fr); } .carnet-vignette { max-width: 12rem; } }
.presse main .g3 + .g3 { margin-top: 2.75rem; }
.presse-liens { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.presse-bio p { margin: 0; max-width: var(--texte); }
.presse-images figcaption a { white-space: nowrap; }

/* ==========================================================================
   Version arabe (20 nov. 2026) : html[lang="ar"][dir="rtl"]. Détails en Tajawal (Encode Sans n'a pas l'arabe),
   pas d'italique penché sur l'arabe, interligne plus ample.
   ========================================================================== */
html[lang="ar"] { --f-detail: var(--sans); }
html[lang="ar"] body { line-height: 1.85; }
html[lang="ar"] :is(i, em, .g-t, .g-bt) { font-style: normal; }
html[lang="ar"] .q4-texte p { margin: 0 0 0.6rem; }
html[lang="ar"] .nav .langue[lang="ar"], .nav .langue[lang="ar"] { font-family: var(--sans); }
html[dir="rtl"] .series a .t::after { content: "\00a0←"; }
html[dir="rtl"] .an { direction: ltr; unicode-bidi: isolate; }                 /* « 2008 – 2015 » dans le bon ordre */
.presse-images figcaption a { display: block; white-space: normal; }           /* lien de téléchargement sous la légende */

/* ==========================================================================
   Menu des langues (20 nov. 2026) : un bouton globe, la liste se déroule au survol, au clavier et au toucher.
   ========================================================================== */
.langues { position: relative; display: inline-flex; align-items: center; }
.langues-bouton { all: unset; cursor: pointer; color: var(--gris); line-height: 0; padding: 0.25rem; }
.langues-bouton:hover, .langues:focus-within .langues-bouton { color: var(--bleu); }
.langues-bouton:focus-visible { outline: 2px solid var(--bleu); outline-offset: 2px; }
.langues-liste { display: none; position: absolute; top: 100%; inset-inline-end: -0.75rem; z-index: 30; margin: 0; padding: 0.5rem 0;
  list-style: none; background: #fff; border: 1px solid var(--filet); min-width: 8.5rem; box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.langues:hover .langues-liste, .langues:focus-within .langues-liste, .langues.ouvert .langues-liste { display: block; }
.langues-liste li { margin: 0; }
.nav .langues-liste a, .langues-liste .langue-active { display: block; padding: 0.35rem 1rem; font-family: var(--f-detail); font-size: 14px;
  color: var(--encre); text-decoration: none; white-space: nowrap; }
.nav .langues-liste a:hover { color: var(--bleu); }
.langues-liste .langue-active { color: var(--bleu); }
.langues-liste [lang="ar"] { font-family: var(--sans); }
.langues::after { content: ""; position: absolute; top: 100%; left: -0.5rem; right: -0.5rem; height: 0.6rem; }  /* pont pour le survol */

/* Page Art, version française (22 nov. 2026) : « Tranches (2022) → », alignés à gauche, sans filets */
.series-fr { border-top: 0; }
.series-fr li { border-bottom: 0; }
.series-fr a, .series-fr .a-venir { display: block; }
.series-fr a .t::after { content: none; }
.series-fr a .an::after { content: "\00a0→"; color: inherit; }
.series-fr a:hover .t, .series-fr a:hover .an { color: var(--bleu); }

/* Pages de séries, version française (22 nov. 2026) : 4 colonnes comme la page Art.
   Colonne 1 : titre et sous-titre ; colonnes 2 à 4 : œuvres, une par colonne, sur toute sa largeur. Légendes plus petites. */
.serie-4 .planche .legende, .serie-4 .legende-groupe { font-size: 0.8125rem; }
@media (min-width: 980px) {
  .or.serie-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 1.75rem; }
  .serie-4 .or-gauche { padding-right: 0; }
  .serie-4 .or-droite { grid-column: 2 / 5; padding-left: 0; border-left: 0; }
  .serie-4 .planche { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 1.75rem; max-width: none; }
  .serie-4 .planche.seule { grid-template-columns: minmax(0, 1fr); max-width: calc((100% - 3.5rem) / 3); }
  .serie-4 .fiche .planche.seule { max-width: 7rem; }
}

/* Pied de page, version française (22 nov. 2026) : droits à gauche, les 4 réseaux au centre, les autres liens à droite */
@media (min-width: 860px) {
  .pied .cadre.pied-3 { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: baseline; }
  .pied-3 .pied-reseaux { justify-content: center; }
  .pied-3 .pied-liens { justify-content: flex-end; }
}

/* En-tête des pages de séries, version française (22 nov. 2026) : Art / question / sous-titre / TITRE / années */
.tete-4 { gap: 0.1rem; }
.tete-4 .fil { margin-bottom: 0.6rem; }
.tete-4 .t4-question { margin: 0; color: var(--encre); font-family: var(--f-detail); }
.tete-4 .etiquette { color: var(--graphite); font-size: var(--t-petit); margin-bottom: 0.9rem; }
.tete-4 h1 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: 1.15; }
.tete-4 .an { margin-top: 0.15rem; }


/* Visionneuse, version française (22 nov. 2026) : un clic sur l'image la ferme */
.visionneuse .scene:not(.zoom) img { cursor: zoom-out; }
/* Œuvre étalée sur 2 ou 3 colonnes (« colonnes » dans serie.json, 22 nov. 2026) */
@media (min-width: 980px) {
  .serie-4 .planche.seule.large-2 { max-width: calc((100% - 3.5rem) / 3 * 2 + 1.75rem); }
  .serie-4 .planche.seule.large-3 { max-width: none; }
}
/* Image avec un texte ou un lien dans la colonne voisine (« a_cote » dans serie.json, 22 nov. 2026) */
.planche-cote .a-cote { margin: 0.75rem 0 0; }
@media (min-width: 980px) {
  .serie-4 .planche-cote { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1.75rem; align-items: start; }
  .serie-4 .planche-cote .planche.seule { max-width: none; }
  .serie-4 .planche-cote .a-cote { margin: 0; }
}


/* Report en arabe (22 nov. 2026) : liste des séries « عنوان (2022) ← » ; années de la ligne du temps lues de gauche à droite */
html[dir="rtl"] .series-fr a .t::after { content: none; }
html[dir="rtl"] .series-fr a .an::after { content: none; }
html[dir="rtl"] .series-fr a .an::before { content: "←\00a0"; }   /* les années sont en LTR : la flèche passe avant, donc à gauche */
html[dir="rtl"] .g-an { direction: ltr; unicode-bidi: bidi-override; }

/* Page Archives (23 nov. 2026) : un projet par case, logo, nom, sous-titre */
.arch-note { font-family: var(--f-detail); font-size: 0.875rem; color: var(--gris, #4d4c46); margin: 0 0 1rem; }
.arch-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 2rem; }
.arch-liste a { display: grid; gap: 0.35rem; color: inherit; text-decoration: none; }
.arch-logo { display: flex; align-items: center; height: 7rem; margin-bottom: 0.5rem; }
.arch-logo img { max-height: 7rem; max-width: 10rem; object-fit: contain; mix-blend-mode: multiply; }
.arch-t { font-family: var(--f-titre); font-size: 1.1875rem; line-height: 1.25; }
.arch-s { font-family: var(--f-detail); font-size: 0.875rem; color: var(--gris, #4d4c46); }
.arch-liste a:hover .arch-t { color: var(--bleu, #3f63a8); }
@media (max-width: 860px) { .arch-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .arch-liste { grid-template-columns: minmax(0, 1fr); } }

/* Titres en arabe : léger italique inversé, penché vers la gauche (24 nov. 2026, choix d'Oussama) ; build.py `italique_arabe` */
i.ar, html[lang="ar"] i.ar { font-style: normal; display: inline-block; transform: skewX(9deg); }

/* Accueil : apparition en quatre phases (24 nov. 2026, toutes les langues, vitesse divisée par deux) ; modele/accueil.js `ANIM` */
@keyframes g-apparaitre { from { opacity: 0; } to { opacity: 1; } }
.g-app { animation: g-apparaitre 1.2s ease-out both; }
@keyframes g-tracer { from { stroke-dashoffset: var(--l); } to { stroke-dashoffset: 0; } }
.g-trace { stroke-dasharray: var(--l); animation: g-tracer 2s linear both; }
@keyframes g-pousser { from { stroke-dashoffset: var(--ln); } to { stroke-dashoffset: 0; } }
.g-pousse { stroke-dasharray: var(--l); animation: g-pousser .7s ease-out both; }
@media (prefers-reduced-motion: reduce) { .g-app, .g-trace, .g-pousse { animation: none; stroke-dasharray: none; } }

/* Page Art (24 nov. 2026, demande d'Oussama) : sans filets horizontaux, avec filigrane (pages de séries inchangées) ;
   images des questions toutes carrées (même hauteur) */
body.art:not(.serie) { background-image: var(--filigrane); }
body.art:not(.serie) .tete-page, body.art:not(.serie) .questions-4 { border: 0; }
.q4 figure img { aspect-ratio: 1 / 1; object-fit: cover; }

/* Haut et pied de page (24 nov. 2026, demande d'Oussama) : pied blanc comme le menu, plus de filets ;
   une ombre légère sous le menu et au-dessus du pied : la page semble reculer un peu. */
.entete, .contact .entete, .bio .entete { border-bottom: 0; box-shadow: 0 1px 2px rgba(28, 27, 25, .05), 0 6px 18px -6px rgba(28, 27, 25, .16); }
.pied { border-top: 0; position: relative; background: #ffffff; background-image: none;
  --encre: #1c1b19; --corps: #1c1b19; --gris: #4d4c46; --graphite: #4d4c46; --bleu: #3f63a8; --filet: #d6d5cf;
  color: var(--graphite); box-shadow: 0 -1px 2px rgba(28, 27, 25, .05), 0 -6px 18px -6px rgba(28, 27, 25, .16); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pied { --encre: #f0efea; --corps: #f0efea; --gris: #a8a7a0; --graphite: #a8a7a0; --bleu: #a9bce8; --filet: #2f2f2c; background: #131312; }
}
:root[data-theme="dark"] .pied { --encre: #f0efea; --corps: #f0efea; --gris: #a8a7a0; --graphite: #a8a7a0; --bleu: #a9bce8; --filet: #2f2f2c; background: #131312; }
/* pied toujours en bas de l'écran, même sur une page courte (24 nov. 2026) */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; width: 100%; }   /* largeur pleine : en colonne flexible, les marges auto ne doivent pas rétrécir la page */

/* Cadre blanc des œuvres (24 nov. 2026, règle d'Oussama) : même largeur partout, dessiné ici et non dans les fichiers.
   Œuvres marquées "cadre": true dans serie.json (classe figure.encadre ; « .cadre » est déjà le conteneur de page) ; jamais les photos d'ambiance.
   Visionneuse : modele/site.js `cadrer` réduit l'image à sa taille affichée pour que le cadre l'entoure. */
:root { --cadre: 3px; }
figure.encadre img, .visionneuse .scene.encadre:not(.zoom) img.pret { padding: var(--cadre); background: #ffffff; }
/* Polyptyque photographié d'un seul tenant (Escargots, Unhearable) : lignes blanches de la largeur du cadre entre les pièces,
   sans les écarter ("separations" dans serie.json, fractions de la largeur de l'image). */
figure.encadre button { position: relative; }
figure.encadre .sep { position: absolute; top: 0; bottom: 0; width: var(--cadre); background: #ffffff; pointer-events: none;
  left: calc(var(--cadre) + (100% - 2 * var(--cadre)) * var(--x) - var(--cadre) / 2); }
.visionneuse .sep-vis { position: absolute; background: #ffffff; pointer-events: none; }

/* Pages de séries (24 nov. 2026) : séries précédente et suivante dans la 1re colonne, sous le titre et les années */
.tete-4 .voisines { display: flex; flex-direction: column; align-items: flex-start; gap: 0.3rem; margin-top: 1.4rem;
  font-family: var(--f-detail); font-size: 0.875rem; }
.tete-4 .voisines a { color: var(--gris, #4d4c46); text-decoration: none; }
.tete-4 .voisines a:hover { color: var(--bleu); }
.tete-4 .voisines span:empty { display: none; }

/* Page Expositions (24 nov. 2026) : lien à côté d'un titre de partie (« site web » du collectif Studies) */
.groupe-titre .titre-lien { font-family: var(--f-detail); font-size: 0.875rem; color: var(--gris, #4d4c46); margin-inline-start: 0.6rem; text-decoration: none; }
.groupe-titre .titre-lien:hover { color: var(--bleu); }

/* Page Expositions (25 nov. 2026, essai en français) : composition des pages de séries (4 colonnes) ;
   colonne 1 : titre de page et liens vers les trois parties (défilement doux, arrêt sous le menu fixe) ; colonnes 2 à 4 : les fiches. */
.expo-4 .tete-4 h1 { font-size: var(--t-h1); }
.expo-4 .expo-parties { display: flex; flex-direction: column; align-items: flex-start; gap: 0.3rem; margin-top: 1.4rem;
  font-family: var(--f-detail); font-size: var(--t-petit); }
.expo-4 .expo-parties a { color: var(--gris, #4d4c46); text-decoration: none; }
.expo-4 .expo-parties a:hover { color: var(--bleu); }
.expo-4 .groupe-titre { scroll-margin-top: 0; }   /* le menu fixe est déjà compté par scroll-padding-top */
.expo-4 .expo-liste .fiche .planche.seule { max-width: 8rem; }
@media (max-width: 460px) { .expo-4 .expo-liste .fiche .planche.seule { max-width: 5rem; } }
@media (prefers-reduced-motion: no-preference) { html:has(body.expositions) { scroll-behavior: smooth; } }

/* Page Archives (26 nov. 2026) : composition de la page Expositions ; colonne 1 : titre, note de langue, liens vers les projets ;
   colonnes 2 à 4 : les projets, un par colonne. */
.arch-4 .arch-note { margin: 0.6rem 0 0; }
@media (min-width: 980px) { .arch-4 .arch-liste { column-gap: 1.75rem; } }

/* Page Archives (27 nov. 2026) : colonnes 2 à 4 fusionnées ; un projet par ligne, logo à gauche, nom et sous-titre à droite
   (comme les fiches des expositions) ; ordre par date de fin, la plus récente d'abord (build.py). */
.arch-4 .arch-liste { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.arch-4 .arch-liste a { grid-template-columns: 10rem minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 2.25rem; row-gap: 0.25rem; align-items: start; }
.arch-4 .arch-logo { grid-row: 1 / 3; height: 7rem; margin: 0; justify-content: center; }
.arch-4 .arch-t { align-self: end; }
@media (max-width: 460px) { .arch-4 .arch-liste a { grid-template-columns: 6rem minmax(0, 1fr); column-gap: 0.9rem; }
  .arch-4 .arch-logo { height: 5rem; } .arch-4 .arch-logo img { max-height: 5rem; max-width: 6rem; } }

/* Pages d'archive (27 nov. 2026, demande d'Oussama) : grille de 4 colonnes comme les pages de séries, Expositions et Archives.
   Colonne 1 : titre et sous-titre de chaque partie ; colonnes 2 à 4 fusionnées pour le contenu ; listes longues (artistes,
   auteurs) réparties sur les 3 colonnes de droite, alignées sur la grille. */
@media (min-width: 980px) {
  body.archive .g3 { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 1.75rem; }
  body.archive .g3 > :last-child:nth-child(2) { grid-column: 2 / 5; }
  body.archive .g3 .artistes, body.archive .g3 .auteurs { columns: 3; column-gap: 1.75rem; }
  body.archive .g3 .artistes li, body.archive .g3 .auteurs li { break-inside: avoid; }
  body.archive .g3 .artistes li:first-child { border-top: 0; }
}
@media (max-width: 460px) { .numero header { flex-wrap: wrap; } .numero header a.ext { white-space: normal; } }   /* 27 nov. 2026 : lien long sous le titre sur téléphone (débordement GOAT Studio) */
/* 27 nov. 2026 : parties d'archive hors grille (Affiches) et bande d'exergue posées sur la même grille de 4 colonnes */
@media (min-width: 980px) {
  body.archive .archive-partie:not(.g3) { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 1.75rem; align-items: start; }
  body.archive .archive-partie:not(.g3) > h2 { grid-column: 1; }
  body.archive .archive-partie:not(.g3) > :not(h2) { grid-column: 2 / 5; margin-top: 0; }
  body.archive .affiches { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem 1.75rem; }
  body.archive .exergue-bande { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 1.75rem;
    margin-inline: -2rem; padding-inline: 2rem; }
  body.archive .exergue-bande h2 { grid-column: 1; text-align: start; margin: 0.35rem 0 0; }
  body.archive .exergue-bande .exergue { grid-column: 2 / 5; margin-inline: 0; }
}
@media (max-width: 460px) { .liens-membre a.ext { white-space: normal; } }   /* 27 nov. 2026 : « Archive Emprise et recueillements ↗ » (GOAT Studio) passe à la ligne sur téléphone */

/* Lien « Dossier » du pied de page (28 nov. 2026) : liste des PDF par langue, ouverte vers le haut */
.pied-dossier details { position: relative; }
.pied-dossier summary { list-style: none; cursor: pointer; color: var(--graphite); }
.pied-dossier summary::-webkit-details-marker { display: none; }
.pied-dossier summary:hover, .pied-dossier details[open] summary { color: var(--bleu); }
.pied .dossier-liste { position: absolute; bottom: calc(100% + 0.5rem); inset-inline-end: 0; z-index: 5; display: flex; flex-direction: column;
  gap: 0.35rem; padding: 0.6rem 0.9rem; background: #ffffff; box-shadow: 0 6px 18px -6px rgba(28, 27, 25, .25); white-space: nowrap; }
.dossier-liste .pdf { color: var(--gris); font-size: 0.85em; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pied .dossier-liste { background: #131312; } }
:root[data-theme="dark"] .pied .dossier-liste { background: #131312; }
