/* Fichier généré par assets/css/build.mjs — ne pas modifier : éditer assets/css/src/. */

/* ---- 00-reset.css ---- */
/*
 * Reset minimal, dans une couche pour céder devant tout le reste :
 * les styles générés par WordPress (theme.json, blocs) ne sont pas en couche
 * et passent donc toujours devant. Seul le reset va en couche — mettre les
 * composants en couche les ferait perdre contre le CSS de WordPress.
 */
@layer reset {
	*,
	*::before,
	*::after {
		box-sizing: border-box;
	}

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

	body {
		margin: 0;
		min-height: 100vh;
		-webkit-font-smoothing: antialiased;
		text-rendering: optimizeLegibility;
	}

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

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

	h1, h2, h3, h4, h5, h6 {
		text-wrap: balance;
	}

	p {
		text-wrap: pretty;
	}
}

/* ---- 10-base.css ---- */
/*
 * Base : ce qui vaut pour tout le site et que theme.json ne sait pas exprimer.
 * Couleurs, polices, tailles et espacements viennent des variables générées
 * par theme.json (--wp--preset--…, --wp--custom--…) : ne pas écrire de valeur
 * en dur ici, sinon un changement de charte ne se propagera pas.
 */

:focus-visible {
	outline: 3px solid var(--wp--preset--color--marque);
	outline-offset: 2px;
}

::selection {
	background: var(--wp--preset--color--marque-pale);
	color: var(--wp--preset--color--texte);
}

/* Lien d'évitement : invisible jusqu'à la prise de focus au clavier. */
.kdo-lien-evitement {
	position: absolute;
	left: var(--wp--custom--gouttiere);
	top: -100px;
	z-index: 1000;
	padding: 0.75rem 1rem;
	background: var(--wp--preset--color--texte);
	color: var(--wp--preset--color--surface);
	border-radius: var(--wp--custom--rayon--bouton);

	&:focus {
		top: var(--wp--custom--gouttiere);
	}
}

/* ---- 20-mise-en-page.css ---- */
/*
 * Mise en page : conteneur et largeurs du contenu Gutenberg.
 *
 * Dans un thème classique, WordPress n'applique pas la mise en page
 * « contrainte » au contenu de premier niveau : on la reproduit ici à partir
 * des largeurs de theme.json (contentSize 760px, wideSize 1280px).
 */

.kdo-conteneur {
	width: min(100% - 2 * var(--wp--custom--gouttiere), var(--wp--style--global--wide-size));
	margin-inline: auto;
}

.kdo-conteneur--large {
	width: min(100% - 2 * var(--wp--custom--gouttiere), 1440px);
}

.kdo-contenu {
	padding-inline: var(--wp--custom--gouttiere);

	& > :where(:not(.alignwide, .alignfull)) {
		max-width: var(--wp--style--global--content-size);
		margin-inline: auto;
	}

	& > .alignwide {
		max-width: var(--wp--style--global--wide-size);
		margin-inline: auto;
	}

	/* Pleine largeur : on annule la gouttière du conteneur. */
	& > .alignfull {
		max-width: none;
		margin-inline: calc(-1 * var(--wp--custom--gouttiere));
	}
}

/* ---------- Rythme vertical des blocs (accueil, DESIGN-SYSTEM §2.7) ----------
 * Un seul écart blanc entre deux blocs, égal à --wp--preset--spacing--section : chaque bloc en
 * porte la moitié en haut et en bas. Une section à fond pleine largeur garde cet écart blanc à
 * l'extérieur et le même écart en marge intérieure. Deux éléments qui se suivent dans un même
 * bloc (bannière puis section de tuiles) sont séparés d'un écart entier.
 * Exceptions voulues, dans la feuille du bloc : hero collé au header, frise de la boutique
 * collée à son panneau (elle en est le pied). */
.kdo-bloc {
	padding-block: calc(var(--wp--preset--spacing--section) / 2);
}

.kdo-bloc > .kdo-section {
	padding-block: 0;
}

.kdo-bloc > .kdo-section--fond {
	padding-block: var(--wp--preset--spacing--section);
}

.kdo-bloc > * + .kdo-section {
	margin-top: var(--wp--preset--spacing--section);
}

/* ---------- Pages en blocs (accueil, page-templates/blocs.php) ----------
 * Les blocs du thème (.kdo-bloc) règlent eux-mêmes leur largeur ; un bloc du cœur posé entre
 * eux (paragraphe, titre…) reprend la colonne de lecture. */
.kdo-page-blocs {
	padding-bottom: calc(var(--wp--preset--spacing--section) / 2);

	& > :where(:not(.kdo-bloc, .alignfull, .alignwide)) {
		width: min(100% - 2 * var(--wp--custom--gouttiere), var(--wp--style--global--content-size));
		margin-inline: auto;
	}

	& > .alignwide {
		width: min(100% - 2 * var(--wp--custom--gouttiere), var(--wp--style--global--wide-size));
		margin-inline: auto;
	}
}

/* ---- 30-utilitaires.css ---- */
/*
 * Utilitaires et petites briques partagées par tous les composants.
 */

.kdo-visuellement-cache {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* Icônes SVG insérées par edkado_icone() : elles prennent la couleur du texte. */
.kdo-icone {
	width: 1.5em;
	height: 1.5em;
	flex: none;
	color: var(--wp--preset--color--marque);
}

.kdo-icone--petite {
	width: 1.15em;
	height: 1.15em;
}

.kdo-icone--moyenne {
	width: 2.5rem;
	height: 2.5rem;
}

/* Mot mis en avant dans un titre : outil « Surligner » de Gutenberg ou <mark class="kdo-accent">. */
.kdo-accent,
mark.has-inline-color {
	background: none;
	color: var(--wp--preset--color--marque);
}

/* Pastille ronde vert pâle autour d'une icône. */
.kdo-pastille {
	display: inline-grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: var(--wp--preset--color--marque-pale);
	flex: none;
}

/* Sections de page : respiration verticale, fond blanc ou gris. */
.kdo-section {
	padding-block: var(--wp--preset--spacing--section);
}

.kdo-section--fond {
	background: var(--wp--preset--color--fond);
}

/* Grille fluide : autant de colonnes que la largeur le permet, minimum --kdo-min. */
.kdo-grille {
	display: grid;
	gap: var(--wp--preset--spacing--m);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--kdo-min, 220px)), 1fr));
	padding: 0;
	margin: 0;
	list-style: none;
}

/* Listes de liens préfixés d'un chevron (footer, méga-menu, colonnes). */
.kdo-liste-chevrons {
	margin: 0;
	padding: 0;
	list-style: none;

	& li {
		position: relative;
		padding-left: 1rem;
	}

	& li::before {
		content: "›";
		position: absolute;
		left: 0;
		color: var(--wp--preset--color--marque);
		font-weight: 700;
	}

	& a {
		color: inherit;
		font-weight: 400;
		text-decoration: none;

		&:hover {
			color: var(--wp--preset--color--marque);
		}
	}
}

/* Réseaux sociaux : icônes rondes. */
.kdo-reseaux {
	display: flex;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;

	& a {
		display: grid;
		place-items: center;
		width: 2rem;
		height: 2rem;
		color: var(--wp--preset--color--texte);
		transition: color var(--wp--custom--transition);

		&:hover {
			color: var(--wp--preset--color--marque);
		}
	}

	& svg {
		width: 100%;
		height: 100%;
	}
}

/* ---- 40-animations.css ---- */
/*
 * Animation des bandes diagonales (demande de Gaëtan, 24/11/2026 ; DESIGN-SYSTEM §2.3 ter) :
 * une errance horizontale lente, d'apparence aléatoire, où les deux bandes d'un panneau se
 * croisent de temps en temps.
 *
 * - Deux trajets irréguliers (plusieurs étapes d'amplitudes différentes, adoucies) : la bande de
 *   gauche (::before) part surtout vers la droite, celle de droite (::after) surtout vers la
 *   gauche ; quand leurs écarts s'additionnent, elles se rejoignent et se superposent.
 * - Durées sans rapport simple (23 s et 31 s) : le même motif ne revient qu'au bout de plusieurs
 *   minutes, d'où l'impression d'aléatoire, sans script.
 * - Chaque bloc (et chaque demi-panneau d'un duo) est décalé dans le temps : les panneaux d'une
 *   page ne bougent pas ensemble.
 * - Amplitude (--kdo-bande-amplitude) selon la place disponible : panneaux, petits visuels,
 *   demi-panneaux ; jamais au point de passer sous le texte.
 * - Fiche produit : les bandes jaune et verte derrière la grande image (.kdo-fp-galerie,
 *   page-produit.css) suivent la même errance (demande de Gaëtan, 01/12/2026).
 * Rien pour les visiteurs qui demandent moins d'animations (prefers-reduced-motion).
 * Seule la propriété translate est animée : pas de conflit avec l'inclinaison (transform) des
 * bandes. Les bandes des tuiles de spécialités restent fixes (le survol les déplace déjà).
 */

@keyframes kdo-bande-errance-gauche {
	0%,
	100% {
		translate: 0 0;
	}

	17% {
		translate: calc(var(--kdo-bande-amplitude) * 0.45) 0;
	}

	36% {
		translate: calc(var(--kdo-bande-amplitude) * 0.1) 0;
	}

	58% {
		translate: calc(var(--kdo-bande-amplitude) * 1) 0;
	}

	79% {
		translate: calc(var(--kdo-bande-amplitude) * -0.3) 0;
	}
}

@keyframes kdo-bande-errance-droite {
	0%,
	100% {
		translate: 0 0;
	}

	22% {
		translate: calc(var(--kdo-bande-amplitude) * -0.75) 0;
	}

	47% {
		translate: calc(var(--kdo-bande-amplitude) * -0.2) 0;
	}

	64% {
		translate: calc(var(--kdo-bande-amplitude) * -1) 0;
	}

	86% {
		translate: calc(var(--kdo-bande-amplitude) * 0.25) 0;
	}
}

/* Amplitudes : panneaux, petits visuels (bandes redessinées derrière les produits), demi-panneaux. */
.kdo-bandes {
	--kdo-bande-amplitude: min(11vw, 170px);
}

.kdo-panneau__visuel {
	--kdo-bande-amplitude: min(8vw, 110px);
}

.kdo-duo .kdo-bandes {
	--kdo-bande-amplitude: min(6vw, 80px);
}

/* Galerie de la fiche produit : la place d'un petit visuel (les bandes restent derrière l'image
 * ou dans la marge au-dessus et à droite, sans déborder de la colonne). */
.kdo-fp-galerie {
	--kdo-bande-amplitude: min(8vw, 110px);
}

/* Décalages dans le temps, d'un bloc à l'autre et d'un demi-panneau à l'autre. */
.kdo-bloc:nth-of-type(3n + 2) {
	--kdo-bande-decalage: -9s;
}

.kdo-bloc:nth-of-type(3n) {
	--kdo-bande-decalage: -17s;
}

.kdo-duo:nth-child(2) {
	--kdo-bande-decalage: -11s;
}

.kdo-duo:nth-child(3) {
	--kdo-bande-decalage: -4s;
}

.kdo-duo:nth-child(4) {
	--kdo-bande-decalage: -15s;
}

@media (prefers-reduced-motion: no-preference) {
	.kdo-bandes::before,
	.kdo-panneau__visuel::before,
	.kdo-fp-galerie::before {
		animation: kdo-bande-errance-gauche 23s ease-in-out infinite;
		animation-delay: var(--kdo-bande-decalage, 0s);
	}

	.kdo-bandes::after,
	.kdo-panneau__visuel::after,
	.kdo-fp-galerie::after {
		animation: kdo-bande-errance-droite 31s ease-in-out infinite;
		animation-delay: calc(var(--kdo-bande-decalage, 0s) - 6s);
	}
}

/* ---- 90-compat-contenu.css ---- */
/*
 * Compatibilité avec le contenu existant (TODO.md, Lot 0 ; relevé en base le 25/11/2026 sur les
 * pages et articles publiés).
 *
 * Le contenu écrit sous tailpress porte des classes que le thème edkado ne fournit plus :
 * - tailles et couleurs de l'ancienne palette (theme.json v1 de tailpress) : edkado ne les
 *   déclare pas, pour ne pas les proposer dans l'éditeur, mais les textes qui les portent
 *   doivent garder leur rendu ;
 * - deux classes utilitaires Tailwind écrites à la main dans les pages et les articles.
 * Le reste (enveloppes « page-footer {slug} » des pages de contenu) relève du gabarit des
 * pages existantes. Le CSS additionnel du Customizer de tailpress (post 5861921) ne visait que
 * des gabarits de tailpress : rien à reprendre.
 */

/* Tailles de l'ancienne palette : xxxl ×12, xl ×5, small ×1 (normal existe dans theme.json). */
.has-xxxl-font-size {
	font-size: 1.875rem !important;
}

.has-xl-font-size {
	font-size: 1.25rem !important;
}

.has-small-font-size {
	font-size: 0.875rem !important;
}

/* Couleurs de la palette par défaut de WordPress, absentes de la charte (white ×5, black ×2). */
.has-white-color {
	color: var(--wp--preset--color--surface) !important;
}

.has-black-color {
	color: var(--wp--preset--color--navy) !important;
}

.has-black-background-color {
	background-color: var(--wp--preset--color--navy) !important;
}

/* Utilitaires Tailwind écrits dans le contenu : mx-auto ×58 (pages), underline ×31 (articles). */
.mx-auto {
	margin-inline: auto;
}

.underline {
	text-decoration: underline;
}

/* ---- composants/banniere.css ---- */
/*
 * Bannière de spécialité, carte de processus, tuiles des spécialités, fenêtre de
 * boutique : les « gros » blocs visuels des maquettes MENU2, PRODUCTION SUR MESURE,
 * BLOC-BOUTIQUE. Ils réutilisent .kdo-hero (fond, bandes diagonales, titre).
 */

/* Variante bannière : même langage que le hero, un cran plus compacte. */
.kdo-banniere .kdo-hero__grille {
	@media (min-width: 1024px) {
		min-height: 30rem;
	}
}

.kdo-banniere .kdo-hero__titre {
	font-size: clamp(1.9rem, 1.2rem + 2vw, 2.8rem);
}

/* ---- composants/bouton.css ---- */
/*
 * Boutons (TODO.md §3.1).
 * Existant : .bouton-vert (fond vert, texte blanc, gras, arrondi 7px, inversé au survol).
 * Maquettes : capitales, flèche sur l'action principale, bouton secondaire en contour.
 * Contrat : .bouton-vert reste un alias (le JS lit .bouton-vert.devis, .bouton-vert.commande…).
 */

.kdo-bouton,
.bouton-vert,
.wp-block-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6em;
	min-height: 44px;
	padding: 0.7rem 1.4rem;
	border: 1px solid var(--wp--preset--color--action);
	border-radius: var(--wp--custom--rayon--bouton);
	background: var(--wp--preset--color--action);
	color: var(--wp--preset--color--surface);
	font-family: var(--wp--preset--font-family--titre);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color var(--wp--custom--transition), color var(--wp--custom--transition);

	&:hover,
	&:focus-visible {
		background: var(--wp--preset--color--surface);
		color: var(--wp--preset--color--action);
	}
}

/* Secondaire : contour vert, se remplit au survol. */
.kdo-bouton--contour,
.wp-block-button.is-style-kdo-contour .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--action);

	&:hover,
	&:focus-visible {
		background: var(--wp--preset--color--action);
		color: var(--wp--preset--color--surface);
	}
}

/* « Demander un devis » : seul bouton orange du site.
 * Style choisi par Gaëtan le 23/11/2026 (bouton « Découvrir nos packs » des maquettes) :
 * orange vif en léger dégradé, ombre orangée, flèche bien détachée du texte. */
.kdo-bouton--devis,
.wp-block-button.is-style-kdo-devis .wp-block-button__link {
	gap: 1.1em;
	padding-inline: 1.6rem;
	border-color: transparent;
	background: linear-gradient(100deg, var(--wp--preset--color--devis) 0%, var(--wp--preset--color--devis) 45%, var(--wp--preset--color--devis-clair) 100%);
	color: var(--wp--preset--color--surface);
	font-weight: 700;
	box-shadow: 0 4px 12px color-mix(in srgb, var(--wp--preset--color--devis) 30%, transparent);
	transition: box-shadow var(--wp--custom--transition), translate var(--wp--custom--transition), filter var(--wp--custom--transition);

	&:hover,
	&:focus-visible {
		background: linear-gradient(100deg, var(--wp--preset--color--devis-fonce) 0%, var(--wp--preset--color--devis) 100%);
		color: var(--wp--preset--color--surface);
		box-shadow: 0 6px 16px color-mix(in srgb, var(--wp--preset--color--devis) 40%, transparent);
		translate: 0 -1px;
	}
}

/* Flèche décorative de l'action principale (et du style « Devis » du bouton natif). */
.kdo-bouton--fleche::after,
.wp-block-button.is-style-kdo-devis .wp-block-button__link::after {
	content: "→";
	font-size: 1.1em;
	line-height: 1;
	transition: transform var(--wp--custom--transition);
}

.kdo-bouton--fleche:hover::after,
.wp-block-button.is-style-kdo-devis .wp-block-button__link:hover::after {
	transform: translateX(3px);
}

.kdo-bouton--large {
	width: 100%;
}

/* Lien d'action discret : « En savoir plus › ». */
.kdo-lien-fleche {
	font-weight: 700;
	color: var(--wp--preset--color--marque);
	text-decoration: none;

	&::after {
		content: " ›";
	}

	&:hover {
		text-decoration: underline;
	}
}

/* Paire de CTA : action pleine + action en contour (et groupe de boutons natif). */
.kdo-paire-cta,
.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;

	@media (max-width: 479px) {
		& > *,
		& .wp-block-button__link {
			width: 100%;
		}
	}
}

/* ---- composants/carrousel.css ---- */
/*
 * Carrousel de produits (cahier des charges : « carrousel des produits tendances »,
 * seul carrousel conservé sur l'accueil ; aussi « Vous aimerez aussi » et la 404).
 * Défilement natif avec accroche (scroll-snap) : il marche au doigt, à la molette et
 * au clavier sans script ; assets/js/composants.js n'ajoute que les flèches (à partir
 * de 1024px) et les flèches du clavier d'une carte à l'autre. Défilement doux, sauf si
 * le visiteur demande moins d'animations.
 */

.kdo-carrousel {
	position: relative;
}

.kdo-carrousel__piste {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 46%;
	gap: 0.75rem;
	/* Le padding laisse la place aux ombres des cartes (le défilement les couperait) ; la marge
	 * négative le compense, pour que l'écart entre blocs se compte depuis les cartes. */
	margin: -0.5rem 0 -1.25rem;
	padding: 0.5rem 0.25rem 1.25rem;
	list-style: none;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	/* Accroche comptée depuis la marge intérieure : au départ, la piste est à 0 (flèche
	 * « précédents » désactivée), et non décalée de 0,25rem. */
	scroll-padding-inline: 0.25rem;
	scrollbar-width: none;

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

	&::-webkit-scrollbar {
		display: none;
	}

	& > li {
		display: flex;
		scroll-snap-align: start;

		& > * {
			flex: 1;
		}
	}

	@media (min-width: 768px) {
		grid-auto-columns: calc((100% - 2 * 1.25rem) / 3);
		gap: 1.25rem;
	}

	@media (min-width: 1024px) {
		grid-auto-columns: calc((100% - 3 * 1.25rem) / 4);
	}
}

.kdo-carrousel__fleche {
	position: absolute;
	top: 40%;
	z-index: 2;
	display: none;
	place-items: center;
	width: 3rem;
	height: 3rem;
	border: 0;
	border-radius: 50%;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--navy);
	box-shadow: var(--wp--preset--shadow--survol);
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	transition: background-color var(--wp--custom--transition), color var(--wp--custom--transition);

	&:hover {
		background: var(--wp--preset--color--action);
		color: var(--wp--preset--color--surface);
	}

	&:disabled {
		opacity: 0;
		pointer-events: none;
	}

	@media (min-width: 1024px) {
		display: grid;
	}
}

/* Les flèches débordent du conteneur, mais jamais plus que la gouttière (sinon la page
 * déborde entre 1024 et 1330px). */
.kdo-carrousel__fleche--prec {
	left: calc(-1 * min(1.5rem, var(--wp--custom--gouttiere) - 0.25rem));
}

.kdo-carrousel__fleche--suiv {
	right: calc(-1 * min(1.5rem, var(--wp--custom--gouttiere) - 0.25rem));
}

/* ---- composants/carte-produit.css ---- */
/*
 * Carte produit (TODO.md §3.13).
 * Pas de maquette de carte : vocabulaire des cartes des maquettes (blanc, arrondi,
 * ombre légère, survol) appliqué aux données réelles de la carte actuelle.
 * Toute la carte est cliquable : le lien du nom s'étend sur la carte (::after).
 */

.kdo-carte-produit {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--filet);
	border-radius: var(--wp--custom--rayon--carte);
	overflow: hidden;
	transition: box-shadow var(--wp--custom--transition), border-color var(--wp--custom--transition);

	&:hover,
	&:focus-within {
		border-color: var(--wp--preset--color--marque);
		box-shadow: var(--wp--preset--shadow--survol);
	}
}

.kdo-carte-produit__visuel {
	position: relative;
	aspect-ratio: 1;
	padding: 0.75rem;
	background: var(--wp--preset--color--surface);

	& img {
		width: 100%;
		height: 100%;
		object-fit: contain;
		transition: scale var(--wp--custom--transition);
	}
}

.kdo-carte-produit:hover .kdo-carte-produit__visuel img {
	scale: 1.04;
}

.kdo-carte-produit__pictos {
	position: absolute;
	left: 0.6rem;
	bottom: 0.6rem;
	display: flex;
	gap: 0.3rem;
	margin: 0;
	padding: 0;
	list-style: none;

	& img {
		width: 34px;
		height: 34px;
	}
}

.kdo-carte-produit__corps {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.4rem;
	padding: 0.9rem 1rem 1.1rem;
	border-top: 1px solid var(--wp--preset--color--filet);
}

