/**
 * Ines Transport — design system unique (mobile-first)
 * Une seule logique : tokens → composants → 3 breakpoints (768 / 1024 / 1280)
 */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

/* ——— Tokens ——— */
:root {
	--mf-font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--mf-font-display: "Space Grotesk", "DM Sans", system-ui, sans-serif;

	--mf-ink: #0b1117;
	--mf-ink-muted: #5c6673;
	--mf-ink-soft: #8791a0;
	--mf-bg: #f3f5f8;
	--mf-bg-alt: #e9edf2;
	--mf-surface: #ffffff;
	--mf-surface-2: #fafbfd;
	--mf-night: #0e141c;
	--mf-night-2: #151d28;

	--mf-accent: #f0b429;
	--mf-accent-strong: #d99a12;
	--mf-accent-soft: #fde8a8;
	--mf-accent-glow: rgba(240, 180, 41, 0.45);
	--mf-on-accent: #141414;

	--mf-gradient-accent: linear-gradient(135deg, #ffd25e 0%, #f0b429 45%, #d99a12 100%);
	--mf-gradient-night: linear-gradient(160deg, #0e141c 0%, #151d28 55%, #1e2937 100%);
	--mf-gradient-hero: linear-gradient(180deg, rgba(14, 20, 28, 0.45) 0%, rgba(14, 20, 28, 0.82) 70%, rgba(14, 20, 28, 0.95) 100%);
	--mf-gradient-surface: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);

	--mf-line: #e2e6ec;
	--mf-line-strong: #c7cdd6;

	--mf-ok: #0d6b3a;
	--mf-ok-bg: #e8f5ee;
	--mf-warn-bg: #fff8e6;

	--mf-wa: #22c55e;
	--mf-wa-hover: #16a34a;

	/* Secondaire (info / formulaire) — même famille que le reste */
	--mf-info: #2d4a6f;
	--mf-info-bg: #eef3f9;
	--mf-info-border: #c8d4e8;

	--mf-r-sm: 8px;
	--mf-r-md: 12px;
	--mf-r-lg: 16px;
	--mf-r-xl: 20px;

	--mf-space-1: 0.25rem;
	--mf-space-2: 0.5rem;
	--mf-space-3: 0.75rem;
	--mf-space-4: 1rem;
	--mf-space-5: 1.25rem;
	--mf-space-6: 1.5rem;
	--mf-space-8: 2rem;
	--mf-space-10: 2.5rem;

	--mf-shadow-xs: 0 1px 2px rgba(15, 20, 25, 0.05);
	--mf-shadow: 0 2px 6px rgba(15, 20, 25, 0.06), 0 1px 2px rgba(15, 20, 25, 0.04);
	--mf-shadow-md: 0 12px 28px rgba(15, 20, 25, 0.09), 0 4px 10px rgba(15, 20, 25, 0.05);
	--mf-shadow-lg: 0 24px 56px rgba(15, 20, 25, 0.14), 0 8px 18px rgba(15, 20, 25, 0.08);
	--mf-shadow-glow: 0 10px 40px -10px var(--mf-accent-glow);
	--mf-ring: 0 0 0 3px rgba(240, 180, 41, 0.18);

	--mf-header-h: 3.5rem;
	--mf-dock-h: 4.25rem;
	--mf-touch: 2.75rem;

	--mf-content: 100%;
	--mf-gutter: var(--mf-space-4);

	--mf-accent-bar: 3px;

	/* Rythme vertical des sections + rayon unique des boutons / choix */
	--mf-section-y: clamp(2rem, 4.2vw, 3.25rem);
	--mf-btn-radius: var(--mf-r-md);

	font-size: 100%;
}

body {
	margin: 0;
	font-family: var(--mf-font);
	font-size: 1rem;
	line-height: 1.55;
	color: var(--mf-ink);
	background: var(--mf-bg);
	padding-bottom: calc(var(--mf-dock-h) + env(safe-area-inset-bottom, 0px));
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--mf-info);
	text-underline-offset: 0.15em;
}

a:hover {
	color: var(--mf-night);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--mf-accent-strong);
	outline-offset: 2px;
}

/* ——— Skip ——— */
.mf-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 10000;
	padding: var(--mf-space-3) var(--mf-space-4);
	background: var(--mf-night);
	color: #fff;
	font-weight: 600;
	border-radius: var(--mf-r-sm);
}

.mf-skip:focus {
	left: var(--mf-space-3);
	top: var(--mf-space-3);
}

/* ——— Header ——— */
.mf-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(14px) saturate(1.2);
	-webkit-backdrop-filter: blur(14px) saturate(1.2);
	border-bottom: 1px solid var(--mf-line);
	box-shadow: var(--mf-shadow);
}

.mf-header__row {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--mf-space-2) var(--mf-space-3);
	min-height: var(--mf-header-h);
	padding: var(--mf-space-2) max(var(--mf-gutter), env(safe-area-inset-left)) var(--mf-space-2)
		max(var(--mf-gutter), env(safe-area-inset-right));
}

.mf-header__brand {
	display: flex;
	align-items: center;
	gap: var(--mf-space-3);
	min-width: 0;
	text-decoration: none;
	color: inherit;
}

.mf-header__brand img {
	height: 40px;
	width: auto;
	flex-shrink: 0;
}

.mf-header__title {
	font-weight: 700;
	font-size: 0.9375rem;
	line-height: 1.25;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mf-header__title small {
	display: block;
	font-size: 0.6875rem;
	font-weight: 600;
	color: var(--mf-ink-muted);
	letter-spacing: 0.02em;
}

.mf-header__actions {
	display: flex;
	align-items: center;
	gap: var(--mf-space-2);
	flex-shrink: 0;
}

.mf-btn-call {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--mf-touch);
	min-width: var(--mf-touch);
	padding: 0 var(--mf-space-4);
	border-radius: 999px;
	background: var(--mf-accent);
	color: var(--mf-on-accent) !important;
	font-weight: 700;
	font-size: 0.8125rem;
	text-decoration: none;
	box-shadow: 0 2px 8px rgba(240, 180, 41, 0.35);
	transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.mf-btn-call__num {
	display: none;
	font-weight: 700;
	font-size: 0.8125rem;
	letter-spacing: 0.02em;
}

.mf-btn-call:hover {
	background: var(--mf-accent-strong);
	color: var(--mf-on-accent) !important;
}

.mf-btn-call:active {
	transform: scale(0.98);
}

.mf-btn-icon {
	min-width: var(--mf-touch);
	min-height: var(--mf-touch);
	padding: 0;
	border-radius: var(--mf-r-md);
	border: 1px solid var(--mf-line);
	background: var(--mf-surface);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--mf-ink);
	transition: background 0.15s ease, border-color 0.15s ease;
}

.mf-btn-icon:hover {
	background: var(--mf-bg);
	border-color: var(--mf-line-strong);
}

.mf-btn-icon[aria-expanded="true"] {
	background: var(--mf-bg);
	border-color: var(--mf-line-strong);
}

/* Nav : tiroir mobile, barre tablette / desktop */
.mf-nav {
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	margin-top: 0;
	background: var(--mf-surface);
	border-bottom: 1px solid var(--mf-line);
	padding: var(--mf-space-3) var(--mf-gutter) var(--mf-space-4);
	max-height: min(70vh, 22rem);
	overflow-y: auto;
	z-index: 998;
	box-shadow: var(--mf-shadow-md);
}

.mf-nav.is-open {
	display: block;
}

.mf-nav a {
	display: block;
	padding: var(--mf-space-3) var(--mf-space-2);
	font-weight: 600;
	font-size: 0.9375rem;
	color: var(--mf-ink);
	text-decoration: none;
	border-radius: var(--mf-r-md);
	transition: background 0.15s ease, color 0.15s ease;
}

.mf-nav a + a {
	margin-top: 2px;
}

.mf-nav a:hover {
	background: var(--mf-bg);
	color: var(--mf-night);
}

/* ——— Hero ——— */
.mf-hero {
	position: relative;
	background: var(--mf-night);
	color: #f1f5f9;
	scroll-margin-top: var(--mf-header-h);
}

.mf-hero__img {
	width: 100%;
	aspect-ratio: 16 / 10;
	max-height: 52vh;
	object-fit: cover;
	opacity: 0.42;
}

.mf-hero__body {
	position: relative;
	margin-top: -3.25rem;
	padding: 0 var(--mf-gutter) var(--mf-space-6);
}

.mf-hero__inner {
	max-width: var(--mf-content);
	margin: 0 auto;
	background: rgba(26, 34, 45, 0.94);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--mf-r-xl);
	padding: var(--mf-space-5) var(--mf-space-5);
	box-shadow: var(--mf-shadow-lg);
	border-left: var(--mf-accent-bar) solid var(--mf-accent);
}

.mf-hero h1 {
	margin: 0 0 var(--mf-space-3);
	font-size: clamp(1.35rem, 4.2vw, 1.85rem);
	line-height: 1.2;
	font-weight: 800;
	letter-spacing: -0.025em;
	color: #fff;
}

.mf-hero__tag {
	margin: 0 0 var(--mf-space-4);
	font-size: 0.875rem;
	line-height: 1.5;
	color: rgba(241, 245, 249, 0.88);
}

.mf-hero__tag strong {
	color: var(--mf-accent);
	font-weight: 700;
}

.mf-hero__cta {
	display: flex;
	flex-direction: column;
	gap: var(--mf-space-3);
}

.mf-tel-inline {
	margin: var(--mf-space-4) 0 0;
	text-align: center;
	font-size: 0.8125rem;
	color: rgba(241, 245, 249, 0.65);
}

.mf-tel-inline a {
	color: var(--mf-accent);
	font-weight: 700;
	text-decoration: none;
}

.mf-tel-inline a:hover {
	color: #fff;
	text-decoration: underline;
}

/* ——— Boutons (surface commune) ——— */
.mf-btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0 var(--mf-space-5);
	border-radius: var(--mf-btn-radius);
	background: var(--mf-accent);
	color: var(--mf-on-accent) !important;
	font-weight: 700;
	font-size: 0.9375rem;
	font-family: inherit;
	text-decoration: none;
	border: none;
	cursor: pointer;
	width: 100%;
	box-shadow: 0 2px 12px rgba(240, 180, 41, 0.35);
	transition: background 0.15s ease, box-shadow 0.15s ease;
}

.mf-btn--inline {
	width: auto;
	max-width: 20rem;
	align-self: flex-start;
}

.mf-btn-primary:hover,
.mf-btn-primary:active {
	background: var(--mf-accent-strong);
	color: var(--mf-on-accent) !important;
}

.mf-btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0 var(--mf-space-5);
	border-radius: var(--mf-btn-radius);
	background: transparent;
	color: #fff !important;
	font-weight: 600;
	font-size: 0.9375rem;
	font-family: inherit;
	text-decoration: none;
	border: 2px solid rgba(240, 180, 41, 0.65);
	width: 100%;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.mf-btn-secondary:hover {
	background: rgba(240, 180, 41, 0.1);
	border-color: var(--mf-accent);
}

button.mf-btn-secondary {
	-webkit-appearance: none;
	appearance: none;
}

.mf-btn-secondary--light {
	margin-top: var(--mf-space-3);
	border: 1px solid var(--mf-line) !important;
	color: var(--mf-ink) !important;
	background: var(--mf-surface) !important;
	box-shadow: var(--mf-shadow);
}

.mf-btn-secondary--light:hover {
	background: var(--mf-bg) !important;
	border-color: var(--mf-line-strong) !important;
}

