@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");

:root {
  --primary-color: #2887ff;
  --primary-color-dark: #2476da;
  --text-dark: #0a0a0a;
  --text-light: #737373;
  --extra-light: #f3f4f6;
  --white: #ffffff;
  --max-width: 1200px;
}

*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 3rem 1rem;
}

.section__header {
  margin-bottom: 5px;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
}

.section__description {
  max-width: 600px;
  margin-inline: auto;
  color: var(--text-light);
  text-align: center;
}

.btn {
  padding: 0.75rem 1.5rem;
  outline: none;
  border: none;
  font-size: 1rem;
  white-space: nowrap;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 5rem;
  transition: 0.3s;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--primary-color-dark);
}

.logo {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-dark);
}

img {
  display: flex;
  width: 100%;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

ul {
  list-style: none;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
}

nav {
  position: fixed;
  isolation: isolate;
  top: 0;
  width: 100%;
  z-index: 9;
}

.nav__header {
  padding: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--primary-color);
}

.nav__logo .logo {
  font-size: 1.5rem;
  color: var(--white);
}

.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

.nav__links {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  background-color: var(--primary-color);
  transition: transform 0.5s;
  z-index: -1;
}

.nav__links.open {
  transform: translateY(100%);
}

.nav__links a {
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}

.nav__links a:hover {
  color: var(--text-dark);
}

.nav__btns {
  display: none;
	 color: var(--white)
}
.nav__btns .btn a {
    color: var(--white);
}

.nav__logo .logo i {
    /* Assure que l'icône s'aligne verticalement avec le texte */
    vertical-align: middle; 
    /* Ajoute un petit espace entre l'icône et le texte */
    margin-right: 5px; 
    /* Règle la taille de l'icône si nécessaire (ex: si le logo est plus petit que le texte par défaut) */
    font-size: 1.2rem; 
}

 header{
  margin-top: 5rem;
    padding-inline: 1rem;
    position: relative; /* Conteneur principal */
    overflow: hidden;
}
header::before{
  position:absolute;
  content: "";
  height: 100%;
  width: calc(100% - 2rem);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url(img/background6.jpg); /* Ancien background */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 3rem;
  z-index: -1;
} 
.header__container{
  display: grid;

}
.header__content{
  padding: 4rem 1rem ;
}


  .header__content p{
    margin-bottom: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
  }
  .header__content h1{
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 2.5rem;
    text-align: center;
	  background-color: rgba(255, 255, 255, 0.8);
	  padding: 15px;
	   border-radius: 5px;
	  color: #000;
  }


  .header__btns{
    display:flex ;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
  }
  .header__btns .btn{
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
  }
.header__btns a {
  padding: 9px 13px;
  font-size: 1,5rem;
  color: var(--primary-color);
  background-color: var(--white);
  border-radius:100% ;
}
.header__btns a:hover{
color: var(--white);
background-color: var(--primary-color);
}

.destination__container :is(.section__header, .section__description){
  text-align: left;
  margin-inline-start: unset;
}

  .destination__grid{
  margin-top: 4rem;
  display: grid;
  gap: 2rem 1rem;

}
.destination__card img {
  border-radius: 1.5rem;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}  


 /* .destination__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
}



.destination__card img {
  width: 80%;
  margin-left: 43px;
  height: 250px;
  border-radius: 1.5rem;
  object-fit: cover;
}  */



.destination__card__details{
  padding:1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;


}
.destination__card__details h4{
margin-bottom: 5px;
font-size: 1.2rem;
font-weight: 600;
columns: var(--text-dark);
}
.destination__card__details p{
  columns: var(--text-light);
}
.destination__ratings{
  padding: 5px 10px;
  font-size: 0.9rem;
  white-space: nowrap;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 1rem;
  transition: 0.3s;
}

.destination__card:hover .destination__ratings{
  background-color: var(--primary-color-dark);
}

.journey__grid{
  margin-top: 2rem;
  display: grid;
  gap: 0 1rem;
}

.journey__card{
  position: relative;
  isolation: isolate;
  padding-top: 4rem;
  overflow: hidden;
}