.kdo-carte-produit__nom {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.35;

	& a {
		color: var(--wp--preset--color--navy);
		font-weight: inherit;
		text-decoration: none;

		&::after {
			content: "";
			position: absolute;
			inset: 0;
		}
	}
}

.kdo-carte-produit:hover .kdo-carte-produit__nom a {
	color: var(--wp--preset--color--marque);
}

.kdo-carte-produit__prix {
	margin: 0;
	font-size: 0.85rem;

	& strong {
		color: var(--wp--preset--color--marque);
		font-size: 1.15rem;
		font-weight: 800;
	}

	& abbr {
		text-decoration: none;
	}
}

.kdo-carte-produit__infos {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: auto 0 0;
	padding: 0.35rem 0 0;
	list-style: none;
	font-size: 0.75rem;

	& li {
		padding: 0.15rem 0.55rem;
		border-radius: var(--wp--custom--rayon--pilule);
		background: var(--wp--preset--color--fond-clair);
	}
}

/* Grille de produits : 2 colonnes en mobile, jusqu'à 4. */
.kdo-produits {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;

	@media (min-width: 768px) {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1.25rem;
	}

	@media (min-width: 1024px) {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Étiquette facultative (« Tendance ») : pastille jaune d'accent, texte navy, en haut à gauche. */
.kdo-carte-produit__etiquette {
	position: absolute;
	top: 0.7rem;
	left: 0.7rem;
	padding: 0.2rem 0.65rem;
	border-radius: var(--wp--custom--rayon--pilule);
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--titre);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-transform: uppercase;

	&::before {
		content: "\2605\00A0";
	}
}

/* ---- composants/cartes.css ---- */
/*
 * Cartes de contenu de l'accueil : autorité, réalisations (+ filtres), packs,
 * production express, avis, engagement social, bande « Nos engagements »,
 * liste à coches. Vocabulaire des maquettes : cartes blanches arrondies, ombre
 * douce, pastilles vert pâle, filet vert, titres Figtree navy.
 */

/* ---------- Liste à coches (maquettes BLOC-BOUTIQUE, PAGE-*) ----------
 * Aussi le style « Coches vertes » de la liste native (is-style-kdo-coches, inc/blocs.php). */
.kdo-coches,
.wp-block-list.is-style-kdo-coches {
	display: grid;
	gap: 0.45rem;
	margin: 0;
	padding: 0;
	list-style: none;

	& li {
		position: relative;
		padding-left: 1.75rem;
	}

	& li::before {
		content: "";
		position: absolute;
		left: 0;
		top: 0.15em;
		width: 1.2rem;
		height: 1.2rem;
		border-radius: 50%;
		background:
			url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat,
			var(--wp--preset--color--marque);
	}
}

.kdo-coches__titre {
	margin: 1.25rem 0 0.6rem;
	color: var(--wp--preset--color--marque);
	font-family: var(--wp--preset--font-family--titre);
	font-size: 0.9rem;
	font-weight: 700;
	text-transform: uppercase;
}

/* ---------- Titre de carte ---------- */
.kdo-carte__titre {
	margin: 0 0 0.6rem;
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--titre);
	font-size: clamp(1.1rem, 0.9rem + 0.55vw, 1.4rem);
	font-weight: 700;
	line-height: 1.25;
	text-transform: uppercase;
}

.kdo-carte__filet {
	display: block;
	width: 2rem;
	height: 3px;
	margin: 0.9rem 0;
	border-radius: 2px;
	background: var(--wp--preset--color--marque);
}

/* Pastilles de noms (partenaires, moyens de paiement) en attendant les logos officiels. */
.kdo-pastilles {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none;

	& li {
		padding: 0.3rem 0.75rem;
		border: 1px solid var(--wp--preset--color--filet);
		border-radius: var(--wp--custom--rayon--pilule);
		background: var(--wp--preset--color--surface);
		color: var(--wp--preset--color--navy);
		font-size: 0.8rem;
		font-weight: 600;
	}
}

.kdo-note {
	margin: 1.25rem 0 0;
	font-size: 0.8rem;
	text-align: center;
}

/* Astérisque d'appel relié à sa note (C23, edkado_asterisques_notes()) : lien discret, même rendu
 * que le texte. */
.kdo-asterisque {
	color: inherit;
	text-decoration: none;

	&:focus-visible {
		outline: 2px solid currentColor;
		outline-offset: 1px;
	}
}

/* ---- composants/cookies.css ---- */
/*
 * Bandeau cookies de Complianz (01/12/2026) : habillé aux couleurs du thème, sans toucher aux
 * réglages de l'extension (en base, communs à la prod tailpress). Les variables de Complianz
 * (--cmplz_*) sont redéfinies sur le bandeau lui-même : elles l'emportent sur celles de :root
 * (uploads/complianz/css/banner-*.css), quel que soit l'ordre des feuilles.
 *
 * Carte blanche du site (rayon, ombre), titre en Poppins navy capitales, textes du site, liens
 * verts, boutons du site : « Accepter » plein, « Refuser » et « Voir préférences » en contour, de
 * même taille (refuser doit rester aussi simple qu'accepter, CNIL).
 */

.cmplz-cookiebanner {
	--cmplz_banner_border_radius: var(--wp--custom--rayon--carte);
	--cmplz_text_color: var(--wp--preset--color--texte);
	--cmplz_hyperlink_color: var(--wp--preset--color--marque);
	--cmplz_text_font_size: 0.78rem;
	--cmplz_link_font_size: 0.78rem;
	--cmplz_category_body_font_size: 0.78rem;
	--cmplz_category_header_title_font_size: 0.85rem;
	--cmplz_category_header_always_active_color: var(--wp--preset--color--marque);
	--cmplz_button_border_radius: var(--wp--custom--rayon--bouton);
	--cmplz_button_font_size: 0.8rem;
	--cmplz_button_accept_background_color: var(--wp--preset--color--action);
	--cmplz_button_accept_border_color: var(--wp--preset--color--action);
	--cmplz_button_accept_text_color: var(--wp--preset--color--surface);
	--cmplz_button_deny_background_color: var(--wp--preset--color--surface);
	--cmplz_button_deny_border_color: var(--wp--preset--color--action);
	--cmplz_button_deny_text_color: var(--wp--preset--color--action);
	--cmplz_button_settings_background_color: var(--wp--preset--color--surface);
	--cmplz_button_settings_border_color: var(--wp--preset--color--action);
	--cmplz_button_settings_text_color: var(--wp--preset--color--action);
	--cmplz_slider_active_color: var(--wp--preset--color--marque);
	--cmplz_slider_inactive_color: var(--wp--preset--color--filet);

	font-family: var(--wp--preset--font-family--texte);
}

/* Règles des éléments : préfixées par le conteneur (un identifiant), car la feuille de Complianz
 * passe après celle du thème avec des sélecteurs de même poids. */
#cmplz-cookiebanner-container .cmplz-cookiebanner {
	/* Ombre de carte du site, plus marquée : le bandeau flotte au-dessus de la page. */
	&,
	&.cmplz-show,
	&.cmplz-show:hover {
		box-shadow: 0 18px 48px color-mix(in srgb, var(--wp--preset--color--navy) 22%, transparent);
	}

	& .cmplz-title {
		color: var(--wp--preset--color--navy);
		font-family: var(--wp--preset--font-family--titre);
		font-size: 0.95rem;
		font-weight: 700;
		letter-spacing: 0.02em;
		text-transform: uppercase;
	}

	& .cmplz-close {
		color: var(--wp--preset--color--navy);
	}

	& .cmplz-divider {
		border-color: var(--wp--preset--color--filet);
	}

	& .cmplz-categories .cmplz-category {
		border-radius: var(--wp--custom--rayon--bouton);
		background: var(--wp--preset--color--marque-pale);

		& .cmplz-category-header .cmplz-category-title {
			color: var(--wp--preset--color--navy);
			font-family: var(--wp--preset--font-family--titre);
			font-weight: 600;
		}
	}

	& .cmplz-buttons .cmplz-btn {
		font-family: var(--wp--preset--font-family--titre);
		font-weight: 600;
		letter-spacing: 0.03em;
		text-transform: uppercase;
		transition: background-color var(--wp--custom--transition), color var(--wp--custom--transition);

		&.cmplz-accept:is(:hover, :focus-visible) {
			background: var(--wp--preset--color--surface);
			color: var(--wp--preset--color--action);
		}

		&:is(.cmplz-deny, .cmplz-view-preferences, .cmplz-save-preferences, .cmplz-manage-options):is(:hover, :focus-visible) {
			background: var(--wp--preset--color--action);
			color: var(--wp--preset--color--surface);
		}
	}

	& .cmplz-links .cmplz-link {
		text-underline-offset: 0.15em;
	}
}

/* Onglet « Gérer le consentement » (après un choix) : même carte et mêmes textes. */
#cmplz-manage-consent .cmplz-manage-consent {
	border-radius: var(--wp--custom--rayon--carte) var(--wp--custom--rayon--carte) 0 0;
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--titre);
	font-size: 0.8rem;
	font-weight: 600;
}

/* ---- composants/en-tete-section.css ---- */
/*
 * En-tête de section (TODO.md §3.2).
 * Maquettes « POURQUOI CHOISIR », « AUTORITE », « REALISATIONS » : icône cerclée entre
 * deux filets terminés par un point, titre en capitales avec un mot en vert, sous-titre.
 * Couleurs du site actuel : gris #555 pour le titre (pas de navy), vert e-dkado.
 */

.kdo-en-tete-section {
	max-width: 76rem;
	margin: 0 auto var(--wp--preset--spacing--l);
	text-align: center;
}

.kdo-ornement {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	margin-bottom: 1rem;
	color: var(--wp--preset--color--marque);

	/* Filet terminé par un point, côté icône. */
	&::before,
	&::after {
		content: "";
		width: clamp(3.5rem, 16vw, 13rem);
		height: 14px;
		background:
			radial-gradient(circle, currentColor 5.5px, transparent 6px) right center / 14px 14px no-repeat,
			linear-gradient(currentColor, currentColor) left center / calc(100% - 10px) 2.5px no-repeat;
	}

	&::after {
		transform: scaleX(-1);
	}
}

.kdo-ornement__icone {
	display: grid;
	place-items: center;
	width: 5.5rem;
	height: 5.5rem;
	border: 3px solid currentColor;
	border-radius: 50%;

	& .kdo-icone {
		width: 3.4rem;
		height: 3.4rem;
	}
}

/* Aussi le titre écrit avec le bloc natif dans l'en-tête d'un bloc en liste (inc/blocs.php). */
.kdo-titre-section,
.kdo-en-tete-section__textes > :is(h1, h2) {
	margin: 0;
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--titre);
	font-size: clamp(2rem, 0.9rem + 3.3vw, 3.9rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.015em;
	text-transform: uppercase;
}

.kdo-sous-titre {
	margin: 0.9rem auto 0;
	max-width: 58rem;
	color: var(--wp--preset--color--navy);
	font-size: clamp(1.1rem, 0.85rem + 0.85vw, 1.6rem);
}

/* Surtitre (style panneau, DESIGN-SYSTEM §2.7) : petite ligne verte en capitales, soulignée
 * d'un filet vert sur les deux tiers, prolongé en gris. */
.kdo-surtitre,
.is-style-kdo-surtitre {
	display: inline-block;
	margin: 0 0 0.9rem;
	padding-bottom: 0.4rem;
	background:
		linear-gradient(var(--wp--preset--color--marque), var(--wp--preset--color--marque)) left bottom / 62% 3px no-repeat,
		linear-gradient(var(--wp--preset--color--filet), var(--wp--preset--color--filet)) left bottom / 75% 3px no-repeat;
	color: var(--wp--preset--color--marque);
	font-family: var(--wp--preset--font-family--titre);
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

/* ---------- Variante « panneau » (blocs en liste, décision du 24/11/2026) ----------
 * Même langage que le texte d'un panneau : aligné à gauche, surtitre, titre sur deux lignes
 * (navy, puis la partie verte sur sa ligne), sous-titre en texte courant ; lien « Voir tout »
 * à droite. Pas d'ornement. */
.kdo-en-tete-section--panneau {
	display: grid;
	gap: 1.1rem 2rem;
	align-items: end;
	max-width: none;
	margin: 0 0 var(--wp--preset--spacing--m);
	text-align: left;

	@media (min-width: 768px) {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	& .kdo-titre-section,
	& .kdo-en-tete-section__textes > :is(h1, h2) {
		font-size: clamp(1.75rem, 1.1rem + 2.2vw, 2.4rem);
		line-height: 1.1;
		letter-spacing: -0.012em;

		& .kdo-accent {
			display: block;
		}
	}

	& .kdo-sous-titre,
	& .kdo-en-tete-section__textes > p:not([class*="is-style-"], .kdo-surtitre, .kdo-sous-titre) {
		max-width: 46rem;
		margin: 0.7rem 0 0;
		color: var(--wp--preset--color--texte);
		font-size: 0.95rem;
		line-height: 1.6;
	}

	& .kdo-en-tete-section__lien {
		justify-self: start;
		min-height: 46px;
		padding-inline: 1.75rem;

		@media (min-width: 768px) {
			justify-self: end;
		}
	}
}

/* ---- composants/entete.css ---- */
/*
 * En-tête (TODO.md §3.7 et 3.9), recalé côte à côte sur « HEADER ET MENU » et le
 * haut de « MENU2 » : téléphone | e-mail puis réseaux à gauche, logo puis recherche
 * fine au centre, raccourcis cerclés au trait à droite ; barre avec le bouton
 * catalogue vert foncé, le menu principal en capitales séparé de filets et
 * « Demander un devis » (seul orange). Pictos : assets/icons/entete-*.svg.
 * Mobile (aucune maquette) : burger, logo, compte et panier cerclés, recherche
 * pleine largeur ; le tiroir reprend les éléments des maquettes.
 */

.kdo-entete {
	--kdo-entete-trait: color-mix(in srgb, var(--wp--preset--color--filet) 65%, var(--wp--preset--color--surface));
	/* Vert foncé du bouton catalogue (maquette) : le vert du logo assombri, même teinte. */
	--kdo-entete-vert-fonce: color-mix(in srgb, var(--wp--preset--color--marque) 76%, var(--wp--preset--color--navy));
	--kdo-entete-vert-fonce: oklch(from var(--wp--preset--color--marque) calc(l * 0.74) calc(c * 0.95) h);

	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--wp--preset--color--surface);
	border-bottom: 1px solid var(--kdo-entete-trait);
	color: var(--wp--preset--color--navy);
}

.admin-bar .kdo-entete {
	top: var(--wp-admin--admin-bar--height, 0px);
}

.kdo-entete__haut {
	display: grid;
	grid-template-columns: auto 1fr auto;
	grid-template-areas:
		"burger logo compte"
		"recherche recherche recherche";
	align-items: center;
	gap: 0.6rem 0.5rem;
	padding-block: 0.6rem 0.75rem;
}

.kdo-entete__burger {
	grid-area: burger;
}

.kdo-entete__contact {
	display: none;
}

.kdo-entete__centre {
	display: contents;
}

/* Préfixé par .kdo-entete : sur le panier et le compte, WooCommerce imprime après la feuille du
 * thème sa règle « .woocommerce-page img { height: auto } », qui l'emportait à spécificité égale. */
.kdo-entete .kdo-entete__logo {
	grid-area: logo;
	justify-self: center;
	line-height: 0;

	& img {
		width: auto;
		height: 40px;
	}
}

.kdo-entete__centre .kdo-recherche {
	grid-area: recherche;
}

.kdo-entete__compte {
	grid-area: compte;
	display: flex;
	gap: 0.4rem;
}

/* Pictos au trait des coordonnées (téléphone, enveloppe), en navy comme la maquette. */
.kdo-entete__picto {
	width: 1.1rem;
	height: 1.1rem;
	color: var(--wp--preset--color--navy);
	stroke-width: 3.2;
}

.kdo-entete__picto--email {
	width: 1.3rem;
	height: 1.3rem;
}

/* Réseaux : glyphes pleins navy (gris anthracite sur la maquette), pas les ronds verts du pied. */
.kdo-entete__reseaux {
	gap: 0.45rem;

	& a {
		width: 1.5rem;
		height: 1.5rem;
		color: var(--wp--preset--color--navy);

		&:hover {
			color: var(--wp--preset--color--marque);
		}
	}

	& .kdo-icone {
		width: 100%;
		height: 100%;
		color: currentColor;
	}

	& .kdo-entete__reseau--youtube a {
		width: 1.65rem;
		height: 1.65rem;
	}
}

/* Recherche : pilule grise fine avec loupe. Contrat : form[role="search"] ouvre l'overlay gb-search. */
.kdo-recherche {
	position: relative;
	display: flex;
	width: 100%;
}

.kdo-recherche__champ {
	width: 100%;
	min-height: 42px;
	padding: 0.5rem 2.75rem 0.5rem 1.15rem;
	border: 1px solid transparent;
	border-radius: var(--wp--custom--rayon--pilule);
	background: var(--wp--preset--color--fond-clair);
	color: var(--wp--preset--color--navy);
	font-size: 0.9rem;

	&::placeholder {
		color: color-mix(in srgb, var(--wp--preset--color--navy) 40%, var(--wp--preset--color--surface));
		opacity: 1;
	}

	&:focus {
		outline: none;
		border-color: var(--wp--preset--color--marque);
		background: var(--wp--preset--color--surface);
	}
}

.kdo-recherche__bouton {
	position: absolute;
	right: 0.4rem;
	top: 50%;
	translate: 0 -50%;
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--wp--preset--color--navy);
	cursor: pointer;

	&:hover {
		color: var(--wp--preset--color--marque);
	}

	& .kdo-icone {
		color: currentColor;
		width: 1.15rem;
		height: 1.15rem;
	}
}

/* Raccourcis compte / devis / panier : picto au trait dans un cercle fin + libellé. */
.kdo-raccourci {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.6rem;
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--titre);
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.kdo-raccourci__rond {
	display: grid;
	place-items: center;
	width: 2.6rem;
	height: 2.6rem;
	border: 1.5px solid currentColor;
	border-radius: 50%;
	transition: background-color var(--wp--custom--transition), color var(--wp--custom--transition), border-color var(--wp--custom--transition);
}

.kdo-raccourci__icone {
	width: 60%;
	height: 60%;
	stroke-width: 4;
}

.kdo-raccourci:hover {
	color: var(--wp--preset--color--marque);

	& .kdo-raccourci__rond {
		background: var(--wp--preset--color--marque-pale);
	}
}

.kdo-raccourci__libelle {
	display: none;
}

.kdo-entete .kdo-raccourci--devis {
	display: none;
}

/* Burger : trois traits dessinés en CSS. */
.kdo-entete__burger {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-left: -0.6rem;
	border: 0;
	background: none;
	color: var(--wp--preset--color--navy);
	cursor: pointer;
}

.kdo-burger,
.kdo-burger > span,
.kdo-burger::before,
.kdo-burger::after {
	display: block;
	width: 22px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}

.kdo-burger {
	position: relative;
	flex: none;
	background: none;

	& > span {
		position: absolute;
		top: 0;
	}

	&::before,
	&::after {
		content: "";
		position: absolute;
	}

	&::before {
		top: -7px;
	}

	&::after {
		top: 7px;
	}
}

.kdo-burger--petit {
	width: 18px;

	& > span,
	&::before,
	&::after {
		width: 18px;
		height: 1.5px;
	}

	&::before {
		top: -6px;
	}

	&::after {
		top: 6px;
	}
}

.kdo-chevron {
	width: 0.75rem;
	height: 0.75rem;
	flex: none;
	transition: rotate var(--wp--custom--transition);
}

[aria-expanded="true"] > .kdo-chevron,
details[open] > summary > .kdo-chevron {
	rotate: 180deg;
}

/* La barre de navigation n'existe qu'à partir de 1024px : en dessous, le tiroir la remplace. */
.kdo-entete__barre {
	display: none;
}

/* ---------- Ordinateur ---------- */
@media (min-width: 1024px) {
	.kdo-entete__haut {
		grid-template-columns: 1fr auto 1fr;
		grid-template-areas:
			"coords logo compte"
			"reseaux recherche compte";
		gap: 1.1rem 2rem;
		padding-block: 1.4rem 0.95rem;
	}

	.kdo-entete__burger {
		display: none;
	}

	.kdo-entete__contact {
		display: contents;
	}

	.kdo-entete__coords {
		grid-area: coords;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 0.4rem 0;
		font-size: 0.875rem;
	}

	.kdo-entete__coord {
		display: inline-flex;
		align-items: center;
		gap: 0.7rem;
		color: var(--wp--preset--color--texte);
		font-weight: 400;
		letter-spacing: 0.01em;
		text-decoration: none;
		white-space: nowrap;

		&:hover {
			color: var(--wp--preset--color--marque);
		}

		& + .kdo-entete__coord {
			margin-left: 1.15rem;
			padding-left: 1.15rem;
			border-left: 1px solid var(--wp--preset--color--filet);
		}
	}

	/* Trop étroit pour téléphone | e-mail sur une ligne : l'un sous l'autre, sans filet. */
	@media (max-width: 1279px) {
		.kdo-entete__coords {
			flex-direction: column;
			align-items: flex-start;
		}

		.kdo-entete__coord + .kdo-entete__coord {
			margin-left: 0;
			padding-left: 0;
			border-left: 0;
		}
	}

	.kdo-entete__contact .kdo-entete__reseaux {
		grid-area: reseaux;
		align-self: center;
		align-items: center;
	}

	.kdo-entete .kdo-entete__logo {
		align-self: end;

		& img {
			height: 54px;
		}
	}

	.kdo-entete__centre .kdo-recherche {
		width: 25.5rem;
	}

	.kdo-recherche__champ {
		min-height: 36px;
		padding-block: 0.35rem;
	}

	.kdo-entete__compte {
		justify-self: end;
		align-self: start;
		gap: 0.35rem;
		margin-top: 1rem;
		margin-right: -0.75rem;
	}

	.kdo-raccourci {
		width: 5.25rem;
	}

	.kdo-raccourci__rond {
		width: 3rem;
		height: 3rem;
	}

	.kdo-raccourci__libelle,
	.kdo-entete .kdo-raccourci--devis {
		display: flex;
	}

	.kdo-entete__barre {
		position: relative;
		display: block;
		border-top: 1px solid var(--kdo-entete-trait);
	}

	/* En-tête compact au défilement (classe posée par assets/js/entete.js). */
	.kdo-entete.est-compact {
		& .kdo-entete__haut {
			grid-template-columns: 1fr auto auto 1fr;
			grid-template-areas: "coords logo recherche compte";
			padding-block: 0.5rem;
		}

		& .kdo-entete__contact .kdo-entete__reseaux,
		& .kdo-entete__coord + .kdo-entete__coord,
		& .kdo-raccourci__libelle {
			display: none;
		}

		& .kdo-entete__logo {
			align-self: center;

			& img {
				height: 40px;
			}
		}

		& .kdo-entete__compte {
			align-self: center;
			margin-top: 0;
			margin-right: 0;
		}

		& .kdo-raccourci {
			width: auto;
		}

		& .kdo-raccourci__rond {
			width: 2.5rem;
			height: 2.5rem;
		}
	}
}

