@import "bootstrap/dist/css/bootstrap.min.css";

:root {
  --bs-primary: #9522FF;
  /* Changer la couleur principale */
  --bs-secondary: #421198;
  --bs-yellow: #FFC519;
  --bs-pink: #FF1938;
  --bs-red: #B8001C;
}


body,


ul,
h1,
h2,
h3,
h4 {
  font-family: "Readex Pro",
    sans-serif;
}

a,
h5,
.btn,
p,
li {
  font-family: "MuseoModerno",
    sans-serif;
}

.btn-primary {
  background-color: var(--bs-primary);
  border: none;
  border-radius: 12px;
  font-weight: 500;
}

.btn-primary:hover {
  background-color: var(--bs-yellow);
}

/* HEADER */

.navbar-nav .nav-link {
  position: relative;
  transition: color 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
  color: var(--bs-primary) !important;
}

.navbar-nav .nav-link::after {
  content: "";
  display: block;
  width: 90%;
  height: 3px;
  background-color: var(--bs-yellow);
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
  position: absolute;
  left: 10px;
}

.navbar-nav .nav-link:hover::after {
  transform: scaleX(1);
}



/* SECTION 1 - DEVENEZ L'UNE */

/* TEXTE (GRISÉ) SOUS LE H1 */
.sous-titre {
  font-family: "MuseoModerno",
    sans-serif !important;
}

.text-muted {
  color: rgba(255, 255, 255, 0.677) !important;
}


/* Champs du formulaire */
.form-control {
  background-color: #2c023b;
  border: 1px solid #a535fc;
  color: white;
}

/* Section image */
.image-section {
  display: flex;
  justify-content: center;
  position: relative;
}

.image-section img {
  max-width: 100%;
  height: 500px;
  padding-top: 3em;
  margin-bottom: -50px;
}



