/* ==========================================================================
   QR-Facture — En-tête / navigation partagés
   Une seule source de vérité pour toutes les pages du site.
   Classes préfixées .site-* pour ne pas entrer en conflit avec les
   styles inline propres à chaque page.
   ========================================================================== */

.site-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.site-header .bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.85rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.site-header .brand {
    font-size: 1.4rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.site-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin: 0;
}

.site-nav a:hover {
    text-decoration: underline;
}

.site-nav a.site-cta,
.site-cta {
    background: #fff;
    color: #667eea;
    padding: 0.55rem 1.25rem;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.site-cta:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.site-burger {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    line-height: 1;
}

@media (max-width: 768px) {
    .site-burger {
        display: block;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #764ba2;
        padding: 0.5rem 0 1rem;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a {
        padding: 0.9rem 24px;
    }

    .site-nav a:hover {
        background: rgba(255, 255, 255, 0.1);
        text-decoration: none;
    }

    .site-cta {
        margin: 0.75rem 24px 0;
        text-align: center;
    }
}
