/* WSVTECH 2027 · premium scrollytelling. Camada progressiva, sem alterar CMS/checkout. */
body.home {
  --wsv-electric:#67cdfa;
  --wsv-electric-muted:rgba(87,185,245,.22);
  --wsv-metal:#dfd0b7;
}
body.home main {position:relative}
body.home main > section {min-width:0}
body.home :is(.section-head h2,.next-vertical-head h2,.next-pricing-intro h2,#agendar h2){
  text-wrap:balance;
}
body.home :is(.section-head p,.next-vertical-head p,.next-pricing-intro p){
  line-height:1.72;
}
body.home .nav-links a[aria-current="location"]{color:#f3faff;font-weight:750}
body.home .nav-links a[aria-current="location"]::after{
  transform:scaleX(1);background:linear-gradient(90deg,#77d7ff,#e4c394);
}
body.home :is(a,button):focus-visible{outline:3px solid #8cdbff;outline-offset:4px}
/* As descargas passam em primeiro plano, mas não capturam cliques nem prejudicam os modais. */
html:not([data-theme]) body.home .bolt-layer,
html[data-theme] body.home .bolt-layer{
  display:block!important;position:fixed;inset:0;z-index:12000!important;
  opacity:.72!important;pointer-events:none!important;mix-blend-mode:screen;
}
html:not([data-theme]) body.home .screen-flash,
html[data-theme] body.home .screen-flash{
  display:block!important;position:fixed;inset:0;z-index:11999!important;
  pointer-events:none!important;mix-blend-mode:screen;filter:opacity(.28);
}
body.home:has(#bk-overlay.bk-open) :is(.bolt-layer,.screen-flash),
body.home:has(dialog[open]) :is(.bolt-layer,.screen-flash){
  opacity:0!important;visibility:hidden;
}
body.home .scroll-progress{
  position:fixed;z-index:13000;height:3px;
  background:linear-gradient(90deg,#67c8ff,#9edaff 56%,#e5cda8);
  box-shadow:0 0 12px rgba(81,184,247,.42);
}
/* Refinamento editorial das primeiras seções: marca sólida, leitura confortável e ação clara. */
body.home #agendar.next-booking-showcase{
  padding-block:clamp(64px,7vw,106px);
  background:
    radial-gradient(ellipse 55% 67% at 0% 22%,rgba(14,98,170,.25),transparent 72%),
    radial-gradient(ellipse 55% 65% at 100% 85%,rgba(166,140,105,.15),transparent 74%),
    #09131f;
}
body.home #agendar .next-booking-pitch h2{max-width:15ch;letter-spacing:-.056em}
body.home #agendar .next-booking-pitch p{color:#c0d0df;max-width:54ch}
body.home #agendar .next-booking-panel{
  border-color:rgba(124,191,230,.33);
  box-shadow:0 30px 85px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.04);
}
body.home #agendar .next-booking-type.js-open-booking{
  min-height:127px;border-color:#4a535d!important;
  background:linear-gradient(160deg,#2a3036,#23282e)!important;
}
body.home #agendar .next-booking-type.js-open-booking:hover,
body.home #agendar .next-booking-type.js-open-booking:focus-visible{
  border-color:#90d5ff!important;background:#303b46!important;
}
body.home #agendar .next-booking-type strong{font-size:13px}
body.home #agendar .next-booking-type small{color:#c0c7d1}
/* Sistemas e serviços com superficies precisas, sem desmontar o carrossel existente. */
body.home #solucoes .section-head{max-width:1240px}
body.home #solucoes .section-head h2{max-width:16ch}
body.home #solucoes .service{
  border-color:rgba(125,174,211,.23);
  background:linear-gradient(150deg,rgba(45,79,112,.15),rgba(14,25,39,.13) 65%);
}
body.home #solucoes .service h3{color:#edf6ff}
body.home #solucoes .service p{color:#bbc9d9;line-height:1.64}
body.home #solucoes .service:hover{border-color:rgba(104,203,255,.62)}
body.home .next-office-overview,
body.home .next-commerce-pricing,
body.home .next-vertical-shell{box-shadow:0 24px 65px rgba(0,0,0,.12)}
body.home :is(#planos,#ecommerce-subscriptions,#oficina-facil,#escola-futebol) .btn,
body.home :is(#planos,#ecommerce-subscriptions,#oficina-facil,#escola-futebol) button{
  min-height:43px;
}
/* Pequeno guia de rolagem editorial, sem competir com conteúdo ou ajuda. */
body.home .wsv-story-rail{
  position:fixed;z-index:95;top:50%;left:15px;transform:translateY(-50%);
  display:flex;flex-direction:column;align-items:center;gap:13px;
  pointer-events:none;color:#a8c9e8;
  font:750 10px/1.1 'Space Grotesk',sans-serif;letter-spacing:.17em;
  text-shadow:0 2px 12px #050e1a;
}
body.home .wsv-story-rail-track{
  position:relative;width:2px;height:112px;background:rgba(123,172,204,.22);
  overflow:hidden;border-radius:3px;
}
body.home .wsv-story-rail-fill{
  position:absolute;inset:0;background:linear-gradient(#81dfff,#d8c7a6);
  transform-origin:top;transform:scaleY(var(--wsv-rail-progress,0));
}
body.home .wsv-story-rail-label{
  writing-mode:vertical-rl;text-transform:uppercase;max-height:130px;
  overflow:hidden;color:#a0b7ce;font-size:9px;letter-spacing:.13em;
}
body.home .wsv-story-rail-count{white-space:nowrap;writing-mode:vertical-rl}
/* Títulos e demos ganham profundidade conforme entram no viewport. */
@keyframes wsvNextScrollEnter{
  from{opacity:.48;transform:translate3d(0,27px,0) scale(.992)}
  to{opacity:1;transform:translate3d(0,0,0) scale(1)}
}
@supports ((animation-timeline: view()) and (animation-range: 0% 100%)){
  @media (prefers-reduced-motion:no-preference){
    body.home #agendar .next-booking-panel,
    body.home #solucoes .section-head h2,
    body.home #planos .next-office-copy,
    body.home #oficina-facil .next-vertical-head,
    body.home #escola-futebol .next-vertical-head,
    body.home #tecnologia .section-head h2,
    body.home #seguranca .section-head h2,
    body.home #como-trabalhamos .section-head h2{
      animation:wsvNextScrollEnter linear both;
      animation-timeline:view(block);
      animation-range:entry 0% cover 34%;
    }
  }
}
@media(min-width:1550px){
  body.home .wsv-story-rail{left:25px}
}
@media(max-width:1100px){
  body.home .wsv-story-rail{display:none}
  body.home #agendar.next-booking-showcase{padding-block:56px}
}
@media(max-width:720px){
  body.home #agendar .next-booking-layout{display:flex;flex-direction:column;gap:23px}
  body.home #agendar .next-booking-panel{order:-1;width:100%}
  body.home #agendar .next-booking-pitch{order:2;padding:0}
  body.home #agendar .next-booking-pitch h2{font-size:clamp(31px,8.5vw,44px);max-width:none;margin:12px 0}
  body.home #agendar .next-booking-pitch p{font-size:13px;line-height:1.6}
  body.home #agendar .next-booking-explore{margin-top:14px}
  body.home #agendar .next-booking-type.js-open-booking{min-height:114px}
  html:not([data-theme]) body.home .bolt-layer,
  html[data-theme] body.home .bolt-layer{opacity:.43!important}
  html:not([data-theme]) body.home .screen-flash,
  html[data-theme] body.home .screen-flash{display:none!important}
  body.home #solucoes .service{border-radius:13px}
}
@media(prefers-reduced-motion:reduce){
  html:not([data-theme]) body.home .bolt-layer,
  html:not([data-theme]) body.home .screen-flash,
  html[data-theme] body.home .bolt-layer,
  html[data-theme] body.home .screen-flash{display:none!important}
  body.home .wsv-story-rail-fill{transition:none}
  body.home #agendar .next-booking-type.js-open-booking{transition:none}
}

/* Detalhes de QA: âncora dos planos abaixo do ticker sticky e apoios sem cobrir preços. */
body.home #planos.next-pricing{
  scroll-margin-top:calc(var(--wsv-sticky-nav-bottom,110px) + 112px)!important;
}
@media(max-width:1550px){body.home .wsv-story-rail{display:none}}
@media(max-width:640px){
  html:not([data-theme]) body.home .wsv-help-launcher,
  html[data-theme] body.home .wsv-help-launcher{
    top:40%;bottom:auto;
    right:0;width:44px;min-width:44px;max-width:44px;height:48px;padding:9px 7px;
    border-radius:13px 0 0 13px;gap:0;font-size:0;
  }
  body.home .wsv-help-launcher svg{width:21px;height:21px}
  body.home .wsv-help-launcher span:not(.wsv-help-pulse){font-size:0;line-height:0}
}