/* ---------- Barre de navigation ---------- */
.kdo-nav {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding-block: 0.6rem;
}

/* Bouton catalogue : vert foncé comme la maquette (vert du logo assombri vers le navy). */
.kdo-nav__catalogue {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 0.8rem;
	width: 14.5rem;
	min-height: 3.4rem;
	padding: 0.5rem 1rem 0.5rem 1.1rem;
	border: 0;
	border-radius: var(--wp--custom--rayon--bouton);
	background: linear-gradient(160deg, color-mix(in srgb, var(--kdo-entete-vert-fonce) 85%, var(--wp--preset--color--marque)), var(--kdo-entete-vert-fonce) 70%);
	color: var(--wp--preset--color--surface);
	font-family: var(--wp--preset--font-family--titre);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.45;
	text-align: left;
	text-transform: uppercase;
	cursor: pointer;
	transition: filter var(--wp--custom--transition);

	&:hover,
	&[aria-expanded="true"] {
		filter: brightness(1.12);
	}

	& .kdo-chevron {
		width: 0.8rem;
		height: 0.8rem;
		margin-left: auto;
	}
}

.kdo-nav__catalogue-texte {
	text-wrap: balance;
}

.kdo-nav__principal {
	flex: 1;
	min-width: 0;
}

.kdo-nav__liens {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.kdo-nav__entree {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	justify-content: center;

	& + .kdo-nav__entree::before {
		content: "";
		position: absolute;
		left: 0;
		top: 50%;
		height: 1.75rem;
		translate: 0 -50%;
		border-left: 1px solid var(--kdo-entete-trait);
	}
}

.kdo-nav__lien {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.65rem 0.4rem;
	border: 0;
	background: none;
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--titre);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	text-wrap: balance;
	cursor: pointer;
	box-shadow: inset 0 -2px 0 transparent;
	transition: color var(--wp--custom--transition), box-shadow var(--wp--custom--transition);

	/* Soulignement en jaune d'accent (24/11/2026). Page en cours : aria-current (lien) ou
	 * --actif (bouton d'un sous-menu qui contient la page en cours), posés par en-tete.php. */
	&:hover,
	&[aria-expanded="true"],
	&[aria-current="page"],
	&.kdo-nav__lien--actif {
		color: var(--wp--preset--color--marque);
		box-shadow: inset 0 -3px 0 var(--wp--preset--color--accent);
	}
}

/* Sur une ligne dès que les six entrées tiennent ; en dessous, deux lignes centrées. */
@media (min-width: 1400px) {
	.kdo-nav__lien {
		white-space: nowrap;
	}
}

.kdo-sous-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 5;
	min-width: 17rem;
	margin: 0.6rem 0 0;
	padding: 0.5rem;
	list-style: none;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--kdo-entete-trait);
	border-radius: var(--wp--custom--rayon--carte);
	box-shadow: var(--wp--preset--shadow--survol);

	& a {
		display: block;
		padding: 0.5rem 0.75rem;
		border-radius: var(--wp--custom--rayon--bouton);
		color: var(--wp--preset--color--navy);
		font-family: var(--wp--preset--font-family--titre);
		font-size: 0.875rem;
		font-weight: 600;
		text-decoration: none;

		&:hover,
		&[aria-current="page"] {
			background: var(--wp--preset--color--marque-pale);
			color: var(--wp--preset--color--marque);
		}
	}
}

.kdo-sous-menu__tout {
	margin-top: 0.25rem;
	padding-top: 0.25rem;
	border-top: 1px solid var(--kdo-entete-trait);

	& a {
		color: var(--wp--preset--color--marque);
		font-weight: 700;
	}
}

/* « Demander un devis » de la barre : format compact de la maquette MENU2. */
.kdo-nav__devis {
	flex: none;
	min-height: 2.55rem;
	padding: 0.5rem 0.95rem;
	gap: 0.65em;
	font-size: 0.7rem;
	letter-spacing: 0.02em;
}

/* ---------- Tiroir mobile ---------- */
.kdo-tiroir {
	position: fixed;
	inset: 0 auto 0 0;
	width: min(92vw, 24rem);
	max-width: none;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: 0.9rem 1rem 1.5rem;
	border: 0;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--navy);
	box-shadow: var(--wp--preset--shadow--survol);
	overflow-y: auto;
	overscroll-behavior: contain;

	&::backdrop {
		background: color-mix(in srgb, var(--wp--preset--color--navy) 50%, transparent);
	}

	&[open] {
		display: flex;
		flex-direction: column;
		gap: 0.9rem;
	}

	& summary {
		list-style: none;
		cursor: pointer;

		&::-webkit-details-marker {
			display: none;
		}
	}
}

.kdo-tiroir__haut {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.kdo-tiroir__logo {
	line-height: 0;

	& img {
		width: auto;
		height: 36px;
	}
}

.kdo-tiroir__fermer {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 1.5px solid currentColor;
	border-radius: 50%;
	background: none;
	color: var(--wp--preset--color--navy);
	cursor: pointer;

	& svg {
		width: 1.1rem;
		height: 1.1rem;
	}
}

.kdo-tiroir__raccourcis {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	padding-block: 0.25rem;

	& .kdo-raccourci__libelle {
		display: block;
		font-size: 0.78rem;
	}
}

/* Catalogue : même bouton vert foncé que la barre d'ordinateur. */
.kdo-tiroir__catalogue > summary {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	min-height: 3.25rem;
	padding: 0.55rem 1rem 0.55rem 1.1rem;
	border-radius: var(--wp--custom--rayon--bouton);
	background: linear-gradient(160deg, color-mix(in srgb, var(--kdo-entete-vert-fonce) 85%, var(--wp--preset--color--marque)), var(--kdo-entete-vert-fonce) 70%);
	color: var(--wp--preset--color--surface);
	font-family: var(--wp--preset--font-family--titre);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.025em;
	line-height: 1.4;
	text-transform: uppercase;

	& .kdo-chevron {
		width: 0.8rem;
		height: 0.8rem;
		margin-left: auto;
	}
}

.kdo-tiroir__rubriques {
	margin-top: 0.4rem;
}

.kdo-tiroir__sous-groupe,
.kdo-tiroir__menu > li {
	border-bottom: 1px solid var(--kdo-entete-trait);
}

.kdo-tiroir__sous-groupe > summary,
.kdo-tiroir__groupe > summary,
.kdo-tiroir__lien {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	min-height: 3rem;
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--titre);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-decoration: none;
	text-transform: uppercase;

	& .kdo-chevron {
		margin-left: auto;
		color: color-mix(in srgb, var(--wp--preset--color--navy) 60%, var(--wp--preset--color--surface));
	}
}

.kdo-tiroir__sous-groupe > summary {
	padding-left: 0.15rem;
}

.kdo-tiroir__picto {
	width: 1.75rem;
	height: 1.75rem;
	stroke-width: 3;
}

/* Entrées du menu principal sans sous-menu : chevron vers la droite. */
.kdo-tiroir__lien::after {
	content: "";
	width: 0.4rem;
	height: 0.4rem;
	margin-left: auto;
	margin-right: 0.2rem;
	border-top: 1.5px solid color-mix(in srgb, var(--wp--preset--color--navy) 60%, var(--wp--preset--color--surface));
	border-right: 1.5px solid color-mix(in srgb, var(--wp--preset--color--navy) 60%, var(--wp--preset--color--surface));
	rotate: 45deg;
}

.kdo-tiroir__menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.kdo-tiroir__liens {
	margin: 0 0 0.75rem;
	padding: 0 0 0 2.7rem;
	list-style: none;

	& li {
		position: relative;
	}

	& li::before {
		content: "";
		position: absolute;
		left: -1rem;
		top: 0.95em;
		width: 0.35rem;
		height: 0.35rem;
		border-top: 1.5px solid currentColor;
		border-right: 1.5px solid currentColor;
		color: color-mix(in srgb, var(--wp--preset--color--navy) 60%, var(--wp--preset--color--surface));
		rotate: 45deg;
	}

	& a {
		display: block;
		padding: 0.4rem 0;
		color: var(--wp--preset--color--navy);
		font-family: var(--wp--preset--font-family--titre);
		font-size: 0.9rem;
		font-weight: 600;
		text-decoration: none;

		&[aria-current="page"] {
			color: var(--wp--preset--color--marque);
		}
	}
}

.kdo-tiroir__lien[aria-current="page"] {
	color: var(--wp--preset--color--marque);
}

.kdo-tiroir__groupe .kdo-tiroir__liens {
	padding-left: 1.1rem;
}

.kdo-tiroir__liens .kdo-tiroir__tout {
	&::before {
		color: var(--wp--preset--color--marque);
	}

	& a {
		color: var(--wp--preset--color--marque);
		font-weight: 700;
	}
}

.kdo-tiroir__contact {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	margin-top: auto;
	padding-top: 0.75rem;
	font-size: 0.9rem;

	& .kdo-entete__reseaux {
		margin-top: 0.6rem;
	}
}

.kdo-tiroir__coord {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	min-height: 2.5rem;
	color: var(--wp--preset--color--texte);
	font-weight: 600;
	text-decoration: none;
}

.kdo-tiroir__horaires {
	margin: 0.2rem 0 0;
	color: var(--wp--preset--color--texte);
	font-size: 0.8rem;
}

/*
 * Pastille du panier (décision de Gaëtan, 26/11/2026) : nombre de lignes du panier, posée par
 * assets/js/entete.js. Couleur d'accent ponctuelle, texte navy (charte).
 */
.kdo-raccourci__rond {
	position: relative;
}

.kdo-raccourci__pastille {
	position: absolute;
	inset-block-start: -0.35rem;
	inset-inline-end: -0.45rem;
	min-inline-size: 1.3rem;
	block-size: 1.3rem;
	padding-inline: 0.3em;
	border: 2px solid var(--wp--preset--color--surface);
	border-radius: 99px;
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--navy);
	font-size: 0.7rem;
	font-weight: 700;
	line-height: calc(1.3rem - 4px);
	text-align: center;
}

.kdo-raccourci__pastille[hidden] {
	display: none;
}

/* ---- composants/fil-ariane.css ---- */
/*
 * Fil d'Ariane (C03, TODO §3.3), remonté le 24/11/2026 depuis la page casquettes.
 * Gabarit : template-parts/navigation/fil-ariane.php. Se place en tête du texte du premier panneau.
 */
.kdo-ariane {
	margin-bottom: 1.25rem;
	font-size: 0.78rem;
	line-height: 1.4;

	& ol {
		display: flex;
		flex-wrap: wrap;
		gap: 0.2rem 0;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	& li + li::before {
		content: "›";
		margin-inline: 0.5rem;
		color: var(--wp--preset--color--marque);
		font-weight: 700;
	}

	& a {
		color: var(--wp--preset--color--texte);
		text-decoration: none;

		&:hover,
		&:focus-visible {
			color: var(--wp--preset--color--marque);
			text-decoration: underline;
		}
	}

	& [aria-current] {
		color: var(--wp--preset--color--marque);
		font-weight: 700;
	}
}

/* Sur un panneau navy : liens clairs, page courante en vert clair. */
.kdo-panneau--navy .kdo-ariane {
	& a {
		color: color-mix(in srgb, var(--wp--preset--color--surface) 80%, transparent);
	}

	& [aria-current] {
		color: var(--kdo-panneau-vert-clair);
	}
}

/* ---- composants/formulaire.css ---- */
/*
 * Formulaires de demande (C19, TODO §3.6), remontés le 24/11/2026 depuis la page casquettes.
 * .kdo-formulaire (carte) > .kdo-formulaire__tete ; fieldset.kdo-champs > legend (<span>1</span>
 * Titre) + p.kdo-champ (label + input/select/textarea ; --large sur toute la ligne) ;
 * .kdo-choix (pilules sur vrais boutons radio / cases) ; label.kdo-depot (fichier) ;
 * label.kdo-consentement (RGPD) ; bouton ; p.kdo-formulaire__note.
 */
/* Carte du formulaire : blanche, posée sur un panneau (gris, vert pâle ou navy), devant les bandes. */
.kdo-formulaire {
	position: relative;
	z-index: 2;
	padding: 1.4rem var(--wp--custom--gouttiere) 1.5rem;
	border-radius: var(--wp--custom--rayon--carte);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--texte);
	/* Ombre douce par défaut ; plus marquée sur un panneau navy (voir plus bas). */
	box-shadow: var(--wp--preset--shadow--survol);

	@media (min-width: 640px) {
		padding: 1.75rem 2rem 1.9rem;
	}

	& .kdo-icone {
		color: var(--wp--preset--color--marque);
	}
}

.kdo-formulaire__tete {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.25rem 1rem;
	margin: 0 0 1.1rem;
	padding-bottom: 0.9rem;
	border-bottom: 1px solid var(--wp--preset--color--filet);

	& strong {
		color: var(--wp--preset--color--navy);
		font-family: var(--wp--preset--font-family--titre);
		font-size: 1.15rem;
		font-weight: 800;
		text-transform: uppercase;
	}

	& span {
		font-size: 0.75rem;
	}
}

.kdo-champs {
	display: grid;
	gap: 0.8rem 1rem;
	min-width: 0;
	margin: 0 0 1.3rem;
	padding: 0;
	border: 0;

	@media (min-width: 640px) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	& legend {
		display: flex;
		align-items: center;
		gap: 0.55rem;
		margin-bottom: 0.75rem;
		padding: 0;
		color: var(--wp--preset--color--navy);
		font-family: var(--wp--preset--font-family--titre);
		font-size: 0.86rem;
		font-weight: 800;
		text-transform: uppercase;

		& span {
			display: grid;
			place-items: center;
			width: 1.6rem;
			height: 1.6rem;
			border-radius: 50%;
			background: var(--wp--preset--color--accent);
			font-size: 0.75rem;
		}
	}
}

.kdo-champ {
	display: grid;
	gap: 0.3rem;
	min-width: 0;
	margin: 0;

	& label,
	& .kdo-champ__libelle {
		color: var(--wp--preset--color--navy);
		font-size: 0.78rem;
		font-weight: 700;

		& small {
			font-weight: 400;
		}
	}

	& input,
	& select,
	& textarea {
		width: 100%;
		min-height: 44px;
		padding: 0.55rem 0.8rem;
		border: 1px solid var(--wp--preset--color--filet);
		border-radius: var(--wp--custom--rayon--bouton);
		background: var(--wp--preset--color--fond);
		color: var(--wp--preset--color--navy);
		font: inherit;
		font-size: 0.88rem;
		transition: border-color var(--wp--custom--transition), box-shadow var(--wp--custom--transition);

		&::placeholder {
			color: color-mix(in srgb, var(--wp--preset--color--texte) 70%, transparent);
		}

		&:focus {
			outline: none;
			border-color: var(--wp--preset--color--marque);
			background: var(--wp--preset--color--surface);
			box-shadow: 0 0 0 3px var(--wp--preset--color--marque-pale);
		}
	}

	& textarea {
		resize: vertical;
	}
}

.kdo-champ--large {
	grid-column: 1 / -1;
}

/* Choix en pilules : vrais boutons radio ou cases à cocher, masqués, mis en forme sur le libellé. */
.kdo-choix {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;

	& label {
		position: relative;
		cursor: pointer;
	}

	& input {
		position: absolute;
		opacity: 0;
		pointer-events: none;
	}

	& span {
		display: inline-flex;
		align-items: center;
		gap: 0.35rem;
		min-height: 2.35rem;
		padding: 0.35rem 0.9rem;
		border: 1.5px solid var(--wp--preset--color--filet);
		border-radius: var(--wp--custom--rayon--pilule);
		background: var(--wp--preset--color--surface);
		color: var(--wp--preset--color--navy);
		font-size: 0.8rem;
		font-weight: 600;
		transition: border-color var(--wp--custom--transition), background-color var(--wp--custom--transition);
	}

	& label:hover span {
		border-color: var(--wp--preset--color--marque);
	}

	& input:checked + span {
		border-color: var(--wp--preset--color--marque);
		background: var(--wp--preset--color--marque-pale);
		color: var(--wp--preset--color--marque);

		&::before {
			content: "✓";
			font-weight: 800;
		}
	}

	& input:focus-visible + span {
		outline: 2px solid var(--wp--preset--color--marque);
		outline-offset: 2px;
	}
}

/* Dépôt du logo. */
.kdo-depot {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.2rem;
	border: 1.5px dashed color-mix(in srgb, var(--wp--preset--color--marque) 55%, var(--wp--preset--color--filet));
	border-radius: var(--wp--custom--rayon--carte);
	background: color-mix(in srgb, var(--wp--preset--color--marque-pale) 55%, var(--wp--preset--color--surface));
	font-size: 0.76rem;
	line-height: 1.4;
	cursor: pointer;
	transition: border-color var(--wp--custom--transition), background-color var(--wp--custom--transition);

	&:hover,
	&:focus-within {
		border-color: var(--wp--preset--color--marque);
		background: var(--wp--preset--color--marque-pale);
	}

	& .kdo-icone {
		flex: none;
		width: 2.5rem;
		height: 2.5rem;
	}

	& strong {
		display: block;
		color: var(--wp--preset--color--navy);
		font-size: 0.85rem;
	}
}

.kdo-consentement {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin: 0 0 1.1rem;
	font-size: 0.78rem;
	line-height: 1.45;
	cursor: pointer;

	& input {
		flex: none;
		width: 1.1rem;
		height: 1.1rem;
		margin-top: 0.1rem;
		accent-color: var(--wp--preset--color--marque);
	}

	& a {
		color: var(--wp--preset--color--marque);
	}
}

.kdo-formulaire .kdo-bouton--devis {
	min-height: 52px;
	padding-inline: 1rem;
	font-size: clamp(0.8rem, 0.7rem + 0.45vw, 0.95rem);
}

.kdo-formulaire__note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	margin: 0.85rem 0 0;
	font-size: 0.74rem;

	& .kdo-icone {
		width: 1.1rem;
		height: 1.1rem;
	}
}

.kdo-panneau--navy .kdo-formulaire {
	box-shadow: 0 24px 60px color-mix(in srgb, var(--wp--preset--color--navy) 55%, transparent);
}

/* ---- composants/hero.css ---- */
/* ---------- Hero (maquettes « CASQUETTES », « MENU2 », « PAGE-BOUTIQUE ») ----------
 * Ce qui fait le dynamisme des maquettes : deux bandes vertes en diagonale à droite
 * (une fine, une large) en dégradé qui s'efface vers le bas, de grands produits
 * détourés qui se chevauchent, un titre très gros.
 * Détourage : les photos du catalogue ont un fond blanc ; mix-blend-mode: multiply
 * rend ce blanc transparent sur le fond clair et sur les bandes. Choisir des
 * produits colorés (un produit blanc disparaîtrait). */
.kdo-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background:
		radial-gradient(ellipse 60% 70% at 15% 10%, var(--wp--preset--color--surface) 0%, transparent 70%),
		var(--wp--preset--color--fond);
}

.kdo-hero__grille {
	display: grid;
	gap: var(--wp--preset--spacing--m);
	align-items: center;
	padding-block: var(--wp--preset--spacing--l);

	@media (min-width: 1024px) {
		grid-template-columns: 1.1fr 0.9fr;
		min-height: 34rem;
		padding-block: var(--wp--preset--spacing--l);
	}
}

.kdo-hero__titre {
	margin: 0 0 1.1rem;
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--titre);
	font-size: clamp(2rem, 1.3rem + 2.4vw, 3.15rem);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.01em;
	text-transform: uppercase;
}

.kdo-hero__texte {
	margin: 0 0 1.5rem;
	max-width: 34rem;
	font-size: var(--wp--preset--font-size--chapo);
}

.kdo-hero .kdo-arguments {
	margin-bottom: 1.75rem;
}

/* Bandes diagonales en dégradé : décor réutilisable (hero, bannières de spécialités). */
.kdo-bandes {
	position: absolute;
	inset: 0;
	z-index: -2;
	pointer-events: none;

	&::before,
	&::after {
		content: "";
		position: absolute;
		top: -2%;
		height: 104%;
		transform: skewX(-28deg);
		transform-origin: top right;
		background: linear-gradient(180deg,
			var(--wp--preset--color--marque) 0%,
			color-mix(in srgb, var(--wp--preset--color--marque) 78%, var(--wp--preset--color--surface)) 30%,
			color-mix(in srgb, var(--wp--preset--color--marque) 30%, transparent) 55%,
			transparent 72%);
	}

	/* Bande fine, côté texte. */
	&::before {
		right: 33%;
		width: 5%;
		opacity: 0.85;
	}

	/* Bande large, au bord droit. */
	&::after {
		right: -6%;
		width: 24%;
	}

	/* En mobile, le visuel passe sous le texte : les bandes restent dans le bas du hero. */
	@media (max-width: 1023px) {
		top: auto;
		height: 34%;

		&::before {
			right: 40%;
			width: 9%;
		}

		&::after {
			right: -10%;
			width: 40%;
		}
	}
}

