/* ================= HEADER STYLES ================= */
.main-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--slate-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

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

/* Marque / Logo */
.header-logo-title a {
    color: var(--slate-900);
}

.header-logo {
    height: 32px;
    width: auto;
}

.app-title {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--slate-900);
    margin-inline-start: 0.5rem;
}

/* Navigation outils connectés */
.header-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.header-nav .nav-link {
    color: var(--slate-600);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    transition: color 0.15s ease;
}

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

/* Actions à droite */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
}

.lang-btn {
    font-weight: 700 !important;
    font-size: 0.88rem;
    color: var(--slate-700) !important;
    padding: 0.3rem 0.5rem;
}

.nav-btn-link {
    color: var(--slate-700) !important;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.4rem 0.6rem;
}

.btn-action-signup {
    padding: 0.45rem 1rem !important;
    font-size: 0.9rem !important;
    border-radius: 6px;
}

/* ================= ADAPTATION MOBILE (< 576px) ================= */
@media (max-width: 576px) {
    .header-content {
        padding: 0.6rem 0.85rem;
    }

    .header-logo {
        height: 26px;
    }

    .app-title {
        font-size: 0.95rem;
    }

    .header-actions {
        gap: 0.25rem;
    }

    .lang-btn {
        font-size: 0.8rem;
        padding: 0.2rem 0.3rem;
    }

    .nav-btn-link {
        font-size: 0.82rem;
        padding: 0.2rem 0.4rem;
        white-space: nowrap;
    }

    .btn-action-signup {
        font-size: 0.8rem !important;
        padding: 0.35rem 0.65rem !important;
        white-space: nowrap;
    }
}
