/* Page matériel complète — maquette design/star-focuser.dc.html (ADR-082).
 * Complète page-logiciel.css (le <main> porte .sdl-swp et .sdl-hwp) : seules les différences et les blocs propres
 * au matériel sont ici (classes sdl-hwp-*, helpers sdl_hwp_*() de inc/materiel-page.php). Valeurs 1:1 de la maquette,
 * tokens de theme.json ; voiles rgba() du fond de page comme page-logiciel.css. */

/* Sections resserrées : la suite de la page se devine (handoff). */
.sdl-hwp {
	--sdl-swp-section-y: clamp(40px, 5vw, 64px);
}

/* ---------- Mises en page communes ---------- */
.sdl-hwp .sdl-swp-stack.is-28 { gap: 28px; }
.sdl-hwp .sdl-swp-stack.is-36 { gap: 36px; }

.sdl-hwp .sdl-swp-row.is-420 {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}

/* Deux colonnes alignées en haut (03 Open Hardware, 04 Composants). */
.sdl-hwp .sdl-hwp-split {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: clamp(32px, 5vw, 64px);
	align-items: start;
}

.sdl-hwp .sdl-hwp-split.is-24 {
	gap: clamp(24px, 5vw, 64px);
}

.sdl-hwp .sdl-hwp-split > * {
	min-width: 0;
}

.sdl-hwp .sdl-swp-title.is-flush {
	margin: 0;
}

.sdl-hwp .sdl-swp-eyebrow.is-soft {
	color: var(--wp--preset--color--accent-soft);
}

/* Images produit assombries (fonds gris clairs d'origine). */
.sdl-hwp .sdl-swp-shot.is-dim-62 img { filter: brightness(0.62); }
.sdl-hwp .sdl-swp-shot.is-dim-70 img { filter: brightness(0.7); }

.sdl-swp-lightbox.is-dim img {
	filter: brightness(0.8);
}

/* Figure avec légende (10 px sous l'image). */
.sdl-hwp .sdl-swp-shot .wp-element-caption {
	margin: 10px 0 0;
	color: var(--wp--preset--color--muted-2);
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--12-5);
	line-height: var(--wp--custom--line-height--body);
	text-align: left;
}

/* ---------- Hero ---------- */
.sdl-hwp .sdl-hwp-hero {
	position: relative;
	overflow: hidden;
	padding-top: clamp(36px, 5vw, 64px);
	padding-bottom: clamp(36px, 5vw, 56px);
}

/* Fond : Cygnus Wall à 16 %, puis dégradé vers le fond de page. */
.sdl-hwp .sdl-hwp-hero::before,
.sdl-hwp .sdl-hwp-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.sdl-hwp .sdl-hwp-hero::before {
	background: url("../images/cygnus-wall.webp") 50% 50% / cover no-repeat;
	opacity: 0.16;
}

.sdl-hwp .sdl-hwp-hero::after {
	background: linear-gradient(180deg, rgba(10, 12, 16, 0.4) 0%, var(--wp--preset--color--base) 85%);
}

@media (max-width: 800px) {
	.sdl-hwp .sdl-hwp-hero::before {
		background-image: url("../images/cygnus-wall-800.webp");
	}
}

.sdl-hwp .sdl-hwp-hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}

.sdl-hwp .sdl-hwp-hero__grid > * {
	min-width: 0;
}

/* Badge « Open Hardware · MIT » : vert, sans pastille ni fond. */
.sdl-hwp .sdl-hwp-badge {
	padding: 6px 12px;
	border: 1px solid var(--sdl-swp-status-line-ok);
	border-radius: var(--wp--preset--border-radius--pill);
	color: var(--wp--preset--color--status-ok);
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--12-5);
	letter-spacing: var(--wp--custom--letter-spacing--label);
	line-height: var(--wp--custom--line-height--body);
	text-transform: uppercase;
}

.sdl-hwp .sdl-hwp-hero__title {
	margin: 0;
	font-size: clamp(44px, 7vw, 88px);
	font-weight: 700;
	line-height: 0.98;
	letter-spacing: -0.035em;
	text-wrap: wrap; /* Maquette : pas d'équilibrage (thème : h1 en balance). */
}

