/* Le Grand Rebond — composants du thème.
   Les couleurs, tailles et espacements de base viennent de theme.json ;
   ici : motifs de la charte, cartes, boutons, en-tête, pied de page, gabarits. */

:root {
	--lgr-radius: 22px;
	--lgr-radius-soft: 14px;
	--lgr-radius-pill: 999px;
	--lgr-ease: cubic-bezier(0.22, 0.7, 0.18, 1); /* courbe seule */
	--lgr-transition: 220ms var(--lgr-ease); /* durée + courbe, pour les raccourcis */
	--lgr-on-ink: #E9EBF5;          /* texte sur fond encre */
	--lgr-on-ink-muted: #B3B8D3;    /* texte secondaire sur fond encre */
	--lgr-ink-rule: rgba(233, 235, 245, 0.18); /* filets sur fond encre */
	/* Le spectre de la marque : sept couleurs qui ne sont pas dans la palette
	   des contenus, parce qu'elles ne servent qu'ensemble. Déclarées ici une
	   fois, plutôt que recopiées dans chaque composant qui porte le filet. */
	/* Le spectre du site : les quatre dominantes de la charte (rose, violet,
	   bleu, vert) et leurs passages ; l'encre et le jaune restent
	   réservés à l'interface. */
	--lgr-arc-1: var(--lgr-tri-rose); --lgr-arc-2: color-mix(in oklab, var(--lgr-tri-rose), var(--wp--preset--color--purple));
	--lgr-arc-3: var(--wp--preset--color--purple); --lgr-arc-4: color-mix(in oklab, var(--wp--preset--color--purple), var(--lgr-tri-bleu));
	--lgr-arc-5: var(--lgr-tri-bleu); --lgr-arc-6: color-mix(in oklab, var(--lgr-tri-bleu), var(--lgr-tri-vert));
	--lgr-arc-7: var(--lgr-tri-vert);
	/* Les teintes du semis de triangles de la charte (triangle LGR.png). */
	--lgr-tri-rose: #E2398A; --lgr-tri-rose-clair: #F391B3;
	--lgr-tri-jaune-clair: #F9E24C;
	/* Couples des triangles de la charte, pour le décor seulement. */
	--lgr-charte-turquoise: #2BB3A6; --lgr-charte-anis: #A9CF3B; --lgr-charte-lavande: #A77BC4;
	--lgr-tri-bleu: #3C6CC0; --lgr-tri-vert: #3A8A5A;
	--lgr-arc: linear-gradient(90deg, var(--lgr-arc-1), var(--lgr-arc-2), var(--lgr-arc-3), var(--lgr-arc-4), var(--lgr-arc-5), var(--lgr-arc-6), var(--lgr-arc-7));
	--lgr-alerte: #A8322A;          /* texte d'alerte et de statut */
	--lgr-alerte-fond: #FCEBEA;     /* fond d'alerte */
	--lgr-alerte-bord: #F3CFCB;     /* contour d'alerte */
	--lgr-contour-saisie: #C9CBD6;  /* contours de case, de rond et de pointillé */
	--lgr-accent-voile: #FFFBEA;    /* voile jaune très clair, derrière l'accent */
	--lgr-carte: #FFFDF9;           /* fond crème des cartes */
	--lgr-on-ink-texte: #D8E0EC;    /* paragraphe sur fond encre */
	--lgr-accent-bord: #F3E3A0;     /* contour d'un encart jaune pâle */
	--lgr-filet-chaud: #E7E3D9;     /* filet des cartes crème */
	--lgr-filet-chaud-fonce: #DCD8CD;
	/* Survols : la teinte de repos, assombrie ou éclaircie. */
	--lgr-navy-survol: #12395A;
	--lgr-ink-survol: #252B5E;
	--lgr-accent-fonce: #E8B900;    /* jaune un peu plus soutenu : trait des surtitres sur blanc */
	--lgr-accent-survol: var(--lgr-accent-fonce);
	/* Les deux rôles du Grand Rebond (catalyseur en vert, accélérateur en bleu). */
	--lgr-cat-fond: #F2F8F3; --lgr-cat-bord: #CFE6D5; --lgr-cat-survol: #17652F;
	--lgr-acc-fond: #F1F5FB; --lgr-acc-bord: #CFDDF0; --lgr-acc-survol: #174A8C;
	--lgr-college-2: #C2266F;       /* deuxième collège de la gouvernance */
	--accent: var(--wp--preset--color--green);
	--accent-ink: var(--wp--preset--color--green-ink);
	--accent-tint: var(--wp--preset--color--green-tint);
}

/* WordPress pose un écart de 1,25 rem au-dessus de chaque bloc frère en
   disposition de flux. Dans une grille que nous composons nous-mêmes, cet écart
   s'applique à la deuxième colonne et aux suivantes, qui descendent de 20 px
   alors qu'elles devraient s'aligner. On le neutralise sur les enfants directs
   de nos grilles : c'est la gouttière de la grille qui gère l'espacement.
   À compléter en même temps que toute nouvelle grille bâtie sur un groupe. */
.lgr-ap-hero > *, .lgr-constat-grid > *, .lgr-cards2 > *, .lgr-avec > *,
.lgr-gives > *, .lgr-gov-top > *, .lgr-footer-grid > *, .lgr-q-head > *, .lgr-q1 > *,
.lgr-part-head > *, .lgr-push-card > * { margin-block-start: 0; }

/* Même écart, entre les sections pleine largeur d'une page : chacune porte déjà
   sa respiration verticale, et le filet blanc parasite se voyait surtout sous le
   trait arc-en-ciel, qui doit toucher la section suivante. */
.entry-content > .alignfull { margin-block: 0; }
/* Même écart dans le conteneur principal des gabarits (fiches programme,
   ressource, événement, acteur, article) : une bande blanche de 20 px
   s'ouvrait entre deux sections de fond différent, et avant la bande jaune. */
main > .alignfull { margin-block: 0; }
/* Même chose au niveau le plus haut : en-tête, contenu et pied de page se
   suivent sans interligne, sinon une bande blanche s'ouvre sous la dernière
   section — la bande jaune, juste avant le pied de page encre. */
.wp-site-blocks > * { margin-block-start: 0; }

/* Les composants du thème comptent bordures et marges intérieures dans leur
   largeur : sans cela, un panneau à 100 % + marges déborde de sa colonne. */
*, *::before, *::after { box-sizing: border-box; }

/* Les maquettes remettent à zéro les marges que le navigateur pose d'office sur
   les paragraphes et les listes, puis fixent celles de chaque composant. Nos
   sections écrites en HTML brut — étapes du parcours, ouverture de fiche,
   panneau des programmes — suivent le même principe : sans cela, ces
   marges décalent les colonnes des grilles les unes par rapport aux autres.
   « :where » garde la règle sans force : tout style de composant l'emporte. */
:where(.lgr-etape, .lgr-p-grid, .lgr-grs, .lgr-ot, .lgr-prog) p,
:where(.lgr-etape, .lgr-p-grid, .lgr-grs, .lgr-ot, .lgr-prog) ul,
:where(.lgr-etape, .lgr-p-grid, .lgr-grs, .lgr-ot, .lgr-prog) ol,
:where(.lgr-etape, .lgr-p-grid, .lgr-grs) blockquote { margin: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
	outline: 2px solid var(--wp--preset--color--ink);
	outline-offset: 3px;
	border-radius: var(--lgr-radius-pill);
}

/* ---------- Typo utilitaires ---------- */
.is-style-eyebrow {
	display: flex; align-items: center; gap: 12px;
	font-family: var(--wp--preset--font-family--head);
	font-size: var(--wp--preset--font-size--xs) !important;
	font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
	/* « important » est nécessaire pour passer devant les styles globaux de
	   WordPress ; la couleur passe donc par une variable, seul moyen pour un
	   contexte — bande encre, panneau, fiche programme — de la redéfinir.
	   Par défaut (rien ne relie le surtitre à un programme) : le texte en
	   encre et le trait en jaune, couleurs de l'interface. Un contexte qui
	   pose --lgr-eyebrow colore le texte et le trait. */
	color: var(--lgr-eyebrow, var(--wp--preset--color--ink)) !important;
	margin-bottom: 1rem;
}
.is-style-eyebrow::before {
	content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--lgr-eyebrow, var(--lgr-accent-fonce)); flex-shrink: 0;
}
/* La variante à pastille reste disponible : elle remplace le trait par un point. */
.is-style-eyebrow.has-dot::before {
	width: 8px; height: 8px; border-radius: 50%;
}
.is-style-lede { font-size: var(--wp--preset--font-size--large) !important; line-height: 1.75; max-width: 34em; }
.is-style-underline mark {
	color: inherit; display: inline; -webkit-box-decoration-break: clone; box-decoration-break: clone;
	background: linear-gradient(var(--wp--preset--color--accent), var(--wp--preset--color--accent)) no-repeat left 90% / 100% 0.26em;
}
/* Le trait jaune des sections : sous un titre (.lgr-trait), ou seul, comme
   séparateur d'une page de texte (style « Pause de section » du bloc Séparateur). */
.lgr-trait::after, .wp-block-separator.is-style-pause {
	content: ""; display: block; width: 64px; height: 6px; border: 0; border-radius: 6px;
	background: var(--wp--preset--color--accent); opacity: 1;
}
.lgr-trait::after { margin-top: 1rem; }
.wp-block-separator.is-style-pause { margin: clamp(48px, 6vw, 72px) 0 1.5rem; }
.has-text-color p { color: inherit; }
.has-ink-background-color p, .has-ink-background-color h2, .has-ink-background-color h3, .has-ink-background-color a { color: var(--wp--preset--color--white); }
.has-ink-background-color p { color: var(--lgr-on-ink-texte); }

/* ---------- Boutons ---------- */
/* Tous les boutons ont la même boîte, comme le .btn de la maquette : 48 px de
   haut, contenu centré. Sans elle, la flèche (un glyphe plus haut que le texte)
   grandissait la ligne : un bouton fléché faisait 49 px, un bouton sans flèche
   39 px, côte à côte dans la même bande. */
.wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding-block: 0;
	transition: background-color var(--lgr-transition), color var(--lgr-transition), transform var(--lgr-transition);
}
.wp-block-button__link::after { content: "→"; margin-left: 1.25rem; font-weight: 400; display: inline-block; transition: transform var(--lgr-transition); }
.wp-block-button.no-arrow .wp-block-button__link::after { content: none; }
.wp-block-button__link:hover { transform: translateY(-2px); text-decoration: none; }
.wp-block-button__link:hover::after { transform: translateX(4px); }
.wp-block-button.is-style-navy .wp-block-button__link { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--white); }
.wp-block-button.is-style-navy .wp-block-button__link:hover { background: var(--lgr-navy-survol); color: var(--wp--preset--color--white); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--wp--preset--color--ink); border-color: var(--wp--preset--color--ink); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--white); }
/* Lien texte : un seul style pour le bouton « Texte » de l'éditeur
   (.is-style-text), le lien de section (.lgr-lien) et le bouton qui a l'air
   d'un lien (.lgr-lien-b). Filet droit (pas d'arrondi hérité des boutons), à la
   largeur du texte, jaune au repos et encre au survol. */
.wp-block-button.is-style-text .wp-block-button__link, .lgr-lien, .lgr-lien-b {
	display: inline-flex; align-items: center; gap: 8px; width: auto; min-height: 24px;
	padding: 0 0 3px; border: 0; border-radius: 0; border-bottom: 2px solid var(--wp--preset--color--accent);
	background: transparent; color: var(--wp--preset--color--ink); text-decoration: none; cursor: pointer;
	font-family: var(--wp--preset--font-family--body); font-size: var(--wp--preset--font-size--small); font-weight: 600;
	transition: border-color var(--lgr-transition);
}
.wp-block-button.is-style-text .wp-block-button__link::after { margin-left: 0; }
.wp-block-button.is-style-text .wp-block-button__link:hover, .lgr-lien:hover, .lgr-lien-b:hover { transform: none; border-bottom-color: var(--wp--preset--color--ink); }
.has-ink-background-color .wp-block-button.is-style-text .wp-block-button__link { color: var(--wp--preset--color--white); border-bottom-color: var(--lgr-ink-rule); }
.has-ink-background-color .wp-block-button.is-style-outline .wp-block-button__link { color: var(--wp--preset--color--white); border-color: var(--wp--preset--color--white); }

/* ---------- En-tête ---------- */
/* L'en-tête reste collé en haut, comme dans les maquettes, et sa hauteur est
   publiée en variable : la barre du parcours des fiches programme s'y accroche
   sans qu'on ait à répéter la valeur. */
:root { --lgr-entete: 72px; }
/* Un composant posé en « flex » ou « grid » l'emporte sur le display:none que
   le navigateur donne à [hidden] : sans ce garde-fou, masquer un élément
   depuis le JavaScript ne fait rien. */
[hidden] { display: none !important; }
/* C'est le conteneur de la partie de gabarit qui colle : appliqué à l'en-tête
   lui-même, « sticky » ne tiendrait que sur la hauteur de ce conteneur, donc
   l'en-tête disparaîtrait au premier défilement. */
.wp-block-template-part:has(> .lgr-header) { position: sticky; top: 0; z-index: 20; }
.lgr-header {
	position: relative; isolation: isolate;
	border-bottom: 1px solid var(--wp--preset--color--rule);
}
/* Le voile flouté est porté par un pseudo-élément, pas par l'en-tête : un
   « backdrop-filter » fait de son porteur le repère des éléments fixes qu'il
   contient, et le menu mobile restait enfermé dans les 72 px de l'en-tête. */
.lgr-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: rgba(255, 255, 255, 0.94);
	-webkit-backdrop-filter: saturate(1.2) blur(8px); backdrop-filter: saturate(1.2) blur(8px);
}
.lgr-header > .wp-block-group { min-height: var(--lgr-entete); }
.lgr-header .wp-block-site-logo img { height: 40px; width: auto; }
.lgr-header .wp-block-navigation a { white-space: nowrap; }
.lgr-header .wp-block-navigation .current-menu-item > a { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--wp--preset--color--accent); text-decoration-thickness: 2px; }
.lgr-header .wp-block-button__link { min-height: 45px; padding: 0.7rem 1.4rem; font-size: var(--wp--preset--font-size--xs); white-space: nowrap; }
/* Menu mobile, comme la maquette : sous 960 px, une pastille « Menu » ouvre un
   panneau qui descend sous l'en-tête. WordPress ne bascule qu'à 600 px : on
   avance le seuil ici. « Accueil » (lgr-nav-accueil) n'apparaît que dans ce
   panneau : sur grand écran, le logo y mène. */
.lgr-header .wp-block-navigation .lgr-nav-accueil { display: none; }
/* « Programmes » : la porte d'entrée du site, en tête du menu et sur fond jaune. */
.lgr-header .wp-block-navigation .lgr-nav-prog > a {
	display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px;
	border-radius: var(--lgr-radius-pill); background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--ink); font-weight: 600; text-decoration: none;
	transition: background-color 0.25s var(--lgr-ease);
}
.lgr-header .wp-block-navigation .lgr-nav-prog > a:hover,
.lgr-header .wp-block-navigation .lgr-nav-prog > a:focus-visible { background: var(--lgr-accent-survol); text-decoration: none; }
.lgr-header .wp-block-navigation .lgr-nav-prog.current-menu-item > a { text-decoration: none; box-shadow: inset 0 0 0 2px var(--wp--preset--color--ink); }
/* À l'ouverture du panneau, WordPress donne le focus au premier lien : sans
   cette règle, il paraissait souligné comme la page en cours. Le soulignement
   du focus reste pour qui navigue au clavier. */
.lgr-header .wp-block-navigation-item:not(.current-menu-item) > a:focus:not(:focus-visible) { text-decoration: none; }
.lgr-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--white); }
@media (max-width: 960px) {
	.lgr-header .wp-block-site-logo img { height: 34px; }
	.lgr-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.lgr-header .wp-block-navigation__responsive-container-open:not(.always-shown),
	.lgr-header .wp-block-navigation__responsive-container-close {
		display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
		border-radius: var(--lgr-radius-pill); background: var(--wp--preset--color--white);
		box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule);
		color: var(--wp--preset--color--ink);
		font: 600 var(--wp--preset--font-size--small) var(--wp--preset--font-family--body);
	}
	.lgr-header .wp-block-navigation__responsive-container-open svg,
	.lgr-header .wp-block-navigation__responsive-container-close svg { display: none; }
	.lgr-header .wp-block-navigation__responsive-container-open::after { content: "Menu"; }
	.lgr-header .wp-block-navigation__responsive-container-close::after { content: "Fermer"; }
	.lgr-header .wp-block-navigation__responsive-container.is-menu-open {
		top: var(--lgr-entete); bottom: auto; overflow: visible; animation: none;
		padding: 12px var(--wp--style--root--padding-right) 20px var(--wp--style--root--padding-left);
		border-bottom: 1px solid var(--wp--preset--color--rule);
		box-shadow: 0 18px 40px -24px rgba(21, 26, 69, 0.35);
	}
	/* Le bouton de fermeture prend la place de la pastille « Menu ». */
	.lgr-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
		top: calc((var(--lgr-entete) + 44px) / -2); right: var(--wp--style--root--padding-right);
	}
	/* Le dialogue reste statique : le bouton de fermeture se place alors par
	   rapport au panneau, et peut remonter dans l'en-tête. */
	.lgr-header .is-menu-open .wp-block-navigation__responsive-dialog,
	.lgr-header .is-menu-open .wp-block-navigation__responsive-close { position: static; margin: 0; max-width: none; }
	/* La barre de bureau est alignée à droite ; le panneau, lui, à gauche. */
	.lgr-header .is-menu-open,
	.lgr-header .is-menu-open .wp-block-navigation__container.items-justified-right {
		--navigation-layout-justification-setting: flex-start;
		--navigation-layout-justify: flex-start;
		--navigation-layout-align: flex-start;
	}
	.lgr-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
		padding: 0; align-items: flex-start; gap: 6px;
	}
	.lgr-header .is-menu-open .wp-block-navigation__container { align-items: flex-start; gap: 6px; }
	.lgr-header .wp-block-navigation__responsive-container.is-menu-open a { font-size: var(--wp--preset--font-size--small); font-weight: 500; padding: 6px 0; }
	.lgr-header .is-menu-open .lgr-nav-accueil { display: block; }

	/* Panneau mobile (20/11/2026) : des lignes pleine largeur, en grand, une
	   flèche à droite ; « Programmes » en bloc jaune en tête ; le reste de la
	   page voilé dessous ; le panneau défile s'il dépasse l'écran. */
	.lgr-header .wp-block-navigation__responsive-container.is-menu-open {
		padding-top: 8px; padding-bottom: 24px;
		/* Le voile part du haut du panneau vers le bas : l'en-tête reste net. */
		box-shadow: 0 100vmax 0 100vmax rgba(21, 26, 69, 0.45);
	}
	/* Le défilement sur la liste seule : le bouton « Fermer », remonté dans
	   l'en-tête, ne doit pas être rogné. */
	.lgr-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
		max-height: calc(100dvh - var(--lgr-entete) - 40px); overflow-y: auto;
	}
	.lgr-header .is-menu-open .wp-block-navigation__container,
	.lgr-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { gap: 0; width: 100%; align-items: stretch; }
	.lgr-header .is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--wp--preset--color--rule); }
	.lgr-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item > a {
		display: flex; align-items: center; justify-content: space-between; width: 100%;
		min-height: 56px; padding: 0 4px;
		font: 600 var(--wp--preset--font-size--large) var(--wp--preset--font-family--head);
	}
	.lgr-header .is-menu-open .wp-block-navigation-item > a::after {
		content: ""; width: 9px; height: 9px; margin-left: 16px; flex: none;
		border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: 0.45;
	}
	.lgr-header .is-menu-open .wp-block-navigation .current-menu-item > a,
	.lgr-header .is-menu-open .current-menu-item > a { text-decoration: none; box-shadow: inset 3px 0 0 var(--wp--preset--color--accent); padding-left: 14px; }
	/* « Programmes » : la porte d'entrée, un bloc jaune pleine largeur en tête. */
	.lgr-header .is-menu-open .wp-block-navigation-item.lgr-nav-prog { order: -1; border-bottom: 0; margin: 4px 0 8px; }
	.lgr-header .wp-block-navigation__responsive-container.is-menu-open .lgr-nav-prog > a {
		min-height: 56px; padding: 0 18px; border-radius: var(--lgr-radius-soft);
	}
	.lgr-header .is-menu-open .lgr-nav-prog.current-menu-item > a { box-shadow: inset 0 0 0 2px var(--wp--preset--color--ink); padding-left: 18px; }
	.lgr-header .is-menu-open .lgr-nav-prog > a::after { opacity: 1; }
}

/* ---------- Décor ---------- */

/* ---------- Cartes ---------- */
.is-style-card, .lgr-card {
	background: var(--lgr-carte); border: 1px solid var(--wp--preset--color--rule); border-radius: var(--lgr-radius);
	padding: 1.75rem 2rem 1.5rem;
}
.is-style-rounded-soft img { border-radius: var(--lgr-radius-soft); }

/* Carte programme (boucle de requête ou composition statique). */
.lgr-programme-card {
	--hover-paper: var(--accent-tint); --hover-ink: var(--accent-ink);
	display: flex; flex-direction: column; min-height: 320px; height: 100%;
	background: var(--lgr-carte); border: 1px solid var(--wp--preset--color--rule); border-radius: var(--lgr-radius);
	padding: 1.75rem 2rem 1.5rem; position: relative; overflow: hidden;
	transition: transform var(--lgr-transition), border-color var(--lgr-transition), background-color var(--lgr-transition);
}
.lgr-programme-card > * { position: relative; z-index: 1; }
.lgr-programme-card .lgr-programme-icon {
	width: 52px; height: 52px; padding: 10px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-ink);
	display: grid; place-items: center; margin-bottom: 1rem;
}
.lgr-programme-card .lgr-programme-icon img { width: 100%; height: 100%; object-fit: contain; }
.lgr-programme-card .lgr-programme-icon:not(:has(img)) { display: none; }
.lgr-programme-card .lgr-programme-cat {
	font-size: var(--wp--preset--font-size--compact); font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 0.75rem;
}
.lgr-programme-card h3, .lgr-programme-card .wp-block-post-title { font-size: 1.5rem; line-height: 1.3; margin: 0 0 0.6rem; }
.lgr-programme-card .wp-block-post-title a { text-decoration: none; }
.lgr-programme-card .lgr-programme-operator { font-size: var(--wp--preset--font-size--xxs); color: var(--wp--preset--color--text); margin: 0 0 0.9rem; }
.lgr-programme-card .wp-block-post-excerpt, .lgr-programme-card .wp-block-post-excerpt__excerpt { font-size: var(--wp--preset--font-size--small); line-height: 1.75; }
.lgr-programme-card .wp-block-post-excerpt__more-link {
	margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--lgr-filet-chaud); display: inline-flex; gap: 1rem; align-items: center;
	font-size: var(--wp--preset--font-size--xs); font-weight: 650; text-decoration: none; width: 100%;
}
.lgr-programme-card .wp-block-post-excerpt__more-link::after {
	content: "→"; font-size: 1.4rem; font-weight: 400; transition: transform var(--lgr-transition);
}
.lgr-programme-card:hover, .lgr-programme-card:focus-within {
	transform: translateY(-4px); border-color: var(--hover-ink); background-color: var(--hover-paper);
}
.lgr-programme-card:hover::before, .lgr-programme-card:hover::after { transform: scale(1.12); }
.lgr-programme-card:hover .wp-block-post-excerpt__more-link::after { transform: translateX(6px); }
.lgr-programme-card:hover .wp-block-post-excerpt__more-link { color: var(--hover-ink); }
.lgr-programme-grid .wp-block-post { height: 100%; }
.lgr-programme-grid .wp-block-post-template { gap: 1.5rem; }

/* Catalyseur / Accélérateur. */
.lgr-role-card { background: var(--lgr-carte); border: 1px solid var(--wp--preset--color--rule); border-radius: var(--lgr-radius); padding: 1.75rem; height: 100%; }
.lgr-role-card .lgr-role-icon { width: 88px; height: 88px; border-radius: var(--lgr-radius); display: grid; place-items: center; flex-shrink: 0; }
.lgr-role-card .lgr-role-icon.is-green { background: var(--wp--preset--color--green-tint); color: var(--wp--preset--color--green-ink); }
.lgr-role-card .lgr-role-icon.is-yellow { background: var(--wp--preset--color--accent-soft); color: var(--wp--preset--color--orange-ink); }
.lgr-role-card svg { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Partenaires : noms typographiques en attendant les logos officiels. */
.lgr-partners { text-align: center; }
.lgr-partners .wp-block-post-template { justify-content: center; align-items: center; gap: 1.75rem 2.5rem; }
.lgr-partners .wp-block-post { flex: 0 1 190px; }
.lgr-partners .wp-block-post-featured-image img { max-height: 70px; width: auto; object-fit: contain; mix-blend-mode: multiply; margin: auto; }
.lgr-partners .wp-block-post-title { font-size: var(--wp--preset--font-size--base); font-weight: 500; color: var(--wp--preset--color--text); line-height: 1.4; }
.lgr-partners .wp-block-post-title a { text-decoration: none; color: inherit; }
.lgr-partner-name { font-size: var(--wp--preset--font-size--base); font-weight: 500; color: var(--wp--preset--color--text); line-height: 1.4; text-align: center; }
.lgr-partner-name b { font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
	.lgr-partners.is-floating .wp-block-post, .lgr-partners.is-floating .lgr-partner-name { animation: lgr-float 6s ease-in-out infinite; }
	.lgr-partners.is-floating .wp-block-post:nth-child(2n), .lgr-partners.is-floating .lgr-partner-name:nth-child(2n) { animation-delay: -2s; animation-duration: 7s; }
	.lgr-partners.is-floating .wp-block-post:nth-child(3n), .lgr-partners.is-floating .lgr-partner-name:nth-child(3n) { animation-delay: -4s; animation-duration: 6.5s; }
}
@keyframes lgr-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Fiche partenaire (page listing : logo + mini-bio). */
.lgr-partner-row { display: flex; gap: 2rem; align-items: flex-start; padding: 1.5rem 0; border-bottom: 1px solid var(--wp--preset--color--rule); }
.lgr-partner-row > .wp-block-post-featured-image { flex: 0 0 180px; }
.lgr-partner-row > .wp-block-group { flex: 1 1 auto; min-width: 0; }
.lgr-partner-row .wp-block-post-featured-image img { max-height: 80px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.lgr-partner-row .wp-block-post-title { font-size: 1.125rem; margin: 0 0 0.4rem; }
.lgr-partner-row .wp-block-post-excerpt__excerpt { font-size: var(--wp--preset--font-size--small); }
@media (max-width: 640px) { .lgr-partner-row { flex-direction: column; gap: 0.75rem; } }

/* Fil d'Ariane. */
.lgr-breadcrumb { font-size: var(--wp--preset--font-size--xxs); color: var(--wp--preset--color--text); display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; min-height: 40px; }
.lgr-breadcrumb a { color: inherit; }
.lgr-breadcrumb .sep { opacity: 0.6; }
.lgr-breadcrumb [aria-current] { color: var(--wp--preset--color--ink); font-weight: 600; }

/* ---------- Page programme ---------- */
.lgr-frise { counter-reset: lgr-parcours; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; }
.lgr-frise-item { display: grid; grid-template-columns: 72px 1fr; gap: 1.5rem; align-items: start; padding-bottom: 1.5rem; border-bottom: 1px dashed var(--wp--preset--color--rule); }
.lgr-frise-item::before {
	counter-increment: lgr-frise; content: counter(lgr-frise);
	width: 56px; height: 56px; display: grid; place-items: center; font-weight: 800; font-size: 1.25rem; color: var(--wp--preset--color--ink);
	background: var(--accent-tint); clip-path: polygon(0 0, 100% 0, 50% 100%);
	padding-bottom: 12px; box-sizing: border-box;
}
.lgr-frise-item:nth-child(2n)::before { clip-path: polygon(0 100%, 100% 100%, 50% 0); padding: 12px 0 0; }
.lgr-frise-item:nth-child(3n)::before { clip-path: polygon(0 0, 100% 50%, 0 100%); padding: 0 12px 0 0; }
.lgr-frise-item h3 { font-size: 1.125rem; margin: 0.4rem 0 0.5rem; }
.lgr-frise-item p { font-size: var(--wp--preset--font-size--small); margin: 0 0 0.5rem; }
.lgr-frise-item .lgr-frise-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 0.75rem; }
.lgr-frise-item .lgr-frise-roles > div { background: var(--lgr-carte); border: 1px solid var(--wp--preset--color--rule); border-radius: var(--lgr-radius-soft); padding: 0.9rem 1rem; }
.lgr-frise-item .lgr-frise-roles strong { display: block; font-size: var(--wp--preset--font-size--xxs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 0.35rem; }
.lgr-frise-item .lgr-frise-roles p { font-size: var(--wp--preset--font-size--compact); margin: 0; }
@media (max-width: 640px) { .lgr-frise-item { grid-template-columns: 48px 1fr; gap: 1rem; } .lgr-frise-item::before { width: 40px; height: 40px; font-size: var(--wp--preset--font-size--base); } .lgr-frise-item .lgr-frise-roles { grid-template-columns: 1fr; } }

.lgr-levers { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; padding: 0; margin: 0; }
.lgr-levers li { background: var(--accent-tint); color: var(--accent-ink); border-radius: var(--lgr-radius-pill); padding: 0.5rem 1rem; font-size: var(--wp--preset--font-size--xs); font-weight: 650; }

.lgr-case { display: grid; grid-template-columns: 190px 1fr; gap: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--lgr-filet-chaud-fonce); }
.lgr-case img { width: 190px; height: 230px; object-fit: cover; border-radius: var(--lgr-radius-soft); }
.lgr-case .lgr-case-status { color: var(--accent-ink); font-size: var(--wp--preset--font-size--xxs); font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 0.75rem; }
.lgr-case h3 { font-size: var(--wp--preset--font-size--large); margin: 0 0 0.75rem; }
.lgr-case p { font-size: var(--wp--preset--font-size--compact); margin: 0 0 0.75rem; }
.lgr-case small { display: block; font-size: var(--wp--preset--font-size--xxs); color: var(--wp--preset--color--text); }
@media (max-width: 640px) { .lgr-case { grid-template-columns: 1fr; } .lgr-case img { width: 100%; height: 200px; } }

.lgr-free-notice { display: flex; gap: 1rem; align-items: flex-start; background: var(--wp--preset--color--green-tint); border-left: 4px solid var(--wp--preset--color--green); border-radius: var(--lgr-radius-soft); padding: 1rem 1.25rem; }
.lgr-free-notice svg { flex: none; color: var(--wp--preset--color--green); }
.lgr-free-notice p { margin: 0; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--ink); }

/* ---------- Formulaire de contact (shortcode lgr-core) ---------- */
/* Le champ piège est caché à tout le monde sauf aux robots : hors écran
   plutôt que « display:none », que certains robots savent repérer. */
.lgr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lgr-form-notice { border-radius: var(--lgr-radius-soft); padding: 0.9rem 1.1rem; font-size: var(--wp--preset--font-size--small); }
.lgr-form-notice.is-success { background: var(--wp--preset--color--green-tint); color: var(--wp--preset--color--green-ink); }
.lgr-form-notice.is-error { background: var(--wp--preset--color--orange-tint); color: var(--wp--preset--color--orange-ink); }

