/* ===== 00-polices.css ===== */
/* Polices hébergées sur le site (aucun appel à Google) — Poppins et Roboto, licence SIL OFL 1.1 (assets/fonts/) */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/roboto-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/roboto-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/roboto-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/roboto-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/roboto-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/roboto-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ===== 01-reglages.css ===== */
/* =====================================================================================
   CFG NEX · réglages du design (couleurs relevées sur cfgnex.com et sur le logo)
   Changer une couleur ici la change partout.
   ===================================================================================== */
:root {
  /* Encre et sauge (couleurs de la marque) */
  --encre-900: #1a2726;      /* fonds sombres (pied de page, secteurs) */
  --encre-800: #1f2e2d;      /* fond du favicon */
  --encre-700: #2c3739;      /* anthracite du site actuel : titres, textes forts */
  --sauge-700: #4e6669;      /* survol des boutons */
  --sauge-600: #5f787c;      /* boutons (contraste AA avec le blanc) */
  --sauge-500: #70898d;      /* sauge du site actuel */
  --sauge-400: #8da5ae;      /* fin du dégradé « verre » du logo */
  --sauge-300: #aec3c8;
  --sauge-200: #c2d6da;      /* milieu du dégradé « verre » */
  --sauge-100: #dee4e5;      /* brume du site actuel */
  --sauge-50:  #eef4f5;
  --verre-clair: #eef8fa;    /* début du dégradé « verre » */

  --fond: #fcfbfc;           /* blanc du film (fond des pages) */
  --surface: #ffffff;
  --texte: #566062;          /* texte courant (6:1 sur blanc) */
  --texte-doux: #69737a;     /* légendes, sur fond blanc uniquement */
  --titre: var(--encre-700);
  --clair: #e6eef0;          /* texte sur fond sombre */
  --clair-doux: #a9bcc0;     /* texte secondaire sur fond sombre */
  --ligne: rgba(31, 46, 45, .10);
  --ligne-forte: rgba(31, 46, 45, .18);
  --erreur: #b3261e;
  --succes: #2e7d5b;

  /* Reprises par les recettes d'animation GYESS (effets-base.css) */
  --accent: var(--sauge-600);
  --ombre: rgba(31, 46, 45, .22);

  --degrade-verre: linear-gradient(135deg, var(--verre-clair) 0%, var(--sauge-200) 45%, var(--sauge-400) 100%);

  /* Symbole « vague » (logo) : brins de haut en bas, puis bande de verre */
  --vague-1: #7d969b;
  --vague-2: var(--sauge-700);
  --vague-3: var(--encre-800);
  --vague-4: #d5e3e6;
  --vague-5: var(--sauge-400);

  /* Typographies */
  --ff-titre: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-texte: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-hero: clamp(2rem, 1.15rem + 2.75vw, 3.6rem);
  --fs-h1: clamp(2.1rem, 1.3rem + 3vw, 4.1rem);
  --fs-h2: clamp(1.85rem, 1.3rem + 2vw, 3.1rem);
  --fs-h3: clamp(1.12rem, 1.02rem + .45vw, 1.38rem);
  --fs-lead: clamp(1.06rem, 1rem + .35vw, 1.25rem);
  --fs-corps: 1.0625rem;
  --fs-petit: .9rem;
  --fs-surtitre: .76rem;

  /* Espaces (grille de 8) */
  --bord: clamp(16px, 2.4vw, 40px);           /* marge latérale de l'en-tête (bords de l'écran) */
  --gouttiere: clamp(16px, 4vw, 48px);
  --conteneur: 1280px;
  --section: clamp(48px, 5.4vw, 84px);
  --entete-h: 84px;

  /* Arrondis */
  --r-btn: 12px;
  --r-champ: 14px;
  --r-carte: 20px;
  --r-panneau: 28px;

  /* Ombres (lumière venant du haut) */
  --ombre-1: 0 1px 2px rgba(31, 46, 45, .06), 0 8px 24px -12px rgba(31, 46, 45, .18);
  --ombre-2: 0 2px 4px rgba(31, 46, 45, .05), 0 24px 48px -24px rgba(31, 46, 45, .32);
  --ombre-3: 0 40px 80px -40px rgba(31, 46, 45, .45);

  /* Mouvement */
  --douce: cubic-bezier(.16, 1, .3, 1);
  --rideau: cubic-bezier(.76, 0, .24, 1);
}
@media (max-width: 1023px) { :root { --entete-h: 72px; } }
@media (max-width: 560px) { :root { --entete-h: 64px; } }

/* ===== effets-base.css (GYESS) ===== */
/* =========================================================================
   GYESS · effets-base.css — variables communes aux recettes d'animation
   À charger avant les fichiers assets/css/effets/<recette>.css.
   Les couleurs reprennent celles du site si elles existent (--accent, --fond, --texte),
   sinon les valeurs de secours ci-dessous.
   ========================================================================= */
