/*
Theme Name: Ollie Constellations
Theme URI: https://www.constellations-asbl.org
Description: Thème enfant d'Ollie pour Constellations ASBL. Design tokens verrouillés en contraste WCAG 2.2 AA, typographie à 18px de base, patterns éditoriaux fermés.
Author: Constellations ASBL
Template: ollie
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ollie-constellations
Tags: accessibility-ready, full-site-editing, block-patterns, translation-ready
*/

/*
   La totalité du style est pilotée par theme.json.
   Ce fichier ne contient que ce que theme.json ne sait pas exprimer.
   Ne pas y ajouter de couleurs ou de tailles en dur : elles doivent
   rester dans les tokens pour être modifiables par l'éditeur de site.
*/

/* --------------------------------------------------------------
   1. Accessibilité : socle non négociable
   -------------------------------------------------------------- */

/* Lien d'évitement. Visible dès qu'il reçoit le focus. */
.skip-link {
	position: absolute;
	top: -100px;
	left: var(--wp--preset--spacing--30);
	z-index: 999999;
	padding: 0.75rem 1.25rem;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	border: 2px solid var(--wp--preset--color--primary);
	border-radius: 4px;
	font-weight: 600;
	text-decoration: none;
	transition: top 0.15s ease-in-out;
}

.skip-link:focus {
	top: var(--wp--preset--spacing--30);
}

/*
   Focus visible sur tout élément interactif.
   Double anneau : fonctionne sur fond clair comme sur fond sombre.
   WCAG 2.2 ajoute le critère 2.4.11 (Focus Not Obscured) : ne jamais
   masquer cet indicateur avec un élément collant.
*/
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--wp--preset--color--focus);
	outline-offset: 2px;
	border-radius: 2px;
}

/* Ne jamais supprimer l'outline sans le remplacer. */
:where(a, button, input, select, textarea):focus:not(:focus-visible) {
	outline: none;
}

/*
   Cible tactile de 24 x 24 px minimum.
   WCAG 2.2 critère 2.5.8 (Target Size, niveau AA).
*/
:where(.wp-block-button__link, .wp-block-navigation-item__content, button) {
	min-height: 24px;
	min-width: 24px;
}

/* Contenu réservé aux lecteurs d'écran. */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	position: static !important;
	width: auto;
	height: auto;
	clip-path: none;
	white-space: normal;
}

/* Respect de la préférence système de réduction des animations. */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* Mode contraste élevé : renforcer les bordures plutôt que les couleurs. */
@media (prefers-contrast: more) {
	:where(.wp-block-button__link, .c-carte-maison, .c-encart) {
		border-width: 2px;
	}
}

/* --------------------------------------------------------------
   2. Lisibilité du texte courant
   -------------------------------------------------------------- */

/*
   Largeur de ligne limitée. WCAG 1.4.8 recommande 80 caractères
   maximum. Au delà, l'œil perd la ligne en fin de paragraphe,
   ce qui pénalise d'abord les lecteurs dyslexiques.
*/
:where(.entry-content) p,
:where(.entry-content) li {
	max-width: 68ch;
}

/*
   Césure désactivée : elle dégrade la lecture pour les personnes
   dyslexiques et pour les utilisateurs de synthèse vocale.
*/
body {
	hyphens: none;
	text-wrap: pretty;
}

/* Éviter les titres orphelins en fin de ligne. */
:where(h1, h2, h3, h4) {
	text-wrap: balance;
}

/* --------------------------------------------------------------
   3. Contenus longs : jamais de débordement horizontal
   -------------------------------------------------------------- */

:where(.wp-block-table, .wp-block-code, pre) {
	overflow-x: auto;
	max-width: 100%;
}

/* Une zone qui défile en largeur garde chez elle ses éléments masqués pour
   les lecteurs d'écran. La mention « (nouvelle fenêtre) » des liens sortants
   est en position absolue : sans ancêtre positionné, elle se plaçait par
   rapport à la page et lui donnait la largeur de toute la bande des
   partenaires, d'où une page qui glissait de droite à gauche sur téléphone
   (constat de Raphaël, 26 novembre 2026). */
:where(.wp-block-table, .wp-block-code, pre, .c-carrousel__piste, .c-tableau-chiffres) {
	position: relative;
}

/* Ceinture en plus : la page elle-même ne défile jamais en largeur. */
html {
	overflow-x: clip;
}

:where(img, video, iframe) {
	max-width: 100%;
	height: auto;
}

/* --------------------------------------------------------------
   4. Composants propres à Constellations
   -------------------------------------------------------------- */

/*
   Badge de statut d'une maison.
   L'information n'est jamais portée par la seule couleur :
   le texte du badge la dit explicitement. WCAG 1.4.1.
*/
.c-statut {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.25em 0.75em;
	border-radius: 999px;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	line-height: 1.4;
	border: 1px solid transparent;
}

.c-statut--ouverte {
	background: var(--wp--preset--color--statut-ouverte-fond);
	color: var(--wp--preset--color--statut-ouverte-texte);
	border-color: var(--wp--preset--color--statut-ouverte-texte);
}

.c-statut--projet {
	background: var(--wp--preset--color--statut-projet-fond);
	color: var(--wp--preset--color--statut-projet-texte);
	border-color: var(--wp--preset--color--statut-projet-texte);
}

/*
   Filtres des maisons.
   Ce sont des liens vers de vraies URLs, pas des boutons JavaScript.
   Ils doivent fonctionner sans JS.
*/
.c-filtres {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--20);
	padding: 0;
	margin: 0 0 var(--wp--preset--spacing--40);
	list-style: none;
}

.c-filtres a {
	display: inline-block;
	padding: 0.5em 1em;
	border: 1px solid var(--wp--preset--color--contrast-3);
	border-radius: 999px;
	text-decoration: none;
	color: var(--wp--preset--color--contrast);
}

.c-filtres a:hover {
	border-color: var(--wp--preset--color--primary);
	background: var(--wp--preset--color--base-2);
}

/* Filtre actif : marqué par la couleur ET par un soulignement. */
.c-filtres a[aria-current="page"] {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
	border-color: var(--wp--preset--color--primary);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Encart chiffres clés. */
.c-chiffres {
	display: grid;
	gap: var(--wp--preset--spacing--30);
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.c-chiffre__valeur {
	display: block;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--xx-large);
	line-height: 1.1;
	color: var(--wp--preset--color--primary);
}

.c-chiffre__libelle {
	display: block;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--contrast-2);
}

/*
   Carte des maisons.
   La liste textuelle qui l'accompagne n'est jamais masquée :
   elle est la version accessible de la carte, pas un repli.
*/
.c-carte__liste {
	margin-top: var(--wp--preset--spacing--40);
}

/*
   Façade vidéo. Remplace l'iframe YouTube bloquée par le bandeau
   cookies sur le site actuel. Le bouton est un vrai bouton.
*/
.c-video-facade {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
	padding: 0;
	cursor: pointer;
	background-size: cover;
	background-position: center;
}

.c-video-facade__label {
	position: absolute;
	inset-inline-start: 50%;
	inset-block-start: 50%;
	transform: translate(-50%, -50%);
	padding: 0.75em 1.5em;
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	border-radius: 4px;
	font-weight: 600;
}

/* --------------------------------------------------------------
   5. Impression
   -------------------------------------------------------------- */

@media print {
	.skip-link,
	.wp-block-navigation,
	.c-filtres,
	.c-video-facade {
		display: none !important;
	}

	/* Expliciter les URLs des liens à l'impression. */
	.entry-content a[href^="http"]::after {
		content: " (" attr(href) ")";
		font-size: 0.85em;
		word-break: break-all;
	}
}

/* --------------------------------------------------------------
   6. Chantier éditorial
   -------------------------------------------------------------- */

/*
   Paragraphe « À compléter » : information manquante, à fournir
   avant publication. Visible en front pour ne pas être oublié.
   Retirer ces paragraphes est la dernière étape avant mise en ligne.
*/
.c-a-completer {
	padding: 0.75em 1em;
	border-left: 4px solid var(--wp--preset--color--statut-projet-texte);
	background: var(--wp--preset--color--statut-projet-fond);
	color: var(--wp--preset--color--statut-projet-texte);
	font-size: var(--wp--preset--font-size--small);
}

/* Chapeau d'une fiche : plus grand, plus aéré, jamais en gras. */
.c-chapeau {
	color: var(--wp--preset--color--contrast-2);
	line-height: 1.5;
	max-width: 60ch;
}

/* --------------------------------------------------------------
   7. Fiche maison (templates/single-maison.html)
   -------------------------------------------------------------- */

.c-fiche {
	padding-top: var(--wp--preset--spacing--50);
	padding-bottom: var(--wp--preset--spacing--50);
}

.c-fiche__entete > * + * {
	margin-top: var(--wp--preset--spacing--20);
}

.c-fiche__statut {
	margin-bottom: 0;
}

/* Rang et places, côte à côte. Le séparateur est une bordure, pas un
   caractère : rien à lire à voix haute entre les deux. */
.c-fiche__meta {
	gap: var(--wp--preset--spacing--20);
	color: var(--wp--preset--color--contrast-2);
}

.c-fiche__meta p {
	margin: 0;
}

.c-fiche__meta p + p {
	padding-left: var(--wp--preset--spacing--20);
	border-left: 1px solid var(--wp--preset--color--contrast-3);
}

.c-fiche__image {
	margin-top: var(--wp--preset--spacing--40);
	margin-bottom: var(--wp--preset--spacing--40);
}

.c-fiche__infos {
	margin-top: var(--wp--preset--spacing--50);
	padding: var(--wp--preset--spacing--30);
	background: var(--wp--preset--color--base-2);
	border: 1px solid var(--wp--preset--color--contrast-3);
	border-radius: 4px;
}

.c-fiche__infos h2 {
	margin-top: 0;
}

/*
   Liste libellé + valeur. Sans puce visible, mais avec un ::before
   contenant une espace de largeur nulle : sans lui, VoiceOver cesse
   d'annoncer une liste dont list-style vaut none.
*/
.c-infos {
	display: grid;
	gap: var(--wp--preset--spacing--20);
	margin: 0;
	padding: 0;
	list-style: none;
}

.c-infos li::before {
	content: "\200B";
	position: absolute;
}

.c-infos__libelle {
	display: block;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	color: var(--wp--preset--color--contrast-2);
}

/* --------------------------------------------------------------
   8. Archives des maisons (patterns/liste-maisons.php)
   -------------------------------------------------------------- */

.c-archive-maisons {
	padding-top: var(--wp--preset--spacing--50);
	padding-bottom: var(--wp--preset--spacing--50);
}

.c-liste__intro {
	max-width: 68ch;
}

/* Barre de filtres : deux groupes de liens, puis le compte. */
.c-filtres-maisons {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--30) var(--wp--preset--spacing--50);
	align-items: flex-start;
	margin-top: var(--wp--preset--spacing--40);
	padding: var(--wp--preset--spacing--30);
	background: var(--wp--preset--color--base-2);
	border-radius: 4px;
}

.c-filtres__libelle {
	display: block;
	margin-bottom: var(--wp--preset--spacing--10);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	color: var(--wp--preset--color--contrast-2);
}

.c-filtres-maisons .c-filtres {
	margin-bottom: 0;
}

.c-filtres__resultat {
	flex-basis: 100%;
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--contrast-2);
}

/* Grille de cartes : colonnes de 17rem minimum, autant que la largeur
   le permet. Une seule colonne sur téléphone, sans media query. */
.c-liste {
	margin-top: var(--wp--preset--spacing--40);
}

.c-liste__grille {
	gap: var(--wp--preset--spacing--40) var(--wp--preset--spacing--30);
}

.c-carte-maison {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--10);
	height: 100%;
	padding: var(--wp--preset--spacing--30);
	border: 1px solid var(--wp--preset--color--contrast-3);
	border-radius: 4px;
	background: var(--wp--preset--color--base);
}

.c-carte-maison > * {
	margin: 0;
}

.c-carte-maison__image {
	margin-bottom: var(--wp--preset--spacing--10);
}

.c-carte-maison__image img {
	border-radius: 2px;
}

.c-carte-maison__titre {
	font-size: var(--wp--preset--font-size--large);
	margin-top: 0;
}

.c-carte-maison__titre a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

.c-carte-maison__titre a:hover {
	text-decoration: underline;
}

/* Le focus reste sur le lien, pas sur la carte : une carte n'est pas
   un bouton. */
.c-carte-maison__titre a:focus-visible {
	outline: 3px solid var(--wp--preset--color--focus);
	outline-offset: 2px;
}

.c-carte-maison__lieu {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--contrast-2);
}

.c-carte-maison__resume {
	font-size: var(--wp--preset--font-size--small);
}

.c-carte-maison__resume p {
	margin: 0;
}

/* --------------------------------------------------------------
   9. Patterns : chiffres clés, appel au don, carte des maisons
   -------------------------------------------------------------- */

/* Chiffres clés. Liste sans puce ; le ::before à espace de largeur
   nulle conserve la sémantique de liste sous VoiceOver. */
.c-chiffres-encart {
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--30);
	background: var(--wp--preset--color--base-2);
	border-radius: 4px;
}

.c-chiffres-encart h2 {
	margin-top: 0;
}

ul.c-chiffres {
	margin: 0;
	padding: 0;
	list-style: none;
}

.c-chiffres li {
	position: relative;
	margin: 0;
	padding: 0;
}

.c-chiffres li::before {
	content: "\200B";
	position: absolute;
}

.c-chiffres__note {
	margin-top: var(--wp--preset--spacing--30);
	margin-bottom: 0;
	color: var(--wp--preset--color--contrast-2);
}

/* Appel au don. L'ambre est réservé à cet usage. */
.c-appel-don {
	margin-top: var(--wp--preset--spacing--50);
	padding: var(--wp--preset--spacing--30);
	border-left: 4px solid var(--wp--preset--color--secondary);
	background: var(--wp--preset--color--statut-projet-fond);
	border-radius: 0 4px 4px 0;
}

.c-appel-don h2 {
	margin-top: 0;
}

.c-appel-don p {
	max-width: 60ch;
}

.c-appel-don__montant {
	font-size: var(--wp--preset--font-size--large);
}

/* Carte des maisons. */
.c-carte__facade {
	display: inline-block;
	min-height: 44px;
	padding: 0.75rem 1.5rem;
	border: 2px solid var(--wp--preset--color--primary);
	border-radius: 4px;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.c-carte__facade:hover {
	background: var(--wp--preset--color--primary-hover);
	border-color: var(--wp--preset--color--primary-hover);
}

.c-carte__facade[disabled] {
	cursor: wait;
	opacity: 0.8;
}

.c-carte__mention,
.c-carte__erreur {
	margin: var(--wp--preset--spacing--10) 0 0;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--contrast-2);
}

.c-carte__erreur {
	color: var(--wp--preset--color--statut-projet-texte);
}

.c-carte__map {
	height: 460px;
	margin-top: var(--wp--preset--spacing--30);
	border: 1px solid var(--wp--preset--color--contrast-3);
	border-radius: 4px;
	background: var(--wp--preset--color--base-2);
}

.c-carte__map[hidden] {
	display: none;
}

/* Liste textuelle : une ligne par maison, sans puce. */
.c-carte__liste ul.wp-block-post-template {
	margin: 0;
	padding: 0;
	list-style: none;
}

.c-carte__liste li.wp-block-post {
	position: relative;
	margin: 0;
	padding: var(--wp--preset--spacing--20) 0;
	border-bottom: 1px solid var(--wp--preset--color--contrast-3);
}

.c-carte__liste li.wp-block-post::before {
	content: "\200B";
	position: absolute;
}

.c-carte__item {
	gap: var(--wp--preset--spacing--10) var(--wp--preset--spacing--30);
}

.c-carte__item > * {
	margin: 0;
}

.c-carte__nom {
	font-size: var(--wp--preset--font-size--medium);
	margin-top: 0;
}

.c-carte__lieu {
	color: var(--wp--preset--color--contrast-2);
	font-size: var(--wp--preset--font-size--small);
}

/* Spécificité renforcée : le style de mise en page de WordPress remet
   les marges des enfants à zéro. */
.c-carte__item .c-carte__statut {
	margin-left: auto;
}

/* --------------------------------------------------------------
   10. Page d'accueil (patterns/home.php, templates/front-page.html)
   -------------------------------------------------------------- */

.c-home {
	padding-top: var(--wp--preset--spacing--50);
	padding-bottom: var(--wp--preset--spacing--50);
}

.c-hero {
	padding-bottom: var(--wp--preset--spacing--40);
	border-bottom: 1px solid var(--wp--preset--color--contrast-3);
}

.c-hero__titre {
	max-width: 22ch;
	margin-bottom: var(--wp--preset--spacing--30);
}

.c-hero .c-chapeau {
	max-width: 60ch;
}

.c-hero .wp-block-buttons {
	margin-top: var(--wp--preset--spacing--30);
}

.c-home__section {
	margin-top: var(--wp--preset--spacing--50);
}

.c-home__section > h2 {
	margin-top: 0;
}

/* Les chiffres en tête de section, sur toute la largeur. */
.c-home__section > ul.c-chiffres {
	margin-bottom: var(--wp--preset--spacing--40);
}

/* Actualités : trois cartes. */
.c-actus__liste .wp-block-post-template {
	gap: var(--wp--preset--spacing--30);
}

.c-actu {
	padding: var(--wp--preset--spacing--30);
	border: 1px solid var(--wp--preset--color--contrast-3);
	border-radius: 4px;
}

.c-actu > * {
	margin: 0;
}

.c-actu__date {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--contrast-2);
}

.c-actu__titre {
	margin-top: var(--wp--preset--spacing--10);
	font-size: var(--wp--preset--font-size--large);
}

.c-actu__titre a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

.c-actu__titre a:hover {
	text-decoration: underline;
}

.c-actu__resume {
	margin-top: var(--wp--preset--spacing--10);
	font-size: var(--wp--preset--font-size--small);
}

.c-actu__resume p {
	margin: 0;
}

/* Appel final : fond ambre clair, comme l'appel au don. */
.c-home__cta {
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--30);
	border-left: 4px solid var(--wp--preset--color--secondary);
	background: var(--wp--preset--color--statut-projet-fond);
	border-radius: 0 4px 4px 0;
}

.c-home__cta p {
	max-width: 60ch;
}

/* --------------------------------------------------------------
   11. Liste des actualités (templates/home.html)
   -------------------------------------------------------------- */

.c-actualites {
	padding-top: var(--wp--preset--spacing--50);
	padding-bottom: var(--wp--preset--spacing--50);
}

.c-actualites .c-actus__liste {
	margin-top: var(--wp--preset--spacing--40);
}

.c-pagination {
	margin-top: var(--wp--preset--spacing--40);
	padding-top: var(--wp--preset--spacing--30);
	border-top: 1px solid var(--wp--preset--color--contrast-3);
}

/* La page courante est marquée par le texte et le fond, pas seulement
   la couleur. */
.c-pagination .page-numbers.current {
	padding: 0.25em 0.6em;
	border-radius: 4px;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
	font-weight: 600;
}

/* --------------------------------------------------------------
   12. En-tête (parts/header.html)
   -------------------------------------------------------------- */

.c-entete {
	padding-top: var(--wp--preset--spacing--20);
	padding-bottom: var(--wp--preset--spacing--20);
	border-bottom: 1px solid var(--wp--preset--color--contrast-3);
	background: var(--wp--preset--color--base);
}

.c-entete__barre {
	gap: var(--wp--preset--spacing--20) var(--wp--preset--spacing--40);
}

/* Logo (icône seule) et nom en texte, côte à côte. */
.c-entete__marque {
	gap: var(--wp--preset--spacing--20);
}

.c-entete__logo img {
	display: block;
	width: 56px;
	height: 56px;
}

.c-entete__logo a:focus-visible {
	outline: 3px solid var(--wp--preset--color--focus);
	outline-offset: 3px;
	border-radius: 8px;
}

.c-entete__nom {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 700;
	letter-spacing: 0.01em;
	color: var(--wp--preset--color--contrast);
}

.c-entete__actions {
	gap: var(--wp--preset--spacing--30);
}

