


/* === 1. Bannières uniformes à 70vh ===
   Cible la 1re section Elementor de chaque page,
   ainsi qu'une classe optionnelle .page-banner. */
.page .elementor > section:first-of-type,
.page .elementor-section.elementor-top-section:first-of-type,
.page-banner {
  min-height: 70vh !important;
  height: 70vh !important;
}

.page .elementor > section:first-of-type .elementor-background-overlay,
.page-banner .elementor-background-overlay {
  min-height: 70vh !important;
}

.elementor > section:first-of-type .elementor-background-overlay,
.page-banner .elementor-background-overlay {
  min-height: 70vh !important;
}


/* === 4. Désactiver les filtres CSS sur les images de la section "Prestations" === */
.section-prestations img,
.section-prestations .elementor-widget-image img {
  filter: none !important;
  -webkit-filter: none !important;
}


/* === 5. Alignement boutons Contact + Calendrier === */
.contact-buttons-wrap,
.contact-buttons-wrap .elementor-widget-wrap,
.contact-buttons-wrap .e-con-inner {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
}

.contact-buttons-wrap .elementor-widget-button {
  width: auto !important;
}


/* === 6a. Cadre blanc "Déroulé d'une séance" ===
   Centré horizontalement, largeur réduite.
   Ajouter aussi la classe .is-overlay si le cadre est en superposition sur image. */
.cadre-deroule {
  width: max-content !important;
  max-width: 80% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.cadre-deroule.is-overlay {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
}


/* === 6b. 3 images "Déroulé d'une séance" à la même taille ===
   Ratio 3/4 (portrait). Modifier en 4/3 (paysage) ou 1/1 (carré) au besoin. */
.deroule-images .elementor-widget-image img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100% !important;
  height: auto !important;
}

.deroule-images > .elementor-column,
.deroule-images > .e-con > .e-con-inner > * {
  display: flex;
  align-items: stretch;
}




.elementor-lightbox {
  background: rgba(0,0,0,0.85) !important;
}

body.elementor-lightbox-active {
  overflow: auto !important;
}

/* fond du lightbox */
.lightbox,
.fancybox-overlay,
.pswp__bg,
.mfp-bg {
  background: rgba(0, 0, 0, 0.9) !important;
}

/* éviter le fond blanc */
.lightbox-content,
.pswp__container {
  background: transparent !important;
}

#ast-desktop-header {
    background: transparent !important;
    box-shadow: none;
    transition: all 0.35s ease;
}

#ast-desktop-header.sticky {
    background: rgba(255, 248, 225, 0.92) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.10);
}

#ast-desktop-header .ast-above-header-bar,
#ast-desktop-header .ast-primary-header-bar,
#ast-desktop-header .ast-below-header-bar,
#ast-desktop-header .main-header-menu {
    background: transparent !important;
    transition: all 0.35s ease;
}


.avis-centres .swiper-slide {
  position: relative !important;
  min-height: 500px !important;
}

.avis-centres .tcq-description {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;

  width: 100% !important;
  max-width: 1400px !important;
  margin: 0 !important;
  padding: 0 120px !important;
  box-sizing: border-box !important;

  text-align: center !important;
  line-height: 1.5 !important;
}

@media (max-width: 767px) {
  .avis-centres .swiper-slide {
    min-height: 380px !important;
  }

  .avis-centres .tcq-description {
    padding: 0 35px !important;
  }
}
/

* Image à gauche, environ 42 % de la largeur */
.blog .ast-article-inner,
.archive .ast-article-inner {
    display: flex;
    align-items: center;
    gap: 40px;
}

.blog .ast-blog-featured-section,
.archive .ast-blog-featured-section {
    flex: 0 0 42%;
    max-width: 42%;
    margin: 0;
}

.blog .ast-blog-featured-section img,
.archive .ast-blog-featured-section img {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    object-position: center 70%;
}

.blog .ast-article-inner .post-content,
.archive .ast-article-inner .post-content {
    flex: 1;
}

/* Titre plus sobre, comme dans l'exemple */
.blog .entry-title,
.archive .entry-title {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
}

/* Filet de séparation entre les articles */
.blog .ast-article-post,
.archive .ast-article-post {
    border-bottom: 1px solid rgba(0,0,0,0.12);
    padding-bottom: 40px;
    margin-bottom: 30px;
}

/* Sur mobile : image au-dessus du texte */
@media (max-width: 767px) {
    .blog .ast-article-inner,
    .archive .ast-article-inner {
        flex-direction: column;
    }
    .blog .ast-blog-featured-section,
    .archive .ast-blog-featured-section {
        flex: none;
        max-width: 100%;
    }
}

