/* =====================================================
   HEADER BASE
===================================================== */

.site-header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background .24s cubic-bezier(.22,.61,.36,1),
    border-color .24s cubic-bezier(.22,.61,.36,1),
    box-shadow .24s cubic-bezier(.22,.61,.36,1);
}

.site-header.is-scrolled{
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
  box-shadow:
    0 14px 34px rgba(0,0,0,.18),
    0 0 24px rgba(0,209,255,.05);
}

.header-shell{
  position: relative;
}

.header-inner{
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 78px;
  padding: 12px 0;
}

/* =====================================================
   BRAND (LOGO COMPLETO)
===================================================== */

.brand{
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 0;
  width: 240px;
  max-width: 240px;
}

.brand-logo-full{
  display: block;
  width: auto;
  height: 54px;
  max-width: 100%;
  object-fit: contain;
  opacity: 1 !important;
  filter: none !important;
}

:root[data-theme="light"] .brand-logo-full{
  opacity: 1 !important;
  filter: none !important;
}

/* =====================================================
   NAV WRAPPER
===================================================== */

.nav.nav-desktop{
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.02),
    0 14px 30px rgba(0,0,0,.18);
  width: fit-content;
  max-width: 760px;
  margin: 0 auto;
}

/* =====================================================
   NAV LINKS
===================================================== */

.nav a{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 14px;
  color: rgba(234,241,255,.88);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .15px;
  background: transparent;
  border: 1px solid transparent;
  transition:
    color .18s ease,
    background .18s ease,
    border-color .18s ease,
    transform .18s ease,
    box-shadow .18s ease;
  cursor: pointer;
  white-space: nowrap;
}

.nav a span{
  position: relative;
  z-index: 1;
}

.nav a:hover{
  color: #ffffff;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-color: rgba(255,255,255,.08);
  transform: translateY(-1px);
  box-shadow:
    0 10px 22px rgba(0,0,0,.14),
    0 0 12px rgba(0,209,255,.06);
}

.nav a.is-active,
.nav a[aria-current="page"]{
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(47,123,255,.22), rgba(0,209,255,.12));
  border-color: rgba(0,209,255,.24);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.04),
    0 10px 22px rgba(0,0,0,.16),
    0 0 14px rgba(0,209,255,.10);
}

.nav a:focus-visible,
.nav-dropdown__toggle:focus-visible{
  outline: 2px solid color-mix(in srgb, var(--accent) 55%, transparent);
  outline-offset: 3px;
}

/* =====================================================
   COMPLIANCE DROPDOWN
===================================================== */

.nav-dropdown{
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown__toggle{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  color: rgba(234,241,255,.92);
  font-weight: 700;
  letter-spacing: .15px;
  cursor: pointer;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.02),
    0 10px 20px rgba(0,0,0,.12);
  transition:
    transform .18s ease,
    color .18s ease,
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
  white-space: nowrap;
}

.nav-dropdown__toggle:hover{
  color: #ffffff;
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
}

.nav-dropdown__toggle[aria-expanded="true"],
.nav-dropdown:hover .nav-dropdown__toggle,
.nav-dropdown:focus-within .nav-dropdown__toggle{
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(47,123,255,.20), rgba(0,209,255,.12));
  border-color: rgba(0,209,255,.22);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.03),
    0 10px 22px rgba(0,0,0,.16),
    0 0 14px rgba(0,209,255,.08);
}

.nav-dropdown__caret{
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform .16s ease;
}