:root {
  --fx-accent: var(--accent, #2d4bff);
  --fx-fond: var(--fond, #ffffff);
  --fx-texte: var(--texte, #12152b);
  --fx-erreur: var(--erreur, #c62828);
  --fx-succes: var(--succes, #1e8e4e);
  --fx-ombre: var(--ombre, rgba(10, 14, 30, .18));
  --fx-douce: cubic-bezier(.22, 1, .36, 1);
  --fx-rideau: cubic-bezier(.77, 0, .18, 1);
}

/* Texte lu par les lecteurs d'écran mais invisible à l'écran */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ===== recette GYESS : apparition ===== */
/* === Apparition au scroll (apparition.js) === */
/* Caché en attendant son tour. Si le script ne démarre pas (fichier absent, erreur), le contenu
   réapparaît seul au bout de 3 s : le script pose .apparition-pret dès qu'il prend la main. */
.js [data-apparition],
.js [data-apparition-groupe] > * { opacity: 0; }
.js [data-apparition]:not(.apparition-pret),
.js [data-apparition-groupe]:not(.apparition-pret) > * { animation: apparition-secours .01s 3s forwards; }
@keyframes apparition-secours { to { opacity: 1; } }
.js [data-apparition="bascule"], .js [data-apparition-groupe="bascule"] > * { transform-origin: 50% 100%; }

/* Rideau : un aplat de couleur (--apparition-rideau, couleur d'accent par défaut) balaie le cadre puis découvre l'image */
.js [data-apparition="rideau"], .js [data-apparition-groupe="rideau"] > * { position: relative; }
.js [data-apparition="rideau"].apparition-pret::after, .js [data-apparition-groupe="rideau"].apparition-pret > *::after {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none;
  background: var(--apparition-rideau, var(--fx-accent)); transform-origin: 100% 50%;
}
.js [data-apparition="rideau"].apparition-pret > img, .js [data-apparition-groupe="rideau"].apparition-pret > * > img { scale: 1.12; }
.js .apparition-joue { animation: apparition-rideau-cadre .65s var(--fx-rideau) var(--apparition-delai, 0s) both; }
.js .apparition-joue::after { animation: apparition-rideau-aplat .75s var(--fx-rideau) calc(var(--apparition-delai, 0s) + .65s) both; }
.js .apparition-joue > img { animation: apparition-rideau-zoom 1.6s var(--fx-douce) calc(var(--apparition-delai, 0s) + .55s) both; }
.js [data-apparition="rideau"].apparition-ouvert::after, .js [data-apparition-groupe="rideau"] > .apparition-ouvert::after { display: none; }
.js [data-apparition="rideau"].apparition-ouvert > img, .js [data-apparition-groupe="rideau"] > .apparition-ouvert > img { scale: 1; }
@keyframes apparition-rideau-cadre { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes apparition-rideau-aplat { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes apparition-rideau-zoom { from { scale: 1.12; } to { scale: 1; } }

@media (prefers-reduced-motion: reduce) {
  .js [data-apparition], .js [data-apparition-groupe] > * { opacity: 1 !important; transform: none !important; clip-path: none !important; filter: none !important; }
  .js [data-apparition]:not(.apparition-pret), .js [data-apparition-groupe]:not(.apparition-pret) > * { animation: none; }
  .js [data-apparition="rideau"]::after, .js [data-apparition-groupe="rideau"] > *::after { display: none; }
  .js [data-apparition="rideau"] > img, .js [data-apparition-groupe="rideau"] > * > img { scale: 1 !important; }
}

/* ===== recette GYESS : onglets-glissants ===== */
/* === Onglets à indicateur glissant (onglets-glissants.js) === */
.onglets-liste { position: relative; display: flex; gap: .2rem; width: fit-content; max-width: 100%; min-width: 0; padding: .3rem; border-radius: 999px; background: color-mix(in srgb, var(--fx-texte) 6%, transparent); overflow-x: auto; scrollbar-width: none; }
.onglets-liste::-webkit-scrollbar { display: none; }
/* Liste plus large que l'écran : fondu sur le bord qui cache encore des liens (le dégradé ne sert que de masque) */
.onglets-plus-droite { -webkit-mask-image: linear-gradient(90deg, var(--fx-texte) calc(100% - 2.5rem), transparent); mask-image: linear-gradient(90deg, var(--fx-texte) calc(100% - 2.5rem), transparent); }
.onglets-plus-gauche { -webkit-mask-image: linear-gradient(270deg, var(--fx-texte) calc(100% - 2.5rem), transparent); mask-image: linear-gradient(270deg, var(--fx-texte) calc(100% - 2.5rem), transparent); }
.onglets-plus-gauche.onglets-plus-droite { -webkit-mask-image: linear-gradient(90deg, transparent, var(--fx-texte) 2.5rem calc(100% - 2.5rem), transparent); mask-image: linear-gradient(90deg, transparent, var(--fx-texte) 2.5rem calc(100% - 2.5rem), transparent); }
.onglets-liste > a { position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; min-height: 2.6rem; padding: .55rem 1.1rem; border-radius: 999px; color: inherit; font-weight: 600; text-decoration: none; white-space: nowrap; transition: color .3s; }
@media (hover: hover) { .onglets-liste > a:hover { color: var(--fx-accent); } }
.onglets-liste > a[aria-selected="true"] { color: var(--fx-fond); }
.onglets-liste > a:focus-visible { outline: 2px solid var(--fx-accent); outline-offset: 2px; }
@media (max-width: 480px) { .onglets-liste > a { padding-inline: .9rem; } }
.onglets-indicateur { position: absolute; z-index: 0; left: 0; top: .3rem; bottom: .3rem; width: var(--onglets-l, 0px); transform: translateX(var(--onglets-x, 0px)); border-radius: 999px; background: var(--fx-accent); box-shadow: 0 6px 18px color-mix(in srgb, var(--fx-accent) 30%, transparent); opacity: 0; pointer-events: none; }
.onglets-indicateur.onglets-visible { opacity: 1; }
.onglets-anime .onglets-indicateur { transition: transform .55s var(--fx-douce), width .55s var(--fx-douce), opacity .25s; }
.onglets-anime .onglets-indicateur.onglets-saut { transition: opacity .25s; }

/* Contenus : avant le script, seul le premier est montré ; ensuite ils sont superposés (pas de saut de hauteur) */
/* Si la structure est incomplète, le script pose .onglets-echec et tout reste visible. Le fichier JS doit être présent (test « aucun fichier manquant »). */
.js [data-onglets-glissants]:not(.onglets-pret):not(.onglets-echec) .onglets-panneaux > :not(:first-child) { display: none; }
.onglets-panneaux { min-width: 0; }
.onglets-pret .onglets-panneaux { display: grid; }
.onglets-pret .onglets-panneaux > * { grid-area: 1 / 1; min-width: 0; }
.onglets-pret .onglets-panneaux > [inert] { visibility: hidden; opacity: 0; }
.onglets-panneaux > [role="tabpanel"]:focus-visible { outline: 2px solid var(--fx-accent); outline-offset: 4px; border-radius: 14px; }

/* Variante « soulignement » et barre de navigation : un trait sous le lien */
[data-onglets-glissants~="soulignement"] .onglets-liste,
.onglets-liste[data-onglets-glissants~="nav"] { gap: 1.4rem; padding: 0 .15rem; border-radius: 0; background: none; }
[data-onglets-glissants~="soulignement"] .onglets-liste { box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--fx-texte) 14%, transparent); }
[data-onglets-glissants~="soulignement"] .onglets-liste > a,
.onglets-liste[data-onglets-glissants~="nav"] > a { padding-inline: 0; border-radius: 6px; }
[data-onglets-glissants~="soulignement"] .onglets-liste > a[aria-selected="true"] { color: var(--fx-accent); }
[data-onglets-glissants~="soulignement"] .onglets-indicateur,
.onglets-liste[data-onglets-glissants~="nav"] .onglets-indicateur { top: auto; bottom: 0; height: 2px; border-radius: 2px; box-shadow: none; }

@media (prefers-reduced-motion: reduce) {
  .onglets-anime .onglets-indicateur { transition: opacity .2s; }
}

/* ===== recette GYESS : devis-etapes ===== */
/* === Formulaire de devis en étapes (devis-etapes.js) === */
/* Couleur des erreurs : --fx-erreur, calculée dans effets-base.css à partir de --erreur du site (à définir dans son CSS).
   Fonds : --devis-surface (fond du bloc, derrière les repères) et --devis-champ-fond (fond des champs). */
[data-devis-etapes] { display: grid; gap: 1.5rem; min-width: 0; }
.devis-etape { display: grid; gap: 1rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.devis-etape > legend, .devis-recap-titre { margin: 0 0 .25rem; padding: 0; font-weight: 700; font-size: 1.15rem; line-height: 1.3; }
.devis-etape > legend:focus, .devis-recap-titre:focus { outline: none; }
.devis-etape > legend:focus-visible, .devis-recap-titre:focus-visible { outline: 2px solid var(--fx-accent); outline-offset: 4px; border-radius: 6px; }

/* Champs (si vous utilisez les blocs .devis-champ et .devis-options) */
.devis-champs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem; }
.devis-champ { display: grid; gap: .4rem; align-content: start; min-width: 0; }
.devis-champ-large { grid-column: 1 / -1; }
.devis-champ > label { font-weight: 600; font-size: .92rem; }
.devis-champ :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { width: 100%; min-width: 0; box-sizing: border-box; min-height: 3rem; padding: .7rem .95rem; font: inherit; color: var(--fx-texte); background-color: var(--devis-champ-fond, var(--fx-fond)); border: 1px solid color-mix(in srgb, var(--fx-texte) 18%, transparent); border-radius: 12px; outline: none; transition: border-color .2s, box-shadow .2s; }
.devis-champ select { -webkit-appearance: none; appearance: none; padding-right: 2.6rem; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 1.3rem) 55%, calc(100% - .95rem) 55%; background-size: .35rem .35rem; background-repeat: no-repeat; }
.devis-champ textarea { min-height: 6.5rem; resize: vertical; }
.devis-champ :is(input, select, textarea):focus { border-color: var(--fx-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--fx-accent) 16%, transparent); }
.devis-case { display: flex; align-items: flex-start; gap: .65rem; font-size: .95rem; }
.devis-case input, .devis-options input { flex: none; width: 1.15rem; height: 1.15rem; margin: .2rem 0 0; accent-color: var(--fx-accent); }
.devis-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: .6rem; }
.devis-options label { display: flex; align-items: flex-start; gap: .65rem; padding: .9rem 1rem; border-radius: 14px; border: 1.5px solid color-mix(in srgb, var(--fx-texte) 14%, transparent); background: var(--devis-champ-fond, var(--fx-fond)); cursor: pointer; transition: border-color .2s, background-color .2s; }
.devis-options label:has(input:checked) { border-color: var(--fx-accent); background: color-mix(in srgb, var(--fx-accent) 8%, var(--devis-champ-fond, var(--fx-fond))); }
.devis-options label:has(input:focus-visible) { outline: 2px solid var(--fx-accent); outline-offset: 2px; }

/* Avec JavaScript : repères d'étapes reliés par une ligne qui se remplit */
.devis-progression { --devis-repere: 2rem; }
.devis-piste { position: relative; }
.devis-etat { display: none; margin: 0 0 .75rem; font-size: .85rem; font-weight: 600; color: color-mix(in srgb, var(--fx-texte) 62%, transparent); }
.devis-reperes { position: relative; z-index: 1; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; }
.devis-reperes li { display: grid; justify-items: center; gap: .45rem; min-width: 0; text-align: center; }
.devis-repere-num { display: grid; place-items: center; width: var(--devis-repere); height: var(--devis-repere); border-radius: 50%; border: 2px solid color-mix(in srgb, var(--fx-texte) 18%, transparent); background: var(--devis-surface, var(--fx-fond)); color: color-mix(in srgb, var(--fx-texte) 55%, transparent); font-weight: 700; font-size: .85rem; transition: background-color .3s, border-color .3s, color .3s, box-shadow .3s; }
.devis-repere-num svg { display: none; width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.devis-reperes [aria-current] .devis-repere-num { border-color: var(--fx-accent); color: var(--fx-accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--fx-accent) 15%, transparent); }
.devis-fait .devis-repere-num { background: var(--fx-accent); border-color: var(--fx-accent); color: var(--fx-fond); }
.devis-fait .devis-repere-num svg { display: block; }
.devis-fait .devis-repere-chiffre { display: none; }
.devis-repere-nom { font-size: .8rem; font-weight: 600; line-height: 1.3; color: color-mix(in srgb, var(--fx-texte) 55%, transparent); overflow-wrap: anywhere; transition: color .3s; }
.devis-reperes [aria-current] .devis-repere-nom, .devis-fait .devis-repere-nom { color: var(--fx-texte); }
.devis-barre { position: absolute; top: calc(var(--devis-repere) / 2 - 1px); left: calc(50% / var(--devis-n, 4)); right: calc(50% / var(--devis-n, 4)); height: 2px; border-radius: 2px; overflow: hidden; background: color-mix(in srgb, var(--fx-texte) 14%, transparent); }
.devis-barre span { display: block; height: 100%; background: var(--fx-accent); transform-origin: left center; transform: scaleX(var(--devis-avance, 0)); transition: transform .5s var(--fx-douce); }

.devis-scene { display: grid; min-width: 0; }
.devis-etape[hidden], .devis-nav [hidden] { display: none; }
.devis-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.devis-suivant, .devis-nav > .devis-envoi, .devis-nav > [type="submit"] { margin-left: auto; }
.devis-retour, .devis-suivant { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .8rem 1.4rem; border-radius: 999px; font: inherit; font-size: .95rem; font-weight: 600; line-height: 1; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--fx-douce); }
.devis-retour { border: 1px solid color-mix(in srgb, var(--fx-texte) 20%, transparent); background: transparent; color: var(--fx-texte); }
.devis-retour:hover { border-color: var(--fx-texte); }
.devis-suivant { border: 1px solid var(--fx-accent); background: var(--fx-accent); color: var(--fx-fond); }
.devis-suivant:hover { transform: translateY(-1px); }
.devis-retour:focus-visible, .devis-suivant:focus-visible, .devis-modifier:focus-visible { outline: 2px solid var(--fx-accent); outline-offset: 3px; }

/* Erreurs */
.devis-erreur { display: flex; align-items: flex-start; gap: .4rem; margin: .1rem 0 0; font-size: .88rem; line-height: 1.4; color: var(--fx-erreur, var(--fx-texte)); }
.devis-erreur[hidden] { display: none; }
.devis-erreur svg { flex: none; width: 1rem; height: 1rem; margin-top: .12rem; border-radius: 50%; background: currentColor; }
.devis-erreur path { fill: none; stroke: var(--fx-fond); stroke-width: 2.6; stroke-linecap: round; }
[data-devis-etapes] :is(input, select, textarea)[aria-invalid="true"] { border-color: var(--fx-erreur, var(--fx-texte)); }
[data-devis-etapes] input:is([type="radio"], [type="checkbox"])[aria-invalid="true"] { outline: 2px solid var(--fx-erreur, var(--fx-texte)); outline-offset: 2px; }
.devis-statut { margin: 0; font-weight: 600; color: var(--fx-erreur, var(--fx-texte)); }
.devis-statut:empty { display: none; }

/* Récapitulatif */
.devis-recap-liste { display: grid; gap: .75rem; }
.devis-recap-groupe { display: grid; gap: .65rem; padding: 1rem 1.1rem; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--fx-texte) 12%, transparent); background: var(--devis-champ-fond, var(--fx-fond)); }
.devis-recap-entete { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 700; }
.devis-modifier { padding: .3rem .6rem; border: 0; border-radius: 8px; background: none; color: var(--fx-accent); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
.devis-modifier:hover { background: color-mix(in srgb, var(--fx-accent) 10%, transparent); }
.devis-recap-groupe dl { display: grid; gap: .45rem; margin: 0; }
.devis-recap-groupe dl > div { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: .15rem 1rem; }
.devis-recap-groupe dt { font-size: .9rem; color: color-mix(in srgb, var(--fx-texte) 60%, transparent); }
.devis-recap-groupe dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
.devis-vide { font-style: italic; color: color-mix(in srgb, var(--fx-texte) 45%, transparent); }

@media (max-width: 560px) {
  .devis-etat { display: block; }
  .devis-repere-nom { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .devis-recap-groupe dl > div { grid-template-columns: minmax(0, 1fr); }
  .devis-nav { flex-direction: column-reverse; align-items: stretch; }
  .devis-nav > :is(.devis-retour, .devis-suivant, .devis-envoi, [type="submit"]), .devis-nav > .devis-envoi > [type="submit"] { width: 100%; margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .devis-barre span, .devis-repere-num, .devis-repere-nom, .devis-suivant { transition: none; }
}

/* ===== recette GYESS : validation-animee ===== */
/* === Validation animée (validation-animee.js) === */
/* Couleur des erreurs : --fx-erreur (rouge #c62828 par défaut, dans effets-base.css). À adapter dans le CSS du site
   (un rouge lisible sur son fond, plus clair en mode sombre) : voir le bloc Code à copier de la page de la famille. */

/* Coche posée sur le champ, à droite */
.validation-icone { position: absolute; left: 0; top: 0; z-index: 1; display: grid; align-items: center; justify-items: end; padding-right: .85rem; box-sizing: border-box; pointer-events: none; }
.validation-icone svg { width: 1.3rem; height: 1.3rem; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .4s cubic-bezier(.34, 1.56, .64, 1); }
.validation-icone-rond { fill: var(--fx-accent); }
.validation-icone-coche { fill: none; stroke: var(--fx-fond); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .35s var(--fx-douce) .12s; }
.validation-ok .validation-icone svg { opacity: 1; transform: none; }
.validation-ok .validation-icone-coche { stroke-dashoffset: 0; }

/* Champ en erreur */
form[data-validation] :is(input, textarea, select)[aria-invalid="true"] { border-color: var(--fx-erreur, var(--fx-texte)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--fx-erreur, var(--fx-texte)) 15%, transparent); }
form[data-validation] input:is([type="checkbox"], [type="radio"])[aria-invalid="true"] { outline: 2px solid var(--fx-erreur, var(--fx-texte)); outline-offset: 2px; }

/* Message d'erreur (il glisse sous le champ) */
.validation-message { display: flex; align-items: flex-start; gap: .45rem; margin: .45rem 0 0; overflow: hidden; font-size: .88rem; line-height: 1.4; color: var(--fx-erreur, var(--fx-texte)); }
.validation-message[hidden] { display: none; }
.validation-message svg { flex: none; width: 1rem; height: 1rem; margin-top: .12rem; }
.validation-message svg circle { fill: currentColor; }
.validation-message svg path { fill: none; stroke: var(--fx-fond); stroke-width: 2.6; stroke-linecap: round; }

@media (prefers-reduced-motion: reduce) {
  .validation-icone svg, .validation-icone-coche { transition: opacity .2s; }
}

/* ===== recette GYESS : bouton-etats ===== */
/* === Bouton d'envoi à états (bouton-etats.js) === */
/* Couleurs réglables dans le CSS du site : --etats-fond (repos), --etats-succes, --etats-erreur,
   --etats-encre (texte). Par défaut : couleur d'accent, et une teinte sombre pour l'erreur. */
button[data-bouton-etats] {
  --etats-h: 3.25rem;
  --etats-couleur: var(--etats-fond, var(--fx-accent));
  position: relative; isolation: isolate;
  display: inline-grid; grid-template-areas: "pile"; place-items: center;
  min-height: var(--etats-h); padding: 0 1.75rem; border: 0; border-radius: 999px;
  background: none; color: var(--etats-encre, var(--fx-fond));
  font: inherit; font-weight: 600; line-height: 1.2; white-space: nowrap; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
/* Le fond du bouton : c'est lui qui se resserre en rond pendant l'envoi */
button[data-bouton-etats]::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--etats-couleur);
  clip-path: inset(0 0 round 999px);
  transition: clip-path .55s var(--fx-douce), background-color .35s ease;
}
button[data-bouton-etats]:not([data-etat="envoi"], [data-etat="succes"], [data-etat="erreur"]):hover::before { background: color-mix(in srgb, var(--etats-couleur) 86%, var(--fx-texte)); }
button[data-bouton-etats]:focus-visible { outline: 2px solid var(--fx-accent); outline-offset: 3px; }
button[data-bouton-etats][aria-disabled="true"] { cursor: progress; }
button[data-bouton-etats][data-etat="envoi"]::before { clip-path: inset(0 calc(50% - var(--etats-h) / 2) round 999px); }
button[data-bouton-etats][data-etat="succes"] { --etats-couleur: var(--etats-succes, var(--fx-accent)); }
button[data-bouton-etats][data-etat="erreur"] {
  --etats-couleur: var(--etats-erreur, color-mix(in srgb, var(--fx-texte) 86%, var(--fx-accent)));
  animation: etats-secousse .5s var(--fx-douce) .15s both;
}

/* Les faces sont empilées : la largeur du bouton ne change jamais */
.etats-libelle, .etats-face, .etats-roue { grid-area: pile; }
.etats-libelle, .etats-face { transition: opacity .25s ease, transform .45s var(--fx-douce); }
.etats-face { display: inline-flex; align-items: center; gap: .5rem; opacity: 0; transform: translateY(.55em); }
:is([data-etat="envoi"], [data-etat="succes"], [data-etat="erreur"]) > .etats-libelle { opacity: 0; transform: translateY(-.55em); transition-duration: .18s, .35s; }
[data-etat="succes"] > .etats-face-succes,
[data-etat="erreur"] > .etats-face-erreur { opacity: 1; transform: none; transition-delay: .12s; }

.etats-icone { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.etats-icone path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .4s var(--fx-douce) .22s; }
.etats-icone path + path { transition-delay: .34s; }
[data-etat="succes"] .etats-face-succes path,
[data-etat="erreur"] .etats-face-erreur path { stroke-dashoffset: 0; }

.etats-roue { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; opacity: 0; transform: scale(.5); transition: opacity .2s ease, transform .3s var(--fx-douce); }
.etats-roue circle { stroke-dasharray: 62 100; }
[data-etat="envoi"] > .etats-roue { opacity: 1; transform: none; transition-delay: .2s; animation: etats-tourne .8s linear infinite; }

@keyframes etats-tourne { to { rotate: 360deg; } }
@keyframes etats-secousse {
  0%, 100% { translate: 0; }
  20% { translate: -7px 0; }
  40% { translate: 6px 0; }
  60% { translate: -4px 0; }
  80% { translate: 2px 0; }
}

@media (prefers-reduced-motion: reduce) {
  /* Pas de resserrement, de secousse ni de rotation : un texte « Envoi en cours… » et de simples fondus */
  button[data-bouton-etats] { animation: none !important; }
  button[data-bouton-etats]::before { clip-path: none !important; transition: background-color .15s ease; }
  .etats-libelle, .etats-face { transform: none !important; transition: opacity .15s ease !important; }
  .etats-icone path { stroke-dashoffset: 0; transition: none; }
  .etats-roue { display: none; }
  [data-etat="envoi"] > .etats-face-envoi { opacity: 1; }
}

/* ===== recette GYESS : bandeau-cookies ===== */
/* === Bandeau cookies animé (bandeau-cookies.js) === */
.cookies { position: fixed; left: max(1rem, env(safe-area-inset-left)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 1000; width: min(34rem, calc(100% - 2rem)); opacity: 0; transform: translateY(calc(100% + 2rem)); transition: transform .65s var(--fx-douce), opacity .4s ease; }
.cookies.cookies-visible { opacity: 1; transform: none; }
@media (max-width: 640px) {
  .cookies { left: .75rem; right: .75rem; bottom: .75rem; width: auto; }
}
.cookies-boite { display: grid; gap: .85rem; max-height: calc(100dvh - 2rem); overflow: auto; overscroll-behavior: contain; padding: 1.35rem 1.4rem 1.25rem; border: 1px solid color-mix(in srgb, var(--fx-texte) 10%, transparent); border-radius: 20px; background: var(--fx-fond); color: var(--fx-texte); box-shadow: 0 24px 60px -24px var(--fx-ombre), 0 8px 24px -12px var(--fx-ombre); }
.cookies-titre { margin: 0; font-size: 1.1rem; }
.cookies-texte { margin: 0; font-size: .92rem; line-height: 1.55; color: color-mix(in srgb, var(--fx-texte) 78%, transparent); }
.cookies-texte a { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
/* Boutons : « Tout refuser » et « Tout accepter » ont exactement le même poids */
.cookies-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.cookies-bouton { flex: 1 1 8rem; min-height: 2.75rem; padding: .6rem 1.1rem; border: 1px solid var(--fx-texte); border-radius: 999px; background: var(--fx-texte); color: var(--fx-fond); font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer; transition: transform .25s var(--fx-douce), opacity .2s; }
.cookies-bouton:hover { transform: translateY(-1px); opacity: .9; }
.cookies-bouton:focus-visible, .cookies-lien:focus-visible { outline: 2px solid var(--fx-accent); outline-offset: 2px; }
.cookies-lien { flex: 1 1 100%; justify-self: start; min-height: 2.5rem; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-size: .92rem; font-weight: 600; text-align: left; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.cookies-lien[aria-expanded="true"] { text-decoration-style: dotted; }
/* Panneau « Personnaliser » : se déplie en douceur, inactif tant qu'il est replié */
.cookies-choix { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--fx-douce); }
.cookies-choix.cookies-ouvert { grid-template-rows: 1fr; }
.cookies-choix-interieur { display: grid; gap: .5rem; min-height: 0; overflow: hidden; opacity: 0; transition: opacity .3s ease; }
.cookies-ouvert .cookies-choix-interieur { opacity: 1; }
.cookies-categorie { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem .9rem; border-radius: 14px; background: color-mix(in srgb, var(--fx-texte) 5%, transparent); cursor: pointer; }
.cookies-categorie span { display: grid; gap: .1rem; font-size: .92rem; }
.cookies-categorie small { font-size: .8rem; opacity: .7; }
/* Interrupteur (vraie case à cocher, role="switch") */
.cookies-categorie input { -webkit-appearance: none; appearance: none; position: relative; flex: none; width: 2.75rem; height: 1.6rem; margin: 0; border-radius: 999px; background: color-mix(in srgb, var(--fx-texte) 22%, transparent); cursor: pointer; transition: background-color .25s; }
.cookies-categorie input::before { content: ""; position: absolute; top: .2rem; left: .2rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--fx-fond); box-shadow: 0 1px 3px var(--fx-ombre); transition: transform .35s cubic-bezier(.34, 1.4, .64, 1); }
.cookies-categorie input:checked { background: var(--fx-accent); }
.cookies-categorie input:checked::before { transform: translateX(1.15rem); }
.cookies-categorie input:disabled { opacity: .5; cursor: not-allowed; }
.cookies-categorie input:focus-visible { outline: 2px solid var(--fx-accent); outline-offset: 2px; }
.cookies-enregistrer { margin-top: .25rem; border-color: var(--fx-accent); background: var(--fx-accent); color: var(--fx-fond); }

@media (prefers-reduced-motion: reduce) {
  .cookies, .cookies.cookies-visible { transform: none; transition: opacity .2s ease; }
  .cookies-choix, .cookies-choix-interieur, .cookies-categorie input, .cookies-categorie input::before, .cookies-bouton { transition: none; }
  .cookies-bouton:hover { transform: none; }
}

/* ===== recette GYESS : grille-vague ===== */
/* === Grille en vague (grille-vague.js) === */
/* Éléments cachés en attendant la vague ; si le script ne démarre pas, ils réapparaissent seuls au bout de 3 s
   (le script pose .grille-vague-pret sur la grille dès qu'il prend la main). */
.js [data-vague] > * { opacity: 0; }
.js [data-vague]:not(.grille-vague-pret) > * { animation: grille-vague-secours .01s 3s forwards; }
@keyframes grille-vague-secours { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .js [data-vague] > * { opacity: 1 !important; transform: none !important; }
  .js [data-vague]:not(.grille-vague-pret) > * { animation: none; }
}

/* ===== recette GYESS : compteur-caracteres ===== */
/* === Compteur de caractères (compteur-caracteres.js) === */
.caracteres { display: flex; justify-content: flex-end; margin-top: .45rem; font-size: .85rem; line-height: 1.2; color: color-mix(in srgb, var(--fx-texte) 60%, transparent); }
.caracteres-visuel { display: inline-flex; align-items: center; gap: .45rem; font-variant-numeric: tabular-nums; }
.caracteres-anneau { width: 1.3rem; height: 1.3rem; flex: none; }
.caracteres-piste, .caracteres-arc { fill: none; stroke-width: 2.6; }
.caracteres-piste { stroke: color-mix(in srgb, var(--fx-texte) 13%, transparent); }
.caracteres-arc { stroke: var(--fx-accent); stroke-linecap: round; stroke-dasharray: 100 100; transition: stroke-dashoffset .3s var(--fx-douce), stroke .25s; }
.caracteres-vide .caracteres-arc { opacity: 0; }
.caracteres-nombre { display: inline-block; min-width: 3ch; text-align: right; transition: color .25s; }
.caracteres-anneau + .caracteres-nombre { text-align: left; }
/* Près de la limite */
.caracteres-alerte { color: var(--fx-erreur, var(--fx-texte)); font-weight: 600; }
.caracteres-alerte .caracteres-arc { stroke: var(--fx-erreur, var(--fx-texte)); }
@media (prefers-reduced-motion: reduce) {
  .caracteres-arc, .caracteres-nombre { transition: none; }
}

/* ===== recette GYESS : etiquettes-flottantes ===== */
/* === Étiquettes flottantes (CSS seul) === */
/* Structure : <div class="flottante"><input placeholder=" " …><label for="…">…</label></div>
   (le champ AVANT l'étiquette, et placeholder=" " obligatoire : c'est lui qui dit « champ vide »). */
.flottante { position: relative; display: block; min-width: 0; }
.flottante > :is(input, textarea, select) {
  display: block; box-sizing: border-box; width: 100%; min-width: 0; min-height: 3.5rem; margin: 0;
  padding: 1.5rem 1rem .45rem;
  font: inherit; line-height: 1.5; color: var(--fx-texte);
  background-color: var(--flottante-fond, var(--fx-fond));
  border: 1px solid color-mix(in srgb, var(--fx-texte) 20%, transparent);
  border-radius: 14px;
  outline: none;
  -webkit-appearance: none; appearance: none;
  transition: border-color .25s, box-shadow .25s;
}
.flottante > textarea { min-height: 8.5rem; padding-top: 1.75rem; resize: vertical; }
.flottante > input::placeholder, .flottante > textarea::placeholder { color: transparent; }
/* Liste déroulante : flèche dessinée en CSS (l'étiquette reste toujours en haut) */
.flottante > select { padding-right: 2.75rem; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 1.35rem) 55%, calc(100% - 1rem) 55%;
  background-size: .35rem .35rem; background-repeat: no-repeat; }

/* L'étiquette, posée au milieu du champ */
.flottante > label {
  position: absolute; left: calc(1rem + 1px); top: 1rem;
  max-width: calc(100% - 2.75rem); overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-size: 1rem; line-height: 1.5rem;
  color: color-mix(in srgb, var(--fx-texte) 62%, transparent);
  pointer-events: none; transform-origin: 0 0;
  transition: transform .28s var(--fx-douce), color .25s;
}
.flottante > :required + label::after { content: " *"; color: var(--fx-accent); }

/* Elle monte quand le champ a le focus ou contient du texte */
.flottante > :is(input, textarea):focus + label,
.flottante > :is(input, textarea):not(:placeholder-shown) + label,
.flottante > select + label { transform: translateY(-.55rem) scale(.78); }
.flottante > input:-webkit-autofill + label { transform: translateY(-.55rem) scale(.78); }
.flottante > :is(input, textarea, select):focus + label { color: var(--fx-accent); }

/* Bordure : survol, focus, et trait qui se dessine depuis le centre */
.flottante > :is(input, textarea, select):hover { border-color: color-mix(in srgb, var(--fx-texte) 34%, transparent); }
/* Contour transparent : invisible ici, mais affiché en mode « contraste élevé » (où l'ombre disparaît) */
.flottante > :is(input, textarea, select):focus { border-color: var(--fx-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--fx-accent) 16%, transparent); outline: 2px solid transparent; outline-offset: 2px; }
.flottante::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; border-radius: 2px; background: var(--fx-accent); transform: scaleX(0); transition: transform .45s var(--fx-douce); pointer-events: none; }
.flottante:focus-within::after { transform: scaleX(1); }

