/* victorkalix.com — feuille de style, le design du 26/10/2026 (la v3), posée le 17/11/2026 (205e session)
   Reprise au mot de la feuille des maquettes validées (l'accueil v3 et la page de lecture du 26/10 ; l'accueil à deux
   corpus, la page « Corpus », la page d'un corpus et l'article du 17/11), puis la même langue pour les autres pages.
   Une seule grille, au large : cinq parts pour sept, la même gouttière ; le texte de chaque section sur le même axe.
   Fond blanc, mode nuit (le réglage du système, ou le bouton, dont le choix est gardé dans le seul navigateur).
   Une seule famille, Libertinus Serif. L'ivoire n'habille plus que la couverture, objet du livre, de jour comme de nuit.
   Un seul accent, le sable. Un écho de la couverture : l'étiquette posée sur un filet, le double filet du pied.
   Aucune ressource tierce ; la lecture ne dépend pas de JavaScript (le bouton du mode nuit, seul, en use).
   L'impression se fait aux couleurs du jour. */

:root {
  color-scheme: light;
  --fond: #ffffff;
  --surface: #f7f6f2;
  --texte: #1d1c19;
  --encre: #0c0c0b;
  --sourdine: #5f5b52;
  --filet: #e6e3dc;
  --champ: #8a857a;
  --accent: #866a3a;
  --bouton: #0c0c0b;
  --bouton-texte: #ffffff;
  --bouton-survol: #34322e;
  --ombre-couverture: 0 1px 2px rgb(0 0 0 / .16), 0 14px 34px rgb(0 0 0 / .13);
  --c-ivoire: #fff8df;
  --c-encre: #000000;
  --police: "Libertinus Serif", "Liberation Serif", "Times New Roman", Times, serif;
  --max: 70rem;
  --gouttiere: clamp(1.25rem, 5vw, 3rem);
  --fleche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 10h13.2M11.4 5.2 16.2 10l-4.8 4.8' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --fond: #121211;
    --surface: #1a1a18;
    --texte: #e7e4dc;
    --encre: #f6f3eb;
    --sourdine: #a8a296;
    --filet: #2d2c29;
    --champ: #77726a;
    --accent: #cfae74;
    --bouton: #f6f3eb;
    --bouton-texte: #121211;
    --bouton-survol: #d6d2c8;
    --ombre-couverture: 0 0 0 1px rgb(255 255 255 / .06), 0 18px 40px rgb(0 0 0 / .55);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --fond: #121211;
  --surface: #1a1a18;
  --texte: #e7e4dc;
  --encre: #f6f3eb;
  --sourdine: #a8a296;
  --filet: #2d2c29;
  --champ: #77726a;
  --accent: #cfae74;
  --bouton: #f6f3eb;
  --bouton-texte: #121211;
  --bouton-survol: #d6d2c8;
  --ombre-couverture: 0 0 0 1px rgb(255 255 255 / .06), 0 18px 40px rgb(0 0 0 / .55);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 106.25%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--police);
  line-height: 1.6;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.saut { position: absolute; left: -999rem; top: .5rem; z-index: 20; background: var(--bouton); color: var(--bouton-texte); padding: .5rem 1rem; }
