/* ─── LE HERO (18/11) ─── un film de produit en arrière-plan, joué une fois, comme sur les pages
   produit Apple : le contour du bracelet apparaît dans le noir, la lumière le révèle, deux gros
   plans, puis le bracelet entier. Les phrases entrent sur les côtés au fil du film, le titre et
   l'appel à l'action restent à la fin. Sans lecture automatique ou en mouvement réduit : la
   dernière image, le titre et l'appel à l'action, tout de suite. */
.hv{position:relative;height:100vh;height:100svh;min-height:560px;overflow:hidden;background:#000;color:var(--on);isolation:isolate}
.hv-v,.hv-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hv-poster{opacity:0;transition:opacity .8s var(--e)}
.hv.is-still .hv-poster{opacity:1}
.hv-veil{position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(90deg,rgba(0,0,0,.55),rgba(0,0,0,0) 34%,rgba(0,0,0,0) 66%,rgba(0,0,0,.55)),
             linear-gradient(180deg,rgba(0,0,0,.45),rgba(0,0,0,0) 20%,rgba(0,0,0,0) 62%,rgba(0,0,0,.8))}

.hv-l{position:absolute;z-index:2;max-width:min(28rem,32vw);opacity:0;transform:translate3d(0,22px,0);
  transition:opacity .9s var(--e),transform 1.1s var(--e);pointer-events:none}
.hv-l.is-on{opacity:1;transform:none}
.hv-l--l{left:max(48px,6vw);top:50%;margin-top:-3.5rem}
.hv-l--r{right:max(48px,6vw);top:50%;margin-top:-3.5rem;text-align:right}
.hv-n{display:inline-flex;align-items:center;gap:10px;margin:0 0 14px;font:500 12.5px/1 var(--f-m);letter-spacing:.06em;color:var(--on-3)}
.hv-n::before{content:"";width:28px;height:1px;background:currentColor;opacity:.6}
.hv-l--r .hv-n{flex-direction:row-reverse}
.hv-h{margin:0;font:400 clamp(1.9rem,1.1rem + 2.2vw,3.4rem)/1.04 var(--f-d);letter-spacing:-.025em;text-wrap:balance;color:#FBF8F2}
.hv-s{margin:14px 0 0;font:400 clamp(1rem,.94rem + .25vw,1.15rem)/1.5 var(--f-u);color:var(--on-2);text-wrap:pretty}

/* la fin : le titre et l'action, posés sous le bracelet */
.hv-end{position:absolute;z-index:2;left:0;right:0;bottom:clamp(36px,8vh,88px);text-align:center;padding:0 var(--gr) 0 var(--gl)}
.hv-end > *{opacity:0;transform:translate3d(0,24px,0);transition:opacity 1s var(--e),transform 1.2s var(--e)}
.hv.is-end .hv-end > *{opacity:1;transform:none}
.hv.is-end .hv-end > :nth-child(2){transition-delay:.12s}
.hv.is-end .hv-end > :nth-child(3){transition-delay:.26s}
.hv.is-end .hv-end > :nth-child(4){transition-delay:.4s}
.hv-k{margin:0 0 16px;font:600 12.5px/1 var(--f-u);letter-spacing:.24em;text-transform:uppercase;color:var(--amber-hi)}
.hv-k i{display:inline-block;width:6px;height:6px;margin-left:8px;border-radius:50%;background:var(--amber);vertical-align:2px}
.hv-t{margin:0 auto;max-width:16ch;font:400 clamp(2.4rem,1.2rem + 4vw,5.6rem)/1 var(--f-d);letter-spacing:-.03em;text-wrap:balance;color:#FBF8F2}
.hv-t em{font-style:italic;color:var(--amber-hi)}
.hv-p{margin:18px auto 0;max-width:36rem;font:400 clamp(1rem,.95rem + .25vw,1.18rem)/1.5 var(--f-u);color:var(--on-2)}
.hv-act{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:14px 26px;margin-top:28px}

.hv-ctl{position:absolute;z-index:3;right:max(24px,var(--gr));bottom:22px;display:flex;align-items:center;gap:14px}
.hv-ia{margin:0;font:500 11px/1.3 var(--f-u);color:rgba(248,247,243,.56)}
.hv-replay{opacity:0;pointer-events:none;transition:opacity .6s var(--e)}
.hv.is-end .hv-replay{opacity:1;pointer-events:auto}

@media (max-width:899px){
  .hv-l--l,.hv-l--r{left:var(--gl);right:var(--gr);max-width:none;text-align:left;top:auto;bottom:13vh;margin-top:0}
  .hv-l--r .hv-n{flex-direction:row}
  .hv-veil{background:linear-gradient(180deg,rgba(0,0,0,.5),rgba(0,0,0,0) 22%,rgba(0,0,0,0) 46%,rgba(0,0,0,.9) 84%)}
  .hv-ctl{right:var(--gr);bottom:12px}
  .hv-end{bottom:56px}
}
@media (prefers-reduced-motion:reduce){
  .hv-l,.hv-end > *{transition:none}
}

/* finition : Lenis gère le défilement doux (le smooth natif ferait doublon) */
html.has-lenis{scroll-behavior:auto}
html.has-lenis.lenis-stopped{overflow:hidden}
.ln{padding-bottom:.06em}

/* à la fin, le bracelet recule et remonte pour laisser la place au titre, comme un dernier plan */
.hv-v,.hv-poster{transform-origin:50% 30%;transition:transform 1.8s cubic-bezier(.22,1,.36,1),opacity .8s var(--e)}
.hv.is-end .hv-v,.hv.is-end .hv-poster{transform:scale(.72) translate3d(0,-12%,0)}
.hv.is-end .hv-veil{background:linear-gradient(180deg,rgba(0,0,0,.35),rgba(0,0,0,0) 22%,rgba(0,0,0,0) 48%,rgba(0,0,0,.92) 80%)}
.hv-veil{transition:background .8s var(--e)}
@media (max-width:899px){
  .hv.is-end .hv-v,.hv.is-end .hv-poster{transform:scale(.9) translate3d(0,-16%,0)}
}

/* 18/11 (2) : plus de boutons ni de surtitre orange dans le hero. Deux liens texte à la manière
   d'Apple (« En savoir plus › »), blancs, soulignés au survol ; le film ne se rejoue pas. */
.hv-k,.hv-replay{display:none}
.hv-act{gap:12px 36px;margin-top:26px}
.hv-a{display:inline-flex;align-items:center;gap:7px;color:#f5f5f7;text-decoration:none;
  font:400 clamp(1.05rem,1rem + .2vw,1.2rem)/1.3 var(--f-sys-t);letter-spacing:-.012em;opacity:.92;transition:opacity .2s ease}
.hv-a:hover{opacity:1}
.hv-a:hover span{text-decoration:underline;text-underline-offset:.18em;text-decoration-thickness:1px}
.hv-a:focus-visible{outline:2px solid #f5f5f7;outline-offset:6px;border-radius:4px}
.hv-chev{width:7px;height:12px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transform:translateY(1px)}
.hv.is-end .hv-end > :nth-child(2){transition-delay:.14s}
.hv.is-end .hv-end > :nth-child(3){transition-delay:.28s}
@media (max-width:899px){.hv-act{flex-direction:column;gap:14px}}

/* 18/11 (3) : la phrase sous le titre retirée ; deux vrais boutons-pilules comme sur apple.com :
   l'un plein (blanc, comme celui de la barre), l'autre au contour fin. */
.hv-p{display:none}
.hv-act{gap:14px;margin-top:30px}
.hv-b{display:inline-flex;align-items:center;justify-content:center;min-width:9rem;height:44px;padding:0 22px;border-radius:980px;
  font:400 17px/1 var(--f-sys-t);letter-spacing:-.022em;text-decoration:none;white-space:nowrap;
  transition:background .2s ease,color .2s ease,border-color .2s ease}
.hv-b--1{background:#f5f5f7;color:#1d1d1f;border:1px solid #f5f5f7}
.hv-b--1:hover{background:#fff;border-color:#fff}
.hv-b--2{background:transparent;color:#f5f5f7;border:1px solid rgba(245,245,247,.85)}
.hv-b--2:hover{background:#f5f5f7;color:#1d1d1f}
.hv-b:focus-visible{outline:2px solid #f5f5f7;outline-offset:3px}
@media (max-width:899px){.hv-act{flex-direction:row;flex-wrap:wrap;gap:12px}.hv-b{height:42px;padding:0 18px;font-size:16px;min-width:0}}

/* 18/11 (4) : le bracelet ne colle plus à la barre. Pendant le film, l'image est un peu reculée
   et descendue ; à la fin, elle recule encore et se place au-dessus du titre. */
.hv-v,.hv-poster{transform-origin:50% 50%;transform:none}
.hv.is-end .hv-v,.hv.is-end .hv-poster{transform:scale(.64) translate3d(0,-5%,0)}
@media (max-width:899px){
  .hv-v,.hv-poster{transform:none}
  .hv.is-end .hv-v,.hv.is-end .hv-poster{transform:scale(.84) translate3d(0,-10%,0)}
}
@media (max-width:899px){
  .hv.is-end .hv-v,.hv.is-end .hv-poster{transform:scale(.7) translate3d(0,-2%,0)}
}

/* (19/11) le haut du titre en or, la suite en blanc ; l'action principale en or, la seconde contournée d'or */
.hv .hv-t em{color:#E0A35F!important}
.hv-b--1{background:#E0A35F;color:#1d1d1f;border-color:#E0A35F}
.hv-b--1:hover{background:#EAB677;border-color:#EAB677}
.hv-b--2{color:#E0A35F;border-color:#E0A35F}
.hv-b--2:hover{background:rgba(224,163,95,.14);color:#EAB677;border-color:#EAB677}
.hv-b:focus-visible{outline-color:#E0A35F}
