/* Groupes : mise en page du site (nouveau système), hero, cartes, grille, colonne principale, popup. */
.wp-block-group.is-style-site :where(.wp-block-group, .wp-block-column, .wp-block-columns) > * { margin-block: 0; }
.wp-block-group.is-style-site :where(h1, h2, h3, h4, h5, h6) { margin: 0; padding-bottom: 10px; }
.wp-block-group.is-style-site :where(h5) { font-size: 15px; font-weight: 700; line-height: 1.3; }
.wp-block-group.is-style-site :where(h6) { font-size: 14px; font-weight: 700; line-height: 1.3; }
/* aucune marge haute propre aux h2 (N°337) : 0 comme l'ancien site (43 h2 sur 3 pages au 25/11) ; l'espace au-dessus
   d'un titre est la marge ou le padding de son module, repris par convert.py (column_content). Les 60 / 30 px du thème
   initial s'ajoutaient à tous les h2 (Lab IA « Les membres » : 2 709 px contre 2 587). */
/* Séparateur (N°327) : sa marge basse de theme.json dans le flux du style site (la règle l. 2 la met à 0) ; le titre
   qui le suit ouvrait un nouveau module de l'ancien site, sans marge haute (prod : texte à 23 px sous le filet) */
.wp-block-group.is-style-site :where(.wp-block-separator) { margin-bottom: var(--wp--preset--spacing--20); }
.wp-block-group.is-style-site :where(.wp-block-separator) + :where(h1, h2, h3, h4, h5, h6) { margin-top: 0; }
.wp-block-group.is-style-site :where(p) { margin: 0; padding-bottom: 16px; }
/* style Surligné (fond noir à la largeur du texte, N°165) : 5 px sous le texte comme la prod, les 11 px restants de
   l'espacement du style site passent en marge (hors du fond) */
.wp-block-group.is-style-site p.is-style-surligne { padding-bottom: 5px; margin-bottom: 11px; }
/* dernier paragraphe de son parent, même suivi d'une liste, d'un titre ou de boutons : règle de l'ancien site
   (p:last-of-type, N°336 ; Lab IA « L'écosystème LAB IA » suivi de ses étiquettes : 16 px de trop avec :last-child) */
.wp-block-group.is-style-site :where(p:last-of-type) { padding-bottom: 0; }
.wp-block-group.is-style-site :where(ul, ol) { margin: 0; padding: 0 0 23px 1em; line-height: 1.6; }
/* N°363 : listes des modules texte des pages à 1em de padding bas, comme l'ancien site (`.et_pb_text ul`, qui l'emporte
   sur les pages ; dans les articles l'ordre des feuilles le fait perdre : 23 px). Les accordéons gardent 23 px.
   Même spécificité que la règle précédente : core-list.css, chargée après, garde la main (numérotée, étiquettes, fleur). */
.wp-block-group.is-style-site :where(body.page .wp-block-list:not(details *)) { padding-bottom: 1em; }
.wp-block-group.is-style-site :where(.wp-block-image) { margin: 0; }

.wp-block-group:is(.is-style-hero, .is-style-hero-noir) { position: relative; }
.wp-block-group:is(.is-style-hero, .is-style-hero-noir)::after {
	content: ""; position: absolute; top: 0; right: 0; width: 190px; height: 190px; z-index: 1; pointer-events: none;
	background: url("../../img/double-square-blc-basgauche.svg") center / contain no-repeat;
}
.wp-block-group:is(.is-style-hero, .is-style-hero-noir) .lp-subtitle { font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 20px; }
@media (max-width: 767px) { .wp-block-group:is(.is-style-hero, .is-style-hero-noir)::after { width: 120px; height: 120px; } }
/* N°186 : carré gardé à 190 px en mobile (pages de formation bachelor / mastère, mesure de la prod du 31/10) */
@media (max-width: 767px) { .wp-block-group:is(.is-style-hero, .is-style-hero-noir).lp-motif-grand::after { width: 190px; height: 190px; } }

/* Encart à flèche (N°303) : encart blanc bordé de noir des héros PRF Var / CDPI / CDA de l'ancien site, flèche de la
   prod (uploads/2022/06/fleche2.svg) à 178 px à gauche et 20 px du haut, comme le :before de l'ancienne CSS de page */
.wp-block-group.is-style-encart-fleche { position: relative; box-sizing: border-box; }
.wp-block-group.is-style-encart-fleche::before {
	content: ""; position: absolute; left: -178px; top: 20px; width: 150px; height: 150px; pointer-events: none;
	background: url("../../img/fleche-encart.svg") center / contain no-repeat;
}
/* l'encart, positionné pour sa flèche, se peindrait sur l'accroche qui le chevauche (marge négative) : les blocs qui le
   suivent passent au même plan, dans l'ordre du document, comme les modules position:relative de la prod */
.wp-block-group:has(> .is-style-encart-fleche) ~ * { position: relative; }
/* la rangée du héros, sans marge intérieure haute en téléphone (CDPI), laisserait la marge haute du titre (198 px)
   traverser la rangée et le héros : bande blanche au-dessus du fond bleu. Les colonnes de l'ancien site bloquaient cette fusion
   des marges ; flow-root la bloque ici, sans effet quand la rangée a une marge intérieure haute (ordinateur, tablette) */
