:root {
    --width-cards: 100%;
    --gap-cards: 50px;
}

@media (min-width:800px) {
    :root {

        --width-half: calc((100% - (1 * var(--gap-cards))) / 2);
        --width-third: calc((100% - (2 * var(--gap-cards))) / 3);
        --width-quarter: calc((100% - (3 * var(--gap-cards))) / 4);
    }
}


#prestations > .max-width > ul {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-cards);
}



#prestations > .max-width > ul > li {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: var(--width-cards);
    max-width: 400px;
}

#prestations > .max-width > ul > li > .img,
#prestations > .max-width > ul > li > .txt {
    width: 100%;
    text-align: center;
}

#prestations > .max-width > ul > li > .img {
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 5px;
}

#prestations > .max-width > ul > li > .img img {
    width: 100%;
    height: auto;
}

#prestations > .max-width > ul > li .titre {
    text-transform: uppercase;
    line-height: 1.1em;
    margin-bottom: 0.5em;
    margin-top: 0.5em;

    font-weight: 400;
    font-size: 20px
}

#prestations > .max-width > ul > li .description {
    font-size: 14px;
}

#prestas_addi {
    padding-top: 0;
}

#prestas_addi .prestations_additionnelles {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

@media (min-width:800px) {

    #prestations > .max-width > ul > li,
    #prestations > .max-width > ul > li.par_3,
    #prestations > .max-width > ul > li.par_4 {
        width: var(--width-third);
    }


}

@media (min-width:1000px) {
    :root {
        --gap-cards: 60px;
    }

    #prestations > .max-width > ul > li.par_4 {
        width: var(--width-quarter);
    }
}