/* ============================================================
   Vitrine — la gamme sur son estrade (page Produits et accueil)
   ============================================================ */
.vitrine-wrap { padding: 0 0 clamp(36px, 5vw, 64px) }
.vitrine { --vx: 0; --vy: 0; position: relative }
.vit-track { position: relative; border-radius: var(--radius-lg); overflow: hidden;
             background: #d8cdbd; perspective: 1500px;
             box-shadow: 0 30px 60px -30px rgba(60,40,20,.45) }
.vit-scene { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden;
             transition: opacity .8s ease, visibility 0s .8s }
.vit-scene.is-on { opacity: 1; visibility: visible; transition: opacity .8s ease }
.vit-tilt { position: absolute; inset: -2.5%; transform-style: preserve-3d;
            transform: rotateY(calc(var(--vx) * 4deg)) rotateX(calc(var(--vy) * -3deg))
                       translate3d(calc(var(--vx) * -1%), calc(var(--vy) * -1%), 0) }
.vit-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block }
.vit-dim { position: absolute; inset: 0; background: rgba(20,14,8,.35); opacity: 0;
           transition: opacity .35s ease; pointer-events: none }
.vit-tilt:has(.vb:hover) .vit-dim, .vit-tilt:has(.vb:focus-visible) .vit-dim { opacity: 1 }

/* la boîte seule, détourée : rien d'autre ne bouge avec elle */
.vb { position: absolute; display: block; z-index: 1; outline: none;
      transform-origin: 50% 100%; transform: translateZ(1px);
      transition: transform .5s cubic-bezier(.2,.9,.25,1.2) }
.vb-z1 { z-index: 2 }
.vb img { display: block; width: 100%; height: 100%; object-fit: fill;
          transition: filter .4s ease }
.vit-tilt:has(.vb:hover) .vb:not(:hover) img,
.vit-tilt:has(.vb:focus-visible) .vb:not(:focus-visible) img { filter: brightness(.62) saturate(.85) }
.vb:hover, .vb:focus-visible {
  z-index: 5;
  transform: translateZ(60px) translateY(-9%) scale(1.08)
             rotateY(calc(var(--vx) * 16deg)) rotateX(calc(var(--vy) * -10deg));
}
.vb:hover img, .vb:focus-visible img {
  filter: drop-shadow(0 26px 22px rgba(30,18,6,.45)) drop-shadow(0 6px 6px rgba(30,18,6,.3)) brightness(1.05);
}

.vb-tag { position: absolute; left: 50%; bottom: calc(100% + 12px); translate: -50% 6px;
          display: grid; gap: 2px; text-align: center; white-space: nowrap;
          background: #fff; color: var(--teal-ink); border-radius: 12px; padding: 8px 14px;
          box-shadow: 0 10px 24px rgba(30,18,6,.25); opacity: 0; pointer-events: none;
          transition: opacity .25s, translate .3s }
.vb-tag b { font-size: 14px; font-weight: 700 }
.vb-tag i { font-style: normal; font-size: 12px; color: var(--teal) }
.vb:hover .vb-tag, .vb:focus-visible .vb-tag { opacity: 1; translate: -50% 0 }
.vb.is-top .vb-tag { bottom: auto; top: calc(100% + 12px); translate: -50% -6px }
.vb.is-top:hover .vb-tag, .vb.is-top:focus-visible .vb-tag { translate: -50% 0 }

.vb-dot { display: none }
@media (hover: none) {
  .vb-dot { display: block; position: absolute; left: 50%; top: 45%; width: 12px; height: 12px;
            translate: -50% -50%; border-radius: 50%; background: #fff;
            box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: vb-pulse 2s infinite }
}
@keyframes vb-pulse { 70% { box-shadow: 0 0 0 11px rgba(255,255,255,0) } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0) } }

.vit-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px }
.vit-hint { font-size: 13px; color: var(--text-soft) }
.vit-nav { display: flex; align-items: center; gap: 8px; margin-inline-start: auto }
.vit-arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
             background: var(--bg-2); color: var(--teal-deep); font-size: 16px; cursor: pointer }
.vit-arrow:hover { border-color: var(--teal) }
[dir="rtl"] .vit-arrow { transform: scaleX(-1) }
.vit-pip { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 9px; cursor: pointer;
           background: var(--line-strong); transition: width .3s, background .3s }
.vit-pip[aria-pressed="true"] { width: 26px; background: var(--teal) }

/* ---------- accueil : l'estrade en tête de page ---------- */
.vhero { padding: clamp(14px, 2vw, 24px) 0 0 }
.vhero .vit-track { border-radius: var(--radius-lg) }
.vit-copy { position: absolute; z-index: 6; left: clamp(26px, 4.5vw, 64px); top: 50%;
            translate: 0 -50%; max-width: min(36%, 480px); pointer-events: none }
.vit-copy > * { pointer-events: auto }
.vit-copy .badge { background: rgba(255,255,255,.75); color: var(--teal-deep) }
.vit-copy h1 { margin: 16px 0 14px; color: var(--teal-ink); text-wrap: balance; font-size: clamp(32px, 3.9vw, 56px) }
.vit-copy .lede { color: #3d3328; max-width: 40ch }
.vit-copy .btn { margin-top: 22px }

@media (max-width: 860px) {
  .vit-copy { position: static; translate: none; max-width: none; padding: 22px 4px 0 }
  .vhero .vit-track { border-radius: var(--radius) }
  .vhero .vit-img, .vhero .vit-tilt { }
}
@media (max-width: 700px) { .vit-track { border-radius: var(--radius) } .vit-hint { display: none } }
@media (prefers-reduced-motion: reduce) { .vit-tilt { transform: none } .vb { transition: none } }