/* Liens du menu : cible de 44px de haut, soulignement au survol et
   sur la page courante (jamais la couleur seule). */
.c-entete__menu .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 0.25rem;
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
	text-underline-offset: 6px;
	text-decoration-thickness: 2px;
}

.c-entete__menu .wp-block-navigation-item__content:hover,
.c-entete__menu .wp-block-navigation-item__content[aria-current="page"],
.c-entete__menu .current-menu-ancestor > .wp-block-navigation-item__content {
	text-decoration: underline;
	color: var(--wp--preset--color--primary);
}

/* Sous-menu déroulant : fond, bordure, espacement lisible. */
.c-entete__menu .wp-block-navigation__submenu-container {
	min-width: 16rem;
	padding: var(--wp--preset--spacing--10) 0;
	border: 1px solid var(--wp--preset--color--contrast-3);
	border-radius: 4px;
	background: var(--wp--preset--color--base);
	box-shadow: 0 8px 24px rgba(20, 33, 61, 0.12);
}

.c-entete__menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 0 var(--wp--preset--spacing--20);
	min-height: 44px;
	width: 100%;
}

/* Bouton d'ouverture et de fermeture du menu mobile. */
.c-entete__menu .wp-block-navigation__responsive-container-open,
.c-entete__menu .wp-block-navigation__responsive-container-close {
	min-width: 44px;
	min-height: 44px;
	color: var(--wp--preset--color--contrast);
}

.c-entete__menu .wp-block-navigation__responsive-container.is-menu-open {
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--30);
	background: var(--wp--preset--color--base);
}

.c-entete__menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-size: var(--wp--preset--font-size--large);
}

.c-entete__don .wp-block-button__link {
	white-space: nowrap;
	padding: 0.6rem 1.1rem;
}

/* Sous 600px, le bouton passe sous la marque, à gauche, et le menu
   devient le bouton d'ouverture. */
@media (max-width: 600px) {
	.c-entete__actions {
		gap: var(--wp--preset--spacing--20);
	}
}

/* Le sous-menu s'aligne sur le bord gauche de son élément. WordPress
   l'aligne à droite quand le menu est justifié à droite, ce qui le
   fait sortir de l'écran dès que le menu passe à la ligne. */
.c-entete__menu .wp-block-navigation__container > .has-child > .wp-block-navigation__submenu-container {
	left: -1px;
	right: auto;
}

/* Boutons de don : orange du logo, token « don » (#F66A22). Le texte est
   bleu nuit, 5,33:1 ; en blanc il tomberait à 3,00:1, sous le seuil AA.
   La règle couvre aussi les anciens boutons saisis avec le fond
   « secondary » et du texte blanc. Survol et focus : inversion en bleu nuit.
   « secondary » reste l'ambre lisible : le thème parent Ollie s'en sert
   comme couleur de texte, il ne doit jamais devenir l'orange. */
.wp-block-button__link.has-don-background-color,
.wp-block-button__link.has-secondary-background-color,
.wp-block-button__link.has-secondary-background-color.has-text-color {
	background-color: var(--wp--preset--color--don) !important;
	border-color: var(--wp--preset--color--don);
	color: var(--wp--preset--color--contrast) !important;
}

.wp-block-button__link.has-don-background-color:hover,
.wp-block-button__link.has-don-background-color:focus-visible,
.wp-block-button__link.has-secondary-background-color:hover,
.wp-block-button__link.has-secondary-background-color:focus-visible {
	background-color: var(--wp--preset--color--contrast) !important;
	border-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base) !important;
}

/* --------------------------------------------------------------
   13. Pied de page (patterns/pied-de-page.php)
   -------------------------------------------------------------- */

.c-pied {
	margin-top: var(--wp--preset--spacing--60);
	padding-top: var(--wp--preset--spacing--50);
	padding-bottom: var(--wp--preset--spacing--40);
	border-top: 1px solid var(--wp--preset--color--contrast-3);
	background: var(--wp--preset--color--base-2);
}

.c-pied__colonnes {
	gap: var(--wp--preset--spacing--40);
}

.c-pied h2 {
	margin-top: 0;
	margin-bottom: var(--wp--preset--spacing--10);
}

.c-pied p {
	margin-top: 0;
	margin-bottom: var(--wp--preset--spacing--20);
}

.c-pied__logo {
	margin: 0 0 var(--wp--preset--spacing--20);
}

.c-pied__logo img {
	width: 180px;
	height: auto;
}

/* Liens du pied de page : soulignés, cibles de 44px. */
.c-pied__menu .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--wp--preset--color--contrast);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.c-pied__menu .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--primary);
}

.c-pied__bas {
	margin-top: var(--wp--preset--spacing--40);
	padding-top: var(--wp--preset--spacing--30);
	border-top: 1px solid var(--wp--preset--color--contrast-3);
	color: var(--wp--preset--color--contrast-2);
}

.c-pied__bas p {
	margin: 0;
}

/* --------------------------------------------------------------
   14. Événements (archive-evenement, single-evenement, carte-evenement)
   -------------------------------------------------------------- */

.c-archive-evenements {
	padding-top: var(--wp--preset--spacing--50);
	padding-bottom: var(--wp--preset--spacing--50);
}

/* Badge « À venir » : même construction que les statuts de maison. */
.c-statut--avenir {
	background: var(--wp--preset--color--statut-ouverte-fond);
	color: var(--wp--preset--color--statut-ouverte-texte);
	border-color: var(--wp--preset--color--statut-ouverte-texte);
}

/* Badge « Archivée » d'une actualité dépubliée : gris foncé sur gris clair,
   bleu nuit 13:1 ; l'information est dans le mot. */
.c-statut--archivee {
	background: #EEF0F3;
	color: var(--wp--preset--color--contrast);
	border-color: var(--wp--preset--color--contrast-2);
}

/* Un groupe de pastilles dont tous les blocs liés sont vides ne laisse pas de
   marge (article sans date ni lieu). */
.c-fiche__entete .c-pastilles:empty,
.c-fiche__entete .c-pastilles:not(:has(.c-pastille)) {
	display: none;
}

.c-evt {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--10);
	height: 100%;
	padding: var(--wp--preset--spacing--30);
	border: 1px solid var(--wp--preset--color--contrast-3);
	border-radius: 4px;
	background: var(--wp--preset--color--base);
}

.c-evt > * {
	margin: 0;
}

.c-evt__image {
	margin-bottom: var(--wp--preset--spacing--10);
}

.c-evt__image img {
	border-radius: 2px;
}

.c-evt__date {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	color: var(--wp--preset--color--primary);
}

.c-evt__titre {
	font-size: var(--wp--preset--font-size--large);
	margin-top: 0;
}

.c-evt__titre a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

.c-evt__titre a:hover {
	text-decoration: underline;
}

.c-evt__lieu,
.c-evt__resume {
	font-size: var(--wp--preset--font-size--small);
}

.c-evt__lieu {
	color: var(--wp--preset--color--contrast-2);
}

.c-evt__resume p {
	margin: 0;
}

.c-fiche__retour {
	margin-top: var(--wp--preset--spacing--40);
}

/* --------------------------------------------------------------
   15. Article (templates/single.html)
   -------------------------------------------------------------- */

.c-article__date {
	margin: 0;
	color: var(--wp--preset--color--contrast-2);
}

.c-article__categories {
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
}

.c-article__categories a {
	color: var(--wp--preset--color--primary);
}

/* Auteur ou source en fin d'article : en retrait, sans gras. */
.c-article .c-a-completer + p:last-child {
	color: var(--wp--preset--color--contrast-2);
}

/* Légende isolée en tête d'article et signature en pied : en retrait,
   jamais en gras (règle de la section 8). */
.c-legende,
.c-signature {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--contrast-2);
}

.c-signature {
	margin-top: var(--wp--preset--spacing--30);
	padding-top: var(--wp--preset--spacing--20);
	border-top: 1px solid var(--wp--preset--color--contrast-3);
}

/* --------------------------------------------------------------
   16. Galerie de photos (patterns/galerie-photos.php, inserer-galeries.php)
   -------------------------------------------------------------- */

.c-galerie {
	margin-top: var(--wp--preset--spacing--50);
}

.c-galerie__grille {
	gap: var(--wp--preset--spacing--10);
}

.c-galerie__grille img {
	border-radius: 2px;
}

/* Le bouton d'agrandissement de WordPress apparaît au survol ; il doit
   aussi être visible au focus clavier. */
.c-galerie__grille .lightbox-trigger:focus-visible {
	opacity: 1;
	outline: 3px solid var(--wp--preset--color--focus);
	outline-offset: 2px;
}

@media (max-width: 600px) {
	.c-galerie__grille.columns-3 .wp-block-image {
		width: calc(50% - var(--wp--preset--spacing--10) / 2) !important;
	}
}

/* Image à la une des cartes d'actualité. */
.c-actu__image {
	margin-bottom: var(--wp--preset--spacing--10);
}

.c-actu__image img {
	border-radius: 2px;
}

/* Légende de la carte : la couleur n'est jamais seule, le texte la double. */
.c-carte__legende {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--10) var(--wp--preset--spacing--30);
	margin: var(--wp--preset--spacing--10) 0 0;
	padding: 0;
	list-style: none;
	font-size: var(--wp--preset--font-size--small);
}

.c-carte__legende li {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
}

.c-carte__puce {
	width: 0.9em;
	height: 0.9em;
	border-radius: 50%;
	border: 2px solid var(--wp--preset--color--base);
	box-shadow: 0 0 0 1px var(--wp--preset--color--contrast-3);
}

.c-carte__puce--ouverte {
	background: #1B5E32;
}

.c-carte__puce--projet {
	background: #8A4B08;
}

/* Carte ouverte d'emblée : le bouton passe sous la carte, à côté de la légende. */
.c-carte__geo.is-ouverte {
	display: flex;
	flex-direction: column;
}

.c-carte__geo.is-ouverte .c-carte__map {
	order: 1;
	margin-top: 0;
}

.c-carte__geo.is-ouverte .c-carte__legende {
	order: 2;
}

.c-carte__geo.is-ouverte .c-carte__facade {
	order: 3;
	align-self: flex-start;
	margin-top: var(--wp--preset--spacing--20);
}

.c-carte__geo.is-ouverte .c-carte__mention {
	order: 4;
}

/* Quatre statuts : ouverte (vert), en chantier (bleu), approuvée (prune,
   12:1 sur blanc, 10:1 sur son fond), en projet (ambre). */
.c-statut--chantier {
	background: var(--wp--preset--color--statut-chantier-fond);
	color: var(--wp--preset--color--statut-chantier-texte);
	border-color: var(--wp--preset--color--statut-chantier-texte);
}

.c-statut--approuvee {
	background: var(--wp--preset--color--statut-approuvee-fond);
	color: var(--wp--preset--color--statut-approuvee-texte);
	border-color: var(--wp--preset--color--statut-approuvee-texte);
}

.c-carte__puce--chantier {
	background: #1B4E8F;
}

.c-carte__puce--approuvee {
	background: #621A42;
}

/* --------------------------------------------------------------
   17. Reprises de la maquette : surtitre, dons, plan, catégories
   -------------------------------------------------------------- */

.c-hero__surtitre {
	margin: 0 0 var(--wp--preset--spacing--10);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wp--preset--color--secondary);
}

/* Trois entrées de soutien : de vrais liens, en blocs cliquables. */
ul.c-dons {
	display: grid;
	gap: var(--wp--preset--spacing--20);
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	margin: var(--wp--preset--spacing--30) 0 0;
	padding: 0;
	list-style: none;
}

.c-dons li {
	position: relative;
	margin: 0;
}

.c-dons li::before {
	content: "\200B";
	position: absolute;
}

.c-dons a {
	display: block;
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
	border: 2px solid var(--wp--preset--color--don);
	border-radius: 4px;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

.c-dons a:hover {
	background: var(--wp--preset--color--don);
	color: var(--wp--preset--color--contrast);
}

.c-dons strong {
	display: block;
	font-size: var(--wp--preset--font-size--large);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.c-dons span {
	display: block;
	font-size: var(--wp--preset--font-size--small);
}

/* Catégorie sur les cartes d'actualité. */
.c-actu__categorie {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.c-actu__categorie a {
	color: var(--wp--preset--color--primary);
	text-decoration: none;
}

.c-actu__categorie a:hover {
	text-decoration: underline;
}

/* Image d'actualité : recadrée pour remplir la vignette, comme celle des
   événements (demande de Raphaël, 18 septembre 2026). Un visuel qui porte du
   texte, comme le pictogramme FALC, est donc rogné sur les côtés : préférer
   une photo en image à la une. */

/* Soutien de la Fondation Roi Baudouin : une ligne, le logo lu comme la
   fin de la phrase « Avec le soutien de la ». */
.c-pied__soutien {
	gap: var(--wp--preset--spacing--20);
	margin-top: var(--wp--preset--spacing--40);
	padding-top: var(--wp--preset--spacing--30);
	border-top: 1px solid var(--wp--preset--color--contrast-3);
}

.c-pied__soutien p {
	margin: 0;
}

.c-pied__frb {
	margin: 0;
}

.c-pied__frb img {
	display: block;
	width: 100%; /* largeur portée par la figure, propre à chaque langue */
	height: auto;
}

.c-pied__frb a:focus-visible {
	outline: 3px solid var(--wp--preset--color--focus);
	outline-offset: 4px;
}

.c-pied__soutien + .c-pied__bas {
	margin-top: var(--wp--preset--spacing--30);
}

/* --------------------------------------------------------------
   18. Vidéo (façade du bloc Contenu embarqué, functions.php section 11)
   -------------------------------------------------------------- */

.c-video {
	margin: var(--wp--preset--spacing--40) 0;
}

/* Sans vignette : aucune image n'est demandée à YouTube avant le clic. */
.c-video .c-video-facade {
	background-color: var(--wp--preset--color--primary);
	background-image:
		radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.9) 0 3px, transparent 4px),
		radial-gradient(circle at 46% 16%, rgba(255, 255, 255, 0.9) 0 4px, transparent 5px),
		radial-gradient(circle at 72% 40%, rgba(255, 255, 255, 0.9) 0 3px, transparent 4px);
	border-radius: 4px;
	color: var(--wp--preset--color--contrast);
}

.c-video .c-video-facade__label {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	max-width: 90%;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--medium);
}

.c-video .c-video-facade:hover .c-video-facade__label,
.c-video .c-video-facade:focus-visible .c-video-facade__label {
	background: var(--wp--preset--color--don);
}

.c-video__lecteur {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
	border-radius: 4px;
}

.c-video__mention {
	margin-top: var(--wp--preset--spacing--10);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--contrast-2);
	text-align: left;
}

/* Avec vignette : un léger voile pour que le bouton reste lisible sur
   n'importe quelle image. La vignette vient du site, pas de YouTube. */
.c-video .c-video-facade.a-vignette {
	background-color: var(--wp--preset--color--contrast);
	box-shadow: inset 0 0 0 2000px rgba(20, 33, 61, 0.25);
}

/* Soutien de la Fondation Roi Baudouin dans l'ouverture de l'accueil :
   visible sans défilement, sans concurrencer les deux boutons. */
.c-hero__soutien {
	gap: var(--wp--preset--spacing--20);
	margin-top: var(--wp--preset--spacing--30);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--contrast-2);
}

.c-hero__soutien p,
.c-hero__frb {
	margin: 0;
}

.c-hero__frb img {
	display: block;
	width: 100%; /* largeur portée par la figure, propre à chaque langue */
	height: auto;
}

.c-hero__frb a:focus-visible {
	outline: 3px solid var(--wp--preset--color--focus);
	outline-offset: 4px;
}

/* --------------------------------------------------------------
   19. Logos des partenaires (patterns/logos-partenaires.php)
   -------------------------------------------------------------- */

.c-partenaires {
	margin-top: var(--wp--preset--spacing--50);
	padding: var(--wp--preset--spacing--40) 0;
	border-top: 1px solid var(--wp--preset--color--contrast-3);
	background: var(--wp--preset--color--base);
}

.c-partenaires > h2 {
	margin-top: 0;
}

.c-partenaires__famille {
	margin-top: var(--wp--preset--spacing--30);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--wp--preset--color--contrast-2);
}

.c-partenaires__logos {
	gap: var(--wp--preset--spacing--20) var(--wp--preset--spacing--40);
	margin-top: var(--wp--preset--spacing--20);
}

/* Chaque logo tient dans la même boîte, quelle que soit sa forme. */
.c-partenaires__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 150px;
	height: 72px;
	margin: 0;
}

.c-partenaires__logo a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.c-partenaires__logo img {
	max-width: 150px;
	max-height: 72px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.c-partenaires__logo a:focus-visible {
	outline: 3px solid var(--wp--preset--color--focus);
	outline-offset: 4px;
	border-radius: 2px;
}

/* --------------------------------------------------------------
   20. Carrousel des partenaires (patterns/carrousel-partenaires.php)
   -------------------------------------------------------------- */

.c-carrousel {
	margin-top: var(--wp--preset--spacing--50);
}

.c-carrousel__tete {
	gap: var(--wp--preset--spacing--20);
}

.c-carrousel__tete h2 {
	margin: 0;
}

.c-carrousel__commandes {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--10);
}

.c-carrousel__commandes[hidden] {
	display: none;
}

.c-carrousel__etat {
	margin: 0 var(--wp--preset--spacing--10) 0 0;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--contrast-2);
}

.c-carrousel__bouton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 2px solid var(--wp--preset--color--primary);
	border-radius: 50%;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
	cursor: pointer;
}

.c-carrousel__bouton:hover {
	background: var(--wp--preset--color--primary-hover);
	border-color: var(--wp--preset--color--primary-hover);
}

/* Bouton inactif en bout de bande : gris à 3,6:1, lisible comme un
   composant, et l'attribut disabled le dit aux lecteurs d'écran. */
.c-carrousel__bouton[disabled] {
	border-color: var(--wp--preset--color--contrast-3);
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast-3);
	cursor: default;
}

/* La piste : défilement horizontal natif, avec accroche. */
.c-carrousel__piste {
	gap: var(--wp--preset--spacing--40);
	margin-top: var(--wp--preset--spacing--30);
	padding: var(--wp--preset--spacing--30);
	border: 1px solid var(--wp--preset--color--contrast-3);
	border-radius: 4px;
	background: var(--wp--preset--color--base);
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scroll-padding-inline: var(--wp--preset--spacing--30);
	scrollbar-width: thin;
}

.c-carrousel__piste .c-partenaires__logo {
	flex: 0 0 150px;
	scroll-snap-align: start;
}

.c-carrousel__note {
	margin-top: var(--wp--preset--spacing--20);
	color: var(--wp--preset--color--contrast-2);
}

/* --------------------------------------------------------------
   21. Mise en page de la planche de maquettes (17 septembre 2026)
   -------------------------------------------------------------- */

/* Surtitre : petit texte en capitales. Ambre sur blanc (5,02:1), orange
   du logo sur bleu nuit (5,33:1). */
.c-surtitre,
.c-surtitre a {
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wp--preset--color--secondary);
	text-decoration: none;
}

.c-surtitre a:hover {
	text-decoration: underline;
}

.c-surtitre--clair {
	color: var(--wp--preset--color--don);
}

/* Ouverture en deux colonnes, photos à droite. */
.c-home {
	padding-top: 0;
}

.c-hero {
	padding: var(--wp--preset--spacing--50) 0;
	border-bottom: 0;
}

.c-hero__colonnes {
	gap: var(--wp--preset--spacing--50);
	margin: 0;
}

.c-hero__colonnes > .wp-block-column > * + * {
	margin-top: var(--wp--preset--spacing--20);
}

.c-hero__mosaique {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: 220px 220px;
	gap: 12px;
}

.c-hero__mosaique > * {
	margin: 0 !important;
	min-height: 0;
}

.c-hero__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 4px;
}

.c-hero__photo,
.c-hero__photo--haute {
	height: 100%;
}

.c-hero__photo--haute {
	grid-row: span 2;
}

.c-hero__panneau {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	background: var(--wp--preset--color--primary);
}

.c-hero__icone img {
	display: block;
	width: auto;
	max-width: 100%;
	height: 190px;
	border-radius: 0;
}

