/* Le mouvement suit le défilement natif ; le contenu reste lisible sans JS. */
.hero{padding:0!important;overflow:visible;background:#F5F9FD}
.hero-scene{position:relative;isolation:isolate;padding:108px 0 52px;overflow:clip}
.hero-in{align-items:start;gap:clamp(32px,4vw,58px)}
.hero-atmosphere{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden;background:linear-gradient(115deg,#FAFCFE 22%,#EAF3FB 100%)}
.hero-halo{position:absolute;width:900px;height:900px;max-width:100vw;right:-12%;top:-20%;background:radial-gradient(ellipse,#A8D2F06B 0%,#C7E2F24D 35%,transparent 68%);border-radius:50%}
.hero-copy{position:relative;padding-top:6px}
.hero-visual{position:relative;perspective:1500px;padding-top:16px}
.hero-board{position:relative;transform-origin:50% 35%;border-radius:14px;box-shadow:0 30px 60px -32px #16487655}
.hero-board .workspace-heading{background:#E4EEF8;border-radius:14px 14px 0 0}
.hero-board #heroDash{background:rgba(255,255,255,.98);border-radius:0 0 14px 14px;box-shadow:none}
.hero-visual .demo-controls{position:relative;margin-top:24px}
.hero-visual .float-card{display:none}
.hero-scroll-cue{display:none}
.scroll-motion .hero-scroll-cue{display:flex;align-items:center;gap:10px;margin-top:26px;font-size:.72rem;color:var(--ink-2)}
.hero-scroll-cue>span{display:grid;place-items:center;border:1px solid #B9D2E5;border-radius:100px;width:25px;height:38px;font-size:1rem;background:#FFFFFF80}
.scroll-motion .hero-pin{height:calc(var(--scene-height,740px) + 240px)}
.scroll-motion .hero-pin .hero-scene{position:sticky;top:0;min-height:100svh}
.scroll-motion .hero-copy{transform:translate3d(0,calc(var(--hero-progress,0)*-20px),0)}
.scroll-motion .hero-board{transform:translate3d(0,calc(26px - var(--hero-progress,0)*36px),0) rotateX(calc(5deg - var(--hero-progress,0)*5deg)) rotateY(calc(-9deg + var(--hero-progress,0)*9deg)) rotateZ(calc(2deg - var(--hero-progress,0)*2deg)) scale(calc(.94 + var(--hero-progress,0)*.06));will-change:transform}
.scroll-motion .hero-halo{transform:translate3d(calc(var(--hero-progress,0)*-90px),calc(var(--hero-progress,0)*80px),0) scale(calc(1 + var(--hero-progress,0)*.22))}
.scroll-motion [data-scroll-reveal]{opacity:calc(.2 + var(--reveal,1)*.8);transform:translate3d(0,calc((1 - var(--reveal,1))*56px),0);transition:none}
.scroll-motion [data-scroll-reveal]:focus-within{opacity:1;transform:none}
.scroll-motion .phone-shell{transform:perspective(1100px) translate3d(0,calc((1 - var(--phone-progress,1))*70px),0) rotateY(calc((1 - var(--phone-progress,1))*-14deg)) rotateZ(calc((1 - var(--phone-progress,1))*7deg));transform-origin:center}
.scroll-motion .phone-demo::before{transform:scale(calc(.8 + var(--phone-progress,1)*.3))}
.scroll-motion .hero-visual:focus-within .hero-board{transform:none}
@media(min-width:1000px){.hero-scene{padding-bottom:40px}.hero-visual{margin-top:6px}.hero-in{grid-template-columns:minmax(0,1fr) minmax(0,1.04fr)}}
@media(max-width:999px){
  .hero-scene{padding-top:104px;padding-bottom:36px}
  .hero-in{grid-template-columns:1fr;gap:24px}
  .hero-copy{transform:none!important}
  .hero-visual{width:100%;max-width:620px;margin:0 auto;padding:0}
  .hero-halo{top:30%;right:-25%}
  .scroll-motion .hero-board{transform:translate3d(0,calc((1 - var(--hero-progress,1))*20px),0) rotateX(calc((1 - var(--hero-progress,1))*4deg)) rotateZ(calc((1 - var(--hero-progress,1))*1.5deg)) scale(calc(.97 + var(--hero-progress,1)*.03))}
  .scroll-motion .hero-scroll-cue{display:none}
  .scroll-motion [data-scroll-reveal]{transform:translate3d(0,calc((1 - var(--reveal,1))*30px),0)}
  .hero-visual .demo-controls{margin-top:16px}
}
@media(prefers-reduced-motion:reduce){
  .hero{height:auto!important}.hero-scene{position:relative!important;min-height:0!important}
  .hero-scroll-cue{display:none!important}
  .hero-copy,.hero-board,.hero-visual .float-card,.hero-halo,[data-scroll-reveal],.phone-shell,.phone-demo::before{transform:none!important;opacity:1!important;will-change:auto!important}
}