/* Visuel : produits réels détourés, de tailles différentes, qui se chevauchent. */
.kdo-hero__visuel {
	position: relative;
	min-height: 19rem;
	aspect-ratio: 1 / 0.82;

	@media (min-width: 1024px) {
		min-height: 30rem;
	}
}

.kdo-hero__produit {
	position: absolute;
	margin: 0;

	& img {
		width: 100%;
		height: auto;
		mix-blend-mode: multiply;
	}

	/* Ombre au sol, sous le produit. */
	&::after {
		content: "";
		position: absolute;
		z-index: -1;
		left: 12%;
		right: 12%;
		bottom: 3%;
		height: 9%;
		border-radius: 50%;
		background: radial-gradient(ellipse at center, rgb(1 34 68 / 0.28) 0%, transparent 70%);
	}
}

.kdo-hero__produit--1 {
	left: 0;
	bottom: 4%;
	width: 60%;
}

.kdo-hero__produit--2 {
	right: 2%;
	bottom: 12%;
	width: 31%;
}

.kdo-hero__produit--3 {
	left: 47%;
	bottom: -2%;
	width: 27%;
}

/* ---- composants/mega-menu.css ---- */
/*
 * Méga-menu catalogue (TODO.md §3.8), recalé sur « HEADER ET MENU » : panneau-carte
 * blanc détaché sous la barre (coins arrondis, ombre douce), rubriques avec
 * pictogramme vert au trait (assets/icons/entete-*.svg) et titre navy en capitales
 * souligné d'un court trait vert, liens navy à chevron fin.
 * Les vrais libellés du catalogue étant plus longs que ceux de la maquette, les
 * 10 rubriques se rangent en 5 colonnes sur 2 rangées (décision Q3), séparées par un filet.
 * Le panneau suit son bouton dans le HTML (dans .kdo-nav) mais se place sous toute la barre
 * (.kdo-entete__barre, position relative). Page en cours : aria-current, en vert.
 */

.kdo-mega {
	position: absolute;
	left: 50%;
	top: calc(100% + 0.35rem);
	z-index: 10;
	width: min(100% - 2 * var(--wp--custom--gouttiere), var(--wp--style--global--wide-size) + 4rem);
	/* Le panneau suit l'en-tête collant : il ne doit jamais dépasser la fenêtre. */
	max-height: calc(100dvh - 17rem);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 1.65rem 2.25rem 1.85rem 3.1rem;
	translate: -50% 0;
	background: var(--wp--preset--color--surface);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--filet) 55%, var(--wp--preset--color--surface));
	border-radius: var(--wp--custom--rayon--carte);
	box-shadow: 0 16px 44px color-mix(in srgb, var(--wp--preset--color--navy) 13%, transparent), 0 2px 8px color-mix(in srgb, var(--wp--preset--color--navy) 5%, transparent);
}

.kdo-mega__grille {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0 2.25rem;
}

/* Seconde rangée de rubriques, séparée de la première par un filet. */
.kdo-mega__grille + .kdo-mega__grille {
	margin-top: 1.3rem;
	padding-top: 1.45rem;
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--filet) 65%, var(--wp--preset--color--surface));
}

/* Rubrique : picto + titre ; le trait vert court se place sous le titre, pas sous le picto. */
.kdo-mega__rubrique {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-areas:
		"icone titre"
		". trait";
	align-items: center;
	column-gap: 0.9rem;
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--titre);
	font-size: 0.84rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.25;
	text-decoration: none;
	text-transform: uppercase;

	&::after {
		content: "";
		grid-area: trait;
		width: 1.6rem;
		height: 2px;
		margin-top: 0.6rem;
		border-radius: 2px;
		background: var(--wp--preset--color--marque);
		transition: width var(--wp--custom--transition);
	}

	&:hover,
	&[aria-current="page"] {
		color: var(--wp--preset--color--marque);

		&::after {
			width: 2.6rem;
		}
	}
}

.kdo-mega__icone {
	grid-area: icone;
	width: 2.05rem;
	height: 2.05rem;
	stroke-width: 2.6;
}

.kdo-mega__titre {
	grid-area: titre;
}

/* Liens : chevron fin dans la marge, texte aligné sur le picto (comme la maquette). */
.kdo-mega__liens {
	margin: 0.95rem 0 0;
	padding: 0;
	list-style: none;
	font-family: var(--wp--preset--font-family--titre);
	font-size: 0.82rem;
	line-height: 1.3;

	& li {
		position: relative;
		padding-block: 0.2rem;
	}

	& li::before {
		content: "";
		position: absolute;
		left: -1.05rem;
		top: calc(0.2rem + 0.47em);
		width: 0.36rem;
		height: 0.36rem;
		border-top: 1.5px solid currentColor;
		border-right: 1.5px solid currentColor;
		color: color-mix(in srgb, var(--wp--preset--color--navy) 70%, var(--wp--preset--color--surface));
		rotate: 45deg;
		transition: translate var(--wp--custom--transition), color var(--wp--custom--transition);
	}

	& li:hover::before {
		color: var(--wp--preset--color--marque);
		translate: 2px 0;
	}

	& a {
		color: var(--wp--preset--color--navy);
		font-weight: 600;
		text-decoration: none;

		&:hover,
		&[aria-current="page"] {
			color: var(--wp--preset--color--marque);
		}
	}
}

.kdo-mega__liens .kdo-mega__tout {
	&::before {
		color: var(--wp--preset--color--marque);
	}

	& a {
		color: var(--wp--preset--color--marque);
		font-weight: 700;
	}
}

/* En-tête compact (assets/js/entete.js) : plus de hauteur disponible. */
.kdo-entete.est-compact .kdo-mega {
	max-height: calc(100dvh - 10.5rem);
}

/* ---- composants/modale.css ---- */
/*
 * Modale (<dialog class="kdo-modale">, TODO §3.11) : « On vous rappelle », imprimée en pied de page
 * (template-parts/footer/rappel.php) par blocks/formulaire/fonctions.php
 * (edkado_formulaire_rappel_modale(), maquette formulaires/rappel.php). Dans la feuille commune :
 * la modale s'affiche sur les pages qui n'ont pas de bloc formulaire (panier, commande) sans charger
 * blocs/bloc-formulaire.css. Les états après un envoi (erreur, confirmation) restent dans
 * bloc-formulaire.css (§6), chargée alors par la modale. Même rendu que la maquette : carte
 * blanche arrondie, deux bandes en haut à droite (jaune fine, verte large), disque jaune du picto,
 * titre en capitales navy puis vert, fond navy flouté.
 *
 * Toute modale native (tiroir du menu compris) : la page ne défile plus derrière.
 */

html:has(dialog:modal) {
	overflow: hidden;
	scrollbar-gutter: stable;
}

/*
 * Bouton flottant « On vous rappelle » (toutes les pages, comme tailpress : fixé en bas à gauche,
 * 90 px, image du site actuel). Gardé par Gaëtan le 26/11/2026.
 */
.kdo-rappel-flottant {
	position: fixed;
	inset-block-end: max(1%, env(safe-area-inset-bottom));
	inset-inline-start: 1%;
	z-index: 25;
	inline-size: 90px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	transition: transform 0.2s ease;
}

.kdo-rappel-flottant img {
	display: block;
	inline-size: 100%;
	block-size: auto;
}

.kdo-rappel-flottant:hover {
	transform: scale(1.05);
}

.kdo-rappel-flottant:focus-visible {
	outline: 3px solid var(--wp--preset--color--action);
	outline-offset: 3px;
	border-radius: 8px;
}

.kdo-rappel-flottant--texte {
	inline-size: auto;
	padding: 0.6em 1em;
	border-radius: 99px;
	background: var(--wp--preset--color--marque);
	color: var(--wp--preset--color--surface);
	font-weight: 700;
}

@media (max-width: 599px) {
	.kdo-rappel-flottant {
		inline-size: 64px;
	}
}

@media print {
	.kdo-rappel-flottant {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.kdo-rappel-flottant {
		transition: none;
	}
}

.kdo-modale {
	width: min(100% - 2 * var(--wp--custom--gouttiere), 27rem);
	max-height: calc(100dvh - 2rem);
	padding: 0;
	overflow: auto;
	overscroll-behavior: contain;
	border: 0;
	border-radius: var(--kdo-panneau-rayon);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--texte);
	box-shadow: 0 30px 80px color-mix(in srgb, var(--wp--preset--color--navy) 45%, transparent);

	&::backdrop {
		background: color-mix(in srgb, var(--wp--preset--color--navy) 55%, transparent);
		backdrop-filter: blur(3px);
	}

	/* Rouverte après un envoi, la modale prend elle-même le focus (son texte est lu) : pas de cadre
	 * autour de la carte, les contrôles gardent le leur. */
	&:focus-visible {
		outline: none;
	}

	/* Pot de miel du moteur de formulaires : hors de l'écran (aria-hidden, tabindex -1). */
	& .kdo-formulaire__pot {
		position: absolute;
		left: -100vw;
		width: 1px;
		height: 1px;
		margin: 0;
		overflow: hidden;
	}
}

.kdo-modale__corps {
	position: relative;
	isolation: isolate;
	display: grid;
	gap: 0.85rem;
	padding: 1.75rem 1.6rem 1.6rem;
	overflow: hidden;

	/* Bandes en haut à droite : une fine jaune, une large verte. */
	&::before,
	&::after {
		content: "";
		position: absolute;
		z-index: -1;
		top: 0;
		height: 13rem;
		transform: skewX(-30deg);
	}

	&::before {
		right: 30%;
		width: 7%;
		background: linear-gradient(180deg, var(--wp--preset--color--accent) 0%, transparent 95%);
	}

	&::after {
		right: 4%;
		width: 17%;
		background: linear-gradient(180deg, color-mix(in srgb, var(--wp--preset--color--marque) 62%, var(--wp--preset--color--surface)) 0%, transparent 95%);
	}

	& .kdo-surtitre {
		justify-self: start;
		margin: 0;
	}

	& .kdo-consentement {
		margin: 0;
	}
}

.kdo-modale__fermer {
	position: absolute;
	top: 0.7rem;
	right: 0.7rem;
	display: grid;
	place-items: center;
	width: 2.4rem;
	height: 2.4rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--navy);
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: var(--wp--preset--shadow--carte);

	&:hover,
	&:focus-visible {
		color: var(--wp--preset--color--marque);
	}
}

.kdo-modale__picto {
	display: grid;
	place-items: center;
	width: 3.4rem;
	height: 3.4rem;
	border-radius: 50%;
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--navy);

	& .kdo-icone {
		width: 2.1rem;
		height: 2.1rem;
	}
}

.kdo-modale__corps--envoye .kdo-modale__picto {
	background: var(--wp--preset--color--marque-pale);
	color: var(--wp--preset--color--marque);
}

.kdo-modale__titre {
	margin: 0;
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--titre);
	font-size: 1.7rem;
	font-weight: 800;
	line-height: 1.08;
	text-transform: uppercase;

	& .kdo-accent {
		display: block;
	}
}

.kdo-modale__texte {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.5;
}

.kdo-modale__horaires {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	font-size: 0.76rem;

	& .kdo-icone {
		flex: none;
		width: 1.2rem;
		height: 1.2rem;
		color: var(--wp--preset--color--marque);
	}
}

/* Ouverture : fondu et légère montée, sauf si le visiteur demande moins d'animations. */
@media (prefers-reduced-motion: no-preference) {
	.kdo-modale[open] {
		animation: kdo-modale-entree 220ms ease-out;
	}

	.kdo-modale[open]::backdrop {
		animation: kdo-modale-fond 220ms ease-out;
	}
}

@keyframes kdo-modale-entree {
	from {
		opacity: 0;
		translate: 0 0.75rem;
	}
}

@keyframes kdo-modale-fond {
	from {
		opacity: 0;
	}
}

/* ---- composants/pagination.css ---- */
/*
 * Pagination (TODO §3.4), remontée le 24/11/2026 depuis la page blog. Balisage de
 * paginate_links() : <nav class="navigation pagination kdo-pagination"> avec
 * <p class="kdo-pagination__etat">Page 1 sur N</p> et .nav-links > .page-numbers
 * (.current, .dots, .prev, .next) ; les classes .page-numbers sont gardées (contrat gb-search).
 */
.kdo-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--wp--preset--color--filet);

	@media (max-width: 599px) {
		justify-content: center;
	}

	& .nav-links {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		gap: 0.5rem;
	}

	& .page-numbers {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 0.4rem;
		min-width: 2.75rem;
		height: 2.75rem;
		padding-inline: 0.6rem;
		border: 1.5px solid color-mix(in srgb, var(--wp--preset--color--filet) 85%, transparent);
		border-radius: var(--wp--custom--rayon--pilule);
		background: var(--wp--preset--color--surface);
		color: var(--wp--preset--color--navy);
		font-family: var(--wp--preset--font-family--titre);
		font-size: 0.9rem;
		font-weight: 700;
		text-decoration: none;
		transition: border-color var(--wp--custom--transition), color var(--wp--custom--transition), background-color var(--wp--custom--transition);
	}

	& a.page-numbers:hover,
	& a.page-numbers:focus-visible {
		border-color: var(--wp--preset--color--marque);
		color: var(--wp--preset--color--marque);
	}

	& .current {
		border-color: var(--wp--preset--color--navy);
		background: var(--wp--preset--color--navy);
		color: var(--wp--preset--color--surface);
	}

	& .dots {
		min-width: 1.5rem;
		padding: 0;
		border-color: transparent;
		background: none;
	}

	& .next,
	& .prev {
		padding-inline: 1.3rem;
		border-color: var(--wp--preset--color--action);
		background: var(--wp--preset--color--action);
		color: var(--wp--preset--color--surface);
		font-size: 0.8rem;
		letter-spacing: 0.02em;
		text-transform: uppercase;
	}

	& .next::after {
		content: "→";
	}

	& .prev::before {
		content: "←";
	}

	& a.next:hover,
	& a.prev:hover,
	& a.next:focus-visible,
	& a.prev:focus-visible {
		background: var(--wp--preset--color--surface);
		color: var(--wp--preset--color--action);
	}
}

.kdo-pagination__etat {
	margin: 0;
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--titre);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

/* ---- composants/panneau.css ---- */
/*
 * Panneau pleine largeur : le style de référence des grands blocs de l'accueil (décision de
 * Gaëtan du 24/11/2026), tiré du bloc « Production sur mesure à prix d'usine » (maquette MENU2).
 *
 * Carte grise arrondie sur toute la largeur de la page (gouttière seulement), avec :
 * - à gauche, le texte : surtitre à filet bicolore, titre navy puis vert sur sa ligne, texte,
 *   arguments à pictos séparés par des filets, deux boutons ;
 * - au centre, des produits réels détourés devant deux larges bandes vertes en diagonale ;
 * - à droite, une carte sombre (étapes, chiffres…).
 *
 * Structure :
 *   <section class="kdo-hero kdo-panneau">
 *     <div class="kdo-panneau__grille">
 *       <div class="kdo-panneau__texte">…</div>
 *       <div class="kdo-panneau__visuel"><figure class="kdo-panneau__produit">…</figure>…</div>
 *       <ol|ul class="kdo-panneau__carte">…</ol>
 *     </div>
 *     <div class="kdo-bandes"></div>
 *   </section>
 * La position de chaque produit est propre au bloc (blocs/<bloc>.css).
 * Détourage : filtre SVG #kdo-detourage, imprimé par l'en-tête (edkado_filtres_svg()).
 */

:root {
	/* Les variables sont substituées là où on les utilise : 100% est la largeur du parent. */
	--kdo-panneau-largeur: min(100% - 2 * var(--wp--custom--gouttiere), 1860px);
	--kdo-panneau-rayon: 18px;
	/* Gris des cartes des maquettes (#f5f5f5), entre fond et fond-clair. */
	--kdo-panneau-gris: color-mix(in srgb, var(--wp--preset--color--fond-clair) 50%, var(--wp--preset--color--fond));
	/* Carte sombre : anthracite des maquettes, tiré du gris du texte et du navy. */
	--kdo-panneau-anthracite: color-mix(in srgb, var(--wp--preset--color--texte) 75%, var(--wp--preset--color--navy));
	/* Vert clair lisible sur l'anthracite. */
	--kdo-panneau-vert-clair: color-mix(in srgb, var(--wp--preset--color--marque) 72%, var(--wp--preset--color--surface));
}

/* Conteneur des filtres SVG partagés (edkado_filtres_svg()) : présent mais invisible.
 * Attention : .kdo-filtres (sans -svg) désigne les boutons de filtre des réalisations. */
.kdo-filtres-svg {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.kdo-panneau {
	width: var(--kdo-panneau-largeur);
	margin-inline: auto;
	border-radius: var(--kdo-panneau-rayon);
	background: var(--kdo-panneau-gris);
}

/* Trois colonnes (texte | produits | carte) à partir de 1400px, comme MENU2 ; en dessous, le
 * texte passe au-dessus, et les produits côtoient la carte. */
.kdo-panneau__grille {
	position: relative;
	display: grid;
	gap: 1.5rem;
	align-items: center;
	padding: 1.75rem var(--wp--custom--gouttiere);

	@media (min-width: 768px) {
		gap: 1rem 1.5rem;
		padding-inline: 2.5rem;
	}

	@media (min-width: 1024px) {
		grid-template-columns: minmax(0, 1fr) 18rem;
	}

	@media (min-width: 1400px) {
		grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr) 18rem;
		gap: 0;
		padding: 1.15rem 2rem 1.2rem clamp(2rem, 3.3vw, 3.75rem);
	}
}

.kdo-panneau__texte {
	position: relative;
	z-index: 1;

	@media (min-width: 1024px) and (max-width: 1399px) {
		grid-column: 1 / -1;
	}
}

/* Titre sur deux lignes : navy, puis la partie verte sur sa propre ligne. */
.kdo-panneau .kdo-hero__titre {
	margin-bottom: 0.7rem;
	font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.15rem);
	line-height: 1.12;
	letter-spacing: -0.012em;

	& .kdo-accent {
		display: block;
	}
}

.kdo-panneau .kdo-hero__texte {
	max-width: 36rem;
	margin-bottom: 1rem;
	font-size: 0.9rem;
	line-height: 1.6;
}

/* Arguments serrés : picto, libellé sur deux lignes, sous-texte ; filets verts entre eux. */
.kdo-panneau .kdo-arguments {
	margin-bottom: 1.15rem;
	gap: 1.25rem 0.5rem;

	@media (min-width: 640px) {
		grid-template-columns: repeat(var(--kdo-colonnes, 5), auto);
		justify-content: start;
		gap: 0;
	}

	& .kdo-argument {
		gap: 0.3rem;
		padding-inline: 0.7rem;
		font-size: 0.7rem;
		line-height: 1.3;

		&:first-child {
			padding-left: 0;
		}

		@media (min-width: 640px) {
			& + .kdo-argument {
				border-left: 1px solid color-mix(in srgb, var(--wp--preset--color--marque) 35%, var(--wp--preset--color--filet));
			}
		}
	}

	& .kdo-icone {
		width: 2rem;
		height: 2rem;
		margin-bottom: 0.2rem;
	}

	& strong {
		color: var(--wp--preset--color--navy);
		font-size: 0.7rem;
		font-weight: 800;
		line-height: 1.35;
	}

	@media (min-width: 640px) {
		& strong,
		& span {
			white-space: nowrap;
		}
	}
}

.kdo-panneau .kdo-bouton {
	min-height: 46px;
	padding-inline: 1.75rem;
}

/* Visuel : les produits sont placés en absolu par le bloc. */
.kdo-panneau__visuel {
	position: relative;
	align-self: stretch;
	min-height: 17rem;

	@media (min-width: 768px) {
		min-height: 20rem;
	}

	@media (min-width: 1400px) {
		min-height: 0;
		margin-block: -1.15rem -1.2rem;
	}
}

/* Scène : boîte aux proportions fixes (--kdo-scene, largeur / hauteur) dans laquelle les
 * produits sont placés en % : la composition garde ses proportions à toutes les largeurs.
 * - en dessous de 1024px, elle prend toute la largeur du visuel, qui prend sa hauteur ;
 * - à partir de 1024px, elle tient dans le visuel comme une image en « contain », calée en bas à
 *   droite au-dessus de --kdo-scene-bas ; le visuel devient un conteneur de taille (cqw / cqh).
 *   (Pas en mobile : une hauteur venue de min-height y donne 100cqh = 0.) */
.kdo-panneau__scene {
	position: relative;
	width: 100%;
	aspect-ratio: var(--kdo-scene, 1.5);

	@media (min-width: 1024px) {
		position: absolute;
		right: 0;
		bottom: var(--kdo-scene-bas, 0px);
		width: min(100cqw, (100cqh - var(--kdo-scene-bas, 0px)) * var(--kdo-scene, 1.5));
	}
}

.kdo-panneau__visuel:has(> .kdo-panneau__scene) {
	@media (max-width: 1023px) {
		min-height: 0;
	}

	@media (min-width: 1024px) {
		container-type: size;
	}
}

