/**
 * S-BEE ONE – Stats / Chiffres Clés
 * CSS totalement indépendant
 */

/* === RESET === */
.sbee-stats-section,
.sbee-stats-section *,
.sbee-stats-section *::before,
.sbee-stats-section *::after {
    box-sizing: border-box;
}

/* === WRAPPER === */
.sbee-stats-section {
    --sbee-st-card-bg:      #F1F8FF;
    --sbee-st-title-color:  #BB9B34;
    --sbee-st-label-color:  #09357C;
    --sbee-st-value-color:  #BB9B34;

    width: 100%;
    padding: 60px 40px;
    text-align: center;
    background: #fff;
}

/* === TITRE === */
.sbee-stats-section .sbee-st-title {
    font-family: 'Raleway', sans-serif !important;
    font-size: 38px !important;
    font-weight: 700 !important;
    color: var(--sbee-st-title-color) !important;
    text-align: center !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}

/* === SOUS-TITRE === */
.sbee-stats-section .sbee-st-subtitle {
    font-family: 'Raleway', sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: var(--sbee-st-label-color) !important;
    text-align: center !important;
    max-width: 720px !important;
    margin: 0 auto 48px auto !important;
    padding: 0 !important;
    line-height: 1 !important;
    white-space: pre-line;
}

/* === CARTE CONTENEUR === */
.sbee-stats-section .sbee-st-card {
    background: var(--sbee-st-card-bg);
    border-radius: 16px;
    padding: 48px 40px;
    max-width: 960px;
    margin: 0 auto;
}

/* === GRILLE DES STATS === */
.sbee-stats-section .sbee-st-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: stretch;
    gap: 32px;
}

/* === UNE STAT === */
.sbee-stats-section .sbee-st-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1 1 160px;
    min-width: 120px;
}

/* === ICONE === */
.sbee-stats-section .sbee-st-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.sbee-stats-section .sbee-st-icon img {
    height: 48px !important;
    width: auto !important;
    min-width: unset !important;
    max-width: unset !important;
    min-height: unset !important;
    max-height: unset !important;
    object-fit: unset !important;
    padding: 0 !important;
    display: block !important;
}

/* === LABEL === */
.sbee-stats-section .sbee-st-label {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--sbee-st-label-color);
    text-align: center;
    line-height: 1.3;
}

/* === VALEUR (chiffre) === */
.sbee-stats-section .sbee-st-value {
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--sbee-st-value-color);
    text-align: center;
    line-height: 1.1;
    margin-top: auto;
}

/* === RESPONSIVE TABLETTE === */
@media (max-width: 768px) {
    .sbee-stats-section {
        padding: 48px 24px;
    }

    .sbee-stats-section .sbee-st-title {
        font-size: 28px !important;
    }

    .sbee-stats-section .sbee-st-subtitle {
        font-size: 15px !important;
        margin-bottom: 36px !important;
    }

    .sbee-stats-section .sbee-st-card {
        padding: 36px 24px;
    }

    .sbee-stats-section .sbee-st-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 16px;
    }

    .sbee-stats-section .sbee-st-item {
        flex: unset;
    }

    .sbee-stats-section .sbee-st-value {
        font-size: 30px;
    }
}

/* === RESPONSIVE MOBILE === */
@media (max-width: 480px) {
    .sbee-stats-section {
        padding: 36px 16px;
    }

    .sbee-stats-section .sbee-st-title {
        font-size: 22px !important;
    }

    .sbee-stats-section .sbee-st-card {
        padding: 28px 16px;
        border-radius: 12px;
    }

    .sbee-stats-section .sbee-st-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 12px;
    }

    /* Ordre mobile :
       1) Ans d'expériences
       2) Taux de satisfaction
       3) Événements professionnels
       4) Événements privés */
    .sbee-stats-section .sbee-st-item:nth-child(1) { order: 1; }
    .sbee-stats-section .sbee-st-item:nth-child(4) { order: 2; }
    .sbee-stats-section .sbee-st-item:nth-child(3) { order: 3; }
    .sbee-stats-section .sbee-st-item:nth-child(2) { order: 4; }

    .sbee-stats-section .sbee-st-label {
        font-size: 14px;
    }

    .sbee-stats-section .sbee-st-value {
        font-size: 26px;
    }
}