@media (max-width: 781px) {
	.c-hero__mosaique {
		grid-template-rows: 160px 160px;
	}

	.c-hero__icone img {
		height: 136px;
	}
}

/* Bande de chiffres pleine largeur. */
.c-bande-chiffres {
	margin-top: 0;
	padding-top: var(--wp--preset--spacing--40);
	padding-bottom: var(--wp--preset--spacing--40);
	background: var(--wp--preset--color--base-2);
}

.c-home__video {
	margin-top: var(--wp--preset--spacing--50);
}

.c-home__video .c-video {
	margin: 0;
}

.c-home__maisons-colonnes {
	gap: var(--wp--preset--spacing--40);
	margin-top: var(--wp--preset--spacing--30);
}

.c-home__maisons .c-carte__liste {
	margin-top: var(--wp--preset--spacing--10);
	border-top: 1px solid var(--wp--preset--color--contrast-3);
}

/* Bande de soutien : bleu nuit pleine largeur, trois entrées blanches. */
.c-home__cta {
	margin-top: var(--wp--preset--spacing--50);
	padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--30);
	border-left: 0;
	border-radius: 0;
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base-2);
}

.c-home__cta h2 {
	margin-top: var(--wp--preset--spacing--10);
	color: var(--wp--preset--color--base);
}

.c-home__cta p {
	max-width: 46ch;
}

.c-home__cta ul.c-dons {
	grid-template-columns: 1fr;
	gap: 12px;
	margin-top: 0;
}

.c-home__cta .c-dons a {
	position: relative;
	padding-right: 3.5rem;
	border: 0;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
}

.c-home__cta .c-dons a::after {
	content: "\2192" / "";
	position: absolute;
	right: 1.25rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
	color: var(--wp--preset--color--secondary);
}

.c-home__cta .c-dons a:hover,
.c-home__cta .c-dons a:focus-visible {
	background: var(--wp--preset--color--don);
	color: var(--wp--preset--color--contrast);
}

.c-home__cta .c-dons a:hover::after,
.c-home__cta .c-dons a:focus-visible::after {
	color: var(--wp--preset--color--contrast);
}

.c-home__cta .c-dons a:focus-visible {
	outline: 3px solid var(--wp--preset--color--base);
	outline-offset: 3px;
}

/* Collection des maisons : chapeau, bouton de carte en contour. */
.c-liste__intro-collection {
	padding-inline: 0;
	margin-top: var(--wp--preset--spacing--20);
	margin-bottom: var(--wp--preset--spacing--30);
}

/* La largeur de lecture ne vaut que pour le chapeau : les pastilles prennent
   toute la largeur et tiennent sur une ligne en grand écran (demande de
   Raphaël, 16 novembre 2026 : trois lignes, c'était trop). */
.c-liste__intro-collection .c-chapeau {
	max-width: 68ch;
}

/* Seuil mesuré : les cinq pastilles demandent environ 1110 px de contenu. */
@media (min-width: 1240px) {
	.c-liste__intro-collection .c-pastilles {
		flex-wrap: nowrap;
		gap: 0.6rem;
	}

	.c-liste__intro-collection .c-pastille {
		gap: 0.55rem;
		padding: 0.35rem 1rem 0.35rem 0.35rem;
		font-size: 0.95rem;
		white-space: nowrap;
	}

	.c-liste__intro-collection .c-pastille::before {
		flex-basis: 2.1rem;
		height: 2.1rem;
	}
}

.c-carte__geo.is-ouverte .c-carte__facade {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--primary);
}

.c-carte__geo.is-ouverte .c-carte__facade:hover {
	background: var(--wp--preset--color--base-2);
}

/* Fiche maison : contenu à gauche, informations et don à droite. */
.c-fiche__entete {
	max-width: 48rem;
}

.c-fiche__colonnes {
	gap: var(--wp--preset--spacing--50);
	margin-top: 0;
}

.c-fiche__lateral > * + * {
	margin-top: var(--wp--preset--spacing--30);
}

.c-fiche__lateral .c-fiche__infos,
.c-fiche__lateral .c-appel-don {
	margin-top: 0;
}

.c-fiche__lateral .c-appel-don {
	margin-top: var(--wp--preset--spacing--30);
}

.c-fiche__lateral .c-fiche__infos h2,
.c-fiche__lateral .c-appel-don h2 {
	font-size: var(--wp--preset--font-size--large);
}

.c-fiche__image img {
	border-radius: 4px;
}

/* Article : rubrique en surtitre au-dessus du titre. */
.c-article .c-article__categories {
	margin-bottom: var(--wp--preset--spacing--10);
}

/* ==========================================================================
   22. Menu replié plus tôt
   Le bloc Navigation ne passe au bouton « Menu » que sous 600 px. Entre 600
   et 1023 px, les six entrées et le bouton de don ne tiennent pas sur une
   ligne : on garde le menu replié jusqu'à 1024 px. Mêmes sélecteurs que le
   cœur, avec la classe du thème pour l'emporter.
   ========================================================================== */

@media (min-width: 600px) and (max-width: 1023px) {
	.c-entete__menu .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

	.c-entete__menu .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
}

/* Accueil : carte ouverte d'emblée, sauf sous 782 px où elle attend le clic.
   Le conteneur vide est masqué dès le premier rendu pour éviter un saut de
   mise en page avant que le script ne le ferme. */
@media (max-width: 781px) {
	.c-carte__geo[data-fermee-mobile] .c-carte__map:empty {
		display: none;
	}
}

/* ==========================================================================
   23. Maisons d'une région (pages Handicap à Bruxelles, Handicap en Wallonie)
   ========================================================================== */

.c-maisons-region__bilan {
	font-weight: 700;
}

.c-maisons-region__liste {
	list-style: none;
	padding: 0;
	margin-block: var(--wp--preset--spacing--30);
	border-top: 1px solid var(--wp--preset--color--contrast-3, #6B7280);
}

.c-maisons-region__liste li {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.25rem 0.75rem;
	padding-block: 0.75rem;
	border-bottom: 1px solid var(--wp--preset--color--contrast-3, #6B7280);
}

.c-maisons-region__liste a {
	font-weight: 700;
}

.c-maisons-region__liste .c-statut {
	margin-left: auto;
}

/* Avertissement et date de vérification des pages d'orientation. */
.c-verification {
	margin-block: var(--wp--preset--spacing--30);
	padding: 0.75rem 1rem;
	border-left: 4px solid var(--wp--preset--color--primary);
	background: var(--wp--preset--color--base-2, #F3F5F9);
	font-size: var(--wp--preset--font-size--small);
}

.c-verification.is-non-verifiee {
	border-left-color: var(--wp--preset--color--secondary);
}

/* ==========================================================================
   24. Logo composé : pictogramme en image, noms en texte
   Montserrat ExtraBold en capitales, comme sur le logo validé. Le texte reste
   net à toute taille et il est lu par les lecteurs d'écran ; « Sterrenbeelden »
   et « VZW » portent lang="nl". Prune #621A42 sur clair (12:1), blanc sur le
   panneau bleu (8,3:1).
   ========================================================================== */

@font-face {
	font-family: "Montserrat";
	font-weight: 800;
	font-style: normal;
	font-display: swap;
	src: url("assets/fonts/montserrat/Montserrat-ExtraBold.ttf") format("truetype");
}

.c-logo {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
	width: max-content;
	max-width: 100%;
	color: #621A42;
	text-align: center;
}

.c-logo > * {
	margin: 0 !important;
}

.c-logo > .c-logo__picto {
	margin-bottom: 0.5rem !important;
}

.c-logo > .c-logo__nom--nl {
	margin-top: 0.12rem !important;
}

.c-logo__picto img {
	display: block;
	width: 96px;
	height: 96px;
}

.c-logo__nom {
	font-family: "Montserrat", var(--wp--preset--font-family--heading);
	font-weight: 800;
	font-size: 1.125rem;
	line-height: 0.95;
	text-transform: uppercase;
	white-space: nowrap;
}

/* Composition du logo vectoriel : les deux noms ont exactement la même
   largeur. Dans Montserrat 800, « CONSTELLATIONS » mesure 9,571 em et
   « STERRENBEELDEN » 9,929 em : le premier est donc agrandi de 3,74 %, sans
   déformer les lettres ni toucher à l'interlettrage. */
.c-logo__nom--fr {
	font-size: calc(1.125rem * 1.0374);
}

.c-logo__forme {
	display: flex;
	align-items: center;
	gap: 0;
	align-self: center;
	width: 72%;
	margin-top: 0.35rem !important;
	font-family: "Montserrat", var(--wp--preset--font-family--heading);
	font-weight: 800;
	font-size: 0.63rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	white-space: nowrap;
}

.c-logo__forme::before,
.c-logo__forme::after {
	content: "";
	flex: 1;
	min-width: 0.75rem;
	height: 2px;
	background: currentColor;
}

.c-logo__forme::before {
	margin-right: 0.6rem;
}

.c-logo__forme::after {
	margin-left: 0.6rem;
}

/* « ASBL · » et « VZW » sont deux éléments flex : l'espace entre eux est perdu. */
.c-logo__forme span {
	margin-left: 0.35em;
}

/* Panneau de l'accueil réduit à 160 px sous 782 px. */
@media (max-width: 781px) {
	.c-hero__panneau .c-logo__picto img {
		width: 60px;
		height: 60px;
	}

	.c-hero__panneau .c-logo__nom {
		font-size: 1rem;
	}

	.c-hero__panneau .c-logo__nom--fr {
		font-size: 1.0374rem;
	}
}

.c-logo--blanc {
	color: #FFFFFF;
}

.c-pied__marque .c-logo {
	margin-bottom: var(--wp--preset--spacing--20) !important;
}

/* ==========================================================================
   25. Strates
   Chaque grande partie d'une page a son fond, et trois courbes superposées
   font la transition avec la partie précédente. Une strate est un groupe
   ordinaire (souvent alignwide) qui porte c-strate et une variante. Le fond
   déborde jusqu'aux bords de la fenêtre par un pseudo-élément, sans toucher
   à la structure des blocs. La courbe est dessinée par la strate qui suit,
   par-dessus le bas de la précédente : d'où le supplément de marge basse.
   Tout est décoratif : aucune information ne passe par la couleur du fond.
   Texte : bleu nuit partout (13:1 au moins). L'ambre des surtitres n'est
   permis que sur blanc et crème (4,6:1) ; ailleurs le surtitre change de
   couleur ci-dessous.
   ========================================================================== */

body {
	overflow-x: clip;
}

.c-strate {
	--strate-fond: var(--wp--preset--color--base);
	--strate-vague-h: 72px;
	position: relative;
	isolation: isolate;
	margin-block: 0 !important;
	padding-top: var(--wp--preset--spacing--40);
	padding-bottom: calc(var(--wp--preset--spacing--50) + var(--strate-vague-h));
}

.c-strate::after,
.c-strate::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%);
	pointer-events: none;
}

.c-strate::after {
	top: 0;
	bottom: 0;
	background: var(--strate-fond);
}

.c-strate::before {
	top: calc(1px - var(--strate-vague-h));
	height: var(--strate-vague-h);
	background: var(--strate-vague) center / 100% 100% no-repeat;
}

/* Première strate sous l'en-tête, ou suite d'une strate de même couleur. */
.c-strate--premiere::before,
.c-strate--suite::before {
	display: none;
}

.c-strate--premiere {
	padding-top: var(--wp--preset--spacing--50);
}

.c-strate--suite {
	padding-top: 0;
}

.c-strate:has(+ .c-strate--suite) {
	padding-bottom: var(--wp--preset--spacing--40);
}

@media (max-width: 781px) {
	.c-strate {
		--strate-vague-h: 40px;
	}
}

.c-strate--creme {
	--strate-fond: #FFF3E8;
	--strate-vague: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1440 96%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M0 34C240 4 480 70 760 40S1240 6 1440 36V96H0z%22 fill=%22%23FFF3E8%22 opacity=%22.45%22/%3E%3Cpath d=%22M0 54C300 22 560 92 860 58S1280 28 1440 60V96H0z%22 fill=%22%23FFF3E8%22 opacity=%22.75%22/%3E%3Cpath d=%22M0 74C320 48 620 100 920 76S1300 56 1440 80V96H0z%22 fill=%22%23FFF3E8%22/%3E%3C/svg%3E");
}

.c-strate--ciel {
	--strate-fond: #E9F1FB;
	--strate-vague: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1440 96%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M0 34C240 4 480 70 760 40S1240 6 1440 36V96H0z%22 fill=%22%23E9F1FB%22 opacity=%22.45%22/%3E%3Cpath d=%22M0 54C300 22 560 92 860 58S1280 28 1440 60V96H0z%22 fill=%22%23E9F1FB%22 opacity=%22.75%22/%3E%3Cpath d=%22M0 74C320 48 620 100 920 76S1300 56 1440 80V96H0z%22 fill=%22%23E9F1FB%22/%3E%3C/svg%3E");
}

.c-strate--vert {
	--strate-fond: #E7F3EB;
	--strate-vague: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1440 96%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M0 34C240 4 480 70 760 40S1240 6 1440 36V96H0z%22 fill=%22%23E7F3EB%22 opacity=%22.45%22/%3E%3Cpath d=%22M0 54C300 22 560 92 860 58S1280 28 1440 60V96H0z%22 fill=%22%23E7F3EB%22 opacity=%22.75%22/%3E%3Cpath d=%22M0 74C320 48 620 100 920 76S1300 56 1440 80V96H0z%22 fill=%22%23E7F3EB%22/%3E%3C/svg%3E");
}

.c-strate--prune {
	--strate-fond: #F6EAF0;
	--strate-vague: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1440 96%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M0 34C240 4 480 70 760 40S1240 6 1440 36V96H0z%22 fill=%22%23F6EAF0%22 opacity=%22.45%22/%3E%3Cpath d=%22M0 54C300 22 560 92 860 58S1280 28 1440 60V96H0z%22 fill=%22%23F6EAF0%22 opacity=%22.75%22/%3E%3Cpath d=%22M0 74C320 48 620 100 920 76S1300 56 1440 80V96H0z%22 fill=%22%23F6EAF0%22/%3E%3C/svg%3E");
}

.c-strate--blanc {
	--strate-fond: #FFFFFF;
	--strate-vague: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1440 96%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M0 34C240 4 480 70 760 40S1240 6 1440 36V96H0z%22 fill=%22%23FFFFFF%22 opacity=%22.45%22/%3E%3Cpath d=%22M0 54C300 22 560 92 860 58S1280 28 1440 60V96H0z%22 fill=%22%23FFFFFF%22 opacity=%22.75%22/%3E%3Cpath d=%22M0 74C320 48 620 100 920 76S1300 56 1440 80V96H0z%22 fill=%22%23FFFFFF%22/%3E%3C/svg%3E");
}

.c-strate--nuit {
	--strate-fond: #14213D;
	--strate-vague: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1440 96%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M0 34C240 4 480 70 760 40S1240 6 1440 36V96H0z%22 fill=%22%2314213D%22 opacity=%22.45%22/%3E%3Cpath d=%22M0 54C300 22 560 92 860 58S1280 28 1440 60V96H0z%22 fill=%22%2314213D%22 opacity=%22.75%22/%3E%3Cpath d=%22M0 74C320 48 620 100 920 76S1300 56 1440 80V96H0z%22 fill=%22%2314213D%22/%3E%3C/svg%3E");
}

.c-strate--ciel .c-surtitre,
.c-strate--ciel .c-surtitre a {
	color: var(--wp--preset--color--primary);
}

.c-strate--vert .c-surtitre,
.c-strate--vert .c-surtitre a {
	color: var(--wp--preset--color--statut-ouverte-texte);
}

.c-strate--prune .c-surtitre,
.c-strate--prune .c-surtitre a {
	color: var(--wp--preset--color--prune);
}

.c-strate--nuit .c-surtitre {
	color: #F4B183;
}

/* Motif de constellation, en filigrane dans les ouvertures. */
.c-strate--premiere::after {
	background:
		url("assets/pictos/ciel.svg") right max(1rem, calc(50vw - 640px)) top 0.5rem / min(560px, 60vw) auto no-repeat,
		var(--strate-fond);
}

.c-strate--nuit::after {
	background:
		url("assets/pictos/ciel-clair.svg") right max(0rem, calc(50vw - 700px)) top -1.5rem / min(520px, 60vw) auto no-repeat,
		var(--strate-fond);
}

/* Surlignage d'un mot du titre (format « Surligner » de l'éditeur). */
h1 mark,
h2 mark {
	padding: 0;
	background: linear-gradient(transparent 62%, var(--wp--preset--color--don-clair) 62%, var(--wp--preset--color--don-clair) 92%, transparent 92%) !important;
	color: inherit;
}

.c-strate--prune h1 mark {
	background: linear-gradient(transparent 62%, #E7C3D6 62%, #E7C3D6 92%, transparent 92%) !important;
}

.c-strate--vert h1 mark {
	background: linear-gradient(transparent 62%, #BFE0CB 62%, #BFE0CB 92%, transparent 92%) !important;
}

/* --- Formes communes --------------------------------------------------- */

:root {
	--c-rayon: 20px;
	--c-ombre: 0 10px 30px rgba(20, 33, 61, 0.08);
}

/* Pastille ronde à picto. Le picto est un masque : il prend la couleur du texte. */
.c-picto {
	--picto-fond: var(--wp--preset--color--ciel);
	--picto-couleur: var(--wp--preset--color--primary);
	display: inline-flex;
	flex: 0 0 auto;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 50%;
	background: var(--picto-fond);
	color: var(--picto-couleur);
	position: relative;
}

.c-picto::before {
	content: "";
	position: absolute;
	inset: 22%;
	background: currentColor;
	-webkit-mask: var(--picto) center / contain no-repeat;
	mask: var(--picto) center / contain no-repeat;
}

/* --- Accueil ----------------------------------------------------------- */

.c-hero {
	border-bottom: 0;
	padding-bottom: calc(var(--wp--preset--spacing--60, 6rem) + 5rem);
}

.c-hero__mosaique {
	gap: 14px;
}

/* L'arche de la grande photo est celle du logo 2026, relevée sur le
   pictogramme (1116 × 1576 px) colonne par colonne : elle n'est pas
   symétrique. Le sommet est à 54 % de la largeur ; à gauche la courbe
   descend jusqu'à 30 % de la largeur et rejoint le côté en tangente, à
   droite elle s'arrête à 15 % par un angle arrondi. Le contour est un
   masque SVG posé en haut, à la largeur de l'image (le bas du tracé est
   très long, pour toute hauteur de photo) ; les coins du bas gardent leur
   rayon. Le SVG porte width et height explicites : sans eux, WebKit lui
   donne 300 × 150 et écrase l'arche sur deux pixels (constaté par Raphaël
   dans Safari le 10 novembre 2026). Sans prise en charge des masques, l'image reste à coins arrondis.
   Demande de Raphaël, 10 novembre 2026. */
.c-hero__photo:first-child img,
.c-hero__mosaique > .c-hero__photo:first-of-type img {
	border-radius: 24px;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%221116%22 height=%225000%22 viewBox=%220 0 1116 5000%22%3E%3Cpath d=%22M0,330 L4,282 L12,268 L20,258 L28,249 L36,241 L44,234 L52,227 L60,220 L68,213 L76,206 L84,200 L92,193 L100,187 L108,181 L116,174 L124,169 L132,163 L140,157 L148,152 L156,146 L164,141 L172,136 L180,131 L188,126 L196,121 L204,116 L212,112 L220,108 L228,103 L236,99 L244,95 L252,91 L260,87 L268,83 L276,79 L284,76 L292,72 L300,69 L308,66 L316,62 L324,59 L332,56 L340,53 L348,50 L356,48 L364,45 L372,42 L380,40 L388,37 L396,35 L404,33 L412,31 L420,29 L428,26 L436,25 L444,23 L452,21 L460,19 L468,18 L476,16 L484,14 L492,13 L500,12 L508,10 L516,9 L524,8 L532,7 L540,6 L548,5 L556,5 L564,4 L572,3 L580,3 L588,2 L596,2 L604,2 L612,1 L620,1 L628,1 L636,1 L644,1 L652,1 L660,1 L668,1 L676,2 L684,2 L692,3 L700,3 L708,4 L716,4 L724,5 L732,6 L740,7 L748,8 L756,9 L764,10 L772,11 L780,13 L788,14 L796,15 L804,17 L812,19 L820,20 L828,22 L836,24 L844,26 L852,28 L860,30 L868,32 L876,34 L884,36 L892,39 L900,41 L908,44 L916,47 L924,50 L932,52 L940,55 L948,58 L956,61 L964,64 L972,68 L980,71 L988,75 L996,78 L1004,82 L1012,86 L1020,90 L1028,94 L1036,98 L1044,102 L1052,106 L1060,111 L1068,115 L1076,120 L1084,124 L1092,130 L1100,136 L1108,147 L1116,200 L1116,5000 L0,5000 Z%22/%3E%3C/svg%3E") top center / 100% auto no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%221116%22 height=%225000%22 viewBox=%220 0 1116 5000%22%3E%3Cpath d=%22M0,330 L4,282 L12,268 L20,258 L28,249 L36,241 L44,234 L52,227 L60,220 L68,213 L76,206 L84,200 L92,193 L100,187 L108,181 L116,174 L124,169 L132,163 L140,157 L148,152 L156,146 L164,141 L172,136 L180,131 L188,126 L196,121 L204,116 L212,112 L220,108 L228,103 L236,99 L244,95 L252,91 L260,87 L268,83 L276,79 L284,76 L292,72 L300,69 L308,66 L316,62 L324,59 L332,56 L340,53 L348,50 L356,48 L364,45 L372,42 L380,40 L388,37 L396,35 L404,33 L412,31 L420,29 L428,26 L436,25 L444,23 L452,21 L460,19 L468,18 L476,16 L484,14 L492,13 L500,12 L508,10 L516,9 L524,8 L532,7 L540,6 L548,5 L556,5 L564,4 L572,3 L580,3 L588,2 L596,2 L604,2 L612,1 L620,1 L628,1 L636,1 L644,1 L652,1 L660,1 L668,1 L676,2 L684,2 L692,3 L700,3 L708,4 L716,4 L724,5 L732,6 L740,7 L748,8 L756,9 L764,10 L772,11 L780,13 L788,14 L796,15 L804,17 L812,19 L820,20 L828,22 L836,24 L844,26 L852,28 L860,30 L868,32 L876,34 L884,36 L892,39 L900,41 L908,44 L916,47 L924,50 L932,52 L940,55 L948,58 L956,61 L964,64 L972,68 L980,71 L988,75 L996,78 L1004,82 L1012,86 L1020,90 L1028,94 L1036,98 L1044,102 L1052,106 L1060,111 L1068,115 L1076,120 L1084,124 L1092,130 L1100,136 L1108,147 L1116,200 L1116,5000 L0,5000 Z%22/%3E%3C/svg%3E") top center / 100% auto no-repeat;
}

.c-hero__photo img {
	border-radius: 24px;
}

.c-hero__panneau {
	border-radius: 24px 24px 24px 90px;
}

.c-hero__soutien {
	width: fit-content;
	padding: 0.6rem 1.1rem;
	border-radius: 16px;
	background: var(--wp--preset--color--base);
}

/* Chiffres : cartes à picto, à cheval sur l'ouverture. */
.c-bande-chiffres.c-strate {
	padding-top: 0;
	padding-bottom: var(--wp--preset--spacing--40);
	background: none;
}

.c-bande-chiffres .c-chiffres {
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 1.1rem;
	margin-top: -7.5rem;
}

.c-chiffres li.c-chiffre {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	padding: 1.25rem;
	border-radius: var(--c-rayon);
	background: var(--wp--preset--color--base);
	box-shadow: 0 10px 30px rgba(20, 33, 61, 0.1);
}

.c-chiffres li.c-chiffre::before {
	content: "";
	position: static;
	display: block;
	width: 3.25rem;
	height: 3.25rem;
	margin-bottom: 0.35rem;
	border-radius: 50%;
	background:
		var(--picto) center / 56% no-repeat,
		var(--picto-fond, var(--wp--preset--color--ciel));
}

.c-chiffre--maisons { --picto: url("assets/pictos/maison.svg"); --picto-fond: var(--wp--preset--color--ciel); }
.c-chiffre--places { --picto: url("assets/pictos/places.svg"); --picto-fond: var(--wp--preset--color--don-clair); }
.c-chiffre--maisons-ouvertes { --picto: url("assets/pictos/cle.svg"); --picto-fond: var(--wp--preset--color--vert-tendre); }
.c-chiffre--maisons-chantier { --picto: url("assets/pictos/casque.svg"); --picto-fond: var(--wp--preset--color--ciel); }
.c-chiffre--maisons-approuvees { --picto: url("assets/pictos/document.svg"); --picto-fond: var(--wp--preset--color--prune-clair); }
.c-chiffre--maisons-developpement { --picto: url("assets/pictos/casque.svg"); --picto-fond: var(--wp--preset--color--ciel); }
.c-chiffre--annees { --picto: url("assets/pictos/coeur.svg"); --picto-fond: var(--wp--preset--color--prune-clair); }

.c-chiffre--places .c-chiffre__valeur { color: #8A3A06; }
.c-chiffre--maisons-ouvertes .c-chiffre__valeur { color: var(--wp--preset--color--statut-ouverte-texte); }
.c-chiffre--annees .c-chiffre__valeur { color: var(--wp--preset--color--prune); }

.c-chiffres li.c-chiffre .c-chiffre__libelle {
	color: var(--wp--preset--color--contrast);
	line-height: 1.35;
}

/* Vidéo à côté de son texte. */
.c-home__video {
	margin-top: var(--wp--preset--spacing--30);
	margin-bottom: var(--wp--preset--spacing--50);
}

.c-home__video-colonnes {
	gap: var(--wp--preset--spacing--50);
	margin: 0;
}

.c-home__video .c-video-facade {
	border-radius: 24px;
	box-shadow: 14px 14px 0 var(--wp--preset--color--don-clair);
}

.c-home__video .c-video-facade__label {
	border-radius: 999px;
}

.c-home__section.c-strate {
	margin-top: 0;
}

/* Carte et liste des projets récents. */
.c-carte__map {
	border-radius: var(--c-rayon);
	overflow: hidden;
}

.c-home__maisons-colonnes > .wp-block-column:last-child {
	padding: 1.75rem;
	border-radius: var(--c-rayon);
	background: var(--wp--preset--color--base);
}

/* Publics : une carte par situation, avec une petite constellation. */
ul.c-publics {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.1rem;
	max-width: none;
	margin: var(--wp--preset--spacing--30) 0;
	padding: 0;
	list-style: none;
}

/* Cartes crème (la couleur de l'ouverture) sur strate blanche, liseré orange du logo. */
ul.c-publics li {
	margin: 0;
	padding: 1.5rem;
	border-top: 5px solid var(--wp--preset--color--don);
	border-radius: var(--c-rayon);
	background: var(--wp--preset--color--creme);
	font-weight: 700;
	line-height: 1.35;
}

ul.c-publics li::before {
	content: "";
	display: block;
	width: 72px;
	height: 48px;
	margin-bottom: 0.5rem;
	background: url("assets/pictos/constellation-1.svg") left center / contain no-repeat;
}

ul.c-publics li:nth-child(6n + 2)::before { background-image: url("assets/pictos/constellation-2.svg"); }
ul.c-publics li:nth-child(6n + 3)::before { background-image: url("assets/pictos/constellation-3.svg"); }
ul.c-publics li:nth-child(6n + 4)::before { background-image: url("assets/pictos/constellation-4.svg"); }
ul.c-publics li:nth-child(6n + 5)::before { background-image: url("assets/pictos/constellation-5.svg"); }
ul.c-publics li:nth-child(6n + 6)::before { background-image: url("assets/pictos/constellation-6.svg"); }

.c-home__publics.c-strate > *,
.c-home__familles.c-strate > * {
	max-width: none;
}

.c-home__familles.c-strate > p,
.c-home__publics.c-strate > p {
	max-width: 68ch;
	margin-left: 0 !important;
	margin-right: auto !important;
}

.c-home__familles.c-strate > h2,
.c-home__familles.c-strate > .c-surtitre,
.c-home__publics.c-strate > h2 {
	margin-left: 0 !important;
}

/* Familles : texte et photo côte à côte (18 novembre 2026). La photo est
   décorative, recadrée en 4:3, avec le décalage blanc de la vidéo. */
.c-home__familles-colonnes {
	gap: var(--wp--preset--spacing--50);
	margin: 0;
}

.c-home__familles-photo {
	margin: 0;
}

.c-home__familles-photo img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: 50% 35%;
	border-radius: 24px;
	box-shadow: 14px 14px 0 var(--wp--preset--color--base);
}

/* Cartes d'actualité et de maison : arrondies, image à fond perdu. */
.c-actu,
.c-evt,
.c-carte-maison {
	padding: 0 0 var(--wp--preset--spacing--30);
	border: 0;
	border-radius: var(--c-rayon);
	overflow: hidden;
	background: var(--wp--preset--color--base);
	box-shadow: var(--c-ombre);
}

.c-actu > *:not(.wp-block-post-featured-image),
.c-evt > *:not(.wp-block-post-featured-image),
.c-carte-maison > *:not(.wp-block-post-featured-image) {
	padding-inline: 1.5rem;
}

.c-actu .wp-block-post-featured-image,
.c-evt .wp-block-post-featured-image,
.c-carte-maison .wp-block-post-featured-image {
	margin: 0 0 0.75rem;
}

.c-actu .wp-block-post-featured-image img,
.c-evt .wp-block-post-featured-image img,
.c-carte-maison .wp-block-post-featured-image img {
	border-radius: 0;
}

.c-actu:not(:has(.wp-block-post-featured-image)),
.c-evt:not(:has(.wp-block-post-featured-image)),
.c-carte-maison:not(:has(.wp-block-post-featured-image)) {
	padding-top: var(--wp--preset--spacing--30);
}

/* Le liseré reprend la couleur du statut ; le badge en texte dit la même chose. */
.c-carte-maison {
	border-top: 6px solid var(--wp--preset--color--contrast-3);
}

.c-carte-maison:has(.c-statut--ouverte) { border-top-color: var(--wp--preset--color--statut-ouverte-texte); }
.c-carte-maison:has(.c-statut--chantier) { border-top-color: var(--wp--preset--color--statut-chantier-texte); }
.c-carte-maison:has(.c-statut--approuvee) { border-top-color: var(--wp--preset--color--statut-approuvee-texte); }
.c-carte-maison:has(.c-statut--projet) { border-top-color: #8A4B08; }

/* Bande « Agir à nos côtés ». */
.c-home__cta.c-strate {
	margin-top: 0;
	padding-top: var(--wp--preset--spacing--30);
	padding-bottom: var(--wp--preset--spacing--50);
}

.c-home__cta .c-dons a {
	display: grid;
	grid-template-columns: 3.5rem 1fr auto;
	align-items: center;
	column-gap: 1.1rem;
	border: 0;
	border-radius: var(--c-rayon);
}

.c-home__cta .c-dons a > strong,
.c-home__cta .c-dons a > span {
	display: block;
	grid-column: 2;
}

.c-home__cta .c-dons a::after {
	grid-column: 3;
	grid-row: 1 / span 2;
}

.c-dons a::before {
	content: "";
	grid-column: 1;
	grid-row: 1 / span 2;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	background: url("assets/pictos/coeur.svg") center / 52% no-repeat, var(--wp--preset--color--don-clair);
}

.c-dons li:nth-child(2) a::before {
	background: url("assets/pictos/document.svg") center / 52% no-repeat, var(--wp--preset--color--prune-clair);
}

.c-dons li:nth-child(3) a::before {
	background: url("assets/pictos/entreprise.svg") center / 52% no-repeat, var(--wp--preset--color--ciel);
}

.c-dons a:hover,
.c-dons a:focus-visible {
	background: var(--wp--preset--color--don-clair);
}

/* Partenaires : chaque logo sur sa pastille blanche. */
.c-carrousel.c-strate {
	padding-top: var(--wp--preset--spacing--30);
}

/* Pied de page : ni filet ni marge, la strate précédente suffit. */
.c-pied {
	margin-top: 0;
	border-top: 0;
}

/* --- Ouvertures de page ------------------------------------------------ */

.c-fiche__entete.c-strate,
.c-liste__entete.c-strate,
.c-page__entete.c-strate {
	max-width: var(--wp--style--global--wide-size);
	padding-top: var(--wp--preset--spacing--40);
	padding-bottom: calc(var(--wp--preset--spacing--40) + var(--strate-vague-h));
}

.c-fiche__entete.c-strate h1,
.c-liste__entete.c-strate h1,
.c-page__entete.c-strate h1 {
	max-width: 22ch;
	margin-top: var(--wp--preset--spacing--20);
	font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.25rem);
	line-height: 1.1;
}

.c-liste__entete.c-strate .c-chapeau,
.c-liste__entete.c-strate .c-liste__intro {
	max-width: 62ch;
}

main > .c-strate--premiere {
	margin-top: 0 !important;
}

/* Page d'orientation : ouverture verte. */
.est-orientation .c-page__entete {
	--strate-fond: var(--wp--preset--color--vert-tendre);
}

/* Fil d'Ariane. */
.c-fil-ariane ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--wp--preset--font-size--small);
}

