/*Block home*/

/* #home-bg-container {
    background-color: #32588138;
} */

/*Block home_collaborations_titre*/
.home_collaborations_titre{
    margin-top: 5px;
    color: #fff;
    font: normal normal bold 20px/30px HKGrotesk;
    width: 380px;
    height: 75px;
    background: #325881 0% 0% no-repeat padding-box;
    border-radius: 0px 10px 10px 0px;
    padding: 5px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    
}
#home-recherche-container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: stretch;
    background-color: #325881;
    padding: 2%;
}
#home-recherche-container .jc_container {
    margin: 0;
}
#home-recherche-container #depot_taf > .je_cherche_titre{
    min-width: 0;
    height: 100%;    
    & .svg-inline--fa {
        width: auto;
        font-size: 30px;
    }
}
#theFormTaf {
    width: 80%;
}

#rectangle_collab{
    width: 100%;
    height: 5px;
    margin: 10px 0px 0px 0px;
    border-top: 1px solid #D1D1D1;
    background: #D1D1D1 0% 0% no-repeat padding-box;
    border-radius: 3px;
}
#home-hero {
    position: relative;
    overflow: auto;
    padding-bottom: 30px;
    &::after {
        content: '';
        width: 50%; 
        height: 100%;
        position: absolute;
        z-index: -1;
        right: 0;
        top: 0;
        background-color: var(--bg-light);
    }
    & h1 {
        background-color: transparent;
        text-align: center;
        font-size: 40px;
        font-weight: 800;
        letter-spacing: 2px;
        margin: 20px 0 30px;
        & span {
            letter-spacing: normal;
            display: block;
            font-size: 24px;
            font-weight: 100;
        }
    }
    & > div {
        display: flex;
        align-items: center;
        & img {
            width: 45%;
        }
        & #hero-btns-container {
            display: flex;
            flex-direction: column;
            gap: 30px;
            margin-left: 10%;
            width: 30%;
            border: 2px solid var(--secondary);
            border-radius: 5px;
            padding: 30px;
            & .btn {
                background-color: var(--primary);
                color: #fff;
                padding: 15px 35px;
                font-size: 20px;
                font-weight: bold;
                border-radius: 5px;
                box-shadow: 2px 2px 4px #00000029;
                text-align: center;
                &:hover {
                    background-color: #fff;
                    color: var(--primary);
                    border: 1px solid var(--primary);
                }
                & span {
                    display: block;
                    font-weight: 100;
                    font-size: 16px;
                    position: relative;
                    margin-top: 14px;
                    &::before {
                        content: '';
                        width: 50px;
                        border-top: 2px solid var(--secondary);
                        position: absolute;
                        top: -7px;
                        left: calc(50% - 25px);
                        display: block;
                    }
                }
            }
        }
    }
}
/*Block home_collaborations_liste*/
.home_collaborations_liste{
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    background-color: #fff;
}
.home_collab{
    max-width: 450px;
    padding: 25px;
    flex-basis: 33%;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}
.home_collab > div{
    margin: 10px;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 2px 2px 2px #00000029;
    border: 1px solid #FFFFFF;
    border-radius: 20px;
}
.home_collab_photo{
    width: 100%;
    height: auto;
    padding: 15px;
}
.home_collab_photo > img{
    width: 100%;
    height: auto;
    border-radius: 20px;
}
.collab_elem{
    /* flex-basis: 100%; */
}
.collab_avatar{
    width: 100px;
    height: 100px;
    background-size: cover;
    background-position: top center;
    border-radius: 50%;
    flex-basis: 100px;
    box-shadow: 2px 2px 2px #00000029;
}
.home_collab_user{
    display: flex;
    justify-content: center;
    align-items: flex-end;
    color: #646464;
    flex-wrap: wrap;
    margin-top: -100px;
}
.user_titre{
    font-weight: bold;
    font-size: 20px;
}
.user_localite{
    font-size: 15px;
}
.home_collab_desc{
    height: 123px;
    overflow: hidden;
    margin-bottom: 10px;
}
.home_collab_desc > p{
    font-weight: 500;
    color:#646464;
    font-size: 12px;
    text-align: justify;
    padding: 0px 25px;
}
.collab_button{
    flex-basis: 150px;
}
.collab_button > .oto_btn_a{
    width: 100%;
    display: block;
    text-align: center;
}

footer{
    background-color: #fff;
}

#more_home_container{
    display: flex;
    justify-content: center;
    flex-direction: column;
}

