/*
 Theme Name: Divi Child
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: EcloLINK
 Author URI: https://eclolink.com
 Template: Divi
 Version: 1.0.0
*/
:focus{
    outline: #34B4A3 solid 2px;
}
/* Ticker vertical continu */
.slider-home-header .swiper-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    will-change: transform;
}

@keyframes ticker-up {
    0%   { transform: translateY(0); }
    100% { transform: translateY(calc(var(--ticker-height) * -1)); }
}

@keyframes ticker-down {
    0%   { transform: translateY(calc(var(--ticker-height) * -1)); }
    100% { transform: translateY(0); }
}

/* =Theme customization starts here
------------------------------------------------------- */
/*some default rules for art du trait*/
.section-flex-bottom{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.ligne-hrzntl-align {
    display: flex;
    flex-direction: row;
    align-items:center;
}
.ligne-vrtcl-align {
    display: flex;
    flex-direction: column;
    align-items:center;
}
.ligne-flex {
    display: flex;
}
.full-height-img,
.full-height-img .et_pb_image_wrap,
.full-height-img .et_pb_image_wrap img{
    height:100%
}
.full-height-img .et_pb_image_wrap img{
    object-fit: cover;
}

.backdrop-blur{
    backdrop-filter:blur(20px);
}

.gap-15{
    gap: 15px;
}
.gap-10{
    gap: 10px;
}

.h1 {
    /* 45px @ 320px  →  90px @ 1920px */
    font-size: clamp(2.8125rem, 1.6875rem + 2.8125vw, 5.625rem)!important;
}

.h2 {
    /* 33px @ 320px  →  67px @ 1920px */
    font-size: clamp(2.0625rem, 1.3825rem + 2.125vw, 4.1875rem)!important;
}

.h3 {
    /* 25px @ 320px  →  51px @ 1920px */
    font-size: clamp(1.5625rem, 1.0425rem + 1.625vw, 3.1875rem)!important;
}

.h4 {
    /* 19px @ 320px  →  38px @ 1920px */
    font-size: clamp(1.3rem, 0.8075rem + 1.1875vw, 2.375rem)!important;
}

.h5 {
    /* 14px @ 320px  →  28px @ 1920px */
    font-size: clamp(1.2rem, 0.595rem + 0.875vw, 1.75rem)!important;
}

.h6 {
    /* 11px @ 320px  →  21px @ 1920px */
    font-size: clamp(1.1rem, 0.4875rem + 0.625vw, 1.3125rem)!important;
}

h2,h3,h4,h5,h6{
    line-height: 1.3em !important;
    padding: 0!important;
}
.mb-15{
    margin-bottom: 15px;
}

body #page-container .et_pb_section .et_pb_button, body #page-container .et_pb_section .et_pb_module .et_pb_button{
    padding: .7em 1.5em;
    font-weight: 700;
}
body #page-container .et_pb_section .et_pb_button.default::after{
    content: url('/wp-content/uploads/fleche-btn.svg') !important;
    margin-top: 1px;
}
body #page-container .et_pb_section .et_pb_button.default-white::after{
    content: url('/wp-content/uploads/fleche-btn-white.svg') !important;
    margin-top: 1px;
}

body #page-container .et_pb_section .et_pb_button:hover, body #page-container .et_pb_section .et_pb_module .et_pb_button:hover{
    padding-right: 2.5em !important;
    padding-left: 1.5em !important;
}
body #page-container .et_pb_section .et_pb_button:hover, body #page-container .et_pb_section .et_pb_module .et_pb_button.bouton-type-2:hover{
    padding-right: 15px !important;
    padding-left: 15px !important;
}


.entry-content .list-custom ul{
    list-style:none;
    padding-left: 2em;
    padding-top: 1em;
    li{
        position: relative;
        margin-bottom: 0.5em;
    }
    li:before{
        content: "";
        background-image: url("/wp-content/uploads/fleche-btn-white.svg");
        width: 20px;
        height: 16px;
        position: absolute;
        margin-right: 10px;
        left: -2em;
        top: 5px;

    }
}


