#lemon-waiting-page, #lemon-waiting-page * {
  box-sizing: border-box !important;
  margin: 0;
  padding: 0;
  list-style: none;
}

#lemon-waiting-page {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 999999 !important;
  background: #ffffff;
  color: #000000;
  overflow: hidden;
  font-family: "Gilam-Regular", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-align: left;
  line-height: normal;
}

#lemon-waiting-page a {
  text-decoration: none !important;
  color: inherit !important;
  border-bottom: none !important;
}

#lemon-waiting-page img {
  max-width: none;
  border: none !important;
  box-shadow: none !important;
}

#lemon-waiting-page .lwp-page {
  position: relative;
  display: flex;
  height: 100%;
  width: 100%;
}

/* ---------- Left visual panel ---------- */
#lemon-waiting-page .lwp-visual {
  position: relative;
  flex: 0 0 50%;
  max-width: 960px;
  height: 100%;
  background-color: #009dff;
}

#lemon-waiting-page .lwp-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Speech bubble ("On trouvait notre site moche...") */
#lemon-waiting-page .lwp-bubble {
  position: absolute;
  top: 9.91%;
  left: 40.47%;
  right: 28.71%;
  bottom: 75.93%;
  z-index: 2;
}
#lemon-waiting-page .lwp-bubble img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* ---------- Right content panel ---------- */
#lemon-waiting-page .lwp-content {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 27.41vh 40px 0;
  text-align: center;
  overflow: hidden;
}

#lemon-waiting-page .lwp-logo {
  height: 14.5vh;
  width: auto;
  margin-bottom: 2.28vh;
}
#lemon-waiting-page .lwp-logo img { height: 100%; width: auto; display: block; }

#lemon-waiting-page .lwp-title {
  font-family: "Gilam-Black", Arial, sans-serif;
  font-weight: 900;
  font-size: 48px;
  line-height: 52px;
  letter-spacing: 0.03em;
  margin: 0 0 1.3vh;
  max-width: 860px;
}

#lemon-waiting-page .lwp-subtitle {
  font-family: "Gilam-Regular", Arial, sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  margin: 0 0 3.89vh;
  max-width: 630px;
}

#lemon-waiting-page .lwp-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.96vh;
  margin-bottom: 7.69vh;
}

#lemon-waiting-page .lwp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: "Gilam-Black", Arial, sans-serif;
  font-style: normal;
  font-weight: 900;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: 0.9px;
  padding: 1.48vh 32px;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
#lemon-waiting-page .lwp-btn:hover { transform: translateY(-2px); opacity: 0.92; }
#lemon-waiting-page .lwp-btn:focus-visible { outline: 3px solid #000000; outline-offset: 3px; }

#lemon-waiting-page .lwp-btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
#lemon-waiting-page .lwp-btn-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
}

#lemon-waiting-page .lwp-btn-yellow {
  background: #fff400;
  color: #009dff !important;
  min-width: 340px;
}
#lemon-waiting-page .lwp-btn-yellow .lwp-btn-arrow {
  width: 56px;
  height: 23px;
}

#lemon-waiting-page .lwp-btn-blue {
  background: #009dff;
  color: #fff400 !important;
  min-width: 380px;
}
#lemon-waiting-page .lwp-btn-blue .lwp-btn-arrow {
  width: 13px;
  height: 23px;
}

/* ---------- Footer ---------- */
#lemon-waiting-page .lwp-footer {
  position: absolute;
  left: 64px;
  right: 64px;
  bottom: 4.17vh;
  display: flex;
  align-items: center;
  gap: 24px;
}

#lemon-waiting-page .lwp-footer hr {
  flex: 1;
  border: none;
  border-top: 1px solid #000000;
  margin: 0;
}

#lemon-waiting-page .lwp-socials {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 0 0 auto;
}

#lemon-waiting-page .lwp-socials a {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#lemon-waiting-page .lwp-socials img { width: 100%; height: 100%; display: block; }

