/* Généré par : Claude, à la demande de Yøda · Date : 06-11-2026
   Build : 0.1.0+b0021
   Lié à : CLAUDE.md § 7 (corps 17 px au moins, surface utile) · vue « Voir comme : Public » de l'Atelier web (charte
           « Fondation » : papier ivoire, vert patine, Frutiger/Source Sans 3 pour l'interface, Newsreader pour les titres
           d'œuvres et les textes curatoriaux ; cadre, barre .topbar, Biographie v149/v150, Catalogue v208/v211/v297,
           Expositions v190–v221) · Livre blanc technique 1.4, § 8.2 (WCAG 2.2)
   Sources : WCAG 2.2, cibles 2.5.8 et focus 2.4.7 https://www.w3.org/TR/WCAG22/ · CSS mask-image https://developer.mozilla.org/docs/Web/CSS/mask-image
             · CSS overflow: clip https://drafts.csswg.org/css-overflow-3/#valdef-overflow-clip · prefers-reduced-motion
             https://drafts.csswg.org/mediaqueries-5/#prefers-reduced-motion
   Contexte : mise en page du site public. Les règles reprennent celles de l'Atelier web (mêmes jetons, mêmes composants,
              mêmes espacements) ; les tailles de texte sont celles de l'Atelier multipliées par 17/15, pour garder le corps
              de base à 17 px (CLAUDE.md § 7) avec les mêmes proportions ; aucune étiquette sous 13 px. Les couleurs de
              l'instance viennent de identite.css (--c-* clair, --s-* sombre) ; valeurs de repli neutres.
   Révision : 06-11-2026 · 0.1.0+b0014 — fiche : visionneuse LIIIDO dans la colonne de gauche (demande de Yøda).
   Révision : 06-11-2026 · 0.1.0+b0016 — refonte identique à la vue Public de l'Atelier (demande de Yøda) : cadre et barre,
              ligne du temps de la Biographie, grille paginée du Catalogue (cartes remplissant l'écran), Expositions (ligne du
              temps des périodes, « À la une », texte curatorial replié, vignettes d'œuvres et photos, visionneuse de photos),
              glissement entre fiches au doigt.
   Révision : 06-11-2026 · 0.1.0+b0017 — onglet « Fondation » : présentation, cartes de contact (.card de l'Atelier), liste des
              documents avec puces de langue (.filters de l'Atelier), sommaire (details.wp-panel, #wp-toc-list).
   Révision : 07-11-2026 · 0.1.0+b0020 — Biographie : sections Audio et Vidéos (cartes .card de l'Atelier, lecteurs natifs).
   Révision : 07-11-2026 · 0.1.0+b0021 — fiche : palette de couleurs et œuvres aux couleurs proches. */

