body {
  margin: 0;
  font-family: 'Merriweather', serif;
  color: #333;
  line-height: 1.6;
}

.Liions, .logo h1 {
  font-family: 'Bona Nova SC', serif;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo h1 {
  font-size: 1.8rem;
  color: #2c3e50;
}

.logo-image {
  width: 100px;
  height: 100px;
}

/* Nav Bar */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  background-color: #f8f8f8;
  position: relative;
}

.nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #f9f9f9;
  padding: 10px 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav li {
  position: relative;
}

.nav a {
  text-decoration: none;
  color: #333;
  padding: 10px 20px;
  display: inline-block;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #007BFF;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 4px;
  background-color: #007BFF;
  transition: width 0.3s ease;
}

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

.nav-left {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-left li {
  position: relative;
}

.nav-left a {
  text-decoration: none;
  color: #33a3;
  padding: 10px 20px;
  display: inline-block;
  transition: color 0.3s ease;
}

.nav-left a:hover {
  color: #007BFF;
}

.nav-left a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 4px;
  background-color: #007BFF;
  transition: width 0.3s ease;
}

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

.nav-right {
  display: flex;
  align-items: center;
}	

.icon-link {
  text-decoration: none;
  color: #333;
  margin-left: 20px;
  font-size: 24px;
  position: relative;
  padding: 5px;
  display: inline-block;
  transition: color 0.3s ease;
}

.icon-link:hover {
  color: #007BFF;
}

.icon-link:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 4px;
  background-color: #007BFF;
  transition: width 0.3s ease;
}

/* Menu déroulant (Dropdown) */
.has-dropdown .dropdown {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  visibility: hidden;
  opacity: 0;
  z-index: 10;
  min-width: 200px;
}

.has-dropdown .dropdown li {
  display: block;
  list-style: none;
}

.has-dropdown .dropdown a {
  display: block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
}

.has-dropdown .dropdown a:hover {
  display: block;
  background-color: #f9f9f9;
  color: #007BFF;
}

.has-dropdown:hover .dropdown {
  display: block;
  visibility: visible;
  opacity: 1;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  background-color: #f9f9f9;
}

.header .logo h1 {
  font-size: 1.5rem;
  color: #2c3e50;
}

.header .nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
}

.header .nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem 0;
  background-color: #2c3e50;
  color: #fff;
}

.footer a {
  color: #1abc9c;
  text-decoration: none;
  margin: 0 0.5rem;
}


/* Responsive Design */
@media (max-width: 1024px) {
  .features-grid {
    flex-wrap: wrap;
    justify-content: center;
  }
  .feature-item {
    width: 45%;
    margin: 10px;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    flex-direction: column;
    width: 100%;
  }
  .nav.active {
    display: flex;
  }
  .nav-left, .nav-right {
    flex-direction: column;
    width: 100%;
  }
  .nav-left li, .nav-right {
    width: 100%;
    text-align: center;
  }
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero-text, .hero-image {
    max-width: 100%;
  }
  .has-dropdown .dropdown {
    position: static;
    display: none;
    width: 100%;
  }
  .has-dropdown:hover .dropdown {
    display: block;
  }
}

@media (max-width: 480px) {
  .logo h1 {
    font-size: 1.2rem;
  }
  .logo-image {
    width: 60px;
    height: 60px;
  }
  .feature-item {
    width: 100%;
  }
  #searchBar.active {
    width: 150px;
  }
  .has-dropdown {
    position: relative;
  }

  .has-dropdown .dropdown {
    display: none; /* Caché par défaut */
    position: static;
    width: 100%;
    background: transparent;
    box-shadow: none;
    border: none;
    padding-left: 15px;
    opacity: 1;
    visibility: visible;
    transition: none;
  }

  .has-dropdown.active .dropdown {
    display: block; /* Affiché quand actif */
    animation: fadeIn 0.3s ease;
  }

  .has-dropdown .dropdown li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
  }

  .has-dropdown .dropdown a {
    color: #333;
    padding: 8px 0;
    display: block;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* Correction spécifique pour 480px */
  .has-dropdown .dropdown {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 0 0 15px !important;
    background: transparent !important;
  }

  .has-dropdown .dropdown li {
    padding: 8px 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
  }

  /* Reset des animations problématiques */
  .has-dropdown .dropdown {
    animation: none !important;
    transition: none !important;
  }
}


.div-cliquable {
    display: block;
    text-decoration: none;
    color: inherit;
  }
  .votre-contenu {
    padding: 20px;
    border: 1px solid #ddd;
    transition: transform 0.3s;
  }
  .div-cliquable:hover .votre-contenu {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  
