:root{
  --main-color: #004386;
}

/* H2 et balises <i> utilisent la couleur principale */
h2, i{
  color: var(--main-color);
}

/* Les puces des listes utilisent la couleur principale */
li {
  list-style-type:var(--main-color);
}

/* Définir l'image héro comme 80% de la hauteur de la fenêtre avec un contenu masqué en overflow */
.hero-image {
  height: 80vh;
  overflow: hidden;
}

/* S'assurer que l'image s'adapte bien */
.object-cover {
  object-fit: cover;
}

/* Overlay de texte avec positionnement absolu */
.text-overlay {
  width: 100%;
  position: absolute;
  top: 20%;
}

/* Utilisation de la police "Mulish" */
.mulish {
  font-family: "Mulish", sans-serif;
  font-style: normal;
}

/* Couleur grise pour le lien de contact */
.contact-link {
  color: grey;
}

/* Changement de couleur au survol d'un lien personnalisé */
.link-custom:hover {
  color: var(--main-color);
}

/* Fond personnalisé avec un dégradé */
.bg-custom {
  background: linear-gradient(70deg, #004386, #004386);
}

/* Bouton personnalisé avec un changement de transformation et de couleur au survol */
.btn-custom {
  background-color: #004386;
  color: white;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-custom:hover {
  background-color: #004386;
  color: white;
  transform: scale(1.1);
}

/* Ombre personnalisée */
.shadow-custom {
  box-shadow: 10px 5px 5px lightgray;
}

/* Responsivité de la carte (Google Maps ou autre iframe) */
.map-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #f0f0f0;
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Taille de police pour le titre de la barre de navigation */
#title_navbar {
  font-size: 15px;
}

/* Couleur blanche pour les mentions légales */
.mention_legales {
  color: white;
}

/* Changement de couleur au survol des mentions légales */
.mention_legales:hover {
  color: black;
}

/* Lien retour avec couleur blanche et sans soulignement */
.retour_link {
  color: white;
  text-decoration: none;
}

/* Positionnement et débordement de l'arrière-plan pour la section mentions légales */
.background-mentions {
  position: relative;
  overflow: hidden;
}

/* Fond avec opacité pour la section mentions légales */
.background-mentions::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("images/Falicon.svg");
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: -1;
}

/* Justification du texte */
.text-justify {
  text-align: justify;
}

/* Animation de texte caché */
.text-overlay-hidden {
  opacity: 0;
  transform: translateY(100px);
  transition: all 1s ease;
}

/* Animation de texte visible */
.text-overlay-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animation cachée */
.animate-hidden {
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  transition-delay: 0.3s;
}

/* Animation visible */
.animate-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

/* Responsive (pour les petites résolutions d'écran) */

/* Ajustement du titre de la barre de navigation pour les écrans inférieurs à 350px */
@media (max-width: 350px) {
  #title_navbar {
    font-size: 13px;
  }
}

/* Ajustement du titre de la barre de navigation pour les écrans entre 767px et 991px */
@media (min-width: 767px) and (max-width: 991px) {
  #title_navbar {
    font-size: 25px;
  }
}

/* Styles pour les grands écrans (supérieurs à 992px) */
@media (min-width: 992px) {
  h3 {
    font-size: 2.5rem;
  }

  section p {
    font-size: 1.3rem;
  }


  .navbar-brand {
    font-size: 1.5rem;
  }

  .hero-section {
    height: 100vh;
    position: relative;
  }

  .hero-section img {
    height: 100%;
    object-fit: cover;
  }

  .text-overlay {
    top: 40%;
    left: 50%;
    transform: translate(-50%, -40%);
    text-align: center;
  }

  .text-overlay h1 {
    font-size: 4rem;
  }

  .text-overlay p {
    font-size: 1.5rem;
  }

  .about-section img {
    max-height: 70vh;
    width: 100%;
    object-fit: cover;
    border-radius: 5px;
  }

  .team-section img {
    max-height: 70vh;
    width: 100%;
    object-fit: cover;
    border-radius: 5px;
  }

  #title_navbar {
    font-size: 35px;
  }
}

.img-heure {
  width: 3% !important;
  height: 6vh;
  cursor: pointer;
  transition: filter 0.3s ease;
}

.img-heure.active {
  filter: brightness(50%);
  -webkit-filter: brightness(50%);
}

.card_glass {
  position: relative;
  backdrop-filter: blur(10px);
  border: 1px solid #ffffff1a;
  background-color: rgba(255, 255, 255, 0.15);
  background-clip: padding-box;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px,
      rgba(0, 0, 0, 0.22) 0px 15px 12px;
  border-radius: 20px;
  padding: 10px 20px 10px 20px;
}

.card_glass::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
  border-radius: 20px;
  background: linear-gradient(to right,
          rgb(255 255 255 / 76%),
          rgb(255 255 255 / 21%));
  border-bottom: 7px solid #f8f9fa;
  border: 1px solid #ffffff69;
  border-bottom: 7px solid #f8f9fa;
}

.vr {
  color: #fff;
  width: 2px;
  height: 47px;
  margin-top: -10px;
  margin-left: 1%;
}