.saut:focus { left: .5rem; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.contenu { max-width: var(--max); margin: 0 auto; padding: 0 var(--gouttiere); }
.glyphe { display: block; fill: currentColor; }

/* ---------- La barre ---------- */

.barre { background: var(--fond); border-bottom: 1px solid var(--filet); }
.barre-in {
  max-width: var(--max); margin: 0 auto; padding: .85rem var(--gouttiere);
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "marque theme" "nav nav";
  align-items: center; gap: .45rem 1rem;
}
.marque { grid-area: marque; justify-self: start; display: inline-flex; align-items: center; gap: .6rem; color: var(--encre); text-decoration: none; font-size: 1.42rem; line-height: 1; }
.marque .glyphe { width: 1.7rem; height: 1.7rem; }
.barre nav { grid-area: nav; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .2rem 1.4rem; font-size: 1rem; }
.menu a { color: var(--texte); text-decoration: none; padding: .3rem 0; border-bottom: 1px solid transparent; }
.menu a:hover { border-bottom-color: currentColor; }
.theme {
  grid-area: theme; width: 2.4rem; height: 2.4rem; padding: 0;
  display: inline-grid; place-items: center;
  background: transparent; color: var(--encre); border: 1px solid var(--filet); border-radius: 50%; cursor: pointer;
}
.theme:hover { border-color: var(--encre); }
.theme svg { width: 1.05rem; height: 1.05rem; }
.theme .soleil { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme .lune { display: none; }
  :root:not([data-theme="light"]) .theme .soleil { display: block; }
}
:root[data-theme="dark"] .theme .lune { display: none; }
:root[data-theme="dark"] .theme .soleil { display: block; }

/* ---------- L'ouverture : la devise à gauche, le texte à droite, sur la grille de la page ---------- */

.ouverture { padding: clamp(2.6rem, 7vw, 5.5rem) 0 clamp(3.4rem, 8vw, 6.5rem); }
.ouverture-grille { display: grid; gap: 2rem; grid-template-areas: "titre" "texte" "action"; }
.ouverture-titre { grid-area: titre; container-type: inline-size; }
.ouverture .description { grid-area: texte; }
.ouverture .actions { grid-area: action; margin: 0; }
/* la taille suit la colonne : « Instituer ses formes. », la plus longue des lignes qui restent entières, mesure 8 em */
.accroche {
  margin: 0; font-weight: 400; color: var(--encre);
  font-size: clamp(2.1rem, 11.9cqi, 4.1rem); line-height: 1.06; letter-spacing: -.012em;
}
.accroche span { display: block; text-wrap: balance; }
.accroche span:first-child { color: var(--accent); }
.description { max-width: 40rem; font-size: 1.12rem; line-height: 1.62; hyphens: auto; -webkit-hyphens: auto; }
.description p { margin: 0 0 1em; }
.description p:last-child { margin-bottom: 0; }
/* l'alignement optique : une colonne commence à la hauteur des capitales, et finit sur sa dernière ligne de base
   (text-box ; un navigateur qui l'ignore garde l'interligne, l'écart y reste de quelques pixels) */
.accroche span:first-child, .description p:first-child, .deux > h2, .extrait p:first-child {
  text-box-trim: trim-start; text-box-edge: cap alphabetic;
}
.accroche span:last-child, .description p:last-child { text-box-trim: trim-end; text-box-edge: cap alphabetic; }

/* ---------- Boutons et liens ---------- */

.bouton {
  display: inline-flex; align-items: center; gap: .6em;
  font: inherit; font-size: 1rem; line-height: 1;
  padding: .85rem 1.3rem; border-radius: 3px;
  background: var(--bouton); color: var(--bouton-texte); border: 1px solid var(--bouton);
  text-decoration: none; cursor: pointer;
}
.bouton:hover { background: var(--bouton-survol); border-color: var(--bouton-survol); }
.lien { display: inline-flex; align-items: center; gap: .5em; color: var(--encre); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .12rem; }
.lien:hover { color: var(--accent); }
.fleche::after {
  content: ""; width: 1.05em; height: 1.05em; flex: none; background: currentColor;
  -webkit-mask: var(--fleche) no-repeat center / contain; mask: var(--fleche) no-repeat center / contain;
}

/* ---------- Les sections ---------- */

.section { padding: 0 0 clamp(3.6rem, 9vw, 6.5rem); }
.etiquette {
  display: flex; align-items: center; gap: 1rem;
  margin: 0 0 clamp(1.6rem, 4vw, 2.6rem);
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sourdine);
}
.etiquette::after { content: ""; flex: 1; height: 1px; background: var(--filet); }
.deux { display: grid; gap: 1.5rem; }
.section h2 {
  margin: 0; font-weight: 400; color: var(--encre);
  font-size: clamp(1.7rem, 1.05rem + 2.2vw, 2.55rem); line-height: 1.13; letter-spacing: -.008em; text-wrap: balance;
}
.section h2 a { text-decoration: none; }
.section h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.extrait { font-size: 1.08rem; line-height: 1.66; hyphens: auto; -webkit-hyphens: auto; }
.extrait p { margin: 0 0 1.5rem; }