/* Texte d'aide sous le champ (relié par aria-describedby) */
.flottante-aide { display: block; margin: .4rem 1rem 0; font-size: .85rem; line-height: 1.4; color: color-mix(in srgb, var(--fx-texte) 62%, transparent); }

@media (prefers-reduced-motion: reduce) {
  .flottante > label, .flottante::after { transition: color .2s; }
}

/* ===== recette GYESS : choix-cartes ===== */
/* === Choix en cartes (CSS seul) === */
/* De vrais boutons radio (ou cases à cocher), invisibles mais utilisables au clavier,
   présentés en cartes : <label class="choix-carte"><input type="radio" …> … </label> */
.choix { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--choix-largeur, 170px)), 1fr)); gap: .75rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.choix > legend { margin: 0 0 .9rem; padding: 0; font-weight: 700; }

.choix-carte { position: relative; display: grid; align-content: start; gap: .3rem; min-width: 0; padding: 1.1rem 3rem 1.15rem 1.1rem; border-radius: 18px; border: 1.5px solid color-mix(in srgb, var(--fx-texte) 14%, transparent); background: var(--choix-surface, var(--fx-fond)); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: border-color .25s, background-color .25s, box-shadow .3s, transform .3s var(--fx-douce); }
.choix-carte > input { position: absolute; top: 1rem; left: 1rem; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.choix-carte:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) {
  .choix-carte:hover { border-color: color-mix(in srgb, var(--fx-texte) 30%, transparent); transform: translateY(-2px); box-shadow: 0 10px 24px color-mix(in srgb, var(--fx-texte) 8%, transparent); }
}
.choix-carte:has(> input:checked) { border-color: var(--fx-accent); background: color-mix(in srgb, var(--fx-accent) 7%, var(--choix-surface, var(--fx-fond))); box-shadow: 0 10px 26px color-mix(in srgb, var(--fx-accent) 16%, transparent); }
.choix-carte:has(> input:focus-visible) { outline: 2px solid var(--fx-accent); outline-offset: 3px; }
.choix-carte:has(> input:disabled) { opacity: .5; cursor: not-allowed; }

/* Illustration : icône au trait (ou photo : <img> en premier dans la carte) */
.choix-icone { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-bottom: .45rem; border-radius: 14px; background: color-mix(in srgb, var(--fx-accent) 10%, transparent); color: var(--fx-accent); transition: background-color .3s, color .3s; }
.choix-icone svg { width: 1.45rem; height: 1.45rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.choix-carte > input:checked ~ .choix-icone { background: var(--fx-accent); color: var(--fx-fond); animation: choix-rebond .55s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes choix-rebond { 40% { transform: scale(.86) rotate(-6deg); } 100% { transform: none; } }
.choix-carte > img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; margin-bottom: .55rem; }
.choix-carte:has(> img) { padding-right: 1.1rem; }
.choix-carte:has(> img) .choix-coche { top: 1.6rem; right: 1.6rem; }
.choix-titre { font-weight: 700; line-height: 1.3; }
.choix-texte { font-size: .9rem; line-height: 1.45; color: color-mix(in srgb, var(--fx-texte) 62%, transparent); }

/* Coche qui se dessine (ronde pour un choix unique, carrée pour plusieurs choix) */
.choix-coche { position: absolute; top: 1rem; right: 1rem; display: grid; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--fx-texte) 25%, transparent); background: var(--choix-surface, var(--fx-fond)); transition: background-color .25s, border-color .25s; }
.choix-coche svg { width: 72%; height: 72%; fill: none; stroke: var(--fx-fond); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.choix-coche path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .35s var(--fx-douce) .08s; }
.choix-carte > input:checked ~ .choix-coche { background: var(--fx-accent); border-color: var(--fx-accent); }
.choix-carte > input:checked ~ .choix-coche path { stroke-dashoffset: 0; }
.choix-carte > input[type="checkbox"] ~ .choix-coche { border-radius: 7px; }

/* Variante compacte (pastilles) : budget, délais, options */
.choix-compact { --choix-largeur: 150px; }
.choix-compact .choix-carte { align-content: center; min-height: 3.4rem; padding: .75rem 1rem .75rem 3rem; }
.choix-compact .choix-coche { top: 50%; left: 1rem; right: auto; translate: 0 -50%; }

@media (prefers-reduced-motion: reduce) {
  .choix-carte, .choix-coche, .choix-coche path, .choix-icone { transition: none; }
  .choix-carte:hover, .choix-carte:active { transform: none; }
  .choix-carte > input:checked ~ .choix-icone { animation: none; }
}

/* ===== 10-base.css ===== */
/* =====================================================================================
   Bases : remise à zéro, typographie, boutons, verre, sections
   ===================================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--entete-h) + 16px); }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body {
  margin: 0; min-height: 100vh; background: var(--fond); color: var(--texte);
  font-family: var(--ff-texte); font-size: var(--fs-corps); line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--ff-titre); color: var(--titre); font-weight: 600; letter-spacing: -.022em; line-height: 1.1; text-wrap: balance; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--sauge-200); color: var(--encre-800); }
main:focus { outline: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Focus clavier visible et stylé partout */
:focus-visible { outline: 2px solid var(--sauge-600); outline-offset: 3px; border-radius: 6px; }
.fond-sombre :focus-visible, .pied :focus-visible, .menu-panneau :focus-visible, .secteurs-bande :focus-visible, .offre-premium :focus-visible { outline-color: var(--sauge-200); }

