/* *{
    border: solid black 1px ;
} */
.wpml-ls-legacy-list-horizontal.wpml-ls-statics-footer{
    display: none;
}
/* .otgs-development-site-front-end{
    display: none;
} */
*{
    font-family: 'Jost';
}
body{
    max-width: 1980px;
    margin-inline: auto;
    overflow-x: hidden;
    background: #FFFCF8;
    /* margin-top: 30px; */
}
header{
    max-width: 1980px;
}
main{
    max-width: 100vw;
    overflow-x: hidden;
}
p a{
    color: #00261F;
    text-decoration: underline;
}

/* Style H1 */
h1 span{
    font-family: "Italiana";
    font-weight: 500;
    font-size: 90px;
    position: relative;
    z-index: 1;
    width: fit-content;
    display: inline-block;
}
h1 span::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 50px;
    background: #D2E2D5;
    left:0;
    bottom: -5px;
    z-index: -1;
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    transition: 1s cubic-bezier(.72,-0.01,.19,1.02);
    border-radius: 4px;
}
h1 span.active::before{
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}


h2{
    width: fit-content;
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    transition: 1s ease-in-out;
}
h2.active{
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 0% 100%);
}
@media (max-width: 768px){
    h1 span{
        font-size: 46px;
    }
}


/* Style hover des boutons */
.beige, .green, .transparent{
    position: relative;
    overflow: hidden;
    border-radius: 50px;
    z-index: 1;
    cursor: pointer;
    width: fit-content;
}
.beige span, .green span, .transparent span{
    z-index: 1;
    position: relative;
    font-weight: 400;
    text-transform: uppercase;
}
.beige::after, .green::after, .transparent::after, .beige::before, .green::before, .transparent::before{
    content: "";
    position: absolute;
    width: 10%;
    height: auto;
    aspect-ratio: 1;
    top: 50%;
    border-radius: 50px;
    transform: translateY(-50%);
    z-index: 0 !important;
    transition: .6s;
}
.beige::after, .green::after, .transparent::after{
    right: -10%;
}
.beige::before, .green::before, .transparent::before{
    left: -10%;
}

.beige span, .transparent span, .green span{
    transition: .3s;
    z-index: 1;
}
.beige:hover::after, .beige:hover::before, .transparent:hover::after, .transparent:hover::before, .green:hover::after, .green:hover::before{
    width: 70%;
}
.beige:hover::after, .green:hover::after, .transparent:hover::after{
    right: 0;
}
.beige:hover::before, .green:hover::before, .transparent:hover::before{
    left: 0;
}


/* btn Beige */
.beige::after, .beige::before{
    background: #BAD6C0;
}
.btn-custom.beige{
    padding: 12px 32px;
    background-color: #FFFCF8 !important;
    color: #00261F;
    border-radius: 50px;
    display: flex;
    gap: 8px;
    align-items: center;
}
.btn-custom.beige svg{
    z-index: 1;
}
.btn-custom.beige span{
    text-wrap: nowrap;
}

/* btn Green */
.green::after, .green::before{
    background: #00261F;
}
.btn-custom.green{
    padding: 12px 32px;
    background-color: #458075;
    color: #00261F;
    border-radius: 50px;
    display: flex;
    gap: 8px;
    align-items: center;
}
.btn-custom.green span{
    color: #FFFCF8;
    text-wrap: nowrap;
}
.btn-custom.green svg{
    z-index: 1;
}

/* btn Transparent */
.transparent::after, .transparent::before{
    background: #458075;
}
.transparent:hover span{
    color: #FFFCF8 !important;
}
.transparent:hover path{
    fill: #FFFCF8;
    /* stroke: #FFFCF8; */
}
.btn-custom.transparent{
    padding: 12px 32px;
    background-color: none;
    color: #00261F;
    border-radius: 50px;
    display: flex;
    gap: 8px;
    align-items: center;
    box-shadow: inset 0px 0px 0px 2px #458075 !important;
}
.btn-custom.transparent span{
    color: #458075;
    z-index: 1;
    text-wrap: nowrap;
}
.btn-custom.transparent svg{
    z-index: 1;
}