.c-fil-ariane li + li::before {
	content: "\203A" / "";
	margin-right: 0.5rem;
	color: var(--wp--preset--color--contrast-2);
}

.c-fil-ariane a {
	display: inline-block;
	padding-block: 0.35rem;
}

/* Pastilles : picto rond et texte, sur fond blanc. */
.c-pastilles {
	gap: 0.75rem;
	margin: var(--wp--preset--spacing--30) 0 0;
	padding: 0;
	list-style: none;
}

ul.c-pastilles {
	display: flex;
	flex-wrap: wrap;
}

.c-pastille {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 !important;
	padding: 0.45rem 1.25rem 0.45rem 0.45rem;
	border: 0 !important;
	border-radius: 999px;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	font-weight: 700;
	line-height: 1.3;
}

.c-pastille::before {
	content: "";
	flex: 0 0 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--picto) center / 56% no-repeat, var(--picto-fond, var(--wp--preset--color--ciel));
}

.c-pastille--maison { --picto: url("assets/pictos/maison.svg"); --picto-fond: var(--wp--preset--color--don-clair); }
.c-pastille--places { --picto: url("assets/pictos/places.svg"); --picto-fond: var(--wp--preset--color--ciel); }
.c-pastille--calendrier { --picto: url("assets/pictos/calendrier.svg"); --picto-fond: var(--wp--preset--color--vert-tendre); }
.c-pastille--lieu { --picto: url("assets/pictos/lieu.svg"); --picto-fond: var(--wp--preset--color--ciel); }
.c-pastille--cle { --picto: url("assets/pictos/cle.svg"); --picto-fond: var(--wp--preset--color--vert-tendre); }
.c-pastille--casque { --picto: url("assets/pictos/casque.svg"); --picto-fond: var(--wp--preset--color--ciel); }
.c-pastille--plan { --picto: url("assets/pictos/plan.svg"); --picto-fond: #FDF3E2; }
.c-pastille--document { --picto: url("assets/pictos/document.svg"); --picto-fond: var(--wp--preset--color--prune-clair); }

/* --- Fiche maison, article, événement ---------------------------------- */

.c-fiche__corps.c-strate {
	padding-top: 0;
}

/* L'image à la une passe à cheval sur la courbe. */
.c-fiche__entete.c-strate:has(+ .c-fiche__corps > .wp-block-post-featured-image) {
	padding-bottom: calc(var(--wp--preset--spacing--40) + var(--strate-vague-h) + 9rem);
}

.c-fiche__corps > .c-fiche__image {
	position: relative;
	margin-top: -11rem;
	margin-bottom: var(--wp--preset--spacing--40);
}

.c-fiche__corps > .c-fiche__image img {
	border-radius: 28px;
	box-shadow: 0 20px 50px rgba(20, 33, 61, 0.18);
}

.c-fiche__corps:not(:has(> .wp-block-post-featured-image)) {
	padding-top: var(--wp--preset--spacing--30);
}

.c-article__corps > .c-fiche__image {
	max-width: 54rem;
}

.c-article__corps > .c-fiche__image img {
	width: 100%;
	max-height: 30rem;
	object-fit: cover;
}

.c-fiche__infos {
	margin-top: 0;
	padding: 1.75rem;
	border: 0;
	border-radius: var(--c-rayon);
	background: var(--wp--preset--color--ciel);
}

/* Bouton de l'encart de don : centré dans l'encart (demande de Raphaël). */
.c-appel-don .wp-block-buttons {
	justify-content: center;
}

/* Logo du gestionnaire, en tête du bloc : sur une tuile blanche, pour qu'un
   logo de n'importe quelle couleur reste lisible sur le fond ciel. */
.c-fiche__logo {
	display: flex;
	justify-content: center;
	margin: 0 0 1.25rem;
	padding: 1rem 1.25rem;
	border-radius: calc(var(--c-rayon) * 0.6);
	background: var(--wp--preset--color--base);
}

.c-fiche__logo img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 8rem;
	object-fit: contain;
}

.c-infos li[class*="c-infos__item--"] {
	position: relative;
	min-height: 2.75rem;
	padding-left: 3.6rem;
}

.c-infos li[class*="c-infos__item--"]::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.1rem;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: var(--picto) center / 54% no-repeat, var(--wp--preset--color--base);
}

.c-infos__item--equipe { --picto: url("assets/pictos/equipe.svg"); }
.c-infos__item--lieu { --picto: url("assets/pictos/lieu.svg"); }
.c-infos__item--telephone { --picto: url("assets/pictos/telephone.svg"); }
.c-infos__item--courriel { --picto: url("assets/pictos/courriel.svg"); }
.c-infos__item--lien { --picto: url("assets/pictos/lien.svg"); }
.c-infos__item--calendrier { --picto: url("assets/pictos/calendrier.svg"); }

/* Encart de don dans la colonne : crème, arrondi, un cœur. */
.c-fiche__lateral .c-appel-don,
.c-appel-don {
	border: 0;
	border-radius: var(--c-rayon);
	background: var(--wp--preset--color--creme);
}

/* Galerie de la fiche. */
.c-galerie .wp-block-gallery .wp-block-image img {
	border-radius: 16px;
}

/* Article. */
.c-article__categories a {
	display: inline-block;
	padding: 0.4rem 1.1rem;
	border-radius: 999px;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--prune);
	font-weight: 700;
	text-decoration: none;
}

.c-article__categories a:hover,
.c-article__categories a:focus-visible {
	text-decoration: underline;
}

.c-article__meta {
	gap: 0.5rem 1.5rem;
	margin-top: var(--wp--preset--spacing--20);
}

.c-article__meta > *,
.c-article__lecture {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
}

.c-article__date::before,
.c-article__lecture::before {
	content: "";
	width: 1.25rem;
	height: 1.25rem;
	background: currentColor;
	-webkit-mask: url("assets/pictos/calendrier.svg") center / contain no-repeat;
	mask: url("assets/pictos/calendrier.svg") center / contain no-repeat;
}

.c-article__lecture::before {
	-webkit-mask-image: url("assets/pictos/horloge.svg");
	mask-image: url("assets/pictos/horloge.svg");
}

.c-article__corps blockquote,
.c-fiche__corps blockquote,
.c-page__contenu blockquote {
	margin-block: var(--wp--preset--spacing--30);
	padding: 1.75rem 2rem;
	border: 0;
	border-radius: var(--c-rayon);
	background: var(--wp--preset--color--creme);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.4;
}

.c-encart-orientation {
	position: relative;
	margin-top: var(--wp--preset--spacing--40) !important;
	padding: 1.5rem 1.75rem 1.5rem 5.5rem;
	border-radius: var(--c-rayon);
	background: var(--wp--preset--color--ciel);
}

.c-encart-orientation::before {
	content: "";
	position: absolute;
	left: 1.5rem;
	top: 1.5rem;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: url("assets/pictos/plan.svg") center / 54% no-repeat, var(--wp--preset--color--base);
}

.c-encart-orientation h2 {
	margin: 0 0 0.35rem;
	font-size: var(--wp--preset--font-size--large);
}