/* ---------- Pied de page ---------- */
.lgr-footer { background: var(--wp--preset--color--ink); color: var(--lgr-on-ink-muted); font-size: var(--wp--preset--font-size--compact); }
.lgr-footer a { color: var(--lgr-on-ink); text-decoration: none; }
.lgr-footer a:hover { text-decoration: underline; }
.lgr-footer :focus-visible { outline-color: var(--wp--preset--color--accent); }
.lgr-footer p { color: var(--lgr-on-ink-muted); }
.lgr-footer-title {
	font-family: var(--wp--preset--font-family--head); font-size: var(--wp--preset--font-size--xs); font-weight: 600;
	letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--accent); margin: 0 0 0.75rem;
}
.lgr-footer-logo { margin: 0; }
.lgr-footer-logo img { height: 48px; width: auto; }
.lgr-footer-baseline { margin-top: 0.875rem; max-width: 24em; }
.lgr-footer-mention { margin-top: 0.25rem; }
.lgr-footer ul { display: flex; flex-direction: column; gap: 0.375rem; margin: 0; padding: 0; list-style: none; }
.lgr-footer-grid { display: grid; grid-template-columns: 4fr 3fr 5fr; column-gap: 2rem; row-gap: 2rem; }
@media (max-width: 860px) { .lgr-footer-grid { grid-template-columns: 1fr; } }

/* Newsletter : un seul composant (includes/newsletter.php), dans le pied de
   page (fond bleu nuit) et dans la bande de la page Actualités
   (lgr-newsletter-clair, fond jaune). Consentement obligatoire. */
.lgr-newsletter { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.lgr-newsletter label { width: 100%; font-size: var(--wp--preset--font-size--xs); color: var(--lgr-on-ink); }
.lgr-newsletter input[type="email"] {
	flex: 1 1 200px; min-width: 0; min-height: 46px; border-radius: var(--lgr-radius-pill);
	border: 1px solid var(--lgr-ink-rule); background: transparent; color: var(--wp--preset--color--white); padding: 0 1.125rem; font: inherit;
}
.lgr-newsletter input[type="email"]::placeholder { color: var(--lgr-on-ink-muted); }
.lgr-newsletter button {
	border: 0; border-radius: var(--lgr-radius-pill); background: var(--wp--preset--color--accent); color: var(--wp--preset--color--ink);
	font: inherit; font-weight: 700; min-height: 46px; padding: 0 1.25rem; cursor: pointer;
	transition: background-color var(--lgr-transition);
}
.lgr-newsletter button:hover { background: var(--lgr-accent-survol); }
.lgr-nl-rgpd { display: flex; align-items: flex-start; gap: 0.5rem; width: 100%; margin: 0.25rem 0 0; font-size: var(--wp--preset--font-size--xs); line-height: 1.45; }
.lgr-nl-rgpd input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--wp--preset--color--accent); }
.lgr-nl-rgpd > span { flex: 1 1 auto; }
/* Champ anti-robot de l'outil d'emailing : hors écran, jamais rempli par un humain. */
.lgr-nl-piege { position: absolute; left: -5000px; }
/* Message après inscription (Brevo, envoi en arrière-plan). */
.lgr-newsletter .lgr-nl-msg { width: 100%; margin: 0.25rem 0 0; padding: 0.625rem 0.875rem; border-radius: var(--lgr-radius-soft); font-size: var(--wp--preset--font-size--xs); line-height: 1.45; font-weight: 600; background: var(--wp--preset--color--white); color: var(--wp--preset--color--ink); }
.lgr-nl-msg.is-ok { box-shadow: inset 4px 0 0 var(--wp--preset--color--green-ink); }
.lgr-nl-msg.is-erreur { box-shadow: inset 4px 0 0 var(--wp--preset--color--orange-ink); }
.lgr-newsletter button:disabled { opacity: 0.6; cursor: progress; }
.lgr-nl-rgpd label { width: auto; }
.lgr-footer .lgr-nl-rgpd a { text-decoration: underline; }
.lgr-newsletter-clair { max-width: 34rem; margin-top: 1.5rem; }
.lgr-newsletter-clair label { color: var(--wp--preset--color--ink); font-weight: 600; }
.lgr-newsletter-clair input[type="email"] { background: var(--wp--preset--color--white); border-color: var(--wp--preset--color--ink); color: var(--wp--preset--color--ink); }
.lgr-newsletter-clair input[type="email"]::placeholder { color: var(--wp--preset--color--muted); }
.lgr-newsletter-clair button { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--white); }
.lgr-newsletter-clair button:hover { background: var(--lgr-navy-survol); }
.lgr-newsletter-clair .lgr-nl-rgpd label { font-weight: 400; }
.lgr-newsletter-clair .lgr-nl-rgpd input { accent-color: var(--wp--preset--color--ink); }
.lgr-newsletter-clair .lgr-nl-rgpd a { color: var(--wp--preset--color--ink); text-decoration: underline; }
/* Bande « Suivre le Grand Rebond » (Agenda) : un bouton par réseau, son logo devant. */
.lgr-suivre-b .wp-block-button__link { display: inline-flex; align-items: center; gap: 0.6rem; }
.lgr-suivre-b svg { flex: none; }

.lgr-legal {
	border-top: 1px solid var(--lgr-ink-rule); font-size: var(--wp--preset--font-size--xs);
	color: var(--lgr-on-ink-muted);
}
.lgr-legal p, .lgr-legal a { font-size: var(--wp--preset--font-size--xs); margin: 0; }
.lgr-legal-liens { display: flex; gap: 20px; flex-wrap: wrap; }
.lgr-sig-sep { margin-inline: 0.5rem; opacity: 0.5; }
.lgr-signature a { border-bottom: 1px solid var(--lgr-ink-rule); }
.lgr-signature a:hover { border-color: var(--lgr-on-ink); text-decoration: none; }
/* Une mention d'auteur ne doit pas peser autant que les liens légaux. */
.lgr-a-completer { color: var(--lgr-alerte); font-style: italic; }

/* ---------- Page légale ---------- */
.lgr-sommaire { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 1.5rem 0 2.5rem; padding: 0; list-style: none; }
.lgr-sommaire li { margin: 0; }
.lgr-sommaire a {
	display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px;
	border-radius: var(--lgr-radius-pill); box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule);
	font-size: var(--wp--preset--font-size--small); font-weight: 600; color: var(--wp--preset--color--ink);
	text-decoration: none; transition: box-shadow var(--lgr-transition);
}
.lgr-sommaire a:hover { box-shadow: inset 0 0 0 1px var(--wp--preset--color--ink); }
/* Les trois sections sont ancrées : l'en-tête collé ne doit pas les masquer. */
.entry-content h2[id] { scroll-margin-top: calc(var(--lgr-entete) + 24px); }
.lgr-intro-legal { font-size: var(--wp--preset--font-size--large); line-height: 1.6; color: var(--wp--preset--color--text); }
.lgr-maj { margin-top: 2.5rem; font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--muted); }

/* ---------- Listes (actualités, événements, ressources) ---------- */
.lgr-list-card { background: var(--lgr-carte); border: 1px solid var(--wp--preset--color--rule); border-radius: var(--lgr-radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.lgr-list-card .wp-block-post-featured-image img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.lgr-list-card .lgr-list-body { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.lgr-list-card .wp-block-post-title { font-size: 1.25rem; line-height: 1.4; }
.lgr-list-card .wp-block-post-title a { text-decoration: none; }
.lgr-list-card .wp-block-post-date, .lgr-list-card .wp-block-post-terms, .lgr-meta { font-size: var(--wp--preset--font-size--xxs); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: var(--wp--preset--color--text); }
.lgr-list-card .wp-block-post-excerpt__excerpt { font-size: var(--wp--preset--font-size--small); }
.lgr-list-card .wp-block-post-excerpt__more-link { font-size: var(--wp--preset--font-size--xs); font-weight: 650; text-decoration: none; margin-top: auto; }
.lgr-list-card .wp-block-post-excerpt__more-link::after { content: " →"; }
.lgr-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0 0 2rem; }
.lgr-filter a { display: inline-block; border: 1px solid var(--wp--preset--color--rule); border-radius: 999px; padding: 0.45rem 1rem; font-size: var(--wp--preset--font-size--xs); font-weight: 650; text-decoration: none; background: var(--lgr-carte); }
.lgr-filter a:hover, .lgr-filter .is-active a { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--white); border-color: var(--wp--preset--color--ink); }
.wp-block-query-pagination { font-size: var(--wp--preset--font-size--compact); font-weight: 650; }

/* ---------- Divers ---------- */
.lgr-note { font-size: var(--wp--preset--font-size--xxs); color: var(--wp--preset--color--text); }
.lgr-demo { outline: 2px dashed var(--wp--preset--color--orange); outline-offset: 4px; }
.lgr-demo::before { content: "Contenu de démonstration — à remplacer"; display: block; font-size: var(--wp--preset--font-size--xxs); color: var(--wp--preset--color--orange-ink); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.5rem; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
.skip-link { position: absolute; left: -9999px; top: 1rem; background: var(--wp--preset--color--white); padding: 0.75rem 1rem; z-index: 100; border-radius: 6px; }
.skip-link:focus { left: 1rem; }

/* ---------- Bande jaune « Passer à l’action » ---------- */
.lgr-agir h2 { font-size: clamp(2rem, 3.9vw, 3rem); }
.lgr-agir p { color: var(--wp--preset--color--ink); }
.lgr-agir .wp-block-button.is-style-outline .wp-block-button__link { border-color: var(--wp--preset--color--ink); }
.lgr-agir .lgr-agir-pdf a {
	display: inline-flex; align-items: center; gap: 0.5rem;
	font-size: var(--wp--preset--font-size--small); font-weight: 600; text-decoration: none;
}
.lgr-agir .lgr-agir-pdf a::before {
	content: ""; width: 16px; height: 16px; flex-shrink: 0; background: currentColor;
	-webkit-mask: var(--lgr-icon-download) center / contain no-repeat;
	mask: var(--lgr-icon-download) center / contain no-repeat;
}
.lgr-agir .lgr-agir-pdf a:hover { text-decoration: underline; }
:root {
	--lgr-icon-download: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10.5l5 5 5-5M5 20h14'/%3E%3C/svg%3E");
}
.lgr-header .wp-block-button__link[aria-current="page"] {
	background: var(--wp--preset--color--ink); color: var(--wp--preset--color--white); box-shadow: none; text-decoration: none;
}
.lgr-header .wp-block-button__link[aria-current="page"]:hover { background: var(--lgr-ink-survol); color: var(--wp--preset--color--white); }

/* ---------- Page Programmes : ouverture ---------- */
.lgr-prog-hero { overflow-x: clip; }
.lgr-prog-hero h1 { font-size: clamp(2.3rem, 4.2vw, 3.4rem); line-height: 1.05; letter-spacing: -0.025em; text-wrap: balance; }
.lgr-prog-hero .is-style-lede { margin-top: 1.5rem; max-width: 28em; }
.lgr-kicker { font-size: var(--wp--preset--font-size--small); font-weight: 500; color: var(--wp--preset--color--muted); margin-bottom: 1.125rem; }
.lgr-progs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 2.25rem; }
@media (max-width: 760px) { .lgr-progs-grid { grid-template-columns: 1fr; } }

.lgr-prog {
	position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 30px;
	border-radius: 28px; background: var(--wp--preset--color--white); box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule);
	transition: box-shadow 0.35s var(--lgr-ease), transform 0.35s var(--lgr-ease);
}
.lgr-prog:hover, .lgr-prog:focus-within {
	box-shadow: inset 0 0 0 1.5px var(--c), 0 24px 50px -34px rgba(21, 26, 69, 0.35);
	transform: translateY(-3px);
}
.lgr-prog-ic { display: flex; transition: transform 0.5s var(--lgr-ease); }
.lgr-prog-ic svg { width: 56px; height: 56px; }
.lgr-prog:hover .lgr-prog-ic { transform: rotate(-10deg); }
.lgr-prog-name {
	font-family: var(--wp--preset--font-family--head); font-weight: 700;
	font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.15; letter-spacing: -0.012em;
	color: var(--ci, var(--wp--preset--color--ink)); text-wrap: balance; margin: 0;
}
/* « Mon entreprise » en bleu nuit, la suite dans la couleur du programme, comme le titre de la fiche (27/10). */
.lgr-prog-name span { display: block; color: var(--wp--preset--color--ink); }
.lgr-prog-desc { margin: 12px 0 6px; font-size: var(--wp--preset--font-size--small); max-width: 34em; }
.lgr-prog-with {
	display: flex; align-items: center; gap: 8px; margin: 10px 0 0;
	font-size: var(--wp--preset--font-size--xs); font-weight: 600; color: var(--wp--preset--color--muted);
}
.lgr-prog-with::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); flex-shrink: 0; }
.lgr-prog-foot { margin: auto 0 0; padding-top: 20px; }
.lgr-prog-go {
	display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
	font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--ink); text-decoration: none;
}
.lgr-prog-go::after { content: ""; position: absolute; inset: 0; border-radius: 28px; }
.lgr-prog-go svg { transition: transform 0.35s var(--lgr-ease); }
.lgr-prog:hover .lgr-prog-go { color: var(--ci); }
.lgr-prog:hover .lgr-prog-go svg { transform: translateX(3px); }



/* ---------- Page Programmes : la démarche ---------- */
.lgr-demarche {
	position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 28px; margin: 3rem 0 0; padding: 0; list-style: none;
}
.lgr-demarche::before {
	content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; border-radius: 2px;
	background: var(--wp--preset--gradient--rainbow); opacity: 0.35;
}
.lgr-demarche-item { position: relative; }
.lgr-demarche-n {
	position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--wp--preset--color--white);
	box-shadow: inset 0 0 0 2px var(--wp--preset--color--ink);
	display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
	font-family: var(--wp--preset--font-family--head); font-weight: 600; font-size: var(--wp--preset--font-size--medium);
	color: var(--wp--preset--color--ink); transition: background-color 0.3s var(--lgr-ease), color 0.3s var(--lgr-ease);
}
.lgr-demarche-item:hover .lgr-demarche-n { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--white); }
.lgr-demarche-item h3 { font-size: var(--wp--preset--font-size--medium); font-weight: 600; line-height: 1.3; margin: 0; }
.lgr-demarche-item p { margin: 8px 0 0; font-size: var(--wp--preset--font-size--small); line-height: 1.55; }
@media (max-width: 1000px) {
	.lgr-demarche { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
	.lgr-demarche::before { display: none; }
}
@media (max-width: 560px) {
	.lgr-demarche { grid-template-columns: 1fr; gap: 24px; }
	.lgr-demarche-item { display: grid; grid-template-columns: 44px 1fr; gap: 0 16px; }
	.lgr-demarche-n { grid-row: span 2; margin-bottom: 0; }
}

/* ---------- Page Programmes : panneau de l’ouverture ---------- */
.lgr-panneau {
	width: 100%; max-width: 430px; margin: 0 0 0 auto;
	padding: clamp(26px, 3vw, 38px); border-radius: 32px;
	background: var(--wp--preset--color--soft);
	border: 2px solid var(--c, var(--wp--preset--color--ink));
	display: flex; flex-direction: column;
	transition: border-color 0.9s var(--lgr-ease);
}
.lgr-pan-ics, .lgr-pan-ws, .lgr-pan-with { display: grid; }
.lgr-pan-ics > *, .lgr-pan-ws > *, .lgr-pan-with > * { grid-area: 1 / 1; }
.lgr-pan-media { position: relative; width: 146px; height: 146px; }
.lgr-pan-phs { display: grid; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: var(--wp--preset--color--rule); }
.lgr-pan-phs img { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.lgr-pan-phs img.on { opacity: 1; z-index: 2; transition: opacity 0.6s var(--lgr-ease); }
.lgr-pan-phs img.out { opacity: 1; z-index: 1; transition: none; }
/* z-index 3 : les photos montent à 2 pendant le fondu, la pastille doit rester au-dessus. */
.lgr-pan-media .lgr-pan-ics { position: absolute; right: -8px; bottom: -4px; z-index: 3; }
.lgr-pan-i {
	width: 46px; height: 46px; border-radius: 50%; background: var(--t); color: var(--ci, var(--c));
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 0 0 4px var(--wp--preset--color--soft);
}
.lgr-pan-txt {
	margin: 28px 0 0; font-family: var(--wp--preset--font-family--head); font-weight: 700;
	font-size: clamp(1.65rem, 2.6vw, 2.15rem); line-height: 1.12; letter-spacing: -0.018em;
	color: var(--wp--preset--color--ink);
}
.lgr-pan-pre { display: block; }
.lgr-pan-w { color: var(--ci, var(--c)); text-wrap: balance; }
.lgr-pan-with { margin: 14px 0 0; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.lgr-pan-foot { margin-top: auto; padding-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lgr-pan-dots { display: flex; gap: 8px; }
.lgr-pan-dot {
	position: relative; width: 10px; height: 10px; padding: 0; border: 0; border-radius: var(--lgr-radius-pill);
	background: var(--c); opacity: 0.28; cursor: pointer;
	transition: width 0.45s var(--lgr-ease), height 0.45s var(--lgr-ease), opacity 0.45s var(--lgr-ease);
}
.lgr-pan-dot.on { width: 17px; height: 17px; opacity: 1; }
.lgr-pan-dot:hover { opacity: 0.7; }
/* Le point reste petit, mais sa zone de clic fait au moins 24 px. */
.lgr-pan-dot::after { content: ""; position: absolute; inset: -8px; }
.lgr-pan-go {
	display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
	font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--ink);
	text-decoration: none; border-bottom: 1px solid var(--wp--preset--color--rule); padding-bottom: 3px;
}
.lgr-pan-go:hover { border-color: var(--wp--preset--color--ink); text-decoration: none; }

/* Changement : fondu et léger glissement vertical, sans zoom ni rotation. */
.lgr-pan-i, .lgr-pan-w, .lgr-pan-p { opacity: 0; visibility: hidden; }
.lgr-pan-i.on, .lgr-pan-w.on, .lgr-pan-p.on { opacity: 1; visibility: visible; }
@media (prefers-reduced-motion: no-preference) {
	.lgr-pan-i, .lgr-pan-w, .lgr-pan-p {
		transform: translateY(8px);
		transition: opacity 0.3s var(--lgr-ease), transform 0.3s var(--lgr-ease), visibility 0s linear 0.3s;
	}
	/* L'entrante attend que la sortante ait fini : aucun moment où les deux se superposent. */
	.lgr-pan-i.on, .lgr-pan-w.on, .lgr-pan-p.on {
		transform: none;
		transition: opacity 0.38s var(--lgr-ease) 0.32s, transform 0.38s var(--lgr-ease) 0.32s, visibility 0s;
	}
	.lgr-pan-i.out, .lgr-pan-w.out, .lgr-pan-p.out { transform: translateY(-8px); }
}
@media (max-width: 860px) { .lgr-panneau { margin-inline: auto; max-width: none; } }

.lgr-pan-cap { display: contents; }

/* ---------- Page Programmes : panneau « visuel » (6 octobre 2026) ----------
   LGR_PANNEAU_FORME = 'visuel' : la photo du programme occupe toute la
   colonne, avec le coin à facettes dans sa couleur, comme les cartes ; la
   légende est une étiquette blanche posée en bas de la photo, et les
   programmes se suivent sur de fins traits de leur couleur. */
.lgr-panneau.is-visuel {
	position: relative; max-width: 620px; aspect-ratio: 1; max-height: 640px;
	padding: 0; border: 0; border-radius: 28px; overflow: hidden; background: var(--wp--preset--color--soft);
	box-shadow: 0 34px 70px -42px rgba(21, 26, 69, 0.35);
}
.lgr-panneau.is-visuel .lgr-pan-media { position: absolute; inset: 0; width: auto; height: auto; }
.lgr-panneau.is-visuel .lgr-pan-phs { border-radius: 0; }
/* Le coin à facettes en haut à gauche de la photo (le haut droit de la page
   porte déjà les triangles), la pastille du picto posée dessus. */
.lgr-panneau.is-visuel .lgr-pan-media::after {
	content: ""; position: absolute; top: 0; left: 0; z-index: 3; width: 26%; aspect-ratio: 1; pointer-events: none;
	background: linear-gradient(135deg, var(--c) 0 34%, color-mix(in srgb, var(--c) 62%, white) 34% 62%, color-mix(in srgb, var(--c) 30%, white) 62%);
	clip-path: polygon(0 0, 100% 0, 0 100%);
}
.lgr-panneau.is-visuel .lgr-pan-media .lgr-pan-ics { top: 18px; left: 18px; right: auto; bottom: auto; z-index: 4; }
.lgr-panneau.is-visuel .lgr-pan-i { width: 48px; height: 48px; background: var(--wp--preset--color--white); box-shadow: 0 8px 22px -10px rgba(21, 26, 69, 0.45); }
.lgr-panneau.is-visuel .lgr-pan-cap {
	position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 4;
	display: block; padding: 16px 20px 14px; border-radius: 18px;
	background: var(--wp--preset--color--white); box-shadow: 0 16px 40px -24px rgba(21, 26, 69, 0.5);
}
.lgr-panneau.is-visuel .lgr-pan-txt { margin: 0; font-size: clamp(1.1rem, 1.45vw, 1.35rem); line-height: 1.15; }
.lgr-panneau.is-visuel .lgr-pan-with { margin-top: 6px; font-size: var(--wp--preset--font-size--xs); }
.lgr-panneau.is-visuel .lgr-pan-foot { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--wp--preset--color--rule); }
.lgr-panneau.is-visuel .lgr-pan-dots { gap: 6px; align-items: center; }
.lgr-panneau.is-visuel .lgr-pan-dot { width: 18px; height: 4px; opacity: 0.3; }
.lgr-panneau.is-visuel .lgr-pan-dot.on { width: 36px; height: 4px; opacity: 1; }
.lgr-panneau.is-visuel .lgr-pan-go { border-bottom-color: var(--lgr-accent-fonce); }
@media (prefers-reduced-motion: no-preference) {
	/* La photo sortante (out) garde son zoom : pas de saut pendant le fondu. */
	.lgr-panneau.is-visuel .lgr-pan-phs img.on, .lgr-panneau.is-visuel .lgr-pan-phs img.out { animation: lgr-hv-zoom 9s linear both; }
}
/* La photo prend la moitié de l'ouverture (la page la pose à 45 %). */
@media (min-width: 861px) {
	.lgr-prog-hero .wp-block-column:has(> .lgr-panneau.is-visuel) { flex-basis: 50% !important; }
	.lgr-prog-hero .wp-block-column:has(+ .wp-block-column > .lgr-panneau.is-visuel) { flex-basis: 50% !important; }
}
@media (max-width: 860px) {
	.lgr-panneau.is-visuel { max-width: none; aspect-ratio: 4 / 5; }
}

/* ---------- Page Programmes : le picto en grand dans les cartes ---------- */
.lgr-prog-media { display: flex; align-items: center; justify-content: center; width: 112px; height: 112px; margin-bottom: 24px; border-radius: 50%; background: var(--t); color: var(--ci, var(--c)); }

/* ---------- Test : panneau rond ----------
   Variante activée par LGR_PANNEAU_FORME dans l'extension.
   Rien ici n'affecte le panneau carré : tout est sous .is-rond. */
.lgr-panneau.is-rond {
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	max-width: 460px;
	--pan-pad: clamp(26px, 4.2vw, 44px);
	padding: var(--pan-pad);
	align-items: center;
	justify-content: center;
	text-align: center;
}
.lgr-panneau.is-rond .lgr-pan-media { width: 152px; height: 152px; }
.lgr-panneau.is-rond .lgr-pan-i { width: 40px; height: 40px; }
.lgr-panneau.is-rond .lgr-pan-i svg { width: 19px; height: 19px; }
.lgr-panneau.is-rond .lgr-pan-txt {
	margin-top: 16px;
	font-size: clamp(1.2rem, 1.95vw, 1.55rem);
	line-height: 1.16;
	max-width: 15em;
}
.lgr-panneau.is-rond .lgr-pan-with { margin-top: 8px; font-size: var(--wp--preset--font-size--xs); max-width: 20em; }
.lgr-panneau.is-rond .lgr-pan-foot {
	margin-top: 14px; padding-top: 0;
	flex-direction: column; justify-content: center; gap: 12px;
}
@media (max-width: 1100px) {
	.lgr-panneau.is-rond { --pan-pad: clamp(28px, 5vw, 48px); }
	.lgr-panneau.is-rond .lgr-pan-media { width: 124px; height: 124px; }
	.lgr-panneau.is-rond .lgr-pan-txt { margin-top: 14px; }
}
@media (max-width: 860px) {
	.lgr-panneau.is-rond { max-width: 420px; }
}

/* Variante ronde : les points suivent l'arc bas du cercle, et le picto
   se pose sur la photo plutôt qu'à cheval sur son bord. */
.lgr-panneau.is-rond { position: relative; container-type: inline-size; }
.lgr-panneau.is-rond .lgr-pan-media .lgr-pan-ics { right: 4px; bottom: 4px; }
.lgr-panneau.is-rond .lgr-pan-i { box-shadow: 0 0 0 3px var(--wp--preset--color--white); }

/* L'arc n'existe qu'au-dessus de 860 px : dans un cercle de 358 px, le contenu
   et l'arc ne tiennent pas ensemble sans déformer le cercle. En dessous, les
   points reprennent leur rang normal sous le lien. */
@media (min-width: 861px) {
	.lgr-panneau.is-rond .lgr-pan-dots { position: absolute; inset: 0; display: block; pointer-events: none; }
	.lgr-panneau.is-rond .lgr-pan-dot {
		position: absolute; top: 50%; left: 50%; pointer-events: auto;
		/* cqi mesure la boîte de contenu : on y ajoute la marge intérieure
		   pour retrouver le rayon du cercle, puis on rentre de 30 px. */
		--arc-r: calc(50cqi + var(--pan-pad) - 30px);
		--arc-a: calc(((var(--n) - 1) / 2 - var(--i)) * 12deg);
		transform: translate(-50%, -50%) rotate(var(--arc-a)) translateY(var(--arc-r)) rotate(calc(-1 * var(--arc-a)));
		transition: width 0.45s var(--lgr-ease), height 0.45s var(--lgr-ease), opacity 0.45s var(--lgr-ease);
	}
	.lgr-panneau.is-rond .lgr-pan-foot { margin-top: 14px; padding-bottom: 0; }
	/* Marge basse plus épaisse que la haute : le bloc centré remonte, et la
	   hauteur du panneau reste verrouillée par aspect-ratio. */
	.lgr-panneau.is-rond { padding-bottom: calc(var(--pan-pad) + 36px); }
}
@media (max-width: 860px) {
	.lgr-panneau.is-rond .lgr-pan-foot { margin-top: 10px; padding-top: 0; gap: 10px; }
}

.lgr-panneau.is-rond .lgr-pan-media .lgr-pan-ics { right: 4px; bottom: 4px; }
.lgr-panneau.is-rond .lgr-pan-i { box-shadow: 0 0 0 3px var(--wp--preset--color--white); }

/* ---------- Gabarit page programme : parcours et étapes ---------- */
.lgr-parcours {
	position: sticky; top: var(--lgr-entete); z-index: 30;
	background: rgba(255, 255, 255, 0.95);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	border-block: 1px solid var(--wp--preset--color--rule);
}
.lgr-parcours-in {
	display: flex; align-items: center; gap: 12px 40px; flex-wrap: wrap;
	max-width: calc(var(--wp--style--global--wide-size) + 2 * clamp(16px, 4vw, 48px)); margin-inline: auto;
	padding: 12px clamp(16px, 4vw, 48px);
}
.lgr-st-t {
	margin: 0; font-family: var(--wp--preset--font-family--head);
	font-size: var(--wp--preset--font-size--xs); font-weight: 600;
	letter-spacing: 0.12em; text-transform: uppercase; color: var(--pci, var(--wp--preset--color--ink));
}
/* Les étiquettes des étapes s'étirent à parts égales sur toute la ligne, après
   le libellé « Votre parcours » (retours du 02/11). */
.lgr-parcours ol { display: flex; flex: 1; justify-content: flex-start; align-items: center; gap: 6px 8px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.lgr-parcours li { flex: 1 1 0; min-width: max-content; display: flex; justify-content: center; }
/* La pastille de l'étape en cours entoure seulement le numéro et le libellé ;
   l'espace restant se répartit entre les étapes (retours du 10/11). */
.lgr-parcours a {
	display: flex; justify-content: center; align-items: center; gap: 9px;
	padding: 6px 14px 6px 6px; border-radius: var(--lgr-radius-pill);
	font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted);
	text-decoration: none; transition: background-color var(--lgr-transition), color var(--lgr-transition);
}
.lgr-st-n {
	width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: var(--wp--preset--font-size--xxs); font-weight: 600;
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule);
	transition: background-color var(--lgr-transition), color var(--lgr-transition), box-shadow var(--lgr-transition);
}
.lgr-parcours a:hover { color: var(--wp--preset--color--ink); }
.lgr-parcours a.done .lgr-st-n { background: var(--pct); color: var(--pci); box-shadow: none; }
.lgr-parcours a.on { background: var(--pct); color: var(--wp--preset--color--ink); }
.lgr-parcours a.on .lgr-st-n { background: var(--pci); color: var(--wp--preset--color--white); box-shadow: none; }
.lgr-st-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; display: block; }
.lgr-st-bar > span { display: block; height: 100%; width: 0; background: var(--pc); transition: width 120ms linear; }
@media (max-width: 1100px) { .lgr-st-t { display: none; } }
@media (max-width: 900px) {
	.lgr-parcours a .lgr-st-l { display: none; }
	.lgr-parcours a.on .lgr-st-l { display: inline; }
	.lgr-parcours-in { gap: 12px; }
}

/* Sur une fiche programme, tous les surtitres prennent la couleur du
   programme, comme dans la maquette. */
.single-programme { --lgr-eyebrow: var(--pci); }
.lgr-etape { scroll-margin-top: 140px; }
/* Entre deux étapes, un seul espacement : le même que sous la barre du
   parcours, au-dessus de l'étape 1 (retours du 29/10, sans « Étape suivante »). */
.lgr-etape + .lgr-etape { padding-top: 0 !important; }

/* Apparition en fondu au défilement, sur tout le site (theme.js pose les
   classes). « translate » plutôt que « transform » : un élément qui a déjà sa
   propre transformation la garde. Sans script ou avec « réduire les
   animations », rien n'est masqué. */
@media (prefers-reduced-motion: no-preference) {
	.lgr-reveil > * {
		opacity: 0; translate: 0 40px;
		transition: opacity 1s var(--lgr-ease), translate 1s var(--lgr-ease);
	}
	.lgr-reveil > :nth-child(2) { transition-delay: 120ms; }
	.lgr-reveil > :nth-child(3) { transition-delay: 240ms; }
	.lgr-reveil > :nth-child(n+4) { transition-delay: 340ms; }
	.lgr-reveil.lgr-vu > * { opacity: 1; translate: none; }

	/* Listes filtrées (window.lgrListe, theme.js) : la liste en place
	   s'estompe pendant le chargement, puis les éléments arrivent en cascade. */
	.lgr-liste-attente { opacity: 0.35; transition: opacity 0.2s var(--lgr-ease); pointer-events: none; }
	.lgr-entre { animation: lgr-entre 0.55s var(--lgr-ease) both; animation-delay: calc(var(--lgr-i, 0) * 45ms); }
}
@keyframes lgr-entre { from { opacity: 0; translate: 0 14px; } }

/* ---------- Accueil : ouverture ---------- */
/* Le premier bandeau : pleine largeur, un grand visuel de fond
   ([lgr_accueil_visuel] : dessin au trait, photo ou vidéo), un voile pour la
   lisibilité, les polygones dans les coins (lgr-deco), le texte par-dessus. */