/* CARROUSEL */
.logo-carousel-container {
  width: 100%;
  overflow: hidden;
  background: white;
  border-radius: 15px;
  padding: 15px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-carousel {
  display: flex;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}

.logo-track {
  display: flex;
  gap: 40px;
  animation: scrollLogos 20s linear infinite;
}

@keyframes scrollLogos {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.logo-track img {
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-track::after {
  content: "";
  display: flex;
  gap: 40px;
}



/*ASSOS PHRASE JAUNE*/

.text-jaune {
  gap: 20px;
}

.assos {
  color: var(--bs-yellow);
}







/* SECTION 2 - VIBLY, LA PLATEFORME */

.lead {
  font-size: 18px;
  font-family: "MuseoModerno",
    sans-serif;
}

.btn {
  border-radius: 12px;
}






/* SECTION 3 - VIBLY, VOTRE PARTENAIRE */

.image-section3 {
  display: flex;
  justify-content: center;
  margin-top: 0;
}

.image-section3 img {
  width: 140% !important;
}

.texte-section3 {
  width: 100%;
  padding: 0 3em;
}

/* --- Ligne de séparation --- */
.custom-separator {
  border: none;
  height: 4px;
  background-color: var(--bs-primary);
  filter: drop-shadow(3px 3px 6px var(--bs-primary));
  opacity: 1 !important;
  width: 100%;
}

/* --- Icône centrée sur le hr --- */
.separator {
  position: relative;
  display: flex;
  justify-content: center;
}

.separator-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 5px;
}


/* SECTION 4 - ILS TRAVAILLENT DEJA AVEC NOUS */


/* Section Partenaires */
.partners-section {
  background-color: #ffffff;
}

/* Titre */
.section-title {
  color: var(--bs-secondary);
}

/* Section Partenaires */
.partners-section {
  background-color: #ffffff;
}

/* Titre */
.section-title {
  color: var(--bs-secondary);
}

/* Conteneur des éléments */
.partner-card {
  position: relative;
  text-align: center;
  padding: 2px;
}

/* Harmonise la hauteur des images dans les cartes partenaires */
.partner-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}


/* Texte en dessous des images et vidéos */
.partner-text {
  margin-top: 10px;
  font-size: 16px;
  color: #000000;
}


/* Conteneur des éléments */
.partner-card {
  position: relative;
  text-align: center;
  padding: 2px;
}

/* Texte en dessous des images et vidéos */
.partner-text {
  margin-top: 10px;
  font-size: 16px;
  color: #000000;
}

/* Vidéo responsive */
.video {
  width: 100%;
  height: 250px;
}






/* SECTION FOOTER */


/* Newsletter */
.newsletter {
  background-color: var(--bs-primary);
  color: white;
  padding: 30px;
  text-align: center;
  border-radius: 10px;
  width: 70%;
  margin: 0 auto;
  position: relative;
  top: -50px;
  z-index: 10;
}

/* Style du bouton de la newsletter */
.btn-newsletter {
  background-color: white;
  border: 2px solid white;
  padding: 10px 18px;
  font-weight: bold;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.btn-newsletter:hover {
  background-color: transparent;
}

.text-btn-nl {
  color: var(--bs-primary) !important;
}

.text-btn-nl:hover {
  color: white !important;
}


/* Footer */
.footer {
  padding: 20px 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}


/* Liens du footer */
.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 0;
}

.footer-links li {
  display: inline;
}

/* Effet hover pour les liens du footer */
.footer-links a {
  display: inline-block;
  text-decoration: none;
  color: white;
  position: relative;
  transition: color 0.3s ease-in-out;
  text-align: center;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 3px;
  background-color: var(--bs-yellow);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease-in-out;
}

.footer-links a:hover::after {
  transform: scaleX(1);
}


.footer-links a:hover {
  color: var(--bs-primary);
}


/* Bouton de retour en haut */
.scroll-top-btn {
  background-color: transparent;
  border: none;
  padding: 12px;
  width: 90px;
  height: 70px;
  cursor: pointer;
  transition: 0.3s;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.scroll-top-btn img {
  width: 50px;
  height: auto;
}







/* REPONSIVE 768 */
@media (max-width: 768px) {

  /* Section Partenaires */
  .partners-section {
    background-color: #ffffff;
  }

  /* Titre */
  .section-title {
    color: var(--bs-secondary);
  }

  /* Section Partenaires */
  .partners-section {
    background-color: #ffffff;
  }

  /* Titre */
  .section-title {
    color: var(--bs-secondary);
  }

  /* Conteneur des éléments */
  .partner-card {
    position: relative;
    text-align: center;
    padding: 2px;
  }

  /* Texte en dessous des images et vidéos */
  .partner-text {
    margin-top: 10px;
    font-size: 16px;
    color: #000000;
  }

  /* Conteneur des éléments */
  .partner-card {
    position: relative;
    text-align: center;
    padding: 2px;
  }

  /* Texte en dessous des images et vidéos */
  .partner-text {
    margin-top: 10px;
    font-size: 16px;
    color: #000000;
  }

  /* Vidéo responsive */
  .video {
    width: 100%;
    height: 250px;
  }

  .partner-card img,
  .partner-card iframe {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
  }
  

  .section-vibly h2 {
    font-size: 1.5rem;
  }

  .section-vibly p {
    font-size: 1rem;
  }

  .section-vibly ul li {
    font-size: 0.95rem;
  }




  /* SECTION FOOTER */

  .newsletter {
    width: 100%;
    position: static;
    top: 0;
    margin-bottom: 20px;
    border-radius: 0 !important;
  }

  .footer {
    flex-direction: column;
    gap: 20px;
    position: relative;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .scroll-top-btn {
    position: static;
    transform: none;
    margin-top: 20px;
  }

}




/* RESPONSIVE */

@media (max-width: 991px) {
  .image-section {
    display: none;
  }

  .section-2 {
    text-align: center;
  }

  .section-communication .row {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .texte-section3 {
    text-align: center;
    padding: 0 1.5em;
  }

  /* Modification de l'ordre des colonnes */
  .col-md-6 {
    order: 1;
  }

  .image-section3 {
    order: 2 !important;
    margin-top: 20px;
  }

  .image-section3 img {
    width: 50% !important;
  }







  @media (max-width: 991px) {
    .partners-section .row > div {
      width: 100%;
    }
  
    .partner-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      margin-bottom: 30px;
    }
  
    .partner-text {
      order: -1;
      margin-bottom: 15px;
    }
  
    .partner-card img,
    .partner-card iframe {
      width: 100%;
      height: 220px;
      object-fit: cover;
      border-radius: 8px;
    }
  }
}