.mf-btn-wa {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--mf-space-2);
	min-height: 3rem;
	padding: 0 var(--mf-space-5);
	border-radius: var(--mf-btn-radius);
	background: var(--mf-wa);
	color: #fff !important;
	font-weight: 700;
	font-size: 0.9375rem;
	font-family: inherit;
	text-decoration: none;
	width: 100%;
	border: none;
	cursor: pointer;
	box-shadow: 0 2px 12px rgba(34, 197, 94, 0.3);
	transition: background 0.15s ease;
}

.mf-btn-wa:hover,
.mf-btn-wa:active {
	background: var(--mf-wa-hover);
	color: #fff !important;
}

.mf-btn-wa:focus-visible {
	outline-color: #fff;
}

/* ——— Sections ——— */
.mf-section {
	padding: var(--mf-section-y) var(--mf-gutter);
	scroll-margin-top: calc(var(--mf-header-h) + var(--mf-space-2));
}

.mf-section--tight {
	padding-top: calc(var(--mf-section-y) * 0.55);
	padding-bottom: calc(var(--mf-section-y) * 0.55);
}

.mf-section--surface {
	background: var(--mf-surface);
}

.mf-section--dark {
	background: var(--mf-night);
	color: #e2e8f0;
}

.mf-section--dark h2,
.mf-section--dark h3 {
	color: #fff;
}

.mf-h2 {
	margin: 0 0 var(--mf-space-3);
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.25;
	color: inherit;
}

.mf-h2::after {
	content: "";
	display: block;
	width: 2.5rem;
	height: var(--mf-accent-bar);
	margin-top: var(--mf-space-3);
	background: var(--mf-accent);
	border-radius: 2px;
}

.mf-section--dark .mf-h2::after {
	background: var(--mf-accent);
}

.mf-lead {
	margin: 0 0 var(--mf-space-5);
	font-size: 0.9375rem;
	color: var(--mf-ink-muted);
	line-height: 1.6;
	max-width: 62ch;
}

.mf-section--dark .mf-lead {
	color: #94a3b8;
}

.mf-lead--flush {
	margin-bottom: 0;
}

/* ——— Cartes ——— */
.mf-cards {
	display: grid;
	gap: var(--mf-space-4);
}

.mf-card {
	background: var(--mf-surface);
	border: 1px solid var(--mf-line);
	border-radius: var(--mf-r-lg);
	padding: var(--mf-space-5);
	box-shadow: var(--mf-shadow);
	border-left: var(--mf-accent-bar) solid var(--mf-accent);
}

.mf-section--surface .mf-card {
	background: var(--mf-bg);
}

.mf-card h3 {
	margin: 0 0 var(--mf-space-2);
	font-size: 1rem;
	font-weight: 700;
}

.mf-card p {
	margin: 0;
	font-size: 0.875rem;
	color: var(--mf-ink-muted);
	line-height: 1.55;
}

.mf-card--media {
	padding: 0;
	overflow: hidden;
	border-left: none;
	border-top: none;
}

.mf-card--media .mf-card__visual {
	position: relative;
	aspect-ratio: 16 / 10;
	background: var(--mf-line);
	overflow: hidden;
}

.mf-card--media .mf-card__visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mf-card--media .mf-card__body {
	padding: var(--mf-space-4) var(--mf-space-5);
	border-top: var(--mf-accent-bar) solid var(--mf-accent);
	background: var(--mf-surface);
}

.mf-section--surface .mf-card--media .mf-card__body {
	background: var(--mf-bg);
}

/* ——— Médias (figures) ——— */
.mf-media {
	margin: 0 0 var(--mf-space-5);
	border-radius: var(--mf-r-lg);
	overflow: hidden;
	border: 1px solid var(--mf-line);
	box-shadow: var(--mf-shadow);
	background: var(--mf-line);
	border-left: var(--mf-accent-bar) solid var(--mf-accent);
}

.mf-media__img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.mf-media__cap {
	margin: 0;
	padding: var(--mf-space-3) var(--mf-space-4);
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--mf-ink-muted);
	background: var(--mf-surface);
	line-height: 1.4;
}

.mf-section--surface .mf-media__cap {
	background: var(--mf-bg);
}

/* ——— Zone + carte ——— */
.mf-zone {
	display: flex;
	flex-direction: column;
	gap: var(--mf-space-5);
}

.mf-zone__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--mf-space-4);
}

.mf-zone__text .mf-lead {
	margin-bottom: 0;
}

.mf-map-block {
	margin-top: var(--mf-space-6);
	padding-top: var(--mf-space-5);
	border-top: 1px solid var(--mf-line);
}

.mf-map-block__title {
	margin: 0 0 var(--mf-space-2);
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.mf-map-hint {
	margin: 0 0 var(--mf-space-3);
	font-size: 0.8125rem;
	color: var(--mf-ink-muted);
	line-height: 1.5;
	max-width: 65ch;
}

.mf-map {
	height: min(48vh, 320px);
	min-height: 240px;
	border-radius: var(--mf-r-lg);
	overflow: hidden;
	border: 1px solid var(--mf-line);
	box-shadow: var(--mf-shadow);
	background: var(--mf-line);
	border-left: var(--mf-accent-bar) solid var(--mf-accent);
	z-index: 0;
}

.mf-map .leaflet-container {
	font-family: var(--mf-font);
	z-index: 0;
}

.mf-map .leaflet-control-attribution {
	font-size: 0.625rem;
	max-width: 100%;
	white-space: normal;
	line-height: 1.3;
}

.mf-zones-list {
	list-style: none;
	margin: var(--mf-space-4) 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: var(--mf-space-2);
}

.mf-zones-list li {
	font-size: 0.75rem;
	font-weight: 600;
	padding: var(--mf-space-2) var(--mf-space-3);
	border-radius: var(--mf-r-sm);
	background: var(--mf-surface);
	border: 1px solid var(--mf-line);
	color: var(--mf-ink);
}

.mf-zones-list__code {
	margin-left: var(--mf-space-1);
	font-weight: 800;
	color: var(--mf-accent-strong);
}

/* ——— Choix + résultats ——— */
.mf-choices {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--mf-space-3);
}

.mf-choice {
	min-height: 2.875rem;
	padding: var(--mf-space-3);
	border-radius: var(--mf-btn-radius);
	border: 1px solid var(--mf-line);
	background: var(--mf-surface);
	font-weight: 600;
	font-size: 0.875rem;
	font-family: inherit;
	color: var(--mf-ink);
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.mf-choice:hover {
	border-color: var(--mf-line-strong);
	background: var(--mf-bg);
}

.mf-choice.is-on {
	border-color: var(--mf-accent-strong);
	background: var(--mf-warn-bg);
	color: var(--mf-on-accent);
	box-shadow: 0 0 0 1px rgba(240, 180, 41, 0.35);
}

.mf-choice--full {
	grid-column: 1 / -1;
}

.mf-result {
	margin-top: var(--mf-space-4);
	padding: var(--mf-space-4);
	border-radius: var(--mf-r-lg);
	font-size: 0.9375rem;
	line-height: 1.55;
	background: var(--mf-bg);
	border: 1px solid var(--mf-line);
}

.mf-result--ok {
	background: var(--mf-ok-bg);
	border-color: #b4dfc6;
	color: var(--mf-ok);
}

.mf-result--call {
	background: var(--mf-warn-bg);
	border-color: rgba(240, 180, 41, 0.45);
	color: var(--mf-ink);
}

/* ——— Étapes ——— */
.mf-steps {
	display: flex;
	flex-direction: column;
	gap: var(--mf-space-4);
	counter-reset: mfstep;
}

.mf-step {
	display: grid;
	grid-template-columns: 2.5rem 1fr;
	gap: var(--mf-space-4);
	align-items: start;
	padding: var(--mf-space-4);
	background: var(--mf-surface);
	border: 1px solid var(--mf-line);
	border-radius: var(--mf-r-lg);
	box-shadow: var(--mf-shadow);
}

.mf-section--surface .mf-step {
	background: var(--mf-bg);
}

.mf-step::before {
	counter-increment: mfstep;
	content: counter(mfstep);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--mf-accent);
	color: var(--mf-on-accent);
	font-weight: 800;
	font-size: 0.875rem;
}

.mf-step h3 {
	margin: 0 0 var(--mf-space-1);
	font-size: 0.9375rem;
	font-weight: 700;
}

.mf-step p {
	margin: 0;
	font-size: 0.8125rem;
	color: var(--mf-ink-muted);
	line-height: 1.5;
}

/* ——— Avis ——— */
.mf-quote {
	padding: var(--mf-space-5);
	border-radius: var(--mf-r-lg);
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-left: var(--mf-accent-bar) solid var(--mf-accent);
	font-size: 0.875rem;
	line-height: 1.55;
	color: #e2e8f0;
}

.mf-quote footer {
	margin-top: var(--mf-space-4);
	font-weight: 600;
	font-size: 0.8125rem;
	color: #fff;
}

.mf-tags {
	display: flex;
	flex-wrap: wrap;
	gap: var(--mf-space-2);
	margin-bottom: var(--mf-space-3);
}

.mf-tag {
	font-size: 0.625rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: var(--mf-space-1) var(--mf-space-2);
	border-radius: var(--mf-r-sm);
	background: rgba(255, 255, 255, 0.1);
	color: #cbd5e1;
}

/* ——— FAQ ——— */
.mf-details {
	border: 1px solid var(--mf-line);
	border-radius: var(--mf-r-md);
	margin-bottom: var(--mf-space-2);
	background: var(--mf-surface);
	overflow: hidden;
	box-shadow: var(--mf-shadow);
}

.mf-details[open] {
	border-color: var(--mf-line-strong);
}

.mf-details summary {
	padding: var(--mf-space-4);
	font-weight: 600;
	font-size: 0.9375rem;
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--mf-space-3);
	min-height: 3rem;
	color: var(--mf-ink);
}

.mf-details summary::-webkit-details-marker {
	display: none;
}

.mf-details summary::after {
	content: "+";
	font-weight: 400;
	font-size: 1.25rem;
	color: var(--mf-ink-muted);
}

.mf-details[open] summary::after {
	content: "−";
}

.mf-details__body {
	padding: 0 var(--mf-space-4) var(--mf-space-4);
	font-size: 0.875rem;
	color: var(--mf-ink-muted);
	line-height: 1.55;
	border-top: 1px solid var(--mf-line);
}

/* ——— Formulaire ——— */
.mf-form label {
	display: block;
	font-weight: 600;
	font-size: 0.8125rem;
	margin-bottom: var(--mf-space-2);
	color: var(--mf-ink);
}

.mf-form input,
.mf-form select,
.mf-form textarea {
	width: 100%;
	min-height: 3rem;
	padding: var(--mf-space-3) var(--mf-space-4);
	font-size: 1rem;
	font-family: inherit;
	border-radius: var(--mf-r-md);
	border: 1px solid var(--mf-line);
	background: var(--mf-surface);
	margin-bottom: var(--mf-space-4);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mf-form input:hover,
.mf-form select:hover,
.mf-form textarea:hover {
	border-color: var(--mf-line-strong);
}

.mf-form input:focus,
.mf-form select:focus,
.mf-form textarea:focus {
	border-color: var(--mf-info);
	box-shadow: 0 0 0 3px rgba(45, 74, 111, 0.12);
	outline: none;
}

.mf-form textarea {
	min-height: 6.5rem;
	resize: vertical;
}

.mf-geo-ai {
	margin: 0 0 var(--mf-space-4);
	padding: var(--mf-space-4);
	border-radius: var(--mf-r-lg);
	border: 1px solid var(--mf-info-border);
	background: var(--mf-info-bg);
	border-left: var(--mf-accent-bar) solid var(--mf-info);
}

.mf-geo-ai__head {
	margin-bottom: var(--mf-space-3);
}

.mf-badge-ai {
	display: inline-block;
	margin-bottom: var(--mf-space-2);
	padding: var(--mf-space-1) var(--mf-space-3);
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
	background: var(--mf-info);
	border-radius: var(--mf-r-sm);
}

.mf-badge-ai--inline {
	margin: 0 var(--mf-space-2) 0 0;
	vertical-align: middle;
	font-size: 0.5625rem;
	padding: 0.1rem 0.35rem;
}

.mf-geo-ai__txt {
	margin: 0;
	font-size: 0.8125rem;
	color: var(--mf-ink-muted);
	line-height: 1.5;
}

.mf-geo-ai__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--mf-space-3);
	align-items: center;
}