:root {
  --papier: var(--c-papier, #FAF8F3); --carte: var(--c-carte, #FFFFFF); --encre: var(--c-encre, #22221F);
  --discret: var(--c-discret, #6E6B63); --filet: var(--c-filet, #E4E0D6); --accent: var(--c-accent, #3E5C4E);
  --sur-accent: #FFFFFF; --teinte: var(--c-teinte, #F2EFE7); --danger: var(--c-danger, #9E2F22);
  /* « À la une » : or de l'Atelier web (var(--accent, #b8860b) dans .ex-une), couleur d'interface générique. */
  --une: var(--c-une, #B8860B);
  --police-interface: "Frutiger", "Frutiger Next", "Neue Frutiger World", "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --police-lecture: "Newsreader", Georgia, "Times New Roman", serif;
  --r: 6px; --hb: 46px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --papier: var(--s-papier, #161714); --carte: var(--s-carte, #1F201C); --encre: var(--s-encre, #EAE7DF);
    --discret: var(--s-discret, #A19D93); --filet: var(--s-filet, #33342F); --accent: var(--s-accent, #8DB5A0);
    --sur-accent: #161714; --teinte: var(--s-teinte, #262722); --danger: var(--s-danger, #E3907C); --une: var(--s-une, #D9AE5A);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --papier: var(--s-papier, #161714); --carte: var(--s-carte, #1F201C); --encre: var(--s-encre, #EAE7DF);
  --discret: var(--s-discret, #A19D93); --filet: var(--s-filet, #33342F); --accent: var(--s-accent, #8DB5A0);
  --sur-accent: #161714; --teinte: var(--s-teinte, #262722); --danger: var(--s-danger, #E3907C); --une: var(--s-une, #D9AE5A);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
/* Corps de base 17 px (CLAUDE.md § 7) ; l'Atelier web est à 15 px : toutes ses tailles sont ici × 17/15. */
body { min-height: 100dvh; background: var(--papier); color: var(--encre); font: 17px/1.5 var(--police-interface);
  padding: 16px 16px 0; overflow-x: hidden; }
a { color: var(--accent); text-underline-offset: 2px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.005em; text-wrap: balance; margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; left: 8px; top: -60px; z-index: 90; padding: 10px 14px; background: var(--accent); color: var(--sur-accent); border-radius: var(--r); }
.evitement:focus { top: 8px; }
.notice { color: var(--discret); border-left: 2px solid var(--filet); padding: 2px 0 2px 14px; margin: 0; }
.auto { font-style: italic; }
input[type=search] { font: inherit; font-size: 17px; padding: 9px 12px; border-radius: var(--r); border: 1px solid var(--filet);
  background: var(--carte); color: var(--encre); width: 100%; min-height: 44px; }
input[type=search]:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
input[type=search]::placeholder { color: var(--discret); }

/* ---- Cadre et barre (Atelier web .frame, .topbar, .tabbar) */
.cadre { border: 1px solid var(--filet); border-radius: var(--r); background: var(--papier); overflow: clip; min-height: calc(100dvh - 32px); display: flex; flex-direction: column; }
.barre { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 14px; padding: 0 12px 0 20px;
  border-bottom: 1px solid var(--filet); background: var(--papier); }
.marque { display: flex; align-items: center; gap: 10px; flex: none; color: var(--encre); text-decoration: none; padding: 6px 4px 6px 0; border-radius: var(--r); min-height: 44px; }
.logo { display: inline-block; width: 30px; aspect-ratio: 1239 / 1129; background: var(--accent);
  -webkit-mask: url("logo.svg") center / contain no-repeat; mask: url("logo.svg") center / contain no-repeat; }
.marque-t { font-weight: 600; white-space: nowrap; letter-spacing: -.005em; }
.onglets { flex: 1 1 auto; min-width: 0; display: flex; gap: 0 26px; overflow-x: auto; scrollbar-width: none; margin-left: 12px; }
.onglets::-webkit-scrollbar { display: none; }
.onglets a { flex: 0 0 auto; white-space: nowrap; color: var(--discret); text-decoration: none; padding: 11px 0 10px; margin-bottom: -1px;
  font-size: 17px; border-bottom: 2px solid transparent; min-height: 44px; display: inline-flex; align-items: center; }
.onglets a:hover { color: var(--encre); }
.onglets a[aria-current="page"] { color: var(--encre); font-weight: 600; border-bottom-color: var(--accent); }
.reglages { flex: none; display: flex; align-items: center; gap: 8px; margin-left: auto; }
.langues { display: flex; align-items: center; }
.langues button { background: none; border: 0; padding: 4px 5px; min-width: 34px; min-height: 40px; color: var(--discret); letter-spacing: .1em; cursor: pointer; font-size: 15px; }
.langues button:hover { color: var(--encre); }
.langues button[aria-pressed="true"] { color: var(--encre); font-weight: 600; }
.theme { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0;
  background: transparent; color: var(--discret); border: 1px solid transparent; border-radius: var(--r); cursor: pointer; }
.theme:hover { color: var(--encre); border-color: var(--filet); }
.theme .lune { display: none; }
:root[data-theme="dark"] .theme .soleil { display: none; }
:root[data-theme="dark"] .theme .lune { display: inline; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme .soleil { display: none; } :root:not([data-theme="light"]) .theme .lune { display: inline; } }
/* « Se connecter » : bouton secondaire de l'Atelier web (.btn-ghost), vers l'Atelier (lien lu dans les données). */
.connexion { display: inline-flex; align-items: center; min-height: 36px; padding: 5px 14px; border: 1px solid var(--encre); border-radius: var(--r);
  color: var(--encre); text-decoration: none; font-size: 15px; white-space: nowrap; }
.connexion:hover { background: var(--teinte); }
@media (max-width: 760px) {
  .barre { flex-wrap: wrap; gap: 0 10px; padding: 0 8px 0 14px; }
  .onglets { order: 3; flex: 1 0 100%; margin: 0; gap: 0 22px; }
  .reglages { gap: 4px; }
}
@media (max-width: 430px) { .marque-t { display: none; } .connexion { padding: 5px 10px; } .onglets { gap: 0 14px; } .onglets a { font-size: 16px; } }

.panneau { flex: 1; padding: 20px; min-width: 0; }
.panneau:focus { outline: none; }
@media (max-width: 560px) { .panneau { padding: 20px 14px; } }
.pied { padding: 14px 4px 22px; color: var(--discret); font-size: 15px; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.pied a { color: inherit; }

/* ---- Biographie (Atelier web .bio-*, .tl-*, v149–v159) */
.bio-root { max-width: 1120px; margin: 0 auto; }
.bio-head { margin: 4px 0 22px; }
.bio-head > p, .bio-head > h1 { max-width: 72ch; }
.bio-kick { margin: 0 0 6px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.bio-head h1 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); line-height: 1.15; color: var(--encre); }
.bio-stamp { margin: 6px 0 0; font-size: 14.5px; color: var(--discret); font-variant-numeric: tabular-nums; }
.bio-intro { margin: 14px 0 0; font-size: 16.7px; line-height: 1.6; color: var(--discret); }
.bio-head.portrait { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 400px); grid-template-rows: auto auto auto 1fr; column-gap: 40px; align-items: start; }
.bio-head.portrait > * { grid-column: 1; }
.bio-head.portrait > .bio-portrait { grid-column: 2; grid-row: 1 / span 4; align-self: center; }
.bio-portrait { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.bio-portrait img { display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 18px rgba(0,0,0,.22)) drop-shadow(0 2px 3px rgba(0,0,0,.18)); }
.bio-portrait figcaption { font-size: 13px; line-height: 1.4; color: var(--discret); text-align: center; display: flex; flex-direction: column; gap: 1px; }
@media (max-width: 860px) { .bio-head.portrait { display: block; } .bio-portrait { max-width: 460px; margin: 18px auto 0; } }
.bio-nav { position: sticky; top: var(--hb); z-index: 5; background: var(--papier); margin: 0 -20px 26px; padding: 10px 20px 4px;
  border-bottom: 1px solid var(--filet); font-size: 15.2px; }
.bio-navt { margin: 0 0 6px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--discret); }
.bio-nav .tl { position: relative; list-style: none; margin: 0; padding: 2px 0 10px; display: flex; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.bio-nav .tl::-webkit-scrollbar { display: none; }
/* Ligne du temps limitée à .bio-nav : dans l'Atelier web, la règle .tl::before atteint aussi le titre des cartes du Catalogue (.k-card .tl) et y trace un trait ; ici, non. */
.bio-nav .tl::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; border-radius: 2px; background: var(--tl-gradx, var(--filet)); opacity: .85; }
.tl-it { flex: 1 1 0; min-width: 150px; scroll-snap-align: center; }
.tl-it button { display: grid; grid-template-columns: 1fr; gap: 8px; width: 100%; padding: 0 16px 0 0; background: none; border: 0; text-align: left; cursor: pointer; color: var(--encre); border-radius: 8px; min-height: 44px; }
.tl-dot { position: relative; z-index: 1; width: 14px; height: 14px; margin: 2px; border-radius: 50%; background: var(--papier); border: 2.5px solid var(--c);
  transition: transform .3s ease, background .3s ease, box-shadow .3s ease; }
.tl-it.on .tl-dot, .tl-it button:hover .tl-dot { background: var(--c); transform: scale(1.25); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 20%, transparent); }
.tl-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tl-yr { font-size: 13.8px; font-weight: 600; letter-spacing: .04em; color: var(--c); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tl-ti { font-size: 15.6px; line-height: 1.3; color: var(--discret); transition: color .25s; }
.tl-it.on .tl-ti { color: var(--encre); font-weight: 500; }
.tl-it button:hover .tl-ti { color: var(--c); }
.bio-body { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 30px; min-width: 0; }
.bio-ch { scroll-margin-top: calc(var(--hb) + 150px); }
.bio-ch h2 { margin: 0 0 10px; display: flex; flex-direction: column; gap: 2px; font-size: 23.6px; font-weight: 500; line-height: 1.5; color: var(--encre);
  padding-bottom: 8px; border-bottom: 1px solid color-mix(in srgb, var(--c, var(--filet)) 35%, transparent); }
.bio-per { font-size: 13.4px; letter-spacing: .06em; text-transform: uppercase; font-variant-numeric: tabular-nums; color: var(--c, var(--discret));
  font-weight: 600; display: flex; align-items: center; gap: 8px; line-height: 1.5; }
.bio-per::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--discret)); flex: none; }
.bio-ch p { margin: 0 0 12px; max-width: 70ch; line-height: 1.7; font-size: 17.8px; color: var(--encre); }
.bio-ref { font-size: .68em; line-height: 0; margin-left: 2px; color: var(--discret); vertical-align: super; }
.bio-ref button { border: 0; background: none; padding: 0 1px; color: var(--accent); cursor: pointer; font-variant-numeric: tabular-nums; }
.bio-ref button:hover { text-decoration: underline; }
.bio-src h2 { margin: 0 0 8px; font-size: 18px; }
.bio-src ol { margin: 0; padding-left: 26px; display: flex; flex-direction: column; gap: 5px; font-size: 15.2px; line-height: 1.45; }
.bio-src li { scroll-margin-top: calc(var(--hb) + 160px); border-radius: 4px; transition: background .4s; }
.bio-src li.vu { background: var(--teinte); }
.bio-src a { color: var(--encre); }
.bio-src .ty { color: var(--discret); font-size: .92em; }
@media (max-width: 560px) { .bio-nav { margin: 0 -14px 22px; padding: 10px 14px 4px; } .tl-it { min-width: 140px; } }

/* ---- Biographie : audio et vidéos (b0020) — cartes de l'Atelier (.card), titres de section comme .ex-year */
.bio-av { margin-left: 10px; border: 1px solid color-mix(in srgb, var(--accent) 60%, var(--filet)); background: color-mix(in srgb, var(--accent) 7%, transparent);
  color: var(--encre); border-radius: 999px; padding: 3px 12px; font-size: 14.5px; cursor: pointer; min-height: 32px; }
.bio-av:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.bio-medias { scroll-margin-top: calc(var(--hb) + 185px); display: flex; flex-direction: column; gap: 12px; }
.bm-t { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--discret); font-weight: 600; margin: 8px 0 0; display: flex; align-items: center; gap: 10px; scroll-margin-top: calc(var(--hb) + 185px); }
.bm-t::after { content: ""; flex: 1; height: 1px; background: var(--filet); order: 3; }
.bm-n { font-weight: 400; letter-spacing: .04em; text-transform: none; font-size: 14px; }
.bm-grille { display: grid; gap: 12px; }
.bm-g-audio { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.bm-g-video { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.bm-carte { background: var(--carte); border: 1px solid var(--filet); border-radius: var(--r); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bm-carte h3 { font-size: 17px; font-weight: 600; line-height: 1.3; }
.bm-carte p { margin: 0; }
.bm-meta { color: var(--discret); font-size: 15px; font-variant-numeric: tabular-nums; }
.bm-desc { font-size: 15.6px; }
.bm-det { color: var(--discret); font-size: 13px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.bm-det code { font-size: 13px; }
.bm-carte audio { width: 100%; min-height: 44px; margin-top: 4px; }
.bm-video video { width: 100%; max-height: 70vh; background: #000; border-radius: 4px; display: block; margin-bottom: 4px; aspect-ratio: 16 / 9; object-fit: contain; }
@media (max-width: 560px) { .bm-g-audio, .bm-g-video { grid-template-columns: minmax(0, 1fr); } }

/* ---- Catalogue (Atelier web #tab-cat : .gbar2, .gmeta, .seg-n, .pager, .k-grid, .k-card) */
.cat { display: flex; flex-direction: column; gap: 16px; }
.gbar { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.gbar input[type=search] { flex: 1 1 180px; min-width: 0; }
.filtre-serie { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 12px; border: 1px solid var(--filet); border-radius: 999px; background: var(--carte); font-size: 15px; }
.filtre-serie button { border: 0; background: none; cursor: pointer; color: var(--discret); min-width: 32px; min-height: 32px; border-radius: 50%; font-size: 18px; }
.filtre-serie button:hover { color: var(--encre); background: var(--teinte); }
.gmeta { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; font-size: 15.4px; color: var(--discret); }
.gmeta > :first-child { justify-self: start; }
.pg-of { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .gmeta { grid-template-columns: 1fr 1fr; } .gmeta .pager { grid-column: 1 / -1; grid-row: 2; } }
.seg { display: inline-flex; border: 1px solid var(--filet); border-radius: var(--r); overflow: hidden; }
.seg a { padding: 6px 14px; font-size: 15.6px; text-decoration: none; color: var(--discret); white-space: nowrap; font-variant-numeric: tabular-nums; min-height: 36px; display: inline-flex; align-items: center; }
.seg a.on { background: var(--encre); color: var(--carte); }
.seg a:not(.on):hover { color: var(--encre); background: var(--teinte); }
.pager { display: flex; gap: 4px; align-items: center; justify-content: center; flex-wrap: wrap; }
.pager button { font-size: 15.6px; min-width: 34px; height: 34px; padding: 0 6px; border: 1px solid transparent; border-radius: var(--r); background: none;
  color: var(--encre); cursor: pointer; font-variant-numeric: tabular-nums; line-height: 1; }
.pager .pg-a { font-size: 19px; color: var(--accent); }
.pager button:hover:not(:disabled):not(.on) { border-color: var(--filet); background: var(--teinte); }
.pager .pg-n.on { background: var(--accent); color: var(--sur-accent); font-weight: 600; cursor: default; }
.pager button:disabled { opacity: .3; cursor: default; }
@media (max-width: 600px) { .pager { gap: 2px; flex-wrap: nowrap; } .pager button { min-width: 30px; padding: 0 4px; } }
.k-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px 14px; }
@media (max-width: 560px) { .k-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; } .k-card .tl { font-size: 17px; padding: 0 4px; } .k-card .dtp { font-size: 15px; } }
.k-card { display: flex; flex-direction: column; min-width: 0; text-align: center; align-items: center; }
.k-card .uidl { font-size: 13px; letter-spacing: .05em; color: var(--discret); margin-bottom: 3px; font-variant-numeric: tabular-nums; line-height: 1.5; }
.k-card .th { text-decoration: none; display: block; width: 100%; aspect-ratio: 1 / 1; background: var(--teinte); border-radius: 4px; overflow: hidden; }
.k-card .th img { width: 100%; height: 100%; object-fit: contain; display: block; }
.k-card .th:hover { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Titre sur deux lignes au plus, hauteur fixe : toutes les cartes ont la même hauteur, la page se remplit par rangées entières. */
.k-card .tl { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; width: 100%; padding: 0 12px;
  margin-top: 6px; text-align: center; line-height: 1.25; min-height: 2.5em; font-size: 18.5px; }
.k-card .tt { font-family: var(--police-lecture); color: var(--encre); text-decoration: none; overflow-wrap: anywhere; }
.k-card .tt:hover { text-decoration: underline; }
.k-card .dtp { color: var(--discret); font-size: 16.3px; white-space: nowrap; }
.k-card .ser { display: block; max-width: 100%; color: var(--accent); font-size: 14.5px; line-height: 1.25; margin-top: 1px; text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 6px; min-height: 1.25em; }
.k-card .ser:hover { text-decoration: underline; }
.k-empty { color: var(--discret); }
.series-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 10px; }
.sitem { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 10px 12px; border: 1px solid var(--filet); border-radius: 8px;
  background: var(--carte); text-decoration: none; color: var(--encre); min-width: 0; }
.sitem:hover { border-color: var(--accent); }
.sitem b { font-size: 13.6px; color: var(--accent); }
.sitem span { font-size: 15.3px; overflow-wrap: anywhere; }
.sitem em { font-style: normal; font-size: 13px; color: var(--discret); white-space: nowrap; }
.series-t { font-size: 1.9rem; }

/* ---- Fiche d'œuvre : LIIIDO à gauche, description à droite (b0014) */
.fil { display: flex; gap: 8px; flex-wrap: wrap; color: var(--discret); margin-bottom: 12px; font-size: 15px; }
.fil a { color: var(--accent); }
.fiche { display: grid; gap: 22px; }
.fiche figure { margin: 0; }
.fiche .info h1 { font-family: var(--police-lecture); font-weight: 500; font-size: 1.9rem; line-height: 1.2; margin: 0 0 8px; }
.fiche .kick { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: var(--accent); margin: 0 0 4px; font-weight: 600; }
.fiche .cit { color: var(--discret); margin: 0 0 14px; font-variant-numeric: tabular-nums; font-size: 15.6px; }
.fiche dl { margin: 0; display: grid; gap: 10px; }
.fiche dt { color: var(--discret); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.fiche dd { margin: 0; }
.fiche dd + dd { margin-top: 4px; }
.puce { display: inline-block; font-size: 13px; padding: 1px 9px; border-radius: 999px; background: var(--teinte); color: var(--discret); margin-left: 6px; vertical-align: 1px; }
.droits { font-size: 15px; color: var(--discret); margin: 8px 0 0; }
.voisins { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.voisins a { display: inline-flex; align-items: center; min-height: 44px; }
.fiche .fiche-lii { height: 70dvh; min-height: 360px; }
.fiche figcaption { margin-top: 8px; }
.fiche .pasimage { aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--teinte); border-radius: 8px; color: var(--discret); padding: 20px; text-align: center; }
@media (min-width: 900px) { .fiche { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; } .fiche figure { position: sticky; top: calc(var(--hb) + 16px); } .fiche .fiche-lii { height: calc(100dvh - var(--hb) - 120px); } }
/* Glissement entre fiches (b0016) : court déplacement, supprimé si l'utilisateur réduit les animations. */
.fiche.vers-g { animation: glisse-g .22s ease-out; }
.fiche.vers-d { animation: glisse-d .22s ease-out; }
@keyframes glisse-g { from { transform: translateX(40px); opacity: .3; } to { transform: none; opacity: 1; } }
@keyframes glisse-d { from { transform: translateX(-40px); opacity: .3; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .fiche.vers-g, .fiche.vers-d { animation: none; } }
.lii-cadre { border-radius: 10px; overflow: hidden; border: 1px solid var(--filet); }
.lii-cadre .liiido-seule { height: 100%; }
.lii-cadre.plein-secours { position: fixed; inset: 0; z-index: 100; height: 100dvh; border-radius: 0; }

/* ---- Expositions (Atelier web .ex-*, v186–v221) */
.expo { display: flex; flex-direction: column; gap: 16px; }
.ex-tl { margin: 4px 0 14px; overflow-x: auto; scrollbar-width: none; }
.ex-tl::-webkit-scrollbar { display: none; }
.ex-tl-ol { list-style: none; margin: 0; padding: 0 0 4px; display: flex; position: relative; min-width: max-content; }
.ex-tl-ol::before { content: ""; position: absolute; left: 12px; right: 12px; top: 10px; height: 3px; border-radius: 2px; background: var(--tl-grad); opacity: .55; }
.ex-tl-it { flex: 1 1 0; min-width: 134px; position: relative; }
.ex-tl-it button { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; padding: 3px 10px 4px 4px; background: none; border: 0;
  cursor: pointer; text-align: left; border-radius: 8px; min-height: 44px; }
.ex-tl-it button:hover { background: color-mix(in srgb, var(--c) 10%, transparent); }
.ex-tl-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--papier); border: 2.5px solid var(--c); position: relative; z-index: 1; margin-left: 2px; }
.ex-tl-it button:hover .ex-tl-dot { background: var(--c); }
.ex-tl-tx { display: flex; flex-direction: column; gap: 1px; }
.ex-tl-yr { font-size: 13.4px; font-weight: 600; letter-spacing: .03em; color: var(--c); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ex-tl-ti { font-size: 14.5px; line-height: 1.25; color: var(--encre); }
.ex-tl-n { font-size: 13px; color: var(--discret); }
.ex-tl-it.vide { opacity: .5; }
.ex-tl-it button.rien { animation: ex-secoue .3s 2; }
@keyframes ex-secoue { 0%, 100% { transform: none; } 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
@media (prefers-reduced-motion: reduce) { .ex-tl-it button.rien { animation: none; } }
.ex-msg { margin: 0; font-size: 15px; color: var(--discret); }
.ex-liste { display: flex; flex-direction: column; }
.ex-year { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--discret); margin: 14px 0 6px; display: flex; align-items: center; gap: 10px; }
.ex-year::after { content: ""; flex: 1; height: 1px; background: var(--filet); }
.ex-year.une { color: var(--une); }
.ex-card { background: var(--carte); border: 1px solid var(--filet); border-radius: var(--r); padding: 12px 16px; margin-bottom: 8px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 14px 28px; align-items: start; scroll-margin-top: calc(var(--hb) + 20px); }
.ex-card.une { border-color: var(--une); }
.ex-card.une-ligne { grid-template-columns: minmax(0, 1fr); }
.ex-card.sans-affiche { grid-template-columns: minmax(0, 1fr); }
.ex-left, .ex-right { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ex-bottom { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ex-poster { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 6px #0002; }
.ex-poster img { display: block; width: 100%; height: auto; }
.ex-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; }
.ex-hrow { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
.ex-line .ex-hrow { display: contents; }
.ex-card h3 { font-size: 19px; line-height: 1.25; font-weight: 650; letter-spacing: -.005em; min-width: 0; }
.ex-right h3 { font-size: 21.25px; }
.ex-unebadge { flex: none; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--une); white-space: nowrap; }
.ex-when { font-size: 15.6px; font-weight: 500; font-variant-numeric: tabular-nums; }
.ex-adr { font-size: 15.2px; color: var(--discret); line-height: 1.4; }
.ex-web { font-size: 13.8px; word-break: break-all; }
.ex-right .ex-web { font-size: 15.2px; }
.ex-sh { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--discret); margin: 6px 0 4px; font-weight: 600; }
.ex-shrow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.ex-shrow .ex-sh { margin: 0; }
.ex-ctxt { border: 1px solid var(--filet); border-radius: 8px; padding: 8px 12px; background: var(--carte); }
.ex-ctxt .ex-sh { margin-top: 0; }
.ex-ctxt-b { font-family: var(--police-lecture); font-size: 17.8px; line-height: 1.6; white-space: pre-line; margin: 8px 0 4px; }
.ex-clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.ex-clamp.ouvert { display: block; -webkit-line-clamp: unset; overflow: visible; }
.ex-more { display: block; background: none; border: 0; padding: 2px 0; margin: 0 0 6px; font-size: 15px; color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; min-height: 32px; }
.ex-meta { font-size: 15.6px; color: var(--discret); }
.ex-meta .auto { font-style: italic; }
.ex-mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(126px, 1fr)); gap: 8px; }
.ex-mt { display: flex; flex-direction: column; gap: 3px; padding: 0; border: 0; background: transparent; color: var(--encre); text-align: left; cursor: pointer; text-decoration: none; width: 100%; }
.ex-mth { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; border: 1px solid var(--filet); border-radius: 6px; overflow: hidden;
  background: var(--teinte); color: var(--discret); font-size: 25px; width: 100%; }
.ex-wt .ex-mth { background: var(--carte); }
.ex-mth img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ex-mt:hover .ex-mth { border-color: var(--accent); }
.ex-mtt { font-size: 13px; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ex-mtt b { font-weight: 600; }
.ex-drawer { font-size: 13.4px; padding: 1px 10px; border: 1px solid var(--filet); border-radius: 999px; background: transparent; color: var(--encre); cursor: pointer; min-height: 28px; }
.ex-drawer:hover, .ex-ssbtn:hover { border-color: var(--accent); color: var(--accent); }
.ex-ssbtn { display: inline-flex; align-items: center; gap: 4px; font-size: 13.6px; padding: 1px 10px; border-radius: 999px; border: 1px solid var(--filet); background: transparent; color: var(--encre); cursor: pointer; min-height: 28px; }
.ex-links { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.ex-lk { display: inline-flex; align-items: center; gap: 5px; max-width: 340px; padding: 2px 10px; border: 1px solid var(--filet); border-radius: 999px;
  color: var(--encre); font-size: 13.6px; line-height: 1.5; text-decoration: none; min-height: 28px; }
.ex-lk:hover { border-color: var(--accent); color: var(--accent); }
.ex-lk .ic { font-size: 12px; opacity: .7; }
.ex-lkt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ex-row { display: grid; grid-template-columns: minmax(120px, 190px) minmax(0, 1.1fr) minmax(0, 1.6fr); gap: 4px 16px; align-items: baseline; width: 100%;
  padding: 7px 12px; margin: 0 0 4px; background: none; border: 1px solid transparent; border-bottom-color: var(--filet); border-radius: 6px; text-align: left; cursor: pointer;
  scroll-margin-top: calc(var(--hb) + 20px); min-height: 44px; }
.ex-row:hover { border-color: var(--filet); background: var(--carte); }
.ex-row-d { font-size: 15.2px; font-variant-numeric: tabular-nums; color: var(--discret); }
.ex-row-l { font-size: 15.6px; color: var(--discret); }
.ex-row-t { font-size: 16.7px; font-weight: 600; }
.ex-vu { box-shadow: 0 0 0 2px var(--hl) !important; transition: box-shadow .3s; }
@media (max-width: 720px) { .ex-card { grid-template-columns: minmax(0, 1fr); } .ex-poster { width: auto; max-width: 100%; justify-self: start; } .ex-poster img { width: auto; max-width: 100%; max-height: 60vh; } }
@media (max-width: 640px) { .ex-row { grid-template-columns: 1fr; } .ex-row-l { order: 3; } .ex-mgrid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); } }

/* ---- Fondation (b0017) : mêmes composants que l'Atelier (.card, .filters, details.wp-panel, #wp-toc-list) */
.fon-pres { margin: 14px 0 0; font-size: 18.5px; line-height: 1.6; color: var(--encre); max-width: 72ch; }
.fon-sec { margin: 0 0 28px; }
.fon-t { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--discret); font-weight: 600; margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.fon-t::after { content: ""; flex: 1; height: 1px; background: var(--filet); }
.fon-contacts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.fon-carte { background: var(--carte); border: 1px solid var(--filet); border-radius: var(--r); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.fon-carte p { margin: 0; }
.fon-carte h3 { font-size: 19px; }
.fon-role { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.fon-lieu { color: var(--discret); }
.fon-carte a { overflow-wrap: anywhere; }
.fon-docs { display: flex; flex-direction: column; gap: 8px; margin: 0 0 12px; }
.fon-docl { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; background: var(--carte); border: 1px solid var(--filet); border-radius: var(--r); padding: 10px 16px; }
.fon-docl.on { border-color: var(--accent); }
.fon-doct { background: none; border: 0; padding: 4px 0; cursor: pointer; font-family: var(--police-lecture); font-size: 20px; color: var(--encre); text-align: left; min-height: 40px; }
.fon-doct:hover { color: var(--accent); }
.filtres { display: flex; gap: 6px; flex-wrap: wrap; }
.filtres button { background: transparent; border: 1px solid var(--filet); color: var(--encre); border-radius: var(--r); padding: 5px 12px; font-size: 15px; min-width: 44px; min-height: 36px; cursor: pointer; letter-spacing: .06em; }
.filtres button[aria-pressed="true"] { background: var(--encre); color: var(--carte); border-color: var(--encre); }
.fon-toc { margin: 0 0 12px; padding: 10px 16px; background: var(--carte); border: 1px solid var(--filet); border-radius: var(--r); }
.fon-toc summary { cursor: pointer; font-weight: 600; font-size: 15.6px; min-height: 32px; }
/* Les titres portent déjà leur numéro (« 2. Architecture ») : pas de second numéro de liste. */
.fon-toc-l { margin: 8px 0 0; padding-left: 0; list-style: none; columns: 2 260px; font-size: 15px; }
.fon-toc-l li { margin: 2px 0; break-inside: avoid; }
.fon-toc-l a { color: var(--encre); text-decoration: none; }
.fon-toc-l a:hover { color: var(--accent); }

/* ---- Visionneuse de photos d'exposition (Atelier web .ex-ss, v180) : plein écran, ← →, Échap. */
.vp { position: fixed; inset: 0; z-index: 200; background: #000; color: #fff; display: flex; align-items: center; justify-content: center; }
.vp img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.vp-cap { position: absolute; left: 20px; right: 80px; bottom: 16px; font-size: 15px; text-shadow: 0 1px 3px #000; }
.vp button { position: absolute; border: 0; background: #0008; color: #fff; border-radius: 50%; width: 48px; height: 48px; font-size: 26px; cursor: pointer; }
.vp .vp-x { top: 12px; right: 14px; }
.vp .vp-p { left: 12px; top: 50%; transform: translateY(-50%); }
.vp .vp-s { right: 12px; top: 50%; transform: translateY(-50%); }

/* b0021 : palette et œuvres aux couleurs proches (fiche). */
.fiche-sec { font-size: 0.82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--discret); margin: 22px 0 8px; font-weight: 600; }
.pal-bande { display: flex; height: 34px; border-radius: 6px; overflow: hidden; border: 1px solid var(--filet); }
.pal-c { flex-basis: 0; min-width: 3px; }
.pal-codes { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 0.82rem; font-variant-numeric: tabular-nums; color: var(--discret); }
.pal-codes li { display: inline-flex; align-items: center; gap: 6px; }
.pal-pastille { width: 12px; height: 12px; border-radius: 3px; border: 1px solid var(--filet); display: inline-block; }
.pal-note { font-size: 0.8rem; color: var(--discret); margin: 6px 0 0; }
.proches-l { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.proches-l a { display: block; text-decoration: none; color: inherit; }
.proches-l img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; display: block; background: var(--filet); }
.proches-t { display: block; font-size: 0.8rem; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 1200px) { .proches-l { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