.kdo-panneau__produit {
	position: absolute;
	margin: 0;

	& img {
		display: block;
		width: 100%;
		height: auto;
		filter: url(#kdo-detourage) drop-shadow(0 0.9rem 1rem color-mix(in srgb, var(--wp--preset--color--navy) 22%, transparent));
	}
}

/* Bandes : deux larges bandes vert tendre, inclinées comme sur MENU2. */
.kdo-panneau .kdo-bandes {
	&::before,
	&::after {
		top: 0;
		height: 100%;
		transform: skewX(-33deg);
		opacity: 1;
		background: linear-gradient(180deg,
			color-mix(in srgb, var(--wp--preset--color--marque) 62%, var(--wp--preset--color--surface)) 0%,
			color-mix(in srgb, var(--wp--preset--color--marque) 52%, var(--wp--preset--color--surface)) 38%,
			color-mix(in srgb, var(--wp--preset--color--marque) 22%, transparent) 70%,
			transparent 92%);
	}

	&::before {
		right: 27%;
		width: 8.5%;
	}

	&::after {
		right: 7.5%;
		width: 9.5%;
	}
}

/* Sous 1400px, les bandes de la section traverseraient le texte : on les masque et on les
 * redessine derrière les seuls produits. */
@media (max-width: 1399px) {
	.kdo-panneau .kdo-bandes {
		display: none;
	}

	.kdo-panneau__visuel {
		&::before,
		&::after {
			content: "";
			position: absolute;
			z-index: -1;
			top: 0;
			height: 100%;
			transform: skewX(-30deg);
			background: linear-gradient(180deg,
				color-mix(in srgb, var(--wp--preset--color--marque) 62%, var(--wp--preset--color--surface)) 0%,
				color-mix(in srgb, var(--wp--preset--color--marque) 45%, var(--wp--preset--color--surface)) 45%,
				transparent 95%);
		}

		&::before {
			left: 38%;
			width: 14%;
		}

		&::after {
			left: 66%;
			width: 18%;
		}
	}
}

/* Carte sombre (étapes de MENU2) : posée sur la seconde bande. */
.kdo-panneau__carte {
	position: relative;
	z-index: 2;
	align-self: center;
	width: 100%;
	margin: 0;
	padding: 0.7rem 1.15rem;
	list-style: none;
	border-radius: var(--wp--custom--rayon--carte);
	background: color-mix(in srgb, var(--kdo-panneau-anthracite) 94%, transparent);
	color: var(--wp--preset--color--surface);
	box-shadow: 0 18px 40px color-mix(in srgb, var(--wp--preset--color--navy) 22%, transparent);
	backdrop-filter: blur(6px);

	/* Tablette portrait : carte pleine largeur, étapes sur deux colonnes. */
	@media (min-width: 768px) and (max-width: 1023px) {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 2rem;

		& li:nth-child(2) {
			border-top: 0;
		}
	}

	& li {
		display: grid;
		grid-template-columns: 2.15rem 1fr;
		gap: 0.1rem 0.75rem;
		align-items: center;
		padding-block: 0.62rem;

		& + li {
			border-top: 1px dashed color-mix(in srgb, var(--wp--preset--color--surface) 28%, transparent);
		}
	}

	& .kdo-icone {
		grid-row: span 2;
		width: 2.15rem;
		height: 2.15rem;
		color: var(--kdo-panneau-vert-clair);
	}

	& strong {
		align-self: end;
		font-family: var(--wp--preset--font-family--titre);
		font-size: 0.74rem;
		font-weight: 700;
		line-height: 1.2;
		letter-spacing: 0.01em;
		text-transform: uppercase;
	}

	& span {
		align-self: start;
		font-size: 0.72rem;
		line-height: 1.3;
		opacity: 0.88;
	}
}

/* Variante « chiffres » : gros chiffres en vert clair, libellé en capitales. */
.kdo-panneau__carte--chiffres {
	padding: 0.6rem 1.35rem;

	& li {
		grid-template-columns: 2.9rem 1fr;
		column-gap: 1rem;
		padding-block: 0.95rem;
	}

	& .kdo-icone {
		width: 2.9rem;
		height: 2.9rem;
		color: var(--wp--preset--color--surface);
	}

	& strong {
		color: var(--kdo-panneau-vert-clair);
		font-size: clamp(1.6rem, 1.25rem + 0.9vw, 2.05rem);
		font-weight: 800;
		line-height: 1;
		letter-spacing: -0.01em;
	}

	& span {
		margin-top: 0.2rem;
		font-family: var(--wp--preset--font-family--titre);
		font-size: 0.74rem;
		font-weight: 700;
		letter-spacing: 0.02em;
		text-transform: uppercase;
		opacity: 1;
	}
}

/* ---------- Disposition F « centré » (DESIGN-SYSTEM §2.7) ----------
 * Tête centrée ; au milieu, le visuel entouré d'une orbite en pointillés et de cartes de
 * chiffres (.kdo-orbite) ; en pied, les arguments et les boutons sur une ligne. Les bandes sont
 * dessinées derrière le seul visuel, pour laisser la tête lisible.
 * Structure : .kdo-panneau--centre > .kdo-panneau__grille > .kdo-panneau__tete,
 *   ul.kdo-orbite--gauche, ul.kdo-orbite--droite, .kdo-panneau__visuel (.kdo-panneau__ellipse +
 *   produits), .kdo-panneau__pied. */
.kdo-panneau--centre .kdo-panneau__grille {
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "tete" "visuel" "gauche" "droite" "pied";
	gap: 1.25rem;
	padding: 2.25rem var(--wp--custom--gouttiere) 2rem;

	@media (min-width: 768px) {
		padding-inline: 2.5rem;
	}

	@media (min-width: 1024px) {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, 1fr);
		grid-template-areas:
			"tete tete tete"
			"gauche visuel droite"
			"pied pied pied";
		gap: 0.25rem 1rem;
		padding: 2.5rem clamp(2rem, 3.3vw, 3.75rem) 2.25rem;
	}
}

.kdo-panneau__tete {
	grid-area: tete;
	text-align: center;

	& .kdo-surtitre {
		background-position: center bottom, center bottom;
	}

	& .kdo-hero__titre {
		font-size: clamp(1.75rem, 1.1rem + 2.2vw, 2.4rem);
	}

	& .kdo-hero__texte {
		max-width: 44rem;
		margin-inline: auto;
		margin-bottom: 0;
	}
}

.kdo-panneau--centre .kdo-panneau__visuel {
	grid-area: visuel;
	min-height: 0;
	margin: 0;
	aspect-ratio: 1.35;

	/* Bandes derrière le seul visuel, à toutes les largeurs : elles apparaissent en fondu sous
	 * la tête (pas de coupe nette) et s'effacent vers le bas. */
	&::before,
	&::after {
		content: "";
		position: absolute;
		z-index: -1;
		top: 0;
		height: 100%;
		transform: skewX(-30deg);
		background: linear-gradient(180deg,
			transparent 0%,
			color-mix(in srgb, var(--wp--preset--color--marque) 62%, var(--wp--preset--color--surface)) 20%,
			color-mix(in srgb, var(--wp--preset--color--marque) 45%, var(--wp--preset--color--surface)) 55%,
			transparent 95%);
	}

	&::before {
		left: 27%;
		width: 15%;
	}

	&::after {
		left: 55%;
		width: 17%;
	}
}

/* Orbite : ellipse en pointillés sous les produits, qui file vers les cartes de chiffres. */
.kdo-panneau__ellipse {
	position: absolute;
	z-index: -1;
	left: 50%;
	bottom: 2%;
	width: 100%;
	height: 46%;
	translate: -50% 0;
	/* Pointillés en jaune d'accent (24/11/2026). */
	border: 2px dashed var(--wp--preset--color--accent);
	border-radius: 50%;

	@media (min-width: 1024px) {
		width: 165%;
	}
}

.kdo-orbite {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;

	@media (max-width: 519px) {
		grid-template-columns: minmax(0, 1fr);
	}

	@media (min-width: 1024px) {
		grid-template-columns: minmax(0, 18.5rem);
		align-content: center;
		gap: 2.5rem;
	}
}

.kdo-orbite--gauche {
	grid-area: gauche;

	@media (min-width: 1024px) {
		justify-content: end;
	}
}

.kdo-orbite--droite {
	grid-area: droite;

	@media (min-width: 1024px) {
		justify-content: start;
	}
}

/* Cartes décalées : celle du haut mord sur le visuel, celle du bas s'en écarte. */
@media (min-width: 1024px) {
	.kdo-orbite--gauche .kdo-orbite__carte:first-child {
		translate: 2.25rem 0;
	}

	.kdo-orbite--gauche .kdo-orbite__carte:last-child {
		translate: -0.75rem 0;
	}

	.kdo-orbite--droite .kdo-orbite__carte:first-child {
		translate: -2.25rem 0;
	}

	.kdo-orbite--droite .kdo-orbite__carte:last-child {
		translate: 0.75rem 0;
	}
}

.kdo-orbite__carte {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0.15rem 0.85rem;
	align-items: center;
	padding: 0.95rem 1.15rem;
	border-radius: var(--wp--custom--rayon--carte);
	background: var(--wp--preset--color--surface);
	box-shadow: var(--wp--preset--shadow--survol);

	& strong {
		align-self: end;
		color: var(--wp--preset--color--marque);
		font-family: var(--wp--preset--font-family--titre);
		font-size: clamp(1.35rem, 1rem + 0.9vw, 1.75rem);
		font-weight: 800;
		line-height: 1;
		letter-spacing: -0.01em;
		text-transform: uppercase;
		white-space: nowrap;
	}
}

.kdo-orbite__libelle {
	align-self: start;
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--titre);
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
}

.kdo-orbite__picto {
	grid-row: span 2;
	display: grid;
	place-items: center;
	width: 3.1rem;
	height: 3.1rem;
	border-radius: 50%;
	background: var(--wp--preset--color--marque-pale);
	color: var(--wp--preset--color--marque);

	& .kdo-icone {
		width: 1.9rem;
		height: 1.9rem;
	}
}

/* Carte forte : pleine en vert (une par bloc au plus). */
.kdo-orbite__carte--forte {
	background: var(--wp--preset--color--marque);
	box-shadow: 0 14px 30px color-mix(in srgb, var(--wp--preset--color--marque) 35%, transparent);

	& strong,
	& .kdo-orbite__libelle {
		color: var(--wp--preset--color--surface);
	}

	& .kdo-orbite__picto {
		background: color-mix(in srgb, var(--wp--preset--color--surface) 18%, transparent);
		color: var(--wp--preset--color--surface);
	}
}

/* Carte pleine en jaune d'accent, texte navy (24/11/2026). */
.kdo-orbite__carte--jaune {
	background: var(--wp--preset--color--accent);
	box-shadow: 0 14px 30px color-mix(in srgb, var(--wp--preset--color--accent) 40%, transparent);

	& strong,
	& .kdo-orbite__libelle {
		color: var(--wp--preset--color--navy);
	}

	& .kdo-orbite__picto {
		background: color-mix(in srgb, var(--wp--preset--color--surface) 40%, transparent);
		color: var(--wp--preset--color--navy);
	}
}

.kdo-panneau__pied {
	grid-area: pied;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1.25rem 2.75rem;
	padding-top: 1.25rem;

	& .kdo-arguments {
		margin: 0;
	}

	& .kdo-paire-cta {
		justify-content: center;
	}
}

/* ---------- Fond vert pâle (DESIGN-SYSTEM §2.7, levier « fond ») ---------- */
.kdo-panneau--vert {
	background:
		radial-gradient(ellipse 55% 70% at 12% 15%, color-mix(in srgb, var(--wp--preset--color--surface) 70%, transparent) 0%, transparent 70%),
		var(--wp--preset--color--marque-pale);
}

/* ---------- Disposition D « carte posée » (DESIGN-SYSTEM §2.7) ----------
 * Le visuel remplit le panneau ; le texte est posé dessus dans une carte blanche qui mord sur
 * la composition. Le bas du panneau garde de la place pour des vignettes (.kdo-vignettes) qui
 * en chevauchent le bord.
 * Structure : .kdo-panneau--pose > .kdo-panneau__grille > .kdo-panneau__texte (la carte),
 *   .kdo-panneau__visuel (produits) ; .kdo-bandes ; puis, après la section, ul.kdo-vignettes. */
.kdo-panneau--pose .kdo-panneau__grille {
	@media (min-width: 1024px) {
		grid-template-columns: minmax(0, 28rem) minmax(0, 1fr);
		gap: 0;
		align-items: center;
		padding: 2.75rem 2rem 6.5rem clamp(2rem, 3.3vw, 3.75rem);
	}

	@media (min-width: 1280px) {
		grid-template-columns: minmax(0, 33rem) minmax(0, 1fr);
	}
}

.kdo-panneau--pose .kdo-panneau__texte {
	grid-column: auto;
	padding: 1.75rem 1.5rem;
	border-radius: var(--wp--custom--rayon--carte);
	background: var(--wp--preset--color--surface);
	box-shadow: var(--wp--preset--shadow--survol);

	@media (min-width: 1024px) {
		z-index: 2;
		margin-right: -3rem;
		padding: 2.25rem 2.5rem;
	}

	& .kdo-coches {
		margin-bottom: 1.5rem;
		color: var(--wp--preset--color--navy);
		font-size: 0.92rem;
	}

	/* Boutons un peu plus serrés : la paire tient sur une ligne dans la carte. */
	& .kdo-bouton {
		padding-inline: 1.3rem;
	}
}

.kdo-panneau--pose .kdo-panneau__visuel {
	min-height: 17rem;

	@media (min-width: 1024px) {
		/* La scène s'arrête au-dessus des vignettes qui chevauchent le bas du panneau. */
		--kdo-scene-bas: 4.25rem;

		align-self: stretch;
		min-height: 28rem;
		margin: -2.75rem -2rem -6.5rem 0;
	}
}

/* Vignettes qui chevauchent le bas du panneau (accompagnement « vignettes photo »). */
.kdo-vignettes {
	position: relative;
	z-index: 2;
	display: grid;
	gap: 0.75rem;
	width: calc(var(--kdo-panneau-largeur) - 2rem);
	margin: 0.75rem auto 0;
	padding: 0;
	list-style: none;

	@media (min-width: 640px) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	@media (min-width: 1024px) {
		gap: 1rem;
		width: calc(var(--kdo-panneau-largeur) - 2 * clamp(2rem, 3.3vw, 3.75rem));
		margin-top: -4.5rem;
	}

	@media (min-width: 1280px) {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.kdo-vignette {
	position: relative;
	display: grid;
	grid-template-columns: 7.5rem minmax(0, 1fr);
	gap: 1rem;
	align-items: center;
	padding: 0.55rem 1rem 0.55rem 0.55rem;
	border-radius: var(--wp--custom--rayon--carte);
	background: var(--wp--preset--color--surface);
	box-shadow: var(--wp--preset--shadow--survol);
	transition: translate var(--wp--custom--transition);

	&:hover {
		translate: 0 -3px;
	}

	& > :first-child {
		border-radius: calc(var(--wp--custom--rayon--carte) - 4px);
	}
}

.kdo-vignette__titre {
	margin: 0 0 0.4rem;
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--titre);
	font-size: 0.86rem;
	font-weight: 800;
	line-height: 1.25;
	text-transform: uppercase;

	& .kdo-accent {
		display: block;
	}
}

.kdo-vignette__lien {
	color: var(--wp--preset--color--marque);
	font-family: var(--wp--preset--font-family--titre);
	font-size: 0.74rem;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;

	&::after {
		content: " →";
	}

	/* Toute la vignette est cliquable. */
	&::before {
		content: "";
		position: absolute;
		inset: 0;
	}
}

/* ---------- Fond navy (une fois par page au plus, DESIGN-SYSTEM §2.7) ----------
 * Texte en blanc, partie verte du titre et surtitre en vert clair, bouton contour blanc,
 * bandes en vert franc. */
.kdo-panneau--navy {
	background:
		radial-gradient(ellipse 55% 75% at 88% 18%, color-mix(in srgb, var(--wp--preset--color--marque) 22%, transparent) 0%, transparent 70%),
		radial-gradient(ellipse 60% 80% at 10% 100%, color-mix(in srgb, var(--wp--preset--color--surface) 6%, transparent) 0%, transparent 70%),
		var(--wp--preset--color--navy);
	color: color-mix(in srgb, var(--wp--preset--color--surface) 82%, transparent);

	& .kdo-hero__titre,
	& .kdo-arguments strong {
		color: var(--wp--preset--color--surface);
	}

	& .kdo-accent,
	& .kdo-surtitre,
	& .kdo-icone {
		color: var(--kdo-panneau-vert-clair);
	}

	& .kdo-hero__texte {
		color: color-mix(in srgb, var(--wp--preset--color--surface) 80%, transparent);
	}

	& .kdo-surtitre {
		background:
			linear-gradient(var(--kdo-panneau-vert-clair), var(--kdo-panneau-vert-clair)) left bottom / 62% 3px no-repeat,
			linear-gradient(color-mix(in srgb, var(--wp--preset--color--surface) 25%, transparent), color-mix(in srgb, var(--wp--preset--color--surface) 25%, transparent)) left bottom / 75% 3px no-repeat;
	}

	& .kdo-bouton--contour {
		border-color: color-mix(in srgb, var(--wp--preset--color--surface) 70%, transparent);
		color: var(--wp--preset--color--surface);

		&:hover,
		&:focus-visible {
			background: var(--wp--preset--color--surface);
			color: var(--wp--preset--color--navy);
		}
	}

	& .kdo-bandes::before,
	& .kdo-bandes::after,
	& .kdo-panneau__visuel::before,
	& .kdo-panneau__visuel::after {
		background: linear-gradient(180deg,
			var(--wp--preset--color--marque) 0%,
			color-mix(in srgb, var(--wp--preset--color--marque) 70%, transparent) 40%,
			transparent 90%);
	}
}

/* Petite note (astérisque) sous les boutons. */
.kdo-panneau__note {
	margin: 1rem 0 0;
	font-size: 0.72rem;
	line-height: 1.45;
	opacity: 0.75;
}

/* ---------- Disposition C « visuel dominant » (DESIGN-SYSTEM §2.7) ----------
 * Texte étroit (1/3), visuel aux 2/3. --miroir met le visuel à gauche (et les bandes avec).
 * Arguments en liste verticale : picto à gauche, libellé gras puis précision. */
.kdo-panneau--dominant .kdo-panneau__grille {
	@media (min-width: 1024px) {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr);
		gap: 0 2.5rem;
		align-items: center;
		padding: 2.75rem 2rem 2.75rem clamp(2rem, 3.3vw, 3.75rem);
	}
}

.kdo-panneau--dominant .kdo-panneau__texte {
	@media (min-width: 1024px) {
		grid-column: 1;
		grid-row: 1;
	}
}

.kdo-panneau--dominant .kdo-panneau__visuel {
	min-height: 0;

	@media (min-width: 1024px) {
		grid-column: 2;
		grid-row: 1;
		align-self: stretch;
		min-height: 27rem;
		margin: -1.5rem 0;
	}
}

.kdo-panneau--dominant .kdo-panneau__scene {
	@media (min-width: 1024px) {
		top: 50%;
		left: 50%;
		right: auto;
		bottom: auto;
		translate: -50% -50%;
	}
}

.kdo-panneau--dominant.kdo-panneau--miroir .kdo-panneau__grille {
	@media (min-width: 1024px) {
		grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
		padding: 2.75rem clamp(2rem, 3.3vw, 3.75rem) 2.75rem 2rem;
	}
}

.kdo-panneau--miroir .kdo-panneau__texte {
	@media (min-width: 1024px) {
		grid-column: 2;
	}
}

.kdo-panneau--miroir .kdo-panneau__visuel {
	@media (min-width: 1024px) {
		grid-column: 1;
	}
}

/* Bandes en miroir : derrière le visuel, à gauche. */
.kdo-panneau--miroir .kdo-bandes {
	&::before {
		right: auto;
		left: 14%;
	}

	&::after {
		right: auto;
		left: 36%;
	}
}

.kdo-panneau--dominant .kdo-arguments {
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
	margin-bottom: 1.5rem;

	@media (min-width: 640px) {
		grid-template-columns: minmax(0, 1fr);
	}

	& .kdo-argument {
		flex-direction: row;
		align-items: center;
		gap: 0.9rem;
		padding: 0.7rem 0;
		text-align: left;
		font-size: 0.85rem;
		line-height: 1.45;

		& + .kdo-argument {
			border-left: 0;
			border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent);
		}
	}

	& .kdo-icone {
		flex: none;
		width: 2.4rem;
		height: 2.4rem;
		margin: 0;
	}

	& strong {
		display: block;
		font-size: 0.8rem;
		text-transform: uppercase;
	}

	& strong,
	& span {
		white-space: normal;
	}
}

/* ---------- Éventail de cartes produit (visuel « rangée en éventail ») ----------
 * Dans une scène (.kdo-panneau__scene) qui sert de conteneur : les tailles suivent sa largeur.
 * Chaque carte (--i = 0, 1, 2…) est tournée autour de sa base et posée sur un arc. */
.kdo-eventail {
	--kdo-scene: 1.55;

	container-type: inline-size;
}

.kdo-eventail__carte {
	--n: calc(var(--i) - 1.5);

	position: absolute;
	left: calc(7% + var(--i) * 21%);
	bottom: calc(14% + (2.25 - var(--n) * var(--n)) * 3.2%);
	display: flex;
	flex-direction: column;
	width: 24.5%;
	aspect-ratio: 0.8;
	margin: 0;
	padding: 3cqi 2.4cqi 2.6cqi;
	border-radius: 2.6cqi;
	background: var(--wp--preset--color--surface);
	box-shadow: 0 3cqi 6cqi color-mix(in srgb, var(--wp--preset--color--navy) 75%, transparent);
	rotate: calc(var(--n) * 7deg);
	transform-origin: 50% 120%;
	transition: translate var(--wp--custom--transition);

	&:hover {
		translate: 0 -1.5cqi;
	}

	& figcaption {
		margin-top: auto;
		color: var(--wp--preset--color--navy);
		font-family: var(--wp--preset--font-family--titre);
		font-size: max(0.62rem, 2.3cqi);
		font-weight: 800;
		line-height: 1.15;
		text-align: center;
		text-transform: uppercase;

		& .kdo-accent {
			display: block;
			color: var(--wp--preset--color--marque);
		}
	}
}

.kdo-eventail__photo {
	display: grid;
	flex: 1;
	min-height: 0;
	place-items: center;
	overflow: hidden;

	& img {
		width: 100%;
		height: 100%;
		object-fit: contain;
		scale: var(--kdo-zoom, 1);
	}
}

/* Pastille ronde (« Fabriqué en France », « Livré en 5 jours ») : disque vert, anneau en
 * pointillés, légèrement tournée. */
