/* =============================================================
   SRMM — Design system
   Charte graphique v0.2 · Alfabet (titres) + Figtree (corps)
   ============================================================= */

/* ---------- Polices ----------
   Titres : Archivo (libre, OFL) — substitut très proche d'Alfabet, dont
   la charte ne fournit qu'une version DEMO aux glyphes incomplets.
   Pour passer à Alfabet sous licence : déposer les OTF complets dans
   assets/fonts/ et redéclarer les @font-face correspondants. */
@font-face {
	font-family: 'Archivo';
	src: url('../fonts/archivo-variable.ttf') format('truetype-variations');
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Figtree';
	src: url('../fonts/figtree-variable.ttf') format('truetype-variations');
	font-weight: 300 800;
	font-style: normal;
	font-display: swap;
}

/* ---------- Variables ---------- */
:root {
	--dark: #143232;
	--green: #00ad6e;
	--lime: #cefa8b;
	--turquoise: #81e0dc;
	--mint: #e5fff6;
	--grey: #e8ecec;
	--slate: #3e4a4a;
	--white: #ffffff;

	--font-title: 'Archivo', 'Figtree', system-ui, sans-serif;
	--font-body: 'Figtree', system-ui, sans-serif;

	--s1: 8px;
	--s2: 16px;
	--s3: 32px;
	--s4: 64px;

	--radius: 20px;
	--radius-img: 24px;
	--wrap: 1480px;
	--gutter: max(24px, 2.5vw);

	--shadow-sm: 0 1px 2px rgba(20, 50, 50, .06);
	--shadow-lg: 0 16px 40px rgba(20, 50, 50, .14);
	--ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	color: var(--dark);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--dark); }

::selection { background: var(--lime); color: var(--dark); }

h1, h2, h3, h4, h5 {
	font-family: var(--font-title);
	line-height: 1.1;
	letter-spacing: -.02em;
	margin: 0 0 var(--s2);
	color: inherit;
}

.h2 { font-size: clamp(32px, 4vw, 54px); font-weight: 700; }
.h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; }
.h4 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }

p { margin: 0 0 var(--s2); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	background: var(--dark);
	color: var(--white);
	padding: 12px 20px;
	border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; color: var(--lime); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 860px; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* ---------- Kicker ---------- */
.kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 22px;
	color: var(--green);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.kicker-line { width: 34px; height: 2px; background: var(--green); display: inline-block; }
.kicker--light { color: var(--lime); }
.kicker--light .kicker-line { background: var(--green); }

/* ---------- Boutons ---------- */
.btn {
	display: inline-block;
	padding: 14px 28px;
	border-radius: 999px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 15px;
	line-height: 1.2;
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 17px 34px; font-size: 16px; }

.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--lime); color: var(--dark); }

.btn--dark { background: var(--dark); color: var(--white); }
.btn--dark:hover { background: var(--green); color: var(--white); }

.btn--outline { border-color: rgba(20, 50, 50, .3); color: var(--dark); background: transparent; }
.btn--outline:hover { border-color: var(--green); color: var(--green); }

.btn--outline-light { border-color: rgba(255, 255, 255, .35); color: var(--white); background: transparent; }
.btn--outline-light:hover { border-color: var(--lime); color: var(--lime); }

.btn--lime { background: var(--lime); color: var(--dark); }
.btn--lime:hover { background: var(--white); color: var(--dark); }

/* ---------- Badges ---------- */
.badge {
	display: inline-block;
	background: var(--mint);
	color: var(--green);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 999px;
	margin-bottom: 10px;
}
.badge--region { background: rgba(0, 173, 110, .12); }

/* ---------- Header ---------- */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
	padding: 18px 0;
}
.site-header.is-solid {
	background: rgba(20, 50, 50, .94);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
	padding: 10px 0;
}
.site-header-inner {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--s3);
}
.site-logo { display: block; }

