/* Cabecalho partilhado da Rivonte (11/11): logo azul, links a direita, Contactos em pilula cobalto, alinhado com as secoes (1180px). Copiado do index (rv-header-v4). */
/* Header v4 (11/11), so no index: logo azul, links a direita, Contactos em pilula cobalto (como no teste); letra Schibsted do header-v2 mantida */
@media(min-width:769px){
html:not(#_a):not(#_b):not(#_c):not(#_d) #nav{height:68px!important;justify-content:space-between!important;background:#fff!important;border-bottom:1px solid #ECEEF2!important;box-shadow:0 2px 14px rgba(0,0,0,.06)!important}
html:not(#_a):not(#_b):not(#_c):not(#_d) #nav .nav-logo{height:20px!important;width:auto!important}
html:not(#_a):not(#_b):not(#_c):not(#_d) #nav .nav-links{position:static!important;left:auto!important;transform:none!important;margin:0 0 0 auto!important;gap:1.6rem!important;align-items:center!important}
html:not(#_a):not(#_b):not(#_c):not(#_d) #nav .nav-links>li>a.nav-cta-btn{display:inline-flex!important;align-items:center!important;height:40px!important;padding:0 22px!important;background:#0B59BE!important;color:#fff!important;border:0!important;border-radius:8px!important;box-shadow:none!important;font-family:"Schibsted Grotesk","Inter",sans-serif!important;font-weight:600!important;font-size:15px!important;transition:background .2s!important}
html:not(#_a):not(#_b):not(#_c):not(#_d) #nav .nav-links>li>a.nav-cta-btn span{color:#fff!important;font-family:inherit!important;font-weight:inherit!important}
html:not(#_a):not(#_b):not(#_c):not(#_d) #nav .nav-links>li>a.nav-cta-btn::after{display:none!important}
html:not(#_a):not(#_b):not(#_c):not(#_d) #nav .nav-links>li>a.nav-cta-btn:hover{background:#094A9E!important}
}
/* HEADER ALINHADO */
html:not(#_a):not(#_b):not(#_c):not(#_d) #nav,html:not(#_a):not(#_b):not(#_c):not(#_d) #nav.scrolled{padding:0 max(20px,calc((100% - 1180px)/2 + 20px))!important}
html:not(#_a):not(#_b):not(#_c):not(#_d) #nav .riv-glitch-logo{display:block;line-height:0;}
html:not(#_a):not(#_b):not(#_c):not(#_d) #nav .riv-glitch-logo .nav-logo{opacity:1!important;mix-blend-mode:normal!important;animation:none!important}
html:not(#_a):not(#_b):not(#_c):not(#_d) #nav .riv-glitch-logo::before,#nav .riv-glitch-logo::after{display:none!important;animation:none!important}
@media(min-width:769px){
  html:not(#_a):not(#_b):not(#_c):not(#_d) #nav .nav-cta-btn{padding:0 22px!important;height:40px;display:inline-flex;align-items:center}
}
/* logo mais pequeno no telemovel (2026-11-12): 16px */
@media(max-width:768px){html:not(#_a):not(#_b):not(#_c):not(#_d) #nav .nav-logo{height:16px!important;width:auto!important;margin-left:2px!important}}
