/* ============================================
   FULL WIDTH SECTIONS — TOUTES LES PAGES
   
   Le bloc core/html de Gutenberg sort le HTML
   brut SANS wrapper div, donc alignfull sur le
   bloc n'a aucun effet.
   On applique le full-bleed directement sur
   les classes de section.
   
   Formule : calc(-50vw + 50%)
   - 50vw = moitié du viewport
   - 50%  = moitié du conteneur parent centré
   → annule l'offset du conteneur centré
   ============================================ */

/* Évite le scrollbar horizontal causé par 100vw */
body { overflow-x: hidden; }

/* Retire les paddings parasites sur TOUTES les pages */
.entry-content {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

#primary,
.ast-article-single,
article.page {
  padding: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* ============================================
   FULL-BLEED : bannières bleues + sections
   S'applique sur toutes les pages
   ============================================ */
.pei-page-hero,
.pei-rct__hero,
.pei-rct__values,
.pei-rct__cta,
.pei-section,
.pei-stats-section,
.pei-map-home-section {
  margin-left:  calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  max-width: 100vw !important;
  width: 100vw !important;
  box-sizing: border-box !important;
}

/* Le héro de l'accueil utilise .pei-hero — même traitement */
.pei-hero {
  box-sizing: border-box !important;
  /* Astra gère width:100vw + margin via .alignfull sur ce bloc */
}

/* ── Blocage scroll horizontal — body uniquement (html overflow-x casse sticky) ── */
body {
  overflow-x: hidden !important;
}

/* ── Scroll 100% normal — aucun effet sticky ── */
