
.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 [hidden]{display:none!important}
.mec-header a{color:inherit;text-decoration:none}

.mec-header .mh-skip{
  position:absolute;
  left:16px;
  top:8px;
  z-index:100;
  transform:translateY(-180%);
  padding:12px 18px;
  background:#fff;
  color:#182b48;
  border-radius:9px;
}
.mec-header .mh-skip:focus{transform:none}

.mec-header .mh-top{
  padding:10px 20px;
  background:#182b48;
  color:#edf3ff;
  text-align:center;
  font-size:12px;
}
.mec-header .mh-top a{
  display:inline-block;
  margin-left:10px;
  padding-block:4px;
  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:1;
  min-width: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{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:12px 0;
  font-size:13px;
  font-weight:650;
  white-space:nowrap;
}
.mec-header .mh-link:hover{color:#2354e6}
.mec-header .mh-link[aria-current="page"],
.mec-header .mh-link[data-section-active]{
  color:#2354e6;
  text-decoration:underline;
  text-underline-offset:6px;
}
.mec-header summary{list-style:none;cursor:pointer}
.mec-header summary::-webkit-details-marker{display:none}
.mec-header .mh-courses{
  display:flex;
  align-items:center;
  gap:4px;
  position:relative;
}
.mec-header .mh-dropdown>summary{
  display:grid;
  place-items:center;
  width:44px;
  min-height:44px;
  border-radius:8px;
}
.mec-header .mh-dropdown>summary:hover{
  background:#f1f5fc;
  color:#2354e6;
}
.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% + 10px);
  left:0;
  width:350px;
  max-width:calc(100vw - 40px);
  max-height:70vh;
  max-height:min(70dvh,var(--mh-room,70dvh));
  overflow-y:auto;
  overscroll-behavior:contain;
  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-bottom:6px;
  border-bottom: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;
  text-align:center;
  white-space:nowrap;
}
.mec-header .mh-cta:hover{background:#183bad}
.mec-header .mh-mobile{display:none;flex-shrink:0}
.mec-header .mh-mobile>summary{
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  border:1px solid #d5deed;
  border-radius:9px;
}
.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[open] .mh-menu-icon span:first-child{
  transform:translateY(7px) rotate(45deg);
}
.mec-header .mh-mobile[open] .mh-menu-icon span:nth-child(2){
  opacity:0;
}
.mec-header .mh-mobile[open] .mh-menu-icon span:last-child{
  transform:translateY(-7px) rotate(-45deg);
}
.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:70vh;
  max-height:min(70dvh,var(--mh-room,70dvh));
  overflow-y:auto;
  overscroll-behavior:contain;
}
.mec-header .mh-mobile-panel>a:not(.mh-cta){
  display:block;
  min-height:44px;
  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 a[aria-current="page"]{
  color:#2354e6;
  text-decoration:underline;
  text-underline-offset:5px;
}
.mec-header .mh-mobile-panel .mh-cta{
  display:flex;
  margin-top:18px;
  white-space:normal;
}
.mec-header a:focus-visible,
.mec-header summary:focus-visible{
  outline:3px solid #ff735e;
  outline-offset:4px;
  box-shadow:0 0 0 1px #182b48;
}
@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{margin-left:5px}
}
