/*
Theme Name: Monter son PC gamer
Theme URI: https://monter-son-pc-gamer.fr/
Author: LMA Conseils
Description: Thème sur mesure du guide « Monter son PC gamer » : notice de montage sur papier millimétré, sérigraphie de carte mère, pistes de circuit imprimé, grilles bento. Polices système, SVG inline, aucune dépendance externe.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.3
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pcgamer
*/

/* ==========================================================================
   1. Jetons de design
   ========================================================================== */

:root {
	--bg: #F3F0E8;
	--surface: #FFFFFF;
	--surface-alt: #EAE5D9;
	--text: #15212B;
	--muted: #4D5964;
	--accent: #B4410E;
	--accent-hover: #8F3209;
	--accent2: #0A6A52;
	--accent2-tint: #E3F0EA;
	--warn-tint: #FBEFE7;
	--gold: #E0A93B;
	--gold-tint: #FDF3DF;
	--gold-dark: #7A5410;
	--pcb: #0C2D24;
	--pcb-2: #11392F;
	--pcb-3: #163F34;
	--on-pcb: #E6EFE9;
	--on-pcb-muted: #9FC3B4;
	--line: #D9D3C4;
	--line-strong: #857C6C;
	--led-cpu: #D7382B;
	--led-dram: #E8B92F;
	--led-vga: #F4F4F0;
	--led-boot: #2FB36B;

	--font-head: Bahnschrift, "DIN Alternate", "DIN Next", "Roboto Condensed", "Arial Narrow", "Segoe UI", system-ui, sans-serif;
	--font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
	--font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

	--radius: 6px;
	--shadow: 3px 3px 0 rgba(21, 33, 43, .09);
	--shadow-hover: 6px 6px 0 rgba(21, 33, 43, .13);
	--gutter: clamp(1rem, 4vw, 2rem);
	--wrap: 75rem;
	--measure: 68ch;

	/* Papier millimétré : traits fins tous les 8 px, traits marqués tous les 40 px. */
	--mm-grid:
		linear-gradient(rgba(197, 189, 170, .42) 1px, transparent 1px),
		linear-gradient(90deg, rgba(197, 189, 170, .42) 1px, transparent 1px),
		linear-gradient(rgba(217, 211, 196, .34) 1px, transparent 1px),
		linear-gradient(90deg, rgba(217, 211, 196, .34) 1px, transparent 1px);
	--mm-size: 40px 40px, 40px 40px, 8px 8px, 8px 8px;

	color-scheme: light;
}

/* ==========================================================================
   2. Base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1.125rem;
	line-height: 1.65;
	overflow-wrap: break-word;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img,
video {
	max-width: 100%;
	height: auto;
}

svg {
	max-width: 100%;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 .5em;
	color: inherit;
	font-family: var(--font-head);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.005em;
	text-wrap: balance;
}

p {
	margin: 0 0 1em;
}

a {
	color: var(--accent);
	text-decoration-thickness: 1px;
	text-underline-offset: .18em;
}

a:hover {
	color: var(--accent-hover);
	text-decoration-thickness: 2px;
}

:focus-visible {
	outline: 3px solid var(--accent2);
	outline-offset: 2px;
}

.on-pcb :focus-visible {
	outline-color: var(--gold);
}

main:focus {
	outline: none;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

::selection {
	background: var(--gold);
	color: var(--text);
}

/* ==========================================================================
   3. Utilitaires
   ========================================================================== */

.wrap {
	width: 100%;
	max-width: calc(var(--wrap) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: -10rem;
	left: 1rem;
	z-index: 100;
	padding: .75rem 1.1rem;
	border-radius: var(--radius);
	background: var(--text);
	color: #fff;
	font-family: var(--font-head);
	font-weight: 600;
	text-decoration: none;
}

.skip-link:focus {
	top: 1rem;
	color: #fff;
}

.js-only {
	display: none;
}

.js .js-only {
	display: inline;
}

.icon {
	flex: none;
	width: 1.25em;
	height: 1.25em;
	vertical-align: -.22em;
}

.on-pcb {
	background-color: var(--pcb);
	color: var(--on-pcb);
}

.on-pcb a:not([class]) {
	color: var(--on-pcb);
}

.paper {
	background-color: var(--bg);
	background-image: var(--mm-grid);
	background-size: var(--mm-size);
	background-position: -1px -1px;
}

/* Étiquettes façon sérigraphie de carte mère. */
.silk {
	display: inline-block;
	color: var(--accent2);
	font-family: var(--font-mono);
	font-size: .6875rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .14em;
	text-transform: uppercase;
	white-space: nowrap;
}

.silk--box {
	padding: .3rem .45rem;
	border: 1.5px solid currentColor;
	border-radius: 3px;
}

.on-pcb .silk {
	color: var(--gold);
}

.kicker {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem .75rem;
	margin: 0 0 .85rem;
	color: var(--accent2);
	font-family: var(--font-head);
	font-size: .875rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}

/*
 * Grilles à une colonne : piste explicite minmax(0, 1fr), sinon la colonne implicite
 * prend la largeur min-content de son contenu (un SVG de 400 px, un modèle sans espace)
 * et provoque un défilement horizontal sur petit écran. Les règles suivantes la remplacent
 * aux points de rupture.
 */
.hero__grid,
.home-debug__grid,
.home-debug__intro,
.entry-header__grid,
.page-header__grid,
.error-404__grid,
.method,
.method__points,
.cta-band,
.site-footer__grid,
.proscons,
.tiers,
.criteria,
.errors__item,
.stepnav,
.perf,
.causes,
.spec-card,
.spec-list,
.check-list,
.debug-list,
.faq__list,
.next-hubs,
.deco-debug,
.qcode,
.section-head {
	grid-template-columns: minmax(0, 1fr);
}

/* ==========================================================================
   4. En-tête et navigation
   ========================================================================== */

.site-header {
	position: relative;
	z-index: 30;
	background: var(--bg);
	border-bottom: 1px solid var(--line);
}

.site-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .75rem 1.25rem;
	min-height: 4.5rem;
	padding-block: .65rem;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: .65rem;
	margin-right: auto;
	color: var(--text);
	text-decoration: none;
}

.brand:hover {
	color: var(--text);
}

.brand__chip {
	flex: none;
	width: clamp(2.25rem, 2rem + 1vw, 2.65rem);
	height: clamp(2.25rem, 2rem + 1vw, 2.65rem);
}

.brand__body {
	fill: var(--surface);
	stroke: var(--text);
	stroke-width: 2.2;
}

.brand__pads circle {
	fill: var(--text);
}

.brand__mark {
	fill: var(--gold);
	stroke: var(--text);
	stroke-width: 1;
	stroke-linejoin: round;
	transition: fill .2s;
}

.brand:hover .brand__mark {
	fill: var(--accent);
}

.brand__text {
	display: flex;
	flex-direction: column;
}

