/* ===== HEADER GLOBAL ===== */
.header-area {
   font-family: "Inter", "Poppins", sans-serif;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(6px);
  width: 100%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.3s ease;
}

/* Logo */
.nav-logo {
  width: 66px;
  height: auto;
  transition: transform 0.3s ease;
}
.nav-logo:hover {
  transform: scale(1.05);
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 40px;
}

/* Liens de navigation */
.navbar ul {
  display: flex;
  gap: 35px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 1rem;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.3s ease;
}

.navbar a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #00b050;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar a:hover {
  color: #00b050;
}

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

/* ===== RESEAUX ===== */
#logo-reseaux {
  display: flex;
  align-items: center;
  gap: 15px;
}

.reseaux-sociaux {
  width: 35px;
  height: 35px;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.reseaux-sociaux:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* ===== BURGER MENU ===== */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 22px;
  cursor: pointer;
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1100;
}

.burger-menu div {
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animation du menu burger actif */
.burger-menu.active div:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.burger-menu.active div:nth-child(2) {
  opacity: 0;
}

.burger-menu.active div:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .header-area {
    padding: 0 30px;
  }

  .burger-menu {
    display: flex;
  }

  .navbar ul {
    position: absolute;
    top: 72px;
    right: 0;
    background: rgba(0, 0, 0, 0.98);
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    display: none;
    animation: fadeIn 0.3s ease forwards;
  }

  .navbar ul.active {
    display: flex;
  }

  .navbar a {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .header-area {
    height: 70px;
    padding: 10px 16px;
  }
  .nav-logo {
    width: 50px;
  }
  #logo-reseaux {
    display: none;
  }
  .navbar {
    flex: 0 0 auto;
  }
  .navbar ul {
    top: 70px;
    padding: 18px 0 22px;
    z-index: 999;
  }
  .burger-menu {
    right: 16px;
  }
}

@media (max-width: 480px) {
  .nav-logo {
    width: 46px;
  }

  .navbar a {
    font-size: 0.9rem;
  }
}

/* Animation d'apparition */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
