/*
 * admin-systeme : feuille de style unique (10/11/2026).
 *
 * Idée : le carnet de bord d'un admin sys. L'élément marquant est le RUBAN d'étiqueteuse
 * (noir sur jaune, celui qu'on colle sur les câbles et les serveurs) : logo, sujets, langage
 * des blocs de code. Tout le reste est calme : papier gris froid, encre bleu nuit, une seule
 * couleur de lien. Une seule animation : le ruban de l'accueil qui « sort » de l'étiqueteuse.
 *
 * Lecture : colonne de 68 caractères, police Atkinson Hyperlegible (conçue pour la lisibilité),
 * texte fluide 17→20 px, interligne 1,65, code en Atkinson Hyperlegible Mono.
 */

@font-face { font-family: "Atkinson Hyperlegible Next"; src: url(../fonts/atkinson-next.woff2) format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url(../fonts/atkinson-next-italic.woff2) format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Mono"; src: url(../fonts/atkinson-mono.woff2) format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
	--papier: #F2F4F3;
	--surface: #FFFFFF;
	--encre: #18212C;
	--attenue: #56616E;
	--filet: #D3D9D7;
	--lien: #1F55C4;
	--lien-survol: #163E91;
	--ruban: #F6D03C;
	--ruban-encre: #18212C;
	--code-fond: #1B2531;
	--code-encre: #E4EAF0;
	--code-attenue: #9AA7B5;
	--avis-fond: #FFF4C7;
	--focus: #1F55C4;

	--texte: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
	--mono: "Atkinson Hyperlegible Mono", ui-monospace, "DejaVu Sans Mono", monospace;

	--taille: clamp(1.0625rem, 0.97rem + 0.35vw, 1.25rem);
	--mesure: 36em; /* ≈ 70 caractères : en Atkinson, 1ch (largeur du 0) est plus large que la lettre moyenne */
	--large: 76rem;
	--gouttiere: clamp(1rem, 4vw, 2.5rem);

	color-scheme: light dark;
}

/* Thème sombre : automatique, ou choisi par le bouton (data-theme). */
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="clair"]) {
		--papier: #121A22; --surface: #18222C; --encre: #E3E8EC; --attenue: #9CA8B4; --filet: #2B3743;
		--lien: #8DB4FF; --lien-survol: #B8D0FF; --code-fond: #0D141B; --code-encre: #E4EAF0; --code-attenue: #8C99A6;
		--avis-fond: #2E2A16; --focus: #8DB4FF;
	}
}
:root[data-theme="sombre"] {
	--papier: #121A22; --surface: #18222C; --encre: #E3E8EC; --attenue: #9CA8B4; --filet: #2B3743;
	--lien: #8DB4FF; --lien-survol: #B8D0FF; --code-fond: #0D141B; --code-encre: #E4EAF0; --code-attenue: #8C99A6;
	--avis-fond: #2E2A16; --focus: #8DB4FF;
	color-scheme: dark;
}
:root[data-theme="clair"] { color-scheme: light; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1.5rem; }
body {
	margin: 0;
	background: var(--papier);
	color: var(--encre);
	font-family: var(--texte);
	font-size: var(--taille);
	line-height: 1.65;
	font-feature-settings: "kern";
	text-rendering: optimizeLegibility;
	overflow-wrap: break-word;
}
img, svg, video, iframe { max-width: 100%; height: auto; }
a { color: var(--lien); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: var(--lien-survol); text-decoration-thickness: 0.14em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 750; letter-spacing: -0.01em; text-wrap: balance; }
p, li { text-wrap: pretty; }
hr { border: 0; border-top: 1px solid var(--filet); margin: 2.5em 0; }

.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.evitement { position: absolute; left: 1rem; top: -4rem; background: var(--surface); padding: .5rem 1rem; z-index: 10; }
.evitement:focus { top: 1rem; }