.wp-block-group:is(.is-style-hero, .is-style-hero-noir) > .wp-block-group:has(.is-style-encart-fleche) { display: flow-root; }

.wp-block-group:is(.is-style-carte-intervenant, .is-style-carte-intervenant-sombre) { display: flex; gap: 5px; align-items: flex-start; }
.wp-block-group:is(.is-style-carte-intervenant, .is-style-carte-intervenant-sombre) > .wp-block-image,
.wp-block-group:is(.is-style-carte-intervenant, .is-style-carte-intervenant-sombre) > .wp-block-post-featured-image { flex: 0 0 120px; }
.wp-block-group:is(.is-style-carte-intervenant, .is-style-carte-intervenant-sombre) > .wp-block-image img,
.wp-block-group:is(.is-style-carte-intervenant, .is-style-carte-intervenant-sombre) > .wp-block-post-featured-image img { width: 120px; height: auto; display: block; }
.wp-block-group:is(.is-style-carte-intervenant, .is-style-carte-intervenant-sombre) :where(h3, h4) { font-size: 24px; line-height: 1; color: inherit; padding: 0 0 10px; }
.wp-block-group:is(.is-style-carte-intervenant, .is-style-carte-intervenant-sombre) > .wp-block-group { padding-left: 9px; }
.wp-block-group:is(.is-style-carte-intervenant, .is-style-carte-intervenant-sombre) a:where(:not(.wp-element-button)) { color: inherit; text-decoration: underline; } /* lien bleu sur carte bleue (R15) */

/* colonne flex : nom et fonction en bas de carte, alignés d'une carte à l'autre comme l'ancien site (N°353) */
.wp-block-group:is(.is-style-carte-temoignage, .is-style-carte-temoignage-sombre) { font-style: italic; display: flex; flex-direction: column; }
.wp-block-group:is(.is-style-carte-temoignage, .is-style-carte-temoignage-sombre) .lp-quote-mark { font-family: var(--wp--preset--font-family--display); font-style: normal; font-size: 60px; line-height: .8; text-align: center; padding-bottom: 10px; }
.wp-block-group:is(.is-style-carte-temoignage, .is-style-carte-temoignage-sombre) .lp-author, .wp-block-group:is(.is-style-carte-temoignage, .is-style-carte-temoignage-sombre) .lp-role { font-style: normal; }
.wp-block-group:is(.is-style-carte-temoignage, .is-style-carte-temoignage-sombre) .lp-author { font-weight: 500; padding: 15px 0 0; }
.wp-block-group:is(.is-style-carte-temoignage, .is-style-carte-temoignage-sombre) > .lp-author { margin-top: auto; }
.wp-block-group:is(.is-style-carte-temoignage, .is-style-carte-temoignage-sombre) .lp-role { font-size: 14px; padding: 0; font-weight: 500; }
/* fonction du témoin sur carte bleue : #d6d6d6 dans l'ancien site, préréglage Filet le plus proche (N°353, décision Damien) */
.wp-block-group.is-style-carte-temoignage .lp-role { color: var(--wp--preset--color--line); }

.wp-block-group.is-style-grille-cartes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 767px) { .wp-block-group.is-style-grille-cartes { grid-template-columns: 1fr; } }
/* une carte seule prend toute la largeur, comme sur l'ancien site (retour client RC-33) */
.wp-block-group.is-style-grille-cartes > :only-child { grid-column: 1 / -1; }

/* trois quarts de la zone de contenu (1320 px max, centrée), calés sur son bord gauche */
.wp-block-group.is-style-colonne-principale { max-width: calc(min(100%, 1320px) * .75) !important; margin-left: max(0px, calc((100% - 1320px) / 2)) !important; }
@media (max-width: 980px) { .wp-block-group.is-style-colonne-principale { max-width: none !important; } }

/* Cartes formation : image pleine largeur en haut, contenu avec marges, bouton en pied de carte. */
.wp-block-group.is-style-carte-formation, .wp-block-column.is-style-carte-formation { display: flex; flex-direction: column; overflow: hidden; }
:is(.wp-block-group, .wp-block-column).is-style-carte-formation > .wp-block-image { margin: 0; }
:is(.wp-block-group, .wp-block-column).is-style-carte-formation > .wp-block-image img { display: block; width: 100%; height: 200px; object-fit: cover; }
:is(.wp-block-group, .wp-block-column).is-style-carte-formation > :not(.wp-block-image) { padding-inline: 15px; }
:is(.wp-block-group, .wp-block-column).is-style-carte-formation > .wp-block-image + * { padding-top: 15px; }
:is(.wp-block-group, .wp-block-column).is-style-carte-formation > :last-child { padding-bottom: 20px; }
:is(.wp-block-group, .wp-block-column).is-style-carte-formation > .wp-block-buttons { margin-top: auto; }
:is(.wp-block-group, .wp-block-column).is-style-carte-formation :where(h3) { font-size: var(--wp--preset--font-size--large); line-height: 1.1; padding-bottom: 5px; }
/* N°323 : titre en tête du contenu de la carte (groupe imbriqué de bachelor-it, futurs-utiles) collé aux 15 px sous
   l'image, comme en prod ; annule les 30 px du premier h2 de colonne (ligne 8 : même spécificité, règle postérieure) */
