/* WSV TECH — cinematic polish, isolated from the core layout and user-selected palettes. */
/* Entrance transitions must never make the root canvas wider than the viewport. */
body.home main {overflow-x:clip}
/* Abertura preservada; o efeito cinematográfico pertence somente ao outdoor da segunda seção. */
body.home .hero-showcase {
  height:100svh;min-height:580px;padding:0;
}
body.home .hero-showcase .hero-media-stage {
  background:linear-gradient(145deg,#071a37,#02060e);
}
body.home .hero-showcase .hero-media-stage:after {z-index:3}
html.wsv-cinematic-depth body.home .hero-showcase .hero-media-layer {
  transform:translate3d(0,var(--wsv-hero-pan,0px),0) scale(1.055);
  transition:opacity 1.2s ease,transform .2s linear;will-change:transform,opacity;
}
html.wsv-cinematic-enabled body.home .hero-showcase .hero-media-stage:before {
  content:"";position:absolute;inset:-35%;z-index:2;pointer-events:none;
  background:linear-gradient(115deg,transparent 28%,rgba(30,107,227,.065) 43%,rgba(107,190,255,.13) 49%,transparent 57%);
  transform:translateX(-38%) rotate(-8deg);
  animation:wsvCinematicSweep 15s ease-in-out infinite alternate;mix-blend-mode:screen;
}
/* A faixa segue a navegação depois da abertura, sem ocupar o lugar do conteúdo. */
body.home main > .marquee {
  position:sticky;top:var(--wsv-sticky-nav-bottom,calc(var(--wsv-topbar-height,42px) + 72px));
  z-index:95;box-shadow:0 8px 24px rgba(0,5,16,.5);
  background:rgba(5,13,28,.96);border-color:rgba(100,167,242,.26);
}
body.home section[id] {scroll-margin-top:calc(var(--wsv-sticky-nav-bottom,110px) + 66px)}
@keyframes wsvCinematicSweep {
  from {transform:translateX(-38%) rotate(-8deg)}
  to {transform:translateX(32%) rotate(8deg)}
}
body.home .wsv-scroll-cue {
  display:none;position:absolute;z-index:5;left:max(24px,4.1vw);bottom:clamp(14px,3vh,36px);
  align-items:center;gap:13px;max-width:calc(100% - 48px);
  color:rgba(227,244,255,.91);font:700 10px var(--display,sans-serif);
  letter-spacing:.22em;text-transform:uppercase;text-shadow:0 2px 8px #000;
  transition:color .2s;
}
html.wsv-cinematic-enabled body.home .wsv-scroll-cue {display:inline-flex}
body.home .wsv-scroll-cue:hover {color:#75d8ff}
body.home .wsv-scroll-cue-indicator {
  width:1px;height:47px;position:relative;overflow:hidden;
  background:rgba(177,221,255,.22);
}
body.home .wsv-scroll-cue-indicator:after {
  content:"";position:absolute;left:0;right:0;top:-100%;height:100%;
  background:linear-gradient(transparent,#90deff,transparent);
  animation:wsvCueTravel 2.6s ease-in-out infinite;
}
@keyframes wsvCueTravel {to{top:100%}}
html.wsv-cinematic-ambient body.home main > section.section {isolation:isolate}
html.wsv-cinematic-ambient body.home main > section.section > .wrap {position:relative;z-index:1}
html.wsv-cinematic-ambient body.home main > section.section:before {
  content:"";position:absolute;z-index:0;inset:0;pointer-events:none;opacity:0;
  background:radial-gradient(ellipse 62% 53% at 8% 20%,rgba(35,115,240,.085),transparent 75%);
  transition:opacity 1.3s ease;
}
html.wsv-cinematic-ambient body.home main > section.section:nth-of-type(even):before {
  background:radial-gradient(ellipse 55% 55% at 92% 35%,rgba(36,130,240,.092),transparent 75%);
}
html.wsv-cinematic-ambient body.home main > section.section.wsv-scene-visible:before {opacity:1}
html.wsv-cinematic-ambient body.home main > section.section .section-head h2 {text-wrap:balance}
html.wsv-cinematic-ambient body.home main > section.section .section-head:after {
  content:"";position:absolute;left:0;bottom:-15px;width:min(240px,40vw);height:1px;
  background:linear-gradient(90deg,var(--cyan),transparent);
  transform:scaleX(0);transform-origin:left;transition:transform 1.1s cubic-bezier(.2,.8,.2,1);
}
html.wsv-cinematic-ambient body.home main > section.section .section-head {position:relative}
html.wsv-cinematic-ambient body.home main > section.section.wsv-scene-visible .section-head:after {transform:scaleX(1)}
@media(max-width:720px) {
  body.home .hero-showcase {min-height:400px;height:100svh}
  body.home .wsv-scroll-cue {font-size:9px;letter-spacing:.16em;bottom:12px;left:20px}
  body.home .wsv-scroll-cue-indicator {height:29px}
  html.wsv-cinematic-depth body.home .hero-showcase .hero-media-layer {transform:scale(1.02);will-change:opacity}
  html.wsv-cinematic-ambient body.home main > section.section:before {display:none}
}
@media(prefers-reduced-motion:reduce) {
  body.home .wsv-scroll-cue-indicator:after,
  html.wsv-cinematic-enabled body.home .hero-showcase .hero-media-stage:before {animation:none}
  html.wsv-cinematic-depth body.home .hero-showcase .hero-media-layer {transition:none;transform:none;will-change:auto}
  html.wsv-cinematic-ambient body.home main > section.section:before,
  html.wsv-cinematic-ambient body.home main > section.section .section-head:after {transition:none}
}
