/* =========================
   RESET
========================= */
html, body {
  margin: 0;
  padding: 0;
}

/* =========================
   NAVBAR BASE
========================= */
.projecta-navbar {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 999;
}

/* =========================
   CONTAINER (DESKTOP)
========================= */
.projecta-container {
  max-width: 1280px;
  margin: 0 auto;
  height: 80px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =========================
   LOGO (DESKTOP)
========================= */
.projecta-logo img {
  width: 180px;
  height: 150px;          /* altura real, não estoura */
  object-fit: contain;
  display: block;
}

/* =========================
   MENU DESKTOP
========================= */
.projecta-nav {
  display: flex;
  gap: 32px;
}

.projecta-nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: #0f172a;
  position: relative;
}

.projecta-nav a:hover,
.projecta-nav a.active {
  color: #4f46e5;
}

.projecta-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: #4f46e5;
}

/* =========================
   AÇÕES (DESKTOP)
========================= */
.projecta-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.projecta-icon {
  font-size: 18px;
  color: #0f172a;
}

/* BOTÃO */
.projecta-btn {
  background: #4f46e5;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.projecta-btn:hover {
  background: #4338ca;
}

/* =========================
   HAMBURGER
========================= */
.projecta-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.projecta-toggle span {
  width: 22px;
  height: 2px;
  background: #0f172a;
}

/* =========================
   MENU MOBILE (BASE)
========================= */
.projecta-mobile {
  display: none;
  position: absolute;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 24px 20px 28px;
  flex-direction: column;
  gap: 20px;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  z-index: 998;
}

.projecta-mobile a {
  font-size: 17px;
  font-weight: 500;
  color: #0f172a;
  text-decoration: none;
}

/* CTA MOBILE */
.projecta-mobile .projecta-btn {
  margin-top: 12px;
  text-align: center;
  padding: 14px;
  font-size: 16px;
  border-radius: 999px;
}

/* ABERTO */
.projecta-mobile.show {
  display: flex;
}

/* =========================
   MOBILE (ISOLADO)
========================= */
@media (max-width: 900px) {

  /* Header mobile */
  .projecta-container {
    height: 64px;
    padding: 0 16px;
    justify-content: flex-start;
  }

  /* Logo mobile (maior e visível) */
  .projecta-logo img {
    width: 140px;
    height: 56px;
  }

  /* Esconde menu desktop */
  .projecta-nav {
    display: none;
  }

  /* Ações mobile */
  .projecta-actions {
    margin-left: auto;
    gap: 12px;
  }

  /* Esconde ícones sociais no topo */
  .projecta-icon {
    display: none;
  }

  /* CTA do topo no mobile */
  .projecta-actions .projecta-btn {
    padding: 8px 14px;
    font-size: 13px;
  }

  /* Hamburger visível */
  .projecta-toggle {
    display: flex;
  }

  /* Menu mobile posicionamento */
  .projecta-mobile {
    top: 64px;
  }
}
