/* WVALENÇA | Correção isolada 12/10/2026: rodapé aprovado, menu ativo geométrico. */
:root{--wv-laranja:#E85D04;--wv-azul:#0F3B4C}
/* Não interfere no botão Interativo nem na animação própria dele. */
.nav-shell .nav-links>a:not(.wv-nav-interativo)[aria-current="page"],
body.wvi-page .wvi-nav>a:not(.wvi-nav-highlight)[aria-current="page"]{
 color:#fff!important;position:relative!important;z-index:0!important;
 transform:translateY(-1px)!important;filter:none!important;isolation:isolate;
 text-shadow:0 1px 2px rgba(0,0,0,.10);
}
.nav-shell .nav-links>a:not(.wv-nav-interativo)[aria-current="page"]::before,
body.wvi-page .wvi-nav>a:not(.wvi-nav-highlight)[aria-current="page"]::before{
 content:""!important;display:block!important;position:absolute!important;
 z-index:-1!important;inset:-2px -6px!important;opacity:1!important;
 border-radius:0!important;transform:translateY(0) scale(1) rotate(0)!important;
 animation:none!important;transition:background-color .2s ease,transform .2s ease!important;
 filter:drop-shadow(0 6px 9px rgba(7,31,42,.16))!important;
 background:var(--wv-active-fill,#E85D04)!important;
 /* O polígono usado no hover será reestabelecido por posição logo abaixo. */
}
/* As formas abaixo reproduzem os desenhos já aprovados para os 9 botões. */
.nav-shell .nav-links>a:nth-child(1):not(.wv-nav-interativo)[aria-current="page"]::before,
body.wvi-page .wvi-nav>a:nth-child(1):not(.wvi-nav-highlight)[aria-current="page"]::before{clip-path:polygon(50% 0,100% 48%,50% 100%,0 48%)!important}
.nav-shell .nav-links>a:nth-child(2):not(.wv-nav-interativo)[aria-current="page"]::before,
body.wvi-page .wvi-nav>a:nth-child(2):not(.wvi-nav-highlight)[aria-current="page"]::before{clip-path:polygon(12% 0,100% 0,86% 100%,0 86%)!important}
.nav-shell .nav-links>a:nth-child(3):not(.wv-nav-interativo)[aria-current="page"]::before,
body.wvi-page .wvi-nav>a:nth-child(3):not(.wvi-nav-highlight)[aria-current="page"]::before{clip-path:polygon(0 18%,80% 0,100% 48%,91% 100%,12% 84%)!important}
.nav-shell .nav-links>a:nth-child(4):not(.wv-nav-interativo)[aria-current="page"]::before,
body.wvi-page .wvi-nav>a:nth-child(4):not(.wvi-nav-highlight)[aria-current="page"]::before{clip-path:polygon(10% 0,90% 0,100% 50%,90% 100%,10% 100%,0 50%)!important}
.nav-shell .nav-links>a:nth-child(5):not(.wv-nav-interativo)[aria-current="page"]::before,
body.wvi-page .wvi-nav>a:nth-child(5):not(.wvi-nav-highlight)[aria-current="page"]::before{clip-path:polygon(0 22%,86% 0,100% 80%,12% 100%)!important}
.nav-shell .nav-links>a:nth-child(6):not(.wv-nav-interativo)[aria-current="page"]::before,
body.wvi-page .wvi-nav>a:nth-child(6):not(.wvi-nav-highlight)[aria-current="page"]::before{clip-path:polygon(0 0,100% 15%,93% 100%,8% 92%)!important}
.nav-shell .nav-links>a:nth-child(8):not(.wv-nav-interativo)[aria-current="page"]::before,
body.wvi-page .wvi-nav>a:nth-child(8):not(.wvi-nav-highlight)[aria-current="page"]::before{clip-path:polygon(15% 0,100% 0,86% 100%,0 88%)!important}
.nav-shell .nav-links>a:nth-child(9):not(.wv-nav-interativo)[aria-current="page"]::before,
body.wvi-page .wvi-nav>a:nth-child(9):not(.wvi-nav-highlight)[aria-current="page"]::before{clip-path:polygon(0 15%,89% 0,100% 100%,12% 87%)!important}
/* Hover azul -> selecionado laranja, hover laranja -> selecionado azul. */
.nav-shell .nav-links>a:nth-child(1){--wv-active-fill:#E85D04}
.nav-shell .nav-links>a:nth-child(2){--wv-active-fill:#0F3B4C}
.nav-shell .nav-links>a:nth-child(3){--wv-active-fill:#E85D04}
.nav-shell .nav-links>a:nth-child(4){--wv-active-fill:#0F3B4C}
.nav-shell .nav-links>a:nth-child(5){--wv-active-fill:#E85D04}
.nav-shell .nav-links>a:nth-child(6){--wv-active-fill:#0F3B4C}
.nav-shell .nav-links>a:nth-child(8){--wv-active-fill:#0F3B4C}
.nav-shell .nav-links>a:nth-child(9){--wv-active-fill:#0F3B4C}
/* Espanhol: cor normal do hover no menu é azul, inverso selecionado é laranja. */
body.wvi-page .wvi-nav>a:not(.wvi-nav-highlight){--wv-active-fill:#E85D04}
/* A figura selecionada não muda para a cor do hover ao passar o mouse. */
.nav-shell .nav-links>a:not(.wv-nav-interativo)[aria-current="page"]:hover::before,
body.wvi-page .wvi-nav>a:not(.wvi-nav-highlight)[aria-current="page"]:hover::before{
 background:var(--wv-active-fill,#E85D04)!important;opacity:1!important;transform:none!important;
}
/* Preserva o destaque próprio de Interativo. */
.nav-shell .nav-links>a.wv-nav-interativo[aria-current],body.wvi-page .wvi-nav>a.wvi-nav-highlight[aria-current]{
 color:#fff!important;
}
/* Rodapé: isola alturas e tipografias do restante das páginas e dos artigos. */
body footer.wv-footer-v2{font:400 15px/1.6 Inter,"Segoe UI",Arial,sans-serif!important;background:linear-gradient(140deg,#fffefd 0%,#fcfaf6 62%,#f8f6f0 100%)!important;color:#0F3B4C!important;max-width:100%;overflow:hidden}
body footer.wv-footer-v2 .wv-footer-v2__inner{display:block!important;width:min(1320px,calc(100% - 96px))!important;margin:0 auto!important;padding:48px 0 0!important}
body footer.wv-footer-v2 .wv-footer-v2__grid{display:grid!important;grid-template-columns:minmax(255px,1.5fr) minmax(185px,1.05fr) minmax(160px,.88fr) minmax(230px,1.12fr)!important;align-items:start!important;gap:clamp(22px,2.65vw,42px)!important}
body footer.wv-footer-v2 .wv-footer-v2__brand{min-width:0!important;padding-right:10px}
body footer.wv-footer-v2 .wv-footer-v2__logo{display:inline-block!important;max-width:100%!important}
body footer.wv-footer-v2 .wv-footer-v2__logo img{display:block!important;width:min(100%,252px)!important;height:auto!important;max-height:85px!important;object-fit:contain!important}
body footer.wv-footer-v2 .wv-footer-v2__slogan{font-size:clamp(16px,1.52vw,20px)!important;line-height:1.42!important;letter-spacing:-.035em!important;max-width:340px!important;margin:15px 0 8px!important;color:#0F3B4C!important;font-weight:400!important}
body footer.wv-footer-v2 .wv-footer-v2__slogan strong{font-weight:820!important;color:#0F3B4C!important}
body footer.wv-footer-v2 .wv-footer-v2__slogan .wv-footer-v2__que{font-weight:400!important;color:#0F3B4C!important}
body footer.wv-footer-v2 .wv-footer-v2__slogan .wv-footer-v2__orange{color:#E85D04!important;font-weight:820!important}
body footer.wv-footer-v2 .wv-footer-v2__support{font-size:13.5px!important;font-weight:400!important;line-height:1.62!important;max-width:310px!important;margin:0 0 12px!important;color:#61737B!important}
body footer.wv-footer-v2 .wv-footer-v2__descriptor{font-size:9px!important;line-height:1.6!important;font-weight:700!important;letter-spacing:.13em!important;color:#46636F!important;margin:0!important}
body footer.wv-footer-v2 .wv-footer-v2__col{display:block!important;min-width:0!important;padding:0!important;margin:0!important}
body footer.wv-footer-v2 .wv-footer-v2__title{display:flex!important;align-items:center!important;gap:10px!important;margin:4px 0 17px!important;white-space:normal!important;font-size:11px!important;line-height:1.5!important;letter-spacing:.15em!important;font-weight:820!important;text-transform:uppercase!important;color:#0F3B4C!important;max-width:none!important}
body footer.wv-footer-v2 .wv-footer-v2__links{display:grid!important;gap:3px!important}
body footer.wv-footer-v2 .wv-footer-v2__links a{font-size:13.5px!important;line-height:1.55!important;min-height:28px!important;padding:4px 0!important;font-weight:650!important;color:#526872!important;max-width:100%!important;width:fit-content!important;text-transform:none!important;letter-spacing:normal!important}
body footer.wv-footer-v2 .wv-footer-v2__links a:hover,body footer.wv-footer-v2 .wv-footer-v2__links a:focus-visible{color:#E85D04!important}
body footer.wv-footer-v2 .wv-footer-v2__social{display:flex!important;align-items:center!important;justify-content:center!important;gap:clamp(10px,1.6vw,20px)!important;flex-wrap:nowrap!important;max-width:100%!important;margin:32px auto 0!important;padding:20px 12px!important;background:linear-gradient(105deg,rgba(15,59,76,.022),rgba(232,93,4,.025))!important;border:1px solid rgba(15,59,76,.11)!important;border-radius:12px!important}
body footer.wv-footer-v2 .wv-footer-v2__social a{width:clamp(48px,4vw,58px)!important;height:clamp(48px,4vw,58px)!important;flex:0 0 auto!important;border-radius:13px!important;background:linear-gradient(145deg,#ff7a20,#E85D04 65%,#c44607)!important;display:grid!important;place-items:center!important;padding:0!important}
body footer.wv-footer-v2 .wv-footer-v2__social a svg{width:clamp(28px,2.5vw,34px)!important;height:clamp(28px,2.5vw,34px)!important;max-width:80%!important;max-height:80%!important;display:block!important}
body footer.wv-footer-v2 .wv-footer-v2__legal{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:9px 22px!important;flex-wrap:wrap!important;font-size:11px!important;line-height:1.6!important;padding:20px 0 22px!important;color:#6A7D83!important}
/* O botão oficial não deve ser coberto pelo player de música. */
@media(max-width:1150px){body footer.wv-footer-v2 .wv-footer-v2__grid{grid-template-columns:minmax(260px,1.3fr) minmax(170px,1fr) minmax(200px,1.1fr)!important}body footer.wv-footer-v2 .wv-footer-v2__brand{grid-column:1/-1!important;padding-bottom:9px!important;border-bottom:1px solid rgba(15,59,76,.08)}}
@media(max-width:760px){body footer.wv-footer-v2 .wv-footer-v2__inner{width:calc(100% - 40px)!important;padding-top:36px!important}body footer.wv-footer-v2 .wv-footer-v2__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px 19px!important}body footer.wv-footer-v2 .wv-footer-v2__brand{grid-column:1/-1!important}body footer.wv-footer-v2 .wv-footer-v2__col:last-child{grid-column:1/-1!important}}
@media(max-width:420px){body footer.wv-footer-v2 .wv-footer-v2__inner{width:calc(100% - 32px)!important}body footer.wv-footer-v2 .wv-footer-v2__grid{gap:22px 14px!important}body footer.wv-footer-v2 .wv-footer-v2__title{font-size:10px!important;letter-spacing:.10em!important}body footer.wv-footer-v2 .wv-footer-v2__links a{font-size:12px!important;line-height:1.5!important}body footer.wv-footer-v2 .wv-footer-v2__social a{width:48px!important;height:48px!important}body footer.wv-footer-v2 .wv-footer-v2__social a svg{width:28px!important;height:28px!important}body footer.wv-footer-v2 .wv-footer-v2__legal{flex-direction:column!important;align-items:flex-start!important;font-size:10px!important}}
@media(prefers-reduced-motion:reduce){body footer.wv-footer-v2 a,.nav-shell .nav-links>a:not(.wv-nav-interativo)[aria-current="page"]::before,body.wvi-page .wvi-nav>a:not(.wvi-nav-highlight)[aria-current="page"]::before{animation:none!important;transition:none!important}}
/* Fallback de acesso ao VLibras (apenas mostrado se o serviço estiver indisponível). */
#wv-libras-retry{position:fixed;left:16px;bottom:18px;z-index:2147482600;border:1px solid #E85D04;border-radius:10px;padding:10px 13px;background:#0F3B4C;color:#fff;font:700 12px/1.4 Inter,Arial,sans-serif;box-shadow:0 9px 19px rgba(0,0,0,.15);cursor:pointer}
#wv-libras-retry[hidden]{display:none!important}
#wv-libras-retry:focus-visible{outline:3px solid #E85D04;outline-offset:3px}
