
.mec-header {
  position: relative;
  z-index: 50;
  background: #fff;
  color: #182b48;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.45;
  border-bottom: 1px solid #e0e6f0;
  box-shadow: 0 5px 24px #182b4808;
}

.mec-header * {
  box-sizing: border-box;
}

.mec-header a {
  color: inherit;
  text-decoration: none;
}

.mec-header .mh-top {
  padding: 10px 20px;
  background: #182b48;
  color: #edf3ff;
  text-align: center;
  font-size: 12px;
}

.mec-header .mh-top a {
  margin-left: 10px;
  color: #ff9989;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mec-header .mh-inner {
  max-width: 1304px;
  margin: auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.mec-header .mh-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.mec-header .mh-logo-completo {
  display: block;
  width: 250px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.mec-header .mh-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.mec-header .mh-link,
.mec-header .mh-dropdown > summary {
  padding: 12px 0;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
}

.mec-header .mh-link:hover,
.mec-header .mh-dropdown > summary:hover {
  color: #2354e6;
}

.mec-header summary {
  list-style: none;
}

.mec-header summary::-webkit-details-marker {
  display: none;
}

.mec-header .mh-dropdown {
  position: relative;
}

.mec-header .mh-dropdown > summary {
  display: flex;
  align-items: center;
  gap: 9px;
}

.mec-header .mh-chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
}

.mec-header details[open] > summary .mh-chevron {
  transform: rotate(225deg);
  margin-top: 3px;
}

.mec-header .mh-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: -20px;
  width: 350px;
  padding: 12px;
  background: #fff;
  border: 1px solid #dce4f1;
  border-radius: 12px;
  box-shadow: 0 18px 45px #182b4820;
}

.mec-header .mh-panel a {
  display: block;
  padding: 13px 15px;
  border-radius: 8px;
}

.mec-header .mh-panel a:hover {
  background: #f1f5fc;
}

.mec-header .mh-panel strong {
  display: block;
  font-size: 13px;
}

.mec-header .mh-panel small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #5b6880;
}

.mec-header .mh-panel .mh-all {
  margin-top: 8px;
  border-top: 1px solid #e0e6f0;
  border-radius: 0;
  color: #2354e6;
  font-size: 13px;
  font-weight: 700;
}

.mec-header .mh-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 46px;
  padding: 14px 19px;
  background: #2354e6;
  color: #fff;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.mec-header .mh-cta:hover {
  background: #183bad;
}

.mec-header .mh-mobile {
  display: none;
}

.mec-header .mh-mobile > summary {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid #d5deed;
  border-radius: 9px;
  cursor: pointer;
}

.mec-header .mh-menu-icon {
  display: grid;
  gap: 5px;
  width: 20px;
}

.mec-header .mh-menu-icon span {
  display: block;
  height: 2px;
  background: #182b48;
  border-radius: 2px;
}

.mec-header .mh-mobile-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 14px 24px 24px;
  background: #fff;
  border-bottom: 1px solid #dce4f1;
  box-shadow: 0 15px 25px #182b4810;
  max-height: 75vh;
  overflow: auto;
}

.mec-header .mh-mobile-panel > a:not(.mh-cta) {
  display: block;
  padding: 13px 4px;
  border-bottom: 1px solid #e9edf4;
  font-size: 14px;
  font-weight: 600;
}

.mec-header .mh-mobile-panel a.mh-sub {
  padding-left: 18px;
  color: #53647f;
  font-size: 13px;
}

.mec-header .mh-mobile-panel .mh-cta {
  display: flex;
  margin-top: 18px;
}

.mec-header a:focus-visible,
.mec-header summary:focus-visible {
  outline: 3px solid #ff735e;
  outline-offset: 4px;
}

@media (max-width: 1150px) {
  .mec-header .mh-nav {
    gap: 16px;
  }

  .mec-header .mh-inner {
    gap: 18px;
    padding-inline: 22px;
  }

  .mec-header .mh-logo-completo {
    width: 220px;
  }
}

@media (max-width: 1020px) {
  .mec-header .mh-nav,
  .mec-header .mh-inner > .mh-cta {
    display: none;
  }

  .mec-header .mh-mobile {
    display: block;
  }

  .mec-header .mh-inner {
    padding: 12px 20px;
  }

  .mec-header .mh-logo-completo {
    width: 220px;
  }
}

@media (max-width: 400px) {
  .mec-header .mh-inner {
    padding-inline: 15px;
    gap: 12px;
  }

  .mec-header .mh-logo-completo {
    width: 190px;
  }

  .mec-header .mh-top {
    font-size: 11px;
  }

  .mec-header .mh-top a {
    display: inline-block;
    margin-left: 5px;
  }
}