.nav-dropdown__menu{
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 220px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 18px 44px rgba(0,0,0,.24),
    0 0 22px rgba(0,209,255,.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity .18s ease,
    visibility .18s ease,
    transform .18s ease;
  z-index: 1002;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown:hover .nav-dropdown__caret,
.nav-dropdown:focus-within .nav-dropdown__caret{
  transform: rotate(225deg) translateY(-1px);
}

.nav-dropdown__item{
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  background: transparent;
  border: 1px solid transparent;
  font-weight: 600;
  transition:
    background .14s ease,
    border-color .14s ease,
    transform .14s ease,
    box-shadow .14s ease;
}

.nav-dropdown__item:hover{
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border-color: var(--border);
  transform: translateX(2px);
  box-shadow: 0 0 12px rgba(0,209,255,.06);
}

.nav-dropdown__item.is-active{
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(47,123,255,.18), rgba(0,209,255,.10));
  border-color: rgba(0,209,255,.18);
}

/* =====================================================
   ACTIONS
===================================================== */

.header-actions{
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
  flex-shrink: 0;
}

.header-theme{
  display: flex;
  align-items: center;
}

/* =====================================================
   THEME SWITCH (CORRIGIDO)
===================================================== */

.theme-toggle.sh-switch{
  width: 58px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.theme-toggle.sh-switch:focus-visible{
  outline: 2px solid rgba(120,190,255,.55);
  outline-offset: 4px;
}

.sh-switch__track{
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(120,190,255,.10);
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

.sh-switch__thumb{
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 25%,
      rgba(255,255,255,.96),
      rgba(255,255,255,.60) 55%,
      rgba(255,255,255,.36)
    ),
    linear-gradient(180deg, rgba(255,255,255,.58), rgba(255,255,255,.24));
  box-shadow:
    0 8px 16px rgba(0,0,0,.35),
    0 0 0 1px rgba(255,255,255,.16) inset;
  position: absolute;
  left: 4px;
  transition:
    transform .24s cubic-bezier(.22,.61,.36,1),
    box-shadow .18s ease;
}

.theme-toggle.sh-switch:hover .sh-switch__track{
  border-color: rgba(120,190,255,.22);
  box-shadow:
    0 10px 22px rgba(0,0,0,.22),
    0 0 10px rgba(70,160,255,.06);
}

/* =====================================================
   MENU MOBILE
===================================================== */

.menu-toggle{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: none;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.menu-toggle:hover{
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 30%, var(--border));
  box-shadow:
    0 10px 24px rgba(0,0,0,.18),
    0 0 12px rgba(0,209,255,.08);
}

.menu-toggle:active{
  transform: scale(.92);
}

.menu-toggle__icon{
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  position: relative;
  display: block;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after{
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.menu-toggle__icon::before{ top: -6px; }
.menu-toggle__icon::after{ top: 6px; }

/* =====================================================
   MOBILE OVERLAY + MENU PANEL
===================================================== */

.mobile-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
  z-index: 998;
}

.mobile-menu{
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(86vw, 360px);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-left: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateX(102%);
  transition: transform .22s ease;
  z-index: 999;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 18px;
}

.mobile-menu__header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.mobile-brand{
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-brand__logo{
  width: auto;
  height: 34px;
  object-fit: contain;
}

.mobile-close{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--text);
}

.mobile-nav{
  padding-top: 14px;
  display: grid;
  gap: 10px;
}

.mobile-nav a{
  padding: 12px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  background: transparent;
  border: 1px solid transparent;
  transition: background .14s ease, border-color .14s ease, transform .14s ease;
}

.mobile-nav a:hover,
.mobile-nav a.is-active{
  background: var(--surface-2);
  border-color: var(--border);
  transform: translateX(2px);
}

.mobile-compliance-group{
  display: grid;
  gap: 10px;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}

.mobile-compliance-title{
  color: var(--muted);
  font-weight: 800;
  letter-spacing: .2px;
  padding: 0 4px;
}

.mobile-nav__conduct{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .2px;
  color: #ffffff;
  border: 1px solid rgba(0,209,255,.20);
  background:
    linear-gradient(135deg, rgba(47,123,255,.20), rgba(0,209,255,.12));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.03),
    0 12px 26px rgba(0,0,0,.18);
  transition:
    transform .16s ease,
    border-color .16s ease,
    background .16s ease,
    box-shadow .16s ease;
}

.mobile-nav__conduct:hover,
.mobile-nav__conduct.is-active{
  transform: translateX(2px);
  border-color: rgba(0,209,255,.40);
  background:
    linear-gradient(135deg, rgba(47,123,255,.28), rgba(0,209,255,.18));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.04),
    0 14px 28px rgba(0,0,0,.22),
    0 0 14px rgba(0,209,255,.08);
}

.mobile-menu__footer{
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-menu__hint{
  color: var(--muted);
  font-weight: 800;
}

/* =====================================================
   OPEN STATE
===================================================== */

:root.menu-open .mobile-overlay{
  opacity: 1;
  pointer-events: auto;
}

:root.menu-open .mobile-menu{
  transform: translateX(0);
}

:root.menu-open body{
  overflow: hidden;
}

/* =====================================================
   LIGHT THEME
===================================================== */

:root[data-theme="light"] .site-header{
  background:
    linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(245,248,255,.94) 100%);
  border-bottom: 1px solid rgba(15,23,42,.08);
  box-shadow:
    0 10px 26px rgba(15,23,42,.08);
}

:root[data-theme="light"] .site-header.is-scrolled{
  background:
    linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(245,248,255,.96) 100%);
  border-bottom: 1px solid rgba(15,23,42,.10);
  box-shadow:
    0 12px 28px rgba(15,23,42,.10);
}

:root[data-theme="light"] .nav.nav-desktop{
  background:
    linear-gradient(180deg, rgba(255,255,255,.88), rgba(247,249,255,.78));
  border: 1px solid rgba(15,23,42,.08);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.45),
    0 12px 24px rgba(15,23,42,.08);
}