/* ---------- Le ruban d'étiqueteuse ---------- */
.ruban {
	display: inline-block;
	background: var(--ruban);
	color: var(--ruban-encre);
	font-family: var(--mono);
	font-size: 0.78em;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.02em;
	padding: 0.32em 0.7em 0.3em;
	border-radius: 3px;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: inset 0 -1px 0 rgb(0 0 0 / 0.12);
}
a.ruban:hover { color: var(--ruban-encre); background: #FFE06B; text-decoration: none; }
.ruban--logo { font-size: 1.05rem; padding: 0.4em 0.8em 0.36em; }
.ruban--grand { font-size: clamp(1rem, 0.8rem + 1vw, 1.5rem); padding: 0.4em 0.9em 0.36em; }

/* ---------- En-tête ---------- */
.entete { border-bottom: 1px solid var(--filet); }
.entete__dedans {
	max-width: var(--large);
	margin: 0 auto;
	padding: 1rem var(--gouttiere);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 2rem;
}
.logo { text-decoration: none; flex: none; }
.nav { flex: 1 1 auto; min-width: 0; }
.nav__liste { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem 1.5rem; flex-wrap: wrap; }
.nav__liste a { color: var(--encre); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 0.3rem 0; border-bottom: 2px solid transparent; }
.nav__liste a:hover, .nav__liste .current-menu-item a { border-bottom-color: var(--ruban); }
.entete__outils { display: flex; align-items: center; gap: 0.5rem; }
.recherche input[type="search"] {
	font: inherit; font-size: 0.9rem; color: var(--encre);
	background: var(--surface); border: 1px solid var(--filet); border-radius: 4px;
	padding: 0.4rem 0.7rem; width: 12rem; max-width: 100%;
}
.bascule-theme {
	display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem;
	background: transparent; color: var(--encre); border: 1px solid var(--filet); border-radius: 4px; cursor: pointer;
}
.bascule-theme:hover { border-color: var(--encre); }
.lien-recherche { display: none; color: var(--encre); font-weight: 600; font-size: 0.95rem; }

@media (max-width: 44rem) {
	.entete__dedans { gap: 0.75rem 1rem; }
	.nav { order: 3; flex-basis: 100%; overflow-x: auto; }
	.nav__liste { flex-wrap: nowrap; }
	.nav__liste a { white-space: nowrap; }
	.entete__outils { margin-left: auto; gap: 1rem; }
	.entete .recherche { display: none; }
	.lien-recherche { display: inline; }
}

/* ---------- Accueil : la une ---------- */
.une { border-bottom: 1px solid var(--filet); }
.une__dedans { max-width: var(--large); margin: 0 auto; padding: clamp(2.5rem, 7vw, 6rem) var(--gouttiere) clamp(2rem, 5vw, 4rem); }
.une__ruban { margin: 0 0 1.5rem; }
.une__titre {
	font-size: clamp(2.3rem, 1.2rem + 5vw, 5.2rem);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -0.03em;
	max-width: 17ch;
	margin: 0 0 1.5rem;
}
.une__chapo { font-size: 1.15em; max-width: 58ch; color: var(--encre); margin: 0 0 2rem; }
.uptime {
	font-family: var(--mono); font-size: 0.88rem; color: var(--attenue);
	margin: 0; display: flex; flex-wrap: wrap; gap: 0.2rem 0.9rem;
	border-top: 1px dashed var(--filet); padding-top: 1rem; max-width: 46rem;
}
.uptime__invite { color: var(--encre); font-weight: 700; }

/* Accueil : texte + portrait */
.une__dedans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem 4rem; align-items: center; }
@media (min-width: 60rem) { .une__dedans { grid-template-columns: minmax(0, 1fr) 20rem; } }
.une__titre { max-width: 15ch; }
.portrait { margin: 0; position: relative; justify-self: start; width: min(9rem, 40vw); order: -1; }
@media (min-width: 60rem) { .portrait { order: 0; } }
@media (min-width: 60rem) { .portrait { width: 20rem; justify-self: end; } }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 6px; background: var(--surface); filter: saturate(0.92); }
.portrait figcaption { position: absolute; left: -0.6rem; bottom: 0.8rem; transform: rotate(-4deg); white-space: nowrap; }
.portrait figcaption .ruban { font-size: 0.85rem; box-shadow: 0 2px 6px rgb(0 0 0 / 0.18); }

