/* ==========================================================
   Aura By HOB > Newsletter popup
   Fichier : features/newsletter-popup/newsletter-popup.css
   ========================================================== */

.aura-newsletter-popup {
  position: fixed;
  inset: 0;
  z-index: 1005;
  display: grid;
  place-items: center;
  width: 100%;
  min-width: 0;
  height: 100vh;
  height: 100dvh;
  padding: clamp(18px, 4vw, 42px);
  color: var(--aura-color-burgundy);
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear 0s;
}

.aura-newsletter-popup.is-active {
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s;
}

.aura-newsletter-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 12, 14, 0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  opacity: 0;
  transition:
    opacity 520ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 520ms cubic-bezier(0.22, 1, 0.36, 1),
    backdrop-filter 520ms cubic-bezier(0.22, 1, 0.36, 1),
    -webkit-backdrop-filter 520ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, backdrop-filter;
}

.aura-newsletter-popup.is-visible .aura-newsletter-popup__overlay {
  background: rgba(20, 12, 14, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 1;
}

.aura-newsletter-popup__dialog {
  --aura-newsletter-media-height: clamp(270px, 40vw, 430px);
  --aura-newsletter-media-overlap: clamp(104px, 10vw, 128px);
  --aura-newsletter-media-offset: 22px;
  position: relative;
  z-index: 1;
  display: grid;
  width: clamp(520px, 42vw, 620px);
  max-height: min(760px, calc(100dvh - 36px));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  outline: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--aura-color-burgundy-rgb), 0.34) transparent;
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.975);
  transition:
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 430ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.aura-newsletter-popup__dialog {
  
    top: -30px;
}

.aura-newsletter-popup.is-visible .aura-newsletter-popup__dialog {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.aura-newsletter-popup__dialog::-webkit-scrollbar {
  width: 8px;
}

.aura-newsletter-popup__dialog::-webkit-scrollbar-track {
  background: transparent;
}

.aura-newsletter-popup__dialog::-webkit-scrollbar-thumb {
  background: rgba(var(--aura-color-burgundy-rgb), 0.3);
  border-radius: 999px;
}

.aura-newsletter-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(var(--aura-color-white-rgb), 0.76);
  border-radius: 999px;
  background: rgba(var(--aura-color-white-rgb), 0.9);
  box-shadow: 0 12px 28px rgba(var(--aura-color-burgundy-rgb), 0.16);
  color: var(--aura-color-burgundy);
  transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.aura-newsletter-popup__close span,
.aura-newsletter-popup__close span::after {
  position: absolute;
  width: 15px;
  height: 1px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transform: rotate(45deg);
}

.aura-newsletter-popup__close span::after {
  left: 0;
  transform: rotate(90deg);
}

.aura-newsletter-popup__close:hover,
.aura-newsletter-popup__close:focus-visible {
  background: var(--aura-color-burgundy);
  border-color: var(--aura-color-burgundy);
  color: var(--aura-color-white);
  transform: translateY(-1px);
}

.aura-newsletter-popup__media {
  position: absolute;
  top: var(--aura-newsletter-media-offset);
  left: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 80%;
  height: var(--aura-newsletter-media-height);
  overflow: hidden;
  pointer-events: none;
  transform: translateX(-50%);
}

.aura-newsletter-popup__image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-height: 96%;
  object-fit: contain;
  opacity: 0;
  transform: translate3d(0, 8px, 0) scale(0.985);
  transition: opacity 450ms ease, transform 450ms cubic-bezier(0.22, 1, 0.36, 1);
}

.aura-newsletter-popup__image.is-loaded {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.aura-newsletter-popup__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  margin-top: calc(var(--aura-newsletter-media-height) - var(--aura-newsletter-media-overlap));
  padding: 82px 20px 20px;
  border: 1px solid rgba(var(--aura-color-dusty-pink-rgb), 0.38);
  border-radius: 6px;
      background: var(--aura-color-burgundy);

  text-align: center;
  top: 0px;
}

.aura-newsletter-popup__title {
  max-width: 100%;
  margin: 0 auto;
  color: var(--aura-color-white);
  font-family: var(--aura-font-heading);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.12;
  text-transform: uppercase;
}

.aura-newsletter-popup__text {
  max-width: 31em;
  margin: 0 auto;
  color: rgba(var(--aura-color-white-rgb), 0.88);
  font-family: var(--aura-font-body);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.64;
}

.aura-newsletter-popup__form {
  position: relative;
  width: 100%;
  margin-top: 0;
}

#aura-newsletter-popup .aura-newsletter-popup__form form,
#aura-newsletter-popup .aura-newsletter-popup__form .sib_signup_form,
#aura-newsletter-popup .aura-newsletter-popup__form [class*="sib_signup_box_inside_"] {
  display: grid;
  gap: 12px;
  margin: 0;
}

