.mm-site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(5, 12, 24, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.25s ease;
  will-change: transform;
}
.mm-site-nav-inner {
  width: min(1280px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 1.05rem 0;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  position: relative;
  min-height: 88px;
}
.mm-site-brand {
  display: inline-flex;
  flex: 0 0 auto;
  text-decoration: none;
}
.mm-site-brand img {
  height: 72px;
  width: 72px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}
.mm-site-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.75rem 1.05rem;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
}
.mm-site-links a {
  color: #c5d4e8;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.mm-site-links a:hover,
.mm-site-links a.is-active {
  color: #f4f8ff;
  border-bottom-color: #00d4ff;
}
.mm-site-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 0 0 auto;
}
.mm-site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.mm-site-btn:hover { transform: translateY(-1px); }
.mm-site-btn-primary {
  background: linear-gradient(135deg, #00d4ff, #22d3ee);
  color: #041018;
  box-shadow: 0 8px 22px rgba(0, 212, 255, 0.25);
}
.mm-site-btn-primary:hover { color: #041018; }
.mm-site-btn-ghost {
  background: transparent;
  color: #f4f8ff;
  border-color: rgba(255, 255, 255, 0.12);
}
.mm-site-btn-ghost:hover,
.mm-site-btn-ghost.is-active {
  color: #00d4ff;
  border-color: rgba(0, 212, 255, 0.4);
}
.mm-site-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #f4f8ff;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex: 0 0 auto;
  cursor: pointer;
}

/* Tablet / notebook */
@media (max-width: 1200px) {
  .mm-site-toggle { display: inline-flex; margin-left: auto; }
  .mm-site-actions { order: 3; }
  .mm-site-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.35rem);
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(8, 16, 30, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 220;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  }
  .mm-site-links.is-open { display: flex; }
  .mm-site-links a {
    padding: 0.85rem 0.55rem;
    border-bottom: 0;
    font-size: 1.08rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .mm-site-brand img {
    height: 64px;
    width: 64px;
  }
  .mm-hide-xs { display: none; }
  .mm-site-btn {
    padding: 0.75rem 0.95rem;
    min-width: 48px;
    min-height: 48px;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .mm-site-nav-inner {
    gap: 0.55rem;
    min-height: 72px;
    padding: 0.65rem 0;
    width: min(1280px, calc(100% - 1rem));
  }
  .mm-site-brand img {
    height: 52px;
    width: 52px;
  }
  .mm-site-toggle {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }
  .mm-site-actions {
    gap: 0.4rem;
  }
  .mm-site-btn {
    padding: 0.65rem 0.8rem;
    font-size: 0.92rem;
    min-width: 44px;
    min-height: 44px;
  }
  .mm-site-links {
    max-height: min(70vh, 480px);
    overflow-y: auto;
  }
}

/* Telas bem estreitas: CTA só ícone já; ações cabem */
@media (max-width: 420px) {
  .mm-site-nav-inner {
    gap: 0.35rem;
  }
  .mm-site-brand img {
    height: 46px;
    width: 46px;
  }
  .mm-site-btn-primary {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }
}
