@import url('banner.css');
@import url('section.css');
@import url('lancamentos.css');
@import url('form-section.css');
@import url('footer.css');

* {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(to bottom, #0a0a0a, #141414);
  color: #f5f5f5;
  overflow-x: hidden;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 6vh;
  padding: 1.5rem 5%;
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
}

nav h1 {
  font-size: 1.8rem;
  font-weight: 700;
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  font-size: 0.95rem;
}

nav li {
  position: relative;
  cursor: pointer;
}

nav a,
#desktop_menu a,
#mobile_menu a {
  color: #f5f5f5;
  background-image: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
}

nav li::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background: #f5f5f5;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

nav li:hover::after {
  width: 100%;
}

#mobile_menu {
  display: none;
}

#mobile_btn {
  display: none;
}

.whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: #22c55e;
  padding: 0.75rem;
  border-radius: 9999px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  z-index: 999;
}

.whatsapp svg {
  width: 24px;
  height: 24px;
  color: white;
}

.btn {
  position: relative;
  padding: 0.8rem 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s ease;
  min-width: 200px;
  z-index: 1;
}

/* Animação do botão hamburger */
.hamburger-lines {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
}

.hamburger-lines span {
  display: block;
  height: 3px;
  width: 100%;
  background: #f5f5f5;
  border-radius: 5px;
  transition: 0.3s ease;
}

#mobile_btn {
  transition: transform 0.3s ease-in-out;
}

#mobile_btn.open .line1 {
  transform: rotate(45deg) translate(5px, 5px);
}
#mobile_btn.open .line2 {
  opacity: 0;
}
#mobile_btn.open .line3 {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
#mobile_menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #0a0a0a;
  position: absolute;
  top: 8vh;
  left: 0;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  padding: 0;
  opacity: 0;
  transition: all 0.4s ease-in-out;
  z-index: 999;
}

#mobile_menu.active {
  padding: 1rem 0;
  max-height: 300px; /* ou mais, dependendo da quantidade de itens */
  opacity: 1;
}


#mobile_menu a {
  color: #f5f5f5;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
}

@media screen and (max-width: 768px) {
  #desktop_menu {
    display: none;
  }

  #mobile_btn {
    background: none;
    border: none;
    padding: 0;
    display: block;
  }
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.9);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  }

  #mobile_menu {
    top: 8vh; /* necessário para descer o menu corretamente abaixo do nav fixo */
    position: fixed;
    gap: 0.5rem;
    max-height: 200px;
  }

   #mobile_btn svg,
  .hamburger-lines span {
    transform: scale(0.9);
  }



