/* --------------------------------------------------
   fixes.css
   --------------------------------------------------
   Ajustements de positionnement du header sur les ancres
*/

/* Section : Correction header qui cache les titres des sections */
/* =============================== */
/* Correction header qui cache les titres des sections */

/* Section : Correction ancrage sections légales */
/* =============================== */
html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 60px; }

/* Correction ancrage sections légales */
.section-mentions-legales,
.section-politique-confidentialite,
.section-conditions-generales,
.section-faq,
.section-galeries,
.section-contact,
.section-tarifs,
.section-presentation {
  background-color: var(--white);
}

/* Assurer que les images de fond couvrent bien leur conteneur */
.slide-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}



/* ======= Correctif titres pages légales (header fixe) ======= */
body.page-legal { padding-top: 110px; }
body.page-legal h1, body.page-legal h2, body.page-legal h3 { scroll-margin-top: 120px; }

/* Sécu burger sous 1024px */
@media (max-width: 1024px) {
  .burger, #burger, .menu-burger { display: block !important; }
}



/* ======= Correctif titres pages légales (header fixe) ======= */
body.page-legal { padding-top: 110px; }
body.page-legal h1, body.page-legal h2, body.page-legal h3 { scroll-margin-top: 120px; }

/* Sécu burger sous 1024px */
@media (max-width: 1024px) {
  .burger, #burger, .menu-burger { display: block !important; }
}



/* ======= Sécu v3 ======= */
@media (max-width: 768px) {
  .slide-prev, .slide-next, .hero .slide-prev, .hero .slide-next { top:auto !important; bottom:120px !important; transform:none !important; }
}


/* ======= V4 — fallback slider mobile ======= */
@media (max-width: 768px) {
  .slide-prev, .slide-next, .hero .slide-prev, .hero .slide-next { top:auto !important; bottom:130px !important; transform:none !important; }
}
