/*
 * MAPROPHARM : styles du thème.
 * Toutes les couleurs, polices et tailles viennent des variables --mp-*,
 * calculées à partir des réglages (MAPROPHARM › Charte graphique).
 */

/* =========================================================
   1. Base
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: #fff;
	color: var(--mp-texte);
	font-family: var(--mp-police-texte);
	font-size: var(--mp-taille-texte);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg, video, iframe { max-width: 100%; }
img { height: auto; }

a { color: var(--mp-ptexte); text-underline-offset: 3px; }
a:hover { color: var(--mp-fonce); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--mp-police-titres);
	font-weight: var(--mp-graisse-titres);
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--mp-texte);
	margin: 0 0 .5em;
	text-wrap: balance;
}

p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--mp-principale); outline-offset: 2px; }
::selection { background: var(--mp-clair); color: var(--mp-fonce); }
input, textarea { caret-color: var(--mp-principale); }

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

a.mp-lien-evitement {
	position: absolute;
	left: 12px;
	top: -100px;
	z-index: 1000;
	background: var(--mp-fonce);
	color: #fff;
	padding: 12px 18px;
	border-radius: 10px;
	font-weight: 700;
	text-decoration: none;
}
a.mp-lien-evitement:focus { top: 12px; color: #fff; }

.mp-principal:focus { outline: none; }

/* =========================================================
   2. Mise en page
   ========================================================= */

.mp-conteneur { width: 100%; max-width: calc(var(--mp-largeur) + 48px); margin: 0 auto; padding: 0 24px; }
.mp-section { padding-top: 88px; padding-bottom: 96px; }
.mp-lecture { max-width: calc(760px + 48px); }

