/* ==========================================================================
   LM Theme — feuille de style principale
   Réécriture organisée des maquettes validées (rendu identique).

   Sommaire
   1. Polices et variables (design system)
   2. Base
   3. Mise en page
   4. Typographie
   5. Boutons et liens
   6. Petits composants (étiquette, coordonnées, lignes de parcours)
   7. En-tête et navigation
   8. Menu mobile
   9. Hero
   10. Cartes de réalisation
   11. Section contact et formulaire
   12. Contenu rédigé (éditeur)
   13. Pied de page
   14. Section rendez-vous
   15. Sélection de réalisations
   15 bis. Avis clients en cartes
   16. Cartes d'atouts
   17. En-tête sur deux colonnes et engagements
   18. Texte long avec sommaire
   19. Animations d'entrée
   20. Accessibilité et réduction des animations

   Paliers : 1180, 980, 700 et 380 px.
   ========================================================================== */

/* 1. Polices et variables
   ========================================================================== */

/* Polices hébergées dans le thème (jeu « latin », suffisant pour le français).
   Mona Sans est variable : une seule police couvre toutes les graisses et largeurs. */
@font-face {
	font-family: 'Mona Sans';
	src: url("../fonts/mona-sans-var.woff2") format('woff2');
	font-weight: 200 900;
	font-stretch: 75% 125%;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Shadows Into Light';
	src: url("../fonts/shadows-into-light.woff2") format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

:root {
	/* Couleurs */
	--marine: #102136;
	--marine-nuit: #0B1828;
	--bleu: #0095E6;
	--bleu-fonce: #0071AD;
	--bleu-clair: #2FA8F2;
	--bleu-ciel: #8FD4FF;
	--bleu-pale: #EAF2FA;
	--orange: #FFAD00;
	--gris-clair: #F3F5F8;
	--gris-texte: #4A5A70;
	--filet: #D5DCE6;
	--blanc: #fff;

	/* Dégradés légers : chaque section garde sa couleur de base et reçoit un ou deux halos discrets.
	   Sur fond blanc, les halos ont une hauteur fixe pour rester discrets dans les sections longues. */
	--halo-blanc: radial-gradient(45% 420px at 100% 0%, rgba(47, 168, 242, .11), transparent 70%), radial-gradient(45% 420px at 0% 100%, rgba(255, 173, 0, .09), transparent 70%);
	--halo-blanc-inverse: radial-gradient(45% 420px at 0% 0%, rgba(47, 168, 242, .11), transparent 70%), radial-gradient(45% 420px at 100% 100%, rgba(255, 173, 0, .09), transparent 70%);
	--halo-gris: radial-gradient(45% 420px at 100% 0%, rgba(47, 168, 242, .14), transparent 70%), linear-gradient(var(--gris-clair), #EAF1F8);
	--halo-bleu: radial-gradient(50% 55% at 100% 100%, rgba(255, 214, 120, .2), transparent 70%), linear-gradient(135deg, #0A86D4 0%, var(--bleu) 45%, var(--bleu-clair) 100%);
	--halo-marine: radial-gradient(60% 55% at 0% 0%, rgba(0, 149, 230, .24), transparent 70%), radial-gradient(45% 50% at 100% 100%, rgba(47, 168, 242, .12), transparent 70%);
	--halo-marine-diagonal: radial-gradient(50% 60% at 100% 100%, rgba(0, 149, 230, .22), transparent 70%), linear-gradient(165deg, #0B3357 0%, var(--marine) 60%);

	/* Textes sur fond sombre */
	--sur-sombre: #D3DEEA;
	--sur-sombre-doux: #C9D8E8;
	--sur-sombre-discret: #B4C2D4;
	--surtitre-sombre: #9CC9EE;

	/* Typographie */
	--police: 'Mona Sans', 'Helvetica Neue', Arial, sans-serif;
	--police-main: 'Shadows Into Light', 'Bradley Hand', cursive;

	/* Mise en page */
	--largeur: 1440px;
	--marge: clamp(20px, 4.4vw, 64px);
	--lecture: 760px;
	--nav-h: 98px;

	/* Formes et mouvements */
	--rayon-etiquette: 6px;
	--rayon: 10px;
	--rayon-carte: 14px;
	--rayon-encart: 20px;
	--courbe: cubic-bezier(.2, .8, .2, 1);
}

/* 2. Base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--blanc);
	color: var(--marine);
	font-family: var(--police);
	font-size: 17px;
	font-stretch: 100%;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
	text-decoration: none;
}

img,
svg {
	max-width: 100%;
}

img {
	height: auto;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

.lm-site {
	overflow: clip;
}

/* 3. Mise en page
   ========================================================================== */

.lm-wrap {
	max-width: var(--largeur);
	margin-inline: auto;
	padding-inline: var(--marge);
}

.lm-section {
	padding-block: clamp(72px, 9vw, 132px);
}

/* 4. Typographie
   ========================================================================== */

/* Première ligne d'un titre : capitales. Seconde ligne : manuscrite, en écho au logo. */
.lm-t1 {
	display: block;
}

.lm-t2 {
	display: block;
	font-family: var(--police-main);
	font-weight: 400;
	font-stretch: 100%;
	letter-spacing: .01em;
	word-spacing: -.18em;
	text-transform: none;
}

/* Titre de section : 56 px au maximum. */
.lm-h2 {
	margin: 0;
	font-size: clamp(30px, 3.9vw, 56px);
	font-weight: 700;
	font-stretch: 108%;
	letter-spacing: -.035em;
	line-height: 1;
	text-transform: uppercase;
}

.lm-h2 .lm-t2 {
	margin-top: .06em;
	font-size: clamp(30px, 3.4vw, 48px);
	line-height: 1.1;
	color: var(--bleu);
}

.lm-surtitre {
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
}

/* 5. Boutons et liens
   ========================================================================== */

.lm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 56px;
	padding: 10px 28px;
	border: 2px solid var(--orange);
	border-radius: var(--rayon);
	background: var(--orange);
	color: var(--marine);
	font-size: 13.5px;
	font-weight: 800;
	font-stretch: 112%;
	letter-spacing: .07em;
	line-height: 1.2;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	transition: transform .28s cubic-bezier(.3, 1.7, .5, 1), box-shadow .28s;
}

/* Au survol, le bouton se décale et laisse une ombre nette. */
.lm-btn:hover {
	color: var(--marine);
	transform: translate(-3px, -3px);
	box-shadow: 6px 6px 0 0 var(--blanc);
}

.lm-btn--contour {
	background: transparent;
	border-color: var(--blanc);
	color: var(--blanc);
}

.lm-btn--contour:hover {
	color: var(--blanc);
	box-shadow: 6px 6px 0 0 var(--bleu);
}

.lm-btn--blanc {
	background: var(--blanc);
	border-color: var(--blanc);
}

.lm-btn--blanc:hover,
.lm-btn--marine:hover {
	box-shadow: 6px 6px 0 0 var(--marine);
}

/* Contour marine, sur fond clair. */
.lm-btn--ligne {
	background: transparent;
	border-color: var(--marine);
	color: var(--marine);
}

.lm-btn--ligne:hover {
	box-shadow: 6px 6px 0 0 var(--orange);
}

.lm-btn--petit {
	min-height: 46px;
	padding: 8px 20px;
	font-size: 12px;
}

/* Lien texte : souligné d'un trait fin qui se retire au survol. */
.lm-lien {
	padding: 4px 0;
	font-size: 16.5px;
	font-weight: 500;
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
	transition: background-size .4s;
}

.lm-lien:hover {
	background-size: 0 1px;
	background-position: 100% 100%;
}

/* 6. Petits composants
   ========================================================================== */

.lm-etiquette {
	display: inline-flex;
	padding: 6px 12px;
	border-radius: var(--rayon-etiquette);
	background: var(--bleu-pale);
	color: var(--bleu-fonce);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.lm-chevron {
	transition: transform .35s var(--courbe);
}

/* Coordonnées : pictogramme orange dans une pastille. */
.lm-coord {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lm-coord li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 15px;
	line-height: 1.45;
	color: var(--blanc);
}

.lm-coord li a {
	display: inline-block;
	margin: -9px 0;
	padding: 9px 0;
	font-weight: 600;
}

.lm-coord li span {
	color: var(--sur-sombre-doux);
}

.lm-coord i {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin-top: -6px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	color: var(--orange);
}

.lm-coord--grand {
	gap: 18px;
}

.lm-coord--grand li {
	font-size: 16.5px;
}

.lm-coord--grand i {
	width: 42px;
	height: 42px;
	margin-top: -10px;
	background: rgba(255, 173, 0, .12);
}

/* Lignes de parcours : le seul motif décoratif. Blanches à 20 % sur fond sombre. */
.lm-lignes {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.lm-lignes path {
	stroke: var(--blanc);
	stroke-opacity: .2;
	stroke-width: 1.4;
}

/* Points lumineux qui parcourent les lignes de parcours, sur toutes les pages. */
/* Les points n'apparaissent qu'une fois mis en route par le script (assets/js/animations.js). */
.lm-lignes__point,
.lm-spe__point,
.lm-prestas__point {
	visibility: hidden;
}

.lm-lignes__point.est-en-route,
.lm-spe__point.est-en-route,
.lm-prestas__point.est-en-route {
	visibility: visible;
}

.lm-lignes__point {
	fill: var(--bleu-ciel);
}

/* Variante des pages réalisation : chaque ligne venue du haut part d’un point d’ancrage qui pulse. */
.lm-lignes__ancre {
	fill: var(--bleu-ciel);
	transform-box: fill-box;
	transform-origin: center;
}

@media (prefers-reduced-motion: no-preference) {
	.lm-lignes__ancre {
		animation: lm-ancre 3.2s ease-in-out infinite;
	}

	.lm-lignes__ancre:nth-of-type(2n) {
		animation-delay: -1.6s;
	}
}

@keyframes lm-ancre {
	0%, 100% { opacity: .9; transform: scale(1); }
	50% { opacity: .35; transform: scale(1.8); }
}

/* Sur fond bleu (lignes marine), les points sont blancs. */
.lm-lignes--marine .lm-lignes__point {
	fill: var(--blanc);
}

@media (prefers-reduced-motion: reduce) {
	.lm-lignes__point,
	.lm-spe__point,
	.lm-prestas__point {
		display: none;
	}
}

/* 7. En-tête et navigation
   ==========================================================================
   La barre est collée en haut. Au défilement, elle se resserre en barre
   flottante : la variable --p passe de 0 à 1 sur les 240 premiers pixels
   (réglée par main.js). --defile suit l'avancement dans la page. */

.lm-nav {
	--p: 0;
	--defile: 0;
	position: sticky;
	top: 0;
	z-index: 60;
	display: flow-root;
	height: var(--nav-h);
	margin-bottom: calc(var(--nav-h) * -1);
	color: var(--blanc);
	pointer-events: none;
}

/* Sans JavaScript : barre flottante en permanence, donc toujours lisible. */
html:not(.js) .lm-nav {
	--p: 1;
}

.lm-nav__in {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px 36px;
	width: calc(100% - 24px * var(--p));
	max-width: calc(var(--largeur) - 360px * var(--p));
	margin-top: calc(16px * var(--p));
	padding-block: calc(26px - 18px * var(--p));
	padding-left: calc(var(--marge) + (22px - var(--marge)) * var(--p));
	padding-right: calc(var(--marge) + (10px - var(--marge)) * var(--p));
	border: 1px solid rgb(255 255 255 / calc(.14 * var(--p)));
	border-radius: calc(18px * var(--p));
	background-color: rgb(13 27 45 / calc(.86 * var(--p)));
	box-shadow: 0 18px 40px rgb(6 18 31 / calc(.3 * var(--p)));
	-webkit-backdrop-filter: blur(calc(14px * var(--p))) saturate(calc(1 + .4 * var(--p)));
	backdrop-filter: blur(calc(14px * var(--p))) saturate(calc(1 + .4 * var(--p)));
	pointer-events: auto;
}

.lm-nav__logo {
	display: flex;
}

.lm-nav__logo img {
	display: block;
	width: auto;
	height: calc(36px - 8px * var(--p));
}

.lm-nav__liens {
	display: flex;
	gap: 38px;
}

.lm-nav__liens > a,
.lm-nav__groupe > button {
	position: relative;
	padding: 12px 0;
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: .12em;
	text-transform: uppercase;
}

/* Trait orange qui se trace sous le lien survolé ou actif. */
.lm-nav__liens > a::after,
.lm-nav__groupe > button::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 6px;
	height: 2px;
	border-radius: 2px;
	background: var(--orange);
	transform: scaleX(0);
	transform-origin: 0 50%;
	transition: transform .35s var(--courbe);
}

.lm-nav__liens > a:hover::after,
.lm-nav__liens > a[aria-current]::after,
.lm-nav__groupe > button[aria-current]::after,
.lm-nav__groupe:hover > button::after,
.lm-nav__groupe:focus-within > button::after {
	transform: scaleX(1);
}

.lm-nav__droite {
	display: flex;
	align-items: center;
	gap: 26px;
}

.lm-nav__tel {
	padding: 12px 0;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .02em;
	white-space: nowrap;
}

/* Trait de progression de lecture, sous la barre flottante. */
.lm-nav__progression {
	position: absolute;
	left: 22px;
	right: 22px;
	bottom: -1px;
	height: 2px;
	border-radius: 2px;
	background: var(--orange);
	opacity: min(1, var(--defile) * 33);
	transform: scaleX(var(--defile));
	transform-origin: 0 50%;
}

/* Sous-menu des prestations : panneau blanc au survol. */
.lm-nav__groupe {
	display: flex;
}

.lm-nav__groupe > button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: inherit;
	font-family: inherit;
	font-stretch: inherit;
	line-height: inherit;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.lm-nav__groupe:hover .lm-chevron,
.lm-nav__groupe:focus-within .lm-chevron {
	transform: rotate(180deg);
}

.lm-sousmenu {
	position: absolute;
	z-index: 5;
	left: 50%;
	top: calc(100% - 14px);
	width: min(820px, calc(100vw - 48px));
	padding-top: 22px;
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 12px);
	transition: opacity .3s, transform .4s var(--courbe), visibility .3s;
}

.lm-nav__groupe:hover .lm-sousmenu,
.lm-nav__groupe:focus-within .lm-sousmenu {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}

.lm-sousmenu__in {
	overflow: hidden;
	border-radius: var(--rayon-encart);
	background: var(--blanc);
	color: var(--marine);
	box-shadow: 0 40px 80px rgba(6, 18, 31, .4), 0 0 0 1px rgba(16, 33, 54, .06);
}

.lm-sousmenu__grille {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px;
	padding: 12px;
}

.lm-sousmenu__lien {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 16px;
	border-radius: 12px;
	font-size: 15px;
	line-height: 1.4;
	transition: background-color .25s;
}

.lm-sousmenu__lien:hover {
	background: #EEF4FA;
}

.lm-sousmenu__picto {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: var(--bleu-pale);
	color: var(--bleu-fonce);
	transition: background-color .25s, color .25s;
}

.lm-sousmenu__lien:hover .lm-sousmenu__picto {
	background: var(--marine);
	color: var(--blanc);
}

.lm-sousmenu__texte {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.lm-sousmenu__texte b {
	font-size: 15.5px;
	font-weight: 700;
	letter-spacing: -.01em;
	line-height: 1.2;
}

.lm-sousmenu__texte span {
	font-size: 13.5px;
	line-height: 1.35;
	color: var(--gris-texte);
}

.lm-sousmenu__fleche {
	display: flex;
	margin-left: auto;
	color: var(--orange);
	opacity: 0;
	transform: translateX(-8px);
	transition: opacity .25s, transform .35s var(--courbe);
}

.lm-sousmenu__lien:hover .lm-sousmenu__fleche {
	opacity: 1;
	transform: translateX(0);
}

.lm-sousmenu__pied {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 16px 28px;
	background: var(--marine);
	color: var(--sur-sombre-doux);
	font-size: 14px;
	line-height: 1.4;
}

.lm-sousmenu__pied b {
	color: var(--blanc);
	font-weight: 600;
}

/* Burger : visible sous 980 px. */
.lm-burger {
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(255, 255, 255, .4);
	border-radius: 50%;
	color: var(--blanc);
	cursor: pointer;
}

.lm-burger i {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform .4s var(--courbe);
}

.lm-nav__case {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.lm-mm {
	display: none;
}

/* Au-delà de 980 px (seuil du menu mobile), la commande du menu n'existe pas : elle sort de la tabulation. */
@media (min-width: 981px) {
	.lm-nav__case {
		display: none;
	}
}

@media (max-width: 1180px) {
	.lm-nav__tel {
		display: none;
	}

	.lm-nav__liens {
		gap: 28px;
	}
}

/* 8. Menu mobile (≤ 980 px)
   ==========================================================================
   Plein écran, il s'ouvre en cercle depuis le burger. */

@media (max-width: 980px) {
	.lm-nav__liens {
		display: none;
	}

	.lm-burger {
		display: flex;
	}

	/* Deux règles séparées : un navigateur qui ignore :has() écarterait toute la règle groupée.
	   La classe est posée par le script pour ces navigateurs. */
	html:has(.lm-nav__case:checked) {
		overflow: hidden;
	}

	html.lm-menu-ouvert {
		overflow: hidden;
	}

	.lm-nav__in {
		z-index: 2;
	}

	.lm-mm {
		position: fixed;
		inset: 0;
		z-index: 1;
		display: block;
		padding: 118px 24px 32px;
		overflow-y: auto;
		background: linear-gradient(165deg, #0A4E82 0%, #0B3357 34%, var(--marine) 72%);
		color: var(--blanc);
		pointer-events: none;
		visibility: hidden;
		clip-path: circle(0 at calc(100% - 48px) 50px);
		transition: clip-path .55s cubic-bezier(.7, 0, .2, 1), visibility 0s .55s;
	}

	.lm-nav__case:checked ~ .lm-mm {
		pointer-events: auto;
		visibility: visible;
		clip-path: circle(150vmax at calc(100% - 48px) 50px);
		transition: clip-path .7s cubic-bezier(.7, 0, .2, 1), visibility 0s;
	}

	/* Le burger devient une croix, la barre redevient transparente. */
	.lm-nav__case:checked ~ .lm-nav__in .lm-burger i:first-child {
		transform: translateY(3.5px) rotate(45deg);
	}

	.lm-nav__case:checked ~ .lm-nav__in .lm-burger i:last-child {
		transform: translateY(-3.5px) rotate(-45deg);
	}

	.lm-nav__case:checked ~ .lm-nav__in {
		border-color: transparent;
		background-color: transparent;
		box-shadow: none;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}

	.lm-nav__case:checked ~ .lm-nav__in .lm-nav__progression,
	.lm-nav__case:checked ~ .lm-nav__in .lm-btn {
		opacity: 0;
		pointer-events: none;
	}

	/* Masqué, le bouton ne doit plus pouvoir recevoir le focus. */
	.lm-nav__case:checked ~ .lm-nav__in .lm-btn {
		visibility: hidden;
	}

	.lm-nav__case:focus-visible ~ .lm-nav__in .lm-burger {
		outline: 2px solid var(--orange);
		outline-offset: 3px;
	}

	.lm-mm__liste {
		display: flex;
		flex-direction: column;
		max-width: 560px;
		margin: 0 auto;
	}

	/* Les entrées montent l'une après l'autre à l'ouverture. */
	.lm-mm__liste > * {
		opacity: 0;
		transform: translateY(22px);
		transition: opacity .25s, transform .25s;
	}

	.lm-nav__case:checked ~ .lm-mm .lm-mm__liste > * {
		opacity: 1;
		transform: none;
		transition: opacity .5s, transform .6s var(--courbe);
	}

	.lm-nav__case:checked ~ .lm-mm .lm-mm__liste > :nth-child(1) { transition-delay: .18s; }
	.lm-nav__case:checked ~ .lm-mm .lm-mm__liste > :nth-child(2) { transition-delay: .24s; }
	.lm-nav__case:checked ~ .lm-mm .lm-mm__liste > :nth-child(3) { transition-delay: .30s; }
	.lm-nav__case:checked ~ .lm-mm .lm-mm__liste > :nth-child(4) { transition-delay: .36s; }
	.lm-nav__case:checked ~ .lm-mm .lm-mm__liste > :nth-child(5) { transition-delay: .42s; }
	.lm-nav__case:checked ~ .lm-mm .lm-mm__liste > :nth-child(n+6) { transition-delay: .52s; }

	.lm-mm__lien {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		padding: 17px 0;
		border-bottom: 1px solid rgba(255, 255, 255, .14);
		font-size: clamp(26px, 7.4vw, 34px);
		font-weight: 800;
		font-stretch: 112%;
		letter-spacing: -.035em;
		line-height: 1.1;
		text-transform: uppercase;
		list-style: none;
		cursor: pointer;
	}

	.lm-mm__lien::-webkit-details-marker {
		display: none;
	}

	.lm-mm__groupe[open] .lm-chevron {
		transform: rotate(180deg);
	}

	.lm-mm__groupe[open] > summary {
		border-bottom-color: transparent;
	}

	.lm-mm__sous {
		display: flex;
		flex-direction: column;
		padding: 2px 0 14px;
		border-bottom: 1px solid rgba(255, 255, 255, .14);
	}

	.lm-mm__sous a {
		display: flex;
		align-items: center;
		gap: 14px;
		min-height: 48px;
		font-size: 16.5px;
		font-weight: 500;
		line-height: 1.3;
		color: var(--sur-sombre);
	}

	.lm-mm__sous svg {
		flex: none;
		color: var(--bleu-clair);
	}

	.lm-mm__pied {
		display: flex;
		flex-direction: column;
		gap: 28px;
		margin-top: 30px;
	}

	.lm-mm__pied .lm-btn {
		align-self: stretch;
	}
}

@media (max-width: 700px) {
	.lm-nav__droite {
		gap: 10px;
	}

	.lm-btn--petit {
		min-height: 42px;
		padding: 6px 14px;
		font-size: 11px;
	}
}

@media (max-width: 380px) {
	.lm-nav__in {
		gap: 8px;
		padding-left: 14px;
		padding-right: 8px;
	}

	.lm-nav__droite {
		gap: 6px;
	}

	.lm-nav .lm-btn--petit {
		padding: 6px 10px;
		font-size: 10.5px;
		letter-spacing: .04em;
	}

	.lm-burger {
		width: 40px;
		height: 40px;
	}

	.lm-nav__logo img {
		height: 28px;
	}
}

/* 9. Hero
   ========================================================================== */

.lm-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-top: var(--nav-h);
	overflow: clip;
	background: linear-gradient(102deg, #0A5488 0%, #0B3357 38%, var(--marine) 76%);
	color: var(--blanc);
}

.lm-hero--interieur {
	min-height: 62vh;
}

.lm-hero__in {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	min-width: 0;
	padding-top: clamp(48px, 6vw, 90px);
	padding-bottom: clamp(110px, 11vw, 170px);
	text-align: center;
}

.lm-hero__surtitre {
	margin: clamp(18px, 2vw, 28px) 0 0;
	color: #CFE6F8;
}

/* Titre de hero : ligne principale à 74 px au maximum (66 px sur les pages intérieures) ;
   ligne manuscrite jusqu'à 88 px, écart à la charte validé par Luc le 20/11/2026. */
.lm-hero__titre {
	margin: clamp(22px, 2.6vw, 36px) 0 0;
	color: var(--blanc);
}

.lm-hero__titre .lm-t1 {
	font-size: clamp(34px, 5.2vw, 74px);
	font-weight: 700;
	font-stretch: 108%;
	letter-spacing: -.035em;
	line-height: 1;
	text-transform: uppercase;
	text-shadow: 0 2px 34px rgba(9, 33, 58, .5);
	overflow-wrap: break-word;
}

.lm-hero__titre .lm-t2 {
	margin-top: -.04em;
	font-size: clamp(42px, 6.2vw, 88px);
	line-height: 1.05;
	color: var(--bleu-ciel);
	text-shadow: 0 2px 28px rgba(9, 33, 58, .55);
	transform: rotate(-3.5deg);
	transform-origin: 50% 60%;
}

.lm-hero--interieur .lm-t1 {
	font-size: clamp(32px, 4.6vw, 66px);
}

.lm-hero--interieur .lm-t2 {
	font-size: clamp(40px, 5.6vw, 80px);
}

.lm-hero__intro {
	max-width: 680px;
	margin: clamp(22px, 2.4vw, 34px) 0 0;
	font-size: clamp(16px, 1.25vw, 18px);
	line-height: 1.6;
	color: var(--sur-sombre);
	text-wrap: balance;
}

.lm-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px 34px;
	margin: 32px 0 0;
}

/* Page introuvable : le hero occupe tout l'écran. */
.lm-hero--404 {
	min-height: 100vh;
	min-height: 100svh;
}

/* Pastille au-dessus du titre : type de site d'un projet, catégorie d'un article. */
.lm-hero__etiquette {
	display: inline-flex;
	margin: 22px 0 0;
	padding: 7px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .12);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .12em;
	line-height: 1.4;
	text-transform: uppercase;
}

/* Fil d'Ariane : discret, au-dessus du titre. */
.lm-fil {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 8px;
	font-size: 12.5px;
	letter-spacing: .01em;
	line-height: 1.5;
	color: rgba(207, 230, 248, .55);
}

.lm-fil a {
	color: rgba(207, 230, 248, .7);
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
	transition: background-size .3s, color .2s;
}

.lm-fil a:hover {
	color: var(--blanc);
	background-size: 100% 1px;
}

.lm-fil > span[aria-hidden] {
	opacity: .5;
}

/* Jusqu'à 900 px : le motif disparaît, sauf dans le hero, où il reste en version légère
   (lignes plus discrètes, trois points seulement). */
@media (max-width: 900px) {
	.lm-lignes {
		display: none;
	}

	.lm-hero .lm-lignes:not(.lm-lignes--projet) {
		display: block;
	}

	.lm-hero .lm-lignes path {
		stroke-opacity: .13;
	}

	.lm-hero .lm-lignes__point:nth-of-type(n+4) {
		display: none;
	}
}

@media (max-width: 700px) {
	.lm-hero__titre .lm-t1 {
		font-size: 42px;
	}

	.lm-hero__titre .lm-t2 {
		margin-top: 0;
		font-size: 50px;
	}

	.lm-hero--interieur .lm-t1 {
		font-size: 34px;
	}

	.lm-hero--interieur .lm-t2 {
		font-size: 46px;
	}

	.lm-hero__actions {
		flex-direction: column;
		align-self: stretch;
	}

	.lm-hero__actions .lm-btn {
		align-self: stretch;
	}

	.lm-h2 {
		font-size: 30px;
		overflow-wrap: break-word;
	}

	.lm-h2 .lm-t2 {
		font-size: 34px;
	}
}

@media (max-width: 380px) {
	.lm-hero__titre .lm-t1 {
		font-size: 36px;
	}

	.lm-hero__titre .lm-t2 {
		font-size: 44px;
	}

	.lm-hero--interieur .lm-t1 {
		font-size: 30px;
	}

	.lm-hero--interieur .lm-t2 {
		font-size: 40px;
	}

	.lm-h2 {
		font-size: 27px;
	}

	.lm-hero__actions .lm-btn {
		white-space: normal;
		text-align: center;
	}
}

/* 10. Cartes de réalisation
   ==========================================================================
   La capture du site est montrée entière, dans une fenêtre de navigateur.
   Version par défaut : sur fond clair. Modificateur --sombre : sur fond marine. */

.lm-grille-rea {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(40px, 4.4vw, 64px) clamp(20px, 2.4vw, 34px);
}

/* Page « Réalisations » : la grille complète, sur fond blanc. */
.lm-liste-rea {
	padding: clamp(56px, 7vw, 100px) 0 clamp(80px, 10vw, 150px);
}

.lm-carte-rea {
	display: flex;
	flex-direction: column;
	color: var(--marine);
}

.lm-fenetre {
	display: block;
	overflow: hidden;
	border: 1px solid var(--filet);
	border-radius: var(--rayon-carte);
	background: var(--blanc);
	box-shadow: 0 20px 40px rgba(16, 33, 54, .1);
	transition: transform .5s var(--courbe), box-shadow .5s, border-color .5s;
}

.lm-fenetre__barre {
	display: flex;
	align-items: center;
	gap: 7px;
	height: 38px;
	padding: 0 16px;
	border-bottom: 1px solid #E3E8EF;
	background: var(--gris-clair);
}

.lm-fenetre__barre i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #C9D3DF;
}

.lm-fenetre__barre i:first-child {
	background: var(--orange);
}

.lm-fenetre__barre em {
	flex: 1;
	max-width: 46%;
	height: 16px;
	margin: 0 auto;
	border-radius: 8px;
	background: #E3E8EF;
}

.lm-fenetre__capture {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.lm-fenetre__capture img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
	transition: transform 1.1s var(--courbe);
}

/* Sans capture : les initiales du projet sur un fond bleu pâle. */
.lm-fenetre__vide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--bleu-pale), #CFE1F3);
}

.lm-fenetre__vide b {
	font-size: clamp(34px, 4vw, 58px);
	font-weight: 800;
	font-stretch: 112%;
	letter-spacing: -.04em;
	line-height: 1;
	opacity: .85;
}

.lm-carte-rea__meta {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	padding: 18px 4px 0;
}

.lm-carte-rea__texte {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.lm-carte-rea__texte .lm-etiquette {
	align-self: flex-start;
	margin-bottom: 6px;
	font-size: 10.5px;
}

.lm-carte-rea__nom {
	margin: 0;
	color: inherit;
	font-size: clamp(16px, 1.4vw, 20px);
	font-weight: 800;
	font-stretch: 112%;
	letter-spacing: -.025em;
	line-height: 1.1;
	text-transform: uppercase;
}

.lm-carte-rea__texte > span:not(.lm-etiquette) {
	font-size: 14.5px;
	line-height: 1.45;
	color: var(--gris-texte);
}

.lm-carte-rea__aller {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-top: 22px;
	border: 1.5px solid #C3CEDB;
	border-radius: 50%;
	transition: background-color .35s, border-color .35s, color .35s, transform .35s;
}

.lm-carte-rea:hover .lm-fenetre {
	border-color: var(--sur-sombre-discret);
	box-shadow: 0 36px 64px rgba(16, 33, 54, .2);
	transform: translateY(-8px);
}

.lm-carte-rea:hover .lm-fenetre__capture img {
	transform: scale(1.05);
}

.lm-carte-rea:hover .lm-carte-rea__aller {
	border-color: var(--orange);
	background: var(--orange);
	color: var(--marine);
	transform: rotate(-45deg);
}

/* Sur fond marine */
.lm-carte-rea--sombre {
	color: var(--blanc);
}

.lm-carte-rea--sombre .lm-fenetre {
	border-color: rgba(255, 255, 255, .16);
	background: var(--marine-nuit);
	box-shadow: 0 30px 60px rgba(4, 12, 22, .45);
}

.lm-carte-rea--sombre .lm-fenetre__barre {
	border-bottom-color: rgba(255, 255, 255, .1);
	background: #16283F;
}

.lm-carte-rea--sombre .lm-fenetre__barre i:not(:first-child) {
	background: rgba(255, 255, 255, .28);
}

.lm-carte-rea--sombre .lm-fenetre__barre em {
	background: rgba(255, 255, 255, .09);
}

.lm-carte-rea--sombre .lm-carte-rea__texte > span:not(.lm-etiquette) {
	color: var(--sur-sombre-discret);
}

.lm-carte-rea--sombre .lm-carte-rea__aller {
	border-color: rgba(255, 255, 255, .34);
}

.lm-carte-rea--sombre:hover .lm-fenetre {
	border-color: rgba(255, 255, 255, .34);
	box-shadow: 0 44px 80px rgba(4, 12, 22, .6);
}

@media (max-width: 980px) {
	.lm-grille-rea {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.lm-grille-rea {
		grid-template-columns: minmax(0, 1fr);
	}

	.lm-fenetre__barre {
		height: 30px;
	}
}

/* 11. Section contact et formulaire
   ========================================================================== */

.lm-contact {
	position: relative;
	padding: clamp(80px, 9vw, 140px) 0;
	overflow: clip;
	background: var(--marine);
	background-image: var(--halo-marine-diagonal);
	color: var(--blanc);
}

/* Lignes de fond : uniquement dans la moitié droite, derrière le formulaire. */
.lm-contact__flux,
.lm-contact__points {
	position: absolute;
	top: 0;
	left: 50%;
	width: 50%;
	height: 100%;
	pointer-events: none;
}

.lm-contact__flux path {
	vector-effect: non-scaling-stroke;
	stroke: var(--blanc);
	stroke-opacity: .18;
	stroke-width: 1.4;
}

/* Les points : de petites pastilles déplacées par le script (assets/js/animations.js),
   en transformation seule pour rester fluides. Invisibles tant qu'elles ne sont pas en route. */
.lm-contact__points i {
	position: absolute;
	top: -3px;
	left: -3px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #8FD4FF;
	visibility: hidden;
	will-change: transform;
}

.lm-contact__points i.est-en-route {
	visibility: visible;
}

@media (max-width: 980px) {
	.lm-contact__flux,
	.lm-contact__points {
		display: none;
	}
}

.lm-contact__grille {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	align-items: center;
	gap: 40px clamp(36px, 5vw, 80px);
}

.lm-contact .lm-surtitre {
	display: block;
	margin-bottom: 18px;
	color: var(--surtitre-sombre);
}

.lm-contact .lm-h2 .lm-t2 {
	color: var(--bleu-clair);
}

.lm-contact__intro {
	max-width: 460px;
	margin-top: 24px;
	font-size: 16.5px;
	line-height: 1.65;
	color: var(--sur-sombre-doux);
}

.lm-contact__intro p {
	margin: 0;
}

.lm-contact__intro p + p {
	margin-top: 12px;
}

.lm-contact .lm-coord {
	margin-top: 34px;
	padding-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, .16);
}

/* Le pied de page qui suit garde un filet de séparation. */
main:has(> .lm-contact:last-child) + .lm-pied .lm-pied__grille {
	border-top: 1px solid rgba(255, 255, 255, .14);
}

/* Carte blanche du formulaire (Fluent Forms).
   Champs de 50 px, libellé au-dessus, contour bleu au focus. */
.lm-form {
	padding: clamp(26px, 3vw, 44px);
	border-radius: 16px;
	background: var(--blanc);
	color: var(--marine);
	box-shadow: 0 40px 80px rgba(4, 12, 22, .5);
}

/* Formulaire indisponible : texte de secours et lien vers l'e-mail, dans le même cadre. */
.lm-form--secours p {
	margin: 0 0 12px;
	font-size: 16px;
	line-height: 1.6;
}

.lm-form--secours p:last-child {
	margin-bottom: 0;
}

.lm-form--secours a {
	color: var(--marine);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lm-form form,
.lm-form fieldset {
	margin: 0;
	padding: 0;
	border: 0;
}

.lm-form .ff-el-group {
	margin: 0 0 16px;
}

/* Deux champs côte à côte : classe « lm-demi » posée sur le champ dans Fluent Forms. */
.lm-form form > fieldset {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 16px;
	min-width: 0;
}

.lm-form form > fieldset > * {
	grid-column: 1 / -1;
}

.lm-form form > fieldset > .lm-demi {
	grid-column: auto;
}

.lm-form .ff-el-input--label {
	margin: 0 0 8px;
}

.lm-form .ff-el-input--label label {
	margin: 0;
	color: var(--gris-texte);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.lm-form .ff-el-form-control {
	width: 100%;
	min-height: 50px;
	padding: 13px 16px;
	border: 1.5px solid var(--filet);
	border-radius: var(--rayon);
	background: #F7F9FB;
	color: var(--marine);
	font-family: var(--police);
	font-size: 15.5px;
	line-height: 1.4;
	box-shadow: none;
	transition: border-color .2s, background-color .2s;
}

/* Liste déroulante : même apparence que les autres champs, flèche dessinée. */
.lm-form .fluentform select.ff-el-form-control:not([size]):not([multiple]) {
	height: 50px;
	padding-right: 44px;
	background-color: #F7F9FB;
	-webkit-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%23102136' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.500'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
}

/* Astérisque des champs obligatoires : discret, sans rouge. */
.lm-form .fluentform .ff-el-input--label.ff-el-is-required.asterisk-right label::after {
	margin-left: 4px;
	color: var(--bleu-fonce);
}

.lm-form textarea.ff-el-form-control {
	min-height: 130px;
	resize: vertical;
}

.lm-form .ff-el-form-control:focus,
.lm-form .fluentform select.ff-el-form-control:not([size]):not([multiple]):focus {
	border-color: var(--bleu);
	background-color: var(--blanc);
	outline: none;
	box-shadow: none;
}

.lm-form .ff-el-form-control::placeholder {
	color: var(--gris-texte);
	opacity: 1;
}

.lm-form .ff_submit_btn_wrapper {
	margin: 22px 0 0;
}

/* Le bouton d'envoi reprend le bouton orange du site. */
.lm-form .fluentform .ff-btn-submit,
.lm-form .fluentform .ff-btn-submit:not(.ff_btn_no_style) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 56px;
	padding: 10px 28px;
	border: 2px solid var(--orange);
	border-radius: var(--rayon);
	background: var(--orange);
	color: var(--marine);
	font-family: var(--police);
	font-size: 13.5px;
	font-weight: 800;
	font-stretch: 112%;
	letter-spacing: .07em;
	line-height: 1.2;
	text-transform: uppercase;
	cursor: pointer;
	opacity: 1;
	transition: transform .28s cubic-bezier(.3, 1.7, .5, 1), box-shadow .28s;
}

.lm-form .fluentform .ff-btn-submit:hover,
.lm-form .fluentform .ff-btn-submit:not(.ff_btn_no_style):hover {
	background: var(--orange);
	color: var(--marine);
	opacity: 1;
	transform: translate(-3px, -3px);
	box-shadow: 6px 6px 0 0 var(--marine);
}

.lm-form .ff-el-is-error .ff-el-form-control {
	border-color: #C62828;
}

.lm-form .error,
.lm-form .text-danger {
	margin-top: 6px;
	color: #C62828;
	font-size: 13.5px;
	line-height: 1.4;
}

.lm-form .ff-message-success {
	margin: 0;
	padding: 0;
	border: 0;
	box-shadow: none;
	font-size: 16.5px;
	line-height: 1.6;
}

@media (max-width: 980px) {
	.lm-contact__grille {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 700px) {
	.lm-form form > fieldset > .lm-demi {
		grid-column: 1 / -1;
	}

	.lm-form .fluentform .ff-btn-submit,
	.lm-form .fluentform .ff-btn-submit:not(.ff_btn_no_style) {
		width: 100%;
	}
}

/* 12. Contenu rédigé dans l'éditeur
   ==========================================================================
   Colonne de lecture de 760 px. Les styles d'article détaillés
   (encadrés, sommaire…) sont ajoutés avec le modèle d'article. */

.lm-prose {
	max-width: var(--lecture);
	margin-inline: auto;
	font-size: clamp(16.5px, 1.2vw, 17.5px);
	line-height: 1.7;
}

.lm-prose > :first-child {
	margin-top: 0;
}

.lm-prose > :last-child {
	margin-bottom: 0;
}

.lm-prose h2 {
	margin: 2em 0 .6em;
	font-size: clamp(26px, 2.6vw, 37px);
	font-weight: 800;
	letter-spacing: -.03em;
	line-height: 1.12;
}

.lm-prose h3 {
	margin: 1.8em 0 .5em;
	font-size: clamp(21px, 1.8vw, 26px);
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.2;
}

.lm-prose h4 {
	margin: 1.8em 0 .5em;
	color: var(--bleu-fonce);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.lm-prose p,
.lm-prose ul,
.lm-prose ol {
	margin: 0 0 1.2em;
}

.lm-prose a {
	color: var(--bleu-fonce);
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
	transition: background-size .4s;
}

.lm-prose a:hover {
	background-size: 0 1px;
	background-position: 100% 100%;
}

.lm-prose img {
	border-radius: var(--rayon-carte);
}

/* 13. Pied de page
   ========================================================================== */

.lm-pied {
	background: var(--marine);
	/* Bleu nuit uni, raccordé à la section contact : en haut, la lueur de la section du dessus
	   s'éteint sur quelques centaines de pixels (même couleur, même largeur) ; le clair revient
	   seulement en bas à droite. */
	background-image:
		radial-gradient(50% 280px at 100% 0%, rgba(0, 149, 230, .22), transparent 70%),
		radial-gradient(50% 60% at 100% 100%, rgba(0, 149, 230, .22), transparent 70%);
	color: var(--blanc);
}

.lm-pied__grille {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, .6fr) minmax(0, 1fr) minmax(0, 1.5fr);
	gap: 40px;
	padding-top: clamp(56px, 7vw, 96px);
}

.lm-pied__presentation {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.lm-pied__presentation img {
	display: block;
	width: 96px;
	height: auto;
}

.lm-pied__presentation p {
	max-width: 300px;
	margin: 0;
	font-size: 14.5px;
	line-height: 1.65;
	color: var(--sur-sombre-discret);
}

.lm-pied__titre {
	margin: 0 0 14px;
	color: var(--surtitre-sombre);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .14em;
	line-height: 1.5;
	text-transform: uppercase;
}

.lm-pied ul:not(.lm-coord) {
	margin: 0;
	padding: 0;
	list-style: none;
}

.lm-pied ul:not(.lm-coord) a {
	display: inline-block;
	padding: 5px 0;
	color: var(--sur-sombre-discret);
	font-size: 14px;
	line-height: 1.45;
	transition: color .2s;
}

.lm-pied ul:not(.lm-coord) a:hover {
	color: var(--blanc);
}

.lm-pied__colonnes {
	columns: 2 180px;
	column-gap: 24px;
}

.lm-pied__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px;
	margin-top: 48px;
	padding: 22px 0 30px;
	border-top: 1px solid rgba(255, 255, 255, .14);
	color: #8FA0B6;
	font-size: 12.5px;
	line-height: 1.5;
}

@media (max-width: 980px) {
	.lm-pied__grille {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.lm-pied__grille {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* 14. Section rendez-vous
   ==========================================================================
   Fond bleu : titre, phrase penchée, deux boutons, puis l'agenda Calendly. */

.lm-rdv {
	position: relative;
	padding: clamp(84px, 10vw, 150px) 0;
	overflow: clip;
	background: var(--bleu);
	background-image: radial-gradient(45% 50% at 0% 100%, rgba(255, 214, 120, .22), transparent 70%), linear-gradient(160deg, var(--bleu-clair) 0%, var(--bleu) 45%, #0079C2 100%);
	color: var(--marine);
	text-align: center;
}

.lm-lignes--marine path {
	stroke: var(--marine);
	stroke-opacity: .22;
}

.lm-rdv__in {
	position: relative;
}

.lm-rdv .lm-h2 .lm-t2 {
	color: var(--blanc);
}

.lm-rdv__texte {
	display: inline-block;
	max-width: 620px;
	margin: 30px 0 0;
	padding: 12px 22px;
	background: var(--marine);
	color: var(--blanc);
	font-size: clamp(15px, 1.25vw, 18px);
	line-height: 1.5;
	text-wrap: balance;
	transform: rotate(-1.6deg);
}

.lm-rdv__suite {
	max-width: 640px;
	margin: 26px auto 0;
	font-size: 16.5px;
	line-height: 1.6;
	color: #06121F;
}

.lm-rdv__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	margin-top: 34px;
}

.lm-rdv__agenda {
	max-width: 920px;
	margin: clamp(48px, 6vw, 84px) auto 0;
	overflow: hidden;
	border-radius: 12px;
	background: var(--blanc);
	box-shadow: 0 30px 70px rgba(9, 40, 72, .3);
}

.lm-rdv__agenda iframe {
	display: block;
	width: 100%;
	height: 700px;
	border: 0;
}

@media (max-width: 700px) {
	.lm-rdv__actions {
		flex-direction: column;
		align-items: stretch;
	}
}

/* 15. Sélection de réalisations (accueil, prestation, page locale)
   ========================================================================== */

.lm-selection {
	padding: clamp(56px, 7vw, 100px) 0 clamp(72px, 8vw, 120px);
	background: var(--marine);
	background-image: var(--halo-marine);
	color: var(--blanc);
}

.lm-selection__tete {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 40px;
}

.lm-selection .lm-h2 .lm-t2 {
	color: var(--bleu-clair);
}

.lm-selection__tete .lm-lien {
	margin-bottom: 10px;
}

.lm-selection__cartes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(28px, 3.4vw, 52px) clamp(22px, 3vw, 44px);
	margin-top: clamp(32px, 4vw, 56px);
}

.lm-selection .lm-carte-rea__meta {
	align-items: center;
	padding-top: 22px;
}

.lm-selection .lm-carte-rea__nom {
	font-size: clamp(18px, 1.9vw, 27px);
}

.lm-selection .lm-carte-rea__texte > span:not(.lm-etiquette) {
	font-size: 15.5px;
}

.lm-selection .lm-carte-rea__aller {
	width: 52px;
	height: 52px;
	margin-top: 0;
}

/* Variante à trois cartes alignées. */
.lm-selection--trois .lm-selection__cartes {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lm-selection--trois .lm-selection__cartes .lm-carte-rea:nth-child(n) {
	margin-top: 0;
}

@media (max-width: 980px) {
	.lm-selection--trois .lm-selection__cartes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Une carte sur deux est décalée vers le bas. */
@media (min-width: 701px) {
	.lm-selection .lm-carte-rea:nth-child(2n) {
		margin-top: clamp(40px, 6vw, 88px);
	}
}

/* Sur téléphone : une rangée que l'on fait glisser du doigt. */
@media (max-width: 700px) {
	.lm-selection__cartes {
		display: flex;
		gap: 18px;
		margin-right: calc(var(--marge) * -1);
		padding-right: var(--marge);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.lm-selection__cartes::-webkit-scrollbar {
		display: none;
	}

	.lm-selection .lm-carte-rea {
		flex: 0 0 84%;
		scroll-snap-align: start;
	}

	.lm-selection .lm-carte-rea__nom {
		font-size: 18px;
	}

	.lm-selection .lm-carte-rea__texte > span:not(.lm-etiquette) {
		font-size: 14.5px;
	}

	.lm-selection .lm-carte-rea__aller {
		width: 44px;
		height: 44px;
	}
}

/* 15 bis. Avis clients en cartes (accueil, page locale ou métier)
   ========================================================================== */

.lm-avis {
	padding: clamp(72px, 9vw, 130px) 0;
	background: var(--blanc);
	background-image: radial-gradient(45% 40% at 0% 0%, rgba(255, 173, 0, .09), transparent 70%), radial-gradient(50% 45% at 100% 100%, rgba(47, 168, 242, .12), transparent 70%), linear-gradient(var(--blanc), #F5F9FD);
}

.lm-avis__in {
	max-width: var(--largeur);
	margin-inline: auto;
	padding-inline: var(--marge);
}

.lm-avis__tete {
	text-align: center;
}

.lm-avis__fiche {
	margin: 28px 0 0;
}

.lm-avis__fiche + .lm-avis__note {
	margin-top: 18px;
}

.lm-avis__note {
	margin-top: 28px;
}

.lm-avis__widget {
	max-width: 1100px;
	margin: 44px auto 0;
}

/* Cartes d'avis : en grille par défaut (téléphone, tablette, sans animation). */
.lm-avis__cartes {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	align-items: start;
	max-width: 1100px;
	margin: 44px auto 0;
	padding: 0;
	list-style: none;
}

.lm-carte-avis {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 22px 22px 20px;
	border-radius: var(--rayon);
	background: #D9E8F6;
	color: var(--marine);
	box-shadow: 0 22px 46px rgba(16, 33, 54, .2);
}

/* Trois teintes, dans l'ordre de la maquette (huit cartes au plus). */
.lm-carte-avis--2,
.lm-carte-avis--6 {
	background: var(--marine);
	color: var(--blanc);
}

.lm-carte-avis--3,
.lm-carte-avis--4,
.lm-carte-avis--7 {
	background: var(--bleu);
	color: #06121F;
}

.lm-carte-avis__etoiles {
	/* Même jaune sur toutes les cartes, avec un léger contour pour rester lisible sur le bleu. */
	text-shadow: 0 0 1px rgba(6, 18, 31, .35);
	font-size: 16px;
	letter-spacing: 3px;
	line-height: 1;
	color: var(--orange);
}

/* Note inférieure à 5 : les étoiles restantes en gris. */
.lm-carte-avis__etoiles .est-vide {
	color: rgba(6, 18, 31, .2);
	text-shadow: none;
}

.lm-carte-avis blockquote {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.55;
}

.lm-carte-avis__auteur {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 4px 0 0;
	font-size: 13px;
	line-height: 1.4;
}

/* Initiale du client dans une pastille orange, lisible sur les trois teintes de carte. */
.lm-carte-avis__pastille {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--orange);
	font-size: 15px;
	font-style: normal;
	font-weight: 800;
	line-height: 1;
	color: var(--marine);
}

.lm-carte-avis__qui b {
	display: block;
	font-weight: 700;
}

.lm-carte-avis__qui span {
	display: block;
	opacity: .8;
}

@media (max-width: 980px) {
	.lm-avis__cartes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.lm-avis__cartes {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Version simple (pages locales et métiers) : les cartes restent centrées, quel que soit leur nombre. */
.lm-avis--simple .lm-avis__cartes {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 340px));
	justify-content: center;
}

/* 16. Cartes d'atouts : pictogramme, titre et phrase sur fond blanc
   ========================================================================== */

.lm-atouts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 2.6vw, 40px);
	margin: clamp(32px, 4vw, 56px) 0 0;
	padding: 0;
	list-style: none;
}

.lm-atout {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: clamp(320px, 31vw, 440px);
	padding: 44px 28px;
	border-radius: var(--rayon);
	background: var(--blanc);
	color: var(--marine);
	text-align: center;
	box-shadow: 0 24px 50px rgba(4, 12, 22, .28);
}

.lm-atout svg {
	flex: none;
	color: var(--bleu);
}

.lm-atout h3 {
	margin: 26px 0 0;
	font-size: clamp(20px, 1.9vw, 27px);
	font-weight: 800;
	font-stretch: 112%;
	letter-spacing: -.03em;
	line-height: 1.04;
	text-transform: uppercase;
	text-wrap: balance;
}

.lm-atout p {
	max-width: 300px;
	margin: 18px 0 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--gris-texte);
}

@media (max-width: 980px) {
	.lm-atouts {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 700px) {
	.lm-atout {
		min-height: 0;
	}

	.lm-atout h3 {
		font-size: 22px;
	}
}

/* 17. En-tête de section sur deux colonnes et engagements
   ========================================================================== */

/* Titre à gauche, texte d'introduction à droite, alignés par le bas. */
.lm-duo {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
	gap: 28px clamp(32px, 5vw, 80px);
	align-items: end;
}

.lm-duo .lm-h2 {
	font-size: clamp(30px, 3.6vw, 52px);
}

.lm-duo .lm-h2 .lm-t2 {
	font-size: clamp(28px, 3.2vw, 46px);
}

.lm-duo > p {
	margin: 0;
	font-size: clamp(16px, 1.25vw, 18.5px);
	line-height: 1.65;
	color: var(--gris-texte);
}

@media (max-width: 980px) {
	.lm-duo {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 700px) {
	.lm-duo .lm-h2 {
		font-size: 29px;
	}

	.lm-duo .lm-h2 .lm-t2 {
		font-size: 31px;
	}
}

/* Section « Mes engagements » */

.lm-engagements .lm-atouts {
	margin-top: clamp(40px, 5vw, 72px);
}

.lm-engagements .lm-atout {
	border: 1px solid var(--filet);
	box-shadow: 0 22px 44px rgba(16, 33, 54, .09);
}

/* Pictogrammes pleins (et non au trait) : ils prennent la couleur par le remplissage. */
.lm-atout--plein svg {
	fill: var(--bleu);
}

/* 18. Texte long avec sommaire (article, page locale ou métier)
   ========================================================================== */

.lm-article {
	padding: clamp(56px, 7vw, 104px) 0 clamp(72px, 9vw, 130px);
}

.lm-article__colonnes {
	display: grid;
	grid-template-columns: 270px minmax(0, 1fr);
	gap: 40px clamp(40px, 6vw, 96px);
	align-items: start;
}

/* Sans sommaire, le texte est centré dans la page. */
.lm-article__colonnes--seule {
	grid-template-columns: minmax(0, 1fr);
	justify-items: center;
}

.lm-article__corps {
	width: 100%;
	max-width: var(--lecture);
}

.lm-sommaire {
	position: sticky;
	top: 118px;
	max-height: calc(100vh - 140px);
	padding: 24px 22px;
	overflow-y: auto;
	border-radius: var(--rayon-carte);
	background: var(--gris-clair);
}

.lm-sommaire summary {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .14em;
	line-height: 1.5;
	text-transform: uppercase;
	color: var(--bleu-fonce);
	list-style: none;
	cursor: default;
}

.lm-sommaire summary::-webkit-details-marker {
	display: none;
}

.lm-sommaire ol {
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.lm-sommaire a {
	display: block;
	padding: 8px 0 8px 12px;
	border-left: 2px solid var(--filet);
	font-size: 14px;
	line-height: 1.35;
	color: var(--gris-texte);
	transition: color .2s, border-color .2s;
}

.lm-sommaire a:hover,
.lm-sommaire a[aria-current] {
	border-left-color: var(--orange);
	color: var(--marine);
}

/* Contenu rédigé long : compléments (chapô, encadré, puces, cartes, images, citation). */

.lm-prose--article {
	max-width: none;
	margin-inline: 0;
	font-size: 17.5px;
	line-height: 1.75;
	color: #2B3A4F;
}

.lm-prose--article h2,
.lm-prose--article h3,
.lm-prose--article strong {
	color: var(--marine);
}

.lm-prose--article h2 {
	margin-top: clamp(44px, 5vw, 68px);
	scroll-margin-top: 120px;
	text-wrap: balance;
}

/* Chapô : le paragraphe d'ouverture, plus grand. */
.lm-prose--article .is-style-chapo {
	font-size: clamp(20px, 1.9vw, 25px);
	font-weight: 600;
	letter-spacing: -.015em;
	line-height: 1.4;
	color: var(--marine);
}

/* Encadré : un paragraphe sur fond bleu pâle. */
.lm-prose--article .is-style-encadre {
	padding: 16px 20px;
	border-radius: var(--rayon);
	background: var(--bleu-pale);
	font-size: 15.5px;
	color: var(--marine);
}

/* Listes à puces : pastille orange. */
.lm-prose--article ul:not([class*="wp-block-"]),
.lm-prose--article ul.wp-block-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 0;
	list-style: none;
}

.lm-prose--article ul:not([class*="wp-block-"]) > li,
.lm-prose--article ul.wp-block-list > li {
	position: relative;
	padding-left: 26px;
}

.lm-prose--article ul:not([class*="wp-block-"]) > li::before,
.lm-prose--article ul.wp-block-list > li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: .72em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--orange);
}

/* Colonnes en cartes (avantages / inconvénients). */
.lm-prose--article .wp-block-columns.is-style-cartes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin: 0 0 1.2em;
}

.lm-prose--article .is-style-cartes > .wp-block-column {
	padding: 22px 22px 24px;
	border-radius: 12px;
	background: var(--gris-clair);
	font-size: 15.5px;
	line-height: 1.55;
}

.lm-prose--article .is-style-cartes > .wp-block-column > :last-child {
	margin-bottom: 0;
}

.lm-prose--article .is-style-cartes > .wp-block-column > :first-child {
	margin: 0 0 12px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--marine);
}

/* Images et légendes. */
.lm-prose--article figure {
	margin: 32px 0;
}

.lm-prose--article figure img {
	display: block;
	border-radius: 12px;
}

.lm-prose--article figcaption {
	margin-top: 10px;
	font-size: 14px;
	font-style: italic;
	text-align: center;
	color: var(--gris-texte);
}

/* Citation : grand guillemet orange. */
.lm-prose--article blockquote,
.lm-projet__recit blockquote {
	position: relative;
	margin: 36px 0;
	padding: 4px 0 0 56px;
	border: 0;
}

.lm-prose--article blockquote::before,
.lm-projet__recit blockquote::before {
	content: "“";
	position: absolute;
	left: 0;
	top: -18px;
	font-size: 86px;
	font-weight: 800;
	line-height: 1;
	color: var(--orange);
}

.lm-prose--article blockquote p,
.lm-projet__recit blockquote p {
	margin: 0;
	font-size: clamp(20px, 2vw, 26px);
	font-weight: 700;
	letter-spacing: -.015em;
	line-height: 1.35;
	color: var(--marine);
}

.lm-prose--article blockquote cite,
.lm-projet__recit blockquote p + p {
	display: block;
	margin-top: 10px;
	font-size: 14px;
	font-style: normal;
	color: var(--gris-texte);
}

/* Retour client d'une réalisation : le nom, sous la citation. */
.lm-projet__recit blockquote p + p strong {
	font-weight: 700;
}

@media (max-width: 980px) {
	.lm-article__colonnes {
		grid-template-columns: minmax(0, 1fr);
	}

	.lm-article__corps {
		justify-self: center;
	}

	/* Le sommaire se replie et s'ouvre d'un toucher. */
	.lm-sommaire {
		position: static;
		max-height: none;
	}

	.lm-sommaire summary {
		display: flex;
		justify-content: space-between;
		cursor: pointer;
	}

	.lm-sommaire summary::after {
		content: "+";
		font-size: 18px;
		line-height: .8;
	}

	.lm-sommaire[open] summary::after {
		content: "–";
	}
}

@media (max-width: 700px) {
	.lm-prose--article .wp-block-columns.is-style-cartes {
		grid-template-columns: minmax(0, 1fr);
	}

	.lm-prose--article {
		font-size: 16.5px;
	}
}

/* Sections blanches : halo bleu ciel en haut, halo jaune très doux en bas.
   Quand deux sections blanches se suivent, la seconde inverse les coins. */
.lm-section,
.lm-liste-rea,
.lm-article,
.lm-engagements {
	background-image: var(--halo-blanc);
}

.lm-blog + .lm-engagements,
.lm-locale-intro + .lm-article {
	background-image: var(--halo-blanc-inverse);
}

/* 19. Animations d'entrée (sans JavaScript)
   ==========================================================================
   Le hero s'anime au chargement, en CSS seul : il reste lisible si le script
   ne se charge pas. Les animations au défilement sont dans assets/js/animations.js. */

@keyframes lm-monte {
	from {
		opacity: 0;
		transform: translateY(26px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* La ligne manuscrite se dévoile de gauche à droite, comme si on l'écrivait. */
@keyframes lm-ecrit {
	from {
		clip-path: inset(-20% 100% -20% 0);
	}

	to {
		clip-path: inset(-20% -5% -20% 0);
	}
}

@keyframes lm-trace {
	to {
		stroke-dashoffset: 0;
	}
}

@keyframes lm-rebond {
	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(7px);
	}
}

@media (prefers-reduced-motion: no-preference) {
	.lm-hero__in > *,
	.lm-hero__titre .lm-t1 {
		animation: lm-monte .9s cubic-bezier(.2, .7, .2, 1) both;
	}

	.lm-hero__in > .lm-hero__titre {
		animation: none;
	}

	.lm-hero__titre .lm-t2 {
		animation: lm-ecrit 1.1s cubic-bezier(.6, .1, .2, 1) .35s both;
	}

	.lm-hero__in > .lm-hero__intro {
		animation-delay: .25s;
	}

	.lm-hero__in > .lm-hero__actions,
	.lm-hero__in > .lm-hero__infos {
		animation-delay: .4s;
	}

	.lm-hero__in > .lm-hero__mention,
	.lm-hero__in > .lm-hero__lieu {
		animation-delay: .55s;
	}

	.lm-hero .lm-lignes path {
		stroke-dasharray: 1;
		stroke-dashoffset: 1;
		animation: lm-trace 2.4s cubic-bezier(.6, .1, .2, 1) forwards;
	}

	.lm-hero .lm-lignes path:nth-child(2) { animation-delay: .16s; }
	.lm-hero .lm-lignes path:nth-child(3) { animation-delay: .32s; }
	.lm-hero .lm-lignes path:nth-child(4) { animation-delay: .48s; }
	.lm-hero .lm-lignes path:nth-child(5) { animation-delay: .64s; }
	.lm-hero .lm-lignes path:nth-child(6) { animation-delay: .8s; }
	.lm-hero .lm-lignes path:nth-child(7) { animation-delay: .96s; }
	.lm-hero .lm-lignes path:nth-child(8) { animation-delay: 1.12s; }
}

/* 20. Accessibilité et réduction des animations
   ========================================================================== */

.lm-evitement {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 100;
	padding: 12px 18px;
	border-radius: var(--rayon);
	background: var(--orange);
	color: var(--marine);
	font-size: 14px;
	font-weight: 700;
}

.lm-evitement:focus {
	top: 16px;
}

/* Repère de clavier bicolore : anneau orange collé à l'élément (visible sur fond sombre)
   et contour bleu nuit autour (visible sur fond clair, où l'orange seul manque de contraste). */
:focus-visible {
	outline: 2px solid var(--marine);
	outline-offset: 3px;
	box-shadow: 0 0 0 3px var(--orange);
}

/* La barre d'administration décale la barre de navigation collée. */
.admin-bar .lm-nav {
	top: var(--wp-admin--admin-bar--height, 32px);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

/* Questions fréquentes (prestations, pages locales et métiers)
   ========================================================================== */

.lm-faq {
	background-image: var(--halo-blanc-inverse);
}

.lm-faq__in {
	max-width: calc(860px + var(--marge) * 2);
}

.lm-faq__liste {
	margin-top: clamp(32px, 4vw, 56px);
	border-top: 1px solid var(--filet);
}

.lm-faq__question {
	border-bottom: 1px solid var(--filet);
}

.lm-faq__question summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 22px 0;
	font-size: clamp(17px, 1.5vw, 20px);
	font-weight: 700;
	letter-spacing: -.015em;
	line-height: 1.35;
	list-style: none;
	cursor: pointer;
}

.lm-faq__question summary::-webkit-details-marker {
	display: none;
}

.lm-faq__question summary::after {
	content: "+";
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1.5px solid #C3CEDB;
	border-radius: 50%;
	font-size: 20px;
	font-weight: 500;
	line-height: 1;
	transition: background-color .25s, border-color .25s, color .25s;
}

.lm-faq__question[open] summary::after {
	content: "–";
	border-color: var(--orange);
	background: var(--orange);
}

.lm-faq__question summary:hover::after {
	border-color: var(--marine);
}

.lm-faq__question > div {
	max-width: 720px;
	padding: 0 0 24px;
}

.lm-faq__question > div p {
	margin: 0 0 .8em;
	font-size: 16px;
	line-height: 1.65;
	color: var(--gris-texte);
}

.lm-faq__question > div p:last-child {
	margin-bottom: 0;
}
