.global-container {
    max-width: 1920px;
    margin: 0 auto;
}

/* style.css */
/* ==================== */
/* DROPDOWN MULTI-COLONNES */
/* ==================== */
.dropdown-menu.multi-column {
    width: 600px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0.5rem;
    border: none;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    background-color: #fff;
}

.dropdown-menu.multi-column .dropdown-col {
    padding: 0.5rem;
}

.dropdown-menu.multi-column .dropdown-item {
    position: relative;
    padding: 8px 15px;
    white-space: normal;
    transition: all 0.2s ease;
    margin: 2px 0;
    color: #333;
    border-radius: 4px;
}

/* Soulignement des éléments du dropdown */
.dropdown-menu.multi-column .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #0d6efd;
    text-decoration: none;
}

.dropdown-menu.multi-column .dropdown-item:hover::after {
    content: "";
    position: absolute;
    left: 15px;
    bottom: 0;
    width: calc(100% - 30px);
    height: 2px;
    background: #0d6efd;
    animation: underline 0.3s ease;
}

/* ==================== */
/* ANIMATION DU MENU */
/* ==================== */
@media (min-width: 992px) {
    /* Affichage du dropdown au survol */
    .navbar .dropdown:hover .dropdown-menu {
        display: grid !important;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    /* Animation d'apparition */
    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
        margin-top: 0;
    }

    /* Style des liens de la navbar */
    .navbar-nav .nav-link {
        color: white;
        padding: 0.5rem 1rem;
        position: relative;
    }

    .navbar-nav .nav-link:hover {
        color: rgba(255,255,255,0.8);
    }
   
}
.navbar-1 {
    background-color:#1c25c2;
    color: white;
}
.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}
        
.navbar li {
    margin: 0 15px;
}
        
.navbar a {
    color: white;
    text-decoration: none;
}

.navbar-1 ul {
   justify-content: flex-end;
}

.navbar-2 ul {
   justify-content: center;
}

@keyframes underline {
    from { width: 0; left: 50%; }
    to { width: calc(100% - 30px); left: 15px; }
}
/* ==================== */
/* RESPONSIVE MOBILE */
/* ==================== */
@media (max-width: 991.98px) {
    /* Réinitialisation complète pour mobile */
    .dropdown-menu.multi-column {
        width: auto; /* Largeur automatique comme Bootstrap */
        display: none; /* Comportement par défaut */
        grid-template-columns: 1fr; /* Une seule colonne */
        padding: 0.5rem 0; /* Padding léger */
        position: static; /* Position normale */
        float: none; /* Pas de flottement */
        border: 1px solid rgba(0,0,0,.15); /* Bordure standard */
    }
    
    /* Réactivation du comportement Bootstrap */
    .dropdown-menu.multi-column.show {
        display: block; /* Affichage normal quand ouvert */
    }
    
    /* Suppression des styles spéciaux */
    .dropdown-menu.multi-column .dropdown-col {
        display: block; /* Affichage normal */
        padding: 0;
    }
    
    .dropdown-menu.multi-column .dropdown-item {
        padding: 0.5rem 1.5rem; /* Padding Bootstrap par défaut */
        white-space: nowrap; /* Pas de retour à la ligne */
    }
    
    /* Désactivation des effets hover sur mobile */
    .dropdown-menu.multi-column .dropdown-item:hover::after {
        display: none;
    }
    
    /* Réinitialisation des animations */
    .dropdown-menu.multi-column {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }
}

image {
    object-fit: cover;   
}
video {
  object-fit: cover;
}
.parallax-section {
    background: url(ressources/parallax.jpg) no-repeat center center fixed;
    background-size: cover;
    min-height: 60vh;  /* Utilisation de vh pour une hauteur responsive */
    width: 100%;
    margin: 0;
    padding: 2rem 0;
    position: relative;
}

/* Overlay sombre pour améliorer la lisibilité du texte (optionnel) */
.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

/* Pour que le contenu apparaisse au-dessus de l'overlay */
.parallax-section > .container-fluid {
    position: relative;
    z-index: 1;
}