.journey__card__bg{
  padding: 2rem;
  background-color:var(--extra-light) ;
  border-bottom-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.journey__card__bg span{
  display: inline-block;
  margin-bottom: 4rem;
  font-size: 1.75rem;
  color: var(--primary-color);
}

.journey__card__bg h4{
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.journey__card__content{
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 2rem;
  background-color: var(--primary-color);
  border-bottom-left-radius: 1rem;
   border-bottom-right-radius: 1rem;
   transition: 0.3s;
}
  .journey__card:hover .journey__card__content{
    top: 0;
  }

  .journey__card__content span{
    display: inline-block;
    margin-bottom: 1rem;
    padding: 7px 9px;
    font-size: 1rem;
    border: 2px solid var(--white);
    color: var(--white);
    border-radius: 100%;
  }

  .journey__card__content h4{
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    color:var(--white);
  }

  .journey__card__bg p{
   color: var(--extra-light);
  }

  .showcase__container{
    display: grid;
    gap: 2rem;
    overflow: hidden;
  }
  
  .showcase__image img{
    max-width: 400px;
    margin-inline: auto;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
  }

  .showcase__content h4{
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
  }

  .showcase__content p{
    margin-bottom: 1rem;
    color: var(--text-light);
  }

  .showcase__content .btn{
    width: 100%;
    margin-top: 2rem;
    padding: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    background-image: url(img/showcase2.jpeg);
    background-size: cover;
    background-position: center center;
    background-repeat: repeat;
    border-radius: 5px;
  }

  .banner__container{
    display: grid;
    grid-template-columns: 1fr;
    justify-content: space-around;
    gap: 20px;
    padding: 50px 20px;
  }

  .banner__card{
    /*padding: 2rem 1rem;
    text-align: center;
    background-color: var(--extra-light);
    border-radius: 2rem;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);*/
	  background-color: #D4EAF3; /* Fond bleu ciel très léger */
    padding: 25px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    /* Transition pour une animation fluide */
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
  }

  .banner__card h4{
    color: #007bb6;
    font-size: 2rem;
    margin-bottom: 5px;
    font-weight: 700;
  }

  .banner__card p{
    color: #4a4a4a;
    font-size: 1rem;

  }
.banner__card:hover {
    transform: translateY(-5px); /* Élève légèrement la carte */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); /* Ombre plus marquée */
}

  .discover__grid {
  margin-top: 4rem;
  display: grid;
  gap: 2rem;
}

.discover__card {
  padding: 2rem 1rem;
  text-align: center;
  transition: 0.3s;
  border-radius: 1rem;
}

.discover__card:hover {
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
}

.discover__card span {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 10px 15px;
  font-size: 1.5rem;
  color: var(--primary-color);
  background-color: rgba(40, 135, 255, 0.1);
  border-radius: 100%;
}

.discover__card h4 {
  max-width: 150px;
  margin-inline: auto;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
}

.destination__card p {
  color: var(--text-light);
}

footer {
  background-color: var(--extra-light);
}

.footer__container {
  display: grid;
  gap: 4rem 2rem;
}

.footer__col p {
  max-width: 300px;
  margin-block: 2rem;
  color: var(--text-light);
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__socials a {
  display: inline-block;
  padding: 7px 10px;
  font-size: 1.25rem;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 100%;
}

.footer__socials a:hover {
  background-color: var(--primary-color-dark);
}

.footer__col h4 {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.footer__links {
  display: grid;
  gap: 1rem;
}

.footer__links a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
}

.footer__links a:hover {
  color: var(--primary-color);
}

.footer__links a span {
  font-size: 1.25rem;
}

.footer__col form {
  display: grid;
  gap: 1rem;
}

.footer__col input {
  padding: 0.75rem;
  font-size: 1rem;
  color: var(--text-dark);
  background-color: var(--white);
  border: 1px solid var(--text-light);
  border-radius: 5px;
}

.footer__col input::placeholder {
  color: var(--text-light);
}

.footer__col .btn {
  border-radius: 5px;
}

.footer__bar {
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: center;
}

/* Cache l'ancienne grille si elle était encore présente */
.discover__grid {
    display: none; 
}

/* Conteneur de la grille de produits */
.product-gallery-grid {
    display: grid;
    /* 3 colonnes de taille égale */
    grid-template-columns: repeat(3, 1fr); 
    /* Espace entre les cartes */
    gap: 20px; 
    /* Centrage de la grille si le conteneur parent est large */
    max-width: 1200px; 
    margin: 40px auto; /* Marge au-dessus et en-dessous de la grille, et centrage */
    padding: 0 20px; /* Petit padding sur les côtés pour mobile */
}

/* Style de chaque carte produit */
.product-card {
    background-color: #fff; /* Fond blanc */
    border-radius: 10px; /* Coins légèrement arrondis */
    overflow: hidden; /* Assure que l'image ne dépasse pas les bords arrondis */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Ombre douce */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transition pour l'animation au survol */
    cursor: pointer; /* Indique que la carte est interactive */
    border: 1px solid #e0f2f7; /* Bordure fine bleu ciel */
}

/* Animation au survol */
.product-card:hover {
    transform: translateY(-8px); /* Lève légèrement la carte */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* Ombre plus prononcée */
}

/* Conteneur de l'image */
.product-image {
    width: 100%;
    /* Rend l'image carrée ou adapte sa taille */
    height: 200px; /* Hauteur fixe pour toutes les images */
    overflow: hidden;
    display: flex; /* Pour centrer l'image */
    justify-content: center;
    align-items: center;
    background-color: #f0f8ff; /* Bleu ciel très léger pour le fond des images */
}

.product-image img {
    width: 100%; /* L'image prend toute la largeur du conteneur */
    height: 100%; /* L'image prend toute la hauteur du conteneur */
    object-fit: cover; /* Recadre l'image pour qu'elle couvre le conteneur sans se déformer */
    display: block; /* Supprime l'espace sous l'image */
}

/* Bloc d'informations sous l'image */
.product-info {
    padding: 15px;
    text-align: center;
    background-color: #e0f7fa; /* Fond légèrement bleu ciel pour l'info */
    min-height: 120px; /* Hauteur minimale pour les descriptions */
    display: flex; /* Pour aligner le contenu */
    flex-direction: column;
    justify-content: center;
}

.product-info h3 {
    margin-top: 0;
    margin-bottom: 8px;
    color: #007bb6; /* Bleu plus foncé pour le titre */
    font-size: 1.3rem;
}

.product-info p {
    color: #4a4a4a; /* Couleur de texte plus foncée */
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* ==================================== */
/* 2. Styles de la nouvelle section Histoire */
/* ==================================== */
.history__container {
    /* Utilise les mêmes marges et padding que les autres sections */
    padding: 5rem 1rem; 
}

/* Styles du conteneur Swiper */
.history-swiper {
    width: 100%;
    height: 300px;
    margin-top: 4rem;
    border-radius: 1rem;
    overflow: hidden;
}

/* Styles de chaque diapositive/image */
.history-swiper .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.history-swiper .swiper-slide img {
    /* Assure que l'image couvre l'espace sans se déformer */
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Styles des boutons de navigation (Flèches) */
.history-swiper .swiper-button-next,
.history-swiper .swiper-button-prev {
    color: var(--white);
    background-color: rgba(0, 0, 0, 0.5);
    padding: 25px 15px;
    border-radius: 5px;
    transition: 0.3s;
}

.history-swiper .swiper-button-next:hover,
.history-swiper .swiper-button-prev:hover {
    background-color: var(--primary-color);
}

/* Styles de la pagination (points en bas) */
.history-swiper .swiper-pagination-bullet-active {
    background: var(--primary-color);
}

/* ==================================== */
/* Styles de la section Localisation (Maps) */
/* ==================================== */

.location__container {
    /* Utilise les mêmes marges et padding que les autres sections */
    padding: 5rem 1rem; 
}

/* Conteneur de la carte pour s'assurer qu'elle prend bien toute la place */
.map__embed {
    width: 100%;
    margin-top: 3rem; /* Espace entre le titre et la carte */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Ajout d'une ombre discrète */
    border-radius: 1rem; /* Assure que le conteneur a aussi des coins arrondis */
    overflow: hidden; /* Empêche l'iframe de déborder du conteneur arrondi */
}

/* Sur les grands écrans, assurez-vous que la carte est centrée */
@media (width > 768px) {
    .map__embed {
        max-width: var(--max-width); /* Utilise la largeur maximale définie dans :root */
        margin-left: auto;
        margin-right: auto;
    }
}
@media (width > 768px) {
    .history-swiper {
        height: 450px;
        max-width: var(--max-width);
    }
}

@media (max-width: 992px) {
    .product-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .banner__container {
        grid-template-columns: repeat(2, 1fr);
    }

    .section__header {
        font-size: 2rem;
    }

    .section__container {
        padding: 3rem 1rem;
    }

    .history-swiper {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .product-gallery-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .product-image {
        height: 180px;
    }

    .product-info {
        min-height: 100px;
    }

    .product-info h3 {
        font-size: 1.1rem;
    }

    .product-info p {
        font-size: 0.85rem;
    }

    .banner__container {
        grid-template-columns: 1fr;
    }

    .banner__card h4 {
        font-size: 1.8rem;
    }

    .section__header {
        font-size: 1.5rem;
    }

    .section__description {
        font-size: 0.9rem;
    }

    .header__btns .btn {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }

    .footer__container {
        padding: 3rem 1rem;
    }

    .section__container {
        padding: 2rem 1rem;
    }

    .destination__card__details h4 {
        font-size: 1rem;
    }

    .destination__card__details p {
        font-size: 0.9rem;
    }

    .journey__card__bg h4,
    .journey__card__content h4 {
        font-size: 1rem;
    }

    .journey__card__content p {
        font-size: 0.9rem;
    }

    .showcase__content p {
        font-size: 0.95rem;
    }

    .history-swiper {
        height: 250px;
    }

    .logo {
        font-size: 1.3rem;
    }

    .nav__logo .logo {
        font-size: 1.2rem;
    }
}

@media (width > 540px) {
  .destination__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .journey__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .banner__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .discover__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__col:last-child {
    grid-area: 2/1/3/2;
  }

  .section__header {
    font-size: 2.2rem;
  }

  .header__content h1 {
    font-size: 2.5rem;
    line-height: 3rem;
  }

  .section__container {
    padding: 4rem 1rem;
  }
}
  @media(width > 768px) {
    nav {
      position: static;
      padding: 2rem 1rem;
      max-width: var(--max-width);
      margin-inline: auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 2rem;
    }
    .nav__header{
      flex: 1;
      padding: 0;
      background-color: transparent;
    }
    .nav__logo .logo{
      color: var(--text-dark);
    }
    .nav__menu__btn{
      display: none;
    }
.nav__links{
  position: static;
  width: fit-content;
  padding: 0;
  flex-direction: row;
  background-color: transparent;
  transform: none !important;
}

.nav__links a{
  color: var(--text-dark);
}

.nav__links a:hover{
  color: var(--primary-color);
}

.nav__links li:last-child{
  display: none;
}

.nav__btns{
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.nav__btns .button{
  padding: 75rem 2rem;
  background-color: var(--text-dark);
}
header{
  margin-top: 0;
}
.header__container{
  grid-template-columns:
  minmax(0 ,1fr)
repeat(5, minmax(0, calc(var(--max-width)/ 5)))
minmax(0, 1fr) ;
}
.header__content{
grid-column: 2/4;
padding-block: 8rem;
}
.header__content :is(p, h1){
  text-align: left;
}
.header__content h1 {
  font-size: 3.5rem;
  line-height: 4rem;
  padding: 20px;
}
.header__content p {
  font-size: 1rem;
}
.header__btns{
  justify-content: flex-start;
}
.header__btns .btn {
  padding: 1rem 2rem;
  font-size: 1rem;
}
.header__image{
  grid-column: 4.5/8;
  position: relative;
  isolation: isolate;
  height: 100%;
}
.header__image img{
  position: absolute;
  top: 2rem;
  left: 0;
  height: 100%;
  width: unset;
}
.destination__grid{
  grid-template-columns: repeat(3, 1fr);
}
.journey__grid{
  grid-template-columns: repeat(3, 1fr);
}
.showcase__container{
  grid-template-columns: repeat(2, 1fr);
}

.showcase__content{
  grid-column: unset;
}

.showcase__content h4 {
  font-size: 2.5rem;
}

.banner__container{
  grid-template-columns: repeat(3, 1fr);
}

.banner__card h4 {
  font-size: 2.5rem;
}

.discover__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__container {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }

  .footer__col:last-child {
    grid-area: unset;
  }

  .section__header {
    font-size: 2.5rem;
  }
}
  
  @media (width > 1200px) {
  .header__content {
    padding-inline: 1rem 0;
  }

  .header__content h1 {
    font-size: 4.5rem;
    line-height: 5.5rem;
  }

  .destination__grid {
    gap: 2rem;
  }

  .showcase__content h4 {
    font-size: 3rem;
  }

  .section__header {
    font-size: 2.5rem;
  }

  .section__container {
    padding: 5rem 1rem;
  }
}

/* ==================================== */
/* Styles de la bande défilante (Ticker) */
/* ==================================== */
.top-ticker {
    position: fixed; /* Assure que le ticker reste en haut de la page */
    top: 0;
    left: 0;
    width: 100%;
    height: 35px; /* Hauteur de la bande */
    background-color: var(--text-dark); /* Fond noir */
    color: var(--white); /* Texte blanc */
    z-index: 100; /* Assure qu'il est au-dessus de la navigation */
    overflow: hidden; /* Cache le contenu qui dépasse */
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 500;
}

.ticker-content {
    display: flex;
    width: fit-content; /* Permet au contenu de s'étendre */
    animation: marquee 20s linear infinite; /* Lance l'animation */
}

.ticker-content p {
    white-space: nowrap; /* Empêche le texte de passer à la ligne */
    padding-right: 50px; /* Espace entre les messages répétés */
}

/* ==================================== */
/* Keyframes de l'animation de défilement */
/* ==================================== */
@keyframes marquee {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%); /* Défile de la moitié de la largeur du contenu */
    }
}

/* ==================================== */
/* Styles du Menu Déroulant (Dropdown) */
/* ==================================== */

/* 1. Conteneur principal du menu déroulant (Desktop) */
@media (width > 768px) {
    /* Rend l'élément parent 'Activités' essentiel pour positionner le sous-menu */
    .has-dropdown {
        position: relative; 
    }

    /* Le conteneur du sous-menu */
    .dropdown-menu {
        position: absolute;
        top: 100%; /* Début du menu juste sous le lien parent */
        left: -10px; /* Petit décalage pour l'esthétique */
        min-width: 300px; /* Largeur pour les longs textes */
        padding: 10px 0;
        background-color: var(--white); /* Fond blanc comme les autres éléments du site */
        border: 1px solid var(--extra-light);
        border-radius: 5px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Ombre douce */
        opacity: 0; /* Caché par défaut */
        visibility: hidden; /* Rend l'élément non cliquable quand il est caché */
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
        transform: translateY(10px); /* Petit décalage initial pour l'animation */
        z-index: 10;
        list-style-type: none; /* S'assurer qu'il n'y a pas de points */
    }

    /* 2. Affichage au survol */
    .has-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0); /* Animation d'apparition */
    }

    /* 3. Styles des éléments du sous-menu */
    .dropdown-menu li {
        padding: 0; /* Suppression du padding par défaut */
    }
    
    .dropdown-menu li a {
        display: block; /* Prend toute la largeur de l'élément parent */
        padding: 8px 15px; /* Padding interne pour le clic */
        color: var(--text-dark); /* Couleur du texte normal */
        font-weight: 500;
        text-align: left;
    }

    /* Effet au survol du lien dans le sous-menu */
    .dropdown-menu li a:hover {
        background-color: var(--extra-light); /* Fond légèrement gris au survol */
        color: var(--primary-color); /* Couleur primaire du site */
    }

    /* Style des titres de catégorie ('À titre principal', 'À titre secondaire') */
    .dropdown-header {
        padding: 10px 15px 5px;
        font-weight: 700;
        color: var(--primary-color-dark); /* Couleur du site */
        text-transform: uppercase;
        font-size: 0.8rem;
        border-bottom: 1px solid var(--extra-light);
        margin-bottom: 5px;
        margin-top: 10px;
    }
    .dropdown-header:first-child {
        margin-top: 0;
    }
}


/* ==================================== */
/* Styles du Menu Déroulant (Mobile) */
/* ==================================== */

@media (max-width: 768px) {
    /* Le sous-menu est toujours affiché en mobile car le menu principal est en colonne */
    .dropdown-menu {
        padding-left: 20px; /* Décalage pour montrer que ce sont des sous-éléments */
        list-style-type: none;
        width: 100%; /* Prend la largeur du conteneur nav__links */
        margin-top: 0.5rem; /* Espace après le titre "Activités" */
    }

    .has-dropdown > a {
        margin-bottom: 0.5rem;
    }
    
    .dropdown-header {
        color: var(--text-dark); 
        font-weight: 700;
        text-transform: none;
        padding: 0;
        margin-top: 0.5rem;
    }
    .dropdown-header:first-child {
         margin-top: 0;
    }

    .dropdown-menu li a {
        padding: 5px 0;
        font-size: 0.9rem;
        color: var(--white); /* Devrait s'adapter à nav__links a */
        font-weight: 500;
        /* Aucun besoin d'effet hover spécifique en mobile, le style par défaut est suffisant */
    }

    /* Ajustement de la couleur du lien principal pour le mobile */
    .nav__links li a {
        color: var(--white); /* Couleur du menu mobile par défaut */
    }
    
    /* Cache l'icône de flèche en mobile si elle est gênante */
    .has-dropdown a i {
        display: none;
    }
}