/* TEMPORAIRE : espacement message d'alerte */
.ugap-header__custom-alert {
  margin-bottom: 0 !important;
}

.ugap-message--alert {
  padding: 2.4rem 3.2rem !important;
}

.ugap-message--alert.ugap-message--has-slot .ugap-message__header,
.__use-global-ugap-ui .ugap-message__description p {
  margin-bottom: 0.4rem !important;
}

.hp-container {
  max-width: 1280px;
  margin: auto;
}
.hp-offres--asterisk {
  display: flex;
  flex-direction: column;
}
.hp-offres--asterisk > span {
  color: rgba(153, 153, 153, 1) !important;
  font-size: 11px !important;
}
/* ******************************************* */
/* *************** HERO SLIDER *************** */
/* ******************************************* */

/* METTRE À JOUR SELON LE NOMBRE DE SLIDE */
.hero_slider .overview {
  width: calc(500% + 16 * 4px);
}
.hero_slider .overview li {
  width: 1280px !important;
  box-sizing: border-box;
}
@media screen and (max-width: 1296px) {
  .hero_slider .overview li {
    width: calc(100% - 16px) !important;
  }
}
.hero_slider .overview li a {
  display: block;
}
.hero_slider .slider_item {
  display: flex;
  align-items: center;

  width: 100%;
  padding: 80px 112px;
}

.hero_slider .actu_main_title {
  font-family: "Barlow Condensed", "Helvetica", "Arial", sans-serif;
  font-size: 72px;
  line-height: 66px;
  font-weight: 600;
  text-transform: uppercase;
}
.hero_slider .actu_secondary_title {
  font-size: 32px;
  line-height: 42px;
  font-weight: 600;
}

@media screen and (max-width: 600px) {
  .hero_slider .overview li[class^="hsSlide"] .slider_item {
    padding: 0;
  }
  .hero_slider .actu_main_title {
    font-size: 36px !important;
    line-height: 40px !important;
  }
  .hero_slider .actu_secondary_title {
    font-size: 24px !important;
    line-height: 28px !important;
  }
}

.hero_slider a:hover {
  text-decoration: none;
}

.c-button {
  display: block;
  border-radius: 12px;
  line-height: 20px;
  transition: all ease-in-out 200ms;
}

/* SLIDE 1 */

.hero_slider .hsSlide1 .actu_main_title {
  color: #1896A1;
  font-size: 72px;
  line-height: 72px;
}
.hero_slider .hsSlide1 .actu_secondary_title {
  color: rgba(24, 160, 161, 0.8);
}
.hero_slider .hsSlide1 .c-button {
  background-color: #1896A1;
  border: 1px solid #1896A1;
  color: #fff !important;
  box-sizing: border-box;
}
.hero_slider .hsSlide1 .c-button:hover,
.hero_slider .hsSlide1 .c-button:focus {
  opacity: 0.7;
}
/* SLIDE 2 */

.hero_slider .hsSlide2 .actu_main_title {
  color: #FFFFFF;
  font-size: 68px;
  line-height: 72px;
}
.hero_slider .hsSlide2 .actu_secondary_title {
  color: rgba(255, 255, 255, 0.8);
  font-size: 26px;
  line-height: 32px;

}
.hero_slider .hsSlide2 .c-button {
  background-color: #fff;
  border: 1px solid #fff;
  color: #212121 !important;
  box-sizing: border-box;
}
.hero_slider .hsSlide2 .c-button:hover,
.hero_slider .hsSlide2 .c-button:focus {
  opacity: 0.7;
}

/* SLIDE 3 */

.hero_slider .hsSlide3 .actu_main_title {
  color: #fff;
  font-size: 72px;
  line-height: 72px;
  max-width: 60.5rem;
}
.hero_slider .hsSlide3 .actu_secondary_title {
  color: rgba(255, 255, 255, 0.8);
}
.hero_slider .hsSlide3 .c-button {
  background-color: #fff;
  border: 1px solid #fff;
  color: #212121 !important;
  box-sizing: border-box;
}
.hero_slider .hsSlide3 .c-button:hover,
.hero_slider .hsSlide3 .c-button:focus {
  opacity: 0.7;
}


/* SLIDE 4 */
.hero_slider .hsSlide4 .actu_main_title {
  color: #212121;
  font-size: 72px;
  line-height: 72px;
  max-width: 46rem;
}
.hero_slider .hsSlide4 .actu_secondary_title {
  color: rgba(33, 33, 33, 0.8);
  font-size: 32px;
  line-height: 36px;
}
.hero_slider .hsSlide4 .c-button {
  background-color: #212121;
  border: 1px solid #212121;
  color: #fff !important;
  box-sizing: border-box;
}
.hero_slider .hsSlide4 .c-button:hover,
.hero_slider .hsSlide4 .c-button:focus {
  opacity: 0.7;
}

