body{
    margin: 0;
    display: flex;
    flex-direction: column;
    /*background:#f8f9fa*/
}



section{
	padding-top: 4vh;
	padding-bottom: 4vh;
}

h1, h2{
    font-family: lato,'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.8rem;
    

}

p{
    font-family: Arial,lato,'Segoe UI',  Geneva, Verdana, sans-serif;
    
}



li{
    padding: 4px
    
}

.h1_block_end{
    margin-block-end:5px
}

h4{
    font-size: 1.1rem;
    padding: 0 20px 0 20px;
    margin-block-end: 0;
}

/* ----------------------- LE MENU ------------------------------*/
#menu_main_div{
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100vw;
    
}

.logo_kf{
    display: flex;
    align-items: center;
    transform: translateX(10px);
}

.logo_kf img{
    transform: translateX(-5px);
    width:35px
}

.logo_kf span{
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.btn_connexion{
    background: black;
    color: white;
    font-weight: bold;
    padding: 7px 15px;
    border-radius: 20px;
}

.btn_connexion span{
    display: flex;
    align-items: center;
}


/* --------------------------------------------------------------------*/
/* ---------------------phone number----------------------------*/

.phone_number_container{
    position: fixed;
    top: 200px;
    z-index: 10;
    /*background-image: linear-gradient(120deg, purple,rgb(102, 3, 72));*/
    background:#2ec4b6;
    padding: 10px;
    border-radius: 50%;
    transform: translateX(90vw) ;

    
}

.phone_number {
    
    z-index: 9;
    position: fixed;
    top: 210px;
    padding: 10px 20px;
    background: #2ec4b6;
    border-radius: 20px;
    border: none;
    transform: translateX(95vw);
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    transition: 0.2s;

}

a{
    color: black;
    font-weight: bold;

}

.phone_number a{
    color: white;
    display:none
}

.phone_number_visible{
    transform: translateX(30vw);
    
}

.phone_number_link_visible a{
    color: white;
    display:none
}


/* --------------------------------------------------------------------*/
/* ---------------------PAGE HOME----------------------------*/



.btn{
    padding: 5px 40px;
    border-radius: 25px;
 
    width: fit-content;
    margin-bottom:20px;
    margin-top:50px;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
    font-size: 1.8rem;
}

.btn_nos_formations, .btn_demande_devis{
    background-color: white;
    color:#164193;
    font-weight: bold;
    box-shadow: 1px 8px 20px #164193;
}

.btn_en_savoir_plus {
    background-color: #164193;
    color: white;
    font-weight: bold;
    box-shadow: 5px 8px 20px #3770e2;
}
.btn_en_savoir_plus a{
    color: white
}

.btn_qcm_gratuit{
    background-image: linear-gradient(273deg,#472180,#9147FF);
    color:white;
    font-weight: bold;
    padding-left:30px;
    padding-right: 30px;
}


/**----------------------------section 1 -------------------*/
.section_1{
    background-image:radial-gradient(#b3d4ea, #659ec4);
    margin-top:250px;
    
}

.container_smile_guy{
    position: absolute;
    transform: translateY(-230px) translateX(-50%);
    left:50%
}

.empty_smile_guy_box{
    height: 130px;
}

.container_smile_guy img{
    width: 397px;
   
}




.container_section_1_text  h1{
    color:#002B48;
    
}

.container_section_1_text p{
    color: white;
    font-weight: bold
}

.container_section_1_text, .container_section_2_text, .container_section_3_text, .container_section_4_text, .section_5, .footer_main_container{
    padding: 5vw
}

/**----------------------------section 2 -------------------*/
.section_2 h2{
    color:#164193
}


/**----------------------------section 3 -------------------*/
.section_3{
    color:white;
    background-image: linear-gradient(120deg,#91ccf3,#659EC4);
}

.container_aide_fi_img{
    position: absolute;
    transform: translateY(-100px);
    width: 95vw;
    display: flex;
    justify-content:center
}

/*--- sur petits écran on cache la deuxieme image de financement */
.container_aide_fi_img_2{
    display: none;
}


.container_section_3_text{
    transform:translateY(-30px)
}

.container_financeur_logo{
    width: 95vw;
    display: flex;
    justify-content:space-around;
    margin-bottom: 20px;
}

/**----------------------------div chiffre -------------------*/

.chiffres{
    background:#323d42;
    padding: 80px;
}

.chiffres div{
    padding: 20px;

}

.chiffres h4{
    color: #54c2e9;
    margin-block-start: 0;
    font-size: 2rem;

}

.chiffres span{
    color: white;
}




/**----------------------------section 4 -------------------*/
.section_4{
    background:#F1F7FE
}

.section_4 h2{
    text-align: center;
    letter-spacing: 4px;
    color: #006BA6;
    font-weight:bolder
}

.container_section_4_text p{
    color:#132B39;
    /*font-weight:bold*/
}

.container_mobile_img{
    margin-left: auto;
    margin-right: auto;
    width:fit-content
}

/**----------------------------section 5 -------------------*/
.section_5 {
    background:white
}

.section_5 h1{
    text-align: center;
}

.question_container {
    /*width: 75vw;*/
    margin-left: auto;
    margin-right:auto
}

.question_faq {
    
    border: solid 0.5px lightgrey;
    background: white;
    cursor: pointer;
    transition: 0.2s;
    font-weight:bold;
    font-size: 0.8rem;
    color: rgb(109, 101, 101);
    text-align: center;
    padding: 0 15px
}

.question_faq h2{
    font-size: 1.2rem;
}



.question_faq:hover{
    background: lightgrey;
    color:white;
    box-shadow: none;
}

.container_question_faq, .section_objectif_forma ol{
    width: 98%; 
    margin-right: auto;
    margin-left: auto;
}

.container_question_faq h2{
    font-size: 1.1rem;
   
}

/***- --- parragraphe de réponse ----*/
.reponse_faq_hidden{
  
    height: 0;
    overflow: hidden;
    margin-block-end: 0;
    margin-block-start: 0;
    transition:0.5s ease;
    border: solid 1px white;
    padding: 0 25px;

    
}

.reponse_faq_visible{

    height: auto;
    padding: 25px;
    margin-block-end: auto;
    margin-block-start: auto;
    margin-bottom: 15px;
    border: solid 1px lightgrey;
    line-height: 25px;

}

.home_faq_accordion {
    display: grid;
    gap: 14px;
    width: min(920px, calc(100% - 32px));
    margin: 34px auto 0;
}

.home_faq_item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 16px 35px rgba(19, 43, 57, .08);
    overflow: hidden;
}

.home_faq_item[open] {
    border-color: rgba(46, 196, 182, .45);
    box-shadow: 0 20px 42px rgba(19, 43, 57, .12);
}

.home_faq_item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 72px;
    padding: 18px 22px;
    color: #132B39;
    cursor: pointer;
    font-weight: 800;
    list-style: none;
}

.home_faq_item summary::-webkit-details-marker {
    display: none;
}

.home_faq_item summary::after {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e8f8f5;
    color: #138b80;
    font-size: 1.35rem;
    line-height: 1;
    flex: 0 0 auto;
    transition: background .2s, color .2s, transform .2s;
}

.home_faq_item[open] summary::after {
    content: "-";
    background: #132B39;
    color: #ffffff;
    transform: rotate(180deg);
}

.home_faq_item summary:hover {
    background: #f8fafc;
}

.home_faq_item summary:focus-visible {
    outline: 3px solid rgba(46, 196, 182, .45);
    outline-offset: -3px;
}

.home_faq_item summary span {
    display: block;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.35;
}

.home_faq_answer {
    padding: 0 22px 22px;
    color: #425466;
    line-height: 1.75;
    font-size: .98rem;
}

.home_faq_answer p {
    margin: 0 0 12px;
}

.home_faq_answer p:last-child {
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .home_faq_accordion {
        width: calc(100% - 24px);
        gap: 10px;
        margin-top: 24px;
    }

    .home_faq_item summary {
        min-height: 64px;
        padding: 16px;
        gap: 12px;
    }

    .home_faq_item summary span {
        font-size: .95rem;
    }

    .home_faq_item summary::after {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }

    .home_faq_answer {
        padding: 0 16px 18px;
        font-size: .92rem;
    }
}
ol{
    padding: 0;
}


/* --------------------------------------------------------------*/
/*-------------- PAGE CONTACT ----------------------------------------*/
.content{
    padding: 20px;
    text-align: center;
    margin-bottom: 85px;
    margin-top: 85px;
    background: white;
    box-shadow: 1px 1px 24px lightgrey;
    border-radius: 20px;
    width: 90vw;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box
}

.content input, .content textarea{
    box-shadow: 1px 1px 1px lightgrey
}

.content textarea{
    border: solid 1px lightgrey;
}

.content h2{
    margin-block-start: 0
}
.ID{
    display: block;
    
}
input, textarea{
    width: 96%;
    box-shadow: none;
    border: solid 1px white;
}

textarea{
    height: 20vh;
}


/* --------------------------------------------------------------------*/
/* ---------------------PAGE NOS FORMATIONS----------------------------*/

.nos_forma_card_container{
    padding: 15px;

   
}

.nos_forma_text_container{
    background-image: radial-gradient(#98e7f8, #248ca3);
        display: flex;
        justify-content: center;
        flex-direction: column;
        padding: 50px;
        color: white;
       
}

.card{
    box-shadow: 2px 4px 10px lightgrey;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    background: white;
    
}

.card_text{
    padding: 20px;
    font-size: 1rem;
}

.pic_1{
    background-image: url("../pic/version_2023/meeting_room.jpg");
    height: 250px;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    background-position: center;
}

.pic_1> h4, .pic_2> h4{
    position:absolute;
    color: white;
    right:70px;
    top:170px;
    font-size: 1.2rem;
}

.pic_2{
    background-image: url('../pic/version_2023/elearning.png');
    height: 250px;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    background-position: center;
}

.btn_interesse{
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.btn_interesse button{
    background:black;
    /*width: 50vw;*/
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    text-align: center;
    padding: 10px 35px;
    border-radius:20px;
    margin-bottom: 4vh;
    margin-top: 2vh;
    cursor: pointer;
    border: none;
 
    
}

.card_text li{
    list-style: square;
    line-height: 1.5rem
}

.card_text p {
    line-height: 1.5rem
}

.type_formation{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(2deg, #06030c, transparent);
}

.type_formation h2{
    margin-block: 0;
    padding: 0 20px 0 20px;
    text-align: center;
    line-height: 1.75rem;
}


/* --------------------------------------------------------------------*/
/* ---------------------PAGE CARTE PRO----------------------------*/

article{
    padding: 24px;
}

article h1{

    font-size: 2.5rem;
}




/*-------------------Tablettes-----------------------*/


@media all and (min-width: 799px){



    .phone_number_container{
        transform: translateX(95vw);
    }


    /**** on cache le numéro de tel dans le menu *****/
    

    /***** page formule ******/
    .nos_forma_card_container, .nos_forma_text_container *{
        width: 60%;
        margin-left: auto;
        margin-right: auto;
        padding:0
        
    }
    
    .card{
        width: 80%;
    }

   
}




/*----- ECRAN 800px et plus --------------------*/
@media (min-width:800px){

    .phone_number_container, .phone_number{
        display: none;
    }

    .nos_forma_card_container, .nos_forma_text_container *{
        width: 60%;
        margin-left: 0;
        margin-right: 0;
        
    }

    ol{
        padding: auto;
    }

    h1{
        font-size: 3.55vw;
        font-weight: bold;
        font-family: lato,'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    /* sous titre h2 de la page home.html */
    .h2_subtitle{
        font-size: 3.5vw;
    }

    .reponse_faq_visible_container h4{
        padding: 0
    }
    p{
        font-size: 1rem;
        font-weight: bold, ;
        font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }


    .btn{
        height: fit-content;
        font-size: 1.4rem;
        padding: 2% 15%;
        border-radius: 100px;
        transform: none;

    }

    .main_block_container{
        display: grid;
        margin-top: 85px
    }

    .empty_smile_guy_box{
        display: none
    }

    section{
        display: flex;
        justify-content: center;
        padding-top:50px;
        padding-bottom:50px;
        
    }

    .container_section_1_text, .container_section_2_text,.container_section_3_text, .question_container{
        width:75vw
    }


    .container_smile_guy{
        position: relative;
        transform: translateY(-50px) translateX(0);
        left: 0;
        
    }
    .container_section_1_text, .section_2, .section_3, .section_4, .section_5, footer{
        padding: 15px;
        margin-top: 0;
        margin-bottom: 0;
    }
    .section_1{
        margin-top:0;
        align-items:center
    }

    .container_smile_guy img{
       
        width:400px
    }


    .section_1 .empty_smile_guy_box{
        display: none;
        
    }

   

    .container_section_1_text{
        display: flex;
        align-items: center;
        gap: 24px
    }

    .container_financeur_logo{
        width: 40%;
    }

    .section_financement{
        align-items: center;
        flex-direction: column;
    }

    .section_financement .empty_smile_guy_box{
        display:none
    }

    .container_aide_fi_img{
        position: relative;
        height: fit-content;
        transform: none;
    }

    .container_aide_fi_img_2 img{
        width:400px;
        
    }

    .container_aide_fi_img{
        display:none
    }

    .container_aide_fi_img_2{
        display: block;
    }

    .text_img_to_flex{
        display:flex;
        /*justify-content: space-around;*/
        align-items: center;
    }

    .block_text_width_70{
        width:70%
    }

    .block_text_width_50{
        width:50%;
        padding: 40px;
        
    }
    .container_section_4_img_txt{
        display:flex;
        align-items: center;
        justify-content: center;
    }
    
    /* ----------------------- Section 5  sur les chiffres du centre -------------------*/
    .chiffres{
        padding:50px;
        display: flex;
        justify-content: space-around;
    }

    .chiffres_container{
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center ;
    }

    .question_container{
        display: flex;
        flex-direction:column;
        align-items: center;
        margin:0
    }
    
    .question_faq{
        height:100px
    }
    .question_faq h2{
        font-size: 1rem
    }

    .reponse_faq_visible_container span{
        padding: 0 20px 0 20px;
    }

    
    /*-----------------------------------------------------------*/
    /*-------------- PAGE CONTACT -------------------------------*/
    .content{
        width: 400px;
        margin: 0 auto;
        margin-bottom: 85px;
        /* je rajoute 50px qui se rajoutent au margin-top de 85px du container */
        margin-top: 85px
        
    }

    .content form{
        padding: 24px
    }

    .ID{
        display: flex;
        gap: 24px
    }

    
  

    /* --------------------------------------------------------------------*/
    /* ---------------------PAGE NOS FORMATIONS----------------------------*/

    .container_div_nos_forma{
        display: flex;
        justify-content: center;
    }

    .nos_forma_text_container{
        background-image: radial-gradient(#98e7f8, #248ca3);
        display: flex;
        justify-content: center;
        flex-direction: column;
        padding: 50px;
        color: white;
        font-size: 2.2rem;
        width: 30%;
    }


    .nos_forma_card_container{
        display: flex;
        justify-content: space-around;
        max-width: 50%;
    }

    .card{
        height: fit-content;
        width: 40%;
        margin-bottom:0
    }

    .btn_interesse{
        width: 70%;
    }

    .type_formation{
        margin-block-start: 0;
    }

    .section_objectif_forma ol{
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        max-width: 65%;
    }

   

   
    .nos_formation_ol{
        display: flex;
        
    }

    .nos_form_faq_container .reponse_faq_hidden{
        width: 0;
        font-size: 1.2rem;
    }

    .nos_form_faq_container .question_faq{
        border-top-left-radius: 10px;
        font-size: 1rem;
        padding:0 20px;
    }

    .btn_interesse button{
        font-size: 1.2vw;
    }

   

      
  

}
