/* WVALENÇA | Transição WV: diagonal azul-petróleo, luz laranja e monograma original. */
html.wv-page-arriving::before,
html.wv-page-leaving::before{
  content:"";position:fixed;inset:0;z-index:2147483600;pointer-events:none;
  background:
    linear-gradient(131deg,rgba(255,102,0,.17) 0%,transparent 28%),
    linear-gradient(108deg,#041720 0%,#0a2937 51%,#134457 74%,#061b26 100%);
}
html.wv-page-arriving::after,html.wv-page-leaving::after{
  content:"";position:fixed;z-index:2147483601;pointer-events:none;
  width:clamp(115px,19vw,260px);height:clamp(115px,19vw,260px);
  left:50%;top:49%;background:url('/assets/monograma-wv-novo-transparente.png') center/contain no-repeat;
  filter:drop-shadow(0 14px 28px rgba(0,0,0,.42)) drop-shadow(0 0 25px rgba(255,103,20,.17));
}
html.wv-page-arriving::before{animation:wvEntranceCurtain .82s cubic-bezier(.22,.7,.15,1) both;}
html.wv-page-arriving::after{animation:wvEntranceLogo .82s cubic-bezier(.18,.78,.22,1) both;}
html.wv-page-arriving body{animation:wvEntranceContent .66s ease-out .18s both;}
html.wv-page-leaving::before{animation:wvLeaveCurtain .24s ease-out both;}
html.wv-page-leaving::after{animation:wvLeaveLogo .24s ease-out both;}
@keyframes wvEntranceCurtain{
  0%,45%{opacity:1;clip-path:inset(0 0 0 0)}
  100%{opacity:0;clip-path:inset(0 0 0 100%)}
}
@keyframes wvEntranceLogo{
  0%{opacity:0;transform:translate(-50%,-47%) scale(.84) rotate(-4deg)}
  22%,46%{opacity:1;transform:translate(-50%,-50%) scale(1)}
  76%{opacity:.66;transform:translate(-44%,-50%) scale(1.07)}
  100%{opacity:0;transform:translate(20%,-50%) scale(1.13)}
}
@keyframes wvEntranceContent{from{opacity:.64;transform:translateY(11px)}to{opacity:1;transform:none}}
@keyframes wvLeaveCurtain{from{opacity:0;clip-path:inset(0 100% 0 0)}to{opacity:1;clip-path:inset(0 0 0 0)}}
@keyframes wvLeaveLogo{from{opacity:0;transform:translate(-52%,-50%) scale(.88)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
@media(prefers-reduced-motion:reduce){
  html.wv-page-arriving::before,html.wv-page-arriving::after,
  html.wv-page-leaving::before,html.wv-page-leaving::after{display:none!important;animation:none!important}
  html.wv-page-arriving body{animation:none!important;opacity:1!important;transform:none!important}
}