#aura-newsletter-popup .aura-newsletter-popup__form p {
    margin: 0 auto;
}

#aura-newsletter-popup .aura-newsletter-popup__form br {
  display: none;
}
form#sib_signup_form_1 p.sib-alert-message-warning {
    background-color: #512529 !important;
    border-color: #fff  !important;
    color: #fff;
}
#aura-newsletter-popup .aura-newsletter-popup__form label {
  display: block;
  color: rgba(var(--aura-color-white-rgb), 0.88);
  font-family: var(--aura-font-body);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
}

#aura-newsletter-popup .aura-newsletter-popup__form input[type="email"],
#aura-newsletter-popup .aura-newsletter-popup__form input[type="text"],
#aura-newsletter-popup .aura-newsletter-popup__form input[type="tel"] {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  min-height: 50px;
  padding: 14px 16px;
  border: 1px solid rgba(var(--aura-color-dusty-pink-rgb), 0.62);
  border-radius: 8px;
  background: #fffefa;
  color: var(--aura-color-burgundy);
  font-family: var(--aura-font-body);
  font-size: 0.88rem;
  outline: 0;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

#aura-newsletter-popup .aura-newsletter-popup__form input[type="email"]::placeholder,
#aura-newsletter-popup .aura-newsletter-popup__form input[type="text"]::placeholder,
#aura-newsletter-popup .aura-newsletter-popup__form input[type="tel"]::placeholder {
  color: rgba(var(--aura-color-burgundy-rgb), 0.46);
}

#aura-newsletter-popup .aura-newsletter-popup__form input[type="email"]:focus,
#aura-newsletter-popup .aura-newsletter-popup__form input[type="text"]:focus,
#aura-newsletter-popup .aura-newsletter-popup__form input[type="tel"]:focus {
  border-color: rgba(var(--aura-color-dusty-pink-rgb), 0.82);
  background: var(--aura-color-white);
  box-shadow: 0 0 0 3px rgba(var(--aura-color-soft-rose-rgb), 0.2);
}

#aura-newsletter-popup .aura-newsletter-popup__form input[type="checkbox"] {
  accent-color: var(--aura-color-burgundy);
}

#aura-newsletter-popup .aura-newsletter-popup__form input[type="submit"],
#aura-newsletter-popup .aura-newsletter-popup__form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid #fffefa;
  border-radius: 999px;
  background: #fffefa;
  color: var(--aura-color-burgundy);
  font-family: var(--aura-font-body);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

#aura-newsletter-popup .aura-newsletter-popup__form input[type="submit"]:hover,
#aura-newsletter-popup .aura-newsletter-popup__form input[type="submit"]:focus-visible,
#aura-newsletter-popup .aura-newsletter-popup__form button[type="submit"]:hover,
#aura-newsletter-popup .aura-newsletter-popup__form button[type="submit"]:focus-visible {
  background: transparent;
  border-color: #fffefa;
  color: #fffefa;
  transform: translateY(-1px);
}

#aura-newsletter-popup .aura-newsletter-popup__form .sib_msg_disp,
#aura-newsletter-popup .aura-newsletter-popup__form .sib-alert-message,
#aura-newsletter-popup .aura-newsletter-popup__form .sib_form_alert {
  color: rgba(var(--aura-color-white-rgb), 0.9);
  font-family: var(--aura-font-body);
  font-size: 0.78rem;
  line-height: 1.45;
}

#aura-newsletter-popup .aura-newsletter-popup__form .sib_msg_disp {
  margin: 0;
}

#aura-newsletter-popup .aura-newsletter-popup__form .sib_msg_disp p.sib-alert-message {
  margin: 12px 0 0 !important;
  padding: 11px 13px !important;
  border-radius: 16px !important;
  font-family: var(--aura-font-body) !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

#aura-newsletter-popup .aura-newsletter-popup__form .sib_msg_disp p.sib-alert-message-error {
  border-color: rgba(var(--aura-color-dusty-pink-rgb), 0.48) !important;
  background: rgba(var(--aura-color-dusty-pink-rgb), 0.12) !important;
  color: var(--aura-color-burgundy) !important;
}

#aura-newsletter-popup .aura-newsletter-popup__form .sib_msg_disp p.sib-alert-message-success {
  border-color: rgba(129, 124, 56, 0.28) !important;
  background: rgba(129, 124, 56, 0.12) !important;
  color: var(--aura-color-burgundy) !important;
}

#aura-newsletter-popup .aura-newsletter-popup__form .sib_signup_form.aura-newsletter-brevo-is-success {
  display: none;
}

.aura-newsletter-popup__success {
  margin-top: 0px;
  padding: 18px;
  border: 1px solid rgba(var(--aura-color-burgundy-rgb), 0.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 12%, rgba(var(--aura-color-dusty-pink-rgb), 0.14), transparent 36%),
    #fffefa;
  color: var(--aura-color-burgundy);
  text-align: center;
}