:root[data-theme="light"] .nav a,
:root[data-theme="light"] .nav a:visited{
  color: #27405e;
  -webkit-text-fill-color: #27405e;
  background: transparent;
  border-color: transparent;
  opacity: 1;
}

:root[data-theme="light"] .nav a:hover{
  color: #0b2340;
  -webkit-text-fill-color: #0b2340;
  background: linear-gradient(180deg, rgba(47,123,255,.08), rgba(0,209,255,.04));
  border-color: rgba(47,123,255,.10);
}

:root[data-theme="light"] .nav a.is-active,
:root[data-theme="light"] .nav a[aria-current="page"]{
  color: #0b2340;
  -webkit-text-fill-color: #0b2340;
  background: linear-gradient(135deg, rgba(47,123,255,.14), rgba(0,209,255,.08));
  border-color: rgba(47,123,255,.16);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.45),
    0 8px 18px rgba(47,123,255,.10);
  opacity: 1;
}

:root[data-theme="light"] .nav-dropdown__toggle{
  color: #0b2340;
  -webkit-text-fill-color: #0b2340;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(242,247,255,.92));
  border: 1px solid rgba(47,123,255,.14);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.32),
    0 8px 18px rgba(47,123,255,.06);
  opacity: 1;
}

:root[data-theme="light"] .nav-dropdown__toggle:hover,
:root[data-theme="light"] .nav-dropdown:hover .nav-dropdown__toggle,
:root[data-theme="light"] .nav-dropdown:focus-within .nav-dropdown__toggle{
  color: #081a30;
  -webkit-text-fill-color: #081a30;
  border-color: rgba(47,123,255,.24);
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(236,244,255,.96));
}

:root[data-theme="light"] .nav-dropdown__menu{
  background: color-mix(in srgb, #ffffff 96%, transparent);
  box-shadow:
    0 16px 40px rgba(15,23,42,.10),
    0 0 18px rgba(47,123,255,.05);
}

:root[data-theme="light"] .sh-switch__thumb{
  transform: translateX(26px);
}

:root[data-theme="light"] .sh-switch__track{
  background: rgba(15,23,42,.06);
  border-color: rgba(20,110,255,.12);
  box-shadow: 0 8px 18px rgba(15,23,42,.08);
}

:root[data-theme="light"] .menu-toggle{
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(238,243,255,.98));
  border-color: rgba(15,23,42,.10);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.92),
    0 10px 22px rgba(15,23,42,.10);
}

:root[data-theme="light"] .menu-toggle__icon,
:root[data-theme="light"] .menu-toggle__icon::before,
:root[data-theme="light"] .menu-toggle__icon::after{
  background: #0f172a;
}

:root[data-theme="light"] .mobile-menu{
  background: color-mix(in srgb, #ffffff 96%, transparent);
  border-left: 1px solid rgba(15,23,42,.08);
}

:root[data-theme="light"] .mobile-close{
  background: rgba(15,23,42,.04);
  border-color: rgba(15,23,42,.10);
  color: #0f172a;
}

:root[data-theme="light"] .mobile-nav a,
:root[data-theme="light"] .mobile-menu__hint,
:root[data-theme="light"] .mobile-compliance-title{
  color: #0f172a;
}

:root[data-theme="light"] .mobile-nav__conduct{
  color: #0b2340;
  border-color: rgba(47,123,255,.16);
  background:
    linear-gradient(135deg, rgba(47,123,255,.10), rgba(0,209,255,.08));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.28),
    0 8px 18px rgba(47,123,255,.08);
}

:root[data-theme="light"] .mobile-nav__conduct:hover,
:root[data-theme="light"] .mobile-nav__conduct.is-active{
  color: #081a30;
  border-color: rgba(47,123,255,.28);
}

/* =====================================================
   BLINDAGEM FINAL DO HEADER NO INDEX/LIGHT
===================================================== */

:root[data-theme="light"] .site-header{
  background:
    linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(245,248,255,.94) 100%) !important;
  border-bottom: 1px solid rgba(15,23,42,.08) !important;
  box-shadow: 0 10px 26px rgba(15,23,42,.08) !important;
}

:root[data-theme="light"] .site-header.is-scrolled{
  background:
    linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(245,248,255,.96) 100%) !important;
  border-bottom: 1px solid rgba(15,23,42,.10) !important;
  box-shadow: 0 12px 28px rgba(15,23,42,.10) !important;
}

:root[data-theme="light"] .site-header .nav.nav-desktop{
  background:
    linear-gradient(180deg, rgba(255,255,255,.88), rgba(247,249,255,.78)) !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.45),
    0 12px 24px rgba(15,23,42,.08) !important;
}

