﻿.pros-section {
    /* ton image en fond si tu en as une (sinon couleur) */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: auto; /* centrer horizontalement */
    margin-top: 4em;
    margin-bottom: 4em;
}

/* Conteneur commun */
.pros-section__content {
    position: relative; /* pour l’empilement si overlay */
    z-index: 1;
    color: var(--black); /* ou blanc si fond foncé */
}

/* === Mobile par défaut (<768px) === */
.pros-section {
    justify-content: center; /* centre horizontalement */
    padding: 1rem; /* un peu de marge intérieure */
}

.pros-section__content {
    max-width: 100%; /* quasi full-width */
    text-align: center; /* titre et paragraphe centrés */
}

.pros-section__numbers {
    display: flex;
    justify-content: space-between; /* espace égal entre les items */
    align-items: flex-start; /* les nombres alignés en haut */
    flex-wrap: wrap; /* wrap si manque de place */
    margin-top: 2rem;
    padding: 0;
    list-style: none;
}
    .pros-section__numbers li {
        flex: 1 1 0; /* chaque bloc prend la même place */
        max-width: 33%; /* 3 items = 3 × 33% */
        text-align: center;
        position: relative; /* pour le ::after du 1er item */
        padding: 0 1rem; /* un peu d’air à gauche/droite */
        box-sizing: border-box;
    }

    .pros-section__numbers .number {
        display: block;
        margin-bottom: .5rem;
    }
    .pros-section__numbers .label {
        display: block;
        color: var(--gray-700); /* ou la couleur de ton choix */
    }
    .pros-section__numbers li:first-child::after {
        content: "";
        position: absolute;
        left: 0;
        top:110%;
        width: 100%;
        height: var(--base-space-5); /* adapte la hauteur si besoin */
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAyMTIgMjIiPjxwYXRoIHN0cm9rZT0iIzFGMzFGRiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjYiIGQ9Ik0yNCAxNmMxNS41MjUgMCAxMDUgMCAxNjQuODQ1IDIuMDg3TTMgNS42MkM0NC4zNi42MDcgODkuNzk2IDQuMzMgMjA4LjI5NiA0LjMzIi8+PC9zdmc+);
    }

    .pros-section__numbers li:nth-child(2) span:first-child::before {
        content: "";
        position: absolute;
        top: 25%;
        left: 5%;
        width: 90%;
        height: 1em;
        background-color: rgba(31, 49, 255, 0.2);
        height : 40%
    }

    .pros-section__numbers li:last-child span:last-child::after {
        content: "";
        position: absolute;
        top: 50%;
        left: -10%;
        width: 120%;
        height: 100px;
        background-repeat: no-repeat;
        background-size: contain;
        background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAyNjUgNzIiPjxwYXRoIHN0cm9rZT0iIzFGMzFGRiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjYiIGQ9Ik01MS45NjMgNjIuNTc1YzU5Ljc3NiAwIDE4Ni4zMzIgMy40NzMgMjA3LjQzNy0yMy4yIDE1LjM2My0xOS40MTQtNTAuNjg5LTM2LjA5LTExMy4wMDMtMzYuMzdDODQuNDI4IDIuNzI4IDkuNDc3IDEyLjkzOCAzLjgyOSAzOS4zNGMtMS44NjcgOC43MjcgMTEuMDc2IDE4LjAyIDM1LjE4NCAyMy40NUM2NC4zOTEgNjguNTA1IDEwMC4zOTggNjkgMTMxLjEyNiA2OSIvPjwvc3ZnPg==);
        background-position-x: center;
    }

/* === Responsive mobile (<768px) === */
@media (max-width: 767.98px) {
    .pros-section {
        justify-content: center; /* on centre le contenu */
        text-align: left; /* paragraphes centrés */
        width: 100%;
        padding: 2em 2em;
    }

    .pros-section {
        /*max-width: 100%; /* prend toute la largeur dispo */
    }
    .pros-section__numbers {
        flex-direction: column;
        gap: 1.5rem; /* espace vertical entre items */
        align-items: center;
    }
        .pros-section__numbers li {
            max-width: 100%;
            padding: 0; /* on réduit l’horizontal padding */
            margin-top:1em
        }
}

@media (min-width: 1400px) {
    .pros-section {
        max-width: 1120px; /* optionnel : pour ne pas dépasser une taille raisonnable */
    }
}

@media (max-width: 992px) {
    .pros-section {
    }
}