.aura-newsletter-popup__success[hidden] {
  display: none !important;
}

.aura-newsletter-popup__success.is-visible {
  display: block;
  animation: aura-newsletter-success-in 320ms ease both;
}

.aura-newsletter-popup__success-kicker {
  margin: 0 0 8px;
  color: rgba(var(--aura-color-burgundy-rgb), 0.58);
  font-family: var(--aura-font-body);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.grecaptcha-badge {
    display: none !important;
}
.aura-newsletter-popup__success-title {
  margin: 0 0 14px;
  color: var(--aura-color-burgundy);
  font-family: var(--aura-font-heading);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.2;
}

.sib_loader {
    display: none !important;
}

.aura-newsletter-popup__discount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    margin: 10px auto;
    padding: 8px;
    border: 1px solid rgba(var(--aura-color-burgundy-rgb), 0.12);
    border-radius: 999px;
    background: var(--aura-color-white);
}

.aura-newsletter-popup__discount strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--aura-color-burgundy);
  color: #fffefa;
  font-family: var(--aura-font-body);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.aura-newsletter-popup__copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(var(--aura-color-burgundy-rgb), 0.16);
  border-radius: 999px;
  background: transparent;
  color: var(--aura-color-burgundy);
  font-family: var(--aura-font-body);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.aura-newsletter-popup__copy:hover,
.aura-newsletter-popup__copy:focus-visible,
.aura-newsletter-popup__copy.is-copied {
  background: var(--aura-color-dusty-pink);
  border-color: var(--aura-color-dusty-pink);
  color: var(--aura-color-burgundy);
  transform: translateY(-1px);
}

.aura-newsletter-popup__success-text {
  max-width: 360px;
  margin: 14px auto 0;
  color: rgba(var(--aura-color-burgundy-rgb), 0.68);
  font-family: var(--aura-font-body);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

body.is-newsletter-popup-open {
  overflow: hidden;
}

@keyframes aura-newsletter-success-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767px) {

  .aura-newsletter-popup__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  margin-top: calc(var(--aura-newsletter-media-height) - var(--aura-newsletter-media-overlap));
  padding: 60px 20px 20px;
  border: 1px solid rgba(var(--aura-color-dusty-pink-rgb), 0.38);
  border-radius: 6px;
  background: #4b1c2285;
  text-align: center;
  top: 30px;
}

  .aura-newsletter-popup {
    align-items: center;
    padding: 14px;
  }

  .aura-newsletter-popup__dialog {
    --aura-newsletter-media-height: clamp(230px, 68vw, 330px);
    --aura-newsletter-media-overlap: 96px;
    --aura-newsletter-media-offset: 18px;
    width: min(100%, 390px);
    max-height: calc(100dvh - 28px);
            top: -10px;
  }

  .aura-newsletter-popup__close {
    top: 8px;
    right: 8px;
    width: 38px;
    height: 38px;
  }

  .aura-newsletter-popup__image {
    width: 100%;
  }

.aura-newsletter-popup__content {
    gap: 13px;
    padding: 80px 20px 20px 20px;
}

  .aura-newsletter-popup__title {
        font-size: 1.2rem;
        line-height: 1.12;
       
        font-weight: 800;
  }

  .aura-newsletter-popup__text {
    font-size: 0.84rem;
    line-height: 1.58;
  }

  .aura-newsletter-popup__form {
    margin-top: 18px;
  }

  .aura-newsletter-popup__form input[type="submit"],
  .aura-newsletter-popup__form button[type="submit"] {
    width: 100%;
  }



.aura-newsletter-popup.is-visible .aura-newsletter-popup__dialog {
    overflow: visible;
}
.aura-newsletter-popup__media {
    width: 120%;
    overflow: visible;
}

}

@media (max-width: 640px) {
  .aura-newsletter-popup__success {
    padding: 16px 14px;
    border-radius: 20px;
  }

  .aura-newsletter-popup__discount {
    width: 100%;
    flex-direction: column;
    border-radius: 20px;
  }

  .aura-newsletter-popup__discount strong,
  .aura-newsletter-popup__copy {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .aura-newsletter-popup__content {
    padding-right: 14px;
    padding-left: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aura-newsletter-popup,
  .aura-newsletter-popup__overlay,
  .aura-newsletter-popup__dialog,
  .aura-newsletter-popup__close,
  .aura-newsletter-popup__image,
  .aura-newsletter-popup__form input,
  .aura-newsletter-popup__form button,
  .aura-newsletter-popup__success,
  .aura-newsletter-popup__copy {
    animation-duration: 1ms;
    transition-duration: 1ms;
  }
}
