.section--realisations .section__header .section__title {
    width: 100%;
    text-align: center;
}

.section--realisations .section__header .section__subtitle {
    width: 100%;
    text-align: center;
    margin: 0 0 66px 0;
    font-size: 18px;
    line-height: 27px;
}


.prestation-container {
    width: 100%;
}

.prestation-container .prestation-list {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.prestation-box {
    width: 344px;
    max-width: 19vw;
    aspect-ratio: 1 / 1;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.prestation-box.large-box::before {
    content: '';
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.5;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.prestation-box .box__title {
    width: 100%;
    padding: 0 8px;
    color: var(--color-white);
    font-weight: 700;
    z-index: 100;
    line-height: 40px;
    font-size: 34px;
    display: none;
}

.large-box {
    width: 526px;
    max-width: 32vw;
}

.large-box .box__title {
display: block;
}


.prestation-navigation {
    width: 100%;
    max-width: 1320px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: -50px auto 0 auto;
}

.prestation-slider {
    margin: 0 auto 63px auto;
}

.prestation-slider .slide img {
    min-height: 350px;
    max-height: 600px;
    object-fit: cover;
}

.prestation-slider .slider-dots {
    bottom: 26px;
}

.prestation-slider .slider-dots .container {
    display: flex;
    align-items: center;
    justify-content: center;
}


.prev-prestation,
.next-prestation {
    background: none;
    border: none;
    box-shadow: none;
    outline: none;
    cursor:pointer;
}

.loader, .empty {
    width: 100%;
    text-align: center;
    padding: 100px 0;
    font-size:18px;
    line-height: 27px;
}

.realisation-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    width: 100%;
    max-width: 1200px;
    margin: 100px auto 0 auto;
    padding: 20px 0 49px 0;
}

.realisation-list .realisation {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.realisation img {
    width: 100%;
    height: auto;
}

.realisations-footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.realisations-footer .btn {
    display: none;
}


@media all and (max-width: 1024px){
    .prestation-box .box__title {
        font-size:28px;
    }
    .large-box {
        max-width: 40vw;
    }
}
@media all and (max-width: 900px){

    .prestation-box .box__title {
        font-size:26px;
        line-height: 32Px;
    }
    .prestation-container .prestation-list {
        gap:8px;
    }
    .large-box {
        max-width: 45vw;
    }
}
@media all and (max-width: 750px){

    .prestation-box .box__title {
        font-size:22px;
        line-height: 28Px;
    }
    .large-box {
        max-width: 50vw;
    }
    .prestation-navigation svg {
        width: 20px;
    }

}
@media all and (max-width: 750px){
    .prestation-box .box__title {
        font-size:18px;
        line-height: 23Px;
    }
}
@media all and (max-width: 1024px) {
    .prestation-container{ min-height: 410px; }
}
@media all and (max-width: 900px) {
    .prestation-container{ min-height: 400px; }
}
@media all and (max-width: 800px) {
    .prestation-container{ min-height: 360px; }
}
@media all and (max-width: 700px) {
    .prestation-container{ min-height: 350px; }
}
@media all and (max-width: 600px) {
    .prestation-container{ min-height: 300px; }
}
@media all and (max-width: 500px) {
    .prestation-container{ min-height: 250px; }
}
@media all and (max-width: 400px) {
    .prestation-container{ min-height: 200px; }
}


















@media screen and (max-width: 1024px) {
    .realisation-list {
        grid-template-columns: repeat(3, 1fr); /* 3 colonnes sur tablette */
        gap: 25px;
    }
}

@media screen and (max-width: 768px) {
    .realisation-list {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur mobile */
        gap: 16px;
    }
}

@media screen and (max-width: 480px) {
    .realisation-list {
        gap: 8px;
    }
}
