/* Réglages de la police */
@font-face {
    font-family: 'League Spartan';
    src: url('../fonts/LeagueSpartan-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'League Spartan';
    src: url('../fonts/LeagueSpartan-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'League Spartan';
    src: url('../fonts/LeagueSpartan-Black.ttf') format('truetype');
    font-weight: 900;
    font-display: swap;
}
html { font-size: 18px } /* Police League Spartan plus petite */
html, body {
    font-family: 'League Spartan', sans-serif;
    font-weight: 400;
}
/* Smooth transitions pour dark mode */
* {
    font-family: 'League Spartan', sans-serif !important;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Dropdown langue */
.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    min-width: 150px;
    z-index: 50;
}
.dark .lang-dropdown {
    background: #1f2937;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    border-color: #374151;
}
.lang-dropdown.active {
    display: block;
}
/* Animation blob sur le Hero section */
@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}
.animate-blob { animation: blob 7s infinite }
.animation-delay-2000 { animation-delay: 2s }
.animation-delay-4000 { animation-delay: 4s }

/* Animation des mots dans le Hero section */
@keyframes text-slide-5 {
0%, 16%   { transform: translateY(0%); }
20%, 36%  { transform: translateY(-16.66%); }
40%, 56%  { transform: translateY(-33.33%); }
60%, 76%  { transform: translateY(-50%); }
80%, 96%  { transform: translateY(-66.66%); }
100%      { transform: translateY(-83.33%); }
}

.animate-text-slide-5 {
animation: text-slide-5 12s cubic-bezier(0.83, 0, 0.17, 1) infinite;
}

/* Optionnel : petit ralentissement au moment où le mot est visible */
.animate-text-slide-5 li {
padding-left: 4px;
padding-right: 4px;
}
/* Animation bounce entre le Hero section et la video */
@keyframes ping {
    75%, 100% { transform: scale(2); opacity: 0; }
}
.animate-ping { animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite; }
.animation-delay-1000 { animation-delay: 1s; }

/* Scroll reveal (sans JS) */
[data-scroll-reveal] {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
[data-scroll-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Style spécifiques pour flouter les montants */
.is-amount {
    transition: filter 0.55s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1) !important;
    will-change: filter, opacity;
}

/* État flouté */
.blurred-amount {
    filter: blur(10px) !important;
    opacity: 0.6 !important;
    user-select: none !important;
    pointer-events: none !important;
}

/* Effet au survol quand flouté (petit "tease") */
.blurred-amount:hover {
    filter: blur(12px) !important;
    opacity: 0.45 !important;
    transform: scale(0.98);
    transition: all 0.3s ease !important;
}

/* Optionnel : un petit effet de "révélation" quand on défloute */
@keyframes revealAmount {
    from {
        filter: blur(4px);
        opacity: 0.8;
    }
    to {
        filter: blur(0);
        opacity: 1;
    }
}

.reveal-animation {
    animation: revealAmount 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
}

/* Badge "Satisfait ou remboursé" */
@keyframes pulse-slow {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Responsive - assurer que le badge mobile ne gêne pas */
@media (max-width: 768px) {
    #mobile-badge {
        max-width: calc(100vw - 2rem);
    }
}

/* Dark mode - ajustement des ombres */
.dark #money-back-badge a {
    box-shadow: 0 10px 40px rgba(34, 197, 94, 0.3);
}

.dark #money-back-badge a:hover {
    box-shadow: 0 15px 50px rgba(34, 197, 94, 0.4);
}