/* MOXIE HOME — Section « Support voiture universel Moxie AirFix 3 Push + Clip grille de ventilation avec 2 plaques magnétiques » (produit 93, 15,90 €) :
   l'intro sur fond noir, le clic sur la grille, les 4 aimants, la plaque qui vient se coller, le téléphone qui tourne à 360°, la rafale, la boîte et le prix. */
  #moxie-airfix3 { 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-airfix3 { 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-airfix3 h2, #moxie-airfix3 p { margin: 0; font-family: inherit; color: inherit; text-transform: none; }

  #moxie-airfix3 { --citron: #c3d916; --fond: #f5f5f7; background: #fff; color: #1d1d1f; padding-bottom: 40px; -webkit-font-smoothing: antialiased; }
  #moxie-airfix3 .af-scene { position: relative; width: 100%; height: min(56.25vw, 86svh); overflow: hidden; background: var(--fond); container-type: size; }
  /* un halo citron qui respire derrière le produit */
  #moxie-airfix3 .af-halo { position: absolute; z-index: 0; left: 66cqw; top: 52%; width: 90cqh; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(195,217,22,.35), rgba(195,217,22,0)); opacity: 0; }

  /* les photos (fond blanc, fondu en « multiply » dans le gris clair) */
  #moxie-airfix3 .af-photo { position: absolute; z-index: 2; left: 66cqw; top: 52%; height: 86cqh; aspect-ratio: 1; translate: -50% -50%; opacity: 0; mix-blend-mode: multiply; }
  #moxie-airfix3 .af-photo > img, #moxie-airfix3 img.af-photo { display: block; width: 100%; height: 100%; object-fit: contain; }
  /* les 4 aimants qui s'allument dans la tête */
  #moxie-airfix3 .af-aimants { position: absolute; z-index: 3; left: 66cqw; top: 52%; height: 86cqh; aspect-ratio: 1; translate: -50% -50%; pointer-events: none; }
  #moxie-airfix3 .af-aimants i { position: absolute; width: 9%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; opacity: 0;
    background: radial-gradient(circle, #f4ffb0 0 22%, var(--citron) 40%, rgba(195,217,22,0) 72%); }
  #moxie-airfix3 .af-aimants i:nth-child(1) { left: 54%; top: 40%; } #moxie-airfix3 .af-aimants i:nth-child(2) { left: 67%; top: 40%; }
  #moxie-airfix3 .af-aimants i:nth-child(3) { left: 54%; top: 59%; } #moxie-airfix3 .af-aimants i:nth-child(4) { left: 67%; top: 59%; }
  #moxie-airfix3 .af-champ { position: absolute; z-index: 1; left: 66cqw; top: 52%; width: 60cqh; aspect-ratio: 1; translate: -50% -50%; pointer-events: none; }
  #moxie-airfix3 .af-champ i { position: absolute; inset: 0; border-radius: 50%; border: .5cqh solid var(--citron); opacity: 0; }
  #moxie-airfix3 .af-compteur { position: absolute; z-index: 1; left: 66cqw; top: 50%; translate: -50% -50%; font-size: clamp(80px, 62cqmin, 620px); font-weight: 900; letter-spacing: -0.06em; line-height: 1;
    color: transparent; -webkit-text-stroke: .35cqmin rgba(29,29,31,.14); opacity: 0; pointer-events: none; font-variant-numeric: tabular-nums; }

  /* la grille d'aération dessinée derrière le support */
  #moxie-airfix3 .af-grille { position: absolute; z-index: 1; left: 38cqw; width: 58cqw; top: 46cqh; height: 26cqh; opacity: 0; display: flex; flex-direction: column; justify-content: space-between; }
  #moxie-airfix3 .af-grille i { display: block; height: 3cqh; border-radius: 1cqh; background: linear-gradient(180deg, #e2e2e6, #a9a9b0); box-shadow: 0 .6cqh 1cqh rgba(0,0,0,.14), inset 0 -.3cqh 0 rgba(0,0,0,.08); transform-origin: 0 50%; }
  /* le « clic » : un anneau qui s'ouvre */
  #moxie-airfix3 .af-clic { position: absolute; z-index: 3; left: 66cqw; top: 50cqh; width: 34cqh; height: 34cqh; translate: -50% -50%; border-radius: 50%; border: .8cqh solid var(--citron); opacity: 0; }

  /* la plaque qui arrive et se colle sur l'aimant (la tête est retournée pour regarder vers la plaque) */
  #moxie-airfix3 .af-tete2 { left: 76cqw; height: 72cqh; }
  #moxie-airfix3 .af-tete2 > img { transform: scaleX(-1); }
  #moxie-airfix3 .af-plaque { position: absolute; z-index: 3; left: 57cqw; top: 50%; height: 44cqh; aspect-ratio: 270 / 360; translate: -50% -50%; opacity: 0; mix-blend-mode: multiply; }
  #moxie-airfix3 .af-plaque img { display: block; width: 100%; height: 100%; }
  #moxie-airfix3 .af-ondes { position: absolute; z-index: 3; left: 64cqw; top: 50%; height: 30cqh; width: 6cqh; translate: -50% -50%; opacity: 0; display: flex; flex-direction: column; justify-content: space-around; }
  #moxie-airfix3 .af-ondes i { display: block; height: 1cqh; border-radius: 99px; background: var(--citron); box-shadow: 0 0 0 .2cqh #1d1d1f; }

  /* le téléphone (dessiné) accroché au support */
  #moxie-airfix3 .af-tel { position: absolute; z-index: 4; left: 66cqw; top: 52%; height: 76cqh; aspect-ratio: 9 / 19; translate: -50% -50%; opacity: 0; padding: 1.1cqh; border-radius: 6cqh; background: #18181a;
    box-shadow: inset 0 0 0 .35cqh #3a3a3e, 0 3cqh 6cqh rgba(0,0,0,.22); }
  #moxie-airfix3 .af-ecran { position: relative; width: 100%; height: 100%; border-radius: 5cqh; overflow: hidden;
    background: linear-gradient(115deg, transparent 47%, #fff 47% 53%, transparent 53%), linear-gradient(28deg, transparent 60%, #fff 60% 64%, transparent 64%),
      repeating-linear-gradient(0deg, #e9eef0 0 9cqh, #dfe6e9 9cqh 9.4cqh), #e9eef0; }
  #moxie-airfix3 .af-ecran svg { position: absolute; inset: 0; width: 100%; height: 100%; }
  #moxie-airfix3 .af-ecran b { position: absolute; left: 6%; right: 6%; top: 6%; padding: 1.3cqh 1.6cqh; border-radius: 2cqh; background: #1d1d1f; color: #fff; font-size: clamp(9px, 2.6cqh, 24px); font-weight: 700; white-space: nowrap; }
  #moxie-airfix3 .af-ecran b span { color: var(--citron); }
  #moxie-airfix3 .af-degres { position: absolute; z-index: 3; left: 66cqw; top: 50%; translate: -50% -50%; font-size: clamp(60px, 30cqmin, 300px); font-weight: 900; letter-spacing: -0.06em; color: var(--citron); opacity: 0; pointer-events: none; font-variant-numeric: tabular-nums; -webkit-text-stroke: .4cqmin #1d1d1f; }

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

  @media (max-width: 760px) {
    #moxie-airfix3 .af-scene { height: 150vw; }
    #moxie-airfix3 .af-texte { left: 0; right: 0; top: 5cqh; translate: none; max-width: none; text-align: center; padding-inline: 6cqw; }
    #moxie-airfix3 .af-photo, #moxie-airfix3 .af-aimants { left: 50%; top: 68%; height: auto; width: 88cqw; }
    #moxie-airfix3 .af-halo, #moxie-airfix3 .af-champ, #moxie-airfix3 .af-compteur, #moxie-airfix3 .af-degres, #moxie-airfix3 .af-clic { left: 50%; top: 67%; }
    #moxie-airfix3 .af-halo { width: 100cqw; } #moxie-airfix3 .af-champ { width: 60cqw; } #moxie-airfix3 .af-clic { width: 40cqw; height: 40cqw; }
    #moxie-airfix3 .af-grille { left: 4cqw; width: 92cqw; top: 66cqh; height: 15cqh; }
    #moxie-airfix3 .af-tete2 { left: 62%; width: 72cqw; }
    #moxie-airfix3 .af-plaque { left: 26cqw; top: 68%; height: 28cqh; }
    #moxie-airfix3 .af-ondes { left: 41cqw; top: 68%; height: 18cqh; width: 5cqw; }
    #moxie-airfix3 .af-tel { left: 50%; top: 68%; height: 56cqh; }
    #moxie-airfix3 .af-prix-geant { left: 50%; top: 90cqh; }
    #moxie-airfix3 .af-achat { flex-direction: column; text-align: center; }
  }
  @media (prefers-reduced-motion: reduce) { #moxie-airfix3 .af-scene { transform: none !important; } }