.lgr-home-hero { display: flex; flex-direction: column; justify-content: center; min-height: min(86vh, 880px); padding-block: clamp(56px, 8vw, 112px); }
.lgr-home-hero > * { margin-block-start: 0; }
.lgr-home-hero-txt { position: relative; width: 100%; }
.lgr-home-hero-txt > * { max-width: 34rem; }
/* La photo s'arrête un peu avant la fin du texte (06/11) : son bord gauche suit
   la colonne de contenu, pour ne pas recouvrir le texte sur un écran de 13".
   Fondu long et progressif, sans bande vide au départ. */
.lgr-hv { position: absolute; top: 0; right: 0; bottom: 0; width: min(62%, 1000px, calc(100% - max(var(--wp--style--root--padding-left), (100% - var(--wp--style--global--content-size)) / 2) - 30rem)); z-index: -2; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.12) 14%, rgba(0, 0, 0, 0.4) 32%, rgba(0, 0, 0, 0.75) 52%, rgba(0, 0, 0, 0.94) 66%, #000 76%); mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.12) 14%, rgba(0, 0, 0, 0.4) 32%, rgba(0, 0, 0, 0.75) 52%, rgba(0, 0, 0, 0.94) 66%, #000 76%); }
.lgr-hv::after { content: ""; position: absolute; inset: auto 0 0; height: 26%; background: linear-gradient(0deg, var(--wp--preset--color--white), transparent); }
.lgr-hv img, .lgr-hv video { display: block; width: 100%; height: 100%; object-fit: cover; scale: 1.08; transform: translate3d(0, calc(var(--lgr-sy, 0) * 0.12px), 0); }
/* Plusieurs photos : elles se superposent et se succèdent en fondu enchaîné
   (theme.js pose is-on), chacune avec un lent zoom pendant qu'elle est vue. */
.lgr-hv-diapo img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease-in-out; }
.lgr-hv-diapo img.is-on { opacity: 1; }

@media (prefers-reduced-motion: no-preference) {
	.lgr-hv img, .lgr-hv video { animation: lgr-hv-pose 1.8s var(--lgr-ease) both; }
	.lgr-hv-diapo img { animation: none; }
	/* La photo qui s'efface garde son zoom (is-out) : pas de saut pendant le fondu. */
	.lgr-hv-diapo img.is-on, .lgr-hv-diapo img.is-out { animation: lgr-hv-zoom 9s linear both; }
	@keyframes lgr-hv-zoom { from { scale: 1.06; } to { scale: 1.16; } }
	.lgr-home-hero-txt > * { animation: lgr-hv-texte 0.9s var(--lgr-ease) both; }
	.lgr-home-hero-txt > :nth-child(2) { animation-delay: 0.08s; }
	.lgr-home-hero-txt > :nth-child(3) { animation-delay: 0.16s; }
	.lgr-home-hero-txt > :nth-child(n+4) { animation-delay: 0.24s; }
	@keyframes lgr-hv-pose { from { opacity: 0; scale: 1.16; } }
	@keyframes lgr-hv-texte { from { opacity: 0; translate: 0 18px; } }
}
.lgr-home-hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 1.02; letter-spacing: -0.028em; text-wrap: balance; }
.lgr-home-hero .is-style-lede { margin-top: 1.625rem; max-width: 30em; }
.lgr-home-hero .is-style-lede + p { margin-top: 0.875rem; max-width: 32em; }

/* La boîte du portrait contient la photo ET l'anneau : 16 px de marge intérieure
   tout autour. Aucun retrait négatif, donc photo, anneau et billes partagent
   le même centre par construction. */
.lgr-portrait { position: relative; width: 100%; max-width: 462px; aspect-ratio: 1; padding: 16px; margin-inline: auto 0; }
.lgr-portrait .lgr-photo {
	position: absolute; inset: 16px; margin: 0; border-radius: 50%; overflow: hidden; gap: 0;
	background: radial-gradient(circle at 32% 28%, var(--wp--preset--color--accent-soft), var(--wp--preset--color--soft) 62%);
}
/* Le sélecteur reprend « .wp-block-gallery » et « .wp-block-image » : sans cela,
   la règle de galerie de WordPress l'emporte, les vignettes restent en flux
   et seule la première tombe dans le rond. */
.lgr-portrait .lgr-photo.wp-block-gallery figure.wp-block-image { position: absolute; inset: 0; margin: 0; width: 100%; height: 100%; }
.lgr-portrait .lgr-photo img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
	opacity: 0; transform: scale(1.07);
	transition: opacity 1.8s ease, transform 0s linear 1.8s;
}
.lgr-portrait .lgr-photo figure.on img { opacity: 1; transform: scale(1); transition: opacity 1.8s ease, transform 8s cubic-bezier(0.3, 0.1, 0.3, 1); }
/* Avant que le script ne prenne la main, la première photo est visible.
   Dès qu'il démarre, il pose « is-pret » et c'est lui qui décide. */
.lgr-portrait:not(.is-pret) .lgr-photo figure:first-child img { opacity: 1; }
@media (max-width: 860px) { .lgr-portrait { margin-inline: auto; max-width: 352px; } }

/* ---------- Accueil : encart à la une ---------- */
.lgr-push-card {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
	gap: 18px 28px; padding: 22px 28px 22px 22px; border-radius: 26px;
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule);
}
.lgr-push-date {
	width: 84px; height: 84px; border-radius: 50%; background: var(--wp--preset--color--ink); color: var(--wp--preset--color--white);
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	font-family: var(--wp--preset--font-family--head); line-height: 1; text-align: center; margin: 0;
}
.lgr-push-date b { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
/* Événement reporté ou annulé : le statut remplace la date, sur fond d'alerte. */
.lgr-push-date-st { background: var(--lgr-alerte-fond); color: var(--lgr-alerte); }
.lgr-push-date-st b { font-size: var(--wp--preset--font-size--xs); text-transform: uppercase; letter-spacing: 0.06em; }
.lgr-push-date span { font-size: var(--wp--preset--font-size--xs); font-weight: 600; margin-top: 5px; color: var(--wp--preset--color--accent); letter-spacing: 0.04em; }
.lgr-push-tag {
	display: inline-block; margin: 0 0 8px; font-family: var(--wp--preset--font-family--head);
	font-size: var(--wp--preset--font-size--xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--wp--preset--color--ink); background: var(--wp--preset--color--accent);
	border-radius: var(--lgr-radius-pill); padding: 4px 12px;
}
.lgr-push-title { margin: 0; font-family: var(--wp--preset--font-family--head); font-size: var(--wp--preset--font-size--large); font-weight: 600; line-height: 1.3; color: var(--wp--preset--color--ink); }
.lgr-push-txt { margin: 2px 0 0; font-size: var(--wp--preset--font-size--small); }
/* Mobile, comme la maquette : marge resserrée et pastille plus petite, pour
   laisser la place au texte ; le bouton passe dessous. */
@media (max-width: 760px) {
	.lgr-push-card { grid-template-columns: auto minmax(0, 1fr); padding: 20px; }
	.lgr-push-card .wp-block-buttons { grid-column: 1 / -1; }
	.lgr-push-date { width: 72px; height: 72px; }
}

/* ---------- Accueil : en quelques mots ---------- */
.lgr-bref { display: flex; flex-direction: column; align-items: flex-start; }
.lgr-statement {
	font-family: var(--wp--preset--font-family--head); font-weight: 600;
	font-size: clamp(1.4rem, 2.3vw, 1.95rem); line-height: 1.34; letter-spacing: -0.012em;
	color: var(--wp--preset--color--ink); max-width: 31em; text-wrap: pretty;
}
.lgr-statement .lgr-dot { display: inline-block; width: 0.4em; height: 0.4em; border-radius: 50%; margin: 0 0.26em 0.08em 0; vertical-align: middle; }
.lgr-statement .d0 { background: var(--wp--preset--color--blue); }
.lgr-statement .d1 { background: var(--wp--preset--color--green); }
.lgr-statement .d2 { background: var(--wp--preset--color--orange); }
.lgr-prog-cta {
	align-self: stretch; position: relative; overflow: hidden; isolation: isolate;
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center;
	gap: 36px clamp(32px, 5vw, 72px); margin-top: 3.5rem; padding: clamp(26px, 4.2vw, 56px);
	border-radius: 32px; background: var(--wp--preset--color--white);
	box-shadow: 0 1px 2px rgba(21, 26, 69, 0.05), 0 34px 70px -40px rgba(21, 26, 69, 0.28);
}
@media (max-width: 900px) { .lgr-prog-cta { grid-template-columns: 1fr; } }
.lgr-pc-eyebrow {
	display: flex; align-items: center; gap: 12px; margin: 0 0 14px;
	font-family: var(--wp--preset--font-family--head); font-size: var(--wp--preset--font-size--xs);
	font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--ink);
}
.lgr-pc-eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--lgr-accent-fonce); }
.lgr-pc-title { font-family: var(--wp--preset--font-family--head); font-weight: 700; font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.1; letter-spacing: -0.018em; margin: 0; text-wrap: balance; }
.lgr-pc-txt { margin-top: 1rem; max-width: 30em; }
.lgr-pc-list { list-style: none; margin: 0; padding: 0; }
.lgr-pc-list li + li { border-top: 1px solid var(--wp--preset--color--rule); }
.lgr-pc-list a {
	display: grid; grid-template-columns: 48px minmax(0, 1fr) 36px; align-items: center; gap: 16px;
	margin: 5px -14px; padding: 10px 14px; border-radius: 20px; text-decoration: none; color: inherit;
	transition: background-color var(--lgr-transition);
}
.lgr-pc-list a:hover, .lgr-pc-list a:focus-visible { background: var(--t); }
.lgr-pc-ic {
	width: 48px; height: 48px; border-radius: 50%; background: var(--wp--preset--color--soft);
	color: var(--wp--preset--color--ink); display: flex; align-items: center; justify-content: center;
	transition: transform 0.5s var(--lgr-ease), background-color 0.35s var(--lgr-ease), color 0.35s var(--lgr-ease);
}
.lgr-pc-list a:hover .lgr-pc-ic, .lgr-pc-list a:focus-visible .lgr-pc-ic { background: var(--wp--preset--color--white); color: var(--ci, var(--c)); transform: rotate(-10deg); }
.lgr-pc-name { min-width: 0; line-height: 1.3; }
.lgr-pc-pre { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.lgr-pc-name b { font-family: var(--wp--preset--font-family--head); font-weight: 600; font-size: var(--wp--preset--font-size--medium); color: var(--wp--preset--color--ink); }
.lgr-pc-with { display: block; margin-top: 3px; font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lgr-pc-go {
	width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	color: var(--wp--preset--color--ink); box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule);
	transition: background-color 0.35s var(--lgr-ease), color 0.35s var(--lgr-ease), transform 0.35s var(--lgr-ease);
}
.lgr-pc-list a:hover .lgr-pc-go, .lgr-pc-list a:focus-visible .lgr-pc-go { background: var(--ci, var(--c)); color: var(--wp--preset--color--white); box-shadow: none; transform: translateX(3px); }
.lgr-pc-note { margin-top: 14px; font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--muted); }

/* ---------- Accueil : bande de logos ---------- */
/* La maquette fait défiler les logos en une seule ligne, en niveaux de gris,
   avec une pause au survol et au focus ; elle rend sa couleur au logo survolé.
   Le bandeau défile sur tous les postes, indépendamment du réglage système
   de réduction des animations. */
.lgr-part-head { align-items: baseline; }
/* Le titre de la bande, sur l'accueil comme sur la page Le Grand Rebond. */
.lgr-part-head h2 { font-size: var(--wp--preset--font-size--section); font-weight: 600; }
.lgr-strip {
	display: flex; overflow: hidden; margin-top: 30px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.lgr-track { display: flex; flex-shrink: 0; align-items: center; gap: 64px; padding: 6px 32px; margin: 0; list-style: none; animation: lgr-defile 110s linear infinite; }
.lgr-strip:hover .lgr-track, .lgr-strip:focus-within .lgr-track { animation-play-state: paused; }
@keyframes lgr-defile { to { transform: translateX(-100%); } }
.lgr-track a { display: flex; align-items: center; height: 56px; border-radius: 10px; }
.lgr-track img { height: 40px; width: auto; max-width: none; filter: grayscale(1); opacity: 0.55; transition: filter 0.35s var(--lgr-ease), opacity 0.35s var(--lgr-ease); }
.lgr-track a:hover img, .lgr-track a:focus-visible img { filter: none; opacity: 1; }

/* ================================================================
   Page « Le Grand Rebond » (À propos)
   ================================================================ */

/* Pastille de couleur : la même dans la légende du schéma, les collèges de la
   gouvernance et la phrase « en quelques mots » de l'accueil. */
.lgr-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; display: inline-block; }
.lgr-dot.d0 { background: var(--wp--preset--color--blue); }
.lgr-dot.d1 { background: var(--wp--preset--color--green); }
.lgr-dot.d2 { background: var(--wp--preset--color--orange); }
.lgr-dot.dh { background: var(--wp--preset--color--accent); box-shadow: 0 0 0 1px var(--wp--preset--color--ink); }

/* Rond porteur d'un picto, employé dans les encarts, les listes et les cartes. */
.lgr-ic { width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lgr-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lgr-ic.t0 { background: var(--wp--preset--color--blue-tint); color: var(--wp--preset--color--blue-ink); }
.lgr-ic.t1 { background: var(--wp--preset--color--green-tint); color: var(--wp--preset--color--green-ink); }
.lgr-ic.t2 { background: var(--wp--preset--color--orange-tint); color: var(--wp--preset--color--orange-ink); }

/* ---------- Ouverture : schéma inspiré du logo ---------- */
.lgr-ap-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.lgr-baseline {
	font-family: var(--wp--preset--font-family--head); font-weight: 600;
	font-size: var(--wp--preset--font-size--section); line-height: 1.25;
	color: var(--wp--preset--color--ink); margin-block: 1.375rem; max-width: 19em;
}
.lgr-ap-fig { max-width: 440px; width: 100%; justify-self: end; margin: 0; }
.lgr-orbite { width: 100%; height: auto; overflow: visible; display: block; }
/* La vidéo à la place du schéma : toute la colonne. */
.lgr-ap-fig.lgr-ap-video { max-width: none; }
.lgr-o-ln { fill: none; stroke: var(--wp--preset--color--ink); stroke-width: 4; stroke-linecap: round; }
.lgr-o-ring { fill: none; stroke: var(--wp--preset--color--ink); stroke-width: 3.4; transition: stroke 0.7s var(--lgr-ease), opacity 0.45s var(--lgr-ease); }
.lgr-o-core { fill: var(--wp--preset--color--accent); stroke: var(--wp--preset--color--ink); stroke-width: 3.4; }
.lgr-o-lk { stroke: var(--wp--preset--color--ink); stroke-width: 1.4; opacity: 0.25; transition: opacity 0.45s var(--lgr-ease); }
.lgr-o-nd { stroke: var(--wp--preset--color--white); stroke-width: 3; transition: opacity 0.45s var(--lgr-ease); transform-box: fill-box; transform-origin: center; }
.lgr-o-end { fill: var(--wp--preset--color--accent); stroke: var(--wp--preset--color--ink); stroke-width: 3.4; }
.lgr-o-start { fill: var(--wp--preset--color--ink); }
.lgr-orbite[data-g="0"] .lgr-o-ring[data-g="0"] { stroke: var(--wp--preset--color--blue); }
.lgr-orbite[data-g="1"] .lgr-o-ring[data-g="1"] { stroke: var(--wp--preset--color--green); }
.lgr-orbite[data-g="2"] .lgr-o-ring[data-g="2"] { stroke: var(--wp--preset--color--orange); }
.lgr-orbite[data-hl] .lgr-o-lk { opacity: 0.08; }
.lgr-orbite[data-hl][data-g="0"] .lgr-o-nd:not([data-g="0"]),
.lgr-orbite[data-hl][data-g="1"] .lgr-o-nd:not([data-g="1"]),
.lgr-orbite[data-hl][data-g="2"] .lgr-o-nd:not([data-g="2"]) { opacity: 0.22; }
.lgr-orbite[data-hl][data-g="0"] .lgr-o-ring:not([data-g="0"]),
.lgr-orbite[data-hl][data-g="1"] .lgr-o-ring:not([data-g="1"]),
.lgr-orbite[data-hl][data-g="2"] .lgr-o-ring:not([data-g="2"]) { opacity: 0.3; }
@media (prefers-reduced-motion: no-preference) {
	.lgr-orbite { animation: lgr-apparait 1.2s var(--lgr-ease) both; }
	.lgr-orbite[data-g="0"] .lgr-o-nd[data-g="0"],
	.lgr-orbite[data-g="1"] .lgr-o-nd[data-g="1"],
	.lgr-orbite[data-g="2"] .lgr-o-nd[data-g="2"] { animation: lgr-scintille 1.6s ease-in-out infinite; }
}
@keyframes lgr-apparait { from { opacity: 0; } to { opacity: 1; } }
@keyframes lgr-scintille { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.3); } }
.lgr-keys { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 1rem; padding: 0; list-style: none; }
.lgr-keys > button, .lgr-keys > span {
	display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; background: none; border: 0;
	font: 500 var(--wp--preset--font-size--xs) var(--wp--preset--font-family--body);
	color: var(--wp--preset--color--muted); transition: color 0.3s var(--lgr-ease);
}
.lgr-keys > button { cursor: default; }
.lgr-keys .lgr-dot { transition: transform 0.35s var(--lgr-ease); }
.lgr-keys > button.is-lit, .lgr-keys > button:hover, .lgr-keys > button:focus-visible { color: var(--wp--preset--color--ink); }
.lgr-keys > button.is-lit .lgr-dot, .lgr-keys > button:hover .lgr-dot { transform: scale(1.5); }
/* Sur deux colonnes, le schéma et sa légende tiennent dans la hauteur du
   texte : rien ne descend sous les boutons. (contain: size : la figure ne
   pèse pas sur la hauteur de la ligne, elle en prend la hauteur.) */
@media (min-width: 861px) {
	.lgr-ap-hero { align-items: stretch; }
	.lgr-ap-fig { contain: size; display: flex; flex-direction: column; justify-content: flex-end; }
	.lgr-ap-fig .lgr-orbite { flex: 1 1 0; min-height: 0; height: 100%; }
	.lgr-ap-fig.lgr-ap-video { contain: none; display: block; align-self: center; }
}
@media (max-width: 860px) {
	.lgr-ap-hero { grid-template-columns: 1fr; }
	.lgr-ap-fig { justify-self: start; max-width: 380px; }
	.lgr-ap-fig.lgr-ap-video { max-width: 640px; }
}

/* ---------- Le constat ---------- */
.lgr-constat-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; margin-top: 1.75rem; align-items: start; }
.lgr-constat-grid .is-style-lede { font-size: clamp(1.25rem, 1.8vw, 1.45rem) !important; font-weight: 500; line-height: 1.55; color: var(--wp--preset--color--ink); }
.lgr-constat-aside { border-left: 2px solid var(--wp--preset--color--rule); padding-left: 24px; }
@media (max-width: 860px) {
	.lgr-constat-grid { grid-template-columns: 1fr; gap: 28px; }
	.lgr-constat-aside { border-left: 0; padding-left: 0; }
}

/* ---------- Notre rôle : deux encarts ---------- */
.lgr-cards2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 2.5rem; }
.lgr-rolecard {
	border-radius: 26px; padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column;
	transition: transform 0.35s var(--lgr-ease);
}
.lgr-rolecard:hover { transform: translateY(-3px); }
.lgr-rolecard.is-cat { background: var(--lgr-cat-fond); box-shadow: inset 0 0 0 1px var(--lgr-cat-bord); }
.lgr-rolecard.is-acc { background: var(--lgr-acc-fond); box-shadow: inset 0 0 0 1px var(--lgr-acc-bord); }
.lgr-rc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 1.25rem; }
.lgr-rc-head .lgr-ic { color: var(--wp--preset--color--white); }
.lgr-rolecard.is-cat .lgr-rc-head .lgr-ic { background: var(--wp--preset--color--green-ink); }
.lgr-rolecard.is-acc .lgr-rc-head .lgr-ic { background: var(--wp--preset--color--blue-ink); }
.lgr-rc-lbl {
	font-family: var(--wp--preset--font-family--head); font-size: var(--wp--preset--font-size--small);
	font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
}
.lgr-rolecard.is-cat .lgr-rc-lbl { color: var(--wp--preset--color--green-ink); }
.lgr-rolecard.is-acc .lgr-rc-lbl { color: var(--wp--preset--color--blue-ink); }
.lgr-rc-head .lgr-ic svg { transition: transform 0.9s var(--lgr-ease); }
.lgr-rolecard.is-cat:hover .lgr-rc-head .lgr-ic svg { transform: rotate(120deg); }
@media (prefers-reduced-motion: no-preference) {
	.lgr-rolecard.is-acc:hover .lgr-rc-head .lgr-ic svg { animation: lgr-decolle 1.3s var(--lgr-ease) infinite; }
}
@keyframes lgr-decolle { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(2px, -4px); } }
.lgr-rolecard h3 { margin-bottom: 0.75rem; }
.lgr-rolecard p { max-width: 36em; }
.lgr-mini-label {
	font-family: var(--wp--preset--font-family--head); font-size: var(--wp--preset--font-size--xs);
	font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
	color: var(--wp--preset--color--green-ink); margin-bottom: 0.625rem;
}
.lgr-rolecard.is-acc .lgr-mini-label { color: var(--wp--preset--color--blue-ink); }
.lgr-eco { display: flex; flex-direction: column; gap: 8px; margin: 0 0 1.625rem; padding: 0; list-style: none; }
.lgr-eco li { display: flex; align-items: center; gap: 12px; background: var(--wp--preset--color--white); border-radius: 14px; padding: 8px 14px; font-weight: 600; color: var(--wp--preset--color--ink); }
.lgr-eco .lgr-ic { width: 34px; height: 34px; }
.lgr-eco .lgr-ic svg { width: 17px; height: 17px; }
.lgr-progs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 1.625rem; }
.lgr-progs a {
	display: flex; align-items: center; gap: 10px; min-height: 50px; background: var(--wp--preset--color--white); border-radius: 14px;
	padding: 8px 12px; font-weight: 600; font-size: var(--wp--preset--font-size--compact); line-height: 1.25; color: var(--wp--preset--color--ink);
	text-decoration: none; min-width: 0; transition: box-shadow 0.25s var(--lgr-ease);
}
.lgr-progs a:hover { box-shadow: inset 0 0 0 1.5px var(--c, var(--wp--preset--color--blue)); }
/* Chaque case dans la couleur de son programme ([lgr_programmes_puces]). */
.lgr-progs .lgr-ic { width: 32px; height: 32px; background: var(--t, var(--wp--preset--color--blue-tint)); color: var(--ci, var(--wp--preset--color--blue-ink)); }
.lgr-progs .lgr-ic svg { width: 16px; height: 16px; }
.lgr-rc-foot { margin-top: auto; border-top: 1px solid var(--lgr-acc-bord); padding-top: 1.25rem; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.lgr-rolecard.is-cat .lgr-rc-foot { border-top-color: var(--lgr-cat-bord); }
.lgr-rolecard.is-cat .wp-block-button__link { background: var(--wp--preset--color--green-ink); color: var(--wp--preset--color--white); }
.lgr-rolecard.is-cat .wp-block-button__link:hover { background: var(--lgr-cat-survol); }
.lgr-rolecard.is-acc .wp-block-button__link { background: var(--wp--preset--color--blue-ink); color: var(--wp--preset--color--white); }
.lgr-rolecard.is-acc .wp-block-button__link:hover { background: var(--lgr-acc-survol); }
@media (max-width: 760px) { .lgr-cards2 { grid-template-columns: 1fr; } }

/* ---------- Notre façon de faire : bande encre ---------- */
.lgr-inkband { --lgr-eyebrow: var(--wp--preset--color--accent); background: var(--wp--preset--color--ink); color: var(--lgr-on-ink); }
.lgr-inkband h2 { color: var(--wp--preset--color--white); font-size: clamp(1.6rem, 2.6vw, 2rem); }
.lgr-inkband p { color: var(--lgr-on-ink-muted); }
.lgr-inkband p strong { color: var(--wp--preset--color--white); }
.lgr-inkband :focus-visible { outline-color: var(--wp--preset--color--accent); }
.lgr-avec { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
/* Le navigateur met 40 px de marge latérale sur un blockquote et 1 em au-dessus
   d'un paragraphe : sans les remettre à zéro, la citation est en retrait, plus
   étroite, et décollée de son titre. */
.lgr-quote {
	font-family: var(--wp--preset--font-family--head); font-weight: 700;
	font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.12; letter-spacing: -0.015em;
	color: var(--wp--preset--color--white); margin: 1.625rem 0 0; border: 0; padding: 0;
}
.lgr-inkband .lgr-quote p { margin: 0; color: var(--wp--preset--color--white); font: inherit; }
.lgr-quote .no { display: block; font-size: 0.62em; font-weight: 600; color: var(--lgr-on-ink-muted); margin-top: 0.3em; }
.lgr-fmt { margin-top: 1.625rem; }
.lgr-fmt > p { font-size: var(--wp--preset--font-size--small); color: var(--lgr-on-ink-muted); margin-bottom: 0.625rem; }
.lgr-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.lgr-pill {
	display: inline-flex; align-items: center; gap: 8px; border-radius: var(--lgr-radius-pill); padding: 6px 14px;
	font-size: var(--wp--preset--font-size--small); font-weight: 500;
	box-shadow: inset 0 0 0 1px var(--lgr-ink-rule); color: var(--lgr-on-ink);
	transition: box-shadow 0.3s var(--lgr-ease), background-color 0.3s var(--lgr-ease), transform 0.3s var(--lgr-ease);
}
.lgr-pill:hover { box-shadow: inset 0 0 0 1px var(--wp--preset--color--accent); background: rgba(245, 196, 0, 0.12); transform: translateY(-2px); }
.lgr-gives { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 2.25rem; }
.lgr-gives > div { border-top: 1px solid var(--lgr-ink-rule); padding-top: 1rem; }
.lgr-gives h3 {
	font-family: var(--wp--preset--font-family--head); font-size: var(--wp--preset--font-size--xs); font-weight: 600;
	letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--accent); margin: 0 0 0.375rem;
}
.lgr-gives p { color: var(--wp--preset--color--white); }
@media (max-width: 860px) { .lgr-avec { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .lgr-gives { grid-template-columns: 1fr; } }

/* ---------- Gouvernance ---------- */
.lgr-gov-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(28px, 5vw, 72px); align-items: end; }
.lgr-sub { font-family: var(--wp--preset--font-family--head); font-size: var(--wp--preset--font-size--large); font-weight: 600; color: var(--wp--preset--color--ink); margin-block: 3.25rem 1.125rem; }
.lgr-bureau { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lgr-person {
	display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: start;
	background: var(--wp--preset--color--white); border-radius: 22px; padding: 20px; box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule);
	transition: box-shadow 0.3s var(--lgr-ease);
}
.lgr-person:hover { box-shadow: inset 0 0 0 1px var(--wp--preset--color--ink); }
.lgr-ph { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--wp--preset--color--white), 0 0 0 5px var(--liseré, var(--wp--preset--color--rule)); }
.lgr-ph.b0 { --liseré: var(--wp--preset--color--blue); }
.lgr-ph.b1 { --liseré: var(--wp--preset--color--green); }
.lgr-ph.b2 { --liseré: var(--wp--preset--color--orange); }
.lgr-person h4, .lgr-founder h4 { font-family: var(--wp--preset--font-family--head); font-size: var(--wp--preset--font-size--medium); font-weight: 600; line-height: 1.3; color: var(--wp--preset--color--ink); margin: 0; }
.lgr-person p, .lgr-founder p { font-size: var(--wp--preset--font-size--small); line-height: 1.45; color: var(--wp--preset--color--muted); margin-top: 3px; }
.lgr-college { display: flex; align-items: flex-start; gap: 8px; font-size: var(--wp--preset--font-size--xs); font-weight: 600; margin-top: 0.625rem; }
.lgr-college .lgr-dot { margin-top: 0.45em; }
.lgr-college.c0 { color: var(--wp--preset--color--blue-ink); }
.lgr-college.c1 { color: var(--wp--preset--color--green-ink); }
.lgr-college.c2 { color: var(--lgr-college-2); }
/* Anneau arc-en-ciel au survol d'un portrait : un masque ne laisse voir que le liseré. */
.lgr-ph-wrap { position: relative; display: inline-flex; border-radius: 50%; flex-shrink: 0; }
.lgr-ph-wrap::after {
	content: ""; position: absolute; inset: -6px; border-radius: 50%;
	background: conic-gradient(from 0deg, var(--lgr-arc-1), var(--lgr-arc-2), var(--lgr-arc-3), var(--lgr-arc-4), var(--lgr-arc-5), var(--lgr-arc-6), var(--lgr-arc-7), var(--lgr-arc-1));
	-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
	mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
	opacity: 0; transition: opacity 0.4s var(--lgr-ease);
}
.lgr-person:hover .lgr-ph-wrap::after, .lgr-founder:hover .lgr-ph-wrap::after { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
	.lgr-ph-wrap::after { animation: lgr-tourne 5s linear infinite; animation-play-state: paused; }
	.lgr-person:hover .lgr-ph-wrap::after, .lgr-founder:hover .lgr-ph-wrap::after { animation-play-state: running; }
}
@keyframes lgr-tourne { to { transform: rotate(1turn); } }
.lgr-li { min-height: 24px; display: inline-flex; align-items: center; gap: 6px; font-size: var(--wp--preset--font-size--xs); font-weight: 600; color: var(--wp--preset--color--muted); text-decoration: none; margin-top: 0.5rem; }
.lgr-li:hover { color: var(--wp--preset--color--ink); }
.lgr-founders { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
.lgr-founder { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.lgr-founder .lgr-ph { width: 96px; height: 96px; }
.lgr-founder .lgr-ph-wrap { margin-bottom: 0.5rem; }
@media (max-width: 1000px) {
	.lgr-bureau { grid-template-columns: 1fr; }
	.lgr-founders { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) { .lgr-gov-top { grid-template-columns: 1fr; } }

/* ---------- Financement ---------- */
.lgr-fin-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 2.5rem; }
.lgr-fin-cards > article { background: var(--wp--preset--color--white); border-radius: 22px; padding: 26px; box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule); }
.lgr-fin-mark { height: 52px; display: flex; align-items: center; margin-bottom: 1rem; }
.lgr-fin-mark img { max-height: 40px; width: auto; }
.lgr-fin-mark .lgr-ic { background: var(--wp--preset--color--soft); color: var(--wp--preset--color--ink); }
.lgr-fin-cards h3 { font-family: var(--wp--preset--font-family--head); font-size: var(--wp--preset--font-size--large); font-weight: 600; line-height: 1.3; color: var(--wp--preset--color--ink); margin: 0 0 0.375rem; }
.lgr-fin-cards p { font-size: var(--wp--preset--font-size--small); }
.lgr-fin-video { margin-top: 1.25rem; }
.lgr-fin-video .lgr-yt-play { border-radius: 14px; }
.lgr-fin-video .lgr-yt-ic { width: 52px; }
.lgr-gratuit {
	margin-top: 1.25rem; display: flex; gap: 14px; align-items: center;
	background: var(--wp--preset--color--accent-soft); border-radius: var(--lgr-radius-pill);
	padding: 14px 26px; color: var(--wp--preset--color--ink);
}
@media (max-width: 860px) {
	.lgr-fin-cards { grid-template-columns: 1fr; }
	.lgr-gratuit { border-radius: 22px; }
}

/* ---------- Partenaires : grille de logos encadrés ---------- */
/* Logos agrandis d'environ 40 % (14 octobre 2026) : 6 colonnes au lieu de 8. */
.lgr-logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 1.625rem; }
.lgr-logos a {
	display: flex; align-items: center; justify-content: center; height: 104px; padding: 14px; border-radius: 18px;
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule); transition: box-shadow 0.3s var(--lgr-ease);
}
.lgr-logos a:hover { box-shadow: inset 0 0 0 1px var(--wp--preset--color--ink); }
.lgr-logos img {
	max-height: 42px; max-width: 100%; width: auto; height: auto; object-fit: contain;
	filter: grayscale(1); opacity: 0.55; transition: filter 0.35s var(--lgr-ease), opacity 0.35s var(--lgr-ease);
}
.lgr-logos a:hover img, .lgr-logos a:focus-visible img { filter: none; opacity: 1; }
@media (max-width: 1000px) { .lgr-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) {
	.lgr-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.lgr-logos a { height: 84px; }
	.lgr-logos img { max-height: 36px; }
}

