/* Les Eugène : site vitrine. CSS vanilla, aucun style en ligne dans les gabarits (CSP stricte).
   Tokens dans :root pour pouvoir harmoniser avec le tunnel BtoC (étape 2) sans réécrire les composants. */

@font-face { font-family: "Open Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/open-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/open-sans-600.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/open-sans-700.woff2") format("woff2"); }
@font-face { font-family: "Victor Mono"; font-weight: 700; font-style: italic; font-display: swap; src: url("../fonts/victor-mono-700-italic.woff2") format("woff2"); }

:root {
    --bleu: #0b2d72;
    --vert: #94ce0b;
    --ocre: #b4883b;
    --fond: #edf4f8;
    --bleu-clair: #80bae9;
    --bleu-carte: #3062a6;
    --orange: #ffa125;
    --orange-survol: #ffb950;
    --bleu-pale: #b3d9f2;
    --gris-contact: #efefef;
    --turquoise: #00acad;
    --texte: #333;
    --blanc: #fff;

    --font-corps: "Open Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    --font-titre: "Victor Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

    --espace-1: .5rem;
    --espace-2: 1rem;
    --espace-3: 1.5rem;
    --espace-4: 2.5rem;
    --espace-5: 4rem;
    --espace-6: 6rem;
    --rayon: 16px;
    --conteneur: 1288px;
    --conteneur-large: 1328px;
    --hauteur-entete: 100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* Bouton vers un bloc (#ancre) : le haut du bloc n'est pas caché sous l'en-tête collant. */
.bloc[id] { scroll-margin-top: var(--hauteur-entete); }
body { margin: 0; font-family: var(--font-corps); font-size: 16px; line-height: 24px; color: var(--bleu); background: var(--blanc); }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0 0 var(--espace-2); color: var(--bleu); line-height: 1.25; }
h1 { font-size: 2rem; font-weight: 400; }
h3, h4 { font-weight: 700; font-size: 1.125rem; }
p { margin: 0 0 var(--espace-2); }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--bleu); }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--turquoise); outline-offset: 2px; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.evitement { position: absolute; left: var(--espace-2); top: -4rem; z-index: 100; padding: .5rem 1rem; background: var(--bleu); color: var(--blanc); border-radius: 0 0 8px 8px; }
.evitement:focus { top: 0; }

.conteneur { width: 100%; max-width: var(--conteneur); margin-inline: auto; padding-inline: var(--espace-3); }
.conteneur--large { max-width: var(--conteneur-large); }
.conteneur--texte { max-width: 848px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border-radius: 50px; font-family: inherit; font-weight: 700; font-size: 17px; text-decoration: none; text-align: center; line-height: 1.2; border: 0; cursor: pointer; transition: background-color .3s, filter .3s; }
.btn::after { content: ""; flex: none; width: 12px; height: 10px; margin-left: 10px; background: currentColor; -webkit-mask: url("../images/fleche.svg") no-repeat center / contain; mask: url("../images/fleche.svg") no-repeat center / contain; }
.btn--orange { background: var(--orange); color: var(--blanc); }
.btn--orange:hover { background: var(--orange-survol); }
.btn--vert { background: var(--vert); color: var(--bleu); }
.btn--entete { font-size: 16px; text-transform: capitalize; }
.btn--entete::after { content: none; }
.btn:hover { filter: brightness(.94); }
.btn--orange:hover { filter: none; }
.bloc__cta { margin: var(--espace-4) 0 0; text-align: center; }

/* En-tête du site */
.entete-site { position: sticky; top: 0; z-index: 50; background: var(--blanc); }
.entete-site__barre { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; height: var(--hauteur-entete); }
.entete-site__logo img { display: block; width: 166px; height: 40px; }
.entete-site__menu { display: flex; align-items: center; flex: 1; justify-content: space-between; gap: 30px; }
.entete-site__menu nav { flex: 1; }
.entete-site__boutons { display: flex; align-items: center; gap: 30px; }
.entete-site__burger { display: none; }
.menu { display: flex; justify-content: center; }
.menu__item { position: relative; display: flex; align-items: center; padding-inline: 24px; }
.menu__lien { display: inline-block; padding-bottom: 5px; border-bottom: 2px solid transparent; font-size: 16px; text-decoration: none; text-transform: uppercase; color: var(--bleu); }
.menu__lien[aria-current="page"], .menu__lien:hover { color: var(--bleu-clair); border-bottom-color: var(--bleu-clair); }
/* Rubrique : le libellé est un bouton qui ouvre le sous-menu, habillé comme un lien du menu. */
.menu__lien--rubrique { margin: 0; padding-inline: 0; padding-top: 0; border-width: 0 0 2px; background: none; font-family: inherit; line-height: inherit; cursor: pointer; }
.menu__lien--courant { color: var(--bleu-clair); border-bottom-color: var(--bleu-clair); }
.menu__item--parent > .menu__lien::after { content: ""; display: inline-block; width: 10px; height: 12px; margin-left: 10px; background: currentColor; vertical-align: -1px; -webkit-mask: url("../images/fleche-bas.svg") no-repeat center / contain; mask: url("../images/fleche-bas.svg") no-repeat center / contain; }
.menu__item::after { content: ""; position: absolute; right: -4px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-radius: 50%; background: var(--vert); }
.menu__item:last-child::after { content: none; }
.menu__bascule { display: none; }
.menu__sous { position: absolute; left: 50%; top: calc(100% + 15px); min-width: 15rem; padding: var(--espace-1) 0; transform: translateX(-50%); background: var(--blanc); border-radius: 20px; box-shadow: 0 8px 24px rgb(0 0 0 / 25%); visibility: hidden; opacity: 0; transition: opacity .15s; }
.menu__sous::before { content: ""; position: absolute; left: 0; right: 0; top: -15px; height: 15px; }
.menu__sous a { display: block; padding: .5rem var(--espace-2); font-size: 17px; text-align: center; text-decoration: none; }
.menu__sous a:hover, .menu__sous a[aria-current="page"] { color: var(--bleu-clair); }
.menu__item--parent:hover .menu__sous, .menu__item--parent:focus-within .menu__sous { visibility: visible; opacity: 1; }

/* Blocs : fonds et rythme vertical */
.bloc { padding-block: 80px; position: relative; }
.fond--blanc { background: var(--blanc); }
.fond--clair { background: var(--fond); }
.fond--vert { background: var(--vert); }
.fond--vert + .fond--vert { padding-top: 0; }
.fond--blanc + .fond--blanc { padding-top: 0; }
.fond--clair + .fond--clair { padding-top: 0; }
.fond--clair + .fond--clair.bloc--etapes { padding-top: 80px; }
.fond--vert .prose, .fond--vert .prose a { color: var(--bleu); }
.bloc--hero { padding-block: 60px 100px; }
.bloc--video { padding-block: 90px; }
.bloc--logos, .fond--blanc + .fond--blanc.bloc--logos { padding-block: 100px; }
.bloc--texte { padding-block: 100px; }
.bloc--chiffres { padding-block: 100px 60px; }
/* Deux blocs de même fond se suivent : ils ne forment qu'une section, espacée de 60 px. */
.fond--blanc:has(+ .fond--blanc:not(.bloc--logos)), .fond--clair:has(+ .fond--clair), .fond--vert:has(+ .fond--vert) { padding-bottom: 60px; }