.mf-btn-geo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0 var(--mf-space-4);
	border-radius: var(--mf-btn-radius);
	border: 1px solid var(--mf-info);
	background: var(--mf-surface);
	color: var(--mf-info) !important;
	font-weight: 600;
	font-size: 0.8125rem;
	font-family: inherit;
	cursor: pointer;
	transition: background 0.15s ease;
}

.mf-btn-geo:hover:not(:disabled) {
	background: #e4eaf4;
}

.mf-btn-geo:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.mf-btn-geo-clear {
	min-height: 2.75rem;
	padding: 0 var(--mf-space-3);
	border-radius: var(--mf-btn-radius);
	border: 1px solid var(--mf-line);
	background: transparent;
	color: var(--mf-ink-muted) !important;
	font-weight: 600;
	font-size: 0.8125rem;
	font-family: inherit;
	cursor: pointer;
}

.mf-geo-ai__status {
	margin: var(--mf-space-3) 0 0;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--mf-ok);
	line-height: 1.45;
}

.mf-geo-ai__status.mf-geo-ai__status--err {
	color: #b45309;
}

.mf-geo-ai__status:empty {
	display: none;
}

.mf-geo-ai input[type="hidden"] {
	display: none;
}

.mf-asst-tip {
	margin: var(--mf-space-4) 0 0;
	padding: var(--mf-space-3) var(--mf-space-4);
	font-size: 0.8125rem;
	color: var(--mf-ink-muted);
	line-height: 1.5;
	background: var(--mf-info-bg);
	border-radius: var(--mf-r-md);
	border: 1px solid var(--mf-info-border);
}

.mf-asst-tip a {
	color: var(--mf-info);
	font-weight: 600;
}

.mf-section--dark .mf-asst-tip {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.12);
	color: rgba(226, 232, 240, 0.9);
}

.mf-section--dark .mf-asst-tip a {
	color: var(--mf-accent);
}

.mf-form__submit-wrap {
	position: sticky;
	bottom: calc(var(--mf-dock-h) + var(--mf-space-2) + env(safe-area-inset-bottom, 0px));
	padding-top: var(--mf-space-3);
	margin-top: var(--mf-space-2);
	background: linear-gradient(180deg, transparent, var(--mf-bg) 40%);
}

.mf-section--surface .mf-form__submit-wrap {
	background: linear-gradient(180deg, transparent, var(--mf-surface) 40%);
}

.mf-form-status {
	margin-top: var(--mf-space-4);
	font-size: 0.875rem;
	font-weight: 600;
}

.mf-form-status--ok {
	color: var(--mf-ok);
}

.mf-form-status--err {
	color: #b91c1c;
}

/* ——— Bandeau CTA ——— */
.mf-cta-band {
	text-align: center;
	padding: var(--mf-space-8) var(--mf-gutter);
	margin: 0 var(--mf-gutter) var(--mf-space-5);
	background: linear-gradient(145deg, #f5c84a 0%, var(--mf-accent) 45%, var(--mf-accent-strong) 100%);
	color: var(--mf-on-accent);
	border-radius: var(--mf-r-xl);
	box-shadow: var(--mf-shadow-md);
	border: 1px solid rgba(0, 0, 0, 0.06);
}

.mf-cta-band h2 {
	margin: 0 0 var(--mf-space-3);
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--mf-on-accent);
}

.mf-cta-band h2::after {
	display: none;
}

.mf-cta-band p {
	margin: 0 0 var(--mf-space-5);
	font-size: 0.9375rem;
	line-height: 1.5;
	color: rgba(20, 20, 20, 0.82);
	max-width: 36rem;
	margin-left: auto;
	margin-right: auto;
}

.mf-cta-band .mf-btn-primary {
	background: var(--mf-night);
	color: #fff !important;
	box-shadow: var(--mf-shadow-md);
	max-width: 16rem;
	margin-left: auto;
	margin-right: auto;
}

.mf-cta-band .mf-btn-primary:hover {
	background: #0a0d11;
	color: #fff !important;
}

/* ——— Pied ——— */
.mf-footer {
	padding: var(--mf-space-8) var(--mf-gutter) calc(var(--mf-space-10) + var(--mf-dock-h));
	font-size: 0.8125rem;
	line-height: 1.55;
	color: #94a3b8;
	background: var(--mf-night);
	text-align: center;
}

.mf-footer p {
	margin: 0 0 var(--mf-space-3);
	max-width: 40rem;
	margin-left: auto;
	margin-right: auto;
}

.mf-footer p:last-child {
	margin-bottom: 0;
}

.mf-footer a {
	color: #e2e8f0;
	text-decoration: none;
}

.mf-footer a:hover {
	color: var(--mf-accent);
	text-decoration: underline;
}

.mf-footer strong {
	color: #fff;
}

/* ——— WhatsApp flottant ——— */
@keyframes mf-wa-pulse {
	0%,
	100% {
		box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
	}
	50% {
		box-shadow: 0 6px 28px rgba(34, 197, 94, 0.55);
	}
}

.mf-wa-float {
	position: fixed;
	right: max(var(--mf-space-3), env(safe-area-inset-right));
	bottom: calc(var(--mf-dock-h) + var(--mf-space-4) + env(safe-area-inset-bottom, 0px));
	z-index: 2100;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--mf-space-2);
	min-height: 3rem;
	padding: 0 var(--mf-space-4) 0 var(--mf-space-3);
	border-radius: 999px;
	background: var(--mf-wa);
	color: #fff !important;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.6875rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border: 2px solid rgba(255, 255, 255, 0.2);
	animation: mf-wa-pulse 2.5s ease-in-out infinite;
}

.mf-wa-float:hover,
.mf-wa-float:active {
	background: var(--mf-wa-hover);
	color: #fff !important;
}

.mf-wa-float__icon {
	flex-shrink: 0;
	display: block;
}

@media (prefers-reduced-motion: reduce) {
	.mf-wa-float {
		animation: none;
	}
}

/* ——— Dock mobile ——— */
.mf-dock {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2000;
	display: flex;
	align-items: stretch;
	justify-content: space-around;
	min-height: var(--mf-dock-h);
	padding: var(--mf-space-2) var(--mf-space-2) calc(var(--mf-space-2) + env(safe-area-inset-bottom, 0px));
	background: rgba(18, 24, 32, 0.97);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-top: var(--mf-accent-bar) solid var(--mf-accent);
	box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
}

.mf-dock a {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	min-height: 3.25rem;
	padding: var(--mf-space-2);
	font-size: 0.625rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #cbd5e1 !important;
	text-decoration: none;
	border-radius: var(--mf-r-sm);
	transition: background 0.15s ease;
}

.mf-dock a:active {
	background: rgba(255, 255, 255, 0.06);
}

.mf-dock__ico {
	font-size: 1.2rem;
	line-height: 1;
}

.mf-dock a[href^="tel"] {
	color: var(--mf-accent) !important;
}

.mf-dock a[href="#devis"] {
	color: #fef3c7 !important;
}

.mf-dock a[href*="wa.me"] {
	color: #4ade80 !important;
}

/* ——— Dialog ——— */
.mf-dialog {
	max-width: 100%;
	width: min(100vw - 2rem, 26rem);
	border: none;
	border-radius: var(--mf-r-xl);
	padding: 0;
	margin: auto;
	box-shadow: var(--mf-shadow-lg);
}

.mf-dialog::backdrop {
	background: rgba(15, 20, 25, 0.55);
}

.mf-dialog__head {
	padding: var(--mf-space-4) var(--mf-space-4) var(--mf-space-3);
	border-bottom: 1px solid var(--mf-line);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--mf-space-3);
}

.mf-dialog__head h2 {
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 800;
}

.mf-dialog__close {
	min-width: var(--mf-touch);
	min-height: var(--mf-touch);
	border: none;
	background: transparent;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	border-radius: var(--mf-r-sm);
	color: var(--mf-ink-muted);
}

.mf-dialog__close:hover {
	background: var(--mf-bg);
	color: var(--mf-ink);
}

.mf-dialog__body {
	padding: var(--mf-space-4);
	max-height: min(72vh, 28rem);
	overflow-y: auto;
}