.boutons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0 0 2rem; }
.bouton {
	display: inline-block; font-weight: 700; text-decoration: none; color: var(--encre);
	border: 2px solid var(--encre); border-radius: 4px; padding: 0.6rem 1.1rem; line-height: 1.2;
}
.bouton:hover { color: var(--encre); background: var(--surface); text-decoration: none; }
.bouton--plein { background: var(--encre); color: var(--papier); }
.bouton--plein:hover { background: var(--lien-survol); border-color: var(--lien-survol); color: #fff; }

/* Ce que j'apporte : quatre lignes, pas de cartes */
.apports { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr)); gap: 0 3rem; }
.apports li { border-top: 3px solid var(--encre); padding: 1.1rem 0 1.6rem; }
.apports h3 { font-size: clamp(1.2rem, 1rem + 0.8vw, 1.55rem); margin: 0.8rem 0 0.5rem; }
.apports p { margin: 0; color: var(--attenue); max-width: 60ch; }

.contenu .apports { padding: 0; margin: 1rem 0 2.5rem; grid-template-columns: minmax(0, 1fr); }
.contenu .apports li { margin: 0; }
.contenu .apports li::marker { content: none; }

/* L'étiqueteuse imprime le ruban, une fois, par à-coups. */
@media (prefers-reduced-motion: no-preference) {
	.une__ruban .ruban { animation: impression 1.1s steps(18, end) 0.15s both; }
	@keyframes impression {
		from { clip-path: inset(0 100% 0 0 round 3px); }
		to { clip-path: inset(0 0 0 0 round 3px); }
	}
}

/* ---------- Blocs et listes ---------- */
.bloc { max-width: var(--large); margin: 0 auto; padding: clamp(2rem, 5vw, 3.5rem) var(--gouttiere); }
.bloc + .bloc { border-top: 1px solid var(--filet); }
.bloc__entete { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1.5rem; margin-bottom: 1.25rem; }
.bloc__entete h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); margin: 0; }
.bloc__entete p { margin: 0; color: var(--attenue); }
.bloc__entete--page { display: block; max-width: var(--mesure); margin-bottom: 2rem; }
.bloc__entete--page h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); margin: 0.5rem 0 0.75rem; letter-spacing: -0.02em; }
.bloc__intro { color: var(--attenue); }
.bloc__sous-titre { font-size: 1.3rem; }
.bloc__suite { margin: 1.5rem 0 0; font-weight: 600; }

.lignes { list-style: none; margin: 0; padding: 0; }
.ligne {
	display: grid;
	grid-template-columns: 6.5rem minmax(0, 1fr) auto;
	gap: 0.25rem 1.5rem;
	align-items: baseline;
	padding: 1.15rem 0;
	border-top: 1px solid var(--filet);
}
.ligne:last-child { border-bottom: 1px solid var(--filet); }
.ligne__date { font-family: var(--mono); font-size: 0.82rem; color: var(--attenue); }
.ligne__titre { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); margin: 0 0 0.3rem; font-weight: 700; }
.ligne__titre a { color: var(--encre); text-decoration: none; }
.ligne__titre a:hover { color: var(--lien); text-decoration: underline; }
.ligne__resume { margin: 0; color: var(--attenue); font-size: 0.95em; max-width: 70ch; }
.ligne__ruban { justify-self: end; }
@media (max-width: 40rem) {
	.ligne { grid-template-columns: minmax(0, 1fr) auto; }
	.ligne__date { grid-column: 1; grid-row: 1; }
	.ligne__ruban { grid-column: 2; grid-row: 1; }
	.ligne__corps { grid-column: 1 / -1; }
}
.lignes--compactes .ligne__resume { display: none; }
.lignes--compactes .ligne__titre { font-size: 1.05rem; }

.astuces { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: 0 2.5rem; }
.astuces li { border-top: 1px solid var(--filet); padding: 0.7rem 0; }
.astuces a { color: var(--encre); text-decoration: none; font-weight: 600; }
.astuces a::before { content: "$ "; font-family: var(--mono); color: var(--attenue); font-weight: 400; }
.astuces a:hover { color: var(--lien); text-decoration: underline; }

