/* WearMA hero : anneau 3D + glow buttons, adapte du concept "Vertex" aux couleurs WearMA.
   Tout est scope sous .wh pour ne rien casser dans le reste du site. */
.wh{position:relative;overflow:hidden;background:#0d0c0b;color:#F3EFE7;isolation:isolate;
  height:calc(640px * var(--k,1));min-height:420px}
.wh *{box-sizing:border-box}
.wh a{text-decoration:none;color:inherit}
.wh-bg{position:absolute;inset:0;z-index:0;
  background:
   radial-gradient(70% 55% at 50% 100%, rgba(227,215,195,.10), rgba(227,215,195,0) 70%),
   linear-gradient(180deg, rgba(227,215,195,0) 35%, rgba(227,215,195,.035) 60%, rgba(140,107,63,.06) 100%),
   #0d0c0b}
.wh-stars{position:absolute;left:0;top:0;width:1px;height:1px;border-radius:50%;background:#fff;z-index:0}

/* Canvas de design 1172 x 640, mis a l'echelle par UN seul transform (k calcule en JS) */
.wh-canvas{position:absolute;left:50%;top:0;width:1172px;height:640px;z-index:1;
  transform:translateX(-50%) scale(var(--k,1));transform-origin:50% 0}

/* ---------- Texte ---------- */
.wh-copy{position:absolute;left:0;right:0;top:36px;z-index:300;display:flex;flex-direction:column;align-items:center;text-align:center}

/* Badge : boite fixe, tuile a gauche, libelle aligne a gauche (jamais centre) */
.wh-badge{position:relative;width:262px;height:39px;border-radius:12px;flex:0 0 auto;
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(to top,
    rgba(240,220,190,.17) 0px, rgba(240,220,190,.12) 2px, rgba(240,220,190,.07) 4px,
    rgba(240,220,190,.025) 6px, rgba(255,255,255,.012) 9px, rgba(255,255,255,.012) 100%);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}
.wh-badge i{position:absolute;left:4px;top:4px;width:29px;height:29px;border-radius:8px;display:grid;place-items:center;
  background:linear-gradient(to top,#f1dfc0 0px,#e2c79c 2px,#c8a46e 4px,#a8834d 6px,#86663b 8px,#6a502e 10px,
    #4f3c23 12px,#3a2c1b 14px,#2a2016 16px,#211a13 19px,#1a1511 23px,#151210 29px);
  box-shadow:inset 1px 0 0 rgba(240,220,190,.40),inset -1px 0 0 rgba(240,220,190,.50),
    0 0 6px rgba(227,200,160,.18),0 3px 8px -5px rgba(240,215,175,.6)}
.wh-badge i svg{width:15px;height:15px;position:relative;top:-1px}
.wh-badge b{position:absolute;left:45px;top:0;height:37px;display:flex;align-items:center;
  font-family:'DM Sans',sans-serif;font-size:13px;font-weight:500;color:rgba(255,255,255,.94);white-space:nowrap;padding-top:1px}

.wh-h1{margin:26px 0 0;font-family:'Archivo',sans-serif;font-weight:800;font-size:50px;line-height:1.04;
  letter-spacing:-.012em;text-transform:uppercase;color:#F3EFE7;text-shadow:0 0 34px rgba(227,200,160,.16)}
.wh-h1 span{display:block;white-space:nowrap}
.wh-sub{margin:20px 0 0;max-width:610px;font-family:'DM Sans',sans-serif;font-size:16px;line-height:1.6;color:#bdb5a8}
.wh-ctas{display:flex;gap:12px;margin-top:28px}

/* ---------- Glow button : banque de lumiere au pied, coupee par le propre arrondi du bouton ---------- */
.wh-btn{display:grid;place-items:center;height:52px;padding:0 26px;border-radius:13px;color:#fff;position:relative;overflow:hidden;
  font-family:'DM Sans',sans-serif;font-size:15px;font-weight:500;letter-spacing:.01em;white-space:nowrap;
  background:linear-gradient(to top,
    #f6ead6 1px,#f1e1c6 2px,#ead5b2 3px,#e0c597 4px,#d2b07a 5px,#b8925a 6px,#a8834d 7px,#987443 8px,
    #85653a 9px,#6f5430 10px,#5a4528 12px,#4e3d25 13px,#45361f 14px,#372b1b 16px,#2b2218 18px,
    #241d16 20px,#1d1814 24px,#181512 30px,#171411 34px,#171411 100%);
  box-shadow:inset 0 3px 3px -2px rgba(255,240,215,.10),inset 1px 0 0 rgba(255,255,255,.09),inset -1px 0 0 rgba(255,255,255,.09),
    1px 0 0 rgba(227,205,170,.17),-1px 0 0 rgba(227,205,170,.17),0 0 8px rgba(227,200,160,.10),0 2px 5px -3px rgba(240,215,175,.45);
  transition:transform .25s,box-shadow .25s,filter .25s}
.wh-btn::before{content:"";position:absolute;left:22%;right:38%;top:.8px;height:1.9px;z-index:1;filter:blur(.55px);
  background:linear-gradient(90deg,rgba(240,220,190,0) 0%,rgba(240,220,190,.55) 34%,rgba(255,240,220,.72) 50%,rgba(240,220,190,.55) 66%,rgba(240,220,190,0) 100%)}
.wh-btn::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:1;
  background:linear-gradient(90deg,rgba(255,240,215,.62),rgba(255,240,215,0) 13px),linear-gradient(270deg,rgba(255,240,215,.62),rgba(255,240,215,0) 13px);
  -webkit-mask:linear-gradient(to top,#000 0,#000 6px,rgba(0,0,0,.40) 12px,rgba(0,0,0,.15) 18px,rgba(0,0,0,.09) 24px,rgba(0,0,0,.02) 30px,rgba(0,0,0,.02) 100%);
          mask:linear-gradient(to top,#000 0,#000 6px,rgba(0,0,0,.40) 12px,rgba(0,0,0,.15) 18px,rgba(0,0,0,.09) 24px,rgba(0,0,0,.02) 30px,rgba(0,0,0,.02) 100%)}
.wh-btn span{position:relative;z-index:2;display:block;line-height:1;margin-top:-2px;text-shadow:0 1px 2px rgba(20,12,4,.55)}
.wh-btn:hover{transform:translateY(-1px);filter:brightness(1.1)}
.wh-btn--ghost{background:rgba(255,255,255,.04);border:1px solid rgba(243,239,231,.26);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
.wh-btn--ghost::before,.wh-btn--ghost::after{display:none}
.wh-btn--ghost span{margin-top:0}
.wh-btn--ghost:hover{border-color:rgba(243,239,231,.6);background:rgba(255,255,255,.07)}
.wh-btn:focus-visible{outline:2px solid #E3D7C3;outline-offset:3px}

/* ---------- Anneau 3D ----------
   R = perspective = 891 : la camera est au centre du cylindre, chaque carte est tangente
   et fait face a la camera. 37 cartes, pas = 360/37, cull a 42 degres. */
.wh-showcase{position:absolute;left:0;top:0;width:1172px;height:640px;z-index:5;pointer-events:none}
.wh-ring{position:absolute;left:0;top:18px;width:1172px;height:657px;
  perspective:891px;perspective-origin:586px 918px;transform-style:preserve-3d}
.wh-card{position:absolute;left:586px;top:616px;width:130px;height:300px;margin:-150px 0 0 -65px;
  border-radius:12px;overflow:hidden;background:#1d1915;
  box-shadow:0 24px 46px rgba(0,0,0,.6),0 3px 8px rgba(0,0,0,.5);backface-visibility:hidden;will-change:transform;visibility:hidden}
.wh-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.wh-card .edge{position:absolute;inset:0;border-radius:12px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14),inset 0 16px 30px rgba(255,255,255,.05)}
.wh-card.broken img{display:none}
.wh-card .fill{position:absolute;inset:0}
.wh-card .cv{position:absolute;left:0;right:0;padding:0 11px}
.wh-card .cap{font-family:'DM Sans',sans-serif;font-size:6px;font-weight:600;letter-spacing:.22em;color:#fff}
.wh-card .big{font-family:'Archivo',sans-serif;font-weight:800;text-transform:uppercase;line-height:.95;letter-spacing:-.01em;color:#F3EFE7;white-space:nowrap}
.wh-card .tag{position:absolute;left:11px;top:12px;font-family:'DM Sans',sans-serif;font-size:5px;font-weight:600;letter-spacing:.2em;color:rgba(255,255,255,.9)}
.wh-fade{position:absolute;left:0;right:0;bottom:0;height:150px;z-index:250;pointer-events:none;
  background:linear-gradient(180deg,rgba(13,12,11,0),rgba(13,12,11,.85) 70%,#0d0c0b)}

/* ---------- Tablette : le texte reste lisible ---------- */
@media (max-width:1080px) and (min-width:701px){
  .wh-sub{font-size:17px}
}

/* ---------- Mobile : vraie colonne en flux ---------- */
@media (max-width:700px){
  .wh{height:auto;min-height:0}
  .wh-canvas{position:relative;left:auto;top:auto;width:100%;height:auto;transform:none}
  .wh-copy{position:relative;top:auto;padding:34px 20px 0}
  .wh-badge{width:auto;max-width:100%;height:36px;border-radius:18px}
  .wh-badge b{position:relative;left:auto;height:34px;padding:0 15px 0 42px;font-size:12.5px}
  .wh-badge i{width:28px;height:28px;top:3px;left:3px}
  .wh-h1{margin-top:18px;font-size:clamp(28px,8.2vw,36px);line-height:1.06}
  .wh-h1 span{white-space:normal}
  .wh-sub{margin-top:14px;font-size:15px;line-height:1.55;max-width:360px}
  .wh-ctas{flex-direction:column;width:100%;max-width:340px;margin-top:22px;gap:10px}
  .wh-btn{width:100%}
  .wh-showcase{position:relative;left:auto;top:auto;width:100%;height:300px;margin-top:6px;overflow:hidden}
  .wh-ring{left:50%;margin-left:-586px;top:-446px;transform:scale(1.02);transform-origin:586px 466px}
  .wh-fade{height:110px}
}

/* ---------- Entree (une seule fois) : proprietes individuelles translate/scale/clip-path,
   pas `transform`, deja utilise par la mise a l'echelle et l'anneau ---------- */
html.wh-intro .wh-badge{opacity:0;translate:0 10px}
html.wh-intro .wh-h1 span{clip-path:inset(100% 0 -30% 0);translate:0 14px}
html.wh-intro .wh-sub{opacity:0;translate:0 10px}
html.wh-intro .wh-ctas{opacity:0;translate:0 12px}
html.wh-intro .wh-ring{opacity:0;translate:0 18px}
@media (prefers-reduced-motion:reduce){
  html.wh-intro .wh-badge,html.wh-intro .wh-h1 span,html.wh-intro .wh-sub,html.wh-intro .wh-ctas,html.wh-intro .wh-ring{opacity:1;translate:none;clip-path:none}
  .wh-btn{transition:none}
}
