/* V22 : micro-interactions visibles à la souris ET au toucher, sans bibliothèque lourde. */
.official-icon-container{padding:0;overflow:hidden;background:transparent!important;box-shadow:none!important;border-radius:12px;display:grid;place-items:center}
.official-product-icon{width:100%;height:100%;object-fit:contain;display:block;filter:drop-shadow(0 3px 3px #08245621)}
.product-blue .official-icon-container{background:#e8f3ff!important}
.focus-official-brand{max-width:250px;height:48px;margin:0 0 12px;display:flex;align-items:center}
.focus-official-brand[hidden]{display:none}
.focus-official-brand img{max-height:48px;width:auto;max-width:100%;object-fit:contain;object-position:left}
.official-page-logo{display:block;max-width:min(280px,100%);width:auto;max-height:90px;object-fit:contain;object-position:left;margin:0 0 20px}
.motion-access{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:15px 0 0;position:relative;z-index:4}
.motion-demo-trigger{background:#fff;border:1px solid #8fbeff;color:#004dbd;padding:12px 17px;border-radius:99px;font-weight:800;font-size:13px;box-shadow:0 6px 18px #063d9921;display:inline-flex;align-items:center;gap:8px;cursor:pointer;min-height:44px;transition:box-shadow .24s,background .24s,transform .24s}
.motion-demo-trigger:hover{box-shadow:0 10px 28px #0c64ee36;background:#eef6ff;transform:translateY(-2px)}
.motion-demo-trigger:focus-visible{outline:3px solid #005cff;outline-offset:3px}
.motion-dot{display:inline-block;width:10px;height:10px;background:#00bb79;border-radius:50%;box-shadow:0 0 0 4px #00bb7928}
.motion-hint{font-size:11px;color:#315d96;max-width:210px;line-height:1.4}
/* Barre de progression des sections : pas d'écran masqué au cas où JS est désactivé. */
@media(prefers-reduced-motion:no-preference){
  html.motion-ready .scroll-entrance{opacity:0;transform:translate3d(0,34px,0) scale(.985);transition:opacity .74s cubic-bezier(.2,.75,.25,1),transform .74s cubic-bezier(.2,.75,.25,1);will-change:opacity,transform}
  html.motion-ready .scroll-entrance.in-view{opacity:1;transform:translate3d(0,0,0) scale(1);will-change:auto}
  html.motion-ready .scroll-entrance.motion-delay-1{transition-delay:.07s}
  html.motion-ready .scroll-entrance.motion-delay-2{transition-delay:.13s}
  html.motion-ready .scroll-entrance.motion-delay-3{transition-delay:.19s}
  .hero .hero-atmosphere{animation:studioGlowDrift 9s ease-in-out infinite alternate}
  @keyframes studioGlowDrift{0%{opacity:.88;filter:saturate(.96)}100%{opacity:1;filter:saturate(1.2)}}
  .motion-demo-active .hero-illustration{animation:studioScenePreview 3.1s cubic-bezier(.4,0,.2,1) both!important}
  .motion-demo-active .hero-gaze .gaze-eye{animation:studioEyePreview 3.1s ease-in-out both!important}
  .motion-demo-active .motion-demo-trigger{animation:studioTriggerPreview 3.1s ease-in-out both!important}
  .motion-demo-active .hero-copy{animation:studioCopyPreview 3.1s ease-in-out both!important}
  @keyframes studioScenePreview{0%,100%{transform:translate3d(0,0,0) scale(1)}24%{transform:translate3d(-12px,-13px,0) scale(1.02)}57%{transform:translate3d(10px,0,0) scale(1.018)}82%{transform:translate3d(0,-6px,0) scale(1.01)}}
  @keyframes studioEyePreview{0%,100%{transform:translate(0,0)}25%{transform:translate(5px,-1px)}58%{transform:translate(-6px,4px)}82%{transform:translate(3px,2px)}}
  @keyframes studioTriggerPreview{0%,100%{box-shadow:0 6px 18px #063d9921}30%,70%{box-shadow:0 0 0 7px #0a6fff20,0 15px 32px #0a60f549}}
  @keyframes studioCopyPreview{0%,100%{transform:translate3d(0,0,0)}45%{transform:translate3d(4px,-3px,0)}}
  .touch-pulse{animation:studioTouch .55s cubic-bezier(.18,.8,.18,1)!important}
  @keyframes studioTouch{0%,100%{transform:scale(1)}45%{transform:scale(.965)}}
  .focus-v14-visual img{transition:transform 1s cubic-bezier(.24,.65,.22,1)}
  .focus-v14-visual.image-just-switched img{animation:studioImageEnter .6s ease both}
  @keyframes studioImageEnter{from{opacity:.6;transform:scale(1.04)}to{opacity:1;transform:scale(1)}}
}
@media(max-width:900px) and (prefers-reduced-motion:no-preference){
  /* Mouvements autonomes lisibles sur tablette/mobile : aucune souris requise. */
  .hero:not(.motion-demo-active) .hero-illustration{animation:studioMobileFloat 6.4s ease-in-out infinite;transform-origin:65% 60%;will-change:transform}
  @keyframes studioMobileFloat{0%,100%{transform:translate3d(0,0,0) scale(1)}50%{transform:translate3d(0,-11px,0) scale(1.014)}}
  .hero .sparkles{animation:studioSparkle 3.4s ease-in-out infinite}
  @keyframes studioSparkle{0%,100%{opacity:.7;transform:rotate(-7deg) scale(.96)}50%{opacity:1;transform:rotate(7deg) scale(1.1)}}
  .hero-gaze{display:block!important}
  .hero.gaze-mobile-enabled .hero-illustration{background-image:url('../images/reference/hero-selykai-v33.webp')!important}
  .hero.gaze-mobile-enabled .hero-gaze .gaze-eye{animation:studioAutoEyes 7s ease-in-out infinite;transform:translate(0,0)}
  @keyframes studioAutoEyes{0%,100%{transform:translate(0,0)}22%{transform:translate(3px,-2px)}44%{transform:translate(-4px,2px)}68%{transform:translate(3px,3px)}}
  .story-scene img{transition:transform .9s cubic-bezier(.2,.8,.25,1)}
  .solution-story.in-view .story-scene img{transform:scale(1.025)}
  .hero-actions a{transition:background .2s,box-shadow .25s!important}
  .product-card:active,.focus-v14-selector button:active,.hero-actions a:active{filter:brightness(1.05)}
}
@media(max-width:760px){
  .motion-access{gap:9px;margin:14px 0 0}
  .motion-demo-trigger{font-size:12px;padding:10px 14px;min-height:42px}
  .motion-hint{display:block;max-width:250px;font-size:10px}
  .hero-illustration{transform-origin:64% 59%}
  .hero{isolation:isolate}
  .hero-highlights{margin-top:16px}
}
@media(max-width:420px){.motion-hint{max-width:100%;flex-basis:100%}}
@media(prefers-reduced-motion:reduce){
  .scroll-entrance{opacity:1!important;transform:none!important;transition:none!important}
  .hero-gaze{display:none!important}
  .hero .hero-atmosphere,.hero .hero-illustration,.hero .sparkles,.motion-demo-trigger{animation:none!important;transform:none!important}
}
/* Finition typographique après revue réelle des quatre formats. */
.hero h1{font-size:clamp(40px,3.22vw,52px);line-height:1.035;letter-spacing:-.06em}
.hero h1 span{white-space:nowrap}
@media(min-width:1101px){.hero h1{max-width:415px}.hero-subtitle{max-width:385px}.hero .sparkles{left:326px;top:4px}}
@media(max-width:760px){.hero h1{font-size:clamp(33px,8.8vw,41px);line-height:1.07;letter-spacing:-.058em}.hero .sparkles{display:none}.hero-copy{position:relative}.business-os-card{min-height:190px}.business-os-card p{max-width:58%;font-size:10px;line-height:1.45}}
@media(max-width:380px){.hero h1{font-size:33px}.business-os-card{min-height:210px}}
/* Sur téléphone, arguments répétés dans le bandeau suivant : on libère le hero pour le visuel. */
@media(max-width:760px){.hero-highlights{display:none!important}.motion-hint{display:none!important}.motion-access{margin-bottom:6px}}
/* Fallback de marque visible si le logo distant du produit est momentanément indisponible. */
.official-icon-container{position:relative;isolation:isolate;background:#deebff!important}
.official-icon-container .official-fallback{position:absolute;inset:0;z-index:0;display:grid;place-items:center;font:900 12px/1 system-ui,Arial,sans-serif;color:#075ac8;letter-spacing:-.03em}
.official-icon-container .official-product-icon{position:relative;z-index:1;object-fit:contain}
