/* ═══════════════════════════════════════════════════════════════
   Sylvania — Global Premium Topbar (Visibility Optimized)
   ═══════════════════════════════════════════════════════════════ */

.global-topbar {
    background: rgba(0, 0, 0, 0.95); /* Plus sombre pour faire ressortir les couleurs */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-bottom: 2px solid rgba(197, 160, 89, 0.5); /* Bordure plus visible */
    padding: 8px 0;
    position: relative;
    z-index: 10000; /* Toujours au-dessus de tout */
    width: 100%;
}

.topbar-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Language Switcher in Topbar ── */
.topbar-lang-switcher {
    display: flex;
    gap: 15px;
    align-items: center;
}

.topbar-lang-flag {
    font-size: 1.4rem; /* Plus grand pour être immanquable */
    text-decoration: none;
    opacity: 1; /* Pleine visibilité par défaut */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: none; /* Suppression du gris, couleurs pleines */
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
}

.topbar-lang-flag:hover {
    transform: scale(1.3);
}

.topbar-lang-flag.active {
    border-bottom: 3px solid #C5A059;
    padding-bottom: 2px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .topbar-content {
        justify-content: center;
    }
    .topbar-lang-flag {
        font-size: 1.6rem; /* Envie de plus gros sur mobile */
    }
}
