/* ============================================================
   numbers.css — page « AvoloPay en chiffres », public/numbers.html
   ------------------------------------------------------------
   Réécrit le 2026-11-12 (étape C2 du plan de conformité), ancienne
   version archivée dans 'AI works/archives_2026-11-12/c2/src/' :
   plus de redéfinition de --text-muted, plus de variables parallèles
   (--card-bg, --text-light…) ni de couleur codée en dur ; les délais
   d'animation écrits en ligne dans la page sont ici.
   ============================================================ */

/* Le fond noir de generale_public.css apparaissait sous le contenu */
body {
    background: var(--bg-base);
}

#main_content {
    width: 100%;
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: var(--space-16);
    background:
        radial-gradient(ellipse 80% 60% at 50% 15%, var(--primary-light) 0%, transparent 65%),
        var(--bg-base);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
}

#main_content section {
    width: 100%;
}

#STAT {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-8);
    text-align: center;
}

#STAT h1,
#STAT h3 {
    font-family: var(--font-heading);
    font-size: var(--text-5xl);
    font-weight: var(--font-extrabold);
    margin-bottom: var(--space-12);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    letter-spacing: -0.03em;
}

.S_blocs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    width: 100%;
}

.S_bloc {
    background: var(--bg-surface);
    border-radius: var(--radius-2xl);
    padding: var(--space-12) var(--space-8);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 240px;
}

.S_bloc:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.S_bloc_text {
    text-align: center;
}

.S_bloc_text h4 {
    font-family: var(--font-heading);
    font-size: var(--text-5xl);
    font-weight: var(--font-extrabold);
    margin-bottom: var(--space-3);
    background: linear-gradient(135deg, var(--text-main) 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    line-height: var(--lh-tight);
}

.S_bloc_text p {
    font-size: var(--text-lg);
    color: var(--text-muted);
    line-height: var(--lh-normal);
    font-weight: var(--font-medium);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Délais d'apparition des blocs, anciens style="animation-delay" */
.S_bloc--delay-1 { animation-delay: 0.2s; }
.S_bloc--delay-2 { animation-delay: 0.4s; }
.S_bloc--delay-3 { animation-delay: 0.6s; }

@media (max-width: 1024px) {
    .S_blocs {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6);
    }
}

@media (max-width: 768px) {
    #main_content {
        padding-top: 85px;
    }

    #STAT h1,
#STAT h3 {
        font-size: var(--text-4xl);
        margin-bottom: var(--space-8);
    }

    .S_blocs {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .S_bloc {
        padding: var(--space-8) var(--space-6);
        min-height: 180px;
    }

    .S_bloc_text h4 {
        font-size: var(--text-4xl);
    }

    .S_bloc_text p {
        font-size: var(--text-base);
    }
}
