.logo-overlap {
  position: absolute;
  left: 0;
  top: 10%;
  transform: translateY(-30%);
  z-index: 100;
  width: auto;
  text-align: left;
  pointer-events: none;
}

/* Empêche le menu de s'agrandir à cause du logo */
#header-sticky .row {
  align-items: center;
  min-height: 0;
}

.logo-overlap img {
  height: 180px;
  width: auto;
  display: inline-block;
}

/* Réduire la hauteur du bandeau menu uniquement sur desktop */
@media (min-width: 992px) {
  #header-sticky.menu-area {
    position: relative;
    min-height: unset;
    height: 85px; 
  }
}

.logo-overlap img {
  height: 180px; /* ou la taille souhaitée du logo */
  width: auto;
}

body {
  overflow-x: hidden;
}

.feature-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.feature-items {
  flex: 1 1 180px;
  max-width: 240px;
  min-width: 160px;
  box-sizing: border-box;
  text-align: center;
}

.card-sc2e {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(22,22,22,0.09);
  padding: 32px 28px;
  margin: 0 auto 32px auto;
  max-width: 1100px;
  border: 1.5px solid #e3e3e3;
  position: relative;
}

.whatsapp-float {
  position: fixed;
  right: 60px;
  bottom: 60px;
  z-index: 9999;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.19);
  font-size: 2.2rem;
  transition: box-shadow 0.2s, background 0.2s;
  cursor: pointer;
}
.whatsapp-float:hover {
  background: #1ebe57;
  box-shadow: 0 6px 24px rgba(0,0,0,0.23);
}

@media (max-width: 991px) {
  .whatsapp-float {
    display: none !important;
  }
  .banner {
    display: none !important;
  }
}


/* Bouton principal avec flèche à droite */
.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px; /* espace entre texte et flèche */
}

.btn-arrow i {
  margin-left: 10px;
  font-size: 18px;
  transition: transform 0.3s;
}

.btn-arrow:hover i {
  transform: translateX(5px);
}

/* Nouveau modèle bouton SC2E */
.btn__sc2e {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-transform: capitalize;
  position: relative;
  z-index: 1;
  font-size: 16px;
  font-weight: 700;
  min-width: 170px;
  height: 60px;
  padding: 0 18px;
  letter-spacing: .3px;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #e53935;;
  color: #fff;
  transition: all 0.3s linear;
  box-shadow: 0 2px 8px rgba(22,22,22,0.08);
}

.btn__sc2e:focus,
.btn__sc2e.active,
.btn__sc2e:active {
  box-shadow: none;
  outline: none;
}

.btn__sc2e span,
.btn__sc2e i {
  margin: 0 4px;
}

.btn__sc2e .icon-arrow-right {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  background: #4aab3d;
  font-size: 18px;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.btn__sc2e:before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  background-color: #4aab3d;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.24s cubic-bezier(0.37, 0.31, 0.31, 0.9);
}

.btn__sc2e:hover:before {
  transform: scaleX(1);
  transform-origin: left center;
}

.btn__sc2e:hover {
  color: #161616;
}

.btn__sc2e:hover .icon-arrow-right {
  background: #fff;
  color: #4aab3d;
  transform: translateX(5px);
}



.btn-arrow i {
  margin-left: 10px;
  font-size: 18px;
  transition: transform 0.3s;
}

.btn-arrow:hover i {
  transform: translateX(5px);
}


/* Pastille bouton Devenez Revendeur dans le header */
.revendeur-badge {
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
}
.revendeur-badge a {
  display: inline-block;
  background: #938f8f;
  color: #fff;
  border-radius: 24px;
  padding: 6px 18px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(229,57,53,0.10);
  transition: background 0.2s, color 0.2s;
  line-height: 1.2;
}
.revendeur-badge a:hover {
  background: #b71c1c;
  color: #fff;
}

.form-select-sc2e {
  min-width: 160px;
  padding: 10px 38px 10px 14px;
  border-radius: 8px;
  border: 1.5px solid #d1d5db;
  background: #fff url("data:image/svg+xml,%3Csvg width='16' height='10' ...") no-repeat right 12px center/18px 12px;
  color: #222;
  font-size: 1.08rem;
  font-family: inherit;
  box-shadow: 0 2px 8px rgba(44,204,64,0.04);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-select-sc2e:focus {
  border-color: #2ecc40;
  box-shadow: 0 0 0 2px rgba(44,204,64,0.15);
  outline: none;
}
.form-select-sc2e:hover {
  border-color: #2ecc40;
}
.form-select-sc2e option {
  color: #222;
  background: #fff;
}
@media (max-width: 767px) {
  .form-select-sc2e {
    font-size: 0.95rem;
    width: 100% !important;
    flex: none !important;
    min-width: 100% !important;
  }
  .search-form-sc2e > div {
    flex-direction: column !important;
  }
  .search-form-sc2e {
    padding: 0 10px;
  }
  
  /* H1 responsive */
  .slider-content h1 {
    font-size: 18px !important;
    line-height: 1.3;
    margin-bottom: 10px;
  }
  .slider-content h2 {
    font-size: 28px !important;
    line-height: 1.2;
  }
  
  /* Chiffres clés responsive */
  .key-number-card h3 {
    font-size: 36px !important;
  }
  .key-number-card h4 {
    font-size: 18px !important;
  }
  .key-number-card p {
    font-size: 13px !important;
  }
  .key-icon {
    width: 60px !important;
    height: 60px !important;
  }
  .key-icon svg {
    width: 30px !important;
    height: 30px !important;
  }
  
  /* Ajustement footer pour le CTA fixe */
  footer {
    padding-bottom: 80px !important;
  }
  
  /* Ajustement WhatsApp pour ne pas chevaucher le CTA */
  .whatsapp-float {
    bottom: 80px !important;
  }
  
  /* Vidéo section About - position mobile */
  #about video {
    left: 30px !important;
    top: 0px !important;
  }
}