.nav-menu {
	display: flex;
	align-items: center;
	gap: 34px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-weight: 500;
	font-size: 15px;
}
.nav-menu a { color: var(--white); }
/* Les liens de premier niveau couvrent toute la hauteur du header,
   pour que le survol ne se perde pas en descendant vers le mega menu. */
.nav-menu > .menu-item > a { display: inline-block; padding: 24px 0; }
.nav-menu > .btn-nav > a { padding: 11px 24px; }
.nav-menu a:hover { color: var(--lime); }
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a { color: var(--turquoise); }

.nav-menu .btn-nav > a {
	display: inline-block;
	background: var(--green);
	color: var(--white);
	padding: 11px 24px;
	border-radius: 999px;
	font-weight: 600;
	transition: background .25s var(--ease), color .25s var(--ease);
}
.nav-menu .btn-nav > a:hover { background: var(--lime); color: var(--dark); }

/* ---------- Mega menu « Domaines d'application » ---------- */
.menu-item.has-mega { position: static; }
.mega {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	padding: 12px var(--gutter) 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	pointer-events: none;
	/* Fermeture différée : laisse le temps de descendre vers le panneau. */
	transition: opacity .22s var(--ease) .28s, transform .22s var(--ease) .28s, visibility 0s linear .5s;
}
.menu-item.has-mega:hover .mega,
.menu-item.has-mega:focus-within .mega {
	opacity: 1;
	visibility: visible;
	transform: none;
	pointer-events: auto;
	transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s;
}
/* Zone tampon couvrant l'espace entre le lien et le panneau */
.mega::before {
	content: '';
	position: absolute;
	top: -30px;
	left: 0;
	right: 0;
	height: 30px;
}
.mega-panel {
	display: flex;
	align-items: stretch;
	gap: 30px;
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: 0 24px 64px rgba(20, 50, 50, .25);
	padding: 28px 30px;
	width: min(1080px, 100%);
}
.mega-main { flex: 1; min-width: 0; }
.mega-title {
	margin: 2px 0 16px;
	color: var(--green);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.mega-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px 22px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav-menu .mega-link {
	display: flex;
	align-items: center;
	gap: 13px;
	color: var(--dark);
	font-size: 14.5px;
	font-weight: 500;
	padding: 7px 10px 7px 7px;
	border-radius: 12px;
	transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-menu .mega-link:hover { background: var(--mint); color: var(--dark); }
.mega-ico {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 11px;
	background: var(--mint);
	color: var(--green);
	transition: background .2s var(--ease), color .2s var(--ease);
}
.mega-ico svg { width: 21px; height: 21px; }
.nav-menu .mega-link:hover .mega-ico { background: var(--green); color: var(--white); }
.mega-aside {
	flex: none;
	width: 320px;
	display: flex;
	flex-direction: column;
	background: var(--dark);
	border-radius: 16px;
	overflow: hidden;
	color: var(--white);
	transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.mega-aside:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(20, 50, 50, .3); }
.mega-aside img {
	width: 100%;
	flex: 1;
	min-height: 200px;
	object-fit: cover;
	background: var(--white);
}
.mega-aside-label { padding: 16px 20px 18px; font-size: 13px; }
.mega-aside-label strong {
	display: block;
	font-family: var(--font-title);
	font-weight: 600;
	font-size: 16px;
	margin-bottom: 4px;
}
.mega-aside-label span { color: var(--turquoise); font-weight: 600; }
.mega-aside:hover .mega-aside-label span { color: var(--lime); }

.nav-toggle {
	display: none;
	background: none;
	border: 0;
	padding: 10px;
	cursor: pointer;
}
.nav-toggle-box { display: block; width: 26px; }
.nav-toggle-box span {
	display: block;
	height: 2.5px;
	background: var(--white);
	border-radius: 2px;
	margin: 5px 0;
	transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	background: var(--dark);
	color: var(--white);
	overflow: hidden;
}
.hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(1100px 600px at 78% 30%, rgba(0, 173, 110, .16), transparent 65%);
	pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }

.hero--home { min-height: min(92vh, 880px); display: flex; align-items: center; padding: 150px 0 96px; }
.hero--page { padding: 176px 0 88px; }
.hero--404 { padding: 200px 0 120px; }

.hero-emblem {
	position: absolute;
	right: -7vw;
	top: 50%;
	transform: translateY(-50%);
	width: 42vw;
	max-width: 600px;
	opacity: .07;
	pointer-events: none;
	z-index: 1;
}

/* Hero accueil : texte à gauche, composition visuelle à droite */
.hero-grid .hero-title { font-size: clamp(40px, 5vw, 76px); }
.hero-grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: clamp(32px, 4vw, 72px);
	align-items: center;
	width: 100%;
}
.hero-visual {
	position: relative;
	height: clamp(420px, 46vw, 560px);
	display: flex;
	align-items: center;
	justify-content: center;
}
.hero-visual-emblem {
	width: clamp(280px, 26vw, 400px);
	filter: drop-shadow(0 0 90px rgba(0, 173, 110, .38));
	animation: srmm-float 7s ease-in-out infinite alternate;
}
.hero-float {
	position: absolute;
	animation: srmm-float 6s ease-in-out infinite alternate;
}
.hero-float--badge {
	top: 6%;
	left: 4%;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--lime);
	color: var(--dark);
	font-weight: 700;
	font-size: 14px;
	padding: 10px 18px;
	border-radius: 999px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
	animation-delay: 1.2s;
}
.hero-float--badge .check { color: var(--green); }
.hero-float--photo {
	top: 14%;
	right: 0;
	margin: 0;
	width: min(270px, 24vw);
	background: var(--white);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
	animation-delay: .4s;
}
.hero-float--photo img { width: 100%; height: 150px; object-fit: cover; }
.hero-float--photo figcaption { padding: 13px 16px 15px; font-size: 12.5px; color: var(--slate); }
.hero-float--photo strong {
	display: block;
	font-family: var(--font-title);
	font-weight: 600;
	font-size: 14.5px;
	color: var(--dark);
	margin-bottom: 1px;
}
.hero-float--stat {
	bottom: 8%;
	left: 0;
	max-width: 240px;
	background: rgba(255, 255, 255, .07);
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 18px;
	padding: 18px 22px;
	color: var(--grey);
	font-size: 13.5px;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 18px 44px rgba(0, 0, 0, .25);
	animation-delay: 2s;
}
.hero-float-num {
	display: block;
	font-family: var(--font-title);
	font-weight: 700;
	font-size: 27px;
	color: var(--lime);
	letter-spacing: -.01em;
	margin-bottom: 2px;
}