.sdl-hwp .sdl-hwp-hero__num {
	color: var(--wp--preset--color--accent);
}

.sdl-hwp .sdl-hwp-hero__subtitle {
	max-width: 24ch;
	margin-top: 18px;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(22px, 2.6vw, 32px);
	font-weight: 600;
	line-height: 1.22;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

.sdl-hwp .sdl-hwp-hero__lede {
	max-width: 56ch;
	margin: 20px 0 32px;
	color: var(--wp--preset--color--text-2);
	font-size: clamp(17px, 1.5vw, 19px);
	text-wrap: pretty;
}

.sdl-hwp .sdl-hwp-hero__actions .is-style-outline > .wp-block-button__link {
	padding-right: var(--wp--preset--spacing--24);
	padding-left: var(--wp--preset--spacing--24);
}

.sdl-hwp .sdl-hwp-hero__note {
	max-width: 56ch;
	margin-top: 18px;
	color: var(--wp--preset--color--muted);
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--13);
}

/* ---------- Bandeau de points clés ---------- */
.sdl-hwp .sdl-hwp-keys {
	border-top: 1px solid var(--wp--preset--color--line);
	border-bottom: 1px solid var(--wp--preset--color--line);
	background: var(--wp--preset--color--surface);
}

.sdl-hwp .sdl-hwp-keys__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 1px;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0;
	background: var(--wp--preset--color--line);
	list-style: none;
	counter-reset: sdl-hwp-key;
}

.sdl-hwp .sdl-hwp-keys__list li {
	display: flex;
	margin: 0;
	counter-increment: sdl-hwp-key;
}

.sdl-hwp .sdl-hwp-keys__list a {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 6px;
	padding: 28px 24px;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--muted);
	font-size: 15.5px;
}

.sdl-hwp .sdl-hwp-keys__list a:hover {
	background: var(--wp--preset--color--surface-2);
}

.sdl-hwp .sdl-hwp-keys__list a::before {
	content: counter(sdl-hwp-key, decimal-leading-zero);
	color: var(--wp--preset--color--accent-soft);
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--12);
}

.sdl-hwp .sdl-hwp-keys__list strong {
	color: var(--wp--preset--color--text);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--20);
	font-weight: 600;
}

/* ---------- 01 Points à filets ---------- */
.sdl-hwp .sdl-hwp-points {
	display: flex;
	flex-direction: column;
	gap: 1px;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--preset--border-radius--16);
	background: var(--wp--preset--color--line);
}

.sdl-hwp .sdl-hwp-point {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 22px 24px;
	background: var(--wp--preset--color--base);
}

.sdl-hwp .sdl-hwp-point__title,
.sdl-hwp .sdl-hwp-steps strong {
	font-family: var(--wp--preset--font-family--display);
	font-size: 19px;
	font-weight: 600;
	line-height: var(--wp--custom--line-height--body);
	letter-spacing: normal;
}

.sdl-hwp .sdl-hwp-point p {
	color: var(--wp--preset--color--muted);
	font-size: 15.5px;
	text-wrap: pretty;
}

.sdl-hwp .sdl-hwp-points__foot {
	padding: 16px 24px;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--text-2);
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--13);
}

/* ---------- 02 Étapes numérotées ---------- */
.sdl-hwp .sdl-hwp-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 16px;
	padding: 0;
	list-style: none;
	counter-reset: sdl-hwp-step;
}

.sdl-hwp .sdl-hwp-steps li {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	margin: 0;
	padding: 24px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--preset--border-radius--14);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--muted);
	font-size: 15.5px;
	text-wrap: pretty;
	counter-increment: sdl-hwp-step;
}

.sdl-hwp .sdl-hwp-steps li::before {
	content: counter(sdl-hwp-step, decimal-leading-zero);
	color: var(--wp--preset--color--accent-soft);
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--12);
}

.sdl-hwp .sdl-hwp-steps strong {
	color: var(--wp--preset--color--text);
	text-wrap: wrap; /* Titre : pas de « pretty » (maquette). */
}

