.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #ffffff;
  color: #333;
  display: inline-block;
  padding: 0 20px;
  z-index: 1000;
  border-bottom: 1px solid #f1f1f1;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.menu-controle-center {
  position: relative;
  left: calc(50% - 800px);
  width: 1600px;
  height: 54px;
  padding-top: 6px;
}

.navbar .logo {
  display: inline-block;
  float: left;
  font-size: 20px;
  font-weight: bold;
}

.navbar .logo img {
  position: relative;
  height: 40px;
  top: 4px;
}

.navbar .nav-links {
  display: inline-block;
  float: right;
  padding-top: 12px;
}

.navbar .nav-links a {
  color: #333;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.2s;
  margin-right: 100px;
}

/* Botão hamburguer */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
}


/* Botão hamburguer */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  width: 30px;
  height: 25px;
  position: relative;
  z-index: 1100;
  /* acima do menu */
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
  position: relative;
}

/* Quando ativo vira um X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 8px;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: -8px;
}


/* Responsivo */
@media (max-width: 768px) {
  .navbar {
    border-bottom: 1px solid #ebebeb;
  }

  .menu-controle-center {
    position: relative;
    left: 0px;
    width: 95%;
    height: 54px;
    padding-top: 6px;
  }

  .navbar .nav-links {
    display: none;
    flex-direction: column;
    background: #f9f9f9;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    padding: 15px;
    border-bottom: 1px solid #ebebeb;
  }

  .navbar .nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s;
    margin-right: 100px;
    padding: 10px;
  }

  /* 🔧 aplica só no menu */
  .navbar .nav-links.active {
    display: flex;
    top: 100px;
  }

  .hamburger {
    display: inline-flex;
    float: right;
    top: 11px;
  }
}

/* Espaço para o conteúdo não ficar escondido */
.content {
  margin-top: 70px;
  padding: 20px;
}