@keyframes srmm-float {
	from { transform: translateY(0); }
	to { transform: translateY(-14px); }
}

.hero-title {
	font-family: var(--font-title);
	font-weight: 700;
	font-size: clamp(44px, 6.6vw, 92px);
	line-height: 1.02;
	letter-spacing: -.02em;
	margin: 0;
	color: var(--white);
}
.hero-title > span { color: var(--green); }
.hero-title--page { font-size: clamp(36px, 4.6vw, 64px); max-width: 900px; }

.hero-sub {
	margin: 28px 0 0;
	max-width: 580px;
	font-size: 19px;
	line-height: 1.6;
	font-weight: 300;
	color: var(--grey);
}
.hero-sub p { margin: 0; }

.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: 40px; }

.hero-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
	margin-top: var(--s4);
}
.stat-value {
	display: block;
	font-family: var(--font-title);
	font-weight: 700;
	font-size: 38px;
	color: var(--lime);
	letter-spacing: -.01em;
}
.stat-value--sm { font-size: 24px; padding-top: 10px; }
.stat-unit { font-size: 24px; }
.stat-label { display: block; color: var(--turquoise); font-size: 14px; margin-top: 4px; }

/* ---------- Marquee ---------- */
.marquee {
	background: var(--green);
	overflow: hidden;
	padding: 14px 0;
}
.marquee-track {
	display: flex;
	width: max-content;
	animation: srmm-marquee 30s linear infinite;
}
.marquee-copy {
	display: flex;
	gap: 44px;
	padding-right: 44px;
	white-space: nowrap;
	font-family: var(--font-title);
	font-weight: 600;
	font-size: 14px;
	color: var(--dark);
	letter-spacing: .1em;
	text-transform: uppercase;
}
.marquee-copy .sep { color: var(--mint); }

