  .site-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e2e8f0;
  }

  .nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 40px;
  }

  .logo img {
    height: 45px;
    width: auto;
    transition: transform 0.3s;
  }

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

  .nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
    flex: 1;
  }

  .nav-links a {
    color: #2d3748;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
    position: relative;
  }

  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2C5F2D;
    transition: width 0.3s;
  }

  .nav-links a:hover {
    color: #2C5F2D;
  }

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

  /* Zone utilisateur */
  .user-zone {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .auth-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
  }

  .btn-login {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    color: #2d3748;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
  }

  .btn-login:hover {
    border-color: #2C5F2D;
    color: #2C5F2D;
    background: #f0fdf4;
  }

  .btn-register {
    padding: 10px 24px;
    background: linear-gradient(135deg, #2C5F2D 0%, #1A3318 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 10px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(44, 95, 45, 0.2);
  }

  .btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 95, 45, 0.3);
  }

  /* Menu utilisateur */
  .user-menu {
    position: relative;
  }

  .user-menu-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
  }

  .user-menu-button:hover {
    border-color: #2C5F2D;
    background: #f7fafc;
  }

  .user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2C5F2D 0%, #4a7c59 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
    overflow: hidden;
  }

  .user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .user-name-display {
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dropdown-icon {
    transition: transform 0.3s;
  }

  .user-menu-button.active .dropdown-icon {
    transform: rotate(180deg);
  }

  /* Dropdown */
/* Trouvez cette classe dans style_header.css */
.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 9999; /* ✅ AUGMENTER CE NOMBRE */
}

  .user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .dropdown-header {
    padding: 20px;
  }

  .dropdown-user-info {
    display: flex;
    gap: 12px;
    align-items: center;
  }

  .dropdown-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2C5F2D 0%, #4a7c59 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
    overflow: hidden;
  }

  .dropdown-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .dropdown-user-details {
    flex: 1;
    min-width: 0;
  }

  .dropdown-user-name {
    font-weight: 700;
    color: #1a202c;
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dropdown-user-email {
    font-size: 13px;
    color: #718096;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dropdown-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 0 12px;
  }

  .dropdown-links {
    padding: 12px 0;
  }

  .dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #2d3748;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
  }

  .dropdown-link:hover {
    background: #f7fafc;
    color: #2C5F2D;
  }

  .dropdown-link svg {
    flex-shrink: 0;
  }

  .admin-only {
    background: linear-gradient(90deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    margin: 8px 12px;
    border-radius: 8px;
    padding: 12px 16px;
  }

  .admin-only:hover {
    background: linear-gradient(90deg, #fde68a 0%, #fcd34d 100%);
  }

  .logout-link {
    color: #dc2626;
    margin-top: 4px;
  }

  .logout-link:hover {
    background: #fef2f2;
    color: #b91c1c;
  }

  /* Menu burger mobile */
  .mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
  }

  .mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #2d3748;
    border-radius: 3px;
    transition: all 0.3s;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  /* Responsive */
  @media (max-width: 1200px) {
    .nav-links {
      gap: 20px;
    }

    .nav-links a {
      font-size: 14px;
    }
  }

  @media (max-width: 1024px) {
    .mobile-menu-toggle {
      display: flex;
    }

    .nav-links {
      position: fixed;
      top: 70px;
      left: 0;
      right: 0;
      background: white;
      flex-direction: column;
      padding: 20px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
      transform: translateX(-100%);
      transition: transform 0.3s;
    }

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

    .nav-links a::after {
      display: none;
    }

    .user-name-display {
      display: none;
    }
  }

  @media (max-width: 480px) {
    .nav-container {
      padding: 0 15px;
    }

    .logo img {
      height: 35px;
    }

    .btn-login {
      padding: 8px 12px;
      font-size: 13px;
    }

    .btn-login svg {
      display: none;
    }

    .btn-register {
      padding: 8px 16px;
      font-size: 13px;
    }

    .user-dropdown {
      width: calc(100vw - 30px);
      right: -10px;
    }
  }