#home_select_profil, 
#tools_offers, 
#reassurance,
#collaborations {
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    & h2 {
        font-size: 26px;
        font-weight: 800;
        position: relative;
        background-color: transparent;
        /* &::after {
            content: '';
            width: 40%;
            border-top: 3px solid var(--secondary);
            position: absolute;
            bottom: -7px;
            display: block;
            left: 30%;
        } */
    }
    & h2, & h3 {
        position: relative;
        width: fit-content;
        margin-bottom: 12px;
        &::after {        
            content: '';
            width: 40%;
            border-top: 3px solid var(--secondary);
            position: absolute;
            bottom: -7px;
            display: block;
            left: 30%;
        }
    }
}

/* #home_select_profil h1, 
#tools_offers h1, 
#reassurance h1{
    width: fit-content;
} */

/* #reassurance{
    margin: 50px 0px;
} */

.title_hn{
    background: #fff;
    padding: 5px 40px;
    border-radius: 5px;
    color: #325881;
}

#home_select_profil {
    background: url(/static/img/bg-forme.svg) no-repeat;
    background-size: 80%;
    background-position: bottom left;
    padding: 50px 0 30px 0;
    & .fourmies-deco {
        max-width: 130px;
    }
}

#list_profils{
    display: flex;
    justify-content: space-between;
    padding: 50px 0 30px 0;
    gap: 25px;
    width: 80%;
    margin: auto;
    
}

.profil_home{
    background: #fff;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 2px 4px #00000029;
    & .profil-title-container {
        background: linear-gradient(180deg, #325881 0%, #103761 100%) 0% 0% no-repeat;
        border-radius: 5px 5px 0 0;
        color: #fff;
        padding: 15px;
        text-align: center;
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 5px;
        & h3 {
            font-size: 24px;
            font-weight: 800;
        }
        & p.price {
            font-size: 18px;
            font-weight: 100;   
        }
    }
    & ul {
        margin: 30px 20px;
    }
    & li {
        display: flex;
        align-items: start;
        gap: 10px;        
        font-size: 16px;
        &:not(:last-child) {
           margin-bottom: 25px; 
        }
        &::before {
            content: '';
            background: url(/static/img/icon/check.svg) no-repeat;
            background-size: contain;
            display: inline-block;
            width: 15px;
            min-width: 15px;
            height: 15px;
        }
        }
}

.profil_home p {
    margin: 0;
    padding: 0;
}

/* .profil_home h2{
    background: #fff;
    border-radius: 5px;
    padding: 15px 0;
    font-size: 22px;
    color: #325881;
    height: 70px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-transform: uppercase;
}

.profil_home h2 span{
    font-size: 12px;
} */

/* .profil_home ul li{
    background: #325881;
    color: #fff;
    padding: 5px 0;
    margin: 5px 24px;
}

.profil_home > .price{
    background: rgba(50, 88, 129, .2);
    color: #325881;
    font-size: 20px;
    border-radius: 5px;
    padding: 15px 0px;
    font-weight: bold;
} */

/* #tools_offers ul,  */
/* #reassurance ul{
    margin-top: 25px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 25px;
} */

/* #tools_offers ul li,  */
/* #reassurance ul li{
    background: #fff;
    padding: 15px 25px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: bold;
    width: 15%;
    font-size: 18px;
} */

#tools_offers {
    background: url(/static/img/bg-outils-gestion.svg) no-repeat;
    background-size: cover;
    padding: 40px;
    & h2 {
        color: #fff;
    }
    & > ul {
        margin: 40px auto;
        color: #fff;
        display: flex;
        width: 80%;
        text-align: center;
        & li {
            display: flex;
            flex-direction: column;
            align-items: center;
            color: #fff;
            width: 25%;
            padding: 0 20px;
            &:not(:last-child) {
                border-right: 1px solid var(--secondary);
            }
            & i.far {
                font-size: 35px;
                margin-bottom: 30px;
                position: relative;
                color: var(--bg-light);
                &::after {        
                    content: '';
                    width: 40px;
                    border-top: 2px solid #fff;
                    position: absolute;
                    bottom: -20px;
                    display: block;
                    left: calc(50% - 20px);
                } 
            }
            & p {
                font-size: 22px;
                font-weight: 800;
                margin: 0;
            }
        }
    }
    & a.btn{
        background: #fff;
        color: var(--primary);
        padding: 10px 30px;
        width: 25%;
        font-size: 20px;
        border-radius: 5px;
        margin-top: 25px;
        text-align: center;
        font-weight: 800;
        &:hover {
            background-color: var(--secondary);
            color: #fff;
        }
    }
} 
#collab-atouts-container {
    display: flex;
    align-items: stretch;
    & > div {
        width: 50%;
        margin: 0;
    }
    & #collaborations {
        padding: 30px;
        justify-content: start;
        border-bottom: 1px solid var(--bg-light);
        & #partenaires-liste {
            display: flex;
            flex-direction: column;
            gap: 40px;
            width: 50%;
            margin-top: 20px;
            & img {
                max-width: 100%;
                height: auto;
            }
        }
    }
    & #reassurance {
        justify-content: start;
        background-color: var(--bg-light);
        padding: 30px;
        & ul {
            display: flex;
            flex-wrap: wrap;
            gap: 15px 2%;
            margin-top: 30px;
            width: 100%;
            & li {
                width: 49%;
                text-align: center;
                display: flex;
                flex-direction: column;
                align-items: center;
                padding: 20px;
                border: 1px solid var(--secondary);
                border-radius: 5px;
                & h3 {
                    font-size: 24px;
                    color: var(--primary);
                    font-weight: bold;
                }
                & i.far, i.fas {
                    font-size: 30px!important;
                    position: relative;
                    color: var(--primary);
                }
                & .svg-inline--fa {
                    width: auto;
                    font-size: 30px;
                }
            }     
        }
        
    }
}
/* #tools_offers a.btn:hover{
    background-color: #fff;
    color: #325881;
} */