.brand__name {
	font-family: var(--font-head);
	font-size: clamp(1.0625rem, .9rem + .8vw, 1.3125rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -.01em;
	white-space: nowrap;
}

.brand__name b {
	color: var(--accent);
	font-weight: 700;
}

.brand__sub {
	margin-top: .32rem;
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: .6875rem;
	line-height: 1;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.brand--inverse,
.brand--inverse:hover {
	color: var(--on-pcb);
}

.brand--inverse .brand__body {
	fill: var(--pcb-2);
	stroke: var(--on-pcb);
}

.brand--inverse .brand__pads circle {
	fill: var(--on-pcb);
}

.brand--inverse .brand__mark {
	stroke: var(--pcb);
}

.brand--inverse .brand__name b {
	color: var(--gold);
}

.brand--inverse .brand__sub {
	color: var(--on-pcb-muted);
}

.menu-toggle {
	display: none;
	align-items: center;
	gap: .45rem;
	padding: .55rem .8rem;
	border: 1.5px solid var(--text);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: 2px 2px 0 var(--text);
	font-family: var(--font-head);
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
}

.js .menu-toggle {
	display: inline-flex;
}

.menu-toggle__close,
.menu-toggle[aria-expanded="true"] .menu-toggle__open {
	display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__close {
	display: inline;
}

.site-menu {
	display: flex;
	flex-direction: column;
	flex-basis: 100%;
	gap: .85rem;
	padding-block: .25rem 1rem;
}

.js .site-menu {
	display: none;
}

.js .site-menu.is-open {
	display: flex;
}

.primary-menu {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-menu li {
	border-top: 1px solid var(--line);
}

.primary-menu a {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: .85rem .25rem;
	color: var(--text);
	font-family: var(--font-head);
	font-size: 1.0625rem;
	font-weight: 600;
	text-decoration: none;
}

.primary-menu a:hover {
	color: var(--accent);
}

.primary-menu .current-menu-item > a,
.primary-menu .current-menu-parent > a,
.primary-menu .current-menu-ancestor > a,
.primary-menu .current-post-ancestor > a,
.primary-menu .current_page_parent > a {
	color: var(--accent);
}

.primary-menu .current-menu-item > a::after,
.primary-menu .current-menu-parent > a::after,
.primary-menu .current-post-ancestor > a::after {
	content: "";
	width: .6rem;
	height: .6rem;
	border-radius: 50%;
	background: var(--gold);
	box-shadow: 0 0 0 2px var(--text);
}

.header-search {
	position: relative;
}

.header-search__toggle {
	display: flex;
	align-items: center;
	gap: .5rem;
	padding: .65rem .85rem;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	background: var(--surface);
	font-family: var(--font-head);
	font-size: 1rem;
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}

.header-search__toggle::-webkit-details-marker {
	display: none;
}

.header-search__toggle::marker {
	content: "";
}

.header-search[open] .header-search__toggle {
	border-color: var(--text);
	background: var(--text);
	color: var(--bg);
}

.header-search__panel {
	margin-top: .6rem;
}

@media (min-width: 75em) {
	.js .menu-toggle {
		display: none;
	}

	.site-menu,
	.js .site-menu {
		display: flex;
		flex-direction: row;
		flex-basis: auto;
		align-items: center;
		gap: .75rem;
		padding: 0;
	}

	.primary-menu {
		flex-direction: row;
		flex-wrap: wrap;
		gap: .1rem;
	}

	.primary-menu li {
		border-top: 0;
	}

	.primary-menu a {
		padding: .55rem .7rem;
		border-radius: var(--radius);
		font-size: .975rem;
	}

	.primary-menu a:hover {
		background: var(--surface-alt);
		color: var(--text);
	}

	.primary-menu .current-menu-item > a,
	.primary-menu .current-menu-parent > a,
	.primary-menu .current-menu-ancestor > a,
	.primary-menu .current-post-ancestor > a,
	.primary-menu .current_page_parent > a {
		color: var(--text);
	}

	.primary-menu .current-menu-item > a::after,
	.primary-menu .current-menu-parent > a::after,
	.primary-menu .current-post-ancestor > a::after {
		position: absolute;
		right: .7rem;
		bottom: .15rem;
		left: .7rem;
		width: auto;
		height: 3px;
		border-radius: 2px;
		box-shadow: none;
	}

	.header-search__toggle {
		padding: .6rem;
	}

	.header-search__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.header-search__panel {
		position: absolute;
		top: calc(100% + .65rem);
		right: 0;
		z-index: 40;
		width: 24rem;
		margin: 0;
		padding: .75rem;
		border: 1px solid var(--line);
		border-radius: var(--radius);
		background: var(--surface);
		box-shadow: var(--shadow-hover);
	}
}

/* Formulaire de recherche. */
.search-form {
	display: flex;
	gap: .5rem;
	width: 100%;
}

.search-form__input {
	flex: 1 1 auto;
	min-width: 0;
	padding: .75rem .9rem;
	border: 1.5px solid var(--line-strong);
	border-radius: var(--radius);
	background: var(--surface);
	font-size: 1rem;
}

.search-form__input:focus-visible {
	border-color: var(--accent2);
	outline-offset: 1px;
}

.search-form__submit {
	display: grid;
	flex: none;
	place-items: center;
	width: 3rem;
	border: 0;
	border-radius: var(--radius);
	background: var(--accent);
	color: #fff;
	cursor: pointer;
}

.search-form__submit:hover {
	background: var(--accent-hover);
}

/* ==========================================================================
   5. Boutons et liens fléchés
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	padding: .85rem 1.25rem;
	border: 2px solid transparent;
	border-radius: var(--radius);
	font-family: var(--font-head);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: .01em;
	text-decoration: none;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.btn:hover {
	text-decoration: none;
	transform: translate(-1px, -1px);
}

.btn--primary {
	background: var(--accent);
	color: #fff;
	box-shadow: 3px 3px 0 var(--text);
}

.btn--primary:hover {
	background: var(--accent-hover);
	color: #fff;
	box-shadow: 4px 4px 0 var(--text);
}

.btn--gold {
	background: var(--gold);
	color: var(--text);
	box-shadow: 3px 3px 0 rgba(0, 0, 0, .35);
}

.btn--gold:hover {
	color: var(--text);
	box-shadow: 4px 4px 0 rgba(0, 0, 0, .45);
}

.btn--ghost {
	border-color: currentColor;
	color: inherit;
}

.on-pcb .btn--ghost,
.on-pcb .btn--ghost:hover {
	color: var(--on-pcb);
}

.btn--ghost:hover {
	background: rgba(230, 239, 233, .08);
}

.btn--block {
	justify-content: center;
	width: 100%;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	padding-bottom: .1rem;
	border-bottom: 2px solid currentColor;
	color: var(--accent);
	font-family: var(--font-head);
	font-size: 1.0625rem;
	font-weight: 600;
	text-decoration: none;
}

.link-arrow:hover {
	color: var(--accent-hover);
}

.link-arrow .icon {
	transition: transform .15s ease;
}

.link-arrow:hover .icon {
	transform: translateX(3px);
}

/* ==========================================================================
   6. Accueil : hero, schéma de carte mère, pistes
   ========================================================================== */

.pcb-traces {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	pointer-events: none;
}

.pcb-traces__lines path {
	fill: none;
	stroke: var(--gold);
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
	opacity: .2;
}

.pcb-traces__vias circle {
	fill: var(--pcb);
	stroke: var(--gold);
	stroke-width: 1.5;
	opacity: .45;
}

/* Les pistes s'effacent sous les zones de texte. */
.pcb-traces--hero {
	-webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .3) 0, rgba(0, 0, 0, .3) 45%, #000 78%);
	mask-image: linear-gradient(90deg, rgba(0, 0, 0, .3) 0, rgba(0, 0, 0, .3) 45%, #000 78%);
}

.pcb-traces--footer,
.pcb-traces--band {
	opacity: .5;
	-webkit-mask-image: linear-gradient(180deg, #000 0, rgba(0, 0, 0, .25) 30%, rgba(0, 0, 0, .25) 80%, #000 100%);
	mask-image: linear-gradient(180deg, #000 0, rgba(0, 0, 0, .25) 30%, rgba(0, 0, 0, .25) 80%, #000 100%);
}

.hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(2.75rem, 7vw, 5.5rem);
}

.hero__grid {
	position: relative;
	display: grid;
	align-items: center;
	gap: 2.5rem;
}

.hero__kicker {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .6rem .8rem;
	margin: 0 0 1.25rem;
	color: var(--on-pcb-muted);
	font-family: var(--font-head);
	font-size: .9375rem;
	font-weight: 600;
	letter-spacing: .03em;
}

.hero__title {
	max-width: 14ch;
	margin: 0 0 1.25rem;
	color: var(--on-pcb);
	font-size: clamp(2.35rem, 1.5rem + 3.8vw, 4.25rem);
	line-height: 1;
	letter-spacing: -.015em;
}

.hero__title span {
	display: block;
	color: var(--gold);
}

.hero__lead {
	max-width: 54ch;
	margin-bottom: 1.75rem;
	font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
	line-height: 1.6;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .85rem;
	margin: 0 0 2.25rem;
}

.hero__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem 2.5rem;
	margin: 0;
	padding: 1.25rem 0 0;
	border-top: 1px solid rgba(159, 195, 180, .25);
	list-style: none;
}

.hero__stats strong {
	display: block;
	color: var(--gold);
	font-family: var(--font-head);
	font-size: 1.875rem;
	line-height: 1;
}

.hero__stats span {
	display: block;
	margin-top: .4rem;
	color: var(--on-pcb-muted);
	font-family: var(--font-mono);
	font-size: .75rem;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.hero__visual {
	width: 100%;
	max-width: 22rem;
	margin-inline: auto;
}

@media (min-width: 60em) {
	.hero__grid {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
		gap: 4rem;
	}

	.hero__visual {
		max-width: 30rem;
	}
}

.board {
	margin: 0;
}

.board__svg {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(8px 8px 0 rgba(0, 0, 0, .28));
}

.board__caption {
	margin-top: .9rem;
	color: var(--on-pcb-muted);
	font-family: var(--font-mono);
	font-size: .75rem;
	letter-spacing: .05em;
	text-align: center;
}

.b-board {
	fill: #103B30;
	stroke: rgba(159, 195, 180, .5);
	stroke-width: 1.5;
}

.b-hole {
	fill: var(--pcb);
	stroke: var(--gold);
	stroke-width: 1.5;
}

.b-traces path {
	fill: none;
	stroke: var(--gold);
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
	opacity: .75;
}

.b-part {
	fill: #0E3329;
	stroke: #2E6152;
	stroke-width: 1.25;
}

.b-conn {
	fill: #0B2A22;
	stroke: var(--on-pcb-muted);
	stroke-width: 1.25;
}

.b-socket {
	fill: #0E3329;
	stroke: var(--on-pcb-muted);
	stroke-width: 1.5;
	stroke-dasharray: 4 3;
}

.b-chip {
	fill: #D5E0DA;
}

.b-mark {
	fill: var(--gold);
}

.b-dimm {
	fill: #0B2A22;
	stroke: #4C7D6E;
	stroke-width: 1.25;
}

.b-dimm.is-key {
	fill: rgba(224, 169, 59, .18);
	stroke: var(--gold);
}

.b-pins {
	fill: none;
	stroke: rgba(159, 195, 180, .55);
	stroke-width: 1;
	stroke-dasharray: 2 2.5;
}

.b-slot {
	fill: #0B2A22;
	stroke: #6F9C8C;
	stroke-width: 1.25;
}

.b-screw {
	fill: var(--gold);
	stroke: var(--pcb);
	stroke-width: 1.5;
}

.b-silk text {
	fill: var(--on-pcb-muted);
	font-family: var(--font-mono);
	font-size: 9px;
	letter-spacing: .06em;
}

.b-steps circle {
	fill: var(--gold);
	stroke: var(--pcb);
	stroke-width: 2.5;
}

.b-steps text {
	fill: var(--text);
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 700;
	text-anchor: middle;
}

/* ==========================================================================
   7. Sections, titres de section, séparateurs « pistes »
   ========================================================================== */

.home-section {
	padding-block: clamp(2.75rem, 6vw, 4.5rem);
}

.home-section + .home-section {
	padding-top: 0;
}

.section-head {
	display: grid;
	justify-items: start;
	gap: .65rem;
	max-width: 48rem;
	margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.section-title {
	margin: 0;
	font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.625rem);
	line-height: 1.08;
	letter-spacing: -.012em;
}

.section-title--small {
	margin-bottom: 1.25rem;
	font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem);
}

.section-intro {
	max-width: 62ch;
	margin: 0;
	color: var(--muted);
	font-size: 1.0625rem;
	line-height: 1.6;
}

.on-pcb .section-title {
	color: var(--on-pcb);
}

.on-pcb .section-intro {
	color: var(--on-pcb-muted);
}

.section-more {
	margin: 1.75rem 0 0;
}

.trace-divider {
	display: flex;
	align-items: center;
	margin: 0 0 clamp(2rem, 5vw, 3rem);
}

.trace-divider::before,
.trace-divider::after {
	content: "";
	flex: 1 1 0;
	height: 2px;
	background: #CFC6B2;
}

.trace-divider svg {
	flex: none;
	width: 15rem;
	max-width: 60%;
	height: auto;
}

.trace-divider__path {
	fill: none;
	stroke: #CFC6B2;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.trace-divider__path--thin {
	stroke-width: 1.5;
}

.trace-divider__via {
	fill: var(--gold);
	stroke: var(--bg);
	stroke-width: 2;
}

.trace-divider__via--small {
	fill: var(--bg);
	stroke: var(--line-strong);
	stroke-width: 1.5;
}

/* ==========================================================================
   8. Grille bento et cartes
   ========================================================================== */

.bento {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
}

@media (min-width: 40em) {
	.bento {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bento > .is-feature,
	.bento > .is-wide,
	.bento > .is-full {
		grid-column: span 2;
	}
}

/* Tablette : la carte restée seule sur sa rangée prend toute la largeur (calculé par pcg_bento_fill). */
@media (min-width: 40em) and (max-width: 63.99em) {
	.bento > .t-span {
		grid-column: span 2;
	}
}

@media (min-width: 64em) {
	.bento {
		grid-template-columns: repeat(6, minmax(0, 1fr));
		grid-auto-flow: dense;
		gap: 1.25rem;
	}

	.bento > * {
		grid-column: span 2;
	}

	.bento > .is-feature {
		grid-column: span 4;
		grid-row: span 2;
	}

	.bento > .is-wide {
		grid-column: span 4;
	}

	.bento > .is-half {
		grid-column: span 3;
	}

	.bento > .is-full {
		grid-column: 1 / -1;
	}
}

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: .7rem;
	min-width: 0;
	padding: 1.25rem 1.25rem 1.3rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card:hover {
	border-color: #C8BFAB;
	box-shadow: var(--shadow-hover);
	transform: translate(-2px, -2px);
}

.card:focus-within {
	outline: 3px solid var(--accent2);
	outline-offset: 2px;
}

.card__link:focus-visible {
	outline: none;
}

.card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
}

.card__icon {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: var(--radius);
	background: var(--surface-alt);
	color: var(--accent2);
}

.card__icon .icon {
	width: 1.6rem;
	height: 1.6rem;
}

.card__eyebrow {
	margin: 0;
	color: var(--accent);
	font-family: var(--font-mono);
	font-size: .8125rem;
	font-weight: 600;
	line-height: 1.35;
}

.card__title {
	margin: 0;
	font-size: 1.25rem;
	line-height: 1.22;
}

.card__title a {
	color: var(--text);
	text-decoration: none;
}

.card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.card:hover .card__title a {
	color: var(--accent);
}

.card__excerpt {
	margin: 0;
	color: var(--muted);
	font-size: 1rem;
	line-height: 1.55;
}

.card__specs {
	display: grid;
	gap: .45rem;
	margin: 0;
	font-size: .9375rem;
	line-height: 1.4;
}

.card__specs div {
	display: grid;
	grid-template-columns: 3.5rem minmax(0, 1fr);
	align-items: baseline;
	gap: .5rem;
}

.card__specs dt {
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: .6875rem;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.card__specs dd {
	margin: 0;
	font-weight: 600;
}

.card__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem 1rem;
	margin-top: auto;
	padding-top: .65rem;
	border-top: 1px dashed var(--line);
	color: var(--muted);
	font-size: .875rem;
}

.card__cue {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	margin-left: auto;
	color: var(--accent);
	font-family: var(--font-head);
	font-size: .9375rem;
	font-weight: 600;
}

.card__cue .icon {
	transition: transform .15s ease;
}

.card:hover .card__cue .icon {
	transform: translateX(3px);
}

.card.is-feature {
	gap: .9rem;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	background-color: var(--surface);
	background-image: var(--mm-grid);
	background-size: var(--mm-size);
}

.card.is-feature .card__title {
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
	line-height: 1.1;
}

.card.is-feature .card__excerpt {
	max-width: 52ch;
	color: var(--text);
	font-size: 1.0625rem;
}

.card.is-feature .card__icon {
	width: 3.5rem;
	height: 3.5rem;
	background: var(--pcb);
	color: var(--gold);
}

.card.is-feature .card__icon .icon {
	width: 2rem;
	height: 2rem;
}

.card--configuration {
	border-top: 4px solid var(--gold);
}

/* Grandes cartes : pictogramme en filigrane, ou mini-frise des étapes pour le guide de montage. */
.card {
	isolation: isolate;
}

.card__art {
	position: absolute;
	right: clamp(1.25rem, 3vw, 2.25rem);
	bottom: 4.25rem;
	z-index: -1;
	display: none;
	color: var(--line);
	pointer-events: none;
}

.card__art .icon {
	width: 9rem;
	height: 9rem;
	stroke-width: 1;
}

@media (min-width: 64em) {
	.bento > .is-feature .card__art {
		display: block;
	}
}

.card__track {
	display: none;
	margin: auto 0 0;
	padding: 1.25rem 0 0;
	list-style: none;
}

.card__track + .card__foot {
	margin-top: 1.25rem;
}

/* Chaque pastille est un contexte d'empilement : piste (-2) sous le via (-1), sous le numéro. */
.card__track li {
	position: relative;
	z-index: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 1.9rem;
	color: var(--text);
	font-family: var(--font-mono);
	font-size: .6875rem;
	font-weight: 700;
	line-height: 1;
}

.card__track li::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: -2;
	width: 100%;
	height: 2px;
	background: var(--gold);
	transform: translateY(-50%);
}

.card__track li:last-child::before {
	display: none;
}

.card__track li::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: -1;
	width: 1.9rem;
	height: 1.9rem;
	border: 2px solid var(--gold);
	border-radius: 50%;
	background: var(--surface);
	transform: translate(-50%, -50%);
}

@media (min-width: 40em) {
	.card__track {
		display: grid;
		grid-template-columns: repeat(var(--n, 15), minmax(0, 1fr));
	}
}

/* ==========================================================================
   9. Vias, listes d'étapes et frise
   ========================================================================== */

.via {
	position: relative;
	z-index: 1;
	display: inline-grid;
	flex: none;
	place-items: center;
	width: var(--via-size, 2.25rem);
	height: var(--via-size, 2.25rem);
	border: 2px solid var(--gold);
	border-radius: 50%;
	background: var(--surface);
	box-shadow: inset 0 0 0 3px var(--surface), inset 0 0 0 4.5px rgba(224, 169, 59, .35);
	color: var(--text);
	font-family: var(--font-mono);
	font-size: .8125rem;
	font-weight: 700;
	line-height: 1;
	transition: background-color .15s ease;
}

.via--big {
	--via-size: 3.5rem;
	border-width: 3px;
	font-size: 1.25rem;
}

.via--huge {
	--via-size: clamp(4.5rem, 10vw, 6.5rem);
	border-width: 4px;
	font-size: clamp(1.5rem, 1rem + 2vw, 2.25rem);
}

.via--tiny {
	--via-size: 1.6rem;
	border-width: 1.5px;
	box-shadow: none;
	font-size: .6875rem;
}

.steps-wrap {
	container-type: inline-size;
}

.steps {
	--via-size: 2.25rem;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	column-gap: 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.step {
	position: relative;
	display: grid;
	grid-template-columns: var(--via-size) minmax(0, 1fr);
	column-gap: 1rem;
	padding-bottom: 1.5rem;
}

/* Piste dorée : segment au-dessus et au-dessous de chaque via. */
.step::before,
.step::after {
	content: "";
	position: absolute;
	left: calc(var(--via-size) / 2 - 1px);
	width: 2px;
	background: var(--gold);
}

.step::before {
	top: 0;
	height: calc(var(--via-size) / 2);
}

.step::after {
	top: calc(var(--via-size) / 2);
	bottom: 0;
}

.step:first-child::before,
.step:last-child::after {
	display: none;
}

.step:hover .via {
	background: var(--gold);
}

.step__body {
	min-width: 0;
	padding-top: .15rem;
}

.step__body > .silk {
	display: block;
	margin-bottom: .35rem;
	color: var(--muted);
}

.step__title {
	margin: 0 0 .4rem;
	font-size: 1.125rem;
	line-height: 1.25;
}

.step__title a {
	color: var(--text);
	text-decoration: none;
	background-image: linear-gradient(var(--gold), var(--gold));
	background-position: 0 100%;
	background-repeat: no-repeat;
	background-size: 0 2px;
	transition: background-size .2s ease;
}

.step__title a:hover {
	color: var(--text);
	background-size: 100% 2px;
}

.step__excerpt {
	margin: 0 0 .6rem;
	color: var(--muted);
	font-size: 1rem;
	line-height: 1.55;
}

.step__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .35rem 1rem;
	margin: 0;
	color: var(--muted);
	font-size: .875rem;
}

.steps--detailed {
	--via-size: 2.75rem;
}

.steps--detailed .step {
	padding-bottom: 1.75rem;
}

.steps--detailed .step__body {
	padding: 1rem 1.15rem 1.1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow);
}

.steps--detailed .step__title {
	font-size: 1.3125rem;
}

.steps--detailed .via {
	font-size: .9375rem;
}

@container (min-width: 36rem) {
	.steps--compact {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: repeat(var(--rows2), auto);
		grid-auto-flow: column;
	}

	.steps--compact .t2::before,
	.steps--compact .b2::after {
		display: none;
	}
}

@container (min-width: 58rem) {
	.steps--compact {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		grid-template-rows: repeat(var(--rows3), auto);
	}

	.steps--compact .step::before,
	.steps--compact .step::after {
		display: block;
	}

	.steps--compact .t3::before,
	.steps--compact .b3::after {
		display: none;
	}
}

@container (min-width: 50rem) {
	.steps--detailed {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: repeat(var(--rows2), auto);
		grid-auto-flow: column;
		column-gap: 2.5rem;
	}

	.steps--detailed .t2::before,
	.steps--detailed .b2::after {
		display: none;
	}
}

/* Frise compacte : 15 vias reliés par une piste, étape courante en évidence. */
.steptrack__list {
	display: grid;
	grid-template-columns: repeat(8, minmax(0, 1fr));
	row-gap: .85rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.steptrack li {
	position: relative;
	display: flex;
	justify-content: center;
}

.steptrack li::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 2px;
	background: var(--line-strong);
	transform: translateY(-50%);
}

.steptrack li.is-done::before {
	background: var(--gold);
	height: 3px;
}

.steptrack li:last-child::before {
	display: none;
}

.steptrack a {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border: 2px solid var(--line-strong);
	border-radius: 50%;
	background: var(--surface);
	color: var(--text);
	font-family: var(--font-mono);
	font-size: .75rem;
	font-weight: 700;
	text-decoration: none;
	transition: transform .15s ease, background-color .15s ease;
}

.steptrack a:hover {
	background: var(--gold-tint);
	transform: scale(1.1);
}

.steptrack .is-done a {
	border-color: var(--gold);
	background: var(--gold);
}

.steptrack .is-current a {
	width: 2.5rem;
	height: 2.5rem;
	border-color: var(--accent);
	background: var(--accent);
	box-shadow: 0 0 0 4px rgba(180, 65, 14, .2);
	color: #fff;
	font-size: .875rem;
}

@media (max-width: 39.99em) {
	.steptrack li:nth-child(8n)::before {
		display: none;
	}
}

@media (min-width: 40em) {
	.steptrack__list {
		grid-template-columns: repeat(var(--n, 15), minmax(0, 1fr));
	}
}

/* ==========================================================================
   10. Indicateurs : têtes de vis, barres, chronomètre, LED, prix
   ========================================================================== */

.screws {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
}

.screws__icons {
	display: inline-flex;
	gap: 2px;
}

.screw {
	width: 1rem;
	height: 1rem;
	fill: none;
	stroke: var(--line-strong);
	stroke-width: 1.5;
	stroke-linecap: round;
}

.screw.is-on {
	fill: var(--gold);
	stroke: var(--text);
}

.screws__label {
	color: var(--text);
	font-size: .875rem;
	font-weight: 600;
}

.on-pcb .screw {
	stroke: var(--on-pcb-muted);
}

.on-pcb .screw.is-on {
	stroke: var(--pcb);
}

.on-pcb .screws__label {
	color: var(--on-pcb);
}

.bars {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
}

.bars__track {
	display: inline-flex;
	align-items: flex-end;
	gap: 2px;
	height: 1rem;
}

.bars__track i {
	display: block;
	width: 5px;
	border-radius: 1px;
	background: var(--line);
}

.bars__track i:nth-child(1) {
	height: 40%;
}

.bars__track i:nth-child(2) {
	height: 60%;
}

.bars__track i:nth-child(3) {
	height: 80%;
}

.bars__track i:nth-child(4) {
	height: 100%;
}

.bars__track i.is-on {
	background: var(--accent2);
}

.bars--freq .bars__track i.is-on {
	background: var(--accent);
}

.bars__label {
	font-size: .875rem;
	font-weight: 600;
	white-space: nowrap;
}

.duration {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	color: var(--text);
	font-family: var(--font-mono);
	font-size: .8125rem;
	font-weight: 600;
	white-space: nowrap;
}

.duration .icon {
	width: 1.1em;
	height: 1.1em;
	color: var(--accent2);
}

.on-pcb .duration {
	color: var(--on-pcb);
}

.on-pcb .duration .icon {
	color: var(--gold);
}

/* LED de diagnostic (CPU, DRAM, VGA, BOOT). */
.leds {
	display: inline-flex;
	align-items: flex-start;
	gap: .85rem;
	padding: .7rem .95rem .6rem;
	border: 1px solid #1F4A3F;
	border-radius: var(--radius);
	background: var(--pcb);
}

.led {
	--led: var(--led-boot);
	--glow: rgba(47, 179, 107, .5);
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: .4rem;
}

.led--cpu {
	--led: var(--led-cpu);
	--glow: rgba(215, 56, 43, .55);
}

.led--dram {
	--led: var(--led-dram);
	--glow: rgba(232, 185, 47, .55);
}

.led--vga {
	--led: var(--led-vga);
	--glow: rgba(244, 244, 240, .45);
}

.led__lamp {
	position: relative;
	display: block;
	width: 1.4rem;
	height: .6rem;
	border-radius: 2px;
	background: #1E4338;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
}

.led.is-on .led__lamp {
	background: var(--led);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), 0 0 8px 2px var(--glow);
}

