/*** Bloc carte */
.io-bloc-carte {
    padding: calc(var(--pad)/2);
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
    margin-bottom: var(--pad);
}
.io-bloc-carte:last-of-type {
    margin-bottom: 0;
}
.io-bloc-carte-illu {
    border-radius: 2rem;
    overflow: hidden;
}
.io-bloc-carte-illu img {
    object-fit: cover;
    object-position: 50%;
    width: 100%;
    height: 100%;
}
.io-bloc-carte-content {
    
}

/*** Bloc tarif */
.io-bloc-tarif {
    position: relative;
    padding: calc(var(--pad)/2);
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
    margin-bottom: var(--pad);
}
.io-bloc-tarif:last-child {
    margin-bottom: 0;
}
.io-bloc-tarif-content {
    padding-right: 20%;
    padding-bottom: 3em;
}
.io-bloc-tarif-tarif {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgb(var(--jaune) / .75);
    color: rgb(var(--dark-color) / 1);
    padding: .5em 1em;
    border-top-left-radius: 2rem;
    font-weight: bold;
    font-size: 1.2rem;
}

/*** Box slider */
.swiper {
    width: 100%;
    height: 500px;
}
.swiper-wrapper {
    align-items: center;
}
.swiper-slide {
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto !important;
}
.swiper-slide img {
    height: 100%;
    width: auto;
    object-fit: contain;
}
/* @media screen and (max-width: 768px) {
    .swiper {
        height: auto;
        max-height: 80vh;
    }

    .swiper-slide {
        height: auto;
        max-height: 80vh;
    }

    .swiper-slide img {
        height: auto;
        max-height: 80vh;
        width: 100%;
        object-fit: contain;
    }
} */
.swiper-button {
    width: clamp(2rem, 5vw, 4rem);
    aspect-ratio: 1 / 1;
    background: rgb(var(--jaune) / 1);
    border-radius: 9999px;
    padding: .25rem;
    display: grid;
    place-content: center;
    position: absolute;
    top: 50%;
    left: 2vw;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
}
.swiper-button-next {
    left: auto;
    right: 2vw;
}
.swiper-button-prev svg {
    transform: rotate(180deg);
}
.swiper-button svg {

}
.swiper-button-disabled {
    opacity: .5;
}