/* Modernização do header */
header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  background-color: var(--color-primary-3);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 5%;
  box-sizing: border-box;
}

#navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#nav_logo {
  width: 100px;
  transition: transform 0.3s ease-in-out;
}

#nav_logo:hover {
  transform: scale(1.1);
}

#nav_list {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-item a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 1rem;
  font-family: "Open Sans", sans-serif;
  padding: 5px 10px;
  transition: color 0.3s, border-bottom 0.3s;
}

.nav-item.active a,
.nav-item a:hover {
  color: #ff7e5f;
  border-bottom: 3px solid #ff7e5f;
  font-weight: bold;
}

.btn-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #ff7e5f, #feb47b);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.3s;
}

.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

#mobile_btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
  transition: color 0.3s;
}

#mobile_btn:hover {
  color: #ff7e5f;
}

#mobile_menu {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 60px;
  right: 10px;
}

#mobile_menu.active {
  display: flex;
}

#mobile_nav_list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#mobile_nav_list a {
  text-decoration: none;
  color: #333;
  font-size: 1rem;
  font-weight: bold;
}

#mobile_nav_list a:hover {
  color: #ff7e5f;
}

@media screen and (max-width: 1000px) {
  #nav_list {
    display: none;
  }

  #mobile_btn {
    display: block;
  }
}

@media screen and (max-width: 400px) {
  #nav_logo {
    width: 70px;
  }

  .btn-contact {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
}