.sdl-hwp .sdl-hwp-steps code {
	align-self: flex-start;
	margin-top: 4px;
	padding: 6px 10px;
	border: 1px solid var(--wp--preset--color--line-2);
	border-radius: var(--wp--preset--border-radius--7);
	background: var(--wp--preset--color--base-deep);
	color: var(--wp--preset--color--text);
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--14);
}

/* ---------- 03 Fichiers ouverts ---------- */
.sdl-hwp .sdl-hwp-files {
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--line-2);
	border-radius: var(--wp--preset--border-radius--16);
	background: var(--wp--preset--color--surface);
}

.sdl-hwp .sdl-hwp-files__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 14px 20px;
	border-bottom: 1px solid var(--wp--preset--color--line);
	color: var(--wp--preset--color--text-2);
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--12-5);
	letter-spacing: var(--wp--custom--letter-spacing--label);
	text-transform: uppercase;
}

.sdl-hwp .sdl-hwp-files__license {
	color: var(--wp--preset--color--status-ok);
}

.sdl-hwp .sdl-hwp-files__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sdl-hwp .sdl-hwp-files__list li {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 2px 16px;
	margin: 0;
	padding: 16px 20px;
	border-bottom: 1px solid var(--wp--preset--color--line-soft);
	color: var(--wp--preset--color--muted);
	font-size: 14.5px;
}

.sdl-hwp .sdl-hwp-files__list strong {
	grid-column: 1;
	color: var(--wp--preset--color--text);
	font-size: var(--wp--preset--font-size--16);
	font-weight: 600;
}

.sdl-hwp .sdl-hwp-files__list code {
	grid-column: 2;
	grid-row: 1 / span 2;
	color: var(--wp--preset--color--accent-soft);
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--12-5);
	white-space: nowrap;
}

.sdl-hwp .sdl-hwp-files__more a {
	display: flex;
	align-items: center;
	/* En flex, l'espace avant la flèche est absorbé. */
	gap: 0.3em;
	min-height: var(--sdl-btn-h-xl);
	padding: 0 var(--sdl-btn-px-sm);
	color: var(--wp--preset--color--link);
	font-size: var(--sdl-btn-fs-md);
	font-weight: 600;
}

.sdl-hwp .sdl-hwp-files__more a:hover {
	color: var(--wp--preset--color--link-hover);
}

/* ---------- 03 Ce que nous vendons ---------- */
.sdl-hwp .sdl-hwp-sell__title {
	font-size: var(--wp--preset--font-size--card-title);
	font-weight: 700;
	line-height: var(--wp--custom--line-height--card);
	letter-spacing: -0.015em;
}

.sdl-hwp .sdl-hwp-offers {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
	gap: 12px;
	padding: 0;
	list-style: none;
	counter-reset: sdl-hwp-offer;
}

.sdl-hwp .sdl-hwp-offers li {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	margin: 0;
	padding: 18px 20px;
	border: 1px solid var(--wp--preset--color--line-panel);
	border-radius: var(--wp--preset--border-radius--14);
	background: var(--wp--preset--color--surface-3);
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--15);
	counter-increment: sdl-hwp-offer;
}

.sdl-hwp .sdl-hwp-offers li::before {
	content: counter(sdl-hwp-offer, upper-alpha);
	color: var(--wp--preset--color--accent-soft);
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--12);
}

.sdl-hwp .sdl-hwp-offers strong {
	color: var(--wp--preset--color--text);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--18);
	font-weight: 600;
}

.sdl-hwp .sdl-hwp-pledge {
	padding-left: 14px;
	border-left: 2px solid var(--wp--preset--color--accent);
	color: var(--wp--preset--color--text);
	font-weight: 500;
}

/* ---------- 04 Composants ---------- */
.sdl-hwp .sdl-hwp-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 6px;
	padding: 0;
	list-style: none;
}

.sdl-hwp .sdl-hwp-tags li {
	margin: 0;
	padding: 8px 12px;
	border: 1px solid var(--wp--preset--color--line-2);
	border-radius: var(--wp--preset--border-radius--8);
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--text);
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--13);
}

.sdl-hwp .sdl-hwp-upcoming {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: clamp(22px, 3vw, 32px);
	border: 1px dashed var(--wp--preset--color--line-3);
	border-radius: var(--wp--preset--border-radius--16);
}