.single .list-custom ul{
    list-style:none;
    padding-left: 2em;
    padding-top: 1em;
    li{
        position: relative;
        margin-bottom: 0.5em;
    }
    li:before{
        content: "";
        background-image: url("/wp-content/uploads/fleche-btn-white.svg");
        width: 20px;
        height: 16px;
        position: absolute;
        margin-right: 10px;
        left: -2em;
        top: 5px;

    }
}


@media screen and (max-width:980px){
    .ligne-flex {
        display: flex;
        flex-direction: column;
    }
}

/*Accueil*/

.slider-home-header {
    display: flex;
    padding: 15px;
    position: relative;
    height: 100%;
    gap: 20px;
    max-height: 800px;
    .slider-home-header-left,.slider-home-header-right{
        width: 50%;
        height: 100%;
        overflow: hidden;
        border-radius: 8px;
    }

    .swiper-slide {
        overflow: hidden;
        border-radius: 8px;
        aspect-ratio: 360 / 460;
        height: auto!important;
    }
    .swiper-slide img {
        -webkit-user-drag: none;
        height: 100%;
        object-fit: cover;
        aspect-ratio: 360 / 460;
    }
    
}

.home-header-video.et-pb-has-background-video:not(.et_pb_section--with-menu){
    overflow: visible;
}
.home-header-video .et-pb-background-video{
    opacity: 0.6;
    border-radius: 8px;
}

.home-header-video::before {
    content: '';
    width: 100%;
    max-width: 100vw;
    height: 200px;
    position: absolute;
    background: #34B4A3;
    filter: blur(100px);
    bottom: -70px;
    z-index: -1;
    border-radius: 90%;
}

.highlight{
    overflow: visible;
}
.highlight::before {
    content: '';
    width: 90%;
    max-width: 90%;
    height: 50px;
    position: absolute;
    background: #34B4A3;
    filter: blur(80px);
    bottom: -30px;
    z-index: 0;
    justify-self: end;
    left: 5%;
    display: block;
    margin: auto;
    border-radius: 90%;
}
.highlight-full{
    overflow: visible;
}
.highlight-full::before {
    content: '';
    width: 110%;
    max-width: 100vw;
    height: 100%;
    position: absolute;
    background: #34B4A3;
    filter: blur(150px);
    bottom: 0;
    z-index: 0;
    justify-self: end;
    left: -5%;
    display: block;
    margin: auto;
    border-radius: 90%;
}

.highlight-half::before{
    content: '';
    width: 80%;
    max-width: 100vw;
    height: 50%;
    position: absolute;
    background: #34B4A3;
    filter: blur(150px);
    bottom: 0;
    z-index: 0;
    justify-self: end;
    left: 10%;
    display: block;
    margin: auto;
    border-radius: 90%;
}

.highlight-article::before{
    content: '';
    width: 80%;
    max-width: 100vw;
    height: 30%;
    position: absolute;
    background: #34B4A3;
    filter: blur(200px);
    top: 0;
    z-index: 0;
    justify-self: end;
    left: 10%;
    display: block;
    margin: auto;
    border-radius: 90%;
}

.home.page #page-container:before {
    content: none;
}

/*.page #page-container:before {*/
/*    content: '';*/
/*    width: 100%;*/
/*    max-width: 100vw;*/
/*    height: 200px;*/
/*    position: absolute;*/
/*    background: #34B4A3;*/
/*    filter: blur(100px);*/
/*    top: -70px;*/
/*    z-index: -1;*/
/*    border-radius: 90%;*/
/*}*/
/*.error404  #page-container:before {*/
/*    content: '';*/
/*    width: 100%;*/
/*    max-width: 100vw;*/
/*    height: 200px;*/
/*    position: absolute;*/
/*    background: #34B4A3;*/
/*    filter: blur(100px);*/
/*    top: -70px;*/
/*    z-index: -1;*/
/*    border-radius: 90%;*/
/*}*/
.error404  #main-content{
    background:transparent
}