.lien-evitement { position: fixed; left: var(--bord); top: 12px; z-index: 2000; padding: 12px 18px; border-radius: var(--r-btn); background: var(--encre-700); color: #fff; font-family: var(--ff-titre); font-weight: 500; text-decoration: none; transform: translateY(-160%); transition: transform .3s var(--douce); }
.lien-evitement:focus { transform: none; }

/* Conteneur et sections */
.conteneur { width: 100%; max-width: calc(var(--conteneur) + 2 * var(--gouttiere)); margin-inline: auto; padding-inline: var(--gouttiere); }
.section { position: relative; padding-block: var(--section); }
/* Deux sections claires qui se suivent : un seul espace entre elles (pas de trou) */
.section:not(.section-brume) + .section:not(.section-brume) { padding-top: 0; }
.page-hero + .section { padding-top: clamp(20px, 2.6vw, 40px); }
.section-brume { background: linear-gradient(180deg, var(--sauge-50) 0%, #f4f8f8 100%); }
.section + .section-brume, .section-brume + .section { border-top: 1px solid var(--ligne); }

/* En-tête de section : titre à gauche, texte et actions à droite, sur une même ligne */
.section-entete { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 16px 64px; align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.section-entete-texte { display: grid; gap: 20px; justify-items: start; color: var(--texte); }
.section-entete-texte p { max-width: 58ch; }
@media (max-width: 900px) { .section-entete { grid-template-columns: 1fr; align-items: start; } }

.surtitre { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: var(--ff-titre); font-size: var(--fs-surtitre); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sauge-700); }
.surtitre::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--degrade-verre); box-shadow: 0 0 0 1px rgba(95, 120, 124, .25); }
.surtitre-clair { color: var(--sauge-200); }
.titre-section { font-size: var(--fs-h2); }
.titre-clair { color: #fff; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--encre-700); }
.grand-texte { font-family: var(--ff-titre); font-weight: 500; font-size: clamp(1.4rem, 1.05rem + 1.4vw, 2.2rem); line-height: 1.32; letter-spacing: -.015em; color: var(--encre-700); }

/* Titre principal des pages : petite ligne + grand titre, dans le même h1 */
.titre-page { display: grid; gap: 14px; }
.h1-ligne { font-family: var(--ff-titre); font-size: clamp(.74rem, .7rem + .15vw, .82rem); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sauge-700); line-height: 1.4; }
.h1-grand { font-size: var(--fs-h1); font-weight: 600; letter-spacing: -.03em; line-height: 1.04; color: var(--encre-700); }

/* Icônes au trait */
.icone { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ----- Boutons ----- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border-radius: var(--r-btn); border: 1px solid transparent;
  font-family: var(--ff-titre); font-size: .95rem; font-weight: 500; letter-spacing: .005em; line-height: 1.15;
  text-decoration: none; white-space: normal; text-align: center; text-wrap: balance; isolation: isolate; overflow: hidden;
  transition: transform .35s var(--douce), background-color .3s, border-color .3s, box-shadow .35s var(--douce), color .3s;
}
.btn-fleche { width: 18px; height: 18px; flex: none; transition: transform .35s var(--douce); }
@media (min-width: 561px) { .btn { white-space: nowrap; } .valeur-boite .btn, .pole .btn, .info-devis .btn { white-space: normal; } }
.btn { max-width: 100%; }
.btn:hover .btn-fleche, .btn:focus-visible .btn-fleche { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primaire { background: var(--sauge-600); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 10px 24px -12px rgba(31, 46, 45, .7); }
/* Survol : un trait clair se trace de gauche à droite au pied du bouton (même geste que les cartes) */
.btn-primaire::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--sauge-200), #fff); transform: scaleX(0); transform-origin: left center; transition: transform .6s var(--douce); }
@media (hover: hover) {
  .btn-primaire:hover { background: var(--sauge-700); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 16px 30px -14px rgba(31, 46, 45, .75); }
  .btn-primaire:hover::after { transform: scaleX(1); }
}
.btn-verre { background: rgba(255, 255, 255, .62); color: var(--encre-700); border-color: rgba(255, 255, 255, .9); box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba(31, 46, 45, .04), 0 10px 26px -16px rgba(31, 46, 45, .45); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); }
.section .btn-verre, .section-brume .btn-verre { border-color: var(--ligne-forte); }
@media (hover: hover) { .btn-verre:hover { background: #fff; transform: translateY(-1px); border-color: var(--sauge-300); } }
.btn-clair { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .26); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
@media (hover: hover) { .btn-clair:hover { background: #fff; color: var(--encre-800); border-color: #fff; transform: translateY(-1px); } }

/* Lien avec flèche */
.lien-fleche { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff-titre); font-size: .92rem; font-weight: 500; color: var(--sauge-600); text-decoration: none; }
.lien-fleche:hover { color: var(--encre-700); }
.lien-fleche:hover .btn-fleche { transform: translateX(3px); }

/* ----- Verre (panneaux translucides) ----- */
.verre {
  background: linear-gradient(140deg, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .5) 100%);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(141, 165, 174, .18), var(--ombre-3);
  -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5);
  border-radius: var(--r-panneau);
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .verre { background: rgba(255, 255, 255, .94); }
  .btn-verre { background: rgba(255, 255, 255, .95); }
}

/* Puces cochées */
.puce-coche { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--sauge-50); color: var(--sauge-600); stroke-width: 2.6; box-shadow: inset 0 0 0 1px rgba(95, 120, 124, .2); }

/* Texte « à compléter » des pages légales */
.a-completer { padding: 1px 6px; border-radius: 6px; background: #fff3c4; color: #6b4e00; }

/* Sans JavaScript */
.formulaire-sans-js { display: none; }
.no-js:not(.js-ok) .formulaire-sans-js { display: block; margin-top: 16px; padding: 14px 16px; border-radius: var(--r-champ); background: var(--sauge-50); color: var(--encre-700); font-size: var(--fs-petit); }
/* « js-ok » : main.js est arrivé après le filet de 5 s (connexion lente) ; le formulaire fonctionne, on rend le bouton. */
.no-js:not(.js-ok) .formulaire-envoi, .no-js:not(.js-ok) .devis-envoi, .no-js:not(.js-ok) .captcha-zone { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .btn-primaire::after { display: none; }
}

/* Langues aux mots longs (allemand surtout) : césure propre plutôt qu'un mot qui déborde sur téléphone */
:lang(de) p, :lang(de) li, :lang(de) h1, :lang(de) h2, :lang(de) h3, :lang(de) dd, :lang(de) label,
:lang(tr) p, :lang(tr) li, :lang(tr) h1, :lang(tr) h2, :lang(tr) h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }

/* ===== 15-mouvements.css ===== */
/* =====================================================================================
   Mouvements propres à CFG NEX : tout se dévoile de gauche à droite, comme une route
   qu'on trace ou une ligne d'horizon (titres balayés, cartes et blocs qui glissent,
   photos découvertes par un volet sauge, chiffres à rouleaux, trait sur les cartes).
   Rien n'est caché sans JavaScript ; « réduire les animations » affiche tout directement.
   ===================================================================================== */

/* ----- Titres balayés (CFG.balayer, 00-reglages.js) ----- */
.balaye-pret { position: relative; }
.balaye-texte { display: inline-block; max-width: 100%; vertical-align: top; }
.balaye-trait { position: absolute; top: 0; left: 0; width: 2px; height: var(--h, 1em); border-radius: 2px; opacity: 0; pointer-events: none;
  background: linear-gradient(180deg, var(--sauge-300), var(--sauge-600)); box-shadow: 0 0 14px rgba(112, 137, 141, .6);
  transform: translate(var(--x0, 0), var(--y0, 0)); }