@keyframes srmm-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section--mint { background: var(--mint); }
.section--lime { background: var(--lime); }

.section-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: var(--s3);
	flex-wrap: wrap;
	margin-bottom: var(--s4);
}
.section-head--center {
	display: block;
	text-align: center;
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}
.section-head--center .kicker { justify-content: center; }
.section-head .h2 { margin-bottom: 0; }
.section-intro { max-width: 440px; color: var(--slate); font-size: 17px; margin: 0; }
.section--lime .section-intro { color: var(--dark); }
.section-more { text-align: center; margin-top: var(--s4); }

.accent { color: var(--green); }

/* ---------- Grilles & cartes ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1.5px solid var(--grey);
	border-radius: var(--radius);
	overflow: hidden;
	color: var(--dark);
	box-shadow: 0 3px 12px rgba(20, 50, 50, .07);
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
	border-color: rgba(0, 173, 110, .45);
	color: var(--dark);
}

.card-media {
	display: block;
	height: 190px;
	background: linear-gradient(135deg, var(--mint), var(--grey));
	position: relative;
	overflow: hidden;
}
.card-media .card-img { width: 100%; height: 100%; object-fit: cover; }
.card-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: .5;
}

.card-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.card-title { font-size: 20px; font-weight: 600; margin: 0 0 8px; }
.card-text { color: var(--slate); font-size: 15px; line-height: 1.55; margin: 0 0 var(--s2); }
.card-link {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--green);
	font-weight: 600;
	font-size: 14px;
}
.card:hover .card-link { color: var(--dark); }

/* ---------- Atouts (colonne sticky) ---------- */
.atouts {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 72px;
	align-items: start;
}
.atouts-left { position: sticky; top: 120px; }
.atouts-left .section-intro { margin-bottom: var(--s3); }
.atouts-cards { display: flex; flex-direction: column; gap: 20px; }

.atout { border-radius: var(--radius); padding: 34px 34px 38px; }
.atout p { margin: 0; opacity: .88; }
.atout-num {
	font-family: var(--font-title);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: .1em;
	opacity: .55;
}
.atout-title { font-size: 24px; font-weight: 600; margin: 12px 0 10px; letter-spacing: -.01em; }

.atout--dark { background: var(--dark); color: var(--white); }
.atout--turquoise { background: var(--turquoise); color: var(--dark); }
.atout--grey { background: var(--grey); color: var(--dark); }
.atout--green { background: var(--green); color: var(--white); }

/* ---------- Split (texte + visuel) ---------- */
.split {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 72px;
	align-items: center;
}
.split-text .check-list { margin-top: var(--s3); margin-bottom: var(--s3); }
.split-cards { display: flex; flex-direction: column; gap: 20px; }

.mission-card { border-radius: var(--radius); padding: 34px; }
.mission-card p { margin: 0; }
.mission-card--dark { background: var(--dark); color: var(--white); }
.mission-card--dark .h4 { color: var(--lime); }
.mission-card--green { background: var(--mint); color: var(--dark); }
.mission-card--green .h4 { color: var(--green); }