/* SLIDE 5 */
.hero_slider .hsSlide5 .actu_main_title {
  color: #fff;
  font-size: 80px;
  line-height: 68px;
}
.hero_slider .hsSlide5 .actu_secondary_title {
  color: rgba(255, 255, 255, 0.8);
  font-size: 32px;
  line-height: 36px;
  max-width: 45rem;
}
.hero_slider .hsSlide5 .c-button {
  background-color: #fff;
  border: 1px solid #fff;
  color: #EABB15 !important;
  box-sizing: border-box;
}
.hero_slider .hsSlide5 .c-button:hover,
.hero_slider .hsSlide5 .c-button:focus {
  opacity: 0.7;
}
/* ****************************************** */
/* ************ SLIDER RECURENT ************* */
/* ****************************************** */

.slider_item .ribbon {
  position: absolute;
  left: 40px;
  top: 40px;
  width: 48px;
}

.hero_slider .conditions {
  position: absolute;
  left: 120px;
  bottom: 16px;
  color: #fff;
  font-size: 14px;
  font-style: italic;
}

/* ****************************************** */
/* ***************** OFFRES ***************** */
/* ****************************************** */

.hp-offres-card__media img.ribbon {
  position: absolute;
  width: 25px;
  height: 35px;
  top: 16px;
  left: 16px;
  transform: scale(1) !important;
}
.hp-offres-card:nth-child(1) .hp-offres-card__media img.ribbon {
  width: 40px;
  height: 56px;
  top: 20px;
  left: 24px;
}
.hp-offres-card__media img.tricolor {
  position: absolute;
  width: calc(100% - 2 * 1rem);
  height: 6px;
  top: 10px;
  left: 11px;
  transform: scale(1) !important;
}

.hp-offres-card__media .c-tags {
  display: flex;
  flex-direction: row;
  gap: 0.8rem;
  position: absolute;
  left: 16px;
  top: 14px;
}

.hp-offres--asterisk {
  margin-top: 47.5px !important;
  color: rgba(153, 153, 153, 1) !important;
  font-size: 11px !important;
}

/* ******************************************* */
/* ************* OFFRE DU MOMENT ************* */
/* ******************************************* */

.macaron--promo {
  position: absolute;
  right: 8px;
  top: 8px;
  transform: scale(1) !important;
  width: 11rem !important;
  height: 11rem !important;
}

/* ******************************************* */
/* *************** ENGAGEMENTS *************** */
/* ******************************************* */
.hp_engagements .engagements_slider .viewport .overview {
  width: 200%;
}
.hp_engagements .engagements_slider .viewport .overview li .slider_item {
  max-width: 620px;
}

.hp_engagements .slider_item .actu_title {
  text-wrap: pretty;
}

#esSlide1Title {
  margin-top: 8px;
}

/* ******************************************* */
/* ****************** A11Y ******************* */
/* ******************************************* */
.a11y-high-c .hero_slider .hsSlide2 .secondary-heading,
.a11y-high-c .hero_slider #slide--avantages .actu_main_title span,
.a11y-high-c .hero_slider #slide--avantages .avantages_list {
  background-color: #212121 !important;
  color: #ffffff !important;
}
.a11y-high-c .hero_slider .hsSlide2 .actu_main_title img {
  background-color: #ffffff;
}

.c-tag--express {
  color: #d20a11;
  background: #f8e5e6;
}
.c-tag--2d,
.c-tag--eco {
  color: #fff;
  background: #00c131;
}
.c-tag--vente {
  color: #fff;
  background: #d5aa00;
}
.c-tag--france {
  color: #212121;
  background: #fff;
  border: 1px solid #e0e0e0;
  padding-left: 26px;
  position: relative;
}

.c-tag--france:after {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 1.2rem;
  height: 1rem;
  border-radius: 0.2rem;
  background: linear-gradient(
    90deg,
    rgba(0, 35, 149, 1) 0%,
    rgba(0, 35, 149, 1) 33%,
    rgba(255, 255, 255, 1) 33%,
    rgba(255, 255, 255, 1) 66%,
    rgba(237, 41, 57, 1) 66%,
    rgba(237, 41, 57, 1) 100%
  );
}

.avantages_list > p {
  margin-bottom: 2px;
}
