* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

:root {
  --primary: #eae200;
  --secondary: #030304;
  --gray: #c6c6c6;
}

body {
  background-color: #f8f8f8;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header styles */
header {
  background-color: var(--primary);
  padding: 10px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-image {
  width: 120px; /* Augmenté pour plus de visibilité */
  height: 60px; /* Augmenté pour plus de visibilité */
  margin-right: 15px;
  background-color: transparent; /* Suppression de l'arrière-plan */
  border-radius: 0; /* Suppression de l'effet circulaire si souhaité */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -9px;
}

.logo-image img {
  width: 100%; /* Utilisation complète de l'espace disponible */
  height: 100%; /* Utilisation complète de l'espace disponible */
  object-fit: contain; /* Conserve les proportions du logo */
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-links li {
  margin-left: 30px;
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 600;
  font-size: 16px;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.nav-links a:hover {
  color: rgba(0, 0, 0, 0.7);
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  bottom: -5px;
  left: 0;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Dropdown menus */
.dropdown {
  position: relative;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 2;
  background-color: white;
  min-width: 220px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  border-radius: 8px;
  padding: 10px 0;
  margin-top: 5px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  color: var(--secondary);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
}

.dropdown-content a:hover {
  background-color: var(--primary);
}

/* Nested dropdown */
.nested-dropdown {
  position: relative;
}

.nested-dropdown-content {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background-color: white;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 1002;
  border-radius: 8px;
}

.nested-dropdown:hover .nested-dropdown-content {
  display: block;
}

/* User menu */
.user-icon {
  font-size: 22px;
  color: var(--secondary);
  cursor: pointer;
}

.menu-btn {
  display: none;
  cursor: pointer;
  font-size: 24px;
  color: var(--secondary);
}

/* Footer */
footer {
  background-color: var(--secondary);
  padding: 80px 0 30px;
  color: white;
}

.footer-logo-image {
  width: 120px; /* Augmenté pour plus de visibilité */
  height: 60px; /* Augmenté pour plus de visibilité */
  margin-right: 15px;
  background-color: transparent; /* Suppression de l'arrière-plan */
  border-radius: 0; /* Suppression de l'effet circulaire si souhaité */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -10px;
  margin-left: -9px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 50px;
}

.footer-column {
  flex: 0 0 calc(25% - 30px);
  margin-bottom: 30px;
}

footer img {
  width: 90px;
  background-color: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--gray);
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  color: white;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--primary);
  color: var(--secondary);
  transform: translateY(-3px);
}

.footer-title {
  font-weight: 700;
  font-size: 1.2rem;
  color: white;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background-color: var(--primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.footer-links a i {
  margin-right: 8px;
  font-size: 0.8rem;
  color: var(--primary);
  transition: all 0.3s ease;
}

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

.footer-links a:hover i {
  transform: translateX(3px);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-text {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
}

.copyright {
  font-size: 0.9rem;
  color: var(--gray);
}

.copyright a {
  color: var(--primary);
  text-decoration: none;
}
/* Cibler uniquement le dropdown avec l'icône utilisateur */
.nav-links li:last-child .dropdown-content {
  right: 0;
  left: auto;
}

/* Style pour le texte d'introduction */
.intro-text {
  text-align: center;
  margin-bottom: 100px;
}

.intro-text p {
  font-style: italic;
  max-width: 800px;
  margin: 0 auto;
}
/* Responsive Styles - Header et Menu Mobile uniquement */
/* Responsive Styles */

@media (max-width: 992px) {
  /* Menu Mobile */
  .menu-btn {
    display: block;
    transition: transform 0.3s;
  }

  .menu-btn.active {
    transform: rotate(90deg);
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--primary);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-links li {
    margin: 15px 0;
    width: 100%;
  }

  .nav-links a {
    padding: 12px 0;
    width: 100%;
    font-size: 18px;
    color: var(--secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* Dropdowns en jaune */
  .dropdown-content {
    position: static;
    display: none;
    width: 100%;
    background-color: white;
    margin-top: 10px;
    padding-left: 15px;
    border-left: 3px solid var(--secondary);
  }

  .nested-dropdown-content {
    position: static;
    margin-left: 15px;
    background-color: white;
    border-left: 3px solid var(--secondary);
  }

  .dropdown.active .dropdown-content,
  .nested-dropdown.active .nested-dropdown-content {
    display: block;
  }

  .dropdown > a .fa-chevron-down,
  .nested-dropdown > a .fa-chevron-right {
    transition: transform 0.3s;
  }

  .dropdown.active > a .fa-chevron-down {
    transform: rotate(180deg);
  }

  .nested-dropdown.active > a .fa-chevron-right {
    transform: rotate(90deg);
  }

  /* Footer Responsive */
  .footer-content {
    flex-direction: column;
  }

  .footer-column {
    flex: 0 0 100%;
    margin-bottom: 30px;
  }

  .footer-column:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  /* Ajustements supplémentaires pour tablettes */
  .footer-column {
    flex: 0 0 calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  /* Ajustements mobiles */
  .logo-image {
    width: 100px;
    height: 50px;
  }

  .nav-links {
    top: 70px;
    height: calc(100vh - 70px);
  }

  .footer-column {
    flex: 0 0 100%;
  }

  .footer-logo-image {
    width: 100px;
    height: 50px;
  }
}
/* -------- Sous-menus version mobile -------- */
@media (max-width: 768px) {
  /* Sous-menu conteneur */
  .dropdown-content,
  .nested-dropdown-content {
    background-color: var(--white);
    border-left: 3px solid var(--primary);
    padding: 5px 0;
  }

  /* Liens des sous-menus */
  .dropdown-content a,
  .nested-dropdown-content a {
    display: flex;
    align-items: center;
    gap: 8px; /* espace pour icône éventuelle */
    padding: 12px 15px;
    color: var(--black);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease, padding-left 0.3s ease;
  }

  /* Effet hover comme sur PC */
  .dropdown-content a:hover,
  .nested-dropdown-content a:hover {
    background-color: var(--primary-light);
    padding-left: 20px; /* petit mouvement à gauche */
  }

  /* Séparation subtile entre éléments */
  .dropdown-content a + a,
  .nested-dropdown-content a + a {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
  }

  /* Amélioration de la flèche dans les menus ouverts */
  .dropdown.open > a i,
  .nested-dropdown.open > a i {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
  }
}
