.msh-hero-section {
  position: relative;

  /* --- ASTUCE FULL-WIDTH --- */
  /* Sort du conteneur parent (ex: .ast-container) pour prendre 100% de l'écran */
  width: 100vw !important;
  max-width: 100vw !important;
  left: 50%;
  transform: translateX(-50%);
  /* ------------------------- */

  background-color: #0b1924; /* Fond bleu sombre de secours au chargement */
  overflow: hidden;
  color: #ffffff;
  font-family:
    "Rubik",
    system-ui,
    -apple-system,
    sans-serif; /* Lisse et moderne */
  box-sizing: border-box;
  background-image: url("https://creation-ecussons.com/wp-content/uploads/2026/02/slide1.webp");
  background-size: cover;
  background-position: center;
}
.msh-hero-section *,
.msh-hero-section *::before,
.msh-hero-section *::after {
  box-sizing: border-box;
}

/* L'image de fond gérée en HTML pour optimiser le LCP */
.msh-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

/* Le 'dummy' sert à donner la hauteur naturelle (responsive) au parent .msh-hero-section */
.msh-dummy {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

/* Positionnement absolu pour superposer les slides */
/* Positionnement absolu pour superposer les slides */
.msh-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease; /* Raccourci à 0.4s pour plus de dynamisme */
  pointer-events: none;
}

/* On force les enfants à respecter la même transition fluide */
.msh-slide * {
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

/* CORRECTIF LITESPEED CACHE : Forcer l'affichage de la slide active et de ses enfants */
.msh-slide.is-active {
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 2 !important;
  pointer-events: auto !important;
}

.msh-slide.is-active * {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Mise en page interne en flexbox (2 colonnes) */
.msh-slide-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 5rem 2rem;
  gap: 3rem;
}
.msh-text-col {
  flex: 4;
  max-width: 600px;
}
.msh-text-col h2 {
  color: #ffffff;
  font-size: clamp(1.75rem, 1.8rem, 2.75rem); /* Taille réduite */
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.msh-text-col p {
  font-size: 1.125rem;
  color: #d1d5db;
  margin-bottom: 1.8rem;
  line-height: 1.6;
}

.msh-highlight {
  color: #f79f23;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0px;
}

/* Le bouton principal */
.msh-btn {
  display: inline-block;
  background-color: #ffa72b; /* Couleur demandée */
  color: #0b1924 !important;
  padding: 0.65rem 1.8rem;
  border-radius: 50px; /* Moderne et propre */
  text-decoration: none !important; /* Enlève le soulignement du thème */
  font-weight: 400;
  font-size: 1.05rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.msh-btn:hover,
.msh-btn:focus {
  background-color: #ffb84d !important;
  color: #0b1924 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
}

/* Micro-copy de réassurance */
.msh-features {
  font-size: 0.85rem;
  color: #d1d5db;
  margin-top: 0.75rem;
  display: block;
  /* Opacity fixed by !important on active state, so adjusting font color slightly if needed */
}

/* Colonne Image */
.msh-img-col {
  flex: 6;
  display: flex;
  justify-content: center;
  align-items: center;
}
.msh-img-col img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Ligne Chorus Pro avec Logo */
.msh-features-chorus {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0.5rem;
}

.msh-features-chorus span {
  font-size: 0.8rem;
}

.msh-features-chorus img {
  height: 30px;
  width: auto;
  background: #ffffff;
  padding: 2px;
  border-radius: 3px;
  display: inline-block;
}

/* Styles spécifiques Slide 3 : Ratio 70/30 inversé */
.msh-slide-3 .msh-text-col {
  flex: 7;
}
.msh-slide-3 .msh-img-col {
  flex: 3;
}

/* Liste des points clés Slide 3 */
.msh-key-points {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.msh-key-point {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
}
.msh-key-point svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: #ffa72b;
  margin-top: 3px;
}
.msh-key-point strong {
  display: block;
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}
.msh-key-point span {
  font-size: 0.95rem;
  color: #d1d5db;
  line-height: 1.4;
}

/* Responsive : Empilement sur mobile */
@media (max-width: 860px) {
  .msh-slide-content {
    flex-direction: column-reverse;
    text-align: center;
    padding: 4rem 1.5rem;
    gap: 0 !important;
  }
  .msh-text-col {
    margin-top: 2rem;
    margin-bottom: 0;
  }
  .msh-slide-1 .msh-img-col img {
    margin-top: -40px !important;
  }
  .msh-slide-2 .msh-img-col img {
    margin-top: -120px !important;
  }

  /* Optimisation Slide 3 Mobile */
  .msh-slide-3 .msh-slide-content {
    padding-top: 0 !important;
  }
  .msh-slide-3 .msh-img-col {
    display: none !important;
  }
  .msh-slide-3 .msh-key-point span {
    display: block !important;
    text-align: left;
  }
  .msh-slide-3 .msh-key-points {
    margin: 1rem 0;
    gap: 1rem;
    align-items: flex-start;
  }
  .msh-slide-3 .msh-key-point {
    justify-content: flex-start;
    text-align: left;
  }

  .msh-features-chorus {
    justify-content: center;
  }

  .msh-text-col h2 {
    font-size: 22px !important;
  }
}

/* Contrôles de Navigation Slider */
.msh-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  padding: 0 !important;
}
.msh-nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}
.msh-prev {
  left: 20px;
}
.msh-next {
  left: auto;
  right: 20px;
}
.msh-nav-btn svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.5;
}

.msh-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}
.msh-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
  /* Zone tactile élargie sans changer l'apparence visuelle */
  position: relative;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Le point visuel est un pseudo-élément centré dans la grande zone tactile */
.msh-dot::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}
.msh-dot.is-active::after {
  background: #ffa72b !important;
  transform: scale(1.3) !important;
  box-shadow: 0 0 8px rgba(255, 167, 43, 0.5) !important;
}
.msh-dot:not(.is-active)::after {
  background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 860px) {
  .msh-nav-btn {
    display: none !important;
  }
  .msh-dots {
    bottom: 15px !important;
  }
}

/* Première slide visible immédiatement sans JS */
.msh-slide:first-child {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  pointer-events: auto;
}
