/* =====================================================================
   ESPRIT GONES — feuille de style du site public
   Charte (§ 4 du cahier des charges) : vert sauge #315C52, bleu nuit
   #17324D, corail #CF684D, ivoire #F7F4ED, blanc. Titres Nunito Sans,
   texte Inter (hébergées localement). Texte 18 px (16 px sur mobile),
   boutons de 48 px minimum, contrastes WCAG AA.
   Le corail #CF684D n'atteint que 3,7:1 avec du blanc : les boutons à
   texte blanc utilisent sa variante foncée #B5523A (5:1).
   ===================================================================== */

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter/inter-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
	font-family: "Nunito Sans";
	src: url("../fonts/nunito-sans/nunito-sans-latin-wght-normal.woff2") format("woff2");
	font-weight: 200 1000; font-style: normal; font-display: swap;
}

:root {
	--sauge: #315C52;
	--sauge-fonce: #23453D;
	--sauge-clair: #E5EEEA;
	--nuit: #17324D;
	--corail: #CF684D;
	--corail-btn: #B5523A;
	--corail-btn-survol: #96412D;
	--corail-clair: #FBEDE8;
	--ivoire: #F7F4ED;
	--blanc: #FFFFFF;
	--texte: #17324D;
	--texte-doux: #44566A;
	--bord: #E2DCCD;
	--succes: #1E6B4B;
	--succes-fond: #E3F2EA;
	--alerte: #8A5A00;
	--alerte-fond: #FFF4D6;
	--erreur: #A12A1A;
	--erreur-fond: #FCEAE6;
	--ombre: 0 8px 28px rgba(23, 50, 77, .10);
	--ombre-legere: 0 2px 10px rgba(23, 50, 77, .07);
	--rayon: 14px;
	--titres: "Nunito Sans", "Segoe UI", Arial, sans-serif;
	--corps: "Inter", "Segoe UI", Arial, sans-serif;
}

/* ── Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--blanc);
	color: var(--texte);
	font-family: var(--corps);
	font-size: 1.125rem;      /* 18 px */
	line-height: 1.65;
}
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 {
	font-family: var(--titres);
	color: var(--nuit);
	line-height: 1.2;
	margin: 0 0 .6em;
	font-weight: 800;
	letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--sauge); text-decoration: underline; text-underline-offset: .18em; }