/* Halo radial. */
.led.is-on .led__lamp::after {
	content: "";
	position: absolute;
	inset: -14px -12px;
	border-radius: 50%;
	background: radial-gradient(closest-side, var(--glow), transparent);
	pointer-events: none;
}

.led__label {
	color: var(--on-pcb-muted);
	font-family: var(--font-mono);
	font-size: .6875rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .1em;
}

.led.is-on .led__label {
	color: var(--on-pcb);
}

.leds--big {
	gap: 1.2rem;
	padding: .95rem 1.2rem .8rem;
}

.leds--big .led__lamp {
	width: 2rem;
	height: .8rem;
}

.leds--mini {
	gap: .4rem;
	padding: .4rem .5rem .35rem;
}

.leds--mini .led {
	gap: .25rem;
}

.leds--mini .led__lamp {
	width: .95rem;
	height: .4rem;
}

.leds--mini .led__lamp::after {
	inset: -8px -6px;
}

.leds--mini .led__label {
	font-size: .5625rem;
	letter-spacing: .04em;
}

/* Pastille dorée de prix. */
.price-pill {
	display: inline-flex;
	align-items: baseline;
	gap: .4rem;
	padding: .45rem .85rem;
	border-radius: 999px;
	background: var(--gold);
	box-shadow: inset 0 -2px 0 rgba(21, 33, 43, .15);
	color: var(--text);
	font-family: var(--font-head);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.price-pill small {
	font-family: var(--font-mono);
	font-size: .6875rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.price-pill--xl {
	padding: .6rem 1.15rem .65rem;
	font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.125rem);
}

.price-note {
	display: flex;
	align-items: flex-start;
	gap: .45rem;
	margin: .9rem 0 0;
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: .8125rem;
	line-height: 1.45;
}

.price-note .icon {
	color: var(--accent2);
}

/* ==========================================================================
   11. Configurations : grille, tableau comparatif
   ========================================================================== */

.config-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
	gap: 1.25rem;
}