:is(.wp-block-group, .wp-block-column).is-style-carte-formation :where(h2, h3, h4):first-child { margin-top: 0; }
.lp-surtitre { font-size: 12px; padding-bottom: 15px !important; }

/* Cartes à contour (sur section sombre) : petit carré bleu en bas à droite. */
:is(.wp-block-group, .wp-block-column).is-style-carte-contour { position: relative; }
:is(.wp-block-group, .wp-block-column).is-style-carte-contour::after {
	content: ""; position: absolute; right: 10px; bottom: 10px; width: 22px; height: 22px; background: var(--wp--preset--color--primary);
}
:is(.wp-block-group, .wp-block-column).is-style-carte-contour :where(h3) { font-size: 19px; line-height: 1.1; padding-bottom: 20px; }

/* Encadrés à filet empilés (fiches PRF, N°318) : les filets se chevauchent, 3 px entre deux encadrés et non 6, comme
   la marge de -3 px de l'ancien site ; le dernier paragraphe ne creuse pas le bas de l'encadré. */
.wp-block-group.is-style-encadre-filet + .wp-block-group.is-style-encadre-filet { margin-block-start: -3px; }
.wp-block-group.is-style-encadre-filet > :last-child { padding-bottom: 0; }

/* Encadré ombré : texte mis en avant, centré dans sa section. */
.wp-block-group.is-style-encadre-ombre { max-width: 860px; margin-inline: auto !important; }
.wp-block-group.is-style-encadre-ombre :where(p) { padding-bottom: 0; }

/* Bandeau newsletter : centré, carrés bleus aux angles. */
.wp-block-group.is-style-bandeau-newsletter { position: relative; text-align: center; }
.wp-block-group.is-style-bandeau-newsletter::before, .wp-block-group.is-style-bandeau-newsletter::after {
	content: ""; position: absolute; width: 60px; height: 60px; background: var(--wp--preset--color--primary); pointer-events: none;
}
.wp-block-group.is-style-bandeau-newsletter::before { top: 0; right: 0; }
.wp-block-group.is-style-bandeau-newsletter::after { bottom: 0; left: 0; }
.wp-block-group.is-style-bandeau-newsletter :where(h2) { margin-top: 0; }
.wp-block-group.is-style-bandeau-newsletter :where(p) { max-width: 640px; margin-inline: auto; }
.wp-block-group.is-style-bandeau-newsletter .wp-block-buttons { justify-content: center; }
@media (max-width: 767px) { .wp-block-group.is-style-bandeau-newsletter::before, .wp-block-group.is-style-bandeau-newsletter::after { width: 30px; height: 30px; } }

/* Page sombre (modèle « Page sombre ») : fond anthracite, titres et texte blancs, cartes et accordéons gris. */
.wp-block-group.lp-page-sombre :where(h1, h2, h3, h4, h5, h6) { color: var(--wp--preset--color--base); }
/* style de base seul : la variante « Hero noir » garde son fond noir sur page sombre (relecture du 01/11) */
.wp-block-group.lp-page-sombre .wp-block-group.is-style-hero { background-color: transparent; }
/* bande bleue derrière l'image du hero, sur toute la largeur et à la hauteur de l'image */
.wp-block-group.lp-page-sombre .wp-block-group:is(.is-style-hero, .is-style-hero-noir) { isolation: isolate; overflow-x: clip; }
.wp-block-group.lp-page-sombre :is(.is-style-hero, .is-style-hero-noir) > .lp-band { position: relative; }
.wp-block-group.lp-page-sombre :is(.is-style-hero, .is-style-hero-noir) > .lp-band::before {
	content: ""; position: absolute; top: 0; bottom: 0; left: -100vw; right: -100vw; z-index: -1; background: var(--wp--preset--color--primary);
}
.wp-block-group.lp-page-sombre .wp-block-details.is-style-accordeon > summary { color: var(--wp--preset--color--base); }
.wp-block-group.lp-page-sombre .wp-block-details.is-style-accordeon[open] > :not(summary) { background: var(--wp--preset--color--graphite); color: var(--wp--preset--color--base); }

/* texte des cartes intervenant (mesures de l'ancien site) ; carrousel d'experts : nom 19 px, texte 12 px */
.wp-block-group:is(.is-style-carte-intervenant, .is-style-carte-intervenant-sombre) :where(p) { font-size: 13px; }
.lp-carrousel .wp-block-group:is(.is-style-carte-intervenant, .is-style-carte-intervenant-sombre) :where(h3, h4) { font-size: 19px; }
.lp-carrousel .wp-block-group:is(.is-style-carte-intervenant, .is-style-carte-intervenant-sombre) :where(p) { font-size: 12px; }

