/* La photo et ses masques partagent un seul plan : la pose reste alignée. */
.tryon{overflow:clip;isolation:isolate}
.tryon-layout{gap:4vw;align-items:start;margin-top:76px}
.hand-stage{height:720px;top:94px;overflow:visible;isolation:isolate;perspective:1000px;perspective-origin:50% 40%;background:transparent;box-shadow:none}
.stage-orbit,.stage-word{display:none}
.hand-scene{position:absolute;inset:0 0 115px;perspective:1050px;perspective-origin:50% 30%;touch-action:pan-y;cursor:grab;isolation:isolate}
.hand-scene:active{cursor:grabbing}
.scene-frame{position:absolute;inset:27% 13% 6%;border:1px solid #eed8c33d;border-radius:220px 220px 28px 28px;background:radial-gradient(ellipse at 50% 70%,#a9435440,transparent 66%);pointer-events:none;z-index:-3}
.scene-frame:before{content:'';position:absolute;inset:14px;border:1px solid #eed8c311;border-radius:inherit}
.scene-legend{position:absolute;left:4%;top:42%;font-size:8px;letter-spacing:.22em;writing-mode:vertical-rl;transform:rotate(180deg);opacity:.5;pointer-events:none}
.scene-plinth{position:absolute;left:20%;bottom:3%;width:60%;height:18%;border-radius:50%;background:radial-gradient(ellipse,#300b1a88,transparent 68%);z-index:-1;transform:rotate(-6deg);pointer-events:none}
.scene-shadow{position:absolute;left:25%;bottom:8%;width:49%;height:15%;background:radial-gradient(ellipse,#30101ad9,transparent 70%);transform:translate3d(12px,-10px,0) rotate(-12deg);opacity:.7;pointer-events:none;z-index:0;will-change:transform}
.hand-entrance{position:absolute;inset:0;transform-style:preserve-3d;pointer-events:none}
.hand-anchor{position:absolute;width:340px;aspect-ratio:2/3;left:50%;bottom:13%;transform:translateX(-50%);perspective:850px;perspective-origin:50% 36%;pointer-events:none}
.hand-stage .hand-model{inset:0;bottom:auto;left:0;width:100%;height:100%;aspect-ratio:2/3;transform-origin:50% 92%;transform:rotateZ(-13deg) rotateY(-3deg) rotateX(-39deg) translateZ(24px);filter:drop-shadow(17px 28px 12px #29081566);will-change:transform;backface-visibility:hidden;pointer-events:none;mask-image:linear-gradient(#000 0%,#000 78%,transparent 100%);-webkit-mask-image:linear-gradient(#000 0%,#000 78%,transparent 100%)}
.hand-model>img,.hand-model>.nail-overlay{backface-visibility:hidden}
.hand-stage .stage-caption{left:5%;right:5%;bottom:72px;padding-top:17px;font-size:9px;gap:14px;align-items:center;border-top-color:#f1dac837}
.hand-stage .stage-caption>span:last-child{max-width:52%;line-height:1.5}
.hand-controls{position:absolute;left:5%;right:5%;bottom:17px;display:flex;align-items:center;justify-content:space-between;gap:15px}
.hand-views{display:flex;gap:3px;border:1px solid #ead4c44a;border-radius:40px;padding:4px;background:#420e1c24}
.hand-views button{font-size:10px;border-radius:30px;padding:9px 14px;min-height:35px;color:#f5e5d7;transition:background .2s ease,color .2s ease}
.hand-views button[aria-pressed=true]{background:#f3e4d4;color:var(--red)}
.hand-instruction{font-size:9px;opacity:.68;line-height:1.5;text-align:right;max-width:130px}
.hand-stage .tryon-note{bottom:-17px;left:5%;font-size:8px;opacity:.55}
.tryon-panel{position:relative;z-index:2;border-radius:3px;box-shadow:0 25px 60px #30071330;border:1px solid #fff6}
@media(hover:hover) and (pointer:fine){.hand-views button:hover{background:#f3e4d433}.hand-views button[aria-pressed=true]:hover{background:#f3e4d4}}
@media(min-width:1500px){.hand-stage{height:790px}.hand-anchor{width:385px}}
@media(min-width:761px) and (max-width:1100px){.hand-anchor{width:275px}.hand-stage{height:660px}.hand-instruction{display:none}.hand-controls{justify-content:center}}
@media(max-width:760px){
 .tryon{padding-top:65px;scroll-margin-top:74px}
 .tryon-heading h2{font-size:58px;line-height:1.1;margin-top:18px;padding-bottom:.12em}
 .tryon-layout{margin-top:48px;display:block}
 .hand-stage{height:440px;min-height:0;max-height:none;top:68px;margin:0;background:linear-gradient(180deg,#71172d 0%,#71172d 92%,#71172df0);z-index:7;box-shadow:0 10px 14px #3f0b1c1a;overflow:visible}
 .hand-scene{inset:0 0 103px;perspective:750px;perspective-origin:50% 38%}
 .scene-frame{inset:29% 15% 2%;border-radius:160px 160px 24px 24px}
 .scene-plinth{left:21%;width:58%;bottom:1%;height:18%}
 .scene-shadow{bottom:4%}
 .scene-legend{font-size:6px;left:8%;top:40%}
 .hand-anchor{width:250px;left:54%;bottom:6%;perspective:680px;perspective-origin:50% 30%}
 .hand-stage .hand-model{width:100%;bottom:auto;left:0;filter:drop-shadow(13px 19px 8px #29081566)}
 .hand-stage .stage-caption{left:22px;right:22px;bottom:65px;font-size:7px;padding-top:13px}
 .hand-controls{left:22px;right:22px;bottom:13px;gap:10px}
 .hand-views{padding:3px}.hand-views button{font-size:9px;padding:8px 11px;min-height:34px}
 .hand-instruction{font-size:8px;max-width:113px}
 .hand-stage .tryon-note{display:none}
 .tryon-panel{margin:0 14px;box-shadow:0 20px 40px #30071320}
}
@media(max-width:760px) and (max-height:740px){.hand-stage{height:355px}.hand-anchor{width:178px}.hand-scene{bottom:96px}.hand-stage .stage-caption{bottom:60px}.hand-controls{bottom:8px}}
@media(prefers-reduced-motion:reduce){.hand-scene{cursor:default}.hand-model,.scene-shadow{will-change:auto}}
.motion-off .hand-scene{cursor:default}
/* Angle photographique du hero : le poignet recule, les doigts arrivent au premier plan. */
.hand-anchor{width:650px;aspect-ratio:1080/550;left:55%;bottom:22%;perspective:1400px;perspective-origin:50% 50%}
.hand-stage .hand-model{aspect-ratio:1080/550;transform-origin:70% 50%;transform:rotateZ(-8deg) rotateY(-7deg) rotateX(6deg);mask-image:none;-webkit-mask-image:none;filter:drop-shadow(18px 30px 15px #23051366)}
.hand-model .nail-overlay{width:100%;height:100%;overflow:visible}
.hand-model .nail-base{mix-blend-mode:normal;opacity:1}
.hand-model .nail-volume{mix-blend-mode:multiply;opacity:.8}
.photo-shine{mix-blend-mode:screen;opacity:.65;pointer-events:none}
.satin .photo-shine{opacity:.15}.chrome .photo-shine{opacity:.42}
.shape-tip-line{fill:none;stroke:#fff9e14d;stroke-width:2}
.scene-frame{inset:20% 14% 8%;border-radius:220px 220px 30px 30px}
.scene-shadow{bottom:20%;left:13%;width:70%;height:19%;opacity:.8}
@media(min-width:1500px){.hand-anchor{width:740px}}
@media(min-width:761px) and (max-width:1100px){.hand-anchor{width:530px}}
@media(max-width:760px){.hand-anchor{width:min(440px,113vw);left:56%;bottom:22%;aspect-ratio:1080/550;perspective:1100px}.scene-frame{inset:17% 15% 6%;border-radius:160px 160px 24px 24px}.scene-shadow{bottom:21%;left:13%;width:70%}.scene-legend{top:55%}}
@media(max-width:760px) and (max-height:740px){.hand-anchor{width:min(390px,109vw);bottom:17%}}
.photo-sheen{fill:none;stroke:#fff5e8;stroke-width:5;stroke-linecap:round;opacity:.4;transition:opacity .2s}
.satin .photo-sheen{opacity:.06}.chrome .photo-sheen{opacity:.2}
/* Un éclairage de matière, avec les vrais reflets de la photographie. */
.hand-stage .hand-model{transform-origin:30% 73%;filter:drop-shadow(10px 26px 13px #25071370)}
.scene-frame{border:0;border-radius:50%;inset:19% 6% 10%;background:radial-gradient(ellipse at 50% 45%,#ad4f5c40,transparent 70%)}
.scene-frame:before{display:none}
.scene-light{position:absolute;inset:2% -8% 5%;background:radial-gradient(ellipse at 48% 45%,#f3b3a41a,transparent 65%);pointer-events:none;z-index:-2;opacity:.7;transition:opacity .24s ease}
.light-controls{position:absolute;left:5%;right:5%;top:14px;display:flex;align-items:center;gap:4px;z-index:9}
.light-controls>span{font-size:8px;letter-spacing:.14em;opacity:.65;margin-right:auto}
.light-controls>button{font-size:10px;padding:8px 12px;border:1px solid #efdaca3d;border-radius:25px;color:#f8e7d7;min-height:34px;transition:background .22s ease,color .22s ease}
.light-controls>button[aria-pressed=true]{background:#f4e9db;color:var(--red);border-color:#f4e9db}
.hand-controls{gap:8px}.hand-views button{padding:9px 12px}.hand-views button span{margin-left:3px}
.hand-stage .photo-shine{opacity:.64;transition:opacity .24s ease;transform-origin:0 0;mix-blend-mode:screen}
.hand-stage .satin .photo-shine{opacity:.13}.hand-stage .chrome .photo-shine{opacity:.35}
.hand-stage[data-light=studio] .photo-shine{opacity:.94}
.hand-stage[data-light=studio] .satin .photo-shine{opacity:.22}
.hand-stage[data-light=studio] .scene-light{opacity:1}
.hand-stage[data-light=studio] .nail-volume{opacity:1}
.hand-stage .nail-volume{opacity:.6;transition:opacity .24s ease}
.hand-stage .nail-base{transition:fill .26s ease}
.hand-stage[data-view=detail] .scene-legend{opacity:.25}
.is-painting .nail-base{animation:none}
@media(max-width:760px){
 .hand-stage{height:400px}.hand-scene{bottom:95px}.light-controls{top:9px;left:22px;right:22px}
 .light-controls>span{font-size:7px}.light-controls>button{font-size:9px;padding:7px 11px;min-height:31px}
 .hand-anchor{bottom:16%}.hand-controls{left:22px;right:22px;bottom:12px;justify-content:center}
 .hand-views{width:100%;justify-content:space-between;gap:4px}.hand-views button{flex:1;padding:8px 9px;font-size:10px}
 .hand-instruction{display:none}.hand-stage .stage-caption{bottom:63px}.scene-legend{font-size:6px;left:6%}
}
@media(max-width:760px) and (max-height:740px){.hand-stage{height:330px}.hand-anchor{bottom:11%;width:min(370px,104vw)}}
@media(prefers-reduced-motion:reduce){.hand-stage .nail-base,.hand-stage .photo-shine,.light-controls>button,.scene-light{transition:none}}
.motion-off .hand-stage .nail-base,.motion-off .hand-stage .photo-shine{transition:none}
