/* ==========================================================================
   Mes Bons Plans PrixKdo — surcouche du thème (assets/css/style.css)
   Charte : orange #f78116 · bleu #0d46d6 · marine #071c3d
   Les surfaces/texte s'appuient sur les variables du thème (--white,
   --heading-color, --body-color, --border-color, --light) qui basculent
   automatiquement en mode sombre ([data-theme=dark]).
   ========================================================================== */

:root {
	--mbp-orange: #f78116;
	--mbp-orange-dark: #d96b0a;
	--mbp-blue: #0d46d6;
	--mbp-blue-dark: #0a37ac;
	--mbp-navy: #071c3d;
	--mbp-success: #12b76a;
	--mbp-danger: #e5484d;
	--mbp-radius: 16px;
	--mbp-radius-sm: 10px;
	--mbp-shadow: 0 10px 30px rgba(7, 28, 61, .08);
	--mbp-shadow-lg: 0 24px 60px rgba(7, 28, 61, .16);
	--mbp-ease: cubic-bezier(.22, .8, .24, 1);

	/* Thème : couleurs de marque */
	--primary: #f78116;
	--primary-rgb: 247, 129, 22;
	--primary-dark: #d96b0a;
	--primary-transparent: #fff3e6;
	--secondary: #0d46d6;
	--secondary-rgb: 13, 70, 214;
	--secondary-dark: #0a37ac;
	--secondary-transparent: #e8eefc;
	--bs-primary: #f78116;
	--bs-primary-rgb: 247, 129, 22;
	--bs-link-color: #0d46d6;
	--bs-link-color-rgb: 13, 70, 214;
}
:root:not([data-theme=dark]) {
	--dark: #071c3d;
	--dark-rgb: 7, 28, 61;
}
[data-theme=dark] {
	--primary-transparent: rgba(247, 129, 22, .14);
	--secondary-transparent: rgba(13, 70, 214, .2);
	--mbp-shadow: 0 10px 30px rgba(0, 0, 0, .35);
	--mbp-shadow-lg: 0 24px 60px rgba(0, 0, 0, .5);
}

body { background: var(--white); }
/* les animations AOS latérales (fade-left/right) décalent les blocs hors écran avant leur apparition ;
   clip (et non hidden) ne crée pas de conteneur de défilement et préserve position: sticky */
.main-wrapper { overflow-x: clip; }
@media (max-width: 767.98px) { .row.g-5 { --bs-gutter-x: 1.5rem; } }
.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.link-primary { color: var(--primary) !important; }
.btn-primary { --bs-btn-bg: var(--primary); }
.btn { border-radius: 10px; }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(var(--primary-rgb), .15); }
.form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.fs-12 { font-size: 12px; }
:focus-visible { outline: 3px solid rgba(var(--primary-rgb), .55); outline-offset: 2px; }

.mbp-skip {
	position: fixed; left: 16px; top: -60px; z-index: 2000;
	background: var(--mbp-navy); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.mbp-skip:focus { top: 16px; color: #fff; }

/* ---------- Typo & utilitaires ---------- */
.mbp-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
	color: var(--primary); background: var(--primary-transparent);
	padding: 6px 12px; border-radius: 99px; margin-bottom: 14px;
}
.mbp-eyebrow-light { color: #fff; background: rgba(255, 255, 255, .15); }
.mbp-h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; color: var(--heading-color); margin-bottom: 14px; line-height: 1.2; }
.mbp-h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; color: var(--heading-color); }
.mbp-h4 { font-size: 20px; font-weight: 700; color: var(--heading-color); margin-bottom: 14px; }
.mbp-lead { font-size: 17px; line-height: 1.7; }
.mbp-check-list { list-style: none; padding: 0; margin: 0; }
.mbp-check-list li { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; color: var(--heading-color); }
.mbp-check-list i { color: var(--mbp-success); }
.section-heading .sec-line.justify-content-start { justify-content: flex-start; }

/* ---------- Header ---------- */
.mbp-header { box-shadow: 0 1px 0 var(--border-color); background: var(--white); }
.mbp-header .header-nav { flex-wrap: nowrap; gap: 16px; }
.mbp-header .main-nav > li > a { white-space: nowrap; }
/* le thème impose margin-right: 30px !important entre les entrées du menu */
@media (min-width: 992px) {
	header.mbp-header .main-menu-wrapper .main-nav > li { margin-right: 24px !important; }
	header.mbp-header .main-menu-wrapper .main-nav > li:last-child { margin-right: 0 !important; }
}
@media (min-width: 992px) and (max-width: 1299.98px) {
	header.mbp-header .main-menu-wrapper .main-nav > li { margin-right: 14px !important; }
	header.mbp-header .header-nav .main-menu-wrapper .main-nav > li > a { font-size: 14px; }
}
.mbp-header .header-items { flex-wrap: nowrap; }
.mbp-header .header-items .btn { white-space: nowrap; }
.mbp-logo { display: inline-flex !important; align-items: center; gap: 10px; width: auto !important; }
.mbp-logo img { height: 26px; width: auto; }
.mbp-header .navbar-header { flex: none; width: auto; }
.mbp-logo-dark { display: none; }
[data-theme=dark] .mbp-logo-light { display: none; }
[data-theme=dark] .mbp-logo-dark { display: inline-block; }
.mbp-header .header-items { gap: 8px; align-items: center; }
.mbp-header .topbar-link { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.mbp-kbd { font-size: 11px; padding: 2px 6px; border-radius: 5px; border: 1px solid var(--border-color); color: var(--body-color); font-weight: 600; line-height: 1.4; white-space: nowrap; }
@media (min-width: 1400px) {
	/* l'indication du raccourci s'affiche à partir de cette largeur : le bouton s'élargit pour la contenir */
	.mbp-header .header-items .topbar-link.mbp-search-trigger { width: auto; padding: 0 10px 0 12px; gap: 8px; }
}
.mbp-fav-count {
	position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px;
	border-radius: 99px; background: var(--mbp-danger); color: #fff; font-size: 11px; font-weight: 700;
	display: inline-flex; align-items: center; justify-content: center;
}
.mbp-fav-count.is-bump { animation: mbp-bump .45s var(--mbp-ease); }
@keyframes mbp-bump { 40% { transform: scale(1.4); } }
.mbp-theme-toggle .mbp-icon-dark { display: none; }
[data-theme=dark] .mbp-theme-toggle .mbp-icon-dark { display: inline; }
[data-theme=dark] .mbp-theme-toggle .mbp-icon-light { display: none; }
.mbp-pulse-dot {
	display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--mbp-danger);
	margin-left: 4px; vertical-align: super; position: relative;
}
.mbp-pulse-dot::after {
	content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit;
	animation: mbp-ping 1.6s cubic-bezier(0, 0, .2, 1) infinite;
}
@keyframes mbp-ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }

@media (min-width: 992px) {
	.mbp-has-mega { position: relative; }
	.mbp-mega.submenu {
		display: grid !important; grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: 2px 14px;
		min-width: 520px; padding: 16px !important;
	}
	.mbp-has-mega:not(:hover) > .mbp-mega.submenu { visibility: hidden; opacity: 0; }
}
.mbp-mega li > a { display: flex !important; align-items: center; gap: 10px; }
.mbp-mega li > a i { width: 18px; text-align: center; color: #000 !important; }
[data-theme=dark] .mbp-mega li > a i { color: #fff !important; }
.mbp-mega-head { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid var(--border-color); }
.mbp-mega-head a, .mbp-mega-head a:hover { background: #f1f3f5 !important; border-radius: 8px; padding: 8px 12px !important; color: #000 !important; font-weight: 600; }
.mbp-mega-head a:hover { background: #e4e7eb !important; }
[data-theme=dark] .mbp-mega-head a, [data-theme=dark] .mbp-mega-head a:hover { background: #222423 !important; color: #fff !important; }

/* ---------- Breadcrumb ---------- */
/* bootstrap.min.css (copie HTTrack) a remplacé le séparateur "/" par une URL : on le redéfinit */
.breadcrumb { --bs-breadcrumb-divider: "/"; }
.mbp-breadcrumb .breadcrumb-title { margin-bottom: 6px; }
.mbp-breadcrumb-sub { color: var(--body-color); margin-bottom: 12px; }

/* ==========================================================================
   HERO : fond vidéo rotatif (5 s), barre de progression, pastilles
   ========================================================================== */
.mbp-hero.Home-banner-section {
	background: var(--mbp-navy);
	min-height: min(92vh, 860px);
	display: flex; flex-direction: column; justify-content: center;
	padding: 120px 0 150px;
	isolation: isolate;
}
.mbp-hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.mbp-hero-video {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	opacity: 0; transform: scale(1.08);
	transition: opacity 1.1s ease, transform 6s linear;
}
.mbp-hero-video.is-active { opacity: 1; transform: scale(1); }
.mbp-hero-overlay {
	position: absolute; inset: 0;
	background:
		radial-gradient(1200px 600px at 10% 40%, rgba(7, 28, 61, .45), transparent 60%),
		linear-gradient(90deg, rgba(7, 28, 61, .74) 0%, rgba(7, 28, 61, .44) 50%, rgba(7, 28, 61, .14) 100%),
		linear-gradient(0deg, rgba(7, 28, 61, .62) 0%, transparent 40%);
}
.mbp-hero .banner-content h1 { color: #fff; font-size: clamp(32px, 4.6vw, 56px); font-weight: 700; line-height: 1.1; text-wrap: balance; }
.mbp-hero .banner-content p { color: rgba(255, 255, 255, .86); font-size: 18px; max-width: 620px; }
.mbp-hero-kicker {
	display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
	color: #fff; font-size: 14px; padding: 8px 14px; border-radius: 99px;
	background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2);
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.mbp-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; position: relative; }
.mbp-live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: mbp-ping 1.8s infinite; }
.mbp-hero .home-search-1 .nav .nav-link { color: #fff; background: rgba(255, 255, 255, .12); backdrop-filter: blur(6px); }
.mbp-hero .home-search-1 .nav .nav-link.active { background: var(--primary); color: #fff; }
.mbp-hero .home-search-1 .search-item { border-radius: 14px; box-shadow: var(--mbp-shadow-lg); }
.mbp-hero .mbp-near-btn { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.mbp-hero .custom-search-item .btn i { font-size: 22px; }

/* Vidéo sans voile (accueil Symfony) : la lisibilité vient de l'ombre des textes et de fonds sombres translucides */
.mbp-hero-sans-filtre .banner-content h1 { text-shadow: 0 1px 3px rgba(0, 0, 0, .6), 0 4px 28px rgba(0, 0, 0, .5); }
.mbp-hero-sans-filtre .banner-content p { color: #fff; font-weight: 500; text-shadow: 0 1px 2px rgba(0, 0, 0, .7), 0 2px 16px rgba(0, 0, 0, .55); }
.mbp-hero-sans-filtre .mbp-hero-kicker { background: rgba(7, 28, 61, .5); border-color: rgba(255, 255, 255, .25); }
.mbp-hero-sans-filtre .home-search-1 .nav .nav-link:not(.active) { background: rgba(7, 28, 61, .55); text-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.mbp-hero-sans-filtre .mbp-hero-caption { text-shadow: 0 1px 3px rgba(0, 0, 0, .75), 0 0 14px rgba(0, 0, 0, .45); }
.mbp-hero-sans-filtre .mbp-hero-dot { background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(0, 0, 0, .2), 0 1px 4px rgba(0, 0, 0, .35); }
.mbp-hero-sans-filtre .mbp-hero-pause { background: rgba(7, 28, 61, .5); }

/* Contrôles : légende + pastilles de navigation + pause */
.mbp-hero-controls { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 3; }
.mbp-hero-caption { margin: 0; color: #fff; display: flex; align-items: baseline; gap: 6px; font-size: 14px; }
.mbp-hero-index { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mbp-hero-total { opacity: .6; }
.mbp-hero-label { margin-left: 10px; padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .35); opacity: .9; transition: opacity .4s; }
.mbp-hero-label.is-changing { opacity: 0; }
.mbp-hero-dots { display: flex; gap: 8px; }
.mbp-hero-dot {
	position: relative; width: 12px; height: 12px; padding: 0; border: 0; border-radius: 99px;
	background: rgba(255, 255, 255, .35); overflow: hidden; cursor: pointer;
	transition: width .5s var(--mbp-ease), background .3s;
}
.mbp-hero-dot:hover { background: rgba(255, 255, 255, .6); }
.mbp-hero-dot.is-active { width: 46px; background: rgba(255, 255, 255, .25); }
.mbp-hero-dot span { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--primary); border-radius: inherit; }
.mbp-hero-dot.is-active span { animation: mbp-fill var(--mbp-interval, 5s) linear forwards; }
.mbp-hero-pause {
	width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4);
	background: rgba(255, 255, 255, .1); color: #fff; display: inline-flex; align-items: center; justify-content: center;
}
.mbp-hero-pause .fa-play, .mbp-hero.is-paused .mbp-hero-pause .fa-pause, .mbp-hero-pause .ph-play, .mbp-hero.is-paused .mbp-hero-pause .ph-pause { display: none; }
.mbp-hero.is-paused .mbp-hero-pause .fa-play, .mbp-hero.is-paused .mbp-hero-pause .ph-play { display: inline; }

/* Barre de progression (5 s) : son animationend déclenche la vidéo suivante */
.mbp-hero-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .15); z-index: 3; }
.mbp-hero-progress span {
	display: block; height: 100%; transform-origin: left; transform: scaleX(0);
	background: linear-gradient(90deg, var(--mbp-orange), #ffc06b);
	box-shadow: 0 0 12px rgba(247, 129, 22, .8);
}
.mbp-hero-progress span.is-running { animation: mbp-fill var(--mbp-interval, 5s) linear forwards; }
.mbp-hero.is-paused .mbp-hero-progress span,
.mbp-hero.is-paused .mbp-hero-dot.is-active span { animation-play-state: paused; }
@keyframes mbp-fill { to { transform: scaleX(1); } }

/* Pastilles flottantes décoratives */
.mbp-pastilles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.mbp-pastille {
	position: absolute; display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 16px; border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--mbp-navy);
	background: rgba(255, 255, 255, .92); box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
	animation: mbp-float 7s ease-in-out infinite, mbp-pop .8s var(--mbp-ease) both;
}
.mbp-pastille b { color: #fff; background: var(--mbp-orange); padding: 2px 8px; border-radius: 99px; }
.mbp-pastille i { color: var(--mbp-orange); }
/* zone libre au-dessus du moteur de recherche, à droite du titre */
.mbp-pastille-1 { top: 20%; right: 8%; animation-delay: 0s, .6s; }
.mbp-pastille-2 { top: 34%; right: 24%; animation-delay: -2s, .9s; }
.mbp-pastille-3 { top: 44%; right: 5%; animation-delay: -4s, 1.2s; }
.mbp-pastille-4 { top: 11%; right: 30%; animation-delay: -1s, 1.5s; }
.mbp-pastille-4 b { background: var(--mbp-blue); }
/* pastilles cliquables : au-dessus du contenu du hero, le mouvement s'arrête au survol pour viser sans peine */
.mbp-pastilles-liens { z-index: 1; }
a.mbp-pastille, a.mbp-pastille:hover, a.mbp-pastille:focus { color: var(--mbp-navy); text-decoration: none; }
a.mbp-pastille { pointer-events: auto; transition: background .2s, box-shadow .2s; }
a.mbp-pastille:hover, a.mbp-pastille:focus-visible { background: #fff; box-shadow: 0 14px 34px rgba(0, 0, 0, .35), 0 0 0 2px var(--mbp-orange); animation-play-state: paused, running; }
[data-theme=dark] a.mbp-pastille, [data-theme=dark] a.mbp-pastille:hover, [data-theme=dark] a.mbp-pastille:focus { color: #fff; }
[data-theme=dark] a.mbp-pastille:hover, [data-theme=dark] a.mbp-pastille:focus-visible { background: #0d1520; }
/* Pastilles du hero en « autocollants » : chaque ligne a son propre fond arrondi, ajusté au texte, et les lignes se
   chevauchent pour former une seule forme qui suit le contour du texte ; l'ombre (drop-shadow) épouse cette forme. */
.mbp-pastilles-liens .mbp-pastille {
	flex-direction: column; align-items: center; gap: 0; padding: 0; border-radius: 0; background: none;
	font-family: "Poppins", var(--bs-body-font-family, sans-serif); font-weight: 800; font-size: 19px; line-height: 1.08;
	letter-spacing: -.01em; text-align: center; white-space: nowrap; color: #fff;
	text-shadow: 0 1px 0 rgba(0, 0, 0, .12);
	box-shadow: none; filter: drop-shadow(-2px 3px 0 rgba(10, 10, 20, .45)) drop-shadow(0 6px 10px rgba(0, 0, 0, .14));
}
.mbp-pastilles-liens .mbp-pastille span { display: block; padding: 6px 14px 7px; border-radius: 14px; background: var(--pastille-fond); }
.mbp-pastilles-liens .mbp-pastille span + span { margin-top: -8px; padding-top: 4px; font-size: .92em; }
.mbp-pastilles-liens .mbp-pastille-1 { --pastille-fond: var(--mbp-blue); rotate: -5deg; }
.mbp-pastilles-liens .mbp-pastille-2 { --pastille-fond: #c42a20; rotate: 4deg; }
.mbp-pastilles-liens .mbp-pastille-3 { --pastille-fond: #17a06a; rotate: -3deg; }
.mbp-pastilles-liens .mbp-pastille-4 { --pastille-fond: var(--mbp-orange); rotate: 3deg; }
/* texte et fond fixés dans tous les états (sinon la règle générale a.mbp-pastille:hover met un fond blanc) */
.mbp-pastilles-liens a.mbp-pastille, .mbp-pastilles-liens a.mbp-pastille:hover, .mbp-pastilles-liens a.mbp-pastille:focus, .mbp-pastilles-liens a.mbp-pastille:focus-visible,
[data-theme=dark] .mbp-pastilles-liens a.mbp-pastille, [data-theme=dark] .mbp-pastilles-liens a.mbp-pastille:hover, [data-theme=dark] .mbp-pastilles-liens a.mbp-pastille:focus-visible { color: #fff; background: none; box-shadow: none; }
.mbp-pastilles-liens a.mbp-pastille { transition: rotate .25s var(--mbp-ease), filter .25s; }
.mbp-pastilles-liens a.mbp-pastille:hover { rotate: 0deg; filter: drop-shadow(-3px 4px 0 rgba(10, 10, 20, .5)) drop-shadow(0 8px 14px rgba(0, 0, 0, .18)); }
/* clavier : contour blanc qui suit la forme */
.mbp-pastilles-liens a.mbp-pastille:focus-visible { rotate: 0deg; outline: none; filter: drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff) drop-shadow(-2px 3px 0 rgba(10, 10, 20, .45)); }
/* Apparition façon « autocollant » (inspirée du hero de djamo.com) : la pastille jaillit de presque rien avec un léger
   dépassement, puis deux petits traits graphiques (un arc jaune, trois points) éclatent autour et disparaissent. */
.mbp-pastilles-liens .mbp-pastille-1 { --f: 0s; --d: .6s; }
.mbp-pastilles-liens .mbp-pastille-2 { --f: -2s; --d: .9s; }
.mbp-pastilles-liens .mbp-pastille-3 { --f: -4s; --d: 1.2s; --points: #ffd23f; }
.mbp-pastilles-liens .mbp-pastille-4 { --f: -1s; --d: 1.5s; }
.mbp-pastilles-liens .mbp-pastille {
	animation: mbp-float 7s ease-in-out infinite, mbp-autocollant .5s cubic-bezier(.18, 1.5, .45, 1) both;
	animation-delay: var(--f), var(--d);
}
@keyframes mbp-autocollant {
	0% { opacity: 0; scale: .12; }
	35% { opacity: 1; }
	65% { scale: 1.08; }
	100% { opacity: 1; scale: 1; }
}
.mbp-pastilles-liens .mbp-pastille::before, .mbp-pastilles-liens .mbp-pastille::after {
	content: ""; position: absolute; pointer-events: none; opacity: 0;
	animation: mbp-eclat .8s ease-out both; animation-delay: calc(var(--d) + .22s);
}
/* arc jaune en haut à droite */
.mbp-pastilles-liens .mbp-pastille::before {
	top: -20px; right: -18px; width: 20px; height: 30px; border-right: 5px solid #ffd23f; border-radius: 50%;
	rotate: 28deg; transform-origin: bottom left;
}
/* trois points en bas à gauche */
.mbp-pastilles-liens .mbp-pastille::after {
	bottom: -14px; left: -12px; width: 6px; height: 6px; border-radius: 50%; background: var(--points, #3ddc84);
	box-shadow: -9px -6px 0 var(--points, #3ddc84), -5px 7px 0 var(--points, #3ddc84);
	transform-origin: top right;
}
@keyframes mbp-eclat {
	0% { opacity: 0; scale: .2; }
	25% { opacity: 1; scale: 1.1; }
	70% { opacity: 1; scale: 1; }
	100% { opacity: 0; scale: .7; }
}
/* nouveau tour de vidéos : sortie éclair, puis toutes les animations d'apparition sont rejouées */
.mbp-pastilles-liens.is-sortie .mbp-pastille { animation: mbp-sortie .2s ease-in forwards; }
.mbp-pastilles-liens.is-sortie .mbp-pastille::before, .mbp-pastilles-liens.is-sortie .mbp-pastille::after { animation: none; opacity: 0; }
@keyframes mbp-sortie { to { opacity: 0; scale: .6; } }
@media (prefers-reduced-motion: reduce) {
	.mbp-pastilles-liens a.mbp-pastille { transition: none; }
	.mbp-pastilles-liens .mbp-pastille { animation: none; }
	.mbp-pastilles-liens .mbp-pastille::before, .mbp-pastilles-liens .mbp-pastille::after { display: none; }
}
@keyframes mbp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes mbp-pop { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }
.mbp-bubble {
	position: absolute; bottom: -60px; border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .5), rgba(247, 129, 22, .25));
	animation: mbp-rise linear infinite;
}
.mbp-bubble-1 { left: 8%; width: 18px; height: 18px; animation-duration: 11s; }
.mbp-bubble-2 { left: 28%; width: 10px; height: 10px; animation-duration: 8s; animation-delay: -3s; }
.mbp-bubble-3 { left: 52%; width: 24px; height: 24px; animation-duration: 14s; animation-delay: -6s; }
.mbp-bubble-4 { left: 70%; width: 12px; height: 12px; animation-duration: 9s; animation-delay: -1s; }
.mbp-bubble-5 { left: 88%; width: 16px; height: 16px; animation-duration: 12s; animation-delay: -8s; }
.mbp-bubble-6 { left: 3%; width: 12px; height: 12px; animation-duration: 10s; animation-delay: -5s; }
.mbp-bubble-7 { left: 17%; width: 22px; height: 22px; animation-duration: 13s; animation-delay: -10s; }
.mbp-bubble-8 { left: 38%; width: 14px; height: 14px; animation-duration: 9.5s; animation-delay: -7s; }
.mbp-bubble-9 { left: 45%; width: 9px; height: 9px; animation-duration: 7.5s; animation-delay: -2s; }
.mbp-bubble-10 { left: 61%; width: 18px; height: 18px; animation-duration: 12.5s; animation-delay: -4s; }
.mbp-bubble-11 { left: 79%; width: 26px; height: 26px; animation-duration: 15s; animation-delay: -11s; }
.mbp-bubble-12 { left: 95%; width: 11px; height: 11px; animation-duration: 8.5s; animation-delay: -6s; }
@keyframes mbp-rise { from { transform: translateY(0); opacity: 0; } 10% { opacity: .9; } to { transform: translateY(-110vh); opacity: 0; } }
@media (max-width: 1199.98px) {
	.mbp-pastille-2, .mbp-pastille-4 { display: none; }
	.mbp-pastille-3 { top: 32%; } /* à droite du titre : le sous-titre prend toute la largeur à ces tailles */
}
@media (max-width: 991.98px) {
	.mbp-pastille { display: none; }
	.mbp-hero.Home-banner-section { padding: 70px 0 120px; }
	.mbp-hero-label { display: none; }
}

/* ---------- Comment ça marche ---------- */
.mbp-step { position: relative; overflow: hidden; transition: transform .3s var(--mbp-ease), box-shadow .3s; }
.mbp-step:hover { transform: translateY(-6px); box-shadow: var(--mbp-shadow); }
.mbp-step-num { position: absolute; top: 8px; right: 16px; font-size: 64px; font-weight: 800; line-height: 1; color: var(--primary); opacity: .08; }
.mbp-step-icon { display: inline-flex !important; align-items: center; justify-content: center; color: #fff; font-size: 20px; }

/* ---------- Régions (slider « cities » du thème) ---------- */
.cities-section .city-items-slide .city-item .city-img { aspect-ratio: 16 / 9; }
.cities-section .city-items-slide .city-item .city-img img { object-fit: cover; }
.cities-section .city-items-slide .city-item .city-img::before { background: linear-gradient(0deg, rgba(7, 28, 61, .8), transparent 60%); z-index: 1; }
.cities-section .city-items-slide .city-item .city-name { z-index: 2; }
.cities-section .city-items-slide .city-item .arrow-overlay { z-index: 2; }

/* ---------- Tuiles catégories (section sombre) ---------- */
.home-property-section.bg-dark { background-color: var(--mbp-orange) !important; }
/* fond orange : filet en bleu et blanc, boutons en bleu PrixKdo */
.home-property-section .section-heading .sec-line .sec-line1 { background: var(--mbp-blue); }
.home-property-section .section-heading .sec-line .sec-line2 { background: #fff; }
.home-property-section .section-heading .btn-primary { background: var(--mbp-blue) !important; border-color: var(--mbp-blue) !important; color: #fff !important; }
.home-property-section .section-heading .btn-primary:hover { background: #0a379f !important; border-color: #0a379f !important; }
.home-property-section .swiper-button-prev, .home-property-section .swiper-button-next { background: var(--mbp-blue) !important; color: #fff !important; }
.home-property-section .swiper-button-prev:hover, .home-property-section .swiper-button-next:hover { background: #0a379f !important; }
.home-property-section .swiper-button-prev::before, .home-property-section .swiper-button-next::before, .home-property-section .swiper-button-prev::after, .home-property-section .swiper-button-next::after { color: #fff !important; }
/* toutes les tuiles à la même hauteur, quelle que soit la longueur du libellé */
.home-property-section .property-slider .swiper-wrapper { align-items: stretch; }
.home-property-section .property-slider .swiper-slide { height: auto; display: flex; }
.mbp-cat-tile {
	width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
	text-align: center; transition: transform .3s var(--mbp-ease);
}
.mbp-cat-tile:hover { transform: translateY(-6px); }
.mbp-cat-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 64px; height: 64px; border-radius: 18px; margin-bottom: 14px; font-size: 26px;
	color: var(--cat); background: color-mix(in srgb, var(--cat) 14%, transparent);
}
.mbp-cat-tile .mbp-cat-icon { background: color-mix(in srgb, var(--cat) 22%, #fff); }

/* ==========================================================================
   Carte commerce
   ========================================================================== */
.mbp-card {
	position: relative; display: flex; flex-direction: column; width: 100%;
	background: var(--white); border: 1px solid var(--border-color); border-radius: var(--mbp-radius);
	overflow: hidden; transition: transform .35s var(--mbp-ease), box-shadow .35s;
}
.mbp-card:hover { transform: translateY(-6px); box-shadow: var(--mbp-shadow-lg); }
.mbp-card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--light); }
.mbp-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--mbp-ease); }
.mbp-card:hover .mbp-card-media img { transform: scale(1.07); }
.mbp-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 28, 61, .45), transparent 45%); }
.mbp-cover-fallback {
	width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
	font-size: 54px; color: #fff;
	background:
		radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .25), transparent 40%),
		linear-gradient(135deg, var(--cat), color-mix(in srgb, var(--cat) 55%, #071c3d));
}
.mbp-card-remise {
	position: absolute; left: 14px; bottom: 14px; z-index: 1;
	background: var(--primary); color: #fff; font-weight: 800; font-size: 18px;
	padding: 6px 12px; border-radius: 10px; box-shadow: 0 6px 16px rgba(247, 129, 22, .45);
}
.mbp-card-badges { position: absolute; top: 14px; left: 14px; z-index: 1; display: flex; gap: 6px; flex-wrap: wrap; }
.mbp-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 99px; color: #fff; }
.mbp-badge-new { background: var(--mbp-danger); }
.mbp-badge-star { background: var(--mbp-blue); }
.mbp-fav {
	position: absolute; top: 12px; right: 12px; z-index: 2;
	width: 38px; height: 38px; border-radius: 50%; border: 0;
	background: rgba(255, 255, 255, .92); color: var(--mbp-navy);
	display: inline-flex; align-items: center; justify-content: center; font-size: 16px;
	transition: transform .2s, color .2s;
}
.mbp-fav:hover { transform: scale(1.1); }
.mbp-fav.is-active { color: var(--mbp-danger); }
.mbp-fav.is-active i::before { content: "\f004"; font-weight: 900; }
.mbp-fav.is-pop { animation: mbp-bump .45s var(--mbp-ease); }
.mbp-card-body { position: relative; padding: 30px 18px 16px; display: flex; flex-direction: column; flex: 1; }
.mbp-card-logo {
	position: absolute; top: -26px; right: 18px; width: 52px; height: 52px; border-radius: 14px;
	background: var(--white); border: 3px solid var(--white); box-shadow: var(--mbp-shadow); overflow: hidden;
}
.mbp-card-logo img { width: 100%; height: 100%; object-fit: cover; }
.mbp-card-logo span {
	width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
	font-weight: 800; color: #fff; background: var(--cat);
}
.mbp-card-title { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.mbp-card-title a { color: var(--heading-color); }
.mbp-card-title a:hover { color: var(--primary); }
.mbp-card-loc { font-size: 14px; margin-bottom: 12px; display: flex; gap: 6px; align-items: center; }
.mbp-card-loc i { color: var(--body-color); font-size: 18px; }
/* catégories en bulles dans un encart gris */
.mbp-card-cats { list-style: none; margin: 0 0 12px; padding: 0; display: flex; gap: 6px; min-width: 0; }
.mbp-card-cats li { flex: 0 1 auto; min-width: 0; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 8px; background: var(--light); font-size: 13px; line-height: 1.3; color: var(--body-color); }
.mbp-card-cats li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mbp-card-cats li i { width: 24px; height: 24px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; font-size: 14px; color: #fff; background: var(--cat); }
.mbp-card-cats li.is-more { flex: none; padding: 4px 8px; font-weight: 600; }
.mbp-card-foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--border-color); display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; }
.mbp-rating { color: var(--heading-color); font-weight: 600; }
.mbp-rating i { color: #f5b301; margin-right: 4px; }
.mbp-rating small { color: var(--body-color); font-weight: 400; }
.mbp-open { font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.mbp-open::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.mbp-open:empty::before { display: none; }
.mbp-open.is-open { color: var(--mbp-success); }
.mbp-open.is-closed { color: var(--mbp-danger); }
.mbp-open.is-soon { color: #d97706; }
.features-slider .mbp-card { height: 100%; }
.features-slide-card { height: auto; }
.features-slider .swiper-wrapper { padding: 8px 0 14px; }

/* Liste horizontale (vue liste + récemment consultés) */
.mbp-results.is-list > [class*=col-] { width: 100%; }
.mbp-results.is-list .mbp-card { flex-direction: row; }
.mbp-results.is-list .mbp-card-media { width: 300px; flex: 0 0 300px; aspect-ratio: auto; min-height: 200px; }
@media (max-width: 767.98px) {
	.mbp-results.is-list .mbp-card { flex-direction: column; }
	.mbp-results.is-list .mbp-card-media { width: 100%; flex-basis: auto; aspect-ratio: 16 / 10; }
}
.mbp-recent-row { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
.mbp-recent-item {
	flex: 0 0 260px; scroll-snap-align: start; display: flex; gap: 12px; align-items: center;
	background: var(--white); border: 1px solid var(--border-color); border-radius: 14px; padding: 10px;
	transition: box-shadow .3s;
}
.mbp-recent-item:hover { box-shadow: var(--mbp-shadow); }
.mbp-recent-item .mbp-recent-img { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; flex: none; }
.mbp-recent-item .mbp-recent-img > * { width: 100%; height: 100%; object-fit: cover; font-size: 22px; }
.mbp-recent-item b { display: block; color: var(--heading-color); font-size: 15px; }
.mbp-recent-item small { color: var(--body-color); }
.mbp-recent-item .mbp-recent-remise { color: var(--primary); font-weight: 700; }

/* ==========================================================================
   Bons plans
   ========================================================================== */
.mbp-flash-icon {
	display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
	border-radius: 12px; background: var(--primary); color: #fff; margin-right: 12px; vertical-align: middle; font-size: 18px;
	animation: mbp-flash 2.4s infinite;
}
@keyframes mbp-flash { 0%, 100% { box-shadow: 0 0 0 0 rgba(247, 129, 22, .5); } 50% { box-shadow: 0 0 0 12px rgba(247, 129, 22, 0); } }
.mbp-deal {
	width: 100%; display: flex; flex-direction: column; background: var(--white);
	border-radius: var(--mbp-radius); overflow: hidden; border: 1px solid var(--border-color);
	transition: transform .35s var(--mbp-ease), box-shadow .35s;
}
.mbp-deal:hover { transform: translateY(-5px); box-shadow: var(--mbp-shadow-lg); }
.mbp-deal-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.mbp-deal-media img { width: 100%; height: 100%; object-fit: cover; }
.mbp-deal-type { position: absolute; top: 12px; left: 12px; font-size: 12px; font-weight: 700; color: #fff; padding: 4px 10px; border-radius: 99px; background: var(--mbp-blue); }
.mbp-deal-type-flash { background: var(--mbp-danger); }
.mbp-deal-type-weekend { background: #7c3aed; }
.mbp-deal-remise {
	position: absolute; right: 12px; bottom: -18px; z-index: 1;
	width: 64px; height: 64px; border-radius: 50%; background: var(--primary); color: #fff;
	display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px;
	border: 4px solid var(--white); box-shadow: var(--mbp-shadow);
}
.mbp-deal-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.mbp-deal-shop { font-size: 13px; font-weight: 600; color: var(--primary); display: inline-flex; gap: 6px; align-items: center; margin-bottom: 6px; }
.mbp-deal-body h3 { font-size: 16px; font-weight: 700; color: var(--heading-color); line-height: 1.4; margin-bottom: 14px; padding-right: 50px; }
.mbp-countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: auto; }
.mbp-countdown span { background: var(--light); border-radius: 8px; text-align: center; padding: 6px 2px; font-size: 11px; color: var(--body-color); }
.mbp-countdown b { display: block; font-size: 18px; color: var(--heading-color); font-variant-numeric: tabular-nums; }
.mbp-countdown.is-urgent b { color: var(--mbp-danger); }
.mbp-countdown.is-over { display: block; text-align: center; color: var(--mbp-danger); font-weight: 600; }
.mbp-deal-hero {
	display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
	padding: 32px; border-radius: 20px; color: #fff; margin-bottom: 28px;
	background: linear-gradient(120deg, var(--mbp-orange), #ff5f6d 60%, #c2185b);
}
.mbp-deal-hero h2 { color: #fff; font-size: 28px; margin-bottom: 6px; }
.mbp-deal-hero p { color: rgba(255, 255, 255, .9); margin: 0; max-width: 560px; }
.mbp-deal-filters { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

/* Chips & segments */
.mbp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mbp-chips-scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
.mbp-chip {
	display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
	padding: 7px 14px; border-radius: 99px; font-size: 14px; font-weight: 500;
	border: 1px solid var(--border-color); background: var(--white); color: var(--heading-color);
	transition: all .2s;
}
.mbp-chip:hover { border-color: var(--primary); color: var(--primary); }
.mbp-chip.is-active { background: var(--mbp-navy); border-color: var(--mbp-navy); color: #fff; }
[data-theme=dark] .mbp-chip.is-active { background: var(--primary); border-color: var(--primary); }
.mbp-chip .mbp-chip-x { margin-left: 2px; opacity: .7; }
.mbp-segment { display: inline-flex; padding: 4px; background: var(--light); border-radius: 12px; gap: 4px; flex-wrap: wrap; }
.mbp-segment button, .mbp-segment a {
	border: 0; background: transparent; padding: 8px 14px; border-radius: 9px; font-weight: 600; font-size: 14px;
	color: var(--body-color); display: inline-flex; align-items: center; gap: 6px;
}
.mbp-segment button.is-active, .mbp-segment a.is-active { background: var(--white); color: var(--heading-color); box-shadow: 0 2px 8px rgba(7, 28, 61, .08); }

/* ---------- Stats ---------- */
.mbp-stat-icon {
	width: 56px; height: 56px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center;
	font-size: 22px; color: var(--primary); background: var(--primary-transparent);
}
.statistics-section .statistics-item h4 { font-variant-numeric: tabular-nums; }

/* ---------- Simulateur ---------- */
.mbp-sim { display: grid; gap: 16px; margin-top: 20px; }
.mbp-sim-row { display: grid; grid-template-columns: 1fr 120px; gap: 6px 14px; align-items: center; }
.mbp-sim-row label { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--heading-color); margin: 0; }
.mbp-sim-row label i { color: var(--cat); width: 18px; }
.mbp-sim-row label small { margin-left: auto; font-weight: 500; color: var(--body-color); }
.mbp-sim-row output { text-align: right; font-weight: 700; color: var(--heading-color); font-variant-numeric: tabular-nums; font-size: 14px; }
/* Curseurs : piste remplie jusqu'à la valeur (--val posé par mbp.js) */
.mbp-range, .mbp-sim-row input[type=range] {
	--c: var(--primary);
	-webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; outline-offset: 6px;
	background: linear-gradient(90deg, var(--c) var(--val, 50%), var(--border-color) var(--val, 50%));
}
.mbp-sim-row input[type=range] { --c: var(--cat); }
.mbp-range::-webkit-slider-thumb, .mbp-sim-row input[type=range]::-webkit-slider-thumb {
	-webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff;
	border: 5px solid var(--c); box-shadow: 0 2px 8px rgba(7, 28, 61, .25); cursor: grab;
}
.mbp-range::-moz-range-thumb, .mbp-sim-row input[type=range]::-moz-range-thumb {
	width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 5px solid var(--c); cursor: grab;
}
.mbp-sim-result {
	position: relative; overflow: hidden; text-align: center; color: #fff;
	padding: 40px 30px; border-radius: 24px;
	background: radial-gradient(circle at 85% 10%, rgba(247, 129, 22, .45), transparent 45%), linear-gradient(140deg, var(--mbp-navy), #0d2f6b);
	box-shadow: var(--mbp-shadow-lg);
}
.mbp-sim-card { max-width: 300px; width: 70%; margin: -10px auto 18px; display: block; transform: rotate(-6deg); filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .4)); animation: mbp-float 6s ease-in-out infinite; }
.mbp-sim-label { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; opacity: .8; margin-bottom: 4px; }
.mbp-sim-total { font-size: clamp(38px, 5vw, 56px); font-weight: 800; line-height: 1.1; margin-bottom: 6px; color: #fff; font-variant-numeric: tabular-nums; }
.mbp-sim-total small { font-size: 16px; font-weight: 500; opacity: .8; }
.mbp-sim-month { opacity: .9; margin-bottom: 16px; }
.mbp-sim-month b { color: #ffb366; }
.mbp-sim-bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.mbp-sim-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--mbp-orange), #ffc06b); transition: width .6s var(--mbp-ease); }
.mbp-sim-equiv { margin: 14px 0 0; font-size: 15px; opacity: .9; }

/* ---------- Marquee partenaires ---------- */
.mbp-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mbp-marquee-track { display: flex; gap: 14px; width: max-content; animation: mbp-marquee 60s linear infinite; padding: 6px 0; }
.mbp-marquee:hover .mbp-marquee-track { animation-play-state: paused; }
@keyframes mbp-marquee { to { transform: translateX(-50%); } }
.mbp-logo-chip {
	display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
	padding: 14px 22px; border-radius: 14px; background: var(--white); border: 1px solid var(--border-color);
	font-weight: 600; color: var(--heading-color); transition: all .25s;
}
.mbp-logo-chip i { color: var(--cat); font-size: 18px; }
.mbp-logo-chip:hover { border-color: var(--cat); color: var(--cat); transform: translateY(-3px); }

/* ---------- Témoignages ---------- */
.mbp-testi-role { color: var(--primary); }

/* ---------- Boussole ---------- */
.mbp-mag-3d { position: relative; max-width: 360px; margin: 0 auto; perspective: 1200px; }
.mbp-mag-3d img {
	width: 100%; border-radius: 6px 14px 14px 6px; transform: rotateY(-14deg) rotateX(3deg);
	box-shadow: -18px 24px 50px rgba(7, 28, 61, .35), inset 6px 0 10px rgba(0, 0, 0, .2);
	transition: transform .6s var(--mbp-ease);
}
.mbp-mag-3d:hover img { transform: rotateY(0) rotateX(0); }
.mbp-mag-num {
	position: absolute; top: 14px; right: -10px; background: var(--primary); color: #fff;
	font-weight: 800; padding: 8px 14px; border-radius: 10px; box-shadow: var(--mbp-shadow);
}
.mbp-mag { text-align: left; }
.mbp-mag-cover { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 4; box-shadow: var(--mbp-shadow); }
.mbp-mag-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--mbp-ease); }
.mbp-mag-cover .mbp-mag-num { top: 10px; right: 10px; font-size: 13px; padding: 4px 10px; }
.mbp-mag-read {
	position: absolute; inset: auto 12px 12px; padding: 10px; border-radius: 10px; background: rgba(7, 28, 61, .85); color: #fff;
	font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px;
	opacity: 0; transform: translateY(10px); transition: all .3s;
}
.mbp-mag-cover:hover img { transform: scale(1.05); }
.mbp-mag-cover:hover .mbp-mag-read, .mbp-mag-cover:focus-visible .mbp-mag-read { opacity: 1; transform: none; }
.mbp-mag-body { padding-top: 12px; }
.mbp-mag-meta { font-size: 13px; color: var(--primary); font-weight: 600; }
.mbp-mag-body h3 { font-size: 17px; color: var(--heading-color); margin: 4px 0 0; }
.mbp-mag-modal .modal-content { border-radius: 20px; overflow: hidden; }
.mbp-mag-modal .btn-close { position: absolute; top: 14px; right: 14px; z-index: 2; }
.mbp-mag-modal-cover { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }

/* ---------- Newsletter ---------- */
.mbp-newsletter { padding: 60px 0; background: var(--white); position: relative; z-index: 1; }
.mbp-newsletter-inner {
	display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center;
	padding: 40px; border-radius: 24px; color: #fff; position: relative; overflow: hidden;
	background: var(--mbp-blue);
}
.mbp-newsletter-inner h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); }
.mbp-newsletter-inner p { color: rgba(255, 255, 255, .85); margin: 0; }
.mbp-newsletter-form { display: flex; flex-wrap: wrap; gap: 10px; }
.mbp-newsletter-form .form-control { flex: 1 1 220px; height: 52px; border-radius: 12px; border: 0; }
.mbp-newsletter-form .btn { height: 52px; padding: 0 26px; }
.mbp-newsletter-form small { width: 100%; color: rgba(255, 255, 255, .7); }
@media (max-width: 991.98px) { .mbp-newsletter-inner { grid-template-columns: 1fr; padding: 28px; } }

/* ---------- Footer ---------- */
.mbp-footer-logo { height: 30px; width: auto; }
.mbp-footer-contact a, .mbp-footer-contact span { display: inline-flex; gap: 10px; align-items: flex-start; }
.mbp-footer-contact i { color: var(--primary); margin-top: 4px; }

/* ---------- Palette de recherche ---------- */
.mbp-palette .modal-dialog { margin-top: 10vh; }
.mbp-palette .modal-content { border-radius: 18px; overflow: hidden; border: 0; box-shadow: var(--mbp-shadow-lg); background: var(--white); }
.mbp-palette-field { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border-color); }
.mbp-palette-field i { color: var(--primary); font-size: 26px; }
.mbp-palette-field input { flex: 1; border: 0; outline: 0; font-size: 19px; background: transparent; color: var(--heading-color); }
.mbp-palette kbd { font-size: 11px; background: var(--light); color: var(--body-color); border: 1px solid var(--border-color); border-radius: 5px; padding: 2px 6px; }
.mbp-palette-body { max-height: 56vh; overflow-y: auto; padding: 8px; }
.mbp-palette-group { padding: 10px 12px 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--body-color); }
.mbp-palette-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--heading-color); }
.mbp-palette-item:hover, .mbp-palette-item.is-active { background: var(--primary-transparent); color: var(--heading-color); }
.mbp-palette-item .mbp-pi-icon { width: 40px; height: 40px; border-radius: 10px; flex: none; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--cat, var(--primary)); overflow: hidden; }
.mbp-palette-item .mbp-pi-icon img { width: 100%; height: 100%; object-fit: cover; }
.mbp-palette-item small { display: block; color: var(--body-color); }
.mbp-palette-item mark { background: rgba(247, 129, 22, .25); color: inherit; padding: 0 1px; border-radius: 3px; }
.mbp-palette-item .mbp-pi-badge { margin-left: auto; font-weight: 700; color: var(--primary); }
.mbp-palette-empty { text-align: center; padding: 30px; }
.mbp-palette-empty i { font-size: 32px; color: var(--primary); margin-bottom: 8px; }
.mbp-palette-foot { display: flex; gap: 16px; align-items: center; padding: 10px 20px; border-top: 1px solid var(--border-color); font-size: 13px; flex-wrap: wrap; }
.mbp-palette-foot a { margin-left: auto; display: inline-flex; gap: 6px; align-items: center; font-weight: 600; }

/* ---------- Toasts, retour en haut, WhatsApp, cookies ---------- */
.mbp-toasts { position: fixed; z-index: 1200; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 10px; width: min(92vw, 420px); pointer-events: none; }
.mbp-toast {
	pointer-events: auto; display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 14px;
	background: var(--mbp-navy); color: #fff; box-shadow: var(--mbp-shadow-lg);
	animation: mbp-toast-in .4s var(--mbp-ease);
}
.mbp-toast i { font-size: 20px; }
.mbp-toast.is-success i { color: #3ddc84; }
.mbp-toast.is-error i { color: #ff8a8a; }
.mbp-toast.is-leaving { animation: mbp-toast-out .3s ease forwards; }
@keyframes mbp-toast-in { from { opacity: 0; transform: translateY(20px) scale(.96); } }
@keyframes mbp-toast-out { to { opacity: 0; transform: translateY(10px); } }

.mbp-to-top {
	position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 50px; height: 50px; border-radius: 50%;
	border: 0; background: var(--white); color: var(--heading-color); box-shadow: var(--mbp-shadow-lg);
	display: flex; align-items: center; justify-content: center;
	opacity: 0; visibility: hidden; transform: translateY(16px); transition: all .3s;
}
.mbp-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.mbp-to-top svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.mbp-to-top circle { fill: none; stroke: var(--primary); stroke-width: 3; stroke-dasharray: 132; stroke-dashoffset: calc(132 - 132 * var(--progress, 0)); stroke-linecap: round; }
/* apparaît après défilement (comme le retour en haut) pour ne pas masquer le hero */
.mbp-whatsapp {
	position: fixed; left: 22px; bottom: 22px; z-index: 900; display: flex; align-items: center; gap: 10px;
	height: 52px; padding: 0 16px 0 14px; border-radius: 99px; background: #25d366; color: #fff; font-weight: 600;
	box-shadow: 0 10px 24px rgba(37, 211, 102, .4); transition: transform .3s, opacity .3s, visibility .3s;
	opacity: 0; visibility: hidden; transform: translateY(16px);
}
.mbp-whatsapp.is-visible { opacity: 1; visibility: visible; transform: none; }
.mbp-whatsapp.is-visible:hover { color: #fff; transform: translateY(-3px); }
.mbp-whatsapp i { font-size: 26px; }
@media (max-width: 767.98px) { .mbp-whatsapp span { display: none; } .mbp-whatsapp { padding: 0 13px; } }
.mbp-cookie {
	position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 1100; width: min(94vw, 760px);
	display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap;
	padding: 16px 20px; border-radius: 16px; background: var(--white); border: 1px solid var(--border-color); box-shadow: var(--mbp-shadow-lg);
	animation: mbp-toast-in .5s var(--mbp-ease);
}
.mbp-cookie-text { display: flex; gap: 12px; align-items: center; }
.mbp-cookie-text i { font-size: 26px; color: var(--primary); }
.mbp-cookie-text p { margin: 0; font-size: 14px; }
.mbp-cookie-actions { display: flex; gap: 8px; }
.mbp-cookie[hidden] { display: none; }
/* invitation « Mon projet » : fond blanc dans les deux thèmes, au-dessus du bouton WhatsApp, et jamais en même temps que le bandeau cookies */
.mbp-projet-popup {
	position: fixed; left: 22px; bottom: 22px; z-index: 950; width: min(calc(100vw - 44px), 340px);
	padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid #e4e7ec; box-shadow: var(--mbp-shadow-lg);
	transition: bottom .3s; animation: mbp-toast-in .5s var(--mbp-ease);
}
.mbp-projet-popup[hidden], .mbp-cookie:not([hidden]) ~ .mbp-projet-popup { display: none; }
.mbp-whatsapp.is-visible ~ .mbp-projet-popup { bottom: 86px; }
.mbp-projet-popup-title { margin: 0 24px 6px 0; font-size: 16px; font-weight: 700; line-height: 1.3; color: #0b1b33; }
.mbp-projet-popup-text { margin: 0 0 14px; font-size: 14px; line-height: 1.45; color: #475467; }
.mbp-projet-popup-close { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: transparent; color: #475467; }
.mbp-projet-popup-close:hover { background: #f2f4f7; color: #0b1b33; }

/* ==========================================================================
   Liste des partenaires
   ========================================================================== */
.mbp-filters { background: transparent; }
/* Desktop : la colonne de filtres reste collée sous l'en-tête fixe et défile en interne
   si elle dépasse la hauteur de l'écran (la colonne parente est étirée à la hauteur des résultats). */
@media (min-width: 992px) {
	.mbp-filters {
		position: sticky; top: 84px;
		max-height: calc(100vh - 100px); overflow-y: auto; overscroll-behavior: contain;
		scrollbar-width: thin; scrollbar-color: var(--border-color) transparent;
		padding-right: 4px;
	}
	.mbp-filters .offcanvas-body { display: block; }
	.mbp-filters .offcanvas-header { display: none; }
}
.mbp-filter-form { background: var(--white); border: 1px solid var(--border-color); border-radius: var(--mbp-radius); padding: 20px; }
.mbp-filter-block { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--border-color); }
.mbp-filter-title { display: block; font-weight: 700; color: var(--heading-color); margin-bottom: 10px; font-size: 15px; }
.mbp-filter-title output { color: var(--primary); }
.mbp-input-icon { position: relative; }
.mbp-input-icon i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--body-color); }
.mbp-input-icon .form-control { padding-left: 40px; }
.mbp-check-list-filter { display: grid; gap: 4px; max-height: 300px; overflow-y: auto; }
.mbp-check-list-filter label {
	display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; cursor: pointer; font-size: 14px; color: var(--heading-color);
}
.mbp-check-list-filter label { transition: background .15s; }
.mbp-check-list-filter label:hover { background: var(--light); }
/* case dessinée : contour fin, remplie au clic avec une coche blanche ; la ligne cochée est mise en avant */
.mbp-check-list-filter input {
	flex: 0 0 20px; width: 20px; height: 20px; margin: 0; appearance: none; -webkit-appearance: none; cursor: pointer;
	border: 1.5px solid var(--mbp-field-line, #8a93a3); border-radius: 6px; background: var(--white) center / 14px no-repeat;
	transition: background-color .15s, border-color .15s, transform .12s;
}
.mbp-check-list-filter input:hover { border-color: var(--heading-color); }
.mbp-check-list-filter input:checked {
	border-color: var(--heading-color); background-color: var(--heading-color);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.mbp-check-list-filter input:active { transform: scale(.9); }
.mbp-check-list-filter input:focus-visible { outline: 2px solid var(--heading-color); outline-offset: 2px; }
.mbp-check-list-filter label:has(input:checked) { background: var(--light); font-weight: 600; }
.mbp-check-list-filter label:has(input:checked) .mbp-count { background: var(--heading-color); color: var(--white); }
[data-theme=dark] .mbp-check-list-filter input:checked { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
@media (prefers-reduced-motion: reduce) { .mbp-check-list-filter input, .mbp-check-list-filter label { transition: none; } }
.mbp-check-list-filter i { color: #000; width: 16px; text-align: center; }
[data-theme=dark] .mbp-check-list-filter i { color: #fff; }
.mbp-check-list-filter .mbp-count { margin-left: auto; font-size: 12px; background: var(--light); color: var(--body-color); padding: 1px 8px; border-radius: 99px; transition: background .15s, color .15s; }
.mbp-filter-ad { position: relative; border-radius: var(--mbp-radius); overflow: hidden; color: #fff; }
.mbp-filter-ad img { width: 100%; height: 260px; object-fit: cover; }
.mbp-filter-ad > div { position: absolute; inset: auto 0 0; padding: 18px; background: linear-gradient(0deg, rgba(7, 28, 61, .95), transparent); }
.mbp-filter-ad h3 { color: #fff; font-size: 18px; margin-bottom: 4px; }
.mbp-filter-ad p { color: rgba(255, 255, 255, .85); font-size: 14px; }
.mbp-ad-tag { position: absolute; top: 10px; left: 10px; z-index: 1; font-size: 11px; background: rgba(0, 0, 0, .55); padding: 3px 8px; border-radius: 6px; }
.mbp-toolbar {
	display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
	padding: 12px 16px; border-radius: 14px; background: var(--white); border: 1px solid var(--border-color); margin-bottom: 14px;
}
.mbp-toolbar b { color: var(--heading-color); }
.mbp-sort { width: auto; min-width: 170px; }
/* style d'origine (bouton clair, actif en marine) ; le thème forçait la couleur de l'icône active en noir */
.mbp-view-toggle .btn.active { background: var(--mbp-navy); border-color: var(--mbp-navy); }
.mbp-view-toggle .btn.active, .mbp-view-toggle .btn.active i { color: #fff !important; }
.mbp-active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.mbp-active-chips:empty { display: none; }
.mbp-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 30px; flex-wrap: wrap; }
/* défilement infini de la page Partenaires : indicateur pendant le chargement du lot suivant, message de fin */
.mbp-scroll-loader { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 28px 0 8px; color: var(--body-color); font-size: 14px; }
.mbp-scroll-loader a { color: var(--heading-color); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.mbp-scroll-spinner { width: 20px; height: 20px; border: 2px solid var(--border-color); border-top-color: var(--primary); border-radius: 50%; animation: mbp-scroll-tourne .8s linear infinite; }
@keyframes mbp-scroll-tourne { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .mbp-scroll-spinner { animation-duration: 2.4s; } }
.mbp-scroll-end { margin: 32px 0 0; color: var(--body-color); font-size: 14px; text-align: center; }
.mbp-pagination button {
	min-width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border-color); background: var(--white);
	color: var(--heading-color); font-weight: 600;
}
.mbp-pagination button.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.mbp-pagination button:disabled { opacity: .45; }
.mbp-empty { text-align: center; padding: 50px 20px; border: 2px dashed var(--border-color); border-radius: var(--mbp-radius); }
.mbp-empty > i { font-size: 44px; color: var(--primary); margin-bottom: 14px; }
.mbp-empty h3 { font-size: 20px; color: var(--heading-color); }
.mbp-results .mbp-card { animation: mbp-in .45s var(--mbp-ease) both; }
@keyframes mbp-in { from { opacity: 0; transform: translateY(14px); } }
.mbp-distance { font-size: 12px; font-weight: 700; color: var(--mbp-blue); background: var(--secondary-transparent); padding: 2px 8px; border-radius: 99px; }

/* ==========================================================================
   Fiche commerce
   ========================================================================== */
.mbp-shop-hero { position: relative; padding-top: 0; }
.mbp-shop-cover { height: clamp(220px, 38vw, 420px); position: relative; overflow: hidden; background: var(--light); }
.mbp-shop-cover img, .mbp-shop-cover .mbp-cover-fallback { width: 100%; height: 100%; object-fit: cover; }
.mbp-shop-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 28, 61, .75), rgba(7, 28, 61, .1) 60%); }
.mbp-shop-crumbs { position: absolute; top: 20px; left: 0; right: 0; z-index: 2; }
.mbp-shop-crumbs .breadcrumb { display: inline-flex; flex-wrap: wrap; padding: 8px 14px; border-radius: 99px; background: rgba(7, 28, 61, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: 14px; }
.mbp-shop-crumbs .breadcrumb-item, .mbp-shop-crumbs .breadcrumb-item a, .mbp-shop-crumbs .breadcrumb-item::before { color: #fff !important; }
.mbp-shop-head {
	display: flex; gap: 20px; align-items: flex-end; flex-wrap: wrap;
	margin-top: -70px; position: relative; z-index: 2; padding: 20px; border-radius: 20px;
	background: var(--white); box-shadow: var(--mbp-shadow-lg);
}
.mbp-shop-logo { width: 96px; height: 96px; border-radius: 20px; overflow: hidden; flex: none; margin-top: -50px; border: 4px solid var(--white); box-shadow: var(--mbp-shadow); background: var(--white); }
.mbp-shop-logo img { width: 100%; height: 100%; object-fit: cover; }
.mbp-shop-logo span { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 30px; font-weight: 800; background: var(--cat); }
.mbp-shop-head h1 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 6px; color: var(--heading-color); }
.mbp-shop-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font-size: 15px; }
.mbp-shop-meta i { color: var(--primary); margin-right: 4px; }
.mbp-shop-actions { display: flex; gap: 8px; }
.mbp-shop-actions .btn { display: inline-flex; align-items: center; gap: 8px; }
.mbp-fav-btn.is-active { color: var(--mbp-danger); border-color: var(--mbp-danger); }
.mbp-fav-btn.is-active i::before { content: "\f004"; font-weight: 900; }
@media (max-width: 767.98px) { .mbp-shop-actions .btn span { display: none; } }
.mbp-tabs {
	position: sticky; top: 72px; z-index: 5; display: flex; gap: 4px; overflow-x: auto;
	padding: 6px; margin-bottom: 20px; border-radius: 14px; background: var(--white); border: 1px solid var(--border-color);
}
.mbp-tabs a { padding: 8px 14px; border-radius: 10px; white-space: nowrap; font-weight: 600; font-size: 14px; color: var(--body-color); }
.mbp-tabs a.active, .mbp-tabs a:hover { background: var(--primary-transparent); color: var(--primary); }
.mbp-panel { padding: 24px; border-radius: var(--mbp-radius); background: var(--white); border: 1px solid var(--border-color); margin-bottom: 20px; scroll-margin-top: 140px; }
.mbp-perks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.mbp-perks span { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; padding: 8px 12px; border-radius: 10px; background: var(--light); color: var(--heading-color); }
.mbp-perks i { color: var(--mbp-success); }
.mbp-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mbp-gallery a { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1; }
.mbp-gallery a:first-child { grid-column: span 2; grid-row: span 2; }
.mbp-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mbp-gallery a:hover img { transform: scale(1.07); }
@media (max-width: 575.98px) { .mbp-gallery { grid-template-columns: repeat(2, 1fr); } }
.mbp-product { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; border: 1px solid var(--border-color); height: 100%; }
.mbp-product-img { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; flex: none; }
.mbp-product-img > * { width: 100%; height: 100%; object-fit: cover; font-size: 24px; }
.mbp-product b { color: var(--heading-color); display: block; }
.mbp-product .mbp-price { font-size: 14px; }
.mbp-product .mbp-price s { opacity: .6; margin-right: 6px; }
.mbp-product .mbp-price strong { color: var(--primary); }
/* produit avec photo : la carte ouvre la photo en grand */
.mbp-product-zoom { color: inherit; text-decoration: none; cursor: zoom-in; transition: border-color .2s, box-shadow .2s; }
.mbp-product-zoom:hover, .mbp-product-zoom:focus-visible { color: inherit; border-color: var(--heading-color); box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.mbp-product-zoom .mbp-product-img { position: relative; }
.mbp-product-zoom .mbp-product-img img { transition: transform .35s ease; }
.mbp-product-zoom .mbp-product-img > i { position: absolute; inset: auto 5px 5px auto; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.92); color: #111; font-size: 14px; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.mbp-product-zoom:hover .mbp-product-img img { transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) { .mbp-product-zoom .mbp-product-img img { transition: none; } .mbp-product-zoom:hover .mbp-product-img img { transform: none; } }
.mbp-hours { list-style: none; padding: 0; margin: 0; }
.mbp-hours li { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 8px; color: var(--heading-color); }
.mbp-hours li:nth-child(odd) { background: var(--light); }
.mbp-hours li.is-today { background: var(--primary-transparent); font-weight: 700; color: var(--primary); }
.mbp-hours li .is-closed { color: var(--mbp-danger); }
.mbp-reviews-summary { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.mbp-reviews-score { font-size: 48px; font-weight: 800; color: var(--heading-color); line-height: 1; }
.mbp-reviews-score small { display: block; font-size: 13px; font-weight: 500; color: var(--body-color); margin-top: 6px; }
.mbp-stars { color: #f5b301; }
.mbp-bars { flex: 1; min-width: 200px; display: grid; gap: 4px; font-size: 13px; }
.mbp-bars div { display: grid; grid-template-columns: 24px 1fr 36px; align-items: center; gap: 8px; }
.mbp-bars span { height: 6px; background: var(--light); border-radius: 99px; overflow: hidden; }
.mbp-bars span i { display: block; height: 100%; background: #f5b301; border-radius: inherit; }
.mbp-review { padding: 16px 0; border-top: 1px solid var(--border-color); }
.mbp-review-head { display: flex; gap: 12px; align-items: center; margin-bottom: 6px; }
.mbp-review-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--secondary-transparent); color: var(--mbp-blue); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.mbp-review-head b { color: var(--heading-color); display: block; }
.mbp-review-head small { color: var(--body-color); }
.mbp-review-form { padding: 16px; border-radius: 12px; background: var(--light); margin-bottom: 16px; }
.mbp-stars-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; border: 0; padding: 0; margin: 0 0 10px; }
.mbp-stars-input input { position: absolute; opacity: 0; pointer-events: none; }
.mbp-stars-input label { font-size: 24px; color: var(--border-color); cursor: pointer; transition: color .15s, transform .15s; }
.mbp-stars-input label:hover, .mbp-stars-input label:hover ~ label, .mbp-stars-input input:checked ~ label { color: #f5b301; }
.mbp-stars-input input:focus-visible + label { outline: 2px solid var(--primary); border-radius: 4px; }
.mbp-mini-map { height: 320px; border-radius: 14px; overflow: hidden; z-index: 0; }
.mbp-shop-aside { position: sticky; top: 96px; display: grid; gap: 16px; }
.mbp-advantage {
	padding: 26px; border-radius: 20px; color: #fff; text-align: center;
	background: radial-gradient(circle at 90% 0, rgba(255, 255, 255, .25), transparent 40%), linear-gradient(140deg, var(--mbp-orange), #e8590c);
	box-shadow: 0 20px 40px rgba(247, 129, 22, .3);
}
.mbp-advantage-label { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; opacity: .9; }
.mbp-advantage-value { font-size: 64px; font-weight: 800; line-height: 1; margin: 6px 0; color: #fff; }
.mbp-advantage-sub { opacity: .92; font-size: 14px; }
.mbp-calc { text-align: left; background: rgba(255, 255, 255, .15); border-radius: 14px; padding: 14px; margin: 16px 0; }
.mbp-calc label { font-size: 13px; font-weight: 600; margin-bottom: 6px; display: block; }
.mbp-input-suffix { position: relative; display: flex; }
.mbp-input-suffix > span, .mbp-input-suffix > .btn { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 13px; color: var(--body-color); }
.mbp-calc .form-control { font-weight: 700; padding-right: 56px; }
.mbp-calc-result { margin: 10px 0 0; font-size: 15px; }
.mbp-calc-result b { font-size: 20px; }
.mbp-advantage .btn-primary { background: #fff; color: var(--mbp-orange-dark); border-color: #fff; }
.mbp-contact-list { list-style: none; padding: 18px; margin: 0; border-radius: var(--mbp-radius); border: 1px solid var(--border-color); background: var(--white); }
.mbp-contact-list li { display: flex; gap: 12px; align-items: center; padding: 8px 0; font-size: 15px; color: var(--heading-color); word-break: break-word; }
.mbp-contact-list li + li { border-top: 1px dashed var(--border-color); }
.mbp-contact-list i { width: 36px; height: 36px; flex: none; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--light); color: var(--heading-color); }
.mbp-social-row { display: flex; gap: 8px; justify-content: center; }
.mbp-social-row a { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--light); color: var(--heading-color); font-size: 18px; transition: all .2s; }
.mbp-social-row a:hover { background: var(--primary); color: #fff; }
.mbp-sticky-cta {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; display: flex; gap: 10px; align-items: center;
	padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--white); box-shadow: 0 -8px 24px rgba(7, 28, 61, .12);
}
.mbp-sticky-cta > div { flex: 1; line-height: 1.1; }
.mbp-sticky-cta small { display: block; font-size: 12px; }
.mbp-sticky-cta b { font-size: 22px; color: var(--primary); }
body:has(.mbp-sticky-cta) .mbp-whatsapp, body:has(.mbp-sticky-cta) .mbp-to-top { bottom: 90px; }
@media (min-width: 992px) { body:has(.mbp-sticky-cta) .mbp-whatsapp, body:has(.mbp-sticky-cta) .mbp-to-top { bottom: 22px; } }

/* Marqueurs Leaflet */
.mbp-marker { width: 38px; height: 38px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--cat); border: 3px solid #fff; box-shadow: 0 6px 14px rgba(0, 0, 0, .3); display: flex; align-items: center; justify-content: center; }
.mbp-marker i { transform: rotate(45deg); color: #fff; font-size: 14px; }
.mbp-marker.is-active { transform: rotate(-45deg) scale(1.25); z-index: 1000; }
.mbp-me-marker { width: 18px; height: 18px; border-radius: 50%; background: var(--mbp-blue); border: 3px solid #fff; box-shadow: 0 0 0 8px rgba(13, 70, 214, .25); }
.leaflet-popup-content-wrapper, .gm-style .gm-style-iw-c { border-radius: 14px; }
.mbp-popup { min-width: 200px; }
.mbp-popup img { width: 100%; height: 100px; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.mbp-popup b { display: block; font-size: 15px; }
.mbp-popup a.btn { color: #fff; margin-top: 8px; }

/* ==========================================================================
   Catégories, régions
   ========================================================================== */
.mbp-cat-card {
	position: relative; width: 100%; display: block; padding: 24px; border-radius: 20px; overflow: hidden;
	background: var(--white); border: 1px solid var(--border-color); transition: all .35s var(--mbp-ease);
}
.mbp-cat-card::before { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--cat); opacity: .08; transition: transform .5s var(--mbp-ease); }
.mbp-cat-card:hover { transform: translateY(-6px); box-shadow: var(--mbp-shadow-lg); border-color: var(--cat); }
.mbp-cat-card:hover::before { transform: scale(2.4); }
.mbp-cat-card h3 { font-size: 17px; color: var(--heading-color); margin-bottom: 4px; position: relative; }
.mbp-cat-card p { font-size: 14px; margin-bottom: 12px; position: relative; }
.mbp-cat-top { position: relative; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; color: #fff; background: var(--cat); }
.mbp-cat-top.is-soon { background: var(--light); color: var(--body-color); }
.mbp-cat-arrow { position: absolute; right: 20px; bottom: 20px; color: var(--cat); transition: transform .3s; }
.mbp-cat-card:hover .mbp-cat-arrow { transform: translateX(5px); }
.mbp-banner-cta {
	display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
	padding: 34px; border-radius: 24px; color: #fff; background: linear-gradient(120deg, var(--mbp-navy), var(--mbp-blue));
}
.mbp-banner-cta h2 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.mbp-banner-cta p { color: rgba(255, 255, 255, .85); margin: 0; max-width: 620px; }
.mbp-megasearch {
	display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 20px; border-radius: 16px;
	background: var(--white); border: 1px solid var(--border-color); box-shadow: var(--mbp-shadow);
}
.mbp-megasearch > i { color: var(--primary); font-size: 20px; }
.mbp-megasearch .form-control { border: 0; box-shadow: none; font-size: 17px; height: 50px; background: transparent; }
.mbp-search-hint { margin-top: 14px; }
.mbp-region { width: 100%; border-radius: 20px; overflow: hidden; background: var(--white); border: 1px solid var(--border-color); transition: box-shadow .3s; }
.mbp-region:hover { box-shadow: var(--mbp-shadow-lg); }
.mbp-region-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.mbp-region-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--mbp-ease); }
.mbp-region:hover .mbp-region-media img { transform: scale(1.06); }
.mbp-region-count { position: absolute; left: 14px; bottom: 14px; background: rgba(7, 28, 61, .8); color: #fff; padding: 6px 12px; border-radius: 99px; font-size: 14px; backdrop-filter: blur(4px); }
.mbp-region-body { padding: 18px; }
.mbp-region-body h3 { font-size: 20px; margin-bottom: 12px; }
.mbp-region-body h3 a { color: var(--heading-color); }
.mbp-region-body .mbp-chip { font-size: 13px; padding: 5px 11px; }

/* ==========================================================================
   Carte « Autour de moi »
   ========================================================================== */
.mbp-map-page .mbp-newsletter, .mbp-map-page .mbp-footer, .mbp-map-page .mbp-whatsapp { display: none; }
.mbp-mapview { display: grid; grid-template-columns: 400px 1fr; height: calc(100vh - 72px); min-height: 520px; position: relative; }
.mbp-mapview-side { display: flex; flex-direction: column; border-right: 1px solid var(--border-color); background: var(--white); min-height: 0; }
.mbp-mapview-head { padding: 20px; border-bottom: 1px solid var(--border-color); }
.mbp-map-status { font-size: 13px; margin: 8px 0 0; }
.mbp-mapview-list { list-style: none; margin: 0; padding: 10px; overflow-y: auto; flex: 1; }
.mbp-map-item { display: flex; gap: 12px; padding: 10px; border-radius: 14px; cursor: pointer; border: 1px solid transparent; transition: all .2s; }
.mbp-map-item:hover, .mbp-map-item.is-active { background: var(--light); border-color: var(--border-color); }
.mbp-map-item-img { width: 76px; height: 76px; border-radius: 12px; overflow: hidden; flex: none; }
.mbp-map-item-img > * { width: 100%; height: 100%; object-fit: cover; font-size: 24px; }
.mbp-map-item b { color: var(--heading-color); display: block; }
.mbp-map-item small { display: block; font-size: 13px; }
.mbp-map-item .mbp-map-remise { color: var(--primary); font-weight: 700; }
.mbp-mapview-map { z-index: 0; }
.mbp-map-switch { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 500; border-radius: 99px; box-shadow: var(--mbp-shadow-lg); }
@media (max-width: 991.98px) {
	.mbp-mapview { grid-template-columns: 1fr; height: calc(100vh - 64px); }
	.mbp-mapview-side { position: absolute; inset: 0; z-index: 400; display: none; }
	.mbp-mapview.show-list .mbp-mapview-side { display: flex; }
}

/* ==========================================================================
   Carte PrixKdo, features, timeline
   ========================================================================== */
.mbp-card3d { perspective: 1400px; max-width: 520px; margin: 0 auto; aspect-ratio: 1130 / 416; outline: none; }
.mbp-card3d-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 1s var(--mbp-ease); animation: mbp-float 6s ease-in-out infinite; }
.mbp-card3d:hover .mbp-card3d-inner, .mbp-card3d:focus .mbp-card3d-inner, .mbp-card3d.is-flipped .mbp-card3d-inner { transform: rotateY(180deg); }
.mbp-card3d-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px rgba(7, 28, 61, .3); }
.mbp-card3d-front img { width: 100%; height: 100%; object-fit: cover; }
.mbp-card3d-back { transform: rotateY(180deg); background: linear-gradient(140deg, var(--mbp-navy), var(--mbp-blue)); color: #fff; display: flex; align-items: center; gap: 20px; padding: 0 28px; }
.mbp-card3d-strip { position: absolute; left: 0; right: 0; top: 14%; height: 18%; background: #000; opacity: .65; }
.mbp-card3d-back p { margin: 30px 0 0; font-size: 14px; color: rgba(255, 255, 255, .85); }
.mbp-card3d-back b { color: #fff; }
.mbp-card3d-qr {
	flex: none; width: 34%; aspect-ratio: 1; margin-top: 30px; border-radius: 10px; background-color: #fff;
	background-image:
		linear-gradient(90deg, #071c3d 50%, transparent 0), linear-gradient(#071c3d 50%, transparent 0);
	background-size: 12px 12px; background-position: 0 0, 6px 6px; border: 8px solid #fff;
}
.mbp-feature { height: 100%; padding: 20px; border-radius: 16px; background: var(--white); border: 1px solid var(--border-color); transition: all .3s var(--mbp-ease); }
.mbp-feature:hover { transform: translateY(-4px); box-shadow: var(--mbp-shadow); }
.mbp-feature > i { width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--primary-transparent); color: var(--primary); font-size: 20px; margin-bottom: 12px; }
.mbp-feature h3 { font-size: 17px; color: var(--heading-color); margin-bottom: 6px; }
.mbp-feature p { margin: 0; font-size: 15px; }
.mbp-feature-lg { padding: 28px; text-align: center; }
.mbp-feature-lg > i { width: 64px; height: 64px; font-size: 26px; border-radius: 18px; }
.mbp-timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; counter-reset: s; }
.mbp-timeline::before { content: ""; position: absolute; top: 28px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--primary) 0 8px, transparent 8px 16px); }
.mbp-timeline li { text-align: center; position: relative; }
.mbp-timeline li > span { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 58px; height: 58px; padding: 0 12px; border-radius: 99px; background: var(--primary); color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 14px; box-shadow: 0 0 0 8px var(--primary-transparent); }
.mbp-timeline h3 { font-size: 18px; color: var(--heading-color); }
@media (max-width: 767.98px) { .mbp-timeline { grid-template-columns: 1fr; } .mbp-timeline::before { display: none; } }

/* ---------- Estimateur partenaire ---------- */
.mbp-roi { display: grid; gap: 18px; margin-top: 20px; }
.mbp-roi-field label { font-weight: 600; color: var(--heading-color); margin-bottom: 6px; }
.mbp-roi-field output { color: var(--primary); font-weight: 700; }
.mbp-roi-result { display: grid; gap: 14px; padding: 30px; border-radius: 24px; background: var(--white); border: 1px solid var(--border-color); box-shadow: var(--mbp-shadow); }
.mbp-roi-kpi { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border-radius: 14px; background: var(--light); }
.mbp-roi-kpi span { font-weight: 500; }
.mbp-roi-kpi b { font-size: 24px; color: var(--heading-color); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mbp-roi-kpi-main { background: var(--mbp-blue); color: #fff; }
.mbp-roi-kpi-main b { color: #fff; font-size: 30px; }

/* ---------- Wizard ---------- */
.mbp-wizard { padding: 30px; border-radius: 24px; background: var(--white); border: 1px solid var(--border-color); box-shadow: var(--mbp-shadow); }
.mbp-wizard-steps { list-style: none; padding: 0; margin: 0 0 14px; display: flex; justify-content: space-between; gap: 10px; }
.mbp-wizard-steps li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--body-color); font-size: 15px; }
.mbp-wizard-steps span { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--light); color: var(--body-color); transition: all .3s; }
.mbp-wizard-steps li.is-active { color: var(--heading-color); }
.mbp-wizard-steps li.is-active span { background: var(--primary); color: #fff; }
.mbp-wizard-steps li.is-done span { background: var(--mbp-success); color: #fff; }
.mbp-wizard-progress { height: 6px; border-radius: 99px; background: var(--light); overflow: hidden; margin-bottom: 26px; }
.mbp-wizard-progress span { display: block; height: 100%; width: 33.33%; background: linear-gradient(90deg, var(--mbp-orange), #ffc06b); transition: width .5s var(--mbp-ease); }
.mbp-wizard-pane { display: none; border: 0; padding: 0; margin: 0; }
.mbp-wizard-pane.is-active { display: block; animation: mbp-in .4s var(--mbp-ease); }
.mbp-wizard-nav { display: flex; gap: 10px; margin-top: 26px; }
.mbp-wizard-done { text-align: center; padding: 20px 0; }
.mbp-wizard-done > i { font-size: 64px; color: var(--mbp-success); margin-bottom: 12px; animation: mbp-pop .6s var(--mbp-ease); }
.mbp-wizard.is-done .mbp-wizard-steps, .mbp-wizard.is-done .mbp-wizard-progress, .mbp-wizard.is-done .mbp-wizard-nav { display: none; }
.mbp-strength { height: 4px; border-radius: 99px; background: var(--light); margin-top: 6px; overflow: hidden; }
.mbp-strength span { display: block; height: 100%; width: 0; transition: all .3s; }
.mbp-preview { padding: 16px; border-radius: 14px; background: var(--light); }
.mbp-preview-label { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.mbp-preview-card { position: relative; display: flex; align-items: center; gap: 14px; margin-top: 10px; padding: 14px; border-radius: 12px; background: var(--white); }
.mbp-preview-card .mbp-card-remise { position: static; }
.mbp-preview-card b { display: block; color: var(--heading-color); }
@media (max-width: 575.98px) { .mbp-wizard { padding: 20px; } .mbp-wizard-steps li { font-size: 0; } }

/* ---------- À propos ---------- */
.mbp-about-collage { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 200px 200px; gap: 12px; }
.mbp-about-collage img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.mbp-about-collage img:first-child { grid-row: span 2; }
.mbp-about-badge { position: absolute; left: -16px; bottom: 24px; background: var(--primary); color: #fff; padding: 16px 20px; border-radius: 16px; box-shadow: var(--mbp-shadow-lg); font-size: 15px; }
.mbp-about-badge b { font-size: 28px; display: block; line-height: 1; }

/* ---------- Contact ---------- */
.mbp-contact-card { display: block; height: 100%; text-align: center; padding: 26px 18px; border-radius: 18px; background: var(--white); border: 1px solid var(--border-color); transition: all .3s var(--mbp-ease); }
a.mbp-contact-card:hover { transform: translateY(-5px); box-shadow: var(--mbp-shadow); border-color: var(--primary); }
.mbp-contact-card > i { width: 56px; height: 56px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; background: var(--primary-transparent); color: var(--primary); margin-bottom: 12px; }
.mbp-contact-card .fa-whatsapp, .mbp-contact-card .ph-whatsapp-logo { background: rgba(37, 211, 102, .15); color: #25d366; }
.mbp-contact-card h3 { font-size: 17px; color: var(--heading-color); margin-bottom: 4px; }
.mbp-contact-card p { margin: 0; font-size: 15px; word-break: break-word; }
.mbp-form-card, .mbp-hours-card { padding: 28px; border-radius: 20px; background: var(--white); border: 1px solid var(--border-color); }
.mbp-map-embed { border-radius: 20px; overflow: hidden; height: 260px; border: 1px solid var(--border-color); }
.mbp-map-embed iframe { width: 100%; height: 100%; border: 0; }
.was-validated .form-control:invalid, .form-control.is-invalid { border-color: var(--mbp-danger); }

/* ---------- Connexion ---------- */
.mbp-auth-page .mbp-header, .mbp-auth-page .mbp-newsletter, .mbp-auth-page .mbp-footer, .mbp-auth-page .mbp-whatsapp { display: none; }
.mbp-auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.mbp-auth-visual { position: relative; overflow: hidden; }
.mbp-auth-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mbp-auth-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 28, 61, .92), rgba(7, 28, 61, .3)); }
.mbp-auth-quote { position: absolute; left: 48px; right: 48px; bottom: 48px; z-index: 1; color: #fff; }
.mbp-auth-quote h2 { color: #fff; font-size: 36px; }
.mbp-auth-quote p { color: rgba(255, 255, 255, .85); font-size: 17px; }
.mbp-auth-form { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 40px 24px; position: relative; }
.mbp-auth-back { position: absolute; top: 24px; left: 24px; font-weight: 600; }
.mbp-auth-box { width: 100%; max-width: 420px; }
.mbp-phone { display: flex; border: 1px solid var(--border-color); border-radius: 10px; overflow: hidden; background: var(--form-bg); }
.mbp-phone > span { display: flex; align-items: center; gap: 6px; padding: 0 14px; font-weight: 600; color: var(--heading-color); border-right: 1px solid var(--border-color); white-space: nowrap; flex: none; }
.mbp-auth-error { display: block; }
.mbp-phone .form-control { border: 0; border-radius: 0; height: 36px; min-height: 0; }
.mbp-otp { display: flex; gap: 10px; justify-content: space-between; }
.mbp-otp input { width: 100%; max-width: 56px; height: 62px; text-align: center; font-size: 26px; font-weight: 700; border-radius: 12px; border: 2px solid var(--border-color); background: var(--form-bg); color: var(--heading-color); }
.mbp-otp input:focus { border-color: var(--primary); outline: none; }
.mbp-otp.is-error input { border-color: var(--mbp-danger); animation: mbp-shake .4s; }
.mbp-otp.is-ok input { border-color: var(--mbp-success); }
@keyframes mbp-shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
@media (max-width: 991.98px) { .mbp-auth { grid-template-columns: 1fr; } .mbp-auth-visual { display: none; } }

/* ---------- CGU ---------- */
.mbp-toc { position: sticky; top: 96px; padding: 22px; border-radius: 18px; background: var(--white); border: 1px solid var(--border-color); }
.mbp-toc h2 { font-size: 18px; color: var(--heading-color); }
.mbp-toc ol { list-style: none; padding: 0; margin: 0; max-height: 60vh; overflow-y: auto; }
.mbp-toc a { display: block; padding: 6px 10px; border-radius: 8px; font-size: 14px; color: var(--body-color); border-left: 2px solid transparent; }
.mbp-toc a:hover, .mbp-toc a.is-active { color: var(--primary); background: var(--primary-transparent); border-left-color: var(--primary); }
.mbp-prose { font-size: 16px; line-height: 1.8; }
.mbp-prose h2 { font-size: 22px; color: var(--heading-color); margin: 34px 0 12px; scroll-margin-top: 100px; }
.mbp-prose-meta { font-weight: 600; color: var(--primary); }
@media print {
	.mbp-header, .mbp-footer, .mbp-newsletter, .mbp-toc, .mbp-whatsapp, .mbp-to-top, .mbp-cookie, .mbp-projet-popup, .mbp-chat, .mbp-crumbs, .breadcrumb-bar { display: none !important; }
}

/* ---------- 404 ---------- */
.mbp-404-num { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: clamp(90px, 16vw, 180px); font-weight: 800; color: var(--heading-color); line-height: 1; margin-bottom: 20px; }
.mbp-404-num i { color: var(--primary); animation: mbp-spin 6s ease-in-out infinite; font-size: .8em; }
@keyframes mbp-spin { 0%, 100% { transform: rotate(-20deg); } 50% { transform: rotate(200deg); } }

/* ---------- Mode sombre : ajustements ---------- */
[data-theme=dark] .mbp-header { background: #0d1520; }
[data-theme=dark] .mbp-fav { background: rgba(13, 21, 32, .9); color: #fff; }
[data-theme=dark] .mbp-pastille { background: rgba(13, 21, 32, .9); color: #fff; }
[data-theme=dark] .mbp-segment button.is-active, [data-theme=dark] .mbp-segment a.is-active { background: #222423; }
[data-theme=dark] .mbp-card-logo, [data-theme=dark] .mbp-shop-logo { border-color: #000403; }

/* ---------- Mouvements réduits ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.mbp-bubble, .mbp-marquee-track { animation: none !important; }
	.mbp-marquee { overflow-x: auto; }
}

/* ---------- Pied de page en bleu PrixKdo ---------- */
/* pied de page sur fond blanc (fond sombre en thème sombre) */
footer.footer-dark.mbp-footer { --ft-bg: #fff; --ft-text: #0b1b34; --ft-muted: #4b5563; --ft-line: rgba(7, 28, 61, .12); --ft-chip: #f1f3f5; background: var(--ft-bg); }
[data-theme=dark] footer.footer-dark.mbp-footer { --ft-bg: #0d1520; --ft-text: #fff; --ft-muted: #c5cad3; --ft-line: rgba(255, 255, 255, .15); --ft-chip: #222423; }
footer.mbp-footer .footer-widget h5 { color: var(--ft-text); }
footer.mbp-footer .footer-about p { color: var(--ft-muted); }
footer.mbp-footer .footer-widget .footer-title::after { background: var(--mbp-orange); }
footer.mbp-footer .footer-widget .footer-menu li a, footer.mbp-footer .mbp-footer-contact span, footer.mbp-footer .mbp-footer-contact a { color: var(--ft-muted); }
footer.mbp-footer .footer-widget .footer-menu li a:hover { color: var(--mbp-orange-dark); text-decoration: underline; text-underline-offset: 3px; }
footer.mbp-footer .mbp-footer-contact i { color: var(--mbp-orange); }
footer.mbp-footer .footer-bottom { border-top-color: var(--ft-line); }
footer.mbp-footer .footer-bottom p, footer.mbp-footer .footer-bottom .btn-link { color: var(--ft-muted); }
footer.mbp-footer .footer-bottom .link-primary { color: var(--ft-text) !important; text-decoration: underline; text-underline-offset: 3px; }
footer.mbp-footer .social-icon a { color: var(--mbp-blue); background: var(--ft-chip); }
[data-theme=dark] footer.mbp-footer .social-icon a { color: #fff; }
footer.mbp-footer .download-app a { box-shadow: 0 0 0 1px var(--ft-line); border-radius: 6px; }
footer.mbp-footer .footer-bg img { opacity: .12; }

/* ==========================================================================
   Version dynamique (Symfony + Turbo)
   ========================================================================== */
.mbp-pagination a, .mbp-pagination .mbp-pagination-gap {
	min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--border-color, #e3e7ef);
	display: inline-flex; align-items: center; justify-content: center; font-weight: 600; color: inherit; background: var(--white, #fff);
}
.mbp-pagination .mbp-pagination-gap { border-color: transparent; background: transparent; }
.mbp-pagination a:hover { border-color: var(--primary); color: var(--primary); }
.mbp-pagination a.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.mbp-pagination a.disabled { opacity: .45; pointer-events: none; }
/* liste en cours de rechargement (Turbo Frame) */
turbo-frame { display: block; }
turbo-frame[aria-busy="true"] .mbp-results, turbo-frame[aria-busy="true"] .mbp-fav-grid { opacity: .45; transition: opacity .2s; pointer-events: none; }
.mbp-rating.is-empty { color: var(--gray-500, #8a94a6); font-weight: 500; }
.mbp-rating.is-empty i { color: inherit; }
.mbp-countdown.is-open-ended b { font-size: 1rem; }
.mbp-view-toggle .btn-check:checked + .btn { background: var(--mbp-navy); border-color: var(--mbp-navy); }
.mbp-view-toggle .btn-check:checked + .btn i { color: #fff !important; }
/* barre de progression de Turbo aux couleurs PrixKdo */
.turbo-progress-bar { height: 3px; background: linear-gradient(90deg, #0d46d6, #f78116); }
.mbp-auth-box-wide { max-width: 560px; }
.mbp-wizard-compact { padding: 0; border: 0; box-shadow: none; background: transparent; }
.mbp-wizard-compact ul { list-style: none; padding: 0; margin: 4px 0 0; color: var(--mbp-danger, #e5484d); font-size: 13px; }
.mbp-review-reply { margin-top: 10px; padding: 10px 14px; border-left: 3px solid var(--primary); background: var(--light, #f6f7fb); border-radius: 0 10px 10px 0; font-size: 14px; }
.mbp-review-thanks { padding: 14px 16px; border-radius: 12px; background: rgba(18, 183, 106, .08); margin-bottom: 16px; font-weight: 500; }
.mbp-region.is-empty .mbp-region-media img { filter: grayscale(.6); }
.mbp-chip small { opacity: .65; margin-left: 2px; }
.mbp-shop-desc p:last-child { margin-bottom: 0; }
/* bandeau titre des pages intérieures : vidéo filtrée aux couleurs PrixKdo + pastilles animées */
.breadcrumb-bar.mbp-breadcrumb { background: #071c3d url(../video/banniere-poster.jpg) center 42% / cover no-repeat !important; padding: 72px 0; isolation: isolate; }
@media (max-width: 767.98px) { .breadcrumb-bar.mbp-breadcrumb { padding: 56px 0; } }
.mbp-breadcrumb > img { display: none !important; }
.mbp-breadcrumb-video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; filter: saturate(1.1) contrast(1.03) brightness(.9); pointer-events: none; }
.mbp-breadcrumb::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 45% 95% at center, rgba(7, 28, 61, .52), transparent 80%), linear-gradient(100deg, rgba(7, 28, 61, .46), rgba(13, 70, 214, .2) 50%, rgba(7, 28, 61, .46)); }
@media (max-width: 767.98px) { .mbp-breadcrumb::after { background: rgba(7, 28, 61, .58); } }
.mbp-breadcrumb .breadcrumb-title, .mbp-breadcrumb .mbp-breadcrumb-sub { text-shadow: 0 2px 12px rgba(7, 28, 61, .55); }
.mbp-breadcrumb-pills { display: none; }
@media (min-width: 1200px) {
	.mbp-breadcrumb-pills { display: block; position: absolute; inset: 0; z-index: 0; pointer-events: none; }
	.mbp-breadcrumb-pills .mbp-pastille { padding: 7px 13px; font-size: 13px; }
	.mbp-breadcrumb-pill-1 { top: 20%; left: 4%; animation-delay: 0s, .3s; }
	.mbp-breadcrumb-pill-2 { top: 60%; left: 12%; animation-delay: -2s, .6s; }
	.mbp-breadcrumb-pill-3 { top: 20%; right: 5%; animation-delay: -4s, .9s; }
	.mbp-breadcrumb-pill-4 { top: 60%; right: 11%; animation-delay: -1s, 1.2s; }
}
.mbp-breadcrumb .mbp-breadcrumb-sub { color: #fff; }
.mbp-breadcrumb .breadcrumb-item i { color: #fff; }

/* accueil, trois portes d'entrée : vignettes de même taille */
.buy-property-section .buy-property-item { height: 100%; display: flex; flex-direction: column; }
.buy-property-section .buy-property-item .img-card { aspect-ratio: 5 / 4; border: 1px solid rgba(15, 23, 42, .08); background: #fff; }
.buy-property-section .buy-property-item .img-card a,
.buy-property-section .buy-property-item .img-card img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* page Régions & villes : communes d'Abidjan puis autres régions */
.mbp-region-col[hidden], .mbp-region-group[hidden] { display: none !important; }
.mbp-region-scopes { margin-top: 18px; }
.mbp-region-scopes .mbp-chip { cursor: pointer; }
.mbp-region-group { margin-top: 48px; }
.mbp-region-head { margin-bottom: 24px; }
.mbp-region-head .mbp-h2 { margin-bottom: 6px; }
.mbp-region-sm .mbp-region-media { aspect-ratio: 16 / 10; }
.mbp-region-sm .mbp-region-body { padding: 16px 18px; }
.mbp-region-sm .mbp-region-body h3 { font-size: 18px; margin-bottom: 0; }

/* accueil : « Comment ça marche » (how-it-work du thème) sur fond blanc,
   photo découpée avec la forme du thème (sec-bg-04.png sert de masque) */
.how-it-work-section.mbp-howit { background: #fff; padding: 48px 0; }
[data-theme=dark] .how-it-work-section.mbp-howit { background: var(--white); }
.mbp-howit .mbp-howit-photo { aspect-ratio: 1392 / 1089; -webkit-mask: url(../img/home-3/bg/sec-bg-04.png) center / 100% 100% no-repeat; mask: url(../img/home-3/bg/sec-bg-04.png) center / 100% 100% no-repeat; }
.mbp-howit .mbp-howit-photo img { width: 100%; height: 100%; object-fit: cover; }
.mbp-howit .section-users { background: rgba(7, 28, 61, .55); }
.mbp-howit-step { display: inline-block; margin-bottom: 8px; padding: 3px 12px; border-radius: 99px; color: #fff; font-size: 13px; font-weight: 600; }
.mbp-howit-step-1 { background: #ef4444; }
.mbp-howit-step-2 { background: #0284c7; }
.mbp-howit-step-3 { background: #8b5cf6; }
.mbp-howit .work-steps h6 { font-size: 18px; color: var(--heading-color); }
.mbp-howit .work-steps p { color: var(--body-color, #4b5563); }
@media (max-width: 991.98px) { .how-it-work-section.mbp-howit { padding: 40px 0; } }
.mbp-suggestions { margin-top: 80px; }

/* footer et newsletter en orange PrixKdo : accents et bouton en bleu */
.mbp-newsletter-inner { background: var(--mbp-orange) !important; }
[data-theme=dark] .mbp-newsletter-inner { background: var(--mbp-orange-dark, #c9650c) !important; }
.mbp-newsletter-inner p, .mbp-newsletter-form small { color: #fff; }
.mbp-newsletter-form .btn-primary { background: var(--mbp-blue) !important; border-color: var(--mbp-blue) !important; color: #fff !important; }
.mbp-newsletter-form .btn-primary:hover { background: #0a379f !important; border-color: #0a379f !important; }
footer.mbp-footer .footer-widget .footer-title::before { background: var(--mbp-blue); }

/* --- essai : bulles colorées du bandeau (à retirer avec la ligne .mbp-breadcrumb-bubbles de _breadcrumb.html.twig) --- */
.mbp-breadcrumb-bubbles { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.mbp-breadcrumb-bubbles span {
	position: absolute; bottom: 8%; width: var(--s); height: var(--s); left: var(--x); border-radius: 50%; opacity: 0;
	background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, .75), var(--c) 55%);
	box-shadow: 0 0 18px var(--c);
	animation: mbp-breadcrumb-bubble var(--d) ease-in-out var(--w) infinite;
}
.mbp-breadcrumb-bubbles span:nth-child(1) { --x: 5%; --s: 26px; --c: rgba(247, 129, 22, .6); --d: 7s; --w: 0s; }
.mbp-breadcrumb-bubbles span:nth-child(2) { --x: 14%; --s: 14px; --c: rgba(79, 125, 255, .65); --d: 9s; --w: 2.5s; }
.mbp-breadcrumb-bubbles span:nth-child(3) { --x: 23%; --s: 34px; --c: rgba(139, 92, 246, .5); --d: 8s; --w: 5s; }
.mbp-breadcrumb-bubbles span:nth-child(4) { --x: 32%; --s: 18px; --c: rgba(18, 183, 106, .55); --d: 10s; --w: 1.2s; }
.mbp-breadcrumb-bubbles span:nth-child(5) { --x: 43%; --s: 12px; --c: rgba(239, 68, 68, .55); --d: 7.5s; --w: 3.6s; }
.mbp-breadcrumb-bubbles span:nth-child(6) { --x: 56%; --s: 16px; --c: rgba(247, 129, 22, .6); --d: 9.5s; --w: 6s; }
.mbp-breadcrumb-bubbles span:nth-child(7) { --x: 67%; --s: 30px; --c: rgba(2, 132, 199, .55); --d: 8.5s; --w: .6s; }
.mbp-breadcrumb-bubbles span:nth-child(8) { --x: 76%; --s: 14px; --c: rgba(255, 255, 255, .5); --d: 7s; --w: 4.4s; }
.mbp-breadcrumb-bubbles span:nth-child(9) { --x: 85%; --s: 24px; --c: rgba(247, 129, 22, .55); --d: 10s; --w: 2s; }
.mbp-breadcrumb-bubbles span:nth-child(10) { --x: 94%; --s: 18px; --c: rgba(139, 92, 246, .55); --d: 8s; --w: 7s; }
@keyframes mbp-breadcrumb-bubble {
	0%, 100% { opacity: 0; transform: translateY(0) scale(.5); }
	35% { opacity: .95; transform: translateY(-45px) scale(1); }
	65% { opacity: .75; transform: translateY(-90px) scale(1.08); }
	85% { opacity: 0; transform: translateY(-125px) scale(1.2); }
}
@media (prefers-reduced-motion: reduce) { .mbp-breadcrumb-bubbles { display: none; } }

/* sous-titre du hero : toujours sur une seule ligne */
.mbp-hero .banner-content p.mbp-hero-sub { white-space: nowrap; width: max-content; max-width: none; }
@media (max-width: 991.98px) { .mbp-hero .banner-content p.mbp-hero-sub { font-size: clamp(12px, 3.7vw, 16px); margin-inline: auto; } }

/* bandeau de la page Régions & villes : vidéo cadrée sur le bas de l'image, filtre plus dense sur le feuillage */
.breadcrumb-bar.mbp-breadcrumb.mbp-breadcrumb-regions { background-image: url(../video/regions-poster.jpg) !important; background-position: center bottom !important; }
.mbp-breadcrumb-regions .mbp-breadcrumb-video { object-position: center bottom; filter: saturate(1.15) contrast(1.02) brightness(.95); }
.mbp-breadcrumb-regions::after { background: radial-gradient(ellipse 45% 95% at center, rgba(7, 28, 61, .5), transparent 80%), linear-gradient(100deg, rgba(7, 28, 61, .4), rgba(13, 70, 214, .16) 50%, rgba(7, 28, 61, .4)); }
@media (max-width: 767.98px) { .mbp-breadcrumb-regions::after { background: rgba(7, 28, 61, .5); } }

.mbp-breadcrumb-regions .breadcrumb-title, .mbp-breadcrumb-regions .mbp-breadcrumb-sub, .mbp-breadcrumb-regions .breadcrumb-item, .mbp-breadcrumb-regions .breadcrumb-item a { text-shadow: 0 1px 3px rgba(7, 28, 61, .9), 0 0 16px rgba(7, 28, 61, .75); }

/* Bandeaux de page sans voile (même principe que le hero d'accueil) : vidéo à pleine luminosité,
   lisibilité par l'ombre des textes et des fonds sombres translucides. Retirer la classe
   mbp-breadcrumb-sans-filtre de _breadcrumb.html.twig pour revenir au voile. */
.mbp-breadcrumb-sans-filtre::after, .mbp-breadcrumb-sans-filtre.mbp-breadcrumb-regions::after { content: none; }
.mbp-breadcrumb-sans-filtre .mbp-breadcrumb-video, .mbp-breadcrumb-sans-filtre.mbp-breadcrumb-regions .mbp-breadcrumb-video { filter: none; }
.mbp-breadcrumb-sans-filtre .breadcrumb-title { text-shadow: 0 1px 3px rgba(0, 0, 0, .6), 0 4px 28px rgba(0, 0, 0, .5); }
.mbp-breadcrumb-sans-filtre .mbp-breadcrumb-sub { color: #fff; font-weight: 600; text-shadow: 0 1px 2px rgba(0, 0, 0, .8), 0 2px 10px rgba(0, 0, 0, .6), 0 0 28px rgba(0, 0, 0, .45); }
.mbp-breadcrumb-sans-filtre .breadcrumb-item, .mbp-breadcrumb-sans-filtre .breadcrumb-item a, .mbp-breadcrumb-sans-filtre .breadcrumb-item i,
.mbp-breadcrumb-sans-filtre .breadcrumb-arrow .breadcrumb-item + .breadcrumb-item::before { text-shadow: 0 1px 3px rgba(0, 0, 0, .85), 0 0 12px rgba(0, 0, 0, .6), 0 0 26px rgba(0, 0, 0, .4); }

/* menu de partage sur les réseaux sociaux */
.mbp-share .dropdown-item { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.mbp-share .dropdown-item i { width: 18px; text-align: center; font-size: 16px; color: var(--net); }
.mbp-share .mbp-share-x { --net: #000; }
[data-theme=dark] .mbp-share .mbp-share-x { --net: #fff; }

/* ==========================================================================
   Mon projet : simulation par besoins
   ========================================================================== */
.mbp-projet [hidden] { display: none !important; }
/* parcours : une question par écran, barre de progression fixée en bas */
.mbp-flow-form { display: flex; flex-direction: column; min-height: calc(100vh - 62px); }
.mbp-flow-main { flex: 1; padding: 48px 16px 40px; }
.mbp-flow-pane { max-width: 860px; margin: 0 auto; }
.mbp-flow-kicker { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--body-color); }
.mbp-flow-title { margin: 0 0 10px; font-size: clamp(28px, 4vw, 40px); font-weight: 700; line-height: 1.15; color: var(--heading-color); outline: 0; }
.mbp-flow-sub { margin: 0 0 32px; font-size: 18px; color: var(--body-color); }
.mbp-flow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mbp-flow-grid label { display: block; position: relative; margin: 0; }
.mbp-flow-grid input { position: absolute; opacity: 0; }
.mbp-flow-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; width: 100%; height: 100%; min-height: 112px; padding: 18px; border: 1px solid var(--mbp-field-line, #8a93a3); border-radius: 12px; background: var(--white); font-size: 16px; font-weight: 500; line-height: 1.3; text-align: left; color: var(--heading-color); cursor: pointer; transition: border-color .15s, background-color .15s; }
.mbp-flow-card i { font-size: 32px; }
.mbp-flow-card:hover { border-color: var(--heading-color); }
.mbp-flow-grid input:checked + .mbp-flow-card, .mbp-flow-card.is-on { border-color: var(--heading-color); box-shadow: inset 0 0 0 1px var(--heading-color); background: var(--light); }
.mbp-flow-grid input:checked + .mbp-flow-card::after, .mbp-flow-card.is-on::after { content: ""; position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%; background: #0b8a4f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.mbp-flow-grid input:focus-visible + .mbp-flow-card, .mbp-flow-card:focus-visible { outline: 3px solid rgba(247, 129, 22, .5); outline-offset: 2px; }
.mbp-flow-error { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; font-weight: 500; color: var(--mbp-danger, #d92d20); }
/* budget */
.mbp-flow-total { margin-bottom: 36px; text-align: center; }
.mbp-flow-total label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--heading-color); }
.mbp-flow-total div { display: inline-flex; align-items: baseline; justify-content: center; gap: 10px; max-width: 100%; }
.mbp-flow-total input { width: 7ch; field-sizing: content; min-width: 2ch; max-width: 100%; padding: 0; border: 0; border-bottom: 2px solid transparent; background: transparent; font-size: clamp(40px, 7vw, 64px); font-weight: 800; line-height: 1.1; color: var(--heading-color); text-align: center; font-variant-numeric: tabular-nums; outline: 0; -moz-appearance: textfield; appearance: textfield; }
.mbp-flow-total input:focus { border-bottom-color: var(--heading-color); }
.mbp-flow-total span { font-size: 20px; font-weight: 600; color: var(--heading-color); }
.mbp-flow-total input::-webkit-inner-spin-button, .mbp-flow-total input::-webkit-outer-spin-button, .mbp-flow-amount input::-webkit-inner-spin-button, .mbp-flow-amount input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.mbp-flow-rows { border-top: 1px solid var(--border-color); }
.mbp-flow-row { display: grid; grid-template-columns: minmax(170px, 230px) 1fr 170px; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--border-color); }
.mbp-flow-row label { display: flex; align-items: center; gap: 12px; margin: 0; font-weight: 500; color: var(--heading-color); }
.mbp-flow-row label i { font-size: 24px; }
.mbp-flow-amount { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--mbp-field-line, #8a93a3); border-radius: 10px; background: var(--white); }
.mbp-flow-amount:focus-within { border-color: var(--heading-color); box-shadow: inset 0 0 0 1px var(--heading-color); }
.mbp-flow-amount input { flex: 1; min-width: 0; padding: 0; border: 0; background: transparent; color: var(--heading-color); text-align: right; font-variant-numeric: tabular-nums; outline: 0; -moz-appearance: textfield; appearance: textfield; }
.mbp-flow-amount span { font-size: 13px; color: var(--body-color); }
/* lieu : cases groupées, comme la carte du plan */
.mbp-flow-box { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid var(--mbp-field-line, #8a93a3); border-radius: 12px; background: var(--white); }
.mbp-flow-cell { margin: -1px 0 0 -1px; padding: 12px 16px; border-top: 1px solid var(--mbp-field-line, #8a93a3); border-left: 1px solid var(--mbp-field-line, #8a93a3); }
.mbp-flow-cell:focus-within { box-shadow: inset 0 0 0 2px var(--heading-color); }
.mbp-flow-cell label { display: block; margin: 0 0 2px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--heading-color); }
.mbp-flow-cell select, .mbp-flow-cell input { display: block; width: 100%; padding: 0; border: 0; background-color: transparent; font-size: 16px; color: var(--body-color); outline: 0; }
.mbp-flow-cell select { margin-left: -4px; width: calc(100% + 4px); }
.mbp-flow-cell select:disabled { opacity: .55; }
/* barre du bas */
.mbp-flow-bar { position: sticky; bottom: 0; z-index: 800; background: var(--white); }
.mbp-flow-progress { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 0; padding: 0; }
.mbp-flow-progress li { height: 6px; background: var(--border-color); }
.mbp-flow-progress li.is-active, .mbp-flow-progress li.is-done { background: var(--heading-color); }
.mbp-flow-actions { display: flex; align-items: center; gap: 12px; max-width: 1140px; margin: 0 auto; padding: 14px 16px; }
.mbp-flow-back { padding: 8px 4px; border: 0; background: none; font-weight: 600; color: var(--heading-color); text-decoration: underline; text-underline-offset: 3px; }
body:has(.mbp-flow-bar) .mbp-whatsapp, body:has(.mbp-flow-bar) .mbp-to-top { bottom: 96px; }
@media (max-width: 767.98px) {
	.mbp-flow-main { padding-top: 28px; }
	.mbp-flow-sub { margin-bottom: 24px; font-size: 16px; }
	.mbp-flow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mbp-flow-row { grid-template-columns: 1fr; gap: 10px; }
	.mbp-flow-box { grid-template-columns: 1fr; }
}
/* résultat */
.mbp-projet-summary { padding: 24px; border-radius: 16px; border: 1px solid var(--border-color); background: var(--white); box-shadow: 0 6px 20px rgba(7, 28, 61, .08); }
.mbp-projet-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mbp-projet-fields { overflow: hidden; border: 1px solid var(--mbp-field-line, #8a93a3); border-radius: 12px; }
.mbp-projet-fields dl { display: flex; flex-wrap: wrap; margin: 0; }
.mbp-projet-fields dl > div { flex: 1 1 0; min-width: 150px; margin: -1px 0 0 -1px; padding: 11px 16px; border-top: 1px solid var(--mbp-field-line, #8a93a3); border-left: 1px solid var(--mbp-field-line, #8a93a3); }
.mbp-projet-fields dt { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--heading-color); }
.mbp-projet-fields dd { margin: 2px 0 0; font-size: 15px; color: var(--body-color); font-variant-numeric: tabular-nums; }
@media (max-width: 767.98px) { .mbp-projet-summary { padding: 18px; } .mbp-projet-fields dl > div { flex-basis: 50%; min-width: 0; } }
.mbp-projet-note { margin: 14px 0 0; font-size: 13px; }
.mbp-projet-besoin { margin-top: 36px; }
.mbp-projet-besoin > header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; position: static; }
.mbp-projet-besoin h2 { display: flex; align-items: center; gap: 10px; margin: 0; }
.mbp-projet-besoin h2 i { color: var(--primary); }
.mbp-projet-budget { display: flex; flex-direction: column; padding: 8px 16px; border: 1px solid var(--mbp-field-line, #8a93a3); border-radius: 12px; }
.mbp-projet-budget small, .mbp-projet-choice small { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--heading-color); }
.mbp-projet-budget b, .mbp-projet-choice b { margin-top: 2px; font-size: 15px; font-weight: 400; color: var(--body-color); font-variant-numeric: tabular-nums; }
.mbp-projet-choice { display: block; margin-bottom: 8px; cursor: pointer; }
.mbp-projet-choice input { position: absolute; opacity: 0; }
.mbp-projet-choice > span { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 16px; border-radius: 12px; border: 1px solid var(--mbp-field-line, #8a93a3); background: var(--white); }
.mbp-projet-choice-text { display: flex; flex-direction: column; min-width: 0; }
.mbp-projet-check { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 1px solid var(--mbp-field-line, #8a93a3); background: var(--white); }
.mbp-projet-choice input:checked + span { border-color: var(--heading-color); box-shadow: inset 0 0 0 1px var(--heading-color); }
.mbp-projet-choice input:checked + span .mbp-projet-check { border-color: #0b8a4f; background: #0b8a4f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.mbp-projet-choice input:focus-visible + span { outline: 3px solid rgba(247, 129, 22, .4); }
.mbp-projet-empty { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 14px; border: 2px dashed var(--border-color); }
.mbp-projet-empty > i { font-size: 24px; color: var(--primary); }

/* ---------- Icônes Phosphor ----------
   Les polices (allégées) sont déclarées par plugins/phosphor/mbp/icones.css, chargé avant cette feuille : elles servent aussi
   aux icônes posées ici en CSS par leur caractère (flèches, menus, accordéons), que app:icones:generer garde dans la police. */
.ph, .ph-fill { display: inline-block; vertical-align: -.125em; }
.mbp-ic { font-size: 24px; }
.mbp-fav.is-active i.ph::before, .mbp-fav-btn.is-active i.ph::before { content: "\e2a8"; font-family: "Phosphor-Fill" !important; font-weight: normal; }
header .main-menu-wrapper .main-nav > li .submenu > li.has-submenu > a::after { content: "\e13a"; font-family: "Phosphor"; }
.dropdown-toggle::after { content: "\e136"; font-family: "Phosphor"; }
.breadcrumb-arrow .breadcrumb-item + .breadcrumb-item::before { content: "\e13a"; font-family: "Phosphor"; }
.accordion.accordions-items-seperate .accordion-item .accordion-header .accordion-button:after { content: "\e136"; font-family: "Phosphor"; }
.faq-accordion.accordion.accordions-items-seperate .accordion-item .accordion-header .accordion-button:after { content: "\e3d4"; font-family: "Phosphor"; }
.faq-accordion.accordion.accordions-items-seperate .accordion-item .accordion-header .accordion-button:not(.collapsed):after { content: "\e32a"; font-family: "Phosphor"; }
.home-property-section .swiper-button-next::before, .features-section .swiper-button-next::before, .testimonials-section .testimonials-slider-item .swiper-button-next::before, .listing-slider .swiper-button-next::before { content: "\e06c"; font-family: "Phosphor"; font-weight: normal; font-size: 14px; }
.home-property-section .swiper-button-prev::before, .features-section .swiper-button-prev::before, .testimonials-section .testimonials-slider-item .swiper-button-prev::before, .listing-slider .swiper-button-prev::before { content: "\e058"; font-family: "Phosphor"; font-weight: normal; font-size: 14px; }
.slider-card .swiper-button-next::before { content: "\e13a"; font-family: "Phosphor"; font-weight: normal; font-size: 14px; }
.slider-card .swiper-button-prev::before { content: "\e138"; font-family: "Phosphor"; font-weight: normal; font-size: 14px; }

/* ==========================================================================
   La Boussole : présentation épurée, sans bannière
   ========================================================================== */
.mbp-bsl-head { padding-top: 40px; padding-bottom: 28px; }
.mbp-bsl-head h1 { margin: 0 0 6px; font-size: clamp(30px, 4vw, 44px); font-weight: 700; line-height: 1.15; color: var(--heading-color); }
.mbp-bsl-head p { margin: 0; font-size: 18px; color: var(--body-color); }
.mbp-bsl-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; padding-bottom: 56px; }
.mbp-bsl-cover { display: block; width: 100%; border-radius: 16px; }
.mbp-bsl-kicker { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--body-color); }
.mbp-bsl-feature h2 { margin: 0 0 14px; font-size: clamp(24px, 3vw, 32px); font-weight: 700; line-height: 1.2; color: var(--heading-color); }
.mbp-bsl-desc { margin: 0; font-size: 16px; line-height: 1.6; color: var(--body-color); }
.mbp-bsl-perks { list-style: none; display: grid; gap: 16px; margin: 24px 0; padding: 24px 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.mbp-bsl-perks li { display: flex; align-items: center; gap: 14px; color: var(--heading-color); }
.mbp-bsl-perks i { flex: none; font-size: 26px; }
.mbp-bsl-card { padding: 24px; border-radius: 16px; border: 1px solid var(--border-color); background: var(--white); box-shadow: 0 6px 20px rgba(7, 28, 61, .08); }
.mbp-bsl-card .mbp-projet-fields { margin-bottom: 16px; }
.mbp-bsl-download { display: block; margin-top: 14px; text-align: center; font-weight: 600; color: var(--heading-color); text-decoration: underline; text-underline-offset: 3px; }
.mbp-bsl-download:hover { color: var(--heading-color); }
.mbp-bsl-soon { margin: 0; text-align: center; color: var(--body-color); }
.mbp-bsl-sep { margin: 0; border: 0; border-top: 1px solid var(--border-color); opacity: 1; }
.mbp-bsl-archives { padding-top: 40px; padding-bottom: 64px; scroll-margin-top: 70px; }
.mbp-bsl-archives > h2 { margin: 0 0 20px; font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; color: var(--heading-color); }
.mbp-bsl-tabs { display: flex; gap: 32px; margin-bottom: 28px; overflow-x: auto; border-bottom: 1px solid var(--border-color); scrollbar-width: none; }
.mbp-bsl-tabs::-webkit-scrollbar { display: none; }
.mbp-bsl-tabs button { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 4px 2px 12px; border: 0; border-bottom: 2px solid transparent; background: none; font-size: 13px; font-weight: 500; color: var(--body-color); transition: color .15s, border-color .15s; }
.mbp-bsl-tabs i { font-size: 24px; }
.mbp-bsl-tabs button:hover { color: var(--heading-color); border-bottom-color: var(--border-color); }
.mbp-bsl-tabs button.is-active { color: var(--heading-color); border-bottom-color: var(--heading-color); font-weight: 600; }
.mbp-bsl .mbp-mag-cover { box-shadow: none; }
.mbp-bsl .mbp-mag-cover .mbp-mag-num { top: 10px; left: 10px; right: auto; background: #fff; color: #0b1b33; font-weight: 600; box-shadow: 0 2px 8px rgba(7, 28, 61, .18); }
.mbp-bsl .mbp-mag-body h3 { margin: 0 0 2px; font-size: 15px; font-weight: 600; line-height: 1.35; }
.mbp-bsl .mbp-mag-meta { font-size: 14px; font-weight: 400; color: var(--body-color); }
@media (max-width: 991.98px) { .mbp-bsl-feature { gap: 32px; } }
@media (max-width: 767.98px) {
	.mbp-bsl-head { padding-top: 28px; padding-bottom: 20px; }
	.mbp-bsl-feature { grid-template-columns: 1fr; padding-bottom: 40px; }
	.mbp-bsl-cover { max-width: 340px; margin: 0 auto; }
	.mbp-bsl-card { padding: 18px; }
	.mbp-bsl-tabs { gap: 24px; }
}

/* Bons plans : invitation à simuler un projet (fond blanc dans les deux thèmes, comme le popup) */
.mbp-plan-cta { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; padding: 24px 28px; border-radius: 16px; border: 1px solid #e4e7ec; background: #fff; box-shadow: 0 6px 20px rgba(7, 28, 61, .08); }
.mbp-plan-cta > i { flex: none; font-size: 40px; color: #0b1b33; }
.mbp-plan-cta > div { flex: 1; min-width: 0; }
.mbp-plan-cta h2 { margin: 0 0 4px; font-size: 22px; font-weight: 700; line-height: 1.25; color: #0b1b33; }
.mbp-plan-cta p { margin: 0; font-size: 16px; color: #475467; }
.mbp-plan-cta .btn { flex: none; }
@media (max-width: 767.98px) { .mbp-plan-cta { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; } .mbp-plan-cta .btn { width: 100%; } }

/* ==========================================================================
   Pages sans bannière : grand titre, sections aérées séparées par un filet
   ========================================================================== */
.mbp-page-head { padding-top: 40px; padding-bottom: 28px; }
.mbp-page-head h1 { margin: 0 0 6px; font-size: clamp(30px, 4vw, 44px); font-weight: 700; line-height: 1.15; color: var(--heading-color); }
.mbp-page-head p { margin: 0; font-size: 18px; color: var(--body-color); }
.mbp-page-section { padding-bottom: 56px; }
.mbp-page-sep { margin: 0 0 40px; border: 0; border-top: 1px solid var(--border-color); opacity: 1; }
.mbp-page-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 24px; margin-bottom: 24px; }
.mbp-page-section-head h2 { margin: 0 0 4px; font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; color: var(--heading-color); }
.mbp-page-section-head p { margin: 0; color: var(--body-color); }
.mbp-page-section-head a { font-weight: 600; color: var(--heading-color); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.mbp-page-section-head a:hover { color: var(--heading-color); }
@media (max-width: 767.98px) { .mbp-page-head { padding-top: 28px; padding-bottom: 20px; } .mbp-page-section { padding-bottom: 40px; } .mbp-page-sep { margin-bottom: 28px; } }

/* Contact : coordonnées et horaires dans une carte latérale */
.mbp-ct-aside { position: sticky; top: 84px; padding: 24px; border-radius: 16px; border: 1px solid var(--border-color); background: var(--white); box-shadow: 0 6px 20px rgba(7, 28, 61, .08); }
.mbp-ct-aside h2 { margin: 0 0 8px; font-size: 20px; font-weight: 700; color: var(--heading-color); }
.mbp-ct-rows { list-style: none; margin: 0 0 24px; padding: 0; }
.mbp-ct-rows li + li { border-top: 1px solid var(--border-color); }
.mbp-ct-rows a { display: flex; align-items: center; gap: 14px; padding: 14px 0; color: var(--body-color); }
.mbp-ct-rows a > i:first-child { flex: none; font-size: 26px; color: var(--heading-color); }
.mbp-ct-rows a > i:last-child { flex: none; margin-left: auto; font-size: 16px; color: var(--body-color); transition: transform .15s; }
.mbp-ct-rows a:hover > i:last-child { transform: translateX(3px); }
.mbp-ct-rows span { min-width: 0; font-size: 15px; word-break: break-word; }
.mbp-ct-rows b { display: block; font-weight: 600; color: var(--heading-color); }
.mbp-ct-aside .mbp-projet-fields { margin-top: 12px; }
.mbp-ct-map { height: 420px; }
@media (max-width: 991.98px) { .mbp-ct-aside { position: static; } }
@media (max-width: 767.98px) { .mbp-ct-map { height: 300px; } }

/* À propos */
.mbp-ab-mission { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.mbp-ab-mission h2 { margin: 0 0 18px; font-size: clamp(24px, 3vw, 32px); font-weight: 700; line-height: 1.2; color: var(--heading-color); }
.mbp-ab-mission p { font-size: 16px; line-height: 1.65; color: var(--body-color); }
.mbp-ab-mission p:last-child { margin-bottom: 0; }
.mbp-ab-mosaic { display: grid; grid-template-columns: 3fr 2fr; grid-template-rows: 1fr 1fr; gap: 8px; height: 440px; overflow: hidden; border-radius: 16px; }
.mbp-ab-mosaic img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; background: #fff; }
.mbp-ab-mosaic img:first-child { grid-row: span 2; object-fit: cover; }
.mbp-ab-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.mbp-ab-stats > div { padding: 0 24px; border-left: 1px solid var(--border-color); }
.mbp-ab-stats > div:first-child { padding-left: 0; border-left: 0; }
.mbp-ab-stats dd { margin: 0 0 2px; font-size: clamp(30px, 4vw, 44px); font-weight: 700; line-height: 1.15; color: var(--heading-color); font-variant-numeric: tabular-nums; }
.mbp-ab-stats dt { font-size: 15px; font-weight: 400; color: var(--body-color); }
.mbp-ab-cols { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 0; padding: 0; }
.mbp-ab-cols > * > i { display: block; margin-bottom: 14px; font-size: 32px; color: var(--heading-color); }
.mbp-ab-cols h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; color: var(--heading-color); }
.mbp-ab-cols p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--body-color); }
@media (max-width: 991.98px) { .mbp-ab-mission { grid-template-columns: 1fr; gap: 28px; } .mbp-ab-mosaic { height: 360px; } }
@media (max-width: 767.98px) {
	.mbp-ab-mosaic { height: 260px; }
	.mbp-ab-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; }
	.mbp-ab-stats > div:nth-child(odd) { padding-left: 0; border-left: 0; }
	.mbp-ab-cols { grid-template-columns: 1fr; gap: 28px; }
}

/* À propos : frise de l'histoire (cartes alternées autour de la ligne ; verticale sur petit écran) */
.mbp-tl { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.mbp-tl::before { content: ""; position: absolute; top: calc(50% - 2px); left: 0; right: 0; height: 4px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--mbp-blue) 0 90px, var(--primary) 90px 180px); }
.mbp-tl li { position: relative; display: grid; grid-template-rows: 1fr auto 1fr; justify-items: center; row-gap: 18px; }
.mbp-tl-year { grid-row: 2; display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; border-radius: 50%; border: 5px solid var(--white); background: var(--tl); box-shadow: 0 8px 20px rgba(7, 28, 61, .18); font-size: 18px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.mbp-tl-card { position: relative; display: flex; align-items: flex-start; gap: 14px; width: 100%; max-width: 340px; padding: 18px; border: 1px solid var(--border-color); border-radius: 12px; background: var(--white); box-shadow: 0 6px 20px rgba(7, 28, 61, .08); }
.mbp-tl li:nth-child(odd) .mbp-tl-card { grid-row: 1; align-self: end; }
.mbp-tl li:nth-child(even) .mbp-tl-card { grid-row: 3; align-self: start; }
.mbp-tl-card::after { content: ""; position: absolute; left: calc(50% - 7px); width: 14px; height: 14px; background: var(--white); border: 1px solid var(--border-color); transform: rotate(45deg); }
.mbp-tl li:nth-child(odd) .mbp-tl-card::after { bottom: -8px; border-top: 0; border-left: 0; }
.mbp-tl li:nth-child(even) .mbp-tl-card::after { top: -8px; border-right: 0; border-bottom: 0; }
.mbp-tl-card > i { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; font-size: 24px; color: var(--tl); background: color-mix(in srgb, var(--tl) 14%, var(--white)); }
.mbp-tl-card h3 { margin: 0 0 4px; font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--heading-color); }
.mbp-tl-card p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--body-color); }
@media (max-width: 991.98px) {
	.mbp-tl { grid-template-columns: 1fr; gap: 20px; }
	.mbp-tl::before { top: 0; bottom: 0; left: 26px; right: auto; width: 4px; height: auto; background: repeating-linear-gradient(180deg, var(--mbp-blue) 0 90px, var(--primary) 90px 180px); }
	.mbp-tl li { grid-template-rows: auto; grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; justify-items: stretch; align-items: center; }
	.mbp-tl-year { grid-row: 1; width: 56px; height: 56px; border-width: 3px; font-size: 13px; }
	.mbp-tl li:nth-child(n) .mbp-tl-card { grid-row: 1; grid-column: 2; align-self: center; max-width: none; }
	.mbp-tl li:nth-child(n) .mbp-tl-card::after { top: calc(50% - 7px); bottom: auto; left: -8px; border: 1px solid var(--border-color); border-top: 0; border-right: 0; }
}

/* ==========================================================================
   Chatbot public
   ========================================================================== */
.mbp-chat-launcher { position: fixed; right: 22px; bottom: 22px; z-index: 940; display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border: 0; border-radius: 50%; background: var(--mbp-blue); color: #fff; font-size: 30px; box-shadow: 0 10px 24px rgba(13, 70, 214, .35); transition: transform .2s; }
.mbp-chat-launcher:hover { transform: translateY(-3px); }
.mbp-chat-launcher { animation: mbp-chat-pulse 2.4s ease-in-out infinite; }
.mbp-chat-launcher::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--mbp-blue); pointer-events: none; animation: mbp-chat-halo 2.4s ease-out infinite; }
.mbp-chat-launcher[aria-expanded="true"], .mbp-chat-launcher[aria-expanded="true"]::after { animation: none; }
@keyframes mbp-chat-pulse { 0%, 100% { scale: 1; } 50% { scale: 1.05; } }
@keyframes mbp-chat-halo { 0% { opacity: .4; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.4); } }
.mbp-chat-launcher:focus-visible, .mbp-chat button:focus-visible, .mbp-chat a:focus-visible { outline: 3px solid rgba(247, 129, 22, .6); outline-offset: 2px; }
body:has(.mbp-chat) .mbp-to-top { bottom: 90px; }
body:has(.mbp-flow-bar) .mbp-chat-launcher { bottom: 96px; }
body:has(.mbp-flow-bar):has(.mbp-chat) .mbp-to-top { bottom: 164px; }
.mbp-chat-panel { position: fixed; right: 22px; bottom: 90px; z-index: 1040; display: flex; flex-direction: column; width: 390px; max-width: calc(100vw - 44px); height: min(600px, calc(100vh - 120px)); overflow: hidden; border-radius: 16px; border: 1px solid var(--border-color); background: var(--white); box-shadow: 0 16px 48px rgba(7, 28, 61, .22); animation: mbp-toast-in .25s var(--mbp-ease); }
.mbp-chat-panel[hidden] { display: none; }
body:has(.mbp-flow-bar) .mbp-chat-panel { bottom: 164px; height: min(600px, calc(100vh - 190px)); }
.mbp-chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border-color); }
.mbp-chat-avatar { flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--mbp-blue); color: #fff; font-size: 22px; }
.mbp-chat-head div { flex: 1; min-width: 0; line-height: 1.3; }
.mbp-chat-head b { display: block; font-size: 15px; color: var(--heading-color); }
.mbp-chat-head small { font-size: 12px; color: var(--body-color); }
.mbp-chat-head button { flex: none; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--heading-color); font-size: 18px; }
.mbp-chat-head button:hover { background: var(--light); }
.mbp-chat-log { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 16px; overscroll-behavior: contain; }
.mbp-chat-msg { max-width: 88%; font-size: 15px; line-height: 1.45; }
.mbp-chat-msg p { margin: 0; color: inherit; overflow-wrap: anywhere; }
.mbp-chat-msg.is-bot { align-self: flex-start; padding: 10px 14px; border-radius: 4px 14px 14px 14px; background: var(--light); color: var(--heading-color); }
.mbp-chat-msg.is-user { align-self: flex-end; padding: 10px 14px; border-radius: 14px 4px 14px 14px; background: var(--mbp-blue); color: #fff; }
.mbp-chat-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mbp-chat-chips button { padding: 7px 12px; border: 1px solid var(--mbp-field-line, #8a93a3); border-radius: 99px; background: var(--white); font-size: 13px; font-weight: 500; line-height: 1.3; text-align: left; color: var(--heading-color); }
.mbp-chat-chips button:hover { border-color: var(--heading-color); background: var(--light); }
.mbp-chat-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.mbp-chat-actions a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; line-height: 1.2; }
.mbp-chat-link { border: 1px solid var(--mbp-field-line, #8a93a3); background: var(--white); color: var(--heading-color); }
.mbp-chat-link:hover { border-color: var(--heading-color); color: var(--heading-color); }
.mbp-chat-wa { background: #0b8a4f; color: #fff; }
.mbp-chat-wa:hover { background: #096f40; color: #fff; }
.mbp-chat-group { align-self: stretch; }
.mbp-chat-group h4 { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--heading-color); }
.mbp-chat-group a { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding: 9px 12px; border: 1px solid var(--border-color); border-bottom-width: 0; background: var(--white); }
.mbp-chat-group a:first-of-type { border-radius: 10px 10px 0 0; }
.mbp-chat-group a:last-of-type { border-bottom-width: 1px; border-radius: 0 0 10px 10px; }
.mbp-chat-group a:only-of-type { border-radius: 10px; }
.mbp-chat-group a:hover { background: var(--light); }
.mbp-chat-group b { font-size: 14px; font-weight: 600; color: var(--heading-color); }
.mbp-chat-group small { grid-column: 1; font-size: 12px; color: var(--body-color); }
.mbp-chat-group span { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 12px; font-weight: 700; color: var(--heading-color); font-variant-numeric: tabular-nums; }
.mbp-chat-avis { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--body-color); }
.mbp-chat-avis button { padding: 2px 8px; border: 1px solid var(--border-color); border-radius: 99px; background: transparent; font-size: 12px; color: var(--heading-color); }
.mbp-chat-avis button:hover { background: var(--light); }
.mbp-chat-typing { display: flex; gap: 4px; padding: 14px; }
.mbp-chat-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--body-color); animation: mbp-chat-dot 1.1s infinite; }
.mbp-chat-typing i:nth-child(2) { animation-delay: .15s; }
.mbp-chat-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes mbp-chat-dot { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .mbp-chat-typing i { animation: none; } .mbp-chat-panel { animation: none; } .mbp-chat-launcher, .mbp-chat-launcher::after { animation: none; } }
.mbp-chat-form { display: flex; gap: 8px; padding: 12px 12px 6px; border-top: 1px solid var(--border-color); }
.mbp-chat-form input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--mbp-field-line, #8a93a3); border-radius: 12px; background: var(--white); font-size: 16px; color: var(--heading-color); }
.mbp-chat-form input:focus { outline: 0; border-color: var(--heading-color); box-shadow: inset 0 0 0 1px var(--heading-color); }
.mbp-chat-form button { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--primary); color: #fff; font-size: 20px; }
.mbp-chat-form button:disabled { opacity: .55; }
.mbp-chat-note { margin: 0; padding: 0 12px 10px; font-size: 11px; line-height: 1.35; color: var(--body-color); }
@media (max-width: 767.98px) {
	.mbp-chat-launcher { right: 16px; bottom: 16px; width: 52px; height: 52px; font-size: 26px; }
	body:has(.mbp-chat) .mbp-to-top { right: 19px; bottom: 82px; }
	.mbp-projet-popup { bottom: 86px; }
	.mbp-chat-panel, body:has(.mbp-flow-bar) .mbp-chat-panel { inset: 0; width: 100%; max-width: none; height: 100dvh; border: 0; border-radius: 0; }
}
/* Bandeau cookies : le bouton du chat reste accessible au-dessus, là où le bandeau occupe sa place */
@media (max-width: 923.98px) {
	.mbp-cookie:not([hidden]) ~ .mbp-chat:has(.mbp-chat-panel[hidden]) .mbp-chat-launcher { bottom: calc(var(--mbp-cookie-h, 146px) + 32px); }
	body:has(.mbp-cookie:not([hidden])) .mbp-to-top { bottom: calc(var(--mbp-cookie-h, 146px) + 104px); }
}
/* le bandeau passe au-dessus du panneau : on le retire le temps de la conversation pour ne pas cacher la saisie */
body:has(.mbp-chat-panel:not([hidden])) .mbp-cookie { display: none; }

/* Devenir partenaire */
.mbp-dp-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; }
.mbp-dp-cta { display: flex; flex-wrap: wrap; gap: 8px; }
.mbp-dp-cta-bas { justify-content: center; margin-top: 32px; }
.mbp-dp-section { scroll-margin-top: 80px; }
.mbp-dp-atouts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.mbp-dp-roi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.mbp-dp-roi .mbp-roi { margin-top: 0; }
.mbp-dp-roi .mbp-roi-field output { color: var(--heading-color); font-variant-numeric: tabular-nums; }
.mbp-dp-result .mbp-projet-fields { margin-bottom: 12px; }
.mbp-dp-result-label { margin: 0 0 4px; font-size: 15px; font-weight: 500; color: var(--heading-color); }
.mbp-dp-result-net { margin: 0 0 18px; font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; line-height: 1.2; color: var(--heading-color); font-variant-numeric: tabular-nums; }
.mbp-dp-result-net u { text-decoration-thickness: 2px; text-underline-offset: 5px; white-space: nowrap; }
.mbp-dp-result-note { margin: 0; font-size: 13px; color: var(--body-color); }
@media (max-width: 991.98px) { .mbp-dp-atouts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mbp-dp-roi { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 767.98px) {
	.mbp-dp-atouts { grid-template-columns: 1fr; gap: 24px; }
	.mbp-dp-cta { width: 100%; }
	.mbp-dp-cta .btn { flex: 1 1 100%; }
}

/* FAQ : centre d'aide */
.mbp-fq-search { display: flex; align-items: center; gap: 12px; max-width: 620px; margin-top: 22px; padding: 0 20px; border: 1px solid var(--border-color); border-radius: 99px; background: var(--white); box-shadow: 0 4px 16px rgba(7, 28, 61, .1); }
.mbp-fq-search:focus-within { border-color: var(--heading-color); box-shadow: 0 0 0 1px var(--heading-color), 0 4px 16px rgba(7, 28, 61, .1); }
.mbp-fq-search i { flex: none; font-size: 20px; color: var(--heading-color); }
.mbp-fq-search input { flex: 1; min-width: 0; height: 54px; padding: 0; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--heading-color); }
.mbp-fq-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.mbp-fq .mbp-bsl-tabs { margin-bottom: 8px; }
.mbp-fq .faq-accordion.accordion.accordions-items-seperate { margin: 0; padding: 0; }
.mbp-fq .faq-accordion.accordion.accordions-items-seperate .accordion-item { margin: 0; border: 0; border-bottom: 1px solid var(--border-color); border-radius: 0; background: transparent; box-shadow: none; }
.mbp-fq .faq-accordion.accordion.accordions-items-seperate .accordion-item .accordion-header .accordion-button { gap: 16px; padding: 20px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--heading-color); }
.mbp-fq .faq-accordion.accordion.accordions-items-seperate .accordion-item .accordion-body { padding: 0 32px 20px 0; border: 0; }
.mbp-fq .accordion-body p { font-size: 15px; line-height: 1.6; color: var(--body-color); }
.mbp-fq .mbp-empty { margin-top: 24px; }
.mbp-fq-aside { position: sticky; top: 84px; }
.mbp-fq-aside h2 { margin: 0 0 6px; font-size: 20px; font-weight: 700; color: var(--heading-color); }
.mbp-fq-aside p { margin: 0 0 16px; font-size: 15px; color: var(--body-color); }
@media (max-width: 991.98px) { .mbp-fq-layout { grid-template-columns: 1fr; gap: 32px; } .mbp-fq-aside { position: static; } }

/* ==========================================================================
   En-tête épuré (inspiré de framo) : collant sans saut, verre dépoli, menu centré,
   boutons ronds homogènes et appel à l'action en pilule sombre.
   Le flou est posé sur un pseudo-élément : un backdrop-filter sur <header> lui-même
   casserait le menu mobile (position: fixed) qu'il contient.
   ========================================================================== */
header.mbp-header, header.mbp-header.fixed {
	position: sticky !important; top: 0 !important; z-index: 1050;
	background: transparent; box-shadow: none; animation: none; isolation: isolate;
	transition: box-shadow .3s ease;
}
header.mbp-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: rgba(255, 255, 255, .86);
	-webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
	transition: background .3s ease;
}
header.mbp-header.fixed { box-shadow: 0 1px 0 rgba(7, 28, 61, .06), 0 10px 30px -18px rgba(7, 28, 61, .35); }
header.mbp-header.fixed::before { background: rgba(255, 255, 255, .78); }
[data-theme=dark] header.mbp-header { background: transparent; }
[data-theme=dark] header.mbp-header::before { background: rgba(13, 21, 32, .82); }
.mbp-header .header-nav { min-height: 72px; padding-block: 8px; }
@media (min-width: 992px) {
	.mbp-header .main-menu-wrapper { flex: 1 1 auto; display: flex; justify-content: center; }
	header.mbp-header .main-menu-wrapper .main-nav > li > a { font-weight: 500; color: var(--heading-color); transition: color .2s; }
	header.mbp-header .main-menu-wrapper .main-nav > li > a:hover,
	header.mbp-header .main-menu-wrapper .main-nav > li.active > a { color: var(--primary); }
}
/* boutons ronds : recherche, favoris, thème, connexion */
.mbp-header .header-items .topbar-link {
	height: 42px; min-width: 42px; justify-content: center; border-radius: 99px;
	border: 1px solid transparent; background: rgba(7, 28, 61, .05); color: var(--heading-color);
	transition: background .2s, border-color .2s, transform .2s;
}
.mbp-header .header-items .topbar-link:hover { background: rgba(7, 28, 61, .09); border-color: rgba(7, 28, 61, .08); }
[data-theme=dark] .mbp-header .header-items .topbar-link { background: rgba(255, 255, 255, .08); color: #fff; }
[data-theme=dark] .mbp-header .header-items .topbar-link:hover { background: rgba(255, 255, 255, .14); }
/* appel à l'action : pilule orange PrixKdo et flèche qui glisse au survol */
.mbp-header .header-items .mbp-header-cta {
	height: 46px; gap: 8px; padding: 0 20px 0 22px; border-radius: 99px; font-size: 15px; font-weight: 600;
	background: var(--mbp-orange); border-color: var(--mbp-orange); color: #fff;
	box-shadow: 0 8px 20px -10px rgba(247, 129, 22, .75); transition: background .2s, border-color .2s;
}
.mbp-header .header-items .mbp-header-cta i { font-size: 16px; transition: transform .25s var(--mbp-ease); }
.mbp-header .header-items .mbp-header-cta:hover { background: #d96b0a; border-color: #d96b0a; color: #fff; }
.mbp-header .header-items .mbp-header-cta:hover i { transform: translateX(3px); }
[data-theme=dark] .mbp-header .header-items .mbp-header-cta { background: var(--mbp-orange); border-color: var(--mbp-orange); color: #fff; }
[data-theme=dark] .mbp-header .header-items .mbp-header-cta:hover { background: #d96b0a; border-color: #d96b0a; color: #fff; }

/* ==========================================================================
   Bandeau vidéo de l'accueil encadré : marges autour, coins arrondis, ombre douce
   ========================================================================== */
.mbp-home .mbp-hero.Home-banner-section {
	margin: 4px 16px 0; border-radius: 28px; overflow: hidden; clip-path: inset(0 round 28px);
	min-height: min(calc(100svh - 92px), 820px); padding: 96px 0 132px;
	box-shadow: 0 40px 80px -48px rgba(7, 28, 61, .55);
}
@media (max-width: 991.98px) {
	.mbp-home .mbp-hero.Home-banner-section { margin: 4px 10px 0; border-radius: 22px; clip-path: inset(0 round 22px); padding: 64px 0 112px; }
}
@media (max-width: 575.98px) {
	.mbp-home .mbp-hero.Home-banner-section { margin: 2px 8px 0; border-radius: 18px; clip-path: inset(0 round 18px); }
}

/* Contrôles du bandeau en verre dépoli (légende, points, pause, pastille d'accroche) */
.mbp-hero-controls { bottom: 24px; }
.mbp-hero .mbp-hero-caption, .mbp-hero .mbp-hero-nav, .mbp-hero-sans-filtre .mbp-hero-kicker {
	background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .26); border-radius: 99px;
	-webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 10px 30px -12px rgba(0, 0, 0, .35);
}
.mbp-hero .mbp-hero-caption { align-items: center; padding: 7px 18px; text-shadow: none; }
.mbp-hero .mbp-hero-index { font-size: 20px; }
.mbp-hero .mbp-hero-label { border-left-color: rgba(255, 255, 255, .3); }
.mbp-hero .mbp-hero-nav { padding: 6px 6px 6px 16px; gap: 14px !important; }
.mbp-hero-sans-filtre .mbp-hero-dot { box-shadow: none; background: rgba(255, 255, 255, .45); }
.mbp-hero-sans-filtre .mbp-hero-dot.is-active { background: rgba(255, 255, 255, .25); }
.mbp-hero .mbp-hero-pause, .mbp-hero-sans-filtre .mbp-hero-pause {
	width: 34px; height: 34px; border: 0; background: rgba(255, 255, 255, .2); transition: background .2s;
}
.mbp-hero .mbp-hero-pause:hover { background: rgba(255, 255, 255, .32); }
.mbp-hero-sans-filtre .mbp-hero-kicker { text-shadow: none; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.mbp-hero .mbp-hero-caption, .mbp-hero .mbp-hero-nav, .mbp-hero-sans-filtre .mbp-hero-kicker { background: rgba(7, 28, 61, .55); }
}
/* bouton du menu mobile, assorti aux boutons ronds de l'en-tête */
.mbp-header #mobile_btn {
	width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 99px;
	background: rgba(7, 28, 61, .05); color: var(--heading-color); text-decoration: none;
}
.mbp-header #mobile_btn .mbp-ic { font-size: 22px; }
[data-theme=dark] .mbp-header #mobile_btn { background: rgba(255, 255, 255, .08); color: #fff; }
