/* ===== Mitrotherme — styles du site ===== */

/* Polices hébergées sur le site (licence SIL OFL, voir assets/fonts). */
@font-face {
	font-family: 'Outfit';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('../fonts/outfit-latin-wght-normal.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Outfit';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('../fonts/outfit-latin-ext-wght-normal.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'DM Sans';
	font-style: normal;
	font-weight: 100 1000;
	font-display: swap;
	src: url('../fonts/dm-sans-latin-wght-normal.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'DM Sans';
	font-style: normal;
	font-weight: 100 1000;
	font-display: swap;
	src: url('../fonts/dm-sans-latin-ext-wght-normal.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--marine: #0D1F3C;
	--bleu: #1B3A6B;
	--bleu-vif: #2B5BA8;
	--bleu-fonce: #1e4a8a;
	--beige: #F0EDE6;
	--gris: #6B7280;
	--gris-clair: #E5E7EB;
	--metal: #B8C4D0;
	--texte: #1a1a2e;
	--entete: 72px;
	/* Rythme vertical : un seul jeu d'espacements, du mobile (min) au grand écran (max). */
	--espace-section: clamp(48px, 6.5vw, 80px);
	--espace-titre: clamp(28px, 3.5vw, 44px);
	--espace-bouton: clamp(24px, 3vw, 36px);
	--transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: 'DM Sans', sans-serif;
	font-size: 1rem;
	line-height: 1.75;
	color: var(--texte);
	background: #fff;
	overflow-x: hidden;
}
body.mt-menu-ouvert { overflow: hidden; }
h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; font-weight: 600; line-height: 1.2; color: var(--marine); margin: 0 0 0.6em; }
h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h2 { font-size: clamp(1.3rem, 2.2vw, 1.9rem); }
h3 { font-size: clamp(1.05rem, 1.5vw, 1.3rem); }
p { font-weight: 300; color: #3a3a4a; margin: 0 0 1em; }
a { color: var(--bleu-vif); }
img { max-width: 100%; height: auto; display: block; }
/* Cadrage des photos réglé dans Personnaliser : un pour l'ordinateur, un pour le mobile. */
.mt-photo { object-position: var(--mt-pos, 50% 50%); }
@media (max-width: 600px) {
	.mt-photo { object-position: var(--mt-pos-m, var(--mt-pos, 50% 50%)); }
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.mt-lien-evitement { position: absolute; left: -9999px; top: 0; z-index: 2000; background: #fff; padding: 10px 16px; }
.mt-lien-evitement:focus { left: 10px; top: 10px; }

.mt-wrap { width: 100%; max-width: 1248px; margin: 0 auto; padding: 0 24px; }
.mt-wrap--large { max-width: 1448px; }
.mt-wrap--etroit { max-width: 808px; }
.mt-centre { text-align: center; }

/* ===== BOUTONS ===== */
.mt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: 'DM Sans', sans-serif;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	color: #fff;
	background: var(--bleu-vif);
	border: 2px solid var(--bleu-vif);
	border-radius: 10px;
	padding: 15px 30px;
	cursor: pointer;
	transition: all var(--transition);
}
.mt-btn:hover { background: var(--bleu-fonce); border-color: var(--bleu-fonce); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(43, 91, 168, 0.35); }
.mt-btn--contour-clair { background: transparent; border-color: rgba(255, 255, 255, 0.35); }
.mt-btn--contour-clair:hover { background: rgba(255, 255, 255, 0.08); border-color: #fff; box-shadow: none; }
.mt-btn--contour-fonce { background: transparent; color: var(--bleu-vif); }
.mt-btn--contour-fonce:hover { background: var(--bleu-vif); border-color: var(--bleu-vif); }
.mt-btn--petit { padding: 10px 20px; font-size: 0.88rem; border-radius: 8px; white-space: nowrap; }
.mt-boutons { display: flex; flex-wrap: wrap; gap: 16px; }
.mt-boutons--centre { justify-content: center; margin-top: var(--espace-bouton); }
.mt-boutons--section { margin-top: var(--espace-bouton); }
.mt-hero .mt-boutons--section { margin-top: 0; }
.mt-boutons:empty { display: none; }

/* ===== EN-TÊTE ===== */
.mt-entete {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(13, 31, 60, 0.98);
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	transition: box-shadow var(--transition);
}
.admin-bar .mt-entete { top: 32px; }
@media (max-width: 782px) { .admin-bar .mt-entete { top: 46px; } }
@media (max-width: 600px) { .admin-bar .mt-entete { top: 0; } }
.mt-entete.est-defile { box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25); }

/* Bandeau d'annonce, collé en haut avec l'en-tête. */
.mt-annonce { background: var(--bleu-vif); color: #fff; }
.mt-annonce--important { background: #F2A516; color: #2b1d00; }
.mt-annonce--urgent { background: #B42318; color: #fff; }
.mt-annonce-fermee .mt-annonce { display: none; }
.mt-annonce__barre { display: flex; align-items: center; justify-content: center; gap: 8px 16px; min-height: 42px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; position: relative; }
.mt-annonce__texte { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 0.88rem; font-weight: 500; line-height: 1.45; color: inherit; text-align: left; }
.mt-annonce__texte a { color: inherit; }
.mt-annonce__icone { flex-shrink: 0; }
.mt-annonce__bouton {
	flex-shrink: 0;
	font-size: 0.8rem;
	font-weight: 600;
	color: inherit;
	text-decoration: none;
	border: 1.5px solid currentColor;
	border-radius: 6px;
	padding: 4px 12px;
	white-space: nowrap;
	transition: background var(--transition);
}
.mt-annonce__bouton:hover { background: rgba(255, 255, 255, 0.15); }
.mt-annonce--important .mt-annonce__bouton:hover { background: rgba(0, 0, 0, 0.08); }
.mt-annonce__fermer {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	margin-left: 4px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	font-size: 1.3rem;
	line-height: 1;
	cursor: pointer;
	opacity: 0.8;
}
.mt-annonce__fermer:hover { opacity: 1; background: rgba(255, 255, 255, 0.15); }
@media (max-width: 600px) {
	.mt-annonce__barre { justify-content: flex-start; padding-right: 44px; }
	.mt-annonce__fermer { position: absolute; top: 6px; right: 12px; }
}
.mt-entete__barre { display: flex; align-items: center; gap: 20px; min-height: var(--entete); }
.mt-entete__logo { margin-right: auto; }

.mt-logo { position: relative; display: inline-block; line-height: 0; text-decoration: none; }
.mt-logo__img { height: 44px; width: auto; }
.mt-logo--texte { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 1.3rem; line-height: 1; color: #fff; }
.mt-logo__calque { position: absolute; inset: 0; pointer-events: none; clip-path: inset(0 100% 0 0); transition: clip-path 0.05s linear; }
.mt-logo__calque img { height: 44px; width: auto; filter: hue-rotate(220deg); }

.mt-nav__liste { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.mt-nav__liste a {
	display: block;
	font-size: 0.88rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
	padding: 8px 14px;
	border-radius: 6px;
	white-space: nowrap;
	transition: color var(--transition), background var(--transition);
}
.mt-nav__liste a:hover, .mt-nav__liste a.est-actif { color: #fff; background: rgba(255, 255, 255, 0.08); }

.mt-burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: #fff; }
.mt-burger__barres { display: flex; flex-direction: column; gap: 5px; }
.mt-burger__barres span { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.mt-burger[aria-expanded="true"] .mt-burger__barres span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mt-burger[aria-expanded="true"] .mt-burger__barres span:nth-child(2) { opacity: 0; }
.mt-burger[aria-expanded="true"] .mt-burger__barres span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mt-menu-mobile {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	height: calc(100vh - var(--entete)); /* recalculé par site.js à l'ouverture */
	overflow-y: auto;
	background: var(--marine);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 20px 24px 40px;
}
.mt-menu-mobile[hidden] { display: none; }
.mt-menu-mobile__liste { list-style: none; margin: 0 0 20px; padding: 0; }
.mt-menu-mobile__liste a { display: block; padding: 14px 16px; font-size: 1.05rem; color: #fff; text-decoration: none; border-radius: 8px; }
.mt-menu-mobile__liste a.est-actif, .mt-menu-mobile__liste a:hover { background: rgba(255, 255, 255, 0.08); }
.mt-menu-mobile .mt-btn { width: 100%; }
.mt-menu-mobile__tel { margin-top: 24px; text-align: center; font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }
.mt-menu-mobile__tel a { color: #fff; font-size: 1.1rem; font-weight: 500; text-decoration: none; }

@media (max-width: 1023px) {
	.mt-nav { display: none; }
	.mt-burger { display: block; }
}
@media (max-width: 600px) {
	.mt-entete__cta { display: none; }
}

/* ===== SECTIONS ===== */
.mt-section { padding: var(--espace-section) 0; }
.mt-section--beige { background: var(--beige); }
.mt-section--marine { background: var(--marine); }
.mt-section--marine h2, .mt-section--marine h3 { color: #fff; }
.mt-section--marine p { color: rgba(255, 255, 255, 0.7); }
.mt-eyebrow {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bleu-vif);
	margin-bottom: 0.6rem;
}
.mt-section--marine .mt-eyebrow, .mt-cta .mt-eyebrow, .mt-bandeau-page .mt-eyebrow { color: var(--metal); }
.mt-titre { margin-bottom: 0.5em; }
.mt-sous-titre { font-size: 1.05rem; font-weight: 400; color: var(--gris); max-width: 620px; }
.mt-centre .mt-sous-titre { margin-left: auto; margin-right: auto; }
/* En-tête de section (petit texte + titre + sous-titre) : même espace avant le contenu, quel que soit son dernier élément. */
.mt-centre > :last-child { margin-bottom: 0; }
.mt-section .mt-centre:not(:last-child) { margin-bottom: var(--espace-titre); }
.mt-section--marine .mt-sous-titre { color: rgba(255, 255, 255, 0.6); }

/* ===== HAUT DE PAGE (ACCUEIL) ===== */
.mt-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, var(--marine) 0%, #112244 40%, var(--bleu) 100%);
	padding: var(--espace-section) 0;
}
.mt-hero::before {
	content: '';
	position: absolute;
	top: -200px;
	right: -200px;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(43, 91, 168, 0.18) 0%, transparent 70%);
	pointer-events: none;
}
.mt-hero__grille { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.mt-hero--fond .mt-hero__grille, .mt-hero--aucune .mt-hero__grille { grid-template-columns: minmax(0, 680px); }
.mt-hero--fond { display: flex; align-items: center; min-height: min(78vh, 760px); }
.mt-hero--fond::before { display: none; }
.mt-hero__fond { position: absolute; inset: 0; }
.mt-hero__fond .mt-photo { width: 100%; height: 100%; object-fit: cover; }
.mt-hero__fond::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgb(13 31 60 / calc(var(--mt-voile) + 0.1)) 0%, rgb(13 31 60 / var(--mt-voile)) 60%, rgb(13 31 60 / calc(var(--mt-voile) - 0.15)) 100%);
}
.mt-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--metal);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	padding: 8px 16px;
	border-radius: 50px;
	margin-bottom: 28px;
}
.mt-hero__eyebrow::before { content: ''; width: 6px; height: 6px; background: var(--bleu-vif); border-radius: 50%; animation: mt-pulse 2s ease-in-out infinite; }
@keyframes mt-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }
.mt-hero__titre { color: #fff; margin-bottom: 24px; }
.mt-hero__texte { font-size: 1.1rem; color: rgba(255, 255, 255, 0.75); max-width: 540px; margin-bottom: 36px; }
.mt-hero__tagline { margin: 28px 0 0; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); max-width: 520px; }
.mt-hero__photo .mt-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.08); }

/* ===== EN-TÊTE DES PAGES INTÉRIEURES ===== */
.mt-bandeau-page { background: linear-gradient(135deg, var(--marine) 0%, #112244 50%, var(--bleu) 100%); padding: var(--espace-section) 0; }
.mt-bandeau-page .mt-titre { color: #fff; margin-bottom: 0; }
.mt-bandeau-page .mt-sous-titre { color: rgba(255, 255, 255, 0.7); margin: 16px 0 0; }

/* ===== ÉTAPES ===== */
.mt-etapes__liste {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}
.mt-etape {
	position: relative;
	background: #fff;
	border: 1px solid var(--gris-clair);
	border-radius: 16px;
	padding: 28px 24px 24px;
	transition: border-color var(--transition), box-shadow var(--transition);
}
.mt-etape:hover { border-color: var(--bleu-vif); box-shadow: 0 12px 36px rgba(13, 31, 60, 0.07); }
.mt-etape__numero {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--bleu-vif);
	color: #fff;
	font-family: 'Outfit', sans-serif;
	font-weight: 600;
	font-size: 1.05rem;
	margin-bottom: 16px;
}
.mt-etape__texte { margin: 0; font-size: 0.95rem; font-weight: 400; color: var(--marine); line-height: 1.55; }

/* Hors mobile : petit chevron lumineux entre deux étapes d'une même ligne, pour guider la lecture. */
@media (min-width: 601px) {
	.mt-etapes__liste { gap: 28px; }
	.mt-etape:not(:last-child)::after {
		content: '';
		position: absolute;
		top: 50%;
		right: -20px;
		width: 10px;
		height: 10px;
		border-top: 2.5px solid var(--bleu-vif);
		border-right: 2.5px solid var(--bleu-vif);
		border-radius: 1px;
		transform: translate(0, -50%) rotate(45deg);
		animation: mt-chevron 1.8s ease-in-out infinite;
		pointer-events: none;
	}
}
@media (min-width: 1024px) {
	.mt-etape:nth-child(4n)::after { display: none; }
}
@media (min-width: 601px) and (max-width: 1023px) {
	.mt-etape:nth-child(2n)::after { display: none; }
}
@keyframes mt-chevron {
	0%, 100% { transform: translate(-2px, -50%) rotate(45deg); filter: drop-shadow(0 0 1px rgba(79, 134, 224, 0.35)); }
	50% { transform: translate(3px, -50%) rotate(45deg); filter: drop-shadow(0 0 4px rgba(79, 134, 224, 0.95)) drop-shadow(0 0 8px rgba(79, 134, 224, 0.6)); }
}
@media (prefers-reduced-motion: reduce) {
	.mt-etape::after { animation: none !important; filter: drop-shadow(0 0 3px rgba(79, 134, 224, 0.7)); }
}

/* ===== GRILLES ET CARTES ===== */
.mt-grille { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mt-grille--1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
.mt-grille--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mt-grille--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.mt-carte {
	display: block;
	background: #fff;
	border: 1px solid var(--gris-clair);
	border-radius: 16px;
	overflow: hidden;
	color: inherit;
	text-decoration: none;
	transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.mt-carte:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(13, 31, 60, 0.08); border-color: var(--bleu-vif); }
.mt-carte__photo .mt-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.mt-carte__corps { padding: 26px 28px 30px; }
.mt-carte__corps p { font-size: 0.92rem; line-height: 1.65; margin-bottom: 0; }
.mt-carte__titre { font-size: clamp(1.05rem, 1.5vw, 1.3rem); margin-bottom: 0.5rem; }
.mt-carte--apercu .mt-carte__titre {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	padding: 20px 24px;
}
a.mt-carte--apercu .mt-carte__titre::after { content: '→'; color: var(--bleu-vif); transition: transform var(--transition); }
a.mt-carte--apercu:hover .mt-carte__titre::after { transform: translateX(4px); }
.mt-carte__icone {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(43, 91, 168, 0.08);
	border-radius: 12px;
	font-size: 1.3rem;
	margin-bottom: 16px !important;
}
.mt-carte__etiquette { font-size: 0.75rem !important; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bleu-vif) !important; margin-bottom: 0.4rem !important; }

.mt-valeur {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 14px;
	padding: 28px 24px;
	text-align: center;
}
.mt-valeur__icone { font-size: 2rem; margin-bottom: 12px; }
.mt-valeur h3 { margin-bottom: 0.5rem; }
.mt-valeur p { font-size: 0.9rem; margin: 0; }

/* ===== ZONE (RÉFÉRENCEMENT) ===== */
.mt-zone { padding: 40px 0; background: var(--beige); border-top: 1px solid var(--gris-clair); text-align: center; }
.mt-zone p { margin: 0; font-size: 0.88rem; line-height: 1.8; color: var(--gris); }
.mt-zone strong { color: var(--marine); font-weight: 600; }

/* ===== BANDEAU « PARLONS DE VOTRE PROJET » ===== */
.mt-cta { background: linear-gradient(135deg, var(--bleu) 0%, var(--marine) 100%); padding: var(--espace-section) 0; }
.mt-cta .mt-titre { color: #fff; }
.mt-cta .mt-sous-titre { color: rgba(255, 255, 255, 0.7); margin-bottom: 0; }

/* ===== PAGE EN CONSTRUCTION / 404 ===== */
.mt-construction { display: flex; justify-content: center; padding-left: 24px; padding-right: 24px; }
.mt-construction__boite {
	max-width: 540px;
	text-align: center;
	padding: 56px 40px;
	background: #fff;
	border: 1px solid var(--gris-clair);
	border-radius: 20px;
	box-shadow: 0 8px 40px rgba(13, 31, 60, 0.06);
}
.mt-construction__icone { font-size: 3rem; margin-bottom: 8px; }
.mt-construction__boite .mt-btn { margin-top: 12px; }

/* ===== À PROPOS ===== */
.mt-deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.mt-deux-colonnes__photo .mt-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
.mt-certif { margin-top: 32px; padding: 32px; background: #fff; border: 2px dashed var(--gris-clair); border-radius: 14px; }
.mt-certif p { margin: 0; font-size: 0.92rem; color: var(--gris); }
.mt-certif strong { color: var(--bleu); }

/* ===== CONTACT ===== */
.mt-contact { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 56px; align-items: start; }
.mt-coordonnee { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--gris-clair); }
.mt-coordonnee strong { display: block; font-size: 0.85rem; font-weight: 500; color: var(--gris); }
.mt-coordonnee a { color: var(--marine); font-weight: 500; text-decoration: none; }
.mt-coordonnee__petit { display: block; font-size: 0.82rem; color: var(--gris); }
.mt-contact__formulaire { background: #fff; border: 1px solid var(--gris-clair); border-radius: 18px; padding: 36px; box-shadow: 0 8px 40px rgba(13, 31, 60, 0.05); }
.mt-contact__titre-form { font-size: clamp(1.05rem, 1.5vw, 1.3rem); }

.mt-form p { margin: 0 0 18px; }
.mt-form__ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.mt-form label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--marine); margin-bottom: 6px; }
.mt-form label span { color: #c0392b; }
.mt-form input, .mt-form select, .mt-form textarea {
	width: 100%;
	font: inherit;
	font-size: 0.95rem;
	padding: 12px 14px;
	border: 1.5px solid var(--gris-clair);
	border-radius: 10px;
	background: #fafafa;
	color: var(--texte);
	transition: border-color var(--transition), background var(--transition);
}
.mt-form input:focus, .mt-form select:focus, .mt-form textarea:focus { outline: none; border-color: var(--bleu-vif); background: #fff; }
.mt-form .mt-btn { width: 100%; }
.mt-form .mt-btn:disabled { opacity: 0.7; cursor: wait; transform: none; }

/* Photos jointes */
.mt-form__photos { margin: 0 0 18px; }
.mt-form__etiquette { display: block; font-size: 0.85rem; font-weight: 500; color: var(--marine); margin-bottom: 6px; }
.mt-form__facultatif { font-weight: 400; color: var(--gris); }
/* Préfixe .mt-form : la zone est un <label>, elle doit échapper au style des libellés du formulaire. */
.mt-form .mt-depot {
	position: relative;
	display: flex;
	margin: 0;
	font-weight: 400;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 20px 16px;
	border: 1.5px dashed var(--gris-clair);
	border-radius: 12px;
	background: #fafafa;
	text-align: center;
	cursor: pointer;
	transition: border-color var(--transition), background var(--transition);
}
.mt-depot:hover, .mt-depot:focus-within { border-color: var(--bleu-vif); background: #fff; }
.mt-form .mt-depot input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; padding: 0; border: 0; }
.mt-form .mt-depot__icone { font-size: 1.5rem; color: inherit; }
.mt-form .mt-depot__texte { font-size: 0.9rem; color: var(--marine); }
.mt-depot__texte strong { color: var(--bleu-vif); }
.mt-form .mt-depot__aide { font-size: 0.78rem; color: var(--gris); }
.mt-depot__liste { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.mt-depot__liste:empty { display: none; }
.mt-depot__photo { position: relative; width: 76px; height: 76px; border-radius: 10px; overflow: hidden; border: 1px solid var(--gris-clair); }
.mt-depot__photo img { width: 100%; height: 100%; object-fit: cover; }
.mt-depot__retirer {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 22px;
	height: 22px;
	border: 0;
	border-radius: 50%;
	background: rgba(13, 31, 60, 0.75);
	color: #fff;
	font-size: 0.95rem;
	line-height: 1;
	cursor: pointer;
}
.mt-depot__note { width: 100%; font-size: 0.78rem; color: #c0392b; }
.mt-form__note { font-size: 0.78rem; color: var(--gris); margin: 0 !important; }
.mt-form__piege { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.mt-form__message { border-radius: 12px; padding: 20px 24px; margin-bottom: 20px; }
.mt-form__message p { margin: 0 0 0.4em; }
.mt-form__message--ok { text-align: center; background: #f0f7f1; padding: 40px 24px; }
.mt-form__message--erreur { background: #fff5f5; }
.mt-form__message--erreur p { color: #c0392b; }
.mt-form__icone { font-size: 2.5rem; }

/* ===== CONTENU LIBRE (ÉDITEUR DE LA PAGE) ===== */
.mt-libre { padding-top: 60px; padding-bottom: 60px; }
.mt-contenu > * + * { margin-top: 1em; }
.mt-contenu img { border-radius: 12px; }

/* ===== PIED DE PAGE ===== */
.mt-pied { background: var(--marine); padding: var(--espace-section) 0 30px; }
.mt-pied p, .mt-pied li { color: rgba(255, 255, 255, 0.55); font-size: 0.88rem; }
.mt-pied a { color: rgba(255, 255, 255, 0.75); text-decoration: none; transition: color 0.2s; }
.mt-pied a:hover, .mt-pied a.est-actif { color: #fff; }
.mt-pied__colonnes { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.mt-pied__logo { height: 38px; width: auto; filter: brightness(0) invert(1); opacity: 0.85; margin-bottom: 18px; }
.mt-pied__nom { font-family: 'Outfit', sans-serif; font-size: 1.2rem; color: #fff !important; }
.mt-pied__titre { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.mt-pied__liste { list-style: none; margin: 0; padding: 0; line-height: 2; }
.mt-pied__liste a { display: inline; padding: 0; background: none; }
.mt-pied__espace { margin-top: 10px; }
.mt-pied__petit { font-size: 0.78rem !important; opacity: 0.8; line-height: 1.4; }
.mt-pied__bas {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.mt-pied__bas p { margin: 0; font-size: 0.8rem; opacity: 0.75; }

.mt-pied__legal { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; margin: 0; padding: 0; }
.mt-pied__legal li { font-size: 0.8rem; }
.mt-pied__legal button { padding: 0; border: 0; background: none; font: inherit; color: rgba(255, 255, 255, 0.75); cursor: pointer; transition: color 0.2s; }
.mt-pied__legal button:hover { color: #fff; }

/* ===== PAGES LÉGALES ===== */
.mt-legal__section + .mt-legal__section { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--gris-clair); }
.mt-legal h2 { font-size: clamp(1.1rem, 1.7vw, 1.35rem); }
.mt-legal p:last-child { margin-bottom: 0; }

/* ===== BANNIÈRE COOKIES ===== */
.mt-cookies {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 1100;
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: min(420px, calc(100vw - 32px));
	padding: 24px;
	background: var(--marine);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 16px;
	box-shadow: 0 16px 48px rgba(13, 31, 60, 0.35);
}
.mt-cookies[hidden] { display: none; }
.mt-cookies__titre { font-size: 1.05rem; color: #fff; margin-bottom: 6px; }
.mt-cookies p { margin: 0; font-size: 0.88rem; line-height: 1.55; color: rgba(255, 255, 255, 0.75); }
.mt-cookies a { color: #fff; }
/* wrap-reverse : quand les boutons s'empilent sur téléphone, « Accepter » passe au-dessus. */
.mt-cookies__boutons { display: flex; flex-wrap: wrap-reverse; gap: 10px; }
.mt-cookies__boutons .mt-btn { flex: 1 1 auto; }
@media (max-width: 600px) {
	.mt-cookies { right: 16px; bottom: 16px; padding: 20px; }
}

/* ===== APPARITION AU DÉFILEMENT ===== */
.mt-js .mt-apparition { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.mt-js .mt-apparition.est-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.mt-js .mt-apparition { opacity: 1; transform: none; transition: none; }
}

/* ===== TABLETTE ET MOBILE ===== */
@media (max-width: 1023px) {
	.mt-etapes__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mt-grille--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mt-pied__colonnes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.mt-hero__grille, .mt-deux-colonnes, .mt-contact { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.mt-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mt-grille--1 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 781px) {
	.mt-contact__formulaire { padding: 24px; }
}
@media (max-width: 600px) {
	.mt-grille, .mt-grille--2, .mt-grille--4 { grid-template-columns: minmax(0, 1fr); }
	.mt-form__ligne { grid-template-columns: 1fr; }
	.mt-pied__colonnes { grid-template-columns: 1fr; }
	.mt-construction__boite { padding: 40px 24px; }
	/* Étapes en frise verticale */
	.mt-etapes__liste { grid-template-columns: 1fr; gap: 0; }
	.mt-etape { display: flex; align-items: flex-start; gap: 16px; border: 0; border-radius: 0; background: none; padding: 0 0 26px; }
	.mt-etape:hover { box-shadow: none; }
	.mt-etape__numero { flex-shrink: 0; margin: 0; position: relative; z-index: 1; }
	.mt-etape:not(:last-child)::before { content: ''; position: absolute; left: 20px; top: 42px; bottom: 0; width: 2px; background: var(--gris-clair); }
	.mt-etape__texte { padding-top: 9px; }

	/* Avec JavaScript : une seule barre qui se remplit au défilement, les numéros s'allument au passage. */
	.mt-js .mt-etape:not(:last-child)::before { display: none; }
	.mt-js .mt-etapes__rail { display: block; }
	.mt-js .mt-etape__numero {
		background: #fff;
		color: var(--gris);
		border: 2px solid var(--gris-clair);
		transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
	}
	.mt-js .mt-etape.est-atteinte .mt-etape__numero {
		background: var(--bleu-vif);
		color: #fff;
		border-color: var(--bleu-vif);
		box-shadow: 0 0 0 4px rgba(43, 91, 168, 0.15), 0 0 14px rgba(43, 91, 168, 0.45);
	}
}
.mt-etapes__frise { position: relative; }
.mt-etapes__rail {
	display: none;
	position: absolute;
	left: 20px;
	width: 2px;
	background: var(--gris-clair);
	border-radius: 2px;
	pointer-events: none;
}
.mt-etapes__remplissage {
	display: block;
	width: 100%;
	height: 0;
	background: linear-gradient(180deg, var(--bleu-vif), #4f86e0);
	border-radius: 2px;
	box-shadow: 0 0 8px rgba(79, 134, 224, 0.6);
}
