.elementor-wrapper.elementor-fit-aspect-ratio.elementor-open-inline > div {
    max-width: 100%;
}

.elementor-wrapper.elementor-fit-aspect-ratio.elementor-open-inline > div > div {
    padding-bottom: 20%;
}



.vc_tta-tab.vc_active > a {
  background-color: #000 !important; /* couleur active à changer */
   color: #fff !important;

}
.vc_tta-tab {
  background-color: #ffffff;
  color: #333;
}

.vc_tta-panel-heading  a {
  background-color: #000 !important; /* couleur active à changer */
   color: #fff !important;
}
.vc_tta-panel {
  background-color: #ffffff;
  color: #333;
}

.vc_tta-panel-body {
  border: 2px solid #2a2a2a !important;
}


@media (max-width: 767px) {
    /* On transforme la rangée en conteneur vertical */
    .ma-rangee-mobile {
        display: flex !important;
        flex-direction: column !important;
    }


    /* On force TOUTES les colonnes (les 4) à prendre toute la largeur */
    .ma-rangee-mobile > .vc_column_container {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        left: 0 !important;
        padding-left: 15px !important; /* Ajustez selon votre design */
        padding-right: 15px !important;
    }

    /* L'ORDRE : */
    .col-1 { 
        order: 1 !important; 
    }
    .col-4 { 
        order: 2 !important; 
    }
    
    /* On cible les colonnes 2 et 3 pour qu'elles passent après */
    .ma-rangee-mobile > .vc_column_container:not(.col-1):not(.col-4) {
        order: 3 !important;
    }
}

/* Arrondir les boutons */
.edgtf-btn, button, input[type="submit"] {
    border-radius: 4px !important;
}


/* Réserver l'espace pour le slider et éviter le CLS */
.espace-slider-reserve {
  min-height: 790px; 
}

/* Pour les tablettes */
@media screen and (max-width: 1024px) {
  .espace-slider-reserve {
    min-height: 490px;
  }
}

/* Pour les grands mobiles (mode paysage) */
@media screen and (max-width: 778px) {
  .espace-slider-reserve {
    min-height: 800px;
  }
}

/* Pour les petits mobiles (mode portrait) */
@media screen and (max-width: 480px) {
  .espace-slider-reserve {
    min-height: 775px;
  }
}

