/* Bouton flottant */
#newsletter-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #652574;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9998;
    transition: transform 0.3s, background 0.3s;
}

#newsletter-floating-btn:hover {
    transform: scale(1.1);
    background: #652574;
}

/* Overlay */
#newsletter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

#newsletter-overlay.active {
    display: block;
}

/* Popup */
#newsletter-popup {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 360px;
    max-width: 90vw;
    background: #fff;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    animation: popupSlideIn 0.3s ease;
}

#newsletter-popup.active {
    display: block;
}

@keyframes popupSlideIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Bouton fermer */
#newsletter-close {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    line-height: 1;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

#newsletter-close:hover {
    color: #000;
}

#newsletter-popup h3 {
    margin: 0 0 15px;
    font-size: 18px;
}