/* Décors : feuilles (goutte.png), filigrane poubelle. Liés au type de bloc et au fond, jamais une option de l'éditrice. */
.hero__grille { position: relative; }
.hero__grille::before { content: ""; position: absolute; top: -20px; left: -56px; width: 85px; height: 115px; background: url("../images/goutte.png") no-repeat center / contain; }
/* Sections de 4 colonnes sur fond clair : grande feuille en haut à gauche, à la place des étoiles du titre. */
.bloc--frise.fond--clair .conteneur, .bloc--cartes.fond--clair:has(.cartes--4) .conteneur { position: relative; }
.bloc--frise.fond--clair .conteneur::before, .bloc--cartes.fond--clair:has(.cartes--4) .conteneur::before { content: ""; position: absolute; top: -170px; left: 24px; width: 220px; height: 310px; transform: rotate(25deg); background: url("../images/goutte.png") no-repeat center / contain; }
.bloc--frise.fond--clair .entete__titre::before, .bloc--frise.fond--clair .entete__titre::after,
.bloc--cartes.fond--clair:has(.cartes--4) .entete__titre::before, .bloc--cartes.fond--clair:has(.cartes--4) .entete__titre::after { content: none; }
.bloc--frise.fond--clair .entete__titre, .bloc--cartes.fond--clair:has(.cartes--4) .entete__titre { max-width: 940px; padding-top: 40px; }
/* Textes titrés sur fond vert ou clair, et bloc adresses : feuille plus petite. */
.bloc--texte.fond--vert:has(.entete__titre)::before, .bloc--texte.fond--clair:has(.entete__titre)::before { content: ""; position: absolute; top: -40px; left: calc(50% - 625px); width: 126px; height: 170px; transform: rotate(20deg); background: url("../images/goutte.png") no-repeat center / contain; }
.bloc--adresses:has(.entete__titre) .conteneur { position: relative; }
.bloc--adresses:has(.entete__titre) .conteneur::before { content: ""; position: absolute; top: -143px; left: 24px; width: 126px; height: 170px; transform: rotate(20deg); background: url("../images/goutte.png") no-repeat center / contain; }
/* C-11 : le filigrane poubelle (539 px de haut) ne dépasse plus sous son bloc, où il se peignait par-dessus les images du bloc
   suivant : `overflow: clip` coupe aussi le bas (seul le côté droit l'était). Les feuilles, plus petites, restent volontairement
   à cheval sur le bloc précédent (décision Jérôme 2026-10-15, docs/RETOURS-ADMIN-2.md C-11) : si l'une recouvre une photo, Méline décoche « Afficher le décor » sur ce bloc. */
/* Cartes à 3 colonnes sur fond clair : filigrane poubelle derrière, à droite. */
.bloc--cartes.fond--clair:has(.cartes--3) { overflow: clip; }
.bloc--cartes.fond--clair:has(.cartes--3) .conteneur { position: relative; isolation: isolate; }
.bloc--cartes.fond--clair:has(.cartes--3) .conteneur::before { content: ""; position: absolute; z-index: -1; top: 0; right: -160px; width: 556px; height: 539px; background: url("../images/poubelle-filigrane.svg") no-repeat 0 0 / 556px 539px; }
/* Citation sur fond vert : goutte blanche à gauche. */
.fond--vert .citation { position: relative; }
.fond--vert .citation__texte { padding-left: 110px; margin-bottom: 45px; }
.citation + .bloc__cta { margin-top: 60px; }
.fond--vert .citation::before { content: ""; position: absolute; top: 0; left: 0; width: 79px; height: 114px; background: url("../images/goutte-white.png") no-repeat 0 0 / auto; }
/* C-11 : case « Afficher le décor » décochée (bloc--sans-decor) : ni feuille, ni poubelle, ni goutte de citation ; les étoiles du titre restent. */
.bloc--sans-decor .hero__grille::before, .bloc--sans-decor .conteneur::before, .bloc--sans-decor.bloc--texte::before, .bloc--sans-decor .citation::before { content: none; }
.bloc--sans-decor.bloc--frise.fond--clair .entete__titre::before, .bloc--sans-decor.bloc--frise.fond--clair .entete__titre::after,
.bloc--sans-decor.bloc--cartes.fond--clair:has(.cartes--4) .entete__titre::before, .bloc--sans-decor.bloc--cartes.fond--clair:has(.cartes--4) .entete__titre::after { content: ""; }
.bloc--sans-decor.bloc--frise.fond--clair .entete__titre, .bloc--sans-decor.bloc--cartes.fond--clair:has(.cartes--4) .entete__titre { max-width: calc(100% - 190px); padding-top: 0; }
.bloc--sans-decor.fond--vert .citation__texte { padding-left: 0; }

/* En-tête de section : titre Victor Mono encadré de deux étoiles */
.entete { margin-bottom: 60px; text-align: center; }
.entete__titre { display: inline-block; position: relative; max-width: calc(100% - 190px); margin: 0 auto; font-family: var(--font-titre); font-style: italic; font-weight: 700; font-size: 40px; line-height: 42px; letter-spacing: .01em; color: var(--bleu); }
.entete__titre + .entete__intro { margin-top: 50px; }
@media (min-width: 601px) {
    .bloc--mosaique .entete__titre, .bloc--equipe .entete__titre, .bloc--etapes .entete__titre, .bloc--adresses .entete__titre, .bloc--texte_image .entete__titre { max-width: 610px; }
    /* C-10 : largeur du titre choisie par bloc (les classes sont répétées pour l'emporter sur les règles propres à un type ou à un fond). */
    .bloc.bloc--titre-etroite.bloc--titre-etroite .entete__titre.entete__titre { max-width: 610px; }
    .bloc.bloc--titre-large.bloc--titre-large .entete__titre.entete__titre { max-width: calc(100% - 190px); }
    .bloc--adresses, .bloc--texte_image, .bloc--equipe { padding-top: 100px; }
    .bloc--adresses .entete, .bloc--texte_image .entete, .bloc--equipe .entete { margin-bottom: 100px; }
    .bloc--adresses .entete__titre + .entete__intro, .bloc--texte_image .entete__titre + .entete__intro, .bloc--equipe .entete__titre + .entete__intro { margin-top: 80px; }
}
.entete__titre::before, .entete__titre::after { content: ""; position: absolute; top: 0; width: 43px; height: 46px; background: url("../images/etoile.svg") no-repeat center / contain; }
.entete__titre::before { left: -95px; }
.entete__titre::after { right: -95px; }
.entete__intro { max-width: 800px; margin-inline: auto; }
.bloc--frise .entete__intro, .bloc--cartes:has(.cartes--4) .entete__intro { max-width: none; }
.entete__intro p { margin-bottom: 5px; }
.entete__intro p:last-child { margin-bottom: 0; }
.fond--vert .entete__titre { color: var(--bleu); }

