/*! Styles pour le pattern Hero Banner Contact */

/* Conteneur principal */
.is-banner-contact-container {
  position: relative;
  overflow: hidden;
  padding: var(--wp--custom--spacer-xl-fluid) var(--wp--custom--spacer-fluid);
}

/* Arrière-plan avec dégradé */
.is-banner-contact-container:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://trusting-bouman.217-160-68-194.plesk.page/wp-content/uploads/2025/05/Degrade-1.png");
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  z-index: -1;
}

/* Colonne de contenu */
.is-banner-contact-content {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: var(--wp--custom--spacer-m);
  padding: var(--wp--custom--spacer-l) 0;
}

/* Titre */
.is-banner-contact-title {
  color: var(--wp--preset--color--white);
  margin-bottom: var(--wp--custom--spacer-m);
}

/* Description */
.is-banner-contact-description {
  color: var(--wp--preset--color--white);
  margin-bottom: var(--wp--custom--spacer-m);
  max-width: 600px;
}

/* Colonne d'image */
.is-banner-contact-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.is-banner-contact-image img {
  max-width: 100%;
  height: auto;
}

/* Wrapper des colonnes */
.is-banner-contact-wrapper {
  display: flex;
  align-items: center;
  gap: var(--wp--custom--spacer-l);
}

/* Responsive - Tablette */
@media (max-width: 1024px) {
  .is-banner-contact-container {
    padding: var(--wp--custom--spacer-l-fluid) var(--wp--custom--spacer-fluid);
  }
  
  .is-banner-contact-wrapper {
    gap: var(--wp--custom--spacer-m);
  }
  
  .is-banner-contact-content {
    width: 55%;
    padding: var(--wp--custom--spacer-m) 0;
  }
  
  .is-banner-contact-image {
    width: 45%;
  }
  
  .is-banner-contact-title {
    font-size: clamp(1.75rem, 1.5rem + 1.25vw, 2.5rem);
  }
}

/* Responsive - Mobile large */
@media (max-width: 768px) {
  .is-banner-contact-container {
    padding: var(--wp--custom--spacer-l-fluid) var(--wp--custom--spacer-s-fluid);
  }
  
  .is-banner-contact-wrapper {
    flex-direction: column;
    gap: var(--wp--custom--spacer-m);
  }
  
  .is-banner-contact-content {
    width: 100%;
    padding: var(--wp--custom--spacer-m) 0;
    order: 1;
  }
  
  .is-banner-contact-image {
    width: 100%;
    margin-top: 0;
    order: 0;
  }
  
  .is-banner-contact-image img {
    max-width: 90%;
    margin: 0 auto;
  }
}

/* Responsive - Mobile petit */
@media (max-width: 480px) {
  .is-banner-contact-container {
    padding: var(--wp--custom--spacer-m-fluid) var(--wp--custom--spacer-xs-fluid);
  }
  
  .is-banner-contact-content {
    padding: var(--wp--custom--spacer-s) 0;
    gap: var(--wp--custom--spacer-s);
  }
  
  .is-banner-contact-title {
    margin-bottom: var(--wp--custom--spacer-s);
    font-size: clamp(1.5rem, 1.25rem + 1.25vw, 1.75rem);
  }
  
  .is-banner-contact-description {
    margin-bottom: var(--wp--custom--spacer-s);
  }
  
  .is-banner-contact-content .wp-block-buttons {
    width: 100%;
  }
  
  .is-banner-contact-content .wp-block-button {
    width: 100%;
  }
  
  .is-banner-contact-content .wp-block-button__link {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  
  .is-banner-contact-image img {
    max-width: 100%;
  }
}
