.header {
  height: 70px;
  background: #ffffff;
  top: 0;
}

.header-content {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 16px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 95%;
}

.desktop-nav {
  display: none;
  gap: 24px;
}

.desktop-nav a {
  text-decoration: none;
  color: var(--black);
  font-size: 15px;
  font-weight: 500;
}

.desktop-nav .button{
  color: var(--white);
}

.desktop-nav a:hover {
  opacity: 0.7;
}

.hamburger {
  font-size: 26px;
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--black);
  width: 36px;
  height: 36px;
  box-shadow: 0px 0px 7px var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
}

.hamburger img{
    width: 17px;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;

  width: 280px;
  height: 100vh;
  background: #ffffff;

  transform: translateX(-100%);
  transition: transform 0.3s ease;

  z-index: 1001;
  padding: 20px;
}
.mobile-menu.active {
  transform: translateX(0);
}

.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.menu-logo{
  width: 160px;
}

.close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.menu-nav a {
  display: block;
  padding: 14px 0;
  text-decoration: none;
  color: var(--black);
  font-size: 16px;
  border-bottom: 1px solid #eee;
}

.menu-nav a:last-child {
  border-bottom: none;
}

.button {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 5px;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.15rem;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.button img{
  width: 20px;
  padding-right: 2px;
}

.button::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--vermelho); 
  border-radius: 5px;
  z-index: -2;
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: var(--vermelho-hover); 
  transition: width 0.3s ease;
  border-radius: 5px;
  z-index: -1;
}

.button:hover {
  color: #fff;
}

.button:hover::before {
  width: 100%;
}

@media (min-width: 1200px) {

  .desktop-nav {
    display: flex;
    align-items: center;
  }

  .hamburger {
    display: none;
  }

  .mobile-menu,
  .overlay {
    display: none !important;
  }
}
