/* MOXIE HOME — Section « Powerbank porte-clés 2000 mAh Moxie » en trois couleurs : fibre de blé (produit 153), noir (156), blanc (157), 19,90 € :
   les trois qui se balancent, le carrousel des couleurs, les câbles Lightning + Type-C intégrés, la taille dans la main, la gamme ; achat par couleur. */
  #moxie-powerble { 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-powerble { 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-powerble h2, #moxie-powerble h3 { font-family: inherit; color: inherit; text-transform: none; }

  #moxie-powerble { --accent: #a8875a; background: #fff; color: #1d1d1f; padding-bottom: 40px; -webkit-font-smoothing: antialiased; }
  #moxie-powerble h2, #moxie-powerble h3, #moxie-powerble p { margin: 0; }
  #moxie-powerble .pb-scene { position: relative; width: 100%; height: min(56.25vw, 86svh); overflow: hidden; background: var(--fond, #fff); container-type: size; transition: background .4s; }
  #moxie-powerble img { mix-blend-mode: multiply; }
  /* 1 et 5 : les trois, côte à côte, qui se balancent depuis leur anneau */
  #moxie-powerble .pb-trio { position: absolute; z-index: 2; left: 40cqw; right: 2cqw; top: 6cqh; bottom: 6cqh; display: flex; align-items: center; justify-content: center; gap: 0; opacity: 0; }
  #moxie-powerble .pb-trio figure { position: relative; flex: none; margin: 0 -2.5cqw; width: 24cqw; aspect-ratio: 1; transform-origin: 50% 12%; }
  #moxie-powerble .pb-trio figure { mix-blend-mode: multiply; }   /* chaque figure (tournée, donc isolée) se fond sur ses voisines : le blanc d'une photo ne cache plus le câble de la voisine */
  #moxie-powerble .pb-trio img { width: 100%; height: 100%; display: block; mix-blend-mode: normal; }
  #moxie-powerble .pb-trio figcaption { position: absolute; left: 0; right: 0; bottom: -4cqh; text-align: center; font-size: clamp(12px, 2.4cqmin, 20px); font-weight: 700; color: #6e6e73; }
  /* 2 : le carrousel des couleurs */
  #moxie-powerble .pb-hero { position: absolute; z-index: 2; left: 66cqw; top: 52%; height: 96cqh; aspect-ratio: 1; translate: -50% -50%; opacity: 0; transform-origin: 50% 12%; }
  #moxie-powerble .pb-hero { mix-blend-mode: multiply; }   /* le conteneur forme un groupe : c'est lui qui se fond sur la couleur du fond */
  #moxie-powerble .pb-hero img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; mix-blend-mode: normal; }
  #moxie-powerble .pb-nom { color: var(--accent); transition: color .4s; }
  /* 3 : les câbles intégrés, avec leurs étiquettes */
  #moxie-powerble .pb-cables { position: absolute; z-index: 2; left: 69cqw; top: 52%; height: 96cqh; aspect-ratio: 1; translate: -50% -50%; opacity: 0; }
  #moxie-powerble .pb-cables > img { width: 100%; height: 100%; display: block; }
  #moxie-powerble .pb-etiq { position: absolute; translate: -50% -100%; padding: .3em .7em; border-radius: 99px; background: #1d1d1f; color: #fff; font-size: clamp(12px, 2.6cqmin, 22px); font-weight: 700; white-space: nowrap; opacity: 0; }
  #moxie-powerble .pb-etiq::after { content: ""; position: absolute; left: 50%; top: 100%; translate: -50% 0; border: .7cqh solid transparent; border-top-color: #1d1d1f; }
  #moxie-powerble .pb-etiq-c { left: 11%; top: 43%; }
  #moxie-powerble .pb-etiq-l { left: 88%; top: 37%; }
  /* 4 : dans la main */
  #moxie-powerble .pb-main { position: absolute; z-index: 2; left: 66cqw; top: 50%; height: 100cqh; aspect-ratio: 1; translate: -50% -50%; opacity: 0; }
  #moxie-powerble .pb-poids { position: absolute; z-index: 3; left: 84cqw; top: 62cqh; translate: -50% 0; padding: .1em .45em; border-radius: 2cqh; background: var(--accent); color: #fff; font-size: clamp(30px, 9cqmin, 96px); font-weight: 900; letter-spacing: -0.04em; opacity: 0; rotate: -5deg; white-space: nowrap; }
  /* la lampe torche : la nuit tombe autour du powerbank, la LED du bas s'allume et éclaire vers le bas */
  #moxie-powerble .pb-torche { position: absolute; z-index: 4; left: 66cqw; top: 40%; height: 70cqh; aspect-ratio: 1; translate: -50% -50%; opacity: 0; }
  #moxie-powerble .pb-torche > img { position: absolute; inset: 0; width: 100%; height: 100%; }
  #moxie-powerble .pb-trou { position: absolute; left: 50%; top: 52%; width: 74%; aspect-ratio: .8; translate: -50% -50%; border-radius: 50%; box-shadow: inset 0 0 6cqh 3cqh rgba(9,11,18,calc(var(--nuit, 0) * .9)), 0 0 8cqh 5cqh rgba(9,11,18,var(--nuit, 0)), 0 0 0 300vmax rgba(9,11,18,var(--nuit, 0)); }
  #moxie-powerble .pb-faisceau { position: absolute; left: 50%; top: 91.5%; width: 170%; height: 120%; translate: -50% 0; transform-origin: 50% 0; clip-path: polygon(47% 0, 53% 0, 100% 100%, 0 100%); background: linear-gradient(180deg, rgba(255,247,214,.95) 0%, rgba(255,247,214,.35) 45%, rgba(255,247,214,0) 100%); opacity: 0; }
  #moxie-powerble .pb-led { position: absolute; left: 50%; top: 91.5%; width: 9%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, #fff 0 30%, rgba(255,247,214,.9) 45%, rgba(255,247,214,0) 70%); opacity: 0; }
  #moxie-powerble .pb-texte.pb-blanc h2 { color: #fff; }
  #moxie-powerble .pb-texte.pb-blanc p { color: rgba(255,255,255,.75); }
  #moxie-powerble .pb-texte.pb-blanc b { color: #ffe9a8; }
  /* la boîte */
  #moxie-powerble .pb-boite { position: absolute; z-index: 2; left: 67cqw; top: 52%; height: 94cqh; aspect-ratio: 1; translate: -50% -50%; opacity: 0; }
  /* les textes */
  #moxie-powerble .pb-texte { position: absolute; z-index: 6; left: 6cqw; top: 50%; translate: 0 -50%; max-width: 36cqw; opacity: 0; pointer-events: none; }
  #moxie-powerble .pb-texte h2 { font-size: clamp(40px, 11.5cqmin, 124px); font-weight: 800; letter-spacing: -0.05em; line-height: .96; }
  #moxie-powerble .pb-texte p { margin-top: .45em; font-size: clamp(16px, 3cqmin, 26px); font-weight: 500; color: #515154; }
  #moxie-powerble .pb-texte b { color: var(--accent); font-weight: 700; transition: color .4s; }
  #moxie-powerble .pb-texte .pb-sur { display: inline-block; margin-bottom: .5em; padding: .3em .7em; border-radius: 99px; background: #1d1d1f; color: #fff; font-size: clamp(12px, 2cqmin, 17px); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
  /* l'achat : la couleur */
  #moxie-powerble .pb-achat { max-width: 1100px; margin: 24px auto 0; padding-inline: 16px; display: flex; align-items: center; justify-content: center; gap: 16px 26px; flex-wrap: wrap; }
  #moxie-powerble .pb-produit { display: flex; align-items: center; gap: 12px; }
  #moxie-powerble .pb-produit img { width: 60px; height: 60px; object-fit: contain; }
  #moxie-powerble .pb-produit strong { display: block; font-size: 17px; font-weight: 600; }
  #moxie-powerble .pb-produit small { font-size: 14px; color: #6e6e73; }
  #moxie-powerble .pb-couleurs { display: flex; gap: 12px; }
  #moxie-powerble .pb-couleurs button { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
  #moxie-powerble .pb-couleurs button[aria-pressed="true"] { outline: 2px solid #0071e3; outline-offset: 3px; }
  #moxie-powerble .pb-payer { display: flex; align-items: center; gap: 14px; }
  #moxie-powerble .pb-prix { font-size: 17px; font-weight: 600; white-space: nowrap; }
  #moxie-powerble .pb-ajout { min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: #0071e3; color: #fff; font: 500 17px -apple-system, BlinkMacSystemFont, sans-serif; cursor: pointer; white-space: nowrap; }
  #moxie-powerble .pb-ajout:hover { background: #0077ed; }
  @media (max-width: 760px) {
    #moxie-powerble .pb-scene { height: 150vw; }
    #moxie-powerble .pb-texte { left: 0; right: 0; top: 5cqh; translate: none; max-width: none; text-align: center; padding-inline: 6cqw; }
    #moxie-powerble .pb-trio { left: 0; right: 0; top: 36cqh; bottom: 2cqh; }
    #moxie-powerble .pb-trio figure { height: auto; width: 40cqw; margin: 0 -4cqw; }
    #moxie-powerble .pb-hero, #moxie-powerble .pb-cables, #moxie-powerble .pb-main, #moxie-powerble .pb-boite { left: 50%; top: 66%; height: auto; width: 96cqw; }
    #moxie-powerble .pb-poids { left: 50%; top: 40cqh; }
    #moxie-powerble .pb-torche { left: 50%; top: 58%; height: auto; width: 72cqw; }
    #moxie-powerble .pb-achat { flex-direction: column; text-align: center; }
  }