/* Animation */
@keyframes blob{
    from{
        transform: translateY(0px);
    }
    50%{
        transform: translateY(-20px);
    }
    to{
        transform: translateY(0px);
    }
}


/* Card */
.open-card, .close-card{
    cursor: pointer;
}
.open-card .elementor-button-icon.elementor-align-icon-right, .close-card .elementor-button-icon.elementor-align-icon-right{
    transition: .3s;
}
.open-card:hover .elementor-button-icon.elementor-align-icon-right{
    transform: rotate(180deg) translateY(3px);
}

.close-card:hover .elementor-button-icon.elementor-align-icon-right{
    transform: rotate(180deg) translateY(3px);
}


/* Style shortcode des bulles */
.grid-3{
    display: grid;
    grid-template-columns: repeat(3, calc(33% - 50px));
    gap: 50px;
    grid-auto-rows: 1fr;
    @media (max-width: 1250px){
        grid-template-columns: repeat(2, 1fr);
    }
    @media (max-width: 768px){
        grid-template-columns: repeat(1, 1fr);
    }
}
.carousel-bulle{
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 20px;
    position: relative;
    .images{
        width: 100%;
        height: 400px;
        display: flex;
        transition: .3s;
        img{
            width: 100%;
            min-width: 100%;
            height: 400px;
            object-fit: cover;
        }
    }
    .arrow-before{
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        z-index: 5;
        &:hover{
            opacity: 0.8;
        }
    }
    .arrow-after{
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        z-index: 5;
        &:hover{
            opacity: 0.8;
        }
    }
    .dots{
        display: flex;
        align-items: center;
        gap: 8px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 55px;
        z-index: 5;
        .dot{
            width: 12px;
            height: 12px;
            background: #FFFCF8;
            border-radius: 50%;
            cursor: pointer;
            &.active{
                background: #458075;
            }
        }
    }
}
.bulle-bottom{
    border-radius: 20px;
    background-color: #E7F1E7;
    transform: translateY(-40px);
    padding: 40px;
    height: calc(100% - 400px);
    display: flex;
    flex-direction: column;
}
@media (max-width: 1400px){
    .bulle-bottom{
        padding: 30px;
    }
}
@media (max-width: 1200px){
    .bulle-bottom{
        padding: 25px;
    }
}
.bulle-bottom .commentaire{
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 16px;
    margin-bottom: 20px;
    color: #00261F;
}
.bulle-bottom .titre{
    font-family: 'Italiana';
    font-size: 36px;
    /* margin-bottom: 25px; */
}
.bulle-bottom .flex-row{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 25px;
}
.bulle-bottom .flex-row .buttons{
    margin-top: auto;
}
.bulle-bottom .icon-text{
    display: flex;
    align-items: center;
    gap: 8px;
}
.bulle-bottom .a_partir{
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 15px;
    margin-top: 30px;
}
.bulle-bottom .a_partir p{
    margin: 0;
}
.bulle-bottom .a_partir .prix{
    font-weight: 600;
    color: #458075;
    font-size: 28px;
}
.bulle-bottom .a_partir .pdj{
    font-size: 0.9rem;
}
.bulle-bottom .margin-auto{
    margin-top: auto;
}

.bulle-statique{
    background-color: #458075;
    border-radius: 20px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    height: calc(100% - 40px);  
}
.bulle-statique .h3{
    color: white;
    font-family: 'Italiana';
    font-size: clamp(32px, 3vw, 50px);
}
.bulle-statique p{
    color: white;
    font-size: 20px;
}
.bulle-statique .btn-custom{
    box-shadow: inset 0px 0px 0px 2px white !important;
}

