.banniere{
    background-color: #F1F1F9;
}
.banniere h1,
.banniere p{
    color: var(--couleur-1) !important;
}
section.nos_anciens_programmes_neufs{
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* programmes */
.programmes{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    width: 100%;
}

.programmes .programme{
    width: calc(50% - 2.5rem);
    max-width: 35rem;
    height: 30rem;
    transition: border .2s;
    box-shadow: 0px 3px 6px #00000029;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}


.programmes .programme a{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.programmes .programme .firstImg{
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: absolute;
    transition: transform .2s;
}
.programmes .programme:hover .firstImg{
    transform: scale(1.1);
}

.programmes .programme .texts{
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to top, black, transparent);
}


.programmes .programme h3{
    color: #fff;
    width: 70%;
    text-align: left;
    margin-bottom: 1rem;
}

.programmes .programme .bottom{
    width: 70%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    height: 30%;
    margin-bottom: 2rem;
    gap: 0.5rem;
}
.programmes .programme .bottom p{
    color: #fff;
}


/* programmes */


@media screen and (max-width: 1300px) {
    .programme{
        width: 35rem !important;
    }
}


@media screen and (max-width: 740px) {
    .programme{
        width: 30rem !important;
    }
}

@media screen and (max-width: 600px) {
    .programme{
        height: 25rem !important;
        width: 20rem !important;
    }
    .programmes .programme h3{
        width: 80%;
    }
    
    .programmes .programme .bottom{
        width: 80%;
    }
}

@media screen and (max-width: 400px) {
    .programme{
        width: 17rem !important;
    }
}

@media screen and (max-width: 360px) {
    .programme{
        width: 15rem !important;
    }
    .programmes .programme .bottom{
        flex-direction: column;
        align-items: flex-start;
        gap: .5rem;
    }
}