/* Home customer support strip (Elementor) */
.customer-support {
  background: #f3f3f6;
  padding: 26px 0;
}

.customer-support > .e-con-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  align-items: center;
}

.customer-support > .e-con-inner > .e-con {
  display: flex;
  align-items: center;
  gap: 16px;
}

.customer-support .e-image-base {
  width: 74px;
  min-width: 74px;
  height: auto;
  object-fit: contain;
}

.customer-support .elementor-widget-heading .elementor-heading-title:empty {
  display: none;
}

.customer-support .elementor-widget-heading h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  color: #141414;
}

.customer-support .elementor-widget-heading p {
  margin: 2px 0 0;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 400;
  color: #5f6063;
}

.customer-support .elementor-widget-heading h2 + p {
  margin-top: 4px;
}

@media (max-width: 1279px) {
  .customer-support > .e-con-inner {
    gap: 26px;
  }

  .customer-support .elementor-widget-heading h2 {
    font-size: 16px;
  }

  .customer-support .elementor-widget-heading p {
    font-size: 14px;
  }
}

@media (max-width: 1024px) {
  .customer-support > .e-con-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 22px;
  }
}

@media (max-width: 767px) {
  .customer-support {
    padding: 18px 0;
  }

  .customer-support > .e-con-inner {
    grid-template-columns: 1fr;
    padding: 0 16px;
    gap: 16px;
  }

  .customer-support .e-image-base {
    width: 60px;
    min-width: 60px;
  }

  .customer-support .elementor-widget-heading h2 {
    font-size: 15px;
  }

  .customer-support .elementor-widget-heading p {
    font-size: 13px;
  }
}

/* Home "Location d'équipements adaptés" section (Elementor) */
#home-offer {
  padding: 4.2rem 0 4.6rem;
}

#home-offer h2 {
  margin: 0;
  font-size: clamp(2rem, 2.45vw, 4.25rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1b1d23;
}

#home-offer > .e-con-inner > .elementor-element-c79f1ff p {
  margin: 0.55rem 0 0;
  font-size: clamp(1.05rem, 1.18vw, 2rem);
  line-height: 1.35;
  color: #64676f;
}

#home-offer .image-with-text,
#home-offer .image-with-text-btn-hover {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  align-items: flex-start !important;
  padding: clamp(1.25rem, 2vw, 2.2rem);
  color: #fff !important;
  text-align: left;
}

#home-offer .image-with-text::before,
#home-offer .image-with-text-btn-hover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 14, 20, 0.04) 24%,
    rgba(11, 14, 20, 0.62) 100%
  );
}

#home-offer .image-with-text::before {
  background: linear-gradient(
    180deg,
    rgba(11, 14, 20, 0.08) 22%,
    rgba(11, 14, 20, 0.64) 100%
  );
}

#home-offer .image-with-text > *,
#home-offer .image-with-text-btn-hover > * {
  position: relative;
  z-index: 1;
}

#home-offer .image-with-text,
#home-offer .image-with-text-btn-hover,
#home-offer .image-with-text a,
#home-offer .image-with-text-btn-hover a,
#home-offer .image-with-text p,
#home-offer .image-with-text-btn-hover p,
#home-offer .image-with-text h3,
#home-offer .image-with-text-btn-hover h3 {
  color: #fff !important;
}

#home-offer .image-with-text h3,
#home-offer .image-with-text-btn-hover h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

#home-offer .image-with-text h3 {
  max-width: 16ch;
  font-size: clamp(2rem, 2.55vw, 3.6rem);
}

#home-offer .image-with-text-btn-hover h3 {
  margin-bottom: 0.45rem;
  max-width: 18ch;
  font-size: clamp(1.35rem, 1.9vw, 2.5rem);
  transition: transform 0.7s ease;
}

#home-offer .image-with-text p,
#home-offer .image-with-text-btn-hover p {
  margin: 0.85rem 0 0;
  font-size: clamp(1rem, 1.18vw, 1.9rem);
  line-height: 1.32;
  max-width: 28ch;
}

