/* ============================================================
   TRAME — Feuille de style principale
   Direction artistique : "schéma technique habité"
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root{
  /* couleurs de marque */
  --bleu-profond:#173F5F;
  --bleu:#2F80ED;
  --bleu-fonce:#1B63C4;
  --turquoise:#2FB8A3;
  --turquoise-fonce:#177A6C;
  --jaune:#F2C94C;
  --orange:#F2994A;
  --orange-fonce:#A85A14;
  --blanc-casse:#F7F9F8;
  --encre:#202B33;

  /* dérivés */
  --surface:#FFFFFF;
  --surface-2:#F1F5F4;
  --surface-bleu:#EEF4FA;
  --surface-turquoise:#E9F6F3;
  --surface-ambre:#FDF4E0;
  --texte:#202B33;
  --texte-doux:#5A6B76;
  --texte-clair:#5E6D76;
  --trait:#DCE4E6;
  --trait-fort:#C3D0D4;

  /* typographie */
  --titre:'Manrope','Segoe UI',system-ui,-apple-system,sans-serif;
  --corps:'Inter','Segoe UI',system-ui,-apple-system,sans-serif;

  /* mesures */
  --largeur:1180px;
  --gouttiere:24px;
  --r-s:6px;
  --r-m:10px;
  --r-l:16px;
  --entete:74px;

  /* ombres : discrètes, jamais le même flou partout */
  --ombre-carte:0 1px 2px rgba(23,63,95,.05);
  --ombre-relief:0 10px 30px -12px rgba(23,63,95,.22);
  --ombre-menu:0 24px 48px -20px rgba(23,63,95,.28);

  color-scheme:light;
}

/* ---------- 2. BASE ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:calc(var(--entete) + 20px)}
body{
  margin:0;
  background:var(--blanc-casse);
  color:var(--texte);
  font-family:var(--corps);
  font-size:17px;
  line-height:1.62;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img,svg{max-width:100%;height:auto}
a{color:var(--bleu-fonce);text-decoration:none}
a:hover{text-decoration:underline}
button{font:inherit;color:inherit}
h1,h2,h3,h4{font-family:var(--titre);color:var(--bleu-profond);margin:0 0 .5em;letter-spacing:-.022em;line-height:1.14;font-weight:800}
h1{font-size:clamp(2.1rem,4.6vw,3.35rem)}
h2{font-size:clamp(1.65rem,3vw,2.3rem)}
h3{font-size:clamp(1.15rem,1.7vw,1.35rem);font-weight:700;line-height:1.3}
h4{font-size:1.02rem;font-weight:700;line-height:1.35}
p{margin:0 0 1.05em;max-width:72ch}
ul{margin:0 0 1.1em;padding-left:1.1em}
li{margin-bottom:.35em}
strong{font-weight:650;color:var(--bleu-profond)}
::selection{background:var(--jaune);color:var(--encre)}

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

.saut-contenu{
  position:absolute;left:12px;top:-60px;z-index:200;
  background:var(--bleu-profond);color:#fff;padding:10px 16px;border-radius:var(--r-s);
  transition:top .15s;
}
.saut-contenu:focus{top:12px}

/* ---------- 3. GRILLE ---------- */
.conteneur{width:100%;max-width:var(--largeur);margin-inline:auto;padding-inline:var(--gouttiere)}
.conteneur--etroit{max-width:880px}

