* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: "Poppins", sans-serif;
}

.tela-inicial {
  background: url('../images/banner.png') no-repeat center center/cover;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  color: #fff;
  padding: 20vh 20px 20px;
}

.tela-inicial h1 {
  font-size: 2em;
  margin-bottom: 0px;
  color: #e7ffd1;
}

.tela-inicial p {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 500px;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
}

.btn-comecar {
  background-color: #db9008;
  color: #fff;
  border: none;
  padding: 15px 30px;
  font-size: 1em;
  border-radius: 30px;
  cursor: pointer;
  margin-top: 50px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: background 0.3s ease;
}

.btn-comecar:hover {
  background-color: #b47f35;
}

/* POPUP */
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 15px;
}

.popup {
  background: #3b2a1a;
  padding: 30px 20px;
  border-radius: 15px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  color: #fff;
  position: relative;
  text-align: center;
}

.popup h2 {
  margin-bottom: 20px;
  color: #ffcc80;
  font-size: 1.5em;
}

.popup input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 8px;
  border: none;
  background: #fff;
  color: #333;
  font-size: 1em;
}

.popup button[type="submit"] {
  width: 100%;
  padding: 12px;
  background: #ffb74d;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1em;
}

.popup button[type="submit"]:hover {
  background: #ffa726;
}

.fechar-popup {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
}

.erro {
  color: #ff4d4d;
  margin-top: 10px;
}

.cadastro {
  margin-top: 15px;
  font-size: 0.95em;
}

.cadastro a {
  color: #ffcc80;
  text-decoration: none;
}

.cadastro a:hover {
  text-decoration: underline;
}

/* MOBILE RESPONSIVO */
@media (max-width: 480px) {
  .tela-inicial {
    background: url('../images/banner.png') no-repeat center center/cover;
  }

  .tela-inicial h1 { font-size: 1em; }
  .tela-inicial p { font-size: 1em; }
  .btn-comecar { padding: 12px 80px; font-size: 0.95em; }
  .popup { padding: 20px 15px; }
  .popup h2 { font-size: 1.3em; }
  .popup input, .popup button[type="submit"] { font-size: 0.95em; padding: 10px; }
}
