/* Style de base pour la barre des partenaires */
.partenaires-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: white;
    border-top: 3px solid #e63946;
    padding: 12px 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.partenaires-bar.hidden {
    transform: translateY(100%);
    opacity: 0;
}

.partenaires-bar .container {
    position: relative;
    overflow: hidden;
}

/* Effet de défilement */
.marquee {
    display: flex;
    align-items: center;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: flex;
    align-items: center;
    animation: marquee-scroll 40s linear infinite;
}

/* Pause au survol pour meilleure expérience utilisateur */
.marquee:hover .marquee-content {
    animation-play-state: paused;
}

/* Animation de défilement */
@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Style du message */
.message-item {
    display: inline-flex;
    align-items: center;
    margin-right: 80px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 50px;
    border-left: 4px solid #e63946;
    border-right: 4px solid #e63946;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.message-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.15) 0%, rgba(255, 255, 255, 0.15) 100%);
}

/* Icônes de Noël */
.santa-icon {
    display: inline-block;
    font-size: 1.8rem;
    margin: 0 15px;
    animation: santa-bounce 2s infinite ease-in-out;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

@keyframes santa-bounce {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-5px) rotate(5deg);
    }
}

/* Style du texte */
.message-text {
    font-weight: 700;
    text-transform: uppercase;
    color: #e63946;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Bouton de fermeture */
.close-bar-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: #e63946;
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    box-shadow: 0 3px 8px rgba(230, 57, 70, 0.3);
    transition: all 0.3s ease;
}

.close-bar-btn:hover {
    background: #d62828;
    transform: translateY(-50%) scale(1.1);
}

/* Indicateur de nouveaux messages */
.new-message-indicator {
    position: absolute;
    top: -8px;
    left: 15px;
    background: #2a9d8f;
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    animation: pulse 2s infinite;
    box-shadow: 0 2px 5px rgba(42, 157, 143, 0.4);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Responsive design */
@media (max-width: 992px) {
    .message-text {
        font-size: 1rem;
    }

    .message-item {
        margin-right: 50px;
        padding: 6px 15px;
    }

    .santa-icon {
        font-size: 1.5rem;
        margin: 0 10px;
    }
}

@media (max-width: 768px) {
    .message-text {
        font-size: 0.9rem;
    }

    .message-item {
        margin-right: 30px;
        padding: 5px 12px;
    }

    .santa-icon {
        font-size: 1.3rem;
        margin: 0 8px;
    }

    .close-bar-btn {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .partenaires-bar {
        padding: 8px 0;
    }

    .message-text {
        font-size: 0.8rem;
    }

    .marquee-content {
        animation-duration: 30s;
    }
}