/* Importation de la police "MADE Soulmaze" */
/* @font-face {
  font-family: "MADE Soulmaze";
  src: url("../../../../../MEDIA/font/MADESoulmaze/made-soulmaze-webfont.eot");
  src: url("../../../../../MEDIA/font/MADESoulmaze/made-soulmaze-webfont.eot?#iefix") format("embedded-opentype"),
    url("../../../../../MEDIA/font/MADESoulmaze/made-soulmaze-webfont.woff2") format("woff2"),
    url("../../../../../MEDIA/font/MADESoulmaze/made-soulmaze-webfont.woff") format("woff"),
    url("../../../../../MEDIA/font/MADESoulmaze/made-soulmaze-webfont.ttf") format("truetype"),
    url("../../../../../MEDIA/font/MADESoulmaze/MADE-Soulmaze.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
} */

/* Custom page D (only popin) */
#popin.popin .heading-02 {
  font-size: 20px;
  line-height: 32px;
  padding: 0.5rem 0;
}

#popin.popin .title-03 {
  font-size: 18px;
  line-height: 24px;
}

#popin.popin .body-03 {
  font-size: 12px;
  line-height: 20px;
}

@media (min-width: 1024px) {
  #popin.popin .heading-02 {
    font-size: 24px;
    line-height: 32px;
  }

  #popin.popin .title-03 {
    font-size: 20px;
    line-height: 24px;
  }

  #popin.popin .body-03 {
    font-size: 14px;
    line-height: 20px;
  }
}

/* Styles de la pop-in */
.popin {
  position: fixed;
  bottom: -100%;
  /* Masqué initialement */
  background: white;

  z-index: 8;
  opacity: 0;
  /* Invisible initialement */
  transform: translateY(100%);
  /* En bas hors de l’écran */
  transition: transform 0.5s ease, opacity 0.5s ease;
  /* Transition fluide */
  pointer-events: visible;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.05),
    0 8px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid hsl(0 0% 0% / 0.3);

  left: 0.5rem;
  right: 0.5rem;
  width: calc(100% - 1rem);
  padding: 2rem 1rem;
}

.popin-url {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .popin {
    left: 1rem;
    right: auto;
    width: auto;
    padding: 2rem 4rem;

    min-width: 400px;
  }
}

.popin.show {
  bottom: 1rem;
  /* Visible */
  transform: translateY(0);
  /* Position visible */
  opacity: 1;
}

.popin.hide {
  transform: translateY(100%);
  /* Glisser vers le bas */
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.popin.hide-perm {
  transform: translateY(100%) !important;
  /* Glisser vers le bas */
  opacity: 0 !important;
  transition: transform 0.5s ease, opacity 0.5s ease !important;
}

.popin.mobile {
  left: 0.5rem;
  right: 0.5rem;
  width: calc(100% - 1rem);
  padding: 2rem 1rem;
}

/* Surcharge des styles pour le upper title */
.popin .body-02 {
  /* Police personnalisée */
  text-transform: uppercase;
  /* Texte en majuscules */
  color: black;
  /* Texte en noir */
  font-weight: 600;
  text-align: center;
}


/* Surcharge des styles pour le titre principal */
.popin .heading-02 {
  /* font-family: "MADE Soulmaze", sans-serif; */
  font-family: 'Baton Turbo';
  /* Police personnalisée */
  text-transform: uppercase;
  /* Texte en majuscules */
  color: black;
  /* Texte en noir */
  font-weight: 600;
  text-align: center;
}

@media (max-width: 1023px) {
  .popin .heading-02 {
    font-size: 2rem;
  }
}

/* Surcharge des styles pour le sous-titre */
.popin .title-03 {
  background-color: black;
  /* Fond noir */
  color: white;
  /* Texte en blanc */
  text-transform: uppercase;
  /* Texte en majuscules */
  margin-bottom: 1rem;
  padding: 0 0.5rem;
  white-space: nowrap;
  text-align: center;
}

@media (min-width: 1024px) {
  .popin .title-03 {
    white-space: normal;
  }
}

/* Surcharge des styles pour le texte de description */
.popin .body-03 {
  text-transform: uppercase;
  /* Texte en majuscules */
  color: black;
  margin-bottom: 1rem;
  text-align: center;
}

@media (max-width: 1023px) {
  .popin .body-03 {
    font-size: 0.72rem;
    line-height: normal;
  }
}

/* Styles pour le bouton CTA primaire */
.popin .button {
  text-transform: uppercase;
}

/* Styles pour l'icône de fermeture */
.popin .icon-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 18px;
  height: 18px;
  cursor: pointer;
  -webkit-mask-size: contain;
  mask-size: contain;
  mask-repeat: no-repeat;
  background-color: #00000094;

  transition: 0.1s all linear;
}

.popin .icon-close:hover {
  background-color: #000000;
}

/* Cibler .floatingBar.fadeElement si elle contient div#popin.popin */
.floatingBar.fadeElement.-hidden:nth-child(2) {
  display: none !important;
}

.floatingBar.fadeElement:nth-child(2) {
  display: none !important;
}

.floatingBar.fadeElement {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}