/* RVA — menu único, isolado das regras antigas de cada página. */
#rva-header-root{display:block!important;position:relative!important;z-index:1100!important;font-family:Arial,Helvetica,sans-serif!important;color:#071f4a!important}
#rva-header-root *,#rva-header-root *::before,#rva-header-root *::after{box-sizing:border-box!important}
#rva-header-root .rva-shared-shell{width:calc(100% - 48px)!important;max-width:1296px!important;margin:0 auto!important}
#rva-header-root .rva-shared-topbar{height:38px!important;background:#081e47!important;color:#fff!important;font-size:12px!important;line-height:1!important}
#rva-header-root .rva-shared-topbar .rva-shared-shell{display:flex!important;height:100%!important;align-items:center!important;justify-content:space-between!important;gap:20px!important}
#rva-header-root .rva-shared-header{height:107px!important;background:#fff!important;box-shadow:0 12px 24px rgba(17,39,78,.07)!important;position:relative!important}
#rva-header-root .rva-shared-header-inner{height:100%!important;display:grid!important;grid-template-columns:158px minmax(0,1fr) 174px!important;column-gap:12px!important;align-items:center!important}
#rva-header-root .rva-shared-brand{display:flex!important;align-items:center!important;justify-content:flex-start!important;width:150px!important;min-width:0!important;height:88px!important;margin:0!important;padding:0!important;position:static!important;transform:none!important}
#rva-header-root .rva-shared-brand img{display:block!important;width:140px!important;max-width:140px!important;height:auto!important;max-height:80px!important;object-fit:contain!important;margin:0!important;position:static!important;transform:none!important}
#rva-header-root .rva-shared-nav{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;flex-wrap:nowrap!important;min-width:0!important;gap:0!important;height:44px!important;width:100%!important;margin:0!important;padding:0!important;background:transparent!important;position:static!important;box-shadow:none!important;overflow:visible!important;visibility:visible!important;opacity:1!important;transform:none!important}
#rva-header-root .rva-shared-link{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;white-space:nowrap!important;vertical-align:middle!important;text-decoration:none!important;color:#081e47!important;font-weight:700!important;font-size:11px!important;line-height:1.15!important;letter-spacing:0!important;height:42px!important;min-height:42px!important;margin:0!important;padding:0 5px!important;border:1px solid transparent!important;border-radius:9px!important;background:transparent!important;box-shadow:none!important;position:relative!important;top:0!important;transform:none!important;transition:color .15s,border-color .15s!important}
#rva-header-root .rva-shared-link:hover{color:#e51731!important}
#rva-header-root .rva-shared-link.is-current{background:#fff!important;color:#081e47!important;border-color:#d7e2f2!important;transform:none!important;top:0!important}
#rva-header-root .rva-shared-link.rva-shared-testimonial,#rva-header-root .rva-shared-link.rva-shared-testimonial.is-current{color:#e51731!important}
#rva-header-root .rva-shared-cta{display:flex!important;align-items:center!important;justify-content:center!important;background:#e71932!important;color:#fff!important;border-radius:12px!important;height:50px!important;line-height:1!important;font-size:12px!important;font-weight:700!important;text-align:center!important;text-decoration:none!important;white-space:nowrap!important;padding:0 10px!important;margin:0!important;border:0!important;transform:none!important}
#rva-header-root .rva-shared-dropdown{height:42px!important;display:flex!important;align-items:center!important;position:relative!important;flex:0 0 auto!important}
#rva-header-root .rva-shared-expand{display:none!important}
#rva-header-root .rva-shared-submenu{display:none!important;position:absolute!important;top:100%!important;left:0!important;min-width:330px!important;max-height:65vh!important;overflow-y:auto!important;padding:12px!important;background:#fff!important;border:1px solid #dce4ee!important;box-shadow:0 16px 36px #071e4626!important;border-radius:12px!important;z-index:1200!important}
#rva-header-root .rva-shared-submenu .rva-shared-link{width:100%!important;justify-content:flex-start!important;font-size:13px!important;height:auto!important;min-height:37px!important;white-space:normal!important;padding:10px!important}
#rva-header-root .rva-shared-dropdown:hover .rva-shared-submenu,#rva-header-root .rva-shared-dropdown:focus-within .rva-shared-submenu,#rva-header-root .rva-shared-dropdown.rva-shared-expanded .rva-shared-submenu{display:block!important}
#rva-header-root .rva-shared-hamburger{display:none!important}
@media(max-width:1200px) and (min-width:1181px){#rva-header-root .rva-shared-header-inner{grid-template-columns:140px minmax(0,1fr) 156px!important;column-gap:5px!important}#rva-header-root .rva-shared-brand{width:132px!important}#rva-header-root .rva-shared-brand img{width:126px!important}#rva-header-root .rva-shared-link{font-size:9.5px!important;padding:0 3px!important}#rva-header-root .rva-shared-cta{font-size:10px!important}}
@media(max-width:1180px){#rva-header-root .rva-shared-shell{width:calc(100% - 32px)!important}#rva-header-root .rva-shared-header{height:83px!important}#rva-header-root .rva-shared-header-inner{grid-template-columns:1fr 54px!important;column-gap:12px!important}#rva-header-root .rva-shared-brand{height:68px!important}#rva-header-root .rva-shared-brand img{width:120px!important}#rva-header-root .rva-shared-hamburger{display:flex!important;align-items:center!important;justify-content:center!important;height:43px!important;width:46px!important;font-size:26px!important;background:#fff!important;border:1px solid #d5e0ee!important;border-radius:8px!important;color:#071e47!important;cursor:pointer!important}#rva-header-root .rva-shared-cta{display:none!important}#rva-header-root .rva-shared-nav{display:none!important;position:absolute!important;top:83px!important;left:0!important;right:0!important;height:auto!important;max-height:calc(100vh - 121px)!important;overflow-y:auto!important;background:#fff!important;box-shadow:0 18px 24px #071e4622!important;padding:12px 16px!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;z-index:1200!important}#rva-header-root .rva-shared-nav.rva-shared-open{display:flex!important}#rva-header-root .rva-shared-nav>.rva-shared-link,#rva-header-root .rva-shared-dropdown>.rva-shared-link{width:100%!important;justify-content:flex-start!important;padding-left:14px!important;height:44px!important;font-size:14px!important}#rva-header-root .rva-shared-dropdown{width:100%!important;height:auto!important;flex-wrap:wrap!important}#rva-header-root .rva-shared-dropdown>.rva-shared-link{width:calc(100% - 46px)!important}#rva-header-root .rva-shared-expand{display:flex!important;align-items:center!important;justify-content:center!important;width:46px!important;height:42px!important;background:#f4f6fb!important;color:#071e47!important;border:0!important;border-radius:8px!important}#rva-header-root .rva-shared-submenu{display:none!important;position:static!important;min-width:0!important;width:100%!important;max-height:none!important;box-shadow:none!important;padding:5px 10px!important;border:0!important;border-left:2px solid #dae3f0!important;border-radius:0!important}#rva-header-root .rva-shared-dropdown:hover .rva-shared-submenu,#rva-header-root .rva-shared-dropdown:focus-within .rva-shared-submenu{display:none!important}#rva-header-root .rva-shared-dropdown.rva-shared-expanded .rva-shared-submenu{display:block!important}}
@media(max-width:520px){#rva-header-root .rva-shared-topbar{font-size:10px!important}#rva-header-root .rva-shared-topbar .rva-shared-shell span:last-child{display:none!important}}

/* Terceirização / Parcerias adicionadas sem deslocar o menu ativo. */
#rva-header-root .rva-shared-link{font-size:10px!important;padding-left:4px!important;padding-right:4px!important}
#rva-header-root .rva-shared-header-inner{grid-template-columns:150px minmax(0,1fr) 168px!important;column-gap:7px!important}
#rva-header-root .rva-shared-submenu{min-width:245px!important}
#rva-header-root .rva-shared-nav{gap:0!important}
#rva-header-root .rva-shared-link.is-current{top:0!important;transform:none!important}
@media(min-width:1181px) and (max-width:1330px){#rva-header-root .rva-shared-link{font-size:9px!important;padding-left:2px!important;padding-right:2px!important}#rva-header-root .rva-shared-header-inner{grid-template-columns:136px minmax(0,1fr) 152px!important;column-gap:3px!important}#rva-header-root .rva-shared-brand img{max-width:126px!important;width:126px!important}#rva-header-root .rva-shared-cta{font-size:10px!important}}
@media(max-width:1180px){#rva-header-root .rva-shared-header-inner{grid-template-columns:1fr 54px!important}#rva-header-root .rva-shared-nav .rva-shared-link{font-size:14px!important}}

/* Reforço do item principal Terceirização: sem pular ou sobrepor o logotipo. */
@media(min-width:1181px){
 #rva-header-root .rva-shared-nav{justify-content:center!important}
 #rva-header-root .rva-shared-dropdown[data-menu="terceirizacao"]{display:inline-flex!important;visibility:visible!important;opacity:1!important}
 #rva-header-root .rva-shared-dropdown[data-menu="terceirizacao"]>.rva-shared-link{display:inline-flex!important}
}
@media (min-width:1181px) and (max-width:1460px){
 #rva-header-root .rva-shared-header-inner{grid-template-columns:145px minmax(0,1fr) 164px!important;column-gap:6px!important}
 #rva-header-root .rva-shared-brand img{width:135px!important;max-width:135px!important}
 #rva-header-root .rva-shared-nav>.rva-shared-link,#rva-header-root .rva-shared-dropdown>.rva-shared-link{font-size:9.7px!important;padding-left:3px!important;padding-right:3px!important}
}

/* RVA mobile QA 2026-10-28: menus a partir de 1180px, sem sobreposicao de links. */
#rva-header-root .rva-shared-link:focus-visible,
#rva-header-root .rva-shared-cta:focus-visible,
#rva-header-root .rva-shared-hamburger:focus-visible,
#rva-header-root .rva-shared-expand:focus-visible {outline:3px solid #1d5ba9!important;outline-offset:2px!important;}
@media(max-width:1180px){
 #rva-header-root .rva-shared-nav{overscroll-behavior:contain!important;scrollbar-gutter:stable!important;}
 #rva-header-root .rva-shared-expand{cursor:pointer!important;min-height:44px!important;}
 #rva-header-root .rva-shared-topbar .rva-shared-shell{padding-inline:0!important;}
}

/* O CTA do topo nao some no mobile: ele reaparece ao final do menu aberto. */
#rva-header-root .rva-shared-mobile-cta{display:none!important;}
@media(max-width:1180px){
 #rva-header-root .rva-shared-mobile-cta{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:48px!important;padding:12px 18px!important;margin-top:9px!important;background:#e71932!important;color:white!important;text-decoration:none!important;font-size:14px!important;font-weight:700!important;border-radius:10px!important;}
 #rva-header-root .rva-shared-mobile-cta:focus-visible{outline:3px solid #1d5ba9!important;outline-offset:2px!important;}
}