/* ═══════════════════════════════════════════════════════════
   Tablette ≥768
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
	:root {
		font-size: 106.25%;
		--mf-content: 40rem;
		--mf-gutter: 1.25rem;
	}

	body {
		padding-bottom: 0;
	}

	.mf-header,
	.mf-hero__body,
	.mf-section,
	.mf-footer,
	main > .mf-cta-band {
		width: min(100% - 2 * var(--mf-gutter), var(--mf-content));
		max-width: var(--mf-content);
		margin-left: auto;
		margin-right: auto;
	}

	.mf-header {
		padding: var(--mf-space-2) 0 0;
	}

	.mf-header__row {
		width: 100%;
		min-width: 0;
		padding-left: 0;
		padding-right: 0;
	}

	.mf-nav {
		position: static;
		display: flex !important;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		gap: var(--mf-space-1) var(--mf-space-3);
		flex: 1 0 100%;
		order: 3;
		max-height: none;
		overflow: visible;
		box-shadow: none;
		border: none;
		border-top: 1px solid var(--mf-line);
		margin-top: var(--mf-space-2);
		padding: var(--mf-space-3) 0 var(--mf-space-2);
		width: 100%;
		background: transparent;
	}

	.mf-nav a {
		display: inline-block;
		padding: var(--mf-space-2) var(--mf-space-3);
		font-size: 0.875rem;
	}

	.mf-nav a + a {
		margin-top: 0;
	}

	.mf-section,
	.mf-footer {
		padding-left: 0;
		padding-right: 0;
	}

	.mf-hero__inner {
		padding: var(--mf-space-6) var(--mf-space-6);
	}

	.mf-hero .mf-hero__img {
		max-height: min(48vh, 400px);
	}

	.mf-hero__cta {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.mf-hero__cta .mf-btn-primary,
	.mf-hero__cta .mf-btn-secondary,
	.mf-hero__cta .mf-btn-wa {
		width: auto;
		flex: 1 1 10rem;
	}

	.mf-section--tight {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		gap: var(--mf-space-3) var(--mf-space-4);
	}

	.mf-section--tight .mf-btn-primary,
	.mf-section--tight .mf-btn-secondary {
		width: auto;
		min-width: min(100%, 13rem);
		flex: 0 1 auto;
	}

	.mf-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mf-zone {
		display: grid;
		grid-template-columns: 1fr 1fr;
		align-items: center;
		gap: var(--mf-space-6);
	}

	.mf-zone .mf-media {
		margin-bottom: 0;
	}

	.mf-btn-icon {
		display: none;
	}

	.mf-dock {
		display: none;
	}

	.mf-wa-float {
		bottom: max(var(--mf-space-5), env(safe-area-inset-bottom, 0px));
	}

	.mf-footer {
		padding-bottom: var(--mf-space-10);
	}

	.mf-cta-band {
		margin-left: auto;
		margin-right: auto;
	}

	.mf-form__submit-wrap {
		position: static;
		background: transparent;
	}

	.mf-map {
		height: min(44vh, 360px);
		min-height: 260px;
	}
}

/* ═══════════════════════════════════════════════════════════
   Desktop ≥1024  — conteneur centré, tout aligné sur la même grille
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
	:root {
		--mf-page-edge: clamp(1.5rem, 4vw, 3rem);
		--mf-gutter: var(--mf-page-edge);
		--mf-container: 1200px;           /* largeur max du contenu */
		--mf-content: var(--mf-container);
		--mf-header-h: 4.25rem;
		--mf-section-y: clamp(3rem, 5vw, 4.5rem);
		font-size: 106%;
	}

	/* Alignement unifié : chaque bloc wrapper (row, grid) centré sur le conteneur */
	.mf-header__row,
	.mf-hero__body > .mf-hero__inner,
	.mf-footer__grid,
	.mf-footer__copy {
		width: 100%;
		max-width: var(--mf-container);
		margin-left: auto;
		margin-right: auto;
		box-sizing: border-box;
	}

	/* Header : pleine largeur visuelle, padding vertical géré ici (horizontal via rail) */
	.mf-header {
		width: 100%;
		max-width: none;
		margin: 0;
		padding-top: var(--mf-space-3);
		padding-bottom: var(--mf-space-3);
		background: rgba(255, 255, 255, 0.78);
		backdrop-filter: blur(20px) saturate(1.4);
		-webkit-backdrop-filter: blur(20px) saturate(1.4);
		border-bottom: 1px solid rgba(216, 221, 228, 0.85);
		box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 8px 28px rgba(15, 20, 25, 0.06);
	}

	.mf-header__row {
		display: grid;
		grid-template-columns: auto 1fr auto;
		grid-template-areas: "brand nav actions";
		align-items: center;
		gap: var(--mf-space-4) var(--mf-space-6);
		min-height: auto;
		padding: 0;
	}

	.mf-header__brand {
		grid-area: brand;
		justify-self: start;
	}

	.mf-header__brand img {
		height: 44px;
	}

	.mf-header__title {
		font-size: 1rem;
	}

	.mf-header__actions {
		grid-area: actions;
		justify-self: end;
		display: flex;
		align-items: center;
		gap: var(--mf-space-3);
	}

	.mf-nav {
		grid-area: nav;
		justify-self: center;
		align-self: center;
		position: static;
		display: inline-flex !important;
		flex-wrap: wrap;
		justify-content: center;
		flex: initial;
		order: 0;
		width: auto;
		max-width: 44rem;
		margin: 0;
		padding: 4px;
		gap: 2px;
		border: 1px solid var(--mf-line);
		border-radius: 999px;
		background: linear-gradient(180deg, #f6f8fb 0%, #e9eef4 100%);
		box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, 0.95),
			0 1px 2px rgba(15, 20, 25, 0.05);
		border-top: 1px solid var(--mf-line);
		margin-top: 0;
	}

	.mf-nav a {
		display: inline-flex;
		align-items: center;
		padding: 0.5rem 0.9rem;
		font-size: 0.84rem;
		font-weight: 600;
		color: var(--mf-ink-muted);
		border-radius: 999px;
		white-space: nowrap;
	}

	.mf-nav a:hover {
		background: #fff;
		color: var(--mf-ink);
		box-shadow: 0 2px 8px rgba(15, 20, 25, 0.08);
	}

	.mf-btn-call {
		min-height: 2.75rem;
		min-width: auto;
		padding: 0 1.15rem;
		background: var(--mf-gradient-night);
		color: #fff !important;
		border: 1px solid rgba(255, 255, 255, 0.12);
		box-shadow: 0 4px 16px rgba(18, 24, 32, 0.28);
	}

	.mf-btn-call:hover {
		background: #1e2633;
		color: #fff !important;
	}

	.mf-btn-call__label { display: none; }

	.mf-btn-call__num {
		display: inline;
		font-size: 0.85rem;
		font-variant-numeric: tabular-nums;
		letter-spacing: 0.03em;
		font-weight: 700;
	}

	/* Hero : vraie grille 2 colonnes (texte à gauche, illustration à droite) */
	.mf-hero {
		position: relative;
		min-height: min(86vh, 720px);
		display: flex;
		align-items: stretch;
		overflow: hidden;
		background:
			radial-gradient(1200px 600px at 85% 30%, rgba(240, 180, 41, 0.22), transparent 70%),
			linear-gradient(110deg, #0b1020 0%, #141e33 45%, #1e2a47 100%);
	}

	.mf-hero::before { display: none; }

	.mf-hero__img {
		position: absolute;
		right: calc((100vw - var(--mf-container)) / 2 - 2rem);
		top: 50%;
		transform: translateY(-50%);
		left: auto;
		bottom: auto;
		inset: auto;
		width: clamp(420px, 50vw, 640px);
		height: auto;
		max-height: 520px;
		aspect-ratio: 3 / 2;
		opacity: 1;
		filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
		border-radius: 20px;
		object-fit: contain;
	}

	.mf-hero__body {
		position: relative;
		z-index: 2;
		width: 100%;
		max-width: var(--mf-container);
		margin: 0 auto;
		padding: var(--mf-space-10) var(--mf-page-edge);
		display: flex;
		align-items: center;
		justify-content: flex-start;
	}

	.mf-hero__body > .mf-hero__inner {
		max-width: 580px;
		margin-left: 0;
		margin-right: auto;
		padding: var(--mf-space-8) 0;
		background: transparent;
		box-shadow: none;
		border: none;
	}

	.mf-hero h1,
	.mf-hero__eyebrow,
	.mf-hero__tag,
	.mf-hero__trust,
	.mf-tel-inline {
		color: #f8fafc;
	}

	.mf-hero__tag { color: #cbd5e1; }
	.mf-hero__trust li { color: #e2e8f0; }
	.mf-tel-inline a { color: #f0b429; }

	/* Les sections : padding vertical géré ici, l'horizontal est unifié plus bas */
	.mf-section {
		padding-top: var(--mf-section-y);
		padding-bottom: var(--mf-section-y);
	}

	/* Titres + lead desktop */
	.mf-h2 {
		font-size: clamp(1.8rem, 2vw + 1rem, 2.4rem);
	}

	.mf-lead {
		font-size: 1.05rem;
		max-width: 72ch;
	}

	/* Cartes spécialités : 4 colonnes dès 1024 pour meilleure densité */
	#specialites .mf-cards {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: var(--mf-space-5);
	}

	/* Grilles de choix */
	#compat .mf-choices {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		max-width: 52rem;
	}

	#assistant .mf-choices {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		max-width: 44rem;
	}

	/* Étapes 3 colonnes */
	.mf-steps {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: var(--mf-space-5);
	}

	.mf-step {
		grid-template-columns: 2.75rem 1fr;
		min-height: 100%;
		padding: var(--mf-space-5);
	}

	/* Zone : 2 colonnes alignées, carte pleine largeur en dessous */
	.mf-zone {
		display: grid;
		grid-template-columns: 1.1fr 1fr;
		gap: var(--mf-space-8);
		align-items: center;
	}

	.mf-zone__text {
		gap: var(--mf-space-5);
	}

	.mf-map-block {
		margin-top: var(--mf-space-8);
	}

	.mf-map {
		height: min(50vh, 440px);
		min-height: 320px;
	}

	/* Media/figure : la largeur est gérée par la couche DESKTOP POLISH v3 */

	/* FAQ : 2 colonnes sur desktop */
	#faq {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		grid-template-areas:
			"eyebrow eyebrow"
			"title   title"
			"d1      d2"
			"d3      d4"
			"d5      d5";
		column-gap: var(--mf-space-4);
		row-gap: var(--mf-space-3);
	}

	#faq .mf-eyebrow { grid-area: eyebrow; }
	#faq .mf-h2 { grid-area: title; }
	#faq .mf-details:nth-of-type(1) { grid-area: d1; }
	#faq .mf-details:nth-of-type(2) { grid-area: d2; }
	#faq .mf-details:nth-of-type(3) { grid-area: d3; }
	#faq .mf-details:nth-of-type(4) { grid-area: d4; }
	#faq .mf-details:nth-of-type(5) { grid-area: d5; }
	#faq .mf-details { margin-bottom: 0; }

	/* Section tight (deux boutons de diagnostic) : centrés */
	.mf-section--tight {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		gap: var(--mf-space-4);
	}

	.mf-section--tight .mf-btn-primary,
	.mf-section--tight .mf-btn-secondary {
		width: auto;
		min-width: 18rem;
		flex: 0 0 auto;
	}

	/* Bandeau CTA : styles verticaux seulement, l'horizontal est géré plus bas */
	main > .mf-cta-band {
		margin-top: var(--mf-section-y);
		margin-bottom: var(--mf-section-y);
	}

	/* Dialog */
	.mf-dialog {
		width: min(100vw - 2rem, 32rem);
	}

	/* Formulaire de devis : largeur confortable lisible */
	#devis .mf-form {
		max-width: 44rem;
		margin-left: auto;
		margin-right: auto;
	}

	/* Hero CTA : boutons dimensionnés (pas stretch) */
	.mf-hero__cta {
		flex-direction: row;
		flex-wrap: wrap;
		gap: var(--mf-space-3);
	}

	.mf-hero__cta .mf-btn-primary,
	.mf-hero__cta .mf-btn-secondary,
	.mf-hero__cta .mf-btn-wa {
		width: auto;
		flex: 0 1 auto;
		min-width: 12rem;
	}

	/* Footer : vertical seulement */
	.mf-footer {
		width: 100%;
		max-width: none;
		margin: 0;
		padding-top: var(--mf-space-10);
		padding-bottom: var(--mf-space-10);
	}

	.mf-footer__grid {
		grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
		gap: var(--mf-space-8);
		margin-bottom: var(--mf-space-8);
	}

	/* Keyfacts : plus respirant */
	.mf-keyfacts {
		max-width: 48rem;
		margin-top: var(--mf-space-6);
	}
	.mf-keyfacts div { padding: var(--mf-space-5) var(--mf-space-4); }
	.mf-keyfacts dt { font-size: 2rem; }

	/* Boutons : plus de flex-grow sur desktop — boutons dimensionnés */
	.mf-btn-primary,
	.mf-btn-secondary,
	.mf-btn-wa {
		width: auto;
	}
}

/* ═══════════════════════════════════════════════════════════
   Large ≥1280
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 1280px) {
	:root {
		--mf-container: 1240px;
	}

	.mf-nav {
		max-width: 46rem;
	}

	.mf-hero__body > .mf-hero__inner {
		max-width: 680px;
	}

	.mf-hero h1 {
		font-size: clamp(2.2rem, 3vw + 0.6rem, 3.4rem);
	}
}

@media (min-width: 1440px) {
	:root {
		--mf-container: 1280px;
		--mf-page-edge: clamp(2rem, 5vw, 4.5rem);
	}
}

@media (min-width: 1024px) and (hover: hover) {
	.mf-card:hover {
		box-shadow: var(--mf-shadow-md);
		border-color: var(--mf-line-strong);
	}

	.mf-card--media:hover .mf-card__visual img {
		transform: scale(1.04);
	}

	.mf-card--media .mf-card__visual img {
		transition: transform 0.35s ease;
	}
}

@media (min-width: 1024px) and (prefers-reduced-motion: reduce) {
	.mf-card--media .mf-card__visual img {
		transition: none;
	}

	.mf-card--media:hover .mf-card__visual img {
		transform: none;
	}
}

/* ═══════════════════════════════════════════════════════════
   PREMIUM LAYER 2026 — visuel moderne, glass, micro-anim
   ═══════════════════════════════════════════════════════════ */