/*--------------- Starter Search Modal - scroll fix ----*/
.starter-search-body {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    min-height: 0;
}

.starter-search-panel {
    display: flex !important;
    flex-direction: column !important;
    max-height: 70vh !important;
    overflow: hidden !important;
}

/*--------------- Formulaire de contact --------------*/

.wpcf7-form{
    .h6{
        margin-bottom: 30px;
    }
}

.flex-form{
    display: flex;
    gap: 20px;
    margin-bottom: 20px;


    label:has(.w-100){
        width: 100%;
    }

    label:has(.w-40){
        width: 40%;
    }
    label:has(.w-25){
        width: 25%;
    }

    label{
        display: flex;
        flex-direction: column;
        color: #F7F7F7;
        gap: 8px;
        input,textarea, select {
            width: 100%;
            padding: 5px 10px;
            border-radius: 8px;
            border: 1px solid #14574E;
            background: transparent;
            color: #BBFEF1;
            font-size: 16px;
            option{
                background: #04221D;
            }
            &::placeholder{
                color: #8D8D8D;
            }
        }

        input.text:focus, input.title:focus, input[type=text]:focus, select:focus, textarea:focus {
            color: #BBFEF1;
        }

        select:has(option:first-child:checked) {
            color: #8D8D8D;
        }
    }

}
.flex-form-send{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;

    .wpcf7-submit{
        background: #34B4A3;
        color:#04221D;
        padding: 10px 20px;
        border-radius: 50px;
        font-weight: 700;
        font-size: 16px;
        cursor: pointer;
        transition: all 0.3s ease;
        border: 1px solid #34B4A3;
        &:hover{
            background: #04221D;
            color:#34B4A3;
        }
        &:disabled{
            opacity: 0.5;
        }
    }

}


/* Masquer la checkbox native */
.wpcf7-acceptance label{
    display: flex;
}
.wpcf7-acceptance input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1px solid #BBFEF1;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    margin-right: 10px;
}

/* Coche au check */
.wpcf7-acceptance input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #BBFEF1;
    font-size: 14px;
    font-weight: bold;
}

@media screen and (max-width: 900px) {
    .flex-form{
        flex-direction: column;
        label:has(.w-100),
        label:has(.w-40),
        label:has(.w-25){
            width: 100%;
        }
    }
}


/*page dev sur mesure*/
.custom-timeline{
    .content-timeline-middle-circle {
        width: auto;
        height: auto;
        padding: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        .dsm-image img{
            filter: contrast(0.5) saturate(1.8);
        }
    }

    .dsm-content-timeline-content-wrapper{
        background-color:transparent;
        border-radius:8px;
        border: 1px solid #BBFEF1;
        .dsm-description{
            margin: 0;
        }
    }
}

/* article*/

.custom-meta-articles{
    display:flex;
    align-items:center;
    flex-wrap: wrap;
    gap: 20px   ;
    p{
        padding: 0;
        color:#A8A8A8;
    }

}

