/* ══════════════════════════════════════════
   BANDEAU TICKER ACTUALITÉS — COSSEF
   Fichier : css/bandeau.css
══════════════════════════════════════════ */

.bandeau-wrapper {
    width: 100%;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 998;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}

.bandeau-ticker {
    background: linear-gradient(135deg, #0D47A1, #1565C0);
    display: flex;
    align-items: center;
    height: 40px;
    overflow: hidden;
    border-bottom: 2px solid rgba(255, 215, 0, 0.4);
}

.ticker-label {
    background: #FFD700;
    color: #0D47A1;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    flex-shrink: 0;
    z-index: 2;
}

.ticker-track {
    flex: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
}

.ticker-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: ticker-scroll 45s linear infinite;
    will-change: transform;
}

.ticker-item {
    color: rgba(255, 255, 255, 0.95);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0 28px;
    cursor: default;
    transition: color 0.2s;
}

.ticker-item:hover {
    color: #FFD700;
}

.ticker-sep {
    color: rgba(255, 215, 0, 0.5);
    font-size: 0.7rem;
    flex-shrink: 0;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .ticker-label {
        padding: 0 10px;
        font-size: 0.7rem;
    }
    .ticker-item {
        font-size: 0.78rem;
        padding: 0 18px;
    }
}