.kdo-pastille-ronde {
	position: absolute;
	right: 1%;
	top: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: max(19%, 4.8rem);
	aspect-ratio: 1;
	margin: 0;
	border-radius: 50%;
	background: var(--wp--preset--color--marque);
	box-shadow: 0 2cqi 5cqi color-mix(in srgb, var(--wp--preset--color--navy) 55%, transparent);
	outline: 0.35cqi dashed color-mix(in srgb, var(--wp--preset--color--surface) 70%, transparent);
	outline-offset: -1.4cqi;
	color: var(--wp--preset--color--surface);
	font-family: var(--wp--preset--font-family--titre);
	text-align: center;
	text-transform: uppercase;
	rotate: -10deg;

	& .kdo-icone {
		width: max(1rem, 4.2cqi);
		height: max(1rem, 4.2cqi);
		margin-bottom: 0.4cqi;
		color: var(--wp--preset--color--surface);
	}

	& span {
		font-size: max(0.45rem, 1.6cqi);
		font-weight: 700;
		letter-spacing: 0.04em;
	}

	& strong {
		font-size: max(0.78rem, 3.1cqi);
		font-weight: 800;
		line-height: 1.05;
	}
}

/* ---------- Disposition H « duo » (DESIGN-SYSTEM §2.7) ----------
 * Demi-panneaux côte à côte (deux par ligne dès 1024px), chacun avec son texte et son visuel sur
 * une bande. Le bloc alterne les fonds (gris / --vert) en damier.
 * Structure : .kdo-duos > article.kdo-hero.kdo-panneau.kdo-duo > .kdo-duo__texte,
 *   .kdo-duo__visuel (produits .kdo-panneau__produit, pastille…), .kdo-bandes. */
.kdo-duos {
	display: grid;
	gap: 1rem;
	width: var(--kdo-panneau-largeur);
	margin-inline: auto;

	/* Deux par ligne à partir de 1280px : en dessous, chaque demi-panneau serait trop étroit
	 * pour son texte et son visuel côte à côte. */
	@media (min-width: 1280px) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.kdo-duo {
	display: grid;
	gap: 1.25rem;
	width: auto;
	padding: 1.75rem var(--wp--custom--gouttiere);

	@media (min-width: 640px) {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
		align-items: center;
		padding: 2rem 1.25rem 2rem 2.25rem;
	}

	/* Une seule bande, large, derrière le visuel. */
	& .kdo-bandes {
		display: block;

		&::before {
			display: none;
		}

		&::after {
			right: 9%;
			width: 16%;
		}
	}

	/* Sous 640px, la bande passe derrière le visuel, en bas. */
	@media (max-width: 639px) {
		& .kdo-bandes {
			top: auto;
			height: 45%;
		}
	}
}

.kdo-duo__texte {
	position: relative;
	z-index: 1;

	& .kdo-surtitre {
		margin-bottom: 0.7rem;
	}
}

.kdo-duo__titre {
	margin: 0 0 0.7rem;
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--titre);
	font-size: clamp(1.3rem, 1rem + 0.9vw, 1.65rem);
	font-weight: 800;
	line-height: 1.12;
	text-transform: uppercase;

	& .kdo-accent {
		display: block;
	}
}

.kdo-duo__resume {
	margin: 0 0 0.9rem;
	font-size: 0.88rem;
	line-height: 1.55;
}

.kdo-duo__devise {
	margin: 0 0 1rem;
	padding-left: 0.85rem;
	border-left: 3px solid var(--wp--preset--color--accent);
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--titre);
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.35;
}

.kdo-duo__points {
	display: grid;
	gap: 0.45rem;
	margin: 0 0 1.1rem;
	padding: 0;
	list-style: none;
	color: var(--wp--preset--color--navy);
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.3;

	& li {
		display: flex;
		align-items: center;
		gap: 0.6rem;
	}

	& .kdo-icone {
		flex: none;
		width: 1.7rem;
		height: 1.7rem;
		padding: 0.25rem;
		border-radius: 50%;
		background: var(--wp--preset--color--surface);
		color: var(--wp--preset--color--marque);
		box-shadow: var(--wp--preset--shadow--carte);
	}
}

/* Lien de fin : vert, en capitales, flèche ; même langage que les vignettes. */
.kdo-duo__lien {
	color: var(--wp--preset--color--marque);
	font-family: var(--wp--preset--font-family--titre);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-decoration: none;
	text-transform: uppercase;

	&::after {
		content: " →";
	}

	&:hover,
	&:focus-visible {
		text-decoration: underline;
		text-underline-offset: 0.2em;
	}
}

.kdo-duo__visuel {
	position: relative;
	container-type: inline-size;
	/* Dans une grille, un élément à proportions fixes n'est pas étiré par défaut. */
	width: 100%;
	aspect-ratio: 1.05;

	@media (max-width: 639px) {
		aspect-ratio: 1.2;
	}

	/* Demi-panneau seul sur sa ligne (640 à 1279px) : visuel plafonné, calé à droite (les
	 * produits sont dimensionnés sur sa largeur : on garde ses proportions). */
	@media (min-width: 640px) and (max-width: 1279px) {
		justify-self: end;
		max-width: 24rem;
	}

	/* Disque clair sous les produits, posé sur la bande. */
	&::before {
		content: "";
		position: absolute;
		z-index: -1;
		left: 8%;
		bottom: 4%;
		width: 84%;
		aspect-ratio: 1;
		border-radius: 50%;
		background: color-mix(in srgb, var(--wp--preset--color--surface) 75%, transparent);
		box-shadow: 0 0 0 2px color-mix(in srgb, var(--wp--preset--color--marque) 30%, transparent);
	}

	@media (max-width: 639px) {
		&::before {
			left: 50%;
			width: auto;
			height: 92%;
			translate: -50% 0;
		}
	}

	& .kdo-pastille-ronde {
		width: 30%;
		top: 2%;
		right: 0;
	}
}

/* Pastille en jaune d'accent : texte, picto et anneau en navy (le blanc n'est pas lisible sur
 * le jaune). Utilisée par l'express, sur fond navy. */
.kdo-pastille-ronde--accent {
	background: var(--wp--preset--color--accent);
	outline-color: color-mix(in srgb, var(--wp--preset--color--navy) 40%, transparent);
	color: var(--wp--preset--color--navy);

	& .kdo-icone {
		color: var(--wp--preset--color--navy);
	}
}

/* ---------- Disposition E « empilé » (DESIGN-SYSTEM §2.7) ----------
 * En haut, la tête (surtitre, titre) à gauche et un chapô à droite ; dessous, sur toute la
 * largeur, une frise (.kdo-frise). Les bandes restent visibles à toutes les largeurs, calées à
 * droite ; la plus fine prend la couleur d'accent.
 * Structure : .kdo-panneau--empile > .kdo-panneau__grille > .kdo-panneau__tete,
 *   p.kdo-panneau__chapo, ol.kdo-frise ; .kdo-bandes. */
.kdo-panneau--empile .kdo-panneau__grille {
	grid-template-areas: "tete" "chapo" "frise";
	gap: 1rem;

	@media (min-width: 1024px) {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		grid-template-areas:
			"tete chapo"
			"frise frise";
		gap: 1.75rem 3rem;
		align-items: end;
		padding: 2.5rem clamp(2rem, 3.3vw, 3.75rem) 3.75rem;
	}
}

.kdo-panneau--empile .kdo-panneau__tete {
	text-align: left;

	& .kdo-surtitre {
		background-position: left bottom, left bottom;
	}

	& .kdo-hero__titre {
		margin-bottom: 0;
	}
}

.kdo-panneau__chapo {
	grid-area: chapo;
	position: relative;
	z-index: 1;
	max-width: 36rem;
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.6;

	@media (min-width: 1024px) {
		padding-bottom: 0.35rem;
	}
}

/* Les bandes apparaissent en fondu sous le chapô (lisible) et s'effacent sous la frise. */
.kdo-panneau--empile .kdo-bandes {
	display: block;

	/* Bande fine : couleur d'accent. */
	&::before {
		right: 23%;
		width: 4.5%;
		background: linear-gradient(180deg,
			transparent 18%,
			var(--wp--preset--color--accent) 42%,
			color-mix(in srgb, var(--wp--preset--color--accent) 45%, transparent) 70%,
			transparent 95%);
	}

	&::after {
		right: 5%;
		width: 12%;
		background: linear-gradient(180deg,
			transparent 18%,
			color-mix(in srgb, var(--wp--preset--color--marque) 62%, var(--wp--preset--color--surface)) 42%,
			color-mix(in srgb, var(--wp--preset--color--marque) 30%, transparent) 70%,
			transparent 95%);
	}
}

/* Frise de cartes numérotées, en escalier (une sur deux plus basse) à partir de 1024px. */
.kdo-frise {
	grid-area: frise;
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.9rem;
	margin: 0;
	padding: 0;
	list-style: none;

	@media (min-width: 640px) {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	@media (min-width: 1024px) {
		grid-template-columns: repeat(var(--kdo-frise-colonnes, 5), minmax(0, 1fr));
		align-items: start;
		gap: 1rem;
	}
}

.kdo-frise__carte {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.35rem;
	padding: 1.2rem 1.15rem 1.3rem;
	border-radius: var(--wp--custom--rayon--carte);
	background: var(--wp--preset--color--surface);
	box-shadow: var(--wp--preset--shadow--survol);
	transition: translate var(--wp--custom--transition);

	&:hover {
		translate: 0 -3px;
	}

	@media (min-width: 1024px) {
		&:nth-child(even) {
			margin-top: 1.75rem;
		}
	}
}

.kdo-frise__numero {
	position: absolute;
	top: 0.85rem;
	right: 1rem;
	color: var(--wp--preset--color--accent);
	font-family: var(--wp--preset--font-family--titre);
	font-size: 1.7rem;
	font-weight: 800;
	line-height: 1;
}

.kdo-frise__picto {
	display: grid;
	place-items: center;
	width: 3.3rem;
	height: 3.3rem;
	margin-bottom: 0.45rem;
	border-radius: 50%;
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--navy);

	& .kdo-icone {
		width: 2.1rem;
		height: 2.1rem;
		color: inherit;
	}
}

.kdo-frise__titre {
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--titre);
	font-size: clamp(0.74rem, 0.6rem + 0.6vw, 0.84rem);
	font-weight: 800;
	line-height: 1.25;
	text-transform: uppercase;
}

.kdo-frise__texte {
	font-size: 0.82rem;
	line-height: 1.45;
}

/* ---------- Disposition A « côte à côte » (DESIGN-SYSTEM §2.7) ----------
 * Texte (≈ 45 %) et visuel (≈ 55 %) ; --miroir met le visuel à gauche (bandes comprises).
 * Structure : .kdo-panneau--cote > .kdo-panneau__grille > .kdo-panneau__texte,
 *   .kdo-panneau__visuel (produits ou .kdo-panneau__scene) ; .kdo-bandes. */
.kdo-panneau--cote .kdo-panneau__grille {
	@media (min-width: 1024px) {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
		gap: 0 2.5rem;
		align-items: center;
		padding: 2.75rem 2rem 2.75rem clamp(2rem, 3.3vw, 3.75rem);
	}
}

.kdo-panneau--cote .kdo-panneau__texte {
	@media (min-width: 1024px) {
		grid-column: 1;
		grid-row: 1;
	}
}

.kdo-panneau--cote .kdo-panneau__visuel {
	min-height: 17rem;

	@media (min-width: 1024px) {
		grid-column: 2;
		grid-row: 1;
		align-self: stretch;
		min-height: 24rem;
		margin: -2.75rem -2rem -2.75rem 0;
	}
}

.kdo-panneau--cote.kdo-panneau--miroir .kdo-panneau__grille {
	@media (min-width: 1024px) {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
		padding: 2.75rem clamp(2rem, 3.3vw, 3.75rem) 2.75rem 2rem;
	}
}

.kdo-panneau--cote.kdo-panneau--miroir .kdo-panneau__texte {
	@media (min-width: 1024px) {
		grid-column: 2;
	}
}

.kdo-panneau--cote.kdo-panneau--miroir .kdo-panneau__visuel {
	@media (min-width: 1024px) {
		grid-column: 1;
		margin: -2.75rem 0 -2.75rem -2rem;
	}
}

/* Puces de texte d'un panneau : point vert, mots forts en navy. */
.kdo-panneau__puces {
	display: grid;
	gap: 0.55rem;
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
	font-size: 0.9rem;
	line-height: 1.55;

	& li {
		position: relative;
		padding-left: 1.25rem;

		&::before {
			content: "";
			position: absolute;
			left: 0;
			top: 0.55em;
			width: 0.5rem;
			height: 0.5rem;
			border-radius: 50%;
			background: var(--wp--preset--color--marque);
		}
	}

	& strong {
		color: var(--wp--preset--color--navy);
	}
}

/* Liste d'actions facultative dans une carte de frise. Le nombre de colonnes de la frise se
 * règle par --kdo-frise-colonnes (5 par défaut). */
.kdo-frise__liste {
	display: grid;
	gap: 0.4rem;
	margin: 0.4rem 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.82rem;
	line-height: 1.45;

	& li {
		position: relative;
		padding-left: 1rem;

		&::before {
			content: "";
			position: absolute;
			left: 0;
			top: 0.55em;
			width: 0.4rem;
			height: 0.4rem;
			border-radius: 50%;
			background: var(--wp--preset--color--accent);
		}
	}
}

/* ---- composants/pied.css ---- */
/*
 * Pied de page (TODO.md §3.10, 3.12) — template-parts/footer/pied.php.
 * Recalé côte à côte sur la maquette « FOOTER » (échelle 1440 px) : fond blanc, textes en
 * navy (contraste de la maquette), libellés et liens en Figtree, phrases en Open Sans ;
 * colonnes séparées par des filets fins ; pictogrammes de la maquette redessinés
 * (assets/icons/pied-*.svg) ; encart « Un projet ? Parlons-en ! » ; barre basse navy ;
 * arc de cercle décoratif à droite (grands écrans).
 */

.kdo-pied {
	position: relative;
	overflow: clip;
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--filet) 55%, var(--wp--preset--color--surface));
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--navy);
	font-size: 0.9rem;

	/* Décor : arc de cercle fin et son point, à cheval sur la barre basse (maquette). */
	&::before,
	&::after {
		content: "";
		position: absolute;
		display: none;
		pointer-events: none;
		border-radius: 50%;

		@media (min-width: 1200px) {
			display: block;
		}
	}

	&::before {
		right: -289px;
		bottom: -51px;
		width: 344px;
		height: 344px;
		border: 1.5px solid color-mix(in srgb, var(--wp--preset--color--marque) 80%, transparent);
	}

	&::after {
		right: 43px;
		bottom: 164px;
		width: 0.55rem;
		height: 0.55rem;
		background: var(--wp--preset--color--marque);
	}
}

/* ---------- Grille : marque | À propos | Informations | Services | Coordonnées ---------- */

/* La maquette est plus large que le conteneur commun (1280) : 1320 px à 1440 px d'écran. */
.kdo-pied .kdo-conteneur {
	width: min(100% - 2 * var(--wp--custom--gouttiere), 1320px);
}

.kdo-pied__grille {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2.25rem 1.25rem;
	padding-block: 2.5rem 1.5rem;

	& > .kdo-pied__marque,
	& > .kdo-pied__colonne:nth-of-type(n + 3),
	& > .kdo-pied__coordonnees,
	& > .kdo-appel,
	& > .kdo-pied__villes {
		grid-column: 1 / -1;
	}

	/* Tablette : liens et coordonnées en 2 × 2. */
	@media (min-width: 640px) {
		& > .kdo-pied__colonne:nth-of-type(n + 3),
		& > .kdo-pied__coordonnees {
			grid-column: auto;
		}
	}

	@media (min-width: 1024px) {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1.4fr);
		column-gap: 2rem;
	}

	/* Maquette : 5 colonnes, filets verticaux entre les colonnes de liens, encart sous les
	 * colonnes (la marque occupe toute la hauteur à gauche). */
	@media (min-width: 1200px) {
		grid-template-columns: minmax(0, 357fr) minmax(0, 176fr) minmax(0, 214fr) minmax(0, 262fr) minmax(0, 311fr);
		gap: 0;
		padding-block: 3.1rem 1.1rem;

		& > .kdo-pied__marque {
			grid-column: 1;
			grid-row: 1 / span 3;
			padding-right: 2.4rem;
		}

		& > .kdo-pied__colonne {
			padding-top: 0.6rem;
		}

		& > .kdo-pied__colonne + .kdo-pied__colonne {
			padding-left: 2.15rem;
			border-left: 1px solid color-mix(in srgb, var(--wp--preset--color--filet) 40%, var(--wp--preset--color--surface));
		}

		& > .kdo-appel,
		& > .kdo-pied__villes {
			grid-column: 2 / -1;
			max-width: 51rem;
			margin-left: -0.4rem;
		}

		& > .kdo-appel {
			margin-top: 2.9rem;
		}
	}
}

/* ---------- Marque : logo, baseline, présentation, arguments ---------- */

.kdo-pied__marque {
	@media (min-width: 768px) and (max-width: 1199px) {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
		grid-template-rows: auto auto 1fr;
		column-gap: 3rem;

		& > .kdo-pied__arguments {
			grid-column: 2;
			grid-row: 1 / span 3;
			margin-top: 0;
		}
	}
}

.kdo-pied__logo {
	display: inline-block;

	& img {
		width: auto;
		height: 57px;
	}
}

.kdo-pied__baseline {
	margin: 0.3rem 0 0;
	font-family: var(--wp--preset--font-family--titre);
	font-size: 0.95rem;
	font-weight: 500;
}

.kdo-pied__presentation {
	max-width: 15.5rem;
	margin: 1.3rem 0 0;
	font-size: 0.875rem;
	line-height: 1.62;
}

.kdo-pied__arguments {
	max-width: 18.6rem;
	margin: 1.4rem 0 0;
	padding: 0;
	list-style: none;

	& li {
		display: grid;
		grid-template-columns: 2.85rem minmax(0, 1fr);
		align-items: center;
		column-gap: 1.1rem;
		padding-block: 0.62rem;

		& + li {
			border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--marque) 30%, var(--wp--preset--color--surface));
		}
	}

	& .kdo-icone {
		width: 2.85rem;
		height: 2.85rem;
	}

	& span {
		font-size: 0.75rem;
		line-height: 1.4;
	}

	& strong {
		display: block;
		margin-bottom: 0.2rem;
		color: var(--wp--preset--color--marque);
		font-family: var(--wp--preset--font-family--titre);
		font-size: 0.84rem;
		font-weight: 700;
		line-height: 1.25;
		text-transform: uppercase;
	}

	/* Tablette : arguments en 2 × 2, à droite du logo. */
	@media (min-width: 768px) and (max-width: 1199px) {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 2rem;
		align-content: start;
		max-width: none;

		& li + li {
			border-top: 0;
		}

		& li:nth-child(n + 3) {
			border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--marque) 30%, var(--wp--preset--color--surface));
		}
	}
}

/* ---------- Colonnes de liens ---------- */

.kdo-pied__titre {
	margin: 0 0 1.3rem;
	padding-bottom: 0.7rem;
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--titre);
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.25;
	text-transform: uppercase;
	background: linear-gradient(var(--wp--preset--color--marque), var(--wp--preset--color--marque)) left bottom / 1.45rem 3px no-repeat;
}

.kdo-pied__colonne .kdo-liste-chevrons {
	& li {
		padding: 0.7rem 0 0.7rem 1.1rem;
		font-family: var(--wp--preset--font-family--titre);
		font-size: 0.9rem;
		font-weight: 500;
		line-height: 1.45;
	}

	/* Chevron fin dessiné (la maquette n'a pas le « › » gras). */
	& li::before {
		content: "";
		top: calc(0.7rem + 0.7em - 0.2rem);
		width: 0.4rem;
		height: 0.4rem;
		border-right: 1.6px solid var(--wp--preset--color--marque);
		border-bottom: 1.6px solid var(--wp--preset--color--marque);
		rotate: -45deg;
	}

	& a {
		color: var(--wp--preset--color--navy);
		font-weight: 500;
	}

	/* Entrée qui agit sans changer de page (préférences de cookies, data-kdo-cookies) : un bouton
	 * présenté comme les liens voisins. */
	& .kdo-pied__action {
		padding: 0;
		border: 0;
		background: none;
		color: var(--wp--preset--color--navy);
		font: inherit;
		text-align: left;
		cursor: pointer;

		&:hover {
			color: var(--wp--preset--color--marque);
		}
	}
}

/* ---------- Coordonnées ---------- */

.kdo-coordonnees {
	display: grid;
	gap: 1.6rem;
	margin: 0;
	padding: 0;
	list-style: none;

	& li {
		display: grid;
		grid-template-columns: 3rem minmax(0, 1fr);
		align-items: start;
		column-gap: 1rem;
	}

	& .kdo-pastille {
		width: 3rem;
		height: 3rem;
		background: color-mix(in srgb, var(--wp--preset--color--marque-pale) 70%, var(--wp--preset--color--fond));
	}

	& .kdo-pastille .kdo-icone {
		width: 1.75rem;
		height: 1.75rem;
		stroke-width: 3.8;
	}

	& li > span:last-child {
		padding-top: 0.25rem;
		font-family: var(--wp--preset--font-family--titre);
		font-size: 0.92rem;
		font-weight: 500;
		line-height: 1.45;
	}

	& strong {
		display: block;
		margin-bottom: 0.05rem;
		font-size: 0.76rem;
		font-weight: 800;
		letter-spacing: 0.01em;
		text-transform: uppercase;
	}

	& a {
		display: block;
		color: var(--wp--preset--color--navy);
		font-weight: 500;
		text-decoration: none;

		&:hover {
			color: var(--wp--preset--color--marque);
		}
	}

	& small {
		display: block;
		margin-top: 0.15rem;
		color: color-mix(in srgb, var(--wp--preset--color--navy) 65%, var(--wp--preset--color--surface));
		font-family: var(--wp--preset--font-family--texte);
		font-size: 0.72rem;
		line-height: 1.4;
	}
}

.kdo-coordonnees__ligne {
	display: block;

	/* « 38330 Montbonnot-Saint-Martin » sur une ligne quand la colonne le permet ;
	 * sinon la coupure se fait après le code postal, pas au trait d'union. */
	@media (min-width: 1320px) {
		white-space: nowrap;
	}
}

