

     /* MODIFICATIONS POUR LA VIDEO RESPONSIVE */
    section.hero-section {
      position: relative;
      min-height: 100vh; /* Utilisation de min-height au lieu de height */
      overflow: hidden;
      color: white;
    }

    .hero-section video {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      min-width: 100%;
      min-height: 100%;
      width: auto;
      height: auto;
      object-fit: cover;
      z-index: -2;
    }

    /* Media Query pour les écrans étroits (mobile) */
    @media (max-width: 768px) {
      .hero-section video {
        width: 100%; /* Largeur pleine sur mobile */
        height: auto;
      }
      
      .hero-section {
        min-height: 80vh; /* Réduction de la hauteur sur mobile */
      }
      
      .display-4 {
        font-size: 2.5rem !important; /* Taille de police réduite */
      }
    }

    /* Media Query pour les orientations paysage sur mobile */
    @media (max-height: 500px) and (orientation: landscape) {
      .hero-section {
        min-height: 150vh; /* Augmente la hauteur pour éviter le débordement */
      }
    }

    /* Ajout pour empêcher le défilement horizontal */
    html, body {
      overflow-x: hidden;
      width: 100%;
    }

    .hero-section::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      /* background-color: rgba(0, 0, 0, 0.5); */
      /* background-color: transparent; */
      z-index: -1;
    }

    .logo-row img {
      max-height: 50px;
      filter: brightness(0) invert(1);
    }


    /* Style pour la section Secteurs d'activité avec images */
.secteurs-section {
  background-color: #f8f9fa;
  padding: 5rem 0;
}

.secteur-card {
  height: 200px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.secteur-card:hover {
  transform: scale(1.03);
}

.secteur-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  transition: background-color 0.3s ease;
}

.secteur-card:hover .secteur-overlay {
  background-color: rgba(0, 0, 0, 0.3);
}

.secteur-card h3 {
  font-size: 1.5rem;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}


/* Style pour le footer */
.footer {
  background-color: #343a40; /* Couleur de fond sombre */
  font-family: Arial, sans-serif;
}

.footer p {
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.7);
}



.pourquoi-chapflow {
  background-color: #f8f9fa;
}

.avantage-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0,0,0,0.1);
}

.avantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.avantage-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  border-bottom: 2px solid #0d6efd;
  padding-bottom: 0.5rem;
  display: inline-block;
}

/* Barre d'information supérieure */
.top-info-bar {
  background-color: #333;
  font-size: 0.85rem;
  position: sticky;
  top: 0;
  z-index: 1030; /* Au-dessus de tout */
}

.top-info-bar a {
  text-decoration: none;
  transition: color 0.2s;
}

.top-info-bar a:hover {
  color: #0d6efd !important;
}









.testimonial-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.testimonial-text {
  font-style: italic;
  line-height: 1.6;
  color: #555;
}

.testimonial-rating {
  font-size: 0.9rem;
}

 .etude-section {
      background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding: 2rem 0;
    }
    
    .separator svg circle {
      animation: pulse 2s infinite ease-in-out;
    }
    
    .separator svg circle:nth-child(2) {
      animation-delay: 0.5s;
    }
    
    .separator svg circle:nth-child(3) {
      animation-delay: 1s;
    }
    
    @keyframes pulse {
      0%, 100% { opacity: 0.5; transform: scale(0.95); }
      50% { opacity: 1; transform: scale(1.05); }
    }
    
    .img-container {
      position: relative;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .img-container img {
      max-width: 100%;
      height: auto;
      border-radius: 10px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
      transform: perspective(1000px) rotateY(-5deg);
      transition: transform 0.5s ease;
    }
    
    .img-container img:hover {
      transform: perspective(1000px) rotateY(0deg);
    }
    
    /* Responsive adjustments */
    @media (max-width: 992px) {
      .etude-section h2 {
        font-size: 2.5rem !important;
      }
      
      .etude-section .lead {
        font-size: 1.25rem !important;
      }
      
      .img-container {
        margin-top: 3rem;
      }
      
      .img-container img {
        max-height: 400px;
        transform: none;
      }
    }
    
    @media (max-width: 768px) {
      .etude-section h2 {
        font-size: 2rem !important;
      }
      
      .etude-section .lead {
        font-size: 1.1rem !important;
      }
      
      .etude-section .btn {
        font-size: 1rem !important;
        padding: 0.75rem 1.5rem !important;
      }
      
      .separator svg {
        width: 120px !important;
      }
    }
    
    @media (max-width: 576px) {
      .etude-section h2 {
        font-size: 1.75rem !important;
      }
      
      .etude-section {
        padding: 2rem 0;
        min-height: auto;
      }
      
      .img-container img {
        max-height: 300px;
      }
    }



    /* Styles pour la section Actualités */
.actualites-section {
  position: relative;
}

.carousel-control-prev, .carousel-control-next {
  width: 5%;
  opacity: 0.8;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  margin: 0 15px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-control-prev:hover, .carousel-control-next:hover {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.4);
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
  background-color: rgba(0, 0, 0, 0.5);
}

.carousel-indicators .active {
  background-color: #0d6efd;
}

.object-fit-cover {
  object-fit: cover;
}

.actualites-section .btn-outline-primary {
  border-width: 2px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.actualites-section .btn-outline-primary:hover {
  background-color: #0d6efd;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Adaptation responsive */
@media (max-width: 768px) {
  .actualites-section .carousel-inner .row {
    flex-direction: column;
  }
  
  .actualites-section .carousel-inner .col-md-6 {
    width: 100%;
  }
  
  .actualites-section .carousel-inner img {
    min-height: 250px !important;
  }
  
  .carousel-control-prev, .carousel-control-next {
    width: 15%;
  }
}

/* Animation pour les icônes */
.actualites-section .fa-city,
.actualites-section .fa-handshake,
.actualites-section .fa-chart-line {
  transition: transform 0.3s ease;
}

.actualites-section .fa-city:hover,
.actualites-section .fa-handshake:hover,
.actualites-section .fa-chart-line:hover {
  transform: scale(1.1);
}

/* Section FAQ */
.faq-section {
  background-color: #f8f9fa;
}

.faq-question {
  font-weight: 600;
  color: #212529;
  background: none;
  border: none;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: #0d6efd;
}

.faq-question:not(.collapsed) {
  color: #0d6efd;
}

.faq-question:not(.collapsed) .fa-chevron-down {
  transform: rotate(180deg);
}

.faq-answer {
  color: #495057;
  line-height: 1.7;
}

.transition-all {
  transition: all 0.3s ease;
}