/* ===== Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
}

/* ===== Header ===== */
header {
  background: #3965df;
  color: #fff;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

header h1 {
  font-size: 1.5rem;
}

header .logo {
  margin-right: 10px;
}

.hamburguer {
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  display: none; /* escondido no desktop */
}

/* ===== Menu ===== */
.menu ul {
  list-style: none;
  display: flex;
  gap: 15px;
}

.menu a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: color 0.3s;
}

.menu a:hover {
  color: #ffcc80;
}

/* ===== Main Sections ===== */
section {
  padding: 30px 20px;
  background: #fff;
  margin: 20px auto;
  border-radius: 8px;
  max-width: 900px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

section header h1 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #ffffff;
}

section .content h2 {
  margin-bottom: 10px;
  color: #3965df;
}

section p {
  margin-bottom: 10px;
  text-align: justify;
}

/* ===== Tabela ===== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

table th, table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

table th {
  background: #3965df;
  color: #fff;
}

/* ===== Formulário ===== */
form {
  margin: 20px 0;
}

fieldset {
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 6px;
}

legend {
  font-weight: bold;
  color: #3965df;
}

label {
  display: block;
  margin: 10px 0 5px;
}

input, textarea, button {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

button {
  background: #3965df;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

button:hover {
  background: #434d4d;
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 10px;
  font-size: 0.9rem;
  color: #3965df;
}

/* ===== Responsividade ===== */
@media (max-width: 768px) {
  .menu ul {
    flex-direction: column;
    display: none;
    background: #3965df;
    padding: 10px;
    border-radius: 6px;
  }

  .menu ul li {
    margin: 10px 0;
  }

  .hamburguer {
    display: block;
  }

  .menu.active ul {
    display: flex;
  }
}