.sdl-hwp .sdl-hwp-upcoming__tag {
	color: var(--wp--preset--color--status-pre);
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--12-5);
	letter-spacing: var(--wp--custom--letter-spacing--eyebrow);
	text-transform: uppercase;
}

.sdl-hwp .sdl-hwp-upcoming__title,
.sdl-hwp .sdl-hwp-iface__title {
	font-size: var(--wp--preset--font-size--22);
	font-weight: 600;
	line-height: var(--wp--custom--line-height--body);
	letter-spacing: normal;
}

.sdl-hwp .sdl-hwp-upcoming p:not([class*="sdl-hwp"]) {
	color: var(--wp--preset--color--muted);
	text-wrap: pretty;
}

/* ---------- 05 Compatibilité ---------- */
.sdl-hwp .sdl-hwp-ifaces {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
	gap: 16px;
}

.sdl-hwp .sdl-hwp-iface {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
	padding: clamp(22px, 3vw, 30px);
	border: 1px solid var(--wp--preset--color--line-panel);
	border-radius: var(--wp--preset--border-radius--16);
	background: var(--wp--preset--color--surface);
}

.sdl-hwp .sdl-hwp-iface__tag {
	color: var(--wp--preset--color--accent-soft);
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--12-5);
	letter-spacing: var(--wp--custom--letter-spacing--label);
	text-transform: uppercase;
}

.sdl-hwp .sdl-hwp-iface p:not([class*="sdl-hwp"]) {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--16);
	text-wrap: pretty;
}

.sdl-hwp .sdl-hwp-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
	padding: 6px 0 0;
	list-style: none;
}

.sdl-hwp .sdl-hwp-pills li {
	margin: 0;
	padding: 6px 11px;
	border: 1px solid var(--wp--preset--color--line-3);
	border-radius: var(--wp--preset--border-radius--pill);
	color: var(--wp--preset--color--text);
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--13);
}

.sdl-hwp .sdl-hwp-strip {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 16px 32px;
	padding: 22px 24px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--preset--border-radius--14);
}

.sdl-hwp .sdl-hwp-strip__text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	max-width: 72ch;
}

.sdl-hwp .sdl-hwp-strip__title {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--18);
	font-weight: 600;
}

.sdl-hwp .sdl-hwp-strip__text p:not([class*="sdl-hwp"]) {
	color: var(--wp--preset--color--muted);
	font-size: 15.5px;
	text-wrap: pretty;
}

.sdl-hwp .sdl-hwp-strip__aside {
	color: var(--wp--preset--color--muted-2);
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--12-5);
	white-space: nowrap;
}

/* ---------- Caractéristiques ---------- */
.sdl-hwp .sdl-hwp-spec-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: clamp(24px, 5vw, 64px);
	align-items: start;
}

.sdl-hwp .sdl-hwp-specs {
	/* Maquette : span 2, qui crée une colonne vide et déborde de 9 px dans la gouttière à 375 px (ADR-082). */
	grid-column: 1 / -1;
	min-width: 0;
	margin: 0;
	border-top: 1px solid var(--wp--preset--color--line-2);
}

/* Deux colonnes ou plus (contenu ≥ 640 px + gouttière de 5vw, soit ≥ 716 px) : span 2 de la maquette, liste à côté du
 * titre dès trois colonnes (ADR-086). */
@media (min-width: 716px) {
	.sdl-hwp .sdl-hwp-specs {
		grid-column: span 2;
	}
}

