.header-recrutement{
    position: relative;
}

.header-recrutement figure{
    position: relative;
    display: flex;
}

.header-recrutement figure img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 390/522;
    max-height: 522px;
}

.header-recrutement figure::before{
    content:'';
    display: block;
    position: absolute;
    left:0;
    top:0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 20.12%, rgba(0, 0, 0, 0.45) 47.37%);
}

.header-recrutement .contenu-header{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.header-recrutement .contenu-header h1.titre{
    color: var(--shades-blanc);
    font-family: Century, sans-serif;
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.17px;
    text-align: left;
    text-transform: uppercase;
}

#single .header-recrutement .contenu-header h1.titre{
    text-transform: capitalize;
}

.header-recrutement .contenu-header p.description{
    color: var(--shades-blanc);
    font-family: Trenda, sans-serif;
    font-size: 16px;
    font-style: normal;
    line-height: normal;
}

.header-recrutement .contenu{
    position: absolute;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.header-recrutement .contenu-cta .container-cta{
    padding: 0 20px 50px;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.header-recrutement .contenu-cta .container-cta a{
    width: 100%;
    padding: 8px;
}

@media screen and (min-width: 576px){
    .header-recrutement figure img{
        aspect-ratio: 1440/1000;
    }
}

@media screen and (min-width: 992px){
    .header-recrutement figure img{
        aspect-ratio: 1440/1000;
        height: calc(100vh - 154px);
        min-height: 335px;
    }

    .header-recrutement .contenu{
        position: initial;
    }

    .header-recrutement .contenu-header{
        gap: 20px;
        padding: 0;
        display: flex;
        align-items: center;
        position: absolute;
        top: 200px;
        max-width: 700px;
        left: 50%;
        transform: translateX(-50%);
    }

    .header-recrutement .contenu-cta{
        position: absolute;
        bottom: 59px;
        width: 700px;
        left: 50%;
        transform: translateX(-50%);
    }

    .header-recrutement .contenu-header p.description{
        text-align: center;
    }

    .header-recrutement .contenu-header h1.titre{
        font-size: 48px;
    }

    .header-recrutement .contenu-cta .container-cta{
        flex-direction: row;
    }
    /*
        .header-recrutement .contenu-cta .container-cta a{
            width: unset;
        }
     */
    .header-recrutement .contenu-cta .container-cta{
        gap: 50px;
        padding: 0 100px 50px;
    }
}

@media screen and (min-width:  992px) and (max-height: 636px){
    .header-recrutement .contenu-header{
        bottom: 168px;
        top: inherit;
    }
}

@media screen and (min-width: 1200px){
    .header-recrutement figure img{
        aspect-ratio: 1440/600;
        max-height: 600px;
    }
}