.section{padding-block:clamp(52px,7vw,88px)}
.section--serre{padding-block:clamp(38px,5vw,58px)}
.section--teinte{background:var(--surface-2)}
.section--bleue{background:var(--surface-bleu)}
.section--sombre{background:var(--bleu-profond);color:#DCE7EF}
.section--sombre h2,.section--sombre h3,.section--sombre h4{color:#fff}
.section--sombre p{color:#C5D6E2}
.section--sombre a{color:#9FD6FF}

.entete-section{max-width:62ch;margin-bottom:clamp(28px,3.5vw,44px)}
.entete-section p{color:var(--texte-doux);font-size:1.06rem;margin-bottom:0}
.etiquette{
  display:inline-flex;align-items:center;gap:8px;
  font-family:var(--titre);font-size:.85rem;font-weight:700;color:var(--turquoise-fonce);
  margin-bottom:12px;
}
.etiquette::before{
  content:"";width:22px;height:2px;background:var(--turquoise);border-radius:2px;flex:none;
}
.etiquette--bleu{color:var(--bleu-fonce)}
.etiquette--bleu::before{background:var(--bleu)}
.etiquette--ambre{color:var(--orange-fonce)}
.etiquette--ambre::before{background:var(--orange)}
.section--sombre .etiquette{color:var(--jaune)}
.section--sombre .etiquette::before{background:var(--jaune)}

/* ---------- 4. BOUTONS ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  font-family:var(--titre);font-weight:700;font-size:1rem;line-height:1;
  padding:15px 24px;border-radius:var(--r-s);border:1.5px solid transparent;
  cursor:pointer;text-decoration:none;transition:background-color .18s,border-color .18s,color .18s,transform .18s;
  min-height:50px;
}
.btn:hover{text-decoration:none}
.btn--principal{background:var(--orange);color:var(--encre);border-color:var(--orange)}
.btn--principal:hover{background:var(--jaune);border-color:var(--jaune)}
.btn--secondaire{background:transparent;color:var(--bleu-profond);border-color:var(--trait-fort)}
.btn--secondaire:hover{border-color:var(--bleu-profond);background:rgba(23,63,95,.05)}
.btn--bleu{background:var(--bleu-profond);color:#fff;border-color:var(--bleu-profond)}
.btn--bleu:hover{background:#0F2E47}
.btn--clair{background:#fff;color:var(--bleu-profond);border-color:#fff}
.btn--clair:hover{background:var(--surface-2)}
.btn--fantome{background:transparent;color:#fff;border-color:rgba(255,255,255,.45);padding:14px 22px}
.btn--fantome:hover{border-color:#fff;background:rgba(255,255,255,.1)}
.btn--petit{padding:10px 16px;min-height:42px;font-size:.92rem}
.groupe-btn{display:flex;flex-wrap:wrap;gap:12px}

/* lien fléché discret */
.lien-suite{
  display:inline-flex;align-items:center;gap:7px;
  font-family:var(--titre);font-weight:700;font-size:.95rem;color:var(--bleu-fonce);
}
.lien-suite svg{transition:transform .18s}
.lien-suite:hover{text-decoration:none}
.lien-suite:hover svg{transform:translateX(4px)}

/* ---------- 5. EN-TÊTE / NAVIGATION ---------- */
.entete{
  position:sticky;top:0;z-index:100;
  background:rgba(247,249,248,.92);
  backdrop-filter:saturate(180%) blur(12px);
  border-bottom:1px solid var(--trait);
  padding-top:env(safe-area-inset-top,0px);
}
.entete__interieur{
  display:flex;align-items:center;gap:20px;
  height:var(--entete);
  max-width:var(--largeur);margin-inline:auto;padding-inline:var(--gouttiere);
}
.logo{display:flex;align-items:center;gap:11px;flex:none}
.logo:hover{text-decoration:none}
.logo__mot{font-family:var(--titre);font-weight:800;font-size:1.32rem;letter-spacing:.01em;color:var(--bleu-profond);line-height:1}
.logo__sous{display:block;font-family:var(--corps);font-size:.66rem;font-weight:500;color:var(--texte-clair);letter-spacing:.04em;margin-top:3px;line-height:1}

.nav{display:flex;align-items:center;gap:2px;margin-left:auto}
.nav__lien{
  font-family:var(--titre);font-weight:650;font-size:.94rem;color:var(--bleu-profond);
  padding:9px 12px;border-radius:var(--r-s);background:none;border:0;cursor:pointer;
  display:inline-flex;align-items:center;gap:5px;white-space:nowrap;
}
.nav__lien:hover{background:rgba(23,63,95,.07);text-decoration:none}
.nav__item{position:relative}
.nav__item--actif > .nav__lien{
  box-shadow:inset 0 -3px 0 var(--turquoise);
}
.nav__chevron{width:10px;height:10px;transition:transform .18s;flex:none}
.nav__item.est-ouvert .nav__chevron{transform:rotate(180deg)}
.entete .btn{flex:none}

/* méga-menu */
.megamenu{
  position:absolute;top:calc(100% + 10px);left:50%;transform:translateX(-50%) translateY(-6px);
  width:max-content;max-width:min(640px,88vw);
  background:var(--surface);border:1px solid var(--trait);border-radius:var(--r-m);
  box-shadow:var(--ombre-menu);
  padding:12px;
  opacity:0;visibility:hidden;transition:opacity .16s,transform .16s,visibility .16s;
  display:grid;grid-template-columns:repeat(2,minmax(240px,1fr));gap:2px;
}
.nav__item.est-ouvert .megamenu{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
.megamenu__lien{display:block;padding:11px 13px;border-radius:var(--r-s);color:var(--bleu-profond)}
.megamenu__lien:hover{background:var(--surface-bleu);text-decoration:none}
.megamenu__titre{font-family:var(--titre);font-weight:700;font-size:.95rem;display:block}
.megamenu__desc{font-size:.84rem;color:var(--texte-doux);line-height:1.45;display:block;margin-top:2px}
.megamenu__tout{grid-column:1/-1;border-top:1px solid var(--trait);margin-top:6px;padding-top:10px}

/* bouton burger */
.burger{
  display:none;width:46px;height:46px;border:1px solid var(--trait-fort);background:var(--surface);
  border-radius:var(--r-s);cursor:pointer;margin-left:auto;
  align-items:center;justify-content:center;flex:none;
}
.burger span{display:block;width:20px;height:2px;background:var(--bleu-profond);position:relative;border-radius:2px;transition:.2s}
.burger span::before,.burger span::after{content:"";position:absolute;left:0;width:20px;height:2px;background:var(--bleu-profond);border-radius:2px;transition:.2s}
.burger span::before{top:-6px}
.burger span::after{top:6px}
.est-menu-ouvert .burger span{background:transparent}
.est-menu-ouvert .burger span::before{top:0;transform:rotate(45deg)}
.est-menu-ouvert .burger span::after{top:0;transform:rotate(-45deg)}

/* panneau mobile */
.panneau-mobile{
  position:absolute;top:100%;left:0;right:0;z-index:99;
  background:var(--blanc-casse);border-bottom:1px solid var(--trait);
  box-shadow:var(--ombre-menu);
  max-height:calc(100dvh - var(--entete));overflow-y:auto;
  padding:14px var(--gouttiere) 40px;display:none;
}
.est-menu-ouvert .panneau-mobile{display:block}
.pm__groupe{border-bottom:1px solid var(--trait)}
.pm__tete{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;
  background:none;border:0;padding:16px 2px;cursor:pointer;
  font-family:var(--titre);font-weight:700;font-size:1.06rem;color:var(--bleu-profond);text-align:left;
}
.pm__tete svg{width:12px;height:12px;transition:transform .2s;flex:none}
.pm__groupe.est-ouvert .pm__tete svg{transform:rotate(180deg)}
.pm__corps{display:none;padding:0 2px 14px}
.pm__groupe.est-ouvert .pm__corps{display:block}
.pm__lien{display:block;padding:10px 12px;border-left:2px solid var(--trait);color:var(--texte-doux);font-weight:500}
.pm__lien:hover{border-left-color:var(--turquoise);color:var(--bleu-profond);text-decoration:none}
.panneau-mobile .btn{width:100%;margin-top:22px}

/* ---------- 6. FIL D'ARIANE ---------- */
.ariane{background:var(--surface);border-bottom:1px solid var(--trait)}
.ariane ol{display:flex;flex-wrap:wrap;align-items:center;gap:8px;list-style:none;margin:0;padding:13px 0;font-size:.86rem}
.ariane li{margin:0;color:var(--texte-clair);display:flex;align-items:center;gap:8px}
.ariane li:not(:last-child)::after{content:"/";color:var(--trait-fort)}
.ariane a{color:var(--texte-doux)}
.ariane a:hover{color:var(--bleu-fonce)}
.ariane [aria-current]{color:var(--bleu-profond);font-weight:600}

/* ---------- 7. HERO ---------- */
.hero{
  position:relative;overflow:hidden;
  background:
    linear-gradient(180deg,#FFFFFF 0%,var(--blanc-casse) 100%);
  border-bottom:1px solid var(--trait);
}
.hero::before{
  /* trame technique très discrète, référence au plan d'architecte */
  content:"";position:absolute;inset:0;
  background-image:linear-gradient(var(--trait) 1px,transparent 1px),linear-gradient(90deg,var(--trait) 1px,transparent 1px);
  background-size:52px 52px;opacity:.5;
  -webkit-mask-image:radial-gradient(ellipse 75% 60% at 72% 40%,#000 10%,transparent 72%);
  mask-image:radial-gradient(ellipse 75% 60% at 72% 40%,#000 10%,transparent 72%);
  pointer-events:none;
}
.hero__grille{
  position:relative;display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,1fr);
  gap:clamp(28px,4vw,56px);align-items:center;
  padding-block:clamp(44px,6vw,76px);
}
.hero h1{margin-bottom:.42em;max-width:14ch}
.hero__accroche{font-size:clamp(1.03rem,1.5vw,1.16rem);color:var(--texte-doux);max-width:52ch;margin-bottom:1.6em}
.hero__zone{
  display:flex;align-items:center;gap:9px;margin-top:26px;
  font-size:.89rem;color:var(--texte-doux);
}
.hero__zone svg{width:16px;height:16px;color:var(--turquoise-fonce);flex:none}
.hero__visuel{position:relative}

/* bandeau de rappel sous le hero */
.bandeau-points{background:var(--bleu-profond);color:#fff}
.bandeau-points ul{
  display:flex;flex-wrap:wrap;gap:8px 34px;list-style:none;margin:0;padding:15px 0;
  font-family:var(--titre);font-size:.9rem;font-weight:600;
}
.bandeau-points li{display:flex;align-items:center;gap:9px;margin:0;color:#D6E4EE}
.bandeau-points li::before{content:"";width:7px;height:7px;border-radius:2px;background:var(--turquoise);flex:none}
.bandeau-points li:nth-child(2)::before{background:var(--jaune)}
.bandeau-points li:nth-child(3)::before{background:var(--orange)}
.bandeau-points li:nth-child(4)::before{background:#7FB2E8}

/* ---------- 8. PAGE-TITRE (pages internes) ---------- */
.page-tete{background:var(--surface);border-bottom:1px solid var(--trait);position:relative;overflow:hidden}
.page-tete__in{padding-block:clamp(34px,5vw,58px);position:relative}
.page-tete h1{max-width:20ch;margin-bottom:.35em}
.page-tete .lede{font-size:1.1rem;color:var(--texte-doux);max-width:62ch;margin-bottom:0}
.page-tete--bleue{background:var(--bleu-profond)}
.page-tete--bleue h1{color:#fff}
.page-tete--bleue .lede{color:#BFD6E5}
.page-tete__actions{margin-top:26px}

/* ---------- 9. CARTES ---------- */
.grille{display:grid;gap:18px}
.grille--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grille--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grille--4{grid-template-columns:repeat(4,minmax(0,1fr))}

.carte{
  position:relative;background:var(--surface);border:1px solid var(--trait);border-radius:var(--r-m);
  padding:24px 22px;box-shadow:var(--ombre-carte);
  display:flex;flex-direction:column;
}
.carte h3{margin-bottom:.4em}
.carte p{color:var(--texte-doux);font-size:.96rem;margin-bottom:0}
.carte__icone{
  width:44px;height:44px;border-radius:var(--r-s);display:grid;place-items:center;
  font-size:21px;margin-bottom:16px;background:var(--surface-turquoise);line-height:1;
}
.carte--lien{transition:border-color .18s,box-shadow .18s,transform .18s;color:inherit}
a.carte--lien:hover{text-decoration:none;border-color:var(--trait-fort);box-shadow:var(--ombre-relief);transform:translateY(-3px)}
.carte__suite{margin-top:auto;padding-top:16px;font-family:var(--titre);font-weight:700;font-size:.9rem;color:var(--bleu-fonce);display:inline-flex;align-items:center;gap:7px}
.carte__suite svg{transition:transform .18s}
a.carte--lien:hover .carte__suite svg{transform:translateX(4px)}

/* variantes de teinte des icônes */
.i-bleu{background:var(--surface-bleu)}
.i-turquoise{background:var(--surface-turquoise)}
.i-ambre{background:var(--surface-ambre)}
.i-gris{background:var(--surface-2)}

/* carte "profil de logement" : plus grande, avec bandeau coloré */
.profils{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.profil{
  display:flex;flex-direction:column;background:var(--surface);
  border:1px solid var(--trait);border-radius:var(--r-m);overflow:hidden;
  transition:box-shadow .18s,transform .18s;color:inherit;
}
.profil:hover{text-decoration:none;box-shadow:var(--ombre-relief);transform:translateY(-3px)}
.profil__haut{padding:22px 20px 18px;border-top:4px solid var(--turquoise)}
.profil:nth-child(2) .profil__haut{border-top-color:var(--bleu)}
.profil:nth-child(3) .profil__haut{border-top-color:var(--jaune)}
.profil:nth-child(4) .profil__haut{border-top-color:var(--orange)}
.profil__emoji{font-size:26px;line-height:1;display:block;margin-bottom:12px}
.profil h3{font-size:1.1rem;margin-bottom:.35em}
.profil p{font-size:.93rem;color:var(--texte-doux);margin:0}
.profil__bas{margin-top:auto;padding:14px 20px;border-top:1px solid var(--trait);background:var(--surface-2);
  font-family:var(--titre);font-weight:700;font-size:.88rem;color:var(--bleu-fonce);
  display:flex;align-items:center;justify-content:space-between;gap:10px}

/* ---------- 10. ÉTAPES (schéma de câblage) ---------- */
.etapes{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0}
.etape{position:relative;padding:0 18px 0 0;margin:0}
.etape::before{
  content:"";position:absolute;left:0;top:17px;right:0;height:2px;background:var(--trait);
}
.etape:last-child::before{background:linear-gradient(90deg,var(--trait) 40%,transparent)}
.etape__pastille{
  position:relative;z-index:1;width:36px;height:36px;border-radius:50%;
  background:var(--surface);border:2px solid var(--turquoise);
  display:grid;place-items:center;font-family:var(--titre);font-weight:800;font-size:.85rem;color:var(--bleu-profond);
  margin-bottom:16px;
}
.etape:nth-child(2) .etape__pastille{border-color:var(--bleu)}
.etape:nth-child(3) .etape__pastille{border-color:var(--bleu)}
.etape:nth-child(4) .etape__pastille{border-color:var(--jaune)}
.etape:nth-child(5) .etape__pastille{border-color:var(--orange)}
.etape h3{font-size:1.02rem;margin-bottom:.35em}
.etape p{font-size:.93rem;color:var(--texte-doux);margin:0;max-width:30ch}

/* ---------- 11. BLOC SPLIT (texte + visuel) ---------- */
.split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(28px,4.5vw,64px);align-items:center}
.split--inverse .split__texte{order:2}
.split__texte h2{margin-bottom:.5em}
.split__texte p{color:var(--texte-doux)}
.section--sombre .split__texte p{color:#C5D6E2}

/* liste à puces "contrôle" */
.liste-check{list-style:none;padding:0;margin:0 0 1.2em}
.liste-check li{position:relative;padding-left:30px;margin-bottom:11px;color:var(--texte-doux);font-size:.97rem}
.liste-check li::before{
  content:"";position:absolute;left:0;top:7px;width:16px;height:16px;border-radius:4px;
  background:var(--surface-turquoise);border:1.5px solid var(--turquoise);
}
.liste-check li::after{
  content:"";position:absolute;left:5px;top:11px;width:5px;height:9px;
  border:solid var(--turquoise-fonce);border-width:0 2px 2px 0;transform:rotate(43deg);
}
.section--sombre .liste-check li{color:#C5D6E2}
.section--sombre .liste-check li::before{background:rgba(47,184,163,.16);border-color:var(--turquoise)}

/* colonnes de listes */
.colonnes-2{columns:2;column-gap:38px}
.colonnes-2 > *{break-inside:avoid}

/* ---------- 12. CHAÎNE "une seule logique" ---------- */
.chaine{display:grid;gap:12px;max-width:560px}
.chaine__maillon{
  background:var(--surface);border:1px solid var(--trait);border-left:4px solid var(--turquoise);
  border-radius:var(--r-s);padding:14px 18px;
}
.chaine__maillon strong{display:block;font-family:var(--titre);font-size:1rem}
.chaine__maillon span{font-size:.9rem;color:var(--texte-doux)}
.chaine__maillon--coeur{border-left-color:var(--bleu);background:var(--surface-bleu)}
.chaine__maillon--sortie{border-left-color:var(--orange)}
.chaine__fleche{display:grid;place-items:center;color:var(--trait-fort);height:14px}
.chaine__fleche svg{width:16px;height:14px}
.section--sombre .chaine__maillon{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.14);border-left-color:var(--turquoise)}
.section--sombre .chaine__maillon span{color:#B9CCD9}
.section--sombre .chaine__maillon--coeur{background:rgba(47,128,237,.18);border-left-color:#7FB2E8}
.section--sombre .chaine__maillon--sortie{border-left-color:var(--orange)}
.section--sombre .chaine__fleche{color:rgba(255,255,255,.3)}

/* ---------- 13. TARIFS ---------- */
.offres{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:stretch}
.offre{
  display:flex;flex-direction:column;background:var(--surface);
  border:1px solid var(--trait);border-radius:var(--r-m);padding:26px 22px;
}
.offre--vedette{border-color:var(--bleu-profond);box-shadow:var(--ombre-relief)}
.offre__badge{
  align-self:flex-start;font-family:var(--titre);font-size:.74rem;font-weight:700;
  background:var(--jaune);color:var(--encre);padding:4px 9px;border-radius:99px;margin-bottom:12px;
}
.offre h3{margin-bottom:.2em}
.offre__cible{font-size:.88rem;color:var(--texte-clair);margin-bottom:18px}
.offre__prix{font-family:var(--titre);font-weight:800;font-size:1.65rem;color:var(--bleu-profond);line-height:1.1}
.offre__prix small{display:block;font-size:.78rem;font-weight:500;color:var(--texte-clair);font-family:var(--corps);margin-bottom:4px}
.offre__note{font-size:.78rem;color:var(--texte-clair);margin:8px 0 18px}
.offre ul{list-style:none;padding:0;margin:0 0 22px}
.offre li{position:relative;padding-left:22px;font-size:.93rem;color:var(--texte-doux);margin-bottom:9px}
.offre li::before{content:"";position:absolute;left:0;top:9px;width:9px;height:9px;border-radius:2px;background:var(--turquoise)}
.offre .btn{margin-top:auto;width:100%}
.avis-tarifs{
  border:1px dashed var(--trait-fort);background:var(--surface-ambre);border-radius:var(--r-s);
  padding:16px 18px;font-size:.92rem;color:#6B5426;margin-top:24px;
}
.avis-tarifs strong{color:#6B5426}

/* ---------- 14. ACCORDÉON FAQ ---------- */
.faq{border-top:1px solid var(--trait);max-width:880px}
.faq__item{border-bottom:1px solid var(--trait)}
.faq__q{
  width:100%;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;
  background:none;border:0;padding:20px 2px;cursor:pointer;text-align:left;
  font-family:var(--titre);font-weight:700;font-size:1.03rem;color:var(--bleu-profond);line-height:1.4;
}
.faq__q:hover{color:var(--bleu-fonce)}
.faq__signe{flex:none;width:22px;height:22px;position:relative;margin-top:3px}
.faq__signe::before,.faq__signe::after{
  content:"";position:absolute;background:var(--turquoise-fonce);border-radius:2px;transition:transform .22s;
}
.faq__signe::before{left:0;top:10px;width:22px;height:2px}
.faq__signe::after{left:10px;top:0;width:2px;height:22px}
.faq__item.est-ouvert .faq__signe::after{transform:scaleY(0)}
.faq__r{display:none;padding:0 46px 22px 2px}
.faq__item.est-ouvert .faq__r{display:block}
.faq__r p{color:var(--texte-doux);font-size:.98rem;margin-bottom:.7em}
.faq__r p:last-child{margin-bottom:0}

/* ---------- 15. RÉALISATIONS ---------- */
.filtres{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:28px}
.filtre{
  background:var(--surface);border:1px solid var(--trait);border-radius:99px;
  padding:9px 17px;cursor:pointer;font-family:var(--titre);font-weight:650;font-size:.9rem;color:var(--texte-doux);
  transition:.16s;
}
.filtre:hover{border-color:var(--trait-fort);color:var(--bleu-profond)}
.filtre[aria-pressed="true"]{background:var(--bleu-profond);border-color:var(--bleu-profond);color:#fff}

.projet{
  background:var(--surface);border:1px solid var(--trait);border-radius:var(--r-m);overflow:hidden;
  display:flex;flex-direction:column;
}
.projet__media{position:relative;aspect-ratio:16/10;background:var(--surface-2);overflow:hidden}
.projet__media svg{width:100%;height:100%;display:block}
.tampon-demo{
  position:absolute;top:12px;left:12px;z-index:2;
  background:rgba(32,43,51,.9);color:#fff;font-family:var(--titre);font-weight:700;
  font-size:.7rem;letter-spacing:.06em;padding:6px 10px;border-radius:4px;
}
.projet__corps{padding:22px;display:flex;flex-direction:column;flex:1}
.projet__meta{font-size:.84rem;color:var(--texte-clair);margin-bottom:8px;display:flex;gap:8px;flex-wrap:wrap}
.projet h3{margin-bottom:.4em}
.projet p{font-size:.95rem;color:var(--texte-doux)}
.puces{display:flex;flex-wrap:wrap;gap:7px;margin-top:auto;padding-top:14px}
.puce{
  font-size:.78rem;background:var(--surface-2);color:var(--texte-doux);
  border:1px solid var(--trait);border-radius:99px;padding:4px 11px;
}

/* ---------- 16. PLACEHOLDER PHOTO ---------- */
.photo-vide{
  border:1px dashed var(--trait-fort);background:
    repeating-linear-gradient(135deg,var(--surface-2) 0 10px,#EAEFEE 10px 20px);
  border-radius:var(--r-m);aspect-ratio:4/3;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  text-align:center;padding:24px;color:var(--texte-clair);
}
.photo-vide strong{font-family:var(--titre);font-size:.8rem;letter-spacing:.05em;color:var(--texte-doux)}
.photo-vide span{font-size:.85rem;max-width:30ch}
.photo-vide svg{width:30px;height:30px;opacity:.45}

/* jeton "à renseigner" */
.jeton-vide{
  display:inline-block;background:var(--surface-ambre);border:1px dashed #E0B85C;color:#8A6A1E;
  font-family:var(--titre);font-size:.82rem;font-weight:700;padding:2px 8px;border-radius:4px;
}

/* ---------- 17. DÉMO MAISON ---------- */
.demo{
  display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);
  gap:clamp(22px,3vw,42px);align-items:stretch;
}
.demo__scene{
  background:var(--surface);border:1px solid var(--trait);border-radius:var(--r-l);
  padding:14px;overflow:hidden;
}
.demo__panneau{display:flex;flex-direction:column}
.demo__onglets{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.demo__onglet{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--surface);border:1px solid var(--trait);border-radius:99px;
  padding:10px 16px;cursor:pointer;font-family:var(--titre);font-weight:650;font-size:.92rem;
  color:var(--bleu-profond);transition:.16s;
}
.demo__onglet:hover{border-color:var(--trait-fort)}
.demo__onglet[aria-selected="true"]{background:var(--bleu-profond);border-color:var(--bleu-profond);color:#fff}
.demo__texte{
  background:var(--surface);border:1px solid var(--trait);border-left:4px solid var(--jaune);
  border-radius:var(--r-m);padding:22px;flex:1;
}
.demo__heure{
  font-family:var(--titre);font-weight:800;font-size:.85rem;color:var(--orange-fonce);
  display:flex;align-items:center;gap:8px;margin-bottom:10px;
}
.demo__heure::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--orange)}
.demo__texte h3{margin-bottom:.45em}
.demo__texte p{font-size:.97rem;color:var(--texte-doux);margin-bottom:0}
.demo__astuce{font-size:.83rem;color:var(--texte-clair);margin-top:16px;padding-top:14px;border-top:1px solid var(--trait)}

/* états animés de la scène SVG */
#scene-demo .volet{transform-origin:center top;transition:transform 1.1s cubic-bezier(.4,0,.2,1)}
#scene-demo .vitre{transition:fill 700ms ease}
#scene-demo .halo{opacity:0;transition:opacity 700ms ease}
#scene-demo .marqueur{opacity:0;transition:opacity 350ms ease,transform 350ms ease;transform:translateY(6px)}
#scene-demo .marqueur.visible{opacity:1;transform:translateY(0)}
#scene-demo .barre-conso{transition:height 800ms cubic-bezier(.4,0,.2,1),y 800ms cubic-bezier(.4,0,.2,1),fill 500ms}
#scene-demo .portail{transition:transform 1s cubic-bezier(.4,0,.2,1);transform-origin:left center}
@media (prefers-reduced-motion:reduce){
  #scene-demo *{transition-duration:1ms !important}
  html{scroll-behavior:auto}
}

/* ---------- 18. FORMULAIRE ---------- */
.formulaire{background:var(--surface);border:1px solid var(--trait);border-radius:var(--r-l);padding:clamp(22px,3vw,36px)}
.champ-groupe{margin-bottom:28px}
.champ-groupe > legend,.champ-titre{
  font-family:var(--titre);font-weight:700;font-size:1.08rem;color:var(--bleu-profond);
  margin-bottom:6px;padding:0;display:block;
}
.champ-aide{font-size:.87rem;color:var(--texte-clair);margin:0 0 14px}
fieldset{border:0;padding:0;margin:0 0 28px}

.choix-pilules{display:flex;flex-wrap:wrap;gap:9px}
.pilule{position:relative}
.pilule input{position:absolute;opacity:0;width:100%;height:100%;left:0;top:0;cursor:pointer;margin:0}
.pilule span{
  display:block;border:1px solid var(--trait);background:var(--surface-2);border-radius:99px;
  padding:11px 18px;font-family:var(--titre);font-weight:650;font-size:.93rem;color:var(--bleu-profond);
  cursor:pointer;transition:.16s;
}
.pilule:hover span{border-color:var(--trait-fort)}
.pilule input:checked + span{background:var(--bleu-profond);border-color:var(--bleu-profond);color:#fff}
.pilule input:focus-visible + span{outline:3px solid var(--bleu);outline-offset:3px}

.choix-cases{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.case{position:relative}
.case input{position:absolute;opacity:0;width:100%;height:100%;left:0;top:0;cursor:pointer;margin:0}
.case span{
  display:flex;align-items:center;gap:10px;border:1px solid var(--trait);background:var(--surface);
  border-radius:var(--r-s);padding:12px 14px;font-size:.94rem;cursor:pointer;transition:.16s;
}
.case span::before{
  content:"";width:18px;height:18px;border-radius:4px;border:1.5px solid var(--trait-fort);
  background:var(--surface);flex:none;transition:.16s;
}
.case input:checked + span{border-color:var(--turquoise);background:var(--surface-turquoise)}
.case input:checked + span::before{background:var(--turquoise);border-color:var(--turquoise);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3.2L13 5'/%3E%3C/svg%3E");
  background-size:14px;background-position:center;background-repeat:no-repeat}
.case input:focus-visible + span{outline:3px solid var(--bleu);outline-offset:3px}

.champs-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.champ{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}
.champ label{font-size:.9rem;font-weight:600;color:var(--bleu-profond)}
.champ label .opt{font-weight:400;color:var(--texte-clair)}
.champ input,.champ textarea,.champ select{
  font:inherit;font-size:.97rem;padding:13px 14px;border:1px solid var(--trait-fort);border-radius:var(--r-s);
  background:var(--surface);color:var(--texte);width:100%;transition:border-color .16s,box-shadow .16s;
}
.champ input:focus,.champ textarea:focus{outline:0;border-color:var(--bleu);box-shadow:0 0 0 3px rgba(47,128,237,.18)}
.champ textarea{min-height:130px;resize:vertical}
.champ--erreur input,.champ--erreur textarea{border-color:#C4462F}
.msg-erreur{font-size:.85rem;color:#C4462F;display:none}
.champ--erreur .msg-erreur{display:block}
.rgpd{display:flex;gap:11px;align-items:flex-start;font-size:.85rem;color:var(--texte-doux);margin-bottom:22px}
.rgpd input{margin-top:4px;flex:none;width:17px;height:17px;accent-color:var(--turquoise)}
.form-succes{
  display:none;background:var(--surface-turquoise);border:1px solid var(--turquoise);
  border-radius:var(--r-m);padding:26px;
}
.form-succes.visible{display:block}
.form-succes h3{margin-bottom:.4em}
.form-succes p{margin-bottom:0;color:var(--texte-doux)}

/* ---------- 19. BANDEAU CTA ---------- */
.bande-cta{
  background:var(--bleu-profond);border-radius:var(--r-l);padding:clamp(30px,4vw,48px);
  display:grid;grid-template-columns:minmax(0,1.5fr) auto;gap:28px;align-items:center;
  position:relative;overflow:hidden;
}
.bande-cta::after{
  content:"";position:absolute;right:-70px;top:-70px;width:260px;height:260px;border-radius:50%;
  background:rgba(47,184,163,.16);
}
.bande-cta > *{position:relative;z-index:1}
.bande-cta h2{color:#fff;margin-bottom:.4em;font-size:clamp(1.45rem,2.4vw,1.95rem)}
.bande-cta p{color:#BFD6E5;margin-bottom:0;max-width:56ch}
.bande-cta--ambre{background:var(--jaune)}
.bande-cta--ambre h2{color:var(--encre)}
.bande-cta--ambre p{color:#5C4A16}
.bande-cta--ambre::after{background:rgba(255,255,255,.3)}

/* ---------- 20. PIED DE PAGE ---------- */
.pied{background:var(--encre);color:#A9B8C1;padding-top:clamp(44px,5vw,66px);font-size:.93rem}
.pied a{color:#C6D3DA}
.pied a:hover{color:#fff}
.pied__grille{display:grid;grid-template-columns:1.5fr repeat(4,1fr);gap:32px;padding-bottom:40px}
.pied h4{color:#fff;font-size:.93rem;margin-bottom:14px;font-family:var(--titre);font-weight:700}
.pied ul{list-style:none;padding:0;margin:0}
.pied li{margin-bottom:9px}
.pied__marque .logo__mot{color:#fff}
.pied__marque p{font-size:.9rem;color:#8FA1AC;max-width:34ch;margin-top:16px}
.pied__bas{
  border-top:1px solid rgba(255,255,255,.12);padding:20px 0 calc(24px + env(safe-area-inset-bottom,0px));
  display:flex;flex-wrap:wrap;gap:10px 24px;justify-content:space-between;font-size:.84rem;color:#7E8F9A;
}
.pied__bas ul{display:flex;flex-wrap:wrap;gap:10px 20px}
.pied__bas li{margin:0}

/* ---------- 21. APPARITION AU SCROLL (discret) ---------- */
.js .reveal{opacity:0;transform:translateY(14px)}
.reveal.vu{opacity:1;transform:none;transition:opacity .5s ease,transform .5s ease}
@media (prefers-reduced-motion:reduce){
  .js .reveal{opacity:1;transform:none}
}

/* ---------- 22. DIVERS ---------- */
.encart{
  background:var(--surface-bleu);border-left:4px solid var(--bleu);border-radius:var(--r-s);
  padding:20px 22px;
}
.encart p:last-child{margin-bottom:0}
.encart--turquoise{background:var(--surface-turquoise);border-left-color:var(--turquoise)}
.encart--ambre{background:var(--surface-ambre);border-left-color:var(--orange)}
.section--sombre .encart{background:rgba(255,255,255,.07);border-left-color:var(--jaune)}

.zones{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0}
.zones li{margin:0}
.zones span{
  display:inline-block;background:var(--surface);border:1px solid var(--trait);border-radius:99px;
  padding:7px 15px;font-size:.9rem;color:var(--texte-doux);
}
.section--sombre .zones span{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.16);color:#C5D6E2}

.retour{display:inline-flex;align-items:center;gap:8px;font-family:var(--titre);font-weight:650;font-size:.92rem;color:var(--texte-doux);margin-bottom:22px}
.retour svg{width:14px;height:14px}
.retour:hover{color:var(--bleu-fonce);text-decoration:none}

.mini-nav{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px}
.mini-nav a{
  background:var(--surface);border:1px solid var(--trait);border-radius:99px;padding:8px 15px;
  font-size:.89rem;font-family:var(--titre);font-weight:650;color:var(--bleu-profond);
}
.mini-nav a:hover{border-color:var(--trait-fort);text-decoration:none;background:var(--surface-2)}
.mini-nav a[aria-current="page"]{background:var(--bleu-profond);border-color:var(--bleu-profond);color:#fff}

.tableau-simple{width:100%;border-collapse:collapse;font-size:.94rem}
.tableau-simple th,.tableau-simple td{text-align:left;padding:13px 14px;border-bottom:1px solid var(--trait)}
.tableau-simple th{font-family:var(--titre);color:var(--bleu-profond);font-size:.88rem}
.tableau-simple td{color:var(--texte-doux)}
.bloc-defilant{overflow-x:auto}

/* ---------- 23. RESPONSIVE ---------- */
@media (max-width:1080px){
  .grille--4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .profils{grid-template-columns:repeat(2,minmax(0,1fr))}
  .offres{grid-template-columns:repeat(2,minmax(0,1fr))}
  .etapes{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 18px}
  .etape::before{display:none}
  .pied__grille{grid-template-columns:repeat(3,1fr)}
  .pied__marque{grid-column:1/-1}
}
@media (max-width:1180px){
  .nav,.entete .btn--principal{display:none}
  .burger{display:flex}
  .hero__grille{grid-template-columns:1fr;gap:34px}
  .hero h1{max-width:18ch}
  .hero__visuel{order:-1}
  .split{grid-template-columns:1fr;gap:30px}
  .split--inverse .split__texte{order:0}
  .demo{grid-template-columns:1fr}
  .bande-cta{grid-template-columns:1fr}
  .choix-cases{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:720px){
  body{font-size:16px}
  :root{--gouttiere:18px}
  .grille--3,.grille--4,.grille--2{grid-template-columns:1fr}
  .profils{grid-template-columns:1fr}
  .offres{grid-template-columns:1fr}
  .etapes{grid-template-columns:1fr;gap:22px}
  .colonnes-2{columns:1}
  .champs-2{grid-template-columns:1fr}
  .choix-cases{grid-template-columns:1fr}
  .pied__grille{grid-template-columns:repeat(2,1fr);gap:26px}
  .bandeau-points ul{gap:6px 20px;font-size:.84rem}
  .groupe-btn .btn{width:100%}
  .faq__r{padding-right:6px}
  .demo__onglet{flex:1 1 calc(50% - 8px);justify-content:center}
}

/* ---------- 24. ÉTATS DE LA SCÈNE SVG ---------- */
#scene-demo .volet,#scene-hero .volet{transform-box:fill-box;transform-origin:top center;transform:scaleY(0)}
#scene-demo.mode-volets .volet{transform:scaleY(1)}
#scene-demo.mode-lumiere .halo{opacity:1}
#scene-demo.mode-lumiere .vitre{fill:#F3D992}
#scene-demo.mode-volets .vitre{fill:#E8D9A8}
#scene-demo.mode-energie .pv-panneau{fill:#2F80ED}
#scene-demo.mode-securite .vitre{fill:#B9CEDC}
#scene-demo svg,.hero__visuel svg{display:block;width:100%;height:auto}
.split__visuel > figure,.split__visuel svg{width:100%}
.demo__scene svg{border-radius:10px}


/* ---------- 25. FORMULAIRE : ENVOI RÉEL ---------- */
.btn[disabled]{opacity:.62;cursor:progress}
#form-erreur{
  display:none;margin:14px 0 0;padding:13px 15px;
  background:var(--rouge-fond,#FBEEEB);border-left:4px solid #C4462F;border-radius:var(--r-s);
  color:#8A3323;font-size:.9rem;
}
#form-erreur a{color:#8A3323;font-weight:600}
@media (max-width:420px){
  .logo__mot{font-size:1.14rem}
  .logo__sous{font-size:.62rem}
}


/* ---------- 26. LOGOTYPE EN DEUX TEMPS ----------
   TRAME en capitales grasses, connect en accent plus fin.
   Pour passer l'accent au turquoise : --logo-accent:var(--turquoise-fonce)  */
:root{ --logo-accent:var(--bleu); }
.logo__mot{display:inline-flex;align-items:baseline;line-height:1}
.logo__mot b{
  font-family:var(--titre);font-weight:800;letter-spacing:.02em;
  color:var(--bleu-profond);
}
.logo__mot i{
  font-family:var(--titre);font-style:normal;font-weight:600;letter-spacing:-.005em;
  color:var(--logo-accent);margin-left:1px;
}
.pied .logo__mot b{color:#FFFFFF}
.pied .logo__mot i{color:#7FB2E8}


/* ---------- 27. PHOTOGRAPHIES ---------- */
.photo{
  display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;
  border-radius:var(--r-m);border:1px solid var(--trait);background:var(--surface-2);
}
.photo-legende{
  margin-top:10px;font-size:.84rem;color:var(--texte-clair);line-height:1.5;
}


/* ---------- 28. FORMULAIRE — REFONTE MOBILE ---------- */
.form-grille{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);align-items:start}

/* étapes numérotées : chaque question devient un bloc lisible */
.etape-form{
  background:var(--surface-2);border:1px solid var(--trait);border-radius:var(--r-m);
  padding:20px 20px 22px;margin:0 0 16px;
}
.etape-form > legend{
  display:flex;align-items:center;gap:11px;float:left;width:100%;
  margin-bottom:6px;font-size:1.05rem;line-height:1.3;
}
.etape-form > legend + *{clear:both}
.etape-form .champ-aide{clear:both;margin-top:4px}
.etape-form__n{
  flex:none;width:28px;height:28px;border-radius:50%;
  background:var(--bleu-profond);color:#fff;
  display:inline-flex;align-items:center;justify-content:center;
  font-family:var(--titre);font-size:.82rem;font-weight:800;
}
.etape-form .champs-2,.etape-form > .champ{clear:both}
/* un seul rythme vertical entre tous les champs : 16 px */
.etape-form .champ{margin-bottom:0}
.etape-form .champs-2{gap:16px;margin-bottom:16px}

/* cases de même hauteur sur une même ligne */
.choix-cases,.choix-pilules{align-items:stretch}
.case,.pilule{display:flex}
.case span,.pilule span{flex:1}
.etape-form .choix-pilules,.etape-form .choix-cases{clear:both}

/* pilules : cibles tactiles franches */
.pilule span{min-height:46px;display:flex;align-items:center;justify-content:center;text-align:center;background:var(--surface)}

/* champs : 16 px minimum, sinon iOS zoome à chaque saisie */
.champ input,.champ textarea,.champ select{font-size:16px;min-height:50px;background:var(--surface)}
.champ textarea{min-height:140px}

/* accès direct téléphone / e-mail — mobile uniquement */
.contact-rapide{display:none}
.contact-rapide p{
  margin:0 0 12px;font-family:var(--titre);font-weight:700;font-size:1rem;color:var(--bleu-profond);
}
.contact-rapide__btns{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.contact-rapide__btns .btn{min-height:52px}

#form-envoi{min-height:56px;font-size:1.05rem}

@media (max-width:920px){
  .form-grille{grid-template-columns:1fr}
  .contact-rapide{
    display:block;background:var(--surface);border:1px solid var(--trait);
    border-radius:var(--r-m);padding:18px;margin-bottom:18px;
  }
  /* le téléphone est déjà en tête : l'encart latéral devient redondant */
  .form-grille > aside .carte:first-child{display:none}
}

@media (max-width:720px){
  .formulaire{padding:14px;border-radius:var(--r-m)}
  .etape-form{padding:17px 15px 18px;margin-bottom:12px}
  .etape-form > legend{font-size:1rem}

  /* pilules alignées sur deux colonnes au lieu d'un nuage irrégulier */
  .choix-pilules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .pilule span{padding:10px 8px;font-size:.9rem;border-radius:10px}

  /* cases sur deux colonnes : neuf lignes empilées devenaient interminables */
  .choix-cases{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .case{min-width:0}
  .case span{padding:12px 10px;gap:8px;font-size:.88rem;min-height:48px;overflow-wrap:break-word;min-width:0}
  .case span::before{width:17px;height:17px}

  .rgpd{font-size:.84rem}
}

/* petits téléphones : une colonne plutôt qu'un texte rétréci jusqu'à l'illisible */
@media (max-width:380px){
  .choix-cases{grid-template-columns:1fr;gap:7px}
  .case span{min-height:46px;font-size:.92rem}
}


/* ---------- 29. SCHÉMA « UNE SEULE LOGIQUE » ----------
   Un rail vertical relie quatre étapes, comme un schéma de câblage.  */
.schema-bloc{max-width:540px}
.schema{list-style:none;margin:0;padding:0;position:relative}
/* un segment par liaison : il part sous une pastille et s'arrête pile sur la suivante */
.schema__n:not(:last-child)::before{
  content:"";position:absolute;left:21px;width:2px;top:50px;bottom:-18px;border-radius:2px;
}
.schema__n--capteurs::before{background:linear-gradient(to bottom,var(--turquoise),var(--bleu))}
.schema__n--regles::before{background:var(--bleu)}
.schema__n--coeur::before{background:linear-gradient(to bottom,var(--bleu),var(--orange))}
.schema__n{display:grid;grid-template-columns:44px minmax(0,1fr);gap:16px;margin:0 0 12px;position:relative}
.schema__n:last-child{margin-bottom:0}

.schema__pastille{
  width:44px;height:44px;border-radius:50%;display:grid;place-items:center;
  background:var(--surface);border:2px solid var(--turquoise);color:var(--turquoise-fonce);
  position:relative;z-index:1;margin-top:6px;
}
.schema__n--regles .schema__pastille{border-color:var(--bleu);color:var(--bleu-fonce)}
.schema__n--coeur  .schema__pastille{background:var(--bleu);border-color:var(--bleu);color:#fff}
.schema__n--sortie .schema__pastille{border-color:var(--orange);color:var(--orange-fonce)}

.schema__carte{
  background:var(--surface);border:1px solid var(--trait);border-radius:var(--r-m);
  padding:14px 18px 15px;
}
.schema__n--coeur .schema__carte{
  background:var(--surface-bleu);border-color:rgba(47,128,237,.45);
  box-shadow:0 8px 22px -14px rgba(47,128,237,.55);
}
.schema__verbe{
  display:block;font-family:var(--titre);font-size:.72rem;font-weight:700;letter-spacing:.06em;
  text-transform:uppercase;color:var(--turquoise-fonce);margin-bottom:3px;
}
.schema__n--regles .schema__verbe,.schema__n--coeur .schema__verbe{color:var(--bleu-fonce)}
.schema__n--sortie .schema__verbe{color:var(--orange-fonce)}
.schema__titre{
  display:block;font-family:var(--titre);font-size:1.12rem;font-weight:800;
  letter-spacing:-.01em;line-height:1.25;color:var(--bleu-profond);
}
.schema__carte p{margin:4px 0 0;font-size:.93rem;line-height:1.5;color:var(--texte-doux)}

.schema__puces{list-style:none;margin:9px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.schema__puces li{
  margin:0;font-size:.8rem;font-weight:600;padding:4px 10px;border-radius:99px;
  background:var(--surface-ambre);color:#8A5A1E;border:1px solid rgba(242,153,74,.35);
}

.schema__conclusion{
  display:inline-flex;align-items:center;gap:10px;margin:20px 0 0 0;
  font-family:var(--titre);font-weight:800;font-size:1.02rem;color:var(--bleu-profond);
  background:var(--surface-turquoise);border:1px solid rgba(47,184,163,.4);
  padding:10px 16px 10px 14px;border-radius:99px;
}
.schema__conclusion span{width:10px;height:10px;border-radius:50%;background:var(--turquoise);flex:none;
  box-shadow:0 0 0 4px rgba(47,184,163,.2)}

/* ---- variante sur fond sombre (accueil) ---- */
.section--sombre .schema__pastille{background:#173F5F}
.section--sombre .schema__n--coeur .schema__pastille{background:var(--bleu)}
.section--sombre .schema__carte{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.14)}
.section--sombre .schema__n--coeur .schema__carte{
  background:rgba(47,128,237,.2);border-color:rgba(127,178,232,.55);box-shadow:none;
}
.section--sombre .schema__titre{color:#FFFFFF}
.section--sombre .schema__carte p{color:#C0D3E0}
.section--sombre .schema__verbe{color:#6FD4C3}
.section--sombre .schema__n--regles .schema__verbe,
.section--sombre .schema__n--coeur .schema__verbe{color:#9FCBF5}
.section--sombre .schema__n--sortie .schema__verbe{color:#F5B97F}
.section--sombre .schema__n--capteurs .schema__pastille{color:#6FD4C3}
.section--sombre .schema__n--regles .schema__pastille{color:#9FCBF5}
.section--sombre .schema__n--sortie .schema__pastille{color:#F5B97F}
.section--sombre .schema__puces li{background:rgba(242,153,74,.16);color:#F7C99A;border-color:rgba(242,153,74,.35)}
.section--sombre .schema__conclusion{
  color:#FFFFFF;background:rgba(47,184,163,.16);border-color:rgba(47,184,163,.5);
}

@media (max-width:720px){
  .schema__n:not(:last-child)::before{left:18px;top:44px}
  .schema__n{grid-template-columns:38px minmax(0,1fr);gap:12px}
  .schema__pastille{width:38px;height:38px}
  .schema__pastille svg{width:19px;height:19px}
  .schema__carte{padding:12px 14px 13px}
  .schema__titre{font-size:1.04rem}
  .schema__conclusion{font-size:.95rem}
}

/* garde-fou : le gras hérite de la couleur claire sur tous les fonds sombres */
.section--sombre strong,.page-tete--bleue strong,.bande-cta:not(.bande-cta--ambre) strong{color:#FFFFFF}

/* en-têtes bleus : lien retour et étiquette lisibles */
.page-tete--bleue .retour{color:#BFD6E5}
.page-tete--bleue .retour:hover{color:#FFFFFF}
.page-tete--bleue .etiquette{color:var(--jaune)}
.page-tete--bleue .etiquette::before{background:var(--jaune)}


/* ---------- 30. PORTRAIT ET BIO ---------- */
.bio{display:grid;grid-template-columns:230px minmax(0,1fr);gap:clamp(28px,5vw,64px);align-items:start;max-width:1000px}
.bio__portrait{margin:0;text-align:center;position:sticky;top:calc(var(--entete) + 28px)}
.bio__portrait img{
  width:180px;height:180px;border-radius:50%;object-fit:cover;display:block;margin:0 auto;
  border:5px solid var(--surface);box-shadow:0 0 0 3px var(--turquoise),var(--ombre-relief);
}
.bio__portrait figcaption{margin-top:18px}
.bio__portrait strong{display:block;font-family:var(--titre);font-size:1.08rem;color:var(--bleu-profond)}
.bio__portrait span{display:block;font-size:.86rem;color:var(--texte-doux);margin-top:3px;line-height:1.45}
.bio__texte h2{margin-bottom:.6em}
.bio__texte p{color:var(--texte-doux);font-size:1.02rem;line-height:1.7}
.bio__devise{
  font-family:var(--titre);font-weight:800;font-size:1.15rem !important;color:var(--bleu-profond) !important;
  border-left:4px solid var(--turquoise);padding:4px 0 4px 18px;margin-top:4px;
}
@media (max-width:720px){
  .bio{grid-template-columns:1fr;gap:22px}
  .bio__portrait{position:static}
  .bio__portrait img{width:150px;height:150px}
}


/* ---------- 31. EN-TÊTE : TENIR DANS LE CADRE ----------
   Le menu et le bouton dépassaient du conteneur entre 920 et 1560 px.  */
.nav__lien{padding:9px 9px;font-size:.9rem}
.nav ul{gap:0 !important}
.nav__item:first-child{display:none}          /* « Accueil » : le logo y mène déjà */
/* Le menu ne rétrécit jamais : il passerait sous le bouton au lieu de déborder visiblement. */
.nav,.logo,.entete .btn--principal{flex-shrink:0}
.logo__sous{white-space:nowrap}
.megamenu{max-width:min(660px,92vw)}