.sdl-hwp .sdl-hwp-specs > div {
	display: grid;
	grid-template-columns: minmax(120px, 0.4fr) minmax(0, 1fr);
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.sdl-hwp .sdl-hwp-specs dt {
	padding-top: 2px;
	color: var(--wp--preset--color--muted);
	font-family: var(--wp--preset--font-family--mono);
	font-size: 13.5px;
}

.sdl-hwp .sdl-hwp-specs dd {
	margin: 0;
	color: var(--wp--preset--color--text);
	font-size: var(--wp--preset--font-size--16);
}

/* ---------- FAQ (blocs Détails, accordéon exclusif sans JS) ---------- */
.sdl-hwp .sdl-hwp-faq {
	/* Maquette : 900 px moins 2 × 20 px de padding. */
	max-width: 860px;
	margin-right: auto;
	margin-left: auto;
}

.sdl-hwp .sdl-swp-title.sdl-hwp-faq__title {
	margin: 14px 0 28px;
	text-wrap: wrap; /* Maquette : pas d'équilibrage. */
}

.sdl-hwp .sdl-hwp-faq__list {
	border-top: 1px solid var(--wp--preset--color--line-2);
}

.sdl-hwp .sdl-hwp-faq__item {
	margin: 0;
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.sdl-hwp .sdl-hwp-faq__item summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	min-height: 64px;
	padding: 14px 0;
	color: var(--wp--preset--color--text);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--18);
	font-weight: 600;
	line-height: normal; /* Maquette : bouton, interligne par défaut. */
	list-style: none;
	cursor: pointer;
}

.sdl-hwp .sdl-hwp-faq__item summary::-webkit-details-marker {
	display: none;
}

.sdl-hwp .sdl-hwp-faq__item summary::after {
	content: "+";
	flex-shrink: 0;
	color: var(--wp--preset--color--accent-text);
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--22);
	font-weight: 500; /* Maquette : 600 hérité, JetBrains Mono chargée jusqu'à 500. */
}

.sdl-hwp .sdl-hwp-faq__item[open] summary::after {
	content: "−";
}

.sdl-hwp .sdl-hwp-faq__item > p {
	max-width: 68ch;
	margin: 0 0 20px;
	color: var(--wp--preset--color--text-2);
	text-wrap: pretty;
}

/* ---------- Liste d'attente ---------- */
.sdl-hwp .sdl-hwp-wait {
	position: relative;
	overflow: hidden;
	border-top: 1px solid var(--wp--preset--color--line);
	padding-top: clamp(40px, 5vw, 64px);
	padding-bottom: clamp(40px, 5vw, 64px);
}

.sdl-hwp .sdl-hwp-wait::before,
.sdl-hwp .sdl-hwp-wait::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.sdl-hwp .sdl-hwp-wait::before {
	background: url("../images/m81.webp") 70% 50% / cover no-repeat;
}

.sdl-hwp .sdl-hwp-wait::after {
	background: linear-gradient(90deg, rgba(10, 12, 16, 0.97) 0%, rgba(10, 12, 16, 0.86) 55%, rgba(10, 12, 16, 0.6) 100%);
}

.sdl-hwp .sdl-hwp-wait__inner {
	position: relative;
	z-index: 1;
}

.sdl-hwp .sdl-hwp-wait__title {
	max-width: 20ch;
	margin: 14px 0;
	font-size: clamp(30px, 4vw, 52px);
	line-height: 1.06;
	letter-spacing: var(--wp--custom--letter-spacing--display);
	text-wrap: balance;
}

.sdl-hwp .sdl-hwp-wait__text {
	max-width: 58ch;
	margin-bottom: 28px;
	color: var(--wp--preset--color--text-soft);
	text-wrap: pretty;
}

.sdl-hwp .sdl-hwp-wait__privacy,
.sdl-hwp .sdl-hwp-wait__consent {
	margin-top: 16px;
	color: var(--wp--preset--color--muted);
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--13);
}

.sdl-hwp .sdl-hwp-wait__consent {
	max-width: 620px;
	margin-top: 8px;
}

.sdl-hwp .sdl-hwp-wait__consent a {
	position: relative;
	color: var(--wp--preset--color--link);
}

/* Lien de 48 px de haut (règle 7), sans changer l'apparence. */
.sdl-hwp .sdl-hwp-wait__consent a::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 48px;
	transform: translateY(-50%);
}

/* Formulaire MailPoet (styles de .sdl-swp-cta__form, page-logiciel.css) : libellé au-dessus du champ, champ et bouton de 56 px. */
.sdl-hwp .sdl-hwp-wait .sdl-swp-cta__form {
	display: flex;
	flex-direction: column;
	gap: 6px;
	max-width: 620px;
}

