.logo-mini {
  max-width: calc(3em);
}


.custom-video {
    opacity: 0.6;
}

.logo {
  filter: brightness(0) invert(1);
}



/* SCROLL BOUTONS TITRES */

.scroll-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding: 1rem;
}

.scroll-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
  -ms-overflow-style: none;  /* IE & Edge */
  scrollbar-width: none;     /* Firefox */
}

.scroll-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.scroll-btn {
  border-radius: 2rem;
  min-width: 120px;
  padding: 0.75rem 1.25rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.scroll-btn:hover {
  background-color: #0C3D5D;
  color: white;
}

.scroll-wrapper {
  position: relative;
}

.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s;
}

.scroll-arrow:hover {
  background-color: #f8f9fa;
}

.scroll-left {
  left: -20px;
}

.scroll-right {
  right: -20px;
}





.tab-button {
  min-width: 300px; /* ou 150px, selon ce que tu veux */
  max-width: 300px;
  text-align: center;
  white-space: normal; /* autorise les retours à la ligne */
}






/* Animation pour le texte */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animation pour l'image */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-text {
  animation: slideInLeft 1s ease-out forwards;
}

.animate-image {
  animation: slideInRight 1s ease-out forwards;
}













.logo-carousel {
  overflow: hidden;
  position: relative;
}

.logo-track {
  display: flex;
  width: calc(250px * 10); /* 10 logos */
  animation: scroll 30s linear infinite;
}

.logo-slide {
  width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.logo-slide img {
  max-width: 100%;
  max-height: 60px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease-in-out;
}

.logo-slide img:hover {
  filter: none;
  opacity: 1;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .logo-slide {
    width: 180px;
    padding: 0.5rem;
  }
  .logo-slide img {
    max-height: 40px;
  }
}











.top-bar {
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 1031; /* plus que navbar (1030) */
    }
    body {
      /*padding-top: 80px; /* ajuster selon la hauteur du bandeau + navbar */
    }


@media (max-width: 768px) {
  .navbar {
    padding-top: 5em;
  }
  .img-pres {
    width: 20em;
  }
}

@media (min-width: 769px) {
  .navbar {
    padding-top: 3em;
  }
  .img-pres {
    width: 30em;
  }
}



.swiper {
      width: 100%;
      padding: 2rem 0;
    }
    .swiper-slide {
      /*background: #f8f9fa;*/
      border-radius: 10px;
      /*box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);*/
      padding: 1.5rem;
      text-align: center;
      font-size: 1rem;
      height: auto;
    }
    .testimonial-author {
      font-weight: bold;
      margin-top: 1rem;
    }




.schedule-image {
  height: 15em;
  width: 25em;
}






#accueil, #a-propos, #avis {
  margin-bottom: 80px;
}



.gradient-bar {
  height: 7px;
  width: 50%;
  margin: 50px auto;
  background: linear-gradient(to right, #0C3D5D, #F18719);
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}











.tab-button {
  flex: 0 0 auto;
  min-width: 160px; /* Largeur minimale adaptée */
  padding: 0.75rem 1rem;
  text-align: center;
  white-space: normal; /* Autorise le retour à la ligne */
}


.tab-button:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 576px) {
  .tab-button {
    min-width: 120px;
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
  }

  /*.tab-button h6 {
    font-size: 0.8rem;
    line-height: 1.1rem;
  }*/
}





html, body {
  overscroll-behavior-x: contain; /* limite le scroll horizontal qui "fuit" */
}





/* Conteneur général *
.custom-accordion {
  border-radius: 0.5rem;
  overflow: visible;
}

/* Chaque question / élément *
.accordion-item {
  border: 1px solid #e0e0e0;         /* Bordure légère *
  border-radius: 0.5rem;             /* Coins arrondis *
  margin-bottom: 1.2rem;             /* Espace entre les questions *
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* Bouton *
.custom-accordion-button {
  background-color: #f7f7f7;
  color: #111;
  font-weight: 600;
  padding: 1rem 1.25rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  box-shadow: none;
  font-size: 1rem;
}

/* Hover *
.custom-accordion-button:hover {
  background-color: #ededed;
  color: #000;
}

/* Focus *
.custom-accordion-button:focus {
  box-shadow: none;
  outline: none;
}

/* État ouvert *
.accordion-button:not(.collapsed) {
  background-color: #F18719;
  color: #fff;
}

/* Corps du texte *
.accordion-body {
  background-color: #fff;
  color: #333;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Responsive *
@media (max-width: 576px) {
  .custom-accordion-button {
    font-size: 0.95rem;
    padding: 0.9rem 1rem;
  }

  .accordion-body {
    font-size: 0.9rem;
  }
}
*/





/* Conteneur général *
.custom-accordion {
  border-radius: 0.5rem;
  overflow: visible;
}

/* Chaque item *
.accordion-item {
  border: 1px solid #f3c799; /* Bordure douce orangée *
  border-radius: 0.5rem;
  margin-bottom: 1.2rem;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  background-color: #fff;
}

/* Bouton fermé *
.custom-accordion-button {
  background-color: #fef6f0;
  color: #333;
  font-weight: 600;
  padding: 1rem 1.25rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  box-shadow: none;
  font-size: 1rem;
}

/* Hover *
.custom-accordion-button:hover {
  background-color: #f9a44d;
  color: #fff;
}

/* Focus *
.custom-accordion-button:focus {
  box-shadow: none;
  outline: none;
}

/* Bouton ouvert *
.accordion-button:not(.collapsed) {
  background-color: #F18719;
  color: #fff;
}

/* Contenu *
.accordion-body {
  background-color: #fff;
  color: #333;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsive *
@media (max-width: 576px) {
  .custom-accordion-button {
    font-size: 0.95rem;
    padding: 0.9rem 1rem;
  }

  .accordion-body {
    font-size: 0.9rem;
  }
}
*/


/* Conteneur général */
.custom-accordion {
  border-radius: 0.5rem;
  overflow: visible;
}

/* Chaque item */
.accordion-item {
  border: 1px solid #0C3D5D;
  border-radius: 0.5rem;
  margin-bottom: 1.2rem;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 2px 6px #0C3D5D;
}

/* Bouton fermé */
.custom-accordion-button {
  background-color: white;
  color: #0C3D5D;
  font-weight: 600;
  padding: 1rem 1.25rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  box-shadow: none;
  font-size: 1rem;
}

/* Hover */
.custom-accordion-button:hover {
  background-color: #F18719;
  //color: white;
  color: black;
}

/* Focus */
.custom-accordion-button:focus {
  box-shadow: none;
  outline: none;
}

/* Bouton ouvert */
.accordion-button:not(.collapsed) {
  background-color: #F18719;
  //color: white;
  color: black;
}

/* Contenu */
.accordion-body {
  background-color: #fff;
  color: #0C3D5D;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.6;
  border-top: 1px solid #F18719;
}

/* Responsive */
@media (max-width: 576px) {
  .custom-accordion-button {
    font-size: 0.95rem;
    padding: 0.9rem 1rem;
  }

  .accordion-body {
    font-size: 0.9rem;
  }
}





@media (min-width: 1600px) {
  .herfo {
    padding-top: 8em;
  } 

  .top-bar {
    background-color: #0C3D5D !important;
  }
}