/* === BANDEAU HAUT === */
.top-bar {
  background: linear-gradient(to right, #444, #000);
  padding: 0.3rem 0;
  color: #fff;
  font-size: 0.9rem;
  font-family: 'Segoe UI', sans-serif;
}

.top-bar-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  align-items: center;
}

.top-bar-icon {
  width: 16px;
  height: 16px;
  margin-right: 0.5rem;
}

.top-bar-right a {
  margin-left: 1rem;
  display: inline-block;
}

.top-bar-right img {
  height: 18px;
  width: 18px;
}

.top-bar-right a:hover {
  opacity: 0.6;
}

/* === HEADER PRINCIPAL === */
.header-container {
  width: 100%;
  background: linear-gradient(to right, #f7f9f7, #ffffff);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  position: relative;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0.8rem;
  transition: transform 0.3s ease;
}

.logo img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e0f2e9;
  background-color: white;
}

.logo span {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1c2c23;
  font-family: 'Segoe UI', sans-serif;
}

.logo:hover {
  transform: scale(1.05);
}

/* === NAVIGATION === */
.navigation {
  display: flex;
  gap: 2.5rem;
}

.navigation a {
  color: #2e3d2f;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s ease;
  font-family: 'Segoe UI', sans-serif;
}

.navigation a::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #4caf50;
  position: absolute;
  bottom: -4px;
  left: 0;
  transition: width 0.3s ease;
}

.navigation a:hover {
  color: #4caf50;
}

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

/* === MENU BURGER === */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0.3rem;
}

.burger span {
  width: 25px;
  height: 3px;
  background: #1c2c23;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Effet de croix */
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem;
    gap: 1rem;
    display: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  }

  .navigation.active {
    display: flex;
  }

  .header-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .top-bar-content {
    flex-direction: row;
    align-items: center;
    text-align: center;
    padding: 0.5rem 1rem;
    gap: 0.4rem;
  }

  .top-bar-left,
  .top-bar-right {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
  }

  .top-bar-left span {
    font-size: 0.9rem;
  }

  .top-bar-icon {
    width: 16px;
    height: 16px;
  }

  .top-bar-right img {
    height: 20px;
    width: 20px;
  }

  .top-bar {
    font-size: 0.85rem;
    padding: 0.6rem 0;
  }
}

