/**
 * Styles globaux du site (toutes pages).
 * Les styles propres à une fonctionnalité restent dans leur fichier dédié (boutique.css, calendrier.css…).
 */

/* -------------------------------------------------------------------------
 * Posts LinkedIn intégrés (iframes « embed ») – page d'accueil
 *
 * L'iframe LinkedIn est cross-origin et ne communique pas sa hauteur :
 * on la calcule d'après la largeur de la colonne.
 *   hauteur = partie fixe (en-tête + 3 lignes de texte + réactions + boutons)
 *           + largeur × ratio de l'image
 * Réglage par post, dans le bloc HTML de l'iframe :
 *   style="--li-ratio:.96"   galerie / image carrée
 *   style="--li-ratio:1.25"  visuel 4:5 vertical
 *   style="--li-fixed:230px" texte court (moins de 3 lignes)
 * ---------------------------------------------------------------------- */
.wp-block-column:has(> iframe[src*="linkedin.com/embed"]) {
	container-type: inline-size;
}

.wp-block-column > iframe[src*="linkedin.com/embed"] {
	display: block; /* supprime l'espace sous l'iframe inline */
	width: 100%;
	height: calc(var(--li-fixed, 252px) + var(--li-ratio, 1.07) * 100cqw) !important;
}

/* -------------------------------------------------------------------------
 * Header – picto panier (même picto que le webshop Visma | Lease a Bike)
 *
 * L'icône SVG d'Astra est masquée et remplacée par un masque CSS :
 * le picto prend la couleur du texte (currentColor) et survit aux mises à jour d'Astra.
 * Le compteur est le ::after d'Astra (data-cart-total), restylé en pastille compacte
 * qui s'élargit à 2 chiffres et disparaît quand le panier est vide.
 * ---------------------------------------------------------------------- */
.ast-site-header-cart .ast-icon-shopping-cart {
	--mpe-cart-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.586 3.25H1v1.5h2.414l3 12h12.188l2.333-10.5H7.085l.376 1.5h11.604l-1.667 7.5H7.586l-3-12z'/%3E%3Cpath d='M8.5 21a1.5 1.5 0 100-3 1.5 1.5 0 000 3zM16.5 21a1.5 1.5 0 100-3 1.5 1.5 0 000 3z'/%3E%3C/svg%3E");
	color: #000034 !important;
	line-height: 0;
}

.ast-site-header-cart:hover .ast-icon-shopping-cart {
	color: #1f53f3 !important;
}

.ast-site-header-cart .ast-icon-shopping-cart .icon-cart svg {
	display: none;
}

.ast-site-header-cart .ast-icon-shopping-cart .icon-cart {
	display: inline-block;
	width: 27px;
	height: 27px;
	background-color: currentColor;
	-webkit-mask: var(--mpe-cart-icon) center / contain no-repeat;
	mask: var(--mpe-cart-icon) center / contain no-repeat;
	transform: translateY(2px); /* centrage optique : le dessin pèse vers le haut (panier), les roues sont légères (27/11) */
}

/* Compteur */
.ast-site-header-cart .ast-icon-shopping-cart::after {
	box-sizing: border-box;
	min-width: 16px !important;
	width: auto !important;
	height: 16px !important;
	padding: 0 4px !important;
	top: 1px !important; /* suit le picto descendu de 2 px */
	right: -8px !important;
	left: auto !important;
	font-size: 10px !important;
	font-weight: 600 !important;
	line-height: 16px !important;
	font-variant-numeric: tabular-nums;
	color: #fff !important;
	background: #1f53f3 !important;
	border-radius: 99px !important;
	box-shadow: 0 0 0 2px #fff; /* détache la pastille du picto */
}

.ast-site-header-cart .ast-icon-shopping-cart[data-cart-total="0"]::after {
	display: none;
}

/* Décale les ancres de la hauteur du header sticky Astra (desktop uniquement) — repris du CSS personnalisé de la prod.
   1200 px : seuil de l'en-tête mobile (inc/entete-tablette.php). */
@media (min-width: 1200px) {
	[id] { scroll-margin-top: 90px; }
}
@media (max-width: 1199px) {
	[id] { scroll-margin-top: 72px; } /* mini-en-tête collant aussi sur mobile depuis le 27/11 (60 px) */
}

/* Espace entre les lignes de posts (le shortcode force margin-top:0 en style inline). */
.wp-block-columns:has(> .wp-block-column > iframe[src*="linkedin.com/embed"]) + .wp-block-columns:has(> .wp-block-column > iframe[src*="linkedin.com/embed"]) {
	margin-top: 24px !important;
}