.js .balaye-pret:not(.balaye-joue):not(.balaye-fini) > .balaye-texte { clip-path: inset(-.3em 100% -.3em -.1em); }
.js .balaye-joue:not(.balaye-fini) > .balaye-texte { animation: balaye-texte 1s var(--rideau) var(--balaye-delai, 0s) both; }
.js .balaye-joue:not(.balaye-fini) > .balaye-trait { animation: balaye-trait 1s var(--rideau) var(--balaye-delai, 0s) both; }
@keyframes balaye-texte { from { clip-path: inset(-.3em 100% -.3em -.1em); } to { clip-path: inset(-.3em calc(100% - var(--fin, 100%) - .15em) -.3em -.1em); } }
@keyframes balaye-trait {
  0% { opacity: 0; transform: translate(var(--x0, 0), var(--y0, 0)); }
  8%, 86% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--x1, 0), var(--y0, 0)); }
}
.titre-clair .balaye-trait, .menu-panneau .balaye-trait { background: linear-gradient(180deg, #fff, var(--sauge-200)); box-shadow: 0 0 16px rgba(255, 255, 255, .45); }

/* ----- En-tête en capsule : le contenu s'estompe juste au-dessus, au lieu d'être coupé net ----- */
html:has(.entete-compacte)::before { content: ""; position: fixed; inset: 0 0 auto 0; z-index: 850; height: 22px; pointer-events: none;
  background: linear-gradient(180deg, var(--fond) 25%, rgba(252, 251, 252, 0)); }

/* ----- Photos : un volet sauge passe, puis l'image se pose (recette « rideau ») ----- */
:root { --apparition-rideau: var(--sauge-200); }

/* ----- Survol des cartes : un trait sauge se trace sur le bord haut, la carte se soulève ----- */
:is(.pole, .offre, .valeur-carte, .service-carte, .cta-carte, a.info-carte) { position: relative; }
:is(.pole, .offre, .valeur-carte, .service-carte, .cta-carte, a.info-carte)::after {
  content: ""; position: absolute; top: 0; left: 26px; right: 26px; height: 2px; border-radius: 0 0 2px 2px; pointer-events: none;
  background: linear-gradient(90deg, var(--sauge-600), var(--sauge-300) 70%, rgba(194, 214, 218, 0));
  transform: scaleX(0); transform-origin: left center; transition: transform .75s var(--douce); }
.offre-premium::after { background: linear-gradient(90deg, #fff, var(--sauge-200) 70%, rgba(194, 214, 218, 0)); }
@media (hover: hover) { :is(.pole, .offre, .valeur-carte, .service-carte, .cta-carte, a.info-carte):hover::after { transform: scaleX(1); } }
:is(.pole, .offre, .valeur-carte, .service-carte, .cta-carte, a.info-carte):focus-within::after { transform: scaleX(1); }
@media (hover: hover) { .valeur-carte:hover { transform: translateY(-4px); box-shadow: var(--ombre-2); } }
.valeur-carte { transition: transform .5s var(--douce), box-shadow .5s var(--douce); }

/* ----- Chiffres clés à rouleaux (15-rouleaux.js) ----- */
.rouleau { display: inline-flex; align-items: flex-start; line-height: 1; }
.rouleau-col { position: relative; display: inline-block; height: 1em; overflow: hidden; }
.rouleau-fantome { display: block; height: 1em; visibility: hidden; }
.rouleau-piste { position: absolute; top: 0; left: 50%; display: flex; flex-direction: column; transform: translate(-50%, 0); }
.rouleau-piste > span { display: block; height: 1em; line-height: 1; text-align: center; }
.rouleau-joue .rouleau-piste { transform: translate(-50%, calc(var(--cible) * -1em)); transition: transform 1.9s cubic-bezier(.12, .85, .2, 1) calc(var(--k, 0) * .11s); }
.rouleau-fini .rouleau-piste { transform: translate(-50%, calc(var(--cible) * -1em)); transition: none; }
.chiffre-valeur b.rouleau-hote { background: none; -webkit-text-fill-color: currentColor; }
.chiffre-valeur b.rouleau-hote :is(.rouleau-piste > span, .rouleau-signe) {
  background: linear-gradient(160deg, var(--encre-700) 30%, var(--sauge-500) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ----- Logo « vague » : le faisceau coule vers la gauche ; un brin remonte en sens inverse et un autre,
   plus long, va un peu plus vite, si bien que les brins se croisent sans cesse. Chaque brin glisse
   d'une longueur d'onde exacte en 6 s : toutes les 6 s, la vague retrouve exactement son dessin de
   départ. main.js la laisse couler un tour à l'arrivée sur la page, puis la pose en douceur sur ce
   dessin ; elle repart au survol du logo et finit son tour quand on s'en va. ----- */
.vg-arrivee, .vg-flux { transform-box: view-box; }
.vg-b1, .vg-b2, .vg-b3 { --vg-l: -100px; }
.vg-b4 { --vg-l: 100px; }
.vg-b5 { --vg-l: -125px; }
.js .vg-flux { animation: vg-flux 6s linear infinite; }
@keyframes vg-flux { to { transform: translateX(var(--vg-l)); } }


@media (prefers-reduced-motion: reduce) {
  .balaye-trait { display: none; }
  .js .balaye-pret > .balaye-texte { clip-path: none !important; animation: none !important; }
  .rouleau-piste { transition: none !important; }
  .vg-flux, .vg-arrivee { animation: none !important; }
}

/* ===== 20-entete.css ===== */
/* =====================================================================================
   En-tête : logo tout à gauche, pages au milieu, téléphone + devis + menu tout à droite
   (collés aux bords de l'écran, seulement la marge latérale)
   ===================================================================================== */
.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px;
  height: var(--entete-h); padding-inline: max(var(--bord), env(safe-area-inset-left)) max(var(--bord), env(safe-area-inset-right));
  color: var(--encre-700);
}
.entete { border-radius: 0; transition: inset .6s var(--douce), height .6s var(--douce), padding .6s var(--douce), border-radius .6s var(--douce), background-color .45s ease, box-shadow .45s ease; }
/* Dès qu'on descend (et quand le menu est ouvert) : la barre se resserre en capsule de verre flottante */
.entete.entete-compacte, html.menu-ouvert .entete {
  inset: 10px 10px auto 10px; height: calc(var(--entete-h) - 16px); border-radius: 22px;
  padding-inline: max(14px, calc(var(--bord) - 10px), env(safe-area-inset-left)) max(14px, calc(var(--bord) - 10px), env(safe-area-inset-right));
  background: rgba(252, 251, 252, .8); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .75), 0 1px 0 var(--ligne), 0 18px 40px -26px rgba(31, 46, 45, .5); }

/* Logo */
.entete-logo, .pied-logo-lien { display: inline-flex; align-items: center; gap: 12px; justify-self: start; text-decoration: none; color: inherit; border-radius: 10px; }
/* Symbole « vague » : brins en dégradé vertical (clair en haut, encre en bas) sur une bande de verre sauge */
.logo-symbole { flex: none; width: auto; height: 30px; aspect-ratio: 5 / 2; }
.vg-s1 { stop-color: var(--vague-1); }
.vg-s2 { stop-color: var(--vague-2); }
.vg-s3 { stop-color: var(--vague-3); }
.vg-s4 { stop-color: var(--vague-4); }
.vg-s5 { stop-color: var(--vague-5); stop-opacity: .85; }
/* En petit, des brins plus épais pour rester lisibles (la vague de l'ouverture s'épaissit pendant son vol) */
:is(.logo-symbole, .intro-vole) :is(.vg-b2, .vg-b3) .vg-trait { stroke-width: 3.2; }
:is(.logo-symbole, .intro-vole) :is(.vg-b4, .vg-b5) .vg-trait { stroke-width: 2.2; }
.logo-nom { font-family: var(--ff-titre); font-weight: 600; font-size: 1.06rem; letter-spacing: .16em; color: var(--encre-800); white-space: nowrap; transition: color .3s; }

/* Navigation centrale : capsule de verre, la pastille blanche suit la souris et revient sur la page courante */
.entete-nav { justify-self: center; }
.nav-capsule.onglets-liste {
  gap: 2px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .5);
  border: 1px solid rgba(255, 255, 255, .92);
  box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba(31, 46, 45, .05), 0 12px 30px -20px rgba(31, 46, 45, .5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
}
.nav-capsule.onglets-liste > a { min-height: 40px; padding: 9px 17px; border-radius: 999px; font-family: var(--ff-titre); font-size: .9rem; font-weight: 500; color: var(--encre-700); letter-spacing: .005em; }
.nav-capsule.onglets-liste > a[aria-current="page"] { font-weight: 600; }
.nav-capsule.onglets-liste > a:hover { color: var(--encre-800); }
.nav-capsule.onglets-liste .onglets-indicateur { top: 5px; bottom: 5px; height: auto; border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(31, 46, 45, .08), 0 6px 16px -8px rgba(31, 46, 45, .35); }
.no-js .nav-capsule > a[aria-current="page"] { background: #fff; }

/* Actions à droite */
.entete-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; justify-self: end; }
.bouton-rond {
  display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none; padding: 0;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .92); background: rgba(255, 255, 255, .55); color: var(--encre-700);
  box-shadow: inset 0 1px 0 #fff, 0 10px 24px -18px rgba(31, 46, 45, .55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  text-decoration: none; transition: background-color .3s, transform .35s var(--douce), color .3s, border-color .3s;
}
.bouton-rond .icone { width: 19px; height: 19px; }
@media (hover: hover) { .bouton-rond:hover { background: #fff; transform: translateY(-1px); } }
.entete-devis { min-height: 46px; padding-inline: 20px; }
.devis-court { display: none; }

/* Trois traits de longueurs inégales (comme une liste) : ils s'alignent au survol et se croisent à l'ouverture */
.burger.bouton-rond { display: inline-grid; place-content: center; justify-items: end; gap: 4px; cursor: pointer; }
.burger.bouton-rond span { display: block; height: 1.8px; border-radius: 2px; background: currentColor; transition: width .45s var(--douce), transform .5s var(--douce), opacity .25s ease; }
.burger.bouton-rond span:nth-child(1) { width: 18px; }
.burger.bouton-rond span:nth-child(2) { width: 11px; }
.burger.bouton-rond span:nth-child(3) { width: 15px; }
@media (hover: hover) { .burger.bouton-rond:hover span { width: 18px; } }
.burger[aria-expanded="true"] span:nth-child(1) { width: 18px; transform: translateY(5.8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: translateX(8px); }
.burger[aria-expanded="true"] span:nth-child(3) { width: 18px; transform: translateY(-5.8px) rotate(-45deg); }

/* Sélecteur de langue */
.langue { position: relative; }
.langue-bouton { width: auto; padding: 0 14px 0 10px; gap: 8px; grid-auto-flow: column; border-radius: 999px; font-family: var(--ff-titre); font-size: .8rem; font-weight: 600; letter-spacing: .06em; }
.drapeau { width: 20px; height: 14px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(31, 46, 45, .12); }
.langue-menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 5; min-width: 188px; padding: 6px; list-style: none; border-radius: 16px; background: #fff; border: 1px solid var(--ligne); box-shadow: var(--ombre-2); }
.langue-menu[hidden] { display: none; }
.langue-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-family: var(--ff-titre); font-size: .9rem; font-weight: 500; color: var(--encre-700); text-decoration: none; }
.langue-menu a:hover, .langue-menu a[aria-current="true"] { background: var(--sauge-50); }

/* Écrans moyens : d'abord le devis en version courte, le drapeau seul et des onglets plus serrés,
   puis le menu central passe dans les trois barres. Seuils mesurés dans les 4 langues (le français est
   le plus long) pour que la capsule centrale ne touche jamais le logo ni les boutons de droite. */
@media (max-width: 1499px) {
  .devis-long { display: none; } .devis-court { display: inline; }
  .langue-bouton { width: 46px; padding: 0; gap: 0; }
  .langue-code { display: none; }
  .nav-capsule.onglets-liste > a { padding-inline: 13px; }
}
@media (max-width: 1199px) {
  .entete { grid-template-columns: minmax(0, 1fr) auto; }
  .entete-nav { display: none; }
}
@media (max-width: 560px) {
  .entete { gap: 8px; }
  .entete-actions { gap: 8px; }
  .bouton-rond { width: 42px; height: 42px; }
  .entete-devis { min-height: 42px; padding-inline: 14px; font-size: .88rem; }
  .logo-symbole { height: 24px; }
  .logo-nom { font-size: .95rem; letter-spacing: .12em; }
  .langue { display: none; }
}
@media (max-width: 379px) { .entete-logo .logo-nom { display: none; } }

/* ----- Menu (trois traits) : panneau encre déplié sous l'en-tête, page assombrie derrière ----- */
html.menu-ouvert { overflow: hidden; }
.menu-voile { position: fixed; inset: 0; z-index: 880; background: rgba(26, 39, 38, .4); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.menu-voile[hidden] { display: none; }
.menu-panneau { position: fixed; z-index: 890; top: calc(var(--entete-h) + 2px); right: 10px; width: min(920px, calc(100vw - 20px)); max-height: calc(100svh - var(--entete-h) - 14px);
  overflow-y: auto; overscroll-behavior: contain; padding: clamp(22px, 3vw, 40px); border-radius: 26px; color: var(--clair);
  background: radial-gradient(120% 90% at 100% 0%, #2f403f 0%, var(--encre-800) 48%, var(--encre-900) 100%);
  box-shadow: 0 34px 80px -34px rgba(12, 20, 19, .7), inset 0 1px 0 rgba(255, 255, 255, .07); }
.menu-panneau[hidden] { display: none; }
.menu-grille { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px clamp(28px, 4vw, 56px); align-items: start; }
.menu-principal { list-style: none; display: grid; }
.menu-panneau a.menu-lien { position: relative; display: flex; align-items: center; gap: 16px; padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .09);
  font-family: var(--ff-titre); font-size: clamp(1.15rem, 1rem + .75vw, 1.6rem); font-weight: 500; letter-spacing: -.012em; line-height: 1.2; color: #fff; text-decoration: none; }
.menu-num { min-width: 2.2ch; font-size: .72rem; font-weight: 500; letter-spacing: .12em; color: var(--clair-doux); }
.menu-lien .menu-fleche { width: 18px; height: 18px; margin-left: auto; color: var(--sauge-200); opacity: 0; transform: translateX(-10px); transition: opacity .3s ease, transform .5s var(--douce); }
.menu-panneau a.menu-lien::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: -1px; height: 1px; background: linear-gradient(90deg, var(--sauge-200), rgba(194, 214, 218, 0)); transform: scaleX(0); transform-origin: left center; transition: transform .7s var(--douce); }
.menu-panneau a.menu-lien:hover::after, .menu-panneau a.menu-lien:focus-visible::after, .menu-panneau a.menu-lien[aria-current="page"]::after { transform: scaleX(1); }
.menu-panneau a.menu-lien:hover .menu-fleche, .menu-panneau a.menu-lien:focus-visible .menu-fleche { opacity: 1; transform: none; }
.menu-panneau a.menu-lien[aria-current="page"] { color: var(--sauge-200); }
.menu-cote { display: grid; gap: 18px; align-content: start; padding-top: 6px; }
.menu-bloc-secteurs { display: grid; gap: 12px; }
.menu-titre { margin: 6px 0 0; font-family: var(--ff-titre); font-size: var(--fs-surtitre); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--clair-doux); }
.menu-secteurs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.menu-panneau .menu-secteurs a { display: inline-flex; padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); font-family: var(--ff-titre); font-size: .82rem; font-weight: 500; color: var(--clair); text-decoration: none; transition: background-color .3s, border-color .3s, color .3s; }
.menu-panneau .menu-secteurs a:hover { background: #fff; border-color: #fff; color: var(--encre-800); }
.menu-contact, .menu-langues { list-style: none; display: grid; gap: 10px; }
.menu-panneau .menu-contact a, .menu-panneau .menu-langues a { display: inline-flex; align-items: center; gap: 12px; font-size: .98rem; font-weight: 400; color: var(--clair); text-decoration: none; }
.menu-panneau .menu-contact a:hover, .menu-panneau .menu-langues a:hover { color: #fff; }
.menu-langues { grid-auto-flow: column; justify-content: start; gap: 18px; }
.menu-panneau .menu-langues a[aria-current="true"] { color: #fff; font-weight: 500; }
.menu-panneau .menu-devis { justify-self: start; margin-top: 8px; font-size: .95rem; }
.menu-panneau a.menu-devis { color: #fff; }
.menu-panneau :focus-visible { outline-color: var(--sauge-200); }
@media (max-width: 760px) {
  .menu-panneau { left: 10px; right: 10px; width: auto; }
  .menu-bloc-secteurs { display: none; }   /* téléphone : le menu reste court (pages, langues, devis) */
  .menu-grille { grid-template-columns: 1fr; gap: 22px; }
  .menu-langues { grid-auto-flow: row; grid-template-columns: repeat(2, max-content); gap: 12px 26px; }
}

/* Menu ouvert alors que le bandeau cookies attend un choix : le bandeau passe sous le voile le temps
   du menu (sinon il couvrirait le bas du panneau sur téléphone), puis revient au premier plan. */
html.menu-ouvert .cookies { z-index: 870; }

/* ===== 30-intro.css ===== */
/* =====================================================================================
   Motion design d'ouverture (accueil, une fois par visite) : les brins de la vague arrivent de
   partout et se rassemblent, le nom apparaît, puis la vague rejoint le logo de l'en-tête pendant
   que l'écran se lève.
   Animation CSS (démarre dès l'affichage) ; main.js pilote la sortie. Sans script : l'écran
   s'efface seul. Jamais joué avec « réduire les animations » (head.js ne pose pas .intro).
   ===================================================================================== */
.intro { display: none; }
html.avec-intro { overflow: hidden; }
html.avec-intro .intro { display: block; position: fixed; inset: 0; z-index: 1500; animation: intro-secours .6s ease 4.6s forwards; }
html.avec-intro .intro.intro-pilote { animation: none; }
/* Une fois le script aux commandes, l'écran reste affiché jusqu'à ce qu'il le retire lui-même (fondu de sortie) */
.intro.intro-pilote { display: block; position: fixed; inset: 0; z-index: 1500; }
@keyframes intro-secours { to { opacity: 0; visibility: hidden; } }
html.avec-intro .entete-logo .logo-symbole { opacity: 0; }

.intro-fond { position: absolute; inset: 0; background: radial-gradient(110% 80% at 50% 42%, #ffffff 0%, var(--fond) 50%, #e9f0f1 100%); }
.intro-fond::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--sauge-300), transparent); opacity: .6; }
.intro-scene { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 22px; padding: 24px; }
/* La vague : chaque brin arrive d'un côté différent (haut, bas, gauche, droite), très ondulé et incliné,
   puis se calme et se range dans le faisceau, tout en continuant de couler (15-mouvements.css). */
.intro-symbole { width: auto; height: clamp(64px, 9vw, 104px); aspect-ratio: 5 / 2; overflow: visible; transform-origin: 0 0; }
.intro-symbole .vg-arrivee { transform-origin: 50px 28px; animation: intro-brin 1.55s var(--douce) both; }
.intro-symbole .vg-b1 { --vg-de: scale(1.3, 2.6); animation-delay: .04s; }
.intro-symbole .vg-b2 { --vg-de: translate(-58px, -36px) rotate(-18deg) scaleY(1.5); animation-delay: .12s; }
.intro-symbole .vg-b3 { --vg-de: translate(56px, 38px) rotate(14deg) scaleY(1.6); animation-delay: .2s; }
.intro-symbole .vg-b4 { --vg-de: translate(50px, -44px) rotate(26deg) scaleY(2); animation-delay: .28s; }
.intro-symbole .vg-b5 { --vg-de: translate(-54px, 42px) rotate(-22deg) scaleY(2.2); animation-delay: .34s; }
@keyframes intro-brin { from { opacity: 0; transform: var(--vg-de); } 35% { opacity: 1; } to { opacity: 1; transform: none; } }
.intro-symbole .vg-trait { transition: stroke-width 1.1s var(--rideau) .14s; }

.intro-nom { display: flex; margin: 0; padding-left: .34em; overflow: hidden; font-family: var(--ff-titre); font-weight: 600; font-size: clamp(1.2rem, 1rem + .9vw, 1.7rem); letter-spacing: .34em; line-height: 1.3; color: var(--encre-800); }
.intro-nom span { display: inline-block; animation: intro-lettre .9s var(--douce) both; }
.intro-nom span:nth-child(1) { animation-delay: .82s; }
.intro-nom span:nth-child(2) { animation-delay: .87s; }
.intro-nom span:nth-child(3) { animation-delay: .92s; }
.intro-nom span:nth-child(4) { animation-delay: .97s; }
.intro-nom span:nth-child(5) { animation-delay: 1.02s; }
.intro-nom span:nth-child(6) { animation-delay: 1.07s; }
.intro-nom span:nth-child(7) { animation-delay: 1.12s; }
@keyframes intro-lettre { from { transform: translateY(115%); } to { transform: none; } }
.intro-ligne { margin: 0; font-family: var(--ff-titre); font-size: .74rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--sauge-600); animation: intro-fondu .9s ease 1.3s both; }
.intro-ligne::before, .intro-ligne::after { content: "—"; margin-inline: 10px; color: var(--sauge-300); }
@keyframes intro-fondu { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.intro-passer { position: absolute; right: max(var(--bord), env(safe-area-inset-right)); bottom: max(var(--bord), env(safe-area-inset-bottom)); padding: 10px 16px; border-radius: 999px; border: 1px solid var(--ligne-forte); background: rgba(255, 255, 255, .72); font-family: var(--ff-titre); font-size: .8rem; font-weight: 500; color: var(--encre-700); animation: intro-fondu .6s ease .8s both; }
.intro-passer:hover { background: #fff; }

/* ===== 40-heros.css ===== */
/* =====================================================================================
   Hauts de page : film des rubans de verre + panneau en verre
   ===================================================================================== */
.fond-video { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--fond); }
.fond-affiche, .fond-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fond-film { opacity: 0; transition: opacity 1.4s ease; }
.fond-film.video-prete { opacity: 1; }

/* ----- Accueil ----- */
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto; gap: 28px; min-height: max(660px, 100svh); padding-top: calc(var(--entete-h) + 28px); padding-bottom: clamp(20px, 3vw, 34px); overflow: clip; }
.hero .fond-affiche, .hero .fond-film { object-position: 62% 50%; }
.hero-voile { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 70% at 18% 52%, rgba(252, 251, 252, .55) 0%, rgba(252, 251, 252, 0) 70%),
    linear-gradient(180deg, rgba(252, 251, 252, .85) 0%, rgba(252, 251, 252, 0) 22%, rgba(252, 251, 252, 0) 78%, var(--fond) 100%); }
.hero-contenu { align-self: center; }
.hero-panneau { max-width: 780px; padding: clamp(26px, 4vw, 54px); }
.hero-titre .h1-grand { font-size: var(--fs-hero); line-height: 1.06; }
.hero-intro { max-width: 52ch; margin: 22px 0 30px; font-size: var(--fs-lead); line-height: 1.55; color: var(--texte); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Arrivée : le panneau se déplie de gauche à droite, le titre est balayé, les piliers glissent
   depuis la droite (01-intro.js). Filet : tout s'affiche seul au bout de 3,5 s si le script n'a pas joué. */
.js .hero-panneau:not(.hero-visible) { clip-path: inset(0 100% 0 0 round 24px); animation: hero-secours .01s 3.5s forwards; }
.js .hero-bas:not(.hero-visible) { opacity: 0; animation: hero-secours-fondu .01s 3.5s forwards; }
.js .hero-titre [data-balaye="hero"].balaye-pret:not(.balaye-joue):not(.balaye-fini) > .balaye-texte { animation: hero-secours-titre .01s 4s forwards; }
@keyframes hero-secours { to { clip-path: inset(0 0 0 0 round 24px); } }
@keyframes hero-secours-fondu { to { opacity: 1; } }
@keyframes hero-secours-titre { to { clip-path: inset(-.3em -.1em -.3em -.1em); } }
.no-js .hero-panneau { clip-path: none; }
.no-js .hero-bas { opacity: 1; }

/* Piliers sous le titre */
.piliers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; padding: 8px; border-radius: 22px; }
.piliers li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; font-family: var(--ff-titre); font-size: .9rem; font-weight: 500; line-height: 1.25; color: var(--encre-700); }
.piliers li + li { border-left: 1px solid rgba(141, 165, 174, .28); }
.pilier-icone { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 14px; background: var(--degrade-verre); color: var(--encre-800); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 6px 14px -8px rgba(31, 46, 45, .45); }
.pilier-icone .icone { width: 20px; height: 20px; stroke-width: 1.7; }
@media (max-width: 1023px) {
  .piliers { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .piliers::-webkit-scrollbar { display: none; }
  .piliers li { flex: none; scroll-snap-align: start; }
}
/* Téléphone : panneau resserré et posé en bas de l'écran, pour laisser voir le film */
@media (max-width: 700px) {
  .hero { min-height: max(560px, 100svh); padding-top: calc(var(--entete-h) + 12px); gap: 14px; }
  .hero .fond-affiche, .hero .fond-film { object-position: 70% 50%; }
  .hero-contenu { align-self: end; }
  .hero-panneau { padding: 18px; border-radius: 20px; }
  .hero-titre { gap: 8px; }
  .hero-titre .h1-ligne { font-size: .62rem; letter-spacing: .12em; }
  .hero-titre .h1-grand { font-size: clamp(1.4rem, 1.08rem + 1.6vw, 1.7rem); line-height: 1.1; letter-spacing: -.025em; }
  .hero-intro { margin: 10px 0 14px; font-size: .94rem; line-height: 1.5; }
  .hero-actions { gap: 8px; }
  .hero-actions .btn { flex: 1 1 auto; min-height: 44px; padding-inline: 14px; font-size: .86rem; }
  .hero-actions .btn-fleche { display: none; }
  .piliers { padding: 6px; border-radius: 18px; }
  .piliers li { padding: 8px 12px; font-size: .84rem; gap: 10px; }
  .pilier-icone { width: 34px; height: 34px; border-radius: 11px; }
  .pilier-icone .icone { width: 17px; height: 17px; }
}

/* ----- Haut des autres pages ----- */
.page-hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(440px, 62vh, 660px); padding: calc(var(--entete-h) + clamp(40px, 6vw, 88px)) 0 clamp(44px, 5vw, 76px); overflow: clip; }
.page-hero .fond-affiche, .page-hero .fond-film { object-position: 70% 50%; }
.page-hero-voile { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(252, 251, 252, .97) 0%, rgba(252, 251, 252, .9) 46%, rgba(252, 251, 252, .35) 72%, rgba(252, 251, 252, 0) 100%),
    linear-gradient(0deg, var(--fond) 0%, rgba(252, 251, 252, 0) 34%); }
.page-hero-contenu { position: relative; display: grid; gap: 20px; justify-items: start; }
.page-hero-contenu .titre-page { max-width: min(100%, 1000px); }
.page-hero .h1-grand { max-width: 17ch; }
.page-hero-intro { max-width: 58ch; font-size: var(--fs-lead); line-height: 1.55; color: var(--texte); }
@media (max-width: 700px) {
  .page-hero { min-height: 0; padding-top: calc(var(--entete-h) + 40px); }
  .page-hero-voile { background: linear-gradient(180deg, rgba(252, 251, 252, .7) 0%, rgba(252, 251, 252, .9) 55%, var(--fond) 100%); }
}

/* Fil d'Ariane */
.fil ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; font-family: var(--ff-titre); font-size: .82rem; font-weight: 500; color: var(--texte-doux); }
.fil li + li::before { content: "/"; margin-right: 6px; color: var(--sauge-300); }
.fil a { color: var(--texte); text-decoration: none; }
.fil a:hover { color: var(--encre-700); text-decoration: underline; text-underline-offset: 3px; }
.fil [aria-current] { color: var(--encre-700); }

/* Écrans en hauteur (téléphones, tablettes) : le film est une version portrait recadrée à 70 % de la largeur ;
   l'image d'attente prend le même cadrage pour que le passage de l'une à l'autre ne bouge pas. */
@media (max-width: 900px) and (orientation: portrait) {
  .hero .fond-affiche, .hero .fond-film { object-position: 70% 50%; }
}

/* ===== 50-sections.css ===== */
/* =====================================================================================
   Sections de l'accueil (réutilisées sur les autres pages)
   ===================================================================================== */

/* ----- Chiffres clés ----- */
.chiffres { padding-block: clamp(28px, 3.5vw, 44px); border-bottom: 1px solid var(--ligne); }
.chiffres-liste { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; }
.chiffre { display: grid; gap: 4px; padding: 6px clamp(14px, 2.4vw, 32px); }
.chiffre + .chiffre { border-left: 1px solid var(--ligne); }
.chiffre-valeur { margin: 0; font-family: var(--ff-titre); font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.6rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--encre-700); }
.chiffre-valeur b { font-weight: inherit; background: linear-gradient(160deg, var(--encre-700) 30%, var(--sauge-500) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.chiffre-libelle { margin: 0; font-family: var(--ff-titre); font-size: .9rem; font-weight: 500; color: var(--texte); }
.chiffres-encadre { border-block: 1px solid var(--ligne); background: #fff; }
@media (max-width: 760px) {
  .chiffres-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .chiffre:nth-child(3) { border-left: 0; }
}

/* ----- Pourquoi nous choisir (onglets) ----- */
.pourquoi-onglets.onglets-liste { gap: 2px; padding: 5px; background: var(--sauge-50); border: 1px solid var(--ligne); }
.pourquoi-onglets.onglets-liste > a { min-height: 44px; padding: 10px 20px; font-family: var(--ff-titre); font-size: .92rem; font-weight: 500; color: var(--encre-700); }
.pourquoi-onglets.onglets-liste > a[aria-selected="true"] { color: #fff; }
.pourquoi-onglets .onglets-indicateur { top: 5px; bottom: 5px; background: var(--encre-700); box-shadow: 0 8px 18px -10px rgba(31, 46, 45, .8); }
.pourquoi .section-entete-texte { justify-items: end; }
@media (max-width: 900px) { .pourquoi .section-entete-texte { justify-items: start; max-width: 100%; } }
.pourquoi-panneau { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.pourquoi-image { margin: 0; overflow: hidden; border-radius: var(--r-panneau); box-shadow: var(--ombre-2); aspect-ratio: 3 / 2; }
.pourquoi-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--douce); }
.pourquoi-panneau:hover .pourquoi-image img { transform: scale(1.03); }
.pourquoi-texte { display: grid; gap: 18px; justify-items: start; font-size: 1.06rem; }
.pourquoi-texte > p:first-child { font-family: var(--ff-titre); font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); font-weight: 500; line-height: 1.4; color: var(--encre-700); letter-spacing: -.01em; }
.pourquoi-texte p { margin: 0; }
.valeur-mini { display: grid; gap: 8px; padding-left: 18px; border-left: 2px solid var(--sauge-200); }
.valeur-mini h3 { font-size: var(--fs-h3); }
.valeur-accroche { color: var(--encre-700); font-weight: 500; }
@media (max-width: 900px) {
  .pourquoi-panneau { grid-template-columns: 1fr; }
  /* Sur téléphone, seul l'onglet ouvert prend de la place (pas de vide sous un texte court) */
  .onglets-pret .onglets-panneaux > [inert] { display: none; }
}

/* ----- Deux pôles ----- */
.poles-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.pole { display: grid; grid-template-rows: auto auto 1fr auto auto; gap: 22px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-panneau); background: #fff; border: 1px solid var(--ligne); box-shadow: var(--ombre-1); transition: transform .5s var(--douce), box-shadow .5s var(--douce), border-color .4s; }
@media (hover: hover) { .pole:hover { transform: translateY(-4px); box-shadow: var(--ombre-2); border-color: var(--sauge-200); } }
.pole .btn { justify-self: start; }
.pole-tete { display: flex; align-items: center; gap: 16px; }
.pole-icone { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 18px; background: var(--degrade-verre); color: var(--encre-800); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 10px 20px -12px rgba(31, 46, 45, .5); }
.pole-icone .icone { width: 26px; height: 26px; stroke-width: 1.6; }
.pole-nom { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); }
.pole-question { margin: 0; font-weight: 500; color: var(--encre-700); }
.pole-points { list-style: none; display: grid; gap: 12px; }
.pole-points li { display: flex; gap: 12px; align-items: flex-start; }
.pole-points .puce-coche { margin-top: 3px; }
.pole-valeur { padding: 18px 20px; border-radius: 18px; background: var(--sauge-50); border: 1px solid rgba(95, 120, 124, .14); }
.pole-valeur-titre { margin: 0 0 10px; font-family: var(--ff-titre); font-size: var(--fs-surtitre); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sauge-700); }
.pole-valeur ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.pole-valeur li { padding: 7px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--ligne); font-family: var(--ff-titre); font-size: .84rem; font-weight: 500; color: var(--encre-700); }
@media (max-width: 900px) { .poles-grille { grid-template-columns: 1fr; } }

