/* Polices du site, hébergées avec lui (licence SIL OFL 1.1 ; voir assets/polices/LISEZMOI.md). */
@font-face { font-family:'Google Sans Code'; font-style:normal; font-weight:300 800; font-display:swap;
  src:url('polices/google-sans-code-latin-ext-wght-normal.woff2') format('woff2-variations'), url('polices/google-sans-code-latin-ext-wght-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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'Google Sans Code'; font-style:normal; font-weight:300 800; font-display:swap;
  src:url('polices/google-sans-code-latin-wght-normal.woff2') format('woff2-variations'), url('polices/google-sans-code-latin-wght-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:'Google Sans'; font-style:normal; font-weight:400 700; font-display:swap;
  src:url('polices/google-sans-latin-ext-wght-normal.woff2') format('woff2-variations'), url('polices/google-sans-latin-ext-wght-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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'Google Sans'; font-style:normal; font-weight:400 700; font-display:swap;
  src:url('polices/google-sans-latin-wght-normal.woff2') format('woff2-variations'), url('polices/google-sans-latin-wght-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:'Google Sans'; font-style:italic; font-weight:400 700; font-display:swap;
  src:url('polices/google-sans-latin-wght-italic.woff2') format('woff2-variations'), url('polices/google-sans-latin-wght-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:'Libertinus Serif'; font-style:normal; font-weight:400; font-display:swap;
  src:url('polices/libertinus-serif-greek-ext-400-normal.woff2') format('woff2');
  unicode-range:U+1F00-1FFF; }
@font-face { font-family:'Libertinus Serif'; font-style:normal; font-weight:400; font-display:swap;
  src:url('polices/libertinus-serif-greek-400-normal.woff2') format('woff2');
  unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family:'Libertinus Serif'; font-style:normal; font-weight:400; font-display:swap;
  src:url('polices/libertinus-serif-latin-ext-400-normal.woff2') format('woff2');
  unicode-range:U+0100-0130,U+0132-0151,U+0154-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'Libertinus Serif'; font-style:normal; font-weight:400; font-display:swap;
  src:url('polices/libertinus-serif-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+2116,U+2122,U+2190-2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Libertinus Serif'; font-style:italic; font-weight:400; font-display:swap;
  src:url('polices/libertinus-serif-greek-ext-400-italic.woff2') format('woff2');
  unicode-range:U+1F00-1FFF; }
@font-face { font-family:'Libertinus Serif'; font-style:italic; font-weight:400; font-display:swap;
  src:url('polices/libertinus-serif-greek-400-italic.woff2') format('woff2');
  unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family:'Libertinus Serif'; font-style:italic; font-weight:400; font-display:swap;
  src:url('polices/libertinus-serif-latin-ext-400-italic.woff2') format('woff2');
  unicode-range:U+0100-0130,U+0132-0151,U+0154-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'Libertinus Serif'; font-style:italic; font-weight:400; font-display:swap;
  src:url('polices/libertinus-serif-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+2116,U+2122,U+2190-2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Libertinus Serif'; font-style:normal; font-weight:600; font-display:swap;
  src:url('polices/libertinus-serif-latin-ext-600-normal.woff2') format('woff2');
  unicode-range:U+0100-0130,U+0132-0151,U+0154-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'Libertinus Serif'; font-style:normal; font-weight:600; font-display:swap;
  src:url('polices/libertinus-serif-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+2116,U+2122,U+2190-2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Libertinus Serif'; font-style:italic; font-weight:600; font-display:swap;
  src:url('polices/libertinus-serif-latin-600-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+2116,U+2122,U+2190-2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Libertinus Serif'; font-style:normal; font-weight:700; font-display:swap;
  src:url('polices/libertinus-serif-latin-ext-700-normal.woff2') format('woff2');
  unicode-range:U+0100-0130,U+0132-0151,U+0154-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'Libertinus Serif'; font-style:normal; font-weight:700; font-display:swap;
  src:url('polices/libertinus-serif-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+2116,U+2122,U+2190-2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Libertinus Serif'; font-style:italic; font-weight:700; font-display:swap;
  src:url('polices/libertinus-serif-latin-700-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+2116,U+2122,U+2190-2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Solway'; font-style:normal; font-weight:400; font-display:swap;
  src:url('polices/solway-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:'Solway'; font-style:normal; font-weight:500; font-display:swap;
  src:url('polices/solway-latin-500-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:'Solway'; font-style:normal; font-weight:700; font-display:swap;
  src:url('polices/solway-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; }
@font-face { font-family:'Atkinson Hyperlegible'; font-style:normal; font-weight:400; font-display:swap;
  src:url('polices/atkinson-hyperlegible-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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'Atkinson Hyperlegible'; font-style:normal; font-weight:400; font-display:swap;
  src:url('polices/atkinson-hyperlegible-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:'Atkinson Hyperlegible'; font-style:italic; font-weight:400; font-display:swap;
  src:url('polices/atkinson-hyperlegible-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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'Atkinson Hyperlegible'; font-style:italic; font-weight:400; font-display:swap;
  src:url('polices/atkinson-hyperlegible-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:'Atkinson Hyperlegible'; font-style:normal; font-weight:700; font-display:swap;
  src:url('polices/atkinson-hyperlegible-latin-ext-700-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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'Atkinson Hyperlegible'; font-style:normal; font-weight:700; font-display:swap;
  src:url('polices/atkinson-hyperlegible-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; }
@font-face { font-family:'Atkinson Hyperlegible'; font-style:italic; font-weight:700; font-display:swap;
  src:url('polices/atkinson-hyperlegible-latin-ext-700-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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'Atkinson Hyperlegible'; font-style:italic; font-weight:700; font-display:swap;
  src:url('polices/atkinson-hyperlegible-latin-700-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:'OpenDyslexic'; font-style:normal; font-weight:400; font-display:swap;
  src:url('polices/opendyslexic-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family:'OpenDyslexic'; font-style:italic; font-weight:400; font-display:swap;
  src:url('polices/opendyslexic-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family:'OpenDyslexic'; font-style:normal; font-weight:700; font-display:swap;
  src:url('polices/opendyslexic-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family:'OpenDyslexic'; font-style:italic; font-weight:700; font-display:swap;
  src:url('polices/opendyslexic-latin-700-italic.woff2') format('woff2'); }

/* =========================================================================
   arthur-saunier.fr : apparence
   -------------------------------------------------------------------------
   Un sol d'un blanc à peine cassé, une feuille blanche posée dessus, de
   l'encre, et de petites touches de couleur qui ont toujours un sens (comme
   la coloration d'un éditeur de code) :
     --domaine-1   histoire et philosophie des sciences (« Recherche »)
     --domaine-2   édition numérique
     --domaine-3   accessibilité des lieux de savoir
     --moi         Arthur Saunier lui-même : nom, logo, parcours, contact
   Le carré (le « pixel ») ne sert qu'à trois choses : dire un domaine, dire
   « ici » (la rubrique ouverte), marquer un travail sur le rail d'une liste.
   Le site tient en trois rubriques : Activités, Parcours, Contact. Elles sont
   écrites en ligne au-dessus de la feuille ; quand la page défile, elles
   montent dans l'en-tête, qui suit le lecteur, à côté du nom devenu petit.
   La feuille montre une rubrique à la fois : ses bords entourent ce qui
   change. Dans « Activités », elle s'ouvre sur trois sous-onglets (Recherche,
   Édition, Accessibilité) : le domaine affiché y est un bloc de couleur
   pleine, qui glisse d'une case à l'autre, et son nom complet est donné en
   titre juste dessous.
   Dans la feuille, le rail des listes longe le bord gauche ; viennent ensuite
   les dates, puis le texte.
   Quatre couleurs, quatre sens, et pas une de plus : les trois domaines, et
   l'aubergine pour « moi » et « ici ». Le magenta ne sert qu'à souligner les liens.
   Polices, rôles et réglages de lecture sont ceux de Renouvier Papers ; le
   reste s'en écarte : sol presque blanc, angles à peine adoucis, aucun fond teinté.
   ========================================================================= */

/* =====================  PALETTES (4 modes)  =====================
   Les classes de thème sont posées sur <html> avant le premier affichage
   (script en tête de index.html), puis tenues à jour par site.js.
   Dans les quatre modes, les domaines gardent leur couleur : bleu pour l'histoire et la philosophie des
   sciences, orange pour l'édition, vert pour l'accessibilité. */
:root {
  /* CLAIR : sol presque blanc, feuille blanche, encre, quatre couleurs franches */
  --sol:#f5f4f8; --sol-survol:#e8e6ef;           /* le sol : la page autour de la feuille ; sa pastille de survol */
  --bg:#ffffff; --trait:#e2dfea;                 /* la feuille et son bord */
  --surface:#f3f2f6; --surface-2:#e6e4ed; --text:#1b1628; --text-muted:#625d74;
  --domaine-1:#008da2; --domaine-2:#e86f00; --domaine-3:#069a65;
  --moi:#850e68;                                 /* aubergine vive : le nom, le parcours, le contact */
  --nom:var(--moi);
  --link:#b030a0; --link-hover:#8a2080;          /* magenta : le soulignement des liens */
  --bloc:#850e68; --bloc-texte:#ffffff;          /* le domaine affiché, le bouton principal : un bloc aubergine (« ici ») */
  --carre-bloc:brightness(1.32) saturate(1.1);   /* sur ce bloc, le carré du domaine est avivé pour rester franc */
  --panel-bg:#ffffff;
  --ombre:0 .75rem 2.5rem rgba(27,22,40,.16), 0 0 0 1px rgba(27,22,40,.08);
  --logo-fond:#850e68; --logo-lettre:#fdf4f9;    /* le monogramme « AS » : aubergine, identique dans les quatre modes */
}
/* SOMBRE */
html.theme-dark {
  --sol:#06090f; --sol-survol:#141b28;
  --bg:#0c111b; --trait:#1d2535;
  --surface:#161d2b; --surface-2:#222c3e; --text:#dce0e8; --text-muted:#8593a6;
  --domaine-1:#50b0ff; --domaine-2:#ffa63d; --domaine-3:#00e5a0;
  --moi:#df70c3;                                 /* aubergine claire */
  --link:#e070c0; --link-hover:#f090d8;
  --bloc:#8d106f; --bloc-texte:#ffffff; --carre-bloc:none;
  --panel-bg:#0d121c;                            /* panneau des réglages : presque le fond, pour que ses cases s'en détachent */
  --ombre:0 .75rem 2.5rem rgba(0,0,0,.55), 0 0 0 1px #253040;
}
/* DALTONIEN JOUR : les couleurs de la palette d'Okabe et Ito, que l'on distingue quelle que soit sa vision des
   couleurs ; le nom et le bloc sont à l'encre. */
html.theme-cb-light {
  --domaine-1:#0072B2; --domaine-2:#E69F00; --domaine-3:#009E73;
  --moi:#CC79A7; --nom:var(--text);
  --link:#0072B2; --link-hover:#004a75;
  --bloc:#1b1628; --carre-bloc:none;
}
/* DALTONIEN NUIT */
html.theme-cb-dark {
  --sol:#06090f; --sol-survol:#141b28;
  --bg:#0c111b; --trait:#1d2535;
  --surface:#161d2b; --surface-2:#222c3e; --text:#dce0e8; --text-muted:#8593a6;
  --domaine-1:#56B4E9; --domaine-2:#E69F00; --domaine-3:#009E73;
  --moi:#CC79A7;
  --link:#56B4E9; --link-hover:#7cc8f0;
  --bloc:#2d3950; --bloc-texte:#ffffff; --carre-bloc:none;
  --panel-bg:#0d121c;                            /* panneau des réglages : presque le fond, pour que ses cases s'en détachent */
  --ombre:0 .75rem 2.5rem rgba(0,0,0,.55), 0 0 0 1px #253040;
}
html.theme-dark, html.theme-cb-dark { color-scheme:dark; }

:root {
  --c:var(--moi);                                           /* couleur du domaine où l'on se trouve */
  --eteint:color-mix(in srgb, var(--moi) 30%, transparent);   /* le carré d'une rubrique qui n'est pas ouverte : la même couleur, éteinte */
  --encre-douce:color-mix(in srgb, var(--text) 74%, var(--bg));
  --r:.25rem;                 /* angles : à peine adoucis */
  --r-cadre:.625rem;          /* angles de la feuille */
  --g:.25rem;                 /* jeu entre les cases des sous-onglets */
  --marge:clamp(1.15rem, 5vw, 3.5rem);        /* marge de la page */
  --largeur:56rem;            /* largeur de la feuille : sa marge, le rail, les dates, 40rem de texte, sa marge */
  --pad:1.75rem;              /* marge intérieure de la feuille ; le nom et les rubriques s'alignent sur le texte qu'elle contient */
  --entete:3.25rem;           /* hauteur de l'en-tête */
  --B:9.25rem;                /* colonne des dates */
  --elan:cubic-bezier(.2, .7, .2, 1);          /* courbe des mouvements : départ vif, arrivée douce */
  --police-titres:'Google Sans Code', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --police-texte:'Libertinus Serif', 'Linux Libertine', 'Iowan Old Style', Palatino, Georgia, serif;
  --police-interface:'Google Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  /* cinq corps, pas davantage (plus le nom), et deux polices dans la page : Google Sans Code pour ce qui
     nomme et date, Libertinus Serif pour ce qui se lit (Google Sans ne sert qu'au pied de page et aux réglages) */
  --corps-grand:1.375rem;     /* chapeaux, statut */
  --corps-texte:1.15625rem;   /* texte de lecture, adresse de courriel */
  --corps-titre:1rem;         /* rubriques, titres de partie */
  --corps-petit:.875rem;      /* en-tête, sous-onglets, intitulés, boutons */
  --corps-mince:.8125rem;     /* dates, précisions, pied de page */
}
[data-domaine="1"] { --c:var(--domaine-1); }
[data-domaine="2"] { --c:var(--domaine-2); }
[data-domaine="3"] { --c:var(--domaine-3); }
[data-domaine="moi"] { --c:var(--moi); }

/* =====================  SOCLE  ===================== */
*, *::before, *::after { box-sizing:border-box; }
/* overflow-anchor : quand une vue en remplace une autre, la page change de hauteur ; le navigateur ne doit pas
   « rattraper » ce changement en déplaçant la page de lui-même (site.js décide où elle se place). */
html { scrollbar-gutter:stable; -webkit-text-size-adjust:100%; text-size-adjust:100%; scroll-padding-top:calc(var(--entete) + .75rem); overflow-anchor:none; background:var(--sol); }
@media (prefers-reduced-motion:no-preference) { html.defilement-doux { scroll-behavior:smooth; } }   /* classe posée par site.js une fois la page arrivée */
/* La réserve ci-dessus garde sous l'en-tête ce que le clavier ou une recherche amènent à l'écran. L'en-tête, lui,
   se tient dans cette réserve : sans la règle qui suit, y poser le curseur du clavier ferait remonter la page. */
html:has(.entete:focus-within) { scroll-padding-top:0; }
body { margin:0; overflow-anchor:none; background:var(--sol); color:var(--text); font-family:var(--police-interface); font-size:1rem; line-height:1.5;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; text-rendering:optimizeLegibility; font-kerning:normal; overflow-wrap:break-word; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin:0; }
ul, ol { padding:0; list-style:none; }
/* un lien : le texte reste à l'encre, souligné de magenta ; au passage du pointeur, il prend la couleur */
a { color:inherit; text-decoration:underline; text-decoration-thickness:.06em; text-underline-offset:.17em; text-decoration-color:color-mix(in srgb, var(--link) 72%, transparent); transition:color .15s, text-decoration-color .15s; }
a:hover { color:var(--link-hover); text-decoration-color:currentColor; }
:focus-visible { outline:2px solid var(--link); outline-offset:2px; border-radius:2px; }
::selection { background:color-mix(in srgb, var(--moi) 24%, transparent); }
button { font:inherit; color:inherit; }
svg { display:block; }
abbr[title] { text-decoration:none; }
[hidden]:not([hidden="until-found"]) { display:none !important; }
.invisible { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }

/* le carré, signature commune avec Renouvier Papers */
.carre { display:inline-block; flex:0 0 auto; width:.5625rem; height:.5625rem; background:var(--c); print-color-adjust:exact; -webkit-print-color-adjust:exact; }

/* texte de lecture : ligatures, chiffres elzéviriens, petites capitales et lettres supérieures de Libertinus Serif */
.lecture, .chapeau, .notice__corps, .ouverture__role, .ouverture__lieu, .coord__texte {
  font-family:var(--police-texte); font-variant-ligatures:common-ligatures contextual; font-variant-numeric:oldstyle-nums proportional-nums; }
.insecable { white-space:nowrap; }
.pc { font-variant-caps:small-caps; letter-spacing:.035em; }             /* noms propres en petites capitales */
cite { font-style:italic; }                                              /* titres d'ouvrages, de revues, de colloques */
sup { font-size:.7em; line-height:0; vertical-align:.42em; }
@supports (font-variant-position:super) {
  html:not(.font-solway):not(.font-hyperlegible):not(.font-opendyslexic) :is(.lecture, .chapeau, .notice__corps) sup { font-variant-position:super; vertical-align:baseline; font-size:inherit; }
}
.cd, .coord__texte { font-variant-numeric:lining-nums proportional-nums; }   /* chiffres droits : sigles, codes postaux, identifiants */
/* Google Sans Code est à chasse fixe : l'espace entre les mots est resserrée */
.nom, .introuvable h1 { word-spacing:-.22em; }
.marque__nom, .rubriques a, .onglets a, .titre, .groupe__titre, .coord__titre, .liens b, .notice__date, .bouton-reglages, .bouton, .themes summary, .renvoi, .lien-second, .coord__courriel, .pied strong { word-spacing:-.16em; }

/* (fixe, comme l'en-tête : y poser le curseur du clavier ne ramène pas la page à son sommet) */
.evitement { position:fixed; left:.75rem; top:-4rem; z-index:40; padding:.55rem .9rem; border-radius:var(--r); background:var(--text); color:var(--bg); font-weight:600; text-decoration:none; }
.evitement:focus { top:.6rem; }

/* =====================  EN-TÊTE  =====================
   Une ligne, qui suit le lecteur : le monogramme, puis le nom et les trois rubriques, puis les réglages.
   En haut de la page, le nom et les rubriques n'y sont pas : le grand nom et la ligne des rubriques les disent
   déjà. Ils y montent quand ceux de la page passent sous l'en-tête (classes « monte-nom » et
   « monte-rubriques » de <html>, tenues par site.js). Sans JavaScript, ils y sont toujours. */
.entete { position:sticky; top:0; z-index:30; background:var(--sol); }
.entete__int { position:relative; max-width:calc(var(--largeur) + 2 * var(--marge)); margin:0 auto; height:var(--entete); padding:0 calc(var(--marge) + var(--pad)); display:flex; align-items:center; gap:.3rem; }      /* sur l'axe du texte de la feuille, comme le nom */
/* quand la feuille passe dessous, l'en-tête en redessine le bord du haut (classe « feuille-passee », site.js) */
.entete__int::after { content:""; position:absolute; left:calc(var(--marge) - 1px); right:calc(var(--marge) - 1px); bottom:0; height:1px; background:var(--trait); opacity:0; pointer-events:none; }
html.feuille-passee .entete__int::after { opacity:1; }
.marque { display:flex; align-items:center; gap:.7rem; flex:0 0 auto; border-radius:.4375rem; color:var(--nom); text-decoration:none; }
.marque:hover { color:var(--nom); }
.logo { flex:0 0 auto; width:2rem; height:2rem; }
.logo__carreau { fill:var(--logo-fond); }
.logo__lettre { fill:var(--logo-lettre); }
.marque__nom { padding-right:.45rem; font-family:var(--police-titres); font-size:var(--corps-petit); font-weight:700; letter-spacing:-.035em; white-space:nowrap; }
.entete .rubriques { flex:0 1 auto; min-width:0; }
.marque__nom, .entete .rubriques { transition:opacity .2s, transform .28s var(--elan); }
html.js:not(.monte-nom) .marque__nom,
html.js:not(.monte-rubriques) .entete .rubriques { opacity:0; visibility:hidden; transform:translateY(.45rem); transition:opacity .14s, transform .14s, visibility 0s .14s; }
.bouton-reglages { display:inline-flex; align-items:center; gap:.5rem; flex:0 0 auto; height:2.25rem; margin-left:auto; margin-right:-.7rem; padding:0 .7rem; border:0; border-radius:var(--r); background:none; cursor:pointer; font-family:var(--police-titres); font-size:var(--corps-petit); font-weight:500; letter-spacing:-.02em; white-space:nowrap; color:var(--text); text-decoration:none; transition:background-color .15s; }
.bouton-reglages:hover { background:var(--sol-survol); color:var(--text); }
.bouton-reglages[aria-expanded="true"] { background:var(--sol-survol); }
.bouton-reglages svg { width:1.1875rem; height:1.1875rem; fill:currentColor; stroke:currentColor; stroke-width:1.1; stroke-linejoin:round; transition:transform .35s var(--elan); }
.bouton-reglages:hover svg, .bouton-reglages[aria-expanded="true"] svg { transform:rotate(45deg); }   /* la roue avance d'une dent */
html:not(.js) .bouton-reglages { display:none; }

/* =====================  LES TROIS RUBRIQUES  =====================
   Activités, Parcours, Contact : trois mots à l'encre, chacun précédé d'un carré aubergine. Celui de la rubrique
   ouverte est plein (« ici ») et son nom est en gras ; les deux autres sont éteints. La même ligne est écrite deux
   fois : dans la page, au-dessus de la feuille, et dans l'en-tête, où elle ne paraît qu'une fois la première
   passée. Sans JavaScript, ce sont trois liens vers les trois parties de la page. */
.rubriques ul { display:flex; align-items:center; gap:.1rem; }
.rubriques a { display:inline-flex; align-items:center; gap:.5rem; height:2.25rem; padding:0 .7rem; border-radius:var(--r); font-family:var(--police-titres); font-size:var(--corps-petit); font-weight:500; letter-spacing:-.02em; white-space:nowrap; color:var(--text); text-decoration:none; transition:background-color .15s; }
.rubriques a:hover { background:var(--sol-survol); color:var(--text); }
.rubriques .carre { background:var(--eteint); transition:background-color .2s, transform .2s var(--elan); }
.rubriques a:hover .carre { transform:scale(1.3); }
html[data-volet="activites"] .rubriques a[href="#activites"],
html[data-volet="parcours"] .rubriques a[href="#parcours"],
html[data-volet="contact"] .rubriques a[href="#contact"] { font-weight:700; }
html[data-volet="activites"] .rubriques a[href="#activites"] .carre,
html[data-volet="parcours"] .rubriques a[href="#parcours"] .carre,
html[data-volet="contact"] .rubriques a[href="#contact"] .carre { background:var(--moi); }
/* dans la page : un corps plus grand, et le premier carré sur l'axe du texte de la feuille */
.rubriques--page { --rp:.7rem; max-width:var(--largeur); margin:0 auto; padding:0 calc(var(--pad) - var(--rp)); }
.rubriques--page a { padding:0 var(--rp); font-size:var(--corps-titre); gap:.55rem; }
html:not(.js) .rubriques--page { display:none; }      /* sans JavaScript, l'en-tête les porte déjà */

/* =====================  OUVERTURE  ===================== */
main { display:block; padding:0 var(--marge); }
.ouverture { max-width:var(--largeur); margin:0 auto; padding:clamp(1rem, 3.5vh, 2.25rem) var(--pad) clamp(1.1rem, 3.2vh, 1.9rem); }
.nom { font-family:var(--police-titres); font-weight:700; font-size:clamp(2.25rem, 1.45rem + 3.4vw, 3.5rem); line-height:1; letter-spacing:-.055em; color:var(--nom); margin-left:-.04em; }
.ouverture__role { margin-top:.85rem; font-size:var(--corps-grand); line-height:1.3; }
.ouverture__lieu { margin-top:.15rem; font-size:var(--corps-texte); line-height:1.45; color:var(--encre-douce); }

/* =====================  LA FEUILLE  =====================
   Une feuille blanche sur le sol, bordée d'un trait fin : ce qui est dedans est ce qui change. Dans la rubrique
   « Activités », elle s'ouvre sur les trois sous-onglets ; cette bande se replie hors d'elle. */
.cadre { position:relative; max-width:var(--largeur); margin:.4rem auto 0; border-radius:var(--r-cadre); background:var(--bg); box-shadow:0 0 0 1px var(--trait); print-color-adjust:exact; -webkit-print-color-adjust:exact; }
.cadre__barre { display:grid; grid-template-rows:1fr; padding:var(--pad) var(--pad) 0; }
html[data-volet="parcours"] .cadre__barre, html[data-volet="contact"] .cadre__barre { grid-template-rows:0fr; padding-top:0; }
html[data-volet="parcours"] .onglets, html[data-volet="contact"] .onglets { visibility:hidden; opacity:0; }
.repere { position:absolute; top:0; left:0; width:1px; height:1px; pointer-events:none; }
.feuille { position:relative; padding:1.5rem var(--pad) calc(var(--pad) + .35rem); }
html[data-volet="parcours"] .feuille, html[data-volet="contact"] .feuille { padding-top:calc(var(--pad) + .1rem); }

/* =====================  LES SOUS-ONGLETS  =====================
   Recherche, Édition, Accessibilité : trois cases en tête de la feuille ; celle du domaine affiché est un bloc
   de couleur pleine, qui glisse quand on en change (l'attribut data-courant de <html> dit où il se pose). Chaque
   case a la largeur que demande son nom, pour des marges égales (--f1, --f2, --f3 : leurs parts de la bande). */
.onglets { min-height:0; overflow:hidden; margin:-3px; padding:3px; }      /* (la marge laisse voir le contour du curseur clavier) */
.onglets ul { --f1:.326; --f2:.281; --f3:.393;
  --u:calc(100% - 2 * var(--g)); --w1:calc(var(--u) * var(--f1)); --w2:calc(var(--u) * var(--f2)); --w3:calc(var(--u) * var(--f3));
  position:relative; display:grid; grid-template-columns:var(--w1) var(--w2) var(--w3); gap:var(--g); width:min(100%, 25rem); }
/* le bloc : tenu par son bord gauche (--bord-g) et son bord droit (--bord-d), mesurés depuis les bords de la bande */
.onglets ul::before { content:""; position:absolute; top:0; bottom:0; left:var(--bord-g, 0px); right:var(--bord-d, calc(100% - var(--w1))); border-radius:var(--r); background:var(--bloc); print-color-adjust:exact; -webkit-print-color-adjust:exact; }
html:not([data-courant]) .onglets ul::before { display:none; }
html[data-courant="recherche"] .onglets ul { --bord-g:0px; --bord-d:calc(100% - var(--w1)); }
html[data-courant="edition"] .onglets ul { --bord-g:calc(var(--w1) + var(--g)); --bord-d:calc(var(--w3) + var(--g)); }
html[data-courant="accessibilite"] .onglets ul { --bord-g:calc(100% - var(--w3)); --bord-d:0px; }
.onglets a { position:relative; z-index:1; display:flex; align-items:center; justify-content:center; gap:.5rem; height:100%; min-height:2.5rem; padding:.4rem .5rem; border-radius:var(--r); font-family:var(--police-titres); font-size:var(--corps-petit); font-weight:700; letter-spacing:-.02em; line-height:1.25; white-space:nowrap; color:var(--text); text-decoration:none; transition:color .2s, background-color .15s; }
.onglets a:hover { background:var(--surface); color:var(--text); }
html[data-courant="recherche"] .onglets a[href="#recherche"],
html[data-courant="edition"] .onglets a[href="#edition"],
html[data-courant="accessibilite"] .onglets a[href="#accessibilite"] { color:var(--bloc-texte); background:none; }
html[data-courant="recherche"] .onglets a[href="#recherche"] .carre,
html[data-courant="edition"] .onglets a[href="#edition"] .carre,
html[data-courant="accessibilite"] .onglets a[href="#accessibilite"] .carre { filter:var(--carre-bloc, none); }
.onglets .carre { transition:transform .2s var(--elan); }
.onglets a:hover .carre { transform:scale(1.3); }

/* =====================  CE QUE MONTRE LA FEUILLE  =====================
   Cinq vues : les trois domaines, le parcours, le contact. Avec JavaScript, une seule est affichée (attribut
   data-feuille de <html>, posé avant le premier affichage) ; sans JavaScript ou à l'impression, elles se
   suivent, chacune sous son titre.
   Dans les navigateurs qui le permettent, site.js remplace ensuite cette règle par l'attribut
   hidden="until-found" (classe « trouvable » sur <html>) : les vues repliées restent alors ouvertes à la
   recherche dans la page (Cmd+F), qui affiche d'elle-même celle où se trouve le mot. */
html:not(.js) .panneau + .panneau, html:not(.js) #activites + .panneau { margin-top:2.5rem; }      /* quand tout se suit */
@media screen {
  html.js:not(.trouvable)[data-feuille="recherche"] .panneau:not(#recherche),
  html.js:not(.trouvable)[data-feuille="edition"] .panneau:not(#edition),
  html.js:not(.trouvable)[data-feuille="accessibilite"] .panneau:not(#accessibilite),
  html.js:not(.trouvable)[data-feuille="parcours"] .panneau:not(#parcours),
  html.js:not(.trouvable)[data-feuille="contact"] .panneau:not(#contact) { display:none; }
  /* un lien vers une vue (arthur-saunier.fr/#edition) l'affiche sans faire défiler : la page reste en haut */
  html.js .panneau, html.js #activites { scroll-margin-top:100vh; }
}
/* titres : le nom complet du domaine, sous le sous-onglet qui l'abrège ; ceux du parcours et du contact ne
   servent que lorsque tout se suit (sans JavaScript, à l'impression) : la rubrique dit déjà où l'on est */
.titre { display:flex; align-items:baseline; gap:.6rem; font-family:var(--police-titres); font-weight:700; font-size:var(--corps-titre); line-height:1.3; letter-spacing:-.02em; text-wrap:balance; }
.titre .carre { transform:translateY(-.05em); }
.titre:focus { outline:none; }
.panneau > .titre { margin-bottom:.75rem; }
html.js .panneau--moi > .titre { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.chapeau { font-size:var(--corps-grand); line-height:1.42; max-width:44rem; text-wrap:pretty; }
.lecture { font-size:var(--corps-texte); line-height:1.55; max-width:40rem; text-wrap:pretty; }
.chapeau + .lecture { margin-top:.8rem; }
.panneau__intro { padding-bottom:1.75rem; }

/* boutons : un bloc de couleur pleine pour l'action principale (comme le domaine affiché dans les sous-onglets),
   un fond léger pour les autres */
.actions { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem 1.25rem; margin-top:1.2rem; }
.bouton { display:inline-flex; align-items:center; gap:.55rem; min-height:2.5rem; padding:.55rem 1rem; border:0; border-radius:var(--r); background:var(--surface); color:var(--text); cursor:pointer; font-family:var(--police-titres); font-size:var(--corps-petit); font-weight:600; letter-spacing:-.02em; line-height:1.3; text-decoration:none; transition:background-color .15s, color .15s, transform .1s; }
.bouton:hover { background:var(--surface-2); color:var(--text); }
.bouton:active { transform:translateY(1px); }
.bouton--plein { background:var(--bloc); color:var(--bloc-texte); print-color-adjust:exact; -webkit-print-color-adjust:exact; }
.bouton--plein:hover { background:var(--text); color:var(--bg); }
.lien-second { font-family:var(--police-titres); font-size:var(--corps-petit); font-weight:500; letter-spacing:-.02em; }

/* Thèmes de recherche : repliés, pour ne pas tout donner d'un coup. Au clic, un encart se déplie sous le
   bouton, puis se replie au clic suivant ; site.js en anime la hauteur, d'où le débord masqué. */
.themes { margin-top:1.1rem; max-width:40rem; }
.themes summary { display:inline-flex; align-items:center; gap:.6rem; min-height:2.25rem; padding:.4rem .85rem .4rem .7rem; border-radius:var(--r); background:var(--surface); cursor:pointer; list-style:none; font-family:var(--police-titres); font-size:var(--corps-petit); font-weight:600; letter-spacing:-.02em; line-height:1.3; user-select:none; transition:background-color .15s; }
.themes summary::-webkit-details-marker { display:none; }
@media (hover:hover) { .themes summary:hover { background:var(--surface-2); } }      /* pas au doigt : le survol y resterait collé après le toucher */
.themes summary::before { content:""; width:.625rem; height:.625rem; flex:0 0 auto;      /* un « plus » qui devient « moins » */
  background:linear-gradient(currentColor, currentColor) 50% 50% / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) 50% 50% / 2px 100% no-repeat; transition:background-size .2s var(--elan); }
.themes[open]:not(.se-ferme) summary::before { background-size:100% 2px, 2px 0; }
.themes__encart { margin-top:.5rem; border-radius:var(--r); background:var(--surface); overflow:hidden; }
.themes .lecture { max-width:none; padding:.8rem 1rem .9rem; color:var(--encre-douce); }

/* =====================  LISTES  =====================
   Un rail à la couleur du domaine, le long du bord gauche de la feuille ; un carré par travail. L'intitulé de
   chaque groupe est écrit au-dessus de ses travaux ; chaque travail a sa date, puis son texte (l'une sous
   l'autre sur un petit écran). */
.fil { position:relative; padding-left:1.5rem; }
.fil::before { content:""; position:absolute; left:3px; top:.3rem; bottom:.3rem; width:2px; background:var(--c); transform-origin:50% 0; print-color-adjust:exact; -webkit-print-color-adjust:exact; }
.groupe + .groupe { margin-top:1.5rem; }
.groupe__titre { margin-bottom:.1rem; font-family:var(--police-titres); font-size:var(--corps-petit); font-weight:700; letter-spacing:-.025em; line-height:1.4; }
.groupe__note { margin-top:.1rem; font-family:var(--police-titres); font-size:var(--corps-mince); font-weight:500; letter-spacing:-.02em; word-spacing:-.16em; line-height:1.45; color:var(--text-muted); }
.notice { position:relative; display:grid; grid-template-columns:var(--B) minmax(0, 1fr); column-gap:1.5rem; padding:.58rem 0; }
.notice::before { content:""; position:absolute; left:calc(-1.5rem + 4px - .25rem); top:calc(.58rem + .84rem - .25rem); width:.5rem; height:.5rem; background:var(--c); transition:transform .16s var(--elan); print-color-adjust:exact; -webkit-print-color-adjust:exact; }
.notice__date { font-family:var(--police-titres); font-size:var(--corps-mince); font-weight:500; letter-spacing:-.02em; line-height:1.68rem; color:var(--text-muted); white-space:nowrap; transition:color .15s; }
@media (hover:hover) {          /* le carré répond au passage du pointeur */
  .notice:hover::before { transform:scale(1.6); }
  .notice:hover .notice__date { color:var(--text); }
}
.notice__date--nom { font-size:var(--corps-petit); font-weight:600; color:var(--text); white-space:normal; line-height:1.3; padding-top:.26rem; }
.a-venir { display:block; width:fit-content; margin:-.1rem 0 0 -.4rem; padding:0 .4rem .05rem; border-radius:.2rem; background:var(--surface); color:var(--text); font-size:var(--corps-mince); font-weight:600; line-height:1.4; }
.notice__corps { min-width:0; max-width:40rem; }
.notice__titre { font-size:var(--corps-texte); line-height:1.45; text-wrap:pretty; }
.notice__lieu { margin-top:.1rem; font-size:var(--corps-texte); line-height:1.45; color:var(--encre-douce); text-wrap:pretty; }
/* renvoi d'une entrée vers un autre domaine : le carré de ce domaine et son nom */
.renvoi { display:inline-flex; align-items:center; gap:.4rem; margin-left:.3rem; padding:.05rem .5rem .1rem; border-radius:.2rem; background:var(--surface); font-family:var(--police-titres); font-size:var(--corps-mince); font-weight:500; font-variant-numeric:normal; letter-spacing:-.02em; line-height:1.4; color:var(--text) !important; text-decoration:none; vertical-align:.08em; white-space:nowrap; transition:background-color .15s; }
.renvoi:hover { background:var(--surface-2); }
.renvoi .carre { width:.375rem; height:.375rem; }

/* rang d'un travail sur son rail, pour l'ordre dans lequel les carrés se posent : celui de son groupe (--k), plus
   le sien dans le groupe (--n) */
.groupe:nth-child(2) { --k:2; } .groupe:nth-child(3) { --k:4; } .groupe:nth-child(4) { --k:6; } .groupe:nth-child(5) { --k:8; } .groupe:nth-child(6) { --k:10; } .groupe:nth-child(n+7) { --k:12; }
.notice:nth-child(2) { --n:1; } .notice:nth-child(3) { --n:2; } .notice:nth-child(4) { --n:3; } .notice:nth-child(5) { --n:4; } .notice:nth-child(n+6) { --n:5; }

/* =====================  CONTACT, PIED DE PAGE  ===================== */
.coord { display:grid; gap:1.25rem; }
.coord__titre { margin-bottom:.2rem; font-family:var(--police-titres); font-size:var(--corps-petit); font-weight:700; letter-spacing:-.025em; line-height:1.4; }
.coord__texte { font-size:var(--corps-texte); line-height:1.45; color:var(--encre-douce); font-style:normal; }
/* L'adresse de courriel n'est pas écrite dans la page : elle se compose au clic (site.js), hors de portée
   des robots qui relèvent les adresses. */
.coord__ecrire { display:flex; align-items:center; min-height:2.5rem; margin-top:.3rem; }
html:not(.js) .coord__ecrire { display:none; }
.coord__courriel { font-family:var(--police-titres); font-size:var(--corps-texte); font-weight:500; letter-spacing:-.03em; line-height:1.3; overflow-wrap:anywhere; }
.coord__note { font-family:var(--police-titres); font-size:var(--corps-mince); font-weight:500; letter-spacing:-.02em; word-spacing:-.16em; line-height:1.68rem; color:var(--text-muted); }
.liens { margin:0 0 0 -.6rem; }
.liens a { display:grid; grid-template-columns:8.5rem minmax(0, 1fr); column-gap:1rem; align-items:baseline; padding:.3rem .6rem; border-radius:var(--r); color:var(--text); text-decoration:none; transition:background-color .15s; }
.liens a:hover { background:var(--surface); color:var(--text); }
/* sur un écran tactile, pas de survol : la pastille est là d'emblée, on voit que la ligne se touche */
@media (hover:none), (pointer:coarse) {
  .liens { display:grid; gap:.3rem; margin-left:0; margin-top:.25rem; }
  .liens a { padding:.45rem .7rem; background:var(--surface); }
}
.liens b { font-family:var(--police-titres); font-size:var(--corps-petit); font-weight:600; letter-spacing:-.025em; }
.liens span { font-family:var(--police-texte); font-size:var(--corps-texte); line-height:1.45; color:var(--encre-douce); font-variant-numeric:lining-nums proportional-nums; overflow-wrap:anywhere; }

.pied { max-width:calc(var(--largeur) + 2 * var(--marge)); margin:0 auto; padding:1.4rem calc(var(--marge) + var(--pad)) 2.5rem; font-size:var(--corps-mince); line-height:1.55; color:var(--text-muted); }
.pied p { max-width:40rem; }
.pied p + p { margin-top:.35rem; }
.pied strong { font-family:var(--police-titres); font-weight:700; letter-spacing:-.025em; color:var(--text); }
.pied a { text-decoration-color:color-mix(in srgb, currentColor 45%, transparent); }

/* =====================  RÉGLAGES DE LECTURE  =====================
   Les mêmes choix que sur Renouvier Papers : quatre thèmes, quatre polices, sous le bouton de l'en-tête. */
@supports not selector(:has(a)) { .choix input { position:static; opacity:1; pointer-events:auto; } }      /* sans :has(), les boutons radio restent visibles */
.reglages { font-family:var(--police-interface); font-size:.875rem; }
.reglages fieldset { min-width:0; margin:0 0 1rem; padding:0; border:0; }
.reglages fieldset:last-child { margin-bottom:0; }
.reglages legend { padding:0; margin-bottom:.5rem; font-size:.8125rem; font-weight:600; color:var(--text-muted); }
.choix-themes { display:grid; grid-template-columns:1fr 1fr; gap:.4rem; }
.choix-polices { display:grid; gap:.35rem; }
.choix { position:relative; display:flex; align-items:center; gap:.6rem; min-height:2.6rem; padding:.5rem .7rem; border-radius:var(--r); background:var(--surface); cursor:pointer; line-height:1.25; transition:background-color .15s; }
.choix:hover { background:var(--surface-2); }
.choix input { position:absolute; opacity:0; pointer-events:none; }
.choix:has(input:checked) { background:var(--bloc); color:var(--bloc-texte); font-weight:600; }      /* le réglage en cours : un bloc, comme dans les sous-onglets */
.choix:has(input:checked) small { color:inherit; opacity:.8; }
.choix:has(input:focus-visible) { outline:2px solid var(--link); outline-offset:2px; }
.choix-polices .choix { justify-content:space-between; }
.choix small { font-size:.75rem; font-weight:400; color:var(--text-muted); white-space:nowrap; }
.apercu { flex:0 0 auto; display:grid; grid-template-columns:repeat(2, 8px); gap:2px; padding:4px; border-radius:.2rem; box-shadow:0 0 0 1px rgba(128,128,128,.35); }
.apercu i { width:8px; height:8px; }

#reglages-fond { display:none; position:fixed; inset:0; z-index:29; }
#reglages-fond.ouvert { display:block; }
#reglages-flottant { display:none; position:absolute; z-index:30; top:calc(100% + .1rem); right:max(.5rem, calc(var(--marge) + var(--pad) - .7rem)); width:min(23rem, calc(100vw - 1rem)); max-height:calc(100vh - var(--entete) - 1rem); overflow:auto; padding:1.1rem; border-radius:.5rem; background:var(--panel-bg); color:var(--text); box-shadow:var(--ombre); transform-origin:100% 0; }
#reglages-flottant.ouvert { display:block; }

/* =====================  MOUVEMENTS  =====================
   Brefs, et toujours pour dire quelque chose.
   À l'arrivée (classe « arrivee » de <html>, posée puis retirée par le script d'en-tête) : les trois carrés des
   sous-onglets se posent, puis le rail du domaine affiché se trace et ses carrés se posent l'un après l'autre :
   la couleur du carré d'un sous-onglet est celle de la liste qu'il commande.
   Quand la page défile : le nom, puis les trois rubriques, montent dans l'en-tête.
   Quand on change de domaine : le bloc s'étire vers la case choisie puis s'y rassemble (son bord avant part le
   premier ; classes « glisse-d » et « glisse-g », site.js), le carré de la case bat une fois, le domaine entre
   du côté d'où il vient, son rail se trace, ses carrés se posent.
   Quand on change de rubrique : les sous-onglets se replient (parcours, contact) ou se déplient (activités) en
   tête de la feuille, qui se déroule du haut vers le bas (classe « deplie », site.js).
   L'adresse de courriel s'écrit lettre à lettre ; un changement de thème se fait en fondu (site.js).
   Rien ne bouge si le lecteur a demandé à son appareil de réduire les animations. */
@media (prefers-reduced-motion:no-preference) {
  html.arrivee .onglets .carre { animation:pose .36s var(--elan) backwards; animation-delay:calc(.12s + var(--i, 0) * .09s); }
  html.arrivee .panneau .fil::before { animation:trace .7s var(--elan) .38s backwards; }
  html.arrivee .panneau .notice::before { animation:pose .28s var(--elan) backwards; animation-delay:calc(.55s + (var(--k, 0) + var(--n, 0)) * .05s); }
  html.glisse-d .onglets ul::before { transition:left .46s var(--elan), right .28s var(--elan); }
  html.glisse-g .onglets ul::before { transition:left .28s var(--elan), right .46s var(--elan); }
  .onglets a.vient .carre { animation:battement .5s var(--elan) .1s; }
  .entre .panneau__intro, .entre > .titre { animation:glisse .36s var(--elan) backwards; }
  .entre .groupe { animation:glisse .4s var(--elan) backwards; animation-delay:calc(.05s + var(--k, 0) * .016s); }
  .entre .fil::before, .deplie .fil::before { animation:trace .6s var(--elan) .12s backwards; }
  .entre .notice::before, .deplie .notice::before { animation:pose .28s var(--elan) backwards; animation-delay:calc(.2s + (var(--k, 0) + var(--n, 0)) * .05s); }
  /* le pli et le dépli */
  html.plie .cadre__barre { transition:grid-template-rows .34s var(--elan), padding-top .34s var(--elan); }
  html.plie .onglets { transition:opacity .14s, visibility 0s .34s; }
  html.plie[data-volet="activites"] .onglets { transition:opacity .28s .06s; }
  .deplie { animation:deroule .44s var(--elan) backwards; }
  #reglages-flottant.ouvert { animation:ouvre .16s var(--elan) backwards; }
}
@keyframes pose { from { transform:scale(0); } }
@keyframes battement { 45% { transform:scale(1.9); } }
@keyframes glisse { from { opacity:0; transform:translateX(calc(var(--sens, 1) * 1.1rem)); } }
@keyframes deroule { from { opacity:0; clip-path:inset(0 0 calc(100% - 3rem) 0); transform:translateY(-.5rem); } to { clip-path:inset(0 -1rem -1rem -2rem); } }
@keyframes trace { from { transform:scaleY(0); } }
@keyframes ouvre { from { opacity:0; transform:scale(.96); } }

/* =====================  POLICES AU CHOIX DU LECTEUR  ===================== */
html.font-solway :is(.lecture, .chapeau, .notice__corps, .ouverture__role, .ouverture__lieu, .coord__texte, .liens span) { font-family:'Solway', serif; font-variant-numeric:normal; }
html.font-solway :is(.lecture, .notice__titre, .notice__lieu, .ouverture__lieu, .coord__texte, .liens span) { font-size:1rem; line-height:1.6; }
html.font-solway :is(.chapeau, .ouverture__role) { font-size:1.18rem; line-height:1.5; }
html.font-solway cite { font-style:normal; }                          /* Solway n'a pas d'italique */
html.font-hyperlegible body, html.font-hyperlegible body * { font-family:'Atkinson Hyperlegible', sans-serif !important; font-variant-numeric:normal; }
html.font-opendyslexic body, html.font-opendyslexic body * { font-family:'OpenDyslexic', sans-serif !important; font-variant-numeric:normal; }
html.font-hyperlegible :is(.lecture, .notice__titre, .notice__lieu, .ouverture__lieu, .coord__texte, .liens span) { font-size:1.03rem; line-height:1.6; }
html.font-opendyslexic :is(.lecture, .notice__titre, .notice__lieu, .ouverture__lieu, .coord__texte, .liens span) { font-size:.95rem; line-height:1.7; }
html.font-hyperlegible :is(.chapeau, .ouverture__role), html.font-opendyslexic :is(.chapeau, .ouverture__role) { font-size:1.18rem; line-height:1.55; }
html.font-hyperlegible :is(.nom, .titre, .coord__courriel, .marque__nom), html.font-opendyslexic :is(.nom, .titre, .coord__courriel, .marque__nom) { letter-spacing:-.01em; }
html.font-hyperlegible body *, html.font-opendyslexic body * { word-spacing:normal; }      /* le resserrement ne vaut que pour la police à chasse fixe */
html.font-opendyslexic .nom { font-size:clamp(1.7rem, 1rem + 3vw, 2.9rem); line-height:1.1; letter-spacing:-.02em; }
html.font-opendyslexic :is(.notice__date, .onglets a, .rubriques a, .renvoi, .groupe__titre, .themes summary, .bouton, .bouton-reglages, .coord__titre, .liens b) { letter-spacing:0; }
html.font-opendyslexic :is(.onglets a, .bouton, .bouton-reglages, .themes summary, .groupe__titre, .coord__titre, .liens b, .marque__nom) { font-size:.78rem; }
html.font-opendyslexic .entete .rubriques a { font-size:.78rem; }
html.font-opendyslexic .rubriques--page a { font-size:.84rem; }
html.font-opendyslexic .onglets ul { width:min(100%, 27rem); }
html.font-opendyslexic .notice__date { font-size:.72rem; white-space:normal; line-height:1.5; padding-top:.3rem; }

/* =====================  ÉCRANS MOYENS ET GRANDS  ===================== */
/* Dans l'en-tête, le nom ne s'écrit que si la ligne a la place de le porter avec les trois rubriques ;
   en deçà, le monogramme le dit seul. */
@media (max-width:47.99rem) { .marque__nom { display:none; } }
@media (max-width:57.99rem) { html.font-opendyslexic .marque__nom { display:none; } }
/* Le contact sur deux colonnes : le courriel et l'adresse, puis les liens. */
@media (min-width:50rem) {
  .coord { grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); column-gap:2.5rem; }
  .coord__ligne:nth-child(3) { grid-column:2; grid-row:1 / span 2; }
}
/* =====================  PETITS ÉCRANS  ===================== */
@media (max-width:39.99rem) {
  :root { --corps-grand:1.25rem; --pad:.9rem; --entete:3rem; }
  .entete__int { gap:.15rem; padding:0 calc(.5rem + var(--pad)); }
  .entete__int::after { left:calc(.5rem - 1px); right:calc(.5rem - 1px); }
  /* dans l'en-tête, la place est comptée : seul le carré de la rubrique ouverte est gardé */
  .entete .rubriques a { padding:0 .36rem; gap:.38rem; font-size:.78125rem; }
  .entete .rubriques .carre { display:none; }
  html[data-volet="activites"] .entete .rubriques a[href="#activites"] .carre,
  html[data-volet="parcours"] .entete .rubriques a[href="#parcours"] .carre,
  html[data-volet="contact"] .entete .rubriques a[href="#contact"] .carre { display:inline-block; }
  html.font-opendyslexic .entete .rubriques a { padding:0 .3rem; gap:.3rem; font-size:.66rem; }
  .rubriques--page { --rp:.55rem; }
  .rubriques--page a { gap:.5rem; }
  html.font-opendyslexic .rubriques--page { --rp:.5rem; }
  html.font-opendyslexic .rubriques--page a { gap:.4rem; font-size:.74rem; }
  .bouton-reglages { margin-right:-.55rem; padding:0 .55rem; }
  .bouton-reglages span { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
  /* la feuille va presque d'un bord à l'autre de l'écran ; le nom et les rubriques restent sur l'axe de son texte */
  .cadre { margin-left:calc(.5rem - var(--marge)); margin-right:calc(.5rem - var(--marge)); }
  .ouverture { margin-left:calc(.5rem + var(--pad) - var(--marge)); padding-left:0; padding-right:0; }
  .rubriques--page { padding:0; margin-left:calc(.5rem + var(--pad) - var(--marge) - var(--rp)); }
  .pied { padding-left:calc(.5rem + var(--pad)); padding-right:calc(.5rem + var(--pad)); }
  .feuille { padding-top:1.25rem; }
  /* le carré au-dessus du nom ; la bande des sous-onglets prend toute la largeur de la feuille */
  .onglets ul { --f1:.321; --f2:.268; --f3:.411; width:min(100%, 23rem); }
  html.font-opendyslexic .onglets ul { --f1:.338; --f2:.255; --f3:.407; }
  .onglets a { flex-direction:column; gap:.32rem; min-height:3.1rem; padding:.5rem .1rem .42rem; font-size:var(--corps-mince); }
  html.font-opendyslexic .onglets a { font-size:.7rem; }
  .fil { padding-left:1.35rem; }
  .notice { grid-template-columns:minmax(0, 1fr); padding:.7rem 0; }
  .notice::before { left:calc(-1.35rem + 4px - .25rem); top:calc(.7rem + .7rem - .25rem); }
  .notice__date { line-height:1.4rem; }
  .notice__date--nom { padding-top:0; }
  .a-venir { display:inline-block; margin:0 0 0 .35rem; }
  .liens a { display:flex; flex-wrap:wrap; align-items:baseline; column-gap:.7rem; }
  .choix-themes { grid-template-columns:1fr; }
}
@media (max-width:21.25rem) {
  .nom { font-size:2rem; }
  .onglets a { font-size:.72rem; }
  html.font-opendyslexic .onglets a { font-size:.62rem; }
  .rubriques--page { --rp:.4rem; }
  .rubriques--page a { gap:.38rem; font-size:var(--corps-petit); }
  html.font-opendyslexic .rubriques--page { --rp:.35rem; }
  html.font-opendyslexic .rubriques--page a { font-size:.66rem; }
  .entete .rubriques a { padding:0 .2rem; gap:.3rem; font-size:.6875rem; }
  html.font-opendyslexic .entete .rubriques a { padding:0 .2rem; font-size:.56rem; }
}

/* =====================  PAGE INTROUVABLE  ===================== */
.introuvable { max-width:var(--largeur); margin:0 auto; padding:clamp(3rem, 14vh, 8rem) var(--pad) 3rem; }
.introuvable h1 { font-family:var(--police-titres); font-weight:700; font-size:clamp(2.25rem, 1.45rem + 3.4vw, 3.5rem); line-height:1; letter-spacing:-.055em; color:var(--nom); }
.introuvable p { margin-top:1.25rem; max-width:32rem; }
@media (max-width:39.99rem) { .introuvable { margin-left:calc(.5rem - var(--marge)); margin-right:calc(.5rem - var(--marge)); } }

/* =====================  MOUVEMENT RÉDUIT, IMPRESSION  ===================== */
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { transition-duration:.01ms !important; animation-duration:.01ms !important; animation-delay:0s !important; }
}
@media print {
  @page { margin:13mm 15mm; }
  :root, html.theme-dark, html.theme-cb-dark { --sol:#fff; --bg:#fff; --surface:#f4f4f6; --text:#000; --text-muted:#444; --link:#000; }
  html.theme-dark, html.theme-cb-dark { color-scheme:light; --moi:#850e68; --domaine-1:#008da2; --domaine-2:#e86f00; --domaine-3:#069a65; }
  html.theme-cb-dark { --moi:#CC79A7; --nom:#000; --domaine-1:#0072B2; --domaine-2:#E69F00; --domaine-3:#009E73; }
  html, body { background:#fff; }
  *, *::before, *::after { animation:none !important; transition:none !important; }      /* sur le papier, rails et carrés sont en place d'emblée */
  body { font-size:10.5pt; }
  :root { --corps-grand:11.5pt; --corps-texte:10.5pt; --B:34mm; --pad:0mm; }
  .entete, .evitement, .rubriques, .cadre__barre, #reglages-flottant, #reglages-fond, .actions, .courriel, .themes summary, .renvoi, .pied p + p { display:none !important; }
  .cadre, .feuille { margin:0; padding:0 !important; border-radius:0; background:none; box-shadow:none; }
  main { padding:0; }
  .ouverture { padding:0 0 4mm; }
  .nom { font-size:26pt; margin-left:0; }
  .panneau, .panneau[hidden] { display:block !important; content-visibility:visible !important; margin-top:0 !important; padding-top:4.5mm; }
  .panneau > .titre { position:static !important; width:auto !important; height:auto !important; clip-path:none !important; white-space:normal !important; font-size:13pt; margin-bottom:2.5mm; break-after:avoid; }
  .panneau--moi { padding-top:5.5mm; }
  .panneau__intro { padding-bottom:2.2mm; }
  .themes { margin-top:2mm; } .themes__encart { margin-top:0; background:none; overflow:visible; } .themes .lecture { padding:0; font-size:10pt; }
  .groupe + .groupe { margin-top:2.8mm; }
  .groupe__titre { break-after:avoid; }
  .notice { break-inside:avoid; padding:1.1mm 0; }
  .notice__lieu { font-size:9.5pt; }
  .coord { gap:2.5mm; }
  #contact { break-inside:avoid; }
  .liens { margin-left:0; } .liens a { padding:.3mm 0; }
  .pied { padding:3mm 0 0; }
  a { text-decoration:none; }
}