.kdo-coordonnees__ville {
	white-space: nowrap;
}

.kdo-pied__suivez {
	margin: 1.9rem 0 0.8rem;
	font-family: var(--wp--preset--font-family--titre);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.kdo-reseaux--pied {
	flex-wrap: wrap;
	gap: 1.05rem;

	& a {
		width: 2.5rem;
		height: 2.5rem;
		padding: 0.42rem;
		border: 2px solid var(--wp--preset--color--marque);
		border-radius: 50%;
		color: var(--wp--preset--color--marque);
		transition: background-color var(--wp--custom--transition), color var(--wp--custom--transition);

		&:hover,
		&:focus-visible {
			background: var(--wp--preset--color--marque);
			color: var(--wp--preset--color--surface);
		}
	}

	& .kdo-icone {
		color: inherit;
	}

	/* Colonne plus étroite entre 1200 et 1320 px : les 5 réseaux tiennent sur une ligne. */
	@media (min-width: 1200px) and (max-width: 1319px) {
		gap: 0.55rem;

		& a {
			width: 2.35rem;
			height: 2.35rem;
		}
	}
}

/* ---------- Encart « Un projet ? Parlons-en ! » ---------- */

.kdo-appel {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 1rem 1.25rem;
	padding: 1.1rem 1.25rem;
	border-radius: var(--wp--custom--rayon--carte);
	background: color-mix(in srgb, var(--wp--preset--color--marque-pale) 45%, var(--wp--preset--color--fond));

	@media (min-width: 768px) {
		grid-template-columns: auto minmax(0, 1fr) auto;
		column-gap: 1.45rem;
		padding: 0.9rem 2.5rem 0.9rem 1.6rem;
	}
}

/* Disque jaune d'accent, picto navy (24/11/2026). */
.kdo-appel__icone {
	display: grid;
	place-items: center;
	width: 3.75rem;
	height: 3.75rem;
	border-radius: 50%;
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--navy);

	& .kdo-icone {
		width: 2rem;
		height: 2rem;
		color: inherit;
	}

	@media (min-width: 768px) {
		width: 4.7rem;
		height: 4.7rem;

		& .kdo-icone {
			width: 2.5rem;
			height: 2.5rem;
		}
	}
}

.kdo-appel__texte {
	max-width: 22.5rem;
	margin: 0;
	font-size: 0.82rem;
	line-height: 1.5;

	& strong {
		display: block;
		margin-bottom: 0.3rem;
		font-family: var(--wp--preset--font-family--titre);
		font-size: clamp(0.98rem, 0.9rem + 0.3vw, 1.1rem);
		font-weight: 800;
		line-height: 1.2;
		text-transform: uppercase;
	}
}

/* Bouton vert en pilule, flèche dans une pastille blanche à gauche (maquette).
 * L'orange reste réservé au bouton « Demander un devis ». */
.kdo-appel__bouton {
	grid-column: 1 / -1;
	gap: 0.8rem;
	min-height: 2.95rem;
	padding: 0.45rem 1.25rem 0.45rem 0.95rem;
	border-radius: var(--wp--custom--rayon--pilule);
	font-size: 0.93rem;
	font-weight: 800;
	letter-spacing: 0.02em;

	@media (min-width: 768px) {
		grid-column: auto;
	}

	&:hover .kdo-appel__fleche,
	&:focus-visible .kdo-appel__fleche {
		background: var(--wp--preset--color--action);
		color: var(--wp--preset--color--surface);
	}
}

.kdo-appel__fleche {
	display: grid;
	place-items: center;
	width: 1.85rem;
	height: 1.85rem;
	border-radius: 50%;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--action);
	transition: background-color var(--wp--custom--transition), color var(--wp--custom--transition);

	& .kdo-icone {
		width: 1.1rem;
		height: 1.1rem;
		color: inherit;
		stroke-width: 4.5;
	}
}

/* Liens vers les pages villes, gardés pour le référencement (R19) : rangée discrète. */
.kdo-pied__villes {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.4rem;
	margin-top: -1.5rem;
	padding-top: 0.75rem;
	font-size: 0.75rem;

	@media (min-width: 1200px) {
		margin-top: 0;
	}

	& a {
		color: color-mix(in srgb, var(--wp--preset--color--navy) 60%, var(--wp--preset--color--surface));
		font-weight: 400;
		text-decoration: none;

		&:hover {
			color: var(--wp--preset--color--marque);
		}
	}
}

/* ---------- Barre basse navy ---------- */

.kdo-pied__bas {
	padding-block: 1.5rem 5rem; /* place pour le bouton d'appel collant (mobile) */
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--surface);
	font-family: var(--wp--preset--font-family--titre);
	font-size: 0.8125rem;
	font-weight: 500;

	@media (min-width: 1024px) {
		padding-block: 2.05rem;
	}
}

.kdo-pied__bas-grille {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.85rem;

	& p {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 0.6rem;
		margin: 0;
	}

	@media (min-width: 768px) {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		gap: 0.85rem 2.25rem;
	}

	/* « © 2026 E-dkado – … » : une seule phrase, pas d'écart de flex autour du nom. */
	& > p:first-child {
		display: block;
	}

	/* Maquette : une ligne, éléments répartis et séparés par des filets verticaux. */
	@media (min-width: 1200px) {
		flex-wrap: nowrap;
		justify-content: space-between;
		gap: 1rem;
	}
}

.kdo-pied__separateur {
	display: none;
	flex: none;
	width: 1px;
	height: 1.15rem;
	background: color-mix(in srgb, var(--wp--preset--color--surface) 35%, transparent);

	@media (min-width: 1200px) {
		display: block;
	}
}

.kdo-pied__nom {
	color: color-mix(in srgb, var(--wp--preset--color--marque) 75%, var(--wp--preset--color--surface));
}

/* Drapeau français dessiné en CSS (couleurs bleu et rouge de theme.json). */
.kdo-pied__drapeau {
	flex: none;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	background: linear-gradient(90deg, var(--wp--preset--color--bleu) 0 33.4%, var(--wp--preset--color--surface) 0 66.6%, var(--wp--preset--color--rouge) 0);
}

/* Pastille blanche de « Membre de L'Objet Média » (pas de logo tiers). */
.kdo-pied__puce {
	display: grid;
	flex: none;
	place-items: center;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	background: var(--wp--preset--color--surface);

	& .kdo-icone {
		width: 0.95rem;
		height: 0.95rem;
		color: var(--wp--preset--color--navy);
		stroke-width: 7;
	}
}

.kdo-pied__paiement {
	& > .kdo-icone {
		width: 1.05rem;
		height: 1.05rem;
		color: var(--wp--preset--color--surface);
		stroke-width: 4.5;
	}
}

/* Moyens de paiement en texte, dans des étiquettes blanches (pas de logos de marques). */
.kdo-pied__moyens {
	display: flex;
	gap: 0.5rem;

	@media (min-width: 1200px) {
		margin-left: 1.1rem;
	}

	& span {
		padding: 0.3rem 0.55rem;
		border-radius: 4px;
		background: var(--wp--preset--color--surface);
		color: var(--wp--preset--color--navy);
		font-size: 0.66rem;
		font-weight: 800;
		line-height: 1.2;
		letter-spacing: 0.03em;
		text-transform: uppercase;
	}
}

/* Bouton d'appel collant, mobile seulement (existant .tel-footer). */
.kdo-appel-mobile {
	position: fixed;
	left: 50%;
	bottom: calc(0.75rem + env(safe-area-inset-bottom));
	z-index: 40;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.7rem 1.2rem;
	translate: -50% 0;
	border-radius: var(--wp--custom--rayon--pilule);
	background: var(--wp--preset--color--action);
	color: var(--wp--preset--color--surface);
	font-weight: 700;
	text-decoration: none;
	box-shadow: var(--wp--preset--shadow--survol);

	& .kdo-icone {
		color: currentColor;
	}

	@media (min-width: 1024px) {
		display: none;
	}
}

/* Barre d'action mobile des pages à formulaire (C24, 02/12/2026) : le bouton qui mène au formulaire
 * (orange pour le devis, .kdo-bouton--devis) et un bouton d'appel rond, sur toute la largeur. Les
 * coins bas étant pris (badge « On vous rappelle » de 90 px à gauche, bulle du chatbot gb-vendeur-ia
 * de 60 px à droite), ces deux-là remontent au-dessus de la barre (body.kdo-avec-barre-mobile). */
.kdo-barre-mobile {
	position: fixed;
	inset-inline: 0.75rem;
	bottom: calc(0.75rem + env(safe-area-inset-bottom));
	z-index: 40;
	display: flex;
	align-items: center;
	gap: 0.5rem;

	@media (min-width: 1024px) {
		display: none;
	}
}

@media (max-width: 1023px) {
	.kdo-avec-barre-mobile {
		& .kdo-rappel-flottant {
			inset-block-end: calc(4.25rem + env(safe-area-inset-bottom));
		}

		& .gb-vendeur-bubble {
			bottom: calc(4.25rem + 12px + env(safe-area-inset-bottom));
		}

		/* La barre ne cache pas la dernière ligne du pied de page. */
		& .kdo-pied__bas {
			padding-block-end: 4.5rem;
		}
	}
}

.kdo-barre-mobile__action {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1rem;
	border-radius: var(--wp--custom--rayon--pilule);
	background: var(--wp--preset--color--action);
	color: var(--wp--preset--color--surface);
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	box-shadow: var(--wp--preset--shadow--survol);

	& .kdo-icone {
		color: currentColor;
	}

	/* Après la règle ci-dessus (même fichier assemblé après bouton.css) : l'orange du devis l'emporte. */
	&.kdo-bouton--devis {
		background: linear-gradient(100deg, var(--wp--preset--color--devis) 0%, var(--wp--preset--color--devis) 45%, var(--wp--preset--color--devis-clair) 100%);
		box-shadow: 0 4px 12px color-mix(in srgb, var(--wp--preset--color--devis) 30%, transparent);
	}
}

.kdo-barre-mobile__action--tel {
	flex: 0 0 auto;
	inline-size: 2.9rem;
	block-size: 2.9rem;
	padding: 0;
}

/*
 * Colonnes de liens en accordéons sur téléphone (décision de Gaëtan, 26/11/2026 : le footer
 * faisait ≈ 1 800 px à 390 px). <details open> : ouvert sans JS et dès 640 px ; assets/js/entete.js
 * le ferme sous 640 px et empêche de le replier au-delà.
 */
.kdo-pied__resume {
	list-style: none;

	&::-webkit-details-marker {
		display: none;
	}
}

@media (max-width: 639px) {
	.kdo-pied__grille {
		row-gap: 0;

		& > .kdo-pied__marque,
		& > .kdo-pied__coordonnees,
		& > .kdo-appel,
		& > .kdo-pied__villes {
			margin-block: 1.75rem;
		}

		& > .kdo-pied__colonne {
			grid-column: 1 / -1;
			border-block-end: 1px solid var(--wp--preset--color--filet);
		}
	}

	.kdo-pied__resume {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 1rem;
		padding-block: 1rem;
		cursor: pointer;

		& .kdo-pied__titre {
			margin: 0;
		}

		&::after {
			content: "";
			flex: none;
			inline-size: 0.55rem;
			block-size: 0.55rem;
			margin-inline-end: 0.3rem;
			border-inline-end: 2px solid var(--wp--preset--color--marque);
			border-block-end: 2px solid var(--wp--preset--color--marque);
			transform: translateY(-25%) rotate(45deg);
			transition: transform var(--wp--custom--transition);
		}
	}

	.kdo-pied__deplier[open] > .kdo-pied__resume::after {
		transform: translateY(25%) rotate(-135deg);
	}

	.kdo-pied__deplier > .kdo-liste-chevrons {
		padding-block-end: 0.75rem;
	}
}

@media (min-width: 640px) {
	.kdo-pied__resume {
		cursor: default;
	}
}

/* ---- composants/recherche-modale.css ---- */
/*
 * Modale de recherche de produits (overlay du plugin gb-search, TODO §8.12).
 *
 * Le plugin construit lui-même la modale (#edkado-search-overlay, assets/search.js) et la stylise
 * (assets/search.css). Il est partagé avec tailpress, thème de la prod : on ne le modifie pas, on
 * le surcharge ici, sous l'identifiant de la modale (plus fort que ses classes, quel que soit
 * l'ordre des feuilles). Les retouches de contenu (image manquante, compteurs, prix « à partir
 * de … HT », ARIA) sont faites par assets/js/recherche.js.
 *
 * Même langage que la modale « On vous rappelle » (modale.css) : fond navy flouté, carte blanche
 * au rayon du panneau, bouton de fermeture rond ; cartes produit au dessin de carte-produit.css ;
 * « Catégories » en surtitre (en-tete-section.css). Seuil mobile = celui du plugin (768 px), pour
 * que ses règles mobiles et les nôtres basculent ensemble.
 */

#edkado-search-overlay {
	padding: clamp(1rem, 6vh, 4rem) var(--wp--custom--gouttiere);
	background: color-mix(in srgb, var(--wp--preset--color--navy) 55%, transparent);
	backdrop-filter: blur(3px);
	font-family: var(--wp--preset--font-family--texte);

	& .edkado-search-container {
		width: min(100%, 72rem);
		max-width: none;
		max-height: min(82dvh, 46rem);
		border-radius: var(--kdo-panneau-rayon);
		background: var(--wp--preset--color--surface);
		color: var(--wp--preset--color--texte);
		box-shadow: 0 30px 80px color-mix(in srgb, var(--wp--preset--color--navy) 45%, transparent);
		animation: none;
	}

	/* ---------- Champ de recherche : pilule du header, loupe dedans, croix ronde à côté ---------- */

	& .edkado-search-header {
		padding: 1rem 1.25rem;
		border-bottom: 1px solid var(--wp--preset--color--filet);
	}

	& .edkado-search-input-wrap {
		position: relative;
		gap: 0.75rem;
	}

	& .edkado-search-icon {
		position: absolute;
		left: 1.1rem;
		top: 50%;
		translate: 0 -50%;
		width: 1.25rem;
		height: 1.25rem;
		color: var(--wp--preset--color--navy);
		pointer-events: none;
	}

	& .edkado-search-input {
		min-height: 3rem;
		padding: 0.6rem 1.25rem 0.6rem 3rem;
		border: 1px solid transparent;
		border-radius: var(--wp--custom--rayon--pilule);
		background: var(--wp--preset--color--fond-clair);
		color: var(--wp--preset--color--navy);
		font-size: 1.05rem;
		transition: border-color var(--wp--custom--transition), background-color var(--wp--custom--transition), box-shadow var(--wp--custom--transition);

		&::placeholder {
			color: color-mix(in srgb, var(--wp--preset--color--navy) 40%, var(--wp--preset--color--surface));
			opacity: 1;
		}

		/* Le contour de focus global (3 px décalés) est remplacé par le bord vert et un halo. */
		&:focus,
		&:focus-visible {
			outline: none;
			border-color: var(--wp--preset--color--marque);
			background: var(--wp--preset--color--surface);
			box-shadow: 0 0 0 3px var(--wp--preset--color--marque-pale);
		}
	}

	& .edkado-search-close {
		display: grid;
		flex: none;
		place-items: center;
		width: 2.5rem;
		height: 2.5rem;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: var(--wp--preset--color--surface);
		color: var(--wp--preset--color--navy);
		font-size: 1.6rem;
		line-height: 1;
		box-shadow: var(--wp--preset--shadow--carte);
		transition: color var(--wp--custom--transition);

		&:hover,
		&:focus-visible {
			color: var(--wp--preset--color--marque);
		}
	}

	/* Rien à montrer (moins de 2 lettres) : la modale se réduit au champ. Aucune catégorie
	 * (aucun résultat) : pas de colonne vide. */
	& .edkado-search-container:not(:has(.edkado-search-status > *, .edkado-search-results > *)) {
		& .edkado-search-header {
			border-bottom-color: transparent;
		}

		& .edkado-search-body {
			display: none;
		}
	}

	& .edkado-search-sidebar:has(.edkado-search-categories:empty) {
		display: none;
	}

	/* ---------- Colonne des catégories ---------- */

	& .edkado-search-sidebar {
		width: clamp(13rem, 22%, 16rem);
		padding: 1.25rem 1rem 1.25rem 1.25rem;
		border-right: 1px solid var(--wp--preset--color--filet);
		background: var(--wp--preset--color--fond);
		overscroll-behavior: contain;

		/* Surtitre du thème : capitales vertes, filet bicolore. */
		& h3 {
			display: inline-block;
			margin: 0 0 0.75rem 0.5rem;
			padding: 0 0 0.35rem;
			background:
				linear-gradient(var(--wp--preset--color--marque), var(--wp--preset--color--marque)) left bottom / 62% 3px no-repeat,
				linear-gradient(var(--wp--preset--color--filet), var(--wp--preset--color--filet)) left bottom / 75% 3px no-repeat;
			color: var(--wp--preset--color--marque);
			font-family: var(--wp--preset--font-family--titre);
			font-size: 0.8rem;
			font-weight: 800;
			letter-spacing: 0.02em;
			line-height: 1.2;
			text-transform: uppercase;

			&:not(:first-child) {
				margin-top: 1.25rem;
			}
		}

		& li {
			margin: 0 0 0.15rem;
		}

		& a {
			display: flex;
			align-items: baseline;
			justify-content: space-between;
			gap: 0.5rem;
			padding: 0.45rem 0.5rem;
			border-radius: var(--wp--custom--rayon--bouton);
			color: var(--wp--preset--color--navy);
			font-size: 0.875rem;
			font-weight: 600;
			line-height: 1.3;
			text-decoration: none;
			transition: background-color var(--wp--custom--transition), color var(--wp--custom--transition);

			&:hover,
			&:focus-visible {
				background: var(--wp--preset--color--marque-pale);
				color: var(--wp--preset--color--marque);
			}
		}

		/* Nombre de produits : petite pastille (parenthèses retirées par recherche.js). */
		& a span {
			flex: none;
			padding: 0.05rem 0.45rem;
			border-radius: var(--wp--custom--rayon--pilule);
			background: var(--wp--preset--color--surface);
			color: var(--wp--preset--color--texte);
			font-size: 0.72rem;
			font-weight: 700;
			line-height: 1.5;
		}
	}

	/* ---------- Résultats ---------- */

	& .edkado-search-main {
		padding: 1.25rem 1.5rem 1.5rem;
		overscroll-behavior: contain;
	}

	& .edkado-search-status {
		margin-bottom: 1rem;
	}

	& .edkado-search-count {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 0.6rem;
		color: var(--wp--preset--color--texte);
		font-size: 0.85rem;

		& strong {
			color: var(--wp--preset--color--navy);
			font-family: var(--wp--preset--font-family--titre);
			font-size: 1.05rem;
			font-weight: 800;
			letter-spacing: 0.01em;
			text-transform: uppercase;
		}

		& span {
			margin: 0;
			padding: 0.1rem 0.6rem;
			border-radius: var(--wp--custom--rayon--pilule);
			background: var(--wp--preset--color--marque-pale);
			color: var(--wp--preset--color--marque);
			font-weight: 700;
		}
	}

	& .edkado-search-no-results {
		padding: 2.5rem 0;
		color: var(--wp--preset--color--texte);
		font-size: 1rem;

		& strong {
			color: var(--wp--preset--color--navy);
		}
	}

	& .edkado-search-error {
		color: var(--wp--preset--color--rouge);
	}

	/* ---------- Cartes produit (dessin de carte-produit.css) ---------- */

	& .edkado-search-grid {
		grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr));
		gap: 1rem;
	}

	& .edkado-search-product {
		border: 1px solid var(--wp--preset--color--filet);
		border-radius: var(--wp--custom--rayon--carte);
		background: var(--wp--preset--color--surface);
		color: var(--wp--preset--color--navy);
		font-weight: 400;
		transition: box-shadow var(--wp--custom--transition), border-color var(--wp--custom--transition);

		&:hover,
		&:focus-visible {
			border-color: var(--wp--preset--color--marque);
			box-shadow: var(--wp--preset--shadow--survol);
		}
	}

	/* Visuel carré, fond blanc, produit entier (contain). Le texte de remplacement reste lu par
	 * les lecteurs d'écran mais ne s'affiche jamais en gros dans la case (image en échec). */
	& .edkado-search-product-img {
		padding: 0.75rem;
		background: var(--wp--preset--color--surface);

		& img {
			width: 100%;
			height: 100%;
			padding: 0;
			object-fit: contain;
			color: transparent;
			font-size: 0;
			transition: scale var(--wp--custom--transition);
		}
	}

	& .edkado-search-product:hover .edkado-search-product-img img {
		scale: 1.04;
	}

	/* Image absente de l'index (.edkado-search-no-img) ou en échec (classe posée par recherche.js) :
	 * fond neutre et cadeau au trait, à la place de l'icône cassée et du texte de remplacement. */
	& .edkado-search-product-img:is(.kdo-recherche-sans-image, :has(> .edkado-search-no-img)) {
		background: var(--wp--preset--color--fond-clair);

		&::before {
			content: "";
			width: 34%;
			aspect-ratio: 1;
			background: color-mix(in srgb, var(--wp--preset--color--marque) 35%, var(--wp--preset--color--fond-clair));
			mask: url("../icons/cadeau.svg") center / contain no-repeat;
		}

		& img {
			position: absolute;
			inset: 0;
			opacity: 0;
		}

		& .edkado-search-no-img {
			display: none;
		}
	}

	& .edkado-badge-oos {
		top: 0.6rem;
		right: 0.6rem;
		padding: 0.15rem 0.55rem;
		border-radius: var(--wp--custom--rayon--pilule);
		background: var(--wp--preset--color--fond-clair);
		color: var(--wp--preset--color--navy);
		font-size: 0.68rem;
		font-weight: 700;
	}

	& .edkado-search-product-info {
		display: flex;
		flex: 1;
		flex-direction: column;
		gap: 0.35rem;
		padding: 0.75rem 0.85rem 0.9rem;
		border-top: 1px solid var(--wp--preset--color--filet);

		/* Nom : deux lignes au plus, place de deux lignes réservée (prix alignés d'une carte à l'autre). */
		& h4 {
			min-height: calc(2em * 1.3);
			margin: 0;
			color: var(--wp--preset--color--navy);
			font-family: var(--wp--preset--font-family--titre);
			font-size: 0.9rem;
			font-weight: 700;
			line-height: 1.3;
			transition: color var(--wp--custom--transition);
		}

		/* Terme cherché : surligné en vert pâle, sans le jaune vif du plugin. */
		& h4 mark {
			padding: 0 0.08em;
			border-radius: 3px;
			background: var(--wp--preset--color--marque-pale);
			color: inherit;
			box-decoration-break: clone;
			-webkit-box-decoration-break: clone;
		}
	}

	& .edkado-search-product:hover h4 {
		color: var(--wp--preset--color--marque);
	}

	/* Prix : « à partir de 12,34 € HT » comme les cartes du catalogue (réécrit par recherche.js) ;
	 * sans le script, le montant du plugin, au même style. */
	& .edkado-search-product-price {
		margin-top: auto;
		color: var(--wp--preset--color--texte);
		font-size: 0.8rem;
		font-weight: 400;

		& :is(strong, .edkado-price) {
			color: var(--wp--preset--color--marque);
			font-size: 1.05rem;
			font-weight: 800;
			white-space: nowrap;
		}

		& .edkado-price-sale {
			color: var(--wp--preset--color--rouge);
		}

		& abbr {
			text-decoration: none;
		}
	}

	/* ---------- « Voir tous les résultats » : bouton vert du thème (bouton.css) ---------- */

	& .edkado-search-see-all {
		margin-top: 1.5rem;
	}

	/* Sans résultat, le plugin laisse le lien de la recherche précédente (search.js, renderResults
	 * sort avant de le vider) : masqué ici. */
	& .edkado-search-main:not(:has(.edkado-search-results > *)) .edkado-search-see-all {
		display: none;
	}

	& .edkado-search-see-all-link {
		display: inline-flex;
		align-items: center;
		gap: 0.6em;
		min-height: 44px;
		padding: 0.7rem 1.4rem;
		border: 1px solid var(--wp--preset--color--action);
		border-radius: var(--wp--custom--rayon--bouton);
		background: var(--wp--preset--color--action);
		color: var(--wp--preset--color--surface);
		font-family: var(--wp--preset--font-family--titre);
		font-size: 0.875rem;
		font-weight: 600;
		line-height: 1.2;
		letter-spacing: 0.03em;
		text-transform: uppercase;
		transition: background-color var(--wp--custom--transition), color var(--wp--custom--transition);

		&::after {
			content: "→";
			font-size: 1.1em;
			line-height: 1;
		}

		&:hover,
		&:focus-visible {
			background: var(--wp--preset--color--surface);
			color: var(--wp--preset--color--action);
		}
	}

	/* ---------- Mobile (seuil du plugin) : plein écran, catégories en bande défilante ---------- */

	@media (max-width: 768px) {
		padding: 0;

		& .edkado-search-container {
			width: 100%;
			height: 100dvh;
			max-height: 100dvh;
			border-radius: 0;
		}

		& .edkado-search-header {
			padding: 0.75rem var(--wp--custom--gouttiere);
		}

		& .edkado-search-input {
			min-height: 2.75rem;
			padding-left: 2.75rem;
			font-size: 1rem; /* 16 px : pas de zoom automatique d'iOS au focus */
		}

		& .edkado-search-icon {
			left: 1rem;
		}

		& .edkado-search-close {
			width: 2.25rem;
			height: 2.25rem;
		}

		& .edkado-search-sidebar {
			width: auto;
			max-height: none;
			padding: 0.7rem 0 0.75rem;
			border-right: 0;
			border-bottom: 1px solid var(--wp--preset--color--filet);
			overflow: visible;

			& h3 {
				margin: 0 0 0.5rem var(--wp--custom--gouttiere);
				font-size: 0.72rem;

				&:not(:first-child) {
					margin-top: 0.6rem;
				}
			}

			/* Une seule ligne de pastilles, qui défile au doigt d'un bord à l'autre. */
			& ul {
				display: flex;
				flex-wrap: nowrap;
				gap: 0.4rem;
				padding: 0 var(--wp--custom--gouttiere) 0.15rem;
				overflow-x: auto;
				overscroll-behavior-x: contain;
				scroll-padding-inline: var(--wp--custom--gouttiere);
				scrollbar-width: none;

				&::-webkit-scrollbar {
					display: none;
				}
			}

			& li {
				flex: none;
				margin: 0;
			}

			& a {
				padding: 0.35rem 0.4rem 0.35rem 0.8rem;
				border: 1px solid var(--wp--preset--color--filet);
				border-radius: var(--wp--custom--rayon--pilule);
				background: var(--wp--preset--color--surface);
				font-size: 0.8rem;
				white-space: nowrap;
			}

			& a span {
				background: var(--wp--preset--color--fond-clair);
			}
		}

		& .edkado-search-main {
			padding: 0.9rem var(--wp--custom--gouttiere) 1.25rem;
		}

		& .edkado-search-status {
			margin-bottom: 0.75rem;
		}

		& .edkado-search-grid {
			grid-template-columns: repeat(2, minmax(0, 1fr));
			gap: 0.75rem;
		}

		& .edkado-search-product-img {
			padding: 0.5rem;
		}

		& .edkado-search-product-info {
			padding: 0.6rem 0.7rem 0.75rem;

			& h4 {
				font-size: 0.82rem;
			}
		}

		& .edkado-search-product-price :is(strong, .edkado-price) {
			font-size: 0.95rem;
		}

		& .edkado-search-see-all {
			margin-top: 1.25rem;
		}

		& .edkado-search-see-all-link {
			width: 100%;
		}
	}
}