#partenaires-liste{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

#partenaires-liste .partenaire img{
    max-width: 250px;
}

@media only screen and (max-width: 1522px) {
    .collab_elem{
        flex-basis: 100%;
        text-align: center;
        padding: 5px;
    }
    .collab_avatar{
        flex-basis: auto;
    }
    .home_collab_photo{
        min-width: 300px;
        height: 246px;
        overflow: hidden;
    }
    .home_collab > div {
        width: 100%;
    }
    .home_collaborations_liste {
        margin-top: 0;
    }
}

@media (max-width : 1024px){
    #home-hero {
        & h1 {
            font-size: 35px;
            & span {
                font-size: 20px;
            }
        }
        & > div {
            & #hero-btns-container {
                width: 45%;
                margin-left: 8%;
            }
        }
    }
    #list_profils {
        width: 95%;
        margin: 0 2.5%;
    }
    #tools_offers ul {
        width: 100%;
    }
    .home_collab{
        padding: 10px;
        flex-basis: 50%;
        max-width: 100%;
    }
    .home_collaborations_titre {
        width: 100%;
        border-radius: 0px;
    }
    .home_collab > div{
        margin:0px;
        box-shadow: none;
        border:none ;
        border-radius: 0px;
    }
    .home_collab_photo{
        padding:0px;
        margin:10px 0px;
        padding: 10px;
    }
    .home_collab_photo > img{
        border-radius: 0%;
    }
    .home_collaborations_liste{
        margin-top: 0px;
    }
    .home_collab_desc {
        height: auto;
    }
    #home-recherche-container {
        flex-direction: column;
        gap: 30px;
    }
    #home-recherche-container .je_cherche_titre, #depot_taf > .je_cherche_titre {
        background: rgba(255,255,255) 0% 0% no-repeat padding-box;
        max-width: 100%;
    }
    #theFormTaf {
        width: 100%;
    }
}
@media (max-width : 750px) {
    #home-hero {
        & h1 {
            font-size: 30px;
            & span {
                font-size: 18px;
            }
        }
        &::after {
            display: none;
        }
        & > div {
            flex-direction: column;
            & img {
                width: 100%;
            }
            & #hero-btns-container {
                padding: 20px 10%;
                width: 100%;
                margin-left: 0%;
                border-radius: 0;
                border: none;

            }
        }
    }
    #tools_offers {
        & ul {
            flex-wrap: wrap;
            gap: 15px;
            li {
                width: 100%;
                &:not(:last-child) {
                    border-right: none;
                    padding-bottom: 15px;
                    border-bottom: 1px solid var(--bg-light);
                }                
            }
        }
        & a.btn {
            width: 80%;
        }
    } 
    #collab-atouts-container #reassurance ul li {
        & h3 {
            font-size: 18px;
        }
    }
    #collab-atouts-container {
        flex-direction: column;
        > div {
            width: 100%;
        }
    }
    #home_select_profil {
        background-image: none;
        background-color: var(--bg-light);
        padding-top: 15px;
        & #list_profils {
            padding: 15px;
            flex-direction: column;
            width: 90%;
        }
    }
}
@media (max-width : 655px){
    .home_collab {
        flex-basis: 100%;
        max-width: 100%;
    }
    .je_cherche_titre, #depot_taf > .je_cherche_titre {
        max-width: 100%;
    }
}