/* 
 * Design System : Réussite Allemagne Pro 
 * Animations subtiles & Effets visuels Premium
 */

:root {
    --ambre-reussite: #D97706;
    --bleu-nuit: #1E293B;
}

/* 1. Animations d'entrée (Fade & Lift) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-reveal {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 2. Effet de lévitation (Floating) */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* 3. Lueur subtile (Soft Glow) */
.hover-glow:hover {
    box-shadow: 0 0 20px rgba(217, 119, 6, 0.3);
    transition: box-shadow 0.3s ease;
}

.dark .hover-glow:hover {
    box-shadow: 0 0 25px rgba(217, 119, 6, 0.15);
}

/* 4. Scaling au survol */
.hover-scale {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hover-scale:hover {
    transform: scale(1.03);
}

/* 5. Pulse discret pour les badges */
@keyframes pulse-soft {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.animate-pulse-soft {
    animation: pulse-soft 3s infinite ease-in-out;
}

/* 6. Transitions de thème */
body {
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* 7. Glassmorphism avancé */
.glass-premium {
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.dark .glass-premium {
    background-color: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