.prose { font-size: 16px; line-height: 24px; color: var(--bleu); }
.prose h2 { font-family: var(--font-titre); font-style: italic; font-weight: 700; font-size: 1.5rem; }
.prose h3 { margin: 20px 0; font-size: 24px; line-height: 28px; font-weight: 400; text-align: center; }
.bloc--texte .prose:first-child + .bloc__cta { margin-top: 120px; }
.prose blockquote { margin: var(--espace-2) 0; padding-left: var(--espace-2); border-left: 4px solid var(--vert); }
.prose a { text-decoration: underline; }
.bloc--texte .prose { text-align: center; }
.bloc--texte .entete { margin-bottom: 80px; }
.bloc--texte .prose p { margin-bottom: 20px; }
.bloc--texte .prose ul, .bloc--texte .prose ol { display: inline-block; text-align: left; }
.prose ul { list-style: disc; padding-left: 1.25rem; margin-bottom: var(--espace-2); }
.prose ol { list-style: decimal; padding-left: 1.25rem; margin-bottom: var(--espace-2); }

/* Bandeau d'en-tête de page */
.hero__grille { display: grid; grid-template-columns: 1fr 2.2fr; gap: 30px; align-items: start; }
.hero__titre { margin: 0 0 var(--espace-3); font-size: 30px; line-height: 45px; font-weight: 400; color: var(--bleu); }
.hero__accroche { margin: 0 0 50px; padding: 10px 0; color: var(--blanc); font-size: 25px; line-height: 37.5px; transform: rotate(-1.5deg); }
.hero__accroche-texte { padding: 10px 15px; background: var(--bleu); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero__accroche strong { font-weight: 700; }
.hero__cta { margin: 0; text-align: center; }
.hero__image { display: block; width: 100%; }

/* Cartes */
/* C-12 : largeur de carte fixe, rangées centrées (flex-wrap), retour à la ligne quand la rangée est pleine. Le format (cartes--3 grandes /
   cartes--4 étroites) est déduit du nombre de cartes ; 3 ou 4 cartes remplissent exactement la rangée, comme l'ancienne grille. */
.cartes { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.cartes--3 .carte { flex: 0 0 auto; width: calc((100% - 60px) / 3); }
.bloc--cartes .cartes:last-child { margin-bottom: 40px; }
.cartes--4 { gap: 40px; }
.cartes--4 .carte { width: calc((100% - 120px) / 4); }
.carte { display: flex; flex-direction: column; align-items: center; padding: 30px 20px; border-radius: 20px; text-align: center; color: var(--blanc); }
.cartes--4 .carte { padding-inline: 25px; }
.cartes--vert .carte { background: var(--vert); }
.cartes--bleu_clair .carte { background: var(--bleu-clair); }
.cartes--bleu .carte { background: var(--bleu); }
/* C-13 : couleur d'une carte seule (même spécificité que celle du bloc, placée après). Le titre, bleu par défaut, passe en blanc sur fond bleu. */
.cartes .carte--vert { background: var(--vert); }
.cartes .carte--bleu { background: var(--bleu); }
.cartes .carte--bleu_clair { background: var(--bleu-clair); }
.cartes--bleu .carte__titre, .cartes .carte--bleu .carte__titre { color: var(--blanc); }
.cartes .carte--vert .carte__titre, .cartes .carte--bleu_clair .carte__titre { color: var(--bleu); }
.carte__picto { width: 150px; height: auto; max-height: 150px; object-fit: contain; border-radius: 10px; margin-bottom: 20px; }
.carte__titre { font-size: 30px; line-height: 35px; }
.cartes--4 .carte__texte { line-height: normal; }
.cartes--4 .carte__titre { display: flex; align-items: center; justify-content: center; min-height: 70px; }
.cartes--3 .carte:not(:has(.carte__picto)) { padding-bottom: 47px; }
.cartes--4 .carte__picto { width: 150px; height: 100px; }
.carte__texte { flex: 1; font-size: 16px; line-height: 25.6px; font-weight: 700; color: var(--blanc); }
.carte .btn { margin-top: var(--espace-2); }

/* Pictogrammes en ligne */
.pictos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; align-items: start; }
.pictos:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }
.pictos:has(> :nth-child(4)) { grid-template-columns: repeat(4, 1fr); }
.picto { display: flex; align-items: center; gap: 20px; justify-content: flex-start; }
.picto__image { flex: none; width: 100px; height: 100px; object-fit: contain; }
.picto__texte { margin: 0; font-size: 16px; font-weight: 700; color: var(--bleu); }

/* Texte + image */
.texte-image { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.texte-image--droite .texte-image__visuel { order: 2; }
.texte-image__image { display: block; width: 100%; }
.texte-image .bloc__cta { text-align: left; }
.citation { margin: var(--espace-3) 0 0; }
.citation__texte { margin: 0 0 var(--espace-2); font-size: 30px; line-height: 35px; font-weight: 700; color: var(--bleu); }
.fond--vert .citation__texte { color: var(--blanc); }
.citation__guillemet { color: var(--bleu); }
.citation__auteur { font-weight: 700; font-size: 16px; color: var(--bleu); }

/* Vidéo */
.video { position: relative; max-width: 800px; margin-inline: auto; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bleu); }
.video__bouton { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--bleu); cursor: pointer; }
.video__poster { width: 100%; height: 100%; object-fit: cover; }
.video__lecture { position: absolute; inset: 0; margin: auto; width: 80px; height: 80px; }
.video__lecteur { width: 100%; height: 100%; border: 0; }

/* Frise */
.frise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.frise__etape { display: flex; flex-direction: column; align-items: center; min-height: 370px; padding: 30px 25px; border-radius: 20px; background: var(--bleu-clair); text-align: center; color: var(--blanc); }
.frise__picto { width: 150px; height: 100px; object-fit: contain; margin-bottom: 20px; }
.frise__annee { margin-bottom: 20px; font-size: 30px; line-height: 35px; }
.frise__texte { margin: 0; font-size: 15px; line-height: 20px; font-weight: 700; }

/* Chiffres */
.chiffres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; text-align: center; }
.chiffre__image { display: block; width: 350px; max-width: 100%; margin: 0 auto 32px; }
.chiffre__ligne { margin: 0; color: var(--bleu); font-weight: 700; font-size: 30px; line-height: 35px; }
.chiffre__valeur { display: block; margin: 0 0 20px; font-family: var(--font-titre); font-style: italic; font-weight: 700; font-size: 40px; line-height: 42px; color: var(--vert); }