#home-offer .image-with-text-btn-hover p {
  transition: transform 0.7s ease;
}

#home-offer .image-with-text a,
#home-offer .image-with-text-btn-hover a {
  margin-top: 1.35rem;
  float: none;
  clear: both;
  width: fit-content;
  max-width: 100%;
  display: inline-flex !important;
  align-items: center;
  gap: 0.6rem;
  padding: 0.78rem 1.6rem;
  border-radius: 0.86rem;
  background: #ec986e;
  color: #fff !important;
  font-size: clamp(1.03rem, 1.14vw, 1.65rem);
  font-weight: 600;
  line-height: 1.08;
  text-decoration: none;
  transition:
    background 0.2s ease,
    opacity 0.7s ease,
    transform 0.7s ease;
}

#home-offer .image-with-text a::after,
#home-offer .image-with-text-btn-hover a::after {
  content: "↗";
}

#home-offer .image-with-text a:hover,
#home-offer .image-with-text-btn-hover a:hover {
  background: #e68761;
}

#home-offer .image-with-text-btn-hover a {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

#home-offer .image-with-text-btn-hover:hover a,
#home-offer .image-with-text-btn-hover:focus-within a {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#home-offer .image-with-text-btn-hover:hover h3,
#home-offer .image-with-text-btn-hover:focus-within h3,
#home-offer .image-with-text-btn-hover:hover p,
#home-offer .image-with-text-btn-hover:focus-within p {
  transform: translateY(-0.5rem);
}

@media (max-width: 1360px) {
  #home-offer .elementor-element-70f6cd5 {
    grid-template-columns: minmax(0, 1fr);
  }

  #home-offer .elementor-element-9bd247a,
  #home-offer .elementor-element-58f414e,
  #home-offer .elementor-element-9135572 {
    grid-column: 1;
    grid-row: auto;
  }

  #home-offer .elementor-element-9bd247a {
    min-height: 620px;
  }
}

@media (max-width: 767px) {
  #home-offer {
    padding: 3rem 0 3.3rem;
  }

  #home-offer > .e-con-inner > .elementor-element-c79f1ff h2 {
    font-size: clamp(1.8rem, 8vw, 2.55rem);
  }

  #home-offer > .e-con-inner > .elementor-element-c79f1ff p {
    font-size: 1.05rem;
  }

  #home-offer .elementor-element-9bd247a {
    min-height: 460px;
  }

  #home-offer .elementor-element-58f414e,
  #home-offer .elementor-element-9135572 {
    min-height: 290px;
  }

  #home-offer .image-with-text a,
  #home-offer .image-with-text-btn-hover a {
    padding: 0.72rem 1.15rem;
    border-radius: 0.75rem;
    font-size: 1.02rem;
  }

  #home-offer .image-with-text-btn-hover a {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  #home-offer .image-with-text-btn-hover h3,
  #home-offer .image-with-text-btn-hover p {
    transform: translateY(-0.5rem);
  }
}

/* Home service cards (Elementor text-editor widget) */
.home-service-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 1rem;
  min-height: 300px;
  padding: 3.5rem 1rem;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center;
  background-size: cover;
  background-position: center;
}

.home-service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.4);
}

.home-service-card > * {
  position: relative;
  z-index: 1;
}

.home-service-card h3 {
  margin: 0 0 1rem;
  max-width: 400px;
  color: #fff !important;
  font-size: clamp(1.55rem, 2.15vw, 2rem);
  line-height: 1.2;
  font-weight: 600;
}

.home-service-card a {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 0.65rem;
  backdrop-filter: blur(6px);
  background: transparent;
  color: #fff !important;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.home-service-card a::after {
  content: "↗";
  font-size: 1em;
}

.home-service-card a:hover,
.home-service-card a:focus-visible {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .home-service-card {
    min-height: 260px;
    padding: 2.75rem 1rem;
  }

  .home-service-card h3 {
    font-size: 1.5rem;
  }

  .home-service-card a {
    width: 100%;
    max-width: 260px;
  }
}