.c-encart-orientation p {
	margin: 0;
}

/* --- Cartes de renvoi : autres maisons, à lire aussi ------------------- */

.c-autres-maisons.c-strate,
.c-a-lire-aussi.c-strate {
	padding-top: var(--wp--preset--spacing--30);
}

.c-autres-maisons h2,
.c-a-lire-aussi h2 {
	margin-top: 0.25rem;
}

.c-cartes-liens {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
	gap: 1.5rem;
	margin: var(--wp--preset--spacing--30) 0;
	padding: 0;
	list-style: none;
}

.c-carte-lien {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0;
	border-radius: var(--c-rayon);
	overflow: hidden;
	background: var(--wp--preset--color--base);
	box-shadow: var(--c-ombre);
}

.c-carte-lien img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.c-carte-lien__texte {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1.25rem 1.5rem 1.5rem;
}

.c-carte-lien__texte > * {
	margin: 0;
}

.c-carte-lien h3 {
	font-size: var(--wp--preset--font-size--large);
}

.c-carte-lien h3 a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

/* Toute la carte est cliquable, le lien reste le seul élément focalisable. */
.c-carte-lien h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.c-carte-lien:hover h3 a,
.c-carte-lien h3 a:focus-visible {
	text-decoration: underline;
}

.c-carte-lien:focus-within {
	outline: 3px solid var(--wp--preset--color--focus);
	outline-offset: 2px;
}

/* --- Collection des maisons -------------------------------------------- */

.c-liste__carte.c-strate {
	padding-top: var(--wp--preset--spacing--20);
}

.c-liste__corps.c-strate {
	padding-top: var(--wp--preset--spacing--20);
}

.c-filtres-maisons {
	padding: 1.5rem 1.75rem;
	border: 0;
	border-radius: var(--c-rayon);
	background: var(--wp--preset--color--base-2);
}

/* --- Pages ------------------------------------------------------------- */

.c-page__corps.c-strate {
	padding-top: var(--wp--preset--spacing--20);
}

.c-page__contenu > :where(p, ul, ol, h2, h3, h4, blockquote, .wp-block-buttons) {
	max-width: 46rem;
}

.c-page__contenu > h2:first-child,
.c-page__contenu > p:first-child {
	margin-top: 0;
}

.c-page__corps:has(> .c-sommaire) {
	display: grid;
	grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
	gap: var(--wp--preset--spacing--50);
	align-items: start;
}

.c-page__corps:has(> .c-sommaire) > * {
	margin-block-start: 0;
}

.c-sommaire {
	position: sticky;
	top: 1.5rem;
	padding: 1.5rem;
	border-radius: var(--c-rayon);
	background: var(--wp--preset--color--base-2);
}

.c-sommaire h2 {
	margin: 0 0 0.75rem;
	font-size: var(--wp--preset--font-size--medium);
}

.c-sommaire ol {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin: 0;
	padding-left: 1.3em;
	font-size: var(--wp--preset--font-size--small);
}

/* Sous 1024 px, le sommaire passe au-dessus du texte : à côté, il laisserait
   moins de 30 rem au contenu et un IBAN français n'y tiendrait plus. */
@media (max-width: 1023px) {
	.c-page__corps:has(> .c-sommaire) {
		grid-template-columns: minmax(0, 1fr);
	}

	.c-sommaire {
		position: static;
	}
}

/* Date de vérification : pastille à coche. */
.c-verification {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	max-width: 46rem;
	padding: 0.6rem 1.25rem 0.6rem 0.6rem;
	border: 0;
	border-radius: 28px;
	background: var(--wp--preset--color--vert-tendre);
}

.c-verification::before {
	content: "";
	flex: 0 0 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: url("assets/pictos/coche.svg") center / 56% no-repeat, var(--wp--preset--color--base);
}

.c-verification.is-non-verifiee {
	background: #FDF3E2;
}

.c-verification.is-non-verifiee::before {
	background-image: url("assets/pictos/horloge.svg"), none;
	background-color: var(--wp--preset--color--base);
}

/* --- Bande de don en bas de page --------------------------------------- */

.c-bande-don.c-strate {
	padding-top: var(--wp--preset--spacing--30);
	padding-bottom: var(--wp--preset--spacing--50);
	color: var(--wp--preset--color--base-2);
}

.c-bande-don h2 {
	margin: 0.25rem 0 0.5rem;
	color: var(--wp--preset--color--base);
}

.c-bande-don__contenu {
	gap: var(--wp--preset--spacing--40);
}

.c-bande-don__texte {
	max-width: 46rem;
}

.c-bande-don__texte > * {
	margin-block: 0;
}

/* Le pied de page suit une bande bleu nuit : pas de marge entre les deux. */
.site-footer,
footer.wp-block-template-part {
	margin-top: 0 !important;
}

/* La marge négative de l'image ne doit pas entraîner toute la strate. */
.c-fiche__corps.c-strate {
	display: flow-root;
}

/* Aucun blanc entre l'en-tête du site et la première strate. */
.wp-site-blocks > main {
	margin-block-start: 0;
}

.c-entete {
	border-bottom: 0;
}

/* --- Strates, petit écran ---------------------------------------------- */

@media (max-width: 781px) {
	.c-hero {
		padding-bottom: calc(var(--wp--preset--spacing--40) + 4rem);
	}

	.c-hero__panneau {
		border-radius: 24px;
	}

	.c-hero__panneau .c-logo__picto img {
		width: 48px;
		height: 48px;
	}

	.c-hero__panneau .c-logo__nom {
		font-size: 0.8rem;
	}

	.c-hero__panneau .c-logo__nom--fr {
		font-size: 0.83rem;
	}

	.c-hero__panneau .c-logo__forme {
		font-size: 0.5rem;
	}

	.c-bande-chiffres .c-chiffres {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.75rem;
		margin-top: -4rem;
	}

	.c-chiffres li.c-chiffre {
		padding: 1rem;
	}

	.c-fiche__entete.c-strate:has(+ .c-fiche__corps > .wp-block-post-featured-image) {
		padding-bottom: calc(var(--wp--preset--spacing--30) + var(--strate-vague-h) + 4rem);
	}

	.c-fiche__corps > .c-fiche__image {
		margin-top: -5rem;
	}

	.c-fiche__corps > .c-fiche__image img {
		border-radius: 20px;
	}

	.c-encart-orientation {
		padding: 5rem 1.25rem 1.25rem;
	}

	.c-encart-orientation::before {
		left: 1.25rem;
		top: 1.25rem;
	}

	.c-verification {
		align-items: flex-start;
		border-radius: 20px;
	}
}