.config-grid--2 {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
}

.table-wrap {
	max-width: 100%;
	margin: 1.75rem 0;
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow);
}

.table-wrap table {
	margin: 0;
}

.table-wrap--compare {
	margin-top: 0;
}

.compare {
	width: 100%;
	min-width: 46rem;
	border-collapse: collapse;
	font-size: .9375rem;
	line-height: 1.45;
}

.compare th,
.compare td {
	padding: .85rem .9rem;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.compare tbody tr:last-child > * {
	border-bottom: 0;
}

.compare thead th {
	background: var(--surface-alt);
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: .6875rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	white-space: nowrap;
}

.compare tbody th {
	min-width: 12rem;
	font-family: var(--font-head);
	font-size: 1rem;
	font-weight: 600;
}

.compare tbody th a {
	color: var(--text);
	text-decoration-color: var(--gold);
	text-decoration-thickness: 2px;
}

.compare tbody th a:hover {
	color: var(--accent);
}

.compare__range {
	display: block;
	margin-top: .3rem;
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: .6875rem;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.compare__price {
	font-family: var(--font-head);
	font-size: 1.0625rem;
	font-weight: 700;
	white-space: nowrap;
}

.compare tbody tr:hover {
	background: var(--gold-tint);
}

/* ==========================================================================
   12. Accueil : dépannage, méthode, appel à l'action
   ========================================================================== */

.home-debug {
	position: relative;
	overflow: hidden;
	padding-block: clamp(3rem, 7vw, 5rem);
}

.home-debug__grid {
	position: relative;
	display: grid;
	align-items: start;
	gap: 2.5rem;
}

.home-debug__intro {
	display: grid;
	justify-items: start;
	gap: 1rem;
}

.home-debug__more {
	margin: .5rem 0 0;
}

@media (min-width: 60em) {
	.home-debug__grid {
		grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
		gap: 4rem;
	}
}

.debug-list {
	display: grid;
	gap: .75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.debug-list__link {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.15rem;
	border: 1px solid rgba(159, 195, 180, .3);
	border-radius: var(--radius);
	background: var(--pcb-2);
	color: var(--on-pcb);
	text-decoration: none;
	transition: border-color .15s ease, background-color .15s ease, transform .15s ease;
}

.debug-list__link:hover {
	border-color: var(--gold);
	background: var(--pcb-3);
	color: var(--on-pcb);
	transform: translateX(3px);
}

.debug-list__led .led__lamp {
	width: .9rem;
	height: .9rem;
	border-radius: 50%;
}

.debug-list__title {
	display: block;
	font-family: var(--font-head);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.3;
}

.debug-list__meta {
	display: block;
	margin-top: .35rem;
	color: var(--on-pcb-muted);
	font-family: var(--font-mono);
	font-size: .75rem;
	letter-spacing: .03em;
}

.debug-list__arrow {
	color: var(--gold);
}

.method {
	display: grid;
	gap: 2rem;
	padding: clamp(1.5rem, 4vw, 3rem);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.method__text .section-title {
	margin-top: .65rem;
}

.method__text p {
	max-width: 62ch;
	margin: .9rem 0 0;
	font-size: 1.0625rem;
}

.method__points {
	display: grid;
	gap: .75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.method__points li {
	display: flex;
	align-items: center;
	gap: .8rem;
	padding: .85rem 1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.35;
}

.method__points .icon {
	width: 1.5rem;
	height: 1.5rem;
	color: var(--accent2);
}

@media (min-width: 56em) {
	.method {
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
		align-items: center;
		gap: 3rem;
	}
}

.cta-band {
	display: grid;
	align-items: center;
	justify-items: start;
	gap: 1.25rem 2rem;
	padding: clamp(1.5rem, 4vw, 2.5rem);
	border: 2px solid var(--text);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: 8px 8px 0 var(--accent);
}

.cta-band__text .section-title {
	margin-top: .45rem;
}

.cta-band__text p {
	max-width: 56ch;
	margin: .6rem 0 0;
	color: var(--muted);
}

@media (min-width: 48em) {
	.cta-band {
		grid-template-columns: auto minmax(0, 1fr) auto;
	}
}

/* ==========================================================================
   13. En-têtes de pages et de contenus
   ========================================================================== */

.entry-header,
.page-header {
	padding-block: 1.25rem clamp(2rem, 4vw, 3rem);
	border-bottom: 1px solid var(--line);
}

.breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .3rem .5rem;
	margin: 0 0 1.5rem;
	padding: 0;
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: .8125rem;
	line-height: 1.4;
	list-style: none;
}

.breadcrumb li {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
}

.breadcrumb li:not(:last-child)::after {
	content: "";
	width: 1.1rem;
	height: 2px;
	border-radius: 1px;
	background: var(--gold);
}

.breadcrumb a {
	color: var(--muted);
	text-decoration-color: var(--line-strong);
}

.breadcrumb a:hover {
	color: var(--accent);
}

.breadcrumb [aria-current] {
	color: var(--text);
}

.entry-header__grid,
.page-header__grid {
	display: grid;
	align-items: end;
	gap: 1.75rem 3.5rem;
}

@media (min-width: 64em) {
	.entry-header__grid.has-side {
		grid-template-columns: minmax(0, 1fr) 21rem;
	}

	.page-header__grid {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.page-header__side {
		width: 21rem;
	}
}

.entry-title,
.page-title {
	max-width: 24ch;
	margin: 0 0 1rem;
	font-size: clamp(2rem, 1.3rem + 2.8vw, 3.375rem);
	line-height: 1.05;
	letter-spacing: -.015em;
}

.chapo {
	max-width: 62ch;
	margin: 0 0 1.25rem;
	font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
	line-height: 1.55;
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.25rem;
	margin: 0;
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: .8125rem;
}

.entry-meta span {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
}

.entry-meta .icon {
	color: var(--accent2);
}

.entry-header__band {
	margin-top: 2rem;
}

.page-intro {
	max-width: 68ch;
	font-size: 1.0625rem;
}

.page-intro p:last-child {
	margin-bottom: 0;
}

.page-count {
	margin: 1rem 0 0;
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: .8125rem;
}

.page-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.5rem;
	margin: 1.6rem 0 0;
}

.page-search {
	max-width: 34rem;
	margin-top: 1.4rem;
}

.page-header__deco {
	display: none;
}

@media (min-width: 64em) {
	.page-header__deco {
		display: block;
		justify-self: end;
	}
}

.deco-debug {
	display: grid;
	justify-items: start;
	gap: .8rem;
	padding: 1.25rem;
	border-radius: var(--radius);
	box-shadow: 6px 6px 0 rgba(21, 33, 43, .15);
}

.deco-debug__text {
	margin: 0;
	color: var(--on-pcb-muted);
	font-family: var(--font-mono);
	font-size: .75rem;
}

.deco-parts {
	display: grid;
	grid-template-columns: repeat(4, 4.75rem);
	gap: .5rem;
	margin: 0;
	padding: 1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow);
	list-style: none;
}

.deco-parts li {
	display: grid;
	justify-items: center;
	gap: .4rem;
	padding: .65rem .25rem;
	border-radius: 4px;
	background: var(--bg);
	color: var(--accent2);
}

.deco-parts .icon {
	width: 1.75rem;
	height: 1.75rem;
}

.deco-parts span {
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: .5625rem;
	letter-spacing: .05em;
}

.deco-checklist {
	display: grid;
	gap: .55rem;
	margin: 0;
	padding: 1.1rem 1.4rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow);
	font-family: var(--font-head);
	font-weight: 600;
	list-style: none;
	transform: rotate(-1.5deg);
}

.deco-checklist li {
	display: flex;
	align-items: center;
	gap: .55rem;
}

.deco-checklist .icon {
	color: var(--accent2);
}

/* ==========================================================================
   14. Mise en page des contenus, sommaire, texte courant
   ========================================================================== */

.entry-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
	padding-block: clamp(2rem, 4vw, 3rem) clamp(3rem, 6vw, 4.5rem);
}

.entry-main {
	min-width: 0;
	max-width: 48rem;
}

@media (min-width: 68em) {
	.entry-layout.has-toc {
		grid-template-columns: minmax(0, 48rem) minmax(0, 17rem);
		justify-content: space-between;
		column-gap: 3rem;
	}

	.entry-layout.has-toc .entry-aside {
		grid-row: 1;
		grid-column: 2;
	}

	.entry-layout.has-toc .entry-main {
		grid-row: 1;
		grid-column: 1;
	}

	.entry-aside .toc {
		position: sticky;
		top: 1.5rem;
		max-height: calc(100vh - 3rem);
		overflow-y: auto;
	}
}

.toc {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow);
}