.bulle-gallery{
    position: fixed;
    z-index: 250;
    top: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background: rgb(0, 38, 31, 0.6);
}
.bulle-gallery.active{
    display: flex;
}
.bulle-gallery .images{
    position: relative;
    z-index: 250;
    pointer-events: none;
    width: 100%;
    height: 100%;
}
.bulle-gallery .images img, .bulle-gallery .images iframe{
    display: none;
    animation-name: exitImage;
    animation-duration: .25s;
    animation-fill-mode: forwards;
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.bulle-gallery .images iframe{
    aspect-ratio: 16 / 9;
    width: 80vw;
    height: auto;
}
.bulle-gallery .images img.active, .bulle-gallery .images iframe.active{
    pointer-events: auto;
    position: absolute;
    display: block;
    width: auto;
    height: 80vh;
    max-height: 80vh;
    border-radius: 20px;
    object-fit: contain;
    animation-name: entranceImage;
    animation-duration: .25s;
    animation-fill-mode: forwards;
}
@media (max-width: 768px) {
    .bulle-gallery .images img.active{
        height: auto;
    }
}
.bulle-gallery .background{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 249;
    cursor: pointer;
}
.bulle-gallery .arrow-after{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 250;
    right: 25px;
    cursor: pointer;
}
.bulle-gallery .arrow-after svg{
    width: 50px;
    height: 50px;
}
.bulle-gallery .arrow-before{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 250;
    left: 25px;
    cursor: pointer;
}
.bulle-gallery .arrow-before svg{
    width: 50px;
    height: 50px;
}

.open-gallery{
    cursor: pointer;
}

.bulle-infos{
    transition: .3s;
    cursor: pointer;
}
.bulle-infos .info-text p{
    margin-block-end: 0px !important;
    transition: .3s;
}

.info-text{
    opacity: 0;
    height: 0px;
    margin-top: -20px;
    transition: .5s;
}
.info-text.active{
    animation-name: entranceUp;
    animation-fill-mode: forwards;
    animation-duration: 0.5s;
    animation-iteration-count: 1;
    margin-top: 0px;
    transition: .5s;
    height: auto;
}

.bulle-infos .info-title.active{
    animation-name: exitUp;
    animation-fill-mode: forwards;
    animation-duration: .5s;
    animation-iteration-count: 1;
    height: 0px;
    margin: 0;
}
.bulle-infos .info-title{
    animation-name: entranceUp;
    animation-fill-mode: forwards;
    animation-duration: .5s;
    animation-iteration-count: 1;
}


@keyframes exitUp {
    from{
        transform: translateY(0px);
        opacity: 1;
        margin-bottom: 0px;
    }
    to{
        transform: translateY(-40px);
        opacity: 0;
        display: none;
        margin-bottom: -20px;
    }
}


@keyframes entranceUp {
    from{
        transform: translateY(40px);
        opacity: 0;
    }
    to{
        transform: translateY(0px);
        opacity: 1;
        display: block;
    }
}

@keyframes exitDown {
    from{
        transform: translateY(0px);
        opacity: 1;
        margin-top: 0px;
    }
    to{
        transform: translateY(40px);
        opacity: 0;
        display: none;
        margin-top: -20px;
    }
}




@keyframes exitImage {
    from{
        transform: translate(-50%, calc(0px - 50%));
        opacity: 1;
    }
    to{
        transform: translate(-50%, calc(-150px - 50%));
        opacity: 0;
        display: none;
    }
}


@keyframes entranceImage {
    from{
        transform: translate(-50%, calc(150px - 50%));
        opacity: 0;
    }
    to{
        transform: translateY(-50%, calc(0px - 50%));
        opacity: 1;
    }
}


.type-bulle-wrapper{
    position: relative;
}
.type-bulle-wrapper .type-explication{
    position: absolute;
    background: #458075;
    color: #FFFCF8;
    padding: 25px;
    left: 0;
    top: -112.50px;
    transform: translate(0%, -50%);
    width: 225px;
    aspect-ratio: 1;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 50%;
    font-size: 13px;
    display: none;
    opacity: 1;
}