.home .cartes .cardContainer:first-child .btn {
    background-color: #3A864E;
}

.home .cartes .cardContainer:first-child .btn::after {
    background-image: url("https://www.kramer-toiturefr.gqoe9330.odns.fr/wp-content/uploads/2025/04/VectorGreenHeader.svg");
}

.home .cartes .cardContainer:first-child .btn:hover {
    background-color: white;
    color: #3A864E;
}

.home .cartes .cardContainer:last-child .btn {
    background-color: #ABD1F0;
}

.home .cartes .cardContainer:last-child .btn::after {
    background-image: url("https://www.kramer-toiturefr.gqoe9330.odns.fr/wp-content/uploads/2025/04/BlueArrow.svg");
}

.home .cartes .cardContainer:last-child .btn:hover {
    background-color: white;
    color: #ABD1F0;
}

.listebloc .row .swiper {
    width: 100%;
    overflow: visible;
    clip-path: inset(-100vw -100vw -100vw 1px);
    margin: 0 auto 0 0;
}

.listebloc .row .swiper .swiper-wrapper {
    overflow-x: visible;
}

.listebloc, .listebloc-titlecontainer {
    position: relative;
    background-color: #FFF;
}

.listebloc-titlepart h2 {
    text-align: left;
    margin: 0 0 48px 0;
}

.blocListe .imgcropCtn {
    width: 100%;
    height: 100%;
}

.blocListe .content {
    background-color: rgb(250 250 250);
    padding: 24px 6%;
}

.cartes .row {
    display: flex;
    flex-direction: row;
    height: auto;
    align-items: stretch;
    justify-content: stretch;
    flex-wrap: wrap;
    gap: 16px;
}

.cartes .row .space {
    width: 100%;
    height: 300px;
}

.cartes .row .cardContainer {
    position: relative;
    width: 100%;
    height: 600px;
    flex: 1 1 400px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    transition: 0.3s all ease;
}

.cartes .row .cardContainer:hover {
    flex: 10 1 400px;
    transition: 0.3s all ease;
}

.cartes .row .cardContainer .content {
    position: absolute;
    bottom: 0;
    min-height: 270px;
    padding: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.20);
    background: rgba(0, 0, 0, 0.20);
    backdrop-filter: blur(10px);
}

.cartes .row .cardContainer .content h3 {
    font-size: 2.8rem;
    color: white;
}

.cartes .row .cardContainer .content p {
    color: white;
}

.cartes .row .cardContainer .content > div {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    align-self: stretch;
    text-overflow: ellipsis;
    margin: 0 0 32px;

}

.cartes .row .cardContainer .cardListe {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top right;
}

.cartes .row .cardContainer .tags {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cartes .row .cardContainer .tags .tag {
    display: flex;
    padding: 12px 16px;
    align-items: center;
    justify-content: center;
    font-weight: 200;
    font-size: 1.4rem;
    border-radius: 65px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
    color: #FFF9ED;
}

.cardListe .imgcropCtn {
    width: 100%;
    height: 300px;
}

.cardListe .content {
    padding: 24px 6%;
}

.cardListe {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 4px 6px 12px #00000029;
}

.cardListeFlip {
    width: 100%;
    height: 700px;
    perspective: 1000px;
    background-color: transparent;
}

.cardListeFlip .imgcropCtn {
    width: 100%;
    height: 300px;
}

.cardListeFlip .content {
    padding: 24px 6%;
}

.flipWrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 4px 6px 12px #00000029;
    background-color: white;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.cardListeFlip:hover .flipWrapper {
    transform: rotateY(180deg);
}

.flip-card-front {
    z-index: 2;
    background-color: white;
    -moz-transform-style: preserve-3d;
-moz-backface-visibility: hidden;
-webkit-transform-style: preserve-3d;
-webkit-backface-visibility: hidden;
}
  
.flip-card-back {
    background-color: white;
    -moz-transform-style: preserve-3d;
    -moz-backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    -moz-transform: rotateY(-180deg);
    -webkit-transform: rotateY(-180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
}

.swiperListeBloc {
    overflow: hidden;
}

.swiperListeBloc .swiper-wrapper .swiper-slide .content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 64px 16px 16px 16px;
}

.swiperListeBloc {
    overflow: visible;
}

.listebloc.swiper {
    overflow: hidden;
    padding-top: 48px;
    padding-bottom: 100px !important;
}

.swiperListeBloc .swiper-wrapper .swiper-slide .content {
    height: 100%;
    box-sizing: border-box;
    border-radius: 24px;
    background: #FFA74F;
}

.swiperListeBloc .swiper-wrapper .swiper-slide .content h3 {
    color: white;
    text-align: center;
    text-transform: uppercase;
    margin: 0 0 4px;
}

.swiperListeBloc .swiper-wrapper .swiper-slide .content p {
    color: white;
    text-align: center;
}

.swiperListeBloc .swiper-wrapper .swiper-slide .content .logoswiper {
    position: absolute;
    top: -30px;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    padding: 20px;
    transform: translateX(-50%);
    background: #FF4C00;
    border-radius: 25px;
}

.swiperListeBloc .swiper-wrapper .swiper-slide .content img {
    display: block;
}

.listebloc .swiper-button-prev {
    left: 16px;
    height: 36px;
    background-image: url("https://www.scierie-mendozacom.gqoe9330.odns.fr/wp-content/uploads/2025/02/Vector-1-1.svg");
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.listebloc .swiper-button-next {
    right: 16px;
    height: 36px;
    transform: rotate(180deg);
    transform-origin: center;
    background-image: url("https://www.scierie-mendozacom.gqoe9330.odns.fr/wp-content/uploads/2025/02/Vector-1-1.svg");
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.listebloc .swiper-button-prev::after {
    content: unset;
}

.listebloc .swiper-button-next::after {
    content: unset;
}

.listebloc-titlecontainer .swiperbloc-titlepart {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.listebloc-titlecontainer .swiperbloc-titlepart .titleswiperbloc {
    display: flex;
    width: auto;
    flex-direction: column;
}

.listebloc-titlecontainer .swiperbloc-titlepart .lienswiperbloc {
    display: block;
    width: auto;
}

.listebloc-titlecontainer .swiperbloc-titlepart .titleswiperbloc .pretitre p {
    color: #FFA74F;
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.5; /* 150% */
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .listebloc .swiper-button-next {
        top: unset;
        bottom: 0;
        right: unset;
        left: 56%;
        height: 28px;
        transform: translateX(-50%) rotate(180deg);
    }

    .listebloc .swiper-button-prev {
        top: unset;
        bottom: 0;
        right: unset;
        left: 44%;
        height: 28px;
        transform: translateX(-50%);
    }
}