.toc__title {
	display: flex;
	align-items: center;
	gap: .6rem;
	padding: .85rem 1rem;
	font-family: var(--font-head);
	font-size: 1.0625rem;
	font-weight: 700;
	list-style: none;
	cursor: pointer;
}

.toc__title::-webkit-details-marker {
	display: none;
}

.toc__title::marker {
	content: "";
}

.toc__title::after {
	content: "";
	width: .55rem;
	height: .55rem;
	margin-left: auto;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform .2s ease;
}

.toc[open] .toc__title::after {
	transform: rotate(-135deg) translateY(-2px);
}

.toc__nav {
	padding: 0 1rem 1rem;
}

.toc__list {
	display: grid;
	gap: .1rem;
	margin: 0;
	padding: 0 0 0 .9rem;
	border-left: 2px solid var(--line);
	counter-reset: toc;
	list-style: none;
}

.toc__list li {
	position: relative;
	counter-increment: toc;
}

.toc__list a {
	display: block;
	padding: .4rem .3rem .4rem .4rem;
	border-radius: 4px;
	color: var(--muted);
	font-size: .9375rem;
	line-height: 1.35;
	text-decoration: none;
}

.toc__list a::before {
	content: counter(toc, decimal-leading-zero);
	margin-right: .5rem;
	color: var(--accent2);
	font-family: var(--font-mono);
	font-size: .6875rem;
	font-weight: 600;
}

.toc__list a:hover {
	background: var(--surface-alt);
	color: var(--text);
}

.toc__list a[aria-current] {
	color: var(--text);
	font-weight: 600;
}

.toc__list a[aria-current]::after {
	content: "";
	position: absolute;
	top: .72rem;
	left: calc(-.9rem - 6px);
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--gold);
	box-shadow: 0 0 0 2px var(--surface);
}

/* Texte courant : ligne de 68 caractères. */
.prose {
	font-size: 1.125rem;
	line-height: 1.65;
}

.prose > * {
	max-width: var(--measure);
}

.prose > .table-wrap,
.prose > .callout {
	max-width: none;
}

.prose h2 {
	position: relative;
	margin: 3rem 0 1rem;
	padding-top: 1.5rem;
	border-top: 2px solid var(--line);
	font-size: clamp(1.5rem, 1.25rem + 1vw, 1.9375rem);
	line-height: 1.15;
	scroll-margin-top: 1.5rem;
}

/* Piste dorée terminée par un via sur chaque H2. */
.prose h2::before {
	content: "";
	position: absolute;
	top: -6px;
	left: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--gold);
	box-shadow: 0 0 0 3px var(--bg);
}

.prose h2::after {
	content: "";
	position: absolute;
	top: -2px;
	left: 10px;
	width: 3.5rem;
	height: 2px;
	background: var(--gold);
}

.prose > h2:first-child {
	margin-top: 0;
}

.prose h3 {
	margin: 2rem 0 .6rem;
	font-size: 1.25rem;
	line-height: 1.25;
	scroll-margin-top: 1.5rem;
}

.prose ul,
.prose ol {
	margin: 0 0 1.25em;
	padding-left: 1.4rem;
}

.prose li {
	margin-bottom: .45em;
	padding-left: .2rem;
}

.prose ul {
	list-style: none;
}

.prose ul > li {
	position: relative;
}

.prose ul > li::before {
	content: "";
	position: absolute;
	top: .65em;
	left: -1.05rem;
	width: .45rem;
	height: .45rem;
	border-radius: 1.5px;
	background: var(--accent2);
}

.prose ol > li::marker {
	color: var(--accent2);
	font-family: var(--font-mono);
	font-size: .9em;
	font-weight: 700;
}

.prose strong {
	font-weight: 650;
}

.prose blockquote {
	margin: 1.75rem 0;
	padding: .25rem 0 .25rem 1.25rem;
	border-left: 3px solid var(--line-strong);
	color: var(--muted);
	font-style: italic;
}

.prose table {
	width: 100%;
	min-width: 32rem;
	border-collapse: collapse;
	font-size: .9375rem;
	line-height: 1.5;
}

.prose th,
.prose td {
	padding: .7rem .85rem;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.prose thead th {
	background: var(--surface-alt);
	font-family: var(--font-head);
	font-size: .9375rem;
	font-weight: 600;
}

.prose tbody tr:last-child > * {
	border-bottom: 0;
}

/* Encadrés « Attention », « Astuce », « Vérification ». */
.callout {
	--c: var(--accent);
	display: grid;
	grid-template-columns: 1.75rem minmax(0, 1fr);
	gap: .85rem;
	margin: 2rem 0;
	padding: 1.1rem 1.25rem 1.1rem 1rem;
	border: 1px solid var(--line);
	border-left: 4px solid var(--c);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow);
	font-size: 1.0625rem;
}

.callout--warn {
	background: var(--warn-tint);
}

.callout--tip {
	--c: var(--accent2);
}

.callout--check {
	--c: var(--text);
}

.callout__icon {
	padding-top: .1rem;
	color: var(--c);
}

.callout--check .callout__icon {
	color: var(--accent2);
}

.callout__icon .icon {
	width: 1.6rem;
	height: 1.6rem;
}

.callout__body > :last-child {
	margin-bottom: 0;
}

.callout__body > p:first-child > strong:first-child {
	color: var(--c);
	font-family: var(--font-head);
	font-size: .9375rem;
	letter-spacing: .05em;
	text-transform: uppercase;
}

/* ==========================================================================
   15. Fiches ACF
   ========================================================================== */

.fiche {
	margin: 0 0 2.75rem;
}

.fiche__title {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem .75rem;
	margin: 0 0 1.1rem;
	font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem);
	line-height: 1.15;
	scroll-margin-top: 1.5rem;
}

.fiche__title .silk {
	padding: .3rem .45rem;
	border: 1.5px solid currentColor;
	border-radius: 3px;
}

.fiche__title .icon {
	width: 1.4rem;
	height: 1.4rem;
	color: var(--accent);
}

.fiche__title--small {
	margin-bottom: .6rem;
	font-size: 1.25rem;
}

.fiche__lead {
	margin: -.25rem 0 1.25rem;
	color: var(--muted);
	font-size: 1.0625rem;
}

.fiche__note {
	margin: 1rem 0 0;
	color: var(--muted);
	font-size: .875rem;
}

