/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.logo {
    display: flex;
    align-items: center; /* aligne verticalement */
    gap: 0px; /* espace entre image et texte */
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    white-space: nowrap;
}

.logo img {
    display: block; /* évite les petits décalages */
    width: 90px;
    height: 70px;
}



.nav {
    display: flex;
    gap: var(--spacing-32);
    align-items: center;
}

.nav-link {
    color: #6B7280;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 2px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-primary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: var(--spacing-24);
        border-bottom: 1px solid var(--border);
    }

    .nav.active {
        display: flex;
    }

    .nav-link {
        padding: var(--spacing-12);
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-content {
        height: auto;
        padding: var(--spacing-16);
    }

    .nav-dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        padding-left: var(--spacing-16);
    }

    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }
}

/* ===== MENU DÉROULANT "DÉCOUVRIR" ===== */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-toggle {
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
    padding: var(--spacing-12);
    color: inherit;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    min-width: 220px;
    padding: 8px;
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-link {
    display: block;
    padding: 10px 12px;
    color: #374151;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
}

.nav-dropdown-link:hover {
    background: #FFF7ED;
    color: #D9932E;
}

html[lang="ar"] .nav-dropdown-menu {
    left: auto;
    right: 0;
}