/* La couverture : un objet, qui garde ses couleurs de jour comme de nuit */
.corpus-grille { display: grid; gap: 2.6rem; align-items: center; }
.couverture {
  width: 100%; max-width: 15.5rem; aspect-ratio: 1748 / 2480; margin: 0 auto; padding: 5.5%;
  display: flex; color: var(--c-encre); text-decoration: none; background: var(--c-ivoire);
  box-shadow: var(--ombre-couverture); container-type: inline-size;
}
.couverture span { display: block; }
.couverture .c-cadre {
  flex: 1; width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1.08;
  border: 1px solid var(--c-encre); box-shadow: inset 0 0 0 2px var(--c-ivoire), inset 0 0 0 3px var(--c-encre);
}
.couverture .c-nom { position: relative; background: var(--c-ivoire); padding: 0 .5em; margin-top: -.6em; font-size: 8.2cqw; }
.couverture .c-corps { margin: auto 0; padding: 0 4cqw; }
.couverture .c-rang { font-style: italic; font-size: 4.4cqw; margin-bottom: 7cqw; }
.couverture .c-titre .m { font-size: 8.6cqw; }
.couverture .c-titre .g { font-size: 11.6cqw; }
.couverture .c-titre .p { font-size: 6.6cqw; margin: 1.2cqw 0; }
.couverture .c-mention { font-size: 4.6cqw; margin-top: 7cqw; }
.couverture .glyphe { width: 11cqw; height: 11cqw; margin: 6cqw auto 0; }
.section .phrase-unique { font-size: clamp(1.45rem, 1rem + 1.6vw, 2.05rem); line-height: 1.28; margin: 0 0 2rem; }

.pensee-une { margin: 0 0 2rem; padding: .15rem 0 .15rem clamp(1.2rem, 3vw, 2rem); border-left: 2px solid var(--accent); max-width: 50rem; }
.pensee-une p { margin: 0; font-style: italic; color: var(--encre); font-size: clamp(1.45rem, 1rem + 1.7vw, 2.05rem); line-height: 1.32; text-wrap: balance; }

/* ---------- La lettre ---------- */