/* Fiche signalétique de l'en-tête. */
.spec-card {
	display: grid;
	gap: 1rem;
	padding: 1.15rem 1.25rem 1.25rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background-color: var(--surface);
	background-image: linear-gradient(rgba(217, 211, 196, .22) 1px, transparent 1px), linear-gradient(90deg, rgba(217, 211, 196, .22) 1px, transparent 1px);
	background-size: 8px 8px;
	box-shadow: var(--shadow);
}

.spec-card__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .85rem;
}

.spec-card__title {
	display: grid;
	gap: .35rem;
	margin: 0;
	font-family: var(--font-head);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.2;
}

.spec-card__icon {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	border-radius: var(--radius);
	background: var(--pcb);
	color: var(--gold);
}

.spec-card__icon .icon {
	width: 1.75rem;
	height: 1.75rem;
}

.spec-card__note {
	display: flex;
	align-items: flex-start;
	gap: .45rem;
	margin: 0;
	padding-top: .85rem;
	border-top: 1px dashed var(--line);
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: .75rem;
	line-height: 1.45;
}

.spec-card__note .icon {
	color: var(--accent2);
}

.spec-card__range {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem;
	margin: 0;
}

.spec-card__arrow {
	color: var(--muted);
	font-weight: 700;
}

.spec-list {
	display: grid;
	gap: .7rem;
	margin: 0;
}

.spec-list > div {
	display: grid;
	grid-template-columns: 6.25rem minmax(0, 1fr);
	align-items: center;
	gap: .75rem;
	padding-top: .7rem;
	border-top: 1px solid var(--line);
}

.spec-list > div:first-child {
	padding-top: 0;
	border-top: 0;
}

