/* ///////////////////////////////////////// Pages accueil non log */

.container_accueil {
    width: 100%;
    height: calc(100vh - 130px);
    display: flex;
    flex-direction: column;
    position: relative;
}

.section_slider_pub {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.section_slider_pub h3 {
    font-weight: 500;
    color: var(--vert);
    margin-top: 20px;
}

.section_besoin {
    display: flex;
    height: 50%;
    width: 100%;
    padding: 0vh 5vh;
    text-align: left;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section_besoin h3 {
    font-weight: 500;
    color: var(--vert);
}

.container_besoin {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    gap: 1vh;
}

.items_besoins {
    width: auto;
    height: 50%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    aspect-ratio: 16 / 9;
}

.items_besoins a {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    aspect-ratio: 16 / 9;
}

.items_besoins a img {
    position: absolute;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
}

.items_besoins a h3 {
    position: absolute;
    color: white;
    background-color: #3333336b;
    display: flex;
    padding: 2vh;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    font-size: large;
    transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
}

.items_besoins a:hover h3 {
    font-size: x-large;
}

@media all and (min-width: 500px) and (max-width: 992px) {
    .container_besoin {
        flex-direction: column;
        flex-wrap: nowrap;
    }
    .items_besoins a h3 {
        font-size: xx-large;
    }

    .items_besoins {
        width: 80%;
        height: auto;
    }
}

@media all and (max-width: 500px) {
    .items_besoins a h3 {
        font-size: large;
    }
    .container_besoin {
        flex-direction: column;
        flex-wrap: nowrap;
    }
    .items_besoins {
        width: 90%;
        height: auto;
    }
}

/* ///////////////////////////////////////// Fin Pages accueil non log */

.swiper {
    width: 100%;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

@media all and (max-width: 992px) {
    .swiper {
        margin-bottom: 40px;
    }
}

.swiper-slide {
    scale: 0.7; /* Échelle par défaut */
    transition: all 0.2s ease-in-out; /* Ajout de la transition sur toutes les propriétés */
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--vert);
}

.separator_article {
    width: 80%;
    height: 2px;
    background-color: #d9d9d9;
}

.swiper-slide a {
    height: 50%;
}

.swiper-slide a img {
    height: 100%;
}

.swiper-text_article {
    height: 50%;
}

.swiper-slide-active {
    scale: 1; /* Échelle du slide actif */
}

.swiper-button-prev {
    position: absolute;
    left: 15%;
    color: var(--vert);
}

.swiper-button-next {
    position: absolute;
    right: 15%;
    color: var(--vert);
}

.swiper-pagination-bullet-active-main {
    color: var(--vert);
    background-color: var(--vert);
}