.sujets { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.sujets .ruban { font-size: 0.9rem; }
.sujets__nombre { font-weight: 400; opacity: 0.7; margin-left: 0.2em; }

.pagination, .nav-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.nav-links .page-numbers { padding: 0.35rem 0.75rem; border: 1px solid var(--filet); border-radius: 4px; text-decoration: none; color: var(--encre); font-weight: 600; }
.nav-links .page-numbers.current { background: var(--encre); color: var(--papier); border-color: var(--encre); }
.vide { font-size: 1.1em; }

.recherche--large { display: flex; gap: 0.5rem; margin-top: 1rem; max-width: 34rem; }
.recherche--large input[type="search"] { flex: 1; width: auto; font-size: 1rem; padding: 0.6rem 0.8rem; }
.recherche--large button, .comment-form .submit, .wpcf7-submit {
	font: inherit; font-weight: 700; color: var(--papier); background: var(--encre);
	border: 0; border-radius: 4px; padding: 0.6rem 1.1rem; cursor: pointer;
}

/* ---------- Article ---------- */
.article {
	display: grid;
	grid-template-columns: [plein-start] minmax(var(--gouttiere), 1fr) [texte-start] minmax(0, var(--mesure)) [texte-end] minmax(var(--gouttiere), 1fr) [plein-end];
	padding-bottom: 3rem;
}
.article > * { grid-column: texte; }
.article__entete { padding: clamp(2rem, 5vw, 3.5rem) 0 1.5rem; }
.article__titre { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.5rem); font-weight: 800; letter-spacing: -0.025em; margin: 0.9rem 0 1.25rem; }
.article__meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; margin: 0; font-size: 0.88rem; color: var(--attenue); }
.article__meta div { display: flex; gap: 0.4em; }
.article__meta dt { font-weight: 400; }
.article__meta dd { margin: 0; color: var(--encre); font-weight: 600; }

.sommaire { margin: 0 0 1.5rem; font-size: 0.92rem; }
.sommaire details { border: 1px solid var(--filet); border-radius: 4px; padding: 0.6rem 1rem; background: var(--surface); }
.sommaire summary { font-weight: 700; cursor: pointer; }
.sommaire ol { list-style: none; margin: 0.5rem 0 0; padding: 0; }
.sommaire li { margin: 0; line-height: 1.35; }
.sommaire a { color: var(--attenue); text-decoration: none; display: block; padding: 0.3rem 0 0.3rem 0.6rem; min-height: 24px; border-left: 2px solid transparent; } /* cibles tactiles ≥ 24 px (WCAG 2.5.8) */
.sommaire a:hover { color: var(--lien); }
.sommaire a[aria-current="true"] { color: var(--encre); border-left-color: var(--ruban); font-weight: 600; }
.sommaire__n3 { padding-left: 0.9rem; font-size: 0.95em; }

@media (min-width: 74rem) {
	.article--sommaire {
		grid-template-columns: [plein-start] minmax(var(--gouttiere), 1fr) [cote-start] 15rem [cote-end] 3.5rem [texte-start] minmax(0, var(--mesure)) [texte-end] minmax(var(--gouttiere), 1.5fr) [plein-end];
	}
	.article--sommaire .sommaire { grid-column: cote; grid-row: 2; align-self: start; position: sticky; top: 1.5rem; max-height: calc(100vh - 3rem); overflow: auto; margin: 0.4rem 0 0; }
	.article--sommaire .sommaire details { border: 0; padding: 0; background: none; }
	.article--sommaire .sommaire summary { list-style: none; pointer-events: none; color: var(--attenue); font-size: 0.85rem; margin-bottom: 0.4rem; }
	.article--sommaire .sommaire summary::-webkit-details-marker { display: none; }
	.article--sommaire .article__corps { grid-row: 2; }
}

.avis-ancien {
	background: var(--avis-fond); border-left: 4px solid var(--ruban);
	padding: 0.8rem 1rem; border-radius: 0 4px 4px 0; font-size: 0.93em; margin: 0 0 2rem;
}