.spec-list dt {
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: .6875rem;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.spec-list dd {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .4rem;
	margin: 0;
	font-size: .9375rem;
	font-weight: 600;
}

.spec-list dd .icon {
	color: var(--accent2);
}

.spec-big {
	font-family: var(--font-head);
	font-size: 1.75rem;
	line-height: 1;
}

.level-list {
	display: grid;
	gap: .3rem;
	margin: 0;
	padding: 0;
	font-weight: 500;
	list-style: none;
}

.level-list li {
	display: flex;
	align-items: center;
	gap: .5rem;
}

.spec-card--debug {
	border-color: #1F4A3F;
	background: var(--pcb);
	background-image: none;
}

.spec-card--debug .spec-list > div {
	border-top-color: rgba(159, 195, 180, .25);
}

.spec-card--debug .spec-list dt {
	color: var(--on-pcb-muted);
}

.spec-card--debug .leds {
	border-color: rgba(159, 195, 180, .25);
	background: #082119;
}

.debug-caption {
	margin: 0;
	color: var(--on-pcb);
	font-family: var(--font-mono);
	font-size: .8125rem;
	line-height: 1.45;
}

.spec-card--config .spec-card__head {
	justify-content: space-between;
}

/* Fiche étape. */
.partchips {
	display: flex;
	flex-wrap: wrap;
	gap: .35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.partchips li {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	padding: .25rem .5rem;
	border-radius: 4px;
	background: var(--surface-alt);
	font-size: .8125rem;
	font-weight: 600;
}

.partchips .icon {
	width: 1.1rem;
	height: 1.1rem;
	color: var(--accent2);
}

.toolchips__hint {
	margin: 0 0 .85rem;
	color: var(--muted);
	font-size: .9375rem;
}

.toolchips__count {
	margin-left: .35rem;
	color: var(--accent2);
	font-family: var(--font-mono);
	font-size: .8125rem;
	font-weight: 600;
}

.toolchips__list {
	display: flex;
	flex-wrap: wrap;
	gap: .55rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.toolchip {
	position: relative;
	max-width: 100%;
}

.toolchip input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
}

.toolchip label,
.toolchip__static {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .3rem .55rem;
	max-width: 100%;
	padding: .55rem .95rem .55rem .7rem;
	border: 1.5px solid var(--line-strong);
	border-radius: 1.4rem;
	background: var(--surface);
	font-size: .9375rem;
	font-weight: 500;
	line-height: 1.25;
	cursor: pointer;
	user-select: none;
	transition: background-color .15s ease, border-color .15s ease;
}

.toolchip__static {
	cursor: default;
}

.toolchip label:hover {
	border-color: var(--accent2);
}

.toolchip__box {
	display: grid;
	flex: none;
	place-items: center;
	width: 1.15rem;
	height: 1.15rem;
	border: 2px solid var(--text);
	border-radius: 3px;
	background: var(--surface);
	color: #fff;
}

.toolchip__box .icon {
	width: .85rem;
	height: .85rem;
	stroke-width: 3;
	opacity: 0;
}

.toolchip__icon,
.toolchip__static .icon {
	width: 1.2rem;
	height: 1.2rem;
	color: var(--accent2);
}

.toolchip__steps {
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: .75rem;
}

.toolchip input:checked + label {
	border-color: var(--accent2);
	background: var(--accent2-tint);
}

.toolchip input:checked + label .toolchip__box {
	border-color: var(--accent2);
	background: var(--accent2);
}

.toolchip input:checked + label .toolchip__box .icon {
	opacity: 1;
}

.toolchip input:focus-visible + label {
	outline: 3px solid var(--accent2);
	outline-offset: 2px;
}

.alert-box {
	position: relative;
	overflow: hidden;
	padding: 1.6rem 1.35rem 1.15rem;
	border: 1px solid #EBCDB9;
	border-radius: var(--radius);
	background: var(--warn-tint);
}

/* Bande « ruban de signalisation » orange. */
.alert-box::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 6px;
	background: repeating-linear-gradient(-45deg, var(--accent) 0 10px, transparent 10px 20px);
}

.warn-list {
	display: grid;
	gap: .65rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.warn-list li {
	position: relative;
	padding-left: 1.6rem;
	font-size: 1.0625rem;
	line-height: 1.55;
}

.warn-list li::before {
	content: "";
	position: absolute;
	top: .3em;
	left: 0;
	width: 1rem;
	height: .9rem;
	background: var(--accent);
	clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.errors {
	display: grid;
	gap: .85rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.errors__item {
	display: grid;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow);
}

.errors__bad,
.errors__fix {
	margin: 0;
	padding: .9rem 1.1rem;
	font-size: 1rem;
	line-height: 1.5;
}

.errors__bad {
	background: var(--warn-tint);
}

.errors__fix {
	border-top: 1px solid var(--line);
}

.errors__tag {
	display: flex;
	align-items: center;
	gap: .35rem;
	margin-bottom: .35rem;
	font-family: var(--font-mono);
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.errors__tag .icon {
	width: 1rem;
	height: 1rem;
	stroke-width: 2.5;
}

.errors__bad .errors__tag {
	color: var(--accent);
}

.errors__fix .errors__tag {
	color: var(--accent2);
}

.errors__text {
	display: block;
}

@media (min-width: 40em) {
	.errors__item {
		grid-template-columns: 1fr 1fr;
	}

	.errors__fix {
		border-top: 0;
		border-left: 1px solid var(--line);
	}
}

.result-box,
.evol-box,
.sav-box {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: start;
	gap: 1rem;
	padding: 1.2rem 1.35rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow);
}

.result-box {
	border-color: #BFDACE;
	background: var(--accent2-tint);
}

.result-box__icon {
	color: var(--accent2);
}

.result-box__icon .icon {
	width: 2rem;
	height: 2rem;
}

.result-box p,
.evol-box p,
.sav-box p {
	font-size: 1.0625rem;
}

.result-box p:last-child,
.evol-box p:last-child,
.sav-box p:last-child {
	margin-bottom: 0;
}

.evol-box__icon,
.sav-box__icon {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: var(--radius);
	background: var(--accent2-tint);
	color: var(--accent2);
}

.sav-box {
	border-left: 5px solid var(--pcb);
}

.sav-box__icon {
	background: var(--pcb);
	color: var(--gold);
}

.stepnav {
	display: grid;
	gap: 1rem;
	padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

@media (min-width: 48em) {
	.stepnav {
		grid-template-columns: 1fr 1fr;
	}
}

.stepnav__link {
	display: grid;
	gap: .55rem;
	padding: 1.1rem 1.25rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow);
	color: var(--text);
	text-decoration: none;
	transition: transform .18s ease, box-shadow .18s ease;
}

.stepnav__link:hover {
	box-shadow: var(--shadow-hover);
	color: var(--text);
	transform: translate(-2px, -2px);
}

.stepnav__link--next {
	justify-items: end;
	text-align: right;
}

.stepnav__dir {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	color: var(--accent2);
	font-family: var(--font-mono);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.stepnav__title {
	display: inline-flex;
	align-items: center;
	gap: .65rem;
	font-family: var(--font-head);
	font-size: 1.1875rem;
	font-weight: 700;
	line-height: 1.25;
}

.stepnav__link--next .stepnav__title {
	flex-direction: row-reverse;
}

/* Fiche configuration : nomenclature façon BOM. */
.bom-wrap {
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow);
}

.bom {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--font-mono);
	font-size: .875rem;
	line-height: 1.45;
}

.bom thead th {
	padding: .7rem .9rem;
	border-bottom: 2px solid var(--text);
	background: var(--surface-alt);
	color: var(--muted);
	font-size: .6875rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-align: left;
	text-transform: uppercase;
}

.bom tbody th,
.bom tbody td {
	padding: .85rem .9rem;
	border-bottom: 1px dashed var(--line);
	text-align: left;
	vertical-align: top;
}

.bom tbody tr:hover {
	background: var(--gold-tint);
}

.bom__type {
	width: 1%;
	font-weight: 600;
	white-space: nowrap;
}

.bom__ref {
	display: block;
	margin-bottom: .3rem;
	color: var(--accent2);
	font-size: .6875rem;
	letter-spacing: .1em;
}

.bom__kind {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
}

.bom__kind .icon {
	width: 1.25rem;
	height: 1.25rem;
	color: var(--accent2);
}

.bom__model strong {
	display: block;
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 650;
	line-height: 1.35;
}

.bom__note {
	display: block;
	margin-top: .3rem;
	color: var(--muted);
	font-family: var(--font-body);
	font-size: .875rem;
	line-height: 1.45;
}

.bom .bom__price {
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	text-align: right;
	white-space: nowrap;
}

.bom tfoot th,
.bom tfoot td {
	padding: 1rem .9rem;
	border-top: 2px solid var(--text);
	vertical-align: middle;
}

.bom__total-label {
	font-size: .75rem;
	letter-spacing: .1em;
	text-align: left;
	text-transform: uppercase;
}

.bom__total {
	text-align: right;
}

/*
 * Petit écran : chaque ligne de la nomenclature devient une étiquette à deux niveaux
 * (type et prix sur la première ligne, modèle et remarque sur toute la largeur dessous),
 * au lieu de trois colonnes où le modèle n'avait plus qu'un tiers de la largeur.
 * Les rôles ARIA du gabarit conservent la sémantique de tableau.
 */
@media (max-width: 39.99em) {
	.bom,
	.bom tbody,
	.bom tfoot {
		display: block;
		font-size: .8125rem;
	}

	.bom thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.bom tr {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: .4rem .75rem;
		padding: .8rem .85rem;
		border-bottom: 1px dashed var(--line);
	}

	.bom tbody tr:last-child {
		border-bottom: 0;
	}

	.bom tbody th,
	.bom tbody td,
	.bom tfoot th,
	.bom tfoot td {
		padding: 0;
		border: 0;
	}

	.bom__type {
		display: flex;
		grid-row: 1;
		grid-column: 1;
		align-items: center;
		gap: .6rem;
		width: auto;
		white-space: normal;
	}

	.bom__ref {
		margin: 0;
	}

	.bom tbody .bom__price {
		grid-row: 1;
		grid-column: 2;
		font-size: .875rem;
	}

	.bom__model {
		grid-row: 2;
		grid-column: 1 / -1;
	}

	.bom__model strong {
		font-size: .9375rem;
	}

	.bom tfoot tr {
		padding-block: 1rem;
		border-top: 2px solid var(--text);
		border-bottom: 0;
	}
}

.perf {
	display: grid;
	gap: .75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.perf__item {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: start;
	gap: .9rem;
	padding: 1rem 1.1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}

.perf__icon {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--pcb);
	color: var(--gold);
}

.perf__scenario {
	margin: 0 0 .25rem;
	font-family: var(--font-head);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.3;
}

.perf__result {
	margin: 0;
	font-size: 1rem;
	line-height: 1.55;
}

.proscons {
	display: grid;
	gap: 1rem;
}

@media (min-width: 40em) {
	.proscons {
		grid-template-columns: 1fr 1fr;
	}
}

.proscons__col {
	--c: var(--accent2);
	padding: 1.1rem 1.25rem 1.2rem;
	border: 1px solid var(--line);
	border-top: 4px solid var(--c);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow);
}

.proscons__col--cons {
	--c: var(--accent);
}

.proscons__title {
	display: flex;
	align-items: center;
	gap: .5rem;
	margin: 0 0 .75rem;
	font-size: 1.125rem;
}

.proscons__title .icon {
	color: var(--c);
	stroke-width: 2.5;
}

.proscons ul {
	display: grid;
	gap: .55rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.proscons li {
	position: relative;
	padding-left: 1.25rem;
	font-size: 1rem;
	line-height: 1.5;
}

.proscons li::before {
	content: "";
	position: absolute;
	top: .55em;
	left: 0;
	width: .5rem;
	height: .5rem;
	border-radius: 50%;
	background: var(--c);
}

.more-configs,
.related {
	padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

/* Fiche diagnostic. */
.symptoms {
	margin: 0 0 1.5rem;
}

.symptoms__label {
	margin: 0 0 .6rem;
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: .75rem;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.symptoms__list {
	display: flex;
	flex-wrap: wrap;
	gap: .45rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.symptom {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	padding: .4rem .75rem;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: var(--surface);
	font-size: .9375rem;
	font-weight: 500;
	line-height: 1.3;
}

.symptom__dot {
	flex: none;
	width: .55rem;
	height: .55rem;
	border-radius: 50%;
	background: var(--line-strong);
}

.symptom--led {
	border-color: var(--pcb);
	background: var(--pcb);
	color: var(--on-pcb);
}

.symptom--cpu .symptom__dot {
	background: var(--led-cpu);
	box-shadow: 0 0 6px 1px rgba(215, 56, 43, .8);
}

.symptom--dram .symptom__dot {
	background: var(--led-dram);
	box-shadow: 0 0 6px 1px rgba(232, 185, 47, .8);
}

.symptom--vga .symptom__dot {
	background: var(--led-vga);
	box-shadow: 0 0 6px 1px rgba(244, 244, 240, .7);
}

.symptom--boot .symptom__dot {
	background: var(--led-boot);
	box-shadow: 0 0 6px 1px rgba(47, 179, 107, .8);
}

.causes {
	display: grid;
	gap: .75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cause {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: start;
	gap: .5rem 1rem;
	padding: 1rem 1.15rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow);
}

.cause .bars {
	grid-column: 2;
}

.cause--f3 {
	border-left: 4px solid var(--accent);
}

.cause__rank {
	padding-top: .1rem;
	color: var(--accent2);
	font-family: var(--font-mono);
	font-size: 1.125rem;
	font-weight: 700;
}

.cause__title {
	margin: 0 0 .35rem;
	font-size: 1.125rem;
	line-height: 1.3;
}

.cause__check {
	display: flex;
	align-items: flex-start;
	gap: .5rem;
	margin: 0;
	font-size: 1rem;
	line-height: 1.5;
}

.cause__check .icon {
	margin-top: .15rem;
	color: var(--accent2);
}

@media (min-width: 40em) {
	.cause {
		grid-template-columns: auto minmax(0, 1fr) auto;
	}

	.cause .bars {
		grid-row: 1;
		grid-column: 3;
		justify-self: end;
	}
}

/* Fiche guide d'achat. */
.bref-box {
	padding: 1.25rem 1.35rem 1.15rem;
	border: 1px solid #EBD3A1;
	border-radius: var(--radius);
	background: var(--gold-tint);
	box-shadow: var(--shadow);
}

.bref-box .silk {
	color: var(--gold-dark);
}

.check-list {
	display: grid;
	gap: .6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.check-list li {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: start;
	gap: .6rem;
	font-size: 1.0625rem;
	line-height: 1.5;
}

.check-list .icon {
	margin-top: .15rem;
	color: var(--accent2);
	stroke-width: 2.5;
}

.criteria {
	display: grid;
	gap: .85rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 40em) {
	.criteria {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.criterion:last-child:nth-child(odd),
	.tier:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}
}

.criterion {
	padding: 1.1rem 1.15rem 1.15rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow);
}

.criterion__n {
	display: inline-block;
	margin-bottom: .5rem;
	padding: .2rem .4rem;
	border: 1.5px solid var(--accent2);
	border-radius: 3px;
	color: var(--accent2);
	font-family: var(--font-mono);
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .1em;
}

.criterion__title {
	margin: 0 0 .4rem;
	font-size: 1.125rem;
}

.criterion__text {
	margin: 0;
	font-size: 1rem;
	line-height: 1.55;
}

.tiers {
	display: grid;
	gap: 1rem;
}

@media (min-width: 40em) {
	.tiers {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.tier {
	display: flex;
	flex-direction: column;
	gap: .75rem;
	padding: 1.15rem 1.2rem 1.25rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow);
}

.tier__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
}

.tier__title {
	margin: 0;
	font-size: 1.125rem;
}

.tier__price {
	margin: 0;
}

.tier__models {
	display: flex;
	flex-wrap: wrap;
	gap: .35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tier__models li {
	padding: .3rem .55rem;
	border-radius: 4px;
	background: var(--surface-alt);
	font-family: var(--font-mono);
	font-size: .8125rem;
	font-weight: 600;
}

.tier__who {
	margin: auto 0 0;
	color: var(--muted);
	font-size: .9375rem;
	line-height: 1.5;
}

.tier__who strong {
	color: var(--text);
}

.tier--4 {
	border-color: var(--pcb);
	background: var(--pcb);
	color: var(--on-pcb);
}

.tier--4 .tier__models li {
	background: var(--pcb-3);
	color: var(--on-pcb);
}

.tier--4 .tier__who,
.tier--4 .tier__who strong {
	color: var(--on-pcb-muted);
}

.tier--4 .bars__track i {
	background: rgba(159, 195, 180, .3);
}

.tier--4 .bars__track i.is-on {
	background: var(--gold);
}

/* FAQ et sources. */
.faq {
	margin: 0 0 2.75rem;
}

.faq__list {
	display: grid;
	gap: .6rem;
}

.faq__item {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow);
}

.faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.15rem;
	font-family: var(--font-head);
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.3;
	list-style: none;
	cursor: pointer;
}

.faq__q::-webkit-details-marker {
	display: none;
}

.faq__q::marker {
	content: "";
}

.faq__q:hover {
	color: var(--accent);
}

.faq__toggle {
	position: relative;
	flex: none;
	width: 1.75rem;
	height: 1.75rem;
	border: 2px solid var(--gold);
	border-radius: 50%;
	background: var(--surface);
}

.faq__toggle::before,
.faq__toggle::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: .7rem;
	height: 2px;
	background: var(--text);
	transform: translate(-50%, -50%);
}

.faq__toggle::after {
	transform: translate(-50%, -50%) rotate(90deg);
	transition: transform .2s ease;
}

.faq__item[open] .faq__toggle {
	background: var(--gold);
}

.faq__item[open] .faq__toggle::after {
	transform: translate(-50%, -50%) rotate(0deg);
}

.faq__a {
	max-width: 68ch;
	padding: 0 1.15rem 1.1rem;
	font-size: 1.0625rem;
	line-height: 1.6;
}

.faq__a p:last-child {
	margin-bottom: 0;
}

.sources {
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
}

.sources .fiche__title .icon {
	color: var(--accent2);
}

.sources__list {
	display: grid;
	gap: .5rem;
	margin: 0;
	padding-left: 1.4rem;
	font-size: .9375rem;
}

.sources__list li::marker {
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: .8125rem;
}

.sources__list a {
	color: var(--text);
	text-decoration-color: var(--line-strong);
}

.sources__list a:hover {
	color: var(--accent);
	text-decoration-color: currentColor;
}

.sources__host {
	margin-left: .4rem;
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: .75rem;
}

/* ==========================================================================
   16. Archives, recherche, plan du site, 404
   ========================================================================== */

.archive-body {
	padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 6vw, 4.5rem);
}

.archive-body > .trace-divider {
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.empty-state {
	padding: 1.5rem;
	border: 1px dashed var(--line-strong);
	border-radius: var(--radius);
	background: var(--surface);
}

.empty-state > p {
	margin-top: 0;
}

.next-hubs {
	display: grid;
	gap: 1rem;
}

.next-hubs__title {
	margin: 0;
	font-size: 1.25rem;
}

.next-hubs ul {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pagination {
	margin-top: 2.5rem;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}

.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 2.75rem;
	height: 2.75rem;
	padding: 0 .8rem;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--text);
	font-family: var(--font-mono);
	font-size: .9375rem;
	font-weight: 600;
	text-decoration: none;
}

a.page-numbers:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.page-numbers.current {
	border-color: var(--text);
	background: var(--text);
	color: var(--bg);
}

.page-numbers.dots {
	border: 0;
	background: none;
}

.quick-links {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
	gap: .75rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}

.quick-links a {
	display: flex;
	align-items: center;
	gap: .7rem;
	height: 100%;
	padding: 1rem 1.1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow);
	color: var(--text);
	font-family: var(--font-head);
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	transition: transform .18s ease, box-shadow .18s ease;
}

.quick-links a:hover {
	box-shadow: var(--shadow-hover);
	color: var(--accent);
	transform: translate(-2px, -2px);
}

.quick-links .icon {
	width: 1.5rem;
	height: 1.5rem;
	color: var(--accent2);
}

.sitemap {
	padding-block: clamp(2rem, 5vw, 3rem) clamp(3rem, 6vw, 4.5rem);
}

.sitemap__intro {
	margin-bottom: 2rem;
}

.sitemap-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr));
	align-items: start;
	gap: 1.25rem;
}