/* Fond global plus riche avec grain subtil */
body {
	background:
		radial-gradient(1200px 600px at 8% -8%, rgba(240, 180, 41, 0.08), transparent 60%),
		radial-gradient(900px 500px at 110% 10%, rgba(45, 74, 111, 0.07), transparent 60%),
		var(--mf-bg);
	background-attachment: fixed;
}

/* Sélection */
::selection {
	background: var(--mf-accent);
	color: var(--mf-on-accent);
}

/* Scrollbar discrète (webkit + firefox) */
html {
	scrollbar-width: thin;
	scrollbar-color: var(--mf-line-strong) transparent;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
	background: var(--mf-line-strong);
	border-radius: 999px;
	border: 2px solid var(--mf-bg);
}
::-webkit-scrollbar-thumb:hover { background: var(--mf-ink-muted); }

/* Eyebrow — mini kicker au-dessus des H2 */
.mf-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.6rem;
	padding: 0.3rem 0.7rem;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--mf-accent-strong);
	background: linear-gradient(135deg, rgba(240, 180, 41, 0.15), rgba(240, 180, 41, 0.06));
	border: 1px solid rgba(240, 180, 41, 0.35);
	border-radius: 999px;
	backdrop-filter: blur(6px);
}

.mf-eyebrow::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--mf-accent);
	box-shadow: 0 0 10px var(--mf-accent-glow);
}

.mf-eyebrow--light {
	color: #fde8a8;
	background: rgba(240, 180, 41, 0.12);
	border-color: rgba(240, 180, 41, 0.35);
}

/* H2 : typographie display renforcée */
.mf-h2 {
	font-family: var(--mf-font-display);
	font-size: clamp(1.45rem, 3vw + 0.6rem, 2.1rem);
	letter-spacing: -0.03em;
	line-height: 1.15;
}

.mf-h2::after {
	height: 4px;
	width: 3rem;
	background: var(--mf-gradient-accent);
	border-radius: 4px;
	box-shadow: var(--mf-shadow-glow);
}

/* Hero : upgrade complet */
.mf-hero {
	overflow: hidden;
	isolation: isolate;
	background:
		radial-gradient(circle at 20% 20%, rgba(240, 180, 41, 0.15), transparent 50%),
		var(--mf-gradient-night);
}

.mf-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		radial-gradient(600px 300px at 85% 18%, rgba(240, 180, 41, 0.2), transparent 70%),
		var(--mf-gradient-hero);
	pointer-events: none;
}

.mf-hero__img {
	opacity: 0.55;
	transform: scale(1.04);
	transition: transform 12s ease-out;
	filter: saturate(1.05) contrast(1.05);
}

.mf-hero:hover .mf-hero__img { transform: scale(1); }

.mf-hero__body {
	position: relative;
	z-index: 2;
}

.mf-hero__inner {
	background: linear-gradient(135deg, rgba(26, 34, 45, 0.86) 0%, rgba(14, 20, 28, 0.94) 100%);
	backdrop-filter: blur(22px) saturate(1.25);
	-webkit-backdrop-filter: blur(22px) saturate(1.25);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-left: 4px solid transparent;
	border-image: var(--mf-gradient-accent) 1;
	box-shadow: var(--mf-shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.08);
	position: relative;
	overflow: hidden;
}

.mf-hero__inner::before {
	content: "";
	position: absolute;
	top: -50%;
	right: -30%;
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, rgba(240, 180, 41, 0.18), transparent 70%);
	pointer-events: none;
	animation: mf-float 12s ease-in-out infinite;
}

@keyframes mf-float {
	0%, 100% { transform: translate(0, 0) scale(1); }
	50% { transform: translate(-20px, 30px) scale(1.08); }
}

.mf-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1rem;
	padding: 0.35rem 0.9rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mf-accent);
	background: rgba(240, 180, 41, 0.12);
	border: 1px solid rgba(240, 180, 41, 0.35);
	border-radius: 999px;
}

.mf-pulse {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #22c55e;
	box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
	animation: mf-pulse-ring 1.8s infinite;
}