.visual-panel {
	background: var(--white);
	border-radius: var(--radius-img);
	padding: 48px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--s3);
	box-shadow: var(--shadow-sm);
}
.visual-panel > img { width: 180px; }
.visual-layers { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.visual-layers span {
	display: block;
	text-align: center;
	font-weight: 600;
	font-size: 14px;
	padding: 12px;
	border-radius: 10px;
}
.visual-layers span:nth-child(1) { background: var(--mint); color: var(--dark); }
.visual-layers span:nth-child(2) { background: var(--green); color: var(--white); }
.visual-layers span:nth-child(3) { background: var(--dark); color: var(--white); }

/* ---------- Listes cochées ---------- */
.check-list { list-style: none; margin: 0 0 var(--s2); padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: baseline; font-weight: 500; }
.check { color: var(--green); font-weight: 700; }

/* ---------- Timeline / valeurs ---------- */
.jalon {
	background: var(--white);
	border-radius: var(--radius);
	padding: 34px;
	box-shadow: var(--shadow-sm);
}
.section:not(.section--mint) .jalon { background: var(--grey); box-shadow: none; }
.jalon p { margin: 0; color: var(--slate); font-size: 15px; }
.jalon-year {
	display: block;
	font-family: var(--font-title);
	font-weight: 700;
	font-size: 42px;
	color: var(--green);
	letter-spacing: -.02em;
	margin-bottom: var(--s2);
}

.valeur {
	background: var(--white);
	border: 1.5px solid var(--grey);
	border-radius: var(--radius);
	padding: 30px;
}
.valeur .h4 { color: var(--green); }
.valeur p { margin: 0; color: var(--slate); font-size: 15px; }
.valeur--cta { background: var(--dark); border-color: var(--dark); color: var(--white); }
.valeur--cta .h4 { color: var(--lime); }
.valeur--cta p { color: var(--grey); margin-bottom: var(--s2); }

/* ---------- Bâtiment interactif ---------- */
.batiment { display: block; }
.batiment-figure {
	position: relative;
	background: var(--white);
	border-radius: var(--radius-img);
	padding: clamp(12px, 2vw, 28px);
	box-shadow: var(--shadow-sm);
}
.map { width: 100%; height: auto; display: block; }

/* Zones interactives sur l'illustration 3D d'origine :
   surbrillance colorée identique au comportement historique (maphilight). */
.map-zone { cursor: pointer; }
.map-zone polygon {
	fill: var(--zone-color, var(--green));
	fill-opacity: 0;
	stroke: none;
	transition: fill-opacity .25s var(--ease);
}
.map-zone:hover polygon,
.map-zone.is-active polygon { fill-opacity: .6; }
.map-zone:focus-visible { outline: none; }
.map-zone:focus-visible polygon { fill-opacity: .6; stroke: var(--dark); stroke-width: 2; }

/* Annotation dynamique au survol d'une zone */
.map-tooltip {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 5;
	background: var(--dark);
	color: var(--white);
	border-radius: 14px;
	padding: 12px 18px;
	pointer-events: none;
	opacity: 0;
	transform: translate(-50%, calc(-100% - 14px)) translateY(6px);
	transition: opacity .2s var(--ease), transform .2s var(--ease);
	box-shadow: 0 12px 32px rgba(20, 50, 50, .25);
	white-space: nowrap;
	max-width: 90%;
}
.map-tooltip::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: -7px;
	transform: translateX(-50%);
	border: 8px solid transparent;
	border-top-color: var(--dark);
	border-bottom: 0;
}
.map-tooltip.is-visible {
	opacity: 1;
	transform: translate(-50%, calc(-100% - 14px));
}
.map-tooltip-title {
	display: block;
	font-family: var(--font-title);
	font-weight: 600;
	font-size: 16px;
	white-space: normal;
}
.map-tooltip-cta {
	display: block;
	margin-top: 2px;
	color: var(--lime);
	font-size: 13px;
	font-weight: 600;
}