/* ================================================================
   Gabarit page programme (G4) : ouverture, cinq étapes, questions
   fréquentes, autres programmes.
   La couleur du programme arrive par --pc / --pci / --pct, posées par
   functions.php sur le corps de la page ; --pcl et --pcb en découlent.
   ================================================================ */

/* Mesure du site pour les sections rendues par une courte-balise, qui ne
   passent pas par la disposition « contenu contraint » de WordPress. La largeur
   vient de theme.json : le large (wideSize) hors accueil, comme l'en-tête et
   les blocs ; le contenu (contentSize) sur l'accueil. */
.lgr-wrap {
	max-width: calc(var(--wp--style--global--wide-size) + 2 * clamp(16px, 4vw, 48px)); padding-inline: clamp(16px, 4vw, 48px); margin-inline: auto;
}
.home .lgr-wrap { max-width: calc(var(--wp--style--global--content-size) + 2 * clamp(16px, 4vw, 48px)); }

/* ---------- Largeur des pages (6-7 octobre 2026) ----------
   Hors accueil, tout prend le large (theme.json wideSize, 1280 px) : en-tête,
   pied, ouvertures, sections, grilles ; pas de blanc à droite. Seuls les
   paragraphes posés seuls dans une section gardent une mesure de lecture,
   calés sur le bord gauche. L'accueil reste à 1064 px (contentSize) : ses
   triangles, en haut à gauche, sont composés pour cette mesure. */
body:not(.home) :is(.lgr-header, .lgr-footer, main .is-layout-constrained, main.is-layout-constrained).is-layout-constrained > :where(:not(.alignfull):not(.alignleft):not(.alignright)) {
	max-width: var(--wp--style--global--wide-size);
}
body:not(.home) main .is-layout-constrained > p:not(.is-style-eyebrow) {
	max-width: 48rem; margin-left: max(0px, calc((100% - var(--wp--style--global--wide-size)) / 2)) !important; margin-right: auto !important;
}

/* ---------- Ouverture ---------- */
.lgr-p-hero {
	position: relative; isolation: isolate;
	background: linear-gradient(180deg, var(--pcb, var(--wp--preset--color--soft)), var(--wp--preset--color--white));
	padding-block: clamp(28px, 4vw, 48px) clamp(56px, 7vw, 96px); overflow: clip;
}
.lgr-p-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 5vw, 72px); align-items: center; }
.lgr-p-h1 {
	font-family: var(--wp--preset--font-family--head); font-weight: 700;
	font-size: clamp(2.5rem, 5vw, 4.2rem); line-height: 1.02; letter-spacing: -0.028em;
	color: var(--pci); text-wrap: balance;
}
.lgr-p-h1 span { display: block; color: var(--wp--preset--color--ink); }
.lgr-p-hero .is-style-lede { margin-top: 1.625rem; max-width: 30em; }
/* Le paragraphe qui suit l'accroche garde son air : la remise à zéro des
   marges du navigateur vaut pour les blocs bruts, pas pour ce rythme-là. */
.lgr-p-hero .is-style-lede + p { margin-top: 0.875rem; max-width: 34em; }
.lgr-p-hero .is-style-lede + .is-style-lede { max-width: 30em; }
.lgr-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.lgr-facts li {
	padding: 6px 14px; border-radius: var(--lgr-radius-pill); background: var(--wp--preset--color--white);
	box-shadow: inset 0 0 0 1px var(--pcl); font-size: var(--wp--preset--font-size--xs); font-weight: 600; color: var(--pci);
}
.lgr-p-photo { position: relative; width: 100%; max-width: 400px; justify-self: end; margin: 0; }
.lgr-p-photo > img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.lgr-p-badge {
	position: absolute; right: 6%; top: 6%; width: 64px; height: 64px; border-radius: 50%;
	background: var(--pct); color: var(--pci); display: flex; align-items: center; justify-content: center;
	box-shadow: 0 0 0 6px var(--wp--preset--color--white); transition: transform 0.5s var(--lgr-ease);
}
.lgr-p-photo:hover .lgr-p-badge { transform: rotate(-12deg); }
.lgr-p-badge svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lgr-p-photo figcaption {
	position: absolute; left: -6%; bottom: 4%; display: flex; align-items: center; gap: 14px; max-width: 360px;
	padding: 10px 16px 10px 12px; border-radius: 18px; background: var(--wp--preset--color--white);
	box-shadow: 0 16px 36px -22px rgba(21, 26, 69, 0.45);
	font-size: var(--wp--preset--font-size--xs); line-height: 1.35; color: var(--wp--preset--color--text);
}
.lgr-p-photo figcaption img { width: 112px; max-height: 56px; height: auto; object-fit: contain; flex-shrink: 0; }
@media (max-width: 860px) {
	.lgr-p-grid { grid-template-columns: 1fr; }
	.lgr-p-photo { justify-self: center; max-width: 320px; }
	.lgr-p-photo figcaption { left: 0; }
}

/* ---------- Étape 1 : se situer ---------- */
.lgr-q1 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 5vw, 80px); align-items: start; }
.lgr-big-q {
	margin: 1.875rem 0 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--pc);
	font-family: var(--wp--preset--font-family--head); font-weight: 600;
	font-size: clamp(1.25rem, 1.9vw, 1.55rem); line-height: 1.3; color: var(--wp--preset--color--ink);
}
.lgr-selfc { padding: clamp(22px, 3vw, 32px); border-radius: 28px; background: var(--wp--preset--color--white); box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule), 0 24px 50px -38px rgba(21, 26, 69, 0.35); }
.lgr-selfc-t { font-family: var(--wp--preset--font-family--head); font-weight: 600; font-size: var(--wp--preset--font-size--medium); color: var(--wp--preset--color--ink); margin-bottom: 0.875rem; }
.lgr-sigs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.lgr-sig {
	display: flex; align-items: flex-start; gap: 12px; height: 100%; padding: 12px 14px; border-radius: 16px;
	background: var(--wp--preset--color--soft); font-size: var(--wp--preset--font-size--small); line-height: 1.4;
	color: var(--wp--preset--color--text); cursor: pointer;
	transition: background-color 0.3s var(--lgr-ease), box-shadow 0.3s var(--lgr-ease), color 0.3s var(--lgr-ease);
}
.lgr-sig:hover { box-shadow: inset 0 0 0 1px var(--pcl); }
.lgr-sig input { position: absolute; opacity: 0; pointer-events: none; }
.lgr-sig-box {
	width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; margin-top: 1px; background: var(--wp--preset--color--white);
	box-shadow: inset 0 0 0 1.5px var(--lgr-contour-saisie); display: flex; align-items: center; justify-content: center;
	transition: background-color 0.3s var(--lgr-ease), box-shadow 0.3s var(--lgr-ease);
}
.lgr-sig-box svg { width: 12px; height: 12px; fill: none; stroke: var(--wp--preset--color--white); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity 0.2s; }
.lgr-sig:has(input:checked) { background: var(--pct); color: var(--wp--preset--color--ink); }
.lgr-sig:has(input:checked) .lgr-sig-box { background: var(--pci); box-shadow: none; }
.lgr-sig:has(input:checked) .lgr-sig-box svg { opacity: 1; }
.lgr-sig:has(input:focus-visible) { outline: 2px solid var(--wp--preset--color--ink); outline-offset: 2px; }
.lgr-verdict { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 18px; align-items: center; margin-top: 1.125rem; padding-top: 1.125rem; border-top: 1px solid var(--wp--preset--color--rule); }
.lgr-v-count { grid-row: span 2; font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--muted); text-align: center; }
.lgr-v-count b { display: block; font-family: var(--wp--preset--font-family--head); font-size: 2.2rem; line-height: 1; color: var(--pci); }
.lgr-v-txt { font-weight: 600; color: var(--wp--preset--color--ink); }
.lgr-selfc-note { margin-top: 0.875rem; font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--muted); }
/* Liste simple (sans cases à cocher) et chiffre clé à la place du verdict (27/10). */
.lgr-sig-fixe { cursor: default; }
.lgr-sig-fixe:hover { box-shadow: none; }
.lgr-sig-fixe .lgr-sig-box { width: 8px; height: 8px; margin-top: 7px; background: var(--pci); box-shadow: none; }
.lgr-chiffre .lgr-v-count b { font-size: 2.6rem; white-space: nowrap; }
.lgr-chiffre-src { grid-column: 2; font-size: var(--wp--preset--font-size--xs); font-weight: 400; color: var(--wp--preset--color--muted); }
@media (max-width: 960px) { .lgr-q1 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .lgr-sigs { grid-template-columns: 1fr; } }

/* ---------- Étape 2 : comprendre ---------- */
.lgr-q2 { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 24px clamp(32px, 5vw, 72px); margin-top: 2rem; align-items: center; }
.lgr-principle { font-family: var(--wp--preset--font-family--head); font-weight: 600; font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.32; color: var(--wp--preset--color--ink); }
.lgr-principle em { font-style: normal; color: var(--pci); }
/* Principe « comme les paragraphes » (29/10) : le texte courant, le gras en encre. */
.lgr-principle-texte { font-family: inherit; font-weight: 400; font-size: inherit; line-height: inherit; color: var(--wp--preset--color--text); }
.lgr-principle-texte em { color: inherit; }
.lgr-principle-texte strong { font-weight: 700; color: var(--wp--preset--color--ink); }
.lgr-q2 > div > .lgr-principle + .lgr-principle { margin-top: 1em; }
.lgr-shift { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.lgr-shift li { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1.2fr); align-items: center; padding: 14px 18px; border-radius: 18px; background: var(--wp--preset--color--white); box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule); }
.lgr-sh-a { color: var(--wp--preset--color--muted); }
.lgr-sh-arr { width: 30px; height: 30px; border-radius: 50%; background: var(--pct); color: var(--pci); display: flex; align-items: center; justify-content: center; transition: transform 0.45s var(--lgr-ease); }
.lgr-shift li:hover .lgr-sh-arr { transform: translateX(4px); }
.lgr-sh-b { font-weight: 600; color: var(--wp--preset--color--ink); }
.lgr-shift li.lgr-sh-seul { grid-template-columns: minmax(0, 1fr); }
.lgr-efc { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 4fr); gap: 12px 32px; align-items: start; margin-top: 1.5rem; padding: 24px 28px; border-radius: 22px; background: var(--wp--preset--color--white); box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule); }
.lgr-efc-t { display: flex; align-items: center; gap: 12px; font-family: var(--wp--preset--font-family--head); font-weight: 600; font-size: var(--wp--preset--font-size--medium); color: var(--wp--preset--color--ink); }
.lgr-efc-plus { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; background: var(--pci); color: var(--wp--preset--color--white); display: flex; align-items: center; justify-content: center; font: 700 18px/1 var(--wp--preset--font-family--head); }
.lgr-efc p:not(.lgr-efc-t) { font-size: var(--wp--preset--font-size--small); }
/* Disposition croisée : principe | encadré, puis second principe | bascules (27/10). */
.lgr-q2x { align-items: start; row-gap: clamp(28px, 3vw, 40px); }
.lgr-q2x .lgr-efc { grid-template-columns: 1fr; margin-top: 0; }
.lgr-q2x > .lgr-principle:first-child { align-self: center; } /* centré face à l’encadré (30/10) */
.lgr-ben-t { margin-top: 3rem; font-family: var(--wp--preset--font-family--head); font-weight: 600; font-size: var(--wp--preset--font-size--large); color: var(--wp--preset--color--ink); }
.lgr-ben { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 28px; margin: 1.125rem 0 0; padding: 0; list-style: none; }
.lgr-ben li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--wp--preset--color--rule); font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--ink); }
.lgr-ck { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; background: var(--pci); display: flex; align-items: center; justify-content: center; }
.lgr-ck svg { width: 12px; height: 12px; fill: none; stroke: var(--wp--preset--color--white); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) {
	.lgr-q2, .lgr-efc { grid-template-columns: 1fr; }
	.lgr-ben { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.lgr-ben { grid-template-columns: 1fr; }
	.lgr-shift li { grid-template-columns: 1fr; gap: 6px; }
	.lgr-sh-arr { transform: rotate(90deg); }
	.lgr-shift li:hover .lgr-sh-arr { transform: rotate(90deg); }
}

/* Les actions de l'ouverture d'une fiche : de l'air sous les pastilles, et entre
   le bouton et le lien (maquette : 30 px au-dessus, 24 px entre les deux). */
.lgr-p-hero .lgr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 30px; }

/* ---------- Tête de section à deux colonnes ---------- */
.lgr-q-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 16px 64px; align-items: end; }
.lgr-q-head p { margin: 0; }
/* En-tête de section suivi d'un lien (« Tous les programmes », « Tout le fil »…) :
   le lien se cale à droite, en bas de la ligne du titre, comme la maquette. */
.lgr-q-head:has(> .lgr-lien, > .wp-block-button, > .wp-block-buttons) { grid-template-columns: minmax(0, 1fr) auto; }
.lgr-q-head > .lgr-lien, .lgr-q-head > .wp-block-button, .lgr-q-head > .wp-block-buttons { justify-self: end; }
/* Étapes des fiches programme : l'introduction part du haut du titre, sous le
   surtitre, quelle que soit sa longueur (calée en bas, une introduction plus
   haute que le titre remontait jusqu'au surtitre). Le pseudo-élément prend la
   place du surtitre et de son écart. */
@media (min-width: 861px) {
	.lgr-q-head:not(.lgr-q-atelier):has(> .wp-block-group > .lgr-etape-titre) { align-items: start; }
	.lgr-q-head:not(.lgr-q-atelier):has(> .wp-block-group > .lgr-etape-titre) > p:first-of-type::before {
		content: "\200b"; display: block; margin-bottom: var(--wp--style--block-gap);
		font-family: var(--wp--preset--font-family--head); font-size: var(--wp--preset--font-size--xs); font-weight: 600;
	}
}
@media (max-width: 860px) {
	.lgr-q-head, .lgr-q-head:has(> .lgr-lien, > .wp-block-button, > .wp-block-buttons) { grid-template-columns: 1fr; }
	.lgr-q-head > .lgr-lien, .lgr-q-head > .wp-block-button, .lgr-q-head > .wp-block-buttons { justify-self: start; }
}

/* ---------- Étape 3 : preuves, carrousel d'exemples ---------- */
.lgr-slider { margin-top: 2.25rem; }
.lgr-sl-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.lgr-sl-t { font-size: var(--wp--preset--font-size--small); font-weight: 600; color: var(--wp--preset--color--ink); }
.lgr-sl-nav { display: flex; gap: 8px; }
.lgr-sl-b {
	width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--wp--preset--color--white); color: var(--wp--preset--color--ink);
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule); display: flex; align-items: center; justify-content: center;
	cursor: pointer; transition: box-shadow 0.3s var(--lgr-ease);
}
.lgr-sl-b:hover { box-shadow: inset 0 0 0 1px var(--pc); }
.lgr-sl-track {
	display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, calc((100% - 42px) / 4)); gap: 14px;
	margin: 1rem 0 0; padding: 4px 2px 12px; list-style: none; overflow-x: auto;
	scroll-snap-type: x mandatory; scrollbar-width: none;
}
.lgr-sl-track::-webkit-scrollbar { display: none; }
.lgr-sl-c {
	scroll-snap-align: start; display: flex; flex-direction: column; padding: 20px; border-radius: 22px; background: var(--wp--preset--color--white);
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule); transition: box-shadow 0.35s var(--lgr-ease);
}
.lgr-sl-c:hover { box-shadow: inset 0 0 0 1.5px var(--pc); }
.lgr-sl-tag { font-size: var(--wp--preset--font-size--xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pci); }
.lgr-sl-c h3 { margin-top: 6px; font-family: var(--wp--preset--font-family--head); font-weight: 700; font-size: var(--wp--preset--font-size--large); color: var(--wp--preset--color--ink); }
.lgr-sl-sub { margin-top: 2px; font-size: var(--wp--preset--font-size--small); }
/* Le résumé d'une ressource reliée, dans une carte du carrousel. */
.lgr-sl-txt { margin-top: 12px; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--text); }
.lgr-sl-ab { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 14px; padding: 10px 12px; border-radius: 14px; background: var(--wp--preset--color--soft); font-size: var(--wp--preset--font-size--xs); line-height: 1.35; }
.lgr-sl-ab span { color: var(--wp--preset--color--muted); }
.lgr-sl-ab svg { color: var(--pci); flex-shrink: 0; }
.lgr-sl-ab b { color: var(--wp--preset--color--ink); }
.lgr-sl-ab-seul { flex-wrap: nowrap; align-items: flex-start; } /* sans « avant » : la flèche, puis le texte (30/10) */
.lgr-sl-ab-seul svg { margin-top: 1px; }
.lgr-sl-go { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-size: var(--wp--preset--font-size--small); font-weight: 600; color: var(--wp--preset--color--ink); text-decoration: none; }
.lgr-sl-go:hover { color: var(--pci); }

/* Conditions de réussite, sous le carrousel. */
.lgr-conds { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px 56px; align-items: start; margin-top: 3rem; padding-top: 2.25rem; border-top: 1px solid var(--wp--preset--color--rule); }
.lgr-conds-t { font-family: var(--wp--preset--font-family--head); font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; color: var(--wp--preset--color--ink); }
.lgr-conds-h p { margin-top: 8px; font-size: var(--wp--preset--font-size--small); }
.lgr-conds ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; margin: 0; padding: 0; list-style: none; }
.lgr-conds li { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--wp--preset--color--rule); font-size: var(--wp--preset--font-size--medium); font-weight: 500; color: var(--wp--preset--color--ink); line-height: 1.4; }
.lgr-cd-n { flex-shrink: 0; width: 28px; font: 700 var(--wp--preset--font-size--small) var(--wp--preset--font-family--head); color: var(--pci); }
@media (max-width: 900px) {
	.lgr-conds { grid-template-columns: 1fr; }
	.lgr-sl-track { grid-auto-columns: minmax(240px, 70%); }
}
@media (max-width: 560px) { .lgr-conds ol { grid-template-columns: 1fr; } }

/* ---------- Étape 4 : se projeter ---------- */
.lgr-explore { margin-top: 2.25rem; }
.lgr-ex-t { font-family: var(--wp--preset--font-family--head); font-weight: 600; font-size: var(--wp--preset--font-size--medium); color: var(--wp--preset--color--ink); margin-bottom: 0.875rem; }
.lgr-diag-l { margin: 0; padding: 0; list-style: none; counter-reset: lgr-d; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lgr-diag-l li {
	counter-increment: lgr-d; display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: 18px;
	background: var(--wp--preset--color--white); box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule);
	font-size: var(--wp--preset--font-size--small); line-height: 1.4; color: var(--wp--preset--color--ink);
}
.lgr-diag-l li::before {
	content: counter(lgr-d); flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--pct);
	display: flex; align-items: center; justify-content: center; font: 700 var(--wp--preset--font-size--xxs) var(--wp--preset--font-family--head); color: var(--pci);
}
@media (max-width: 900px) { .lgr-diag-l { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lgr-diag-l { grid-template-columns: 1fr; } }

/* ---------- Étape 5 : passer à l'action ---------- */
.lgr-q5 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; margin-top: 2.5rem; }
.lgr-eco2, .lgr-how { padding: 28px; border-radius: 28px; background: var(--wp--preset--color--soft); }
.lgr-blk-t { font-family: var(--wp--preset--font-family--head); font-size: var(--wp--preset--font-size--xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pci); margin-bottom: 1rem; }
.lgr-eco2 ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lgr-eco2 li { padding: 9px 16px; border-radius: var(--lgr-radius-pill); background: var(--wp--preset--color--white); font-size: var(--wp--preset--font-size--small); font-weight: 600; color: var(--wp--preset--color--ink); box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule); }
.lgr-loop { position: relative; display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.lgr-loop::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: var(--pcl); }
.lgr-loop li { position: relative; display: flex; align-items: center; gap: 14px; font-family: var(--wp--preset--font-family--head); font-weight: 600; font-size: var(--wp--preset--font-size--medium); color: var(--wp--preset--color--ink); }
.lgr-loop li > span { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; background: var(--wp--preset--color--white); box-shadow: inset 0 0 0 2px var(--pc); display: flex; align-items: center; justify-content: center; font: 700 var(--wp--preset--font-size--small) var(--wp--preset--font-family--head); color: var(--pci); }
.lgr-how-n { margin-top: 1.25rem; font-size: var(--wp--preset--font-size--small); }
.lgr-partner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px 28px; margin-top: 1.25rem; padding: 22px 28px; border-radius: 24px; box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule); transition: box-shadow var(--lgr-transition); }
/* Fiche programme : l'encadré du partenaire, en bas de l'étape 5, prend le même
   écart que celui entre deux étapes (retours du 02/11). */
.lgr-etape .lgr-partner:not(.lgr-inscr) { margin-top: var(--wp--preset--spacing--60); }
/* Le logo se règle en hauteur, comme la maquette : réglé en largeur, un logo
   plus haut que large étirait tout l'encart. */
.lgr-partner img { width: auto; height: 56px; max-width: 140px; object-fit: contain; }
/* Le cœur de WordPress donne height: 100 % aux liens-boutons ; posé seul dans
   la grille, celui-ci prenait toute la hauteur de la rangée. */
.lgr-partner .wp-block-button__link { align-self: center; height: auto; white-space: nowrap; }
.lgr-partner:hover { box-shadow: inset 0 0 0 1px var(--pcl); }
.lgr-partner p { font-size: var(--wp--preset--font-size--small); }
.lgr-partner b { color: var(--wp--preset--color--ink); }
@media (max-width: 860px) {
	.lgr-q5 { grid-template-columns: 1fr; }
	.lgr-partner { grid-template-columns: 1fr; }
	.lgr-partner .wp-block-button { justify-self: start; }
}

/* Étape 4 « Ressources » : le podcast mis en avant, puis les ressources en cartes-liens (27/10). */
.lgr-pod { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px clamp(24px, 4vw, 48px); align-items: center; padding: clamp(18px, 2.5vw, 28px); border-radius: 28px; background: var(--wp--preset--color--white); box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule); }
span.lgr-pod-media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; }
.lgr-pod .lgr-blk-t { margin-bottom: 0.5rem; }
.lgr-pod-t { font-family: var(--wp--preset--font-family--head); font-weight: 700; font-size: var(--wp--preset--font-size--large); line-height: 1.25; color: var(--wp--preset--color--ink); }
.lgr-pod-txt > p:not(.lgr-blk-t) + p { margin-top: 0.625rem; }
.lgr-pod-pts { display: grid; gap: 0.375rem; margin: 0.75rem 0 0; padding: 0; list-style: none; }
.lgr-pod-pts li { position: relative; padding-left: 1.125rem; }
.lgr-pod-pts li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--pci, var(--wp--preset--color--blue)); }
.lgr-ress { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 14px 0 0; padding: 0; list-style: none; }
.lgr-ress a { position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 44px 16px 18px; border-radius: 18px; background: var(--wp--preset--color--white); box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule); color: var(--wp--preset--color--ink); text-decoration: none; transition: box-shadow var(--lgr-transition); }
.lgr-ress a:hover { box-shadow: inset 0 0 0 1px var(--pcl); }
.lgr-ress-k { font-family: var(--wp--preset--font-family--head); font-size: var(--wp--preset--font-size--xxs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pci); }
.lgr-ress b { font-weight: 600; font-size: var(--wp--preset--font-size--small); line-height: 1.35; }
.lgr-ress-s { font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--muted); }
.lgr-ress-go { position: absolute; right: 16px; top: 16px; color: var(--pci); }
/* Une vidéo YouTube : sa miniature en tête de carte, bouton lecture au centre. */
.lgr-ress a.is-video { padding-right: 18px; }
.lgr-ress-img { position: relative; display: block; margin: -16px -18px 10px; aspect-ratio: 16 / 9; border-radius: 18px 18px 0 0; overflow: hidden; background: var(--wp--preset--color--ink); }
.lgr-ress-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--lgr-ease); }
.lgr-ress a:hover .lgr-ress-img img { transform: scale(1.04); }
.lgr-ress-img .lgr-yt-ic { width: 48px; }
/* Étape 3 en vidéos (29/10) : la vidéo mise en avant (lgr-pod), puis les
   témoignages, photo ronde avec un petit bouton lecture ; la vidéo s'ouvre
   dans la fenêtre du site (data-yt-fenetre). */
.lgr-etape .lgr-pod { margin-top: 2rem; }
.lgr-tems-t { margin: 2.25rem 0 0; }
.lgr-tems { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.lgr-tems-t + .lgr-tems { margin-top: 0; }
.lgr-pod + .lgr-tems { margin-top: 12px; }
.lgr-tem { display: flex; align-items: center; gap: 18px; width: 100%; height: 100%; padding: 14px 20px 14px 14px; border: 0; border-radius: 22px; background: var(--wp--preset--color--white); box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule); font: inherit; text-align: left; cursor: pointer; transition: box-shadow var(--lgr-transition); }
.lgr-tem:hover, .lgr-tem:focus-visible { box-shadow: inset 0 0 0 1px var(--pcl); }
.lgr-tem-ph { position: relative; flex: 0 0 76px; }
.lgr-tem-ph img { display: block; width: 76px; height: 76px; border-radius: 50%; object-fit: cover; }
.lgr-tem .lgr-yt-ic { left: auto; top: auto; right: -4px; bottom: -4px; translate: none; width: 32px; box-shadow: 0 0 0 3px var(--wp--preset--color--white); }
.lgr-tem:hover .lgr-yt-ic { transform: scale(1.08); }
.lgr-tem-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lgr-tem-txt b { font-weight: 600; color: var(--wp--preset--color--ink); }
.lgr-tem-txt span { font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--muted); line-height: 1.4; }
@media (max-width: 760px) { .lgr-tems { grid-template-columns: 1fr; } }
/* Étape « Démarrage » : le formulaire « Recevoir le guide » (lgr-ct-form). */
.lgr-guide { margin-top: 2rem; padding: clamp(22px, 3vw, 36px); border-radius: 28px; background: var(--wp--preset--color--white); box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule); }
/* Étape 5 « Atelier » : l'encart d'inscription, un appel à l'action sur la
   teinte du programme (l'encart partenaire, dessous, reste blanc). La date
   reprend la pastille des encarts de l'agenda, dans la couleur du programme. */
.lgr-inscr { margin-top: 1.75rem; padding: clamp(20px, 2.6vw, 30px) clamp(20px, 3vw, 36px); background: var(--pct); box-shadow: none; }
.lgr-inscr:hover { box-shadow: none; }
.lgr-inscr .lgr-push-date { background: var(--pci); }
.lgr-inscr .lgr-push-date :is(b, span) { color: var(--wp--preset--color--white); }
.lgr-inscr-ic { width: 84px; height: 84px; border-radius: 50%; background: var(--pci); color: var(--wp--preset--color--white); display: flex; align-items: center; justify-content: center; }
.lgr-inscr .lgr-inscr-t { font-family: var(--wp--preset--font-family--head); font-weight: 700; font-size: var(--wp--preset--font-size--large); line-height: 1.2; color: var(--wp--preset--color--ink); }
.lgr-inscr p:not(.lgr-inscr-t, .lgr-push-date) { margin-top: 0.25rem; font-size: var(--wp--preset--font-size--base); color: var(--wp--preset--color--ink); }
/* Atelier (30/10) : l'inscription à droite de la présentation, en colonne. */
.lgr-q-atelier { align-items: center; }
.lgr-q-atelier .wp-block-group > :is(h2, p:not(.lgr-etape-titre)) + p { margin-top: 0.875rem; }
.lgr-q-atelier .lgr-inscr { grid-template-columns: auto minmax(0, 1fr); margin-top: 0; }
/* La présentation de l’atelier sous le titre (05/11) : deux paragraphes ou
   plus, en deux colonnes sans couper un paragraphe ; un seul, à la mesure de lecture. */
.lgr-atelier-intro { margin-top: var(--wp--preset--spacing--40); }
.lgr-atelier-intro > :only-child { max-width: 48rem; }
.lgr-atelier-intro:has(> * + *) { columns: 2; column-gap: 64px; }
.lgr-atelier-intro > * { margin-top: 0; margin-bottom: 0.875rem; break-inside: avoid; }
@media (max-width: 860px) { .lgr-atelier-intro:has(> * + *) { columns: 1; } }
.lgr-q-atelier .lgr-inscr > :is(.wp-block-button__link, .lgr-inscr-attente) { grid-column: 1 / -1; justify-self: start; }
.lgr-atelier-anim { margin-top: 1.25rem; font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--text); }
/* Toute la largeur des objectifs, au lieu de la mesure de lecture des paragraphes. */
body:not(.home) main .is-layout-constrained > p.lgr-atelier-anim { max-width: var(--wp--style--global--wide-size); }
.lgr-inscr-attente { justify-self: start; padding: 0.7rem 1.25rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--pci); font-family: var(--wp--preset--font-family--head); font-size: var(--wp--preset--font-size--small); font-weight: 600; color: var(--pci); white-space: nowrap; }
@media (max-width: 900px) { .lgr-ress { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .lgr-pod { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .lgr-ress { grid-template-columns: 1fr; } }

/* ---------- Questions fréquentes ---------- */
.lgr-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px clamp(32px, 5vw, 72px); align-items: start; }
.lgr-qa { border-bottom: 1px solid var(--wp--preset--color--rule); }
.lgr-qa:first-child { border-top: 1px solid var(--wp--preset--color--rule); }
.lgr-qa summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; font-family: var(--wp--preset--font-family--head); font-weight: 600; font-size: var(--wp--preset--font-size--medium); color: var(--wp--preset--color--ink); }
.lgr-qa summary::-webkit-details-marker { display: none; }
/* Pas de curseur de texte ni de sélection au clic sur une question : sous
   Windows, le curseur se logeait dans le rond qui pivote (retours du 10/11). */
.lgr-qa summary { -webkit-user-select: none; user-select: none; caret-color: transparent; }
/* Le rond reste fixe, seuls les deux traits pivotent : le + devient une croix. */
.lgr-qa-i { position: relative; width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule); transition: background-color 0.3s var(--lgr-ease); }
.lgr-qa-i::before, .lgr-qa-i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--wp--preset--color--ink); transition: transform 0.4s var(--lgr-ease); }
.lgr-qa-i::after { transform: rotate(90deg); }
.lgr-qa[open] .lgr-qa-i { background: var(--pct); }
.lgr-qa[open] .lgr-qa-i::before { transform: rotate(45deg); }
.lgr-qa[open] .lgr-qa-i::after { transform: rotate(135deg); }
.lgr-qa p { padding: 0 50px 22px 0; font-size: var(--wp--preset--font-size--small); }
@media (max-width: 860px) { .lgr-faq { grid-template-columns: 1fr; } }

