/* MOXIE HOME — Section « Livre lampe à LED » (tailles S et M), en « Bientôt disponible ». Fermé, il s'ouvre en éventail et s'allume ; ambiance ; deux tailles. */
  #moxie-livre { 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-livre { 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-livre h2, #moxie-livre h3 { font-family: inherit; color: inherit; text-transform: none; }

  #moxie-livre { --ambre: #c7781f; background: #fff; color: #1d1d1f; padding-bottom: 40px; -webkit-font-smoothing: antialiased; }
  #moxie-livre h2, #moxie-livre h3, #moxie-livre p { margin: 0; }
  /* le fond se réchauffe quand le livre s'allume ; les photos (fond blanc) s'y fondent en « multiply » — elles sont posées directement dans la scène */
  #moxie-livre .lv-scene { position: relative; width: 100%; height: min(56.25vw, 86svh); overflow: hidden; background: var(--fond, #f4f4f6); container-type: size; }
  #moxie-livre .lv-halo { position: absolute; z-index: 0; left: 64cqw; top: 46%; width: 120cqh; height: 90cqh; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,214,150,.9), rgba(255,214,150,0)); opacity: 0; pointer-events: none; }
  #moxie-livre .lv-img { position: absolute; z-index: 1; left: 64cqw; top: 52%; height: 92cqh; aspect-ratio: 1; translate: -50% -50%; mix-blend-mode: multiply; opacity: 0; display: block; }
  /* le livre ouvert (détouré) : il apparaît en fondu depuis le livre fermé, éteint, puis s'allume */
  #moxie-livre .lv-livre { position: absolute; z-index: 1; left: 64cqw; top: 52%; height: 92cqh; aspect-ratio: 1; translate: -50% -50%; opacity: 0; display: block; }
  #moxie-livre .lv-taille { position: absolute; z-index: 1; bottom: 12cqh; aspect-ratio: 1; mix-blend-mode: multiply; opacity: 0; }
  #moxie-livre .lv-taille-m { left: 12cqw; height: 74cqh; }
  #moxie-livre .lv-taille-s { left: 58cqw; height: 58cqh; }
  #moxie-livre .lv-etiq { position: absolute; z-index: 2; bottom: 7cqh; font-size: clamp(13px, 2.4cqmin, 20px); font-weight: 700; color: #1d1d1f; opacity: 0; translate: -50% 0; }
  #moxie-livre .lv-etiq-m { left: calc(12cqw + 37cqh); bottom: 22cqh; } #moxie-livre .lv-etiq-s { left: calc(58cqw + 29cqh); bottom: 22cqh; }
  /* l'ambiance de nuit */
  #moxie-livre .lv-photo { position: absolute; z-index: 1; right: 0; top: 0; bottom: 0; width: 62cqw; opacity: 0; overflow: hidden; }
  #moxie-livre .lv-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
  #moxie-livre .lv-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--fond, #fff) 0%, rgba(255,255,255,0) 32%); }
  /* les textes */
  #moxie-livre .lv-texte { position: absolute; z-index: 5; left: 7cqw; top: 50%; translate: 0 -50%; max-width: 34cqw; opacity: 0; pointer-events: none; }
  #moxie-livre .lv-texte.lv-centre { left: 0; right: 0; top: 6cqh; translate: none; max-width: none; text-align: center; padding-inline: 6cqw; }
  #moxie-livre .lv-texte h2 { font-size: clamp(44px, 13cqmin, 140px); font-weight: 700; letter-spacing: -0.05em; line-height: .98; }
  #moxie-livre .lv-texte h3 { font-size: clamp(30px, 8cqmin, 84px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.02; }
  #moxie-livre .lv-texte p { margin-top: .45em; font-size: clamp(17px, 3.2cqmin, 27px); font-weight: 500; color: #515154; }
  #moxie-livre .lv-texte b { color: var(--ambre); }
  #moxie-livre .lv-texte h2 em { font-style: normal; color: var(--ambre); }
  /* l'achat */
  #moxie-livre .lv-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-livre .lv-achat strong { display: block; font-size: 17px; font-weight: 600; }
  #moxie-livre .lv-achat small { font-size: 14px; color: #6e6e73; }
  #moxie-livre .lv-tailles { display: flex; gap: 8px; }
  #moxie-livre .lv-tailles button { min-width: 44px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid #d2d2d7; background: #fff; font: 600 15px -apple-system, sans-serif; color: #1d1d1f; cursor: pointer; }
  #moxie-livre .lv-tailles button[aria-pressed="true"] { border-color: #1d1d1f; background: #1d1d1f; color: #fff; }
  #moxie-livre .lv-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-livre .lv-scene { height: 150vw; }
    #moxie-livre .lv-img, #moxie-livre .lv-livre { left: 50%; top: 64%; height: auto; width: 100cqw; }
    #moxie-livre .lv-halo { left: 50%; top: 60%; width: 120cqw; height: 80cqw; }
    #moxie-livre .lv-taille-m { left: 2cqw; height: auto; width: 56cqw; bottom: 14cqh; }
    #moxie-livre .lv-taille-s { left: 58cqw; height: auto; width: 42cqw; bottom: 14cqh; }
    #moxie-livre .lv-etiq-m { left: 30cqw; bottom: 9cqh; } #moxie-livre .lv-etiq-s { left: 79cqw; bottom: 9cqh; }
    #moxie-livre .lv-photo { left: 0; width: auto; top: 34cqh; } #moxie-livre .lv-photo::before { background: linear-gradient(180deg, var(--fond, #fff) 0%, rgba(255,255,255,0) 25%); }
    #moxie-livre .lv-texte { left: 0; right: 0; top: 5cqh; translate: none; max-width: none; text-align: center; padding-inline: 6cqw; }
  }