.blog .ast-blog-single-element.ast-excerpt-container,
.archive .ast-blog-single-element.ast-excerpt-container,
.blog .entry-content,
.archive .entry-content {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog .entry-title,
.archive .entry-title {
    margin-bottom: 20px !important;
}

.blog .ast-article-post,
.archive .ast-article-post,
.blog .ast-article-inner,
.archive .ast-article-inner,
.blog .ast-blog-featured-section,
.archive .ast-blog-featured-section,
.blog .post-content,
.archive .post-content {
    box-shadow: none !important;
}

.blog .ast-article-post::after,
.archive .ast-article-post::after,
.blog .ast-article-inner::after,
.archive .ast-article-inner::after {
    box-shadow: none !important;
    background: none !important;
}





/* =========================================
   ASTRA — MENU MOBILE SOMBRE
   Liens crème, fermeture Astra conservée
   En-tête sticky préservé
   ========================================= */

@media (max-width: 921px) {

  /* Menu mobile classique : ne pas le transformer en panneau fixe */
  body.ast-main-header-nav-open .ast-mobile-header-content {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    z-index: auto !important;
    background: #111111 !important;
  }

  /* Fond sombre et plein écran pour le véritable menu Off Canvas */
  .ast-mobile-popup-drawer.active .ast-mobile-popup-inner {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #111111 !important;
    color: #f5eee3 !important;
  }

  .ast-mobile-popup-drawer.active .ast-mobile-popup-content {
    padding: 75px 20px 30px !important;
    text-align: center !important;
    background: transparent !important;
  }

  /* Liens du menu */
  .ast-mobile-popup-drawer.active .menu-link,
  body.ast-main-header-nav-open .ast-mobile-header-content .main-header-menu .menu-link {
    display: block !important;
    width: 100% !important;
    padding: 19px 8px !important;
    color: #f5eee3 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    letter-spacing: 3px !important;
    line-height: 1.6 !important;
    text-align: center !important;
    text-transform: uppercase !important;
  }

  /* Survol et page active */
  .ast-mobile-popup-drawer.active .menu-link:hover,
  .ast-mobile-popup-drawer.active .current-menu-item > .menu-link,
  body.ast-main-header-nav-open .ast-mobile-header-content .menu-link:hover,
  body.ast-main-header-nav-open .ast-mobile-header-content .current-menu-item > .menu-link {
    color: #d9c5a6 !important;
    background: transparent !important;
  }

  /* Bouton de fermeture natif Astra */
  .ast-mobile-popup-drawer.active .menu-toggle-close {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #ffffff !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    z-index: 100010 !important;
  }

  .ast-mobile-popup-drawer.active .ast-mobile-popup-header {
    position: relative !important;
    z-index: 100005 !important;
    background: transparent !important;
  }
}


/* Correction du menu mobile Astra ouvert */
@media (max-width: 921px) {

  /* Fond sombre du menu classique ouvert */
  body.ast-main-header-nav-open .ast-mobile-header-content,
  body.ast-main-header-nav-open .ast-mobile-header-content .ast-builder-menu-mobile,
  body.ast-main-header-nav-open .ast-mobile-header-content nav,
  body.ast-main-header-nav-open .ast-mobile-header-content .main-header-bar-navigation {
    background: #111111 !important;
  }

  /* Liens crème lisibles sur fond sombre */
  body.ast-main-header-nav-open .ast-mobile-header-content .main-header-menu .menu-link {
    color: #f5eee3 !important;
  }

  /* Bouton fermer : supprimer le carré bleu pâle */
  body.ast-main-header-nav-open .ast-mobile-header-wrap .menu-toggle,
  body.ast-main-header-nav-open .ast-mobile-header-wrap .menu-toggle-close,
  .ast-mobile-popup-drawer.active .menu-toggle-close {
    background: transparent !important;
    color: #ffffff !important;
    border: 0 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Couleur de la croix */
  body.ast-main-header-nav-open .menu-toggle svg,
  body.ast-main-header-nav-open .menu-toggle-close svg,
  .ast-mobile-popup-drawer.active .menu-toggle-close svg {
    color: #ffffff !important;
    fill: currentColor !important;
  }
}

/* Astra : fond noir du menu mobile ouvert */
@media (max-width: 921px) {
  body.ast-main-header-nav-open .ast-mobile-header-content,
  body.ast-main-header-nav-open .ast-mobile-header-content > *,
  body.ast-main-header-nav-open .ast-mobile-header-content .main-header-bar-navigation,
  body.ast-main-header-nav-open .ast-mobile-header-content .ast-builder-menu-mobile,
  body.ast-main-header-nav-open .ast-mobile-header-content nav,
  body.ast-main-header-nav-open .ast-mobile-header-content .main-header-menu,
  body.ast-main-header-nav-open .ast-mobile-header-content .main-header-menu ul {
    background-color: #111111 !important;
  }

  body.ast-main-header-nav-open .ast-mobile-header-content .menu-link {
    color: #f8efd8 !important;
  }
}