@keyframes mf-pulse-ring {
	0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
	70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
	100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.mf-hero h1 {
	font-family: var(--mf-font-display);
	font-size: clamp(1.7rem, 5vw + 0.5rem, 3.1rem);
	letter-spacing: -0.035em;
	line-height: 1.1;
	margin-bottom: 1rem;
}

.mf-hero__highlight {
	display: inline-block;
	background: var(--mf-gradient-accent);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	padding-bottom: 0.05em;
}

.mf-hero__trust {
	list-style: none;
	margin: 1.25rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
}

.mf-hero__trust li {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: rgba(241, 245, 249, 0.85);
	padding: 0.3rem 0.7rem;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 999px;
}

.mf-hero__trust li span { font-size: 1rem; }

/* Boutons premium — effet de lumière au survol */
.mf-btn-primary,
.mf-btn-secondary,
.mf-btn-wa {
	position: relative;
	overflow: hidden;
	letter-spacing: 0.01em;
	transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease;
}

.mf-btn-primary {
	background: var(--mf-gradient-accent);
	box-shadow: 0 8px 20px -6px var(--mf-accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
	font-weight: 700;
}

.mf-btn-primary::before,
.mf-btn-wa::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 80%;
	height: 100%;
	background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
	transition: left 0.7s ease;
}

.mf-btn-primary:hover::before,
.mf-btn-wa:hover::before {
	left: 130%;
}

.mf-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 32px -8px var(--mf-accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.mf-btn-primary:active {
	transform: translateY(0);
}

.mf-btn__ico {
	margin-right: 0.4rem;
	flex-shrink: 0;
}

.mf-btn-wa {
	background: linear-gradient(135deg, #25d366 0%, #22c55e 55%, #16a34a 100%);
	box-shadow: 0 8px 20px -6px rgba(34, 197, 94, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.mf-btn-wa:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 32px -8px rgba(34, 197, 94, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.mf-btn-secondary {
	background: rgba(255, 255, 255, 0.04);
	backdrop-filter: blur(8px);
	border: 1.5px solid rgba(240, 180, 41, 0.5);
	transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.mf-btn-secondary:hover {
	background: rgba(240, 180, 41, 0.12);
	border-color: var(--mf-accent);
	transform: translateY(-2px);
}

/* Cards premium — hover lift + overlay */
.mf-card {
	position: relative;
	background: var(--mf-gradient-surface);
	border: 1px solid var(--mf-line);
	border-left: 4px solid transparent;
	border-image: var(--mf-gradient-accent) 1;
	transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.2s;
}

.mf-card::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(135deg, rgba(240, 180, 41, 0.35), transparent 60%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	opacity: 0;
	transition: opacity 0.3s;
	pointer-events: none;
}

@media (hover: hover) {
	.mf-card:hover {
		transform: translateY(-4px);
		box-shadow: var(--mf-shadow-md);
	}
	.mf-card:hover::after { opacity: 1; }
}

.mf-card--media {
	overflow: hidden;
	border-image: none;
	border-left: 1px solid var(--mf-line);
}

.mf-card--media .mf-card__visual {
	position: relative;
}

.mf-card--media .mf-card__visual::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(14, 20, 28, 0.25));
	pointer-events: none;
}

.mf-card--media .mf-card__body {
	background: var(--mf-gradient-surface);
	border-top: 3px solid transparent;
	border-image: var(--mf-gradient-accent) 1;
	position: relative;
}

.mf-card--media h3 {
	font-family: var(--mf-font-display);
	letter-spacing: -0.02em;
}

/* Keyfacts — bandeau chiffres */
.mf-keyfacts {
	margin: 1.5rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.6rem;
}

.mf-keyfacts div {
	padding: 0.9rem 0.6rem;
	background: var(--mf-surface);
	border: 1px solid var(--mf-line);
	border-radius: var(--mf-r-md);
	text-align: center;
	box-shadow: var(--mf-shadow-xs);
	transition: transform 0.2s, box-shadow 0.2s;
}

.mf-keyfacts div:hover {
	transform: translateY(-2px);
	box-shadow: var(--mf-shadow);
}

.mf-keyfacts dt {
	font-family: var(--mf-font-display);
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	background: var(--mf-gradient-accent);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	line-height: 1;
}

.mf-keyfacts dd {
	margin: 0.35rem 0 0;
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--mf-ink-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

/* Étapes — numéros plus premium */
.mf-step {
	position: relative;
	background: var(--mf-gradient-surface);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mf-step::before {
	background: var(--mf-gradient-accent);
	box-shadow: 0 6px 18px -4px var(--mf-accent-glow);
	font-family: var(--mf-font-display);
	font-size: 1.1rem;
}

@media (hover: hover) {
	.mf-step:hover {
		transform: translateY(-3px);
		box-shadow: var(--mf-shadow-md);
	}
}

/* Media / figures — cadre premium avec shimmer léger */
.mf-media {
	border: 1px solid var(--mf-line);
	border-left: 4px solid transparent;
	border-image: var(--mf-gradient-accent) 1;
	position: relative;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mf-media__img {
	transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (hover: hover) {
	.mf-media:hover {
		box-shadow: var(--mf-shadow-md);
	}
	.mf-media:hover .mf-media__img {
		transform: scale(1.03);
	}
}

/* Choix — interaction plus fluide */
.mf-choice {
	background: var(--mf-surface);
	border: 1.5px solid var(--mf-line);
	transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
	position: relative;
	overflow: hidden;
}

.mf-choice::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--mf-gradient-accent);
	opacity: 0;
	transition: opacity 0.2s;
	z-index: -1;
}

.mf-choice:hover {
	border-color: var(--mf-accent);
	background: linear-gradient(135deg, rgba(240, 180, 41, 0.06), rgba(240, 180, 41, 0.02));
	transform: translateY(-1px);
	box-shadow: var(--mf-shadow-xs);
}

.mf-choice.is-on {
	border-color: var(--mf-accent-strong);
	background: var(--mf-gradient-accent);
	color: var(--mf-on-accent);
	box-shadow: var(--mf-shadow-glow);
}

/* FAQ — glass subtil et rotation icône */
.mf-details {
	background: var(--mf-gradient-surface);
	transition: box-shadow 0.2s, border-color 0.2s;
}

.mf-details:hover {
	box-shadow: var(--mf-shadow);
	border-color: var(--mf-line-strong);
}

.mf-details[open] {
	border-color: var(--mf-accent);
	box-shadow: var(--mf-shadow-glow);
}

.mf-details summary::after {
	transition: transform 0.3s ease, color 0.2s;
	font-weight: 300;
	font-size: 1.4rem;
}

.mf-details[open] summary {
	color: var(--mf-accent-strong);
}

.mf-details[open] summary::after {
	color: var(--mf-accent-strong);
	transform: rotate(180deg);
}

/* Forms — inputs modernes */
.mf-form input,
.mf-form select,
.mf-form textarea {
	background: var(--mf-surface);
	border: 1.5px solid var(--mf-line);
	transition: all 0.2s ease;
	font-weight: 500;
}

.mf-form input:focus,
.mf-form select:focus,
.mf-form textarea:focus {
	border-color: var(--mf-accent);
	box-shadow: var(--mf-ring);
	background: var(--mf-surface);
}

.mf-form label {
	letter-spacing: 0.01em;
}

/* CTA band — dégradé plus riche + motif */
.mf-cta-band {
	background: var(--mf-gradient-accent);
	position: relative;
	overflow: hidden;
	border: none;
	box-shadow: var(--mf-shadow-lg);
}

.mf-cta-band::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.25), transparent 50%),
		radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.08), transparent 50%);
	pointer-events: none;
}

.mf-cta-band > * { position: relative; z-index: 1; }

.mf-cta-band h2 {
	font-family: var(--mf-font-display);
	font-size: clamp(1.4rem, 3vw + 0.5rem, 2rem);
	letter-spacing: -0.025em;
}

.mf-cta-band h2::after { display: none; }

/* Quotes — glass dark */
.mf-quote {
	background: rgba(255, 255, 255, 0.04);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-left: 4px solid transparent;
	border-image: var(--mf-gradient-accent) 1;
	position: relative;
	transition: transform 0.25s ease, background 0.25s;
	font-size: 0.95rem;
	line-height: 1.6;
}

.mf-quote::before {
	content: "\201C";
	position: absolute;
	top: 0.4rem;
	left: 1.2rem;
	font-family: Georgia, serif;
	font-size: 3.5rem;
	line-height: 1;
	color: var(--mf-accent);
	opacity: 0.35;
	pointer-events: none;
}

@media (hover: hover) {
	.mf-quote:hover {
		transform: translateY(-3px);
		background: rgba(255, 255, 255, 0.06);
	}
}

.mf-tag {
	background: rgba(240, 180, 41, 0.18);
	color: var(--mf-accent);
	border: 1px solid rgba(240, 180, 41, 0.3);
}

/* Dock mobile — lueur sur le dessus */
.mf-dock {
	background: linear-gradient(180deg, rgba(14, 20, 28, 0.92) 0%, rgba(14, 20, 28, 0.98) 100%);
	border-top: none;
	box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.mf-dock::before {
	content: "";
	position: absolute;
	top: 0;
	left: 10%;
	right: 10%;
	height: 3px;
	background: var(--mf-gradient-accent);
	border-radius: 0 0 4px 4px;
	box-shadow: 0 0 16px var(--mf-accent-glow);
}

/* WhatsApp float — plus premium */
.mf-wa-float {
	background: linear-gradient(135deg, #25d366 0%, #22c55e 55%, #128c7e 100%);
	box-shadow: 0 8px 28px rgba(34, 197, 94, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Zones list — pastilles style chip */
.mf-zones-list li {
	background: var(--mf-surface);
	border: 1px solid var(--mf-line);
	transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.mf-zones-list li:hover {
	transform: translateY(-2px);
	border-color: var(--mf-accent);
	box-shadow: var(--mf-shadow-xs);
}

.mf-zones-list__code {
	background: var(--mf-gradient-accent);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-weight: 800;
}

/* Footer — refonte grille */
.mf-footer {
	background: var(--mf-gradient-night);
	position: relative;
	text-align: left;
	padding-top: 3rem;
}

.mf-footer::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--mf-gradient-accent);
	box-shadow: 0 0 16px var(--mf-accent-glow);
}

.mf-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	margin: 0 auto 2rem;
	max-width: 72rem;
}

.mf-footer__brand strong {
	font-family: var(--mf-font-display);
	font-size: 1.15rem;
	letter-spacing: -0.01em;
}

.mf-footer__brand span {
	font-size: 0.8rem;
	color: var(--mf-ink-soft);
}

.mf-footer__desc {
	font-size: 0.85rem;
	color: #94a3b8;
	line-height: 1.6;
	max-width: 22rem;
}

.mf-footer__h {
	margin: 0 0 0.6rem;
	font-family: var(--mf-font-display);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--mf-accent);
}

.mf-footer__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.mf-footer__list a {
	font-size: 0.87rem;
	transition: color 0.15s, transform 0.15s;
	display: inline-flex;
	align-items: center;
}

.mf-footer__list a:hover {
	color: var(--mf-accent);
	transform: translateX(3px);
	text-decoration: none;
}

.mf-footer__zones {
	font-size: 0.82rem;
	color: #94a3b8;
	line-height: 1.7;
	margin: 0;
}

.mf-footer__copy {
	margin: 0;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 0.75rem;
	color: var(--mf-ink-soft);
	text-align: center;
}

@media (min-width: 768px) {
	.mf-footer__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 2.5rem 2rem;
	}
}

@media (min-width: 1024px) {
	.mf-footer__grid {
		grid-template-columns: 1.3fr 1fr 1fr 1fr;
	}
}

/* Animation fade-in à l’arrivée (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
	.mf-section > .mf-h2,
	.mf-section > .mf-eyebrow,
	.mf-section > .mf-lead,
	.mf-cards > *,
	.mf-steps > *,
	.mf-zones-list > li {
		animation: mf-rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
	}

	.mf-cards > *:nth-child(2) { animation-delay: 0.08s; }
	.mf-cards > *:nth-child(3) { animation-delay: 0.16s; }
	.mf-cards > *:nth-child(4) { animation-delay: 0.24s; }
	.mf-steps > *:nth-child(2) { animation-delay: 0.08s; }
	.mf-steps > *:nth-child(3) { animation-delay: 0.16s; }
}

@keyframes mf-rise {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Focus visible premium — bague plus douce */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(240, 180, 41, 0.35), 0 0 0 1px var(--mf-accent-strong);
	border-radius: var(--mf-r-sm);
	transition: box-shadow 0.15s;
}

/* Header desktop — micro-interactions nav */
@media (min-width: 1024px) {
	.mf-nav a {
		transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
	}

	.mf-btn-call:hover {
		transform: translateY(-1px);
		box-shadow: 0 10px 24px rgba(18, 24, 32, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.15);
	}
}

/* Dark-mode auto-apply retiré : on garde la charte claire premium en permanence,
   quelle que soit la préférence système, pour une identité visuelle cohérente. */

/* ═══════════════════════════════════════════════════════════
   DESKTOP POLISH v4 FINAL — landing premium B2B, rail unifié
   --------------------------------------------------------------
   • Full-bleed sections, padding horizontal "rail"
   • Container 1200 → 1280px, même colonne visuelle partout
   • HERO vrai 2 colonnes, image hero plus grande
   • 4 cartes hauteur identique
   • ZONE : texte + image + carte alignés, carte large
   • FAQ/Avis/CTA/Form : paddings et largeurs uniformes
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
	:root {
		--mf-container: 1200px;
		--mf-page-edge: clamp(2rem, 4vw, 3.5rem);
		--mf-section-y: clamp(4.5rem, 6vw, 6.5rem);
		--mf-rail: max(var(--mf-page-edge), calc((100vw - var(--mf-container)) / 2));
	}

	/* ─── FULL-BLEED RAIL : tous les blocs de 1er niveau ─────── */
	main > section,
	main > .mf-cta-band,
	.mf-header,
	.mf-footer {
		width: 100%;
		max-width: none;
		margin-left: 0;
		margin-right: 0;
		padding-left: var(--mf-rail);
		padding-right: var(--mf-rail);
		box-sizing: border-box;
	}

	/* Grilles internes sans max-width propre : héritent du rail */
	.mf-header__row,
	.mf-footer__grid,
	.mf-footer__copy {
		max-width: none;
		margin-left: 0;
		margin-right: 0;
		padding-left: 0;
		padding-right: 0;
	}

	/* ─── HERO : vraie grille 2 colonnes, image plus grande ─── */
	.mf-hero {
		padding: 0;
		width: 100%;
		max-width: none;
		min-height: min(88vh, 760px);
		background:
			radial-gradient(1200px 600px at 85% 30%, rgba(240, 180, 41, 0.22), transparent 70%),
			linear-gradient(110deg, #0b1020 0%, #141e33 45%, #1e2a47 100%);
	}

	.mf-hero__body {
		padding-top: clamp(4.5rem, 8vw, 7.5rem);
		padding-bottom: clamp(4.5rem, 8vw, 7.5rem);
		padding-left: var(--mf-rail);
		padding-right: var(--mf-rail);
		max-width: none;
		margin: 0;
		display: flex;
		align-items: center;
		min-height: inherit;
	}

	.mf-hero__body > .mf-hero__inner {
		max-width: 560px;
		margin-left: 0;
		margin-right: auto;
		padding: 0;
		background: transparent;
		box-shadow: none;
		border: none;
	}

	.mf-hero__img {
		position: absolute;
		right: var(--mf-rail);
		top: 50%;
		transform: translateY(-50%);
		width: min(52vw, 640px);
		height: auto;
		max-height: 540px;
		aspect-ratio: 16 / 10;
		opacity: 1;
		box-shadow:
			0 30px 60px -15px rgba(0, 0, 0, 0.6),
			0 10px 25px -5px rgba(0, 0, 0, 0.35);
		border-radius: 22px;
		object-fit: cover;
		border: 2px solid rgba(255, 255, 255, 0.12);
		filter: none;
	}

	.mf-hero__cta { margin-top: 1.75rem; }

	/* ─── TITRAGE uniforme en haut de chaque section ─────────── */
	.mf-section > .mf-eyebrow { margin-bottom: 0.5rem; }
	.mf-section > .mf-h2 { margin-top: 0; margin-bottom: 0.9rem; }
	.mf-section > .mf-lead { margin-top: 0; margin-bottom: 2.5rem; }

	/* ─── QUI SOMMES-NOUS : media centrée + keyfacts respirants */
	#intro > .mf-media {
		max-width: 860px;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: var(--mf-space-7);
	}

	#intro .mf-lead--flush {
		max-width: 72ch;
		margin-left: auto;
		margin-right: auto;
		text-align: left;
	}

	#intro .mf-keyfacts {
		max-width: 58rem;
		margin-left: auto;
		margin-right: auto;
		margin-top: var(--mf-space-7);
	}

	/* ─── CARTES SPÉCIALITÉS : 4 cartes, hauteurs égales ────── */
	#specialites .mf-cards {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: clamp(1.25rem, 1.8vw, 1.75rem);
		align-items: stretch;
	}

	.mf-card {
		display: flex;
		flex-direction: column;
		height: 100%;
	}

	.mf-card--media .mf-card__visual {
		aspect-ratio: 3 / 2;
		overflow: hidden;
		background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
	}

	.mf-card--media .mf-card__visual img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		display: block;
	}

	.mf-card--media .mf-card__body {
		flex: 1;
		display: flex;
		flex-direction: column;
		gap: 0.5rem;
	}

	/* ─── MEDIA / figures centrées ──────────────────────────── */
	.mf-section > .mf-media {
		max-width: 880px;
		margin-left: auto;
		margin-right: auto;
	}

	.mf-media__img {
		aspect-ratio: 3 / 2;
		object-fit: cover;
		width: 100%;
		height: auto;
		border-radius: 18px;
	}

	/* ─── COMPATIBILITÉ : centré, largeur utile ─────────────── */
	#compat > .mf-eyebrow,
	#compat > .mf-h2,
	#compat > .mf-lead {
		text-align: center;
	}

	#compat > .mf-h2::after {
		margin-left: auto;
		margin-right: auto;
	}

	#compat > .mf-lead {
		max-width: 60ch;
		margin-left: auto;
		margin-right: auto;
	}

	#compat > .mf-media {
		max-width: 840px;
	}

	#compat .mf-choices {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: var(--mf-space-3);
		max-width: 56rem;
		margin-left: auto;
		margin-right: auto;
	}

	/* ─── ASSISTANT (diagnostic) centré ─────────────────────── */
	#assistant > .mf-eyebrow,
	#assistant > .mf-h2,
	#assistant > .mf-lead {
		text-align: center;
	}

	#assistant > .mf-h2::after {
		margin-left: auto;
		margin-right: auto;
	}

	#assistant > .mf-lead {
		max-width: 60ch;
		margin-left: auto;
		margin-right: auto;
	}

	#assistant .mf-choices {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: var(--mf-space-3);
		max-width: 44rem;
		margin-left: auto;
		margin-right: auto;
	}

	/* ─── COMMENT ÇA MARCHE : image large + 3 étapes égales ── */
	#etapes > .mf-media {
		max-width: 900px;
		margin-bottom: var(--mf-space-7);
	}

	.mf-steps {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: clamp(1.25rem, 1.8vw, 1.75rem);
		align-items: stretch;
	}

	.mf-step {
		height: 100%;
		padding: var(--mf-space-5);
		display: grid;
		grid-template-columns: 2.75rem 1fr;
		gap: var(--mf-space-3);
		align-items: start;
	}

	/* ─── ZONE : texte + image côte à côte, carte pleine largeur */
	.mf-zone {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
		gap: clamp(2rem, 4vw, 4rem);
		align-items: center;
		margin-bottom: var(--mf-space-8);
	}

	.mf-zone .mf-media {
		max-width: none;
		margin: 0;
	}

	.mf-zone .mf-media__img {
		aspect-ratio: 16 / 10;
		border-radius: 20px;
	}

	.mf-zone__text {
		display: flex;
		flex-direction: column;
		gap: var(--mf-space-5);
	}

	.mf-zone__text .mf-lead {
		max-width: 56ch;
		font-size: 1.05rem;
		margin-bottom: 0;
	}

	.mf-map-block {
		width: 100%;
		max-width: none;
		margin-top: var(--mf-space-7);
	}

	.mf-map {
		height: min(52vh, 480px);
		min-height: 360px;
		border-radius: 20px;
		overflow: hidden;
	}

	.mf-zones-list {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: var(--mf-space-2);
		margin-top: var(--mf-space-5);
	}

	/* ─── AVIS : 2 quotes côte à côte, hauteurs égales ──────── */
	#avis .mf-cards {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--mf-space-5);
		align-items: stretch;
	}

	#avis .mf-quote {
		height: 100%;
		display: flex;
		flex-direction: column;
		gap: var(--mf-space-3);
	}

	/* ─── FAQ : 2 colonnes équilibrées ──────────────────────── */
	#faq {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		column-gap: var(--mf-space-5);
		row-gap: var(--mf-space-3);
		grid-template-areas:
			"eyebrow eyebrow"
			"title   title"
			"d1      d2"
			"d3      d4"
			"d5      d5";
	}

	#faq .mf-eyebrow { grid-area: eyebrow; }
	#faq .mf-h2 { grid-area: title; margin-bottom: var(--mf-space-5); }
	#faq .mf-details:nth-of-type(1) { grid-area: d1; margin: 0; }
	#faq .mf-details:nth-of-type(2) { grid-area: d2; margin: 0; }
	#faq .mf-details:nth-of-type(3) { grid-area: d3; margin: 0; }
	#faq .mf-details:nth-of-type(4) { grid-area: d4; margin: 0; }
	#faq .mf-details:nth-of-type(5) { grid-area: d5; margin: 0; }

	/* ─── BANDEAU CTA premium pleine largeur ────────────────── */
	main > .mf-cta-band {
		padding-top: clamp(3rem, 5vw, 4.75rem);
		padding-bottom: clamp(3rem, 5vw, 4.75rem);
		text-align: center;
		background:
			radial-gradient(600px 300px at 50% 0%, rgba(240, 180, 41, 0.25), transparent 70%),
			linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
		color: #fff;
		margin-top: var(--mf-section-y);
		margin-bottom: var(--mf-section-y);
	}

	main > .mf-cta-band h2 {
		color: #fff;
		font-size: clamp(1.8rem, 2.5vw, 2.4rem);
		margin-bottom: var(--mf-space-3);
	}

	main > .mf-cta-band p {
		color: #cbd5e1;
		font-size: 1.05rem;
		max-width: 52ch;
		margin-left: auto;
		margin-right: auto;
	}

	/* ─── DEVIS : formulaire premium centré ─────────────────── */
	#devis > .mf-eyebrow,
	#devis > .mf-h2,
	#devis > .mf-lead {
		text-align: center;
	}

	#devis > .mf-h2::after {
		margin-left: auto;
		margin-right: auto;
	}

	#devis > .mf-lead {
		max-width: 60ch;
		margin-left: auto;
		margin-right: auto;
	}

	#devis > .mf-media {
		max-width: 760px;
	}

	#devis .mf-form {
		max-width: 44rem;
		margin-left: auto;
		margin-right: auto;
		padding: clamp(1.5rem, 2.5vw, 2.5rem);
		background: var(--mf-surface);
		border: 1px solid var(--mf-line);
		border-radius: 20px;
		box-shadow: var(--mf-shadow);
	}

	/* ─── SECTION TIGHT (diag) centré ───────────────────────── */
	.mf-section--tight {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		gap: var(--mf-space-4);
	}

	/* ─── FOOTER : grille 4 colonnes alignée ────────────────── */
	.mf-footer__grid {
		display: grid;
		grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
		gap: var(--mf-space-7);
	}
}

