section.modular-text {
    padding: 0rem;
    margin-top: 2em;
}

.modular-text-section {
    margin-top: 0em;
    margin-bottom: 0em;
    /* padding-top: 10px !important;
    padding-bottom: 10px !important; */
    transition: background 0.2s, box-shadow 0.2s;
}

.modular-text-content {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    /* padding-left: 1.5em;
    padding-right: 1.5em; */
    /* margin-top: 2em;
    margin-bottom: 2em; */
}
.modular-text-inner {
    text-align: initial;
    line-height: 1.7;
    padding: 10px;
}
.modular-text-inner img {
    margin-bottom: 10px;
}

/* ZONE BASSE 3 COLONNES ADAPTATIVE */
.modular-bottom-zone {
    display: flex;
    flex-direction: row;
    /* CORRECTION 1: 'center' devient 'space-between' */
    justify-content: space-between; 
    gap: 2em;
    /* margin-top: 2em; */
}
.modular-bottom-zone__column {
    /* CORRECTION 2: 'width: 145px' devient 'flex: 1' */
    flex: 1; 
    min-height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.modular-bottom-zone__column img,
.owl-carousel img {
    width: 130px !important;
    height: 139px !important;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* Tes styles mobile sont parfaits, on n'y touche pas */
@media (max-width: 640px) {
    .modular-bottom-zone {
        flex-direction: column;
        align-items: center;
        gap: 1em;
    }
    .modular-bottom-zone__column {
        width: 100%;
        min-width: unset;
        justify-content: center;
        /* On remet flex: 1 (auto) pour que la largeur 100% fonctionne */
        flex: 1 1 auto;
    }
}
/*
  CORRECTION : Force le conteneur du carrousel à
  rester dans sa colonne flexbox.
*/
.modular-bottom-zone__column .owl-carousel {
    /* Force le carrousel à prendre la largeur 
      voulue (identique à vos images) 
    */
    width: 130px;
    max-width: 100%; 
}

/* Bouton dynamique (largeur min cohérente) */
.bottomzone-btn {
    font-weight: 600;
    text-align: center;
    min-width: 130px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s, transform 0.2s;
    box-shadow: 0 1px 6px #0001;
    opacity: 1;
}
.bottomzone-btn:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}


/*==========================*
    Surcharge module text ui-tabs wrapper
*==========================*/
/*.tabs-wrapper.ui-theme-badges {
    box-shadow: 0 4px 18px -6px rgb(30, 44, 74);
    }