/* Ajustements responsive */
@media (max-width: 768px) {
    .parallax-section {
        min-height: 50vh;
        padding: 1.5rem 0;
    }
    
    .parallax-section h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .parallax-section {
        min-height: 40vh;
    }
    
    .parallax-section h2 {
        font-size: 2rem;
    }
    
    .parallax-section .btn {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
    .parallax-section a.btn {
      display: inline-block; /* Nécessaire pour mx-auto */
      min-width: 200px; /* Largeur minimale pour éviter un bouton trop étroit */
    }

    /* Suppression des marges parasites */
    .parallax-section .btn {
      margin-left: auto;
      margin-right: auto;
    }
}
  /* Style de base */
  #je-veux {
    font-family: 'Proxima Nova', Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }

  #je-veux h2 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
  }

  .btns-consulter {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.2rem;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .btn-consulter {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background-color: white;
    color: #074b98;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    min-height: 80px;
    height: 100%;
  }
  .col-12.col-md-6.col-lg-4 {
    display: flex;
  }

  .btn-consulter:hover, .btn-consulter:focus {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    background-color:#074b98;/* couleur des boutons au survol*/
    outline: none;
  }

  .btn-consulter i {
    font-size: 1.5rem;
    color:#074b98;
    min-width: 30px;
    text-align: center;
  }

  .btn-consulter div {
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.4;
  }

  /* Changement de couleur au survol */
  .btn-consulter:hover div, 
  .btn-consulter:focus div {
    color:#eee; /* couleur du texte au survol */
  }

  .btn-consulter:hover i, 
  .btn-consulter:focus i {
    color:#eee; /* couleur des icones au survol */
  }

  /* Responsive */
  @media (max-width: 768px) {
    .btns-consulter {
      grid-template-columns: 1fr;
    }
    .btn-consulter {
      padding: 1rem;
    }
  }

  /* Animation subtile au clic */
  .btn-consulter:active {
    transform: translateY(1px);
    background-color:#063a7a ; /* Couleur plus prononcée au clic */
  }

  /* Style pour le bouton sans icône */
  .btn-consulter:has(div:only-child) {
    justify-content: center;
    text-align: center;
    background-color: #108848;
    color: white;
    font-weight: 600;
  }

  .btn-consulter:has(div:only-child):hover {
    background-color: #033f17;
  }
  
/*css du 1er bandeau de separation*/  

.fiche { transition: transform 0.3s; } /* Effet hover */
.fiche:hover { transform: scale(1.02);  text-decoration:underline;}
.fiches {
    font-family: Arial, sans-serif;
    max-width: 100%;
    margin: 0 auto;
}

.fiche {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    background-color: #eee;
}

.fiche-image img {
    width: 100%;
    height: auto;
    display: block;
}

.fiche-texte-visible {
    padding: 15px;
    background: rgba(8, 235, 76, 0.9);
    color: #333;
}

.fiche-titre h2 {
    margin: 0;
    font-size: 1.5em;
}

.fiche-info {
    font-size: 0.9em;
    color: #0f0f0f;
}

.fiche-info hr {
    border: none;
    border-top: 1px solid #686060;
    margin: 10px 0;
}

.etiquettes {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.etiquette {
    background: #f0f0f0;
    padding: 3px 0px;
    font-size: 0.8em;
}
/* fin du css du 1er bandeau de separation*/

/* css du pied de page*/
.goat {
  max-width: 250px;
  display: block;
  text-decoration: none;
  text-align: center;
  color:#eee;
  position:relative;
}

.contenu{
  max-width: 300px;
  margin: 0 auto;
}
footer ul{
  list-style-type: none;
  padding: 0;
}

/*  fin du css du pied de page*/
.chat{
  display: block;
  text-align: center;
  position: relative;
}

/* css des images rond */

div.col img{
  max-width: 130px;
  height: 130px;
  border-radius: 50%;
}

.dog {
  max-width: 250px;
  display: block;
  text-decoration: none;
  text-align: center;
  color:#eee;
  position:relative;
}

/* Conteneur des images pour positionnement relatif */
.contenu .colonnes-4 .col {
    position: relative;
    display: inline-block; /* Pour contenir les pseudo-éléments */
}

/* Effet de fond bleu semi-transparent au survol */
.dog:hover img {
    filter: brightness(0.5);
}

/* Croix blanche au survol */
.dog::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 40px;
    height: 40px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Barres de la croix */
.dog::before {
    content: "";
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 9px;
    background: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.dog::after {
    content: "";
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    width: 40px;
    height: 9px;
    background: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

/* Affichage de la croix au survol */
.dog:hover::before,
.dog:hover::after {
    opacity: 1;
}

/* Positionnement de la croix au centre de l'image */
.dog {
    position: relative;
    display: block;
}
/* fin du css des images rond*/

/* Styles pour la section des collapses */
.collapse-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Styles pour les boutons de collapse */
.collapse-btn-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 10px;
}

.collapse-btn-container button {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

/* Styles pour le contenu des collapses */
.multi-collapse {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 15px;
}

.multi-collapse .card {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Responsive pour petits écrans */
@media (max-width: 768px) {
  .collapse-btn-container button {
      font-size: 0.9rem;
      padding: 8px 12px;
  }
  
  .multi-collapse .card-body {
      padding: 15px;
      font-size: 0.9rem;
  }
}

.carousel-caption {
  color: white !important; /* Force la couleur blanche */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8); /* Améliore la lisibilité */
}

.carousel-caption h5 {
  font-size: 2rem; /* Taille augmentée pour le titre */
  font-weight: bold;
  margin-bottom: 1rem;
}

.carousel-caption .btn {
  font-size: 1.2rem;
  padding: 0.5rem 1.5rem;
}

/* Adaptation pour mobile */
@media (max-width: 768px) {
  .carousel-caption h5 {
      font-size: 1.5rem;
  }
  
  .carousel-caption .btn {
      font-size: 1rem;
      padding: 0.4rem 1.2rem;
  }
}

@media (max-width: 576px) {
  .btns-consulter {
    grid-template-columns: 1fr;
  }
}

.card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card-body {
  flex-grow: 1;
}



/* Configuration spécifique pour education.html */
.btns-education {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.btn-education {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background-color: white;
    color: #074b98;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    min-height: 80px;
    width: 100%;
}
.btns-education .col-lg-4 {
  flex: 0 0 calc(33.333% - 1rem); /* Prend en compte l'espacement */
  max-width: calc(33.333% - 1rem);
  padding: 0 0.5rem;
  margin-bottom: 1rem;
}

/* Comportement au survol spécifique à education.html */
.btn-education:hover, 
.btn-education:focus {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    background-color: #074b98;
    color: white;
}

.btn-education:hover div, 
.btn-education:hover i {
    color: white;
}

/* Responsive pour education.html */
@media (max-width: 992px) {
    .btns-education .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .btns-education .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}