/* ===== ANIMATIONS ET AMÉLIORATIONS AVANCÉES ===== */
/* Fichier dédié pour les animations et effets visuels avancés */

/* Animation d'apparition des cartes de valeurs */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.value-card {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.value-card:nth-child(1) { animation-delay: 0.1s; }
.value-card:nth-child(2) { animation-delay: 0.3s; }
.value-card:nth-child(3) { animation-delay: 0.5s; }

/* Effet de brillance sur les cartes - CORRIGÉ pour éviter la disparition */
@keyframes shine {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.98) !important; /* Fond plus stable */
    border-color: #D4AF37 !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

/* Animation de pulsation pour les icônes */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.value-card i {
    animation: pulse 2s infinite ease-in-out !important;
}

.value-card:hover i {
    animation: none !important;
    transform: scale(1.2) !important;
    transition: transform 0.3s ease !important;
}

/* Amélioration de l'espacement et de la hiérarchie visuelle */
.featured-section h2 {
    margin-bottom: 30px !important;
    text-align: center !important;
    width: 100% !important;
}

.featured-section p {
    margin-bottom: 25px !important;
    text-align: center !important;
    width: 100% !important;
}

.featured-section strong {
    margin-bottom: 40px !important;
    text-align: center !important;
    width: 100% !important;
}

/* Responsive avancé */
@media (max-width: 768px) {
    .value-card {
        animation-delay: 0.1s !important;
    }
    
    .featured-section h2 {
        margin-bottom: 20px !important;
        padding: 10px 15px !important;
        font-size: 1.3rem !important;
    }
    
    .featured-section p {
        margin-bottom: 15px !important;
        font-size: 1rem !important;
    }
    
    .featured-section strong {
        margin-bottom: 25px !important;
        font-size: 1rem !important;
    }
} 