/* Ouverture : fondu et légère montée (animations de modale.css), sauf si le visiteur demande
 * moins d'animations ; le plugin anime sans tenir compte de ce réglage. */
@media (prefers-reduced-motion: no-preference) {
	#edkado-search-overlay.is-open {
		animation: kdo-modale-fond 220ms ease-out;

		& .edkado-search-container {
			animation: kdo-modale-entree 220ms ease-out;
		}
	}
}

@media (prefers-reduced-motion: reduce) {
	#edkado-search-overlay {
		& .edkado-search-input,
		& .edkado-search-product,
		& .edkado-search-product-img img,
		& .edkado-search-see-all-link {
			transition: none;
		}

		& .edkado-search-product:hover .edkado-search-product-img img {
			scale: none;
		}
	}
}

/* ---- composants/sections.css ---- */
/*
 * Sections de contenu (TODO.md §3.16 à 3.25) : cartes statistiques, rangée
 * d'arguments, bandeau de réassurance, étapes, bandeau de logos, FAQ, cartes
 * d'articles, hero. Vocabulaire des maquettes, couleurs du site actuel.
 * Les styles de blocs Gutenberg équivalents (is-style-kdo-*) reprendront ces règles.
 */

/* ---------- Carte générique ---------- */
.kdo-carte {
	padding: var(--wp--preset--spacing--m);
	background: var(--wp--preset--color--surface);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--filet) 60%, transparent);
	border-radius: var(--wp--custom--rayon--carte);
	box-shadow: var(--wp--preset--shadow--carte);
	transition: translate var(--wp--custom--transition), box-shadow var(--wp--custom--transition);
}

li.kdo-carte:hover {
	translate: 0 -3px;
	box-shadow: var(--wp--preset--shadow--survol);
}

/* ---------- Bandeau de réassurance (pilule vert pâle) ---------- */
.kdo-bandeau {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	max-width: 56rem;
	margin: var(--wp--preset--spacing--l) auto 0;
	padding: 0.9rem 1.75rem;
	border-radius: var(--wp--custom--rayon--pilule);
	background: var(--wp--preset--color--marque-pale);
	font-weight: 600;

	& strong {
		color: var(--wp--preset--color--marque);
		text-transform: uppercase;
	}

	& .kdo-icone {
		width: 2.5rem;
		height: 2.5rem;
	}

	@media (max-width: 639px) {
		border-radius: var(--wp--custom--rayon--carte);
		text-align: left;
	}
}

.kdo-bandeau--fort {
	max-width: 76rem;
	gap: 1.5rem;
	padding: 1.25rem 3rem;
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--titre);
	font-size: clamp(1.05rem, 0.7rem + 1.15vw, 1.85rem);
	font-weight: 600;

	& strong {
		font-weight: 800;
	}

	& .kdo-icone {
		width: clamp(3rem, 2rem + 2vw, 4.75rem);
		height: clamp(3rem, 2rem + 2vw, 4.75rem);
	}
}

/* ---------- Rangée d'arguments ---------- */
.kdo-arguments {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem 1rem;
	margin: 0;
	padding: 0;
	list-style: none;

	@media (min-width: 1024px) {
		grid-template-columns: repeat(var(--kdo-colonnes, 5), minmax(0, 1fr));
		gap: 0;
	}
}

.kdo-argument {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	padding-inline: 1rem;
	text-align: center;
	font-size: 0.85rem;

	& .kdo-icone {
		width: 2.75rem;
		height: 2.75rem;
	}

	& strong {
		color: var(--wp--preset--color--navy);
		font-family: var(--wp--preset--font-family--titre);
		font-weight: 700;
		text-transform: uppercase;
	}

	@media (min-width: 1024px) {
		& + .kdo-argument {
			border-left: 1px solid var(--wp--preset--color--filet);
		}
	}
}

/* Variante hero : plus petite, alignée sur le texte du hero. */
.kdo-arguments--hero .kdo-argument {
	font-size: 0.8rem;
	line-height: 1.3;

	& .kdo-icone {
		width: 2.25rem;
		height: 2.25rem;
	}

	&:first-child {
		padding-left: 0;
	}
}

/* Variante compacte : icône à gauche, texte à droite. */
.kdo-arguments--compacts .kdo-argument {
	flex-direction: row;
	align-items: center;
	text-align: left;
	padding-inline: 0.75rem;

	& .kdo-icone {
		width: 2.25rem;
		height: 2.25rem;
	}

	& span {
		line-height: 1.3;
	}
}

/* ---------- Étapes (processus numéroté) ---------- */
.kdo-etapes {
	counter-reset: etape;
	display: grid;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;

	@media (min-width: 1024px) {
		grid-template-columns: repeat(var(--kdo-colonnes, 5), minmax(0, 1fr));
	}
}

.kdo-etape {
	position: relative;
	counter-increment: etape;
	display: grid;
	grid-template-columns: 3rem 1fr;
	gap: 0 1rem;
	align-items: start;

	&::before {
		content: counter(etape);
		grid-row: span 2;
		display: grid;
		place-items: center;
		width: 3rem;
		height: 3rem;
		border-radius: 50%;
		background: var(--wp--preset--color--action);
		color: var(--wp--preset--color--surface);
		font-family: var(--wp--preset--font-family--titre);
		font-size: 1.15rem;
		font-weight: 700;
	}

	& strong {
		display: block;
		color: var(--wp--preset--color--navy);
		font-family: var(--wp--preset--font-family--titre);
		font-weight: 700;
		text-transform: uppercase;
	}

	& p {
		margin: 0.25rem 0 0;
		font-size: 0.9rem;
	}

	@media (min-width: 1024px) {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;

		&::before {
			grid-row: auto;
			margin-bottom: 0.75rem;
			position: relative;
			z-index: 1;
		}

		/* Ligne qui relie les numéros. */
		& + .kdo-etape::after {
			content: "";
			position: absolute;
			top: 1.5rem;
			right: 50%;
			width: 100%;
			height: 2px;
			background: var(--wp--preset--color--marque-pale);
		}
	}
}

/* ---------- FAQ en accordéon (<details>) ---------- */
.kdo-faq {
	max-width: var(--wp--style--global--content-size);
	margin-inline: auto;

	& details {
		border-bottom: 1px solid var(--wp--preset--color--filet);
	}

	& summary {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 1rem;
		padding: 1.1rem 0;
		color: var(--wp--preset--color--navy);
		font-weight: 700;
		cursor: pointer;
		list-style: none;

		&::-webkit-details-marker {
			display: none;
		}

		&::after {
			content: "+";
			flex: none;
			display: grid;
			place-items: center;
			width: 1.75rem;
			height: 1.75rem;
			border-radius: 50%;
			background: var(--wp--preset--color--marque-pale);
			color: var(--wp--preset--color--marque);
			font-size: 1.2rem;
		}
	}

	& details[open] summary::after {
		content: "−";
	}

	/* Question ouverte : filet jaune d'accent à gauche (24/11/2026). */
	& details {
		transition: padding var(--wp--custom--transition);
	}

	& details[open] {
		padding-left: 1rem;
		box-shadow: inset 3px 0 0 var(--wp--preset--color--accent);
	}

	& details > :not(summary) {
		margin: 0 0 1.1rem;
	}
}

/* ---------- Carte article de blog ---------- */
.kdo-carte-article {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--filet);
	border-radius: var(--wp--custom--rayon--carte);
	transition: box-shadow var(--wp--custom--transition);

	&:hover {
		box-shadow: var(--wp--preset--shadow--survol);
	}

	& img {
		width: 100%;
		aspect-ratio: 16 / 10;
		object-fit: cover;
	}
}

.kdo-carte-article__corps {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1rem 1.1rem 1.25rem;

	/* Date en pastille jaune d'accent, texte navy (24/11/2026). */
	& time {
		align-self: flex-start;
		padding: 0.2rem 0.65rem;
		border-radius: var(--wp--custom--rayon--pilule);
		background: var(--wp--preset--color--accent);
		color: var(--wp--preset--color--navy);
		font-family: var(--wp--preset--font-family--titre);
		font-size: 0.72rem;
		font-weight: 700;
		text-transform: uppercase;
	}

	& h3 {
		margin: 0;
		font-size: 1rem;
		line-height: 1.35;

		& a {
			color: var(--wp--preset--color--navy);
			text-decoration: none;

			&::after {
				content: "";
				position: absolute;
				inset: 0;
			}
		}
	}

	& p {
		margin: 0;
		font-size: 0.9rem;
	}
}

/* ---------- Décors de section (maquette « REALISATIONS ») ----------
 * Arc de cercle vert en haut à gauche, trame de points en haut à droite. */
.kdo-section--deco {
	position: relative;
	overflow: hidden;
	isolation: isolate;

	&::before,
	&::after {
		content: "";
		position: absolute;
		z-index: -1;
		pointer-events: none;
	}

	&::before {
		left: -13rem;
		top: -10rem;
		width: 22rem;
		height: 22rem;
		border: 2px solid color-mix(in srgb, var(--wp--preset--color--marque) 60%, transparent);
		border-radius: 50%;
	}

	&::after {
		right: 3%;
		top: 2.5rem;
		width: 11rem;
		height: 8rem;
		background-image: radial-gradient(color-mix(in srgb, var(--wp--preset--color--marque) 40%, transparent) 1.6px, transparent 2px);
		background-size: 16px 16px;
	}
}

/* ---- composants/woocommerce.css ---- */
/*
 * WooCommerce (TODO §3.5, §6.4) : ce qui remplace la feuille générale de WooCommerce sur le
 * panier, le tunnel de commande et le compte (elle n'y est plus chargée, inc/woocommerce.php) et
 * habille les éléments natifs que les gabarits du thème laissent à WooCommerce : notices, lignes
 * de champs (.form-row, classes .kdo-champ ajoutées par woocommerce_form_field_args), listes de
 * sélection (select2/selectWoo), indicateur de mot de passe, voile de chargement, tableaux du
 * détail d'une commande et des adresses. Les pages elles-mêmes : blocs/page-commande.css et
 * blocs/page-compte.css.
 */

/* ---------- Notices (TODO §3.5) ---------- */
.woocommerce-notices-wrapper:empty {
	display: none;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1rem;
	margin: 0 0 1.25rem;
	padding: 0.85rem 1.1rem 0.85rem 1.3rem;
	border: 0;
	border-left: 4px solid var(--wp--preset--color--marque);
	border-radius: 0 var(--wp--custom--rayon--bouton) var(--wp--custom--rayon--bouton) 0;
	background: var(--wp--preset--color--marque-pale);
	color: var(--wp--preset--color--navy);
	font-size: 0.86rem;
	line-height: 1.5;
	list-style: none;

	&::before {
		content: none;
	}

	& a:not(.button):not(.kdo-bouton) {
		color: var(--wp--preset--color--marque);
		font-weight: 700;
	}

	& .button,
	& .wc-forward {
		order: 2;
		margin-left: auto;
		color: var(--wp--preset--color--marque);
		font-weight: 700;
		text-decoration: underline;
		text-underline-offset: 0.2em;
	}
}

.woocommerce-info {
	border-left-color: var(--wp--preset--color--navy);
	background: var(--wp--preset--color--fond);
}

.woocommerce-error {
	display: block;
	border-left-color: var(--wp--preset--color--rouge);
	background: color-mix(in srgb, var(--wp--preset--color--rouge) 8%, var(--wp--preset--color--surface));

	& li {
		margin: 0;

		& + li {
			margin-top: 0.3rem;
		}
	}
}

/* ---------- Champs natifs (woocommerce_form_field) ---------- */
.woocommerce form .form-row,
.woocommerce-page form .form-row {
	margin: 0;
	padding: 0;
}

.woocommerce .form-row .required,
.kdo-champ .required {
	border: 0;
	color: var(--wp--preset--color--rouge);
	text-decoration: none;
}

.woocommerce .form-row .optional {
	font-weight: 400;
}

.woocommerce-input-wrapper {
	display: block;
}

.woocommerce .form-row.woocommerce-invalid :is(input, select, .select2-selection) {
	border-color: var(--wp--preset--color--rouge);
}

.woocommerce .form-row.woocommerce-validated :is(input, select) {
	border-color: color-mix(in srgb, var(--wp--preset--color--marque) 60%, var(--wp--preset--color--filet));
}

.woocommerce .form-row .description {
	margin: 0.3rem 0 0;
	font-size: 0.72rem;
}

/* Cases à cocher natives (CGV, « livrer à une autre adresse », se souvenir de moi). */
.woocommerce-form__label-for-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	font-size: 0.8rem;
	line-height: 1.45;
	cursor: pointer;

	& input[type="checkbox"] {
		flex: none;
		width: 1.1rem;
		height: 1.1rem;
		margin-top: 0.12rem;
		accent-color: var(--wp--preset--color--marque);
	}

	& a {
		color: var(--wp--preset--color--marque);
	}
}

/* Listes de pays (select2 / selectWoo de WooCommerce) : même allure que les champs du thème. */
.select2-container {
	width: 100% !important; /* select2 pose une largeur en ligne calculée au chargement */
	font: inherit;

	& .select2-selection--single {
		display: flex;
		align-items: center;
		height: auto;
		min-height: 44px;
		border: 1px solid var(--wp--preset--color--filet);
		border-radius: var(--wp--custom--rayon--bouton);
		background: var(--wp--preset--color--fond);

		& .select2-selection__rendered {
			padding: 0.55rem 2rem 0.55rem 0.8rem;
			color: var(--wp--preset--color--navy);
			font-size: 0.88rem;
			line-height: 1.4;
		}

		& .select2-selection__arrow {
			top: 50%;
			height: 26px;
			translate: 0 -50%;
		}
	}

	&.select2-container--focus .select2-selection--single,
	&.select2-container--open .select2-selection--single {
		border-color: var(--wp--preset--color--marque);
		box-shadow: 0 0 0 3px var(--wp--preset--color--marque-pale);
	}
}

.select2-dropdown {
	border-color: var(--wp--preset--color--marque);
	border-radius: var(--wp--custom--rayon--bouton);
	font-size: 0.86rem;

	& .select2-results__option--highlighted[aria-selected],
	& .select2-results__option--highlighted[data-selected] {
		background: var(--wp--preset--color--marque);
	}
}

/* Indicateur de robustesse du mot de passe. */
.woocommerce-password-strength {
	margin-top: 0.35rem;
	padding: 0.3rem 0.6rem;
	border-radius: var(--wp--custom--rayon--bouton);
	font-size: 0.72rem;
	font-weight: 700;

	&.short,
	&.bad {
		background: color-mix(in srgb, var(--wp--preset--color--rouge) 12%, var(--wp--preset--color--surface));
		color: var(--wp--preset--color--rouge);
	}

	&.good,
	&.strong {
		background: var(--wp--preset--color--marque-pale);
		color: var(--wp--preset--color--marque);
	}
}

.woocommerce-password-hint {
	display: block;
	margin-top: 0.3rem;
	font-size: 0.72rem;
}

/* Bouton « afficher le mot de passe » ajouté par WooCommerce dans les champs. */
.password-input {
	position: relative;
	display: block;

	& input {
		padding-right: 2.75rem;
	}
}

.show-password-input {
	position: absolute;
	top: 50%;
	right: 0.5rem;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--wp--preset--color--navy);
	cursor: pointer;
	translate: 0 -50%;

	&::after {
		content: "👁";
		font-size: 1rem;
		opacity: 0.6;
	}

	&.display-password::after {
		opacity: 1;
	}
}

/* Voile de chargement (blockUI) posé par les scripts de WooCommerce pendant un appel. */
.blockUI.blockOverlay {
	border-radius: var(--wp--custom--rayon--carte);
}

/* Envoi en cours (dépôt de logo, boutons du panier : classe posée par le JS du plugin). */
.bouton-vert.loading,
.kdo-depot.loading,
.kdo-cp-envoi.loading,
.kdo-pa-logo__remplacer.loading {
	opacity: 0.6;
	pointer-events: none;
	cursor: progress;
}

/* Texte réservé aux lecteurs d'écran (classe de WooCommerce). */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* Texte de confidentialité de WooCommerce (inscription, tunnel de commande). */
.woocommerce-privacy-policy-text p {
	margin: 0 0 1.1rem;
	font-size: 0.76rem;
	line-height: 1.5;

	& a {
		color: var(--wp--preset--color--marque);
	}
}