.sdl-hwp .sdl-hwp-wait__label {
	color: var(--wp--preset--color--text-2);
	font-size: var(--wp--preset--font-size--15);
}

.sdl-hwp .sdl-hwp-wait .sdl-swp-cta__form form.mailpoet_form {
	gap: 12px;
}

.sdl-hwp .sdl-hwp-wait .sdl-swp-cta__form .mailpoet_paragraph:has(.mailpoet_text) {
	flex: 1 1 280px;
}

.sdl-hwp .sdl-hwp-wait .sdl-swp-cta__form .mailpoet_paragraph:has(.mailpoet_submit) {
	align-self: flex-end;
}

.sdl-hwp .sdl-hwp-wait .sdl-swp-cta__form input.mailpoet_text {
	padding: 0 16px;
	background: var(--wp--preset--color--base-deep);
}

.sdl-hwp .sdl-hwp-wait .sdl-swp-cta__form input.mailpoet_submit:hover {
	background: var(--wp--preset--color--accent-hover);
}

/* Envoi réussi : le libellé disparaît avec le champ, le message prend la forme de la maquette. */
.sdl-hwp .sdl-hwp-wait .sdl-swp-cta__form:has(.mailpoet_form_successfully_send) > .sdl-hwp-wait__label {
	display: none;
}

.sdl-hwp .sdl-hwp-wait .sdl-swp-cta__form .mailpoet_message > .mailpoet_validate_success {
	align-items: center;
	gap: 12px;
	padding: 18px 20px;
	border: 1px solid var(--sdl-swp-status-line-ok);
	border-radius: var(--wp--preset--border-radius--12);
	background: rgba(7, 8, 11, 0.8);
	color: var(--wp--preset--color--text);
	font-family: inherit;
}

/* MailPoet affiche le message par un style en ligne (display: block) : forcé en flex quand il est visible. */
.sdl-hwp .sdl-hwp-wait .sdl-swp-cta__form .mailpoet_message > .mailpoet_validate_success:not([style*="none"]) {
	display: flex !important;
}

.sdl-hwp .sdl-hwp-wait .sdl-swp-cta__form .mailpoet_message > .mailpoet_validate_success::before {
	content: "";
	flex-shrink: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--wp--preset--color--status-ok);
}

/* =====================================================================
 * Matériel en développement : maquettes design/camalign.dc.html et design/starguard.dc.html (ADR-086).
 * Variantes et blocs réutilisables : helpers sdl_hwp_cards(), sdl_hwp_box(), sdl_hwp_chips(), sdl_hwp_leds(),
 * sdl_hwp_measures(), sdl_hwp_props(), sdl_hwp_field(), sdl_hwp_note() ; patterns hw-*.
 * ===================================================================== */

/* Hero : fond M 81 au lieu du Cygnus Wall (même opacité 0,16). */
.sdl-hwp .sdl-hwp-hero.is-m81::before {
	background-image: url("../images/m81.webp");
}

@media (max-width: 800px) {
	.sdl-hwp .sdl-hwp-hero.is-m81::before {
		background-image: url("../images/m81-800.webp");
	}
}

/* Section sans filet haut : celui de la section précédente suffit (Caractéristiques après Composants). */
.sdl-hwp .sdl-swp-section.is-open-top {
	border-top: 0;
}

/* Bandeau de points clés à 4 points (StarGuard). */
.sdl-hwp .sdl-hwp-keys__list.is-280 {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

/* Piles à écart fluide (sections composants). */
.sdl-hwp .sdl-swp-stack.is-fluid-48 { gap: clamp(32px, 5vw, 48px); }
.sdl-hwp .sdl-swp-stack.is-fluid-56 { gap: clamp(32px, 5vw, 56px); }

/* Images : assombrissements et recadrages des maquettes. */
.sdl-hwp .sdl-swp-shot.is-dim-60 img { filter: brightness(0.6); }
.sdl-hwp .sdl-swp-shot.is-dim-75 img { filter: brightness(0.75); }
.sdl-hwp .sdl-swp-shot.is-dim-80 img { filter: brightness(0.8); }

.sdl-hwp .sdl-swp-shot[class*="is-crop-"] img {
	object-fit: cover;
}

.sdl-hwp .sdl-swp-shot.is-crop-4-3 img { aspect-ratio: 4 / 3; object-position: 50% 60%; }
.sdl-hwp .sdl-swp-shot.is-crop-5-4 img { aspect-ratio: 5 / 4; object-position: 50% 58%; }
.sdl-hwp .sdl-swp-shot.is-crop-21-9 img { aspect-ratio: 21 / 9; }

/* Capture d'interface : rayon 12 px. */
.sdl-hwp .sdl-swp-shot.is-r12 a {
	border-radius: var(--wp--preset--border-radius--12);
}

/* ---------- Étapes en cases à filets ---------- */
.sdl-hwp .sdl-hwp-steps.is-panel {
	gap: 1px;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--preset--border-radius--16);
	background: var(--wp--preset--color--line);
}