/* ═══════════════════════════════════════════════════════════
   TABLET POLISH (768 → 1023px)
   Grilles propres : 2 cartes, 2 colonnes zone, steps en ligne
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 768px) and (max-width: 1023.98px) {
	:root {
		--mf-container: 720px;
		--mf-page-edge: clamp(1.5rem, 4vw, 2.5rem);
		--mf-section-y: clamp(3rem, 5vw, 4.5rem);
	}

	main > section,
	main > .mf-cta-band,
	.mf-header,
	.mf-footer,
	.mf-hero__body {
		width: 100%;
		max-width: none;
		margin-left: 0;
		margin-right: 0;
		padding-left: var(--mf-page-edge);
		padding-right: var(--mf-page-edge);
		box-sizing: border-box;
	}

	.mf-header__row,
	.mf-footer__grid,
	.mf-footer__copy,
	.mf-hero__body > .mf-hero__inner {
		max-width: 880px;
		margin-left: auto;
		margin-right: auto;
	}

	.mf-section {
		padding-top: var(--mf-section-y);
		padding-bottom: var(--mf-section-y);
	}

	#specialites .mf-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--mf-space-4);
		align-items: stretch;
	}

	.mf-card {
		display: flex;
		flex-direction: column;
		height: 100%;
	}

	.mf-steps {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: var(--mf-space-3);
		align-items: stretch;
	}

	.mf-step {
		height: 100%;
	}

	.mf-zone {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--mf-space-6);
		align-items: center;
	}

	#faq {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		column-gap: var(--mf-space-4);
		row-gap: var(--mf-space-3);
		grid-template-areas:
			"eyebrow eyebrow"
			"title   title"
			"d1      d2"
			"d3      d4"
			"d5      d5";
	}

	#faq .mf-eyebrow { grid-area: eyebrow; }
	#faq .mf-h2 { grid-area: title; }
	#faq .mf-details:nth-of-type(1) { grid-area: d1; margin: 0; }
	#faq .mf-details:nth-of-type(2) { grid-area: d2; margin: 0; }
	#faq .mf-details:nth-of-type(3) { grid-area: d3; margin: 0; }
	#faq .mf-details:nth-of-type(4) { grid-area: d4; margin: 0; }
	#faq .mf-details:nth-of-type(5) { grid-area: d5; margin: 0; }

	.mf-footer__grid {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--mf-space-5);
	}

	.mf-zones-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ═══════════════════════════════════════════════════════════
   MOBILE POLISH (<768px) — dernier filet, pas d'overflow horizontal
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 767.98px) {
	html, body { overflow-x: hidden; }

	.mf-hero { min-height: auto; }

	.mf-hero__img {
		position: relative;
		inset: auto;
		width: 100%;
		max-width: 100%;
		height: auto;
		aspect-ratio: 16 / 10;
		border-radius: 0;
		object-fit: cover;
		transform: none;
		box-shadow: none;
		opacity: 0.55;
	}

	.mf-zone {
		display: flex;
		flex-direction: column;
		gap: var(--mf-space-5);
	}

	.mf-zone .mf-media,
	.mf-zone__text { width: 100%; }

	.mf-media__img { border-radius: 14px; }

	.mf-zones-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	#faq { display: block; }
}

/* Très large ≥1440 */
@media (min-width: 1440px) {
	:root {
		--mf-container: 1280px;
	}

	.mf-hero__img {
		width: min(46vw, 640px);
		max-height: 500px;
	}

	.mf-hero__body > .mf-hero__inner {
		max-width: 620px;
	}
}

/* Reduce motion — respecter les préférences */
@media (prefers-reduced-motion: reduce) {
	.mf-hero__img,
	.mf-hero__inner::before,
	.mf-pulse,
	.mf-btn-primary::before,
	.mf-btn-wa::before,
	.mf-section > .mf-h2,
	.mf-section > .mf-eyebrow,
	.mf-section > .mf-lead,
	.mf-cards > *,
	.mf-steps > *,
	.mf-zones-list > li {
		animation: none !important;
		transition: none !important;
	}
}

/* ═══════════════════════════════════════════════════════════
   FULL-WIDTH OVERRIDE (toutes tailles) — sections edge-to-edge
   --------------------------------------------------------------
   Chaque bloc de 1er niveau s'étire sur 100% de la largeur.
   Le contenu interne reste lisible via un max-width limité
   sur les enfants wrappers (header row, footer grid, formulaire).
   ═══════════════════════════════════════════════════════════ */
:root {
	--mf-edge: clamp(1rem, 4vw, 3.5rem);
}

html, body {
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
}

main, main > * {
	width: 100%;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	box-sizing: border-box;
}

main > section,
main > .mf-cta-band,
.mf-header,
.mf-footer,
.mf-hero,
.mf-hero__body {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: var(--mf-edge) !important;
	padding-right: var(--mf-edge) !important;
	box-sizing: border-box;
}

/* Wrappers internes : largeur fluide lisible, centrés */
.mf-header__row,
.mf-footer__grid,
.mf-footer__copy {
	width: 100%;
	max-width: var(--mf-container, 1200px);
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	box-sizing: border-box;
}

