/* Nav fixes for the isolated landing pages (mentoria / treinamentos / lab-digital).
   These pages don't load styles.css or main.js, so nav bg + mobile menu live here. */

/* Always-readable translucent bar (fixes the "floating menu, no background" look).
   Target #lc-nav (id is robust; the data-screen-label attribute has accented
   chars that can fail to match). */
#lc-nav {
  background: rgba(3, 9, 18, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(111, 168, 255, .1);
}

/* Marquee keyframe (logos band) — lives in styles.css for the home, not loaded here */
@keyframes lcMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- mobile hamburger + overlay menu ---- */
.lnav-burger { display: none; }

.lnav-overlay {
  position: fixed; inset: 0; z-index: 79;
  background: rgba(3, 9, 18, .98);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 96px 32px 48px;
  opacity: 0; pointer-events: none; transform: translateY(-12px);
  transition: opacity .28s ease, transform .28s ease;
}
.lnav-overlay.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.lnav-overlay a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: #fff; text-decoration: none;
  padding: 18px 2px; border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.lnav-overlay a.lnav-cta {
  margin-top: 22px; background: #2D7DF6; color: #fff;
  text-align: center; border-radius: 8px; border: 0; padding: 18px;
}
.lnav-overlay--orange a.lnav-cta { background: #FF7A2F; color: #fff; }
.lnav-overlay--cyan a.lnav-cta { background: #22D3EE; color: #04303A; }
@media (min-width: 761px) { .lnav-overlay { display: none; } }

@media (max-width: 760px) {
  /* hide the inline desktop nav; the overlay takes over */
  #lc-nav nav { display: none !important; }
  .lnav-burger {
    position: fixed; top: 16px; right: 22px; z-index: 100;
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px;
    background: none; border: 0; cursor: pointer;
  }
  .lnav-burger span {
    display: block; width: 100%; height: 2px; border-radius: 2px;
    background: #fff; transition: transform .25s ease, opacity .25s ease;
  }
  .lnav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .lnav-burger.is-open span:nth-child(2) { opacity: 0; }
  .lnav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