/* ---------- Autres programmes ---------- */
.lgr-others { padding-block: clamp(56px, 6vw, 80px); }
.lgr-h3x { font-family: var(--wp--preset--font-family--head); font-weight: 600; font-size: var(--wp--preset--font-size--section); color: var(--wp--preset--color--ink); }
.lgr-ots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 1.5rem; }
.lgr-ot { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 24px; text-decoration: none; color: var(--wp--preset--color--ink); box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule); transition: box-shadow 0.35s var(--lgr-ease), transform 0.35s var(--lgr-ease); }
.lgr-ot:hover { box-shadow: inset 0 0 0 1.5px var(--c); transform: translateY(-3px); }
.lgr-ot-ic { width: 44px; height: 44px; border-radius: 50%; background: var(--wp--preset--color--soft); color: var(--wp--preset--color--ink); display: flex; align-items: center; justify-content: center; transition: background-color 0.35s var(--lgr-ease), color 0.35s var(--lgr-ease); }
.lgr-ot-ic svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lgr-ot:hover .lgr-ot-ic { background: var(--t); color: var(--ci, var(--c)); }
.lgr-ot-n { font-family: var(--wp--preset--font-family--head); font-weight: 700; font-size: var(--wp--preset--font-size--medium); line-height: 1.2; }
.lgr-ot-n span { display: block; font-family: var(--wp--preset--font-family--body); font-weight: 500; font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--muted); margin-bottom: 3px; }
.lgr-ot-go { margin-top: auto; color: var(--wp--preset--color--muted); transition: color 0.35s var(--lgr-ease), transform 0.35s var(--lgr-ease); }
.lgr-ot:hover .lgr-ot-go { color: var(--ci, var(--c)); transform: translateX(3px); }
@media (max-width: 900px) { .lgr-ots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .lgr-ots { grid-template-columns: 1fr; } }

/* ---------- Variantes propres au programme « communique utile » ---------- */
.lgr-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 1.5rem; }
.lgr-gcol { padding: 22px 24px; border-radius: 22px; background: var(--wp--preset--color--white); box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule); }
.lgr-g-k { font-family: var(--wp--preset--font-family--head); font-size: var(--wp--preset--font-size--xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pci); margin-bottom: 0.5rem; }
.lgr-g-s { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.lgr-gp-n { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--pct); color: var(--pci); font: 700 var(--wp--preset--font-size--xxs) var(--wp--preset--font-family--head); margin-right: 10px; }
.lgr-efc3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
.lgr-efc3 :is(b, strong) { color: var(--pci); } /* les trois temps, dans la couleur du programme (30/10) */
/* La grille en trois volets : numéro rond, puis le paramètre et son explication l'un sous l'autre (30/10). */
.lgr-gcol ol { display: grid; gap: 14px; margin: 1.125rem 0 0; padding: 0; list-style: none; }
.lgr-gcol li { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 12px; align-items: start; font-size: var(--wp--preset--font-size--small); line-height: 1.4; }
.lgr-gcol li .lgr-gp-n { grid-row: span 2; margin-right: 0; }
.lgr-gcol li b { color: var(--wp--preset--color--ink); }
.lgr-gcol li span:not(.lgr-gp-n) { color: var(--wp--preset--color--muted); }
.lgr-sl-apres { margin-top: var(--wp--preset--spacing--30); }
.lgr-sl-apres a { font-weight: 600; color: var(--pci); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; } /* le lien bien visible (06/11) */
.lgr-imsnote { margin-top: 1.25rem; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
@media (max-width: 900px) { .lgr-grid3 { grid-template-columns: 1fr; } }

/* ================================================================
   Bouton flottant et panneau qui monte du bas (pages Programmes) :
   la fenêtre newsletter (16/11/2026, ancienne démarche globale)
   ================================================================ */

.lgr-gr-fab {
	position: fixed; right: 20px; bottom: 20px; z-index: 40;
	display: inline-flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px;
	border: 0; border-radius: var(--lgr-radius-pill);
	background: var(--wp--preset--color--ink); color: var(--wp--preset--color--white);
	font: 600 var(--wp--preset--font-size--small) / 1 var(--wp--preset--font-family--body); cursor: pointer;
	box-shadow: 0 18px 40px -16px rgba(21, 26, 69, 0.6);
	opacity: 0; transform: translateY(12px); pointer-events: none;
	transition: opacity 0.4s var(--lgr-ease), transform 0.4s var(--lgr-ease);
}
.lgr-gr-fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.lgr-gr-fab:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 3px; }
.lgr-gr-fab > span:last-child { text-align: left; }
.lgr-gr-fab small { display: block; margin-bottom: 3px; font-size: var(--wp--preset--font-size--xs); font-weight: 500; color: var(--lgr-on-ink-muted); }
.lgr-gr-ring {
	width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; padding: 3px; display: inline-flex;
	background: conic-gradient(var(--lgr-arc-1), var(--lgr-arc-2), var(--lgr-arc-3), var(--lgr-arc-4), var(--lgr-arc-5), var(--lgr-arc-6), var(--lgr-arc-7), var(--lgr-arc-1));
	transition: transform 0.5s var(--lgr-ease);
}
.lgr-gr-ring svg { width: 100%; height: 100%; padding: 7px; border-radius: 50%; background: var(--wp--preset--color--white); fill: none; stroke: var(--wp--preset--color--ink); stroke-width: 1.8; }
.lgr-gr-fab:hover .lgr-gr-ring { transform: rotate(-12deg); }

/* ---------- Panneaux qui montent du bas (.lgr-sheet, 20/11/2026) ----------
   Une seule coque pour la fenêtre newsletter (.lgr-grs), la fiche d'un
   acteur (.lgr-acd) et les filtres de l'Observatoire sur téléphone
   (.lgr-pf) : fond assombri, arrondi, ombre, page bloquée derrière, entrée
   et sortie (is-sortie, posée par lgrSheet.fermer dans theme.js). Le bouton
   Fermer : lgr_sheet_fermer(). Chaque panneau ne garde que sa couleur et sa
   mise en page. */
.lgr-sheet {
	inset: auto 0 0 0; margin: 0; width: 100%; max-width: none; height: auto; max-height: 90dvh;
	padding: 0; border: 0; border-radius: 28px 28px 0 0;
	background: var(--wp--preset--color--white); color: var(--wp--preset--color--text);
	overflow: hidden; box-shadow: 0 -30px 70px -30px rgba(10, 12, 40, 0.5);
}
.lgr-sheet::backdrop { background: rgba(21, 26, 69, 0.42); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
html:has(.lgr-sheet[open]) { overflow: hidden; }
.lgr-sheet-x {
	flex: none; width: 42px; height: 42px; border: 0; border-radius: 50%;
	background: var(--wp--preset--color--ink); color: var(--wp--preset--color--white);
	display: flex; align-items: center; justify-content: center; cursor: pointer;
	transition: background-color 0.25s var(--lgr-ease), transform 0.4s var(--lgr-ease);
}
.lgr-sheet-x:hover { transform: rotate(90deg); }
@media (prefers-reduced-motion: no-preference) {
	.lgr-sheet[open] { animation: lgr-sheet-entre 0.5s var(--lgr-ease); }
	.lgr-sheet[open]::backdrop { animation: lgr-sheet-fond 0.5s ease; }
	.lgr-sheet.is-sortie { animation: lgr-sheet-sort 0.28s ease forwards; }
	.lgr-sheet.is-sortie::backdrop { animation: lgr-sheet-fond 0.28s ease reverse forwards; }
}
@keyframes lgr-sheet-entre { from { transform: translateY(100%); } }
@keyframes lgr-sheet-sort { to { transform: translateY(100%); } }
@keyframes lgr-sheet-fond { from { opacity: 0; } }

.lgr-grs {
	background: var(--wp--preset--color--ink); color: var(--lgr-on-ink);
	--lgr-eyebrow: var(--wp--preset--color--accent);
}
.lgr-gs-rb { position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 2; background: linear-gradient(90deg, var(--lgr-arc-1), var(--lgr-arc-2), var(--lgr-arc-3), var(--lgr-arc-4), var(--lgr-arc-5), var(--lgr-arc-6), var(--lgr-arc-7)); }
.lgr-gs-handle { position: absolute; left: 50%; top: 12px; width: 44px; height: 4px; margin-left: -22px; border-radius: 4px; background: rgba(233, 235, 245, 0.25); }
.lgr-grs .lgr-sheet-x { position: absolute; right: 18px; top: 18px; z-index: 2; background: rgba(233, 235, 245, 0.1); }
.lgr-grs .lgr-sheet-x:hover { background: rgba(233, 235, 245, 0.2); }
/* Défilement interne sans barre visible, avec un fondu en haut et en bas. */
.lgr-gs-in {
	max-height: 90dvh; overflow-y: auto; overscroll-behavior: contain;
	padding: clamp(40px, 4vw, 48px) 0 clamp(28px, 3vw, 40px); scrollbar-width: none;
	-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 34px, #000 calc(100% - 28px), transparent);
	mask-image: linear-gradient(to bottom, transparent 0, #000 34px, #000 calc(100% - 28px), transparent);
}
.lgr-gs-in::-webkit-scrollbar { display: none; }
.lgr-grs :focus-visible { outline-color: var(--wp--preset--color--accent); }
.lgr-gs-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 14px 64px; align-items: end; }
.lgr-gs-h { font-family: var(--wp--preset--font-family--head); font-weight: 700; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.06; letter-spacing: -0.02em; color: var(--wp--preset--color--white); margin: 0; }
.lgr-gs-h span { display: block; font-family: var(--wp--preset--font-family--body); font-weight: 500; font-size: var(--wp--preset--font-size--medium); letter-spacing: 0; color: var(--lgr-on-ink-muted); margin-bottom: 6px; }
.lgr-gs-p { color: var(--lgr-on-ink-muted); margin: 0; }
.lgr-gs-t { margin: 30px 0 14px; font-family: var(--wp--preset--font-family--head); font-weight: 600; font-size: var(--wp--preset--font-size--medium); color: var(--wp--preset--color--white); }

/* La formule : quatre cartes séparées par +, + et =. */
.lgr-gs-perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 40px; margin: 0; padding: 0; list-style: none; }
.lgr-gs-perks li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; align-content: start; padding-top: 18px; border-top: 1px solid var(--lgr-ink-rule); }
.lgr-gs-pk { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--accent); color: var(--wp--preset--color--accent); display: flex; align-items: center; justify-content: center; transition: transform 0.5s var(--lgr-ease); }
.lgr-gs-pk svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lgr-gs-perks li:hover .lgr-gs-pk { transform: rotate(-12deg); }
.lgr-gs-perks b { font-family: var(--wp--preset--font-family--head); font-weight: 600; font-size: var(--wp--preset--font-size--small); line-height: 1.3; color: var(--wp--preset--color--white); }
.lgr-gs-perks p { margin-top: 4px; font-size: var(--wp--preset--font-size--xs); line-height: 1.5; color: var(--lgr-on-ink-muted); }

.lgr-gs-nl { margin-top: 30px; padding-top: 6px; border-top: 1px solid var(--lgr-ink-rule); }
.lgr-gs-nl .lgr-gs-t { margin-top: 18px; }
.lgr-gs-nl .lgr-newsletter { max-width: 34rem; }
@media (max-width: 900px) {
	.lgr-gs-head, .lgr-gs-perks { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.lgr-gr-fab { right: 12px; bottom: 12px; }
	.lgr-gr-fab small { display: none; }
	.lgr-grs, .lgr-gs-in { max-height: 94dvh; }
}

/* ---------- En-tête : pastille « Accueil » sur le logo ---------- */
.wp-block-site-logo { position: relative; display: inline-flex; align-items: center; }
.lgr-home-tip {
	display: inline-flex; align-items: center; gap: 6px; margin-left: 10px;
	padding: 5px 12px; border-radius: var(--lgr-radius-pill);
	background: var(--wp--preset--color--soft); color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--xs); font-weight: 600; line-height: 1; white-space: nowrap;
	opacity: 0; transform: translateX(-8px); pointer-events: none;
	transition: opacity 0.25s var(--lgr-ease), transform 0.25s var(--lgr-ease);
}
.wp-block-site-logo:hover .lgr-home-tip,
.custom-logo-link:focus-visible ~ .lgr-home-tip { opacity: 1; transform: none; }
/* Sur la page d'accueil, le lien est déjà la page courante : pas de pastille. */
.custom-logo-link[aria-current] ~ .lgr-home-tip { display: none; }
/* Sans survol possible, la pastille resterait collée : on la retire. */
@media (hover: none) { .lgr-home-tip { display: none; } }
@media (prefers-reduced-motion: reduce) { .lgr-home-tip { transition: opacity 0.25s linear; transform: none; } }

/* ================================================================
   Page Contact (G7)
   ================================================================ */

.lgr-ct-hero { padding-block: clamp(36px, 5vw, 64px) clamp(28px, 3vw, 40px); background: linear-gradient(180deg, var(--wp--preset--color--soft), var(--wp--preset--color--white)); }
.lgr-ct-h1 { font-family: var(--wp--preset--font-family--head); font-weight: 700; font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1.04; letter-spacing: -0.026em; color: var(--wp--preset--color--ink); }
.lgr-ct-hero .is-style-lede { margin-top: 1.125rem; max-width: 34em; }
.lgr-ct-main { padding-bottom: clamp(64px, 8vw, 104px); }
.lgr-ct-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 24px clamp(24px, 4vw, 48px); align-items: start; }
.lgr-ct-grid > * { margin-block-start: 0; }

/* ---------- Le formulaire ---------- */
.lgr-ct-card { padding: clamp(22px, 3.5vw, 40px); border-radius: 30px; background: var(--wp--preset--color--white); box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule), 0 30px 60px -48px rgba(21, 26, 69, 0.4); }
.lgr-fs { margin: 0; padding: 0; border: 0; min-width: 0; }
.lgr-blk + .lgr-blk { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--wp--preset--color--rule); }
.lgr-lg { float: left; width: 100%; display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 0.875rem; font-family: var(--wp--preset--font-family--head); font-weight: 600; font-size: var(--wp--preset--font-size--large); color: var(--wp--preset--color--ink); }
.lgr-n { width: 28px; height: 28px; border-radius: 50%; background: var(--wp--preset--color--ink); color: var(--wp--preset--color--white); display: inline-flex; align-items: center; justify-content: center; font: 700 var(--wp--preset--font-size--xs) var(--wp--preset--font-family--head); }
.lgr-cb input { position: absolute; opacity: 0; pointer-events: none; }
.lgr-cb input:focus-visible + .lgr-cb-box { outline: 2px solid var(--wp--preset--color--ink); outline-offset: 3px; }
.lgr-cb-box svg, .lgr-done-ic svg { width: 12px; height: 12px; fill: none; stroke: var(--wp--preset--color--white); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.lgr-fields { clear: both; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.lgr-fld { display: flex; flex-direction: column; gap: 6px; font-size: var(--wp--preset--font-size--xs); font-weight: 600; color: var(--wp--preset--color--ink); }
.lgr-fld i, .lgr-cb i, .lgr-req i, .lgr-lg i { font-style: normal; color: var(--lgr-alerte); }
.lgr-fld input, .lgr-fld textarea {
	width: 100%; min-height: 48px; padding: 12px 16px; border: 0; border-radius: 14px;
	background: var(--wp--preset--color--soft); box-shadow: inset 0 0 0 1px transparent;
	font: 400 var(--wp--preset--font-size--medium) var(--wp--preset--font-family--body); color: var(--wp--preset--color--ink);
	transition: box-shadow 0.2s var(--lgr-ease), background-color 0.2s var(--lgr-ease);
}
.lgr-fld textarea { resize: vertical; min-height: 150px; line-height: 1.55; }
.lgr-fld input:hover, .lgr-fld textarea:hover { box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule); }
.lgr-fld input:focus, .lgr-fld textarea:focus { outline: 0; background: var(--wp--preset--color--white); box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--ink); }
.lgr-fld-full { clear: both; }
.lgr-fields .lgr-fld-full { grid-column: 1 / -1; }
.lgr-fld.is-bad input, .lgr-fld.is-bad textarea { box-shadow: inset 0 0 0 1.5px var(--lgr-alerte); background: var(--lgr-alerte-fond); }
.lgr-msg { font-weight: 500; color: var(--lgr-alerte); }
.lgr-err { display: none; margin-top: 8px; font-size: var(--wp--preset--font-size--xs); font-weight: 500; color: var(--lgr-alerte); }
.lgr-err.is-on { display: block; }
.lgr-cb { display: flex; align-items: flex-start; gap: 12px; margin-top: 1rem; font-size: var(--wp--preset--font-size--small); line-height: 1.5; color: var(--wp--preset--color--text); cursor: pointer; }
.lgr-cb-box { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; border-radius: 7px; background: var(--wp--preset--color--white); box-shadow: inset 0 0 0 1.5px var(--lgr-contour-saisie); display: flex; align-items: center; justify-content: center; transition: background-color 0.2s, box-shadow 0.2s; }
.lgr-cb-box svg { opacity: 0; }
.lgr-cb input:checked + .lgr-cb-box { background: var(--wp--preset--color--ink); box-shadow: none; }
.lgr-cb input:checked + .lgr-cb-box svg { opacity: 1; }
.lgr-cb.is-bad .lgr-cb-box { box-shadow: inset 0 0 0 1.5px var(--lgr-alerte); }
.lgr-send { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--wp--preset--color--rule); }
.lgr-req { font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--muted); }
.lgr-done { padding: clamp(24px, 5vw, 56px) 8px; text-align: center; }
/* Le focus posé par contact.js sert aux lecteurs d’écran : pas de cadre visible autour du message. */
.lgr-done:focus { outline: none; }
.lgr-done-ic { width: 64px; height: 64px; margin: 0 auto 1.125rem; border-radius: 50%; background: var(--wp--preset--color--green-ink); display: flex; align-items: center; justify-content: center; }
.lgr-done-ic svg { width: 28px; height: 28px; }
.lgr-done p { margin: 10px auto 20px; max-width: 30em; }
.lgr-again { font-weight: 600; color: var(--wp--preset--color--ink); border-bottom: 1px solid var(--wp--preset--color--rule); text-decoration: none; }
.lgr-again:hover { border-color: var(--wp--preset--color--ink); }

/* ---------- Colonne de droite ---------- */
.lgr-ct-side { position: sticky; top: 96px; display: grid; gap: 16px; }
.lgr-coord { padding: 26px; border-radius: 28px; background: var(--wp--preset--color--ink); color: var(--lgr-on-ink); }
.lgr-side-k { font-family: var(--wp--preset--font-family--head); font-size: var(--wp--preset--font-size--xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--accent); }
.lgr-coord-n { margin-top: 8px; font-family: var(--wp--preset--font-family--head); font-weight: 700; font-size: 1.35rem; color: var(--wp--preset--color--white); }
.lgr-coord ul { margin-top: 0.875rem; display: grid; padding: 0; list-style: none; }
.lgr-coord li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: start; gap: 12px; padding: 12px 0; border-top: 1px solid var(--lgr-ink-rule); font-size: var(--wp--preset--font-size--small); line-height: 1.45; }
.lgr-coord li > svg { color: var(--wp--preset--color--accent); margin-top: 1px; }
.lgr-coord a { color: var(--wp--preset--color--white); text-decoration: none; border-bottom: 1px solid rgba(233, 235, 245, 0.3); }
.lgr-coord a:hover { border-color: var(--wp--preset--color--white); }
.lgr-coord :focus-visible { outline-color: var(--wp--preset--color--accent); }
.lgr-cpy { width: 34px; height: 34px; margin-top: -6px; border: 0; border-radius: 50%; background: rgba(233, 235, 245, 0.1); color: var(--wp--preset--color--white); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color 0.25s var(--lgr-ease); }
.lgr-cpy:hover { background: rgba(233, 235, 245, 0.2); }
.lgr-cpy-msg { min-height: 1em; font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--accent); }
.lgr-soc-k { margin-top: 0.625rem; }
/* Les réseaux (lgr_reseaux_liste) : page Contact, et pied de page à droite sous la newsletter. */
/* « .lgr-coord » en plus : passer devant les lignes de coordonnées (.lgr-coord ul, li). */
.lgr-socs, .lgr-coord .lgr-socs { display: flex; flex-direction: row; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.lgr-socs li, .lgr-coord .lgr-socs li { display: block; margin: 0; padding: 0; border: 0; }
.lgr-footer .lgr-socs { flex-direction: row; gap: 8px; justify-content: flex-end; margin-top: 18px; }
.lgr-soc { width: 42px; height: 42px; border-radius: 50%; background: rgba(233, 235, 245, 0.1); color: var(--wp--preset--color--white); display: flex; align-items: center; justify-content: center; transition: background-color 0.25s var(--lgr-ease), transform 0.4s var(--lgr-ease); }
.lgr-soc:hover { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--ink); transform: rotate(-12deg); }
.lgr-webi { padding: 24px 26px 26px; border-radius: 28px; background: var(--wp--preset--color--accent-soft); box-shadow: inset 0 0 0 1px var(--lgr-accent-bord); }
.lgr-webi-t { font-family: var(--wp--preset--font-family--head); font-weight: 700; font-size: 1.15rem; color: var(--wp--preset--color--ink); }
.lgr-webi p:not(.lgr-webi-t) { margin: 8px 0 1.125rem; font-size: var(--wp--preset--font-size--small); }
/* Les paragraphes et listes des deux cartes partent sans les marges du
   navigateur, comme la maquette : la carte des coordonnées gagnait 48 px. */
.lgr-coord > *, .lgr-webi > * { margin-bottom: 0; }
.lgr-coord > p:first-child, .lgr-webi-t, .lgr-coord .lgr-cpy-msg { margin-top: 0; }

@media (max-width: 960px) {
	.lgr-ct-grid { grid-template-columns: 1fr; }
	.lgr-ct-side { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.lgr-ct-side { grid-template-columns: 1fr; }
	.lgr-fields { grid-template-columns: 1fr; }
	.lgr-send .wp-block-button__link { width: 100%; justify-content: center; }
}

/* ================================================================
   Ressources : ouverture, à la une, exploration filtrée
   ================================================================ */

/* Texte et visuel resserrés, peu d'écart avec « À la une » (18/11/2026). */
.lgr-res-hero { padding-block: clamp(32px, 4vw, 56px) clamp(8px, 1.5vw, 20px); }
.lgr-res-hero + .lgr-une-sec { padding-top: clamp(32px, 3.5vw, 48px); }
.lgr-res-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(32px, 4vw, 64px); align-items: center; }
.lgr-res-hero-grid > * { margin-block-start: 0; }
/* « Ce cas illustre un programme » : la pastille de la fiche Observatoire,
   aux couleurs du programme (--c, --t). */
.lgr-prog-hint {
	display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; padding: 10px 18px 10px 10px;
	border-radius: var(--lgr-radius-pill); background: var(--wp--preset--color--white);
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule); text-decoration: none;
	color: var(--wp--preset--color--ink); font-family: var(--wp--preset--font-family--head); font-weight: 600;
	transition: box-shadow 0.25s var(--lgr-ease);
}
.lgr-prog-hint:hover { box-shadow: inset 0 0 0 1.5px var(--c); }
.lgr-prog-hint small { display: block; font-family: var(--wp--preset--font-family--body); font-weight: 500; font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--muted); }
.lgr-prog-hint > svg { color: var(--ci, var(--c)); opacity: 0.5; }
.lgr-prog-hint-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--t); color: var(--ci, var(--c)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 0.5s var(--lgr-ease); }
.lgr-prog-hint:hover .lgr-prog-hint-ic { transform: rotate(-12deg); }
.lgr-prog-hint-p { margin: 0; }
.lgr-res-h1 { font-family: var(--wp--preset--font-family--head); font-weight: 700; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -0.028em; color: var(--wp--preset--color--ink); margin: 0; }
.lgr-res-hero .is-style-lede { margin-top: 1.5rem; max-width: 30em; }
.lgr-res-intro { margin-top: 0.875rem; max-width: 38em; font-size: var(--wp--preset--font-size--base); }
.lgr-t-fiche { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--white); }
.lgr-t-veille { background: var(--lgr-cat-fond); color: var(--wp--preset--color--green-ink); }
.lgr-t-emission { background: var(--wp--preset--color--accent-soft); color: var(--wp--preset--color--ink); }
@media (max-width: 900px) { .lgr-res-hero-grid { grid-template-columns: 1fr; } }

/* ---------- Têtes de section ---------- */
.lgr-sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px 32px; flex-wrap: wrap; }
.lgr-sec-head > * { margin-block-start: 0; }

/* ---------- À la une ---------- */
.lgr-une-sec { padding-block: clamp(56px, 6vw, 88px); }
.lgr-unes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 1.875rem; }
.lgr-une {
	position: relative; display: flex; flex-direction: column; border-radius: 26px; background: var(--wp--preset--color--white);
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule); overflow: hidden;
	transition: box-shadow 0.35s var(--lgr-ease), transform 0.35s var(--lgr-ease);
}
.lgr-une:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--ink), 0 24px 50px -34px rgba(21, 26, 69, 0.35); }
.lgr-une-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.lgr-une-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--lgr-ease); }
.lgr-une:hover .lgr-une-media img { transform: scale(1.03); }
.lgr-une-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.lgr-une-t { margin-top: 0.625rem; font-family: var(--wp--preset--font-family--head); font-weight: 700; font-size: 1.15rem; line-height: 1.25; color: var(--wp--preset--color--ink); text-wrap: balance; }
.lgr-une-t a { color: inherit; text-decoration: none; }
.lgr-une-t a::after { content: ""; position: absolute; inset: 0; }
.lgr-une-foot { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--muted); }
.lgr-sep { color: var(--lgr-contour-saisie); }
.lgr-tdot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex-shrink: 0; display: inline-block; }
@media (max-width: 760px) { .lgr-unes { grid-template-columns: 1fr; } }

/* ---------- Onglets ---------- */
.lgr-lib { padding-block: clamp(56px, 6vw, 88px); }
.lgr-tabs { display: flex; gap: 8px; margin-top: 1.625rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.lgr-tabs::-webkit-scrollbar { display: none; }
.lgr-tab {
	flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 8px 0 18px;
	border: 0; border-radius: var(--lgr-radius-pill); background: var(--wp--preset--color--white); box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule);
	font: 600 var(--wp--preset--font-size--small) var(--wp--preset--font-family--body); color: var(--wp--preset--color--text); cursor: pointer;
	transition: background-color 0.25s var(--lgr-ease), color 0.25s var(--lgr-ease), box-shadow 0.25s var(--lgr-ease);
}
.lgr-tab:hover { box-shadow: inset 0 0 0 1px var(--wp--preset--color--ink); }
.lgr-tab b { min-width: 28px; height: 28px; padding: 0 8px; border-radius: var(--lgr-radius-pill); background: var(--wp--preset--color--soft); display: inline-flex; align-items: center; justify-content: center; font: 600 var(--wp--preset--font-size--xs) var(--wp--preset--font-family--body); color: var(--wp--preset--color--muted); }
.lgr-tab[aria-selected="true"] { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--white); box-shadow: none; }
.lgr-tab[aria-selected="true"] b { background: rgba(255, 255, 255, 0.14); color: var(--wp--preset--color--white); }

/* ---------- Barre de filtres ---------- */
.lgr-bar {
	position: sticky; top: var(--lgr-entete); z-index: 12; margin-top: 1rem; padding-block: 12px;
	background: rgba(245, 246, 249, 0.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	border-bottom: 1px solid transparent; transition: border-color 0.3s var(--lgr-ease), background-color 0.3s var(--lgr-ease);
}
.lgr-bar.is-stuck { border-color: var(--wp--preset--color--rule); background: rgba(255, 255, 255, 0.95); }
.lgr-bar-in { display: flex; align-items: center; gap: 10px; }
.lgr-srch { flex: 1 1 280px; min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px; border-radius: var(--lgr-radius-pill); background: var(--wp--preset--color--white); box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule); color: var(--wp--preset--color--muted); transition: box-shadow 0.25s var(--lgr-ease); }
.lgr-srch:focus-within { box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--ink); }
.lgr-srch input { flex: 1; min-width: 0; width: 100%; border: 0; outline: 0; background: none; font: var(--wp--preset--font-size--small) var(--wp--preset--font-family--body); color: var(--wp--preset--color--ink); }
.lgr-dds { display: flex; gap: 8px; }
.lgr-dd { position: relative; }
.lgr-dd-btn, .lgr-f-open {
	display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border: 0;
	border-radius: var(--lgr-radius-pill); background: var(--wp--preset--color--white); box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule);
	font: 600 var(--wp--preset--font-size--small) var(--wp--preset--font-family--body); color: var(--wp--preset--color--ink);
	cursor: pointer; white-space: nowrap; transition: box-shadow 0.25s var(--lgr-ease), background-color 0.25s var(--lgr-ease);
}
.lgr-dd-btn:hover, .lgr-f-open:hover, .lgr-dd-btn[aria-expanded="true"] { box-shadow: inset 0 0 0 1px var(--wp--preset--color--ink); }
.lgr-dd-btn svg { transition: transform 0.3s var(--lgr-ease); }
.lgr-dd-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.lgr-dd.is-on .lgr-dd-btn { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--white); box-shadow: none; }
.lgr-dd-n[hidden] { display: none; }
.lgr-dd-n { min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--lgr-radius-pill); background: var(--wp--preset--color--accent); color: var(--wp--preset--color--ink); display: inline-flex; align-items: center; justify-content: center; font: 700 var(--wp--preset--font-size--xxs) var(--wp--preset--font-family--body); }
.lgr-dd-pop { position: absolute; left: 0; top: calc(100% + 8px); z-index: 30; width: 320px; padding: 10px; border-radius: 22px; background: var(--wp--preset--color--white); box-shadow: 0 0 0 1px var(--wp--preset--color--rule), 0 30px 60px -24px rgba(21, 26, 69, 0.35); }
.lgr-dd[data-dd="org"] .lgr-dd-pop { right: 0; left: auto; }
.lgr-dd-search { display: flex; align-items: center; gap: 8px; margin: 2px 2px 8px; padding: 0 12px; min-height: 40px; border-radius: var(--lgr-radius-pill); background: var(--wp--preset--color--soft); }
.lgr-dd-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: var(--wp--preset--font-size--small) var(--wp--preset--font-family--body); color: var(--wp--preset--color--ink); }
.lgr-opts { max-height: 300px; overflow-y: auto; scrollbar-width: thin; margin: 0; padding: 0; list-style: none; }
.lgr-opt { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--ink); cursor: pointer; }
.lgr-opt:hover { background: var(--wp--preset--color--soft); }
.lgr-opt input { position: absolute; opacity: 0; pointer-events: none; }
.lgr-opt-ck { width: 20px; height: 20px; border-radius: 6px; flex-shrink: 0; background: var(--wp--preset--color--white); box-shadow: inset 0 0 0 1.5px var(--lgr-contour-saisie); display: flex; align-items: center; justify-content: center; transition: background-color 0.2s, box-shadow 0.2s; }
.lgr-opt-ck svg { width: 12px; height: 12px; fill: none; stroke: var(--wp--preset--color--white); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.lgr-opt:has(input:checked) .lgr-opt-ck { background: var(--wp--preset--color--ink); box-shadow: none; }
.lgr-opt:has(input:checked) .lgr-opt-ck svg { opacity: 1; }
.lgr-opt:has(input:focus-visible) { outline: 2px solid var(--wp--preset--color--ink); outline-offset: -2px; }
.lgr-opt .lgr-tdot { width: 9px; height: 9px; }
.lgr-opt-l { flex: 1; min-width: 0; }
.lgr-opt-n { font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--muted); }
.lgr-opt.is-off { opacity: 0.38; pointer-events: none; }
.lgr-dd-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding: 10px 4px 2px; border-top: 1px solid var(--wp--preset--color--rule); }
.lgr-dd-clear { border: 0; background: none; padding: 6px 8px; font: 600 var(--wp--preset--font-size--small) var(--wp--preset--font-family--body); color: var(--wp--preset--color--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.lgr-dd-clear:hover { color: var(--wp--preset--color--ink); }
.lgr-dd-ok { border: 0; border-radius: var(--lgr-radius-pill); background: var(--wp--preset--color--ink); color: var(--wp--preset--color--white); padding: 9px 18px; font: 600 var(--wp--preset--font-size--small) var(--wp--preset--font-family--body); cursor: pointer; }
.lgr-sort { display: flex; align-items: center; gap: 8px; font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--muted); white-space: nowrap; }
.lgr-sort select {
	min-height: 46px; padding: 0 34px 0 16px; border: 0; border-radius: var(--lgr-radius-pill);
	background: var(--wp--preset--color--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23151A45' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule); font: 600 var(--wp--preset--font-size--small) var(--wp--preset--font-family--body);
	color: var(--wp--preset--color--ink); appearance: none; cursor: pointer;
}
.lgr-f-open { display: none; }

/* ---------- Résultats ---------- */
.lgr-state { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; min-height: 44px; margin: 1rem 0 1.125rem; }
.lgr-count { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.lgr-count b { color: var(--wp--preset--color--ink); }
.lgr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lgr-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 6px 0 14px; border: 0; border-radius: var(--lgr-radius-pill); background: var(--wp--preset--color--white); box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule); font: 500 var(--wp--preset--font-size--xs) var(--wp--preset--font-family--body); color: var(--wp--preset--color--ink); cursor: pointer; }
.lgr-chip:hover { box-shadow: inset 0 0 0 1px var(--wp--preset--color--ink); }
.lgr-chip i { width: 22px; height: 22px; border-radius: 50%; background: var(--wp--preset--color--soft); display: flex; align-items: center; justify-content: center; font-style: normal; font-size: var(--wp--preset--font-size--compact); line-height: 1; }
.lgr-chip-all { background: none; box-shadow: none; text-decoration: underline; text-underline-offset: 3px; padding: 0 8px; color: var(--wp--preset--color--muted); }
.lgr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.lgr-rc-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--muted); }
/* Étiquette : un seul composant (.lgr-tag). Variantes : .lgr-rc-type (type de
   ressource, couleur selon le type), .lgr-k-a (catégorie d’un article), .lgr-cd (compte
   à rebours), .lgr-ev-tag (famille d'un événement), .lgr-ac-badge (rôle d'un
   acteur), et .lgr-se-k (séance), posée dans le contenu des pages, d'où sa
   place dans le sélecteur. */
