.page_travailler {
    --jaune: #F6BA29;
    --gris: #909090;
    --gris-pale: #E5E5E5;
    --gris-bg: #F9F9F9;
}

.btn-yellow {
    background-color: var(--jaune);
    color: white;
    padding: 20px 29px;
    font-family: "Aestetico Medium";
    font-size: 20px;
}

.btn-center {
    display: flex;
    justify-content: center;
}

.section-travailler {
    position: relative;
    padding: 0 20px;
}

.btn-yellow:hover {
    color: white;
    text-decoration: none;
}

.section-hero-video {
    display: flex;
    justify-content: center;
    padding: 100px 0;
}

.section-hero-video img {
    border-radius: 20px;
}

button {
    border: none;
    padding: 0;
}

button:focus {
    outline: none;
}

.item-video {
    position: relative;
    display: block;
    background-color: transparent;
    max-width: 933px;
}

.img-default {
    background-color: var(--gris);
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-video .item-video-thumb {
    position: relative;
}

.img-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.item-video .item-video-thumb svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.item-video .item-video-content {
    padding-top: 20px;
    text-align: left;
}

.item-video .item-video-content h4 {
    font-family: "Aestetico Bold";
    color: black;
    font-size: 31px;
    line-height: 37px;
    margin-bottom: 20px;
    pointer-events: none;
}

.item-video .item-video-content p {
    margin-bottom: 0;
    color: black;
    pointer-events: none;
}

.section-box-text {
    position: relative;
    margin: 60px 0;
}

.section-box-text h2, .section-box-text h1 {
    font-family: "Aestetico Bold";
    color: var(--jaune);
    font-size: 60px;
    line-height: 68px;
    margin-bottom: 20px;
}

.section-box-text h3 {
    font-family: "Aestetico Medium";
    color: var(--gris);
    font-size: 20px;
    line-height: 29px;
    margin-bottom: 20px;
}

.section-box-text p {
    font-family: "Aestetico Regular";
    color: black;
    font-size: 16px;
    line-height: 29px;
    margin-bottom: 60px;
}

.section-grid-video {
    position: relative;
    margin-bottom: 100px;
}

.section-grid-video .grid-container {
    padding: 40px 0;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 0 -30px;
}

.section-grid-video .grid-container button {
    width: calc(50% - 50px);
    margin: 25px;
}

.section-grid-jobs {
    position: relative;
    margin: 0 0 100px;
}

.section-grid-jobs .row {
    margin-bottom: 100px;
    justify-content: center;
}

.section-partners {
    padding-top: 60px;
    background-color: var(--gris-bg);
}

.section-grid-partners {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
}

.section-grid-partners .grid-container {
    padding: 40px 0;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 0 -50px;
    width: 100%;
}

.section-grid-partners .grid-container > div {
    width: calc(25% - 50px);
    margin: 25px;
    background-color: white;
    aspect-ratio: 1 / 1;
    padding: 0 28px;
    box-shadow: 0px 4px 39px 0px rgba(0, 0, 0, 0.18);
}

.section-grid-partners .grid-container > div .item-partners-top {
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100% - 75px);
    padding: 28px 0;
}

.section-grid-partners .grid-container > div .item-partners-top img {
    padding: 10px;
}

.section-grid-partners .grid-container > div .item-partners-bottom {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 75px;
    border-top: 1px solid var(--gris-pale);
}

.section-grid-partners .grid-container > div .item-partners-bottom > a {
    color: black;
    line-height: 21px;
    font-size: 16px;
    font-family: "Aestetico Bold";
    display: flex;
    align-items: center;
    text-decoration: none;
}

.section-grid-partners .grid-container > div .item-partners-bottom > a svg{
    margin-left: 12px;
}

.resultats {
    width: 100%;
    color: black;
    line-height: 1.4;
    font-size: 31px;
    font-family: "Aestetico Bold";
    text-align: center;
}

#modalVideo {
    width: 100%;
}
#modalVideo .modal-dialog {
    max-width: 1189px;
    width: 100%;
    padding: 0;
    margin: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#modalVideo .modal-content {
    border: none;
    background-color: transparent;
    background-clip: inherit;
}

#modalVideo .modal-content .modal-footer{
    border: none;
}

#modalVideo .modal-dialog iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
}

#modalVideo .modal-footer button {
    background-color: var(--jaune);
}

@media only screen and (max-width : 991px) {
    .item-video .item-video-thumb svg {
        width: 50px;
        height: 50px;
    }

    .section-travailler.content_wrapper {
        margin-top: 20px !important;
    }

    .section-travailler .container {
        padding: 0;
    }

    .section-hero-video {
        padding: 20px;
    }

    .section-box-text {
        margin: 40px 0;
    }

    .section-box-text p {
        margin-bottom: 40px;
    }

    .section-box-text h2, .section-box-text h1 {
        font-size: 30px;
        line-height: 1.2;
    }

    .section-grid-video {
        margin-bottom: 20px;
    }
    
    .section-grid-video .grid-container {
        padding: 20px 0;
        margin: 0;
    }
    
    .section-grid-video .grid-container button {
        width: 100%;
        margin: 20px 0;
    }

    .section-grid-jobs {
        position: relative;
        margin: 0 0 40px;
    }
    
    .section-grid-jobs .row {
        margin-bottom: 20px;
    }

    .item-video .item-video-content h4 {
        font-size: 21px;
        margin-bottom: 10px;
    }

    .section-grid-partners {
        margin-bottom: 20px;
    }
    
    .section-grid-partners .grid-container {
        padding: 40px 0;
        margin: 0;
    }
    
    .section-grid-partners .grid-container > div {
        width: 100%;
    }

    .resultats {
        font-size: 20px;
    }
}