/* -------------------------------------------------
   TITRES - H1 � H5, variantes, textes stylis�s
---------------------------------------------------*/

.wecare_title_2025 {
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  margin: 4rem 0 0 0;
}

.wecare_h1 {
  font-size: 2.5rem;
  font-family: "Stanley";
  line-height: normal;
  margin-bottom: 2rem;
}

.wecare_h2 {
  font-family: "Stanley";
  font-size: 2rem;
  text-transform: uppercase;
  font-style: italic;
  font-weight: 700;
  margin-bottom: 0rem !important;
  line-height: normal;
}

.wecare_h2_top {
  padding: 2rem 0 0 0;
}

.wecare_h4,
.wecare_h5 {
  font-family: "Stanley";
  font-size: 2rem;
  line-height: normal;
  text-transform: uppercase;
  font-style: italic;
  font-weight: 400;
}

.wecare_h5_card {
  font-size: 1.5rem;
  margin: 2rem 0.5rem;
  line-height: normal;
}

.wecare_somme {
  font-family: "Stanley";
  font-size: 3rem;
  line-height: normal;
  margin: 2rem 0 1rem 0 !important;
}

.wecare_somme_text {
  margin-bottom: 4rem !important;
  font-size: 1rem;
  line-height: normal;
}

/* -------------------------------------------------
   TEXTES ET STYLES TYPOGRAPHIQUES
---------------------------------------------------*/

.wecare_p {
  font-size: 1rem;
  margin: 2rem 0.5rem !important;
  line-height: normal;
}

.bold_wecare {
  font-weight: 700;
  text-transform: uppercase;
}

.italic_wecare {
  text-transform: uppercase;
  font-style: italic;
  font-family: "Stanley";
  line-height: 1.3rem !important;
}

.notre_objectif {
  margin: 3rem 0 -1.5rem 0 !important;
}

/* -------------------------------------------------
   LIENS & BOUTONS
---------------------------------------------------*/

.link-card {
  margin: 2rem 0.5rem;
  font-style: italic;
  font-size: 1rem;
}

.wecare_button_container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem 0rem 3rem 1rem;
  /* margin-right: 1rem; */
}

.wecare_button_container a {
  cursor: pointer;
  padding: 1rem;
  flex-shrink: 0;
  font-size: 1rem;
  line-height: normal;
  margin: 0 0 1rem;
}

.wecare_button_container button {
  background-color: transparent;
  border: 1px solid black;
  border-radius: 10%;
}

.wecare_button_container::-webkit-scrollbar {
  display: none;
}

.wecare_button_container.stop-anim,
.wecare_buttons_2025_container.stop-anim {
  animation: none !important;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-80px); }
  30% { transform: translateX(30px); }
  40% { transform: translateX(-20px); }
  50% { transform: translateX(0); }
}

/* -------------------------------------------------
   CONTAINERS & STRUCTURE G�N�RALE
---------------------------------------------------*/

html, body {
  height: 100%;
  margin: 0;
}

.scroll-offset {
  scroll-margin-top: 100px;
}

.pageDesigner__fullBannerNoImg {
  justify-content: center !important;
  justify-self: center;
  align-items: center;
  display: flex !important;
}

/* Styles conditionnels */
.display_desk { display: none; }
.display_mob { display: block; }

.wecare_black {
  color: black !important;
  border: 2px solid black !important;
}

/* -------------------------------------------------
   IMAGES - CARROUSELS - SLIDERS
---------------------------------------------------*/

.videoContainer {
  margin: 1rem 0;
}


.wecare_img_container {
  display: flex;
  padding: 16px 0;
}

.wecare_img_item {
  flex: 0 0 100%;
  position: relative;
}

.wecare_img_item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.text_img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Stanley";
  text-transform: uppercase;
  font-style: italic;
  color: white;
  font-weight: 600;
  width: max-content;
}

.h3_img {
  font-style: normal;
  font-size: 1.5rem;
  line-height: normal;
  margin-bottom: 1rem;
}

.h3_img span {
  font-size: 2rem;
  line-height: normal;
  font-style: italic;
}

.p_img {
  font-size: 0.8rem;
  line-height: 1.4rem;
}

/* -------------------------------------------------
   ZONE TEXTE SLOT / OBJECTIF
---------------------------------------------------*/

.slot_wecare_text {
  font-family: "Stanley";
  text-transform: uppercase;
  color: #FDFDFD;
  font-size: 1.1rem;
  line-height: 1.5rem;
  padding: 1rem 0;
  justify-self: center;
  width: 90%;
  display: flex;
  flex-direction: column;
}

.text_slot_container {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.text_slot_container p {
  text-align: start;
  margin: 1rem 0 !important;
}

#slot_wecare_text_container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: auto;
height : auto;
}

.wecare_highlight {
  border: 2px solid white;
  font-weight: 700;
  color: #FDFDFD;
  border-radius: 20px;
  padding: 5px;
  width: 90%;
  justify-self: center;
  text-transform: uppercase;
  display: flex;
  font-size: 0.8rem;
  line-height: normal;
  margin: auto;
  text-align: center;
}

/* -------------------------------------------------
   SLIDER BOUTONS 2025
---------------------------------------------------*/

.wecare_buttons_2025_container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 0.5rem 8px 1rem;
  margin-left: 0.5rem;
  gap: 15px;
  scroll-behavior: smooth;
  animation: scroll-left 10s linear forwards;
}

.wecare_buttons_2025_container::-webkit-scrollbar {
  display: none;
}

