/* ================================================================================= */
/* ====================== STYLES AMÉLIORÉS POUR LES SECTIONS DU MEGA MENU ============== */
/* ================================================================================= */

/* Amélioration de la grille des sections */
.sections-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 colonnes au lieu de 3 pour une meilleure utilisation de l'espace */
  gap: 20px;
  padding: 20px 0;
  width: 100%;
  max-width: 1350px;
  margin: 0 auto;
}

/* Style amélioré pour chaque section */
.section {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 15px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Effet de survol sur les sections */
.section:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Style amélioré pour les titres de section */
.section h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Style des icônes dans les titres */
.section h3 i {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

/* Effet de survol sur les icônes */
.section:hover h3 i {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.2);
}

/* Style des liens dans les titres */
.section h3 a {
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  flex: 1;
}

.section h3 a:hover {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

/* Style amélioré pour les listes */
.section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Style des éléments de liste */
.section ul li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 15px;
}

/* Ajout d'un indicateur avant chaque élément de liste */
.section ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.2em;
}

/* Style des liens dans les listes */
.section ul li a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  display: inline-block;
}

/* Effet de survol sur les liens */
.section ul li a:hover {
  color: white;
  transform: translateX(3px);
}

/* Style amélioré pour les bannières en haut */
.bannieres-haut {
  display: flex;
  gap: 20px;
  justify-content: center;
  padding: 20px 0;
  width: 100%;
  max-width: 1350px;
  margin: 0 auto;
}

/* Style des bannières individuelles */
.banniere {
  width: 370px;
  height: 270px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.4s ease;
  overflow: hidden;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Effet de survol sur les bannières */
.banniere:hover {
  transform: scale(1.03);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  color: white;
  cursor: pointer;
}

/* Effet de brillance au survol */
.banniere::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  transition: all 0.7s ease;
  opacity: 0;
}

.banniere:hover::after {
  opacity: 1;
  transform: rotate(30deg) translate(50%, 50%);
}

/* Style amélioré pour les bannières en bas */
.bannieres-bas {
  display: flex;
  gap: 30px;
  justify-content: center;
  padding: 20px 0;
  width: 100%;
  max-width: 1350px;
  margin: 0 auto;
}

/* Style des bannières en bas */
.bannieres-bas .banniere {
  width: 555px;
  height: 259px;
}

/* Responsive pour tablettes */
@media (max-width: 1200px) {
  .sections-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Responsive pour petites tablettes */
@media (max-width: 992px) {
  .sections-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .bannieres-haut {
    flex-wrap: wrap;
  }
  
  .bannieres-haut .banniere {
    width: calc(50% - 15px);
    height: 200px;
  }
  
  .bannieres-bas .banniere {
    width: calc(50% - 15px);
    height: 200px;
  }
}

/* Responsive pour mobiles */
@media (max-width: 768px) {
  .sections-wrapper {
    grid-template-columns: 1fr;
  }
  
  .bannieres-haut .banniere,
  .bannieres-bas .banniere {
    width: 100%;
    height: 180px;
  }
}