a:hover { color: var(--nuit); }
ul, ol { padding-left: 1.3em; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--nuit); outline-offset: 3px; border-radius: 4px; }
.fond-sombre :focus-visible { outline-color: #fff; }
[hidden] { display: none !important; }
.visuellement-cache {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.lien-evitement {
	position: absolute; left: 16px; top: -100px; z-index: 1000;
	background: var(--nuit); color: #fff; padding: 12px 18px; border-radius: 8px; font-weight: 700;
}
.lien-evitement:focus { top: 12px; color: #fff; }

.conteneur { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-ivoire { background: var(--ivoire); }
.section-titre { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-titre p { color: var(--texte-doux); font-size: 1.15rem; }
.surtitre {
	display: inline-block; font-family: var(--titres); font-weight: 800; font-size: .95rem;
	letter-spacing: .06em; text-transform: uppercase; color: var(--sauge); margin-bottom: .6em;
}
.fond-sombre { background: var(--nuit); color: #fff; }
.fond-sombre h2, .fond-sombre h3 { color: #fff; }
/* Liens seulement : les boutons gardent leurs propres couleurs (btn-clair : texte bleu nuit). */
.fond-sombre a:not(.btn) { color: #fff; }

/* ── Boutons (48 px minimum) ─────────────────────────────────────── */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 52px; padding: 12px 26px; border-radius: 999px; border: 2px solid transparent;
	font-family: var(--titres); font-weight: 800; font-size: 1.05rem; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
	text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-principal { background: var(--corail-btn); color: #fff; }
.btn-principal:hover { background: var(--corail-btn-survol); color: #fff; }
.btn-secondaire { background: #fff; color: var(--sauge); border-color: var(--sauge); }
.btn-secondaire:hover { background: var(--sauge); color: #fff; }
.btn-sauge { background: var(--sauge); color: #fff; }
.btn-sauge:hover { background: var(--sauge-fonce); color: #fff; }
.btn-clair { background: #fff; color: var(--nuit); }
.btn-clair:hover { background: var(--ivoire); color: var(--nuit); }
.btn-petit { min-height: 48px; padding: 10px 20px; font-size: 1rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.groupe-boutons { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ── En-tête ─────────────────────────────────────────────────────── */
.entete { position: sticky; top: 0; z-index: 100; background: #fff; transition: box-shadow .2s; }
.entete.defile { box-shadow: 0 4px 18px rgba(23, 50, 77, .12); }
.entete-haut { background: var(--nuit); color: #fff; font-size: .9rem; }
.entete-haut-interne { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.entete-haut p { margin: 0; }
.entete-haut a { color: #fff; font-weight: 700; text-decoration: none; }
.entete-haut-droite { display: flex; gap: 22px; }
.entete-haut .fa { color: #F3B9A9; margin-right: 4px; }
.entete-principal { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }

.logo { display: inline-flex; align-items: center; flex-shrink: 0; border-radius: 8px; }
.logo img { display: block; width: auto; height: 64px; }

.menu { display: flex; align-items: center; gap: 14px; }
.menu-liste { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.menu-liste > li { position: relative; display: flex; align-items: center; }
.menu-liste > li > a {
	display: inline-flex; align-items: center; min-height: 48px; padding: 8px 10px; border-radius: 8px; white-space: nowrap;
	color: var(--nuit); font-family: var(--titres); font-weight: 700; font-size: 1rem; text-decoration: none;
}
.menu-devis { white-space: nowrap; padding-left: 20px; padding-right: 20px; }
.menu-liste > li > a:hover { background: var(--sauge-clair); }
.menu-liste a[aria-current="page"] { color: var(--sauge); box-shadow: inset 0 -3px 0 var(--corail); border-radius: 8px 8px 0 0; }
.sous-menu-bouton {
	display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 48px;
	margin-left: -8px; border: 0; background: none; color: var(--nuit); cursor: pointer; font-size: 1.1rem; border-radius: 8px;
}
.sous-menu-bouton[aria-expanded="true"] .fa { transform: rotate(180deg); }
.sous-menu {
	display: none; position: absolute; top: 100%; left: 0; min-width: 320px; z-index: 50;
	list-style: none; margin: 0; padding: 10px; background: #fff; border-radius: var(--rayon); box-shadow: var(--ombre);
	border: 1px solid var(--bord);
}
.sous-menu.ouvert { display: block; }
@media (hover: hover) and (min-width: 1181px) {
	.a-sous-menu:hover .sous-menu, .a-sous-menu:focus-within .sous-menu { display: block; }
}
.sous-menu a {
	display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 12px; border-radius: 8px;
	color: var(--nuit); text-decoration: none; font-weight: 600;
}
.sous-menu a:hover { background: var(--ivoire); }
.sous-menu .fa { width: 22px; text-align: center; color: var(--sauge); }
.menu-bouton {
	display: none; align-items: center; gap: 8px; min-height: 48px; padding: 8px 16px;
	border: 2px solid var(--nuit); border-radius: 999px; background: #fff; color: var(--nuit);
	font-family: var(--titres); font-weight: 800; font-size: 1rem; cursor: pointer;
}

/* ── Hero (carrousel : accroche + actualités) ────────────────────── */
.hero { background: linear-gradient(180deg, var(--ivoire) 0%, #fff 100%); padding: 56px 0 64px; overflow: hidden; }
.hero-carrousel { position: relative; }
.hero-diapos { display: grid; grid-template-columns: minmax(0, 1fr); }
.hero-slide {
	grid-column: 1; grid-row: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center;
	opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s;
}
.hero-slide.actif { opacity: 1; visibility: visible; }
.hero-carrousel[data-unique="1"] .hero-slide { opacity: 1; visibility: visible; }
.hero-slide.sans-visuel { grid-template-columns: 1fr; max-width: 860px; }
.hero-texte p.hero-description { font-size: 1.25rem; color: var(--texte-doux); max-width: 34em; }
.hero-liste { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-liste li { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.hero-liste .fa { color: var(--sauge); font-size: 1.2rem; }
.hero-note { font-size: .95rem; color: var(--texte-doux); margin-top: 14px; }

.hero-visuel { position: relative; }
.hero-tuiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hero-tuile {
	aspect-ratio: 1; border-radius: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 8px; background: #fff; box-shadow: var(--ombre-legere); border: 1px solid var(--bord);
	color: var(--nuit); font-family: var(--titres); font-weight: 800; font-size: .95rem; text-align: center; padding: 8px;
	text-decoration: none;
}
.hero-tuile .fa { font-size: 2.1rem; color: var(--sauge); }
.hero-tuile:nth-child(2), .hero-tuile:nth-child(6) { background: var(--sauge); color: #fff; border-color: var(--sauge); }
.hero-tuile:nth-child(2) .fa, .hero-tuile:nth-child(6) .fa { color: #fff; }
.hero-tuile:nth-child(4) { background: var(--corail-clair); border-color: #F2CFC4; }
.hero-tuile:hover { transform: translateY(-2px); box-shadow: var(--ombre); }
.hero-carte-flottante {
	position: relative; margin: 18px 0 0; max-width: 420px; background: #fff; border-radius: var(--rayon);
	box-shadow: var(--ombre); padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start; font-size: .98rem;
	border-left: 5px solid var(--corail);
}
.hero-carte-flottante .fa { color: var(--corail-btn); font-size: 1.5rem; margin-top: 2px; }
.hero-carte-flottante p { margin: 0; }

.actu-etiquette {
	display: inline-flex; align-items: center; gap: 8px; background: var(--corail-clair); color: var(--corail-btn-survol);
	font-family: var(--titres); font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em;
	padding: 6px 14px; border-radius: 999px; margin-bottom: 12px;
}
.actu-date { color: var(--texte-doux); font-size: .95rem; margin-bottom: 6px; }
.actu-titre { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.actu-contenu { font-size: 1.12rem; color: var(--texte-doux); }
.actu-contenu h2, .actu-contenu h3 { font-size: 1.3rem; margin-top: .6em; }
.actu-contenu .ligne-vide { height: 8px; margin: 0; }
.actu-contenu ul { margin: 0 0 1em; }
.actu-visuel { display: grid; justify-items: center; }
.actu-visuel img {
	grid-column: 1; grid-row: 1; max-height: 420px; width: auto; border-radius: 20px; object-fit: contain;
	opacity: 0; transition: opacity .5s;
}
.actu-visuel img.actif { opacity: 1; }

.hero-commandes { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 36px; }
.hero-nav, .hero-pause {
	width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--bord); background: #fff; color: var(--nuit);
	cursor: pointer; font-size: 1.15rem; display: inline-flex; align-items: center; justify-content: center;
}
.hero-nav:hover, .hero-pause:hover { border-color: var(--sauge); color: var(--sauge); }
.hero-points { display: flex; gap: 6px; }
.hero-point {
	width: 32px; height: 32px; border: 0; background: none; cursor: pointer; padding: 0;
	display: inline-flex; align-items: center; justify-content: center;
}
.hero-point::before { content: ""; width: 12px; height: 12px; border-radius: 6px; background: #C9C2B2; transition: .25s; }
.hero-point[aria-current="true"]::before { width: 28px; background: var(--sauge); }

/* ── Cartes de services ──────────────────────────────────────────── */
.grille-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.carte-service {
	display: flex; flex-direction: column; background: #fff; border-radius: 20px; padding: 30px 28px;
	border: 1px solid var(--bord); box-shadow: var(--ombre-legere); transition: box-shadow .2s, transform .2s;
	position: relative;
}
.carte-service:hover { box-shadow: var(--ombre); transform: translateY(-3px); }
.carte-icone {
	width: 68px; height: 68px; border-radius: 18px; background: var(--sauge-clair); color: var(--sauge);
	display: flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 18px;
}
.carte-service:nth-child(3n+2) .carte-icone { background: var(--corail-clair); color: var(--corail-btn); }
.carte-service:nth-child(3n) .carte-icone { background: #E4EAF1; color: var(--nuit); }
.carte-service h3 { font-size: 1.4rem; }
.carte-service h3 a { color: var(--nuit); text-decoration: none; }
.carte-service h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 20px; }
.carte-service h3 a:focus-visible { outline: none; }
.carte-service:focus-within { outline: 3px solid var(--nuit); outline-offset: 3px; }
.carte-service p { color: var(--texte-doux); }
.carte-prix { margin-top: auto; font-weight: 700; color: var(--sauge); }
.carte-lien { font-family: var(--titres); font-weight: 800; color: var(--corail-btn); display: inline-flex; gap: 8px; align-items: center; }
.etiquette-partenaire {
	display: inline-block; background: var(--ivoire); border: 1px solid var(--bord); border-radius: 999px;
	font-size: .82rem; padding: 3px 12px; margin-bottom: 12px; color: var(--texte-doux); font-weight: 600;
}

/* ── Recherche par code postal ───────────────────────────────────── */
.zone-boite {
	background: var(--sauge); color: #fff; border-radius: 24px; padding: 44px; display: grid;
	grid-template-columns: 1fr 1fr; gap: 36px; align-items: center;
}
.zone-boite > * { min-width: 0; }  /* colonnes rétrécissables : rien ne déborde à 320 px */
.zone-boite h2 { color: #fff; }
.zone-boite p { color: #E8F0ED; }
.zone-form label { display: block; font-weight: 700; margin-bottom: 8px; color: #fff; }
.zone-champ { display: flex; gap: 10px; flex-wrap: wrap; }
.zone-champ input {
	flex: 1 1 180px; min-width: 0; min-height: 56px; border-radius: 14px; border: 2px solid transparent; padding: 10px 18px;
	font-size: 1.25rem; font-family: var(--corps); letter-spacing: .1em;
}
.zone-champ input:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.zone-resultat { margin-top: 16px; min-height: 1.6em; }
.zone-resultat .resultat {
	display: flex; gap: 12px; align-items: flex-start; background: #fff; color: var(--nuit); border-radius: 14px; padding: 14px 18px;
}
.zone-resultat .resultat .fa { font-size: 1.5rem; margin-top: 2px; }
.resultat-desservie .fa { color: var(--succes); }
.resultat-ouverture .fa { color: var(--alerte); }
.resultat-hors_zone .fa { color: var(--erreur); }
.zone-resultat .resultat p { margin: 0; color: var(--texte-doux); }
.zone-resultat .resultat strong { color: var(--nuit); display: block; font-size: 1.1rem; }

/* ── Étapes ──────────────────────────────────────────────────────── */
.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: etape; list-style: none; padding: 0; margin: 0; }
.etape { background: #fff; border-radius: 20px; padding: 32px 28px; border: 1px solid var(--bord); position: relative; }
.etape::before {
	counter-increment: etape; content: counter(etape);
	display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%;
	background: var(--corail-btn); color: #fff; font-family: var(--titres); font-weight: 900; font-size: 1.4rem; margin-bottom: 16px;
}
.etape h3 { font-size: 1.25rem; }
.etape p { margin: 0; color: var(--texte-doux); }

/* ── Aides, engagements ──────────────────────────────────────────── */
.deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.encart {
	background: #fff; border-radius: 24px; padding: 36px; border: 1px solid var(--bord); box-shadow: var(--ombre-legere);
}
.encart-chiffre { font-family: var(--titres); font-weight: 900; font-size: 3.4rem; color: var(--sauge); line-height: 1; }
.liste-coches { list-style: none; padding: 0; margin: 0 0 1.2em; }
.liste-coches li { position: relative; padding-left: 34px; margin-bottom: 10px; }
.liste-coches li::before {
	content: "\f00c"; font-family: FontAwesome; position: absolute; left: 0; top: 1px;
	width: 24px; height: 24px; border-radius: 50%; background: var(--sauge-clair); color: var(--sauge);
	font-size: .8rem; display: flex; align-items: center; justify-content: center;
}
.mention { font-size: .92rem; color: var(--texte-doux); }
.engagements { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.engagement { text-align: center; padding: 26px 18px; background: #fff; border-radius: 20px; border: 1px solid var(--bord); }
.engagement .fa {
	font-size: 1.8rem; color: var(--sauge); width: 64px; height: 64px; border-radius: 50%; background: var(--sauge-clair);
	display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.engagement h3 { font-size: 1.15rem; }
.engagement p { color: var(--texte-doux); font-size: 1rem; margin: 0; }
.equipe { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; margin-top: 40px; }
.equipe-avatar {
	width: 110px; height: 110px; border-radius: 50%; background: var(--sauge); color: #fff; display: flex;
	align-items: center; justify-content: center; font-family: var(--titres); font-weight: 900; font-size: 2.2rem;
}

/* ── FAQ ─────────────────────────────────────────────────────────── */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--bord); border-radius: 16px; margin-bottom: 12px; }
.faq summary {
	cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; min-height: 48px; position: relative;
	font-family: var(--titres); font-weight: 800; font-size: 1.12rem; color: var(--nuit);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "\f067"; font-family: FontAwesome; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
	color: var(--corail-btn);
}
.faq details[open] summary::after { content: "\f068"; }
.faq .faq-reponse { padding: 0 22px 18px; color: var(--texte-doux); }
.faq .faq-reponse p:last-child { margin: 0; }
.faq-groupe { margin-bottom: 40px; }

/* ── Bloc d'appel à l'action ─────────────────────────────────────── */
.bloc-cta { padding: 56px 0; }
.bloc-cta-interne { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.bloc-cta h2 { margin-bottom: .2em; }
.bloc-cta p { margin: 0; color: #DCE4EC; }

/* ── Pages intérieures ───────────────────────────────────────────── */
.bandeau-page { background: var(--ivoire); padding: 36px 0 44px; border-bottom: 1px solid var(--bord); }
.bandeau-intro { font-size: 1.22rem; color: var(--texte-doux); max-width: 46em; margin: 0; }
.fil-ariane ol { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .95rem; }
.fil-ariane li { color: var(--texte-doux); }
.fil-ariane li + li::before { content: "›"; margin-right: 6px; color: var(--texte-doux); }
.fil-ariane a { color: var(--sauge); }
.contenu-texte { max-width: 860px; }
.contenu-texte h2 { margin-top: 1.6em; font-size: 1.7rem; }
.contenu-texte h3 { margin-top: 1.2em; }
.mise-en-page { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.colonne-laterale { position: sticky; top: 130px; display: grid; gap: 20px; }
.carte-laterale { background: var(--ivoire); border-radius: 20px; padding: 26px; border: 1px solid var(--bord); }
.carte-laterale h2 { font-size: 1.3rem; }
.carte-laterale .btn { width: 100%; margin-top: 10px; }
.liste-simple { list-style: none; padding: 0; margin: 0; }
.liste-simple li { padding: 6px 0; border-bottom: 1px dashed var(--bord); }
.liste-simple li:last-child { border-bottom: 0; }
.bon-a-savoir {
	background: var(--alerte-fond); border-left: 5px solid #D9A21B; border-radius: 12px; padding: 18px 22px; margin: 24px 0;
}
.bon-a-savoir h2, .bon-a-savoir h3 { font-size: 1.15rem; margin-bottom: .4em; }
.bon-a-savoir p:last-child { margin: 0; }
.encadre-partenaire { background: var(--sauge-clair); border-radius: 16px; padding: 22px 24px; margin: 28px 0; }

/* ── Tableaux de tarifs ──────────────────────────────────────────── */
.tableau-defilant { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 28px; }
.tableau {
	width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--bord);
	border-radius: 16px; overflow: hidden; font-size: 1rem;
}
.tableau caption { text-align: left; font-family: var(--titres); font-weight: 800; font-size: 1.3rem; color: var(--nuit); padding: 0 0 10px; }
.tableau th, .tableau td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--bord); }
.tableau thead th { background: var(--nuit); color: #fff; font-family: var(--titres); font-weight: 800; }
.tableau tbody tr:last-child td, .tableau tbody tr:last-child th { border-bottom: 0; }
.tableau tbody th { font-weight: 700; }
.tableau .prix { font-weight: 800; color: var(--sauge); white-space: nowrap; }
.tableau small { color: var(--texte-doux); display: block; }
.pastille {
	display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .85rem; font-weight: 700; white-space: nowrap;
}
.pastille-oui { background: var(--succes-fond); color: var(--succes); }
.pastille-non { background: #ECEEF1; color: #4A5562; }
.pastille-ouverture { background: var(--alerte-fond); color: var(--alerte); }

/* ── Simulateur ──────────────────────────────────────────────────── */
.simulateur { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.simulateur-resultat { background: var(--nuit); color: #fff; border-radius: 24px; padding: 32px; }
.simulateur-resultat h3 { color: #fff; }
.simulateur-resultat dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; margin: 0 0 18px; }
.simulateur-resultat dt { color: #DCE4EC; }
.simulateur-resultat dd { margin: 0; font-weight: 700; text-align: right; white-space: nowrap; }
.simulateur-resultat .total { font-size: 1.15rem; border-top: 1px solid rgba(255,255,255,.25); padding-top: 10px; }
.simulateur-resultat .cout-final { font-family: var(--titres); font-size: 2.2rem; font-weight: 900; color: #fff; }
.simulateur-resultat .mention { color: #DCE4EC; }

/* ── Formulaires ─────────────────────────────────────────────────── */
.formulaire { display: grid; gap: 20px; }
.champ { display: grid; gap: 6px; }
.champ label, .champ legend, .libelle { font-weight: 700; color: var(--nuit); font-size: 1.05rem; }
.champ .aide { font-size: .95rem; color: var(--texte-doux); margin: 0; }
.facultatif { font-weight: 400; color: var(--texte-doux); font-size: .95rem; }
.champ input[type="text"], .champ input[type="email"], .champ input[type="tel"], .champ input[type="number"],
.champ input[type="date"], .champ select, .champ textarea {
	width: 100%; min-height: 52px; border: 2px solid #B9B2A2; border-radius: 12px; padding: 10px 14px;
	font: inherit; font-size: 1.05rem; color: var(--texte); background: #fff;
}
.champ textarea { min-height: 130px; resize: vertical; }
.champ input:focus-visible, .champ select:focus-visible, .champ textarea:focus-visible {
	outline: 3px solid var(--nuit); outline-offset: 1px; border-color: var(--nuit);
}
.champ [aria-invalid="true"] { border-color: var(--erreur); background: #FFFBFA; }
.champ-erreur { color: var(--erreur); font-weight: 600; margin: 0; font-size: .98rem; }
.deux-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.choix-liste { display: grid; gap: 10px; }
.choix-liste.en-ligne { display: flex; flex-wrap: wrap; gap: 10px; }
.choix {
	position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 16px;
	border: 2px solid #CFC8B8; border-radius: 12px; background: #fff; cursor: pointer; font-weight: 600;
}
.choix input { width: 22px; height: 22px; accent-color: var(--sauge); flex-shrink: 0; margin: 0; }
.choix:has(input:checked) { border-color: var(--sauge); background: var(--sauge-clair); }
.choix:has(input:focus-visible) { outline: 3px solid var(--nuit); outline-offset: 2px; }
.choix-prestations { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.choix-prestations .choix { min-height: 72px; }
.choix-prestations .fa { font-size: 1.5rem; color: var(--sauge); width: 28px; text-align: center; }
.champ-piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alerte { border-radius: 14px; padding: 16px 20px; margin-bottom: 22px; display: flex; gap: 12px; align-items: flex-start; }
.alerte .fa { font-size: 1.3rem; margin-top: 3px; }
.alerte p { margin: 0; }
.alerte ul { margin: 6px 0 0; }
.alerte-erreur { background: var(--erreur-fond); color: var(--erreur); border: 1px solid #F0C3BA; }
.alerte-succes { background: var(--succes-fond); color: var(--succes); border: 1px solid #BCDCCB; }
.alerte-info { background: var(--sauge-clair); color: var(--nuit); border: 1px solid #C8D9D2; }
.mention-rgpd { font-size: .92rem; color: var(--texte-doux); }

/* Formulaire de devis en étapes */
.devis-cadre { max-width: 900px; margin: 0 auto; }
.devis-progression { list-style: none; padding: 0; margin: 0 0 30px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.devis-progression li {
	font-size: .9rem; font-weight: 700; color: var(--texte-doux); padding-top: 12px; border-top: 6px solid var(--bord);
}
.devis-progression li.fait { border-color: var(--sauge); color: var(--sauge); }
.devis-progression li.courant { border-color: var(--corail-btn); color: var(--nuit); }
.devis-etape { background: #fff; border: 1px solid var(--bord); border-radius: 22px; padding: 34px; margin-bottom: 22px; }
.devis-etape > h2 { font-size: 1.6rem; display: flex; align-items: center; gap: 12px; }
.devis-etape > h2 .num {
	display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--sauge); color: #fff;
	align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.js .devis-etape { display: none; }
.js .devis-etape.active { display: block; }
.devis-navigation { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.questions-service[hidden] { display: none; }
.recap { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 0; border: 1px solid var(--bord); border-radius: 14px; overflow: hidden; }
.recap dt, .recap dd { margin: 0; padding: 10px 14px; border-bottom: 1px solid var(--bord); }
.recap dt { background: var(--ivoire); font-weight: 700; }
.recap dd { white-space: pre-line; }
.zone-info { margin-top: 4px; }
.confirmation { text-align: center; max-width: 720px; margin: 0 auto; }
.confirmation .fa-check-circle { font-size: 4rem; color: var(--succes); }
.numero-demande {
	display: inline-block; font-family: var(--titres); font-weight: 900; font-size: 1.8rem; background: var(--ivoire);
	border: 2px dashed var(--sauge); border-radius: 14px; padding: 10px 24px; margin: 10px 0 20px; letter-spacing: .04em;
}

/* Contact */
.contact-grille { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.contact-coordonnees { list-style: none; padding: 0; margin: 0 0 20px; }
.contact-coordonnees li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--bord); }
.contact-coordonnees .fa {
	width: 44px; height: 44px; border-radius: 50%; background: var(--sauge-clair); color: var(--sauge);
	display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.2rem;
}
.carte-formulaire { background: #fff; border: 1px solid var(--bord); border-radius: 22px; padding: 32px; margin-bottom: 26px; }

/* Secteurs */
.secteurs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.secteur { background: #fff; border: 1px solid var(--bord); border-radius: 20px; padding: 26px; }
.secteur h3 { font-size: 1.2rem; }
.secteur ul { list-style: none; padding: 0; margin: 0; }
.secteur li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--bord); flex-wrap: wrap; }
.secteur li:last-child { border-bottom: 0; }
.cp { color: var(--texte-doux); font-variant-numeric: tabular-nums; }

/* ── Pied de page ────────────────────────────────────────────────── */
.pied { padding-top: 64px; font-size: 1rem; }
.pied-grille { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 44px; }
.pied h2 { font-size: 1.1rem; color: #fff; margin-bottom: 14px; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: 8px; }
.pied a:not(.btn) { color: #fff; text-decoration: none; }
.pied a:not(.btn):hover { text-decoration: underline; }
.pied p { color: #DCE4EC; }
.pied-marque { margin: 0 0 12px; }
/* Lettres bleu nuit du logo : posé sur un cartouche ivoire pour rester lisible. */
.pied-marque img { display: block; box-sizing: content-box; width: auto; height: 48px; padding: 10px 16px; background: var(--ivoire); border-radius: 12px; }
.pied-contact li { display: flex; gap: 10px; align-items: flex-start; color: #DCE4EC; }
.pied-contact .fa { color: #F3B9A9; margin-top: 5px; width: 16px; }
.pied .btn { margin-top: 10px; }
.pied-bas { border-top: 1px solid rgba(255,255,255,.15); padding: 18px 0; font-size: .95rem; }
.pied-bas-interne { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.pied-bas p { margin: 0; }
.pied-bas ul { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.pied-bas li { margin: 0; }
.pied-bas a { display: inline-flex; min-height: 44px; align-items: center; }

/* Barre d'actions mobile (§ 7 : « Appeler » et « Demander un devis » permanents) */
.barre-mobile { display: none; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1180px) {
	.menu-bouton { display: inline-flex; }
	.menu {
		display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column;
		align-items: stretch; padding: 12px 24px 24px; box-shadow: 0 14px 24px rgba(23,50,77,.15); max-height: calc(100vh - 120px);
		overflow-y: auto;
	}
	.menu.ouvert { display: flex; }
	.entete-principal { position: relative; }
	.menu-liste { flex-direction: column; align-items: stretch; }
	.menu-liste > li { flex-wrap: wrap; border-bottom: 1px solid var(--bord); }
	.menu-liste > li > a { flex: 1; min-height: 56px; }
	.sous-menu-bouton { width: 56px; height: 56px; margin: 0; }
	.sous-menu { position: static; box-shadow: none; border: 0; width: 100%; min-width: 0; padding: 0 0 10px 10px; }
	.menu-devis { margin-top: 16px; }
	.hero-slide { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.hero-carte-flottante { margin-left: 0; }
	.grille-services { grid-template-columns: repeat(2, 1fr); }
	.engagements { grid-template-columns: repeat(2, 1fr); }
	.mise-en-page { grid-template-columns: 1fr; }
	.colonne-laterale { position: static; }
	.pied-grille { grid-template-columns: 1fr 1fr; }
	.secteurs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.barre-mobile {
		display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
		background: #fff; box-shadow: 0 -4px 16px rgba(23,50,77,.15); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
	}
	.barre-mobile a {
		display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 12px;
		font-family: var(--titres); font-weight: 800; text-decoration: none; font-size: 1.02rem;
	}
	.barre-mobile-appel { background: var(--sauge); color: #fff; }
	.barre-mobile-devis { background: var(--corail-btn); color: #fff; }
	.barre-mobile a:hover { color: #fff; }
	body { padding-bottom: 76px; }
	.entete-haut { display: none; }
	.zone-boite, .deux-colonnes, .simulateur, .contact-grille { grid-template-columns: 1fr; }
	.zone-boite { padding: 30px 24px; }
	.etapes { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	body { font-size: 1rem; }  /* 16 px minimum sur mobile */
	.conteneur { padding: 0 16px; }
	.section { padding: 52px 0; }
	.hero { padding: 32px 0 44px; }
	.hero-texte p.hero-description { font-size: 1.1rem; }
	.groupe-boutons .btn { width: 100%; }
	.grille-services, .engagements, .secteurs, .pied-grille, .deux-champs { grid-template-columns: 1fr; }
	.hero-tuiles { gap: 10px; }
	.hero-tuile { font-size: .82rem; border-radius: 16px; }
	.hero-tuile .fa { font-size: 1.6rem; }
	.hero-carte-flottante { margin: 16px 0 0; max-width: none; }
	.logo img { height: 50px; }
	.menu-bouton span { display: none; }
	.devis-etape, .carte-formulaire, .encart { padding: 22px 18px; }
	.devis-progression li { font-size: 0; border-top-width: 8px; }
	.recap { grid-template-columns: 1fr; }
	.recap dt { border-bottom: 0; padding-bottom: 2px; }
	.equipe { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	/* Tableaux en fiches empilées : plus lisibles qu'un défilement horizontal */
	.tableau, .tableau tbody, .tableau tr, .tableau th, .tableau td { display: block; width: 100%; }
	.tableau thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
	.tableau caption { display: block; }
	.tableau tbody tr { border-bottom: 1px solid var(--bord); padding: 6px 0; }
	.tableau tbody tr:last-child { border-bottom: 0; }
	.tableau th, .tableau td { border: 0; padding: 6px 14px; }
	.tableau tbody th { font-size: 1.05rem; padding-top: 12px; }
	.tableau td[data-label]::before { content: attr(data-label) " : "; font-weight: 700; color: var(--nuit); }
	.tableau td.prix small { display: inline; margin-left: 6px; }
}
/* ── Animations d'entrée ───────────────────────────────────────────────
   Hero et bandeau de titre : CSS pur, joué au chargement, même sans
   JavaScript. Remplissage « backwards » : rien ne subsiste après l'entrée,
   les effets de survol restent actifs. */
@keyframes eg-entree {
	from { opacity: 0; transform: translateY(18px); }
	to   { opacity: 1; transform: none; }
}
.bandeau-page .conteneur > *,
.hero-texte > *,
.hero-tuile,
.hero-carte-flottante {
	animation: eg-entree .7s cubic-bezier(.2, .7, .2, 1) backwards;
}
.bandeau-page .conteneur > :nth-child(2), .hero-texte > :nth-child(2) { animation-delay: .08s; }
.bandeau-page .conteneur > :nth-child(3), .hero-texte > :nth-child(3) { animation-delay: .16s; }
.hero-texte > :nth-child(4) { animation-delay: .24s; }
.hero-texte > :nth-child(5) { animation-delay: .32s; }
.hero-texte > :nth-child(6) { animation-delay: .4s; }
.hero-tuile:nth-child(1) { animation-delay: .2s; }
.hero-tuile:nth-child(2) { animation-delay: .27s; }
.hero-tuile:nth-child(3) { animation-delay: .34s; }
.hero-tuile:nth-child(4) { animation-delay: .41s; }
.hero-tuile:nth-child(5) { animation-delay: .48s; }
.hero-tuile:nth-child(6) { animation-delay: .55s; }
.hero-carte-flottante { animation-delay: .7s; }

/* Tous les autres blocs : révélés à leur entrée à l'écran par js/site.js.
   Le mini-script du <head> pose « anim-js » avant le premier affichage
   (jamais sans JavaScript, ni si l'utilisateur réduit les animations) :
   sections et pied de page restent masqués le temps que site.js répartisse
   les blocs (« anim-pret »), ce qui évite tout clignotement. Secours : si
   site.js ne s'exécute pas, tout redevient visible au bout de 3 s. */
.anim-js:not(.anim-pret) main > section:not(.hero):not(.bandeau-page),
.anim-js:not(.anim-pret) .pied { opacity: 0; animation: eg-secours 0s linear 3s forwards; }
@keyframes eg-secours { to { opacity: 1; } }
.anim-attente { opacity: 0; transform: translateY(24px); }
.anim-entree {
	transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1) !important;
	transition-delay: var(--anim-delai, 0s) !important;
}

/* Très petits écrans (320 px) : 3 tuiles de front coupaient la 3e colonne. */
@media (max-width: 380px) {
	.hero-tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.zone-boite { padding: 24px 18px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
	.anim-attente { opacity: 1 !important; transform: none !important; }
}
@media print {
	.anim-attente, .anim-js main > section, .anim-js .pied { opacity: 1 !important; transform: none !important; animation: none !important; }
	.entete, .barre-mobile, .pied, .bloc-cta, .hero-commandes { display: none !important; }
	body { padding: 0; }
}

/* Cartes blanches posées sur un fond sombre */
.fond-sombre .carte-formulaire, .fond-sombre .carte-formulaire h3, .zone-resultat .resultat { color: var(--nuit); }
.fond-sombre .carte-formulaire a:not(.btn), .zone-resultat .resultat a { color: var(--sauge); }
.fond-sombre .carte-formulaire :focus-visible, .zone-resultat .resultat :focus-visible { outline-color: var(--nuit); }