.article-content{
    img{
        border-radius:8px;
    }
}
.similar-articles-wrapper{
    display: flex;
    gap: 30px;
    flex-direction: column;
    h2{
        text-align: center;
    }
    .similar-articles-container{
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
    .similar-articles-card{
        width: calc(33% - 12px);
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 16px;
        border: 1px solid #BBFEF1;
        border-radius: 8px;
        img{
            aspect-ratio: 430 / 250;
            object-fit: cover;
            border-radius:4px;
        }
        .similar-articles-card-content{
            display: flex;
            flex-direction: column;
            gap: 10px;
            .similar-articles-category{
                padding: 0;
                color: #BBFEF1;
            }
            .similar-articles-card-meta{
                display: flex;
                flex-direction: row;
                flex-wrap: wrap;
                gap: 20px;
                align-items: center;
                margin-top: 30px;
                justify-content: space-between;
                .similar-articles-meta{
                    color: #F0F0F0;
                }

                .similar-articles-btn{
                    width: fit-content;
                    padding-top: 5px!important;
                    padding-bottom: 5px!important;
                }
            }

        }
    }

    .similar-articles-card:hover{
        .similar-articles-btn{
            padding-right: 2.5em !important;
            padding-left: 1.5em !important;
        }
        .similar-articles-btn::after{
            opacity: 1;
            margin-left: .3em;
        }
    }
}

@media screen and (max-width: 900px) {
    .similar-articles-wrapper{
        .similar-articles-container{
            flex-direction: column;
            align-items: center;
        }
        .similar-articles-card{
            width: calc(80% - 12px);
        }
    }
}



/**Articles all */
.all-articles-wrapper{
    display: flex;
    gap: 30px;
    flex-direction: row;
    flex-wrap: wrap;
    h2{
        text-align: center;
    }
    .all-articles-container{
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
    .all-articles-card{
        width: calc(33% - 15px);
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 16px;
        border: 1px solid #BBFEF1;
        border-radius: 8px;
        img{
            aspect-ratio: 430 / 250;
            object-fit: cover;
            border-radius:4px;
        }
        .all-articles-card-content{
            display: flex;
            flex-direction: column;
            gap: 10px;
            .all-articles-category{
                padding: 0;
                color: #BBFEF1;
            }
            .all-articles-card-meta{
                display: flex;
                flex-direction: row;
                flex-wrap: wrap;
                gap: 20px;
                align-items: center;
                margin-top: 30px;
                justify-content: space-between;
                .all-articles-meta{
                    color: #F0F0F0;
                }

                .all-articles-btn{
                    width: fit-content;
                    padding-top: 5px!important;
                    padding-bottom: 5px!important;
                }
            }

        }
    }

    .all-articles-card:hover{
        .all-articles-btn{
            padding-right: 2.5em !important;
            padding-left: 1.5em !important;
        }
        .all-articles-btn::after{
            opacity: 1;
            margin-left: .3em;
        }
    }
}

@media screen and (max-width: 900px) {
    .all-articles-wrapper{
        .all-articles-container{
            flex-direction: column;
            align-items: center;
        }
        .all-articles-card{
            width: calc(80% - 12px);
        }
    }
}

/** Pagination articles */
.all-articles-pagination{
    width: 100%;
    margin-top: 40px;
    display: flex;
    justify-content: center;
}
.all-articles-pagination-list{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none !important;
    padding: 0 !important;
    margin: 0;
    align-items: center;
}
.all-articles-pagination-list li,
.all-articles-pagination-item{
    margin: 0;
    padding: 0;
    list-style: none !important;
    background: none !important;
}
.all-articles-pagination-list li::before,
.all-articles-pagination-list li::marker{
    content: none !important;
    display: none !important;
}
.all-articles-pagination-item .page-numbers{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #BBFEF1;
    border-radius: 8px;
    color: #F0F0F0;
    background: transparent;
    font-size: 15px;
    line-height: 1;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.all-articles-pagination-item .page-numbers:hover{
    background: #BBFEF1;
    color: #04221D;
    border-color: #BBFEF1;
}
.all-articles-pagination-item .page-numbers.current{
    background: #34B4A3;
    border-color: #34B4A3;
    color: #04221D;
    font-weight: 600;
}
.all-articles-pagination-item .page-numbers.dots{
    border-color: transparent;
    background: transparent;
}
.all-articles-pagination-item .page-numbers.dots:hover{
    background: transparent;
    color: #F0F0F0;
}
.all-articles-pagination-arrow{
    display: inline-block;
    font-size: 18px;
    line-height: 1;
}
.screen-reader-text{
    position: absolute !important;
    clip: rect(1px,1px,1px,1px);
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media screen and (max-width: 600px){
    .all-articles-pagination-item .page-numbers{
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 14px;
    }
}