.mp-bandeau-page {
	background-image: linear-gradient(100deg, var(--mp-fonce) 0%, var(--mp-degrade) 100%);
	color: #fff;
	padding: 64px 0 72px;
}
.mp-bandeau-titre { color: inherit; font-size: var(--mp-h1-int); margin: 0; line-height: 1.1; }
.mp-bandeau-page .mp-bandeau-titre { color: #fff; }
.mp-bandeau-meta, .mp-bandeau-intro { color: rgba(255, 255, 255, .8); margin: 0 0 12px; }
.mp-bandeau-meta a { color: inherit; }

.mp-contenu-texte { padding: 56px 0 72px; font-size: 17px; line-height: 1.7; }
.mp-contenu-texte h2 { font-size: calc(var(--mp-h2) * .75); margin-top: 1.6em; }
.mp-contenu-texte h3 { font-size: var(--mp-h3); margin-top: 1.4em; }
.mp-contenu-texte img { border-radius: var(--mp-rayon); }
.mp-contenu-texte blockquote { margin: 1.5em 0; padding: 20px 24px; background: var(--mp-fond); border-radius: var(--mp-rayon); color: var(--mp-texte); font-size: 1.1em; }

/* =========================================================
   3. Boutons
   ========================================================= */

a.mp-bouton,
button.mp-bouton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 13px 22px;
	border-radius: var(--mp-rayon-bouton);
	background: var(--mp-accent);
	color: #fff;
	font-family: var(--mp-police-texte);
	font-weight: 700;
	font-size: 15px;
	line-height: 1.2;
	text-decoration: none;
	border: 0;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
a.mp-bouton:hover, a.mp-bouton:focus { background: var(--mp-fonce); color: #fff; }
a.mp-bouton:active { transform: translateY(1px); }
a.mp-bouton--blanc, .mp-pied a.mp-bouton--blanc { background: #fff; color: var(--mp-fonce); }
a.mp-bouton--blanc:hover, a.mp-bouton--blanc:focus, .mp-pied a.mp-bouton--blanc:hover, .mp-pied a.mp-bouton--blanc:focus { background: var(--mp-clair); color: var(--mp-fonce); }

/* Variantes pour le widget « Bouton » d'Elementor (classe CSS du widget) */
.elementor-button { transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease; }
.elementor-button:active { transform: translateY(1px); }
.mp-btn-contour-clair .elementor-button { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .4); }
.mp-btn-contour-clair .elementor-button:hover,
.mp-btn-contour-clair .elementor-button:focus { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }
.mp-btn-contour .elementor-button { background: transparent; color: var(--mp-ptexte); border: 1.5px solid var(--mp-principale); }
.mp-btn-contour .elementor-button:hover,
.mp-btn-contour .elementor-button:focus { background: var(--mp-clair); color: var(--mp-psombre); }
.mp-btn-blanc .elementor-button { background: #fff; color: var(--mp-fonce); }
.mp-btn-blanc .elementor-button:hover,
.mp-btn-blanc .elementor-button:focus { background: var(--mp-clair); color: var(--mp-fonce); }
.mp-btn-petit .elementor-button { padding: 10px 16px; font-size: 14px; border-radius: calc(var(--mp-rayon-bouton) * .85); }
.mp-btn-icone .elementor-button-icon svg { width: 18px; height: 18px; }
.mp-btn-plein .elementor-button { width: 100%; justify-content: center; }

/* =========================================================
   4. En-tête
   ========================================================= */

.mp-entete { position: relative; z-index: 100; }

.mp-barre-infos { background: var(--mp-nuit); color: rgba(255, 255, 255, .85); font-size: 13px; }
.mp-barre-infos-ligne { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 24px; padding-top: 9px; padding-bottom: 9px; }
.mp-infos, .mp-infos-liens { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.mp-infos li { display: flex; align-items: center; gap: 7px; }
.mp-infos svg { width: 14px; height: 14px; color: var(--mp-doux); flex: none; }
.mp-barre-infos a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.mp-barre-infos a:hover { color: #fff; text-decoration: underline; }

.mp-entete-principal { background: #fff; border-bottom: 1px solid var(--mp-bordure); }
.mp-entete-ligne { display: flex; align-items: center; gap: 20px; min-height: 76px; padding-top: 12px; padding-bottom: 12px; }

.mp-marque { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.mp-logo-img { height: var(--mp-hauteur-logo); width: auto; display: block; }
.mp-logo-texte { font-family: var(--mp-police-titres); font-weight: 800; font-size: 26px; color: var(--mp-principale); letter-spacing: -0.02em; }
.mp-slogan { border-left: 1px solid var(--mp-bordure); padding-left: 12px; font-size: 12px; line-height: 1.3; color: var(--mp-gris); font-weight: 500; max-width: 120px; }

.mp-nav { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; }
.mp-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.mp-menu > li { position: relative; display: flex; align-items: center; }
.mp-menu a {
	display: block;
	padding: 10px 11px;
	border-radius: 8px;
	color: var(--mp-texte);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}
.mp-menu > li > a:hover,
.mp-menu > li:focus-within > a { background: var(--mp-clair); color: var(--mp-psombre); }
.mp-menu .current-menu-item > a,
.mp-menu .current-menu-ancestor > a,
.mp-menu .current-menu-parent > a { color: var(--mp-ptexte); font-weight: 700; }

button.mp-sous-menu-bouton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 32px;
	margin-left: -8px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--mp-texte);
	cursor: pointer;
	border-radius: 6px;
}
button.mp-sous-menu-bouton svg { transition: transform .2s ease; }
button.mp-sous-menu-bouton[aria-expanded="true"] svg { transform: rotate(180deg); }

.mp-menu .sub-menu {
	list-style: none;
	margin: 0;
	padding: 8px;
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	min-width: 280px;
	width: max-content;
	max-width: 420px;
	background: #fff;
	border: 1px solid var(--mp-bordure);
	border-radius: 14px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
	z-index: 20;
}
.mp-menu .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.mp-menu .sub-menu a { padding: 11px 14px; font-size: 15px; border-radius: 10px; white-space: normal; }
.mp-menu .sub-menu a:hover { background: var(--mp-clair); color: var(--mp-psombre); }
.mp-menu .sub-menu .current-menu-item > a { background: var(--mp-clair); color: var(--mp-psombre); }
.mp-menu li:hover > .sub-menu,
.mp-menu li:focus-within > .sub-menu,
.mp-menu li.mp-ouvert > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.mp-menu-vide { font-size: 14px; }

.mp-entete-actions { display: flex; align-items: center; gap: 10px; flex: none; }

button.mp-burger {
	display: none;
	width: 46px;
	height: 46px;
	border: 1.5px solid var(--mp-bordure);
	border-radius: 10px;
	background: #fff;
	color: var(--mp-texte);
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
}
.mp-burger-barres { display: flex; flex-direction: column; gap: 4px; width: 20px; }
.mp-burger-barres span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.mp-burger[aria-expanded="true"] .mp-burger-barres span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mp-burger[aria-expanded="true"] .mp-burger-barres span:nth-child(2) { opacity: 0; }
.mp-burger[aria-expanded="true"] .mp-burger-barres span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Survol des boutons du menu (Elementor colore tous les <button> au survol) */
button.mp-sous-menu-bouton:hover,
button.mp-sous-menu-bouton:focus { background: var(--mp-clair); color: var(--mp-psombre); }
button.mp-burger:hover,
button.mp-burger:focus { background: var(--mp-clair); color: var(--mp-texte); }
.mp-entete--sombre button.mp-burger:hover,
.mp-entete--sombre button.mp-sous-menu-bouton:hover { background: rgba(255, 255, 255, .1); color: #fff; }
button.mp-zoom-fermer:hover { background: #fff; color: #111; }

/* Modèle « moderne » : menu et bouton groupés à droite */
.mp-entete--droite .mp-nav { justify-content: flex-end; }

/* Modèle « centré » : logo au centre, menu en dessous */
@media (min-width: 1025px) {
	.mp-entete--centre .mp-entete-ligne { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: ". marque actions" "nav nav nav"; row-gap: 6px; }
	.mp-entete--centre .mp-marque { grid-area: marque; justify-self: center; }
	.mp-entete--centre .mp-entete-actions { grid-area: actions; justify-self: end; }
	.mp-entete--centre .mp-nav { grid-area: nav; border-top: 1px solid var(--mp-bordure); padding-top: 8px; }
}

/* Modèle « sombre » */
.mp-entete--sombre .mp-entete-principal { background: var(--mp-fonce); border-bottom-color: rgba(255, 255, 255, .08); }
.mp-entete--sombre .mp-menu > li > a,
.mp-entete--sombre button.mp-sous-menu-bouton { color: #fff; }
.mp-entete--sombre .mp-menu > li > a:hover,
.mp-entete--sombre .mp-menu > li:focus-within > a { background: rgba(255, 255, 255, .1); color: #fff; }
.mp-entete--sombre .mp-menu .current-menu-item > a,
.mp-entete--sombre .mp-menu .current-menu-ancestor > a { color: var(--mp-doux); }
.mp-entete--sombre .mp-slogan { color: rgba(255, 255, 255, .7); border-left-color: rgba(255, 255, 255, .2); }
.mp-entete--sombre button.mp-burger { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .25); }

.mp-pied .mp-logo-texte,
.mp-entete--sombre .mp-logo-texte { color: #fff; }

/* Logo sur fond foncé sans version claire : pastille blanche */
.mp-logo-pastille { background: #fff; border-radius: 12px; padding: 6px 10px; box-sizing: content-box; }

/* En-tête qui reste visible. « Seulement le menu » : la barre d'infos défile,
   la barre du menu reste en haut (--mp-h-infos est mesurée par le script). */
.mp-collant-toujours .mp-entete { position: sticky; top: 0; transition: box-shadow .2s ease-out; }
.admin-bar.mp-collant-toujours .mp-entete { top: 32px; }
.mp-collant-toujours.mp-fixe-menu .mp-entete { top: calc(-1 * var(--mp-h-infos, 0px)); }
.admin-bar.mp-collant-toujours.mp-fixe-menu .mp-entete { top: calc(32px - var(--mp-h-infos, 0px)); }
.mp-defile .mp-entete { box-shadow: 0 6px 20px rgba(0, 0, 0, .08); }

/* =========================================================
   5. Pied de page
   ========================================================= */

.mp-pied { background: var(--mp-nuit); color: rgba(255, 255, 255, .72); font-size: 14px; line-height: 1.6; }
.mp-pied a { color: rgba(255, 255, 255, .85); }
.mp-pied a:hover { color: #fff; }

.mp-pied-colonnes { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.mp-pied-marque { display: flex; flex-direction: column; gap: 14px; }
.mp-pied-marque .mp-logo-img { height: 40px; }
.mp-pied-marque p { margin: 0; }
.mp-pied-coordonnees { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.mp-pied-coordonnees a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); display: inline-block; padding: 3px 0; }
.mp-pied-titre { color: #fff; font-weight: 700; font-size: 15px; margin: 0 0 16px; }
.mp-pied-liens { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mp-pied-liens a { text-decoration: none; color: rgba(255, 255, 255, .72); display: inline-block; padding: 3px 0; }
.mp-pied-liens a:hover { color: #fff; text-decoration: underline; }

.mp-pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }
.mp-pied-bas p { margin: 0; }
.mp-pied-menu-ligne { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.mp-pied-menu-ligne a { text-decoration: none; }
.mp-reseaux { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; }
.mp-reseaux span { opacity: .5; }
.mp-reseaux a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); display: inline-block; padding: 3px 0; }

.mp-pied-simple { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 40px; padding-bottom: 28px; }
.mp-pied-simple .mp-logo-img { height: 36px; }

.mp-pied-appel {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 20px 32px;
	margin: 0 0 8px;
	padding: 36px 40px;
	border-radius: calc(var(--mp-rayon) + 6px);
	background-image: linear-gradient(100deg, var(--mp-ptexte) 0%, var(--mp-degrade) 100%);
	color: rgba(255, 255, 255, .88);
	transform: translateY(-48px);
}
.mp-pied--appel { margin-top: 48px; }
.mp-pied-appel p { margin: 0; }
.mp-pied-appel-titre { font-family: var(--mp-police-titres); font-weight: var(--mp-graisse-titres); font-size: calc(var(--mp-h2) * .72); color: #fff; line-height: 1.2; margin-bottom: 6px !important; }

/* =========================================================
   6. Composants partagés
   ========================================================= */

.mp-grille { display: grid; grid-template-columns: repeat(var(--mp-colonnes, 3), minmax(0, 1fr)); gap: 24px; }

.mp-carte {
	position: relative;
	background: #fff;
	border: 1px solid var(--mp-bordure);
	border-radius: var(--mp-rayon);
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	color: var(--mp-texte);
}
.mp-carte--ombre { box-shadow: var(--mp-ombre); border-color: transparent; }
.mp-carte--sombre { background: var(--mp-fonce); border-color: var(--mp-fonce); }
.mp-carte--verre { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: calc(var(--mp-rayon) + 2px); }
.mp-carte--accent { border: 1.5px solid var(--mp-principale); border-radius: calc(var(--mp-rayon) + 2px); }
.mp-carte--survol { transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.mp-carte--survol:hover { border-color: var(--mp-doux); box-shadow: 0 12px 30px rgba(0, 0, 0, .07); transform: translateY(-2px); }

.mp-pastille-icone {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--mp-clair);
	color: var(--mp-ptexte);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
}
.mp-pastille-icone svg { width: 24px; height: 24px; }

.mp-etiquette { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--mp-ptexte); }
.mp-carte .mp-carte-titre { margin: 0; font-size: var(--mp-h3); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.mp-carte-titre a { color: inherit; text-decoration: none; }
.mp-carte-titre a:hover { color: var(--mp-ptexte); }
.mp-carte-texte { margin: 0; color: var(--mp-gris); font-size: 15px; line-height: 1.55; }
.mp-carte-texte p { margin: 0 0 .6em; }
.mp-libelle { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--mp-gris); }

a.mp-lien-fleche {
	margin-top: auto;
	padding-top: 4px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 15px;
	font-weight: 700;
	color: var(--mp-ptexte);
	text-decoration: none;
}
.mp-lien-fleche::after { content: "→"; transition: transform .15s ease; }
a.mp-lien-fleche:hover { color: var(--mp-fonce); }
.mp-lien-fleche:hover::after { transform: translateX(3px); }

.mp-vide {
	padding: 18px 20px;
	border: 1.5px dashed var(--mp-bordure);
	border-radius: 12px;
	color: var(--mp-gris);
	background: #fff;
	font-size: 14px;
}
.mp-vide-public { text-align: center; color: var(--mp-gris); }
.elementor-widget .mp-vide-public { text-align: left; margin: 0; font-size: 17px; }

/* =========================================================
   7. Contenus du site (widgets « MAPROPHARM »)
   ========================================================= */

/* Services / formations */
.mp-service-image { margin: -28px -28px 6px; overflow: hidden; border-radius: var(--mp-rayon) var(--mp-rayon) 0 0; aspect-ratio: 3 / 2; }
.mp-service .mp-service-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Témoignages */
.mp-temoignage { margin: 0; gap: 18px; }
.mp-temoignage-texte { margin: 0; font-size: 15px; line-height: 1.6; color: var(--mp-texte); color: color-mix(in srgb, var(--mp-texte) 82%, #fff); flex: 1; }
.mp-temoignage-texte::before { content: "“"; display: block; font-family: var(--mp-police-titres); font-size: 52px; line-height: .7; font-weight: 800; color: var(--mp-accent); margin-bottom: 14px; }
.mp-temoignage-texte p { margin: 0 0 .6em; }
.mp-temoignage-auteur { display: flex; align-items: center; gap: 12px; }
.mp-temoignage-auteur > span { display: flex; flex-direction: column; }
.mp-temoignage-auteur strong { font-size: 15px; }
.mp-temoignage-auteur span span { font-size: 13px; color: var(--mp-gris); }
.mp-temoignage .mp-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.mp-avatar--initiales { display: inline-flex; align-items: center; justify-content: center; background: var(--mp-clair); color: var(--mp-psombre); font-weight: 700; }

/* Partenaires */
.mp-partenaire { align-items: center; justify-content: center; min-height: 120px; padding: 20px; text-decoration: none; }
.mp-partenaires .mp-partenaire img { max-height: 72px; width: auto; max-width: 100%; object-fit: contain; }
.mp-partenaire-nom { font-family: var(--mp-police-titres); font-weight: 800; font-size: 17px; text-align: center; color: var(--mp-texte); }
a.mp-partenaire:hover { border-color: var(--mp-doux); }

/* Dates clés */
.mp-dates-titre { font-family: var(--mp-police-titres); font-size: 21px; font-weight: 700; margin: 0; color: var(--mp-texte); }
.mp-dates .mp-libelle { margin: 2px 0 6px; }
.mp-dates-liste { list-style: none; margin: 0; padding: 10px 0 0; display: flex; flex-direction: column; gap: 16px; }
.mp-date { display: flex; align-items: center; gap: 14px; }
.mp-date-jour {
	width: 56px;
	height: 56px;
	flex: none;
	border-radius: 14px;
	background: var(--mp-clair);
	color: var(--mp-fonce);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	line-height: 1;
}
.mp-date-jour b { font-size: 19px; font-weight: 800; }
.mp-date-jour small { font-size: 11px; font-weight: 800; letter-spacing: 1px; margin-top: 3px; }
.mp-date-texte { display: flex; flex-direction: column; gap: 3px; }
.mp-date-texte strong { font-size: 16px; color: var(--mp-texte); }
.mp-date-texte strong a { color: inherit; }
.mp-date-texte span { font-size: 14px; color: var(--mp-gris); }

/* Équipe */
.mp-membre { align-items: flex-start; }
.mp-membre .mp-membre-photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: calc(var(--mp-rayon) - 4px); margin-bottom: 6px; }
.mp-membre-photo--vide { display: flex; align-items: center; justify-content: center; background: var(--mp-clair); color: var(--mp-ptexte); }
.mp-membre-photo--vide svg { width: 40%; height: 40%; }
.mp-membre-liens { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; font-size: 14px; font-weight: 600; }

/* Galerie */
.mp-photo { margin: 0; }
.mp-photo-lien { display: block; overflow: hidden; border-radius: var(--mp-rayon); }
.mp-photo .mp-photo-lien img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: center top; display: block; transition: transform .35s ease; }
.mp-photo-lien:hover img { transform: scale(1.04); }
.mp-photo figcaption { margin-top: 8px; font-size: 14px; color: var(--mp-gris); }

/* Visionneuse des photos */
.mp-zoom { border: 0; padding: 0; background: transparent; width: 100vw; height: 100dvh; max-width: none; max-height: none; overflow: hidden; color: #fff; touch-action: pan-y; }
.mp-zoom::backdrop { background: rgba(12, 14, 13, .92); }
.mp-zoom-cadre { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 64px 88px 56px; box-sizing: border-box; }
.mp-zoom-cadre img { max-width: 100%; max-height: calc(100dvh - 160px); width: auto; height: auto; border-radius: 12px; display: block; user-select: none; -webkit-user-drag: none; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); }
.mp-zoom-legende { font-size: 15px; color: rgba(255, 255, 255, .9); text-align: center; min-height: 1.4em; }
.mp-zoom-compteur { position: fixed; top: 22px; left: 50%; transform: translateX(-50%); margin: 0; font-size: 14px; font-weight: 600; letter-spacing: .04em; color: rgba(255, 255, 255, .85); font-variant-numeric: tabular-nums; }
button.mp-zoom-fermer { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: #111; font-size: 26px; line-height: 1; cursor: pointer; }
button.mp-zoom-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s ease; }
button.mp-zoom-nav:hover, button.mp-zoom-nav:focus-visible { background: rgba(255, 255, 255, .28); }
button.mp-zoom-nav, button.mp-zoom-fermer { padding: 0; min-height: 0; }
button.mp-zoom-nav svg { flex: none; width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mp-zoom-prec { left: 20px; }
.mp-zoom-suiv { right: 20px; }
.mp-zoom--seule .mp-zoom-nav { display: none; }
.mp-zoom :focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 767px) {
	.mp-zoom-cadre { padding: 64px 12px 88px; }
	.mp-zoom-cadre img { max-height: calc(100dvh - 190px); }
	button.mp-zoom-nav { top: auto; bottom: 18px; transform: none; width: 48px; height: 48px; }
	.mp-zoom-prec { left: calc(50% - 64px); }
	.mp-zoom-suiv { right: calc(50% - 64px); }
}

/* Vidéos */
.mp-video { margin: 0; }
.mp-video-cadre { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--mp-rayon); background: var(--mp-fonce); }
.mp-video-cadre iframe, .mp-video-cadre video, .mp-video-cadre .wp-video { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
.mp-video figcaption { margin-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.mp-video figcaption strong { font-size: 17px; }
.mp-video figcaption span { color: var(--mp-gris); font-size: 15px; }

/* Cartes avec image : événements et réalisations */
.mp-carte .mp-carte-image { display: block; position: relative; margin: -28px -28px 6px; overflow: hidden; border-radius: var(--mp-rayon) var(--mp-rayon) 0 0; aspect-ratio: 3 / 2; background: var(--mp-clair); }
.mp-carte .mp-carte-image img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; transition: transform .35s ease; }
.mp-carte--survol:hover .mp-carte-image img { transform: scale(1.04); }
.mp-carte-image-vide { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: var(--mp-ptexte); }
.mp-carte-image-vide svg { width: 44px; height: 44px; }
.mp-date-jour--flottant { position: absolute; left: 14px; top: 14px; background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .15); }
.mp-carte-infos { margin: 0; display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--mp-gris); }
.mp-carte-infos svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--mp-ptexte); }
.mp-evenement--passe .mp-carte-image img { filter: grayscale(.6); }

/* Filtres des réalisations */
.mp-filtres { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
button.mp-filtre {
	min-height: 44px;
	padding: 10px 18px;
	border: 1.5px solid var(--mp-bordure);
	border-radius: 999px;
	background: #fff;
	color: var(--mp-texte);
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
button.mp-filtre:hover,
button.mp-filtre:focus { background: var(--mp-clair); border-color: var(--mp-doux); color: var(--mp-psombre); }
button.mp-filtre[aria-pressed="true"] { background: var(--mp-principale); border-color: var(--mp-principale); color: #fff; }
.mp-realisation[hidden] { display: none; }

/* Pages détaillées (événement, réalisation) */
.mp-bandeau-intro { margin: 14px 0 0; max-width: 68ch; font-size: 18px; color: rgba(255, 255, 255, .85); }
.mp-bandeau-meta a { text-decoration: none; }
.mp-bandeau-meta a:hover { text-decoration: underline; }
.mp-fiche-corps { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; padding-top: 56px; padding-bottom: 96px; }
.mp-fiche-image { margin: 0 0 8px; }
.mp-fiche-image img { width: 100%; border-radius: var(--mp-rayon); display: block; }
.mp-fiche-contenu .mp-contenu-texte { padding: 24px 0 0; }
.mp-fiche-infos { position: sticky; top: 100px; gap: 18px; }
.mp-fiche-infos dl { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.mp-fiche-infos dl > div { display: flex; flex-direction: column; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid var(--mp-bordure); }
.mp-fiche-infos dt { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--mp-gris); }
.mp-fiche-infos dt svg { width: 16px; height: 16px; color: var(--mp-ptexte); }
.mp-fiche-infos dd { margin: 0; font-weight: 600; font-size: 16px; }
.mp-fiche-statut { margin: 0; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--mp-fond); color: var(--mp-gris); font-size: 13px; font-weight: 700; }

/* Bandeau avec photo : sur tablette et mobile, le texte occupe toute la largeur,
   le voile devient uniforme pour rester lisible partout. */
@media (max-width: 1024px) {
	.mp-bandeau-photo.e-con::before {
		background-image: none !important;
		background-color: var(--mp-fonce) !important;
		opacity: .9 !important;
	}
}

/* Section masquée tant que son contenu est vide (visiteurs seulement) */
.mp-masquer-si-vide:has(.mp-aucun-contenu) { display: none !important; }

/* Questions fréquentes */
.mp-faq { display: flex; flex-direction: column; gap: 12px; }
.mp-faq-item { border: 1px solid var(--mp-bordure); border-radius: 14px; background: #fff; }
.mp-faq-item summary {
	list-style: none;
	cursor: pointer;
	padding: 20px 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	font-family: var(--mp-police-titres);
	font-size: 17px;
	font-weight: 700;
	color: var(--mp-texte);
}
.mp-faq-item summary::-webkit-details-marker { display: none; }
.mp-faq-item summary::after { content: "+"; content: "+" / ""; font-size: 24px; line-height: 1; color: var(--mp-ptexte); flex: none; transition: transform .2s ease; }
.mp-faq-item[open] summary { color: var(--mp-ptexte); }
.mp-faq-item[open] summary::after { content: "\2212"; content: "\2212" / ""; }
.mp-faq-reponse { padding: 0 24px 22px; color: var(--mp-gris); font-size: 15px; line-height: 1.6; }
.mp-faq-reponse p:last-child { margin-bottom: 0; }

/* Coordonnées */
.mp-coordonnee { gap: 10px; padding: 24px; }
.mp-coordonnee-valeur { margin: 0; font-family: var(--mp-police-titres); font-size: 18px; font-weight: 700; color: var(--mp-texte); line-height: 1.4; overflow-wrap: anywhere; }
.mp-coordonnee-valeur a { color: inherit; text-decoration: none; display: inline-block; padding: 10px 0; margin: -10px 0; }
.mp-coordonnee-valeur a:hover { color: var(--mp-ptexte); text-decoration: underline; }
.mp-coordonnees-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.mp-coordonnees-liste li { display: flex; gap: 10px; align-items: flex-start; }
.mp-coordonnees-liste svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--mp-ptexte); }

/* =========================================================
   8. Classes pour les pages Elementor
   (à mettre dans « Avancé › Classes CSS » d'un conteneur ou d'un widget)
   ========================================================= */

.elementor-heading-title { letter-spacing: -0.02em; }
h1.elementor-heading-title, h2.elementor-heading-title { letter-spacing: -0.025em; text-wrap: balance; }
.elementor-widget-text-editor p { margin: 0 0 .8em; }
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }

/* Icônes au trait : elles prennent la couleur du texte. */
.elementor-icon svg,
.elementor-icon-list-icon svg,
.elementor-button-icon svg,
.mp-ico svg { fill: none !important; stroke: currentColor; }

.mp-surtitre .elementor-heading-title { letter-spacing: 1.5px; line-height: 1.45; }
.mp-gris, .mp-gris .elementor-heading-title { color: var(--mp-gris); }
.mp-intro { max-width: 760px; }
.mp-intro p { max-width: 68ch; }
.mp-petit { font-size: 14px; }

.mp-fond-clair { background-color: var(--mp-fond); }

/* Sections sombres */
.mp-sombre,
.mp-sombre .elementor-heading-title,
.mp-sombre .elementor-widget-text-editor,
.mp-sombre .elementor-icon-list-text { color: #fff; }
.mp-sombre .mp-sombre-doux,
.mp-sombre .mp-sombre-doux .elementor-heading-title,
.mp-sombre .mp-sombre-doux.elementor-widget-text-editor { color: rgba(255, 255, 255, .8); }
.mp-sombre .mp-surtitre .elementor-heading-title,
.mp-sombre .mp-doux .elementor-heading-title { color: var(--mp-doux); }
.mp-sombre a:not(.elementor-button):not(.mp-bouton) { color: var(--mp-doux); }

.mp-bandeau { background-image: linear-gradient(100deg, var(--mp-fonce) 0%, var(--mp-degrade) 100%); }

/* Fil d'Ariane */
.mp-ariane { font-size: 14px; color: rgba(255, 255, 255, .72); }
.mp-ariane a { color: rgba(255, 255, 255, .85) !important; text-decoration: none; }
.mp-ariane a:hover { color: #fff !important; text-decoration: underline; }
.mp-ariane .sep { margin: 0 .55em; opacity: .6; }

/* Pastille d'annonce */
.mp-pastille .elementor-heading-title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 999px;
	padding: 7px 14px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0;
	color: #fff;
}
.mp-pastille .elementor-heading-title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mp-doux); box-shadow: 0 0 0 4px color-mix(in srgb, var(--mp-doux) 25%, transparent); }

/* Chiffres clés */
.mp-chiffre .elementor-heading-title { font-size: 28px; font-weight: 800; color: var(--mp-doux) !important; letter-spacing: -0.02em; line-height: 1.1; }
.mp-chiffre-legende .elementor-heading-title { font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .75) !important; letter-spacing: 0; }
.mp-chiffres > .e-con-inner > .e-con,
.mp-chiffres > .e-con { border-left: 2px solid rgba(255, 255, 255, .25); border-left: 2px solid color-mix(in srgb, var(--mp-doux) 40%, transparent); padding-left: 16px; }

/* Lien texte « Découvrir → » */
.mp-lien .elementor-heading-title { font-size: 15px; font-weight: 700; letter-spacing: 0; }
.mp-lien .elementor-heading-title a[href] { color: var(--mp-ptexte); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.mp-lien .elementor-heading-title a[href]::after { content: "→"; transition: transform .15s ease; }
.mp-lien .elementor-heading-title a[href]:hover { color: var(--mp-fonce); }
.mp-lien .elementor-heading-title a[href]:hover::after { transform: translateX(3px); }
.mp-carte > .mp-lien,
.mp-carte > .e-con-inner > .mp-lien { margin-top: auto; padding-top: 4px; }
.mp-carte > .elementor-widget-button:last-child { margin-top: auto; }

/* Cartes construites dans Elementor : titres et textes */
.mp-carte h3.elementor-heading-title,
.mp-carte .elementor-icon-box-title { color: var(--mp-texte); }
.mp-carte--sombre h3.elementor-heading-title,
.mp-carte--sombre h2.elementor-heading-title { color: #fff; }

/* Pastille d'icône pour les widgets Icône et Boîte d'icône */
.mp-ico .elementor-icon,
.mp-ico-box .elementor-icon {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--mp-clair);
	color: var(--mp-ptexte);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
}
.mp-ico .elementor-icon svg,
.mp-ico-box .elementor-icon svg { width: 24px; height: 24px; }
.mp-ico-box .elementor-icon-box-icon { margin: 0 !important; line-height: 0; }
.mp-ico-box .elementor-icon-box-wrapper { gap: 18px; }
.mp-ico-box .elementor-icon-box-title { margin: 0 0 8px; }
.mp-ico-box .elementor-icon-box-description { color: var(--mp-gris); margin: 0; font-size: 15px; line-height: 1.55; }
.mp-ico--grand .elementor-icon { width: 60px; height: 60px; border-radius: 16px; }

/* Petits libellés */
.mp-niveau .elementor-heading-title { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--mp-ptexte); }
.mp-sombre .mp-niveau .elementor-heading-title,
.mp-carte--sombre .mp-niveau .elementor-heading-title { color: var(--mp-doux); }
.mp-libelle .elementor-heading-title { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--mp-gris); }
.mp-valeur .elementor-heading-title { font-size: 16px; font-weight: 600; color: var(--mp-texte); letter-spacing: 0; line-height: 1.45; }
.mp-valeur--grande .elementor-heading-title { font-size: 18px; font-weight: 700; }
.mp-ligne { border-bottom: 1px solid var(--mp-bordure); }
.mp-sous-titre .elementor-heading-title { font-size: 13px; font-weight: 700; letter-spacing: .5px; color: var(--mp-gris); text-transform: uppercase; }
.mp-tuile .elementor-heading-title { font-size: 17px; font-weight: 700; text-align: center; color: #fff; }

/* Listes à coches */
.mp-coches .elementor-icon-list-items { display: flex; flex-direction: column; gap: 10px; }
.mp-coches .elementor-icon-list-item,
.mp-coches .elementor-icon-list-item > a { align-items: flex-start !important; align-self: start; margin: 0 !important; padding: 0 !important; }
.mp-coches .elementor-icon-list-icon { color: var(--mp-ptexte); padding-top: 3px; }
.mp-coches .elementor-icon-list-icon svg { width: 18px !important; height: 18px !important; }
.mp-coches .elementor-icon-list-text { font-size: 15px; line-height: 1.5; color: var(--mp-texte); padding-left: 10px !important; align-self: flex-start !important; }
.mp-sombre .mp-coches .elementor-icon-list-icon { color: var(--mp-doux); }
.mp-sombre .mp-coches .elementor-icon-list-text,
.mp-carte--sombre .mp-coches .elementor-icon-list-text { color: #fff; font-size: 16px; }
.mp-coches--2col .elementor-icon-list-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px 24px; }

/* Puces */
.mp-chips .elementor-icon-list-items { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 !important; }
.mp-chips .elementor-icon-list-item { margin: 0 !important; padding: 11px 18px !important; background: var(--mp-clair); color: var(--mp-psombre); border-radius: 999px; }
.mp-chips .elementor-icon-list-item::after { display: none !important; }
.mp-chips .elementor-icon-list-text { color: var(--mp-psombre); font-weight: 600; font-size: 15px; padding: 0 !important; }
.mp-chips--sombre .elementor-icon-list-item { background: rgba(255, 255, 255, .08); border: 0; padding: 6px 12px !important; cursor: default; }
.mp-chips--sombre .elementor-icon-list-text { color: #fff; font-size: 14px; }

/* Liens en liste */
.mp-liens .elementor-icon-list-items { display: flex; flex-direction: column; gap: 12px; }
.mp-liens .elementor-icon-list-item { margin: 0 !important; padding: 0 !important; }
.mp-liens .elementor-icon-list-text { padding: 0 !important; }
.mp-contacts .elementor-icon-list-text,
.mp-acces .elementor-icon-list-text { color: #fff !important; font-weight: 600; }
.mp-contacts a:hover .elementor-icon-list-text,
.mp-acces a:hover .elementor-icon-list-text { color: var(--mp-doux) !important; text-decoration: underline; }
.mp-contacts .elementor-icon-list-icon,
.mp-acces .elementor-icon-list-icon { color: var(--mp-doux) !important; }

/* Bande d'agréments / labels */
.mp-agrements .elementor-icon-list-items { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.mp-agrements .elementor-icon-list-item { margin: 0 !important; padding: 0 !important; align-items: flex-start !important; }
.mp-agrements .elementor-icon-list-item::after { display: none !important; }
.mp-agrements .elementor-icon-list-icon { color: var(--mp-ptexte); padding-top: 2px; }
.mp-agrements .elementor-icon-list-icon svg { width: 20px !important; height: 20px !important; }
.mp-agrements .elementor-icon-list-text { font-size: 14px; color: var(--mp-gris); padding-left: 8px !important; }
.mp-agrements .elementor-icon-list-text strong { color: var(--mp-texte); }
.mp-agrements-titre .elementor-heading-title { font-size: 16px; letter-spacing: 0; }

/* Étapes numérotées */
.mp-num { flex: none; }
.mp-num .elementor-heading-title {
	width: 40px;
	height: 40px;
	border-radius: 999px;
	background: var(--mp-accent);
	color: #fff !important;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 17px;
	font-weight: 800;
	letter-spacing: 0;
}
.mp-etape-titre .elementor-heading-title { font-size: 17px; font-weight: 700; letter-spacing: 0; }
.mp-etape-texte { font-size: 15px; line-height: 1.5; }
.mp-sombre .mp-etape-texte { color: rgba(255, 255, 255, .75); }

/* Tarifs */
.mp-prix .elementor-heading-title { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: var(--mp-texte); }
.mp-carte--sombre .mp-prix .elementor-heading-title { color: #fff; }
.mp-prix-legende .elementor-heading-title { font-size: 14px; font-weight: 400; color: var(--mp-gris); letter-spacing: 0; }
.mp-carte--sombre .mp-prix-legende .elementor-heading-title { color: rgba(255, 255, 255, .7); }
.mp-prix-detail .elementor-icon-list-items { display: flex; flex-direction: column; }
.mp-prix-detail .elementor-icon-list-item { padding: 12px 0 !important; margin: 0 !important; border-top: 1px solid var(--mp-bordure); }
.mp-prix-detail .elementor-icon-list-item::after { display: none !important; }
.mp-prix-detail .elementor-icon-list-text { font-size: 15px; color: var(--mp-gris); padding: 0 !important; width: 100%; display: flex; justify-content: space-between; gap: 12px; }
.mp-prix-detail .elementor-icon-list-text strong { color: var(--mp-texte); font-weight: 700; white-space: nowrap; }
.mp-carte--sombre .mp-prix-detail .elementor-icon-list-item { border-color: rgba(255, 255, 255, .14); }
.mp-carte--sombre .mp-prix-detail .elementor-icon-list-text { color: rgba(255, 255, 255, .75); }
.mp-carte--sombre .mp-prix-detail .elementor-icon-list-text strong { color: #fff; }
.mp-inclus { background: var(--mp-clair); border-radius: 16px; }
.mp-inclus .elementor-widget-text-editor { color: var(--mp-fonce); font-size: 15px; }
.mp-inclus .mp-btn-contour .elementor-button { color: var(--mp-psombre); background: #fff; }

/* Frise du parcours */
.mp-frise { list-style: none; margin: 0; padding: 0; }
.mp-frise-barre { height: 6px; min-height: 6px !important; border-radius: 3px; background: var(--mp-bordure); }
.mp-frise-barre--on { background: var(--mp-principale); }
.mp-frise-etape .elementor-heading-title { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.mp-frise-detail .elementor-heading-title { font-size: 14px; font-weight: 400; color: var(--mp-gris); letter-spacing: 0; line-height: 1.45; }
.mp-badge .elementor-heading-title { display: inline-block; background: var(--mp-clair); color: var(--mp-fonce); font-weight: 700; font-size: 13px; letter-spacing: 0; padding: 6px 12px; border-radius: 999px; }

/* Bandeau d'appel final */
.mp-final { background-image: linear-gradient(100deg, var(--mp-ptexte) 0%, var(--mp-degrade) 100%); border-radius: calc(var(--mp-rayon) + 10px); }

/* Carte Google Maps */
.mp-carte-gm iframe { border-radius: calc(var(--mp-rayon) + 2px); display: block; }
.mp-carte-gm .elementor-custom-embed { border-radius: calc(var(--mp-rayon) + 2px); overflow: hidden; border: 1px solid var(--mp-bordure); }

/* Image avec coins arrondis */
.mp-image-arrondie img { border-radius: calc(var(--mp-rayon) + 4px); width: 100%; object-fit: cover; }
/* Vidéo : mêmes coins arrondis que les photos (cadre, image d'aperçu et lecteur). */
.elementor-widget-video.mp-image-arrondie .elementor-wrapper,
.elementor-widget-video.mp-image-arrondie .elementor-wrapper > video,
.elementor-widget-video.mp-image-arrondie .elementor-custom-embed-image-overlay { border-radius: calc(var(--mp-rayon) + 4px); }
.elementor-widget-video.mp-image-arrondie .elementor-wrapper { overflow: hidden; background: transparent; }
.elementor-widget-video.mp-image-arrondie .elementor-wrapper > video { background: transparent; }
/* Tant que l'image d'aperçu est affichée, le lecteur (noir) reste caché derrière. */
.elementor-widget-video.mp-image-arrondie .elementor-wrapper:has(.elementor-custom-embed-image-overlay) > video { opacity: 0; }

/* Cartes blanches posées sur une section sombre : couleurs normales */
.mp-sombre .mp-carte:not(.mp-carte--sombre):not(.mp-carte--verre) .elementor-heading-title { color: var(--mp-texte); }
.mp-sombre .mp-carte:not(.mp-carte--sombre):not(.mp-carte--verre) .elementor-widget-text-editor { color: var(--mp-gris); }
.mp-sombre .mp-carte:not(.mp-carte--sombre):not(.mp-carte--verre) .mp-coches .elementor-icon-list-text { color: var(--mp-texte); font-size: 15px; }
.mp-sombre .mp-carte:not(.mp-carte--sombre):not(.mp-carte--verre) .mp-coches .elementor-icon-list-icon { color: var(--mp-ptexte); }
.mp-sombre .mp-carte:not(.mp-carte--sombre):not(.mp-carte--verre) .mp-libelle .elementor-heading-title { color: var(--mp-gris); }
.mp-sombre .mp-carte:not(.mp-carte--sombre):not(.mp-carte--verre) .mp-lien a { color: var(--mp-ptexte); }
.mp-sombre .mp-carte:not(.mp-carte--sombre):not(.mp-carte--verre) a:not(.elementor-button) { color: var(--mp-ptexte); }
.mp-sombre .mp-carte--verre .mp-valeur .elementor-heading-title,
.mp-sombre .mp-carte--sombre h3.elementor-heading-title,
.mp-sombre .mp-carte--sombre h2.elementor-heading-title { color: #fff; }
.mp-sombre .mp-carte--verre h3.elementor-heading-title { color: var(--mp-doux); }

/* Contenus du site posés dans une section sombre */
.mp-sombre .mp-carte-titre,
.mp-sombre .mp-date-texte strong { color: var(--mp-texte); }

/* =========================================================
   9. Formulaires (Contact Form 7)
   ========================================================= */

.mp-form .wpcf7-form { display: flex; flex-direction: column; gap: 22px; }
.mp-form fieldset { border: 0; margin: 0; padding: 0 0 26px; border-bottom: 1px solid var(--mp-bordure); display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.mp-form fieldset:last-of-type { border-bottom: 0; padding-bottom: 0; }
.mp-form legend { font-family: var(--mp-police-titres); font-size: 19px; font-weight: 800; color: var(--mp-texte); padding: 0; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.mp-form legend .n { width: 32px; height: 32px; border-radius: 999px; background: var(--mp-accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; flex: none; }
.mp-form legend small { font-size: 14px; font-weight: 500; color: var(--mp-gris); }
.mp-form .grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.mp-form .champ { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--mp-texte); min-width: 0; }
.mp-form .etiquette { display: block; }
.mp-form .champ .aide,
.mp-form .fichier .aide { font-weight: 400; color: var(--mp-gris); font-size: 13px; }
.mp-form .obligatoire { color: var(--mp-accent); }
.mp-form .note { margin: -6px 0 0; font-size: 14px; color: var(--mp-gris); line-height: 1.5; }

.mp-form input[type="text"],
.mp-form input[type="email"],
.mp-form input[type="tel"],
.mp-form input[type="date"],
.mp-form input[type="number"],
.mp-form input[type="url"],
.mp-form select,
.mp-form textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1.5px solid #8A93A6;
	border-radius: 10px;
	background: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 400;
	color: var(--mp-texte);
	transition: border-color .15s ease, box-shadow .15s ease;
}
.mp-form textarea { min-height: 120px; resize: vertical; }
.mp-form input:focus,
.mp-form select:focus,
.mp-form textarea:focus { outline: none; border-color: var(--mp-principale); box-shadow: 0 0 0 3px rgba(0, 0, 0, .12); box-shadow: 0 0 0 3px color-mix(in srgb, var(--mp-principale) 22%, transparent); }
.mp-form ::placeholder { color: #8A93A6; }

.mp-form .wpcf7-radio,
.mp-form .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 10px; }
.mp-form .wpcf7-radio .wpcf7-list-item,
.mp-form .wpcf7-checkbox .wpcf7-list-item { margin: 0; }
.mp-form .wpcf7-radio .wpcf7-list-item label {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	min-height: 48px;
	height: 100%;
	padding: 12px 16px;
	border: 1.5px solid #8A93A6;
	border-radius: 10px;
	font-weight: 500;
	font-size: 15px;
	transition: border-color .15s ease, background-color .15s ease;
}
.mp-form .wpcf7-radio .wpcf7-list-item label:hover { border-color: var(--mp-principale); }
.mp-form .wpcf7-radio .wpcf7-list-item label:has(input:checked) { border-color: var(--mp-principale); background: var(--mp-clair); color: var(--mp-fonce); }
.mp-form input[type="radio"],
.mp-form input[type="checkbox"] { accent-color: var(--mp-principale); width: 18px; height: 18px; margin: 0; flex: none; }
.mp-form .choix-3 .wpcf7-radio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mp-form .choix-3 .wpcf7-list-item { display: flex; }
.mp-form .choix-3 .wpcf7-list-item label { flex: 1; }

.mp-form .fichier { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1.5px dashed #8A93A6; border-radius: 12px; font-size: 14px; font-weight: 600; background: var(--mp-fond); }
.mp-form .fichier input[type="file"] { font-size: 13px; width: 100%; max-width: 100%; }
.mp-form .fichier input[type="file"]::file-selector-button { font: inherit; font-weight: 600; font-size: 13px; color: var(--mp-ptexte); background: #fff; border: 1.5px solid var(--mp-principale); border-radius: 8px; padding: 7px 12px; margin-right: 10px; cursor: pointer; }

.mp-form .consentement .wpcf7-list-item { margin: 0; }
.mp-form .consentement label { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; font-weight: 500; line-height: 1.5; cursor: pointer; }
.mp-form .consentement input { margin-top: 2px; }
.mp-form .quiz { max-width: 480px; }
.mp-form .quiz .wpcf7-quiz-label { display: block; font-weight: 600; margin-bottom: 8px; }

.mp-form .envoi { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.mp-form .wpcf7-submit {
	background: var(--mp-accent);
	color: #fff;
	border: 0;
	font: inherit;
	font-weight: 700;
	font-size: 16px;
	padding: 15px 28px;
	min-height: 52px;
	border-radius: var(--mp-rayon-bouton);
	cursor: pointer;
	transition: background-color .15s ease;
}
.mp-form .wpcf7-submit:hover,
.mp-form .wpcf7-submit:focus { background: var(--mp-fonce); }
.mp-form .wpcf7-submit:disabled { opacity: .55; cursor: not-allowed; }
.mp-form .wpcf7-spinner { margin: 0; }

.mp-form .wpcf7-not-valid { border-color: var(--mp-erreur, #B42318) !important; }
.mp-form .wpcf7-not-valid-tip { color: var(--mp-erreur, #B42318); font-size: 13px; font-weight: 600; margin-top: 6px; }
.mp-form .wpcf7 form .wpcf7-response-output { margin: 0; padding: 14px 16px; border-radius: 12px; font-size: 15px; border-width: 1.5px; }
.mp-form .wpcf7 form.sent .wpcf7-response-output { border-color: var(--mp-principale); background: var(--mp-clair); color: var(--mp-fonce); }
.mp-form .wpcf7 form.invalid .wpcf7-response-output,
.mp-form .wpcf7 form.unaccepted .wpcf7-response-output,
.mp-form .wpcf7 form.failed .wpcf7-response-output,
.mp-form .wpcf7 form.spam .wpcf7-response-output { border-color: var(--mp-erreur, #B42318); background: #FEF3F2; color: #7A271A; }

/* =========================================================
   10. Articles, recherche, 404
   ========================================================= */

.mp-article-carte { padding: 0 0 24px; gap: 10px; overflow: hidden; }
.mp-article-carte > *:not(.mp-article-image) { margin-left: 24px; margin-right: 24px; }
.mp-article-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.mp-carte.mp-article-carte .mp-carte-titre { font-size: 20px; }
.mp-article-une { margin: 40px 0 0; }
.mp-article-une img { border-radius: var(--mp-rayon); width: 100%; }

.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 48px; }
a.page-numbers, span.page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid var(--mp-bordure); border-radius: 10px; text-decoration: none; color: var(--mp-texte); }
.page-numbers.current { background: var(--mp-principale); border-color: var(--mp-principale); color: #fff; }
.post-navigation .nav-links { justify-content: space-between; text-align: left; }
.post-navigation a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--mp-texte); font-weight: 700; max-width: 320px; }

.search-form { display: flex; gap: 8px; max-width: 480px; margin: 20px auto; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid #8A93A6; border-radius: 10px; font: inherit; }
.search-form .search-submit { min-height: 48px; padding: 0 20px; border: 0; border-radius: var(--mp-rayon-bouton); background: var(--mp-accent); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }

.mp-erreur { text-align: center; }
.mp-erreur-code { font-family: var(--mp-police-titres); font-size: clamp(80px, 16vw, 160px); font-weight: 800; line-height: 1; margin: 0; color: var(--mp-clair); }
.mp-erreur .mp-bandeau-titre { color: var(--mp-texte); margin-bottom: 12px; }

/* =========================================================
   11. Bouton WhatsApp flottant
   ========================================================= */

.mp-whatsapp-flottant {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 90;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #1F8E4D;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}
.mp-whatsapp-flottant svg { width: 26px; height: 26px; }
a.mp-whatsapp-flottant, a.mp-whatsapp-flottant:visited { color: #fff; }
a.mp-whatsapp-flottant:hover, a.mp-whatsapp-flottant:focus-visible { color: #fff; transform: translateY(-2px); }

/* Bouton pour remonter en haut */
button.mp-haut {
	position: fixed;
	bottom: 18px;
	z-index: 90;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 2px solid #fff;
	border-radius: 50%;
	background: var(--mp-principale);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity .25s ease-out, transform .25s ease-out, visibility 0s linear .25s;
}
button.mp-haut svg { width: 22px; height: 22px; }
button.mp-haut--droite { right: 22px; }
button.mp-haut--gauche { left: 22px; }
button.mp-haut--empile { bottom: 86px; }
button.mp-haut.mp-haut--visible { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease-out, transform .25s ease-out, visibility 0s; }
button.mp-haut:hover { background: var(--mp-fonce); color: #fff; }
button.mp-haut:focus-visible { outline: 3px solid var(--mp-fonce); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
	button.mp-haut, button.mp-haut.mp-haut--visible { transition: none; transform: none; }
}

/* =========================================================
   12. Apparition au défilement
   ========================================================= */

.mp-animations .mp-apparait { opacity: 0; transform: translateY(14px); transition: opacity .5s cubic-bezier(.16, 1, .3, 1), transform .5s cubic-bezier(.16, 1, .3, 1); }
.mp-animations .mp-apparait.mp-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
	.mp-animations .mp-apparait { opacity: 1; transform: none; }
}

/* =========================================================
   13. Responsive
   ========================================================= */

@media (max-width: 1024px) {
	.mp-grille { grid-template-columns: repeat(min(var(--mp-colonnes, 3), 2), minmax(0, 1fr)); }
	.mp-partenaires { grid-template-columns: repeat(3, minmax(0, 1fr)); }

	button.mp-burger { display: inline-flex; }
	.mp-entete-ligne { min-height: 64px; }
	.mp-marque { flex: 1 1 auto; }
	.mp-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: #fff;
		border-top: 1px solid var(--mp-bordure);
		box-shadow: 0 18px 30px rgba(0, 0, 0, .1);
		padding: 8px 20px 20px;
		max-height: calc(100vh - 80px);
		overflow-y: auto;
	}
	.mp-entete.mp-nav-ouverte .mp-nav { display: block; }
	.mp-entete-principal { position: relative; }
	.mp-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.mp-menu > li { flex-wrap: wrap; border-bottom: 1px solid #EEF1F5; }
	.mp-menu > li > a { flex: 1; padding: 14px 4px; font-size: 16px; font-weight: 600; border-radius: 0; background: transparent !important; color: var(--mp-texte) !important; }
	.mp-menu .current-menu-item > a { color: var(--mp-ptexte) !important; }
	button.mp-sous-menu-bouton { width: 44px; height: 44px; margin: 0; }
	.mp-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; display: none; width: 100%; max-width: none; min-width: 0; box-shadow: none; border: 0; padding: 0 0 8px 14px; }
	.mp-menu .sub-menu::before { display: none; }
	.mp-menu li.mp-ouvert > .sub-menu { display: block; }
	.mp-menu li:hover > .sub-menu:not(.mp-force) { display: none; }
	.mp-menu li.mp-ouvert:hover > .sub-menu { display: block; }
	.mp-menu .sub-menu a { padding: 12px 4px; font-size: 15px; }

	.mp-entete--sombre .mp-nav { background: var(--mp-fonce); border-top-color: rgba(255, 255, 255, .1); }
	.mp-entete--sombre .mp-menu > li { border-bottom-color: rgba(255, 255, 255, .08); }
	.mp-entete--sombre .mp-menu > li > a { color: #fff !important; }

	.mp-pied-colonnes { grid-template-columns: 1fr 1fr; }
	.mp-fiche-corps { grid-template-columns: 1fr; gap: 28px; }
	.mp-fiche-infos { position: static; }
}

@media (max-width: 767px) {
	.mp-conteneur { padding: 0 20px; }
	.mp-section { padding-top: 56px; padding-bottom: 56px; }
	.mp-bandeau-page { padding: 40px 0 48px; }

	.mp-grille { grid-template-columns: 1fr; }
	.mp-partenaires { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mp-partenaires > :last-child:nth-child(odd) { grid-column: 1 / -1; }
	.mp-galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

	.mp-barre-infos { display: none; }
	.mp-barre-infos.mp-barre-infos--mobile { display: block; font-size: 12.5px; }
	.mp-barre-infos--mobile .mp-barre-infos-ligne { flex-direction: column; justify-content: center; gap: 0; padding-top: 3px; padding-bottom: 3px; }
	.mp-barre-infos--mobile .mp-infos,
	.mp-barre-infos--mobile .mp-infos-liens { justify-content: center; gap: 0 16px; }
	.mp-barre-infos--mobile .mp-infos-adresse { display: none; }
	.mp-barre-infos--mobile a { display: inline-block; padding: 3px 0; line-height: 1.4; }
	.mp-barre-infos--mobile .mp-infos svg { width: 13px; height: 13px; }
	.mp-slogan { display: none; }
	.mp-logo-img { height: calc(var(--mp-hauteur-logo) * .82); }
	a.mp-bouton--entete { padding: 11px 16px; min-height: 44px; font-size: 14px; }
	.mp-collant-mobile .mp-entete,
	.mp-collant-toujours .mp-entete { position: sticky; top: 0; }
	.admin-bar.mp-collant-mobile .mp-entete,
	.admin-bar.mp-collant-toujours .mp-entete { top: 0; }
	/* Barre d'infos affichée sur mobile : elle défile, seule la barre du menu reste en haut. */
	.mp-fixe-menu .mp-entete,
	.admin-bar.mp-fixe-menu .mp-entete { top: calc(-1 * var(--mp-h-infos, 0px)); }

	.mp-pied-colonnes { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; }
	.mp-pied-appel { padding: 28px 22px; transform: translateY(-32px); }

	.mp-form .grille { grid-template-columns: 1fr; }
	.mp-form .choix-3 .wpcf7-radio { grid-template-columns: 1fr; }

	.mp-prix .elementor-heading-title { font-size: 30px; }
	.mp-chiffre .elementor-heading-title { font-size: 22px; }
	.mp-chiffre-legende .elementor-heading-title { font-size: 12px; }
	.mp-chiffres > .e-con-inner > .e-con,
	.mp-chiffres > .e-con { padding-left: 10px; }
	.mp-final { border-radius: calc(var(--mp-rayon) + 4px); }
	.mp-btn-plein-mobile,
	.mp-btn-plein-mobile .elementor-button { width: 100%; justify-content: center; }
	.mp-faq-item summary { padding: 18px; }
	.mp-faq-reponse { padding: 0 18px 18px; }
}

/* =========================================================
   12. Assistant (questions fréquentes)
   ========================================================= */

.mp-assistant { font-family: var(--mp-police-texte); }
.mp-assistant button.mp-assistant-bulle {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 91;
	display: flex;
	align-items: center;
	gap: 10px;
	height: 56px;
	padding: 0 22px 0 18px;
	border: 0;
	border-radius: 999px;
	background: var(--mp-principale);
	color: #fff;
	font: 700 15px/1 var(--mp-police-texte);
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
	transition: background-color .2s ease-out, transform .2s ease-out;
}
.mp-assistant button.mp-assistant-bulle svg { width: 24px; height: 24px; flex: none; }
.mp-assistant button.mp-assistant-bulle:hover { background: var(--mp-fonce); color: #fff; transform: translateY(-2px); }
.mp-assistant button.mp-assistant-bulle:focus-visible { outline: 3px solid var(--mp-fonce); outline-offset: 3px; }
/* Au-dessus du bouton WhatsApp ; le bouton pour remonter passe au-dessus des deux. */
.mp-whatsapp-flottant ~ .mp-assistant button.mp-assistant-bulle { bottom: 86px; }
.mp-whatsapp-flottant ~ .mp-assistant .mp-assistant-fenetre { bottom: 154px; }
button.mp-haut--empile-2 { bottom: 154px; }

.mp-assistant-fenetre {
	position: fixed;
	right: 18px;
	bottom: 86px;
	z-index: 110;
	width: 380px;
	max-height: min(600px, calc(100vh - 120px));
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--mp-bordure);
	border-radius: calc(var(--mp-rayon) + 2px);
	box-shadow: 0 24px 48px rgba(0, 26, 13, .22);
	overflow: hidden;
}
.mp-assistant-fenetre[hidden] { display: none; }
.mp-assistant--ouvert .mp-assistant-fenetre { animation: mp-assistant-entree .22s ease-out; }
@keyframes mp-assistant-entree { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.mp-assistant-entete { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; background: var(--mp-fonce); color: #fff; }
.mp-assistant-avatar { width: 40px; height: 40px; flex: none; border-radius: 12px; background: rgba(255, 255, 255, .12); color: var(--mp-doux); display: flex; align-items: center; justify-content: center; }
.mp-assistant-avatar svg { width: 22px; height: 22px; }
.mp-assistant-identite { flex: 1; min-width: 0; }
.mp-assistant-nom { margin: 0; font: 700 16px/1.25 var(--mp-police-titres); color: #fff; }
.mp-assistant-statut { margin: 2px 0 0; font-size: 13px; line-height: 1.35; color: rgba(255, 255, 255, .78); }
.mp-assistant button.mp-assistant-fermer,
.mp-assistant button.mp-assistant-effacer { width: 40px; height: 40px; flex: none; padding: 0; border: 0; border-radius: 10px; background: transparent; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.mp-assistant button.mp-assistant-fermer svg,
.mp-assistant button.mp-assistant-effacer svg { width: 20px; height: 20px; }
.mp-assistant button.mp-assistant-effacer[hidden] { display: none; }
.mp-assistant button.mp-assistant-effacer:hover,
.mp-assistant button.mp-assistant-fermer:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.mp-assistant button.mp-assistant-effacer:focus-visible,
.mp-assistant button.mp-assistant-fermer:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }

.mp-assistant-corps { position: relative; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px 16px; background: var(--mp-fond); }
.mp-assistant-fil { display: flex; flex-direction: column; gap: 10px; }
.mp-assistant-msg { max-width: 88%; padding: 11px 14px; font-size: 14.5px; line-height: 1.5; border-radius: 16px; }
.mp-assistant-msg p { margin: 0 0 8px; }
.mp-assistant-msg p:last-child { margin-bottom: 0; }
.mp-assistant-msg ul { margin: 0; padding-left: 18px; }
.mp-assistant-msg li { margin: 0 0 6px; }
.mp-assistant-msg a:not(.mp-assistant-lien) { color: var(--mp-ptexte); font-weight: 600; }
.mp-assistant-reconnu { font-size: 12.5px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; color: var(--mp-ptexte); }
.mp-assistant-aussi { margin-top: 12px !important; font-size: 13px; font-weight: 600; color: var(--mp-gris); }
.mp-assistant-msg .mp-assistant-question--suggestion { margin-top: 6px; min-height: 38px; padding: 8px 12px; font-size: 13.5px; }
.mp-assistant-msg--bot { align-self: flex-start; background: #fff; color: var(--mp-texte); border: 1px solid var(--mp-bordure); border-bottom-left-radius: 4px; }
.mp-assistant-msg--visiteur { align-self: flex-end; background: var(--mp-principale); color: #fff; font-weight: 600; border-bottom-right-radius: 4px; }
a.mp-assistant-lien { display: inline-flex; margin-top: 10px; padding: 9px 14px; border-radius: 10px; background: var(--mp-accent); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; }
a.mp-assistant-lien:visited { color: #fff; }
a.mp-assistant-lien:hover, a.mp-assistant-lien:focus-visible { color: #fff; filter: brightness(.92); }

.mp-assistant-choix { margin-top: 16px; }

.mp-assistant-saisie { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--mp-bordure); background: #fff; }
.mp-assistant-saisie input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1.5px solid var(--mp-bordure); border-radius: 12px; background: var(--mp-fond); color: var(--mp-texte); font: 400 16px/1.2 var(--mp-police-texte); }
.mp-assistant-saisie input::placeholder { color: var(--mp-gris); }
.mp-assistant-saisie input:focus { outline: none; border-color: var(--mp-principale); background: #fff; box-shadow: 0 0 0 3px var(--mp-clair); }
.mp-assistant .mp-assistant-saisie button { flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: var(--mp-principale); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.mp-assistant .mp-assistant-saisie button svg { width: 20px; height: 20px; }
.mp-assistant .mp-assistant-saisie button:hover, .mp-assistant .mp-assistant-saisie button:focus { background: var(--mp-fonce); color: #fff; }
.mp-assistant .mp-assistant-saisie button:focus-visible { outline: 2px solid var(--mp-fonce); outline-offset: 2px; }
.mp-assistant-consigne { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--mp-gris); }
.mp-assistant-questions { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.mp-assistant button.mp-assistant-question {
	width: 100%;
	min-height: 44px;
	padding: 10px 14px;
	border: 1.5px solid var(--mp-bordure);
	border-radius: 12px;
	background: #fff;
	color: var(--mp-ptexte);
	font: 600 14.5px/1.35 var(--mp-police-texte);
	text-align: left;
	cursor: pointer;
	transition: border-color .15s ease-out, background-color .15s ease-out;
}
.mp-assistant button.mp-assistant-question:hover { border-color: var(--mp-principale); background: var(--mp-clair); color: var(--mp-psombre); }
.mp-assistant button.mp-assistant-question:focus-visible { outline: 2px solid var(--mp-principale); outline-offset: 2px; }
.mp-assistant button.mp-assistant-question--vue { color: var(--mp-gris); font-weight: 500; }

.mp-assistant-fin { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--mp-bordure); }
.mp-assistant-fin p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.45; color: var(--mp-gris); }
.mp-assistant-contacts { display: flex; flex-wrap: wrap; gap: 8px; }
a.mp-assistant-contact { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 13px; border: 1.5px solid var(--mp-principale); border-radius: 10px; background: #fff; color: var(--mp-ptexte); font-size: 14px; font-weight: 700; text-decoration: none; }
.mp-assistant-contact svg { width: 17px; height: 17px; flex: none; }
a.mp-assistant-contact:visited { color: var(--mp-ptexte); }
a.mp-assistant-contact:hover, a.mp-assistant-contact:focus-visible { background: var(--mp-clair); color: var(--mp-psombre); }

@media (max-width: 600px) {
	.mp-assistant button.mp-assistant-bulle { width: 56px; padding: 0; justify-content: center; }
	.mp-assistant-bulle-texte { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.mp-assistant-fenetre { left: 10px; right: 10px; width: auto; bottom: 84px; max-height: calc(100dvh - 100px); }
	.mp-assistant--ouvert ~ button.mp-haut { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
	.mp-assistant button.mp-assistant-bulle, .mp-assistant button.mp-assistant-question { transition: none; }
	.mp-assistant--ouvert .mp-assistant-fenetre { animation: none; }
}

/* Bandeau final : texte secondaire plus lisible sur le dégradé. */
.mp-final.mp-sombre .mp-sombre-doux,
.mp-final.mp-sombre .mp-sombre-doux.elementor-widget-text-editor { color: rgba(255, 255, 255, .92); }

/* =========================================================
   14. Grande photo d'en-tête, accueil et pages intérieures
   La photo est le fond du conteneur Elementor (modifiable dans Elementor).
   Elle est reprise dans ::after pour un zoom lent, sous un voile (::before).
   ========================================================= */

.mp-hero.e-con { position: relative; overflow: hidden; isolation: isolate; background-color: var(--mp-fonce); }
.mp-hero.e-con::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image: inherit;
	background-size: cover;
	background-position: inherit;
	transform-origin: 60% 50%;
	animation: mp-zoom-lent 26s cubic-bezier(.45, 0, .55, 1) infinite alternate;
}
.mp-hero.e-con::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(95deg, color-mix(in srgb, var(--mp-nuit) 78%, transparent) 0%, color-mix(in srgb, var(--mp-nuit) 35%, transparent) 55%, transparent 100%);
}
.mp-hero.e-con > .e-con-inner,
.mp-hero.e-con > .e-con,
.mp-hero.e-con > .elementor-element { position: relative; z-index: 2; }

@keyframes mp-zoom-lent {
	from { transform: scale(1); }
	to { transform: scale(1.08); }
}

/* Carte de titre posée sur la photo : vert de la marque, légèrement translucide. */
.mp-hero-carte.e-con {
	background: color-mix(in srgb, var(--mp-ptexte) 93%, transparent);
	-webkit-backdrop-filter: blur(10px) saturate(1.2);
	backdrop-filter: blur(10px) saturate(1.2);
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: calc(var(--mp-rayon) + 10px);
	box-shadow: 0 30px 60px -20px rgba(10, 20, 12, .45);
}
.mp-hero-carte .elementor-heading-title,
.mp-hero-carte .elementor-widget-text-editor { color: #fff; }
.mp-hero-carte .mp-hero-sous-titre { color: rgba(255, 255, 255, .94); }

/* Entrée de la carte au chargement : une seule fois, douce. */
.mp-animations .mp-hero-carte.e-con > .elementor-element {
	animation: mp-entree .9s cubic-bezier(.16, 1, .3, 1) both;
}
.mp-animations .mp-hero-carte.e-con > .elementor-element:nth-child(2) { animation-delay: .08s; }
.mp-animations .mp-hero-carte.e-con > .elementor-element:nth-child(3) { animation-delay: .16s; }
.mp-animations .mp-hero-carte.e-con > .elementor-element:nth-child(4) { animation-delay: .24s; }
.mp-animations .mp-hero-carte.e-con { animation: mp-entree-carte 1s cubic-bezier(.16, 1, .3, 1) both; }

@keyframes mp-entree {
	from { opacity: 0; transform: translateY(16px); filter: blur(4px); }
	to { opacity: 1; transform: none; filter: none; }
}
@keyframes mp-entree-carte {
	from { opacity: 0; transform: translateY(24px) scale(.98); }
	to { opacity: 1; transform: none; }
}

/* Titre de section centré, avec sous-titre coloré (comme la maquette). */
.mp-titre-centre { text-align: center; }
.mp-titre-centre .elementor-heading-title { text-align: center; }
.mp-accroche .elementor-heading-title {
	font-family: var(--mp-police-titres);
	font-weight: 500;
	font-size: clamp(18px, 2.2vw, 24px);
	color: var(--mp-ptexte);
	letter-spacing: -.01em;
}
.mp-sombre .mp-accroche .elementor-heading-title { color: var(--mp-doux); }

/* Cartes de services avec photo de fond. */
.mp-carte-photo.e-con {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	border-radius: calc(var(--mp-rayon) + 6px);
	background-color: var(--mp-fonce);
}
.mp-carte-photo.e-con::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image: inherit;
	background-size: cover;
	background-position: inherit;
	transition: transform .8s cubic-bezier(.16, 1, .3, 1);
}
.mp-carte-photo.e-con::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, color-mix(in srgb, var(--mp-nuit) 15%, transparent) 0%, color-mix(in srgb, var(--mp-nuit) 72%, transparent) 42%, color-mix(in srgb, var(--mp-nuit) 92%, transparent) 70%);
}
.mp-carte-photo.e-con > .elementor-element { position: relative; z-index: 2; }
.mp-carte-photo.e-con:hover::after { transform: scale(1.05); }
.mp-carte-photo .elementor-heading-title,
.mp-carte-photo .elementor-widget-text-editor { color: #fff; }

/* Cartes claires de l'accueil : fond vert très léger, soulèvement au survol. */
.mp-carte-douce.e-con {
	background: var(--mp-clair);
	border-radius: calc(var(--mp-rayon) + 6px);
	transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s cubic-bezier(.16, 1, .3, 1);
}
.mp-carte-douce.e-con:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -18px rgba(20, 60, 30, .35); }
.mp-carte-douce .elementor-heading-title { color: var(--mp-psombre); }
.mp-carte-douce .mp-gris { color: #3E4A42; }

/* Photo encadrée du bloc « Bienvenue » : cadre arrondi et forme décalée. */
.mp-photo-cadre.e-con { position: relative; isolation: isolate; }
.mp-photo-cadre.e-con::before {
	content: "";
	position: absolute;
	inset: 28px -18px -18px 28px;
	z-index: -1;
	border-radius: calc(var(--mp-rayon) + 14px);
	background: var(--mp-principale);
	opacity: .9;
}
.mp-photo-cadre img { border-radius: calc(var(--mp-rayon) + 14px); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55); }

/* Bloc « Bienvenue » sur fond vert foncé. */
/* Couleur de secours : Elementor ne charge le dégradé qu'à l'approche du bloc. */
.mp-bienvenue.e-con { background-color: var(--mp-degrade); background-image: linear-gradient(120deg, var(--mp-degrade) 0%, color-mix(in srgb, var(--mp-degrade) 60%, var(--mp-nuit)) 100%); }

/* Lien fléché clair. */
.mp-lien-clair .elementor-button { background: transparent !important; color: var(--mp-doux) !important; padding-left: 0 !important; padding-right: 0 !important; }
.mp-lien-clair .elementor-button:hover { color: #fff !important; text-decoration: underline; text-underline-offset: 4px; }

html { scrollbar-color: color-mix(in srgb, var(--mp-principale) 60%, #fff) transparent; }

@media (max-width: 1024px) {
	.mp-hero.e-con::before { background: color-mix(in srgb, var(--mp-nuit) 55%, transparent); }
	.mp-photo-cadre.e-con::before { inset: 18px -10px -10px 18px; }
}

/* Icônes des cartes claires : pastille blanche pour se détacher du fond vert. */
.mp-carte-douce .mp-ico-box .elementor-icon { background: #fff; box-shadow: 0 6px 16px -10px rgba(20, 60, 30, .35); }

/* Grande photo : carte de titre à droite (le sujet de la photo reste visible à gauche). */
.mp-hero--droite.e-con::before {
	background: linear-gradient(265deg, color-mix(in srgb, var(--mp-nuit) 70%, transparent) 0%, color-mix(in srgb, var(--mp-nuit) 25%, transparent) 55%, transparent 100%);
}

/* Mobile : la carte descend en bas de la photo, le visage reste visible en haut. */
@media (max-width: 767px) {
	.mp-hero--droite.e-con {
		--justify-content: flex-end;
		justify-content: flex-end !important;
		min-height: 680px !important;
		padding-top: 260px !important;
		background-position: 38% 20% !important;
	}
	.mp-hero--droite.e-con::before {
		background: linear-gradient(180deg, transparent 20%, color-mix(in srgb, var(--mp-nuit) 60%, transparent) 100%);
	}
}

/* =========================================================
   15. Pied de page « Vitrine »
   ========================================================= */

.mp-pied--vitrine {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	color: rgba(255, 255, 255, .8);
	font-size: 15px;
	background-color: color-mix(in srgb, var(--mp-degrade) 45%, var(--mp-nuit));
	background-image: linear-gradient(165deg, color-mix(in srgb, var(--mp-degrade) 70%, var(--mp-nuit)) 0%, color-mix(in srgb, var(--mp-degrade) 30%, var(--mp-nuit)) 100%);
}
/* Petites croix très discrètes, qui s'effacent vers le bas. */
.mp-pied--vitrine::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M26 22h4v4h4v4h-4v4h-4v-4h-4v-4h4z' fill='%23ffffff' fill-opacity='.07'/%3E%3C/svg%3E");
	-webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
	mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.mp-pied-vitrine {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1.2fr);
	gap: 56px;
	padding-top: 80px;
	padding-bottom: 56px;
}

.mp-pied--vitrine .mp-pied-marque { gap: 20px; max-width: 380px; }
.mp-pied-logo {
	display: inline-flex;
	align-self: flex-start;
	padding: 14px 20px;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .6);
	transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}
.mp-pied-logo:hover { transform: translateY(-2px); }
.mp-pied-logo .mp-logo-img { height: 48px; width: auto; display: block; }
.mp-pied-accroche {
	margin: 0;
	font-family: var(--mp-police-titres);
	font-size: 19px;
	font-weight: 500;
	line-height: 1.45;
	letter-spacing: -.01em;
	color: #fff;
	text-wrap: pretty;
}

.mp-pied--vitrine .mp-pied-titre {
	margin: 0 0 20px;
	font-family: var(--mp-police-titres);
	font-size: 17px;
	font-weight: 700;
	color: #fff;
}

/* Liens : soulignement qui glisse au survol. */
.mp-pied--vitrine .mp-pied-liens { gap: 12px; }
.mp-pied--vitrine .mp-pied-liens a,
.mp-pied--vitrine .mp-pied-contacts a,
.mp-pied--vitrine .mp-pied-bas a {
	color: rgba(255, 255, 255, .82);
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
	transition: color .2s ease, background-size .35s cubic-bezier(.16, 1, .3, 1);
	padding: 2px 0;
}
.mp-pied--vitrine .mp-pied-liens a:hover,
.mp-pied--vitrine .mp-pied-liens a:focus-visible,
.mp-pied--vitrine .mp-pied-contacts a:hover,
.mp-pied--vitrine .mp-pied-contacts a:focus-visible,
.mp-pied--vitrine .mp-pied-bas a:hover,
.mp-pied--vitrine .mp-pied-bas a:focus-visible { color: #fff; background-size: 100% 1px; text-decoration: none; }
.mp-pied--vitrine .mp-pied-liens .current-menu-item > a { color: var(--mp-doux); }

/* Coordonnées avec icônes. */
.mp-pied-contacts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.mp-pied-contacts li { display: flex; align-items: center; gap: 14px; }
.mp-pied-ico {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .12);
	color: var(--mp-doux);
	transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.mp-pied-ico svg { width: 19px; height: 19px; }
.mp-pied-contacts li:hover .mp-pied-ico { background: var(--mp-principale); border-color: var(--mp-principale); color: #fff; }
.mp-pied-valeur { display: flex; flex-wrap: wrap; gap: 2px 14px; line-height: 1.45; color: rgba(255, 255, 255, .82); overflow-wrap: anywhere; }
.mp-pied--vitrine .mp-pied-contacts a { color: #fff; font-weight: 600; }

.mp-pied--vitrine .mp-pied-bas { border-top-color: rgba(255, 255, 255, .14); padding-top: 22px; padding-bottom: 30px; color: rgba(255, 255, 255, .7); font-size: 13.5px; }
.mp-pied-bas-liens { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; }
.mp-pied--vitrine .mp-pied-connexion { color: rgba(255, 255, 255, .7); }

@media (max-width: 1024px) {
	.mp-pied-vitrine { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
	.mp-pied--vitrine .mp-pied-marque { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 640px) {
	.mp-pied-vitrine { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 56px; padding-bottom: 40px; }
	.mp-pied--vitrine .mp-pied-bas { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   16. Bandeau de chiffres clés (sous la grande photo)
   ========================================================= */

.mp-faits-section.e-con { position: relative; z-index: 3; }
.mp-faits.e-con {
	margin-top: -64px;
	background: #fff;
	border: 1px solid var(--mp-bordure);
	border-radius: calc(var(--mp-rayon) + 8px);
	box-shadow: 0 30px 60px -36px rgba(20, 50, 28, .45);
	overflow: hidden;
}
.mp-fait.e-con { position: relative; }
.mp-fait.e-con + .mp-fait.e-con::before {
	content: "";
	position: absolute;
	left: 0;
	top: 24px;
	bottom: 24px;
	width: 1px;
	background: var(--mp-bordure);
}
.mp-fait-valeur .elementor-heading-title,
.mp-fait-compteur .elementor-counter-number-wrapper {
	font-family: var(--mp-police-titres);
	font-weight: 700;
	font-size: clamp(30px, 3.4vw, 44px);
	line-height: 1.05;
	letter-spacing: -.02em;
	color: var(--mp-ptexte);
}
.mp-fait-compteur .elementor-counter { display: block; }
.mp-fait-compteur .elementor-counter-number-wrapper { display: flex; align-items: baseline; justify-content: flex-start; gap: 0; }
.mp-fait-compteur .elementor-counter-number { font-variant-numeric: tabular-nums; }
.mp-fait-compteur .elementor-counter-number-prefix:empty { display: none; }
.mp-fait-compteur .elementor-counter-number-prefix,
.mp-fait-compteur .elementor-counter-number-suffix { flex-grow: 0; text-align: start; }
.mp-fait-label,
.mp-fait-label p { margin: 0; color: var(--mp-gris); font-size: 15px; line-height: 1.45; }

@media (max-width: 767px) {
	.mp-faits.e-con { margin-top: 24px; }
	.mp-fait.e-con + .mp-fait.e-con::before { left: 24px; right: 24px; top: 0; bottom: auto; width: auto; height: 1px; }
}

/* =========================================================
   17. Blocs enrichis : bande des gammes, gammes, pourquoi nous,
   étapes reliées, parcours, mission, questions fréquentes, carte
   ========================================================= */

/* Fonds de section */
.mp-section-fond.e-con { background: var(--mp-fond); }
.mp-section-claire.e-con { background: linear-gradient(180deg, color-mix(in srgb, var(--mp-clair) 70%, #fff) 0%, #fff 100%); }

/* Bande des gammes : défile lentement, s'arrête au survol ou au clavier. */
.e-con:has(> .mp-bande) { overflow: hidden; max-width: 100%; }
.mp-bande { overflow: hidden; min-width: 0; max-width: 100%; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mp-bande-piste { display: flex; width: max-content; animation: mp-bande 45s linear infinite; }
.mp-bande:hover .mp-bande-piste,
.mp-bande:focus-within .mp-bande-piste { animation-play-state: paused; }
.mp-bande-liste { list-style: none; margin: 0 !important; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; }
.mp-bande-piste .mp-bande-liste { flex-wrap: nowrap; }
.mp-bande-liste li {
	display: inline-flex;
	align-items: center;
	gap: 28px;
	padding: 8px 28px 8px 0;
	white-space: nowrap;
	font-family: var(--mp-police-titres);
	font-weight: 600;
	font-size: clamp(20px, 2.4vw, 30px);
	letter-spacing: -.01em;
	color: var(--mp-psombre);
}
.mp-bande-liste li:nth-child(even) { color: var(--mp-ptexte); }
.mp-bande-liste li::after {
	content: "";
	width: 20px;
	height: 20px;
	flex: none;
	background: var(--mp-principale);
	clip-path: polygon(35% 0, 65% 0, 65% 35%, 100% 35%, 100% 65%, 65% 65%, 65% 100%, 35% 100%, 35% 65%, 0 65%, 0 35%, 35% 35%);
}
@keyframes mp-bande { to { transform: translateX(-50%); } }

/* Cartes des gammes : numéro discret, passage au vert foncé au survol. */
.mp-gamme.e-con {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background: #fff;
	border: 1px solid var(--mp-bordure);
	border-radius: calc(var(--mp-rayon) + 6px);
	transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s cubic-bezier(.16, 1, .3, 1), border-color .35s ease;
}
.mp-gamme.e-con::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(150deg, var(--mp-ptexte) 0%, var(--mp-degrade) 100%);
	opacity: 0;
	transition: opacity .35s ease;
}
.mp-gamme-num .elementor-heading-title { font-family: var(--mp-police-titres); font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--mp-ptexte); transition: color .35s ease; }
.mp-gamme .elementor-icon-box-title { color: var(--mp-texte); transition: color .35s ease; }
.mp-gamme .elementor-icon-box-description { transition: color .35s ease; }
.mp-gamme .elementor-icon { transition: transform .45s cubic-bezier(.16, 1, .3, 1), background .35s ease; }
.mp-gamme.e-con:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 24px 44px -22px rgba(20, 60, 30, .55); }
.mp-gamme.e-con:hover::before { opacity: 1; }
.mp-gamme.e-con:hover .elementor-icon-box-title,
.mp-gamme.e-con:hover .mp-gamme-num .elementor-heading-title { color: #fff; }
.mp-gamme.e-con:hover .elementor-icon-box-description { color: rgba(255, 255, 255, .9); }
.mp-gamme.e-con:hover .elementor-icon { background: #fff; transform: rotate(-8deg) scale(1.06); }

/* Pourquoi nous choisir : photo à gauche, forme décalée et pastille « Depuis 2011 ». */
.mp-photo-cadre--gauche.e-con::before { inset: 28px 28px -18px -18px; }
.mp-badge-flottant.e-con {
	position: absolute !important;
	right: -28px;
	bottom: 40px;
	z-index: 2;
	width: auto !important;
	max-width: 230px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 20px 40px -18px rgba(10, 30, 15, .45);
}
.mp-badge-flottant-titre .elementor-heading-title { font-family: var(--mp-police-titres); font-size: 22px; font-weight: 700; color: var(--mp-ptexte); letter-spacing: -.01em; }
.mp-badge-flottant-texte, .mp-badge-flottant-texte p { margin: 0; font-size: 14px; line-height: 1.4; color: var(--mp-gris); }
.mp-point .elementor-icon-box-wrapper { align-items: flex-start; }
.mp-point .elementor-icon { width: 46px; height: 46px; border-radius: 12px; }
.mp-point .elementor-icon-box-title { font-size: 18px; }

/* Étapes reliées par une ligne. */
.mp-etapes-ligne.e-con { position: relative; }
.mp-etape.e-con { position: relative; text-align: center; align-items: center; }
.mp-etape-rond .elementor-heading-title {
	width: 64px;
	height: 64px;
	margin: 0 auto 8px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 2px solid var(--mp-principale);
	box-shadow: 0 0 0 8px color-mix(in srgb, var(--mp-clair) 80%, #fff);
	font-family: var(--mp-police-titres);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0;
	color: var(--mp-ptexte);
	transition: background .3s ease, color .3s ease;
}
.mp-etape.e-con:hover .mp-etape-rond .elementor-heading-title { background: var(--mp-ptexte); color: #fff; }
.mp-etape .mp-etape-titre .elementor-heading-title { font-size: 19px; }
.mp-etape .mp-etape-texte { max-width: 26ch; margin: 0 auto; }
@media (min-width: 1025px) {
	.mp-etapes-ligne.e-con::before {
		content: "";
		position: absolute;
		top: 32px;
		left: 12.5%;
		right: 12.5%;
		width: auto;
		height: 2px;
		inset-inline: 12.5%;
		background: repeating-linear-gradient(90deg, var(--mp-principale) 0 10px, transparent 10px 18px);
		opacity: .55;
	}
	.mp-etapes-ligne.e-con > .mp-etape { z-index: 1; }
}

/* Questions fréquentes : la colonne de gauche reste visible. */
@media (min-width: 1025px) {
	.mp-colle.e-con { position: sticky; top: 120px; }
}
.mp-faq-etroite.e-con { max-width: 820px; margin: 0 auto; width: 100%; }

/* Carte et coordonnées côte à côte. */
.mp-section-fond .mp-carte-gm { flex-grow: 1; }
.mp-section-fond .mp-carte-gm > .elementor-widget-container,
.mp-section-fond .mp-carte-gm .elementor-custom-embed { height: 100%; }
.mp-section-fond .mp-carte-gm iframe { height: 100% !important; min-height: 360px; }
.mp-section-fond .elementor-widget-mp-coordonnees { flex-grow: 1; }
.mp-section-fond .elementor-widget-mp-coordonnees > .elementor-widget-container { height: 100%; }
.mp-section-fond .mp-coordonnees { gap: 16px; height: 100%; grid-auto-rows: 1fr; }
.mp-section-fond .mp-coordonnee {
	background: #fff;
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 18px;
	row-gap: 2px;
	align-content: center;
	align-items: center;
	padding: 22px 24px;
}
.mp-section-fond .mp-coordonnee .mp-pastille-icone { grid-row: span 2; margin: 0; }
.mp-section-fond .mp-coordonnee .mp-libelle { margin: 0; align-self: end; }
.mp-section-fond .mp-coordonnee .mp-coordonnee-valeur { font-size: 17px; align-self: start; }

/* Notre parcours : frise à trois jalons. */
.mp-jalon.e-con {
	position: relative;
	padding-top: 36px !important;
	border-top: 2px solid var(--mp-bordure);
}
.mp-jalon.e-con::before {
	content: "";
	position: absolute;
	top: -9px;
	left: 0;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--mp-principale);
	box-shadow: 0 0 0 6px color-mix(in srgb, var(--mp-principale) 22%, transparent);
}
.mp-jalon-date .elementor-heading-title { font-family: var(--mp-police-titres); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mp-ptexte); }
.mp-jalon-titre .elementor-heading-title { font-size: 22px; }

/* Notre mission : grande carte photo. */
.mp-mission.e-con { border-radius: calc(var(--mp-rayon) + 14px); }
.mp-mission.e-con::before { background: linear-gradient(90deg, color-mix(in srgb, var(--mp-nuit) 92%, transparent) 0%, color-mix(in srgb, var(--mp-nuit) 72%, transparent) 55%, color-mix(in srgb, var(--mp-nuit) 40%, transparent) 100%); }
.mp-mission .mp-mission-titre .elementor-heading-title { font-size: clamp(28px, 3.6vw, 46px); max-width: 20ch; color: #fff; }
.mp-mission .elementor-widget-text-editor { max-width: 56ch; }

@media (max-width: 1024px) {
	.mp-badge-flottant.e-con { right: 8px; bottom: 20px; }
}
@media (max-width: 767px) {
	.mp-photo-cadre--gauche.e-con::before { inset: 18px 18px -10px -10px; }
	.mp-section-fond .mp-carte-gm iframe { min-height: 300px; }
	.mp-bande-liste li { gap: 20px; padding-right: 20px; }
	.mp-bande-liste li::after { width: 16px; height: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	.mp-bande-piste { animation: none; }
	.mp-gamme.e-con, .mp-gamme .elementor-icon, .mp-gamme.e-con::before { transition: none; }
	.mp-gamme.e-con:hover { transform: none; }
}

/* Bande des gammes immobile (moins d'animations demandé, ou animations coupées) : liste compacte, sans fondu. */
.mp-bande:not(:has(.mp-bande-piste)) { -webkit-mask-image: none; mask-image: none; padding: 0 20px; }
.mp-bande:not(:has(.mp-bande-piste)) .mp-bande-liste { gap: 6px 0; }
.mp-bande:not(:has(.mp-bande-piste)) .mp-bande-liste li { font-size: clamp(17px, 2vw, 22px); gap: 16px; padding: 2px 16px 2px 0; }
.mp-bande:not(:has(.mp-bande-piste)) .mp-bande-liste li::after { width: 14px; height: 14px; }
.mp-bande:not(:has(.mp-bande-piste)) .mp-bande-liste li:last-child { padding-right: 0; }
.mp-bande:not(:has(.mp-bande-piste)) .mp-bande-liste li:last-child::after { display: none; }

/* =========================================================
   18. Bouton « Espace client » (extranet) et galerie « Nos locaux »
   ========================================================= */

/* Ordinateur : second bouton, contourné, à gauche du bouton d'action. */
a.mp-bouton--espace { background: transparent; color: var(--mp-ptexte); box-shadow: inset 0 0 0 1.5px var(--mp-principale); }
a.mp-bouton--espace:hover,
a.mp-bouton--espace:focus { background: var(--mp-clair); color: var(--mp-psombre); }
a.mp-bouton--espace svg,
a.mp-nav-espace svg { width: 18px; height: 18px; flex: none; }
.mp-entete--sombre a.mp-bouton--espace { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.mp-entete--sombre a.mp-bouton--espace:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* Le lien dans le menu ne sert que sur tablette et mobile. */
a.mp-nav-espace { display: none; }

@media (max-width: 1180px) and (min-width: 1025px) {
	a.mp-bouton--espace { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 1024px) {
	a.mp-bouton--espace { display: none; }
	a.mp-nav-espace {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 10px;
		margin-top: 16px;
		min-height: 48px;
		padding: 12px 18px;
		border-radius: var(--mp-rayon-bouton);
		box-shadow: inset 0 0 0 1.5px var(--mp-principale);
		color: var(--mp-ptexte);
		font-weight: 700;
		font-size: 16px;
		text-decoration: none;
	}
	a.mp-nav-espace:hover,
	a.mp-nav-espace:focus { background: var(--mp-clair); color: var(--mp-psombre); }
	.mp-entete--sombre a.mp-nav-espace { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
}

/* Bloc « Déjà client ? » de l'accueil. */
.mp-espace-bloc.e-con {
	border: 1px solid var(--mp-bordure);
	border-radius: calc(var(--mp-rayon) + 10px);
	background: #fff;
	box-shadow: 0 20px 40px -30px rgba(20, 40, 25, .35);
}
.mp-espace-bloc .mp-espace-titre .elementor-heading-title { font-size: clamp(22px, 2.2vw, 28px); margin: 0; }
.mp-espace-bloc .elementor-widget-text-editor { font-size: 16px; }
.mp-espace-bloc .mp-ico .elementor-icon { width: 60px; height: 60px; border-radius: 16px; }
.mp-espace-bloc .mp-ico .elementor-icon svg { width: 28px; height: 28px; }

/* Galerie « Nos locaux » : hauteur de ligne fixe, la mise en page suit le nombre de photos.
   5 et plus : une grande + des petites. 4 : quatre égales. 3 : une grande + deux empilées.
   2 : deux égales. 1 : une large. */
.mp-locaux .mp-galerie {
	--mp-ligne-photo: clamp(150px, 15vw, 220px);
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: var(--mp-ligne-photo);
	gap: 16px;
}
.mp-locaux .mp-photo { position: relative; margin: 0; min-height: 0; overflow: hidden; border-radius: calc(var(--mp-rayon) + 4px); }
.mp-locaux .mp-photo-lien { display: block; width: 100%; height: 100%; }
.mp-locaux .mp-photo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.mp-locaux .mp-photo-lien:hover img { transform: scale(1.04); }
.mp-locaux .mp-photo figcaption {
	position: absolute;
	left: 10px;
	bottom: 10px;
	right: auto;
	max-width: calc(100% - 20px);
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .92);
	color: var(--mp-texte);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	pointer-events: none;
}
.mp-locaux .mp-galerie > .mp-photo:first-child { grid-column: span 2; grid-row: span 2; }
/* 4 photos : quatre égales. */
.mp-locaux .mp-galerie:has(> .mp-photo:nth-child(4):last-child) > .mp-photo:first-child { grid-column: auto; grid-row: span 2; }
.mp-locaux .mp-galerie:has(> .mp-photo:nth-child(4):last-child) > .mp-photo { grid-row: span 2; }
/* 3 photos : une grande et deux empilées. */
.mp-locaux .mp-galerie:has(> .mp-photo:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* 2 photos : deux égales. */
.mp-locaux .mp-galerie:has(> .mp-photo:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mp-locaux .mp-galerie:has(> .mp-photo:nth-child(2):last-child) > .mp-photo { grid-column: auto; grid-row: span 2; }
/* 1 photo : une seule, large. */
.mp-locaux .mp-galerie:has(> .mp-photo:only-child) { grid-template-columns: 1fr; }
.mp-locaux .mp-galerie > .mp-photo:only-child { grid-column: auto; grid-row: span 2; }

@media (max-width: 1024px) {
	.mp-locaux .mp-galerie,
	.mp-locaux .mp-galerie:has(> .mp-photo:nth-child(3):last-child) { --mp-ligne-photo: clamp(130px, 24vw, 200px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mp-locaux .mp-galerie > .mp-photo,
	.mp-locaux .mp-galerie:has(> .mp-photo:nth-child(4):last-child) > .mp-photo { grid-column: auto; grid-row: auto; }
	.mp-locaux .mp-galerie > .mp-photo:first-child { grid-column: 1 / -1; grid-row: span 2; }
	/* Nombre pair de photos : pas de grande, pour ne pas laisser de trou. */
	.mp-locaux .mp-galerie:has(> .mp-photo:nth-child(2):last-child) > .mp-photo:first-child,
	.mp-locaux .mp-galerie:has(> .mp-photo:nth-child(4):last-child) > .mp-photo:first-child { grid-column: auto; grid-row: auto; }
	.mp-locaux .mp-galerie > .mp-photo:only-child { grid-column: 1 / -1; grid-row: span 2; }
}
@media (max-width: 767px) {
	.mp-locaux .mp-galerie { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
	.mp-locaux .mp-photo img { transition: none; }
	.mp-locaux .mp-photo-lien:hover img { transform: none; }
}