.wecare_buttons_2025_container a {
  flex: 0 0 70%;
  scroll-snap-align: start;
}

.wecare_buttons {
  text-transform: uppercase;
  font-size: 1rem;
  line-height: normal;
  width: 48%;
  padding: 1rem;
}

.wecare_buttons_second .wecare_buttons {
  width: 100%;
}

/* -------------------------------------------------
   DERNIER SLOT & AMBASSADRICES
---------------------------------------------------*/

.wecare_last_slot {
  margin: 4rem 0;
}

.wecare_last_slot img {
  width: 50%;
  justify-self: center;
  display: flex;
  margin: 0 auto 1rem auto !important;
}

.slider_ambassadrices {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 0;
  padding: 16px 0;
}

.ambassadrice_card {
  flex: 0 0 85%;
  scroll-snap-align: start;
  flex-shrink: 0;
  position: relative;
}

.ambassadrice_card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ambassadrice_text {
  position: absolute;
  color: white;
  text-transform: uppercase;
  top: 80%;
  left: 5%;
}

.ambassadrice_text h5 {
  font-size: 1rem;
  line-height: normal;
  margin: 0.5rem 0;
}

.ambassadrice_text p {
  text-decoration: underline;
  font-size: 0.75rem;
  line-height: normal;
  font-weight: 300;
}

/* -------------------------------------------------
   MODAL (fen�tre pop-up)
---------------------------------------------------*/

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  padding: 1rem;
  margin-top: 3rem;
}

.modal.show {
  display: flex;
}

.modal_content {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  max-width: 500px;
  width: 100%;
  position: relative;
  max-height: 70vh;
  overflow-y: auto;
}

.modal_close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  line-height: normal;
  font-weight: bold;
  cursor: pointer;
}
/* -------------------------------------------------
   RESPONSIVE : Mobile (< 1024px)
---------------------------------------------------*/

@media screen and (max-width: 1023px) {

    /* Animation bouton auto scroll */
  .freescroll > * {
    animation-name: shake;
    animation-duration: 4s;
    animation-iteration-count: 1;
    animation-delay: 2s;
  }

  .experience-assets-fullBanner:has(.text_slot_container) .pageDesigner__fullBannerContainer {
    height: 600px;
  }

  .experience-layouts-mobileGrid1r2c:has(.text_slot_container) .pageDesigner__item.-fullscreen,
  .experience-layouts-mobileGrid1r2c:has(.wecare_somme_container) .pageDesigner__item.-twoColumns {
    height: calc(500px * 2);
    max-height: none;
  }

  .experience-layouts-mobileGrid1r2c:has(.text_slot_container.display_desk) {
    display: none;
  }

  .experience-assets-fullBanner:has(.wecare-space-bloc),.experience-assets-fullBanner:has(.wecare-space-bloc) {
    padding: 0 2rem 2rem;
  }

  .text_slot_container,.wecare_somme_container{
    padding: 0 1.5rem;
  }

}

/* -------------------------------------------------
   RESPONSIVE : DESKTOP (> 1024px)
---------------------------------------------------*/

@media screen and (min-width: 1024px) {

  .wecare_img_container {
    display: flex;
    padding: 0;
    margin: 0;
    overflow: hidden;
    height: calc(100vh - 10px - 15vh);
    width: 100%;
  }

  .wecare_img_item,
  .ambassadrice_card {
    flex: 1 1 33.333%;
    max-width: 33.333%;
    overflow: hidden;
  }

  .wecare_img_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .p_img {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .h3_img {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
  }

  .h3_img span {
    font-size: 2.7rem;
  }

  .slot_wecare_text {
    width: 100%;
    font-size: 1.4rem;
  }

  .wecare_h2_top {
    font-size: 3rem;
    margin-bottom: 1rem !important;
  }

  .wecare_h2 {
    font-size: 2.5rem;
  }

  .wecare_highlight {
    width: max-content;
    padding: 9px;
    margin: 0 0 2rem 0;
  }

  .wecare_p {
    font-size: 1.2rem;
    line-height: normal;
  }

  .italic_wecare {
    line-height: 1.5rem !important;
  }

  .text_slot_container {
    padding: 0rem 2rem;
text-align : start;
  }

  .experience-assets-fullBanner:has(.text_slot_container.display_mob) {
    display: none;
  }

  .display_mob {
    display: none;
  }

  .display_desk {
    display: block ;
  }

  .experience-layouts-mobileGrid1r2c .pageDesigner__item.-twoColumns {
    width: 100% !important;
  }


/* .freescroll > * {
    animation: none !important;
  } */

  .wecare_buttons_2025_container, .wecare_button_container {
    flex-direction: row;
    overflow: visible;
    scroll-snap-type: none !important;
	animation : none !important;
    margin: 0 2rem;
overflow-x: hidden !important;
-webkit-overflow-scrolling: auto !important;
  }

  .wecare_buttons_2025_container {
    flex-wrap: wrap;
  }

  .wecare_buttons_2025_container a {
    padding: 1rem;
    flex: 1 1 calc(33% - 10px);
    flex-wrap: wrap;
  }

  .wecare_buttons {
    font-size: 1rem;
    white-space: nowrap;
  }

  .wecare_last_slot {
    margin: 6rem 0 3rem 0;
  }

  .wecare_last_slot img {
    width: 25%;
  }

  .slider_ambassadrices {
    overflow: hidden;
    width: 100%;
    height: calc(100vh - 10px - 15vh);
  }

  .ambassadrice_card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
  }
}
