/* MOXIE HOME — Section « Porte-clés câble de charge 5 en 1 aluminium et nylon » en 6 couleurs (« Bientôt disponible », fiches à créer) :
   les six qui se balancent, il s'ouvre, le carrousel des couleurs, en situation, le rang final ; choix de la couleur en dessous. */
  #moxie-porteclef { 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-porteclef { 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-porteclef h2, #moxie-porteclef h3 { font-family: inherit; color: inherit; text-transform: none; }

  #moxie-porteclef { --accent: #2fb39a; background: #fff; color: #1d1d1f; padding-bottom: 40px; -webkit-font-smoothing: antialiased; }
  #moxie-porteclef h2, #moxie-porteclef h3, #moxie-porteclef p { margin: 0; }
  #moxie-porteclef .pc-scene { position: relative; width: 100%; height: min(56.25vw, 86svh); overflow: hidden; background: var(--fond, #fff); container-type: size; transition: background .3s; }
  /* 1 et 5 : le rang des six, qui se balancent depuis l'anneau */
  #moxie-porteclef .pc-rang { position: absolute; z-index: 2; left: 40cqw; right: 2cqw; top: 4cqh; bottom: 4cqh; display: flex; align-items: center; justify-content: center; gap: 1cqw; opacity: 0; }
  #moxie-porteclef .pc-rang figure { flex: none; margin: 0; width: 9cqw; aspect-ratio: .36; transform-origin: 50% 8%; mix-blend-mode: multiply; }
  #moxie-porteclef .pc-rang img { width: 100%; height: 100%; object-fit: cover; display: block; }
  /* 2 : il s'ouvre (le fermé se fond dans l'ouvert) */
  #moxie-porteclef .pc-photo { position: absolute; z-index: 2; left: 66cqw; top: 50%; height: 96cqh; aspect-ratio: 1; translate: -50% -50%; mix-blend-mode: multiply; opacity: 0; }
  #moxie-porteclef .pc-etiq { position: absolute; z-index: 3; padding: .3em .7em; border-radius: 99px; background: #1d1d1f; color: #fff; font-size: clamp(11px, 2.3cqmin, 20px); font-weight: 700; white-space: nowrap; translate: -50% -50%; opacity: 0; }
  #moxie-porteclef .pc-etiq.pc-entree { background: #2fa88d; }
  #moxie-porteclef #pcOuvert img { width: 100%; height: 100%; display: block; }
  /* 3 : le carrousel (le conteneur se fond sur la couleur du fond) */
  #moxie-porteclef .pc-hero { position: absolute; z-index: 2; left: 66cqw; top: 50%; height: 96cqh; aspect-ratio: 1; translate: -50% -50%; opacity: 0; mix-blend-mode: multiply; transform-origin: 50% 8%; }
  #moxie-porteclef .pc-hero img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
  #moxie-porteclef .pc-nom { color: var(--accent); transition: color .3s; }
  /* 4 : en situation */
  #moxie-porteclef .pc-vie { position: absolute; z-index: 2; left: 68cqw; top: 50%; height: 84cqh; aspect-ratio: 1; translate: -50% -50%; border-radius: 3cqh; overflow: hidden; opacity: 0; box-shadow: 0 3cqh 6cqh rgba(0,0,0,.18); }
  #moxie-porteclef .pc-vie img { width: 100%; height: 100%; object-fit: cover; display: block; }
  /* les textes */
  #moxie-porteclef .pc-texte { position: absolute; z-index: 6; left: 6cqw; top: 50%; translate: 0 -50%; max-width: 34cqw; opacity: 0; pointer-events: none; }
  #moxie-porteclef .pc-texte h2 { font-size: clamp(40px, 11.5cqmin, 124px); font-weight: 800; letter-spacing: -0.05em; line-height: .96; }
  #moxie-porteclef .pc-texte p { margin-top: .45em; font-size: clamp(16px, 3cqmin, 26px); font-weight: 500; color: #515154; }
  #moxie-porteclef .pc-texte b { color: var(--accent); font-weight: 700; transition: color .3s; }
  #moxie-porteclef .pc-texte .pc-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-porteclef .pc-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-porteclef .pc-produit { display: flex; align-items: center; gap: 12px; }
  #moxie-porteclef .pc-produit img { width: 60px; height: 60px; object-fit: contain; mix-blend-mode: multiply; }
  #moxie-porteclef .pc-produit strong { display: block; font-size: 17px; font-weight: 600; }
  #moxie-porteclef .pc-produit small { font-size: 14px; color: #6e6e73; }
  #moxie-porteclef .pc-couleurs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
  #moxie-porteclef .pc-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,.15); }
  #moxie-porteclef .pc-couleurs button[aria-pressed="true"] { outline: 2px solid #0071e3; outline-offset: 3px; }
  #moxie-porteclef .pc-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; white-space: nowrap; }
  @media (max-width: 760px) {
    #moxie-porteclef .pc-scene { height: 150vw; }
    #moxie-porteclef .pc-texte { left: 0; right: 0; top: 5cqh; translate: none; max-width: none; text-align: center; padding-inline: 6cqw; }
    #moxie-porteclef .pc-rang { left: 2cqw; right: 2cqw; top: 36cqh; bottom: 2cqh; gap: 0; }
    #moxie-porteclef .pc-rang figure { width: 15.5cqw; }
    #moxie-porteclef .pc-photo, #moxie-porteclef .pc-hero { left: 50%; top: 67%; height: auto; width: 92cqw; }
    #moxie-porteclef .pc-vie { left: 50%; top: 68%; height: auto; width: 84cqw; }
    #moxie-porteclef .pc-achat { flex-direction: column; text-align: center; }
  }