/* Messages WooCommerce sur tout le site (confirmation, info, erreur) : carte arrondie, pastille d'icône, couleurs douces. */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info:not(.cart-empty),
.woocommerce .woocommerce-error {
	position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px;
	margin: 0 0 24px !important; padding: 14px 16px 10px 52px !important; /* texte descendu de 2 px : centré sur la pastille (Plus Jakarta Sans monte un peu dans sa ligne) */
	border: 1px solid #ABEFC6 !important; border-radius: 12px; background: #ECFDF3 !important;
	color: #085D3A !important; font-size: 14px; font-weight: 600; line-height: 1.4; list-style: none;
	box-shadow: 0 1px 2px rgba(0, 0, 52, .04);
	transition: opacity .3s, transform .3s;
}
.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info:not(.cart-empty)::before,
.woocommerce .woocommerce-error::before {
	content: "" !important; position: absolute; top: 50%; left: 16px; width: 24px; height: 24px; margin: 0; transform: translateY(-50%);
	border-radius: 50%; background: #17B26A no-repeat center / 14px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	font-family: inherit; color: transparent;
}
/* Info */
.woocommerce .woocommerce-info:not(.cart-empty) { border-color: #C7D4FB !important; background: #EFF3FE !important; color: #1E3A8A !important; }
.woocommerce .woocommerce-info:not(.cart-empty)::before {
	background-color: #2B54F4;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 11v6' stroke='%23fff' stroke-width='3' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='6.5' r='1.8' fill='%23fff'/%3E%3C/svg%3E");
}
/* Erreur */
.woocommerce .woocommerce-error { border-color: #FECDCA !important; background: #FEF3F2 !important; color: #912018 !important; }
.woocommerce .woocommerce-error::before {
	/* Plusieurs erreurs : pastille alignée sur la 1re ligne (centre de la ligne, quelle que soit la taille du texte). */
	top: calc(14px + (1.4em - 24px) / 2); transform: none; background-color: #F04438;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6.5v7' stroke='%23fff' stroke-width='3' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='17.5' r='1.8' fill='%23fff'/%3E%3C/svg%3E");
}
.woocommerce .woocommerce-error li { flex: 1 0 100%; margin: 0; padding: 0; }
/* Une seule erreur : pastille centrée verticalement, comme les autres messages. */
.woocommerce .woocommerce-error:not(:has(li + li))::before { top: 50%; transform: translateY(-50%); }
/* Liens / boutons dans le message (« Annuler ? », « Continuer les achats ») */
.woocommerce .woocommerce-message a,
.woocommerce .woocommerce-info:not(.cart-empty) a,
.woocommerce .woocommerce-error a { color: inherit !important; font-weight: 700; text-decoration: underline !important; text-underline-offset: 2px; } /* 27/11 : !important, le soulignement était annulé par le thème. */
.woocommerce .woocommerce-message .button,
.woocommerce .woocommerce-info:not(.cart-empty) .button {
	order: 2; margin-left: auto !important; padding: 6px 14px !important; border: 1px solid currentColor !important; border-radius: 999px !important;
	background: transparent !important; color: inherit !important; font-size: 13px; text-decoration: none;
}
.woocommerce .woocommerce-message.is-hiding { opacity: 0; transform: translateY(-6px); }
/* Message sans bouton (texte avec un lien en ligne, ex. « … dans votre panier ici. ») : flux normal, sinon le lien et le point final deviennent des blocs séparés. */
.woocommerce .woocommerce-message:not(:has(> .button)),
.woocommerce .woocommerce-info:not(.cart-empty):not(:has(> .button)) { display: block; }

/* Cartes produit : pas de bandeau « En rupture de stock » d'Astra sur l'image, la pastille sous le prix suffit. */
.ast-shop-product-out-of-stock { display: none !important; }

/* Fil d'étapes du tunnel de commande (panier + validation) — inc/panier.php, mpe_panier_etapes() */
.woocommerce ol.mpe-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 36px; margin: 0 0 36px; padding: 0; list-style: none; color: #707070; font-size: 18px; }
.woocommerce .mpe-steps li { display: flex; align-items: center; gap: 12px; margin: 0; }
.woocommerce .mpe-steps li + li::before { content: ""; width: 44px; height: 1px; margin-right: 24px; background: #D9D9D9; }
.woocommerce .mpe-steps li span { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid #D9D9D9; border-radius: 50%; font-size: 16px; font-weight: 700; }
.woocommerce .mpe-steps li.is-current { color: var(--ast-global-color-2, #000034); font-weight: 700; }
.woocommerce .mpe-steps li.is-current span { border-color: var(--ast-global-color-0, #1f53f3); background: var(--ast-global-color-0, #1f53f3); color: #fff; }
.woocommerce .mpe-steps li.is-done a { display: inline-flex; align-items: center; gap: 12px; color: var(--ast-global-color-2, #000034); text-decoration: none; }
.woocommerce .mpe-steps li.is-done a:hover { color: var(--ast-global-color-0, #1f53f3); }
.woocommerce .mpe-steps li.is-done span { border-color: #16a34a; background: #16a34a; color: #fff; font-size: 15px; }
@media (max-width: 768px) {
	.woocommerce ol.mpe-steps { flex-wrap: nowrap; gap: 12px; font-size: 15px; }
	.woocommerce .mpe-steps li + li::before { width: 20px; margin-right: 0; }
	.woocommerce .mpe-steps li span { width: 30px; height: 30px; }
}
/* Validation de la commande : le bloc « classic-shortcode » est un groupe avec marge interne haute → étapes au même niveau que sur le panier. */
.woocommerce-checkout .entry-content > .woocommerce.wp-block-group { padding-top: 0; }

/* Bloc « Les fournisseurs officiels » (contenu des pages) : plus d'air entre le titre rose et les logos. */
p:has(+ .logo-partner) { margin-bottom: 1.75rem !important; }
@media (max-width: 768px) {
	p:has(+ .logo-partner) { margin-bottom: 1.25rem !important; }
}
/* Logos partenaires (pré-pied de page) sur les pages « article » d'Astra (fiches événement…) : Astra y
   ajoute une ombre aux images (fonds blancs des logos visibles) et 2em / 3em de marge aux blocs image
   (rangées de logos très espacées). Mêmes logos que sur les pages classiques. */
.ast-article-single .logo-partner figure,
.ast-article-single .logo-partner img { box-shadow: none; }
@media (min-width: 481px) {
	.entry-content .logo-partner .wp-block-image { margin-top: 0; margin-bottom: 0; }
}

/* Tableaux WooCommerce en mobile (panier, commandes…) : « Sous-total : », « TVA : » à la française
   (WooCommerce et Astra écrivent attr(data-title) ": " sans espace avant les deux-points). */
@media (max-width: 921px) { /* même seuil que woocommerce-smallscreen-grid d'Astra */
	.woocommerce table.shop_table_responsive tr td::before,
	.woocommerce-page table.shop_table_responsive tr td::before { content: attr(data-title) "\00a0: "; }
}

/* Petit surtitre au-dessus d'un titre de strate (« LE PROJET »…) : paragraphe avec la classe
   « mpe-kicker » dans l'éditeur (Bloc > Avancé > Classe(s) CSS additionnelle(s)). Bleu par défaut,
   « mpe-kicker mpe-kicker--rose » pour la variante rose (comme les strates boutique / équipe),
   « mpe-kicker mpe-kicker--blanc » sur fond bleu. */
.entry-content .mpe-kicker,
.mpe-kicker { margin: 0 auto 12px !important; color: #1F53F3; font-size: 14px; font-style: normal; font-weight: 800; letter-spacing: .08em; line-height: 1.3; text-transform: uppercase; }
.entry-content .mpe-kicker.mpe-kicker--rose,
.mpe-kicker.mpe-kicker--rose { color: #FF00A3; }
.entry-content .mpe-kicker.mpe-kicker--blanc,
.mpe-kicker.mpe-kicker--blanc { color: #fff; } /* sur fond bleu ou foncé */
.entry-content .mpe-kicker + .wp-block-heading { margin-top: 0; }
/* Surtitre en tête de strate (premier élément du groupe) : l'espace au-dessus que le titre avait seul. */
.entry-content .wp-block-group > .mpe-kicker:first-child { margin-top: clamp(48px, 6vw, 80px) !important; }


/* -------------------------------------------------------------------------
 * Header – entrée « Boutique » mise en avant (picto sac + texte en dégradé rose)
 *
 * Ciblée par son lien (/boutique/) plutôt que par l'ID de l'élément de menu,
 * qui diffère entre les environnements. Le picto est un masque CSS coloré en rose.
 * ---------------------------------------------------------------------- */
.main-header-menu > .menu-item > a.menu-link[href$="/boutique/"] {
	--mpe-bag-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='8' width='16' height='13' rx='2'/%3E%3Cpath d='M8.5 8V6.5a3.5 3.5 0 0 1 7 0V8'/%3E%3C/svg%3E");
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: 800;
	background-image: linear-gradient(90deg, #FF00A3 25%, #A8006B 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	transition: filter .2s ease;
}

.main-header-menu > .menu-item > a.menu-link[href$="/boutique/"]::before {
	content: "";
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: -2px; /* aligne le sac sur la hauteur des lettres */
	background-color: #FF00A3;
	-webkit-mask: var(--mpe-bag-icon) center / contain no-repeat;
	mask: var(--mpe-bag-icon) center / contain no-repeat;
}

.main-header-menu > .menu-item > a.menu-link[href$="/boutique/"]:hover,
.main-header-menu > .menu-item > a.menu-link[href$="/boutique/"]:focus-visible {
	filter: brightness(.85);
}
/* 29/11 : le soulignement du survol (CSS additionnel : text-decoration bleue de 3 px, décalée de 8 px) ne passait pas
   sous le sac (pseudo-élément). Remplacé, pour ce lien seulement, par un trait qui couvre le sac et le texte. */
header .main-navigation .main-header-menu > .menu-item > a.menu-link[href$="/boutique/"] { position: relative; }
header .main-navigation .main-header-menu > .menu-item > a.menu-link[href$="/boutique/"]:is(:hover, :active) { text-decoration: none !important; }
header .main-navigation .main-header-menu > .menu-item > a.menu-link[href$="/boutique/"]::after {
	content: ""; position: absolute; left: 10px; right: 10px; top: calc(50% + 12px); height: 3px;
	background: #1F53F3; opacity: 0; pointer-events: none;
}
header .main-navigation .main-header-menu > .menu-item > a.menu-link[href$="/boutique/"]:is(:hover, :active)::after { opacity: 1; }

/* ==========================================================================
   Bandeau « Partenaires » du pré-footer (bloc synchronisé 2213, enveloppe ajoutée dans functions.php) :
   titre à gauche souligné de rose, niveaux (« Les 7 Majeurs »…) en petit surtitre rose, logos alignés
   à gauche à hauteur fixe par niveau, niveaux séparés par un filet gris pleine largeur.
   ========================================================================== */
.mpe-partenaires-bandeau .wp-block-group:has(> .logo-partner) {
	--mpe-pb-logo-h: 40px;
	max-width: 1200px; /* largeur du contenu des pages */
	margin-inline: auto !important;
	padding: 0 0 72px !important; /* même largeur (1 200 px) que le contenu des pages et de la boutique */
	text-align: left;
}
/* Bandeau placé dans un groupe pleine largeur (pages Mon compte…) : le groupe déborde de la marge du conteneur,
   on la rajoute à l'intérieur pour garder le contenu aligné sur la page (le contenu reste à 1 200 px sur grand écran). */
.alignfull .mpe-partenaires-bandeau .wp-block-group:has(> .logo-partner) { padding-inline: max(0px, min(28px, calc(28px - (100vw - 1200px) / 2))) !important; }
/* Titre « Partenaires » */
.mpe-partenaires-bandeau .wp-block-group:has(> .logo-partner) > h2 {
	position: relative;
	max-width: none !important;
	margin: 64px 0 32px !important;
	padding-bottom: 16px;
	color: var(--ast-global-color-2, #000034);
	font-size: clamp(32px, 3.6vw, 44px);
	text-align: left !important;
}
.mpe-partenaires-bandeau .wp-block-group:has(> .logo-partner) > h2::after {
	content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 2px; background: #ff00a3;
}
/* Phrase d'accroche et anciens séparateurs courts : retirés de cette mise en page */
.mpe-partenaires-bandeau .wp-block-group:has(> .logo-partner) > h2 + p:not(:has(+ .logo-partner)),
.mpe-partenaires-bandeau .wp-block-group:has(> .logo-partner) > .wp-block-ub-divider { display: none !important; }
/* Niveaux : petit surtitre rose, filet gris au-dessus (sauf le premier) */
.mpe-partenaires-bandeau .wp-block-group:has(> .logo-partner) > p:has(+ .logo-partner) {
	max-width: none !important;
	margin: 0 0 24px !important;
	font-size: 22px !important;
	line-height: 1.3;
	text-align: left !important;
}
.mpe-partenaires-bandeau .wp-block-group:has(> .logo-partner) > .logo-partner ~ p:has(+ .logo-partner) {
	padding-top: 40px !important;
	border-top: 1px solid #e6e6ea;
}
/* Rangées de logos */
.mpe-partenaires-bandeau .logo-partner { max-width: none !important; margin: 0 0 40px !important; padding: 0 !important; }
.mpe-partenaires-bandeau .logo-partner > .wp-block-group {
	max-width: none !important;
	justify-content: flex-start !important;
	align-items: center !important;
	gap: 28px 44px !important;
}
.mpe-partenaires-bandeau .logo-partner .wp-block-image {
	flex: 0 0 auto !important;
	width: auto !important;
	margin: 0 !important;
}
.mpe-partenaires-bandeau .logo-partner .wp-block-image a { display: block; }
.mpe-partenaires-bandeau .logo-partner .wp-block-image img {
	display: block;
	width: auto !important;
	max-width: none;
	height: var(--mpe-pb-logo-h) !important;
	box-shadow: none;
	transition: opacity .2s;
}
/* Logos dont le fichier a beaucoup de marge autour du dessin : un peu plus hauts pour s'aligner visuellement */
.mpe-partenaires-bandeau .logo-partner img[src*="haute-savoie"],
.mpe-partenaires-bandeau .logo-partner img[src*="cafe_beauger"] { height: calc(var(--mpe-pb-logo-h) * 1.4) !important; margin-block: calc(var(--mpe-pb-logo-h) * -.2); }
/* 25/11 : Origine (logo en longueur, sans marge) : moins haut, ~220 px de large comme sur la prod. */
.mpe-partenaires-bandeau .logo-partner img[src*="logo_footer_origine"] { height: calc(var(--mpe-pb-logo-h) * .38) !important; }
.mpe-partenaires-bandeau .logo-partner a:hover img { opacity: .7; }
/* Hauteurs par niveau : 7 Majeurs > équipiers de luxe > fournisseurs officiels */
.mpe-partenaires-bandeau .logo-partner:nth-child(1 of .logo-partner) { --mpe-pb-logo-h: 56px; }
/* 7 Majeurs : 4 logos puis 3, comme la maquette */
.mpe-partenaires-bandeau .logo-partner:nth-child(1 of .logo-partner) > .wp-block-group { max-width: 700px !important; margin-left: 0 !important; } /* 25/11 : 700 (Origine plus large que Factor) */
.mpe-partenaires-bandeau .logo-partner:nth-child(2 of .logo-partner) { --mpe-pb-logo-h: 48px; }
.mpe-partenaires-bandeau .logo-partner:nth-child(3 of .logo-partner) { --mpe-pb-logo-h: 30px; }
.mpe-partenaires-bandeau .logo-partner:nth-child(3 of .logo-partner) > .wp-block-group { gap: 20px 28px !important; }
/* 26/11 : fournisseurs officiels — largeur plafonnée à 4 × la hauteur (Nova Ride, Touchdown… trop larges
   à hauteur égale) ; le logo est réduit sans être déformé et reste calé à gauche. */
.mpe-partenaires-bandeau .logo-partner:nth-child(3 of .logo-partner) .wp-block-image img {
	max-width: calc(var(--mpe-pb-logo-h) * 4);
	object-fit: contain;
	object-position: left center;
}
.mpe-partenaires-bandeau .logo-partner:nth-last-child(1 of .logo-partner) { margin-bottom: 0 !important; }
@media (max-width: 768px) {
	.mpe-partenaires-bandeau .wp-block-group:has(> .logo-partner) { padding: 0 16px 48px !important; }
	/* Bandeau dans un groupe pleine largeur : même retrait que sur l'accueil. */
	.alignfull .mpe-partenaires-bandeau .wp-block-group:has(> .logo-partner) { padding-inline: 43px !important; }
	.mpe-partenaires-bandeau .wp-block-group:has(> .logo-partner) > h2 { margin: 40px 0 32px !important; }
	.mpe-partenaires-bandeau .logo-partner { margin-bottom: 28px !important; }
	.mpe-partenaires-bandeau .wp-block-group:has(> .logo-partner) > .logo-partner ~ p:has(+ .logo-partner) { padding-top: 28px !important; }
	.mpe-partenaires-bandeau .logo-partner > .wp-block-group { gap: 20px 28px !important; }
	.mpe-partenaires-bandeau .logo-partner:nth-child(1 of .logo-partner) { --mpe-pb-logo-h: 32px; }
	.mpe-partenaires-bandeau .logo-partner:nth-child(2 of .logo-partner) { --mpe-pb-logo-h: 30px; }
	.mpe-partenaires-bandeau .logo-partner:nth-child(3 of .logo-partner) { --mpe-pb-logo-h: 20px; }
	.mpe-partenaires-bandeau .logo-partner:nth-child(3 of .logo-partner) > .wp-block-group { gap: 16px 20px !important; }
}

/* 26/11 : retour au bandeau centré (titre, soulignement rose, niveaux et rangées de logos). Le reste ne change pas
   (hauteurs par niveau, filets entre les niveaux). */
.mpe-partenaires-bandeau .wp-block-group:has(> .logo-partner),
.mpe-partenaires-bandeau .wp-block-group:has(> .logo-partner) > h2,
.mpe-partenaires-bandeau .wp-block-group:has(> .logo-partner) > p:has(+ .logo-partner) { text-align: center !important; }
.mpe-partenaires-bandeau .wp-block-group:has(> .logo-partner) > h2::after { left: 50%; transform: translateX(-50%); }
.mpe-partenaires-bandeau .logo-partner > .wp-block-group { justify-content: center !important; }
.mpe-partenaires-bandeau .logo-partner:nth-child(1 of .logo-partner) > .wp-block-group { margin-inline: auto !important; }
.mpe-partenaires-bandeau .logo-partner:nth-child(3 of .logo-partner) .wp-block-image img { object-position: center; }
.mpe-partenaires-bandeau .wp-block-group:has(> .logo-partner) > h2.wp-block-heading,
.mpe-partenaires-bandeau .wp-block-group:has(> .logo-partner) > h2 { margin-bottom: 40px !important; }
/* Pas de filet entre les niveaux : simple espace. */
.mpe-partenaires-bandeau .wp-block-group:has(> .logo-partner) > .logo-partner ~ p:has(+ .logo-partner) { border-top: 0 !important; padding-top: 40px !important; }
/* Rangées plus étroites pour équilibrer les deux lignes : équipiers de luxe 6 + 5, fournisseurs 9 + 7. */
@media (min-width: 769px) {
	.mpe-partenaires-bandeau .logo-partner:nth-child(2 of .logo-partner) > .wp-block-group { max-width: 860px !important; margin-inline: auto !important; }
	.mpe-partenaires-bandeau .logo-partner:nth-child(3 of .logo-partner) > .wp-block-group { max-width: 780px !important; margin-inline: auto !important; }
}

/* Photo du bas du pré-footer : pleine largeur de la fenêtre, même dans le conteneur 1200 px des pages
   (le débordement horizontal est déjà masqué par Astra sur body). */
.mpe-partenaires-bandeau .wp-block-image.alignfull {
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: 0 !important;
}
.mpe-partenaires-bandeau .wp-block-image.alignfull img { display: block; width: 100%; }

/* Filet au-dessus de « Partenaires » (séparateur Ultimate Blocks du bloc) : même filet clair que celui
   entre les niveaux de partenaires, au lieu du gris #ccc de 2 px par défaut. */
.mpe-partenaires-bandeau .wp-block-ub-divider .ub_divider_line {
	border-top: 1px solid #e6e6ea !important;
}
/* Même largeur que le contenu du bandeau (et ses filets entre niveaux) sur toutes les pages : sinon pleine
   largeur dans la boutique (conteneur fluide) et 1200 px sur les pages. */
.mpe-partenaires-bandeau > .wp-block-group > .wp-block-ub-divider,
.mpe-partenaires-bandeau > .wp-block-group > .wp-block-ub-divider .ub_divider_wrapper,
.mpe-partenaires-bandeau > .wp-block-group > .wp-block-ub-divider .ub_divider_line { width: 100% !important; }
.mpe-partenaires-bandeau > .wp-block-group > .wp-block-ub-divider {
	max-width: 1200px !important;
	margin-inline: auto !important;
}
@media (max-width: 1200px) {
	.mpe-partenaires-bandeau > .wp-block-group > .wp-block-ub-divider { max-width: none !important; margin-inline: 0 !important; width: auto !important; }
}
@media (max-width: 768px) {
	.mpe-partenaires-bandeau > .wp-block-group > .wp-block-ub-divider { margin-inline: 16px !important; }
}

/* Bouton avec petite flèche → (comme « Découvrir les offres ») : bloc Bouton avec la classe
   « mpe-bouton-fleche » (Bloc > Avancé > Classe(s) CSS additionnelle(s)). La flèche glisse au survol. */
.wp-block-button.mpe-bouton-fleche .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}
.wp-block-button.mpe-bouton-fleche .wp-block-button__link::after {
	content: "";
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	background-color: currentColor;
	-webkit-mask: 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='M5 12h14'/%3E%3Cpath d='m13 6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: 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='M5 12h14'/%3E%3Cpath d='m13 6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .2s;
}
.wp-block-button.mpe-bouton-fleche .wp-block-button__link:hover::after { transform: translateX(3px); }

/* ==========================================================================
   En-tête simple des pages de liste (Actualités, Calendrier) : fil d'Ariane + titre, à la place du bandeau photo.
   Même rendu de fil d'Ariane que la boutique et les fiches partenaires.
   ========================================================================== */
.mpe-fil {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0 0 1.5rem;
	padding-top: 1.5rem;
	font-size: 13px;
	font-weight: 600;
	color: #000034;
}
.entry-content .mpe-fil a { font-weight: 400; color: #777; text-decoration: none; }
.entry-content .mpe-fil a:hover { color: #1f53f3; }
.mpe-fil .mpe-breadcrumb__sep { display: inline-block; margin: 0 .45em; color: #202020; }
.mpe-fil .mpe-breadcrumb__sep svg { display: block; }
.entry-content .mpe-titre-page,
.mpe-titre-page { margin: 0 0 28px; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; color: #000034; }

/* -------------------------------------------------------------------------
 * Mini-en-tête au défilement (27/11, inc/entete-initiales.php) : une fois le vrai en-tête dépassé, Astra Pro
 * le fixe en haut de l'écran (enveloppe .ast-header-sticked ; son parent garde la hauteur d'origine, la page
 * ne bouge pas). On le réduit : 60 px au lieu de 90 sur ordinateur, 60 au lieu de 81 sur mobile, logo plus
 * petit, « Soutenir l'équipe » toujours là (bouton resserré). Léger fondu à l'apparition.
 * ---------------------------------------------------------------------- */
.ast-header-sticked {
	box-shadow: 0 4px 18px rgba(0, 0, 52, .08);
	animation: mpe-mini-entete .2s ease-out;
}
@keyframes mpe-mini-entete { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ast-header-sticked { animation: none; } }
.ast-header-sticked .site-primary-header-wrap { min-height: 60px !important; height: 60px; }
.ast-header-sticked .site-primary-header-wrap > .ast-builder-grid-row { height: 100%; }
.ast-header-sticked :is(.site-header-primary-section-left, .site-header-primary-section-right) { height: 100%; align-items: center; }
.ast-header-sticked :is(.ast-primary-header-bar, .main-header-bar) { min-height: 0 !important; }
.ast-header-sticked .site-branding { padding-block: 8px !important; }
.ast-header-sticked .custom-logo-link img,
.ast-header-sticked .custom-logo { width: auto !important; max-height: 38px !important; height: 38px !important; transition: height .2s ease; }
@media (min-width: 1200px) {
	#masthead .ast-header-sticked .ast-builder-menu-1 .main-header-menu > .menu-item,
	#masthead .ast-header-sticked .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link { line-height: 60px !important; padding-block: 0 !important; }
	#masthead .ast-header-sticked .site-header-primary-section-right > .ast-builder-layout-element { line-height: 1 !important; height: 60px !important; align-items: center; }
	#masthead .ast-header-sticked :is(.ast-header-account-wrap, .ast-header-account-inner-wrap, .ast-site-header-cart, .ast-site-header-cart-li, .cart-container) { display: flex; align-items: center; height: 100%; line-height: 1; }
	#masthead .ast-header-sticked .ast-header-account-link { display: inline-flex; align-items: center; }
	.ast-header-sticked .ast-header-button-1 .ast-custom-button { padding: 9px 20px !important; font-size: 15px !important; }
	/* Sous-menus : -16 px est calé pour l'en-tête de 90 px ; sur 60 px ils recouvraient le soulignement de l'entrée survolée. */
	#ast-desktop-header .ast-header-sticked .main-header-menu .sub-menu { margin-top: -2px; }
}
@media (max-width: 1199px) {
	.ast-header-sticked .custom-logo-link img,
	.ast-header-sticked .custom-logo { max-height: 34px !important; height: 34px !important; }
	.ast-header-sticked .mpe-soutenir-mobile__bouton { padding-block: 7px !important; }
}

/* -------------------------------------------------------------------------
 * Composition « MPE - Rejoindre l'aventure » (compo synchronisée, classe .mpe-rejoindre) :
 * moitié bleue (surtitre, titre, texte, 2 boutons blancs) + moitié photo. Réutilisable sur toutes les pages.
 * ---------------------------------------------------------------------- */
.entry-content .mpe-rejoindre { margin-top: 64px !important; margin-bottom: 64px !important; padding: 0 !important; }
.entry-content .mpe-rejoindre > .wp-block-columns { gap: 0 !important; margin: 0 !important; align-items: stretch !important; }
.entry-content .mpe-rejoindre > .wp-block-columns > .wp-block-column { box-sizing: border-box; flex: 1 1 50% !important; min-width: 0; }
.entry-content .mpe-rejoindre .mpe-rejoindre__texte {
	display: flex; flex-direction: column; justify-content: center;
	padding: 64px clamp(24px, 9%, 124px) !important; background: #1F53F3; color: #fff;
}
.entry-content .mpe-rejoindre .mpe-rejoindre__texte > * { max-width: 520px; margin-top: 0; }
.entry-content .mpe-rejoindre p { letter-spacing: normal; }
/* Surtitre en capitales espacées, comme les autres surtitres du site sur fond bleu. */
.entry-content .mpe-rejoindre .mpe-rejoindre__surtitre { margin: 0 0 14px !important; font-size: 14px; font-weight: 800; line-height: 1.3; letter-spacing: .08em !important; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.entry-content .mpe-rejoindre .mpe-rejoindre__titre { margin: 0 0 16px !important; font-size: clamp(30px, 3vw, 40px); line-height: 1.1; color: #fff; }
.entry-content .mpe-rejoindre .mpe-rejoindre__intro { margin: 0 0 32px !important; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .92); }
.entry-content .mpe-rejoindre .wp-block-buttons { gap: 12px 16px !important; margin: 0; }
.entry-content .mpe-rejoindre .wp-block-button__link {
	display: inline-flex; align-items: center; min-height: 56px; padding: 0 32px;
	border: 0; border-radius: 999px; background: #fff; color: #000034; font-size: 16px; font-weight: 700;
	transition: background-color .15s, color .15s, transform .15s;
}
.entry-content .mpe-rejoindre .wp-block-button__link:hover,
.entry-content .mpe-rejoindre .wp-block-button__link:focus-visible { background: #000034; color: #fff; transform: translateY(-1px); }
.entry-content .mpe-rejoindre .mpe-rejoindre__visuel { position: relative; min-height: 440px; padding: 0 !important; overflow: hidden; }
.entry-content .mpe-rejoindre .mpe-rejoindre__visuel figure { position: absolute; inset: 0; margin: 0 !important; }
.entry-content .mpe-rejoindre .mpe-rejoindre__visuel img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
@media (max-width: 781px) {
	.entry-content .mpe-rejoindre > .wp-block-columns { flex-direction: column-reverse; }
	.entry-content .mpe-rejoindre .mpe-rejoindre__visuel { min-height: 260px; }
	.entry-content .mpe-rejoindre .mpe-rejoindre__texte { padding: 40px 20px !important; }
	.entry-content .mpe-rejoindre .wp-block-button__link { min-height: 50px; padding: 0 24px; }
}
.entry-content .mpe-rejoindre .mpe-rejoindre__texte { background: #000034; }
/* 27/11 — maquette Figma (MPE – DIGITAL, nœud 3236-15160) : un seul bandeau bleu nuit, la photo occupe les deux tiers
   de droite et se fond dans le nuit vers la gauche ; titre en capitales sur deux lignes, surtitre blanc, boutons roses. */
@media (min-width: 782px) {
	.entry-content .mpe-rejoindre > .wp-block-columns { position: relative; isolation: isolate; min-height: 480px; background: #000034; }
	.entry-content .mpe-rejoindre > .wp-block-columns > .mpe-rejoindre__texte { position: relative; z-index: 1; flex: 0 1 54% !important; padding: 72px 40px 72px max(40px, calc((100% - 1200px) / 2)) !important; background: transparent; }
	.entry-content .mpe-rejoindre .mpe-rejoindre__visuel { position: absolute !important; inset: 0 0 0 auto; z-index: -1; width: 66%; min-height: 0; overflow: visible; }
	.entry-content .mpe-rejoindre .mpe-rejoindre__visuel figure { overflow: hidden; }
	.entry-content .mpe-rejoindre .mpe-rejoindre__visuel img { object-position: 50% 22%; } /* photo du stand (portrait) : têtes des supporters et camion visibles */
	.entry-content .mpe-rejoindre .mpe-rejoindre__visuel::after {
		content: ""; position: absolute; inset: 0 0 0 -2px; pointer-events: none; /* -2px : pas de liseré au bord gauche de la photo */
		background: linear-gradient(90deg, #000034 0%, #000034 2%, rgba(0, 0, 52, .82) 22%, rgba(0, 0, 52, .45) 48%, rgba(0, 0, 52, .12) 75%, rgba(0, 0, 52, 0) 100%);
	}
}
.entry-content .mpe-rejoindre .mpe-rejoindre__surtitre { color: #fff; }
.entry-content .mpe-rejoindre .mpe-rejoindre__titre {
	font-family: Toroka, Helvetica, Arial, sans-serif; font-weight: 700; text-transform: uppercase;
	font-size: clamp(36px, 4.4vw, 60px); line-height: .98; max-width: 9em;
}
.entry-content .mpe-rejoindre .mpe-rejoindre__intro { color: rgba(255, 255, 255, .88); }
.entry-content .mpe-rejoindre .wp-block-button__link { min-height: 52px; padding: 0 28px; background: #FF00A3; color: #fff; }
.entry-content .mpe-rejoindre .wp-block-button__link:hover,
.entry-content .mpe-rejoindre .wp-block-button__link:focus-visible { background: #fff; color: #000034; }
.entry-content .mpe-rejoindre .wp-block-button__link:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 781px) {
	.entry-content .mpe-rejoindre .mpe-rejoindre__visuel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 52, 0) 55%, #000034 100%); pointer-events: none; }
	.entry-content .mpe-rejoindre .mpe-rejoindre__texte { padding-top: 24px !important; }
}

/* « Rejoindre l'aventure » juste avant le bandeau Partenaires (au plus un espaceur entre les deux) :
   pas de marge, pas d'espaceur ni de filet, les partenaires suivent directement. */
.entry-content > .mpe-rejoindre:has(+ .mpe-partenaires-bandeau),
.entry-content > .mpe-rejoindre:has(+ :is(.wp-block-spacer, .wp-block-group:not(:has(> :not(.wp-block-spacer)))) + .mpe-partenaires-bandeau) { margin-bottom: 0 !important; }
.entry-content > .mpe-rejoindre + :is(.wp-block-spacer, .wp-block-group:not(:has(> :not(.wp-block-spacer)))):has(+ .mpe-partenaires-bandeau) { display: none !important; }
.entry-content > .mpe-rejoindre + .mpe-partenaires-bandeau > .wp-block-group > .wp-block-spacer:first-child,
.entry-content > .mpe-rejoindre + .mpe-partenaires-bandeau > .wp-block-group > .ub_divider,
.entry-content > .mpe-rejoindre + :is(.wp-block-spacer, .wp-block-group) + .mpe-partenaires-bandeau > .wp-block-group > .wp-block-spacer:first-child,
.entry-content > .mpe-rejoindre + :is(.wp-block-spacer, .wp-block-group) + .mpe-partenaires-bandeau > .wp-block-group > .ub_divider { display: none !important; }
/* Mobile : le bandeau Partenaires (groupe pleine largeur) débordait de 20px à droite (défilement horizontal). */
@media (max-width: 921px) {
	.entry-content > .mpe-partenaires-bandeau > .wp-block-group.alignfull { margin-left: 0 !important; margin-right: 0 !important; width: auto !important; max-width: 100% !important; }
}

/* -------------------------------------------------------------------------
 * Sous-menus de l'en-tête (ordinateur, et copie fixe au défilement) : cadre arrondi à fin contour,
 * éléments arrondis ; survol et page en cours : fond bleu clair, texte bleu (pas de chevron : il laissait croire à un sous-sous-menu).
 * ---------------------------------------------------------------------- */
:is(#ast-desktop-header, #ast-fixed-header) .main-header-menu .sub-menu {
	width: max-content; /* chaque intitulé sur une ligne */
	min-width: 240px;
	max-width: 340px;
	margin-top: -16px; /* plus près de l'entrée du menu (Astra le place au bas de l'en-tête) */
	padding: 8px !important;
	border: 1px solid #dfe3ea !important;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 16px 32px -16px rgba(0, 0, 52, .22);
}
:is(#ast-desktop-header, #ast-fixed-header) .main-header-menu .sub-menu .menu-item { margin: 0; border: 0; }
:is(#ast-desktop-header, #ast-fixed-header) .main-header-menu .sub-menu .menu-item + .menu-item { margin-top: 2px; }
:is(#ast-desktop-header, #ast-fixed-header) .main-header-menu .sub-menu .menu-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 14px !important;
	border-radius: 10px;
	background: transparent;
	color: #000034;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none !important; /* pas de soulignement au survol (règle globale des liens) */
	transition: background-color .15s, color .15s;
}
:is(#ast-desktop-header, #ast-fixed-header) .main-header-menu .sub-menu .menu-item:is(:hover, .focus, .current-menu-item) > .menu-link,
:is(#ast-desktop-header, #ast-fixed-header) .main-header-menu .sub-menu .menu-link:focus-visible {
	background: #e7edfe;
	color: #1f53f3;
}

/* Page Offres : onglets (Ultimate Blocks) juste avant le bandeau Partenaires, avec au plus un espaceur entre les deux :
   pas de marge en plus sous les tuiles (le bandeau a déjà son propre espace en haut). */
.entry-content > .wp-block-ub-tabbed-content:is(:has(+ .mpe-partenaires-bandeau), :has(+ .wp-block-spacer + .mpe-partenaires-bandeau)) { margin-bottom: 0 !important; }
.entry-content > .wp-block-ub-tabbed-content:is(:has(+ .mpe-partenaires-bandeau), :has(+ .wp-block-spacer + .mpe-partenaires-bandeau)) .wp-block-ub-tabbed-content-tabs-content { padding-bottom: 0 !important; }

/* Fiche partenaire : pas d'espaceur de 40 px entre les offres et le bandeau « Partenaires » (marge jugée trop grande). */
body.single-partenaire .wp-block-spacer:has(+ .mpe-partenaires-bandeau) { display: none; }

/* Kit média partenaires : contenu sur la même colonne que l'introduction (1 000 px, alignée à gauche, sous le titre du bandeau). */
.entry-content .mpe-kit-partenaires > * { max-width: 1000px !important; margin-left: 0 !important; margin-right: auto !important; }
.entry-content .mpe-kit-partenaires { padding-left: 0 !important; padding-right: 0 !important; }
/* … et le même espace avant le bandeau « Partenaires » que sur les autres pages (≈ 157 px → ≈ 57 px). */
.entry-content .mpe-kit-partenaires + .wp-block-spacer:has(+ .mpe-partenaires-bandeau) { display: none; }


/* Bandeau « Partenaires » : sans le petit trait rose sous le titre (ni la marge prévue pour lui). */
.mpe-partenaires-bandeau .wp-block-group:has(> .logo-partner) > h2::after { content: none; }
.mpe-partenaires-bandeau .wp-block-group:has(> .logo-partner) > h2 { padding-bottom: 0; margin-bottom: 24px !important; }

/* Sous-menu de l'en-tête, survol (maquette) : fond bleu clair, texte bleu et chevron › à droite qui apparaît. */
:is(#ast-desktop-header, #ast-fixed-header) .main-header-menu .sub-menu .menu-link::after {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
	opacity: 0;
	transform: translateX(-4px);
	transition: opacity .15s, transform .15s;
}
:is(#ast-desktop-header, #ast-fixed-header) .main-header-menu .sub-menu .menu-item:is(:hover, .focus) > .menu-link,
:is(#ast-desktop-header, #ast-fixed-header) .main-header-menu .sub-menu .menu-link:focus-visible { background: #dde9ff; color: #1d49f1; }
:is(#ast-desktop-header, #ast-fixed-header) .main-header-menu .sub-menu .menu-item:is(:hover, .focus) > .menu-link::after,
:is(#ast-desktop-header, #ast-fixed-header) .main-header-menu .sub-menu .menu-link:focus-visible::after { opacity: 1; transform: none; }
:is(#ast-desktop-header, #ast-fixed-header) .main-header-menu .sub-menu .menu-link { padding: 13px 14px 13px 16px !important; }
/* Couleurs relevées sur la maquette : fond #dde9ff, texte et chevron #1d49f1, texte au repos #00002e, cadre #d4d4d4. */
:is(#ast-desktop-header, #ast-fixed-header) .main-header-menu .sub-menu { border-color: #d4d4d4 !important; }
:is(#ast-desktop-header, #ast-fixed-header) .main-header-menu .sub-menu .menu-link { color: #00002e; }
:is(#ast-desktop-header, #ast-fixed-header) .main-header-menu .sub-menu .menu-item.current-menu-item:not(:hover):not(.focus) > .menu-link { background: #dde9ff; color: #1d49f1; }

/* Une règle du Customizer (CSS additionnel) force le bleu nuit sur tous les liens du menu, survol compris
   (« header .main-navigation .menu-item a:hover { color: … !important } ») : on la passe pour le sous-menu. */
header .main-navigation :is(#ast-desktop-header, #ast-fixed-header) .main-header-menu .sub-menu .menu-item:is(:hover, .focus, .current-menu-item) > a.menu-link,
header .main-navigation :is(#ast-desktop-header, #ast-fixed-header) .main-header-menu .sub-menu a.menu-link:focus-visible,
:is(#ast-desktop-header, #ast-fixed-header) .main-header-menu .sub-menu .menu-item:is(:hover, .focus, .current-menu-item) > a.menu-link,
:is(#ast-desktop-header, #ast-fixed-header) .main-header-menu .sub-menu a.menu-link:focus-visible { color: #1d49f1 !important; background: #dde9ff !important; }

/* -------------------------------------------------------------------------
 * Drapeau du pays devant un lieu (mpe_drapeau() : bandeau, calendrier, fiche course, accueil)
 * ---------------------------------------------------------------------- */
.mpe-drapeau {
	/* Hauteur ≈ celle des capitales, posé sur la ligne de base : aligné sur « France » quelle que soit la taille du texte. */
	display: inline-block; flex: none; width: 1.08em; height: .72em; margin-right: .4em;
	border-radius: 2px; overflow: hidden; vertical-align: baseline;
	box-shadow: 0 0 0 .5px rgba(0, 0, 52, .22);
}
.mpe-drapeau svg { display: block; width: 100%; height: 100%; }

/* « (engagement 12 mois) » après le prix d'un abonnement mensuel (mu-plugins/mpe-engagement.php). */
.mpe-engagement-mention { font-size: .85em; font-weight: 500; white-space: nowrap; }

/* Message panier (champ « Message panier » de la fiche produit) */
.woocommerce .mpe-message-panier p, .mpe-message-panier p { margin: 0; line-height: inherit; }
/* La règle mobile « .wp-block-group p { font-size: 18px !important } » grossissait le texte à la validation. */
.wp-block-group .mpe-message-panier p, .mpe-message-panier p { font-size: inherit !important; }
.mpe-message-panier p + p { margin-top: 6px; }
.mpe-message-panier a { text-decoration: underline; }

/* Les lanceurs : photos (maquette Figma « zigzag ») et alternance photo à gauche / à droite */
.mpe-lanceur-photo img { display: block; border-radius: 16px; }
.mpe-lanceur-photo { position: relative; }
/* Rôle en texte vertical sur la photo (comme « Pro Team 2026 » sur les cartes de l'équipe) */
.mpe-lanceur-mention { position: absolute; top: 18px; left: 12px; z-index: 1; writing-mode: vertical-rl; transform: rotate(180deg); font-family: "Plus Jakarta Sans", sans-serif; font-size: 12px; font-weight: 600; line-height: 1; text-transform: uppercase; color: rgba(255, 255, 255, .8); pointer-events: none; }
@media (min-width: 782px) {
	/* Photo (300 px) + texte sur toute la largeur du contenu (comme le bandeau Partenaires), même écart des deux côtés */
	.mpe-lanceur { column-gap: 64px; padding-left: 0 !important; padding-right: 0 !important; }
	.mpe-lanceur > .wp-block-column:first-child { flex: 0 0 300px !important; }
	.mpe-lanceur > .wp-block-column:first-child > .wp-block-group { padding-left: 0 !important; padding-right: 0 !important; }
	.mpe-lanceur > .wp-block-column:last-child { flex: 1 1 0 !important; }
	.mpe-lanceur:nth-child(even of .mpe-lanceur) { flex-direction: row-reverse; }
}

/* Page « Les lanceurs » : lien LinkedIn en gélule (fin contour). Typo, couleur et icône inchangées : CSS additionnel
   du Customizer (.mpe-lanceur .mpe-button-linkedin a et son ::before). */
.entry-content .mpe-lanceur .mpe-button-linkedin a,
.entry-content .mpe-lanceur .mpe-button-linkedin a:visited {
	align-items: center;
	gap: 6px;
	padding: 8px 20px 8px 14px;
	border: 1px solid #dcdfe6;
	border-radius: 999px;
	line-height: 1.2;
	transition: border-color .15s, opacity .15s;
}
.entry-content .mpe-lanceur .mpe-button-linkedin a:hover,
.entry-content .mpe-lanceur .mpe-button-linkedin a:focus-visible { border-color: #1f53f3; opacity: 1; }
/* Icône plus petite, posée sur la ligne de base du texte (bas du « in » = bas des lettres). */
.entry-content .mpe-lanceur .mpe-button-linkedin a,
.entry-content .mpe-lanceur .mpe-button-linkedin a:visited { align-items: baseline; }
.entry-content .mpe-lanceur .mpe-button-linkedin a::before {
	content: ""; position: static; display: inline-block; flex: none; width: 14px; height: 14px; margin: 0; transform: none;
	background: url(/wp-content/uploads/2025/01/mpe_picto_linkedin_blue.svg) left bottom / contain no-repeat;
}

/* Page « Le concept » (le-projet, ID 136) : strates alignées sur l'intro et le bandeau Partenaires (1200px), comme
   « Les lanceurs ». Astra ajoute 48px de marge interne aux colonnes et groupes de premier niveau. */
@media (min-width: 1240px) {
	.page-id-136 .entry-content > .wp-block-columns.mpe-projet,
	.page-id-136 .entry-content > .wp-block-group:not(.alignfull):not(.mpe-intro) { padding-left: 0; padding-right: 0; }
}

/* Grilles de profils saisies en colonnes (« mpe-grille-equipe ») : pleine largeur du contenu (1200px), comme sur
   « Les pros » (où la marge est mise à 0 dans le bloc). Astra ajoute sinon 48px de chaque côté (page L'encadrement). */
.entry-content > .wp-block-columns.mpe-grille-equipe { padding-left: 0; padding-right: 0; }

/* Accueil — strate « Le projet » (maquette Figma « Le projet », groupe « Nos engagements », visiteurs) :
   photo arrondie à gauche, à droite surtitre rose, titre, 3 piliers (picto + titre + texte, séparés par un filet), bouton. */
.entry-content > .mpe-projet-home { padding: 96px 20px; }
.entry-content .mpe-projet-home__grille { max-width: 1200px; margin: 0 auto !important; gap: 80px; }
.entry-content .mpe-projet-home__visuel .wp-block-image { margin: 0; }
.entry-content .mpe-projet-home__visuel img { display: block; width: 100%; max-width: 520px; aspect-ratio: 520 / 600; height: auto; object-fit: cover; border-radius: 24px; }
.entry-content .mpe-projet-home__texte .mpe-kicker { margin: 0 0 8px !important; text-align: left; }
.entry-content .mpe-projet-home__texte > h2 { margin: 0 0 32px !important; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.15; text-align: left; }
.entry-content .mpe-projet-home__pilier { gap: 20px; margin: 0 !important; padding: 20px 0; border-bottom: 1px solid #e3e5ee; }
.entry-content .mpe-projet-home__pilier:has(+ .wp-block-buttons), .entry-content .mpe-projet-home__pilier:last-child { border-bottom: 0; }
.entry-content .mpe-projet-home__pilier > .wp-block-image { flex: none; margin: 2px 0 0 !important; }
.entry-content .mpe-projet-home__pilier img { width: 40px !important; height: 40px !important; object-fit: contain; }
.entry-content .mpe-projet-home__pilier h3 { margin: 0 0 6px !important; font-family: Toroka, Helvetica, Arial, sans-serif; font-weight: 700; font-size: clamp(22px, 2vw, 28px); line-height: 1.1; text-align: left; }
.entry-content .mpe-projet-home__pilier p { margin: 0 !important; font-size: 15px; line-height: 1.55; color: #4a4e69; text-align: left; }
.entry-content .mpe-projet-home__texte .wp-block-buttons { margin-top: 24px !important; justify-content: flex-start; }
@media (max-width: 781px) {
	.entry-content > .mpe-projet-home { padding: 56px 20px; }
	.entry-content .mpe-projet-home__grille { gap: 32px; }
	.entry-content .mpe-projet-home__visuel img { max-width: none; aspect-ratio: 4 / 3; border-radius: 16px; }
	.entry-content .mpe-projet-home__pilier { gap: 14px !important; padding: 16px 0; } /* un style mobile remettait l’écart à 0 : picto collé au titre */
	.entry-content .mpe-projet-home__pilier img { width: 34px !important; height: 34px !important; }
}

/* Accueil : séparateur gris sur toute la largeur entre la strate boutique et la strate « Une question ? ». */
.entry-content .mpe-home-shop + .mpe-question-home { position: relative; }
.entry-content .mpe-home-shop + .mpe-question-home::before {
	content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: #e3e6ef;
	border-image: conic-gradient(#e3e6ef 0 0) fill 0 // 0 100vmax; pointer-events: none; /* trait pleine largeur, léger à peindre */
}
/* … et le surtitre « Contact » plus près du trait (72 px au lieu de 128). */
.entry-content .mpe-home-shop + .mpe-question-home > .mpe-kicker:first-child { margin-top: 24px !important; }
/* « Une question ? » : texte d'intro moins grand et interlignage plus serré (24 px / 1,65 → 20 px / 1,5), titre plus proche. */
.entry-content .mpe-question-home > .wp-block-heading { margin-bottom: 16px !important; }
.entry-content .mpe-question-home > p:not(.mpe-kicker) { font-size: 20px !important; line-height: 1.5 !important; }
@media (max-width: 544px) { .entry-content .mpe-question-home > p:not(.mpe-kicker) { font-size: 18px !important; } }
.entry-content .mpe-question-home > p:not(.mpe-kicker) { text-wrap: balance; }

/* « Une question ? » : apparition décalée puis le « ? » bascule une fois (inc/projet-piliers.php) */
.mpe-question-home__bascule { display: inline-block; transform-origin: 50% 85%; }
@media (prefers-reduced-motion: no-preference) {
	.mpe-question-home.is-pret > * { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
	.mpe-question-home.is-visible > * { opacity: 1; transform: none; }
	.mpe-question-home.is-visible > :nth-child(2) { transition-delay: .1s; }
	.mpe-question-home.is-visible > :nth-child(3) { transition-delay: .2s; }
	.mpe-question-home.is-visible > :nth-child(n+4) { transition-delay: .3s; }
	.mpe-question-home.is-visible .mpe-question-home__bascule { animation: mpe-bascule 4s .7s ease-in-out infinite; /* balancier d'environ 1 s, puis 3 s de pause */ }
}
@keyframes mpe-bascule {
	0%   { transform: rotate(0); }
	6%   { transform: rotate(18deg); }
	12%  { transform: rotate(-10deg); }
	18%  { transform: rotate(5deg); }
	23%  { transform: rotate(-2deg); }
	27%, 100% { transform: rotate(0); }
}

/* Bandeau partenaires en mobile : marges latérales réduites pour laisser de la place aux logos */
@media (max-width: 700px) {
	.mpe-partenaires-bandeau .wp-block-group.is-layout-constrained:not(.alignfull):not(.logo-partner) { padding-left: 20px !important; padding-right: 20px !important; }
	.mpe-partenaires-bandeau .wp-block-group.logo-partner { padding-left: 0 !important; padding-right: 0 !important; }
}

/* 22/11 : surtitre « Contact » du bloc « Une question ? » en rose. */
.entry-content .mpe-question-home .mpe-kicker { color: #FF00A3 !important; }

/* 22/11 : bandeau partenaires, « Les équipiers de luxe » (2e groupe de logos) : largeur max pour que les logos très
   larges (ex. Tikehau Capital) ne prennent pas trop de place ; hauteur réduite d'autant, proportions gardées. */
.mpe-partenaires-bandeau .logo-partner ~ .logo-partner:not(.logo-partner ~ .logo-partner ~ .logo-partner) img { width: auto !important; max-width: 160px !important; height: auto !important; max-height: var(--mpe-pb-logo-h); object-fit: contain; } /* 26/11 : max-height = hauteur du niveau (48 px ordinateur, 30 px mobile ; avant : 48 px partout, plus grand que les 7 Majeurs sur mobile) */
@media (max-width: 700px) {
	.mpe-partenaires-bandeau .logo-partner ~ .logo-partner:not(.logo-partner ~ .logo-partner ~ .logo-partner) img { max-width: 120px !important; }
}

/* 25/11 : tablette de chocolat à côté d'une 4e place (mpe_calendrier_rang(), inc/calendrier.php). */
.mpe-medaille-chocolat { display: inline-flex; margin-left: .2em; vertical-align: -.35em; line-height: 0; }
.mpe-medaille-chocolat svg { display: block; width: 1.5em; height: 1.5em; }
/* 25/11 : sur l'accueil, le rang est en très grand : la tablette reste petite, alignée en haut comme l'exposant. */
.mpe-ht2-result__rang .mpe-medaille-chocolat { margin-left: .08em; vertical-align: baseline; } /* 25/11 : posée sur la ligne du chiffre */
.mpe-ht2-result__rang .mpe-medaille-chocolat svg { width: .38em; height: .38em; }

/* 25/11 : œil des champs mot de passe (WooCommerce) : la police d'icônes WooCommerce dessinait un demi-œil.
   Remplacé par un œil / œil barré en trait, couleur du texte (mask : suit currentColor). */
.show-password-input::after { content: none !important; display: none !important; }
.show-password-input::before {
	content: "" !important;
	display: block !important;
	width: 20px !important;
	height: 20px !important;
	background: currentColor !important;
	-webkit-mask: url('data:image/svg+xml,<svg 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"><path d="M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z"/><circle cx="12" cy="12" r="3"/></svg>') center / contain no-repeat;
	mask: url('data:image/svg+xml,<svg 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"><path d="M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z"/><circle cx="12" cy="12" r="3"/></svg>') center / contain no-repeat;
}
.show-password-input.display-password::before {
	-webkit-mask-image: url('data:image/svg+xml,<svg 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"><path d="M10.7 5.1A10.4 10.4 0 0 1 12 5c6.4 0 10 7 10 7a17.6 17.6 0 0 1-2.6 3.5M6.6 6.6C3.7 8.4 2 12 2 12s3.6 7 10 7a9.7 9.7 0 0 0 5.4-1.6"/><path d="M9.9 9.9a3 3 0 0 0 4.2 4.2"/><path d="M2 2l20 20"/></svg>');
	mask-image: url('data:image/svg+xml,<svg 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"><path d="M10.7 5.1A10.4 10.4 0 0 1 12 5c6.4 0 10 7 10 7a17.6 17.6 0 0 1-2.6 3.5M6.6 6.6C3.7 8.4 2 12 2 12s3.6 7 10 7a9.7 9.7 0 0 0 5.4-1.6"/><path d="M9.9 9.9a3 3 0 0 0 4.2 4.2"/><path d="M2 2l20 20"/></svg>');
}

/* =========================================================================
 * 26/11/2026 : champs de formulaire homogènes sur tout le site, sur le modèle de Mon compte :
 * bord fin gris clair, arrondi 10 px ; au focus, bord bleu + halo léger ; en erreur, bord rouge.
 * Contact (WPForms), connexion, mot de passe oublié, panier, validation de commande, Mon compte.
 * Les hauteurs propres à chaque formulaire ne changent pas. Exclus : recherches (pilules), quantités, cases.
 * ====================================================================== */
.wpforms-container .wpforms-form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input[type="date"], input[type="number"], textarea, select),
.woocommerce form :is(input.input-text, textarea, select):not(.qty),
.woocommerce-page form :is(input.input-text, textarea):not(.qty),
.woocommerce-account .woocommerce form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="url"], select),
.select2-container--default .select2-selection--single {
	border: 1px solid #d1d5db !important;
	border-radius: 10px !important;
	background-color: #fff;
	box-shadow: none;
	transition: border-color .15s, box-shadow .15s;
}
.wpforms-container .wpforms-form :is(input, textarea, select):focus,
.woocommerce form :is(input.input-text, textarea, select):not(.qty):focus,
.woocommerce-page form :is(input.input-text, textarea):not(.qty):focus,
.woocommerce-account .woocommerce form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="url"], select):focus,
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
	border-color: #1f53f3 !important;
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(31, 83, 243, .18) !important;
}
.wpforms-container .wpforms-form :is(input, textarea, select).wpforms-error,
.woocommerce form .woocommerce-invalid :is(input.input-text, select),
.woocommerce form .woocommerce-invalid .select2-selection--single { border-color: #dc2626 !important; }
/* Mot de passe avec bouton « afficher » : le bouton reste à l'intérieur du champ arrondi. */
.woocommerce form .password-input .input-text { border-radius: 10px !important; }

/* -------------------------------------------------------------------------
 * En-tête tablette (inc/entete-tablette.php) : l'en-tête mobile (burger) s'affiche jusqu'à 1199 px.
 * Astra montre / masque ses deux en-têtes à 921 px (réglage tablette) : on prolonge l'en-tête mobile jusqu'à 1199 px.
 * ---------------------------------------------------------------------- */
@media (min-width: 922px) and (max-width: 1199px) {
	#ast-desktop-header { display: none !important; }
	#ast-mobile-header { display: block !important; }
}

/* Panier et compte à côté du burger (ajoutés par inc/entete-tablette.php) */
#ast-mobile-header .site-header-primary-section-right { gap: 4px; }
#ast-mobile-header .ast-header-woo-cart,
#ast-mobile-header .ast-header-account { display: flex; align-items: center; }
#ast-mobile-header .ast-site-header-cart .ast-site-header-cart-data,
#ast-mobile-header .ast-header-account .ast-hb-account-login-wrapper { display: none !important; } /* pas de mini-panier ni de fenêtre de connexion au toucher : le lien mène à la page */
#ast-mobile-header .ast-header-account { padding: 0 !important; margin: 0 !important; }
#ast-mobile-header .ast-header-account-wrap { display: flex; align-items: center; min-width: 44px; min-height: 44px; justify-content: center; }
@media (max-width: 640px) {
	#ast-mobile-header .ast-header-account { display: none !important; } /* téléphone : pas la place à côté de « Soutenir » */
	#ast-mobile-header .ast-header-woo-cart:has([data-cart-total="0"]) { display: none !important; } /* panier vide : rien à afficher */
}
@media (max-width: 420px) { /* logo + panier + « Soutenir » + burger sur 390 px : on resserre */
	#ast-mobile-header .site-header-primary-section-right { gap: 0; }
	#ast-mobile-header .ast-header-woo-cart { margin-left: 8px; }
	#ast-mobile-header .mpe-soutenir-mobile__bouton { margin-right: 4px; padding: 8px 12px !important; }
}

/* Burger et croix de fermeture : icône 24 px (20 par défaut), zone de toucher 44 px */
#ast-mobile-header button.menu-toggle { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
#ast-mobile-header button.menu-toggle .ahfb-svg-iconset svg { width: 24px; height: 24px; }
/* Téléphone : logo un peu plus petit (52 px de haut par défaut) */
@media (max-width: 640px) {
	#ast-mobile-header .custom-logo-link img,
	#ast-mobile-header .custom-logo { width: auto !important; max-height: 42px !important; height: 42px !important; }
	#ast-mobile-header .main-header-menu { padding-bottom: 20px; } /* un peu d'air sous « La boutique », dernière entrée du menu */
}

/* « Soutenir l'équipe » en entier sur tablette, « Soutenir » sur téléphone */
.mpe-soutenir-mobile__suite { display: none; }
@media (min-width: 641px) {
	.mpe-soutenir-mobile__suite { display: inline; }
	#ast-mobile-header .mpe-soutenir-mobile__bouton { margin-left: 8px; padding: 10px 20px !important; font-size: 15px !important; }
}

/* Tablette : marges de l'en-tête et menu déroulant à la taille du doigt */
@media (min-width: 641px) and (max-width: 1199px) {
	#ast-mobile-header .site-primary-header-wrap { padding-inline: 20px !important; } /* même bord que le contenu des pages (Astra : 20 px) */
	#ast-mobile-header .ast-mobile-header-content {
		border-top: 1px solid #e6e8f0;
		box-shadow: 0 18px 32px rgba(0, 0, 52, .14);
		max-height: calc(100vh - 84px);
		max-height: calc(100dvh - 84px);
		overflow-y: auto;
		overscroll-behavior: contain;
	}
	#ast-mobile-header .main-header-menu { padding: 8px 0 16px; }
	#ast-mobile-header .main-header-menu > .menu-item { border: 0 !important; }
	#ast-mobile-header .main-header-menu > .menu-item + .menu-item { border-top: 1px solid #eef0f5 !important; }
	#ast-mobile-header .main-header-menu > .menu-item > .menu-link {
		display: flex; align-items: center; min-height: 58px;
		padding: 0 20px !important;
		font-size: 18px; font-weight: 600; line-height: 1.3; color: #00002e;
	}
	#ast-mobile-header .main-header-menu > .menu-item > .ast-menu-toggle {
		top: 7px !important; right: 16px !important; width: 44px; height: 44px;
	}
	#ast-mobile-header .main-header-menu .sub-menu { padding: 0 0 12px; background: transparent; }
	#ast-mobile-header .main-header-menu .sub-menu .menu-item { border: 0 !important; }
	#ast-mobile-header .main-header-menu .sub-menu .menu-link {
		display: flex; align-items: center; min-height: 46px;
		padding: 0 20px 0 36px !important;
		font-size: 16px; font-weight: 500; color: #3d3f5c;
	}
	#ast-mobile-header .main-header-menu .sub-menu .menu-link > .ast-icon { display: none; }
	#ast-mobile-header .main-header-menu .menu-item:is(.current-menu-item, .current-menu-ancestor) > .menu-link { color: #1f53f3; background: transparent; }
	#ast-mobile-header .main-header-menu .menu-link:focus-visible { outline: 2px solid #1f53f3; outline-offset: -2px; }
}
@media (min-width: 922px) and (max-width: 1199px) {
	#ast-mobile-header .site-primary-header-wrap { padding-inline: 35px !important; } /* comme l'en-tête ordinateur */
	#ast-mobile-header .main-header-menu > .menu-item > .menu-link { padding-inline: 35px !important; }
	#ast-mobile-header .main-header-menu .sub-menu .menu-link { padding-left: 51px !important; }
}

/* Pages « Le concept » / « Les lanceurs » (colonnes .mpe-projet) sur tablette portrait : image et texte côte à côte,
   comme sur ordinateur. Empilées sous 782 px (WordPress), les photos faisaient ~670 px de haut chacune. */
@media (min-width: 641px) and (max-width: 781px) {
	.entry-content > .wp-block-columns.mpe-projet { flex-wrap: nowrap !important; align-items: center !important; gap: 32px; }
	.entry-content > .wp-block-columns.mpe-projet > .wp-block-column { flex-basis: 0 !important; flex-grow: 1; min-width: 0; }
	.entry-content > .wp-block-columns.mpe-projet img { width: 100%; height: auto; }
}

/* -------------------------------------------------------------------------
 * Titres : niveaux corrigés (RGAA 9.1), apparence d'origine conservée
 * ------------------------------------------------------------------------- */

/* Pages de texte (accessibilité, CGV, mentions, confidentialité) : classes posées dans le contenu */
.entry-content .mpe-titre-texte,   /* ancien h4 */
.entry-content .mpe-titre-sous {
	margin: 0 0 20px; padding: 0; color: #000034; font-family: Toroka, Helvetica, Arial, sans-serif;
	font-size: 20px; font-weight: 700; line-height: 1.2; letter-spacing: normal; text-transform: none;
}
.entry-content .mpe-titre-sous { font-size: 18px; }
.entry-content .mpe-titre-partie { /* ancien h3 */
	margin: 0 0 20px; padding: 0; color: #000034; font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 32px; font-weight: 700; line-height: 1.3; letter-spacing: normal; text-transform: none;
}
@media (max-width: 921px) {
	.entry-content .mpe-titre-texte,
	.entry-content .mpe-titre-partie { font-size: 18.24px; }
	.entry-content .mpe-titre-sous { font-size: 17px; }
}

/* FAQ : questions en h2 (ancien h4, inc/titres-accessibilite.php) */
.wp-block-ub-content-toggle-accordion-title-wrap h2.wp-block-ub-content-toggle-accordion-title {
	margin: 0; padding: 0; color: #000034; font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 18px; font-weight: 700; line-height: 1.4; letter-spacing: normal; text-transform: none;
}

/* Offres : prix des formules en paragraphe (ancien h4, inc/titres-accessibilite.php) */
/* !important et « .wp-block-group p » : passe devant les règles des paragraphes du CSS additionnel
   (« .wp-block-group p { font-size: 18px !important } », marge du bas) */
p.mpe-prix-formule,
.wp-block-group p.mpe-prix-formule {
	margin: 0 !important; padding: 0; color: #000034; font-family: Toroka, Helvetica, Arial, sans-serif;
	font-size: 30px !important; font-weight: 700; line-height: 1;
}
.mpe-products-monthly .mpe-prix-formule::after { content: " HT / mois"; font-size: 18px; }
.mpe-products-every-3-months .mpe-prix-formule::after { content: " HT / trimestre"; font-size: 14px; }
.mpe-products-yearly .mpe-prix-formule::after { content: " HT / an"; font-size: 18px; }
.mpe-products-monthly-perso .mpe-prix-formule::after { content: " TTC / mois"; font-size: 18px; }
.mpe-products-yearly-perso .mpe-prix-formule::after { content: " TTC / an"; font-size: 18px; }

/* Fiche partenaire : <main> autour de la mise en page Astra Pro (inc/regions-accessibilite.php), pleine largeur dans le conteneur flex */
.mpe-main-modele { display: block; flex: 1 1 100%; width: 100%; min-width: 0; }

/* 29/11 : drapeau après le pays dans les lignes « Ville · Pays » (bandeau, accueil), comme les cartes du calendrier.
   Marge à gauche sur la pastille (overflow: hidden) et pas sur le SVG, qui serait rogné. Reste devant le pays quand il est seul (tuile « Pays »). */
.mpe-bandeau__detail .mpe-drapeau,
.mpe-ht2-agenda__infos .mpe-drapeau,
.mpe-ht2-result__detail .mpe-drapeau { margin: 0 0 0 .4em; }
.mpe-ht2-agenda__infos .mpe-drapeau svg,
.mpe-ht2-result__detail .mpe-drapeau svg { margin: 0; vertical-align: 0; }
.mpe-pays-drapeau { white-space: nowrap; } /* 29/11 : pays + drapeau insécables (mpe_lieu_drapeau()) */

/* 29/11 : bandeau d'information de la boutique (inc/boutique.php, mpe_boutique_bandeau_info) — page Boutique et panier. */
.mpe-bandeau-info { margin: 0 0 1.25rem; padding: 14px 20px; background: #F2F4F8; color: #000034; text-align: center; }
.mpe-bandeau-info p { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.45; letter-spacing: normal; }
.mpe-boutique-layout .mpe-shopnav + .mpe-bandeau-info { margin-top: 0; margin-inline: calc(-1 * var(--mpe-pad)); padding-inline: var(--mpe-pad); } /* collé sous la barre de navigation bleue, même largeur (pleine largeur) */
.mpe-bandeau-info--pleine { margin: 0 0 40px; } /* panier : pleine largeur sous l'en-tête, de l'air avant le panier */
@media (max-width: 640px) { .mpe-bandeau-info { padding: 12px 16px; } .mpe-bandeau-info p { font-size: 14px; } }

/* 29/11 : réassurance « pastilles » (panier sous « Valider la commande », fiche produit sous « Ajouter au panier »), comme celle de l'accueil boutique (pastille coche 32 px bleu pâle,
   titre gras marine, phrase grise), empilée dans le récapitulatif. */
.mpe-reassurance-pastilles { display: grid; gap: 14px; margin: 32px 0 0 !important; padding: 0; list-style: none; }
.mpe-reassurance-pastilles li { display: flex; align-items: center; gap: 14px; margin: 0; }
.mpe-reassurance-pastilles__pastille { flex: none; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #E1ECFF; color: #1F53F3; }
.mpe-reassurance-pastilles__texte { display: flex; flex-direction: column; gap: 2px; }
.mpe-reassurance-pastilles__cle { color: #000034; font-size: 15px; font-weight: 700; line-height: 1.25; }
.mpe-reassurance-pastilles__phrase { color: #384050; font-size: 13.5px; font-weight: 400; line-height: 1.4; }
/* Fiche produit : encadré gris sous le bouton, avantages empilés (trop serrés côte à côte dans la colonne). */
body.single-product .mpe-reassurance-pastilles--fiche { gap: 14px; margin: 32px 0 0 !important; padding: 20px 24px; border-radius: 12px; background: #F2F4F8; }
