.header {
  border-radius: 15px;
  max-width: 1200px;
  margin: auto;
  left: 50%;
  transform: translateX(-50%);
  position: fixed;
  width: 100%;
  top: 20px;
  z-index: 1000;
  transition: 0.3s;
  background: transparent;
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.header.scrolled .nav a {
  color: white;
}

.header.scrolled .nav a:hover {
  color: #ccc;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 60px;
}

.nav {
  display: flex;
  gap: 50px;
}

/* Menu */
.nav a {
  color: black;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.nav a:hover {
  color: #555;
}

/* Botão */
.btn-contato {
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  background: #007BFF; /* azul */
  color: white;
  border: none;
  transition: 0.3s;
}

.btn-contato:hover {
  background: #0056b3; /* azul mais escuro */
}

body {
  font-family: 'Poppins', sans-serif;
}

/* =========================
   MENU MOBILE
========================= */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: black;
}

/* =========================
   RESPONSIVO HEADER
========================= */
@media (max-width: 768px) {

  .header {
    top: 10px;
    border-radius: 10px;
  }

  .container {
    padding: 15px 20px;
  }

  .logo img {
    height: 45px;
  }

  /* MOSTRA HAMBURGUER */
  .menu-toggle {
    display: block;
  }

  /* ESCONDE MENU */
  .nav {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 25px 0;

    display: none;
  }

  /* QUANDO ABERTO */
  .nav.active {
    display: flex;
  }

  .nav a {
    color: white;
    font-size: 18px;
  }

  /* ESCONDE BOTÃO CONTATO */
  .cta {
    display: none;
  }
}