/* Légende en pastilles sous l'illustration */
.batiment-pills {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: var(--s3);
}
.pill {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	background: var(--white);
	color: var(--dark);
	border: 1.5px solid transparent;
	border-radius: 999px;
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 600;
	box-shadow: var(--shadow-sm);
	transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.pill:hover,
.pill.is-active {
	border-color: var(--green);
	color: var(--dark);
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
}
.pill-dot {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: var(--dot, var(--green));
	box-shadow: inset 0 0 0 1px rgba(20, 50, 50, .15);
}

/* ---------- Filtre produits ---------- */
.filter {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: var(--s4);
}
.filter-btn {
	background: var(--grey);
	color: var(--dark);
	border: 0;
	border-radius: 999px;
	padding: 11px 22px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: background .25s var(--ease), color .25s var(--ease);
}
.filter-btn:hover { background: var(--turquoise); }
.filter-btn.is-active { background: var(--dark); color: var(--white); }

.card--produit.is-hidden { display: none; }

/* ---------- Palette ---------- */
.palette {
	background: var(--white);
	border-radius: var(--radius-img);
	padding: clamp(24px, 4vw, 48px);
	box-shadow: var(--shadow-sm);
}
.palette-head { max-width: 560px; margin-bottom: var(--s3); }
.palette-head p { margin: 0; color: var(--slate); }
.palette-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
	gap: 14px;
}
.palette-item {
	position: relative;
	margin: 0;
	text-align: center;
	font-size: 12px;
	font-weight: 600;
	color: var(--slate);
}
.palette-item img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 12px;
	margin-bottom: 6px;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.palette-item:hover img {
	transform: scale(1.08);
	box-shadow: 0 10px 24px rgba(20, 50, 50, .2);
}
/* Annotation au survol d'un échantillon */
.palette-item::after {
	content: attr(data-label);
	position: absolute;
	left: 50%;
	bottom: calc(100% + 8px);
	transform: translateX(-50%) translateY(4px);
	background: var(--dark);
	color: var(--white);
	font-size: 12.5px;
	font-weight: 600;
	white-space: nowrap;
	padding: 7px 12px;
	border-radius: 9px;
	box-shadow: 0 10px 26px rgba(20, 50, 50, .28);
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s var(--ease), transform .2s var(--ease);
	z-index: 4;
}
.palette-item:hover::after {
	opacity: 1;
	transform: translateX(-50%);
}
.palette-item--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--mint), var(--grey));
	color: var(--slate);
	font-family: var(--font-title);
	font-size: 14px;
}

/* ---------- Callout « autre produit » ---------- */
.callout {
	margin-top: var(--s4);
	background: var(--dark);
	color: var(--white);
	border-radius: var(--radius-img);
	padding: clamp(28px, 4vw, 48px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--s3);
	flex-wrap: wrap;
}
.callout-body { max-width: 640px; }
.callout .h3 { color: var(--lime); }
.callout p { margin: 0; color: var(--grey); }

/* ---------- Pages singles ---------- */
.single-layout {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: var(--s4);
	align-items: start;
}
.single-main .section-head { margin-top: var(--s4); }
.single-figure { margin: 0 0 var(--s3); }
.single-figure img { border-radius: var(--radius-img); width: 100%; }

.single-aside { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 20px; }
.aside-card {
	background: var(--mint);
	border-radius: var(--radius);
	padding: 28px;
}
.aside-card--dark { background: var(--dark); color: var(--white); }
.aside-card--dark .h4 { color: var(--lime); }
.aside-card--dark p { color: var(--grey); }
.aside-links { list-style: none; margin: 0; padding: 0; }
.aside-links li + li { border-top: 1px solid rgba(20, 50, 50, .1); }
.aside-links a {
	display: flex;
	justify-content: space-between;
	gap: var(--s2);
	color: var(--dark);
	font-weight: 500;
	font-size: 15px;
	padding: 10px 0;
}
.aside-links a:hover { color: var(--green); }

