/* =========================================
   HELLO BAR MODERN SAAS (PREMIUM)
   ========================================= */
.hello-bar-modern {
    position: fixed; top: 0; left: 0; width: 100%;
    background: #0B0F19; color: #E2E8F0; height: 50px; 
    display: flex; align-items: center; justify-content: center;
    z-index: 10000; font-family: var(--font-body), sans-serif;
    font-size: 0.9rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hello-bar-inner {
    display: flex; align-items: center; justify-content: center;
    width: 100%; max-width: 1400px; padding: 0 15px;
}

.hb-scroller {
    display: flex; align-items: center; justify-content: flex-start;
    flex: 1; min-width: 0; overflow: hidden; white-space: nowrap;
    -webkit-mask-image: linear-gradient(to right, transparent, black 24px, black calc(100% - 24px), transparent);
    mask-image: linear-gradient(to right, transparent, black 24px, black calc(100% - 24px), transparent);
}

.hb-marquee-track {
    display: flex; align-items: center;
    width: max-content; flex-shrink: 0;
    animation: helloBarMarquee 24s linear infinite;
    will-change: transform;
}

/* 1. Badge & Texte */
.hb-badge {
    background: linear-gradient(90deg, #2563EB 0%, #8B5CF6 100%); color: #FFFFFF;
    padding: 3px 10px; border-radius: 50px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 6px; margin-right: 12px;
}
.hb-text {
    font-weight: 600; color: #FACC15; display: inline-flex; align-items: center;
    width: max-content; flex-shrink: 0; padding-right: 56px;
}
.hb-text strong { color: #FEF3C7; font-weight: 800; margin: 0 5px; /* ESPACE AUTOUR DES VARIABLES */ }

/* 2. Timer (Desktop) */
.hb-timer-modern { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.hb-time { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.15); padding: 3px 6px; border-radius: 6px; display: flex; align-items: baseline; gap: 2px; color: #FFFFFF; font-weight: 700; font-variant-numeric: tabular-nums; }
.hb-time small { font-size: 0.6rem; color: #94A3B8; font-weight: 600; }
.hb-sep { color: #64748B; font-weight: 700; margin: 0 2px; }

body.admin-bar .hello-bar-modern { top: 32px; }

/* --- RESPONSIVE MOBILE (LA MAGIE DU SCROLL) --- */
@media screen and (max-width: 782px) { 
    body.admin-bar .hello-bar-modern { top: 46px; } 
}

@media (max-width: 900px) {
    .hb-hide-mobile { display: none; } /* Cache le timer */
    
    .hello-bar-inner {
        padding: 0 15px;
    }
    
    .hb-scroller {
        -webkit-mask-image: linear-gradient(to right, transparent, black 15px, black calc(100% - 15px), transparent);
        mask-image: linear-gradient(to right, transparent, black 15px, black calc(100% - 15px), transparent);
    }
    
    .hb-marquee-track {
        animation-duration: 15s;
    }
    
}

@keyframes helloBarMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
