/* CarouselSlides.module.css */

.carouselContainer {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.slide {
    padding: 10px;
}

.slideContent {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Partie texte à gauche */
.textSection {
    flex: 1;
    padding: 20px;
}

.textSection h2 {
    margin: 0 0 10px;
    color: #00a651;
    /* Couleur des titres */
    font-family: 'Unbounded', sans-serif;
    font-size: 40px;
}

.textSection p {
    margin: 0;
    color: #000000;
    font-family: var(--font-text);
    font-size: 14px;
}

/* Partie image à droite */
.imageSection {
    flex: 1;
    position: relative;
    height: 484px;
    /* ajustez cette hauteur selon vos besoins */
    border-radius: 8px;
    overflow: hidden;

}

/* RESPONSIVE (mobile - moins de 768px) */
@media (max-width: 768px) {


    .slideContent {
        flex-direction: column;
        gap: 10px;
    }

    .textSection {
        padding: 10px;
        text-align: center;
    }

    .textSection h2 {
        font-size: 24px;
        font-weight: 600;
        position: static;
        margin-bottom: 10px;
    }

    .textSection p {
        font-size: 14px;
        position: static;
    }

    .imageSection {
        width: 100%;
        height: 484px;
        position: relative;
        overflow: hidden;
        border-radius: 8px;
    }
}