/* 17/10/2026 : accueil, un seul rythme entre les sections (Khamis : « les marges entre les section faut rester concentré »).
   Règle : écart visible entre deux sections = 120 px sur ordinateur, 72 px sur téléphone.
   Deux sections de même fond qui se suivent : la 2e n'a pas d'espace en haut (sinon les deux s'additionnent).
   Section à fond coloré : même espace en haut et en bas. Ne change ni les textes ni le design des sections. */
.home{--rythme:120px}
@media (max-width:720px){.home{--rythme:72px}}
.home > section:where(:not(.h2-hero):not(.mqx)){padding-top:var(--rythme) !important;padding-bottom:var(--rythme) !important}
/* les marges du premier et du dernier élément ne s'ajoutent pas à l'espace de la section */
.home > section:where(:not(.h2-hero):not(.mqx)) > .wrap > :first-child,.home > section:where(:not(.h2-hero):not(.mqx)) > .wrap > :first-child > :first-child,.home > section:where(:not(.h2-hero):not(.mqx)) .sh h2{margin-top:0 !important}
.home > section:where(:not(.h2-hero):not(.mqx)) > .wrap > :last-child{margin-bottom:0 !important}
/* même fond (blanc) à la suite : qualifications -> prestations -> chantiers ; garanties -> FHE ; accompagnement -> avis -> questions */
.home > section.ql{padding-bottom:0 !important}
.home > section.cr-sec,.home > section.fhe-c,.home > section.faq-sec,.home > section.avis-sec{padding-top:0 !important}
/* pied de page (bleu nuit) juste après la demande de rappel (bleu nuit) */
.home > section.rappel-sec + .ftr{padding-top:0}

/* autres pages (17/10, page solaire) : la 2e de deux sections de même fond porte la classe « suite » ; le bandeau de logos (.mqx) garde son propre espace */
.home > section.suite{padding-top:0 !important}
.home > section.maison + section#garanties{padding-top:0 !important}
/* 17/10 : maison sur fond bleu très clair (Khamis), comme la section étapes juste avant : pas d'espace en haut ; garanties (blanc) retrouve son espace */
.home > section.etC-sec + section.maison{padding-top:0 !important}
.home > section.maison + section#garanties{padding-top:var(--rythme) !important}
/* 18/10 : ordre logique (présentation, solutions, maison, chantiers, méthode, confiance, questions, rappel) ; section FHE supprimée */
.home > section.xc + section.maison{padding-top:var(--rythme) !important}
.home > section.maison + section.cr-sec{padding-top:var(--rythme) !important}
.home > section.cr-sec + section.etC-sec{padding-top:var(--rythme) !important}
.home > section.gv + section.ra{padding-top:0 !important}
