/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

/* FUNDO */
body {
  height: 100vh;
  background: url('img/bg.jpg') no-repeat center center/cover;
  position: relative;
  overflow: hidden;
}

/* OVERLAY ESCURO + BLUR */
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  z-index: 1;
}

/* HEADER */
header {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
}

/* LOGO ESTILIZADA */
.logo {
  font-size: 28px;
  font-weight: 800;
  color: white;
  letter-spacing: 1px;
}

.logo span {
  color: #00ff88;
}

/* BOTÕES HEADER */
nav button,
.whatsapp {
  margin-left: 10px;
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

/* BOTÃO NORMAL */
nav button {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
}

nav button:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* BOTÃO WHATSAPP */
.whatsapp {
  background: #00ff88;
  color: black;
  text-decoration: none;
  box-shadow: 0 0 10px #00ff8850;
}

.whatsapp:hover {
  background: #00cc6a;
  transform: scale(1.05);
}

/* MAIN */
main {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  position: relative;
}

/* CARD */
.card {
  width: 100%;
  max-width: 420px;
  padding: 26px;
  border-radius: 16px;
  margin: 0 auto;

  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  box-shadow: 0 0 40px rgba(0,0,0,0.6);
}

/* ANIMAÇÃO ENTRADA */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* TÍTULO */
.card h2 {
  margin-bottom: 20px;
}

/* INPUTS */
.card input {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border-radius: 8px;
  border: none;
  outline: none;
  background: rgba(255,255,255,0.1);
  color: white;
  transition: 0.3s;
}

.card input::placeholder {
  color: rgba(255,255,255,0.5);
}

.card input:focus {
  border: 1px solid #00ff88;
  box-shadow: 0 0 10px #00ff8850;
}

/* BOTÃO PRINCIPAL */
.card button {
  width: 100%;
  padding: 12px;
  margin-top: 15px;
  border-radius: 8px;
  border: none;
  background: #00ff88;
  color: black;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

/* HOVER BOTÃO */
.card button:hover {
  background: #00cc6a;
  transform: translateY(-2px);
  box-shadow: 0 0 15px #00ff88;
}

/* LINKS */
.link {
  margin-top: 10px;
  font-size: 14px;
  color: #00ff88;
  cursor: pointer;
  transition: 0.2s;
}

.link:hover {
  text-decoration: underline;
  opacity: 0.8;
}

/* HIDDEN */
.hidden {
  display: none;
}

@media (max-width: 768px) {

  header {
    padding: 15px;
  }

  .logo {
    font-size: 22px;
  }

  nav {
    display: flex;
    gap: 6px;
  }

  nav button,
  .whatsapp {
    padding: 8px 10px;
    font-size: 12px;
  }

  main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

  .card {
  width: 100%;
  max-width: 420px;

  padding: 28px;
  border-radius: 16px;

  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);

  color: white;
  box-shadow: 0 0 40px rgba(0,0,0,0.6);
}

  .card h2 {
    font-size: 20px;
  }

  .card input {
    padding: 14px;
    font-size: 16px;
  }

  .card button {
    padding: 14px;
    font-size: 16px;
  }
}


