/* ===== HEADER GERAL ===== */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 0 3%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 248, 249, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid #f2e2e5;
}

.logo img {
  width: 80px;
  height: auto;
}

/* ===== MENU DESKTOP ===== */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.nav-links a {
  text-decoration: none;
  color: #b57b8a;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #d4af37;
  transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
  width: 100%;
}
.nav-links a:last-child,
.mobile-menu a:last-child {
  display: flex;

  padding: 14px 32px;
  background: linear-gradient(135deg, #d88baa, #c06b88);
  color: #fff;
  width: fit-content;
  border-radius: 30px;
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 6px 15px rgba(192, 107, 136, 0.3);
}

/* ===== MENU MOBILE (hambúrguer) ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background-color: #b57b8a;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.3s ease;
  z-index: 1000;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

/* Sidebar Menu */
.mobile-menu {
  position: fixed;
  right: -250px;
  top: 0;
  width: 250px;
  height: 100vh;
  background-color: rgba(255, 248, 249, 0.9);
  backdrop-filter: blur(10px);
  padding: 120px 30px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: left;
  gap: 10px;
  transition: 0.4s;
  z-index: 1002;
  text-align: right;
}

.mobile-menu a {
  text-decoration: none;
  color: #b57b8a;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  position: relative;
  transition: color 0.3s ease;
}
.mobile-menu a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #d4af37;
  transition: width 0.3s ease;
}

.mobile-menu a:hover {
  color: #d4af37;
}

.menu-mobile a:hover::after {
  width: 100%;
}

/* Quando o menu abre */
.mobile-menu.active {
  right: 0;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Animação do X */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mostrar apenas no mobile */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
    align-items: left;
  }
  .mobile-menu {
    width: fit-content;
    height: auto;
    padding-bottom: 40px;
    height: 100vh;
  }
  .mobile-menu a:last-child {
    left: 0;
  }
  .nav-links {
    display: none;
  }
}