ul.c-publics {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Les pages en strates vont bord à bord : plus de marge haute ni basse sur main. */
main:has(> .c-strate) {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* --- Retouches du 17 septembre 2026 (soir) ------------------------------ */

/* Carte ouverte d'emblée : le bouton « Masquer la carte » ne sert à rien, il
   disparaît. Il ne reste que là où la carte attend un geste : sur l'accueil
   en petit écran, où il dit « Afficher la carte » puis s'efface une fois la
   carte ouverte (au-delà de 781 px seulement, pour ne pas faire perdre le
   focus à quelqu'un qui vient de l'activer au clavier sur mobile). */
.c-carte__geo.is-ouverte:not([data-fermee-mobile]) .c-carte__facade[aria-expanded="true"] {
	display: none;
}

@media (min-width: 782px) {
	.c-carte__geo.is-ouverte .c-carte__facade[aria-expanded="true"] {
		display: none;
	}
}

/* Actualités de l'accueil : trois cartes compactes sur une ligne. */
.c-actus__grille {
	gap: 1.5rem;
}

.c-actus__grille .c-actu__titre {
	font-size: var(--wp--preset--font-size--large);
}

.c-actus__grille .c-actu__resume {
	font-size: var(--wp--preset--font-size--small);
}

@media (max-width: 781px) {
	.c-actus__grille {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

/* --- Retouches du 18 septembre 2026 ------------------------------------- */

/* Strate pêche : l'orange clair du logo. Bleu nuit dessus : 13,1:1. L'ambre
   n'y passe pas (4,1:1) : le surtitre y est en prune (9,9:1). */
.c-strate--peche {
	--strate-fond: var(--wp--preset--color--don-clair);
	--strate-vague: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1440 96%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M0 34C240 4 480 70 760 40S1240 6 1440 36V96H0z%22 fill=%22%23FFE4D0%22 opacity=%22.45%22/%3E%3Cpath d=%22M0 54C300 22 560 92 860 58S1280 28 1440 60V96H0z%22 fill=%22%23FFE4D0%22 opacity=%22.75%22/%3E%3Cpath d=%22M0 74C320 48 620 100 920 76S1300 56 1440 80V96H0z%22 fill=%22%23FFE4D0%22/%3E%3C/svg%3E");
}

.c-strate--peche .c-surtitre,
.c-strate--peche .c-surtitre a {
	color: var(--wp--preset--color--prune);
}


/* Liste de l'accueil : le badge toujours sur sa propre ligne. Selon la
   longueur du nom, il passait tantôt à côté, tantôt dessous : les trois
   entrées ont maintenant la même hauteur. */
.c-home__maisons .c-carte__item .c-carte__statut {
	flex-basis: 100%;
	margin-left: 0;
}

/* Les trois entrées ont le même remplissage : le thème retirait celui du
   haut à la première et celui du bas à la dernière, d'où un badge collé au
   filet sous la troisième maison. */
.c-home__maisons .c-carte__liste li.wp-block-post,
.c-home__maisons .c-carte__liste li.wp-block-post:first-child,
.c-home__maisons .c-carte__liste li.wp-block-post:last-child {
	padding-top: var(--wp--preset--spacing--20) !important;
	padding-bottom: var(--wp--preset--spacing--20) !important;
}

/* Encart de chiffres (Notre impact) : mêmes cartes à picto que l'accueil. */
.c-chiffre--maisons-projet { --picto: url("assets/pictos/plan.svg"); --picto-fond: #FDF3E2; }
.c-chiffre--maisons-projet .c-chiffre__valeur { color: #8A4B08; }

.c-chiffres-encart .c-chiffres {
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 1.1rem;
	max-width: none;
	margin-top: var(--wp--preset--spacing--30);
	padding: 0;
}

.c-chiffres-encart {
	padding: 0;
	border: 0;
	background: none;
}

@media (max-width: 781px) {
	.c-chiffres-encart .c-chiffres {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.75rem;
	}
}

/* La première carte perdait son remplissage du haut (une règle générale sur
   le premier élément d'une liste) : son pictogramme remontait. */
.c-chiffres li.c-chiffre:first-child {
	padding-top: 1.25rem;
}

/* Grand écran : tous les chiffres sur une seule ligne, quel que soit leur
   nombre (demande de Raphaël, 16 novembre 2026). Les cartes se resserrent. */
@media (min-width: 1100px) {
	.c-chiffres-encart .c-chiffres {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: minmax(0, 1fr);
		gap: 0.75rem;
	}

	.c-chiffres-encart .c-chiffres li.c-chiffre,
	.c-chiffres-encart .c-chiffres li.c-chiffre:first-child {
		padding: 1.1rem 0.9rem 1.2rem;
	}

	.c-chiffres-encart .c-chiffres li.c-chiffre .c-chiffre__valeur {
		font-size: clamp(2rem, 3vw, 2.6rem);
	}

	.c-chiffres-encart .c-chiffres li.c-chiffre .c-chiffre__libelle {
		font-size: 0.9rem;
		line-height: 1.3;
	}
}

/* Dans une page, le mur des partenaires s'aligne à gauche comme le reste. */
.c-page__contenu .c-partenaires > * {
	max-width: none;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* Fil d'Ariane : tous les éléments sur la même ligne de base. Les liens
   avaient un remplissage vertical que la page courante n'avait pas. */
.c-fil-ariane ol {
	align-items: center;
}

.c-fil-ariane li {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding-block: 0.35rem;
	line-height: 1.4;
}

.c-fil-ariane a {
	display: inline;
	padding-block: 0;
}

.c-fil-ariane li + li::before {
	line-height: 1;
}

/* Le motif de constellation ne doit jamais passer derrière du texte : sur
   écran étroit il se réduit au coin, puis disparaît. */
@media (max-width: 1100px) {
	.c-strate--premiere::after {
		background:
			url("assets/pictos/ciel.svg") right -2rem top 0.25rem / 300px auto no-repeat,
			var(--strate-fond);
	}

	.c-fil-ariane {
		max-width: calc(100% - 240px);
	}
}

@media (max-width: 781px) {
	.c-strate--premiere::after {
		background: var(--strate-fond);
	}

	.c-fil-ariane {
		max-width: none;
	}
}

/* --- Cartes entièrement cliquables ------------------------------------- */

/* Maisons, actualités, événements : le lien du titre couvre toute la carte,
   miniature comprise. Un seul lien par carte pour le clavier et les lecteurs
   d'écran, au lieu d'une image-lien muette en double du titre. Les autres
   liens de la carte (rubrique, inscription) passent au-dessus et restent
   cliquables. */
.c-carte-maison,
.c-actu,
.c-evt {
	position: relative;
}

.c-carte-maison .wp-block-post-title a::after,
.c-actu .wp-block-post-title a::after,
.c-evt .wp-block-post-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.c-carte-maison a:not(.wp-block-post-title a),
.c-actu a:not(.wp-block-post-title a),
.c-evt a:not(.wp-block-post-title a) {
	position: relative;
	z-index: 2;
}

.c-carte-maison,
.c-actu,
.c-evt,
.c-carte-lien {
	cursor: pointer;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.c-carte-maison:hover,
.c-actu:hover,
.c-evt:hover,
.c-carte-lien:hover {
	box-shadow: 0 14px 36px rgba(20, 33, 61, 0.16);
}

.c-carte-maison:hover .wp-block-post-title a,
.c-actu:hover .wp-block-post-title a,
.c-evt:hover .wp-block-post-title a {
	text-decoration: underline;
}

/* Le focus se voit sur toute la carte, pas seulement sur le titre. */
.c-carte-maison:focus-within,
.c-actu:focus-within,
.c-evt:focus-within {
	outline: 3px solid var(--wp--preset--color--focus);
	outline-offset: 2px;
}

.c-carte-maison .wp-block-post-title a:focus-visible,
.c-actu .wp-block-post-title a:focus-visible,
.c-evt .wp-block-post-title a:focus-visible {
	outline: none;
}

@media (prefers-reduced-motion: reduce) {
	.c-carte-maison,
	.c-actu,
	.c-evt,
	.c-carte-lien {
		transition: none;
	}
}

/* --- Cartes d'événement : même dessin que les cartes d'actualité -------- */

/* La carte d'événement était une colonne flexible : la date s'y centrait et
   les écarts différaient. Même boîte, mêmes marges, même date grise, même
   titre que .c-actu. Le badge « À venir » et le lieu sont les seuls ajouts. */
.c-evt {
	display: block;
	height: 100%;
}

.c-evt > * {
	max-width: none !important;
	margin: 0 !important;
}

.c-evt > .wp-block-post-featured-image {
	margin: 0 0 0.75rem !important;
}

.c-evt__badge {
	margin-bottom: 0.4rem !important;
}

.c-evt__date {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 400;
	color: var(--wp--preset--color--contrast-2);
}

.c-evt__titre {
	margin-top: var(--wp--preset--spacing--10) !important;
	font-size: var(--wp--preset--font-size--large);
}

.c-evt__lieu {
	margin-top: 0.25rem !important;
}

.c-evt__resume {
	margin-top: var(--wp--preset--spacing--10) !important;
}

/* Vignette marquée « entière » dans la médiathèque : jamais rognée. */
.c-actu img.est-entiere,
.c-evt img.est-entiere,
.c-carte-maison img.est-entiere,
.c-carte-lien img.est-entiere {
	object-fit: contain !important;
	background: var(--wp--preset--color--base-2);
}

/* --- Menu : de l'air à gauche des libellés ------------------------------ */

/* Le cœur de WordPress remet à zéro le remplissage des liens de navigation
   avec un sélecteur plus précis que le nôtre : on le redonne explicitement.
   Barre du haut : le même retrait pour les liens et pour le bouton du
   sous-menu. Sous-menu : les lignes ne collent plus au bord du panneau. */
.c-entete__menu .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	padding-inline: 0.6rem !important;
}

.c-entete__menu .wp-block-navigation__container {
	gap: 0.5rem;
}

.c-entete__menu .wp-block-navigation__submenu-container {
	padding: 0.5rem !important;
	border-radius: 16px;
}

.c-entete__menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 0.35rem 1.1rem !important;
	border-radius: 10px;
}

.c-entete__menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.c-entete__menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
	background: var(--wp--preset--color--base-2);
}

/* Menu ouvert en petit écran : même retrait pour les sous-entrées. */
.c-entete__menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	padding: 0 0 0 1rem !important;
	border-radius: 0;
}

/* La première entrée reste alignée sur le logo malgré son retrait, et le
   chevron du sous-menu ne colle pas au libellé. */
@media (min-width: 1024px) {
	.c-entete__menu .wp-block-navigation__container {
		margin-left: -0.6rem;
	}
}

.c-entete__menu .has-child > .wp-block-navigation-item__content {
	padding-right: 0 !important;
}

.c-entete__menu .has-child > .wp-block-navigation__submenu-icon {
	margin-left: -0.25rem !important;
	margin-right: 0.3rem;
}

/* ==========================================================================
   26. Sélecteur de langue
   Bloc de Polylang, en haut à droite de l'en-tête. Noms de langue en toutes
   lettres, chacun dans sa langue (attribut lang posé par Polylang, donc bien
   prononcé), pas de drapeaux : un drapeau désigne un pays, pas une langue.
   La langue courante est soulignée et porte aria-current : jamais la couleur
   seule. Cibles de 44 px.
   ========================================================================== */

nav:has(> .wp-block-polylang-language-switcher),
.c-langues,
.c-entete__outils {
	margin-left: auto;
}

/* La loupe de la recherche et le sélecteur, côte à côte. */
.c-entete__outils {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.c-entete__outils .c-langues {
	margin-left: 0;
}

.wp-block-polylang-language-switcher {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--wp--preset--font-size--small);
}

.wp-block-polylang-language-switcher li {
	margin: 0;
}

/* Polylang Pro 3.9 a changé le balisage : les classes sont sur le nav, la
   liste est dedans, et son style par défaut l'empile (pll-layout-vertical).
   Les trois langues restent sur une ligne, quel que soit le balisage. */
nav.wp-block-polylang-language-switcher {
	display: block;
	width: auto;
}

nav.wp-block-polylang-language-switcher > ul {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wp-block-polylang-language-switcher a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 0.75rem;
	border-radius: 999px;
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
	text-underline-offset: 6px;
	text-decoration-thickness: 2px;
}

.wp-block-polylang-language-switcher a:hover,
.wp-block-polylang-language-switcher a:focus-visible {
	background: var(--wp--preset--color--base-2);
	text-decoration: underline;
}

.wp-block-polylang-language-switcher .current-lang a {
	color: var(--wp--preset--color--primary);
	font-weight: 700;
	text-decoration: underline;
}

/* Petit écran : le sélecteur passe sous la marque, aligné à gauche. */
@media (max-width: 600px) {
	nav:has(> .wp-block-polylang-language-switcher),
	.c-langues,
	.c-entete__outils {
		order: 3;
		flex-basis: 100%;
		margin-left: -0.75rem;
	}

	.c-entete__outils {
		margin-left: 0;
	}

	.c-entete__outils .c-langues {
		flex-basis: auto;
		margin-left: 0;
	}

	/* Loupe et trois langues sur une ligne de 375 px. */
	.c-entete__outils {
		gap: 0.25rem;
	}

	.c-entete__outils .wp-block-polylang-language-switcher,
	.c-entete__outils nav.wp-block-polylang-language-switcher > ul {
		gap: 0;
	}

	.c-entete__outils .wp-block-polylang-language-switcher a {
		padding: 0 0.4rem;
		font-size: 0.875rem;
	}
}

/* Drapeaux du sélecteur de langue (demande de Raphaël). Décoratifs : le nom de
   la langue est écrit à côté, c'est lui qui porte l'information. Le drapeau
   belge vaudrait pour le français et le néerlandais à la fois : le sélecteur
   emploie donc les drapeaux français, néerlandais et britannique. */
.wp-block-polylang-language-switcher img {
	display: block;
	border-radius: 1px;
	box-shadow: 0 0 0 1px rgba(20, 33, 61, 0.25);
}

/* ==========================================================================
   27. En-tête : marque cliquable en capitales, mise en page mobile
   ========================================================================== */

/* Nom du site : lien vers l'accueil, en capitales. Les capitales sont posées
   en CSS : le texte reste « Constellations a.s.b.l. » pour les lecteurs
   d'écran et les moteurs de recherche. */
.c-entete__nom,
.c-entete__nom a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.c-entete__nom a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

.c-entete__nom a:hover,
.c-entete__nom a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 5px;
	text-decoration-thickness: 2px;
}

/* L'entrée « Faire un don » du menu n'existe que dans le menu ouvert. */
.c-entete__menu .c-menu__don {
	display: none;
}

.c-entete__menu .is-menu-open .c-menu__don {
	display: block;
	margin-top: var(--wp--preset--spacing--20);
}

.c-entete__menu .is-menu-open .c-menu__don .wp-block-navigation-item__content {
	display: inline-flex;
	justify-content: center;
	min-height: 48px;
	padding: 0.6rem 1.5rem !important;
	border-radius: 999px;
	background: var(--wp--preset--color--don);
	color: var(--wp--preset--color--contrast);
	font-weight: 700;
	text-decoration: none;
}

.c-entete__menu .is-menu-open .c-menu__don .wp-block-navigation-item__content:hover,
.c-entete__menu .is-menu-open .c-menu__don .wp-block-navigation-item__content:focus-visible {
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
}

/* Sous 600 px : logo et nom à gauche, bouton du menu en haut à droite sur la
   même ligne, sélecteur de langue dessous. Le bouton de don quitte l'en-tête
   pour le menu. */
@media (max-width: 599px) {
	.c-entete__barre {
		flex-wrap: wrap;
		align-items: center;
		gap: 0.25rem 0.75rem;
	}

	.c-entete__marque {
		flex: 1 1 0;
		min-width: 0;
		gap: 0.6rem;
	}

	.c-entete__logo img {
		width: 44px;
		height: 44px;
	}

	.c-entete__nom {
		font-size: 1rem;
		line-height: 1.15;
	}

	.c-entete__actions {
		flex: 0 0 auto;
		order: 2;
		margin-left: auto;
	}

	.c-entete__don {
		display: none !important;
	}

	/* Le logo garde sa taille : c'est le nom qui se replie si la place manque. */
	.c-entete__logo {
		flex: 0 0 44px;
	}

	.c-entete__nom {
		min-width: 0;
		overflow-wrap: anywhere;
	}
}

/* Dès 600 px le bouton de don reste dans l'en-tête : pas de doublon dans le menu. */
@media (min-width: 600px) {
	.c-entete__menu .is-menu-open .c-menu__don {
		display: none;
	}
}

/* ==========================================================================
   28. Réseaux sociaux
   Bloc natif de WordPress : logo et nom du réseau dans une pastille, cible de
   44 px. Logo aux couleurs du réseau (3:1 au moins sur blanc), nom en bleu
   nuit : le nom porte l'information, le logo l'accompagne.
   ========================================================================== */

.c-reseaux__titre {
	margin: 0 0 0.6rem;
}

.c-reseaux .wp-block-social-links {
	gap: 0.6rem;
	margin: 0;
	padding: 0;
}

.c-reseaux .wp-social-link {
	margin: 0;
	border-radius: 999px;
	background: var(--wp--preset--color--base) !important;
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--contrast-3);
	transition: none;
	transform: none !important;
}

.c-reseaux .wp-social-link a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 44px;
	padding: 0 1.1rem 0 0.85rem;
	color: var(--wp--preset--color--contrast) !important;
	font-weight: 700;
	text-decoration: none;
}

.c-reseaux .wp-social-link svg {
	width: 1.4rem;
	height: 1.4rem;
}

.c-reseaux .wp-social-link-linkedin svg { fill: #0A66C2 !important; }
.c-reseaux .wp-social-link-facebook svg { fill: #0866FF !important; }

.c-reseaux .wp-social-link .wp-block-social-link-label {
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
}

.c-reseaux .wp-social-link a:hover,
.c-reseaux .wp-social-link a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.c-reseaux .wp-social-link:hover {
	background: var(--wp--preset--color--base-2) !important;
}

.c-pied__reseaux {
	margin-top: var(--wp--preset--spacing--40);
}

/* Une page qui porte déjà le bloc dans son contenu (Contact) ne le répète pas
   dans le pied de page. */
body:has(main .c-reseaux) .c-pied__reseaux {
	display: none;
}

/* Réseaux sociaux en logos seuls : pastilles rondes de 44 px. YouTube en rouge
   (4,0:1 sur blanc, au-dessus des 3:1 demandés à un élément graphique). */
.c-reseaux .wp-social-link-youtube svg { fill: #FF0000 !important; }

.c-reseaux--logos .wp-social-link a {
	justify-content: center;
	width: 44px;
	min-height: 44px;
	padding: 0;
}

.c-reseaux--logos .wp-social-link svg {
	width: 1.5rem;
	height: 1.5rem;
}

/* Sous la mosaïque de l'accueil : troisième rangée, sur toute la largeur. */
.c-hero__mosaique {
	grid-template-rows: 220px 220px auto;
}

.c-hero__mosaique > .c-reseaux--logos {
	grid-column: 1 / -1;
	display: flex;
	justify-content: flex-end;
}

@media (max-width: 781px) {
	.c-hero__mosaique {
		grid-template-rows: 160px 160px auto;
	}

	.c-hero__mosaique > .c-reseaux--logos {
		justify-content: flex-start;
	}
}

/* L'accueil les montre déjà en haut : le pied de page ne les répète pas. */
body.home .c-pied__reseaux {
	display: none;
}

/* Logos seuls : ni pastille, ni pourtour (demande de Raphaël). La cible reste
   de 44 px, invisible ; le focus clavier garde son contour. */
.c-reseaux--logos .wp-block-social-links {
	gap: 0.25rem;
}

.c-reseaux--logos .wp-social-link,
.c-reseaux--logos .wp-social-link:hover {
	width: 44px;
	height: 44px;
	border-radius: 8px;
	background: none !important;
	box-shadow: none;
}

.c-reseaux--logos .wp-social-link a {
	width: 44px;
	height: 44px;
	border-radius: 8px;
}

.c-reseaux--logos .wp-social-link svg {
	width: 2rem;
	height: 2rem;
	transition: transform 0.15s ease;
}

.c-reseaux--logos .wp-social-link a:hover svg,
.c-reseaux--logos .wp-social-link a:focus-visible svg {
	transform: scale(1.12);
}

@media (prefers-reduced-motion: reduce) {
	.c-reseaux--logos .wp-social-link svg {
		transition: none;
	}

	.c-reseaux--logos .wp-social-link a:hover svg,
	.c-reseaux--logos .wp-social-link a:focus-visible svg {
		transform: none;
	}
}

/* Grande photo de l'ouverture : cadrage sur les visages, sous l'arche. */
.c-hero__photo--haute img {
	object-position: 50% 35%;
}

/* ==========================================================================
   29. Recherche : la loupe de l'en-tête, le panneau, la page de résultats
   ========================================================================== */

.c-loupe {
	flex: none;
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 2px solid var(--wp--preset--color--contrast-3);
	border-radius: 50%;
	background: transparent;
	color: var(--wp--preset--color--contrast);
	cursor: pointer;
}

.c-loupe:hover,
.c-loupe[aria-expanded="true"] {
	border-color: var(--wp--preset--color--contrast);
	background: var(--wp--preset--color--creme);
}

.c-loupe[hidden] {
	display: none;
}

.c-loupe svg,
.c-recherche__champ svg {
	width: 1.25rem;
	height: 1.25rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.4;
	stroke-linecap: round;
	flex: none;
}

html.c-recherche-ouverte {
	overflow: hidden;
}

.c-recherche {
	position: fixed;
	inset: 0;
	z-index: 100;
}

.c-recherche[hidden] {
	display: none;
}

.c-recherche__voile {
	position: absolute;
	inset: 0;
	background: rgba(20, 33, 61, 0.55);
}

.c-recherche__panneau {
	position: relative;
	margin: 5rem auto 0;
	width: min(760px, calc(100% - 2rem));
	max-height: calc(100dvh - 7rem);
	display: flex;
	flex-direction: column;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	border-radius: var(--c-rayon, 20px);
	box-shadow: 0 24px 60px rgba(20, 33, 61, 0.35);
	overflow: hidden;
}

.c-recherche__tete {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 1rem;
	border-bottom: 1px solid var(--wp--preset--color--contrast-3);
}

.c-recherche__champ {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
	color: var(--wp--preset--color--contrast-2);
}

.c-recherche__champ input[type="search"] {
	flex: 1;
	min-width: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: 1.125rem;
	color: var(--wp--preset--color--contrast);
}

.c-recherche__tete .c-recherche__champ input:focus-visible {
	outline: none;
}

.c-recherche__tete .c-recherche__champ:focus-within {
	box-shadow: inset 0 -3px 0 var(--wp--preset--color--don);
}

.c-recherche__fermer {
	flex: none;
	min-height: 44px;
	padding: 0.4rem 0.9rem;
	border: 2px solid var(--wp--preset--color--contrast-3);
	border-radius: 999px;
	background: none;
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--wp--preset--color--contrast);
	cursor: pointer;
}

.c-recherche__compte,
.c-resultats__compte {
	margin: 0;
	padding: 0.75rem 1.25rem 0;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--wp--preset--color--contrast-2);
}

.c-recherche__compte:empty,
.c-resultats__compte:empty {
	display: none;
}

.c-recherche__resultats {
	list-style: none;
	margin: 0;
	padding: 0.5rem 0.75rem 0.75rem;
	overflow-y: auto;
}

.c-recherche__resultats:empty,
.c-recherche__resultats[hidden] {
	display: none;
}

.c-recherche__resultats li {
	margin: 0;
}

.c-recherche__resultats a {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 0.9rem;
	align-items: center;
	padding: 0.6rem 0.75rem;
	border-radius: 14px;
	text-decoration: none;
	color: var(--wp--preset--color--contrast);
}

.c-recherche__resultats a:hover,
.c-recherche__resultats a:focus-visible {
	background: var(--wp--preset--color--creme);
}

.c-recherche__resultats img,
.c-recherche__sans-image {
	display: block;
	width: 96px;
	height: 72px;
	object-fit: cover;
	border-radius: 10px;
	background: var(--wp--preset--color--ciel);
}

.c-recherche__texte {
	display: grid;
	gap: 0.15rem;
	min-width: 0;
}

.c-recherche__type {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--prune);
}

.c-recherche__titre {
	font-weight: 700;
	line-height: 1.25;
}

.c-recherche__extrait {
	font-size: 0.9375rem;
	line-height: 1.4;
	color: var(--wp--preset--color--contrast-2);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.c-recherche mark,
.c-resultats mark {
	background: var(--wp--preset--color--don-clair);
	color: inherit;
	border-radius: 3px;
	padding: 0 1px;
}

.c-recherche__vide {
	padding: 1rem 1.25rem;
}

.c-recherche__vide p {
	margin: 0;
}

.c-recherche__pied {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 0.5rem 1rem;
	padding: 0.75rem 1.25rem;
	border-top: 1px solid var(--wp--preset--color--contrast-3);
	background: var(--wp--preset--color--creme);
	font-size: 0.9375rem;
}

.c-recherche__idees button {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-weight: 700;
	color: var(--wp--preset--color--contrast);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.c-recherche__idees[hidden],
.c-recherche__tous[hidden],
.c-recherche__vide[hidden] {
	display: none;
}

.c-recherche__tous {
	font-weight: 700;
}

input[type="search"]::-webkit-search-cancel-button {
	display: none;
}

/* La page de résultats. */
.c-resultats__formulaire .c-recherche__champ {
	max-width: 720px;
	padding: 0.5rem 0.75rem 0.5rem 1.1rem;
	border: 2px solid var(--wp--preset--color--contrast);
	border-radius: 999px;
	background: var(--wp--preset--color--base);
}

.c-resultats__formulaire .c-recherche__champ:focus-within {
	outline: 3px solid var(--wp--preset--color--focus);
	outline-offset: 2px;
}

.c-resultats__formulaire input[type="search"]:focus-visible {
	outline: none;
}

.c-recherche__bouton {
	flex: none;
	min-height: 44px;
	padding: 0.5rem 1.1rem;
	border: 0;
	border-radius: 999px;
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.c-resultats__formulaire .c-resultats__compte {
	padding: 1rem 0 0;
}

.c-resultats__formulaire .c-recherche__resultats {
	padding: 1rem 0 0;
	margin: 0 -0.75rem;
}

.c-resultats__natif[hidden] {
	display: none;
}

.c-resultats__item + .c-resultats__item {
	margin-top: var(--wp--preset--spacing--30);
	padding-top: var(--wp--preset--spacing--30);
	border-top: 1px solid var(--wp--preset--color--contrast-3);
}

@media (max-width: 600px) {
	.c-recherche__panneau {
		margin-top: 0.75rem;
		width: calc(100% - 1rem);
		max-height: calc(100dvh - 1.5rem);
	}

	.c-recherche__resultats a {
		grid-template-columns: 72px minmax(0, 1fr);
		gap: 0.7rem;
	}

	.c-recherche__resultats img,
	.c-recherche__sans-image {
		width: 72px;
		height: 54px;
	}

	.c-recherche__bouton {
		padding-inline: 0.8rem;
	}
}

@media print {
	.c-loupe,
	.c-recherche {
		display: none;
	}
}

/* ==========================================================================
   30. Assistant : la bulle et le panneau
   ========================================================================== */

.c-assistant {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 90;
}

.c-assistant[hidden],
.c-assistant [hidden] {
	display: none !important;
}

.c-assistant__bulle {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	min-height: 48px;
	padding: 0.6rem 1.1rem 0.6rem 0.9rem;
	border: 2px solid var(--wp--preset--color--base);
	border-radius: 999px;
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(20, 33, 61, 0.28);
}

.c-assistant__bulle:hover,
.c-assistant__bulle[aria-expanded="true"] {
	background: var(--wp--preset--color--prune);
}

.c-assistant__bulle svg,
.c-assistant__fermer svg {
	width: 1.3rem;
	height: 1.3rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex: none;
}

.c-assistant__panneau {
	position: absolute;
	right: 0;
	bottom: calc(100% + 0.75rem);
	width: min(400px, calc(100vw - 2rem));
	max-height: min(640px, calc(100dvh - 6.5rem));
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	border: 1px solid var(--wp--preset--color--contrast-3);
	border-radius: var(--c-rayon, 20px);
	box-shadow: 0 18px 48px rgba(20, 33, 61, 0.25);
}

.c-assistant__tete {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.85rem 0.85rem 0.85rem 1.1rem;
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
}

.c-assistant__titre {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.25;
	color: inherit;
}

.c-assistant__picto {
	flex: none;
	width: auto;
	height: 2.25rem;
	border-radius: 4px;
}

/* Agrandir : deux fois plus large, toute la hauteur disponible (grand écran). */
.c-assistant__agrandir,
.c-assistant__fermer {
	flex: none;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: inherit;
	cursor: pointer;
}

.c-assistant__agrandir:hover,
.c-assistant__fermer:hover {
	background: rgba(255, 255, 255, 0.24);
}

.c-assistant__agrandir svg {
	width: 1.15rem;
	height: 1.15rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.c-assistant__moins,
.est-grand .c-assistant__plus {
	display: none;
}

.est-grand .c-assistant__moins {
	display: block;
}

.est-grand .c-assistant__panneau {
	width: min(800px, calc(100vw - 2rem));
	height: min(900px, calc(100dvh - 6.5rem));
	max-height: none;
}

.c-assistant__messages {
	flex: 1;
	min-height: 12rem;
	overflow-y: auto;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	background: var(--wp--preset--color--creme);
}

.c-assistant__message {
	max-width: 90%;
	padding: 0.65rem 0.9rem;
	border-radius: 14px;
	font-size: 0.9375rem;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.c-assistant__message p,
.c-assistant__message ul,
.c-assistant__message ol {
	margin: 0 0 0.45rem;
	font-size: inherit;
}

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

.c-assistant__message ul,
.c-assistant__message ol {
	padding-left: 1.2rem;
}

.c-assistant__message a {
	color: var(--wp--preset--color--contrast);
	font-weight: 700;
	text-decoration-thickness: 2px;
	text-underline-offset: 2px;
}

.c-assistant__message--assistant {
	align-self: flex-start;
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--contrast-3);
	border-bottom-left-radius: 4px;
}

.c-assistant__message--user {
	align-self: flex-end;
	background: var(--wp--preset--color--ciel);
	border-bottom-right-radius: 4px;
	white-space: pre-wrap;
}

.c-assistant__message--erreur {
	border-color: var(--wp--preset--color--prune);
}

.c-assistant__message--attente {
	color: var(--wp--preset--color--contrast-2);
	letter-spacing: 0.2em;
	animation: c-attente 1.2s ease-in-out infinite;
}

@keyframes c-attente {
	50% { opacity: 0.35; }
}

/* Champ piège pour les robots : hors écran, hors tabulation, hors arbre d'accessibilité. */
.c-assistant__piege {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.c-assistant__saisie {
	position: relative;
	display: flex;
	align-items: flex-end;
	gap: 0.5rem;
	padding: 0.7rem;
	border-top: 1px solid var(--wp--preset--color--contrast-3);
}

.c-assistant__saisie textarea {
	flex: 1;
	min-width: 0;
	resize: none;
	font: inherit;
	font-size: 0.9375rem;
	line-height: 1.4;
	padding: 0.55rem 0.75rem;
	border: 2px solid var(--wp--preset--color--contrast-3);
	border-radius: 12px;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
}

.c-assistant__envoyer {
	flex: none;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--wp--preset--color--don);
	color: var(--wp--preset--color--contrast);
	cursor: pointer;
}

.c-assistant__envoyer:hover {
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
}

.c-assistant__envoyer:disabled {
	opacity: 0.5;
	cursor: wait;
}

.c-assistant__envoyer svg {
	width: 1.2rem;
	height: 1.2rem;
	fill: currentColor;
}

.c-assistant__mention,
.c-assistant__actions {
	margin: 0;
	padding: 0 0.9rem 0.6rem;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: var(--wp--preset--color--contrast-2);
}

.c-assistant__mention a,
.c-assistant__actions button {
	color: var(--wp--preset--color--contrast);
}

.c-assistant__actions button {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

.c-pied__assistant {
	margin-left: 0.75rem;
}

@media (max-width: 640px) {
	.c-assistant {
		right: 0.75rem;
		bottom: 0.75rem;
	}

	.c-assistant__bulle span {
		display: none;
	}

	.c-assistant__bulle {
		width: 56px;
		height: 56px;
		padding: 0;
		justify-content: center;
	}

	.c-assistant__panneau,
	.est-grand .c-assistant__panneau {
		position: fixed;
		left: 0.5rem;
		right: 0.5rem;
		bottom: 4.75rem;
		width: auto;
		height: auto;
		max-height: calc(100dvh - 5.75rem);
	}

	.c-assistant__agrandir {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.c-assistant__message--attente {
		animation: none;
	}
}

@media print {
	.c-assistant {
		display: none;
	}
}

/* ==========================================================================
   31. Témoignages : photo ou vidéo, citation, prénom (pattern temoignage)
   ========================================================================== */

.c-temoignages {
	margin-block: var(--wp--preset--spacing--50);
}

.c-temoignages > h2,
.c-temoignages > .c-temoignages__colonnes {
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	text-align: left;
}

.c-temoignages__colonnes {
	gap: var(--wp--preset--spacing--40);
}

.c-temoignage {
	height: 100%;
	padding: var(--wp--preset--spacing--30);
	border-radius: var(--c-rayon, 20px);
	background: var(--wp--preset--color--creme);
}

.c-temoignage > * {
	max-width: none !important;
	margin-left: 0 !important;
}

.c-temoignage__media {
	margin: 0 0 var(--wp--preset--spacing--30);
}

.c-temoignage__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 14px;
}

/* Sans image choisie, la figure vide ne prend pas de place. */
.c-temoignage__media:empty {
	display: none;
}

.c-temoignage__citation.wp-block-quote {
	margin: 0;
	padding: 0 0 0 1rem;
	border-left: 4px solid var(--wp--preset--color--don);
	font-style: normal;
}

.c-temoignage__citation p {
	font-size: 1.0625rem;
	line-height: 1.5;
}

.c-temoignage__citation cite {
	display: block;
	margin-top: 0.75rem;
	font-style: normal;
	font-weight: 700;
	font-size: 0.9375rem;
	color: var(--wp--preset--color--prune);
}

@media (max-width: 781px) {
	.c-temoignages__colonnes {
		gap: var(--wp--preset--spacing--30);
	}
}

/* ==========================================================================
   32. Logo 2026 : image complète dans le panneau de l'accueil et le pied de page
   ========================================================================== */

.c-hero__logo {
	/* Légèrement remonté dans le panneau (demande de Raphaël, 13 octobre 2026). */
	margin: 0 auto 0.9rem;
	width: min(100%, 210px);
}

.c-hero__logo img {
	display: block;
	width: 100%;
	height: auto;
}

.c-pied__logo {
	margin: 0 0 var(--wp--preset--spacing--20);
	width: 240px;
	max-width: 100%;
}

.c-pied__logo img {
	display: block;
	width: 100%;
	height: auto;
}

/* Le pictogramme de l'en-tête est plus haut que large : même hauteur qu'avant. */
.c-entete__logo img {
	width: auto;
	height: 56px;
}

@media (max-width: 781px) {
	.c-hero__logo {
		width: min(100%, 170px);
	}
}

/* Page Legs : « Nous sommes à votre écoute », texte et portrait côte à côte. */
.c-legs__ecoute {
	gap: var(--wp--preset--spacing--40);
	align-items: flex-start;
}

.c-legs__photo {
	margin: 0;
}

.c-legs__photo img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--c-rayon, 20px);
}

/* ==========================================================================
   33. tarteaucitron.js aux couleurs du site : sobre, deux boutons égaux
   ========================================================================== */

#tarteaucitronRoot * {
	font-family: inherit !important;
}

#tarteaucitronRoot #tarteaucitronAlertBig {
	box-sizing: border-box !important;
	padding: 1rem 1.25rem !important;
	background: var(--wp--preset--color--base) !important;
	color: var(--wp--preset--color--contrast) !important;
	border-top: 2px solid var(--wp--preset--color--contrast) !important;
	box-shadow: 0 -12px 40px rgba(20, 33, 61, 0.18) !important;
	font-size: 0.9375rem !important;
	line-height: 1.5 !important;
}

#tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronDisclaimerAlert,
#tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronDisclaimerAlert strong {
	color: var(--wp--preset--color--contrast) !important;
	font-size: 0.9375rem !important;
}

#tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronPrivacyUrl,
#tarteaucitronRoot #tarteaucitronAlertBig #tarteaucitronPrivacyUrlDialog {
	color: var(--wp--preset--color--contrast) !important;
	text-decoration: underline !important;
	text-underline-offset: 3px !important;
	font-size: 0.9375rem !important;
	background: none !important;
	padding: 0 !important;
	margin-left: 0.5rem !important;
}