.lgr-tag, .lgr-se-k { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: var(--lgr-radius-pill); font-size: var(--wp--preset--font-size--xxs); font-weight: 600; }
.lgr-empty { padding: 48px 24px; border-radius: 24px; background: var(--wp--preset--color--white); text-align: center; box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule); }
.lgr-empty p { margin-bottom: 1.125rem; }
/* La forme « ligne » (lgr_vide) : une phrase discrète sous une liste filtrée sur place. */
.lgr-empty.is-ligne { margin-top: 1.5rem; padding: 0; border-radius: 0; background: none; box-shadow: none; text-align: left; color: var(--wp--preset--color--muted); }
.lgr-empty.is-ligne p { margin: 0; }
.lgr-more-w { display: flex; justify-content: center; margin-top: 1.875rem; }
/* Rien à afficher : ni la place du bouton masqué, ni celle d'une grille vide. */
.lgr-more-w:has(> .lgr-more[hidden]) { display: none; }
.lgr-ncs:empty { display: none; }
.lgr-more span { opacity: 0.7; font-weight: 500; }

@media (max-width: 980px) { .lgr-grid { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
	.lgr-dds, .lgr-sort { display: none; }
	.lgr-f-open { display: inline-flex; }
	.lgr-bar-in { gap: 8px; }
	.lgr-srch { flex-basis: auto; }
}
@media (max-width: 560px) {
	.lgr-f-open { padding: 0 14px; }
	.lgr-f-open .lgr-fl { display: none; }
}

/* ---------- Ressources : pages de détail ---------- */
.lgr-sg-hero { padding-block: clamp(24px, 3vw, 36px) clamp(32px, 4vw, 48px); background: linear-gradient(180deg, var(--wp--preset--color--soft), var(--wp--preset--color--white)); }
.lgr-sg-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px clamp(28px, 4vw, 56px); align-items: center; margin-top: 1.25rem; }
.lgr-sg-top > * { margin-block-start: 0; }
.lgr-sg-meta { margin-bottom: 1rem; }
.lgr-sg-h1 { font-family: var(--wp--preset--font-family--head); font-weight: 700; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.08; letter-spacing: -0.022em; color: var(--wp--preset--color--ink); text-wrap: balance; margin: 0; }
.lgr-sg-h1-v { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.lgr-sg-lead { margin-top: 1.125rem; font-size: var(--wp--preset--font-size--large); line-height: 1.6; max-width: 34em; }
.lgr-th-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.25rem; }
.lgr-th-chip, .lgr-org-chip {
	display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 14px;
	border-radius: var(--lgr-radius-pill); background: var(--wp--preset--color--white); box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule);
	font-size: var(--wp--preset--font-size--xs); font-weight: 600; color: var(--wp--preset--color--ink);
	text-decoration: none; transition: box-shadow var(--lgr-transition);
}
.lgr-th-chip:hover, .lgr-org-chip:hover { box-shadow: inset 0 0 0 1px var(--wp--preset--color--ink); }
.lgr-org-chip { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--white); box-shadow: none; }
.lgr-idcard { padding: 24px 26px; border-radius: 26px; background: var(--wp--preset--color--ink); color: var(--lgr-on-ink); }
.lgr-id-k { font-family: var(--wp--preset--font-family--head); font-size: var(--wp--preset--font-size--xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--accent); }
.lgr-id-n { margin-top: 6px; font-family: var(--wp--preset--font-family--head); font-weight: 700; font-size: 1.3rem; color: var(--wp--preset--color--white); }
.lgr-idcard dl { margin: 1rem 0 0; display: grid; }
.lgr-idcard dl > div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--lgr-ink-rule); font-size: var(--wp--preset--font-size--small); }
.lgr-idcard dt { color: var(--lgr-on-ink-muted); }
.lgr-idcard dd { margin: 0; color: var(--wp--preset--color--white); }
.lgr-id-web { display: inline-flex; align-items: center; gap: 8px; margin-top: 1rem; font-weight: 600; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--accent); text-decoration: none; }
.lgr-id-web:hover { text-decoration: underline; }
.lgr-figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 2rem 0 0; padding: 0; list-style: none; }
.lgr-figs li { padding: 18px 20px; border-radius: 20px; background: var(--wp--preset--color--white); box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule); }
.lgr-figs b { display: block; font-family: var(--wp--preset--font-family--head); font-weight: 700; font-size: 1.6rem; line-height: 1.1; color: var(--wp--preset--color--ink); }
.lgr-figs li:first-child b { color: var(--wp--preset--color--green-ink); }
.lgr-figs span { display: block; margin-top: 4px; font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--muted); }
/* La photo de la fiche, à droite de l'ouverture : cadrée, mesurée. */
.lgr-sg-visuel { margin: 0; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 3; max-height: 400px; box-shadow: 0 30px 60px -44px rgba(21, 26, 69, 0.45); }
.lgr-sg-visuel img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lgr-ar-side .lgr-idcard { margin: 0 0 1.75rem; }
/* Texte provisoire : la mention, et le faux texte un ton en retrait. */
.lgr-provisoire {
	display: inline-flex; margin: 0 0 1.25rem !important; padding: 3px 12px; border-radius: var(--lgr-radius-pill);
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule); background: var(--wp--preset--color--soft);
	font-size: var(--wp--preset--font-size--xxs); font-weight: 600; letter-spacing: 0.02em; color: var(--wp--preset--color--muted);
}
.lgr-provisoire ~ p, .lgr-provisoire ~ h2, .lgr-provisoire-t { color: var(--wp--preset--color--muted); }
/* Veille et émissions : la même colonne que le reste du site (l'ancienne colonne
   étroite de 880 px se décalait de l'en-tête), et la carte suit l'ouverture sans
   second écart. Les lignes de texte restent à une longueur de lecture. */
.lgr-v-body { padding-block: 0 clamp(48px, 6vw, 72px); }
.lgr-v-card p { max-width: 46em; }
.lgr-v-card { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 24px clamp(24px, 3vw, 36px); align-items: start; padding: 22px; border-radius: 26px; background: var(--wp--preset--color--white); box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule); }
/* Sans image, la carte n'a qu'une colonne : pas de vide à gauche. */
.lgr-v-card:not(:has(.lgr-v-fig)) { grid-template-columns: 1fr; }
.lgr-v-fig { margin: 0; border-radius: 18px; overflow: hidden; background: var(--wp--preset--color--soft); }
.lgr-v-fig img { width: 100%; height: auto; display: block; }
.lgr-v-accroche { font-size: var(--wp--preset--font-size--medium); line-height: 1.6; }
.lgr-v-card .wp-block-button { margin-top: 1.25rem; }
.lgr-v-note { margin-top: 1rem; font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--muted); }
.lgr-v-obs { margin-top: 2.5rem; }
.lgr-side-t { font-family: var(--wp--preset--font-family--head); font-size: var(--wp--preset--font-size--xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lgr-side-t, var(--wp--preset--color--green-ink)); margin-bottom: 0.875rem; }
.lgr-grid-1 { grid-template-columns: 1fr; }
.lgr-rel { padding-block: clamp(48px, 6vw, 72px); }
.lgr-rel .lgr-grid { margin-top: 1.5rem; }
@media (max-width: 960px) {
	.lgr-sg-top { grid-template-columns: 1fr; }
	.lgr-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lgr-v-card { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .lgr-figs { grid-template-columns: 1fr; } }

/* ---------- Ressources : panneau des filtres sur téléphone ---------- */
.lgr-pf { display: none; flex-direction: column; }
.lgr-pf[open] { display: flex; }
.lgr-pf-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 16px 10px 20px; border-bottom: 1px solid var(--wp--preset--color--rule); }
.lgr-pf-t { font-family: var(--wp--preset--font-family--head); font-weight: 700; font-size: var(--wp--preset--font-size--large); color: var(--wp--preset--color--ink); }
.lgr-pf-in { flex: 1; overflow-y: auto; padding: 6px 12px 16px; scrollbar-width: none; }
.lgr-pf-in::-webkit-scrollbar { display: none; }
/* Dans le panneau, les listes sont dépliées et prennent toute la largeur. */
.lgr-pf-in .lgr-dds { display: block; }
.lgr-pf-in .lgr-dd { position: static; margin-top: 1.125rem; }
.lgr-pf-in .lgr-dd-btn { width: 100%; justify-content: flex-start; background: none; box-shadow: none; padding: 0 8px; min-height: 32px; font-family: var(--wp--preset--font-family--head); font-size: var(--wp--preset--font-size--xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--wp--preset--color--green-ink); pointer-events: none; }
.lgr-pf-in .lgr-dd-btn svg { display: none; }
.lgr-pf-in .lgr-dd-pop { position: static; width: auto; padding: 0; box-shadow: none; }
.lgr-pf-in .lgr-opts { max-height: 260px; }
.lgr-pf-in .lgr-dd-foot { display: none; }
.lgr-pf-in .lgr-sort { display: flex; margin-top: 1.125rem; padding: 0 8px; }
.lgr-pf-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--wp--preset--color--rule); }

/* ======================================================================
   Actualités & événements
   ====================================================================== */

/* ---------- Les familles d'acteurs ----------
   Chaque terme de la taxonomie désigne une palette de la charte ; une règle
   par palette, et les composants ne connaissent que --lgr-fc, --lgr-fi et
   --lgr-ft. Une cinquième famille se règle dans l'écran du terme, sans CSS. */
.lgr-fam-accent { --lgr-fc: var(--wp--preset--color--accent); --lgr-fi: var(--wp--preset--color--ink);        --lgr-ft: var(--wp--preset--color--accent-soft); }
.lgr-fam-blue   { --lgr-fc: var(--wp--preset--color--blue);   --lgr-fi: var(--wp--preset--color--blue-ink);   --lgr-ft: var(--wp--preset--color--blue-tint); }
.lgr-fam-green  { --lgr-fc: var(--wp--preset--color--green);  --lgr-fi: var(--wp--preset--color--green-ink);  --lgr-ft: var(--wp--preset--color--green-tint); }
.lgr-fam-orange { --lgr-fc: var(--wp--preset--color--orange); --lgr-fi: var(--wp--preset--color--orange-ink); --lgr-ft: var(--wp--preset--color--orange-tint); }
.lgr-fam-purple { --lgr-fc: var(--wp--preset--color--purple); --lgr-fi: var(--wp--preset--color--purple);     --lgr-ft: var(--wp--preset--color--soft); }
.lgr-fam-slate  { --lgr-fc: var(--wp--preset--color--slate);  --lgr-fi: var(--wp--preset--color--text);       --lgr-ft: var(--wp--preset--color--slate-tint); }

/* Pastilles communes à l'agenda et aux gabarits. */
.lgr-pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--wp--preset--color--accent); box-shadow: 0 0 0 0 rgba(245, 196, 0, 0.6); flex-shrink: 0; }
@media (prefers-reduced-motion: no-preference) { .lgr-pulse { animation: lgr-pulse 2.2s ease-out infinite; } }
@keyframes lgr-pulse { 70% { box-shadow: 0 0 0 9px rgba(245, 196, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(245, 196, 0, 0); } }
.lgr-cd { background: var(--wp--preset--color--accent-soft); color: var(--wp--preset--color--ink); letter-spacing: 0.02em; text-transform: none; }
.lgr-cd:empty { display: none; }
.lgr-st { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: var(--lgr-radius-pill); background: var(--lgr-alerte-fond); color: var(--lgr-alerte); font-weight: 700; }
.lgr-ev-tag { display: inline; min-height: 0; padding: 3px 10px; font-size: inherit; background: var(--lgr-ft); color: var(--lgr-fi); }
.lgr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Ouverture : le titre à gauche, l'événement à la une à droite ---------- */
.lgr-ac-sec { padding-block: clamp(32px, 4.5vw, 56px) clamp(8px, 2vw, 20px); }
.lgr-ac-hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px clamp(32px, 5vw, 64px); align-items: center; }
.lgr-ac-hero > * { margin-block-start: 0; }
.lgr-ac-h1 { margin: 0; font-family: var(--wp--preset--font-family--head); font-weight: 700; font-size: clamp(2.3rem, 4.4vw, 3.4rem); line-height: 1.04; letter-spacing: -0.026em; color: var(--wp--preset--color--ink); }
.lgr-ac-h1 .lgr-couleur { white-space: nowrap; }
.lgr-ac-lead { margin-top: clamp(18px, 2vw, 26px); max-width: 30em; font-size: var(--wp--preset--font-size--medium); color: var(--wp--preset--color--text); }

.lgr-uev {
	position: relative; display: block; padding: 24px 26px 22px; border-radius: 28px; background: var(--wp--preset--color--white);
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule), 0 30px 60px -42px rgba(21, 26, 69, 0.45);
	text-decoration: none; color: var(--wp--preset--color--text); overflow: hidden;
	transition: transform 0.35s var(--lgr-ease), box-shadow 0.35s var(--lgr-ease);
}
.lgr-uev::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--lgr-arc); }
.lgr-uev:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--ink), 0 30px 60px -38px rgba(21, 26, 69, 0.5); }
.lgr-uev-k { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--wp--preset--font-family--head); font-size: var(--wp--preset--font-size--xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--ink); }
.lgr-uev-row { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 18px; align-items: center; margin-top: 1.125rem; }
/* Pastille de date : un seul composant (.lgr-date). Les variantes ne règlent que
   la taille, le fond et la couleur : .lgr-uev-d (événement à la une),
   .lgr-ev-d (ligne d'agenda), .lgr-evs-d (fiche événement), .lgr-eh-d (encart
   d'un article). */
.lgr-date { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; text-align: center; border-radius: 18px; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--ink); }
.lgr-date b { font-family: var(--wp--preset--font-family--head); font-weight: 700; letter-spacing: -0.03em; }
.lgr-date span { margin-top: 6px; font-size: var(--wp--preset--font-size--xxs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.lgr-uev-d { width: 92px; height: 92px; border-radius: 20px; }
.lgr-uev-d b { font-size: 1.55rem; }
.lgr-uev-d-rep { background: var(--lgr-alerte-fond); color: var(--lgr-alerte); padding: 10px; font-family: var(--wp--preset--font-family--head); font-weight: 600; font-size: var(--wp--preset--font-size--xxs); line-height: 1.25; text-align: center; }
.lgr-uev-t { font-family: var(--wp--preset--font-family--head); font-weight: 700; font-size: 1.35rem; line-height: 1.15; color: var(--wp--preset--color--ink); }
.lgr-uev-m { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--muted); }
.lgr-uev-m svg { color: var(--wp--preset--color--ink); opacity: 0.6; flex-shrink: 0; }
.lgr-uev-p { margin-top: 1rem; font-size: var(--wp--preset--font-size--small); line-height: 1.55; }
.lgr-uev-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 1rem; padding-top: 14px; width: 100%; border-top: 1px solid var(--wp--preset--color--rule); font-weight: 600; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--ink); }
.lgr-uev-go svg { transition: transform 0.3s var(--lgr-ease); }
.lgr-uev:hover .lgr-uev-go svg { transform: translateX(3px); }

/* ---------- Agenda ---------- */
.lgr-ag-sec { padding-bottom: clamp(56px, 7vw, 96px); }
.lgr-ag-bar { margin-top: clamp(28px, 4vw, 44px); padding-block: 0; background: rgba(255, 255, 255, 0.95); border-block: 1px solid var(--wp--preset--color--rule); }
.lgr-ag-bar .lgr-bar-in { justify-content: space-between; gap: 12px 24px; min-height: 60px; }
.lgr-fam-ts { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.lgr-fam-ts::-webkit-scrollbar { display: none; }
.lgr-fam-t {
	flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px;
	border: 0; border-radius: var(--lgr-radius-pill); background: transparent;
	font: 500 var(--wp--preset--font-size--small) var(--wp--preset--font-family--body); color: var(--wp--preset--color--text);
	cursor: pointer; white-space: nowrap; transition: background-color 0.25s var(--lgr-ease), color 0.25s var(--lgr-ease);
}
.lgr-fam-t i { width: 9px; height: 9px; border-radius: 50%; background: var(--lgr-fc); }
.lgr-fam-t:hover { color: var(--wp--preset--color--ink); background: var(--wp--preset--color--soft); }
.lgr-fam-t.is-on { background: var(--lgr-ft, var(--wp--preset--color--soft)); color: var(--lgr-fi, var(--wp--preset--color--ink)); font-weight: 600; }
.lgr-fam-t[value=""].is-on { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--white); }
.lgr-fam-t[disabled] { opacity: 0.4; cursor: default; }

.lgr-seg { display: inline-flex; flex-shrink: 0; padding: 4px; border-radius: var(--lgr-radius-pill); background: var(--wp--preset--color--soft); gap: 2px; }
.lgr-seg-b { border: 0; border-radius: var(--lgr-radius-pill); padding: 6px 12px; background: transparent; font: 600 var(--wp--preset--font-size--xs) var(--wp--preset--font-family--body); color: var(--wp--preset--color--muted); cursor: pointer; transition: background-color 0.25s var(--lgr-ease), color 0.25s var(--lgr-ease); }
.lgr-seg-b:hover { color: var(--wp--preset--color--ink); }
.lgr-seg-b.is-on { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--white); }
.lgr-q-head .lgr-seg-b { padding: 8px 16px; font-size: var(--wp--preset--font-size--small); }

.lgr-mois { margin-top: 1.875rem; font-family: var(--wp--preset--font-family--head); font-weight: 700; font-size: var(--wp--preset--font-size--large); color: var(--wp--preset--color--ink); display: flex; align-items: center; gap: 14px; }
.lgr-mois::after { content: ""; flex: 1; height: 1px; background: var(--wp--preset--color--rule); }
.lgr-ag-liste > .lgr-mois:first-child { margin-top: 1.75rem; }
.lgr-evs, .lgr-evs-list { display: grid; gap: 10px; margin: 0.875rem 0 0; padding: 0; list-style: none; }
/* Agenda : les rendez-vous passés, sous ceux à venir, un ton en retrait. */
.lgr-ag-passes { margin-top: clamp(40px, 5vw, 64px); }
.lgr-ev-passe { opacity: 0.82; }
.lgr-ev-passe:hover { opacity: 1; }
.lgr-evs-list { margin-top: 1.375rem; }
.lgr-ev {
	position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr) auto auto; align-items: center; gap: 20px;
	margin: 0; padding: 12px 20px 12px 12px; border-radius: 22px; background: var(--wp--preset--color--white);
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule);
	transition: box-shadow 0.3s var(--lgr-ease), transform 0.3s var(--lgr-ease);
}
.lgr-ev::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0; background: var(--lgr-fc); transition: opacity 0.3s var(--lgr-ease); }
/* Au survol, la bordure complète prend la couleur et remplace le trait de
   gauche : les deux ensemble faisaient un double bord. */
.lgr-ev:hover { box-shadow: inset 0 0 0 1.5px var(--lgr-fc); transform: translateX(3px); }
.lgr-ev:hover::before { opacity: 0; }
.lgr-ev-d { width: 76px; height: 76px; background: var(--lgr-ft); color: inherit; }
.lgr-ev-d b, .lgr-ev-d span { color: var(--lgr-fi); }
.lgr-ev-d b { font-size: 1.65rem; letter-spacing: -0.02em; }
.lgr-ev-d span { margin-top: 4px; opacity: 0.75; }
.lgr-ev-d.lgr-ev-range b { font-size: 1.1rem; white-space: nowrap; letter-spacing: -0.03em; }
.lgr-ev-lgr { box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--accent); background: linear-gradient(90deg, var(--lgr-accent-voile), var(--wp--preset--color--white) 60%); }
.lgr-ev-lgr .lgr-ev-d { background: var(--wp--preset--color--accent); }
.lgr-ev-lgr::before { display: none; }
.lgr-ev-c { min-width: 0; }
.lgr-ev-t { font-family: var(--wp--preset--font-family--head); font-weight: 600; font-size: var(--wp--preset--font-size--medium); line-height: 1.3; color: var(--wp--preset--color--ink); }
.lgr-ev-t a { color: inherit; text-decoration: none; }
.lgr-ev-t a::after { content: ""; position: absolute; inset: 0; border-radius: 22px; }
.lgr-ev-m { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 6px; font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--muted); }
.lgr-ev-m > span { display: inline-flex; align-items: center; gap: 6px; }
.lgr-ev-m svg { color: var(--wp--preset--color--ink); opacity: 0.55; }
.lgr-ev-m .lgr-ev-org { flex-basis: 100%; }
.lgr-ev-img { width: 116px; height: 76px; border-radius: 14px; overflow: hidden; background: var(--wp--preset--color--soft); }
.lgr-ev-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--lgr-ease); }
.lgr-ev:hover .lgr-ev-img img { transform: scale(1.04); }
.lgr-ev-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--ink); white-space: nowrap; }
.lgr-ev-go svg { transition: transform 0.3s var(--lgr-ease); }
.lgr-ev:hover .lgr-ev-go svg { transform: translate(2px, -2px); }

.lgr-propose {
	display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 18px;
	margin-top: 1.375rem; padding: 16px 22px 16px 16px; border-radius: 22px;
	border: 1.5px dashed var(--lgr-contour-saisie); text-decoration: none; color: var(--wp--preset--color--text);
	font-size: var(--wp--preset--font-size--small); transition: border-color 0.3s var(--lgr-ease), background-color 0.3s var(--lgr-ease);
}
.lgr-propose:hover { border-color: var(--wp--preset--color--ink); background: var(--wp--preset--color--soft); }
.lgr-propose b { display: block; font-family: var(--wp--preset--font-family--head); font-weight: 600; font-size: var(--wp--preset--font-size--medium); color: var(--wp--preset--color--ink); }
.lgr-pr-ic { width: 52px; height: 52px; border-radius: 16px; background: var(--wp--preset--color--soft); color: var(--wp--preset--color--ink); display: flex; align-items: center; justify-content: center; transition: transform 0.4s var(--lgr-ease), background-color 0.3s var(--lgr-ease); }
.lgr-propose:hover .lgr-pr-ic { transform: rotate(90deg); background: var(--wp--preset--color--white); }
.lgr-pr-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--wp--preset--color--ink); white-space: nowrap; }

/* ---------- Le fil ---------- */
/* ---------- Carte d'actualité (lgr-nc) ----------
   Comme l'Observatoire du site d'origine : une grande photo, le titre en gras
   dessous, ni extrait ni date. Page Actualités, fil d'un programme, « À lire
   aussi ». Sans photo, un visuel de la charte : fond teinté et polygones. */
