/**
 * ═══════════════════════════════════════════════════════════════════════════
 * FLOATING DONATE BUTTON + HEADER DONATE BUTTON
 * ═══════════════════════════════════════════════════════════════════════════
 * 
 * OBJECTIF :
 * Styles pour le bouton de donation flottant (footer) et le bouton header.
 * Ce fichier est chargé en dernier — il écrase les règles génériques de
 * style.css (a[class*="btn-"]) qui imposent le gradient rose→violet.
 * 
 * FONCTIONNALITÉS :
 * - Bouton fixe en bas à droite (footer)
 * - Bouton centré dans le header
 * - Animation pulse sur l'icône
 * - Responsive (texte caché sur mobile)
 * - Hover effects
 * 
 * ═══════════════════════════════════════════════════════════════════════════
 */

/* ─────────────────────────────────────────────────────────────────────────
   BOUTON FAIRE UN DON — HEADER
   Chargé après style.css pour écraser a[class*="btn-"] (gradient rose→violet)
   ─────────────────────────────────────────────────────────────────────────
*/
.btn-donate-header,
a.btn-donate-header,
a[class*="btn-"].btn-donate-header {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 1.1rem 2.2rem !important;
    background: linear-gradient(135deg, #ff6fb1, #ff4d94) !important;
    border: 2px solid transparent !important;
    border-radius: 30px !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    min-height: 56px !important;
    box-shadow: 0 6px 20px rgba(255, 111, 177, 0.5) !important;
    transition: all 0.3s ease !important;
}

.btn-donate-header:hover,
a.btn-donate-header:hover,
a[class*="btn-"].btn-donate-header:hover {
    background: linear-gradient(135deg, #ff4d94, #ff2d7a) !important;
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 0 10px 30px rgba(255, 111, 177, 0.7) !important;
    color: #fff !important;
    opacity: 1 !important;
    text-decoration: none !important;
}

/* Masquer le texte sur très petits écrans, garder l'icône */
@media (max-width: 480px) {
    .btn-donate-header span:last-child {
        display: none !important;
    }
    .btn-donate-header {
        min-width: 36px !important;
        padding: 0.45rem 0.6rem !important;
        min-height: auto !important;
    }
}

.floating-donate-button {
    position: fixed !important;
    bottom: 20px !important;
    right: 0 !important;
    width: 300px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 1000 !important;
    pointer-events: none !important;
}

.btn-floating-donate {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    background: linear-gradient(135deg, #ff6fb1, #ff4d94) !important;
    border: 2px solid transparent !important;
    border-radius: 30px !important;
    color: white !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 20px !important;
    box-shadow: 0 6px 20px rgba(255, 111, 177, 0.5) !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px) !important;
    pointer-events: auto !important;
    min-width: 220px !important;
    padding: 1.1rem 2.2rem !important;
}

.btn-floating-donate:hover {
    background: linear-gradient(135deg, #ff4d94, #ff2d7a) !important;
    transform: translateY(-4px) scale(1.08) !important;
    box-shadow: 0 10px 30px rgba(255, 111, 177, 0.7) !important;
    color: white !important;
}

.floating-donate-icon {
    font-size: 1.5rem !important;
    animation: pulse 2s ease-in-out infinite !important;
}

.floating-donate-text {
    font-size: 1rem !important;
    font-weight: 700 !important;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

@media (max-width: 992px) {
    .floating-donate-button {
        right: 20px !important;
        width: auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    .btn-floating-donate {
        padding: 0.8rem 1.5rem !important;
        font-size: 1rem !important;
        min-width: 160px !important;
    }
}

@media (max-width: 768px) {
    .floating-donate-button {
        bottom: 15px !important;
        height: auto !important;
        width: auto !important;
        right: 15px !important;
        padding: 0 !important;
    }
    .btn-floating-donate {
        padding: 0.8rem 1.2rem !important;
        font-size: 0.9rem !important;
        min-width: auto !important;
    }
    .floating-donate-text {
        display: none !important;
    }
    .floating-donate-icon {
        font-size: 1.8rem !important;
    }
}
