/* Extensions ciblées : Hero et Atelier des nuances uniquement. */
/* La scène utilise un masque vectoriel commun à toutes les teintes. */
.nuance-workshop{background:var(--soft);overflow:clip}
.nuance-workshop .section-heading{align-items:center}
.nuance-hint{font-size:10px;display:inline-block;margin-top:17px;color:var(--ink)}
.nuance-home{min-width:0}
.nuance-workbench{display:grid;grid-template-columns:minmax(0,2.7fr) minmax(255px,1fr);background:#fff;border:1px solid #dedfd680;min-width:0}
.nuance-visual{position:relative;min-width:0;overflow:hidden;align-self:stretch;background:#e8e5dc;isolation:isolate;min-height:580px;touch-action:pan-y pinch-zoom}
.nuance-picture{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;transform:translate3d(var(--nuance-x,0px),var(--nuance-y,0px),0) scale(1.012);transition:transform .5s ease-out;overflow:hidden}
.nuance-scene{display:block;min-width:100%;min-height:100%;width:auto;height:100%;aspect-ratio:1600/893;overflow:visible;flex-shrink:0}
.nuance-paint-area{mix-blend-mode:multiply;opacity:.94;transition:opacity .12s}
.paint-next{clip-path:inset(0 0 0 0)}
.nuance-visual.show-before .nuance-paint-area{opacity:0}
.ambient-warm{opacity:0;mix-blend-mode:soft-light;transition:opacity .65s}
.ambient-shade{opacity:0;transition:opacity .65s}
.nuance-visual[data-light=matin] .ambient-warm{opacity:.25}
.nuance-visual[data-light=matin] .ambient-shade{opacity:.025}
.nuance-visual[data-light=soir] .ambient-warm{opacity:.57}
.nuance-visual[data-light=soir] .ambient-shade{opacity:.21}
.nuance-scene-label{position:absolute;left:30px;top:26px;display:flex;flex-direction:column;line-height:1.25;pointer-events:none;background:#ffffffdd;padding:15px 18px;max-width:calc(100% - 60px)}
.nuance-kicker{font-size:8px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.nuance-scene-label strong{font-size:28px;font-weight:450;letter-spacing:-.055em;margin:7px 0 5px}
.nuance-reference{font-size:9px;color:var(--muted);letter-spacing:.16em}
.nuance-immersive{position:absolute;bottom:25px;right:25px;background:#fffffff0;border:0;padding:12px 16px;font-size:10px;display:flex;align-items:center;gap:17px;z-index:2}
.nuance-immersive:hover{background:#fff}
.nuance-image-caption{position:absolute;bottom:26px;left:25px;max-width:170px;font-size:8px;color:#333d30;line-height:1.6;background:#ffffffcf;padding:5px 8px}
.nuance-controls{padding:26px 24px;min-width:0;display:flex;flex-direction:column}
.nuance-selected{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:26px}
.nuance-selected h3{font-size:31px;margin:5px 0 6px;line-height:1.05}
.nuance-favorite{width:36px;height:36px;border:1px solid var(--line);border-radius:50%;background:transparent;font-size:24px;line-height:1;flex-shrink:0;transition:background .2s,transform .2s}
.nuance-favorite:hover{transform:scale(1.06)}
.nuance-favorite[aria-pressed=true]{background:var(--ink);color:#fff;border-color:var(--ink)}
.nuance-family-list{display:flex;gap:6px 13px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:17px;margin-bottom:20px}
.nuance-family-list button{border:0;background:transparent;font-size:9px;text-transform:uppercase;letter-spacing:.06em;color:#73776e;padding:3px 0;border-bottom:1px solid transparent}
.nuance-family-list button[aria-pressed=true]{color:var(--ink);border-bottom-color:var(--ink)}
.nuance-palette{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px 9px;max-height:280px;min-height:164px;overflow-y:auto;align-content:start;padding:4px 4px 9px;margin:0 -4px;scrollbar-width:thin;scrollbar-color:#c4c8ba transparent}
.nuance-chip{padding:0;border:0;background:transparent;display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;text-align:center;position:relative}
.nuance-chip i{display:block;width:34px;height:34px;background:var(--chip);border-radius:2px;outline:1px solid #17191715;outline-offset:0;transition:transform .25s,outline-color .25s,outline-offset .25s}
.nuance-chip:hover i{transform:scale(1.09)}
.nuance-chip[aria-pressed=true] i{transform:scale(1.05);outline-color:var(--ink);outline-offset:4px}
.nuance-chip span{font-size:8px;line-height:1.3;max-width:100%;min-height:21px;color:#61675c;overflow-wrap:break-word}
.nuance-chip[aria-pressed=true] span{color:var(--ink);font-weight:650}
.nuance-tools{margin-top:auto;padding-top:24px}
.nuance-light{border:0;padding:0;margin:0 0 19px;min-width:0}
.nuance-light legend{font-size:9px;letter-spacing:.09em;text-transform:uppercase;margin-bottom:9px}
.nuance-light>div{display:flex;border:1px solid var(--line);padding:3px;gap:3px}
.nuance-light button{background:transparent;border:0;padding:8px 4px;font-size:9px;flex:1;transition:background .2s}
.nuance-light button[aria-pressed=true]{background:var(--ink);color:white}
.nuance-before{display:flex;align-items:center;justify-content:space-between;gap:10px;background:transparent;border:0;border-bottom:1px solid var(--line);padding:9px 0;width:100%;font-size:10px;touch-action:none;-webkit-user-select:none;user-select:none}
.nuance-before[aria-pressed=true]{color:var(--blue)}
.nuance-status{font-size:9px;color:var(--muted);min-height:31px;margin-top:14px;line-height:1.6}
.nuance-bottom{grid-column:1/-1;border-top:1px solid var(--line);padding:30px;display:grid;grid-template-columns:1.1fr 1fr;gap:45px}
.nuance-favorites-heading{display:flex;align-items:baseline;gap:18px;margin-bottom:18px}
.nuance-favorites-heading>span{font-size:12px;font-weight:600}
.nuance-favorites-heading small{font-size:9px;color:var(--muted)}
.nuance-favorite-slots{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.nuance-slot{min-height:79px;position:relative;border:1px dashed var(--line);padding:12px;font-size:9px;display:flex;align-items:center;gap:9px;color:var(--muted)}
.nuance-slot.filled{border-style:solid;color:var(--ink)}
.nuance-slot>.favorite-swatch{width:27px;height:39px;flex-shrink:0;background:var(--chip);border:1px solid #0001;padding:0}
.nuance-slot .favorite-title{font-size:10px;line-height:1.35;display:block;padding-right:7px}
.nuance-slot .favorite-ref{font-size:7px;letter-spacing:.05em;display:block;margin-top:4px}
.nuance-slot .favorite-remove{position:absolute;right:0;top:0;background:transparent;border:0;width:24px;height:24px;font-size:17px;color:#61685e}
.nuance-advice{padding-left:35px;border-left:1px solid var(--line)}
.nuance-advice h3{font-size:26px;line-height:1.15}
.nuance-advice p{font-size:10px;margin-top:12px;color:var(--muted)}
.nuance-advice .text-link{margin-top:12px;font-size:10px;gap:12px}
.nuance-quote{font-size:9px;margin-left:17px;text-decoration:underline;text-underline-offset:4px;color:var(--muted)}
.nuance-disclaimer{max-width:930px}
.nuance-fullscreen{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;border:0;padding:0;background:var(--soft);color:var(--ink);margin:0;overflow:auto}
.nuance-fullscreen::backdrop{background:#181c17c9;backdrop-filter:blur(10px)}
.nuance-fullscreen-header{display:flex;align-items:center;justify-content:space-between;padding:19px 28px;border-bottom:1px solid var(--line);height:70px;position:sticky;top:0;z-index:3;background:#fff;font-size:13px;font-weight:700;letter-spacing:.08em}
.nuance-fullscreen-header small{font-size:9px;font-weight:400;letter-spacing:0;margin-left:20px;color:var(--muted)}
.nuance-close{border:0;background:transparent;font-size:10px;letter-spacing:.06em;padding:10px}
.nuance-close span{margin-left:20px;font-size:21px}
.nuance-fullscreen-body{padding:0}
.nuance-fullscreen .nuance-workbench{display:block;border:0;position:relative;height:calc(100dvh - 70px)}
.nuance-fullscreen .nuance-visual{height:100%;min-height:0}
.nuance-fullscreen .nuance-picture{inset:0;background:#e8e5dc}
.nuance-fullscreen .nuance-scene{width:100%;height:100%;min-width:0;min-height:0;object-fit:contain}
.nuance-fullscreen .nuance-controls{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);width:min(1100px,calc(100% - 44px));background:#fffffff2;backdrop-filter:blur(12px);padding:17px 22px;display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:10px 25px;box-shadow:0 4px 35px #2222}
.nuance-fullscreen .nuance-selected{display:none}
.nuance-fullscreen .nuance-family-list{grid-column:1;flex-wrap:nowrap;overflow:auto;gap:18px;padding-bottom:9px;margin:0;scrollbar-width:thin}
.nuance-fullscreen .nuance-palette{grid-column:1;display:flex;overflow-x:auto;overflow-y:hidden;max-height:none;min-height:0;gap:18px;padding:6px 5px 2px;margin:0}
.nuance-fullscreen .nuance-chip{flex:0 0 50px}
.nuance-fullscreen .nuance-chip i{width:28px;height:28px}
.nuance-fullscreen .nuance-tools{grid-column:2;grid-row:1/3;margin:0;padding:0}
.nuance-fullscreen .nuance-light{margin-bottom:8px}
.nuance-fullscreen .nuance-status,.nuance-fullscreen .nuance-bottom,.nuance-fullscreen .nuance-immersive,.nuance-fullscreen .nuance-image-caption{display:none}
.nuance-fullscreen .nuance-scene-label{top:25px;left:28px}
body.nuance-modal-open{overflow:hidden}
.nuance-workshop.enhanced:not(.workshop-entered) .nuance-visual,.nuance-workshop.enhanced:not(.workshop-entered) .nuance-controls{opacity:0;transform:translateY(20px)}
.nuance-workshop .nuance-visual{transition:opacity .7s,transform .8s}
.nuance-workshop .nuance-controls{transition:opacity .7s .15s,transform .8s .15s}
@media(max-width:1150px){.nuance-workbench{grid-template-columns:minmax(0,2fr) minmax(245px,1fr)}.nuance-visual{min-height:590px}.nuance-scene-label{left:20px;top:20px}.nuance-controls{padding:24px 20px}.nuance-image-caption{bottom:75px}.nuance-bottom{gap:25px;padding:25px}.nuance-advice{padding-left:25px}.nuance-slot{flex-direction:column;align-items:flex-start}.nuance-slot>.favorite-swatch{width:100%;height:26px}.nuance-quote{display:block;margin:12px 0 0}}
@media(max-width:760px){
 .nuance-workshop{padding-inline:18px}
 .nuance-workshop .section-heading{padding-inline:6px}
 .nuance-workbench{display:block}
 .nuance-visual{min-height:0;aspect-ratio:4/3}
 .nuance-picture{transform:none;transition:none}
 .nuance-scene{width:100%;height:100%;min-width:100%;min-height:100%;aspect-ratio:auto}
 .nuance-scene-label{left:14px;top:14px;padding:10px 12px}
 .nuance-scene-label strong{font-size:22px;margin:4px 0}
 .nuance-scene-label .nuance-kicker{font-size:7px}
 .nuance-immersive{right:12px;bottom:12px;padding:9px 11px;font-size:8px;gap:12px}
 .nuance-image-caption{left:12px;bottom:12px;max-width:130px;font-size:7px}
 .nuance-controls{padding:23px 20px}
 .nuance-selected{margin-bottom:17px}
 .nuance-selected h3{font-size:29px}
 .nuance-family-list{flex-wrap:nowrap;overflow-x:auto;gap:21px;padding-bottom:12px;margin-bottom:17px;scrollbar-width:none;scroll-snap-type:x proximity}
 .nuance-family-list button{flex-shrink:0;font-size:10px;padding:6px 0;scroll-snap-align:start}
 .nuance-palette{display:flex;overflow-x:auto;overflow-y:hidden;min-height:0;max-height:none;gap:21px;padding:7px 5px 10px;scroll-snap-type:x proximity;scrollbar-width:thin}
 .nuance-chip{flex:0 0 44px;scroll-snap-align:start;gap:10px}
 .nuance-chip i{width:37px;height:37px}
 .nuance-chip span{font-size:8px;min-height:24px}
 .nuance-tools{display:grid;grid-template-columns:1.1fr 1fr;gap:20px;padding-top:19px;align-items:end}
 .nuance-light{margin:0}
 .nuance-before{font-size:9px;line-height:1.5;min-height:40px;padding:0 0 7px;align-self:end}
 .nuance-status{min-height:0;margin-top:15px}
 .nuance-bottom{display:block;padding:22px 20px}
 .nuance-favorite-slots{gap:8px}
 .nuance-slot{min-height:86px;padding:11px 9px}
 .nuance-slot .favorite-title{font-size:9px}
 .nuance-advice{margin-top:25px;padding:25px 0 0;border-left:0;border-top:1px solid var(--line)}
 .nuance-advice h3{font-size:28px}
 .nuance-quote{display:inline-block;margin:12px 0 0 15px}
 .nuance-fullscreen-header{height:62px;padding:12px 18px;font-size:11px}
 .nuance-fullscreen-header small{display:none}
 .nuance-fullscreen .nuance-workbench{height:calc(100dvh - 62px);display:flex;flex-direction:column}
 .nuance-fullscreen .nuance-visual{flex:1;height:auto;min-height:260px;aspect-ratio:auto}
 .nuance-fullscreen .nuance-scene{height:100%;width:100%}
 .nuance-fullscreen .nuance-controls{position:relative;left:auto;bottom:auto;transform:none;width:100%;display:flex;gap:0;padding:15px 19px;box-shadow:0 -5px 30px #00000008}
 .nuance-fullscreen .nuance-family-list{margin-bottom:12px;flex-shrink:0}
 .nuance-fullscreen .nuance-palette{min-height:78px;flex-shrink:0}
 .nuance-fullscreen .nuance-tools{display:grid;grid-template-columns:1.1fr 1fr;gap:20px;margin-top:15px}
 .nuance-fullscreen .nuance-light{margin:0}
 .nuance-disclaimer{padding-inline:5px;font-size:9px}
}
@media(max-height:700px) and (min-width:761px){.nuance-fullscreen .nuance-controls{bottom:12px;padding:12px 18px}.nuance-fullscreen .nuance-palette{max-height:68px}}
@media(prefers-reduced-motion:reduce){
 .nuance-picture{transform:none!important}
 .nuance-workshop.enhanced:not(.workshop-entered) .nuance-visual,.nuance-workshop.enhanced:not(.workshop-entered) .nuance-controls{opacity:1;transform:none}
}