.lgr-ncs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px) clamp(16px, 2vw, 28px); margin: 1.75rem 0 0; padding: 0; list-style: none; }
.lgr-nc { margin: 0; }
.lgr-nc a { display: block; color: inherit; text-decoration: none; }
.lgr-nc-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 18px; background: var(--wp--preset--color--soft); }
.lgr-nc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--lgr-ease); }
.lgr-nc a:hover .lgr-nc-media img, .lgr-nc a:focus-visible .lgr-nc-media img { transform: scale(1.045); }
.lgr-nc-vide { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 18px 20px; background: var(--lgr-nc-fond, var(--wp--preset--color--green-tint)); }
.lgr-nc-vide::before { content: ""; position: absolute; inset: 12% 10% 22%; background: var(--lgr-nc-dessin, url("../img/illustrations/collectif.svg")) center / contain no-repeat; transition: transform 0.8s var(--lgr-ease); }
.lgr-nc-vide::after { content: ""; position: absolute; top: 0; right: 0; width: 34%; aspect-ratio: 560 / 360; background: url("../img/illustrations/poly-coin.webp") right top / contain no-repeat; transition: transform 0.8s var(--lgr-ease); }
.lgr-nc a:hover .lgr-nc-vide::before { transform: scale(1.04); }
.lgr-nc a:hover .lgr-nc-vide::after { transform: translate(3px, -3px); }
.lgr-nc:nth-child(3n + 2) { --lgr-nc-dessin: url("../img/illustrations/territoire.svg"); }
.lgr-nc:nth-child(3n) { --lgr-nc-dessin: url("../img/illustrations/epicerie.svg"); }
.lgr-nc-vide span { position: relative; font: 600 var(--wp--preset--font-size--xs) var(--wp--preset--font-family--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--ink); }
.lgr-nc-le-grand-rebond { --lgr-nc-fond: var(--wp--preset--color--accent-soft); }
.lgr-nc-programmes { --lgr-nc-fond: var(--wp--preset--color--green-tint); }
.lgr-nc-observatoire { --lgr-nc-fond: var(--wp--preset--color--blue-tint); }
.lgr-nc-t { margin: 14px 0 0; font-family: var(--wp--preset--font-family--head); font-weight: 700; font-size: var(--wp--preset--font-size--medium); line-height: 1.3; color: var(--wp--preset--color--ink); }
.lgr-nc a:hover .lgr-nc-t { text-decoration: underline; text-decoration-color: var(--wp--preset--color--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- Page Actualités ---------- */
.lgr-actus-sec { padding-block: clamp(40px, 5vw, 72px) clamp(56px, 6vw, 88px); }
.lgr-actus-head { text-align: center; max-width: 46rem; margin: 0 auto; }
.lgr-actus-h1 { margin: 0; font-family: var(--wp--preset--font-family--head); font-weight: 700; font-size: clamp(2.3rem, 4.4vw, 3.4rem); line-height: 1.04; letter-spacing: -0.026em; color: var(--wp--preset--color--ink); }
.lgr-actus-lead { margin: 1rem auto 0; max-width: 36em; font-size: var(--wp--preset--font-size--medium); }
/* Centrés quand ils tiennent sur la ligne ; sinon alignés au début et
   défilants, sans couper le premier onglet (ce que fait justify-content). */
.lgr-tabs-c > :first-child { margin-left: auto; }
.lgr-tabs-c > :last-child { margin-right: auto; }
.lgr-actus .lgr-ncs { margin-top: clamp(2rem, 4vw, 3rem); }
/* Page Programmes : le fil « Actualités des programmes ». */
.lgr-actus-progs { margin-block: clamp(48px, 6vw, 80px) clamp(32px, 4vw, 56px); }

/* ---------- Gabarit événement ----------
   Un seul gabarit pour le Grand Rebond et pour l'écosystème : l'en-tête, la
   carte collée et le corps sont les trois cases d'une même grille, et c'est
   pour cela que la carte peut courir sur toute la hauteur. */
.lgr-evs-sec { padding-block: clamp(24px, 3vw, 40px) clamp(40px, 5vw, 64px); background: linear-gradient(180deg, var(--lgr-ft), var(--wp--preset--color--white) 520px); }
.lgr-evs-sec:has(.lgr-evs-lgr) { background: linear-gradient(180deg, var(--lgr-accent-voile), var(--wp--preset--color--white) 520px); }
/* Fiche événement, resserrée (7 octobre 2026) : sur le large, l'encadré
   s'élargit et l'introduction occupe sa colonne ; peu de contenu, peu de vide. */
.lgr-evs-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; grid-template-rows: auto 1fr; gap: 0 clamp(32px, 4vw, 56px); }
.lgr-evs-grid > * { margin-block-start: 0; }
.lgr-evs-head { grid-column: 1; grid-row: 1; padding-bottom: clamp(18px, 2vw, 26px); }
.lgr-evs-side { grid-column: 2; grid-row: 1 / span 2; }
.lgr-evs-body { grid-column: 1; grid-row: 2; min-width: 0; }
.lgr-evs-sticky { position: sticky; top: calc(var(--lgr-entete) + 24px); }
.lgr-evs-k { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 1rem; font-size: var(--wp--preset--font-size--xs); }
.lgr-evs-k .lgr-ev-tag { padding: 4px 12px; }
.lgr-evs-h1 { font-family: var(--wp--preset--font-family--head); font-weight: 700; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.04; letter-spacing: -0.026em; color: var(--wp--preset--color--ink); text-wrap: balance; }
.lgr-evs-h1-s { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.1; }
.lgr-evs-lead { margin-top: 1.125rem; max-width: 40em; font-size: var(--wp--preset--font-size--large); line-height: 1.55; color: var(--wp--preset--color--text); }
.lgr-evs-by { margin-top: 0.875rem; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.lgr-evs-by b { color: var(--lgr-fi); }
.lgr-evs-by a { color: inherit; }

/* La carte d'infos pratiques. */
.lgr-evs-card { position: relative; padding: 22px; border-radius: 28px; background: var(--wp--preset--color--white); box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule), 0 30px 60px -44px rgba(21, 26, 69, 0.45); }
/* Le filet en fond (et non en ::before + overflow hidden) : le menu « Ajouter à mon agenda » peut déborder de la carte. */
.lgr-evs-lgr .lgr-evs-card { background: var(--lgr-arc) top / 100% 4px no-repeat, var(--wp--preset--color--white); }
.lgr-evs-d { height: 86px; border-radius: 20px; background: var(--lgr-ft); color: var(--lgr-fi); }
.lgr-evs-lgr .lgr-evs-d { background: var(--wp--preset--color--accent); }
.lgr-evs-d b { font-size: 2.2rem; }
.lgr-evs-d-rep, .lgr-evs-lgr .lgr-evs-d-rep { background: var(--lgr-alerte-fond); color: var(--lgr-alerte); }
.lgr-evs-d-rep b { font-size: 1.7rem; }
.lgr-evs-card dl { margin: 0.875rem 0 1.125rem; }
.lgr-evs-card dl div { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid var(--wp--preset--color--rule); font-size: var(--wp--preset--font-size--small); }
.lgr-evs-card dt { display: flex; align-items: center; gap: 7px; color: var(--wp--preset--color--muted); align-self: start; min-height: 1.5em; }
.lgr-evs-card dt svg { color: var(--lgr-fi); flex-shrink: 0; }
.lgr-evs-lgr .lgr-evs-card dt svg { color: var(--wp--preset--color--ink); opacity: 0.6; }
.lgr-evs-card dd { margin: 0; color: var(--wp--preset--color--ink); font-weight: 500; }
.lgr-evs-card dd s { display: block; margin-top: 2px; font-weight: 400; font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--muted); }
.lgr-evs-card .wp-element-button, .lgr-evs-card summary:not(.lgr-ics-lien) { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; line-height: 1.25; text-align: center; border-radius: var(--lgr-radius-pill); font-weight: 600; cursor: pointer; }
.lgr-btn-ink { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--white); }
.lgr-btn-ink:hover { background: color-mix(in srgb, var(--wp--preset--color--ink) 88%, var(--wp--preset--color--white)); color: var(--wp--preset--color--white); }
.lgr-btn-accent { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--ink); }
.lgr-btn-accent:hover { background: color-mix(in srgb, var(--wp--preset--color--accent) 88%, var(--wp--preset--color--ink)); }
.lgr-evp-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin-top: 0.875rem; }
.lgr-evp-links a, .lgr-partage, .lgr-ics-lien { min-height: 24px; display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; border-bottom: 1px solid var(--wp--preset--color--rule); background: none; font: 600 var(--wp--preset--font-size--xs) var(--wp--preset--font-family--body); color: var(--wp--preset--color--ink); text-decoration: none; cursor: pointer; }
.lgr-evp-links a:hover, .lgr-partage:hover, .lgr-ics-lien:hover { border-color: var(--wp--preset--color--ink); }
.lgr-ics summary { list-style: none; }
.lgr-ics summary::-webkit-details-marker { display: none; }
.lgr-ics summary svg:last-child { transition: transform 0.3s var(--lgr-ease); }
.lgr-ics[open] summary svg:last-child { transform: rotate(180deg); }
.lgr-ics ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.lgr-ics a { display: block; padding: 10px 14px; border-radius: 12px; background: var(--wp--preset--color--soft); font-size: var(--wp--preset--font-size--small); font-weight: 600; color: var(--wp--preset--color--ink); text-decoration: none; }
.lgr-ics a:hover { background: var(--wp--preset--color--accent-soft); }
/* Le menu « Ajouter à mon agenda » : un agenda par ligne, un groupe par formule. */
.lgr-ics a { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lgr-ics a svg { flex-shrink: 0; opacity: 0.6; }
.lgr-ics-t { margin: 8px 4px 2px; font-family: var(--wp--preset--font-family--head); font-size: var(--wp--preset--font-size--xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.lgr-ics-t:first-child { margin-top: 0; }
/* En lien secondaire de la carte, le menu flotte sous le lien. */
.lgr-evp-links .lgr-ics { position: relative; }
.lgr-evp-links .lgr-ics ul { position: absolute; z-index: 5; left: 0; top: calc(100% + 6px); width: 250px; padding: 8px; border-radius: 16px; background: var(--wp--preset--color--white); box-shadow: 0 18px 40px -16px rgba(21, 26, 69, 0.4); }

/* Le sommaire : il suit la lecture, et s'efface quand l'écran est bas. */
.lgr-toc { margin-top: 1.125rem; padding: 0 6px; display: grid; gap: 0; }
.lgr-toc p { margin-bottom: 6px; font-family: var(--wp--preset--font-family--head); font-size: var(--wp--preset--font-size--xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.lgr-toc a { position: relative; padding: 5px 0 5px 16px; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); text-decoration: none; transition: color 0.2s var(--lgr-ease); }
.lgr-toc a::before { content: ""; position: absolute; left: 0; top: 7px; bottom: 7px; width: 3px; border-radius: 3px; background: var(--wp--preset--color--rule); transition: background-color 0.2s var(--lgr-ease); }
.lgr-toc a:hover { color: var(--wp--preset--color--ink); }
.lgr-toc a.is-on { color: var(--wp--preset--color--ink); font-weight: 600; }
.lgr-toc a.is-on::before { background: var(--lgr-fc); }

/* Corps : image, encadré de statut, contenu de l'éditeur. */
.lgr-evs-fig { margin: 0 0 clamp(28px, 3vw, 40px); }
/* Le visuel de l’événement n’est jamais coupé : entier, à sa proportion, sur fond doux (23/10). */
.lgr-evs-fig img { width: 100%; height: auto; max-height: 560px; object-fit: contain; background: var(--wp--preset--color--soft); border-radius: 24px; }
.lgr-evs-fig figcaption { margin-top: 8px; font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--muted); }
.lgr-evs-alert { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; margin-bottom: clamp(32px, 4vw, 48px); padding: 20px 22px; border-radius: 22px; background: color-mix(in srgb, var(--lgr-alerte-fond) 55%, var(--wp--preset--color--white)); box-shadow: inset 0 0 0 1px var(--lgr-alerte-bord); }
.lgr-al-ic { color: var(--lgr-alerte); padding-top: 2px; }
.lgr-al-t { font-family: var(--wp--preset--font-family--head); font-weight: 700; font-size: var(--wp--preset--font-size--large); color: var(--lgr-alerte); }
.lgr-evs-alert p { margin-top: 10px; font-size: var(--wp--preset--font-size--small); line-height: 1.65; }
.lgr-evs-alert .lgr-al-t { margin-top: 0; }
.lgr-evs-alert strong { color: var(--wp--preset--color--ink); }

/* Le contenu de l'éditeur, dans un événement comme dans une actualité. */
.lgr-wp { max-width: 42em; }
/* Les vidéos YouTube intégrées dans un texte, un peu moins larges que le texte (19/11/2026). */
.lgr-wp .wp-block-embed.is-provider-youtube { max-width: 560px; }
.lgr-wp > h2, .lgr-prog-bloc > h2, .lgr-org-bloc > h2 { margin-top: 2rem; font-family: var(--wp--preset--font-family--head); font-weight: 700; font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.2; color: var(--wp--preset--color--ink); text-wrap: balance; max-width: 28em; }
.lgr-wp > h2:first-child, .lgr-prog-bloc > h2, .lgr-org-bloc > h2 { margin-top: 0; }
.lgr-wp h3 { margin-top: 2rem; font-family: var(--wp--preset--font-family--head); font-weight: 600; font-size: var(--wp--preset--font-size--large); color: var(--wp--preset--color--ink); }
.lgr-wp p { margin-top: 0.875rem; font-size: var(--wp--preset--font-size--medium); line-height: 1.75; }
.lgr-wp strong { color: var(--wp--preset--color--ink); font-weight: 600; }
/* Les liens d’un texte libre se voient : bleu de la charte, soulignés (23/10).
   Seulement dans le texte courant : les composants (classes lgr-…) gardent leur style. */
.lgr-wp :is(p, li, td):not([class*="lgr-"]) a:not([class]) { color: var(--wp--preset--color--blue-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.lgr-wp :is(p, li, td):not([class*="lgr-"]) a:not([class]):hover { text-decoration-thickness: 2px; }
.lgr-wp ul { margin: 0.75rem 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.lgr-wp li { position: relative; padding-left: 22px; font-size: var(--wp--preset--font-size--medium); line-height: 1.6; }
.lgr-wp li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--lgr-fc, var(--wp--preset--color--green)); }
.is-style-encadre { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; margin-top: 1.5rem; padding: 18px 20px; border-radius: 20px; background: var(--wp--preset--color--soft); }
/* Le rond porte une icône « i » : vide, il avait l'air d'un oubli. */
.is-style-encadre::before { content: "i"; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--wp--preset--color--white); font-family: var(--wp--preset--font-family--head); font-size: var(--wp--preset--font-size--medium); font-weight: 700; font-style: normal; color: var(--wp--preset--color--ink); }
.is-style-encadre > * { grid-column: 2; }
.is-style-encadre p, .is-style-encadre li { font-size: var(--wp--preset--font-size--small); }
.is-style-avant { margin-top: 1.75rem; padding: 16px 20px; border-radius: 18px; background: var(--wp--preset--color--accent-soft); font-family: var(--wp--preset--font-family--head); font-weight: 600; font-size: var(--wp--preset--font-size--large); line-height: 1.4; color: var(--wp--preset--color--ink); }

/* Programme : des temps, puis des séances. */
.lgr-prog-bloc, .lgr-org-bloc { margin-top: clamp(48px, 6vw, 72px); padding-top: clamp(36px, 4vw, 48px); border-top: 1px solid var(--wp--preset--color--rule); scroll-margin-top: calc(var(--lgr-entete) + 24px); }
.lgr-mo { margin-top: 1.75rem; }
.lgr-mo-t { display: flex; align-items: center; gap: 14px; font-family: var(--wp--preset--font-family--head); font-weight: 700; font-size: var(--wp--preset--font-size--medium); color: var(--wp--preset--color--ink); }
.lgr-mo-t::after { content: ""; flex: 1; height: 1px; background: var(--wp--preset--color--rule); }
.lgr-se { margin-top: 12px; padding: 20px 22px; border-radius: 22px; background: var(--wp--preset--color--white); box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule); }
.is-style-seance-une { box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--accent); background: linear-gradient(180deg, var(--lgr-accent-voile), var(--wp--preset--color--white) 50%); }
.lgr-se-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.lgr-se-k { min-height: 26px; padding: 0 12px; background: var(--wp--preset--color--soft); font-family: var(--wp--preset--font-family--head); font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--ink); }
.is-style-seance-une .lgr-se-k { background: var(--wp--preset--color--accent); }
.lgr-se-p a { display: inline-flex; align-items: center; gap: 7px; font-size: var(--wp--preset--font-size--xxs); font-weight: 600; color: var(--wp--preset--color--muted); text-decoration: none; }
.lgr-se-p a:hover { color: var(--ci, var(--c)); text-decoration: underline; }
/* Sans couleur de programme (éditeur, programme sans couleur) : pastille neutre. */
.lgr-se-p { --c: var(--wp--preset--color--muted); }
/* Ligne laissée vide pour aérer le texte d'un événement : un écart plus court. */
.lgr-evs-body .lgr-p-vide { height: 0.6em; }
.lgr-se h3 { margin-top: 12px; font-family: var(--wp--preset--font-family--head); font-weight: 600; font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.3; color: var(--wp--preset--color--ink); text-wrap: balance; scroll-margin-top: calc(var(--lgr-entete) + 24px); }
.lgr-se-txt p { margin-top: 10px; font-size: var(--wp--preset--font-size--small); line-height: 1.7; }
.lgr-se-txt ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.lgr-se-txt li { position: relative; padding-left: 18px; font-size: var(--wp--preset--font-size--small); line-height: 1.6; }
.lgr-se-txt li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--lgr-fc); }
.lgr-se-txt.is-plie { max-height: 8.6em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.lgr-se-more { min-height: 24px; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 0; border: 0; border-bottom: 1px solid var(--wp--preset--color--rule); background: none; font: 600 var(--wp--preset--font-size--xs) var(--wp--preset--font-family--body); color: var(--wp--preset--color--ink); cursor: pointer; }
.lgr-se-more:hover { border-color: var(--wp--preset--color--ink); }
.lgr-se-more svg { transition: transform 0.3s var(--lgr-ease); }
.lgr-se-more[aria-expanded="true"] svg { transform: rotate(180deg); }
.lgr-ppl { margin-top: 1rem; padding-top: 14px; border-top: 1px dashed var(--wp--preset--color--rule); }
.lgr-ppl-t { font-size: var(--wp--preset--font-size--xxs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.lgr-ppl-l { margin: 10px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
.lgr-ppl-l li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: start; padding-left: 0; font-size: var(--wp--preset--font-size--xs); line-height: 1.45; color: var(--wp--preset--color--muted); }
.lgr-ppl-l li::before { display: none; }
/* Sans rond d'initiales (dans l'éditeur, ou une ligne sans nom en gras), pas de
   grille : sinon le nom tombe dans la colonne de 36 px du rond et se coupe
   lettre à lettre (retours du 12/11). */
.lgr-ppl-l li:not(:has(> .lgr-av)) { display: block; }
.lgr-ppl-l li :is(b, strong) { display: block; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--ink); }

/* Organisation : le comité de pilotage garde ses couleurs, les partenaires non. */
.lgr-copil { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.lgr-copil a { box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule); border-radius: 18px; min-height: 76px; }
.lgr-copil img { filter: none; opacity: 1; max-height: 34px; }
.lgr-org-h3 { margin-top: 2.25rem; font-family: var(--wp--preset--font-family--head); font-weight: 600; font-size: var(--wp--preset--font-size--large); color: var(--wp--preset--color--ink); }
.lgr-rdv-note { margin-top: 1.375rem; padding: 12px 16px; border-radius: 14px; background: var(--wp--preset--color--soft); font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--muted); max-width: 42em; }

/* Sections suivantes du gabarit. */
.lgr-evs-next, .lgr-evs-rel, .lgr-ar-rel { padding-block: clamp(48px, 6vw, 72px); }
.lgr-evs-next { padding-top: clamp(32px, 4vw, 48px); }
.lgr-evs-rel .lgr-ncs, .lgr-ar-rel .lgr-ncs { margin-top: 1.375rem; }

/* Barre d'accès rapide, sur téléphone et tablette. */
.lgr-evs-mbar { display: none; }

/* ---------- Gabarit actualité ---------- */
.lgr-ar-sec { padding-block: clamp(28px, 4vw, 48px) clamp(56px, 7vw, 96px); }
.lgr-ar-sec > .wp-block-group, .lgr-ar-top, .lgr-ar-grid { max-width: var(--wp--style--global--wide-size); margin-inline: auto; }
/* Ouverture d'un article : le texte à gauche, la photo cadrée à droite. */
.lgr-ar-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px clamp(28px, 4vw, 56px); align-items: center; margin-bottom: clamp(32px, 4vw, 48px); }
.lgr-ar-top-seul { grid-template-columns: 1fr; }
.lgr-ar-top > * { margin-block-start: 0; }
.lgr-ar-hero { padding-bottom: 0; }
.lgr-ar-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 0.875rem; font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--muted); }
.lgr-k-a { background: var(--wp--preset--color--green-tint); color: var(--wp--preset--color--green-ink); }
.lgr-ar-h1 { font-family: var(--wp--preset--font-family--head); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -0.022em; color: var(--wp--preset--color--ink); text-wrap: balance; }
.lgr-ar-lead { margin-top: 1.125rem; max-width: 38em; font-size: var(--wp--preset--font-size--large); line-height: 1.55; color: var(--wp--preset--color--text); }
.lgr-ar-fig { margin: 0; }
.lgr-ar-fig img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; max-height: 420px; object-fit: cover; border-radius: 26px; box-shadow: 0 30px 60px -44px rgba(21, 26, 69, 0.45); }
.lgr-ar-fig figcaption { margin-top: 10px; font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--muted); }
.lgr-ar-grid { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 32px clamp(24px, 4vw, 56px); align-items: start; }
.lgr-ar-grid > * { margin-block-start: 0; }
/* Dans une colonne de partage, le libellé s'efface : --lgr-side-t le dit. */
.lgr-ar-side { position: sticky; top: calc(var(--lgr-entete) + 68px); --lgr-side-t: var(--wp--preset--color--muted); }
.lgr-share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.lgr-sh { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--wp--preset--color--soft); color: var(--wp--preset--color--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; transition: background-color 0.25s var(--lgr-ease); }
.lgr-sh:hover { background: var(--wp--preset--color--accent-soft); }
.lgr-sh-msg { margin-top: 8px; font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--muted); }
.lgr-ar-art { max-width: 42em; }
/* Fiche de l'Observatoire : le même rail que l'article, plus large pour tenir
   le sommaire (3/8 comme la maquette). Repasse sur une colonne avec l'article. */
.lgr-sg-corps { padding-block: clamp(8px, 2vw, 24px) clamp(56px, 7vw, 96px); }
.lgr-sg-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); column-gap: clamp(32px, 5vw, 72px); max-width: none; }
.lgr-sg-grid .lgr-toc { margin: 0 0 1.75rem; padding: 0; }
.lgr-ar-progs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 1.125rem 0 0; padding: 0; list-style: none; }
.lgr-ar-progs li { padding-left: 0; }
.lgr-ar-progs li::before { display: none; }
.lgr-ar-progs a { display: flex; gap: 12px; align-items: flex-start; height: 100%; padding: 14px 16px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule); text-decoration: none; font-size: var(--wp--preset--font-size--xs); line-height: 1.45; color: var(--wp--preset--color--muted); transition: box-shadow 0.25s var(--lgr-ease); }
.lgr-ar-progs a:hover { box-shadow: inset 0 0 0 1.5px var(--c); }
.lgr-ar-progs .lgr-tdot { margin-top: 5px; }
.lgr-ar-progs b { display: block; margin-bottom: 3px; font-family: var(--wp--preset--font-family--head); font-weight: 600; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--ink); }
.lgr-ev-hint { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 16px; margin-top: 1.25rem; padding: 10px 18px 10px 10px; border-radius: 20px; background: linear-gradient(90deg, var(--lgr-accent-voile), var(--wp--preset--color--white) 70%); box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--accent); text-decoration: none; color: var(--wp--preset--color--ink); transition: transform 0.3s var(--lgr-ease); }
.lgr-ev-hint:hover { transform: translateX(3px); }
.lgr-eh-d { width: 64px; height: 64px; border-radius: 16px; }
.lgr-eh-d b { font-size: var(--wp--preset--font-size--base); letter-spacing: normal; }
.lgr-eh-d span { margin-top: 4px; font-size: var(--wp--preset--font-size--xxs); letter-spacing: normal; }
.lgr-eh-d-rep { background: var(--lgr-alerte-fond); color: var(--lgr-alerte); }
.lgr-ev-hint small { display: block; font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--muted); }
.lgr-ev-hint b { font-family: var(--wp--preset--font-family--head); font-weight: 600; }
.lgr-eh-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: var(--wp--preset--font-size--small); white-space: nowrap; }
.lgr-ar-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 2.75rem; padding-top: 22px; border-top: 1px solid var(--wp--preset--color--rule); font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.lgr-ar-foot b { display: block; color: var(--wp--preset--color--ink); }
.lgr-ar-foot-l { margin-left: auto; font-weight: 600; color: var(--wp--preset--color--ink); }
/* Avatar à initiales : un seul composant (.lgr-av), petit format .lgr-av-s. */
.lgr-av { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--wp--preset--color--accent-soft); display: flex; align-items: center; justify-content: center; font: 700 var(--wp--preset--font-size--xxs) var(--wp--preset--font-family--head); color: var(--wp--preset--color--ink); }
.lgr-av-s { width: 36px; height: 36px; }

/* ---------- Actualités & événements : tablette et téléphone ---------- */
@media (max-width: 980px) { .lgr-ncs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .lgr-ar-top { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
	.lgr-ac-hero { grid-template-columns: 1fr; }
	.lgr-ag-bar .lgr-bar-in { flex-wrap: wrap; padding-block: 8px; }
	.lgr-ag-bar .lgr-seg { width: 100%; }
	.lgr-ag-bar .lgr-seg-b { flex: 1; }

	/* La colonne de droite passe sous l'en-tête : la carte d'infos vient avant
	   le texte, et le sommaire n'a plus lieu d'être. */
	.lgr-evs-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
	.lgr-evs-head, .lgr-evs-side, .lgr-evs-body { grid-column: 1; grid-row: auto; }
	.lgr-evs-side { margin-bottom: 2rem; }
	.lgr-evs-sticky { position: static; }
	.lgr-toc { display: none; }
	.lgr-copil { grid-template-columns: repeat(3, minmax(0, 1fr)); }

	/* La barre d'accès rapide, quand la carte d'infos est passée. */
	.lgr-evs-mbar {
		position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
		display: flex; align-items: center; justify-content: space-between; gap: 12px;
		padding: 10px 10px 10px 18px; border-radius: 20px; background: rgba(255, 255, 255, 0.97);
		box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule), 0 18px 40px -16px rgba(21, 26, 69, 0.4);
		transform: translateY(140%); transition: transform 0.35s var(--lgr-ease); visibility: hidden;
	}
	.lgr-evs-mbar.is-on { transform: none; visibility: visible; }
	.lgr-evs-mbar p { display: flex; flex-direction: column; line-height: 1.25; font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--muted); min-width: 0; }
	.lgr-evs-mbar p b { font-family: var(--wp--preset--font-family--head); font-size: var(--wp--preset--font-size--medium); color: var(--wp--preset--color--ink); }
	/* Deux lignes au plus : la barre ne doit pas monter sur le texte. */
	.lgr-evs-mbar p span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.lgr-evs-mbar .lgr-mb-st { color: var(--lgr-alerte); }
	.lgr-evs-mbar .wp-element-button, .lgr-evs-mbar summary { width: auto; min-height: 44px; padding: 0 16px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
	.lgr-evs-mbar > .lgr-ics { flex-shrink: 0; }
	.lgr-evs-mbar summary svg { flex-shrink: 0; }
	/* Petits téléphones : le libellé tient sur une ligne, sans le pictogramme d'agenda. */
	@media (max-width: 359px) { .lgr-evs-mbar summary svg:first-child { display: none; } }
	.lgr-evs-mbar .lgr-ics ul { position: absolute; right: 10px; bottom: 56px; width: 240px; padding: 8px; border-radius: 16px; background: var(--wp--preset--color--white); box-shadow: 0 18px 40px -16px rgba(21, 26, 69, 0.4); }
}
@media (max-width: 760px) {
	.lgr-ar-grid { grid-template-columns: 1fr; }
	.lgr-ar-side { position: static; order: 2; }
	.lgr-ar-progs { grid-template-columns: 1fr; }
	.lgr-ev-hint { grid-template-columns: 56px minmax(0, 1fr); }
	.lgr-eh-go { display: none; }
	.lgr-eh-d { width: 56px; height: 56px; }
}
@media (max-width: 700px) {
	.lgr-ev-img, .lgr-ev > span:empty { display: none; }
	.lgr-ev { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 10px 12px 10px 10px; }
	.lgr-ev-d { width: 64px; height: 64px; }
	.lgr-ev-d b { font-size: 1.35rem; }
	.lgr-ev-d.lgr-ev-range b { font-size: var(--wp--preset--font-size--small); }
	.lgr-ev-go { display: none; }
	.lgr-propose { grid-template-columns: 44px minmax(0, 1fr); }
	.lgr-pr-ic { width: 44px; height: 44px; }
	.lgr-pr-go { grid-column: 1 / -1; }
	.lgr-q-head .lgr-seg { width: 100%; }
	.lgr-q-head .lgr-seg-b { flex: 1; padding: 8px 10px; font-size: var(--wp--preset--font-size--xs); }
}
@media (max-width: 640px) {
	.lgr-ncs { grid-template-columns: 1fr; }
	.lgr-ppl-l { grid-template-columns: 1fr; }
	.lgr-se { padding: 18px; }
	.lgr-evs-alert { grid-template-columns: 1fr; gap: 8px; padding: 18px; }
	.is-style-encadre { grid-template-columns: 1fr; }
	.is-style-encadre::before { display: none; }
	.is-style-encadre > * { grid-column: 1; }
	.lgr-copil { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Un écran bas ne peut pas tenir la carte d'infos et le sommaire à la fois :
   la carte passe avant, c'est elle qui porte l'inscription (fiche événement
   seulement). Sur une fiche de l'Observatoire, le sommaire reste ; le rail
   ne suit plus le défilement, pour que le partage reste atteignable (30/10). */
@media (min-width: 901px) and (max-height: 820px) {
	.lgr-evs-grid .lgr-toc { display: none; }
	.lgr-sg-grid .lgr-ar-side { position: static; }
}
@media (prefers-reduced-motion: reduce) { .lgr-evs-mbar { transition: none; } }

/* Marqueur des contenus de démonstration, tant que le vrai texte n'est pas là. */
.lgr-ex { padding: 2px 8px; border-radius: var(--lgr-radius-pill); border: 1px dashed var(--lgr-contour-saisie); font-size: var(--wp--preset--font-size--xxs); font-weight: 400; color: var(--wp--preset--color--muted); }

/* ======================================================================
   L'écosystème : partenaires et acteurs du changement
   ====================================================================== */

/* ---------- Ouverture : le titre à gauche, deux tuiles à droite ---------- */
.lgr-eco-hero { padding-block: clamp(28px, 4vw, 48px) clamp(40px, 5vw, 64px); background: linear-gradient(180deg, var(--wp--preset--color--soft), var(--wp--preset--color--white)); }
.lgr-eco-top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px clamp(32px, 5vw, 72px); align-items: center; }
.lgr-eco-top > * { margin-block-start: 0; }
.lgr-eco-h1 { margin: 0; font-family: var(--wp--preset--font-family--head); font-weight: 700; font-size: clamp(2.4rem, 4.8vw, 3.8rem); line-height: 1.03; letter-spacing: -0.028em; color: var(--wp--preset--color--ink); }
.lgr-eco-lead { margin-top: clamp(18px, 2vw, 26px); max-width: 30em; font-size: var(--wp--preset--font-size--medium); color: var(--wp--preset--color--text); }
.lgr-eco-tiles { display: grid; gap: 12px; }
.lgr-et {
	position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 36px; gap: 6px 16px; padding: 20px 22px;
	border-radius: 24px; background: var(--wp--preset--color--white); box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule), 0 24px 50px -40px rgba(21, 26, 69, 0.45);
	text-decoration: none; color: var(--wp--preset--color--text); transition: transform 0.35s var(--lgr-ease), box-shadow 0.35s var(--lgr-ease);
}
.lgr-et:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--ink), 0 24px 50px -36px rgba(21, 26, 69, 0.5); }
.lgr-et-logos, .lgr-et-faces { grid-column: 1 / -1; display: flex; align-items: center; margin-bottom: 10px; }
.lgr-et-logos { gap: 18px; height: 40px; }
.lgr-et-logos img { max-height: 26px; max-width: 90px; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.6; transition: filter 0.35s var(--lgr-ease), opacity 0.35s var(--lgr-ease); }
.lgr-et:hover .lgr-et-logos img { filter: none; opacity: 1; }
.lgr-et-faces img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--wp--preset--color--white); transition: transform 0.35s var(--lgr-ease); }
.lgr-et-faces span + span { margin-left: -10px; }
.lgr-et:hover .lgr-et-faces img { transform: translateX(calc(var(--i, 0) * 2px)); }
.lgr-et-t { font-family: var(--wp--preset--font-family--head); font-weight: 600; font-size: var(--wp--preset--font-size--large); color: var(--wp--preset--color--ink); }
.lgr-et-t b { font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em; margin-right: 4px; }
.lgr-et-p { grid-column: 1; font-size: var(--wp--preset--font-size--small); line-height: 1.5; }
.lgr-et-go { grid-column: 2; grid-row: 2 / span 2; align-self: center; width: 36px; height: 36px; border-radius: 50%; background: var(--wp--preset--color--soft); color: var(--wp--preset--color--ink); display: flex; align-items: center; justify-content: center; transition: background-color 0.3s var(--lgr-ease), transform 0.35s var(--lgr-ease); }
.lgr-et:hover .lgr-et-go { background: var(--wp--preset--color--accent); transform: translateY(2px) rotate(90deg); }

/* ---------- Têtes de section ---------- */
.lgr-sec-hd { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 12px clamp(32px, 5vw, 72px); align-items: end; }
.lgr-sec-hd > * { margin-block-start: 0; }
.lgr-sec-p { max-width: 36em; font-size: var(--wp--preset--font-size--medium); line-height: 1.6; }
.lgr-pt-sec, .lgr-ac-sec { padding-block: clamp(56px, 7vw, 96px); scroll-margin-top: calc(var(--lgr-entete) + 24px); }

/* ---------- Partenaires ---------- */
.lgr-fam-wrap { flex-wrap: wrap; gap: 6px; margin-top: 1.875rem; overflow: visible; }
.lgr-fam-wrap .lgr-fam-t { min-height: 38px; padding: 0 14px; background: var(--wp--preset--color--soft); }
.lgr-fam-wrap .lgr-fam-t span { font-size: var(--wp--preset--font-size--xs); opacity: 0.6; }
.lgr-fam-wrap .lgr-fam-t:hover { color: var(--wp--preset--color--ink); background: var(--wp--preset--color--rule); }

.lgr-pts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 1.375rem 0 0; padding: 0; list-style: none; }
.lgr-pt {
	position: relative; display: flex; flex-direction: column; margin: 0; padding: 6px 22px 18px; border-radius: 24px;
	background: var(--wp--preset--color--white); box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule); overflow: hidden;
	scroll-margin-top: calc(var(--lgr-entete) + 24px);
	transition: box-shadow 0.3s var(--lgr-ease);
}
.lgr-pt::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--lgr-fc, var(--wp--preset--color--rule)); transition: opacity 0.3s var(--lgr-ease); }
/* Au survol, le liseré du haut s'efface au profit du contour (comme les lignes d'agenda). */
.lgr-pt:hover { box-shadow: inset 0 0 0 1.5px var(--lgr-fc, var(--wp--preset--color--ink)); }
.lgr-pt:hover::before { opacity: 0; }
/* La carte s'illumine quand on arrive depuis la fiche d'un de ses acteurs. */
.lgr-pt.is-vise { animation: lgr-pt-vise 1.6s var(--lgr-ease); }
@keyframes lgr-pt-vise { 0%, 40% { box-shadow: inset 0 0 0 2px var(--lgr-fc, var(--wp--preset--color--ink)), 0 0 0 6px var(--lgr-ft, var(--wp--preset--color--soft)); } }
.lgr-pt-logo { height: 88px; display: flex; align-items: center; }
.lgr-pt-logo img { max-height: 42px; max-width: 170px; width: auto; object-fit: contain; }
.lgr-pt-k { margin-bottom: 8px; }
.lgr-pt-n { font-family: var(--wp--preset--font-family--head); font-weight: 600; font-size: var(--wp--preset--font-size--medium); line-height: 1.3; color: var(--wp--preset--color--ink); }
.lgr-pt-bio { margin-top: 8px; font-size: var(--wp--preset--font-size--small); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.lgr-pt-none { color: var(--wp--preset--color--muted); font-style: italic; }
.lgr-pt-f { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: auto; padding-top: 16px; }
.lgr-pt-f::before { content: ""; flex-basis: 100%; height: 1px; background: var(--wp--preset--color--rule); margin-bottom: 4px; }
.lgr-pt-ac { display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; font: 600 var(--wp--preset--font-size--xs) var(--wp--preset--font-family--body); color: var(--wp--preset--color--ink); cursor: pointer; text-align: left; }
.lgr-pt-ac:hover { text-decoration: underline; }
.lgr-stack { display: inline-flex; }
.lgr-stack img, .lgr-stack .lgr-ini { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--wp--preset--color--white); }
.lgr-ini { display: inline-flex; align-items: center; justify-content: center; background: var(--wp--preset--color--accent-soft); font: 700 var(--wp--preset--font-size--xxs) var(--wp--preset--font-family--head); color: var(--wp--preset--color--ink); }
.lgr-stack > * + * { margin-left: -8px; }
.lgr-pt-site { min-height: 24px; display: inline-flex; align-items: center; gap: 5px; font-size: var(--wp--preset--font-size--xs); font-weight: 600; color: var(--wp--preset--color--muted); text-decoration: none; border-bottom: 1px solid var(--wp--preset--color--rule); }
.lgr-pt-site:hover { color: var(--wp--preset--color--ink); border-color: var(--wp--preset--color--ink); }
.lgr-btn-ghost { background: transparent; color: var(--wp--preset--color--ink); box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--ink); }
.lgr-btn-ghost:hover { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--white); }

