/* Cabeçalho público compartilhado da Novea. */
:root { --nv-brand-blue: #33d7ff; }
.nv-header-stack { position: sticky; top: 0; z-index: 1000; }
.nv-referral-wrap { position: relative; }
.nv-referral-wrap[hidden] { display: none; }
.nv-referral-wrap .nv-referral { padding-inline: 44px; }
.nv-referral-close { position: absolute; right: 4px; top: 0; display: grid; place-items: center; width: 36px; height: 36px; padding: 9px; color: #2D3345; background: transparent; border: 0; cursor: pointer; }
.nv-referral-close svg { width: 18px; height: 18px; }
.nv-referral-close:hover { background: #ffffff40; }
.nv-referral-close:focus-visible { outline: 2px solid #2D3345; outline-offset: -4px; }
.nv-referral { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 14px; min-height: 36px; padding: 8px 20px; background: var(--nv-brand-blue); color: #2D3345; text-align: center; font-size: 13px; line-height: 1.5; text-decoration: none; }
.nv-referral strong { font-weight: 700; }
.nv-referral-icon { flex: 0 0 18px; width: 18px; height: 18px; }
.nv-referral-cta { font-weight: 600; white-space: nowrap; }
.nv-referral:hover .nv-referral-cta { text-decoration: underline; text-underline-offset: 3px; }
.nv-referral:focus-visible { outline: 2px solid #031428; outline-offset: -4px; }
#mainHeader.nv-header { position: relative; top: 0; z-index: 1000; background: #fff; color: #2D3345; border-bottom: 1px solid #e8edf1; animation: none; transform: none; font-size: 15px; }
#mainHeader #headerContent.nv-bar { width: 100%; max-width: none; height: 84px; padding: 0 24px; margin: auto; display: flex; align-items: center; justify-content: space-around; gap: 24px; flex-wrap: nowrap; }
.nv-brand { flex-shrink: 0; display: flex; align-items: center; }
#mainHeader #logo { width: 195px; height: 82px; object-fit: contain; transform: none; }
.nv-nav, .nv-actions { display: flex; align-items: center; gap: 24px; }
.nv-nav { margin-left: 0; }
.nv-actions { gap: 16px; }
.nv-actions > .nv-cta { margin-left: 20px; }
.nv-header a { text-decoration: none; }
.nv-link { display: inline-flex; align-items: center; gap: 7px; padding: 12px 0; background: transparent; border: 0; font: inherit; font-weight: 600; color: #616A76; cursor: pointer; white-space: nowrap; transition: color 180ms; }
.nv-link:hover, .nv-drop[data-open] > .nv-link { color: #616A76; }
#mainHeader .nv-login > .nv-link,
#mainHeader .nv-login[data-open] > .nv-link,
#mainHeader .nv-login > .nv-link:hover,
#mainHeader .nv-mobile > details:last-of-type > summary,
#mainHeader .nv-actions > .nv-cta,
#mainHeader .nv-mobile > .nv-cta { color: #2D3345; }
.nv-chevron { width: 7px; height: 7px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); transition: transform 200ms; margin: -4px 2px 0; }
.nv-drop[data-open] .nv-chevron { transform: rotate(225deg); margin-top: 3px; }
.nv-drop { position: relative; }
.nv-panel { position: absolute; top: 100%; left: -20px; padding-top: 14px; width: 540px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 200ms, transform 200ms, visibility 200ms; pointer-events: none; }
.nv-drop[data-open] > .nv-panel { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.nv-panel-inner { padding: 14px; border: 1px solid #e4ebef; border-radius: 16px; background: #fff; box-shadow: 0 16px 40px #0314281a; }
.nv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.nv-caption { margin: 4px 12px 12px; color: #657587; font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.nv-card { display: block; padding: 12px; border-radius: 10px; color: #2D3345; transition: background 180ms, color 180ms; }
.nv-card:hover { background: #eff9fc; color: #087f9e; }
.nv-card strong { display: block; font-size: 15px; font-weight: 600; }
.nv-card small { display: block; margin-top: 4px; font-size: 12px; line-height: 1.55; color: #637487; }
.nv-login .nv-panel { left: auto; right: 0; width: 250px; }
.nv-solutions-drop, .nv-contents-drop { position: static; }
#mainHeader #headerContent.nv-bar, #mainHeader .nv-nav { transform: none; }
.nv-mega.nv-panel { left: 0; right: 0; top: 100%; width: 100%; padding: 0; background: #fff; border: 1px solid #0f10120f; border-top-color: #0f101214; border-radius: 0 0 20px 20px; box-shadow: none; max-height: var(--nv-menu-space, calc(100dvh - 130px)); overflow-y: auto; overscroll-behavior: contain; }
.nv-mega-inner { width: 100%; margin: auto; padding: 34px max(28px, calc((100% - 1120px) / 2 + 24px)) 46px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: clamp(28px, 4vw, 58px); font-family: 'Manrope', Arial, sans-serif; }
.nv-mega-column { min-width: 0; display: grid; align-content: start; gap: 12px; }
.nv-mega-column + .nv-mega-column { border: 0; padding: 0; }
.nv-mega-heading { margin: 0 0 8px; font-family: 'Manrope', Arial, sans-serif; font-size: 15px; font-weight: 700; line-height: 1.2; letter-spacing: 0; text-transform: none; color: #2D3345; }
.nv-card.nv-service { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 58px; padding: 0; margin: 0; border-radius: 0; transition: transform 180ms ease; }
.nv-card.nv-service:hover, .nv-card.nv-service:focus-visible { background: transparent; transform: translateX(2px); }
.nv-service > span:last-child { min-width: 0; }
.nv-service { font-family: 'Manrope', Arial, sans-serif; letter-spacing: 0; }
.nv-service strong { font-size: 13px; line-height: 1.2; font-weight: 700; color: #2D3345; }
.nv-service small { margin-top: 3px; font-size: 12px; line-height: 1.32; font-weight: 500; color: #697182; }
.nv-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 38px; width: 38px; height: 38px; border: 1px solid #33d7ff29; border-radius: 9px; background: #33d7ff14; color: var(--nv-brand-blue); transition: background 180ms ease, color 180ms ease, transform 180ms ease; }
.nv-icon svg { width: 18px; height: 18px; }
.nv-service:hover .nv-icon, .nv-service:focus-visible .nv-icon { background: var(--nv-brand-blue); color: #2D3345; transform: scale(1.04); }
.nv-mega-feature { display: grid; align-content: start; min-width: 0; padding: 0; border-radius: 0; background: transparent; border: 0; }
.nv-mega-feature > .nv-icon { display: none; }
.nv-mega-feature .nv-mega-heading { margin-bottom: 8px; }
.nv-mega-feature > strong { display: block; font-size: 13px; font-weight: 700; line-height: 1.25; color: #2D3345; }
.nv-mega-feature > p:not(.nv-mega-heading) { margin: 8px 0 12px; font-size: 12px; font-weight: 500; line-height: 1.36; color: #697182; }
.nv-mega-feature > a { font-size: 12px; font-weight: 700; color: #2D3345; }
.nv-mega-feature > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nv-contents-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nv-service[aria-disabled=true] { cursor: default; }
.nv-service[aria-disabled=true]:hover { transform: none; }
.nv-service[aria-disabled=true]:hover .nv-icon { background: #33d7ff14; color: var(--nv-brand-blue); transform: none; }
.nv-latest-cover { display: block; position: relative; overflow: hidden; width: 100%; aspect-ratio: 2.7; border-radius: 14px; margin: 4px 0 14px; background: #edf7f9; }
.nv-latest-cover[hidden] { display: none; }
.nv-latest-cover .cover { width: 100%; min-height: 0; height: 100%; color: #142d3b; }
.nv-latest-cover .cover-art { position: absolute; width: 320px; max-width: none; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.48) rotate(-5deg); }
.nv-latest-cover .mei .cover-art { transform: translate(-50%, -50%) scale(.48) rotate(4deg); }
.nv-latest-cover .tax-sheet strong { color: #142d3b; font-size: 29px; line-height: 1.15; }
.nv-latest-cover .cover:before, .nv-latest-cover .cover:after { pointer-events: none; }
.nv-latest [data-nv-excerpt] { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
#mainHeader .nv-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 18px; border-radius: 24px; background: var(--nv-brand-blue); color: #616A76; font-size: 15px; font-weight: 600; white-space: nowrap; box-shadow: 0 3px 8px #33d7ff18; transition: background 180ms; animation: none; }
#mainHeader .nv-cta:hover { background: #21c8f0; }
.nv-header :is(a, button, summary):focus-visible { outline: 2px solid #159fbe; outline-offset: 4px; }
#mainHeader #btnMenu { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: #f3f7f9; cursor: pointer; padding: 12px; }
#btnMenu span { display: block; height: 2px; width: 20px; margin: 4px 0; background: #031428; transition: transform 200ms, opacity 200ms; }
#btnMenu[aria-expanded=true] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
#btnMenu[aria-expanded=true] span:nth-child(2) { opacity: 0; }
#btnMenu[aria-expanded=true] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
#mainHeader #mobileMenu { display: none; }
#mainHeader #progressBar { position: absolute; bottom: 0; height: 2px; background: #21add6; pointer-events: none; }
@media (max-width: 1050px) {
  #mainHeader #headerContent.nv-bar { height: 72px; padding: 0 20px; gap: 12px; justify-content: space-between; }
  #mainHeader #logo { width: 175px; height: 72px; }
  .nv-nav, .nv-actions { display: none; }
  #mainHeader #btnMenu { display: block; }
  #mainHeader #mobileMenu:not(.hidden) { display: block; position: absolute; top: 100%; left: 0; width: 100%; height: auto; max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain; background: #fff; padding: 12px 20px 24px; border-top: 1px solid #e8edf1; box-shadow: 0 18px 30px #03142814; animation: nv-menu-in 200ms ease-out; }
  .nv-mobile > a:not(.nv-cta), .nv-mobile summary { display: block; padding: 14px 0; color: #616A76; font-size: 15px; cursor: pointer; }
  .nv-mobile details { border-bottom: 1px solid #edf1f4; }
  .nv-mobile summary { list-style: none; display: flex; justify-content: space-between; font-weight: 600; }
  .nv-mobile summary::-webkit-details-marker { display: none; }
  .nv-mobile summary::after { content: '+'; font-size: 18px; line-height: 20px; }
  .nv-mobile details[open] summary::after { content: '−'; }
  .nv-mobile details[open] > div { animation: nv-menu-in 200ms ease-out; padding-bottom: 8px; }
  .nv-mobile-solutions .nv-mega-column { border: 0; padding: 16px 0 8px; }
  .nv-mobile-solutions .nv-mega-column + .nv-mega-column { border: 0; }
  .nv-mobile-solutions .nv-mega-heading { margin-bottom: 8px; }
  #mainHeader .nv-mobile > .nv-cta { display: flex; margin-top: 20px; min-height: 44px; }
}
@media (max-width: 540px) {
  .nv-referral { gap: 3px 8px; padding: 8px 16px; font-size: 12px; }
  .nv-referral-copy { flex-basis: 100%; order: 1; }
}
@keyframes nv-menu-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .nv-header *, #mainHeader #mobileMenu:not(.hidden) { animation: none !important; transition: none !important; } }