/* Le texte lui-même */
.contenu > * { margin-top: 0; margin-bottom: 1.15em; }
.contenu h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); margin: 2.2em 0 0.6em; }
.contenu h3 { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem); margin: 1.8em 0 0.5em; }
.contenu h4 { font-size: 1.05em; margin: 1.5em 0 0.4em; }
.contenu ul, .contenu ol { padding-left: 1.3em; }
.contenu li { margin: 0.3em 0; }
.contenu li::marker { color: var(--attenue); }
.contenu blockquote { margin-left: 0; padding-left: 1.1rem; border-left: 3px solid var(--filet); color: var(--attenue); }
.contenu img { border-radius: 4px; }
.contenu figure { margin-left: 0; margin-right: 0; }
.contenu figcaption, .wp-caption-text { font-size: 0.85em; color: var(--attenue); margin-top: 0.4rem; }
.contenu table { border-collapse: collapse; width: 100%; font-size: 0.92em; display: block; overflow-x: auto; }
.contenu th, .contenu td { border-bottom: 1px solid var(--filet); padding: 0.5rem 0.6rem; text-align: left; vertical-align: top; }
.contenu th { font-weight: 700; }
.contenu .wp-caption { max-width: 100%; }
.alignleft { float: left; margin: 0.3em 1.2em 0.8em 0; }
.alignright { float: right; margin: 0.3em 0 0.8em 1.2em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
@media (max-width: 40rem) { .alignleft, .alignright { float: none; margin: 1em 0; } }

/* Code en ligne */
.contenu :not(pre) > code, .contenu kbd {
	font-family: var(--mono); font-size: 0.86em;
	background: var(--surface); border: 1px solid var(--filet); border-radius: 3px; padding: 0.08em 0.35em;
}

/* Blocs de code : même habillage quel que soit l'ancien format (pre simple, SyntaxHighlighter, wp:code, dm-code-snippet). */
.code { position: relative; margin: 0 0 1.4em; }
.contenu pre, .code pre {
	font-family: var(--mono); font-size: 0.84em; line-height: 1.6;
	background: var(--code-fond); color: var(--code-encre);
	border-radius: 6px; padding: 1.1rem 1.2rem; margin: 0 0 1.4em;
	overflow-x: auto; tab-size: 4; white-space: pre;
	scrollbar-color: var(--code-attenue) transparent;
}
.code pre { margin: 0; padding-top: 2.4rem; }
.contenu pre code { font: inherit; background: none; border: 0; padding: 0; color: inherit; white-space: inherit; }
.code__langue { position: absolute; top: 0.6rem; left: 0.8rem; font-size: 0.72rem; z-index: 1; }
.code__copier {
	position: absolute; top: 0.45rem; right: 0.5rem; z-index: 1;
	font: 600 0.78rem/1 var(--texte); color: var(--code-encre);
	background: transparent; border: 1px solid rgb(255 255 255 / 0.25); border-radius: 4px;
	padding: 0.35rem 0.6rem; cursor: pointer;
}
.code__copier:hover { border-color: var(--code-encre); }
.code__copier[data-etat="ok"] { color: var(--ruban); border-color: var(--ruban); }

/* Ancien bloc « dm-code-snippet » : on garde le code, on retire son habillage et sa couleur de fond imposée. */
.contenu .dm-code-snippet { background: none !important; padding: 0 !important; margin: 0 0 1.4em; }
.contenu .dm-code-snippet .dm-buttons, .contenu .dm-code-snippet .dm-copy-text { display: none; }
.contenu .dm-code-snippet .control-language { background: none; padding: 0; }
.contenu .dm-code-snippet pre { margin: 0; }

/* ---------- Page Parcours ---------- */
.humain-entete { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem 2.5rem; align-items: center; padding: clamp(2rem, 5vw, 3.5rem) 0 2rem; }
@media (min-width: 44rem) { .humain-entete { grid-template-columns: 12rem minmax(0, 1fr); } }
.portrait--page { width: min(12rem, 50vw); order: 0; justify-self: start; }
.humain-entete .article__titre { margin: 0 0 0.4rem; }
.humain-entete__role { font-size: 1.15em; color: var(--attenue); margin: 0 0 1.25rem; }
.humain-entete .boutons { margin: 0; }
.parcours__chapo { font-size: 1.15em; }
.frise { list-style: none; margin: 1.5rem 0 2.5rem; padding: 0; }
.frise > li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 0 1.5rem; padding: 0 0 1.75rem; position: relative; }
.frise > li::before { content: ""; position: absolute; left: 8.25rem; top: 0.55rem; bottom: 0; width: 2px; background: var(--filet); }
.frise > li:last-child::before { display: none; }
.frise > li > div { padding-left: 1.5rem; position: relative; }
.frise > li > div::before { content: ""; position: absolute; left: -0.42rem; top: 0.45rem; width: 0.85rem; height: 0.85rem; border-radius: 2px; background: var(--ruban); box-shadow: 0 0 0 3px var(--papier); }
.frise__date { font-family: var(--mono); font-size: 0.85rem; color: var(--attenue); margin: 0.2rem 0 0; }
.frise h3 { margin: 0 0 0.15rem; font-size: 1.2rem; }
.frise__lieu { margin: 0 0 0.5rem; color: var(--attenue); font-size: 0.92em; }
.frise p { margin-top: 0; }
@media (max-width: 40rem) {
	.frise > li { grid-template-columns: minmax(0, 1fr); }
	.frise > li::before { left: 0.4rem; top: 2rem; }
	.frise__date { padding-left: 1.5rem; }
}
.savoirs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 0 2rem; margin-bottom: 1rem; }
.savoirs > div { border-top: 3px solid var(--encre); padding-top: 0.6rem; }
.savoirs h3 { margin: 0.2rem 0 0.4rem; font-size: 1.1rem; }
.savoirs p { color: var(--attenue); font-size: 0.95em; }