/* Les trois boutons : même taille, même poids ; aucun n'est mis en avant. */
#tarteaucitronRoot .tarteaucitronCTAButton,
#tarteaucitronRoot #tarteaucitronCloseAlert {
	min-height: 44px !important;
	margin: 0.5rem 0.25rem 0 !important;
	padding: 0.55rem 1.3rem !important;
	border: 2px solid var(--wp--preset--color--contrast) !important;
	border-radius: 999px !important;
	background: var(--wp--preset--color--base) !important;
	color: var(--wp--preset--color--contrast) !important;
	font-size: 0.9375rem !important;
	font-weight: 700 !important;
	cursor: pointer !important;
}

#tarteaucitronRoot .tarteaucitronCTAButton.tarteaucitronAllow {
	background: var(--wp--preset--color--contrast) !important;
	color: var(--wp--preset--color--base) !important;
}

#tarteaucitronRoot .tarteaucitronCTAButton:hover,
#tarteaucitronRoot .tarteaucitronCTAButton:focus-visible,
#tarteaucitronRoot #tarteaucitronCloseAlert:hover,
#tarteaucitronRoot #tarteaucitronCloseAlert:focus-visible {
	background: var(--wp--preset--color--prune) !important;
	border-color: var(--wp--preset--color--prune) !important;
	color: var(--wp--preset--color--base) !important;
}

#tarteaucitronRoot .tarteaucitronCTAButton:focus-visible,
#tarteaucitronRoot #tarteaucitronCloseAlert:focus-visible,
#tarteaucitronRoot button:focus-visible,
#tarteaucitronRoot a:focus-visible {
	outline: 3px solid var(--wp--preset--color--focus) !important;
	outline-offset: 2px !important;
}

/* Le panneau de détail, même palette. */
#tarteaucitronRoot #tarteaucitron #tarteaucitronClosePanel,
#tarteaucitronRoot #tarteaucitron .tarteaucitronH1,
#tarteaucitronRoot #tarteaucitron .tarteaucitronH2 {
	background: var(--wp--preset--color--contrast) !important;
	color: var(--wp--preset--color--base) !important;
}

#tarteaucitronRoot #tarteaucitron #tarteaucitronServices .tarteaucitronMainLine,
#tarteaucitronRoot #tarteaucitron #tarteaucitronServices .tarteaucitronLine {
	background: var(--wp--preset--color--creme) !important;
	border-color: var(--wp--preset--color--contrast-3) !important;
}

#tarteaucitronRoot #tarteaucitron #tarteaucitronServices .tarteaucitronMainLine .tarteaucitronName,
#tarteaucitronRoot #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronName,
#tarteaucitronRoot #tarteaucitron #tarteaucitronServices .tarteaucitronName a,
#tarteaucitronRoot #tarteaucitron #tarteaucitronServices .tarteaucitronLine span {
	color: var(--wp--preset--color--contrast) !important;
}

#tarteaucitronRoot #tarteaucitron #tarteaucitronServices .tarteaucitronAsk .tarteaucitronAllow,
#tarteaucitronRoot #tarteaucitron #tarteaucitronServices .tarteaucitronAsk .tarteaucitronDeny {
	border-radius: 999px !important;
	font-weight: 700 !important;
}

/* La bulle de l'assistant laisse la place au bandeau. */
body:has(#tarteaucitronAlertBig[style*="display: block"]) .c-assistant {
	bottom: 9.5rem;
}

@media print {
	#tarteaucitronRoot {
		display: none !important;
	}
}

/* ==========================================================================
   34. Notre actualité : l'article rattaché à une maison, sur sa fiche
   (functions.php section 15, oc_notre_actualite_html). Strate prune, la
   couleur d'ouverture des articles. Texte bleu nuit : 13:1 sur #F6EAF0.
   ========================================================================== */

.c-notre-actualite.c-strate {
	padding-top: var(--wp--preset--spacing--30);
}

.c-notre-actualite__article {
	max-width: 56rem;
}

.c-notre-actualite h2 {
	margin-top: 0.25rem;
	scroll-margin-top: 1.5rem; /* cible du renvoi de l'en-tête */
	outline-offset: 4px;
}

.c-notre-actualite__date {
	margin: 0.25rem 0 0;
	font-size: var(--wp--preset--font-size--small);
}

.c-notre-actualite .c-pastilles {
	display: flex;
	flex-wrap: wrap;
	margin-top: var(--wp--preset--spacing--20);
}

.c-notre-actualite__image {
	margin: var(--wp--preset--spacing--30) 0 0;
}

.c-notre-actualite__image img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 28rem;
	object-fit: cover;
	border-radius: 16px;
}

.c-notre-actualite__contenu {
	margin-top: var(--wp--preset--spacing--30);
}

.c-notre-actualite__contenu > :first-child {
	margin-top: 0;
}

.c-notre-actualite__contenu .wp-block-gallery .wp-block-image img {
	border-radius: 16px;
}

.c-notre-actualite__lien {
	margin-top: var(--wp--preset--spacing--30);
}

.c-notre-actualite__precedents {
	max-width: 56rem;
	margin-top: var(--wp--preset--spacing--40);
	padding-top: var(--wp--preset--spacing--30);
	border-top: 1px solid var(--wp--preset--color--contrast-3);
}

.c-notre-actualite__precedents h3 {
	margin: 0 0 0.5rem;
	font-size: var(--wp--preset--font-size--medium);
}

.c-notre-actualite__precedents ul {
	margin: 0;
	padding-left: 1.2em;
}

.c-notre-actualite__precedents time {
	color: var(--wp--preset--color--contrast-2);
	font-size: var(--wp--preset--font-size--small);
}

/* Nom de la maison sur une carte d'actualité et en tête d'article : même
   dessin que la rubrique. Sur une carte, ce lien passe au-dessus de la
   surface cliquable du titre, comme tout lien supplémentaire. */
.c-actu__categorie .c-actu__maison,
.c-article__categories .c-actu__maison {
	position: relative;
	z-index: 2;
}

/* La section « Photos » de l'article garde sa mise en page contrainte :
   dans l'encart, elle s'aligne sur le texte. */
.c-notre-actualite__contenu .c-galerie.has-global-padding {
	padding-left: 0;
	padding-right: 0;
}

.c-notre-actualite__contenu .c-galerie > * {
	max-width: none;
	margin-left: 0;
	margin-right: 0;
}

/* Renvoi en tête de fiche vers l'encart (oc_teaser_actualite_html) : une
   carte blanche sur la strate crème, vignette, surtitre, titre et date ;
   tout le bloc est le lien. Texte bleu nuit, surtitre ambre 4,6:1 sur blanc. */
.c-fiche__entete .c-teaser-actu {
	display: flex;
	align-items: center;
	gap: 1rem;
	max-width: 40rem;
	margin: var(--wp--preset--spacing--30) 0 0;
	padding: 0.75rem;
	border-radius: var(--c-rayon);
	background: var(--wp--preset--color--base);
	box-shadow: var(--c-ombre);
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

.c-teaser-actu__image {
	flex: 0 0 5.5rem;
}

.c-teaser-actu__image img {
	display: block;
	width: 5.5rem;
	height: 4rem;
	object-fit: cover;
	border-radius: 10px;
}

.c-teaser-actu__texte {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.c-teaser-actu__surtitre {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wp--preset--color--secondary);
}

.c-teaser-actu__titre {
	font-weight: 700;
	line-height: 1.3;
}

.c-fiche__entete .c-teaser-actu:hover .c-teaser-actu__titre,
.c-fiche__entete .c-teaser-actu:focus-visible .c-teaser-actu__titre {
	text-decoration: underline;
}

.c-teaser-actu__date {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--contrast-2);
}

/* Flèche vers le bas, dessinée en CSS : doublée par le texte du surtitre. */
.c-teaser-actu__fleche {
	flex: 0 0 2.75rem;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: var(--wp--preset--color--ciel);
	position: relative;
}

.c-teaser-actu__fleche::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 42%;
	width: 0.7rem;
	height: 0.7rem;
	border-right: 3px solid var(--wp--preset--color--contrast);
	border-bottom: 3px solid var(--wp--preset--color--contrast);
	transform: translate(-50%, -50%) rotate(45deg);
}

@media (max-width: 599px) {
	.c-teaser-actu__image {
		display: none;
	}
}

/* ==========================================================================
   35. Page Soutenez-nous : coordonnées bancaires et QR code de virement
   ========================================================================== */

/* L'encart : les informations à gauche, le QR code à droite, sur crème avec
   le liseré orange du don. Sans QR (fondations), une seule colonne. */
/* Coordonnées à gauche, QR à droite ; dès que la colonne des coordonnées
   descendrait sous 16 rem (un IBAN belge entier), le QR passe dessous,
   quelle que soit la largeur de l'écran. */
.c-virement {
	container-type: inline-size;
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	align-items: center;
	margin-block: var(--wp--preset--spacing--30);
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	background: var(--wp--preset--color--creme);
	border: 2px solid var(--wp--preset--color--don);
	border-radius: var(--c-rayon, 20px);
}


.c-virement > * {
	margin-block: 0;
}

ul.c-virement__infos,
.c-virement__texte {
	flex: 1 1 16rem;
	min-width: 0;
	list-style: none;
	padding: 0;
	margin: 0;
}

.c-virement__texte > :first-child {
	margin-top: 0;
}

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

ul.c-virement__infos li {
	margin: 0 0 0.45rem;
	overflow-wrap: anywhere;
}

/* Les valeurs à recopier : même police, plus grandes, sans fond de code.
   Jamais coupées : un IBAN sur deux lignes se recopie mal. Bloc en ligne :
   si la valeur ne tient pas à côté de son libellé, elle passe entière à la
   ligne ; seul un IBAN plus large que l'écran se replie, entre deux groupes
   de quatre, jamais au milieu d'un groupe. */
.c-virement code {
	display: inline-block;
	font-family: inherit;
	font-size: 1.1em;
	font-weight: 700;
	letter-spacing: 0.03em;
	font-variant-numeric: tabular-nums;
	overflow-wrap: normal;
	background: none;
	padding: 0;
	color: inherit;
}

/* Le QR code : carré blanc, coins orange comme sur l'affiche. */
.c-virement__qr {
	flex: 0 0 auto;
	margin: 0 auto;
	text-align: center;
	max-width: 15rem;
}

.c-virement__qr img {
	display: block;
	width: 12rem;
	height: 12rem;
	margin: 0 auto;
	padding: 0.6rem;
	background: #fff;
	border-radius: 14px;
	background-image:
		linear-gradient(var(--wp--preset--color--don), var(--wp--preset--color--don)),
		linear-gradient(var(--wp--preset--color--don), var(--wp--preset--color--don)),
		linear-gradient(var(--wp--preset--color--don), var(--wp--preset--color--don)),
		linear-gradient(var(--wp--preset--color--don), var(--wp--preset--color--don)),
		linear-gradient(var(--wp--preset--color--don), var(--wp--preset--color--don)),
		linear-gradient(var(--wp--preset--color--don), var(--wp--preset--color--don)),
		linear-gradient(var(--wp--preset--color--don), var(--wp--preset--color--don)),
		linear-gradient(var(--wp--preset--color--don), var(--wp--preset--color--don));
	background-repeat: no-repeat;
	background-size: 2rem 3px, 3px 2rem, 2rem 3px, 3px 2rem, 2rem 3px, 3px 2rem, 2rem 3px, 3px 2rem;
	background-position: left top, left top, right top, right top, left bottom, left bottom, right bottom, right bottom;
}

.c-virement .c-virement__qr figcaption {
	margin: 0.6rem 0 0;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.4;
	color: var(--wp--preset--color--contrast);
	text-align: center;
}

/* Encart étroit (volet, tablette, pli indenté) : un IBAN français de
   27 caractères doit encore tenir sur une ligne. */
@container (max-width: 28rem) {
	.c-virement code {
		font-size: 1em;
		letter-spacing: 0.01em;
	}
}

@media (max-width: 640px) {
	.c-virement {
		padding: var(--wp--preset--spacing--30);
	}
}