.sitemap-block {
	padding: 1.25rem 1.35rem 1.35rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow);
}

.sitemap-block__title {
	display: flex;
	align-items: center;
	gap: .55rem;
	margin: 0 0 .85rem;
	padding-bottom: .7rem;
	border-bottom: 1px solid var(--line);
	font-size: 1.1875rem;
}

.sitemap-block__title .icon {
	color: var(--accent2);
}

.sitemap-block__title a {
	color: var(--text);
	text-decoration: none;
}

.sitemap-block__title a:hover {
	color: var(--accent);
	text-decoration: underline;
}

.sitemap-block__count {
	margin-left: auto;
	padding: .2rem .45rem;
	border-radius: 999px;
	background: var(--surface-alt);
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: .75rem;
	font-weight: 600;
}

.sitemap-list {
	display: grid;
	gap: .5rem;
	margin: 0;
	padding: 0;
	font-size: 1rem;
	line-height: 1.4;
	list-style: none;
}

.sitemap-list a {
	color: var(--text);
	text-decoration-color: var(--line-strong);
}

.sitemap-list a:hover {
	color: var(--accent);
}

.sitemap-list--steps a {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	text-decoration: none;
}

.sitemap-list--steps a:hover {
	text-decoration: underline;
}

.sitemap-list__meta {
	margin-left: .4rem;
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: .75rem;
}

.error-404 {
	padding-block: clamp(2.5rem, 6vw, 4.5rem);
	border-bottom: 1px solid var(--line);
}

.error-404__grid {
	display: grid;
	align-items: center;
	gap: 2rem 3.5rem;
}

@media (min-width: 56em) {
	.error-404__grid {
		grid-template-columns: auto minmax(0, 1fr);
	}
}

.qcode {
	display: grid;
	justify-items: center;
	gap: 1rem;
	justify-self: start;
	padding: 1.5rem 1.75rem;
	border-radius: var(--radius);
	box-shadow: 6px 6px 0 rgba(21, 33, 43, .15);
}

.qcode__display {
	width: 12rem;
	height: auto;
	padding: .75rem;
	border-radius: 4px;
	background: #061A14;
}

.seg {
	fill: rgba(215, 56, 43, .1);
}

.seg.is-on {
	fill: #F0523A;
	filter: drop-shadow(0 0 3px rgba(240, 82, 58, .7));
}

/* ==========================================================================
   16 bis. Liens Amazon Partenaires (mu-plugin LMA) : mention, liens-boutons
   ========================================================================== */

/*
 * Mention d'affiliation en tête d'article : étiquette discrète posée sur l'établi,
 * liseré doré (la couleur des prix). Texte muted sur blanc : 7,4:1.
 */
.lma-affiliation {
	position: relative;
	margin: 0 0 2rem;
	padding: .7rem 1rem .7rem 2.1rem;
	border: 1px solid var(--line);
	border-left: 4px solid var(--gold);
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--muted);
	font-size: .875rem;
	line-height: 1.5;
}

/* Via doré (décoratif), comme les têtes de section. */
.lma-affiliation::before {
	content: "";
	position: absolute;
	top: 1.1rem;
	left: .8rem;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--gold);
	box-shadow: 0 0 0 2px var(--gold-tint);
}

.prose > .lma-affiliation {
	max-width: none;
}

.prose > .lma-affiliation:first-child + h2 {
	margin-top: 0;
}

/* Ligne du pied de page (fond PCB) : simple texte, sur sa propre ligne. on_pcb_muted sur pcb : 7,7:1. */
.lma-affiliation--footer {
	flex-basis: 100%;
	order: 3;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--on-pcb-muted);
	font-size: .8125rem;
	line-height: 1.5;
}

.lma-affiliation--footer::before {
	content: none;
}

/*
 * Lien-bouton sobre « Voir sur Amazon » : contour encre, fond blanc, ombre d'étiquette courte.
 * Texte sur blanc 16,4:1 ; au survol accent_hover sur warn-tint 7:1.
 */
.lma-amazon {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	max-width: 100%;
	min-height: 2.25rem;
	padding: .35rem .8rem;
	border: 1.5px solid var(--text);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: 2px 2px 0 rgba(21, 33, 43, .14);
	color: var(--text);
	font-family: var(--font-head);
	font-size: .9375rem;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: .01em;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.lma-amazon:hover {
	border-color: var(--accent);
	background: var(--warn-tint);
	color: var(--accent-hover);
	text-decoration: none;
}

.lma-amazon:focus-visible {
	outline: 3px solid var(--accent2);
	outline-offset: 2px;
}

.lma-amazon__icon {
	flex: none;
	width: 1rem;
	height: 1rem;
}

/* Nomenclature des configurations : un lien par composant, sous le modèle et la remarque. */
.bom__buy {
	display: block;
	margin-top: .6rem;
}

.bom .lma-amazon {
	min-height: 2rem;
	padding: .3rem .65rem;
	font-size: .8125rem;
}

/* Outils des étapes : le lien est accolé à la puce cochable, comme un second segment d'étiquette. */
.toolchip--buy {
	display: inline-flex;
	align-items: stretch;
}

.toolchip--buy label {
	min-width: 0;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.lma-amazon--chip {
	flex: none;
	min-height: 0;
	margin-left: -1.5px;
	padding: .35rem .85rem .35rem .7rem;
	border-color: var(--line-strong);
	border-radius: 0 1.4rem 1.4rem 0;
	background: var(--surface-alt);
	box-shadow: none;
	font-size: .8125rem;
}

/* Petit écran : chaque outil achetable occupe une ligne (puce à gauche, lien à droite), sans débordement. */
@media (max-width: 39.99em) {
	.toolchip--buy {
		flex: 1 1 100%;
	}

	.toolchip--buy label {
		flex: 1 1 auto;
	}
}

/* ==========================================================================
   17. Pied de page
   ========================================================================== */

.site-footer {
	position: relative;
	overflow: hidden;
	padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem;
}

.site-footer__grid {
	position: relative;
	display: grid;
	gap: 2.25rem 2rem;
}

@media (min-width: 40em) {
	.site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (min-width: 64em) {
	.site-footer__grid {
		grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
	}

	.site-footer__brand {
		grid-column: auto;
	}
}

.site-footer__tagline {
	max-width: 30ch;
	margin: 1.1rem 0 .6rem;
	font-family: var(--font-head);
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.35;
}

.site-footer__method {
	max-width: 42ch;
	margin: 0;
	color: var(--on-pcb-muted);
	font-size: .9375rem;
	line-height: 1.55;
}

.footer-title {
	margin: 0 0 1rem;
	color: var(--gold);
	font-family: var(--font-mono);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.site-footer ul {
	display: grid;
	gap: .6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__col a {
	color: var(--on-pcb);
	font-size: 1rem;
	text-decoration: none;
}

.site-footer__col a:hover {
	color: var(--gold);
	text-decoration: underline;
	text-underline-offset: .2em;
}

.site-footer__bottom {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .5rem 1.5rem;
	margin-top: 2.75rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(159, 195, 180, .25);
	color: var(--on-pcb-muted);
	font-size: .875rem;
}

.site-footer__bottom p {
	margin: 0;
}

.site-footer__bottom a {
	color: var(--on-pcb);
	text-decoration-color: var(--gold);
}

.site-footer__bottom a:hover {
	color: var(--gold);
}

.site-footer__silk {
	font-family: var(--font-mono);
	font-size: .6875rem;
	letter-spacing: .16em;
}

/* ==========================================================================
   18. Mouvement réduit, impression
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		scroll-behavior: auto !important;
	}

	.card:hover,
	.btn:hover,
	.stepnav__link:hover,
	.quick-links a:hover,
	.debug-list__link:hover,
	.steptrack a:hover {
		transform: none;
	}
}

@media print {
	.site-header,
	.site-footer,
	.entry-aside,
	.stepnav,
	.related,
	.more-configs,
	.steptrack,
	.skip-link,
	.pcb-traces,
	.trace-divider,
	.lma-amazon {
		display: none !important;
	}

	body {
		background: #fff;
		font-size: 11pt;
	}

	.paper {
		background: none;
	}

	.card,
	.spec-card,
	.toc,
	.callout,
	.faq__item,
	.bom-wrap,
	.table-wrap {
		box-shadow: none;
	}

	.prose a[href^="http"]::after {
		content: " (" attr(href) ")";
		color: #555;
		font-size: .85em;
	}
}