@media (prefers-reduced-motion: reduce) {
  #lemon-waiting-page .lwp-btn { transition: none; }
}

/* Final typography values from Figma */
#lemon-waiting-page .lwp-title {
  color: #000;
  text-align: center;
  font-family: "Gilam-Black", Arial, sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 900;
  line-height: 52px;
  letter-spacing: 1.8px;
}

#lemon-waiting-page .lwp-subtitle {
  color: #000;
  text-align: center;
  font-family: "Gilam-Regular", Arial, sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px;
}

#lemon-waiting-page .lwp-btn-yellow {
  color: #009DFF !important;
  font-family: "Gilam-Black", Arial, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 900;
  line-height: 28px;
  letter-spacing: 0.9px;
}

#lemon-waiting-page .lwp-btn-blue {
  color: #FFF400 !important;
  font-family: "Gilam-Black", Arial, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 900;
  line-height: 28px;
  letter-spacing: 0.9px;
}

/* Ajustement visuel pour se rapprocher de la maquette desktop */
@media (min-width: 901px) {
  #lemon-waiting-page .lwp-title {
    font-size: 48px;
    line-height: 52px;
    letter-spacing: 1.44px;
  }

  #lemon-waiting-page .lwp-subtitle {
    font-size: 20px;
    line-height: 28px;
  }

  #lemon-waiting-page .lwp-btn,
  #lemon-waiting-page .lwp-btn-yellow,
  #lemon-waiting-page .lwp-btn-blue {
    font-size: 24px;
    line-height: 26px;
    letter-spacing: 0.72px;
  }

  #lemon-waiting-page .lwp-btn-blue .lwp-btn-arrow {
    width: 56px;
    height: 23px;
    overflow: visible;
  }
}

/* ===================================================
   MOBILE CONSOLIDE - <= 900px
   Une seule source de verite pour le responsive.
   Les regles desktop ci-dessus restent inchangees.
=================================================== */
@media (max-width: 900px) {
  #lemon-waiting-page {
    height: 100dvh !important;
    min-height: 100dvh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
  }

  #lemon-waiting-page .lwp-page {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    min-height: 100%;
  }

  /* Image citron : 402 x 413 sur la maquette, adaptable aux ecrans plus etroits */
  #lemon-waiting-page .lwp-visual {
    flex: 0 0 auto;
    width: min(402px, 100%);
    max-width: 402px;
    height: auto;
    aspect-ratio: 402 / 413;
    min-height: 0;
    margin: 0 auto;
  }

  #lemon-waiting-page .lwp-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  /* Bulle : conserve son chevauchement, calcule depuis la hauteur du visuel */
  #lemon-waiting-page .lwp-bubble {
    top: calc(min(100vw, 402px) - 27px);
    left: 10%;
    right: 10%;
    bottom: auto;
    width: auto;
    height: auto;
    aspect-ratio: 592 / 153;
    z-index: 2;
  }

  #lemon-waiting-page .lwp-content {
    width: 100%;
    flex: 0 0 auto;
    padding: 68px 24px 22px;
    justify-content: flex-start;
    align-items: center;
    overflow: visible;
    text-align: center;
  }

  #lemon-waiting-page .lwp-logo {
    width: 198px;
    height: 94.338px;
    margin-bottom: 18px;
  }

  #lemon-waiting-page .lwp-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  /* Polices mobile : noms exacts charges par le site WordPress */
  #lemon-waiting-page .lwp-title {
    font-family: "Gilam-Black", Arial, sans-serif !important;
  }

  #lemon-waiting-page .lwp-subtitle {
    font-family: "Gilam-Regular", Arial, sans-serif !important;
  }

  #lemon-waiting-page .lwp-btn,
  #lemon-waiting-page .lwp-btn-yellow,
  #lemon-waiting-page .lwp-btn-blue {
    font-family: "Gilam-Black", Arial, sans-serif !important;
  }

  #lemon-waiting-page .lwp-title {
    width: calc(100% + 32px);
    max-width: 386px;
    margin: 0 0 12px;
    color: #000;
    text-align: center;
    font-size: 30px;
    font-style: normal;
    font-weight: 900;
    line-height: 35px;
    letter-spacing: 0.9px;
  }

  #lemon-waiting-page .lwp-subtitle {
    max-width: 350px;
    margin: 0 0 24px;
    color: #000;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
  }

  #lemon-waiting-page .lwp-cta-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin: 0;
  }

  #lemon-waiting-page .lwp-btn,
  #lemon-waiting-page .lwp-btn-yellow,
  #lemon-waiting-page .lwp-btn-blue {
    width: auto;
    min-width: 0;
    padding: 10px 18px;
    gap: 10px;
    font-size: 16px;
    font-style: normal;
    font-weight: 900;
    line-height: 18px;
    letter-spacing: 0.48px;
  }

  #lemon-waiting-page .lwp-btn-yellow {
    width: 220px;
    color: #009DFF !important;
  }

  #lemon-waiting-page .lwp-btn-blue {
    width: 250px;
    color: #FFF400 !important;
  }

  #lemon-waiting-page .lwp-btn-yellow .lwp-btn-arrow,
  #lemon-waiting-page .lwp-btn-blue .lwp-btn-arrow {
    width: 28px;
    height: 12px;
    flex: 0 0 28px;
    overflow: visible;
  }

  #lemon-waiting-page .lwp-btn-arrow svg {
    width: 28px;
    height: 12px;
    overflow: visible;
  }

  #lemon-waiting-page .lwp-footer {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 52px;
    display: flex;
    align-items: center;
    gap: 14px;
  }

  #lemon-waiting-page .lwp-footer hr {
    flex: 1 1 auto;
    border-top: 1px solid #000;
  }

  #lemon-waiting-page .lwp-socials {
    gap: 12px;
  }

  #lemon-waiting-page .lwp-socials a {
    width: 17px;
    height: 17px;
  }
}
/* ===================================================
   TYPOGRAPHIES - compatibilite navigateurs / Android
=================================================== */

