/* Marca d'água (fundo com logo transparente) */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/logo.png') no-repeat center center;
  background-size: 800px auto;
  opacity: 0.2; /* ajuste se necessário */
  z-index: 0;
  pointer-events: none;
}

/* Conteúdo sempre acima da marca d'água */
main, header, footer {
  position: relative;
  z-index: 1;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0a0a20;
  color: #ddd;
  text-align: justify;
}

header {
  background: #02021c;
  padding: 10px;
}

.logo {
  max-width: 140px;
  cursor: pointer;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 10px;
  padding-left: 0;
}

nav a {
  text-decoration: none;
  color: #0cf;
  font-weight: bold;
}

main {
  padding: 20px;
}

section {
  margin: 40px auto;
  max-width: 800px;
}

input, textarea {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  background: #111;
  border: 1px solid #444;
  color: #fff;
}

button {
  background: #0cf;
  border: none;
  padding: 10px 15px;
  color: #000;
  font-weight: bold;
  margin-right: 10px;
  cursor: pointer;
}

a.voltar {
  display: inline-block;
  margin-top: 20px;
  color: #0cf;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
}

.close {
  position: absolute;
  top: 30px;
  right: 45px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

footer {
  text-align: center;
  padding: 20px;
  background: #02021c;
  color: #aaa;
}