.lettre { background: var(--surface); border-top: 1px solid var(--filet); padding: clamp(3rem, 7vw, 5rem) 0; }
.lettre-grille { display: grid; gap: 1.6rem; align-items: center; }
.lettre h2 { margin: 0 0 .7rem; font-weight: 400; color: var(--encre); font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.2rem); line-height: 1.15; }
.lettre p { margin: 0; max-width: 32rem; }
.lettre form { display: flex; flex-direction: column; gap: .7rem; }
.lettre input[type="email"] {
  flex: 1; min-width: 0; font: inherit; font-size: 1rem; padding: .8rem 1rem;
  background: var(--fond); color: var(--encre); border: 1px solid var(--champ); border-radius: 3px;
}
.lettre input::placeholder { color: var(--sourdine); opacity: 1; }
.lettre input:focus-visible { outline-offset: 1px; }
.lettre .bouton { justify-content: center; }
.lettre form > label { position: absolute; left: -999rem; }
.pot { position: absolute; left: -999rem; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Le pied : le double filet de la couverture ---------- */

.pied {
  padding: clamp(2.6rem, 6vw, 3.6rem) 0 2.6rem; font-size: .92rem; color: var(--sourdine);
  border-top: 1px solid var(--encre); box-shadow: inset 0 3px 0 var(--fond), inset 0 4px 0 var(--encre);
}
.pied-grille { display: grid; gap: 1.4rem; }
.pied p { margin: .3rem 0; }
.pied a { color: inherit; white-space: nowrap; }
.pied .sep::before { content: " · "; }
.pied .glyphe { width: 2rem; height: 2rem; color: var(--encre); margin-bottom: .9rem; }
.pied .pied-devise { font-style: italic; color: var(--texte); }   /* le sous-titre, qui était en tête de chaque page */

/* ---------- Au large ---------- */

@media (min-width: 36rem) {
  .lettre form { flex-direction: row; }
}
@media (min-width: 44rem) {
  html { font-size: 112.5%; }
}
@media (min-width: 52rem) {
  .barre {
    position: sticky; top: 0; z-index: 10;
    background: color-mix(in srgb, var(--fond) 86%, transparent);
    -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  }
  .barre-in { grid-template-columns: auto 1fr auto; grid-template-areas: "marque nav theme"; padding-top: 1.05rem; padding-bottom: 1.05rem; gap: 1rem 2.4rem; }
  .menu { justify-content: flex-end; gap: .2rem 2.1rem; }
  .corpus-grille { grid-template-columns: minmax(12rem, 15.5rem) 1fr; gap: 4.5rem; }
  .pied-grille { grid-template-columns: 1fr auto; align-items: end; }
  .pied-grille > :last-child { text-align: right; }
}
@media (min-width: 60rem) {
  /* la grille de la page : cinq parts pour sept, la même gouttière, pour l'ouverture, l'article, le corpus et la lettre */
  .ouverture-grille {
    grid-template-columns: 5fr 7fr; gap: 0 4rem;
    grid-template-areas: "titre texte" "action texte"; grid-template-rows: auto 1fr;
  }
  .ouverture .actions { align-self: end; padding-top: 2.2rem; }
  .deux { grid-template-columns: 5fr 7fr; gap: 4rem; }
  .corpus-grille { grid-template-columns: 5fr 7fr; gap: 4rem; }
  .couverture { margin: 0; }
  .description, .extrait { hyphens: manual; -webkit-hyphens: manual; }   /* au large, le fer à gauche se passe de césure */
  .lettre-grille { grid-template-columns: 5fr 7fr; gap: 4rem; }
}
@media (min-width: 72rem) {
  html { font-size: 118.75%; }
}

/* ---------- La page de lecture (la page d'un essai, validée le 26/10) ---------- */

.lecture { padding: clamp(2.4rem, 6vw, 4.6rem) 0 clamp(3rem, 7vw, 5rem); }
.lecture .etiquette a { color: inherit; text-decoration: none; }
.lecture .etiquette a:hover { text-decoration: underline; }
.lecture-tete { margin: 0 0 clamp(2.2rem, 5vw, 3.6rem); max-width: 58rem; }
.lecture-tete h1 {
  margin: 0; font-weight: 400; color: var(--encre);
  font-size: clamp(2.2rem, 1.1rem + 3.9vw, 3.9rem); line-height: 1.05; letter-spacing: -.012em; text-wrap: balance;
}
.lecture-tete h1 .t1 { display: block; }
.lecture-tete h1 .t2 { display: block; margin-top: .45em; font-size: .46em; line-height: 1.3; font-style: italic; color: var(--texte); letter-spacing: 0; }
.duree { margin: 1.3rem 0 0; font-size: .9rem; color: var(--sourdine); }
.lecture-grille { display: grid; gap: 1.6rem; }
.sommaire-fixe { display: none; }
.sommaire { border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); margin: 0 0 2.2rem; font-size: .98rem; }
.sommaire summary { cursor: pointer; padding: .8rem 0; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sourdine); }
.sommaire ol, .sommaire-fixe ol { list-style: none; margin: 0 0 1rem; padding: 0; }
.sommaire li, .sommaire-fixe li { margin: .45rem 0; line-height: 1.35; }
.sommaire li li, .sommaire-fixe li li { margin-left: 1.1rem; font-style: italic; font-size: .95em; }
.sommaire a, .sommaire-fixe a { color: var(--texte); text-decoration: none; }
.sommaire a:hover, .sommaire-fixe a:hover { color: var(--accent); text-decoration: underline; }
.sommaire-titre { margin: 0 0 .9rem; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sourdine); }

