/* Esconde header/footer WP no Vite */
.vite-page .wm-header-fallback,
.vite-page .wp-footer-fallback {
  display: none !important;
}

/* Base */
html, body {
  height: 100%;
  margin: 0;
}

/* ✅ Padding no body para compensar header fixo */
body {
  padding-top: 80px;
  font-family: Inter, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell,
    "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
}

.vite-page body {
  padding-top: 0;
}

/* ✅ Wrapper controla tudo */
#wm-site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Conteúdo cresce e empurra footer */
.wp-content {
  flex: 1;
  max-width: 900px;
  margin: 40px auto 0;
  padding: 20px;
}
.wm-post-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px;
}

.wm-post-container img,
.wm-post-container iframe,
.wm-post-container video,
.wm-post-container table {
  max-width: 100%;
  height: auto;
}


/* Footer sempre no fundo */
#site-footer {
  margin-top: auto;
}


/* ============================
   HEADER FALLBACK LENZID
============================ */

.wm-header-fallback {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;

  height: 80px;
  padding: 0 24px;

  display: flex;
  align-items: center;

  background: rgba(2, 6, 23, 0.92);
  backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  justify-content: space-between;
}

.wm-header-container {
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  position: relative;
}


.wm-menu-toggle {
  margin-left: auto;
}
/* Logo */
.wm-header-logo {
  color: white;
  font-weight: 700;
  font-size: 22px;
  text-decoration: none;
  margin-left: 24px;
}

/* Menu */
.wm-header-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  gap: 28px;
  font-size: 16px;
}


/* Links */
.wm-header-link {
  color: #cbd5e1;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.2s;
}

.wm-header-link:hover {
  color: white;
  text-decoration: underline;
  text-decoration-color: #c7a065;

}

/* ============================
   MENU MOBILE (HAMBURGER)
============================ */

.wm-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {

  .wm-menu-toggle {
    display: block;
  }

  .wm-header-nav {
    display: none;

    position: fixed; /* ✅ não depende do container */
    top: 80px;
    left: 0;
    right: 0;
    width: auto;
    transform: none;

    flex-direction: column;
    gap: 18px;

    padding: 20px;

    background: rgba(2, 6, 23, 0.97);
    border-top: 1px solid rgba(255,255,255,0.08);

    z-index: 99999;
  }

  .wm-header-nav.is-open {
    display: flex;
  }
}


