/* Mi Luz Barata · Sistema visual 2026 · v6.16.1 */
:root {
  --mlb-brand-navy: #061f39;
  --mlb-brand-navy-2: #0b365d;
  --mlb-brand-gold: #ffbd00;
  --mlb-brand-white: #fff;
  --mlb-brand-grey: #e6edf5;
  --mlb-brand-ink: #10233b;
  --mlb-brand-muted: #607185;
  --mlb-brand-radius: 16px;
  --mlb-brand-shadow: 0 18px 50px rgba(6, 31, 57, .10);
}

body {
  color: var(--mlb-brand-ink);
  font-family: Montserrat, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mlb-header-v6160 {
  background: linear-gradient(90deg, #061f39, #082b4b) !important;
}

.mlb-header-v6160 .mlb-header-inner {
  height: 78px !important;
}

.mlb-header-v6160 .mlb-logo img {
  max-height: 57px !important;
  width: 232px !important;
}

.mlb-header-v6160 .mlb-nav-v6156 > li > a {
  position: relative;
}

.mlb-header-v6160 .mlb-nav-v6156 > li > a::after {
  background: var(--mlb-brand-gold) !important;
  border-radius: 999px;
  bottom: 15px !important;
  content: "";
  height: 3px;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  transform: scaleX(.25);
  transition: opacity .18s ease, transform .18s ease;
}

.mlb-header-v6160 .mlb-nav-v6156 > li:hover > a::after,
.mlb-header-v6160 .mlb-nav-v6156 > li > a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.mlb-header-v6160 .mlb-nav-sub {
  background: #fff;
  border: 1px solid #d8e3ed;
  border-top: 4px solid var(--mlb-brand-gold);
  border-radius: 13px;
  box-shadow: 0 20px 55px rgba(6, 31, 57, .20);
  left: 50%;
  min-width: 205px;
  padding: 9px;
  top: calc(100% - 7px);
  transform: translate(-50%, -6px);
}

.mlb-header-v6160 .mlb-nav-dropdown:hover .mlb-nav-sub {
  transform: translate(-50%, 0);
}

.mlb-header-v6160 .mlb-nav-sub::before {
  content: "";
  height: 12px;
  left: 0;
  position: absolute;
  right: 0;
  top: -12px;
}

.mlb-header-v6160 .mlb-nav-sub a {
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  padding: 11px 12px !important;
}

.mlb-header-v6160 .mlb-nav-sub a::after {
  display: none !important;
}

.mlb-header-v6160 .mlb-nav-sub a:hover,
.mlb-header-v6160 .mlb-nav-sub a:focus-visible {
  background: #edf3f8;
  color: var(--mlb-brand-navy) !important;
}

.mlb-header-v6160 .mlb-header-cta,
.mlb-v6156-btn.gold {
  background: linear-gradient(180deg, #ffd13d, #ffbd00) !important;
  border: 1px solid #e8a900 !important;
  box-shadow: 0 10px 25px rgba(255, 189, 0, .22) !important;
}

.mlb-v6156-hero,
.mlb-v6156-inner-hero,
.mlb-v6156-how,
.mlb-footer {
  background: var(--mlb-brand-navy) !important;
}

.mlb-v6156-hero-photo img,
.mlb-v6156-inner-photo img {
  filter: saturate(.94) contrast(1.03) !important;
}

.mlb-v6156-lightbulb,
.mlb-final-bulb {
  display: none !important;
}

.mlb-v6156-analysis-copy,
.mlb-v6156-drop,
.mlb-v6156-free,
.mlb-v6156-segments > a,
.mlb-v6156-feature-row article,
.mlb-v6156-solution-grid article,
.mlb-guide-card {
  border-radius: var(--mlb-brand-radius) !important;
  box-shadow: 0 9px 28px rgba(6, 31, 57, .055);
}

.mlb-v6156-segments > a,
.mlb-v6156-feature-row article,
.mlb-v6156-solution-grid article,
.mlb-guide-card {
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.mlb-v6156-segments > a:hover,
.mlb-v6156-feature-row article:hover,
.mlb-v6156-solution-grid article:hover,
.mlb-guide-card:hover {
  border-color: #b9cad9 !important;
  box-shadow: var(--mlb-brand-shadow);
  transform: translateY(-2px);
}

.mlb-page-wide-shell:has(.mlb-pro),
.mlb-page-wide-shell:has(.mlb-pro-login),
.mlb-page-wide-shell:has(.mlb-pro-gate) {
  background: #eef3f7;
  padding: 0 !important;
}

.mlb-page-wide:has(.mlb-pro) {
  max-width: 1920px !important;
  padding: 0 !important;
  width: 100% !important;
}

.mlb-page-wide:has(.mlb-pro-login),
.mlb-page-wide:has(.mlb-pro-gate) {
  max-width: 1320px !important;
  padding: 24px !important;
}

.mlb-ref-pro,
.mlb-ref-dashboard-shell {
  font-family: Montserrat, Inter, system-ui, sans-serif !important;
}

.mlb-ref-hero-premium,
.mlb-ref-card {
  border-radius: var(--mlb-brand-radius) !important;
}

@media (max-width: 1180px) {
  .mlb-header-v6160 .mlb-logo img { width: 196px !important; }
}

@media (max-width: 900px) {
  .mlb-header-v6160 .mlb-nav-sub {
    border-top: 0;
    left: auto;
    transform: none;
  }
  .mlb-header-v6160 .mlb-nav-dropdown:hover .mlb-nav-sub { transform: none; }
}

@media (max-width: 620px) {
  .mlb-header-v6160 .mlb-logo img { width: 177px !important; }
  .mlb-page-wide:has(.mlb-pro-login),
  .mlb-page-wide:has(.mlb-pro-gate) { padding: 0 !important; }
}

/* Navigation 6.16.1: one layout per breakpoint, keyboard and touch controls. */
.mlb-header-v6160 .mlb-nav-disclosure {
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  font-weight: 800;
  line-height: inherit;
  margin: 0;
  padding: 27px 0 24px;
  position: relative;
  white-space: nowrap;
}
.mlb-header-v6160 .mlb-nav-disclosure > span { transition: transform .18s ease; }
.mlb-header-v6160 .mlb-nav-disclosure[aria-expanded="true"] > span { transform: rotate(180deg); }
.mlb-header-v6160 .mlb-nav-disclosure:focus-visible,
.mlb-header-v6160 .mlb-menu-toggle:focus-visible,
.mlb-header-v6160 .mlb-nav a:focus-visible {
  outline: 2px solid #ffbd00;
  outline-offset: 3px;
}
.mlb-header-v6160 .mlb-nav-dropdown.is-open .mlb-nav-sub {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.mlb-header-v6160 .mlb-nav-sub a[aria-current="page"] {
  background: #fff4cc !important;
  color: #061f39 !important;
  box-shadow: inset 4px 0 0 #ffbd00 !important;
}
@media (min-width: 901px) {
  .mlb-header-v6160 .mlb-nav-dropdown:not(.is-open) .mlb-nav-sub {
    opacity: 0;
    visibility: hidden;
  }
  .mlb-header-v6160 .mlb-nav-disclosure::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 15px;
    height: 3px;
    background: #ffbd00;
    border-radius: 999px;
    opacity: 0;
  }
  .mlb-header-v6160 .mlb-nav-dropdown:hover .mlb-nav-disclosure::after,
  .mlb-header-v6160 .mlb-nav-dropdown:focus-within .mlb-nav-disclosure::after {
    opacity: 1;
  }
}
@media (max-width: 900px) {
  .mlb-header-v6160 .mlb-header-inner { height: 72px !important; }
  .mlb-header-v6160 .mlb-menu-toggle { width: 44px; height: 44px; flex: 0 0 44px; }
  .mlb-header-v6160 .mlb-nav-wrap {
    position: absolute !important;
    inset: 100% 0 auto !important;
    width: auto !important;
    margin: 0 !important;
    padding: 12px 16px calc(20px + env(safe-area-inset-bottom, 0px)) !important;
    max-height: var(--mlb-menu-available-height, calc(100dvh - 72px));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    background: #061f39 !important;
    border: 1px solid #29445e !important;
    border-radius: 0 0 16px 16px !important;
    box-shadow: 0 18px 36px rgba(6,31,57,.18);
  }
  .mlb-header-v6160 .mlb-nav-v6156 {
    display: grid !important;
    grid-template-columns: minmax(0,1fr);
    gap: 4px !important;
    align-items: stretch;
    font-size: 15px !important;
  }
  .mlb-header-v6160 .mlb-nav-v6156 > li { min-width: 0; margin: 0 !important; }
  .mlb-header-v6160 .mlb-nav-v6156 > li > a,
  .mlb-header-v6160 .mlb-nav-disclosure {
    display: flex !important;
    width: 100%;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    padding: 12px !important;
    border-radius: 9px;
    color: #fff !important;
    text-decoration: none !important;
    line-height: 1.35;
  }
  .mlb-header-v6160 .mlb-nav-v6156 > li > a::after,
  .mlb-header-v6160 .mlb-nav-disclosure::after {
    content: none !important;
    display: none !important;
  }
  .mlb-header-v6160 .mlb-nav-v6156 > li > a:hover,
  .mlb-header-v6160 .mlb-nav-disclosure:hover { background: #15334f; }
  .mlb-header-v6160 .mlb-nav-sub,
  .mlb-header-v6160 .mlb-nav-dropdown:hover .mlb-nav-sub {
    display: none;
    position: static !important;
    inset: auto !important;
    transform: none !important;
    min-width: 0 !important;
    margin: 0 0 7px !important;
    padding: 6px !important;
    border: 1px solid #34516c !important;
    border-radius: 12px;
    background: #102e4b !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .mlb-header-v6160 .mlb-nav-sub::before { display: none; }
  .mlb-header-v6160 .mlb-nav-dropdown.is-open .mlb-nav-sub {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 6px;
  }
  .mlb-header-v6160 .mlb-nav-sub a {
    display: flex !important;
    align-items: center;
    min-height: 46px;
    padding: 12px 14px !important;
    margin: 0 !important;
    width: 100%;
    border: 1px solid #d5e2ed;
    border-radius: 8px;
    background: #f4f8fc;
    color: #061f39 !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
  }
  .mlb-header-v6160 .mlb-nav-sub a:hover,
  .mlb-header-v6160 .mlb-nav-sub a:focus-visible { background: #e5eef6 !important; }
  .mlb-header-v6160 .mlb-nav-sub a[aria-current="page"] {
    border-color: #ffbd00;
    background: #fff4cc !important;
  }
}
@media (max-width: 620px) {
  .mlb-header-v6160 .mlb-header-inner { height: 68px !important; }
  .mlb-header-v6160 .mlb-nav-wrap { max-height: var(--mlb-menu-available-height, calc(100dvh - 68px)); }
}

/* 6.16.6: the same account destination remains reachable on mobile. */
.mlb-header-v6160 .mlb-nav-account{display:none}
.mlb-header-v6160 .mlb-header-actions a:focus-visible,.mlb-header-v6160 .mlb-logo:focus-visible{outline:2px solid #ffbd00;outline-offset:4px}
@media(max-width:900px){.mlb-header-v6160 .mlb-nav-account{display:block;border-top:1px solid #34516c;padding-top:7px}.mlb-header-v6160 .mlb-nav-account>a{color:#ffbd00!important}}
@media(prefers-reduced-motion:reduce){.mlb-header-v6160 *,.mlb-header-v6160 *::before,.mlb-header-v6160 *::after{transition:none!important;animation:none!important}}