/* Contenu centré dans chaque section (titres, lead, grilles) */
main > section > .mf-eyebrow,
main > section > .mf-h2,
main > section > .mf-lead,
main > section > .mf-media,
main > section > .mf-cards,
main > section > .mf-steps,
main > section > .mf-keyfacts,
main > section > .mf-choices,
main > section > .mf-result,
main > section > .mf-zone,
main > section > .mf-map-block,
main > section > details.mf-details,
main > section > form.mf-form,
main > .mf-cta-band > * {
	width: 100%;
	max-width: var(--mf-container, 1200px);
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

/* Hero : conteneur plein, contenu interne centré */
.mf-hero__body > .mf-hero__inner {
	width: 100%;
	max-width: var(--mf-container, 1200px);
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

/* Desktop ≥1024 : on reprend le rail pour aligner sur le container */
@media (min-width: 1024px) {
	:root {
		--mf-edge: var(--mf-rail, clamp(2rem, 4vw, 3.5rem));
	}

	.mf-hero__body > .mf-hero__inner {
		max-width: 560px;
		margin-left: 0;
		margin-right: auto;
	}
}

@media (min-width: 1440px) {
	.mf-hero__body > .mf-hero__inner {
		max-width: 620px;
	}
}

/* ═══════════════════════════════════════════════════════════
   LEGAL PAGES — typo sobre, lisible, alignée sur le design system
   ═══════════════════════════════════════════════════════════ */
.mf-legal-main {
	padding-top: clamp(2rem, 5vw, 4rem);
	padding-bottom: clamp(2rem, 5vw, 4rem);
}

.mf-legal {
	max-width: 820px;
	margin-left: auto;
	margin-right: auto;
}

.mf-legal h1.mf-h2 {
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	margin-bottom: 1rem;
}

.mf-legal h2 {
	font-size: clamp(1.15rem, 1.6vw, 1.35rem);
	font-weight: 700;
	color: var(--mf-ink);
	margin-top: var(--mf-space-7);
	margin-bottom: var(--mf-space-3);
	letter-spacing: -0.01em;
	line-height: 1.3;
}

.mf-legal h3 {
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--mf-ink);
	margin-top: var(--mf-space-5);
	margin-bottom: var(--mf-space-2);
}

.mf-legal p {
	color: var(--mf-ink);
	font-size: 0.98rem;
	line-height: 1.7;
	margin: 0 0 var(--mf-space-4);
}

.mf-legal a {
	color: var(--mf-ink);
	text-decoration: underline;
	text-decoration-color: var(--mf-accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.mf-legal a:hover {
	color: var(--mf-accent-ink, #8a6200);
}

.mf-legal-list {
	list-style: none;
	padding: 0;
	margin: 0 0 var(--mf-space-5);
}

.mf-legal-list > li {
	position: relative;
	padding: 0.25rem 0 0.25rem 1.25rem;
	line-height: 1.7;
}

.mf-legal-list > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.95em;
	width: 0.4rem;
	height: 0.4rem;
	background: var(--mf-accent);
	border-radius: 2px;
}

.mf-legal-table {
	width: 100%;
	border-collapse: collapse;
	margin: var(--mf-space-4) 0 var(--mf-space-6);
	font-size: 0.92rem;
	border: 1px solid var(--mf-line);
	border-radius: 12px;
	overflow: hidden;
}

.mf-legal-table th,
.mf-legal-table td {
	text-align: left;
	padding: var(--mf-space-3) var(--mf-space-4);
	border-bottom: 1px solid var(--mf-line);
	vertical-align: top;
}

.mf-legal-table th {
	background: var(--mf-surface);
	font-weight: 700;
	color: var(--mf-ink);
	font-size: 0.88rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.mf-legal-table tr:last-child td { border-bottom: none; }

.mf-legal-updated {
	margin-top: var(--mf-space-7);
	padding-top: var(--mf-space-5);
	border-top: 1px solid var(--mf-line);
	color: var(--mf-ink-muted);
	font-size: 0.9rem;
}

@media (max-width: 640px) {
	.mf-legal-table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}

/* =========================================================
 * CHATBOT — assistant Ines (panneau flottant)
 * ========================================================= */
.mf-visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
	border: 0;
}

/* FAB (bouton launcher) — réutilise .mf-wa-float mais devient un bouton */
button.mf-wa-float {
	border: 0;
	cursor: pointer;
	font: inherit;
	appearance: none;
}
.mf-wa-float.is-hidden {
	transform: scale(.2) translateY(20px);
	opacity: 0;
	pointer-events: none;
}
.mf-wa-float__dot {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 10px;
	height: 10px;
	background: #25D366;
	border: 2px solid #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 0 rgba(37, 211, 102, .55);
	animation: mf-chat-dot 1.9s ease-out infinite;
}
@keyframes mf-chat-dot {
	0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
	70%  { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
	100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Panneau */
.mf-chat {
	position: fixed;
	z-index: 1400;
	right: 16px;
	bottom: calc(16px + var(--mf-dock-h, 0px));
	width: min(380px, calc(100vw - 24px));
	max-height: min(80vh, 640px);
	background: #ffffff;
	color: #121820;
	border-radius: 18px;
	box-shadow:
		0 28px 80px -16px rgba(8, 12, 24, .35),
		0 10px 30px -10px rgba(8, 12, 24, .25),
		0 0 0 1px rgba(8, 12, 24, .06);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	opacity: 0;
	transform: translateY(16px) scale(.98);
	pointer-events: none;
	transition: opacity .22s ease, transform .28s cubic-bezier(.2,.8,.2,1);
}
.mf-chat.is-open {
	opacity: 1;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}

/* Mobile : panel plein-écran + masque le dock bas pour rendre l'input visible */
@media (max-width: 767.98px) {
	.mf-chat {
		right: 0;
		left: 0;
		top: 0;
		bottom: 0;
		width: 100%;
		max-height: none;
		height: 100dvh;
		border-radius: 0;
	}
	body.mf-chat-open .mf-dock { display: none !important; }
	body.mf-chat-open { overflow: hidden; touch-action: none; }
}
@media (min-width: 768px) and (max-width: 1023.98px) {
	.mf-chat {
		right: 16px;
		bottom: calc(16px + var(--mf-dock-h, 0px));
		width: min(400px, calc(100vw - 32px));
	}
}

.mf-chat__head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 14px;
	background: linear-gradient(135deg, #121820 0%, #1a2332 100%);
	color: #fff;
	border-bottom: 3px solid #f0b429;
	flex: 0 0 auto;
}
.mf-chat__avatar {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #f0b429;
	color: #121820;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	box-shadow: 0 0 0 4px rgba(240, 180, 41, .22), inset 0 -2px 0 rgba(0,0,0,.08);
}
.mf-chat__meta {
	flex: 1 1 auto;
	min-width: 0;
}
.mf-chat__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: .01em;
	color: #fff;
	line-height: 1.2;
}
.mf-chat__sub {
	margin: 3px 0 0;
	font-size: .8rem;
	color: rgba(255, 255, 255, .82);
	display: flex;
	align-items: center;
	gap: 6px;
}
.mf-chat__status {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #25D366;
	box-shadow: 0 0 0 0 rgba(37, 211, 102, .55);
	animation: mf-chat-dot 1.9s ease-out infinite;
	display: inline-block;
}
.mf-chat__close {
	background: rgba(255, 255, 255, .08);
	border: 0;
	color: #fff;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex: 0 0 auto;
	transition: background .16s ease;
}
.mf-chat__close:hover,
.mf-chat__close:focus-visible {
	background: rgba(255, 255, 255, .18);
	outline: 0;
}

.mf-chat__body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 16px 14px 8px;
	background:
		radial-gradient(800px 220px at 50% -40px, rgba(240, 180, 41, .10), transparent 60%),
		#eef1f6;
	scroll-behavior: smooth;
}

.mf-chat__bubble {
	display: block;
	padding: 12px 14px;
	border-radius: 16px;
	font-size: .95rem;
	line-height: 1.5;
	margin-bottom: 10px;
	word-wrap: break-word;
	max-width: 88%;
	animation: mf-chat-in .22s ease both;
	box-shadow: 0 1px 2px rgba(8, 12, 24, .06);
}
@keyframes mf-chat-in {
	from { opacity: 0; transform: translateY(6px); }
	to   { opacity: 1; transform: translateY(0); }
}
.mf-chat__bubble--bot {
	background: #fff;
	color: #121820;
	border: 1px solid rgba(8, 12, 24, .08);
	border-bottom-left-radius: 4px;
	margin-right: auto;
}
.mf-chat__bubble--user {
	background: #121820;
	color: #fff;
	border-bottom-right-radius: 4px;
	margin-left: auto;
}
.mf-chat__bubble a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.mf-chat__bubble em {
	font-style: normal;
	color: #6b7280;
}
.mf-chat__bubble--user em {
	color: rgba(255, 255, 255, .75);
}

.mf-chat__typing {
	display: inline-flex !important;
	gap: 4px;
	align-items: center;
	padding: 12px 14px;
}
.mf-chat__typing span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #9aa3b2;
	animation: mf-chat-typing 1.1s infinite ease-in-out;
}
.mf-chat__typing span:nth-child(2) { animation-delay: .15s; }
.mf-chat__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes mf-chat-typing {
	0%, 80%, 100% { transform: scale(.7); opacity: .5; }
	40%           { transform: scale(1);  opacity: 1;  }
}

/* CTAs dans les bulles */
.mf-chat__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 10px;
}
.mf-chat__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	border-radius: 999px;
	font-size: .82rem;
	font-weight: 600;
	text-decoration: none;
	background: #f0b429;
	color: #121820 !important;
	border: 1px solid #d99a10;
	transition: transform .12s ease, box-shadow .16s ease;
}
.mf-chat__cta:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 14px -4px rgba(240, 180, 41, .5);
}
.mf-chat__cta--wa {
	background: #25D366;
	border-color: #1fb457;
	color: #0b2f18 !important;
}
.mf-chat__cta--call {
	background: #121820;
	border-color: #121820;
	color: #fff !important;
}

/* Quick replies */
.mf-chat__quick {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 10px 12px 12px;
	background: #f7f8fb;
	border-top: 1px solid rgba(8, 12, 24, .06);
	flex: 0 0 auto;
}
.mf-chat__quick[data-empty="true"] { padding: 0; border-top: 0; }
.mf-chat__pill {
	background: #fff;
	border: 1.5px solid rgba(8, 12, 24, .14);
	border-radius: 999px;
	padding: 9px 13px;
	font-size: .85rem;
	font-weight: 700;
	color: #121820;
	cursor: pointer;
	transition: border-color .16s ease, background .16s ease, transform .1s ease, box-shadow .16s ease;
	box-shadow: 0 1px 2px rgba(8, 12, 24, .06);
}
.mf-chat__pill:hover {
	border-color: #f0b429;
	background: #fff8e5;
	transform: translateY(-1px);
}

/* Form */
.mf-chat__form {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px 10px;
	background: #fff;
	border-top: 1px solid rgba(8, 12, 24, .08);
	flex: 0 0 auto;
}
.mf-chat__input {
	flex: 1 1 auto;
	min-width: 0;
	border: 1.5px solid rgba(8, 12, 24, .16);
	background: #f7f8fb;
	border-radius: 999px;
	padding: 12px 16px;
	font: inherit;
	font-size: 16px; /* iOS : 16px = pas de zoom auto */
	color: #121820;
	outline: none;
	transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.mf-chat__input::placeholder { color: #9aa3b2; }
.mf-chat__input:focus {
	border-color: #f0b429;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(240, 180, 41, .2);
}
.mf-chat__send {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 0;
	background: #f0b429;
	color: #121820;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform .12s ease, box-shadow .16s ease, background .16s ease;
	box-shadow: 0 4px 12px -2px rgba(240, 180, 41, .55);
}
.mf-chat__send:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 18px -6px rgba(240, 180, 41, .55);
}

.mf-chat__foot {
	margin: 0;
	padding: 6px 12px calc(10px + env(safe-area-inset-bottom, 0px));
	background: #fff;
	font-size: .72rem;
	color: #6b7280;
	text-align: center;
	border-top: 1px solid rgba(8, 12, 24, .05);
	flex: 0 0 auto;
}
.mf-chat__foot a {
	color: #121820;
	text-decoration: none;
	border-bottom: 1px dotted rgba(18, 24, 32, .4);
}
.mf-chat__foot a:hover { border-bottom-color: #f0b429; }

/* Note sous le formulaire devis */
.mf-form__note {
	margin: 4px 0 0;
	padding: 10px 12px;
	background: rgba(37, 211, 102, .08);
	border: 1px solid rgba(37, 211, 102, .25);
	border-radius: 10px;
	font-size: .88rem;
	color: #1a2332;
}
.mf-btn--wa {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #25D366 !important;
	border-color: #1fb457 !important;
	color: #0b2f18 !important;
}
.mf-btn--wa:hover {
	background: #20c35b !important;
}

/* Desktop : relève le launcher au-dessus du dock sur mobile uniquement;
   sur desktop pas de dock, on reste en bas-droite standard */
@media (min-width: 1024px) {
	.mf-chat { right: 24px; bottom: 24px; }
}

/* Print — version imprimable propre */
@media print {
	.mf-header, .mf-dock, .mf-wa-float, .mf-btn-wa, .mf-cta-band, .mf-hero__img, .mf-section--dark, .mf-chat { display: none !important; }
	body { background: #fff; color: #000; padding: 0; }
	.mf-hero__inner { background: #fff; color: #000; box-shadow: none; border: 1px solid #000; }
	a { color: #000; text-decoration: underline; }
}
