:root{color-scheme:dark;--bg:#101115;--text:#f4f4f6;--muted:#a0a1ad;--accent:#f04c57;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}.home{min-height:100svh;display:flex;flex-direction:column;background:radial-gradient(ellipse at 80% 48%,#29151c 0,transparent 46%),var(--bg)}header{display:flex;align-items:center;justify-content:space-between;margin:0 5.5%;padding:30px 0;border-bottom:1px solid #ffffff12;gap:20px}.brand{font-size:20px;font-weight:650;letter-spacing:-.6px;display:flex;align-items:center;gap:12px}.mark{color:var(--accent);font-size:35px;line-height:1}.caption{font-size:12px;letter-spacing:2px;color:var(--muted)}.welcome{width:89%;max-width:1400px;margin:auto;display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:20px;flex:1;padding:90px 0}.intro{position:relative;z-index:1}.eyebrow{font-size:12px;font-weight:600;letter-spacing:2.2px;color:#bebfc7}.eyebrow:before{content:"";display:inline-block;width:6px;height:6px;margin-right:10px;border-radius:50%;background:var(--accent)}h1{font-size:clamp(44px,6.3vw,92px);letter-spacing:-.065em;line-height:1.1;margin:25px 0 22px;font-weight:650}.dash{color:#777983}.dot{color:var(--accent)}.welcome p{font-size:18px;line-height:1.6;color:var(--muted);margin:0 0 42px}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:52px;padding:18px 23px;background:var(--accent);color:#fff;border-radius:10px;text-decoration:none;font-size:16px;font-weight:600;box-shadow:0 8px 35px #ed404b19;transition:background .2s,transform .2s}.button:hover{background:#fc616b;transform:translateY(-2px)}.button:focus-visible{outline:3px solid white;outline-offset:5px}.button span{font-size:22px;line-height:1}small{display:block;margin-top:15px;color:var(--muted);font-size:13px}.art{position:relative;width:100%;aspect-ratio:1;max-width:460px;justify-self:center;display:grid;place-items:center}.art i{position:absolute;width:84%;height:84%;border:1px solid #f04c5738;border-radius:50%;transform:rotate(-35deg) scaleY(.52)}.art i:nth-child(2){transform:rotate(35deg) scaleY(.52)}.art i:nth-child(3){transform:rotate(90deg) scaleY(.52)}.art strong{font-size:clamp(70px,10vw,140px);font-weight:700;letter-spacing:-.08em;color:#f04c57;transform:rotate(-10deg);text-shadow:0 10px 70px #f04c5730}footer{margin:0 5.5%;padding:24px 0;border-top:1px solid #ffffff12;display:flex;justify-content:space-between;gap:24px;color:var(--muted);font-size:12px}footer span:first-child{letter-spacing:1.6px}.dashboard{overflow:hidden}.scene{position:relative;width:100%;height:100vh;height:100svh}#renderCanvas{display:block;width:100%;height:100%;touch-action:none;outline:none}#renderCanvas:focus-visible{outline:2px solid var(--accent);outline-offset:-4px}.message{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);margin:0;padding:18px 24px;max-width:90%;border:1px solid #ffffff20;border-radius:12px;background:#191a20;color:var(--text);text-align:center;line-height:1.6}.message[hidden]{display:none}@media(max-width:700px){.caption{display:none}header{padding:22px 0}.welcome{grid-template-columns:1fr;padding:64px 0 40px}.art{max-width:260px}.intro{text-align:center}h1{font-size:clamp(40px,10vw,68px)}.welcome p{font-size:16px}footer{flex-wrap:wrap}.art strong{font-size:80px}}@media(prefers-reduced-motion:reduce){.button{transition:none}}

/* Sélection des modèles et aperçu des captures. */
.capture-button{display:flex;margin-top:26px;background:#25262f;border:1px solid #ffffff24;font-family:inherit;cursor:pointer;min-width:203px;box-shadow:none}.capture-button:hover{background:#343641}.capture-button:disabled{opacity:.6;cursor:wait;transform:none}.preview{min-width:0;width:100%;display:grid;place-items:center}.preview .art{width:100%}.preview figure{margin:0;width:100%;overflow:hidden;border:1px solid #ffffff20;border-radius:16px;background:#101115;box-shadow:0 24px 80px #0004}.preview img{display:block;width:100%;height:auto}.preview figcaption{padding:14px 18px;font-size:13px;color:var(--muted);border-top:1px solid #ffffff12}.preview [hidden]{display:none}#captureStatus{max-width:350px;line-height:1.5;min-height:20px}.dashboard{height:100vh;height:100svh;display:flex;flex-direction:column}.dashboard-toolbar{flex-shrink:0;margin:0;padding:16px 24px;gap:18px;flex-wrap:wrap;background:#17181e}.toolbar-subtitle{color:var(--muted);font-size:14px;font-weight:400}.dashboard-toolbar label{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:14px}.dashboard-toolbar select{font:inherit;color:var(--text);background:#25262f;border:1px solid #ffffff24;border-radius:8px;padding:10px 36px 10px 12px;min-width:160px;max-width:65vw}.dashboard-toolbar select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.dashboard .scene{flex:1;min-height:0;height:auto}@media(max-width:700px){.capture-button{margin-left:auto;margin-right:auto}#captureStatus{margin-left:auto;margin-right:auto}.preview{margin-top:20px}.dashboard-toolbar{padding:12px 16px}.dashboard-toolbar .brand{font-size:16px}}
