/**
 * Hero 4 Section - Dioqa UI Kit
 *
 * @package Dioqa_UI_Kit
 */

/* Section Container */
.hero-4-section {
  background-color: #ffffff;
  padding: 0 !important;
}

/* Image Wrapper - pleine largeur */
.hero-4-image-wrapper {
  width: 100%;
  height: 540px;
  overflow: hidden;
}

.hero-4-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Content Wrapper - padding vertical avec variables CSS */
.hero-4-content-wrapper {
  padding-top: var(--padding-top, 5rem);
  padding-bottom: var(--padding-bottom, 5rem);
}

/* Titre */
.hero-4-title h1,
.hero-4-title h2,
.hero-4-title h3,
.hero-4-title h4,
.hero-4-title h5,
.hero-4-title h6,
.hero-4-title p {
  color: var(--bs-dark, #3b3949);
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  line-height: normal;
  margin: 0;
}

/* Support pour le texte en couleur primaire dans le titre */
.hero-4-title .text-primary,
.hero-4-title span[style*="color"] {
  color: var(--bs-primary) !important;
}

/* Texte descriptif */
.hero-4-text p {
  color: var(--bs-text, #6b687d);
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  line-height: 35px;
  margin: 0;
}

/* Responsive - Tablette */
@media (max-width: 991.98px) {
  .hero-4-image-wrapper {
    height: 400px;
  }

  .hero-4-title h1,
  .hero-4-title h2,
  .hero-4-title h3,
  .hero-4-title h4,
  .hero-4-title h5,
  .hero-4-title h6,
  .hero-4-title p {
    font-size: 40px;
  }

  .hero-4-text p {
    font-size: 18px;
    line-height: 30px;
  }
}

/* Responsive - Mobile */
@media (max-width: 767.98px) {
  /* Adaptation du padding sur mobile (x0.6 comme _sections-common.css) */
  .hero-4-content-wrapper {
    padding-top: calc(var(--padding-top, 5rem) * 0.6);
    padding-bottom: calc(var(--padding-bottom, 5rem) * 0.6);
  }

  .hero-4-image-wrapper {
    height: 300px;
  }

  .hero-4-title h1,
  .hero-4-title h2,
  .hero-4-title h3,
  .hero-4-title h4,
  .hero-4-title h5,
  .hero-4-title h6,
  .hero-4-title p {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .hero-4-text p {
    font-size: 16px;
    line-height: 28px;
  }
}
