:root {
    --rs-text-color: #ffffff;
    --font-main: 'Arial', sans-serif; /* A remplacer par ta police */
}

.block-reseau-stats {
    position: relative;
    width: 100%;
    padding: 80px 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Effet Parallax Pur CSS */
    background-attachment: fixed; 
    color: var(--rs-text-color);
    font-family: var(--font-main);
    overflow: hidden;
}

.rs__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* La couleur de fond est injectée en inline via PHP */
}

.rs__container {
    position: relative;
    z-index: 2; /* Place le texte au-dessus de l'overlay */
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Header & Titre --- */
.rs__header {
    text-align: center;
    margin-bottom: 50px;
}

.rs__title {
width: 1200px;
font-family: 'Ubuntu';
font-style: normal;
font-weight: 400;
font-size: 32px;
line-height: 37px;
color: #FFFFFF;
margin: 0;
}

.rs__title-light {
    font-weight: 300;
}

.rs__title-bold {
    font-weight: 700;
}

/* --- Grille des statistiques --- */
.rs__grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.rs__item {
    display: flex;
    flex-direction: column;
    text-align: left; /* Alignement à gauche comme sur la maquette */
}

.rs__item-sub {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
font-size: 12px;
line-height: 16px;
letter-spacing: 1.92px;
text-transform: uppercase;
color: #FFFFFF;
margin-bottom: 5px;
}

.rs__item-num {
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
font-size: 40px;
line-height: 54px;
color: #FFFFFF;
margin-bottom: 12px;
}

.rs__item-desc {
width: 230px;
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
font-size: 14px;
line-height: 19px;
color: #FFFFFF;
margin-bottom: 0px;
}

/* --- Responsive Desktop --- */
@media (min-width: 992px) {
    .block-reseau-stats {
        padding: 120px 40px;
    }
    .rs__grid {
        flex-direction: row;
        justify-content: space-between;
		width: 896px;
        margin: 0 auto;
    }
    .rs__item {
        flex: 1;
    }
}

/* --- ANIMATIONS AU SCROLL --- */
.rs-animate-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Ajouté par le JS quand l'élément entre dans l'écran */
.rs-animate-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Délais en cascade pour les colonnes sur Desktop */
@media (min-width: 992px) {
    .rs__header.rs-animate-fade-up { transition-delay: 0s; }
    .rs__item:nth-child(1).rs-animate-fade-up { transition-delay: 0.2s; }
    .rs__item:nth-child(2).rs-animate-fade-up { transition-delay: 0.4s; }
    .rs__item:nth-child(3).rs-animate-fade-up { transition-delay: 0.6s; }
}
@media (max-width: 50em) {
	.rs__title {
    width: 100%;
}
.rs__grid {
    gap: 35px;
    width: 230px;
    margin: 0 auto;
}
}