/* Logos : bande défilante */
.logos { display: flex; overflow: hidden; }
.logos__liste { display: flex; flex: none; align-items: center; gap: 30px; padding-right: 30px; min-width: 100%; justify-content: space-around; animation: defilement 40s linear infinite; }
.logos:hover .logos__liste { animation-play-state: paused; }
.logos__item { flex: none; width: 338px; height: 140px; }
.logos__item a { display: block; height: 100%; }
.logos__image { display: block; width: 100%; height: 100%; object-fit: contain; }
@keyframes defilement { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
    .logos { display: block; }
    .logos__liste { animation: none; flex-wrap: wrap; justify-content: center; }
    .logos__liste[aria-hidden="true"] { display: none; }
}

/* Mosaïque : le titre est une étiquette à cheval sur le bord haut de l'image */
.mosaique { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 30px; }
.mosaique > :last-child:nth-child(3n + 1) { grid-column: 2; }
.tuile { position: relative; }
.tuile__contenu { position: relative; display: block; color: inherit; text-decoration: none; }
.tuile__image { display: block; width: 100%; aspect-ratio: 393 / 198; border-radius: 20px; object-fit: cover; }
.tuile__titre { position: absolute; top: 0; left: 20px; right: 20px; margin: 0; padding: 7px 20px 9px; transform: translateY(-50%); background: var(--bleu-clair); clip-path: polygon(0 4px, 100% 0, 100% 100%, 0 calc(100% - 4px)); color: var(--blanc); font-size: 25px; line-height: 30px; font-weight: 400; text-align: center; }
.bloc--mosaique .entete { margin-bottom: 100px; }
.bloc--logos .entete { margin-bottom: 150px; }

/* Images avec bouton (« Nos autres services ») : deux colonnes, bouton orange centré sous chaque image, étoiles blanches. */
.liens-images { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px 32px; margin: 0; padding: 0; list-style: none; }
.liens-images:has(> :only-child) { grid-template-columns: minmax(0, 624px); justify-content: center; }
.lien-image__visuel { display: block; }
.lien-image__image { display: block; width: 100%; aspect-ratio: 624 / 414; border-radius: 20px; object-fit: cover; }
.lien-image__bouton { margin: 44px 0 0; text-align: center; }
.bloc--liens_images { padding-block: 100px; }
.bloc--liens_images .entete__titre::before, .bloc--liens_images .entete__titre::after { background-image: url("../images/etoile-blanche.svg"); }
a.tuile__contenu:hover .tuile__titre { background: var(--bleu-carte); }

/* Étapes numérotées */
.bloc--etapes .entete { margin-bottom: 100px; }
.bloc--etapes .entete:not(:has(.entete__intro)) { margin-bottom: 50px; }
.bloc--etapes .entete__titre + .entete__intro { margin-top: 80px; }
.etapes__image { margin-bottom: 70px; }
@media (min-width: 1329px) { .etapes__image { margin-inline: -20px; } }
.etapes__image img { display: block; width: 100%; }
.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--espace-4) 80px; margin-bottom: 50px; counter-reset: etape; }
.etape { display: grid; grid-template-columns: 100px 1fr; grid-template-rows: auto auto auto; align-content: start; column-gap: 20px; counter-increment: etape; }
.etape__image { grid-column: 1 / -1; display: block; width: 100%; margin-bottom: 24px; border-radius: 20px; }
.etape__numero { grid-column: 1; grid-row: 2 / span 2; display: grid; place-items: center; width: 100px; height: 100px; border-radius: 50%; background: var(--fond); color: var(--vert); font-size: 70px; line-height: 1; font-weight: 700; }
.etape__numero::before { content: counter(etape); }
.etape__titre { grid-column: 2; grid-row: 2; align-self: start; overflow-wrap: anywhere; margin: 0 0 var(--espace-1); font-size: 30px; line-height: 35px; }
.etape__texte { grid-column: 2; grid-row: 3; margin: 0; color: var(--bleu); font-weight: 700; line-height: normal; }

/* Équipe */
.equipe { display: grid; grid-template-columns: 1fr 1fr; gap: var(--espace-4); align-items: start; }
.equipe__liste { list-style: disc; padding-left: 1.25rem; }
.equipe__membre { margin-bottom: 6px; line-height: normal; color: var(--bleu); }
.equipe__photo img { display: block; width: 100%; }

