/* ================= NAVBAR GLOBAL ================= */
.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 30px 80px;
  margin: 0;
  box-sizing: border-box;
}

.navbar .logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.empe-logo {
  max-height: 90px;
  height: 90px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 40px;
  background: #eaeaea;
  padding: 14px 36px;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.nav-links a {
  text-decoration: none;
  color: #1c2b2d;
  font-size: 17px;
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #2f6f73;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 22px;
  height: 4px;
  background: #2f6f73;
  border-radius: 10px;
}

.btn-contato {
  display: inline-block;
  background: #1c4d52;
  color: #ffffff;
  text-decoration: none;
  border: none;
  padding: 14px 30px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}

.btn-contato:hover,
.btn-contato.ativo {
  background: #163c40;
  transform: translateY(-1px);
}

/* ================= FOOTER GLOBAL ================= */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  margin: 0;
  padding: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d3b44;
  background-image: none;
  color: #ffffff;
  text-align: center;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 59, 68, 0.85);
  z-index: 1;
}

.footer-content {
  position: relative;
  z-index: 2;
  font-size: 14px;
}

/* Espaço pro footer fixo não cobrir o final da página */
body {
  padding-bottom: 100px;
}

/* ================= RESPONSIVO NAVBAR ================= */
@media (max-width: 820px) {
  .navbar {
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }
  .nav-links {
    position: relative;
    left: 0;
    top: 0;
    transform: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 12px 24px;
    width: 100%;
    max-width: 420px;
  }
}
