/* Flip-box : flex colonne */
.elementor-flip-box--effect-slide .elementor-flip-box {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

/* Front : cover propre + zoom via scale */
.elementor-flip-box--effect-slide .elementor-flip-box .elementor-flip-box__front {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
  overflow: hidden !important;
  background-size: cover !important;
  background-position: center top !important;
  transform: scale(1) !important;
  transform-origin: center center !important;
  transition: transform 0.3s ease !important;
}

.elementor-flip-box--effect-slide .elementor-flip-box:hover .elementor-flip-box__front {
  transform: scale(1.1) !important;
}

/* Back : hauteur contenu, poussé en bas */
.elementor-flip-box--effect-slide .elementor-flip-box .elementor-flip-box__back {
  position: relative !important;
  inset: auto !important;
  width: auto !important;
  height: auto !important;
  margin: auto 10px 10px !important;
  z-index: 1 !important;
  transform: translateY(calc(100% + 10px)) !important;
  transition: transform 0.4s ease !important;
}

.elementor-flip-box--effect-slide .elementor-flip-box:hover .elementor-flip-box__back {
  transform: translateY(0) !important;
}