/* Carte blanche (encadré secondaire de la colonne latérale) */
.wp-block-group.is-style-carte-blanche :where(p) { padding-bottom: 10px; }
.wp-block-group:is(.is-style-carte-temoignage, .is-style-carte-temoignage-sombre) .lp-author-photo { margin: 0 0 10px; }
.wp-block-group:is(.is-style-carte-temoignage, .is-style-carte-temoignage-sombre) .lp-author-photo img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
/* guillemet bleu sur carte graphite (l'ancien site : blanc sur carte bleue, bleu sur carte graphite) */
.wp-block-group:is(.is-style-carte-temoignage.has-graphite-background-color, .is-style-carte-temoignage-sombre) .lp-quote-mark { color: var(--wp--preset--color--primary); }
/* fonction du témoin sur carte graphite : gris comme l'ancien site (N°350, décision Damien) ; l'emporte sur la carte bleue (spécificité) */
.wp-block-group:is(.is-style-carte-temoignage.has-graphite-background-color, .is-style-carte-temoignage-sombre) .lp-role { color: var(--wp--preset--color--gris); }
/* carte témoignage « avec photo » (disposition 1 de l'ancien site) : guillemet bleu centré, filet, photo carrée à côté du nom */
.wp-block-group:is(.is-style-carte-temoignage, .is-style-carte-temoignage-sombre).lp-carte-photo .lp-quote-mark { color: var(--wp--preset--color--primary); font-size: 64px; padding-top: 20px; }
/* carte sans photo issue de la disposition 1 de l'ancien site : filet gris au-dessus du nom */
.wp-block-group:is(.is-style-carte-temoignage, .is-style-carte-temoignage-sombre).lp-carte-filet .lp-author { border-top: 1px solid #ddd; margin-top: 15px; padding-top: 15px; }
.wp-block-group:is(.is-style-carte-temoignage, .is-style-carte-temoignage-sombre).lp-carte-photo .lp-temoignage-meta { margin-top: auto; padding-top: 15px; border-top: 1px solid var(--wp--preset--color--line); gap: 15px; }
/* au moins 15 px (= padding du filet) entre la citation et le filet ; margin-top: auto garde les filets alignés en bas.
   padding et non margin : la CSS de l'ancien site force `.entry-content { margin: 0 !important }` */
.wp-block-group:is(.is-style-carte-temoignage, .is-style-carte-temoignage-sombre).lp-carte-photo > :has(+ .lp-temoignage-meta) { padding-bottom: 15px; }
.wp-block-group:is(.is-style-carte-temoignage, .is-style-carte-temoignage-sombre).lp-carte-photo .lp-temoignage-meta .lp-author-photo { margin: 0; flex: 0 0 100px; }
.wp-block-group:is(.is-style-carte-temoignage, .is-style-carte-temoignage-sombre).lp-carte-photo .lp-temoignage-meta .lp-author-photo img { width: 100px; height: 100px; border-radius: 0; }
.wp-block-group:is(.is-style-carte-temoignage, .is-style-carte-temoignage-sombre).lp-carte-photo .lp-temoignage-meta .lp-author { padding: 0; }

/* Modèle « Article (nouveau système) » : contenu 795 px + colonne latérale 195 px séparée par un filet (mesures de l'ancien site). */
.wp-block-group.lp-article { padding-top: 58px; padding-bottom: 50px; color: var(--wp--preset--color--gris); font-weight: 500; }
.lp-article .lp-article__colonnes { display: flex; gap: 0 !important; margin: 0; position: relative; }
.lp-article .lp-article__contenu { box-sizing: border-box; flex: 0 0 79.17% !important; padding-right: 60px; padding-bottom: 23px; min-width: 0; }
.lp-article .lp-article__lateral { box-sizing: border-box; flex: 1 1 auto !important; padding-left: 30px; border-left: 1px solid #e2e2e2; min-width: 0; }
.lp-article .lp-article__titre { font-family: var(--wp--preset--font-family--body); font-weight: 500; font-size: 40px; line-height: 1; color: var(--wp--preset--color--black); padding-bottom: 10px; margin: 0; }
.lp-article .lp-article__date { font-size: 14px; padding-bottom: 15px; margin: 0 0 6px; }
.lp-article .lp-article__image { margin: 0 0 30px; }
.lp-article .lp-article__texte :where(p) { padding-bottom: 16px; }
.lp-article .lp-article__texte :where(h2, h3, h4) { color: var(--wp--preset--color--black); font-family: var(--wp--preset--font-family--body); font-weight: 500; margin-top: 20px; }
.lp-article .lp-article__texte :where(h2) { font-size: 26px; line-height: 1.1; }
/* N°27 (D1, titres rapetissés 24 → 16) : H4 d'article à 24 px / 1 comme le réglage par défaut de l'ancien site (7 articles sur 9 ;
   CTF 69353 et BDE 72927 réglés à 16 / 15 px en prod, non repris : le thème fait référence). Pages : tailles déjà reprises. */
.lp-article .lp-article__texte :where(h4) { font-size: 24px; line-height: 1; }
/* N°184 (D1, titres rapetissés 21 → 15) : H5 d'article à 21 px / 1, Poppins 500, comme le réglage par défaut de l'ancien
   site. Mesure du 01/11 : 30 H5 sur 2 articles corrigés, 0 texte déjà juste touché ; 4 articles seulement ont des H5
   (51762 réglé à 20 px en prod, écart ≤ 1 px ; 64291 : H5 vide). Pages : tailles reprises par la conversion. */
.lp-article .lp-article__texte :where(h5) { font-family: var(--wp--preset--font-family--body); font-weight: 500; font-size: 21px; line-height: 1; }
.lp-article .lp-article__lateral :where(h4) { font-family: var(--wp--preset--font-family--body); font-weight: 500; font-size: 24px; line-height: 1; color: var(--wp--preset--color--black); padding: 30px 0 10px; margin: 0; }
.lp-article .lp-article__lateral :where(ul) { padding-left: 19px; margin: 0; list-style: disc; }
.lp-article .lp-article__lateral :where(li) { margin-bottom: 8px; }
/* N°322 : liens de la colonne en gris, sauf les boutons (texte du bouton « Télécharger la brochure » laissé au style encadre-noir) */
.lp-article .lp-article__lateral a:where(:not(.wp-element-button)) { color: var(--wp--preset--color--gris); text-decoration: none; }
.lp-article .lp-article__lateral .wp-block-search__input { border: 1px solid #ddd; font-size: 14px; padding: 9.8px; height: 40px; }
.lp-article .lp-article__lateral .wp-block-search__inside-wrapper { border: 0; padding: 0; }
.lp-article .lp-article__lateral .wp-block-search__button { background: #ddd; color: var(--wp--preset--color--gris); border: 0; margin: 0; font-size: 14px; }
.lp-article .lp-article__lateral .wp-block-buttons { margin-top: 30px; }
.lp-article .lp-article__lateral select { width: 100%; height: 28px; border: 1px solid #bbb; }
.wp-block-button.lp-sans-fleche .wp-block-button__link::after { content: none !important; }
@media (max-width: 980px) {
	.lp-article .lp-article__colonnes { flex-direction: column; flex-wrap: nowrap !important; }
	.lp-article .lp-article__contenu { flex-basis: auto !important; padding-right: 0; }
	.lp-article .lp-article__lateral { border-left: 0; padding-left: 0; }
	.lp-article .lp-article__titre { font-size: 30px; }
}

/* Modèle « Événement (nouveau système) » : bandeau d'informations sous le hero, billetterie rouge. */
.lp-evenement :is(.is-style-hero, .is-style-hero-noir) .wp-block-post-featured-image { margin: 0; }
.lp-evenement .lp-evenement__resume { font-size: 14px; }
.lp-evenement .lp-evenement__infos { background: var(--wp--preset--color--base); box-shadow: 0 6px 12px rgba(0, 0, 0, .12); padding-top: 12px; padding-bottom: 12px; text-align: center; }
.lp-evenement .lp-evenement__label { font-size: 13px; color: #888; padding: 0; line-height: 1.4; }
.lp-evenement .lp-evenement__valeur { font-weight: 600; text-transform: uppercase; color: var(--wp--preset--color--ink); font-size: 14px; padding: 0; }
.lp-evenement .lp-evs-weburl { margin: 0; }
.lp-evenement .lp-evs-weburl a { display: block; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--base); font-weight: 700; padding: 6px 20px; text-decoration: none; }
.lp-evenement .lp-evenement__nav { display: flex; justify-content: space-between; font-size: 12px; margin-top: 40px; }
.lp-evenement .lp-evs-google-map iframe { display: block; }
@media (max-width: 781px) { .lp-evenement .lp-evenement__infos .wp-block-columns { flex-wrap: wrap !important; } .lp-evenement .lp-evenement__infos .wp-block-column { flex-basis: 45% !important; } }
.wp-block-group:is(.is-style-hero, .is-style-hero-noir).lp-sans-motif::after { content: none; }
.wp-block-group:is(.is-style-hero, .is-style-hero-noir).lp-motif-bleu::after { background-image: url("../../img/double-square-bleu-basgauche.svg"); }
/* carrés bleus de l'ancien fond de section (pixel-haut.svg) : taille d'origine à toutes les largeurs, comme la prod (N°261) */
.wp-block-group:is(.is-style-hero, .is-style-hero-noir).lp-motif-pixel-haut::after { width: 198px; height: 197px; background-image: url("../../img/pixel-haut.svg"); }
/* sous le texte comme le fond de section de la prod (relecture du 01/11 : à 375 px les carrés couvraient le fil d'Ariane) */
.wp-block-group:is(.is-style-hero, .is-style-hero-noir).lp-motif-pixel-haut { isolation: isolate; }
.wp-block-group:is(.is-style-hero, .is-style-hero-noir).lp-motif-pixel-haut::after { z-index: -1; }
.lp-evenement .lp-evenement__billetterie .wp-block-button__link { display: block; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--base); font-weight: 700; padding: 6px 20px; border-radius: 0; text-align: center; }
.lp-evenement .lp-evenement__infos .wp-block-buttons { justify-content: center; }
.lp-evenement .lp-evenement__nav a { text-decoration: none; }
.wp-block-group:is(.is-style-hero, .is-style-hero-noir).lp-hero-transparent { background-color: transparent !important; }
.wp-block-group.lp-page-sombre .wp-block-group:is(.is-style-hero, .is-style-hero-noir).lp-hero-bleu { background-color: var(--wp--preset--color--primary); }
.wp-block-group.lp-page-sombre .is-style-section-blanche :where(h2) { color: var(--wp--preset--color--primary); }
.wp-block-group.lp-page-sombre .is-style-section-blanche :where(h1, h3, h4, h5, h6) { color: var(--wp--preset--color--black); }
.wp-block-group:is(.is-style-hero, .is-style-hero-noir).lp-motif-atelier::after { top: 0; right: 40px; width: 150px; height: 150px; background-image: url("../../img/Mark_Atelier_Blc_vecto.svg"); }
@media (max-width: 980px) { .wp-block-group:is(.is-style-hero, .is-style-hero-noir).lp-motif-atelier::after { width: 120px; height: 80px; right: 20px; } }

/* Décors « pixel » aux angles des sections (classes ajoutées dans Avancé > Classes CSS supplémentaires) :
   lp-pixel + position (lp-pixel-haut / -bas / -droite) + motif (lp-pixel-carre-bleu / -carre-blanc / -double-bleu /
   -double-blanc) ; même chose pour un second décor avec lp-pixel-avant-… ; lp-pixel-atelier : logo L'atelier. */
.wp-block-group.lp-pixel, .wp-block-cover.lp-pixel { position: relative; }
.lp-pixel::before, .lp-pixel::after { position: absolute; background-size: contain; background-repeat: no-repeat; background-position: center; z-index: 1; pointer-events: none; }
.lp-pixel.lp-pixel-haut::after { content: ""; top: 0; } .lp-pixel.lp-pixel-bas::after { content: ""; bottom: 0; } .lp-pixel.lp-pixel-droite::after { content: ""; right: 0; }
.lp-pixel.lp-pixel-avant-haut::before { content: ""; top: 0; } .lp-pixel.lp-pixel-avant-bas::before { content: ""; bottom: 0; }
.lp-pixel.lp-pixel-avant-droite::before { content: ""; right: 0; } .lp-pixel.lp-pixel-avant-gauche::before { content: ""; left: 0; }
.lp-pixel.lp-pixel-carre-bleu::after, .lp-pixel.lp-pixel-avant-carre-bleu::before { background-image: url("../../img/Rectangle-bleu.svg"); width: 95px; height: 95px; }
.lp-pixel.lp-pixel-carre-blanc::after { background-image: url("../../img/Rectangle-blc.svg"); width: 95px; height: 95px; }
.lp-pixel.lp-pixel-double-bleu::after { background-image: url("../../img/double-square-bleu-basgauche.svg"); width: 190px; height: 190px; }
.lp-pixel.lp-pixel-double-blanc::after, .lp-pixel.lp-pixel-avant-double-blanc::before { background-image: url("../../img/double-square-blc-basgauche.svg"); width: 190px; height: 190px; }
.lp-pixel.lp-pixel-atelier::before { content: ""; top: 0; right: 40px; width: 150px; height: 150px; background-image: url("../../img/Mark_Atelier_Blc_vecto.svg"); }
@media (max-width: 768px) {
	.lp-pixel.lp-pixel-carre-bleu::after, .lp-pixel.lp-pixel-avant-carre-bleu::before, .lp-pixel.lp-pixel-carre-blanc::after { width: 85px; height: 85px; }
	.lp-pixel.lp-pixel-double-bleu::after, .lp-pixel.lp-pixel-double-blanc::after, .lp-pixel.lp-pixel-avant-double-blanc::before { width: 170px; height: 170px; }
	.lp-pixel.lp-pixel-atelier::before { width: 120px; height: 80px; }
}
@media (max-width: 450px) {
	.lp-pixel.lp-pixel-carre-bleu::after, .lp-pixel.lp-pixel-avant-carre-bleu::before, .lp-pixel.lp-pixel-carre-blanc::after, .lp-pixel.lp-pixel-double-bleu::after, .lp-pixel.lp-pixel-double-blanc::after, .lp-pixel.lp-pixel-avant-double-blanc::before { width: 65px; height: 65px; }
	.lp-pixel.lp-pixel-double-bleu::after { background-image: url("../../img/Rectangle-bleu.svg"); }
	.lp-pixel.lp-pixel-double-blanc::after, .lp-pixel.lp-pixel-avant-double-blanc::before { background-image: url("../../img/Rectangle-blc.svg"); }
	.lp-pixel.lp-pixel-atelier::before { right: 20px; }
}
.wp-block-group:is(.is-style-hero, .is-style-hero-noir).lp-pixel::after { top: auto; right: auto; } /* le décor de la section remplace celui du hero */
.wp-block-group:is(.is-style-hero, .is-style-hero-noir).lp-pixel.lp-pixel-haut::after { top: 0; } .wp-block-group:is(.is-style-hero, .is-style-hero-noir).lp-pixel.lp-pixel-bas::after { bottom: 0; } .wp-block-group:is(.is-style-hero, .is-style-hero-noir).lp-pixel.lp-pixel-droite::after { right: 0; }
.lp-article .lp-article__lateral ul.wp-block-latest-posts, .lp-article .lp-article__lateral ul.wp-block-categories-list { list-style: disc; padding-left: 19px; }

/* Intervenant (photo et texte) : photo 133 px, nom 22 px avec LinkedIn sur la même ligne, bio 16 px. */
.wp-block-group.is-style-intervenant { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 15px; }
.wp-block-group.is-style-intervenant > .wp-block-image { flex: 0 0 133px; margin: 0; }
.wp-block-group.is-style-intervenant > .wp-block-image img { width: 133px; height: 133px; object-fit: cover; display: block; }
.wp-block-group.is-style-intervenant :where(h3) { font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 22px; line-height: 1.1; color: inherit; padding: 0 0 10px; margin: 0; }
.wp-block-group.is-style-intervenant .lp-linkedin img { width: 18px; height: 18px; vertical-align: middle; display: inline; }
.wp-block-group.is-style-intervenant :where(p) { font-size: 16px; font-weight: 400; margin: 5px 0 10px; padding: 0; }
@media (max-width: 600px) { .wp-block-group.is-style-intervenant { flex-direction: column; } }
/* section à fond foncé de la palette (hors styles de section) : textes et titres blancs */
.wp-block-group.lp-section-foncee, .wp-block-group.lp-section-foncee :where(h1, h2, h3, h4, h5, h6, p, li, a, time, .wp-block-post-date) { color: var(--wp--preset--color--base); }
.wp-block-group.lp-section-foncee :where(h1) { font-family: var(--wp--preset--font-family--body); font-weight: 500; font-size: 40px; line-height: 1.2; }
/* Événement : finitions de l'ancien site (mesures). Titre du hero : préréglage « Titre de page » du style site
   (30 → 45 px, N°347), pas de taille fixe. */
.lp-evenement .lp-evenement__resume { font-size: 14px; line-height: 1.6; }
.lp-evenement .lp-evenement__label { font-size: 16px; font-weight: 300; color: var(--wp--preset--color--gris); }
.lp-evenement .is-style-encadre-bleu .lp-evenement__label { color: var(--wp--preset--color--base); } /* « Ajouter au calendrier » : gris illisible sur le bleu (R14) */
.lp-evenement .lp-evenement__valeur { font-size: 16px; font-weight: 600; }
.lp-evenement .lp-evenement__infos { padding-top: 10px; padding-bottom: 10px; box-shadow: 0 8px 14px rgba(0, 0, 0, .12); }
.lp-evenement .lp-evenement__billetterie .wp-block-button__link { min-width: 266px; font-size: 18px; font-weight: 600; padding: 2px 20px; }
/* bandeau en colonnes de 45 % sous 781 px : 266 px ne tiennent pas (page de 421 px à 390, N°200) ; la prod n'a pas de
   largeur minimale en téléphone (bouton de 86 px, centré) */
@media (max-width: 781px) { .lp-evenement .lp-evenement__billetterie .wp-block-button__link { min-width: 0; } }
.lp-evenement .is-style-encadre-bleu :where(h3) { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 22px; color: var(--wp--preset--color--base); }
.lp-evenement .lp-evenement__lieu { text-transform: uppercase; font-weight: 600; font-size: 15px; }
.lp-evenement .is-style-encadre-bleu .wp-block-button__link { background: transparent; color: var(--wp--preset--color--base); border: 2px solid var(--wp--preset--color--base); border-radius: 3px; font-family: Roboto, Helvetica, Arial, sans-serif; font-size: 20px; font-weight: 500; text-transform: uppercase; padding: 6px 40px 6px 14px; }
.lp-evenement .wp-block-post-content :where(p) { font-size: 18px; font-weight: 500; }
/* Description + Lieu en deux colonnes : gouttière 2 de l'ancien site (65,667 % + 3 % + 31,333 %), largeurs padding compris ;
   `.wp-block-columns` en plus pour l'emporter sur le padding du style (core-columns.css, même spécificité, chargé après).
   Sous 981 px, colonnes empilées du style inchangées (N°348). */
@media (min-width: 981px) {
	.lp-evenement .wp-block-columns.is-style-contenu-encadre { gap: 0 3% !important; }
	.lp-evenement .wp-block-columns.is-style-contenu-encadre > .wp-block-column { box-sizing: border-box; }
	.lp-evenement .wp-block-columns.is-style-contenu-encadre > .wp-block-column:first-child { padding-top: 0; padding-right: 0; flex: 0 0 65.667% !important; }
	.lp-evenement .wp-block-columns.is-style-contenu-encadre > .wp-block-column:last-child { flex: 0 0 31.333% !important; }
}
.wp-block-group:is(.is-style-hero, .is-style-hero-noir) > p:first-child a { text-decoration: underline; }

/* Titres en Cy : chaque graisse de Cy était une police à part sur l'ancien site ; les graisses saisies dans le texte
   (gras, « normal ») ne la modifiaient pas. Pour <b> / <strong>, titres d'article h2–h5 exclus (relecture de N°184) :
   le thème les met en Poppins (règles .lp-article__texte plus haut), où le gras saisi s'affichait en 700 sur l'ancien
   site ; les <span style="font-weight"> collés y gardent la graisse du titre (relecture de fb2b462 : 23 titres Cy-bold
   en prod seraient passés à 400). */
.wp-block-group.is-style-site :where(h1, h2, h3, h4, h5, h6):not(.has-body-font-family) :where(span[style*="font-weight"]) { font-weight: inherit !important; }
.wp-block-group.is-style-site :where(h1, h2, h3, h4, h5, h6):not(.has-body-font-family, .lp-article__texte :is(h2, h3, h4, h5):not(.has-display-font-family, .lp-rendu-h1)) :where(strong, b) { font-weight: inherit !important; }
/* Témoignage seul (module témoignage de l'ancien site, hors carrousel) : photo carrée de 150 px à gauche, texte à droite */
.wp-block-group.is-style-temoignage-seul { display: flex; gap: 30px; align-items: flex-start; }
.wp-block-group.is-style-temoignage-seul > .wp-block-image { flex: 0 0 150px; margin: 0; }
.wp-block-group.is-style-temoignage-seul > .wp-block-image img { width: 150px; height: 150px; object-fit: cover; display: block; }
/* photo au style « Arrondi » du cœur : rond de 90 px, rendu par défaut de l'ancien site (55725 ; N°288) */
.wp-block-group.is-style-temoignage-seul > .wp-block-image.is-style-rounded { flex-basis: 90px; }
.wp-block-group.is-style-temoignage-seul > .wp-block-image.is-style-rounded img { width: 90px; height: 90px; }
.wp-block-group.is-style-temoignage-seul > .wp-block-group { flex: 1 1 auto; min-width: 0; }
.wp-block-group.is-style-temoignage-seul :where(p) { font-size: 17px; line-height: 1.5; }
.wp-block-group.is-style-temoignage-seul :where(p:not(.lp-author, .lp-role)) { font-weight: 500; }
.wp-block-group.is-style-temoignage-seul .lp-author { font-weight: 700; margin-top: 32px; padding: 0; }
.wp-block-group.is-style-temoignage-seul .lp-role { margin-top: 0; padding: 0; }
/* téléphone : photo au-dessus, centrée comme la prod (55725, business-associate ; N°288) */
@media (max-width: 767px) { .wp-block-group.is-style-temoignage-seul { flex-direction: column; } .wp-block-group.is-style-temoignage-seul > .wp-block-image { align-self: center; } }

/* Bandeau partenaire (Advens, France 2030 / CNC) : logo sur la moitié bleue, damier de l'ancien site en haut à droite
   de la colonne du logo, texte gris sur la moitié blanche (fond du groupe : dégradé du style). Téléphone : colonnes
   empilées, bleu puis blanc, damier réduit en haut à droite du blanc. Mesures de la prod : 75002, 29/10. */
/* Sélecteur renforcé : core-columns.css pose « gap: 30px 5.5% » par .wp-block-columns:not(…):not(…):not(…). */
.wp-block-group.is-style-bandeau-partenaire > .wp-block-columns.is-layout-flex.wp-block-columns-is-layout-flex { gap: 0; margin-block: 0; }
.is-style-bandeau-partenaire > .wp-block-columns > .wp-block-column { position: relative; box-sizing: border-box; padding-block: 32px; }
.is-style-bandeau-partenaire > .wp-block-columns > .wp-block-column:first-child { padding-left: 32px; background: var(--wp--preset--color--primary); }
.is-style-bandeau-partenaire > .wp-block-columns > .wp-block-column:last-child { padding-left: 50px; background: var(--wp--preset--color--base); }
.is-style-bandeau-partenaire > .wp-block-columns > .wp-block-column:last-child > * { max-width: 395px; }
/* Variante France 2030 / CNC : texte à gauche, sans marge latérale (il s'arrête avant le damier, comme en prod). */
.is-style-bandeau-partenaire > .wp-block-columns > .wp-block-column:first-child:has(> p) { padding: 50px 0 0; }
/* Le damier passe derrière le contenu (fond de colonne dans la prod). */
.is-style-bandeau-partenaire > .wp-block-columns > .wp-block-column > * { position: relative; z-index: 1; }
.is-style-bandeau-partenaire > .wp-block-columns > .wp-block-column:first-child::after {
	content: ""; position: absolute; z-index: 0; top: 0; right: 0; width: 180px; height: min(100%, 180px);
	background: url("../../img/motif-bandeau-partenaire.svg") right top / 180px auto no-repeat;
}
@media (max-width: 781px) {
	.wp-block-group.is-style-bandeau-partenaire { padding-inline: 0; background: none; }
	.is-style-bandeau-partenaire > .wp-block-columns > .wp-block-column:first-child::after { content: none; }
	.is-style-bandeau-partenaire > .wp-block-columns > .wp-block-column:first-child:has(> p) { padding: 50px 0 50px 20px; }
	.is-style-bandeau-partenaire > .wp-block-columns > .wp-block-column:last-child { padding: 32px 0 30px 20px; }
	.is-style-bandeau-partenaire > .wp-block-columns > .wp-block-column:last-child > * { max-width: calc(100% - 92px); }
	.is-style-bandeau-partenaire > .wp-block-columns > .wp-block-column:last-child::after {
		content: ""; position: absolute; z-index: 0; top: 0; right: 0; width: 98px; height: 98px;
		background: url("../../img/motif-bandeau-partenaire.svg") right top / 98px auto no-repeat;
	}
}