#lemon-waiting-page {
  font-family: "Gilam-Regular", Arial, sans-serif !important;
  font-weight: normal;
}

#lemon-waiting-page .lwp-title,
#lemon-waiting-page .lwp-btn,
#lemon-waiting-page .lwp-btn-yellow,
#lemon-waiting-page .lwp-btn-blue {
  font-family: "Gilam-Black", Arial, sans-serif !important;
  font-weight: normal !important;
}

#lemon-waiting-page .lwp-subtitle {
  font-family: "Gilam-Regular", Arial, sans-serif !important;
  font-weight: normal !important;
}

/* ===================================================
   TYPOGRAPHIES WAITING PAGE
   Chargement direct pour compatibilite Android / Xiaomi
=================================================== */

@font-face {
  font-family: "Lemon-Gilam-Regular";
  src: url("https://www.lemon-c.com/wp-content/themes/lemontheme-child/fonts/Gilam-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Lemon-Gilam-Black";
  src: url("https://www.lemon-c.com/wp-content/themes/lemontheme-child/fonts/Gilam-Black.otf") format("opentype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

/* Texte courant */
#lemon-waiting-page {
  font-family: "Lemon-Gilam-Regular", Arial, sans-serif !important;
  font-weight: 400;
}

/* Titre + boutons */
#lemon-waiting-page .lwp-title,
#lemon-waiting-page .lwp-btn,
#lemon-waiting-page .lwp-btn-yellow,
#lemon-waiting-page .lwp-btn-blue {
  font-family: "Lemon-Gilam-Black", Arial, sans-serif !important;
  font-weight: 900 !important;
}

/* Sous-titre */
#lemon-waiting-page .lwp-subtitle {
  font-family: "Lemon-Gilam-Regular", Arial, sans-serif !important;
  font-weight: 400 !important;
}