/* Le modèle de courriel à recopier (Fondation AnBer) : encadré, filet prune. */
.c-courriel {
	margin-block: var(--wp--preset--spacing--30);
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
	border-left: 4px solid var(--wp--preset--color--prune);
	background: var(--wp--preset--color--base-2, #f7f7f7);
	border-radius: 0 var(--c-rayon, 20px) var(--c-rayon, 20px) 0;
}

.c-courriel > p {
	margin-block: 0 0.6rem;
}

.c-courriel > p:last-child {
	margin-bottom: 0;
}

/* Sommaire à deux niveaux : les titres 3 en retrait, plus discrets. */
.c-sommaire ol ol {
	margin-top: 0.4rem;
	gap: 0.35rem;
	padding-left: 1.1em;
	list-style: none;
}

/* ==========================================================================
   36. Plier / déplier : bloc Détails natif, classe c-pli
   Le résumé est un vrai bouton (summary), au clavier et sans JavaScript ;
   le chevron est décoratif, l'état est annoncé par le navigateur.
   ========================================================================== */

.wp-block-details.c-pli {
	margin-block: var(--wp--preset--spacing--30);
	padding: 0;
	border-top: 1px solid rgba(20, 33, 61, 0.22);
	border-bottom: 1px solid rgba(20, 33, 61, 0.22);
}

.wp-block-details.c-pli + .wp-block-details.c-pli {
	margin-top: calc(-1 * var(--wp--preset--spacing--30));
	border-top: 0;
}

.wp-block-details.c-pli > summary {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	min-height: 44px;
	padding: 0.8rem 0.25rem;
	list-style: none;
	cursor: pointer;
	font-weight: 700;
	font-size: var(--wp--preset--font-size--medium);
	color: var(--wp--preset--color--contrast);
	border-radius: 8px;
}

.wp-block-details.c-pli > summary::-webkit-details-marker {
	display: none;
}

.wp-block-details.c-pli > summary::before {
	content: "";
	flex: 0 0 0.65rem;
	width: 0.65rem;
	height: 0.65rem;
	margin: 0 0.3rem 0 0.2rem;
	border-right: 2.5px solid currentColor;
	border-bottom: 2.5px solid currentColor;
	transform: rotate(-45deg);
	transition: transform 0.2s ease;
}

.wp-block-details.c-pli[open] > summary::before {
	transform: rotate(45deg);
}

.wp-block-details.c-pli > summary:hover {
	color: var(--wp--preset--color--primary);
}

.wp-block-details.c-pli > :not(summary) {
	margin-left: 2rem;
}

.wp-block-details.c-pli > summary + * {
	margin-top: 0.25rem;
}

.wp-block-details.c-pli > :last-child:not(summary) {
	margin-bottom: 1.25rem;
}

@media (max-width: 640px) {
	.wp-block-details.c-pli > :not(summary) {
		margin-left: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wp-block-details.c-pli > summary::before {
		transition: none;
	}
}

/* ==========================================================================
   37. Page Soutenez-nous : cartes de don (c-don), pays, options
   Une carte par façon de donner : en-tête avec logo ou pictogramme et pays,
   corps, bouton, procédure repliée. Rien ne passe par la seule couleur :
   le liseré orange ou prune double un titre de section.
   ========================================================================== */

.c-don {
	margin-block: var(--wp--preset--spacing--30);
	padding: 1.5rem 2rem 2rem;
	background: var(--wp--preset--color--base);
	border: 1px solid rgba(20, 33, 61, 0.14);
	border-top: 5px solid var(--wp--preset--color--don);
	border-radius: var(--c-rayon, 20px);
	box-shadow: var(--c-ombre, 0 10px 30px rgba(20, 33, 61, 0.08));
}

.c-don--fiscal {
	border-top-color: var(--wp--preset--color--prune);
}

.c-don > :first-child {
	margin-top: 0;
}

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

/* En-tête : à gauche la pastille du pays puis le titre dessous ; à droite,
   sur toute la hauteur, le logo ou le pictogramme. L'ordre du DOM est le même
   (pays, titre, logo). */
.c-don__entete {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	column-gap: 1.25rem;
	row-gap: 0.55rem;
	margin: 0 0 1.25rem;
	padding-bottom: 1.1rem;
	border-bottom: 1px solid rgba(20, 33, 61, 0.12);
}

.c-don__entete > * {
	margin: 0;
	grid-column: 1;
}

.c-don__entete h3 {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.2;
}

.c-don__entete::before,
.c-don__entete .c-don__logo {
	grid-column: 2;
	grid-row: 1;
	justify-self: end;
}

.c-don__entete:has(.c-pays)::before,
.c-don__entete:has(.c-pays) .c-don__logo {
	grid-row: 1 / span 2;
}

.c-don__entete::before {
	content: "";
	flex: 0 0 3.5rem;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	background: var(--wp--preset--color--creme) var(--picto) center / 52% no-repeat;
}

.c-don--virement .c-don__entete { --picto: url("assets/pictos/banque.svg"); }
.c-don--monde .c-don__entete { --picto: url("assets/pictos/monde.svg"); }
.c-don--france .c-don__entete { --picto: url("assets/pictos/document.svg"); }
.c-don--question .c-don__entete { --picto: url("assets/pictos/casque.svg"); }
.c-don--donnees .c-don__entete { --picto: url("assets/pictos/cle.svg"); }

/* Avec un logo, pas de pictogramme : le logo est l'identité. */
.c-don--logo .c-don__entete::before {
	display: none;
}

.c-don__logo {
	flex: 0 0 auto;
}

.c-don__logo img {
	display: block;
	width: auto;
	height: 44px;
}

.c-don__logo--large img {
	height: 56px;
}

/* Pastille de pays : drapeau décoratif, le nom du pays porte l'information.
   Dans un en-tête de carte, en haut à gauche, au-dessus du titre. */
.c-don__entete .c-pays {
	justify-self: start;
	grid-row: 1;
}

.c-pays {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0;
	padding: 0.3rem 0.9rem 0.3rem 0.45rem;
	border-radius: 999px;
	background: var(--wp--preset--color--base-2);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
}

.c-pays::before {
	content: "";
	flex: 0 0 1.5rem;
	width: 1.5rem;
	height: 1rem;
	border-radius: 3px;
	box-shadow: 0 0 0 1px rgba(20, 33, 61, 0.18);
	background: center / cover no-repeat;
}

.c-pays--be::before { background-image: url("assets/pictos/drapeau-be.svg"); }
.c-pays--fr::before { background-image: url("assets/pictos/drapeau-fr.svg"); }

.c-pays--monde::before {
	height: 1.5rem;
	border-radius: 50%;
	box-shadow: none;
	background: url("assets/pictos/monde.svg") center / contain no-repeat;
}

/* Les options d'une carte (Fondation de France, Fondation AnBer) : logo à
   gauche, procédure repliée à droite. */
.c-don__option {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0.5rem 1.25rem;
	align-items: start;
	margin-block: 1rem 0;
	padding-top: 1.1rem;
	border-top: 1px solid rgba(20, 33, 61, 0.12);
}

.c-don__option > * {
	margin: 0;
}

.c-don__option .c-don__logo img {
	height: 52px;
}

.c-don__option .wp-block-details.c-pli {
	margin: 0;
	border: 0;
}

.c-don__option .wp-block-details.c-pli > summary {
	padding-top: 0.35rem;
	min-height: 0;
}

.c-don__option .wp-block-details.c-pli > :not(summary) {
	margin-left: 1.75rem;
}

/* Dans une carte, l'encart bancaire et les plis se serrent. */
.c-don .c-virement {
	margin-top: 0.75rem;
}

.c-don .wp-block-details.c-pli {
	margin-bottom: 0;
}

/* Deux cartes côte à côte en bas de page (question, données). */
.c-don-duo {
	gap: var(--wp--preset--spacing--30);
}

.c-don-duo .c-don {
	height: 100%;
	margin-block: 0;
}

.c-don-duo .c-don__entete h3 {
	font-size: var(--wp--preset--font-size--medium);
}

@media (max-width: 640px) {
	.c-don {
		padding: 1.25rem 1.25rem 1.5rem;
	}

	.c-don__option {
		grid-template-columns: minmax(0, 1fr);
	}

	.c-don__option .wp-block-details.c-pli > :not(summary) {
		margin-left: 0;
	}
}

/* ==========================================================================
   38. Actualités de l'accueil en carrousel (c-carrousel--actus)
   Même mécanique que les partenaires (section 20, assets/carrousel.js) :
   une piste à défilement natif, deux boutons, rien ne bouge seul. Six
   cartes, trois visibles sur grand écran, une par vue sur téléphone. Toutes
   les cartes ont la hauteur de la plus haute : titre et résumé limités à
   trois lignes, le lien du titre garde le texte entier pour le lecteur
   d'écran et la page de l'article dit le reste.
   ========================================================================== */

.c-carrousel--actus {
	margin-top: 0;
}

.c-carrousel--actus .c-carrousel__tete {
	margin-top: var(--wp--preset--spacing--10);
}

.c-carrousel--actus .c-carrousel__piste.wp-block-post-template {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 1.5rem;
	margin: var(--wp--preset--spacing--30) 0 0;
	padding: 4px; /* laisse passer le contour de focus des cartes */
	border: 0;
	border-radius: 0;
	background: transparent;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scroll-padding-inline: 4px;
	scrollbar-width: thin;
	list-style: none;
}

.c-carrousel--actus .c-carrousel__piste > li {
	flex: 0 0 calc((100% - 3rem) / 3);
	display: flex;
	margin: 0;
	scroll-snap-align: start;
}

/* La carte est un groupe à mise en page contrainte : ses enfants portent des
   marges automatiques (!important dans le cœur). Elle reste donc en flux, et
   c'est l'élément de liste, en flex, qui l'étire à la hauteur de la rangée. */
.c-carrousel--actus .c-carrousel__piste .c-actu {
	width: 100%;
}

.c-carrousel--actus .c-actu__titre {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

.c-carrousel--actus .c-actu__resume p {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

@media (max-width: 1023px) {
	.c-carrousel--actus .c-carrousel__piste > li {
		flex-basis: calc((100% - 1.5rem) / 2);
	}
}

@media (max-width: 599px) {
	.c-carrousel--actus .c-carrousel__piste > li {
		flex-basis: 88%;
	}
}

/* --------------------------------------------------------------
   39. Tableau de chiffres (page Éléments financiers)
   Tableau natif, un exercice par colonne : chiffres alignés à droite en
   chiffres tabulaires, libellé à gauche, défilement horizontal sur petit
   écran (règle générale de la section 3). Aucune information par la couleur.
   -------------------------------------------------------------- */

.c-tableau-chiffres table {
	width: 100%;
	border-collapse: collapse;
	font-variant-numeric: tabular-nums;
	font-size: var(--wp--preset--font-size--small, 0.9rem);
}

.c-tableau-chiffres th,
.c-tableau-chiffres td {
	padding: 0.55em 0.75em;
	border: 0;
	border-bottom: 1px solid rgba(20, 33, 61, 0.25);
	text-align: right;
	white-space: nowrap;
	vertical-align: top;
}

.c-tableau-chiffres thead th {
	border-bottom: 2px solid currentColor;
	font-weight: 700;
}

.c-tableau-chiffres th:first-child,
.c-tableau-chiffres td:first-child {
	text-align: left;
	white-space: normal;
	min-width: 11rem;
}

.c-tableau-chiffres figcaption {
	text-align: left;
	margin-top: 0.5em;
}

/* --------------------------------------------------------------
   40. Page Notre impact
   Mise en page du 16 novembre 2026 : ouverture texte et vidéo, panneau du
   programme, deux cartes, encadré. Fonds clairs, texte bleu nuit (13:1 au
   moins) ; les liserés et pictos ne portent aucune information.
   -------------------------------------------------------------- */

.c-impact__ouverture {
	gap: clamp(1.5rem, 4vw, 3.5rem);
	margin-block: 0 var(--wp--preset--spacing--50, 3rem);
}

.c-impact__ouverture h2 {
	margin-top: 0;
}

.c-impact__ouverture .wp-block-video {
	margin: 0;
}

.c-impact__ouverture video {
	display: block;
	width: 100%;
	border-radius: var(--c-rayon, 20px);
	box-shadow: var(--c-ombre, 0 10px 30px rgba(20, 33, 61, 0.12));
	background: #14213D;
}

.c-impact__programme {
	margin-block: var(--wp--preset--spacing--50, 3rem);
	padding: clamp(1.5rem, 4vw, 3rem);
	background: #E9F1FB;
	border-radius: var(--c-rayon, 20px);
}

.c-impact__programme > :first-child {
	margin-top: 0;
}

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

.c-impact__programme > p {
	max-width: 46rem;
}

/* Les deux repères : deux tuiles côte à côte, empilées sur téléphone. */
.c-impact__reperes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	gap: 1rem;
	margin: 1.5rem 0;
	padding: 0;
	list-style: none;
}

.c-impact__reperes li {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 0;
	padding: 1.1rem 1.4rem;
	background: #FFFFFF;
	border-radius: 16px;
	font-size: 1.15em;
	line-height: 1.35;
}

.c-impact__reperes li::before {
	content: "";
	flex: 0 0 3rem;
	height: 3rem;
	border-radius: 50%;
	background: url("assets/pictos/cle.svg") center / 52% no-repeat, #E7F3EB;
}

.c-impact__reperes li + li::before {
	background: url("assets/pictos/plan.svg") center / 52% no-repeat, #FDF3E2;
}

.c-impact__cartes {
	gap: 1.5rem;
	margin-block: var(--wp--preset--spacing--50, 3rem);
}

.c-impact__carte {
	height: 100%;
	padding: 1.5rem 2rem 2rem;
	background: #FFFFFF;
	border: 1px solid rgba(20, 33, 61, 0.14);
	border-top: 5px solid var(--wp--preset--color--don, #F66A22);
	border-radius: var(--c-rayon, 20px);
	box-shadow: var(--c-ombre, 0 10px 30px rgba(20, 33, 61, 0.08));
}

.c-impact__carte--diagnostic {
	border-top-color: #621A42;
}

.c-impact__carte h2 {
	margin-top: 0;
	font-size: var(--wp--preset--font-size--large, 1.5rem);
}

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

.c-impact__suite {
	margin-block: var(--wp--preset--spacing--50, 3rem);
}

.c-impact__annonce {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.25rem 1.5rem;
	background: #FFE4D0;
	border-left: 5px solid var(--wp--preset--color--don, #F66A22);
	border-radius: 16px;
	font-size: 1.1em;
}

.c-impact__annonce::before {
	content: "";
	flex: 0 0 3rem;
	height: 3rem;
	border-radius: 50%;
	background: url("assets/pictos/monde.svg") center / 52% no-repeat, #FFFFFF;
}

/* Pas de flex ici : le texte mêle du gras et du romain, un flex en ferait
   trois éléments séparés. Le picto est posé en absolu. */
.c-impact__rapport {
	display: inline-block;
	position: relative;
	padding: 0.85rem 1.4rem 0.85rem 3.75rem;
	border: 1px solid rgba(20, 33, 61, 0.2);
	border-radius: 999px;
}

.c-impact__rapport::before {
	content: "";
	position: absolute;
	left: 0.5rem;
	top: 50%;
	width: 2.5rem;
	height: 2.5rem;
	transform: translateY(-50%);
	border-radius: 50%;
	background: url("assets/pictos/document.svg") center / 56% no-repeat, #F6EAF0;
}

@media (max-width: 781px) {
	.c-impact__carte {
		padding: 1.25rem 1.25rem 1.5rem;
	}
}

/* --------------------------------------------------------------
   41. Filtres de statut : puce de la carte et nombre de maisons
   Sur la collection des maisons, les filtres servent aussi de légende à la
   carte (16 novembre 2026). La puce est décorative : le libellé porte
   l'information. Le filtre actif garde son fond bleu et son soulignement.
   -------------------------------------------------------------- */

.c-filtres-maisons .c-filtres a {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
}

.c-filtres__compte {
	min-width: 1.6em;
	padding: 0.05em 0.5em;
	border-radius: 999px;
	background: rgba(20, 33, 61, 0.08);
	font-size: 0.85em;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
}

.c-filtres a[aria-current="page"] .c-filtres__compte {
	background: rgba(255, 255, 255, 0.22);
}

.c-filtres__aide {
	font-weight: 400;
	font-size: 0.9em;
}

/* Carte et filtres dans la même strate ciel (demande de Raphaël, 16 novembre
   2026) : les filtres, qui servent de légende, sont collés sous la carte, sur
   un panneau blanc. */
.c-liste__carte .c-filtres-maisons {
	margin-top: 1.25rem;
	margin-bottom: 0;
	background: var(--wp--preset--color--base);
	box-shadow: 0 10px 30px rgba(20, 33, 61, 0.08);
}

/* Cartes d'une grille (actualités, rubriques, événements, maisons) : toutes à
   la hauteur de la plus haute de leur rangée. L'emplacement était déjà égal,
   la carte s'arrêtait à la fin de son texte (constat de Raphaël, 16 novembre
   2026). */
.wp-block-post-template.is-layout-grid > li.wp-block-post > :only-child {
	height: 100%;
	box-sizing: border-box;
}

/* --------------------------------------------------------------
   42. Page Faire un legs
   Mise en page du 17 novembre 2026 : ouverture avec encadré, panneau
   « Pourquoi » en tuiles, formes de legs en cartes, questions en plis,
   panneau de contact. Texte bleu nuit sur fonds clairs (13:1 au moins) ;
   pictos et liserés ne portent aucune information.
   -------------------------------------------------------------- */

.c-legs__ouverture,
.c-legs__comment {
	gap: clamp(1.5rem, 4vw, 3.5rem);
	margin-block: 0 var(--wp--preset--spacing--50, 3rem);
}

.c-legs__comment {
	margin-top: var(--wp--preset--spacing--50, 3rem);
}

.c-legs__ouverture .wp-block-column > :first-child,
.c-legs__comment .wp-block-column > :first-child {
	margin-top: 0;
}

.c-legs__ouverture .c-chapeau {
	font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.3rem);
	line-height: 1.2;
	font-weight: 700;
}

/* Les deux encadrés : un picto dans un rond, puis la phrase. */
.c-legs__repere,
.c-legs__conseil {
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border-radius: var(--c-rayon, 20px);
	font-size: 1.1em;
	line-height: 1.5;
}

.c-legs__repere {
	background: #F6EAF0;
	border-left: 5px solid #621A42;
}

.c-legs__conseil {
	background: #FFE4D0;
	border-left: 5px solid var(--wp--preset--color--don, #F66A22);
}

.c-legs__repere::before,
.c-legs__conseil::before {
	content: "";
	display: block;
	width: 3.25rem;
	height: 3.25rem;
	margin-bottom: 1rem;
	border-radius: 50%;
	background: url("assets/pictos/maison.svg") center / 54% no-repeat, #FFFFFF;
}

.c-legs__conseil::before {
	background-image: url("assets/pictos/coeur.svg");
}

.c-legs__repere > p,
.c-legs__conseil > p {
	margin: 0;
}

/* Pourquoi : panneau ciel, les raisons en tuiles blanches. */
.c-legs__pourquoi {
	margin-block: var(--wp--preset--spacing--50, 3rem);
	padding: clamp(1.5rem, 4vw, 3rem);
	background: #E9F1FB;
	border-radius: var(--c-rayon, 20px);
}

.c-legs__pourquoi > :first-child {
	margin-top: 0;
}

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

.c-legs__pourquoi > p {
	max-width: 46rem;
}

.c-legs__raisons {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin: 1.5rem 0;
	padding: 0;
	list-style: none;
}

/* Pas de flex : un lien ou du gras dans la phrase en ferait plusieurs
   éléments. Le picto est posé en absolu. */
.c-legs__raisons li {
	position: relative;
	margin: 0;
	padding: 1.15rem 1.4rem 1.15rem 5.25rem;
	min-height: 5.3rem;
	display: grid;
	align-content: center;
	background: #FFFFFF;
	border-radius: 16px;
	line-height: 1.4;
}

.c-legs__raisons li::before {
	content: "";
	position: absolute;
	left: 1.15rem;
	top: 50%;
	width: 3rem;
	height: 3rem;
	transform: translateY(-50%);
	border-radius: 50%;
	background: url("assets/pictos/maison.svg") center / 52% no-repeat, #E7F3EB;
}

.c-legs__raisons li:nth-child(4n + 2)::before {
	background: url("assets/pictos/cle.svg") center / 52% no-repeat, #FDF3E2;
}

.c-legs__raisons li:nth-child(4n + 3)::before {
	background: url("assets/pictos/plan.svg") center / 52% no-repeat, #F6EAF0;
}

.c-legs__raisons li:nth-child(4n + 4)::before {
	background: url("assets/pictos/equipe.svg") center / 52% no-repeat, #FFE4D0;
}

/* Les formes de legs : une carte par forme, deux par ligne. */
.c-legs__formes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	margin-block: 1.5rem var(--wp--preset--spacing--50, 3rem);
}

.c-legs__forme {
	margin: 0 !important;
	padding: 1.5rem 1.75rem 1.75rem;
	background: #FFFFFF;
	border: 1px solid rgba(20, 33, 61, 0.14);
	border-top: 5px solid var(--wp--preset--color--don, #F66A22);
	border-radius: var(--c-rayon, 20px);
	box-shadow: var(--c-ombre, 0 10px 30px rgba(20, 33, 61, 0.08));
}

.c-legs__forme:nth-child(even) {
	border-top-color: #621A42;
}

.c-legs__forme > :first-child {
	margin-top: 0;
}

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

/* Les questions : une colonne lisible, un pli par question. */
.c-legs__questions {
	max-width: 54rem;
	margin-block: 1.5rem var(--wp--preset--spacing--50, 3rem);
}

/* À votre écoute : panneau crème, portrait à droite. Un petit portrait garde
   sa taille (jamais agrandi, donc jamais flou) et se centre dans sa colonne. */
.c-legs__contact .c-legs__photo {
	text-align: center;
}

.c-legs__contact .c-legs__photo img {
	display: inline-block;
	width: auto;
	max-width: 100%;
}


.c-legs__contact {
	margin-block: var(--wp--preset--spacing--50, 3rem);
	padding: clamp(1.5rem, 4vw, 3rem);
	background: var(--wp--preset--color--creme, #FBF6EE);
	border-radius: var(--c-rayon, 20px);
}

.c-legs__contact > :first-child {
	margin-top: 0;
}

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

.c-legs__final {
	max-width: 40rem;
	margin: var(--wp--preset--spacing--50, 3rem) auto 0;
	text-align: center;
	font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem);
	line-height: 1.3;
	color: #621A42;
}

@media (max-width: 781px) {
	.c-legs__raisons,
	.c-legs__formes {
		grid-template-columns: minmax(0, 1fr);
	}

	.c-legs__forme {
		padding: 1.25rem 1.25rem 1.5rem;
	}

	.c-legs__raisons li {
		padding-left: 4.75rem;
	}
}


/* ==============================================================
   43. Partager : réseaux, courriel, copie du lien (c-partage)
   Cibles de 44 px, bleu nuit sur blanc (13:1), le nom de chaque réseau
   est dans le lien pour les lecteurs d'écran.
   ============================================================== */

.c-partage {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.875rem;
	margin-block-start: 1.25rem;
}

.c-partage__titre {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	color: var(--wp--preset--color--contrast);
}

.c-partage__liste {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.c-partage__liste li {
	margin: 0;
}

.c-partage__lien,
.c-partage__copier,
.c-partage__natif {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	box-sizing: border-box;
	min-width: 44px;
	min-height: 44px;
	padding: 0;
	border: 2px solid var(--wp--preset--color--contrast);
	border-radius: 999px;
	background: #fff;
	color: var(--wp--preset--color--contrast);
	font: inherit;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
}

.c-partage__copier,
.c-partage__natif {
	padding: 0 1.125rem 0 0.875rem;
}

.c-partage__lien svg,
.c-partage__copier svg,
.c-partage__natif svg {
	flex: none;
	width: 24px;
	height: 24px;
	fill: currentColor;
}

.c-partage__lien:hover,
.c-partage__lien:focus-visible,
.c-partage__copier:hover,
.c-partage__copier:focus-visible,
.c-partage__natif:hover,
.c-partage__natif:focus-visible {
	background: var(--wp--preset--color--contrast);
	color: #fff;
}

.c-partage__lien:focus-visible,
.c-partage__copier:focus-visible,
.c-partage__natif:focus-visible {
	outline: 3px solid var(--wp--preset--color--contrast);
	outline-offset: 3px;
}

.c-partage [hidden] {
	display: none;
}

/* Téléphone : le bouton du système remplace le titre et la rangée. */
.c-partage.est-natif .c-partage__titre,
.c-partage.est-natif .c-partage__liste {
	display: none;
}

.c-partage__etat:not(.screen-reader-text) {
	flex-basis: 100%;
	margin: 0;
	font-size: 1rem;
}

@media print {
	.c-partage {
		display: none;
	}
}
