.header-public {
    background: var(--primary);
    padding: 12px 24px;
    color: var(--white);
    box-shadow: 0 2px 4px var(--shadow);
}

.header-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    gap: 1rem;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.header-center .tagline {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
    margin: 0;
}

.header-right {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* Boutons header */
.btn-login {
    border: 1px solid var(--white);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 0.92rem;
    transition: background 0.15s, color 0.15s;
}

.btn-login:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-contact {
    background: var(--white);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: background 0.15s, color 0.15s;
}

.btn-contact:hover {
    background: var(--primary-light);
    color: var(--white);
}

@media (max-width: 900px) {
    .header-center {
        display: none;
    }
}

@media (max-width: 520px) {
    .header-container {
        padding: 0 8px;
    }

    .btn-login,
    .btn-contact {
        padding: 6px 10px;
        font-size: 0.85rem;
    }
}