/* Adresses */
.adresses { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.adresses:not(:has(.adresses__carte)) { grid-template-columns: 1fr; }
.adresses__titre { margin: var(--espace-2) 0 22px; font-style: italic; font-weight: 700; font-size: 16px; line-height: 24px; color: var(--vert); }
.adresses__liste ul { margin-bottom: var(--espace-2); padding-left: 1.25rem; list-style: disc; color: var(--bleu); }
.adresses__carte img { display: block; width: 100%; }

/* Bloc d'appel à l'action */
.bloc-cta { text-align: center; }
.bloc-cta__texte { color: var(--bleu); font-weight: 600; }
/* Bouton seul : section resserrée, le bouton est tout le contenu. */
.bloc--bouton { padding-block: 50px; }
.bouton-seul { margin: 0; }

/* Texte seul : un style par choix, jamais de mise en page libre. */
.bloc--texte_seul { padding-block: 50px; }
.texte-seul { text-align: center; }
.texte-seul .entete { margin-bottom: 0; }
.texte-seul__sous-titre { margin: 0; font-size: 24px; line-height: 28px; font-weight: 400; }
.texte-seul__accroche { margin: 0; font-size: 24px; line-height: 32px; font-weight: 700; color: var(--bleu); }
.texte-seul__paragraphe { margin: 0; }

/* Références */
.references { display: grid; grid-template-columns: repeat(3, 1fr); gap: 100px 50px; }
.bloc--references { padding-top: 100px; }
.reference { border-radius: 20px; background: var(--blanc); overflow: hidden; }
.reference__image { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.reference__corps { padding: 0 20px 30px; }
.reference__onglet { position: relative; display: flex; align-items: center; justify-content: center; width: 130px; height: 70px; margin-top: -35px; padding: 10px; border-radius: 10px 10px 0 0; background: var(--blanc); }
.reference__logo { display: block; width: 110px; height: 50px; object-fit: contain; }
.reference__texte { margin: 10px 0 0; font-size: 30px; line-height: 35px; font-weight: 700; color: var(--bleu); }
.reference__valeur { margin-right: 25px; font-family: var(--font-titre); font-style: italic; font-weight: 700; font-size: 40px; line-height: 42px; color: var(--vert); }

/* Contact : bureaux à gauche, formulaire dans une carte blanche à droite */
.bloc--formulaire_contact { padding-block: 100px; background: var(--gris-contact); }
.contact { display: grid; grid-template-columns: 570px minmax(0, 640px); justify-content: space-between; align-items: start; }
.contact__titre { margin: 0 0 25px; font-family: var(--font-titre); font-style: italic; font-weight: 700; font-size: 50px; line-height: 50px; color: var(--vert); }
.contact__sous-titre { margin: 0 0 55px; font-size: 25px; line-height: 35px; font-weight: 600; }
.contact__bureaux-titre { margin: 0 0 50px; font-size: 36px; line-height: 41.76px; font-weight: 600; color: var(--vert); }
.contact__lieu { position: relative; margin: 0 0 30px; padding-left: 44px; font-size: 24px; line-height: 27.84px; font-weight: 600; color: var(--bleu); }
.contact__lieu::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; background: url("../images/lieu.svg") no-repeat center / contain; }
.contact__adresses { margin: 0 0 40px; padding-left: 44px; color: #272727; }
.contact__adresses:last-child { margin-bottom: 0; }
.contact__adresses li { margin-bottom: 10px; }
.contact__carte { padding: 50px; background: var(--blanc); }
.formulaire { display: grid; gap: 10px; margin: 0; }
.champ { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.champ label { font-weight: 600; color: var(--bleu); font-size: 13px; line-height: 16px; }
.champ input:not([type="checkbox"]), .champ select, .champ textarea { width: 100%; min-height: 42px; padding: 10px 15px; border: 1px solid var(--vert); border-radius: 0; background: var(--blanc); font: inherit; font-size: 16px; line-height: 20px; color: var(--bleu); }
.champ textarea { min-height: 222px; resize: vertical; }
.champ input:focus-visible, .champ select:focus-visible, .champ textarea:focus-visible { outline: 3px solid var(--turquoise); outline-offset: 1px; }
.champ ul { margin: 0; padding: 0; list-style: none; color: #b3261e; font-size: 13px; }
.champ--case { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; margin-top: 10px; }
.champ--case label { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--bleu); }
.champ--case ul { grid-column: 2; }
.champ--case input[type="checkbox"] { position: relative; flex: none; width: 30px; height: 20px; margin: 0; border-radius: 72px; background: var(--bleu); cursor: pointer; -webkit-appearance: none; appearance: none; transition: background-color .2s; }
.champ--case input[type="checkbox"]::before { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--blanc); transition: transform .2s; }
.champ--case input[type="checkbox"]:checked { background: var(--vert); }
.champ--case input[type="checkbox"]:checked::before { transform: translateX(10px); background: var(--bleu); }
.champ--case input[type="checkbox"]:focus-visible { outline: 3px solid var(--turquoise); outline-offset: 2px; }
.formulaire > ul { margin: 0; padding: 0; list-style: none; color: #b3261e; }
.formulaire__requis { margin: 10px 0 0; font-size: 13px; line-height: 16px; }
.formulaire .btn--envoi { justify-self: start; min-height: 40px; padding: 10px 20px; border-radius: 0; font-size: 15px; line-height: 20px; }
.formulaire .btn--envoi::after { content: none; }
.formulaire__piege { position: absolute; left: -9999px; }
.formulaire__merci, .formulaire__erreur { margin: 0 0 var(--espace-3); padding: var(--espace-2); background: var(--blanc); text-align: center; }
.formulaire__merci { border: 2px solid var(--vert); }
.formulaire__erreur { border: 2px solid #b3261e; }

/* Réseaux sociaux (en-tête et pied de page) : icône en masque, de la couleur du lien */
.reseaux { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.reseaux__lien { display: block; width: 36px; height: 36px; -webkit-mask: no-repeat center / 24px; mask: no-repeat center / 24px; background: currentColor; }
.reseaux__lien--instagram { -webkit-mask-image: url("../images/instagram.svg"); mask-image: url("../images/instagram.svg"); }
.reseaux__lien--facebook { -webkit-mask-image: url("../images/facebook.svg"); mask-image: url("../images/facebook.svg"); }
.reseaux__lien--linkedin { -webkit-mask-image: url("../images/linkedin.svg"); mask-image: url("../images/linkedin.svg"); }
.reseaux--entete .reseaux__lien { color: var(--bleu); }
.reseaux--entete .reseaux__lien:hover { color: var(--bleu-clair); }
.reseaux--pied { margin: 24px 0 0 -6px; }
.reseaux--pied .reseaux__lien:hover { color: var(--bleu-pale); }

/* Pages d'erreur et prévisualisation */
.page-erreur { padding-block: var(--espace-6); text-align: center; }
.apercu { margin: 0; padding: .5rem var(--espace-2); background: var(--orange); color: var(--blanc); text-align: center; }

/* Pied de page */
.pied { background: var(--bleu); color: var(--blanc); }
.pied a { color: var(--blanc); text-decoration: none; }
.pied a:hover { text-decoration: underline; }
.pied__grille { display: grid; grid-template-columns: 38fr 35fr 27fr; align-items: start; padding-block: 35px 70px; }
.pied__logo img { display: block; width: 250px; height: 60px; }
.pied__titre { margin: 0; font-weight: 700; color: var(--bleu-pale); }
.pied__contact p { margin: 0; }
.pied__contact .pied__adresse { margin-top: 24px; }
.pied__email { font-weight: 700; }
.pied__legal ul { display: flex; flex-wrap: wrap; margin-bottom: 0; }
@media (min-width: 1101px) { .pied__legal ul { flex-wrap: nowrap; white-space: nowrap; } }
.pied__legal li:not(:last-child)::after { content: "\00b7"; margin-inline: 20px; }
.pied__copyright { margin: 24px 0 0; }
.pied .prose { color: var(--blanc); }

/* Tablette */
@media (max-width: 900px) {
    .hero__grille, .texte-image, .equipe, .adresses, .contact { grid-template-columns: 1fr; }
    .contact { row-gap: 35px; }
    .frise, .references { grid-template-columns: repeat(2, 1fr); }
    .cartes--3 .carte { width: calc((100% - 30px) / 2); }
    .cartes--4 .carte { width: calc((100% - 40px) / 2); }
    .mosaique { grid-template-columns: repeat(2, 1fr); }
    .mosaique > :last-child:nth-child(3n + 1) { grid-column: auto; }
    .etapes { grid-template-columns: minmax(0, 1fr); }
    .pied__grille { grid-template-columns: 1fr; row-gap: var(--espace-3); }
}

/* En-tête compact : barre de 80 px, panneau plein écran */
@media (max-width: 1100px) {
    .entete-site__barre { justify-content: center; height: 80px; }
    .entete-site__logo img { width: 125px; height: 30px; }
    .entete-site__burger { position: absolute; right: 20px; top: 18px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
    .entete-site__burger-barres, .entete-site__burger-barres::before, .entete-site__burger-barres::after { display: block; width: 24px; height: 2px; background: var(--bleu); content: ""; position: relative; transition: transform .2s, background-color .2s; }
    .entete-site__burger-barres::before { position: absolute; top: -7px; }
    .entete-site__burger-barres::after { position: absolute; top: 7px; }
    .entete-site__burger[aria-expanded="true"] .entete-site__burger-barres { background: transparent; }
    .entete-site__burger[aria-expanded="true"] .entete-site__burger-barres::before { top: 0; transform: rotate(45deg); }
    .entete-site__burger[aria-expanded="true"] .entete-site__burger-barres::after { top: 0; transform: rotate(-45deg); }
    .entete-site__menu { display: none; position: fixed; inset: 80px 0 0; flex: none; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 20px 20px 40px; overflow-y: auto; background: var(--blanc); }
    .entete-site__menu.est-ouvert { display: flex; }
    body.menu-ouvert { overflow: hidden; }
    .menu { flex-direction: column; justify-content: flex-start; }
    .menu__item { flex-wrap: wrap; padding-inline: 0; }
    .menu__item::after { content: none; }
    .menu__lien { flex: 1; padding: 12px 0; border-bottom: 0; }
    .menu__lien[aria-current="page"], .menu__lien:hover, .menu__lien--courant { text-decoration: underline; }
    .menu__item--parent > .menu__lien::after { content: none; }
    .menu__lien--rubrique { display: flex; align-items: center; justify-content: space-between; text-align: left; }
    .menu__item--parent > .menu__lien--rubrique::after { content: ""; width: 0; height: 0; margin: 0 16px 0 0; border: 6px solid transparent; border-top: 8px solid currentColor; border-bottom: 0; background: none; -webkit-mask: none; mask: none; transition: transform .2s; }
    .menu__lien--rubrique[aria-expanded="true"]::after { transform: rotate(180deg); }
    .menu__bascule { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--bleu); cursor: pointer; }
    .menu__bascule::before { content: ""; width: 0; height: 0; border: 6px solid transparent; border-top: 8px solid currentColor; border-bottom: 0; transition: transform .2s; }
    .menu__bascule[aria-expanded="true"]::before { transform: rotate(180deg); }
    .menu__sous { position: static; display: none; flex-basis: 100%; min-width: 0; transform: none; visibility: visible; opacity: 1; box-shadow: none; padding: 0 0 var(--espace-1) var(--espace-2); }
    .menu__item--ouvert > .menu__sous { display: block; }
    .menu__sous a { padding: .5rem 0; font-size: 16px; text-align: left; text-transform: uppercase; }
    .entete-site__menu nav { flex: none; }
    .entete-site__boutons { flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 20px; }
    .entete-site__boutons .btn { font-size: 17px; text-transform: uppercase; }
    .reseaux--entete { margin-left: -6px; }
}

/* Mobile */
@media (max-width: 600px) {
    .conteneur { padding-inline: 30px; }
    .conteneur--large { padding-inline: 20px; }
    .hero__grille::before, .bloc--texte:has(.entete__titre)::before, .bloc--adresses .conteneur::before { display: none; }
    .bloc--frise.fond--clair .conteneur::before, .bloc--cartes.fond--clair:has(.cartes--4) .conteneur::before { top: -130px; left: 47px; width: 100px; height: 140px; }
    .bloc--cartes.fond--clair:has(.cartes--3) .conteneur::before { right: -154px; }
    .hero__texte { text-align: center; }
    .bloc--texte .prose { font-size: 14px; line-height: 21px; }
    .bloc--texte { padding-block: 60px; }
    .bloc--texte .conteneur { padding-inline: 34.5px; }
    .bloc--texte .entete { margin-bottom: 30px; }
    .bloc--logos, .fond--blanc + .fond--blanc.bloc--logos { padding-block: 30px 100px; }
    .bloc--logos .entete { margin-bottom: 130px; }
    .prose h3 { font-size: 26px; line-height: 30px; }
    .entete__titre { display: block; max-width: none; padding: 70px 0; font-size: 32px; line-height: 42px; }
    .entete__titre::before, .entete__titre::after { left: 50%; right: auto; margin-left: -21px; }
    .entete__titre::after { top: auto; bottom: 0; }
    .frise, .references, .mosaique, .pictos, .pictos:has(> :nth-child(4)), .chiffres { grid-template-columns: 1fr; }
    .cartes--3 .carte, .cartes--4 .carte { width: 100%; }
    .cartes--3 .carte__picto { width: 100px; }
    .etapes { margin-bottom: 0; }
    .bloc--etapes .entete { margin-bottom: 60px; }
    .bloc--etapes .entete__titre + .entete__intro { margin-top: 30px; }
    .bloc--frise.fond--clair .conteneur, .bloc--cartes.fond--clair:has(.cartes--4) .conteneur { padding-inline: 40px; }
    .bloc--frise.fond--clair .entete__titre, .bloc--cartes.fond--clair:has(.cartes--4) .entete__titre { padding: 0; font-size: 30px; }
    .picto { justify-content: flex-start; }
    .frise__etape { min-height: 0; }
    .references { row-gap: 20px; }
    .equipe { row-gap: 84px; }
    .bloc--liens_images { padding-block: 60px; }
    .mosaique { row-gap: 50px; }
    .liens-images { grid-template-columns: 1fr; }
    .chiffre__image { width: 250px; }
    .chiffre__valeur { font-size: 32px; line-height: 42px; }
    .contact__titre { font-size: 30px; line-height: 35px; text-align: center; }
    .contact__infos { padding-inline: 4.5px; }
    .contact__sous-titre { margin-bottom: 30px; font-size: 15px; line-height: 21px; font-weight: 400; }
    .contact__bureaux-titre { margin-bottom: 30px; font-size: 26px; line-height: 30.16px; }
    .contact__lieu { margin-bottom: 20px; padding-left: 26px; font-size: 22px; line-height: 25.52px; }
    .contact__lieu::before { width: 16px; height: 16px; }
    .contact__adresses { padding-left: 26px; font-size: 15px; line-height: 22.5px; }
    .contact__carte { padding: 30px 20px; }
    .logos__item { width: min(338px, calc(100vw - 60px)); }
    .pied__grille { justify-items: center; text-align: center; }
    .pied__legal ul { flex-direction: column; align-items: center; }
    .pied__legal li:not(:last-child)::after { content: none; }
}

/* Apparition au défilement (ANI-01) : classes posées par site.js, jamais présentes sans JS. */
.js .apparait { opacity: 0; translate: 0 30px; transition: opacity .6s ease, translate .6s ease; transition-delay: calc(var(--i, 0) * 150ms); }
.js .apparait--gauche { translate: -30px 0; }
.js .apparait--droite { translate: 30px 0; }
.js .apparait--zoom { translate: none; scale: .9; transition: opacity .6s ease, scale .6s ease; }
.js .apparait.est-visible { opacity: 1; translate: none; scale: none; }
@media (prefers-reduced-motion: reduce) {
    .js .apparait { opacity: 1; translate: none; scale: none; transition: none; }
}

/* Bloc « zone d'intervention » : texte et liste des communes à gauche, carte SVG générée à droite. */
.zone { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.zone:not(:has(.carte-zone)) { grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; text-align: center; }
.zone__communes { margin: var(--espace-3) 0 0; color: var(--bleu); font-weight: 600; }
.zone__communes summary { cursor: pointer; }
.zone__communes p { margin: var(--espace-2) 0 0; font-weight: 400; }
.zone__cta { margin: var(--espace-4) 0 0; }
.carte-zone__svg { display: block; width: 100%; height: auto; max-height: 520px; }
.carte-zone__svg path { vector-effect: non-scaling-stroke; }
.carte-zone__image { display: block; width: 100%; height: auto; max-height: 520px; object-fit: contain; }
@media (max-width: 800px) {
    .zone { grid-template-columns: 1fr; }
    .zone__cta { text-align: center; }
}

/* Bloc « en-tête de page avec texte et photo » (page Particuliers) : texte et goutte à gauche, photo à droite. */
.hero-ti { display: grid; gap: 28px; padding-block: 24px; }
.hero-ti__texte { position: relative; }
.hero-ti__picto { display: none; }
.hero-ti__picto img { display: block; width: 100%; height: auto; }
.hero-ti__titre { margin: 0 0 var(--espace-2); font-size: 30px; line-height: 1.3; font-weight: 800; color: var(--bleu); }
.hero-ti__prose { color: var(--bleu); }
.hero-ti__mention { margin: 0 0 1em; color: var(--bleu); }
.hero-ti__cta { margin: var(--espace-1) 0 0; }
.hero-ti__image { display: block; width: 100%; height: auto; aspect-ratio: 1333 / 716; object-fit: cover; }
@media (max-width: 767px) { .hero-ti__visuel { max-width: 340px; margin-inline: auto; } .hero-ti__texte { text-align: center; } }
@media (min-width: 768px) {
    .hero-ti { grid-template-columns: 1fr 1fr; align-items: center; }
    .hero-ti__texte { padding-left: 50px; }
    .hero-ti__picto { display: block; position: absolute; left: -8px; top: 6px; width: 44px; }
}
@media (min-width: 1280px) {
    .hero-ti { grid-template-columns: 470px 1fr; gap: 60px; }
    .hero-ti__texte { padding-left: 72px; }
    .hero-ti__picto { left: 0; top: 4px; width: 62px; }
    .hero-ti__titre { font-size: 31px; line-height: 1.35; margin-bottom: 26px; }
    .hero-ti__prose p, .hero-ti__mention { margin-bottom: 1.3em; }
}

/* Étapes en tuiles vertes (aucune image dans le bloc). */
.etape__texte p { margin: 0 0 1em; }
.etape__texte p:last-child { margin-bottom: 0; }
.etapes--tuiles { gap: 35px; margin-bottom: 0; }
.etapes--tuiles .etape { display: block; position: relative; min-height: 281px; padding: 34px 22px 26px; border-radius: 30px; background: var(--vert); color: var(--bleu); }
.etapes--tuiles .etape__numero { position: absolute; top: 38px; left: 20px; display: block; width: auto; height: auto; border-radius: 0; background: none; color: rgba(255, 255, 255, .6); font-size: 57px; font-weight: 800; }
.etapes--tuiles .etape__titre { display: flex; align-items: center; min-height: 80px; margin: 0 0 var(--espace-2) 52px; font-size: 20px; line-height: 1.3; }
.etapes--tuiles .etape__texte { font-weight: 500; text-align: justify; hyphens: auto; }
.etapes--tuiles .etape__texte a { font-weight: 700; }
.bloc--etapes:has(.etapes--tuiles) .entete { margin-bottom: 40px; }
.bloc--etapes:has(.etapes--tuiles) .entete__titre + .entete__intro { margin-top: 24px; }
.bloc--etapes:has(.etapes--tuiles) .bloc__cta { margin-top: 40px; }
@media (max-width: 1100px) { .etapes--tuiles { gap: 20px; } .etapes--tuiles .etape { min-height: 0; } }

/* Carrousel de photos : défilement natif (scroll-snap), flèches, bouton pause (js/site.js). */
.carrousel { position: relative; margin-bottom: var(--espace-4); }
.carrousel__piste { display: flex; gap: 14px; margin: 0; padding: 0 calc(50% - 120px); overflow-x: auto; list-style: none; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.carrousel__piste::-webkit-scrollbar { display: none; }
.carrousel__diapo { flex: 0 0 240px; scroll-snap-align: center; }
.carrousel__figure { margin: 0; }
.carrousel__image { display: block; width: 100%; aspect-ratio: 3 / 4; border-radius: 16px; object-fit: cover; }
.carrousel__legende { margin-top: var(--espace-1); color: var(--bleu); font-size: 14px; text-align: center; }
.carrousel__fleche { position: absolute; top: 50%; width: 48px; height: 48px; margin-top: -24px; border: 0; border-radius: 50%; background: var(--blanc); color: var(--bleu); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(33, 48, 103, .15); }
.carrousel__fleche--precedente { left: 8px; }
.carrousel__fleche--suivante { right: 8px; }
.carrousel__pause { position: absolute; right: 20px; bottom: -38px; min-height: 32px; padding: 4px 12px; border: 1px solid var(--bleu); border-radius: 50px; background: var(--blanc); color: var(--bleu); font: inherit; font-size: 12px; cursor: pointer; }
.carrousel__pause[hidden] { display: none; }
@media (min-width: 1024px) {
    .carrousel { max-width: 1128px; margin-inline: auto; padding-inline: 40px; }
    .carrousel__piste { gap: 20px; padding-inline: 0; }
    .carrousel__diapo { flex-basis: calc((100% - 3 * 20px) / 4); scroll-snap-align: start; }
    .carrousel__fleche { width: 56px; height: 56px; margin-top: -28px; font-size: 28px; }
    .carrousel__fleche--precedente { left: 0; }
    .carrousel__fleche--suivante { right: 0; }
    .carrousel__pause { right: 40px; }
}
.carrousel + .conteneur .bloc__cta, .carrousel ~ .conteneur { margin-top: var(--espace-4); }

/* FAQ : accordéon natif <details>. */
.faq { display: grid; gap: 14px; max-width: 876px; margin: 28px auto; }
.faq__item { border: 1.5px solid var(--vert); border-radius: 31px; background: var(--blanc); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 12px 32px; color: var(--bleu); font-size: 16px; font-weight: 700; line-height: 1.35; list-style: none; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; color: var(--vert); font-size: 20px; font-weight: 400; line-height: 1; }
.faq__item[open] summary::after { content: "−"; }
.faq__reponse { padding: 0 32px 18px; text-align: left; }
.faq__reponse p { margin: 0 0 .8em; }
.faq__reponse p:last-child { margin-bottom: 0; }
.faq__reponse a { font-weight: 700; }
@media (max-width: 767px) { .faq__item summary { padding-inline: 24px; } .faq__reponse { padding-inline: 24px; } }

/* Ajustements après comparaison avec la maquette de Méline (docs/RECETTE-ETAPE-2.md). */
.etapes--tuiles { max-width: 960px; margin-inline: auto; }
@media (min-width: 1280px) { .hero-ti { grid-template-columns: 500px 1fr; } }
@media (min-width: 1024px) { .carrousel { max-width: 1040px; } .carrousel__pause { right: 40px; } }
/* Texte et image sur fond vert sans citation (« Pourquoi faire laver sa poubelle ») : photo arrondie à gauche,
   intertitres en gras alignés à gauche. Les blocs avec citation (accueil, qui sommes-nous) gardent leur mise en page.
   C-09 : la taille de la photo (petite / grande) et ses coins (arrondis / carrés) peuvent être réglés par bloc
   (classes texte-image--taille-* et texte-image--coins-*) ; la règle selon le fond ne s'applique que sans réglage. */
.bloc--texte_image.fond--vert:not(:has(.citation)) .conteneur { max-width: 1000px; }
.bloc--texte_image.fond--vert:not(:has(.citation)) .entete { margin-bottom: 36px; }
.texte-image--taille-petite, .bloc--texte_image.fond--vert:not(:has(.citation)) .texte-image:not([class*="--taille-"]) { grid-template-columns: 297px 1fr; gap: 45px; align-items: center; }
.texte-image--taille-petite.texte-image--droite { grid-template-columns: 1fr 297px; }
.texte-image--taille-petite .texte-image__image, .bloc--texte_image.fond--vert:not(:has(.citation)) .texte-image:not([class*="--taille-"]) .texte-image__image { aspect-ratio: 393 / 402; object-fit: cover; }
.texte-image--coins-arrondis .texte-image__image, .bloc--texte_image.fond--vert:not(:has(.citation)) .texte-image:not([class*="--coins-"]) .texte-image__image { border-radius: 30px; }
.texte-image--coins-carres .texte-image__image { border-radius: 0; }
.bloc--texte_image.fond--vert:not(:has(.citation)) .prose { text-align: left; }
.bloc--texte_image.fond--vert:not(:has(.citation)) .prose h3 { margin: 0 0 4px; font-size: 16px; line-height: 1.35; font-weight: 700; text-align: left; }
.bloc--texte_image.fond--vert:not(:has(.citation)) .prose p { margin: 0 0 20px; }
@media (max-width: 800px) {
    .texte-image--taille-petite, .texte-image--taille-petite.texte-image--droite, .bloc--texte_image.fond--vert:not(:has(.citation)) .texte-image:not([class*="--taille-"]) { grid-template-columns: 1fr; }
    .texte-image--taille-petite .texte-image__image, .bloc--texte_image.fond--vert:not(:has(.citation)) .texte-image:not([class*="--taille-"]) .texte-image__image { max-width: 300px; margin-inline: auto; }
}

/* Pied de page : pages légales de la page Particuliers et médiateur de la consommation (si renseignés). */
.pied__legal-extra { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 12px; }
.pied__legal-extra a { color: inherit; }
.pied__mediateur { margin-top: 14px; color: inherit; font-size: 12px; line-height: 1.5; }
.pied__mediateur a, .pied__mediateur p { color: inherit; }
.pied__mediateur p { margin: 0; }

/* C-14 : image masquée sur mobile (case « Masquer sur mobile »). Le <picture> évite déjà le téléchargement ; ici, on retire sa place dans la page,
   ainsi que celle de son conteneur quand l'image en est le seul contenu. */
@media (max-width: 600px) {
    .img-masque-mobile { display: none; }
    :where(div, span, a, li):has(> .img-masque-mobile:only-child) { display: none; }
}

/* C-17 : photo avant / après. Sans JS : les deux photos côte à côte avec leur libellé dessous. Avec JS (.js sur <html>) :
   l'image « avant » couvre l'image « après » et est coupée à droite par la poignée (--pos, 0 à 100). */
.avant-apres { max-width: 900px; margin: 0 auto; }
.avant-apres__scene { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: relative; }
.avant-apres__fig { display: flex; flex-direction: column; margin: 0; }
/* Sans JS aussi, l'image « après » est recadrée au format de l'image « avant » (qui fixe la hauteur de la rangée) : photos et libellés alignés. */
.avant-apres__cadre { position: relative; flex: 1; }
.avant-apres__image { display: block; width: 100%; height: auto; border-radius: 16px; }
.avant-apres__fig--apres .avant-apres__image { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.avant-apres__libelle { margin-top: var(--espace-1); color: var(--bleu); font-size: 16px; font-weight: 700; text-align: center; }
.avant-apres__curseur, .avant-apres__poignee { display: none; }
.js .avant-apres { --pos: 50; }
.js .avant-apres__scene { display: block; overflow: hidden; border-radius: 16px; cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.js .avant-apres__fig--avant { position: relative; z-index: 1; clip-path: inset(0 calc(100% - var(--pos) * 1%) 0 0); }
.js .avant-apres__fig--apres { position: absolute; inset: 0; z-index: 0; display: block; }
.js .avant-apres__fig--apres .avant-apres__cadre { height: 100%; }
/* Le ratio de l'image « avant » commande la hauteur ; l'image « après » est recadrée à ce ratio. */
.js .avant-apres__image { border-radius: 0; -webkit-user-drag: none; }
.js .avant-apres__libelle { position: absolute; bottom: 16px; margin: 0; padding: 4px 12px; border-radius: 999px; background: rgba(11, 45, 114, .85); color: var(--blanc); font-size: 14px; line-height: 20px; }
.js .avant-apres__fig--avant .avant-apres__libelle { left: 16px; }
.js .avant-apres__fig--apres .avant-apres__libelle { right: 16px; }
.js .avant-apres__poignee { display: block; position: absolute; z-index: 2; top: 0; bottom: 0; left: calc(var(--pos) * 1%); width: 4px; margin-left: -2px; background: var(--blanc); box-shadow: 0 0 6px rgba(0, 0, 0, .35); pointer-events: none; }
.js .avant-apres__poignee::after { content: "\2194"; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--blanc); color: var(--bleu); font-size: 22px; line-height: 44px; text-align: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
/* Le curseur natif reste dans la page (clavier, lecteurs d'écran) mais invisible ; son focus se voit sur la poignée. */
.js .avant-apres__curseur { display: block; position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
.js .avant-apres:has(.avant-apres__curseur:focus-visible) .avant-apres__poignee::after { outline: 3px solid var(--vert); outline-offset: 2px; }