.sdl-hwp .sdl-hwp-steps.is-stack {
	display: flex;
	flex-direction: column;
}

.sdl-hwp .sdl-hwp-steps.is-panel li {
	gap: 6px;
	padding: 22px 24px;
	border: 0;
	border-radius: 0;
	background: var(--wp--preset--color--base);
}

/* Dans un panneau à filets (ligne de pied) : le panneau porte le cadre. */
.sdl-hwp .sdl-hwp-points > .sdl-hwp-steps.is-panel {
	border: 0;
	border-radius: 0;
}

/* Bandeau mono encadré. */
.sdl-hwp .sdl-hwp-note {
	padding: 16px 22px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--preset--border-radius--12);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--text-2);
	font-family: var(--wp--preset--font-family--mono);
	font-size: 13.5px;
}

/* ---------- Grille de cartes ---------- */
.sdl-hwp .sdl-hwp-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
	gap: 16px;
}

.sdl-hwp .sdl-hwp-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	padding: 24px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--preset--border-radius--14);
	background: var(--wp--preset--color--surface);
}

.sdl-hwp .sdl-hwp-card__tag {
	color: var(--wp--preset--color--accent-soft);
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--12);
}

.sdl-hwp .sdl-hwp-card__title {
	font-size: 19px;
	font-weight: 600;
	line-height: var(--wp--custom--line-height--body);
	letter-spacing: normal;
}

.sdl-hwp .sdl-hwp-card p:not([class*="sdl-hwp"]) {
	color: var(--wp--preset--color--muted);
	font-size: 15.5px;
	text-wrap: pretty;
}

/* ---------- Encart encadré (profils optiques, LED de statut) ---------- */
.sdl-hwp .sdl-hwp-box {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
	gap: clamp(24px, 5vw, 64px);
	align-items: start;
	padding: clamp(22px, 3vw, 32px);
	border: 1px solid var(--wp--preset--color--line-2);
	border-radius: var(--wp--preset--border-radius--16);
	background: var(--wp--preset--color--surface);
}

.sdl-hwp .sdl-hwp-box > * {
	min-width: 0;
}

.sdl-hwp .sdl-hwp-box__text {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.sdl-hwp .sdl-hwp-box__tag {
	color: var(--wp--preset--color--accent-soft);
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--12-5);
	letter-spacing: var(--wp--custom--letter-spacing--eyebrow);
	text-transform: uppercase;
}

.sdl-hwp .sdl-hwp-box__title {
	font-size: clamp(22px, 2.4vw, 28px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: normal;
	text-wrap: balance;
}

.sdl-hwp .sdl-hwp-box__text p:not([class*="sdl-hwp"]) {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--16);
	text-wrap: pretty;
}

/* Pastilles à bordure claire, sans marge haute (profils optiques). */
.sdl-hwp .sdl-hwp-tags.is-strong {
	align-content: flex-start;
	margin: 0;
}

.sdl-hwp .sdl-hwp-tags.is-strong li {
	border-color: var(--wp--preset--color--line-3);
}

/* ---------- États d'un voyant ---------- */
.sdl-hwp .sdl-hwp-leds {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--wp--preset--color--line-2);
	list-style: none;
}

