/*
 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
*/

/* =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;
}

.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;
}

.entry-content 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/formation-li.svg");
        width: 24px;
        height: 24px;
        position: absolute;
        margin-right: 10px;
        left: -2em;
        top: 0;

    }
}


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

/*Accueil*/

.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%;
}
.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
}


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

.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;
        input,textarea, select {
            width: 100%;
            padding: 10px;
            border-radius: 8px;
            border: 1px solid #BBFEF1;
            background: transparent;
            color: #BBFEF1;
            font-size: 16px;
            option{
                background: #04221D;
            }
            &::placeholder{
                color: #8D8D8D;
            }
        }

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

}
.flex-form-send{
    display: flex;
    justify-content: center;

    .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%;
        }
    }
}