/* ---------- Acteurs du changement ---------- */
.lgr-ac-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 1.875rem; }
.lgr-ac-q { position: relative; flex: 1 1 300px; max-width: 420px; display: flex; align-items: center; }
.lgr-ac-q svg { position: absolute; left: 16px; color: var(--wp--preset--color--muted); pointer-events: none; }
.lgr-ac-q input { width: 100%; min-width: 0; min-height: 48px; padding: 0 18px 0 46px; border: 0; border-radius: var(--lgr-radius-pill); background: var(--wp--preset--color--white); box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule); font: 500 var(--wp--preset--font-size--small) var(--wp--preset--font-family--body); color: var(--wp--preset--color--ink); }
.lgr-ac-q input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--wp--preset--color--ink); }
.lgr-ac-sec .lgr-seg { background: var(--wp--preset--color--white); box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule); flex-wrap: wrap; }
.lgr-ac-sec .lgr-seg-b span { font-weight: 500; opacity: 0.7; }
.lgr-ac-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 1.125rem; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.lgr-ac-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 12px; border-radius: var(--lgr-radius-pill); background: var(--lgr-ft, var(--wp--preset--color--white)); color: var(--lgr-fi, var(--wp--preset--color--ink)); font-size: var(--wp--preset--font-size--xs); font-weight: 600; }
.lgr-ac-chip button { width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.7); color: inherit; cursor: pointer; display: flex; align-items: center; justify-content: center; }

.lgr-acs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 16px; margin: 1.125rem 0 0; padding: 0; list-style: none; }
.lgr-ac-i { margin: 0; }
.lgr-ac-b { display: flex; flex-direction: column; height: 100%; color: var(--wp--preset--color--text); text-decoration: none; }
.lgr-ac-ph { position: relative; display: block; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: var(--wp--preset--color--accent-soft); }
.lgr-ac-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--lgr-ease); }
.lgr-ac-b:hover .lgr-ac-ph img { transform: scale(1.04); }
.lgr-ac-ini { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 700 2.4rem var(--wp--preset--font-family--head); color: var(--wp--preset--color--ink); }
.lgr-ac-badge { position: absolute; left: 10px; top: 10px; min-height: 0; padding: 3px 10px; background: var(--wp--preset--color--accent); font-size: var(--wp--preset--font-size--xxs); font-weight: 700; color: var(--wp--preset--color--ink); }
.lgr-ac-v { position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--wp--preset--color--ink); display: flex; align-items: center; justify-content: center; transition: background-color 0.3s var(--lgr-ease), transform 0.35s var(--lgr-ease); }
.lgr-ac-b:hover .lgr-ac-v { background: var(--wp--preset--color--accent); transform: scale(1.08); }
.lgr-ac-n { margin-top: 12px; font-family: var(--wp--preset--font-family--head); font-weight: 600; font-size: var(--wp--preset--font-size--base); line-height: 1.25; color: var(--wp--preset--color--ink); }
.lgr-ac-o { margin-top: 3px; font-size: var(--wp--preset--font-size--xs); line-height: 1.4; color: var(--wp--preset--color--muted); }
.lgr-ac-b:focus-visible { outline: none; }
.lgr-ac-b:focus-visible .lgr-ac-ph { box-shadow: 0 0 0 3px var(--wp--preset--color--white), 0 0 0 5px var(--wp--preset--color--ink); }

/* ---------- Fiche d'un acteur : panneau qui monte du bas ---------- */
.lgr-acd-rb { position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 2; background: var(--lgr-arc); }
.lgr-acd-bar { position: absolute; left: 0; right: 0; top: 0; z-index: 2; display: flex; align-items: center; justify-content: flex-end; gap: 6px; padding: 14px 18px 18px; background: linear-gradient(var(--wp--preset--color--white) 72%, rgba(255, 255, 255, 0)); pointer-events: none; }
.lgr-acd-bar > * { pointer-events: auto; }
.lgr-acd-nav { width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--wp--preset--color--soft); color: var(--wp--preset--color--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color 0.25s var(--lgr-ease), transform 0.4s var(--lgr-ease); }
.lgr-acd-nav:hover { background: var(--wp--preset--color--rule); }
.lgr-acd-nav[disabled] { opacity: 0.4; cursor: default; }
.lgr-acd .lgr-sheet-x { margin-left: 8px; }
.lgr-acd-pos { min-width: 64px; text-align: center; font-size: var(--wp--preset--font-size--xs); font-weight: 600; color: var(--wp--preset--color--muted); }
.lgr-acd-in { max-height: 90dvh; overflow-y: auto; overscroll-behavior: contain; padding: clamp(64px, 6vw, 72px) var(--wp--style--root--padding-right, 24px) clamp(32px, 4vw, 48px) var(--wp--style--root--padding-left, 24px); scrollbar-width: none; }
.lgr-acd-in::-webkit-scrollbar { display: none; }

/* Le corps d'une fiche, commun au panneau et à la page individuelle. */
.lgr-acd-g { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px clamp(32px, 5vw, 72px); align-items: start; max-width: var(--wp--style--global--wide-size); margin-inline: auto; }
.lgr-acd-g > * { margin-block-start: 0; }
.lgr-acd-id { position: sticky; top: 0; }
.lgr-acd-ph { position: relative; display: block; width: 100%; max-width: 300px; aspect-ratio: 1; border-radius: 26px; overflow: hidden; background: var(--wp--preset--color--accent-soft); }
.lgr-acd-ph img { width: 100%; height: 100%; object-fit: cover; }
.lgr-acd-ini { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 700 4rem var(--wp--preset--font-family--head); color: var(--wp--preset--color--ink); }
.lgr-acd-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 1rem; }
.lgr-acd-badges .lgr-ac-badge { position: static; }
.lgr-acd-n { margin-top: 10px; font-family: var(--wp--preset--font-family--head); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--wp--preset--color--ink); }
.lgr-acd-o { margin-top: 6px; font-size: var(--wp--preset--font-size--medium); color: var(--wp--preset--color--text); }
.lgr-acd-d { margin-top: 10px; font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--muted); }
.lgr-acd-links, .lgr-pod-l { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.125rem; }
.lgr-acd-links a, .lgr-pod-l a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: var(--lgr-radius-pill); background: var(--wp--preset--color--soft); font-size: var(--wp--preset--font-size--xs); font-weight: 600; color: var(--wp--preset--color--ink); text-decoration: none; transition: background-color 0.25s var(--lgr-ease); }
.lgr-acd-links a:hover, .lgr-pod-l a:hover { background: var(--wp--preset--color--rule); }
.lgr-acd-pt { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 1.125rem; padding: 12px 14px; border: 0; border-radius: 18px; background: var(--lgr-ft); color: var(--lgr-fi); font: 600 var(--wp--preset--font-size--xs) var(--wp--preset--font-family--body); text-align: left; cursor: pointer; transition: box-shadow 0.25s var(--lgr-ease); }
.lgr-acd-pt:hover { box-shadow: inset 0 0 0 1.5px var(--lgr-fc); }
.lgr-acd-pt img { max-height: 24px; max-width: 70px; width: auto; object-fit: contain; flex-shrink: 0; mix-blend-mode: multiply; }
.lgr-acd-pt small { display: block; font-size: var(--wp--preset--font-size--xxs); font-weight: 500; opacity: 0.8; }

.lgr-vids { display: grid; gap: 8px; margin-bottom: 1.5rem; }
.lgr-vid-b { display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border-radius: 20px; background: var(--wp--preset--color--ink); color: var(--lgr-on-ink); text-decoration: none; transition: transform 0.3s var(--lgr-ease); }
.lgr-vid-b:hover { transform: translateX(3px); color: var(--lgr-on-ink); }
.lgr-vid-pl { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--ink); display: flex; align-items: center; justify-content: center; }
.lgr-vid-b b { display: block; font-family: var(--wp--preset--font-family--head); font-weight: 600; font-size: var(--wp--preset--font-size--medium); color: var(--wp--preset--color--white); }
.lgr-vid-b small { font-size: var(--wp--preset--font-size--xs); color: var(--lgr-on-ink-muted); }
.lgr-vid-b > svg { margin-left: auto; opacity: 0.6; }
/* Le lecteur ne prend la place du bouton qu'au clic : rien n'est chargé avant. */
.lgr-vid-f { aspect-ratio: 16 / 9; width: 100%; border: 0; border-radius: 20px; background: var(--wp--preset--color--ink); }
.lgr-acd-bio { max-width: none; }


/* La page individuelle d'un acteur : le même corps, sans le panneau. */
.lgr-acd-sec { padding-block: clamp(28px, 4vw, 48px) clamp(48px, 6vw, 72px); }
.lgr-acd-page { margin-top: 1.5rem; }
.lgr-acd-page .lgr-acd-id { position: static; }
.lgr-acd-rel { padding-block: clamp(48px, 6vw, 72px); }
.lgr-acd-rel .lgr-acs { margin-top: 1.375rem; }
/* Le rond d'initiale du bloc gouvernance, quand la fiche n'a pas de photo. */
.lgr-ph-ini { display: flex; align-items: center; justify-content: center; background: var(--wp--preset--color--accent-soft); font: 700 1.1rem var(--wp--preset--font-family--head); color: var(--wp--preset--color--ink); }

/* ---------- L'écosystème : tablette et téléphone ---------- */
@media (max-width: 1100px) { .lgr-acs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 980px) { .lgr-pts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
	.lgr-eco-top, .lgr-sec-hd { grid-template-columns: 1fr; }
	.lgr-acs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.lgr-acd-g { grid-template-columns: 1fr; }
	/* La photo passe à côté du nom : la fiche tient alors dans un écran. */
	.lgr-acd-id { position: static; display: grid; grid-template-columns: 120px minmax(0, 1fr); column-gap: 18px; align-items: start; }
	.lgr-acd-ph { grid-row: span 5; }
	.lgr-acd-badges { margin-top: 0; }
}
@media (max-width: 640px) {
	.lgr-pts { grid-template-columns: 1fr; }
	.lgr-pt-logo { height: 68px; }
	.lgr-pt-logo img { max-height: 34px; }
	.lgr-acs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
	.lgr-ac-ph { border-radius: 18px; }
	.lgr-ac-q { max-width: none; }
	.lgr-ac-sec .lgr-seg { width: 100%; }
	.lgr-ac-sec .lgr-seg-b { flex: 1 1 auto; padding: 8px 10px; }
	.lgr-acd-id { grid-template-columns: 96px minmax(0, 1fr); }
	.lgr-acd-n { font-size: 1.4rem; }
	.lgr-acd-pos { display: none; }
}

/* =====================================================================
   Une charte plus graphique (retours du 5 octobre 2026)
   Les polygones du site d'origine et des supports d'AG reviennent comme
   décor récurrent ; des dessins au trait habitent les ouvertures.
   ===================================================================== */

/* ---------- Polygones (lgr-deco) ----------
   Posée sur une section, la classe accroche des facettes en dégradé dans le
   coin haut droit et des éclats en bas à gauche. Pur décor : derrière le
   contenu, jamais au-dessus du texte. */
.lgr-deco { position: relative; isolation: isolate; overflow: clip; }
.lgr-deco-hd, .lgr-deco-bg, .lgr-deco-coin {
	position: absolute; z-index: -1; pointer-events: none;
	/* Les couples de la charte (functions.php, lgr_deco_couple). */
	--lgr-p1a: var(--lgr-tri-rose); --lgr-p1b: var(--lgr-tri-rose-clair);
	--lgr-p2a: var(--lgr-tri-bleu); --lgr-p2b: var(--lgr-charte-lavande);
	--lgr-p3a: var(--lgr-charte-turquoise); --lgr-p3b: var(--lgr-charte-anis);
	--lgr-p4a: var(--wp--preset--color--purple); --lgr-p4b: var(--lgr-tri-rose);
}
.lgr-deco-hd svg, .lgr-deco-bg svg, .lgr-deco-coin svg { display: block; width: 100%; height: 100%; overflow: visible; }
/* En haut à droite : le coin ouvert et ses éclats. */
.lgr-deco-hd { top: 0; right: 0; width: clamp(170px, 28vw, 440px); aspect-ratio: 700 / 460; }
/* En bas à gauche : seulement dans la marge libre ; sans place, rien plutôt
   que de toucher le texte. */
.lgr-deco-bg { left: 0; bottom: 0; width: clamp(0px, calc((100vw - var(--wp--style--global--wide-size)) / 2 - 24px), 160px); aspect-ratio: 564 / 340; }
.lgr-deco-bg svg { transform: scaleX(-1); }
/* Accueil : le motif de la bande jaune, en grand, en haut à gauche (la
   photo occupe la droite). */
.lgr-deco-coin-hg { top: 0; left: 0; width: clamp(180px, 23vw, 360px); aspect-ratio: 560 / 360; }
.lgr-deco-coin-hg svg { transform: scaleX(-1); }
.lgr-deco-bd { left: auto; right: 0; width: clamp(120px, 14vw, 200px); }
.lgr-deco-bd svg { transform: none; }
/* Bande « Passer à l'action » : le coin ouvert, en bas à gauche. Dessin
   retourné : le défilement s'inverse aussi (--lgr-sens). */
.lgr-deco-coin-bg {
	left: 0; bottom: 0; width: clamp(150px, 24vw, 360px); aspect-ratio: 560 / 360;
	--lgr-sens: -1;
}
.lgr-deco-coin-bg svg { transform: rotate(180deg); }
/* Profondeur : au loin, pâle (et flou, filtre SVG) ; chaque plan glisse à sa
   vitesse au défilement (--lgr-sy, posé par theme.js). */
.lgr-plan { transform: translate(0, calc(var(--lgr-sy, 0) * var(--z, 0) * var(--lgr-sens, 1) * 1px)); }
.lgr-plan-loin { opacity: 0.62; }
/* Une pointe de transparence : les éclats qui se croisent font des couches. */
.lgr-deco-hd polygon, .lgr-deco-bg polygon, .lgr-deco-coin polygon { fill-opacity: 0.94; }
.lgr-eclat { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
	/* L'arrivée : les facettes se déplient une à une depuis le sommet du coin
	   (--i), chacune depuis son centre. */
	.lgr-dc-el { transform-box: fill-box; transform-origin: center; animation: lgr-deco-entre 0.9s cubic-bezier(0.2, 0.9, 0.25, 1.15) backwards; animation-delay: calc(0.2s + var(--i, 0) * 65ms); }
	@keyframes lgr-deco-entre { from { opacity: 0; scale: 0.4; } }
	/* Les éclats lévitent : quelques pixels, quelques degrés, lentement. */
	.lgr-eclat { animation: lgr-gravite var(--fd, 12s) ease-in-out infinite alternate; }
	.lgr-plan:nth-of-type(2n) .lgr-eclat { animation-delay: -4s; }
	.lgr-plan:nth-of-type(3n) .lgr-eclat { animation-delay: -7s; }
	@keyframes lgr-gravite { to { translate: var(--fx, 0) var(--fy, 0); rotate: var(--fr, 0deg); } }
}
@media (max-width: 860px) {
	.lgr-deco-coin-bg { width: 120px; }
}

/* ---------- Emplacement d'illustration (lgr-ill) ----------
   lgr_illustration() : un dessin au trait par défaut, remplaçable dans
   Grand Rebond → Illustrations. */
.lgr-ill { margin: 0; }
/* Dessin par défaut : une mention discrète, en bas à droite, qui rappelle de
   le remplacer ; elle disparaît dès qu'une image est choisie. */
.lgr-ill-provisoire { position: relative; }
.lgr-ill-badge {
	position: absolute; right: 8px; bottom: 8px; padding: 3px 10px; border-radius: var(--lgr-radius-pill);
	background: color-mix(in srgb, var(--wp--preset--color--white) 82%, transparent); box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule);
	font-size: var(--wp--preset--font-size--xxs); font-weight: 600; letter-spacing: 0.02em; color: var(--wp--preset--color--muted); pointer-events: none;
}
.lgr-ill img { display: block; width: 100%; height: auto; max-height: 420px; object-fit: contain; }
.lgr-res-ill { align-self: center; justify-self: center; width: 100%; max-width: 460px; }

/* ---------- Picto rond (lgr-pic) ----------
   Comme les pictos des supports d'AG : un trait de couleur dans un rond pâle.
   Variante de couleur : lgr-pic-vert. */
.lgr-pic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: clamp(56px, 6vw, 76px); aspect-ratio: 1; border-radius: 50%; background: var(--wp--preset--color--soft); color: var(--wp--preset--color--ink); }
.lgr-pic svg { width: 46%; height: auto; }
.lgr-pic-vert { background: var(--wp--preset--color--green-tint); color: var(--wp--preset--color--green-ink); }
.lgr-ag-titre { display: flex; align-items: center; gap: 14px; margin: 0 0 clamp(14px, 1.6vw, 20px); }
.lgr-ag-titre .lgr-pic { width: 52px; }
/* Le picto tient lieu du trait du surtitre. */
.lgr-ag-titre .is-style-eyebrow { margin: 0; }
.lgr-ag-titre .is-style-eyebrow::before { content: none; }

/* ---------- Bloc vidéos YouTube (lgr-yt) ---------- */
.lgr-yt-p { margin-top: 0.75rem; max-width: 34em; }
.lgr-yt .lgr-q-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.lgr-yt-btn { display: inline-flex; align-items: center; gap: 10px; justify-self: end; white-space: nowrap; }
.lgr-yt-l { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin: clamp(1.75rem, 3vw, 2.5rem) 0 0; padding: 0; list-style: none; }
.lgr-yt-v { margin: 0; }
.lgr-yt-play, .lgr-yt-v iframe, .lgr-yt-lecteur { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 18px; overflow: hidden; background: var(--wp--preset--color--ink); }
.lgr-yt-play { padding: 0; cursor: pointer; }
.lgr-yt-play img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--lgr-ease), opacity 0.3s; }
.lgr-yt-play:hover img, .lgr-yt-play:focus-visible img { transform: scale(1.045); opacity: 0.85; }
.lgr-yt-ic { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: flex; align-items: center; justify-content: center; width: 64px; aspect-ratio: 1; border-radius: 50%; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--ink); box-shadow: 0 10px 30px -8px rgba(21, 26, 69, 0.45); transition: transform 0.3s var(--lgr-ease); }
.lgr-yt-play:hover .lgr-yt-ic { transform: scale(1.08); }
/* Le petit bouton « Plein écran » sous une vidéo lue en place. */
.lgr-yt-plein { display: flex; align-items: center; gap: 6px; margin: 10px 0 0 auto; padding: 4px 2px; border: 0; background: none; color: var(--wp--preset--color--muted); font: 500 var(--wp--preset--font-size--xs) var(--wp--preset--font-family--body); cursor: pointer; transition: color 0.2s; }
.lgr-yt-plein:hover, .lgr-yt-plein:focus-visible { color: var(--wp--preset--color--ink); }
.lgr-yt-t { margin: 12px 0 0; font-family: var(--wp--preset--font-family--head); font-weight: 700; font-size: var(--wp--preset--font-size--base); line-height: 1.35; color: var(--wp--preset--color--ink); }

/* ---------- Article : ses programmes ---------- */
.lgr-ar-progs-w { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--wp--preset--color--rule); }

@media (max-width: 860px) {
	.lgr-yt-l { grid-template-columns: 1fr; }
	.lgr-yt .lgr-q-head { grid-template-columns: 1fr; }
	.lgr-yt-btn { justify-self: start; }
}
@media print {
	.lgr-deco-hd, .lgr-deco-bg, .lgr-deco-coin { display: none; }
}

/* ---------- Accueil : bandeau sur téléphone, bloc vidéos ---------- */
.lgr-yt-sec { padding-block: clamp(56px, 7vw, 104px); }
@media (max-width: 860px) {
	.lgr-home-hero { min-height: 0; }
	/* Sous le texte, d'un bord à l'autre. Largeur et marges imposées : la
	   disposition « contrainte » pose des marges automatiques qui, dans la
	   colonne flex du bandeau, ramenaient la largeur à 0 (les photos sont en
	   absolu, leur contenu ne mesure rien). */
	.lgr-home-hero > .lgr-hv {
		position: relative; top: auto; bottom: auto; height: 320px; order: 2; z-index: 0;
		align-self: stretch; max-width: none; width: calc(100% + var(--wp--style--root--padding-left) + var(--wp--style--root--padding-right));
		margin: 24px calc(var(--wp--style--root--padding-right) * -1) 0 calc(var(--wp--style--root--padding-left) * -1) !important;
		-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 28%); mask-image: linear-gradient(180deg, transparent 0, #000 28%);
	}
	.lgr-hv::after { display: none; }
}

/* ---------- Couleurs par bloc : le coin en polygone ----------
   Comme les cartes du prototype : un coin à facettes, dans la couleur du
   programme (--c), en haut à droite des cartes. Sur une fiche programme, le
   coin passe en grand en haut à droite de l'ouverture (.lgr-p-hero). */
.lgr-prog::after, .lgr-ot::after {
	content: ""; position: absolute; top: 0; right: 0; pointer-events: none;
	width: 84px; aspect-ratio: 1;
	background: linear-gradient(225deg, var(--c) 0 34%, color-mix(in srgb, var(--c) 62%, white) 34% 62%, color-mix(in srgb, var(--c) 30%, white) 62%);
	clip-path: polygon(0 0, 100% 0, 100% 100%);
	transition: transform 0.5s var(--lgr-ease);
}
.lgr-prog:hover::after, .lgr-ot:hover::after { transform: translate(4px, -4px); }
.lgr-ot::after { width: 56px; }

/* ---------- Fiche programme : interview dans le rond, illustration ---------- */
.lgr-p-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: rgba(21, 26, 69, 0.18); cursor: pointer; transition: background 0.3s; }
.lgr-p-play:hover, .lgr-p-play:focus-visible { background: rgba(21, 26, 69, 0.3); }
.lgr-p-play .lgr-yt-ic { position: static; translate: none; width: 76px; }
.lgr-pa-sec { padding-block: clamp(48px, 6vw, 80px) 0; }
.lgr-pa-sec:not(:has(.lgr-ncs)) { display: none; }

/* ---------- Atouts illustrés (lgr-atouts), comme sur le flyer ---------- */
.lgr-atouts-w { padding: clamp(22px, 3vw, 32px); border-radius: 28px; background: var(--wp--preset--color--white); box-shadow: inset 0 0 0 1px var(--wp--preset--color--rule); }
.lgr-atouts-t { margin: 0 0 1.25rem; font-family: var(--wp--preset--font-family--head); font-weight: 700; font-size: var(--wp--preset--font-size--medium); color: var(--wp--preset--color--ink); }
.lgr-atouts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin: 0; padding: 0; list-style: none; }
.lgr-atout { display: flex; align-items: flex-start; gap: 14px; }
.lgr-atout .lgr-pic { width: 54px; background: var(--wp--preset--color--green-tint); color: var(--wp--preset--color--green-ink); box-shadow: inset 0 0 0 1.5px currentColor; }
.lgr-atout-b .lgr-pic { background: var(--wp--preset--color--soft); color: var(--wp--preset--color--purple); }
.lgr-atout b { display: block; font-family: var(--wp--preset--font-family--head); font-weight: 700; font-size: var(--wp--preset--font-size--small); line-height: 1.25; text-transform: uppercase; letter-spacing: 0.02em; color: var(--wp--preset--color--green-ink); }
.lgr-atout-b b { color: var(--wp--preset--color--purple); }
.lgr-atout span > span { display: block; margin-top: 4px; font-size: var(--wp--preset--font-size--xs); line-height: 1.45; color: var(--wp--preset--color--text); }
@media (max-width: 640px) { .lgr-atouts { grid-template-columns: 1fr; } }

/* ---------- Fenêtre vidéo (lgr-vd), ouverte par data-yt-fenetre ---------- */
.lgr-vd { width: min(1040px, calc(100vw - 32px), calc((100dvh - 130px) * 16 / 9)); max-width: none; padding: 0; border: 0; border-radius: 20px; background: var(--wp--preset--color--ink); overflow: visible; }
.lgr-vd::backdrop { background: rgba(21, 26, 69, 0.78); backdrop-filter: blur(4px); }
.lgr-vd iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 20px; }
.lgr-vd-x { position: absolute; right: 0; bottom: calc(100% + 10px); min-height: 40px; padding: 0 18px; border: 0; border-radius: var(--lgr-radius-pill); background: var(--wp--preset--color--white); color: var(--wp--preset--color--ink); font: 600 var(--wp--preset--font-size--small) var(--wp--preset--font-family--body); cursor: pointer; }

/* ---------- Illustrations des pages ---------- */

/* ---------- Bande de photos (lgr-photos) ----------
   [lgr_bande_photos] : de vraies photos collées, d'un bord à l'autre de
   l'écran, qui défilent lentement à l'infini (deux fois la même liste). */
.lgr-photos {
	width: 100vw; max-width: none !important; margin-left: calc(50% - 50vw) !important; margin-right: 0 !important;
	display: flex; overflow: hidden; margin-top: clamp(36px, 4.5vw, 64px) !important;
}
/* 100vw compte la barre de défilement : la section coupe ce qui dépasse. */
:has(> .lgr-photos) { overflow-x: clip; }
/* La bande ferme sa section : pas de fond gris dessous (la marge basse de la
   section, posée en ligne par l'éditeur, est annulée). */
:has(> .lgr-photos:last-child) { padding-bottom: 0 !important; }
.lgr-photos:last-child { margin-bottom: 0 !important; }
/* Le défilement est piloté par theme.js : lent, il ralentit encore au survol
   sans s'arrêter. */
.lgr-photos-l { display: flex; flex-shrink: 0; margin: 0; padding: 0; list-style: none; will-change: transform; }
.lgr-photos-l li { flex-shrink: 0; height: clamp(150px, 16vw, 230px); margin: 0; }
.lgr-photos-l img { display: block; width: auto; height: 100%; object-fit: cover; }
/* Le logo du Grand Rebond ferme la colonne de droite du Contact. */
.lgr-ct-logo { margin: 1.75rem 0 0; display: flex; justify-content: center; }
.lgr-ct-logo img { width: min(180px, 60%); height: auto; }

/* ---------- Fiche programme : coin aux couleurs du programme ----------
   Le coin à facettes, fixe, en haut à droite de l'ouverture ; pas d'autres
   triangles (7 octobre 2026). */
.lgr-p-hero::before {
	content: ""; position: absolute; top: 0; right: 0; z-index: -1; pointer-events: none;
	width: clamp(84px, 11vw, 165px); aspect-ratio: 1;
	background: linear-gradient(225deg, var(--pc) 0 34%, color-mix(in srgb, var(--pc) 62%, white) 34% 62%, color-mix(in srgb, var(--pc) 30%, white) 62%);
	clip-path: polygon(0 0, 100% 0, 100% 100%);
}

/* ---------- Cartes sur une seule ligne (lgr-ncs-ligne) ----------
   « Sur les mêmes sujets » : autant de cartes que la largeur en permet, sur
   une ligne, jamais une seconde ligne entamée. */
.lgr-ncs.lgr-ncs-ligne { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1180px) {
	.lgr-ncs.lgr-ncs-ligne { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.lgr-ncs-ligne > :nth-child(n+4) { display: none; }
}
@media (max-width: 980px) {
	.lgr-ncs.lgr-ncs-ligne { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lgr-ncs-ligne > :nth-child(n+3) { display: none; }
}
@media (max-width: 560px) {
	.lgr-ncs.lgr-ncs-ligne { grid-template-columns: 1fr; }
}

/* ---------- Page « L’association » (14 octobre 2026) ----------
   Espacements entre sections réduits d'un tiers. Les marges intérieures sont
   posées en ligne par l'éditeur : on les reprend d'après leur valeur, ce qui
   vaut pour toutes les sections de la page. */
.lgr-page-association .entry-content > .alignfull[style*="clamp(64px,8vw,112px)"] { padding-top: clamp(43px, 5.3vw, 75px) !important; }
.lgr-page-association .entry-content > .alignfull[style*="clamp(64px,8vw,112px)"]:not(:has(> .lgr-photos:last-child)) { padding-bottom: clamp(43px, 5.3vw, 75px) !important; }
.lgr-page-association .entry-content > .alignfull[style*="clamp(56px,6vw,80px)"] { padding-top: clamp(37px, 4vw, 53px) !important; }
.lgr-page-association .entry-content > .alignfull[style*="clamp(56px,6vw,80px)"]:not(:has(> .lgr-photos:last-child)) { padding-bottom: clamp(37px, 4vw, 53px) !important; }
.lgr-page-association .entry-content > .alignfull[style*="clamp(48px,5vw,72px)"] { padding-top: clamp(32px, 3.3vw, 48px) !important; padding-bottom: clamp(32px, 3.3vw, 48px) !important; }
.lgr-page-association .entry-content > .alignfull[style*="padding-bottom:clamp(56px,7vw,96px)"] { padding-bottom: clamp(37px, 4.7vw, 64px) !important; }
/* Aucune section n'ajoute de marge extérieure à ces espacements. */
.lgr-page-association .entry-content > .alignfull { margin-block: 0 !important; }

/* « Notre histoire » : un texte suivi, dans la typographie du thème (le
   surtitre est celui de « Notre mission »), gras conservé. */
.lgr-histoire { max-width: 46em; font-size: var(--wp--preset--font-size--large); line-height: 1.75; color: var(--wp--preset--color--text); text-wrap: pretty; }
.lgr-histoire strong { font-weight: 700; color: var(--wp--preset--color--ink); }
/* « Notre histoire » : le texte à gauche, les chiffres clés à droite
   (composant lgr-figs, en colonne), dessous sur mobile. */
.lgr-histoire-grille { display: grid; grid-template-columns: minmax(0, 46em) minmax(0, 320px); gap: clamp(32px, 5vw, 80px); align-items: start; justify-content: space-between; }
.lgr-histoire-texte > :first-child { margin-top: 0; }
.lgr-histoire-cote { display: grid; gap: 14px; }
.lgr-figs-col { grid-template-columns: 1fr; margin: 0; }
/* Avec une illustration (champ facultatif) : texte sur deux tiers ;
   illustration puis chiffres sur le tiers de droite ; sur mobile,
   l'illustration au-dessus du texte. Jamais recadrée, fond respecté. */
@media (min-width: 782px) {
	.lgr-histoire-avec-ill { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-areas: "texte ill" "texte figs"; grid-template-rows: auto 1fr; row-gap: 24px; }
	.lgr-histoire-avec-ill > .lgr-histoire-texte { grid-area: texte; }
	.lgr-histoire-avec-ill > .lgr-histoire-ill { grid-area: ill; }
	.lgr-histoire-avec-ill > .lgr-figs { grid-area: figs; align-self: start; }
}
.lgr-histoire-ill { margin: 0; }
/* Une photo ou un PNG : sa taille naturelle, jusqu'à toute la largeur de la colonne, jamais recadrée. */
.lgr-histoire-ill img { display: block; width: auto; max-width: 100%; height: auto; }
/* Un SVG (icône, illustration légère) n'a souvent pas de taille propre : il prend la largeur disponible, 280 px au plus. */
.lgr-histoire-ill-svg { max-width: 280px; }
.lgr-histoire-ill-svg img { width: 100%; max-height: 280px; object-fit: contain; }
@media (max-width: 781px) {
	.lgr-histoire-grille { grid-template-columns: 1fr; }
	.lgr-histoire-cote { max-width: 420px; }
	.lgr-histoire-ill-svg { max-width: min(280px, 70%); }
}