.texte { max-width: 38rem; font-size: 1.12rem; line-height: 1.66; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 7 3 3; }
.texte p { margin: 0 0 1.1em; }
.texte h2 { margin: 0 0 1rem; font-weight: 400; color: var(--encre); font-size: clamp(1.45rem, 1.1rem + 1vw, 1.75rem); line-height: 1.2; text-wrap: balance; hyphens: manual; -webkit-hyphens: manual; }
.texte h3 { margin: 2.2rem 0 .7rem; font-weight: 400; font-style: italic; color: var(--encre); font-size: 1.2rem; line-height: 1.3; hyphens: manual; -webkit-hyphens: manual; }
.texte hr { border: 0; border-top: 1px solid var(--encre); border-bottom: 1px solid var(--encre); height: 4px; width: 3rem; margin: 3rem 0 2.4rem; }
.texte blockquote { margin: 1.6em 0; padding: 0 0 0 1.2em; border-left: 2px solid var(--accent); font-style: italic; }
.texte blockquote em { font-style: normal; }
.texte ul, .texte ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.texte li { margin-bottom: .5em; }
.texte a { overflow-wrap: anywhere; }
.texte > p:first-child em:only-child, .texte > p:first-child + p em:only-child { color: var(--sourdine); }
.texte > p:first-child, .texte > p:first-child + p { hyphens: manual; -webkit-hyphens: manual; }   /* le chapeau ne se coupe pas */
.texte hr:last-of-type ~ p { font-size: .92rem; color: var(--sourdine); text-align: left; hyphens: manual; -webkit-hyphens: manual; }
.texte hr:last-of-type ~ p a { color: inherit; }
.texte hr:last-of-type ~ p.droits { font-size: .82rem; margin-top: .35em; }
.tableau { margin: 1.8rem 0; }
.tableau table { width: 100%; border-collapse: collapse; font-size: .98rem; line-height: 1.45; hyphens: manual; -webkit-hyphens: manual; }
.tableau thead { position: absolute; left: -999rem; }
.tableau tr { display: block; border-top: 1px solid var(--filet); padding: 1rem 0 .3rem; }
.tableau td { display: block; padding: 0 0 .75rem; }
.tableau td::before { content: attr(data-label); display: block; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sourdine); margin-bottom: .15rem; }
.tableau td:first-child::before { content: none; }
.tableau td:first-child { font-size: 1.06rem; color: var(--encre); }

.pied-texte { margin-top: 3.2rem; max-width: 38rem; }
.qui-ecrit { margin: 0 0 1.8rem; font-style: italic; }
.voisins { display: grid; gap: 1rem; margin: 0 0 1.6rem; padding: 0; list-style: none; }
.voisins a { display: block; padding: 1rem 1.1rem; border: 1px solid var(--filet); border-radius: 3px; text-decoration: none; line-height: 1.35; }
.voisins a:hover { border-color: var(--encre); }
.voisins .vl { display: block; margin-bottom: .3rem; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sourdine); }
.voisins .vt { color: var(--encre); font-size: 1.08rem; }
.voisins .suiv { text-align: right; }
.liens-pied { color: var(--sourdine); font-size: .95rem; }
.liens-pied a { color: inherit; }
.liens-pied span + span::before { content: " · "; }

@media (min-width: 44rem) {
  .voisins { grid-template-columns: 1fr 1fr; }
  .tableau thead { position: static; }
  .tableau tr { display: table-row; border: 0; padding: 0; }
  .tableau th, .tableau td { display: table-cell; padding: .75rem .8rem .75rem 0; vertical-align: top; text-align: left; border-top: 1px solid var(--filet); }
  .tableau th { font-weight: 400; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sourdine); border-top: 1px solid var(--encre); border-bottom: 1px solid var(--encre); }
  .tableau td::before { content: none; }
  .tableau td:first-child { font-size: inherit; width: 30%; }
}
@media (min-width: 52rem) {
  html { scroll-padding-top: 6.5rem; }   /* la barre fixe ne cache pas le titre qu'un lien du sommaire atteint */
}
@media (min-width: 60rem) {
  .lecture-grille { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; }
  .sommaire-fixe { display: block; position: sticky; top: 6.5rem; max-height: calc(100vh - 8.5rem); overflow: auto; padding-right: 1rem; font-size: .95rem; }
  .lecture-corps > .sommaire { display: none; }
  .lecture.justifie .texte p, .lecture.justifie .texte li, .lecture.justifie .texte blockquote { text-align: justify; }
  .lecture .texte > p:first-child, .lecture .texte > p:first-child + p { text-align: left; hyphens: manual; -webkit-hyphens: manual; }   /* le chapeau en italique ne se justifie pas */
}