/* ----- Secteurs : défilement horizontal pendant qu'on descend ----- */
.secteurs-bande { position: relative; background: var(--encre-900); color: var(--clair); }
.secteurs-ecran { position: relative; display: flex; flex-direction: column; justify-content: center; gap: clamp(22px, 3vh, 36px); padding-block: clamp(64px, 9vh, 96px) clamp(32px, 5vh, 56px); overflow: hidden; isolation: isolate; }
.secteurs-bande.secteurs-epingle { height: var(--secteurs-hauteur, 300vh); }
.secteurs-bande.secteurs-epingle .secteurs-ecran { position: sticky; top: 0; height: 100vh; height: 100svh; padding-block: calc(var(--entete-h) * .6 + 16px) 28px; }
.secteurs-texture { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .09; filter: invert(1) grayscale(1) contrast(1.4); mix-blend-mode: screen; pointer-events: none; }
.secteurs-ecran::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 60% at 85% 0%, rgba(141, 165, 174, .22), transparent 60%), radial-gradient(60% 50% at 0% 100%, rgba(95, 120, 124, .25), transparent 60%); }
.secteurs-entete { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px 64px; align-items: end; }
.secteurs-texte { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; font-size: .95rem; line-height: 1.6; color: var(--clair-doux); }
.secteurs-texte p { margin: 0; }
.secteurs-texte .btn { grid-column: 1 / -1; justify-self: start; }
.secteurs-piste-cadre { position: relative; }
.secteurs-piste { display: flex; gap: clamp(14px, 1.4vw, 20px); width: max-content; list-style: none; padding-inline: max(var(--gouttiere), calc((100vw - var(--conteneur)) / 2)); will-change: transform; }
.secteur-carte { flex: none; width: clamp(240px, 22vw, 330px); }
.secteur-carte a { position: relative; display: block; aspect-ratio: 3 / 4; max-height: min(52vh, 440px); border-radius: 22px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; background: var(--encre-800); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.secteurs-epingle .secteur-carte a { height: min(52vh, 440px); aspect-ratio: auto; }
.secteur-carte img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--douce), filter .6s; }
.secteur-carte a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(26, 39, 38, .1) 0%, rgba(26, 39, 38, 0) 40%, rgba(26, 39, 38, .88) 100%); transition: opacity .5s; }
.secteur-num { position: absolute; top: 16px; left: 16px; padding: 5px 10px; border-radius: 999px; background: rgba(26, 39, 38, .38); border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-family: var(--ff-titre); font-size: .74rem; font-weight: 600; letter-spacing: .12em; line-height: 1; color: #fff; }
.secteur-nom { position: absolute; left: 20px; right: 64px; bottom: 20px; font-family: var(--ff-titre); font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
.secteur-fleche { position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .35s, color .35s, transform .45s var(--douce); }
.secteur-fleche .icone { width: 18px; height: 18px; }
@media (hover: hover) {
  .secteur-carte a:hover img { transform: scale(1.06); }
  .secteur-carte a:hover .secteur-fleche { background: #fff; color: var(--encre-800); transform: rotate(45deg); }
}
.secteurs-suivi { display: flex; align-items: center; gap: 18px; font-family: var(--ff-titre); font-size: .85rem; font-weight: 500; color: var(--clair-doux); }
.secteurs-barre { position: relative; flex: 1; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.secteurs-barre span { position: absolute; inset: 0; background: var(--degrade-verre); transform-origin: left center; transform: scaleX(var(--secteurs-p, .06)); }
.secteurs-compteur b { color: #fff; font-weight: 600; }
/* Défilement libre (téléphone, tablette, « réduire les animations ») : on fait glisser au doigt */
.secteurs-libre .secteurs-piste-cadre { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.secteurs-libre .secteurs-piste-cadre::-webkit-scrollbar { display: none; }
.secteurs-libre .secteur-carte { scroll-snap-align: center; }
.no-js .secteurs-piste-cadre { overflow-x: auto; }
@media (max-width: 1023px) {
  .secteurs-entete, .secteurs-texte { grid-template-columns: 1fr; }
  .secteur-carte { width: min(76vw, 320px); }
}

/* ----- Accompagnement : quatre étapes reliées par une ligne qui se dessine ----- */
.processus { position: relative; --p: 0; }
.processus-ligne { position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; border-radius: 2px; background: var(--ligne-forte); overflow: hidden; }
.processus-ligne span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--sauge-600), var(--sauge-300)); transform-origin: left center; transform: scaleX(var(--p)); }
.processus-liste { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); list-style: none; }
.processus-etape { display: grid; gap: 12px; align-content: start; }
.processus-point { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--fond); border: 2px solid var(--ligne-forte); font-family: var(--ff-titre); font-size: .85rem; font-weight: 600; color: var(--texte); transition: background-color .45s, border-color .45s, color .45s, box-shadow .45s; }
.section-brume .processus-point { background: #f2f7f7; }
.processus-etape.etape-active .processus-point, .processus-fini .processus-point, .no-js .processus-point { background: var(--encre-700); border-color: var(--encre-700); color: #fff; box-shadow: 0 0 0 6px rgba(95, 120, 124, .14); }
.processus-icone { display: grid; place-items: center; width: 44px; height: 44px; margin-top: 10px; border-radius: 14px; background: var(--sauge-50); color: var(--sauge-600); border: 1px solid rgba(95, 120, 124, .15); }
.processus-icone .icone { width: 22px; height: 22px; }
.processus-etape h3 { font-size: var(--fs-h3); }
.processus-etape p { margin: 0; }
.processus-fini .processus-ligne span, .no-js .processus-ligne span { transform: none; }
@media (max-width: 900px) {
  .processus-ligne { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; }
  .processus-ligne span { transform-origin: center top; transform: scaleY(var(--p)); }
  .processus-fini .processus-ligne span { transform: none; }
  .processus-liste { grid-template-columns: 1fr; gap: 28px; }
  .processus-etape { grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; }
  .processus-etape > :not(.processus-point) { grid-column: 2; }
  .processus-point { grid-row: 1 / span 3; }
  .processus-icone { margin-top: 0; }
}

/* ----- Offres ----- */
.offres-grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); list-style: none; }
.offre { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 300px; padding: 26px; border-radius: 24px; background: #fff; border: 1px solid var(--ligne); box-shadow: var(--ombre-1); overflow: hidden; transition: transform .5s var(--douce), box-shadow .5s var(--douce), border-color .4s; }
@media (hover: hover) { .offre:hover { transform: translateY(-6px); box-shadow: var(--ombre-2); border-color: var(--sauge-200); } }
.offre-haut { display: flex; align-items: center; justify-content: space-between; font-family: var(--ff-titre); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-doux); }
.offre-num { color: var(--sauge-600); }
.offre-nom { margin-top: auto; font-size: clamp(1.5rem, 1.25rem + .9vw, 2rem); letter-spacing: -.03em; }
.offre-texte { margin: 0; color: var(--texte); }
.offre-lien { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; padding: 14px 16px; border-radius: 14px; background: var(--sauge-50); font-family: var(--ff-titre); font-size: .9rem; font-weight: 500; color: var(--encre-700); text-decoration: none; transition: background-color .3s, color .3s; }
.offre-lien::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.offre:hover .offre-lien { background: var(--encre-700); color: #fff; }
.offre:hover .offre-lien .btn-fleche { transform: translateX(3px); }
.offre-premium { background: linear-gradient(160deg, #2a3a3a 0%, var(--encre-900) 70%); border-color: rgba(255, 255, 255, .08); color: var(--clair); }
.offre-premium::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; height: 70%; background: radial-gradient(circle, rgba(194, 214, 218, .35), transparent 65%); pointer-events: none; }
.offre-premium .offre-haut { color: var(--clair-doux); }
.offre-premium .offre-num { color: var(--sauge-200); }
.offre-premium .offre-nom { color: #fff; }
.offre-premium .offre-texte { color: var(--clair-doux); }
.offre-premium .offre-lien { background: rgba(255, 255, 255, .1); color: #fff; }
.offre-premium:hover .offre-lien { background: #fff; color: var(--encre-800); }
@media (max-width: 1100px) { .offres-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .offres-grille { grid-template-columns: 1fr; } .offre { min-height: 0; } .offre-nom { margin-top: 18px; } }

/* ----- Bloc final « Parlons-en » ----- */
.cta-cadre { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding: clamp(28px, 5vw, 64px); border-radius: 32px; background: linear-gradient(140deg, #ffffff 0%, var(--sauge-50) 100%); border: 1px solid var(--ligne); box-shadow: var(--ombre-2); overflow: hidden; }
.cta-texture { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; opacity: .55; pointer-events: none; }
.cta-cadre::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .8) 50%, rgba(255, 255, 255, .45) 100%); }
.cta-texte { display: grid; gap: 14px; justify-items: start; }
.cta-sous-titre { margin: 0; font-family: var(--ff-titre); font-size: var(--fs-lead); font-weight: 500; color: var(--sauge-700); }
.coordonnees { list-style: none; display: grid; gap: 10px; margin-top: 10px; }
.coordonnees a { display: inline-flex; align-items: center; gap: 14px; color: var(--encre-700); text-decoration: none; font-family: var(--ff-titre); font-weight: 500; }
.coordonnees small { display: block; font-family: var(--ff-texte); font-size: .78rem; font-weight: 400; color: var(--texte-doux); }
.coord-icone { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: #fff; border: 1px solid var(--ligne); color: var(--sauge-600); transition: background-color .3s, color .3s; }
.coord-icone .icone { width: 19px; height: 19px; }
.coordonnees a:hover .coord-icone { background: var(--encre-700); color: #fff; }
.cta-cartes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cta-carte { position: relative; display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: 22px; background: rgba(255, 255, 255, .82); border: 1px solid rgba(255, 255, 255, .95); box-shadow: inset 0 1px 0 #fff, var(--ombre-1); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); color: var(--texte); text-decoration: none; transition: transform .5s var(--douce), box-shadow .5s var(--douce); }
@media (hover: hover) { .cta-carte:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 #fff, var(--ombre-2); } }
.cta-carte-icone { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 6px; border-radius: 16px; background: var(--sauge-50); color: var(--sauge-600); }
.cta-carte-icone .icone { width: 23px; height: 23px; }
.cta-carte-titre { font-family: var(--ff-titre); font-size: 1.2rem; font-weight: 600; color: var(--encre-700); letter-spacing: -.01em; }
.cta-carte-texte { font-size: .95rem; line-height: 1.55; }
.cta-carte-lien { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-family: var(--ff-titre); font-size: .92rem; font-weight: 500; color: var(--sauge-600); }
.cta-carte:hover .btn-fleche { transform: translateX(3px); }
.cta-carte-devis { background: linear-gradient(160deg, #2c3b3b 0%, var(--encre-900) 80%); border-color: rgba(255, 255, 255, .08); color: var(--clair-doux); }
.cta-carte-devis .cta-carte-titre { color: #fff; }
.cta-carte-devis .cta-carte-icone { background: var(--degrade-verre); color: var(--encre-800); }
.cta-carte-devis .cta-carte-lien { color: var(--sauge-200); }
@media (max-width: 1000px) { .cta-cadre { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cta-cartes { grid-template-columns: 1fr; } .cta-cadre { border-radius: 24px; } }

/* ===== 60-pages.css ===== */
/* =====================================================================================
   Pages intérieures
   ===================================================================================== */

/* ----- À propos ----- */
.apropos-grille { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: 24px 72px; align-items: start; }
.apropos-droite { display: grid; gap: 20px; }
.apropos-droite > p:not(.grand-texte) { max-width: 66ch; }
.apropos-gauche { position: sticky; top: calc(var(--entete-h) + 32px); }
@media (max-width: 900px) { .apropos-grille { grid-template-columns: 1fr; } .apropos-gauche { position: static; } }

.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.duo-inverse .duo-image { order: 2; }
.duo-image { margin: 0; }
.duo-image { position: relative; overflow: hidden; height: clamp(300px, 38vw, 520px); border-radius: var(--r-panneau); box-shadow: var(--ombre-2); }
.duo-image > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.duo-texte { display: grid; gap: 18px; justify-items: start; }
.duo-texte p { margin: 0; max-width: 60ch; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } .duo-inverse .duo-image { order: 0; } }

.valeurs-grille { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.valeurs-image { margin: 0; border-radius: var(--r-panneau); overflow: hidden; box-shadow: var(--ombre-2); }
.valeurs-image img { width: 100%; height: 100%; object-fit: cover; }
.valeurs-liste { list-style: none; display: grid; gap: 14px; }
.valeur-carte { display: grid; gap: 10px; padding: 24px 26px; border-radius: 22px; background: #fff; border: 1px solid var(--ligne); box-shadow: var(--ombre-1); }
.valeur-carte p { margin: 0; }
.valeur-carte p:first-of-type { color: var(--encre-700); font-weight: 500; }
.valeur-tete { display: flex; align-items: center; justify-content: space-between; }
.valeur-icone { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: var(--degrade-verre); color: var(--encre-800); }
.valeur-icone .icone { width: 22px; height: 22px; }
.valeur-num { font-family: var(--ff-titre); font-size: .8rem; font-weight: 600; letter-spacing: .14em; color: var(--sauge-700); }
.valeur-carte h3 { font-size: var(--fs-h3); }
@media (max-width: 900px) { .valeurs-grille { grid-template-columns: 1fr; } .valeurs-image { aspect-ratio: 16 / 10; } }

/* ----- Nos services ----- */
.service-grille { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, .95fr); gap: clamp(16px, 2vw, 28px); align-items: start; }
.service-cartes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; list-style: none; }
.service-carte { display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--ligne); box-shadow: var(--ombre-1); transition: transform .5s var(--douce), box-shadow .5s var(--douce), border-color .4s; }
@media (hover: hover) { .service-carte:hover { transform: translateY(-4px); box-shadow: var(--ombre-2); border-color: var(--sauge-200); } }
.service-num { font-family: var(--ff-titre); font-size: .8rem; font-weight: 600; letter-spacing: .14em; color: var(--sauge-700); }
.service-carte h3 { font-size: var(--fs-h3); }
.service-carte p { margin: 0; }
.service-carte .lien-fleche { margin-top: 6px; }
.valeur-boite { position: sticky; top: calc(var(--entete-h) + 24px); display: grid; gap: 16px; justify-items: start; padding: 30px; border-radius: 26px; background: linear-gradient(160deg, #2c3b3b 0%, var(--encre-900) 80%); color: var(--clair-doux); box-shadow: var(--ombre-3); overflow: hidden; isolation: isolate; }
.valeur-boite::before { content: ""; position: absolute; inset: -30% -30% auto auto; z-index: -1; width: 80%; height: 70%; background: radial-gradient(circle, rgba(194, 214, 218, .3), transparent 65%); }
.valeur-boite h3 { color: #fff; font-size: 1.5rem; }
.valeur-boite-icone { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 17px; background: var(--degrade-verre); color: var(--encre-800); }
.valeur-boite-icone .icone { width: 25px; height: 25px; }
.valeur-boite ul { list-style: none; display: grid; gap: 12px; width: 100%; margin-bottom: 8px; }
.valeur-boite li { display: flex; align-items: center; gap: 12px; color: var(--clair); font-family: var(--ff-titre); font-weight: 500; }
.valeur-boite .puce-coche { background: rgba(255, 255, 255, .1); color: var(--sauge-200); box-shadow: none; }
.valeur-boite .btn { width: 100%; white-space: normal; text-align: center; }
.valeur-boite .btn-verre { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: #fff; }
.valeur-boite .btn-verre:hover { background: #fff; color: var(--encre-800); }
@media (max-width: 1023px) { .service-grille { grid-template-columns: 1fr; } .valeur-boite { position: relative; top: auto; } }
@media (max-width: 600px) { .service-cartes { grid-template-columns: 1fr; } }

/* ----- Secteurs d'activité ----- */
.secteurs-page-intro { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 20px 48px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.secteurs-page-intro .lead { margin: 0; max-width: 70ch; }
.secteurs-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); list-style: none; }
.secteur-tuile { position: relative; isolation: isolate; border-radius: 24px; overflow: hidden; background: var(--encre-800); aspect-ratio: 4 / 3; box-shadow: var(--ombre-1); scroll-margin-top: calc(var(--entete-h) + 24px); }
.secteur-tuile figure { position: absolute; inset: 0; z-index: -2; margin: 0; }
.secteur-tuile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--douce); }
.secteur-tuile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(26, 39, 38, .05) 0%, rgba(26, 39, 38, 0) 35%, rgba(26, 39, 38, .9) 100%); }
.secteur-tuile-texte { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 22px; color: #fff; }
.secteur-tuile .secteur-num { top: 16px; left: 16px; }
.secteur-tuile h2 { color: #fff; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); letter-spacing: -.015em; }
.secteur-actions { display: flex; gap: 8px; }
.secteur-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff; font-family: var(--ff-titre); font-size: .86rem; font-weight: 500; text-decoration: none; transition: background-color .3s, color .3s; }
.secteur-action:hover { background: #fff; color: var(--encre-800); }
.secteur-tuile:target { box-shadow: 0 0 0 3px var(--sauge-400), var(--ombre-2); }
@media (hover: hover) { .secteur-tuile:hover img { transform: scale(1.06); } }
@media (max-width: 1023px) { .secteurs-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .secteurs-grille { grid-template-columns: 1fr; } .secteurs-page-intro { grid-template-columns: 1fr; } }

/* ----- Contact ----- */
.contact-grille { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.contact-infos { display: grid; gap: 12px; }
.info-carte { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--ligne); box-shadow: var(--ombre-1); color: var(--encre-700); text-decoration: none; transition: transform .45s var(--douce), box-shadow .45s var(--douce), border-color .3s; }
a.info-carte:hover { transform: translateY(-3px); box-shadow: var(--ombre-2); border-color: var(--sauge-200); }
.info-icone { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 15px; background: var(--degrade-verre); color: var(--encre-800); }
.info-icone .icone { width: 21px; height: 21px; }
.info-texte { display: grid; gap: 2px; min-width: 0; }
.info-texte small { font-size: .8rem; color: var(--texte-doux); }
.info-texte b { font-family: var(--ff-titre); font-weight: 600; font-size: 1.02rem; overflow-wrap: anywhere; }
.info-fleche { margin-left: auto; width: 18px; height: 18px; color: var(--sauge-500); transition: transform .4s var(--douce); }
a.info-carte:hover .info-fleche { transform: rotate(45deg); }
.info-devis { display: grid; gap: 14px; justify-items: start; padding: 26px; border-radius: 22px; background: linear-gradient(160deg, #2c3b3b 0%, var(--encre-900) 80%); color: var(--clair-doux); }
.info-devis p { margin: 0; color: var(--clair); }
@media (max-width: 1000px) { .contact-grille { grid-template-columns: 1fr; } }

/* ----- Demande de devis ----- */
.devis-grille { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, .8fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.devis-aside { position: sticky; top: calc(var(--entete-h) + 24px); }
.devis-aside-boite { display: grid; gap: 14px; padding: 28px; border-radius: 24px; }
.devis-aside-titre { margin: 0; font-family: var(--ff-titre); font-size: 1.3rem; font-weight: 600; color: var(--encre-700); letter-spacing: -.01em; }
.devis-aside-boite > p { margin: 0; }
.coordonnees-compactes { margin-top: 0; }
.devis-aside-note { display: flex; gap: 10px; align-items: flex-start; padding-top: 14px; border-top: 1px solid var(--ligne); font-size: .88rem; color: var(--texte); }
.devis-aside-note .icone { margin-top: 3px; color: var(--sauge-600); }
.devis-aside-note a { color: var(--encre-700); }
@media (max-width: 1000px) { .devis-grille { grid-template-columns: 1fr; } .devis-aside { position: relative; top: auto; } }

/* ----- Page 404 ----- */
.liens-404 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; list-style: none; }
.liens-404 a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--ligne); box-shadow: var(--ombre-1); font-family: var(--ff-titre); font-weight: 500; color: var(--encre-700); text-decoration: none; transition: transform .45s var(--douce), box-shadow .45s var(--douce); }
.liens-404 a:hover { transform: translateY(-3px); box-shadow: var(--ombre-2); }

/* Page 404 (commune à toutes les langues) : accès direct aux accueils traduits */
.langues-404-titre { margin: 32px 0 12px; font-size: .9rem; color: var(--texte-doux); }
.langues-404 { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.langues-404 a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--ligne); font-family: var(--ff-titre); font-weight: 500; color: var(--encre-700); text-decoration: none; transition: background-color .3s var(--douce); }
.langues-404 a:hover { background: var(--sauge-50); }

/* ===== 70-formulaires.css ===== */
/* =====================================================================================
   Formulaires (contact et devis) : étiquettes flottantes, validation, étapes
   ===================================================================================== */
.formulaire-carte { padding: clamp(24px, 3.5vw, 44px); border-radius: var(--r-panneau); background: #fff; border: 1px solid var(--ligne); box-shadow: var(--ombre-2); }
.formulaire-titre { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); margin-bottom: 6px; }
.formulaire-note { margin: 0 0 24px; font-size: .85rem; color: var(--texte-doux); }
.formulaire-note span { color: var(--sauge-600); }
.formulaire { --devis-champ-fond: #fff; --flottante-fond: #fbfcfc; --devis-surface: #fff; --choix-surface: #fff; display: grid; gap: 20px; }
.formulaire .devis-champs { gap: 14px; }
.devis-champ-large { grid-column: 1 / -1; }
.facultatif { font-size: .85em; color: var(--texte-doux); }
.flottante > :is(input, textarea, select) { border-radius: var(--r-champ); border-color: rgba(31, 46, 45, .16); }
.flottante > :is(input, textarea, select):focus { background-color: #fff; }
.flottante > label { color: var(--texte-doux); }
.flottante > :required + label::after { color: var(--sauge-600); }
.flottante-aide { color: var(--texte-doux); }
.devis-champ .flottante > :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { min-height: 3.6rem; padding: 1.5rem 1rem .45rem; }
.devis-champ .flottante > textarea { min-height: 9rem; padding-top: 1.8rem; }

/* Case de consentement */
.case-consentement { display: flex; align-items: flex-start; gap: 12px; font-size: .9rem; line-height: 1.5; color: var(--texte); cursor: pointer; }
.case-consentement input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--sauge-600); cursor: pointer; }
.case-consentement a { color: var(--encre-700); }

/* Champ piège (invisible pour les visiteurs, rempli par les robots) */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Vérification anti-robots */
.captcha-zone { display: grid; gap: 8px; justify-items: start; }
.captcha-zone:not(.captcha-active) .h-captcha:empty { display: none; }
.captcha-note { margin: 0; font-size: .82rem; color: var(--texte-doux); }
.captcha-active .captcha-note { display: none; }

/* Messages d'état (succès ou vraie erreur) */
.formulaire-statut { margin: 0; padding: 14px 16px; border-radius: var(--r-champ); font-size: .95rem; font-weight: 500; line-height: 1.5; }
.formulaire-statut:empty { display: none; }
.formulaire-statut.statut-succes { background: #e8f4ee; color: #1f5c41; border: 1px solid #bfe0cf; }
.formulaire-statut.statut-erreur { background: #fbeceb; color: #8c1d18; border: 1px solid #f0c9c6; }
.formulaire-envoi { display: flex; justify-content: flex-start; }
.formulaire-envoi .btn, .devis-nav .btn { min-width: 220px; }
.formulaire.envoye > :not(.formulaire-statut) { display: none; }

/* Bouton d'envoi à états (recette GYESS) aux couleurs du site */
[data-bouton-etats] { --etats-succes: var(--succes); --etats-erreur: var(--erreur); }
.formulaire [data-bouton-etats].btn, .devis-retour, .devis-suivant { border-radius: var(--r-btn); }
.devis-champ > label.case-consentement { font-size: .9rem; font-weight: 400; }

/* Devis en étapes */
.devis-carte { padding-top: clamp(24px, 3vw, 36px); }
[data-devis-etapes] { --devis-repere: 2.25rem; }
.devis-progression { padding-bottom: 6px; }
.devis-repere-num { font-family: var(--ff-titre); }
.devis-repere-nom { font-family: var(--ff-titre); font-weight: 500; }
.devis-etape > legend, .devis-recap-titre { font-family: var(--ff-titre); font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); font-weight: 600; color: var(--encre-700); letter-spacing: -.015em; margin-bottom: 8px; }
.devis-retour, .devis-suivant { min-height: 50px; border-radius: var(--r-btn); font-family: var(--ff-titre); font-weight: 500; }
.devis-suivant { background: var(--sauge-600); border-color: var(--sauge-600); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 10px 24px -12px rgba(31, 46, 45, .7); }
.devis-suivant:hover { background: var(--sauge-700); border-color: var(--sauge-700); }
.devis-nav { padding-top: 6px; border-top: 1px solid var(--ligne); margin-top: 6px; padding-top: 22px; }
.devis-recap-groupe { border-radius: 18px; background: #fbfcfc; }
.devis-modifier { color: var(--sauge-600); }
.choix-carte { border-radius: 18px; }
.choix-titre { font-family: var(--ff-titre); font-weight: 600; color: var(--encre-700); }
.choix-icone { background: var(--sauge-50); color: var(--sauge-600); }
.choix > legend { font-family: var(--ff-titre); font-weight: 600; color: var(--encre-700); }
.choix-compact .choix-titre { font-weight: 500; font-size: .95rem; }
.devis-envoi { margin-left: auto; }

/* Bandeau cookies aux couleurs du site */
.cookies-boite { border-radius: 22px; box-shadow: var(--ombre-3), 0 0 0 1px var(--ligne); }
.cookies-titre { font-family: var(--ff-titre); font-weight: 600; color: var(--encre-700); }
.cookies-bouton { border-radius: var(--r-btn); font-family: var(--ff-titre); font-weight: 500; border-color: var(--encre-700); background: var(--encre-700); }

/* Contrastes AA des petits textes gris des recettes (≥ 4,5:1 sur fond blanc) */
.cookies-texte, .cookies-categorie small { color: var(--texte); opacity: 1; }
.devis-etat, .devis-repere-nom, .devis-recap-groupe dt { color: var(--texte-doux); }
.choix-texte { color: var(--texte); }   /* lisible aussi sur une carte cochée (6:1) */
.devis-reperes [aria-current] .devis-repere-nom, .devis-fait .devis-repere-nom { color: var(--encre-700); }
.devis-vide { color: var(--texte-doux); }
.devis-repere-num { color: var(--texte-doux); }
.devis-erreur { color: var(--erreur); }
.caracteres { color: var(--texte-doux); }
.caracteres-alerte { color: var(--erreur); }

/* Étape « Votre besoin » validée sans choix : le message prend toute la largeur, les cartes passent en erreur */
.choix > .devis-erreur { grid-column: 1 / -1; }
.choix:has([aria-invalid="true"]) .choix-carte { border-color: var(--erreur); box-shadow: 0 0 0 1px var(--erreur); }

/* ===== 80-pied.css ===== */
/* =====================================================================================
   Pied de page
   ===================================================================================== */
.pied { position: relative; isolation: isolate; overflow: clip; padding-top: clamp(56px, 6vw, 88px); background: var(--encre-900); color: var(--clair-doux); }
.pied::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 100% 0%, rgba(141, 165, 174, .16), transparent 60%), radial-gradient(50% 50% at 0% 100%, rgba(95, 120, 124, .18), transparent 60%); }
.pied-grille { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.pied-marque { display: grid; gap: 18px; justify-items: start; align-content: start; }
.pied-marque p { margin: 0; max-width: 36ch; color: var(--clair-doux); }
.pied .logo-symbole { height: 32px; --vague-1: var(--verre-clair); --vague-2: var(--sauge-200); --vague-3: var(--sauge-400); --vague-4: var(--verre-clair); --vague-5: var(--sauge-400); }
.pied .logo-nom { color: #fff; }
.pied-titre { margin: 0 0 16px; font-family: var(--ff-titre); font-size: var(--fs-surtitre); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sauge-300); }
.pied-titre-2 { margin-top: 28px; }
.pied-col ul { list-style: none; display: grid; gap: 10px; }
.pied-col a, .pied-bouton { color: var(--clair); text-decoration: none; font-size: .95rem; transition: color .25s; }
.pied-col a:hover, .pied-bouton:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.pied-bouton { padding: 0; border: 0; background: none; font-family: inherit; text-align: left; }
.pied-secteurs { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.pied-secteurs a { font-size: .9rem; }
.pied-contact a, .pied-lieu { display: inline-flex; align-items: center; gap: 10px; color: var(--clair); }
.pied-contact .icone { width: 17px; height: 17px; color: var(--sauge-300); }
.pied-bas { margin-top: clamp(36px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 22px calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.pied-bas p { margin: 0; }
.pied-signature a { color: #fff; font-weight: 500; text-decoration: none; }
.pied-signature a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1000px) { .pied-grille { grid-template-columns: 1fr 1fr; } .pied-marque { grid-column: 1 / -1; } }
@media (max-width: 560px) { .pied-grille { grid-template-columns: 1fr; } .pied-secteurs { grid-template-columns: 1fr 1fr; } }

/* ===== 90-legal.css ===== */
/* =====================================================================================
   Pages légales (texte long, lisible)
   ===================================================================================== */
.legal { padding-top: clamp(32px, 4vw, 56px); }
.legal-cadre { max-width: 900px; }
.prose { padding: clamp(24px, 4vw, 52px); border-radius: var(--r-panneau); background: #fff; border: 1px solid var(--ligne); box-shadow: var(--ombre-1); }
.prose h2 { margin: 36px 0 12px; font-size: clamp(1.25rem, 1.12rem + .5vw, 1.55rem); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { max-width: 72ch; }
.prose ul { display: grid; gap: 8px; margin: 0 0 1em; padding-left: 1.2em; }
.prose li::marker { color: var(--sauge-500); }
.prose a { color: var(--encre-700); text-underline-offset: 3px; }
.prose strong { color: var(--encre-700); font-weight: 500; }
.prose .lead { margin-bottom: 28px; }
.prose .maj { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--ligne); font-size: .88rem; color: var(--texte-doux); }
.lien-bouton { padding: 0; border: 0; background: none; color: var(--encre-700); text-decoration: underline; text-underline-offset: 3px; font: inherit; }

/* Versions anglaise, allemande et turque des pages légales : renvoi vers le texte français, qui fait foi */
.prose .note-langue { max-width: none; margin: 0 0 28px; padding: 14px 18px; border-radius: 14px; background: var(--sauge-50); border: 1px solid var(--ligne); font-size: .92rem; color: var(--texte); }