.services-08-header {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
}
.services-08-header .number {
  font-size: 2.2rem;
  font-weight: bold;
  color: #2ecc40;
}
.services-08-header h2 {
  font-size: 4rem;
  margin: 0;
}

/* === Correctifs Mobile Menu & Header === */
@media (max-width: 991px) {
  /* Header compact sur mobile */
  #header-sticky.menu-area {
      height: 70px !important;
      min-height: 70px;
      background: #fff;
      overflow: visible; /* CRUCIAL : permet au menu de déborder */
      z-index: 1001;
      position: relative; /* Référence pour le positionnement absolu */
  }

  /* Bouton devis mobile - sticky en bas */
  .mobile-cta-fixed {
      display: block !important;
      position: fixed;
      bottom: 0;
      left: 0;
      /* right: 0; */
      z-index: 9998;
      background: #fff;
      padding: 10px 15px;
      box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
      width: 45%;
  }
  .mobile-cta-fixed .btn__sc2e {
      width: 100%;
      justify-content: center;
  }

  /* Conteneur global du menu mobile */
  .mobile-menu {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 9999;
      pointer-events: none; /* Important : laisse passer les clics vers le logo en dessous */
  }

  /* Menu Hamburger Mobile */
  /* Conteneur principal (barre) */
  .mean-container .mean-bar {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 0; 
      background: transparent;
      padding: 0;
      min-height: 0;
      z-index: 9999;
      overflow: visible;
      pointer-events: none;
  }

  /* Le bouton hamburger (doit être cliquable) */
  .mean-container a.meanmenu-reveal {
      display: flex !important;
      align-items: center;
      justify-content: center;
      position: absolute;
      top: 5px;
      right: 15px;
      margin-top: 0 !important;
      width: 40px;
      height: 40px;
      padding: 8px;
      border: 1px solid #e5e5e5 !important;
      border-radius: 8px;
      background: #fff !important;
      color: #333 !important;
      cursor: pointer;
      box-shadow: 0 2px 5px rgba(0,0,0,0.05);
      pointer-events: auto; /* Réactive les clics */
      z-index: 10000;
  }

  /* Barres du bouton */
  .mean-container a.meanmenu-reveal span {
      display: block;
      background: #333 !important;
      height: 2px;
      margin-top: 6px;
      width: 100%;
      border-radius: 2px;
  }
  .mean-container a.meanmenu-reveal span:first-child {
      margin-top: 0;
  }

  /* État actif du bouton */
  .mean-container a.meanmenu-reveal.meanclose {
      color: #e53935 !important;
      border-color: #e53935 !important;
  }

  /* Menu déroulant */
  .mean-container .mean-nav {
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background: #fff;
      box-shadow: 0 10px 40px rgba(0,0,0,0.2); /* Ombre plus prononcée */
      margin-top: 0;
      border-top: 1px solid #f0f0f0;
      pointer-events: auto;
      z-index: 100000; /* Z-index maximal */
      max-height: 80vh; /* Limite la hauteur */
      overflow-y: auto; /* Scroll si trop long */
  }
  .mean-container .mean-nav ul li a {
      padding: 16px 25px; /* Plus d'espace pour le doigt */
      border-top: 1px solid #f5f5f5;
      font-size: 17px; /* Texte plus grand */
      color: #333;
      font-weight: 600;
  }
  .mean-container .mean-nav ul li a:hover {
      color: #e53935;
      background: #fafafa;
      padding-left: 30px;
  }
  
  /* Styles des boutons Header Mobile */
  .mobile-header-btns {
      display: flex;
      justify-content: flex-end;
      gap: 8px;
      align-items: center;
      height: 100%;
  }

  .btn-mobile-action {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 8px 10px;
      border-radius: 6px;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      color: #fff !important;
      text-decoration: none !important;
      line-height: 1.2;
      transition: all 0.2s;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      white-space: nowrap;
  }

  .btn-mobile-action i {
      margin-right: 5px;
      font-size: 13px;
  }

  .btn-devis {
      background-color: #e53935; /* Rouge */
      border: 1px solid #e53935;
  }

  .btn-catalog {
      background-color: #00173c; /* Bleu foncé */
      border: 1px solid #00173c;
  }

  .btn-mobile-action:active {
      transform: translateY(1px);
      box-shadow: none;
      opacity: 0.9;
  }

  /* Ajustement Logo Mobile - déborde du header */
  .logo-overlap {
      position: relative;
      top: -5px;
      transform: none;
      /* padding: 5px 10px; */
      z-index: 1000;
  }
  .logo-overlap img {
      height: 180px;
      width: auto;
      filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
  }
  
  /* Ajuster le conteneur du logo */
  .col-xl-2.col-lg-2 {
      position: relative;
      z-index: 1000;
  }
}