.bloc-prestations {
    width: 60%;
    margin: auto;
}

.prestations-flex {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 3rem 0;
    min-height: 800px;
    align-content: space-between;
}

.prestations-flex > * {
    width: 32%;
    max-width: none;
    box-sizing: border-box;
}

/* Ligne du haut */
.prestations-flex > *:nth-child(-n+3) {
    align-self: flex-start;
}

/* Ligne du bas */
.prestations-flex > *:nth-child(n+4) {
    align-self: flex-end;
    margin-bottom: 2rem;
}

/* Image box */
.image-box {
    width: 30%;
    margin: 0;
}

.image-box img {
    max-width: 100%;
    border-radius: 15px;
}

/* Flip Box */
.flip-box {
    background-color: transparent;
    width: 30%;
    height: 350px;
    max-height: 350px;
    perspective: 1000px;
    cursor: pointer;
}

.flip-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s;
}

.flip-box.flipped .flip-inner {
    transform: rotateY(180deg);
}

.flip-front,
.flip-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 115%;
    backface-visibility: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left;
}

.flip-back {
    transform: rotateY(180deg);
    background-color: var(--teal2);
}

.image-box,
.flip-box {
    width: 32%;
}

.prestations-flex > *:nth-child(5) {
    margin-bottom: 5rem;
}

.sousTitresPrestations {
    font-weight: bold;
}