.sdl-hwp .sdl-hwp-leds li {
	--sdl-led: var(--wp--preset--color--status-ok);
	--sdl-led-n: 1;
	display: grid;
	grid-template-columns: minmax(96px, 0.3fr) minmax(0, 1fr);
	align-items: center;
	gap: 8px 16px;
	margin: 0;
	padding: 16px 0;
	border-bottom: 1px solid var(--wp--preset--color--line);
	color: var(--wp--preset--color--text-2);
	font-size: 15.5px;
}

.sdl-hwp .sdl-hwp-leds li.is-alert { --sdl-led: var(--wp--preset--color--accent-soft); }
.sdl-hwp .sdl-hwp-leds li.is-warn { --sdl-led: var(--wp--preset--color--status-pre); }
.sdl-hwp .sdl-hwp-leds li.is-dots-2 { --sdl-led-n: 2; }
.sdl-hwp .sdl-hwp-leds li.is-dots-3 { --sdl-led-n: 3; }
.sdl-hwp .sdl-hwp-leds li.is-dots-4 { --sdl-led-n: 4; }

.sdl-hwp .sdl-hwp-leds strong {
	grid-row: 1 / span 2;
	color: var(--sdl-led);
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--14);
	font-weight: 500;
}

/* Pastilles de 10 px espacées de 6 px, une par clignotement (décoratives : le texte décrit le signal). */
.sdl-hwp .sdl-hwp-leds li::before {
	content: "";
	grid-column: 2;
	grid-row: 1;
	width: calc(var(--sdl-led-n) * 16px - 6px);
	height: 10px;
	background: radial-gradient(circle at 5px 5px, var(--sdl-led) 4.5px, transparent 5px) 0 0 / 16px 10px repeat-x;
}

/* ---------- Liste de mesures ---------- */
.sdl-hwp .sdl-hwp-measures {
	display: flex;
	flex-direction: column;
	gap: 1px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--preset--border-radius--16);
	background: var(--wp--preset--color--line);
	list-style: none;
}

.sdl-hwp .sdl-hwp-measures li {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: baseline;
	gap: 4px 16px;
	margin: 0;
	padding: 18px 22px;
	background: var(--wp--preset--color--base);
}

.sdl-hwp .sdl-hwp-measures strong {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--18);
	font-weight: 600;
}

.sdl-hwp .sdl-hwp-measures code {
	color: var(--wp--preset--color--accent-soft);
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--13);
	text-align: right;
}

.sdl-hwp .sdl-hwp-measures span {
	grid-column: 1 / -1;
	color: var(--wp--preset--color--muted);
	font-size: 15.5px;
	text-wrap: pretty;
}

/* Mention sous la liste de mesures : équilibrée comme dans la maquette (pas « Ce que nous vendons »). */
.sdl-hwp .sdl-hwp-measures + .sdl-hwp-pledge {
	text-wrap: pretty;
}

/* ---------- Encadré de propriétés (cadre des fichiers ouverts) ---------- */
.sdl-hwp .sdl-hwp-files.is-props .sdl-hwp-files__list li {
	padding: 15px 20px;
}

/* Une seule rangée : pas de description sous le nom. */
.sdl-hwp .sdl-hwp-files.is-props .sdl-hwp-files__list code {
	grid-row: 1;
	font-size: var(--wp--preset--font-size--13);
}

.sdl-hwp .sdl-hwp-files__foot {
	padding: 16px 20px;
	color: var(--wp--preset--color--text-2);
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--13);
}

/* ---------- Liste clé + valeur sur deux colonnes ---------- */
.sdl-hwp .sdl-hwp-specs.is-field {
	grid-column: auto;
}

.sdl-hwp .sdl-hwp-specs.is-field > div {
	grid-template-columns: minmax(110px, 0.35fr) minmax(0, 1fr);
}

.sdl-hwp .sdl-hwp-specs.is-field dt {
	color: var(--wp--preset--color--accent-soft);
}

.sdl-hwp .sdl-hwp-specs.is-field dd {
	color: var(--wp--preset--color--text-2);
	text-wrap: pretty;
}

/* Bandeau écosystème : fond de page (visible sur les sections à fond de surface). */
.sdl-hwp .sdl-hwp-strip {
	background: var(--wp--preset--color--base);
}
