/* MOXIE HOME — Section « Lightbox A5 avec lettres », en « Bientôt disponible ». La boîte s'allume, les lettres tombent : BIENVENUE CHEZ MOXIE, puis BONNE ANNÉE 2027. */
  #moxie-lightbox { min-height: 0; max-height: none; overflow: visible; padding-inline: 0 !important; }   /* le thème limite la hauteur des sections et ajoute une marge sur les côtés */
  #moxie-lightbox { width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw); overflow-x: clip; line-height: normal; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif; }
  #moxie-lightbox h2, #moxie-lightbox h3 { font-family: inherit; color: inherit; text-transform: none; }

  #moxie-lightbox { background: #fff; color: #1d1d1f; padding-bottom: 40px; -webkit-font-smoothing: antialiased; }
  #moxie-lightbox h2, #moxie-lightbox h3, #moxie-lightbox p { margin: 0; }
  #moxie-lightbox .lb-scene { position: relative; width: 100%; height: min(56.25vw, 86svh); overflow: hidden; background: #fff; container-type: size; }
  /* la photo (1100 × 1100) et l'écran lumineux posé dessus, dans le même repère ; mis à l'échelle en JS */
  /* la photo, agrandie et placée pour que la boîte (centre ≈ 690 × 540 sur la photo) soit au milieu de la moitié droite */
  #moxie-lightbox .lb-cadre { position: absolute; z-index: 1; --t: 118cqh; width: var(--t); height: var(--t); left: calc(69cqw - var(--t) * .627); top: calc(50% - var(--t) * .49); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%); mask-image: linear-gradient(90deg, transparent 0, #000 26%); }   /* les lettres éparpillées s'effacent en fondu à gauche */
  #moxie-lightbox .lb-cadre:not(.lb-pret) { visibility: hidden; }   /* rien tant que le script n'a pas posé l'écran dans la perspective */
  #moxie-lightbox .lb-repere { position: absolute; left: 0; top: 0; width: 1100px; height: 1100px; transform-origin: 0 0; }
  #moxie-lightbox .lb-repere > img { position: absolute; inset: 0; width: 1100px; height: 1100px; display: block; }
  #moxie-lightbox .lb-ecran { position: absolute; left: 0; top: 0; width: 900px; height: 600px; transform-origin: 0 0; overflow: hidden; }
  /* l'écran à plat (900 × 600) : le cadre blanc, la lumière, les trois rangées de lettres */
  #moxie-lightbox .lb-face { position: absolute; inset: 0; background: #f3f3f2; box-shadow: inset 0 0 0 3px #e6e6e4; }
  #moxie-lightbox .lb-lumiere { position: absolute; left: 22px; right: 22px; top: 22px; bottom: 22px; background: radial-gradient(120% 90% at 50% 50%, #ffffff 0%, #f6faff 60%, #e9eff6 100%); }
  #moxie-lightbox .lb-noir { position: absolute; left: 22px; right: 22px; top: 22px; bottom: 22px; background: #d9dcdf; transition: none; }
  #moxie-lightbox .lb-rangee { position: absolute; left: 22px; right: 22px; height: 168px; display: grid; grid-template-columns: repeat(9, 1fr); }
  #moxie-lightbox .lb-rangee::after { content: ""; position: absolute; left: -22px; right: -22px; bottom: -14px; height: 14px; background: linear-gradient(180deg, #ececea, #dcdcda); box-shadow: 0 2px 3px rgba(0,0,0,.08); }
  #moxie-lightbox .lb-rangee:last-of-type::after { display: none; }
  #moxie-lightbox .lb-case { position: relative; border-left: 1px solid rgba(0,0,0,.04); overflow: visible; }
  #moxie-lightbox .lb-case:first-child { border-left: 0; }
  #moxie-lightbox .lb-lettre { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: "Bebas Neue", "DIN Condensed", "Oswald", Impact, sans-serif; font-size: 150px; line-height: 1; color: #141414; opacity: 0; }
  /* les textes */
  #moxie-lightbox .lb-texte { position: absolute; z-index: 5; left: 7cqw; top: 50%; translate: 0 -50%; max-width: 34cqw; opacity: 0; pointer-events: none; }
  #moxie-lightbox .lb-texte h2 { font-size: clamp(40px, 11cqmin, 120px); font-weight: 700; letter-spacing: -0.05em; line-height: .98; }
  #moxie-lightbox .lb-texte p { margin-top: .5em; font-size: clamp(16px, 3cqmin, 26px); font-weight: 500; color: #515154; }
  #moxie-lightbox .lb-texte b { color: #1d1d1f; }
  /* l'achat */
  #moxie-lightbox .lb-achat { max-width: 980px; margin: 22px auto 0; padding-inline: 16px; display: flex; align-items: center; justify-content: center; gap: 18px 26px; flex-wrap: wrap; text-align: center; }
  #moxie-lightbox .lb-achat strong { display: block; font-size: 17px; font-weight: 600; }
  #moxie-lightbox .lb-achat small { font-size: 14px; color: #6e6e73; }
  #moxie-lightbox .lb-bientot { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: 999px; background: #e8e8ed; color: #6e6e73; font: 500 17px -apple-system, sans-serif; }
  @media (max-width: 760px) {
    #moxie-lightbox .lb-scene { height: 150vw; }
    #moxie-lightbox .lb-cadre { --t: 138cqw; left: calc(50% - var(--t) * .646); top: calc(64% - var(--t) * .49); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
    #moxie-lightbox .lb-texte { left: 0; right: 0; top: 5cqh; translate: none; max-width: none; text-align: center; padding-inline: 6cqw; }
  }
