/* MOXIE HOME — Section « Chargeur secteur Moxie Air Power 65W GaN ultra plat, 2 ports » (produit 145, 34,90 €) :
   l'intro (65 W / 15 mm / les deux), l'épaisseur mesurée, la puissance qui monte, les deux ports, branché sur un ordinateur, la rafale, la boîte et le prix. */
  #moxie-airpower { 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-airpower { 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-airpower h2, #moxie-airpower p { margin: 0; font-family: inherit; color: inherit; text-transform: none; }

  #moxie-airpower { --citron: #c3d916; --marine: #12284f; background: #fff; color: #1d1d1f; padding-bottom: 40px; -webkit-font-smoothing: antialiased; }
  #moxie-airpower .ap-scene { position: relative; width: 100%; height: min(56.25vw, 86svh); overflow: hidden; background: #fff; container-type: size; }
  /* les photos ont un fond blanc : la scène est blanche, elles s'y fondent */
  #moxie-airpower .ap-photo { position: absolute; z-index: 2; left: 66cqw; top: 52%; height: 86cqh; aspect-ratio: 1; translate: -50% -50%; opacity: 0; }
  #moxie-airpower .ap-photo > img, #moxie-airpower img.ap-photo { display: block; width: 100%; height: 100%; object-fit: contain; }
  /* un halo citron derrière le chargeur pendant que la puissance monte */
  #moxie-airpower .ap-halo { position: absolute; z-index: 1; left: 66cqw; top: 52%; width: 92cqh; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(195,217,22,.42), rgba(195,217,22,0)); opacity: 0; }
  #moxie-airpower .ap-watts { position: absolute; z-index: 1; left: 66cqw; top: 50%; translate: -50% -50%; font-size: clamp(90px, 56cqmin, 560px); font-weight: 900; letter-spacing: -0.06em; line-height: 1;
    color: transparent; -webkit-text-stroke: .35cqmin rgba(18,40,79,.16); opacity: 0; pointer-events: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
  #moxie-airpower .ap-eclair { position: absolute; z-index: 3; left: 87cqw; top: 24%; width: 15cqh; translate: -50% -50%; opacity: 0; pointer-events: none; }
  #moxie-airpower .ap-eclair svg { display: block; width: 100%; height: auto; }

  /* la cote « 15 mm » sur la tranche du chargeur (photo de profil) */
  #moxie-airpower .ap-cote { position: absolute; z-index: 3; left: 66cqw; top: 52%; height: 86cqh; aspect-ratio: 1; translate: -50% -50%; opacity: 0; pointer-events: none; }
  #moxie-airpower .ap-cote i { position: absolute; left: 25%; width: 16%; top: 11%; height: .6cqh; background: var(--citron); border-radius: 99px; box-shadow: 0 0 0 .25cqh var(--marine); transform-origin: 50% 50%; }
  #moxie-airpower .ap-cote i::before, #moxie-airpower .ap-cote i::after { content: ""; position: absolute; top: 50%; width: .6cqh; height: 5cqh; translate: 0 -50%; background: var(--citron); border-radius: 99px; box-shadow: 0 0 0 .25cqh var(--marine); }
  #moxie-airpower .ap-cote i::before { left: 0; } #moxie-airpower .ap-cote i::after { right: 0; }
  #moxie-airpower .ap-cote b { position: absolute; left: 33%; top: 3%; translate: -50% 0; padding: .2em .55em; border-radius: 99px; background: var(--marine); color: var(--citron); font-size: clamp(16px, 4.4cqmin, 42px); font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }

  /* les deux ports entourés, avec leur nom */
  #moxie-airpower .ap-ports { position: absolute; z-index: 3; left: 66cqw; top: 52%; height: 86cqh; aspect-ratio: 1; translate: -50% -50%; pointer-events: none; }
  #moxie-airpower .ap-ports span { position: absolute; translate: -50% -50%; opacity: 0; }
  #moxie-airpower .ap-ports span::before { content: ""; position: absolute; left: 50%; top: 50%; width: 15cqh; height: 15cqh; translate: -50% -50%; border-radius: 50%; border: .7cqh solid var(--citron); box-shadow: 0 0 0 .3cqh var(--marine); }
  #moxie-airpower .ap-ports span b { position: absolute; left: 50%; top: 9.5cqh; translate: -50% 0; padding: .3em .7em; border-radius: 99px; background: var(--marine); color: #fff; font-size: clamp(11px, 2.4cqmin, 20px); font-weight: 700; white-space: nowrap; }
  #moxie-airpower .ap-ports span b em { font-style: normal; color: var(--citron); }
  #moxie-airpower .ap-ports span b i { font-style: normal; }
  #moxie-airpower .ap-ports span:nth-child(1) { left: 34%; top: 86%; } #moxie-airpower .ap-ports span:nth-child(2) { left: 68%; top: 86%; }

  /* branché sur un ordinateur : la photo plein cadre sur fond marine */
  #moxie-airpower .ap-ordi { position: absolute; inset: 0; z-index: 2; opacity: 0; background: var(--marine); overflow: hidden; }
  #moxie-airpower .ap-ordi img { position: absolute; right: 0; top: 50%; height: 125cqh; width: auto; translate: 0 -50%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%); }
  #moxie-airpower .ap-texte.ap-blanc { color: #fff; }
  #moxie-airpower .ap-texte.ap-blanc p { color: rgba(255,255,255,.8); }
  #moxie-airpower .ap-texte.ap-blanc b { background: none; color: var(--citron); }

  /* l'intro et la rafale : plein écran */
  #moxie-airpower .ap-plein { position: absolute; inset: 0; z-index: 8; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--marine); color: #fff; opacity: 0; pointer-events: none; }
  #moxie-airpower .ap-plein b { font-size: clamp(54px, 20cqmin, 230px); font-weight: 900; letter-spacing: -0.06em; line-height: .95; }
  #moxie-airpower .ap-plein small { margin-top: .4em; font-size: clamp(16px, 4cqmin, 36px); font-weight: 700; letter-spacing: .02em; opacity: .75; }
  /* le prix */
  #moxie-airpower .ap-prix-geant { position: absolute; z-index: 5; left: 50cqw; top: 72cqh; translate: -50% -50%; padding: .1em .4em; border-radius: 3cqh; background: var(--citron); color: var(--marine); font-size: clamp(36px, 13cqmin, 140px); font-weight: 900; letter-spacing: -0.05em; opacity: 0; white-space: nowrap; box-shadow: 0 2cqh 4cqh rgba(0,0,0,.18); rotate: -6deg; }
  /* les textes */
  #moxie-airpower .ap-texte { position: absolute; z-index: 6; left: 6cqw; top: 50%; translate: 0 -50%; max-width: 40cqw; opacity: 0; pointer-events: none; }
  #moxie-airpower .ap-texte h2 { font-size: clamp(40px, 11.5cqmin, 124px); font-weight: 800; letter-spacing: -0.05em; line-height: .96; }
  #moxie-airpower .ap-texte p { margin-top: .45em; font-size: clamp(16px, 3cqmin, 26px); font-weight: 500; color: #515154; }
  #moxie-airpower .ap-texte b { background: linear-gradient(transparent 58%, var(--citron) 58%); font-weight: 700; color: inherit; }
  #moxie-airpower .ap-texte .ap-sur { display: inline-block; margin-bottom: .5em; padding: .3em .7em; border-radius: 99px; background: var(--marine); color: var(--citron); font-size: clamp(12px, 2cqmin, 17px); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
  /* l'achat */
  #moxie-airpower .ap-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-airpower .ap-produit { display: flex; align-items: center; gap: 12px; }
  #moxie-airpower .ap-produit img { width: 60px; height: 60px; object-fit: contain; }
  #moxie-airpower .ap-produit strong { display: block; font-size: 17px; font-weight: 600; }
  #moxie-airpower .ap-produit small { font-size: 14px; color: #6e6e73; }
  #moxie-airpower .ap-payer { display: flex; align-items: center; gap: 14px; }
  #moxie-airpower .ap-prix { font-size: 17px; font-weight: 600; white-space: nowrap; }
  #moxie-airpower .ap-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-airpower .ap-ajout:hover { background: #0077ed; }

  @media (max-width: 760px) {
    #moxie-airpower .ap-scene { height: 150vw; }
    #moxie-airpower .ap-texte { left: 0; right: 0; top: 5cqh; translate: none; max-width: none; text-align: center; padding-inline: 6cqw; }
    #moxie-airpower .ap-photo, #moxie-airpower .ap-cote, #moxie-airpower .ap-ports { left: 50%; top: 68%; height: auto; width: 88cqw; }
    #moxie-airpower .ap-halo, #moxie-airpower .ap-watts { left: 50%; top: 67%; }
    #moxie-airpower .ap-eclair { left: 82%; top: 48%; }
    #moxie-airpower .ap-halo { width: 100cqw; } #moxie-airpower .ap-eclair { width: 14cqw; }
    #moxie-airpower .ap-ports span::before { width: 15cqw; height: 15cqw; } #moxie-airpower .ap-ports span b { top: 9cqw; }
    #moxie-airpower .ap-ports span b i { display: none; }   /* sur téléphone : juste « USB-C » et « USB-A », sinon les deux étiquettes se touchent */
    #moxie-airpower .ap-ordi img { top: auto; bottom: 0; right: 50%; translate: 50% 0; height: 70cqh; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 25%); mask-image: linear-gradient(180deg, transparent 0%, #000 25%); }
    #moxie-airpower .ap-prix-geant { left: 50%; top: 90cqh; }
    #moxie-airpower .ap-achat { flex-direction: column; text-align: center; }
  }
  @media (prefers-reduced-motion: reduce) { #moxie-airpower .ap-scene { transform: none !important; } }