/* ---------- Bas d'article ---------- */
.auteur { margin: 3rem 0 0; padding: 1.25rem 0 0; border-top: 3px solid var(--encre); font-size: 0.95em; }
.auteur p { margin: 0; }
.lies { margin-top: 3rem; }
.lies h2 { font-size: 1.3rem; }
.commentaires { margin-top: 3rem; }
.commentaires h2 { font-size: 1.3rem; }
.commentaires__liste { padding-left: 1.2rem; }
.commentaires__liste .comment-meta { font-size: 0.85em; color: var(--attenue); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea,
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea {
	font: inherit; width: 100%; color: var(--encre); background: var(--surface);
	border: 1px solid var(--filet); border-radius: 4px; padding: 0.55rem 0.7rem;
}

/* ---------- Pied ---------- */
.pied { border-top: 1px solid var(--filet); margin-top: 2rem; }
.pied__dedans {
	max-width: var(--large); margin: 0 auto; padding: 2rem var(--gouttiere) 3rem;
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; align-items: center;
	font-size: 0.9rem; color: var(--attenue);
}
.pied__signature { margin: 0; display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.pied__liens { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; flex-wrap: wrap; }
.pied__liens a { color: var(--encre); }

@media print {
	.entete, .pied, .sommaire, .code__copier, .lies, .commentaires { display: none; }
	body { background: #fff; color: #000; }
	.contenu pre { background: #f4f4f4; color: #000; white-space: pre-wrap; }
}

/* Page Parcours : les titres des blocs ne prennent pas la grande marge des titres d'article. */
.contenu .apports h3 { margin: 0.6rem 0 0.4rem; }
.contenu .frise h3 { margin: 0 0 0.15rem; }
.contenu .savoirs h3 { margin: 0.2rem 0 0.4rem; }
.contenu .apports li > p:empty { display: none; }

/* Page Parcours : même largeur que l'accueil et les listes (76rem) ; seuls les paragraphes restent à ~70 caractères. */
.article--humain { --mesure: calc(var(--large) - 2 * var(--gouttiere)); } /* aligné sur l'en-tête (76rem moins ses marges) */
.article--humain .contenu > p, .article--humain .parcours > p, .article--humain .frise > li > div > p { max-width: 40em; }
.article--humain .contenu .apports { grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr)); gap: 0 3rem; }
.article--humain .contenu h2 { margin-top: 2.5em; }

/* Titre d'article : il prend la place libre à droite (et à gauche quand il y a un sommaire) au lieu de s'empiler
   sur 3-4 lignes dans la colonne de lecture ; le texte, lui, garde ~70 caractères. (10/11/2026) */
.article__entete { grid-column: texte-start / plein-end; padding-right: var(--gouttiere); }
.article--humain .article__entete, .article--humain > .humain-entete { grid-column: texte; padding-right: 0; }
.article__titre { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.9rem); max-width: 34ch; }
@media (min-width: 74rem) {
	.article--sommaire .article__entete { grid-column: cote-start / plein-end; }
}