/* ---------- Les pages à deux corpus : l'accueil, « Corpus », la page d'un corpus, un article (maquettes du 17/11) ---------- */

.page { padding: clamp(2.4rem, 6vw, 4.6rem) 0 clamp(3rem, 7vw, 5rem); }
.page .etiquette a, .section .etiquette a { color: inherit; text-decoration: none; }
.page .etiquette a:hover { text-decoration: underline; }
.page-tete h1 {
  margin: 0 0 clamp(2.2rem, 5vw, 3.6rem); font-weight: 400; color: var(--encre);
  font-size: clamp(2.2rem, 1.1rem + 3.9vw, 3.9rem); line-height: 1.05; letter-spacing: -.012em;
}
.corpus-liste, .blocs { display: grid; gap: clamp(3rem, 7vw, 4.5rem); }
.corpus-liste > * + *, .blocs > * + * { padding-top: clamp(3rem, 7vw, 4.5rem); border-top: 1px solid var(--filet); }
.etat { margin: 0 0 1rem; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sourdine); }
.corpus-liste h2, .corpus-liste h3, .blocs h2 {
  margin: 0 0 2rem; font-weight: 400; color: var(--encre);
  font-size: clamp(1.45rem, 1rem + 1.6vw, 2.05rem); line-height: 1.28; text-wrap: balance;
}
.corpus-titre {
  margin: 0 0 1.4rem; font-weight: 400; color: var(--encre);
  font-size: clamp(2rem, 1rem + 3.2vw, 3.3rem); line-height: 1.07; letter-spacing: -.01em; text-wrap: balance;
}
.corpus-tete .phrase-unique { margin: 0 0 2rem; font-size: clamp(1.2rem, 1rem + .9vw, 1.5rem); line-height: 1.4; }
.couverture-inerte { cursor: default; }
.page .section { padding-top: clamp(3.6rem, 9vw, 6rem); padding-bottom: 0; }

/* le sommaire du corpus : les groupes en étiquettes, une pièce par ligne */
.tm { list-style: none; margin: 0; padding: 0; }
.tm-groupe {
  display: flex; align-items: center; gap: 1rem; margin: 2.4rem 0 .2rem;
  font-weight: 400; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sourdine);
}
.tm-groupe::after { content: ""; flex: 1; height: 1px; background: var(--filet); }
.tm li:first-child .tm-piece { border-top: 1px solid var(--filet); }
.tm-piece {
  display: grid; grid-template-columns: 2.4rem 1fr; gap: 0 .8rem; padding: 1rem 0;
  border-bottom: 1px solid var(--filet); color: var(--texte); text-decoration: none;
}
.tm-rang { color: var(--accent); font-size: 1.1rem; line-height: 1.3; }
.tm-titre { display: block; color: var(--encre); font-size: 1.18rem; line-height: 1.3; }
.tm-compl { display: block; margin-top: .2rem; font-style: italic; line-height: 1.4; }
.tm-duree { display: block; margin-top: .3rem; font-size: .88rem; color: var(--sourdine); }
.tm-piece:hover .tm-titre { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }

/* l'encart : la licence, puis l'édition PDF */
.encart { padding: clamp(1.4rem, 3vw, 2rem); background: var(--surface); border: 1px solid var(--filet); border-radius: 3px; }
.encart p { margin: 0 0 1rem; }
.encart p:last-child { margin-bottom: 0; }
.edition { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; margin: 1.4rem 0 0 !important; }
.edition .meta { color: var(--sourdine); font-size: .92rem; }

/* un article : le titre à gauche, le texte sur l'axe ; pas de chapeau, donc pas d'italique grisé en tête */
.article-tete h1 { font-size: clamp(2rem, 1.1rem + 2.8vw, 3.1rem); }
.article .texte > p:first-child em:only-child, .article .texte > p:first-child + p em:only-child { color: inherit; }

/* ---------- Les autres pages, dans la même langue ---------- */

