/* Décor continu : les outils flottent sur l'image, la sculpture reste dans la pièce. */
:root:is([data-theme="ocean"],[data-theme="noir"]) .theme-lab{background:color-mix(in srgb,var(--surface) 22%,transparent);backdrop-filter:blur(8px);box-shadow:0 12px 40px #0002}
.quick-nav{position:fixed;z-index:35;right:16px;top:50%;transform:translateY(-50%);color:var(--ink);font-size:.7rem;border:1px solid var(--line);border-radius:14px;background:color-mix(in srgb,var(--surface) 78%,transparent);backdrop-filter:blur(16px);box-shadow:0 8px 32px #0002;max-height:80dvh;overflow:auto}
.quick-nav summary{list-style:none;cursor:pointer;padding:12px;display:flex;align-items:center;gap:8px;min-height:44px}
.quick-nav summary::-webkit-details-marker{display:none}
.quick-nav nav{display:grid;padding:0 10px 10px;min-width:150px}
.quick-nav nav a{padding:8px 10px;min-height:44px;display:flex;align-items:center;border-radius:8px}
.quick-nav nav a:hover,.quick-nav nav a:focus-visible{background:var(--accent-soft)}
body:has(.theme-lab[data-dock="right"]) .quick-nav{left:16px;right:auto}
body:has(.theme-lab[data-dock="left"]) .quick-nav{right:16px;left:auto}
:root[data-theme="studio"] .hero{display:flex;align-items:stretch;min-height:calc(100svh - 140px);padding-right:0}
:root[data-theme="studio"] .hero-art{background-image:url('../assets/images/hero-studio-sculpture.png');background-size:cover;background-position:calc(50% + var(--scene-x,0px)) calc(50% + var(--scene-y,0px));background-repeat:no-repeat}
:root[data-theme="studio"] .hero-shade{background:linear-gradient(90deg,#f7f9fc66,transparent 44%)}
:root[data-theme="studio"] .hero-content{display:block;position:static;width:40%;max-width:40%;padding:clamp(8rem,18svh,11rem) 1rem 2rem var(--page-pad)}
:root[data-theme="studio"] .hero h1{font-size:clamp(2.5rem,3.5vw,4.5rem);line-height:1.06;max-width:16ch}
:root[data-theme="studio"] .hero-description{font-size:clamp(.9rem,1.3vw,1.3rem)}
:root[data-theme="studio"] .hero-content>.eyebrow{font-size:.58rem;margin-bottom:1.5rem}
:root[data-theme="studio"] .hero-cta{margin-top:1.7rem}
:root[data-theme="studio"] .studio-hero-preview{position:absolute;inset:27% 2% auto auto;width:27%;margin:0;transform:perspective(1300px) rotateY(-7deg);background:#ffffffa6;backdrop-filter:blur(8px)}
:root[data-theme="studio"] .mini-dashboard{grid-template-columns:1fr;min-height:0;background:transparent}
:root[data-theme="studio"] .mini-sidebar{display:none}
:root[data-theme="studio"] .mini-main{padding:1.4rem;background:transparent}
:root[data-theme="studio"] .mini-main h2{font-size:clamp(1.4rem,2.1vw,2.2rem)}
:root[data-theme="studio"] .hero-footer{margin-inline:var(--page-pad)}
/* Zone de prise invisible sur la sculpture : aucun détourage ni miniature ajoutée. */
:root[data-theme="studio"] .studio-playground{position:absolute;left:40%;top:26%;width:29%;height:60%;z-index:2}
:root[data-theme="studio"] .studio-emblem{background:none;mask-image:none;filter:none;border-radius:32%;width:70%;height:75%}
:root[data-theme="studio"] .studio-drag-help{display:none}
:root[data-theme="studio"][data-emblem-glow="true"] .hero-art{transition:filter .25s}
:root[data-theme="studio"][data-emblem-glow="true"] .hero:has(.studio-emblem:is(:hover,:focus-visible)) .hero-art{filter:brightness(1.045) saturate(1.12)}
:root[data-theme="studio"][data-accent="red"] .hero-art{filter:hue-rotate(135deg)}
:root[data-theme="studio"][data-accent="green"] .hero-art{filter:hue-rotate(270deg)}
:root[data-theme="studio"][data-accent="red"] .hero:has(.studio-emblem:is(:hover,:focus-visible)) .hero-art{filter:hue-rotate(135deg) brightness(1.045)}
:root[data-theme="studio"][data-accent="green"] .hero:has(.studio-emblem:is(:hover,:focus-visible)) .hero-art{filter:hue-rotate(270deg) brightness(1.045)}
@media(min-width:1100px){
 :root[data-theme="ocean"] .hero-content{padding-left:230px;max-width:900px}
 :root[data-theme="noir"] .hero-content{max-width:calc(100% - 210px)}
 :root[data-theme="ocean"] .hero-footer{margin-left:230px}
 :root[data-theme="noir"] .hero-footer{margin-right:230px}
}
@media(max-width:1099px){
 :root[data-theme="studio"] .hero-content{width:65%;max-width:65%;padding-top:7rem;padding-bottom:2rem}
 :root[data-theme="studio"] .hero h1{font-size:clamp(2rem,4.5vw,3rem)}
 :root[data-theme="studio"] .hero-art{background-size:auto 85%;background-position:calc(35% + var(--scene-x,0px)) calc(100% + var(--scene-y,0px))}
 :root[data-theme="studio"] .hero-shade{background:linear-gradient(90deg,#f7f9fcbb,transparent 65%)}
 :root[data-theme="studio"] .studio-playground{left:62%;top:40%;width:35%;height:50%}
 :root[data-theme="studio"] .hero{min-height:calc(100svh - 155px)}
 .quick-nav{top:auto;bottom:90px;transform:none}
}
@media(max-width:600px){
 :root[data-theme="studio"] .hero{min-height:calc(100svh - 175px)}
 :root[data-theme="studio"] .hero-content{width:100%;max-width:100%;padding:6rem var(--page-pad) 0;flex:0}
 :root[data-theme="studio"] .hero-content>.eyebrow{margin-bottom:.7rem;font-size:.46rem}
 :root[data-theme="studio"] .hero h1{font-size:clamp(1.8rem,7.7vw,2.6rem);max-width:19ch}
 :root[data-theme="studio"] .hero-description{font-size:.8rem;margin-top:.65rem;max-width:65%}
 :root[data-theme="studio"] .hero-cta{font-size:.6rem;max-width:57%;margin-top:1.2rem;padding:10px;gap:8px;min-height:48px}
 :root[data-theme="studio"] .hero-art{background-size:auto 65%;background-position:calc(48% + var(--scene-x,0px)) calc(100% + var(--scene-y,0px))}
 :root[data-theme="studio"] .hero-shade{background:linear-gradient(180deg,#f7f9fc 25%,#f7f9fc00 65%)}
 :root[data-theme="studio"] .hero-footer{margin-top:auto}
 :root[data-theme="studio"] .studio-playground{left:53%;top:52%;width:45%;height:35%}
 .quick-nav{right:10px;bottom:85px;font-size:.65rem}
 body:has(.theme-lab[data-dock="right"]) .quick-nav{left:10px}
}
@media(prefers-reduced-motion:reduce){:root[data-theme="studio"] .hero-art{transition:none}}
@media(max-width:1099px){body .quick-nav,body:has(.theme-lab[data-dock]) .quick-nav,:root[data-theme] body:has(.theme-lab[data-dock="original"]) .quick-nav{left:12px;right:auto;bottom:16px}}
@media(min-width:1100px) and (max-width:1250px){:root[data-theme="studio"] .hero{min-height:calc(100svh - 170px)}}
@media(min-width:601px) and (max-width:1099px){:root[data-theme="studio"] .hero{min-height:calc(100svh - 175px)}}
@media(min-width:1100px){:root:is([data-theme="ocean"],[data-theme="noir"]) .hero-footer{padding-right:140px}}
@media(max-width:600px) and (max-height:700px){
 :root[data-theme="studio"] .hero{min-height:320px}
 :root[data-theme="studio"] .hero-content{padding-top:5.6rem;padding-bottom:.5rem}
 :root[data-theme="studio"] .hero h1{font-size:1.5rem}
 :root[data-theme="studio"] .hero-description{font-size:.68rem;max-width:55%}
 :root[data-theme="studio"] .hero-cta{margin-top:.8rem;max-width:55%;font-size:.55rem;min-height:44px;padding:7px}
 :root[data-theme="studio"] .hero-art{background-size:auto 54%;background-position:calc(50% + 75px + var(--scene-x,0px)) calc(100% - 40px + var(--scene-y,0px))}
 :root[data-theme="studio"] .studio-playground{left:60%;top:47%;width:37%;height:40%}
 :root[data-theme="studio"] .theme-lab[data-dock="original"]{padding:6px;gap:3px}
 :root[data-theme="studio"] .theme-lab[data-dock="original"] .accent-options{padding:0}
}
/* Studio : sculpture indépendante, translation horizontale sur le sol, décor blanc fixe. */
:root[data-theme="studio"] .hero{--studio-sculpture-width:clamp(300px,38vw,600px)}
:root[data-theme="studio"] .hero-art{background-image:url('../assets/images/studio-decor-fixed.webp');background-position:center center;background-size:cover;filter:none!important;transform:none!important}
:root[data-theme="studio"] .hero-content{position:relative;z-index:3;pointer-events:none}
:root[data-theme="studio"] .hero-content a,:root[data-theme="studio"] .hero-content button{pointer-events:auto}
:root[data-theme="studio"] .hero-shade{z-index:2;pointer-events:none;background:linear-gradient(90deg,#f7f9fcbb,transparent 55%)}
:root[data-theme="studio"] .studio-playground{position:absolute;left:0;top:0;bottom:auto;width:calc(100% - var(--studio-sculpture-width));height:calc(100% - var(--studio-sculpture-width) * 1.256);z-index:1;pointer-events:none;isolation:isolate}
:root[data-theme="studio"] .studio-emblem{position:absolute;top:0;left:50%;width:var(--studio-sculpture-width);height:calc(var(--studio-sculpture-width) * 1.256);border:0;border-radius:0;background:url('../assets/images/studio-sculpture-blue.webp') center/contain no-repeat;mask-image:none;filter:none!important;box-shadow:none;pointer-events:auto;touch-action:pan-y;overflow:visible;transition:none;transform:none!important}
:root[data-theme="studio"][data-accent="red"] .studio-emblem{background-image:url('../assets/images/studio-sculpture-red.webp')}
:root[data-theme="studio"][data-accent="green"] .studio-emblem{background-image:url('../assets/images/studio-sculpture-green.webp')}
:root[data-theme="studio"] .studio-emblem::before{content:'';position:absolute;inset:auto 6% 20%;height:5%;border-radius:50%;background:radial-gradient(ellipse,#24324750,transparent 65%);filter:blur(8px);z-index:-1;pointer-events:none}
:root[data-theme="studio"] .studio-emblem::after{content:'';position:absolute;inset:auto 12% 17%;height:8%;border-radius:50%;background:radial-gradient(ellipse,color-mix(in srgb,var(--accent) 32%,transparent),transparent 65%);filter:blur(6px);opacity:.6;pointer-events:none}
:root[data-theme="studio"][data-emblem-glow="true"] .studio-emblem:is(:hover,:focus-visible)::after{opacity:1}
:root[data-theme="studio"] .studio-emblem:focus-visible{outline:2px solid var(--accent);outline-offset:5px}
html[data-cursor] #studio-emblem{cursor:url('../assets/cursors/studio-slide.svg') 20 20,ew-resize}
html[data-cursor] #studio-emblem[data-dragging="true"]{cursor:url('../assets/cursors/studio-slide-active.svg') 20 20,ew-resize}
[data-move-x][hidden]{display:none!important}
@media(max-width:1099px){:root[data-theme="studio"] .hero{--studio-sculpture-width:clamp(270px,42vw,460px)}:root[data-theme="studio"] .studio-playground{bottom:auto}}
@media(max-width:600px){:root[data-theme="studio"] .hero{--studio-sculpture-width:clamp(190px,58vw,255px)}:root[data-theme="studio"] .studio-playground{bottom:auto}:root[data-theme="studio"] .hero-shade{background:linear-gradient(180deg,#f7f9fcee 25%,#f7f9fc55 56%,transparent 75%)}}
@media(max-width:600px) and (max-height:700px){:root[data-theme="studio"] .hero{--studio-sculpture-width:170px}:root[data-theme="studio"] .studio-playground{bottom:auto}}
/* Rouge direct : teinte de la sculpture, jamais filtre rose sur le décor. */
:root[data-theme="studio"][data-accent="red"]{--accent:#df0a12;--accent-soft:#fff9f8}
:root[data-theme="studio"] .hero{--studio-sculpture-width:clamp(280px,32vw,500px)}
:root[data-theme="studio"] .hero-shade{z-index:0}
@media(max-width:1099px){:root[data-theme="studio"] .hero{--studio-sculpture-width:clamp(250px,38vw,390px)}}
@media(max-width:600px){:root[data-theme="studio"] .hero{--studio-sculpture-width:clamp(190px,58vw,255px)}}
@media(max-width:600px) and (max-height:700px){:root[data-theme="studio"] .hero{--studio-sculpture-width:170px}}

/* Projection sol indépendante : le décor et le plan de contact restent fixes en Y. */
:root[data-theme="studio"] .studio-emblem::before,:root[data-theme="studio"] .studio-emblem::after{display:none}
:root[data-theme="studio"] .studio-ground-projection{position:absolute;left:50%;top:calc(100% + var(--studio-sculpture-width) * .88);width:var(--studio-sculpture-width);height:calc(var(--studio-sculpture-width) * .376);pointer-events:none;z-index:0;mix-blend-mode:normal}
:root[data-theme="studio"] .studio-ground-projection::after{content:"";position:absolute;inset:0;background:url('../assets/images/studio-reflection-blue.webp?v=20261010-sol-original') center/100% 100% no-repeat;opacity:1;filter:none;mask-image:none}
:root[data-theme="studio"][data-accent="red"] .studio-ground-projection::after{background-image:url('../assets/images/studio-reflection-red.webp?v=20261010-sol-original')}
:root[data-theme="studio"][data-accent="green"] .studio-ground-projection::after{background-image:url('../assets/images/studio-reflection-green.webp?v=20261010-sol-original')}
/* Ombre de contact récupérée dans la photographie : aucune ellipse artificielle superposée. */
:root[data-theme="studio"] .studio-ground-projection::before{display:none}
@media(max-width:600px){:root[data-theme="studio"] .hero-footer{z-index:3}:root[data-theme="studio"] .hero-footer>span{background:var(--bg)}}