:root[data-theme="light"] .site-header .nav a,
:root[data-theme="light"] .site-header .nav a:visited{
  color: #27405e !important;
  -webkit-text-fill-color: #27405e !important;
  background: transparent !important;
  border-color: transparent !important;
  opacity: 1 !important;
}

:root[data-theme="light"] .site-header .nav a:hover{
  color: #0b2340 !important;
  -webkit-text-fill-color: #0b2340 !important;
  background: linear-gradient(180deg, rgba(47,123,255,.08), rgba(0,209,255,.04)) !important;
  border-color: rgba(47,123,255,.10) !important;
}

:root[data-theme="light"] .site-header .nav a.is-active,
:root[data-theme="light"] .site-header .nav a[aria-current="page"]{
  color: #0b2340 !important;
  -webkit-text-fill-color: #0b2340 !important;
  background: linear-gradient(135deg, rgba(47,123,255,.14), rgba(0,209,255,.08)) !important;
  border-color: rgba(47,123,255,.16) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.45),
    0 8px 18px rgba(47,123,255,.10) !important;
  opacity: 1 !important;
}

:root[data-theme="light"] .site-header .nav-dropdown__toggle{
  color: #0b2340 !important;
  -webkit-text-fill-color: #0b2340 !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(242,247,255,.92)) !important;
  border: 1px solid rgba(47,123,255,.14) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.32),
    0 8px 18px rgba(47,123,255,.06) !important;
  opacity: 1 !important;
}

:root[data-theme="light"] .site-header .nav-dropdown__toggle:hover,
:root[data-theme="light"] .site-header .nav-dropdown:hover .nav-dropdown__toggle,
:root[data-theme="light"] .site-header .nav-dropdown:focus-within .nav-dropdown__toggle{
  color: #081a30 !important;
  -webkit-text-fill-color: #081a30 !important;
  border-color: rgba(47,123,255,.24) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(236,244,255,.96)) !important;
}

:root[data-theme="light"] .site-header .brand,
:root[data-theme="light"] .site-header .brand *{
  opacity: 1 !important;
  filter: none !important;
}

:root[data-theme="light"] .site-header .theme-toggle{
  opacity: 1 !important;
}

/* =====================================================
   RESPONSIVO
===================================================== */

@media (max-width: 1080px){
  .nav.nav-desktop{
    gap: 6px;
    padding: 6px;
    max-width: 680px;
  }

  .nav a{
    padding: 10px 14px;
    font-size: .94rem;
  }

  .nav-dropdown__toggle{
    padding: 10px 14px;
    font-size: .95rem;
  }

  .brand{
    width: 210px;
    max-width: 210px;
  }

  .brand-logo-full{
    height: 48px;
  }
}

@media (max-width: 860px){
  .nav-desktop{
    display: none !important;
  }

  .menu-toggle{
    display: grid;
  }

  .header-theme{
    display: none;
  }

  .mobile-menu__footer .theme-toggle{
    display: inline-flex;
  }

  .header-inner{
    grid-template-columns: minmax(190px, 1fr) auto;
    min-height: 76px;
    gap: 12px;
  }

  .brand{
    width: 200px;
    max-width: 200px;
    min-width: 190px;
  }

  .brand-logo-full{
    display: block !important;
    height: 48px;
    max-width: 100%;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

@media (max-width: 700px){
  .header-inner{
    min-height: 72px;
    gap: 10px;
    grid-template-columns: minmax(170px, 1fr) auto;
  }

  .brand{
    width: 180px;
    max-width: 180px;
    min-width: 170px;
  }

  .brand-logo-full{
    display: block !important;
    height: 44px;
    max-width: 100%;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* ========================================
   CORREÇÃO DROPDOWN COMPLIANCE - LIGHT
======================================== */

:root[data-theme="light"] .site-header .nav-dropdown__menu{
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(245,248,255,.98) 100%) !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  box-shadow:
    0 16px 36px rgba(15,23,42,.10),
    0 0 0 1px rgba(255,255,255,.70) inset !important;
}

:root[data-theme="light"] .site-header .nav-dropdown__item{
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  opacity: 1 !important;
}

:root[data-theme="light"] .site-header .nav-dropdown__item:hover{
  color: #081a30 !important;
  -webkit-text-fill-color: #081a30 !important;
  background: rgba(47,123,255,.08) !important;
  border-color: rgba(47,123,255,.12) !important;
  box-shadow: none !important;
}

:root[data-theme="light"] .site-header .nav-dropdown__item.is-active{
  color: #0b2340 !important;
  -webkit-text-fill-color: #0b2340 !important;
  background: linear-gradient(135deg, rgba(47,123,255,.12), rgba(0,209,255,.08)) !important;
  border-color: rgba(47,123,255,.16) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.45),
    0 8px 16px rgba(47,123,255,.08) !important;
}