/* BSP — correctifs critiques 0.15.3, chargés après Elementor et les styles historiques. */

/* Titre objectifs : une ligne sur écran large, deux lignes maîtrisées sur téléphone. */
body .elementor-element.elementor-element-a4000004,
body .elementor-element.elementor-element-a4000004 .elementor-widget-container {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

@media (min-width: 769px) {
  body .elementor-element.elementor-element-a4000004 .elementor-heading-title {
    display: block !important;
    width: max-content !important;
    max-width: none !important;
    margin: 0 !important;
    font-size: clamp(30px, 4vw, 58px) !important;
    line-height: 1 !important;
    letter-spacing: -.055em !important;
    white-space: nowrap !important;
    text-wrap: nowrap !important;
  }

  body .elementor-element.elementor-element-a4000004 .bsp-objective-title-line {
    display: inline !important;
    white-space: nowrap !important;
  }

  body .elementor-element.elementor-element-a4000004 .bsp-objective-title-line--second::before {
    content: " ";
  }
}

@media (max-width: 768px) {
  body .elementor-element.elementor-element-a4000004 .elementor-heading-title {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    font-size: clamp(27px, 8vw, 38px) !important;
    line-height: 1.04 !important;
    letter-spacing: -.045em !important;
    white-space: normal !important;
    text-wrap: auto !important;
  }

  body .elementor-element.elementor-element-a4000004 .bsp-objective-title-line {
    display: block !important;
    width: max-content !important;
    max-width: 100% !important;
    white-space: nowrap !important;
  }
}

/* Cartes objectifs : contraste fort et stable, sans dépendre du survol. */
body :is(
  .elementor-element-a4000006,
  .elementor-element-a4000010,
  .elementor-element-a4000014
) {
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  transform: none;
}

body :is(
  .elementor-element-a4000006,
  .elementor-element-a4000010,
  .elementor-element-a4000014
)::before {
  opacity: 1 !important;
  background:
    linear-gradient(
      180deg,
      rgba(4, 5, 6, .25) 0%,
      rgba(4, 5, 6, .42) 30%,
      rgba(4, 5, 6, .76) 59%,
      rgba(4, 5, 6, .95) 82%,
      #050708 100%
    ) !important;
}

body :is(
  .elementor-element-a4000006,
  .elementor-element-a4000010,
  .elementor-element-a4000014
) > .elementor-element:not(.cs-home-card__image),
body :is(
  .elementor-element-a4000006,
  .elementor-element-a4000010,
  .elementor-element-a4000014
) > .elementor-element:not(.cs-home-card__image) .elementor-widget-container {
  position: relative !important;
  z-index: 5 !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

body :is(
  .elementor-element-a4000006,
  .elementor-element-a4000010,
  .elementor-element-a4000014
) .elementor-heading-title {
  color: #fff !important;
  opacity: 1 !important;
  text-shadow: 0 3px 16px rgba(0, 0, 0, .92) !important;
  -webkit-text-fill-color: #fff !important;
}

body :is(
  .elementor-element-a4000006,
  .elementor-element-a4000010,
  .elementor-element-a4000014
) .elementor-widget-text-editor,
body :is(
  .elementor-element-a4000006,
  .elementor-element-a4000010,
  .elementor-element-a4000014
) .elementor-widget-text-editor p {
  color: rgba(255, 255, 255, .96) !important;
  opacity: 1 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .96) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, .96) !important;
}

body :is(
  .elementor-element-a4000006,
  .elementor-element-a4000010,
  .elementor-element-a4000014
) .cs-home-card__number .elementor-heading-title,
body :is(
  .elementor-element-a4000006,
  .elementor-element-a4000010,
  .elementor-element-a4000014
) .cs-card-icon {
  color: #f1c85e !important;
  opacity: 1 !important;
}

body :is(
  .elementor-element-a4000006,
  .elementor-element-a4000010,
  .elementor-element-a4000014
) .cs-home-card__link .elementor-button,
body :is(
  .elementor-element-a4000006,
  .elementor-element-a4000010,
  .elementor-element-a4000014
) .cs-home-card__link .elementor-button:hover,
body :is(
  .elementor-element-a4000006,
  .elementor-element-a4000010,
  .elementor-element-a4000014
) .cs-home-card__link .elementor-button:focus,
body :is(
  .elementor-element-a4000006,
  .elementor-element-a4000010,
  .elementor-element-a4000014
) .cs-home-card__link .elementor-button:active {
  appearance: none !important;
  display: inline-flex !important;
  width: max-content !important;
  min-height: 44px !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 10px !important;
  padding: 11px 20px !important;
  color: #090b0c !important;
  border: 1px solid #f3d478 !important;
  border-radius: 999px !important;
  outline: 0 !important;
  background: linear-gradient(110deg, #a9791e, #d5aa43 28%, #f4da83 52%, #bd8929 78%, #e3bd59) !important;
  background-image: linear-gradient(110deg, #a9791e, #d5aa43 28%, #f4da83 52%, #bd8929 78%, #e3bd59) !important;
  box-shadow: inset 0 1px 0 rgba(255, 250, 219, .72), 0 12px 28px rgba(0, 0, 0, .46) !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-shadow: none !important;
  -webkit-text-fill-color: #090b0c !important;
}

body :is(
  .elementor-element-a4000006,
  .elementor-element-a4000010,
  .elementor-element-a4000014
) .cs-home-card__link .elementor-button-text {
  color: #090b0c !important;
  opacity: 1 !important;
  visibility: visible !important;
  -webkit-text-fill-color: #090b0c !important;
}

body :is(
  .elementor-element-a4000006,
  .elementor-element-a4000010,
  .elementor-element-a4000014
) .cs-home-card__link .elementor-button:focus-visible {
  outline: 3px solid #fff1bd !important;
  outline-offset: 3px !important;
}