/* la liste des articles : le titre à gauche, l'extrait à droite */
.blocs .meta { margin: -1.2rem 0 0; font-size: .92rem; color: var(--sourdine); }
.blocs h2 a { text-decoration: none; }
.blocs h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }

/* les pensées : l'intention de chaque groupe à gauche, les pensées sur l'axe, leur numéro au sable */
.pensees-groupe + .pensees-groupe { padding-top: clamp(3.6rem, 9vw, 6rem); }
.pensees-groupe h2 { margin-bottom: clamp(1.6rem, 4vw, 2.6rem); font-weight: 400; }
.pensees-intro { margin: 0; font-style: italic; color: var(--sourdine); font-size: 1.12rem; line-height: 1.5; }
.pensees { margin: 0; padding: 0; }
.pensee { display: grid; grid-template-columns: 2.6rem 1fr; gap: 0 .8rem; margin: 0; padding: 1.3rem 0; border-top: 1px solid var(--filet); }
.pensee:last-child { border-bottom: 1px solid var(--filet); }
.pensee .num { color: var(--accent); text-decoration: none; font-size: 1.05rem; line-height: 1.55; }
.pensee .num:hover { text-decoration: underline; }
.pensee blockquote { margin: 0; }
.pensee blockquote p { margin: 0; font-style: italic; color: var(--encre); font-size: clamp(1.2rem, 1rem + .7vw, 1.45rem); line-height: 1.4; }
.pensees-colophon { padding-top: clamp(2.4rem, 6vw, 3.6rem); }
.pensees-colophon .texte hr { margin-top: 0; }

/* l'à-propos, les mentions : la page d'un article, en fer à gauche */
.contact { margin: 2.4rem 0 0; padding-top: 1.6rem; border-top: 1px solid var(--filet); }

/* la page introuvable, les réponses de la lettre */
.page .texte .bouton { margin-top: .6rem; }

@media (min-width: 60rem) {
  .article .lecture-tete { position: sticky; top: 6.5rem; margin: 0; }
  /* un article n'a pas de chapeau : ses premiers paragraphes se justifient comme les autres */
  .lecture.justifie .article .texte > p:first-child, .lecture.justifie .article .texte > p:first-child + p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
  .corpus-tete { align-items: start; }
  .blocs .meta { margin-top: -1.2rem; }
}

/* ---------- L'impression : le texte, aux couleurs du jour, quel que soit le mode de l'écran ---------- */

@media print {
  :root, :root:not([data-theme="light"]), :root[data-theme="dark"] {
    color-scheme: light;
    --fond: #ffffff; --surface: #ffffff; --texte: #000000; --encre: #000000; --sourdine: #444444;
    --filet: #bbbbbb; --champ: #888888; --accent: #6b542d;
  }
  html { font-size: 11pt; scroll-padding-top: 0; }
  body { background: #fff; color: #000; }
  .barre, .lettre, .pied, .saut, .theme, .sommaire, .sommaire-fixe, .pied-texte, .actions, .lecture-tete .duree { display: none !important; }
  .lecture, .page, .ouverture, .section { padding-top: 0; }
  .contenu { max-width: none; padding: 0; }
  .lecture-grille, .deux, .corpus-grille, .ouverture-grille { display: block; }
  .article .lecture-tete { position: static; }
  .lecture-tete { margin-bottom: 1.6rem; }
  .texte, .pied-texte { max-width: none; font-size: 11pt; line-height: 1.5; }
  .texte p, .texte li, .texte blockquote { text-align: justify; }
  .texte > p:first-child, .texte > p:first-child + p { text-align: left; }
  .texte a { text-decoration: none; }
  h1, h2, h3 { break-after: avoid; }
  p { orphans: 3; widows: 3; }
  .couverture { box-shadow: none; border: 1px solid #000; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .tableau thead { position: static; }
  .tableau tr { display: table-row; border: 0; padding: 0; }
  .tableau th, .tableau td { display: table-cell; padding: .4rem .5rem .4rem 0; vertical-align: top; text-align: left; border-top: 1px solid #999; }
  .tableau td::before { content: none; }
}