.prose { font-size: 17px; }
.prose h2, .prose h3 { margin-top: var(--s3); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Contact : carte ---------- */
.contact-map {
	height: clamp(340px, 42vw, 460px);
	border-radius: var(--radius-img);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	border: 1.5px solid var(--grey);
	margin-bottom: var(--s4);
	z-index: 1;
	position: relative;
}
.srmm-pin { filter: drop-shadow(0 6px 12px rgba(20, 50, 50, .35)); }
.srmm-pin svg { display: block; }
.leaflet-popup-content-wrapper {
	border-radius: 14px;
	box-shadow: 0 12px 32px rgba(20, 50, 50, .22);
	font-family: var(--font-body);
	color: var(--dark);
}
.leaflet-popup-content { margin: 14px 18px; font-size: 14px; line-height: 1.5; }
.leaflet-popup-content strong {
	display: block;
	font-family: var(--font-title);
	font-size: 15px;
	margin-bottom: 3px;
	color: var(--green);
}

/* ---------- Contact ---------- */
.contact-layout {
	display: grid;
	grid-template-columns: 1fr 1.6fr;
	gap: var(--s4);
	align-items: start;
}
.contact-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 120px; }
.contact-card {
	background: var(--mint);
	border-radius: var(--radius);
	padding: 26px 28px;
}
.contact-card--mail { background: var(--dark); color: var(--white); }
.contact-card--mail .contact-address { color: var(--grey); }
.contact-address { margin: 6px 0 8px; color: var(--slate); font-size: 15px; }
.contact-tel {
	font-family: var(--font-title);
	font-weight: 600;
	font-size: 21px;
	color: var(--dark);
	word-break: break-word;
}
.contact-card--mail .contact-tel { color: var(--lime); }
.contact-tel:hover { color: var(--green); }

.contact-form {
	background: var(--white);
	border: 1.5px solid var(--grey);
	border-radius: var(--radius-img);
	padding: clamp(24px, 3.6vw, 44px);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-field { margin: 0; display: flex; flex-direction: column; gap: 7px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: 14px; }
.req { color: var(--green); }

.form-field input,
.form-field textarea {
	font-family: var(--font-body);
	font-size: 16px;
	color: var(--dark);
	background: var(--white);
	border: 1.5px solid var(--grey);
	border-radius: 12px;
	padding: 13px 16px;
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
	width: 100%;
}
.form-field input:focus,
.form-field textarea:focus {
	outline: none;
	border-color: var(--green);
	box-shadow: 0 0 0 4px rgba(0, 173, 110, .12);
}
.form-field textarea { resize: vertical; min-height: 140px; }

.form-footer {
	display: flex;
	align-items: center;
	gap: var(--s3);
	flex-wrap: wrap;
	margin: var(--s3) 0 0;
}
.form-note { color: var(--slate); font-size: 13px; max-width: 320px; }

.hp-field { position: absolute !important; left: -9999px !important; }

.notice {
	border-radius: 14px;
	padding: 16px 20px;
	margin-bottom: 22px;
	font-size: 15px;
}
.notice strong { display: block; margin-bottom: 2px; }
.notice--success { background: rgba(34, 197, 94, .12); color: #14532d; border: 1.5px solid rgba(34, 197, 94, .4); }
.notice--error { background: rgba(220, 38, 38, .08); color: #7f1d1d; border: 1.5px solid rgba(220, 38, 38, .35); }

/* ---------- Footer ---------- */
.site-footer {
	background: var(--dark);
	color: var(--grey);
	padding: 96px 0 40px;
	position: relative;
	overflow: hidden;
}
.site-footer::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(900px 480px at 15% 0%, rgba(0, 173, 110, .12), transparent 60%);
	pointer-events: none;
}
.site-footer .wrap { position: relative; }

.footer-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--s3);
	flex-wrap: wrap;
	padding-bottom: var(--s4);
	border-bottom: 1px solid rgba(255, 255, 255, .12);
	margin-bottom: var(--s4);
}
.footer-cta-title {
	font-size: clamp(28px, 3.6vw, 48px);
	font-weight: 700;
	color: var(--white);
	margin: 0;
	line-height: 1.08;
}
.footer-cta-title span { color: var(--lime); }

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: var(--s3);
}
.footer-col p { font-size: 14.5px; line-height: 1.65; color: rgba(232, 236, 236, .8); }
.footer-col--brand p { max-width: 300px; margin-top: 18px; }
.footer-heading {
	color: var(--lime);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	margin-bottom: 14px;
}
.footer-tel {
	font-family: var(--font-title);
	font-weight: 600;
	font-size: 19px;
	color: var(--white);
}
.footer-tel:hover { color: var(--lime); }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav a { display: block; color: rgba(232, 236, 236, .85); padding: 4px 0; font-size: 14.5px; }
.footer-nav a:hover { color: var(--lime); }
.footer-social { color: var(--turquoise); font-weight: 600; font-size: 14px; }
.footer-social:hover { color: var(--lime); }

.footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: var(--s2);
	flex-wrap: wrap;
	margin-top: var(--s4);
	padding-top: var(--s3);
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: 13px;
	color: rgba(232, 236, 236, .65);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(232, 236, 236, .85); }
.footer-bottom a:hover { color: var(--lime); }

/* ---------- Animations ---------- */
.reveal {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity .8s var(--ease), transform .8s var(--ease);
	transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

.hero-inner > * {
	animation: srmm-rise .9s var(--ease) both;
}
.hero-inner > *:nth-child(2) { animation-delay: .1s; }
.hero-inner > *:nth-child(3) { animation-delay: .2s; }
.hero-inner > *:nth-child(4) { animation-delay: .3s; }
.hero-inner > *:nth-child(5) { animation-delay: .4s; }

@keyframes srmm-rise {
	from { opacity: 0; transform: translateY(36px); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; transition: none; }
	.hero-inner > * { animation: none; }
	.marquee-track { animation: none; }
	.btn:hover, .card:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.grid--3 { grid-template-columns: repeat(2, 1fr); }
	.atouts, .split, .batiment, .single-layout, .contact-layout { grid-template-columns: 1fr; }
	.atouts-left, .single-aside, .contact-side { position: static; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.section { padding: 80px 0; }
	.hero-grid { grid-template-columns: 1fr; }
	.hero-visual { display: none; }
	.mega { display: none; }
}

@media (max-width: 720px) {
	body { font-size: 16px; }
	.grid--3, .grid--2 { grid-template-columns: 1fr; }
	.hero--home { min-height: auto; padding: 140px 0 72px; }
	.hero--page { padding: 140px 0 64px; }
	.hero-stats { gap: 28px; }
	.section { padding: 64px 0; }
	.footer-grid { grid-template-columns: 1fr; }
	.callout { flex-direction: column; align-items: flex-start; }

	.nav-toggle { display: block; position: relative; z-index: 110; }
	.nav-menu {
		position: fixed;
		inset: 0;
		background: var(--dark);
		flex-direction: column;
		justify-content: center;
		gap: 26px;
		font-size: 20px;
		opacity: 0;
		visibility: hidden;
		transition: opacity .3s var(--ease), visibility .3s var(--ease);
		z-index: 105;
	}
	.nav-menu.is-open { opacity: 1; visibility: visible; }
	.mega { display: none; }
	.map-tooltip { display: none; }
	.batiment-figure { padding: 8px; }
	.form-grid { grid-template-columns: 1fr; }
	.hero-cta .btn { width: 100%; text-align: center; }
	.footer-cta { padding-bottom: var(--s3); margin-bottom: var(--s3); }
}
