/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

/* =========================
   BODY
========================= */
body {
  background: #f4f6f9;
  color: #333;
  min-height: 100vh;
}

/* =========================
   NAVBAR (HARMONIZAÇÃO)
========================= */
.navbar {
  background: #2a5298;
  color: #fff;
  padding: 14px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .logo {
  font-size: 18px;
  font-weight: 600;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  margin-left: 20px;
  font-size: 14px;
}

.navbar a:hover {
  text-decoration: underline;
}

/* =========================
   CONTEÚDO
========================= */
.contato-wrapper {
  padding: 50px 20px;
}

/* =========================
   CONTAINER
========================= */
.contato-container {
  max-width: 600px;
  margin: auto;
  background: #ffffff;
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.contato-container h1 {
  text-align: center;
  margin-bottom: 8px;
  color: #2c3e50;
}

.contato-container p {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-bottom: 28px;
}

/* =========================
   ALERTAS
========================= */
.alert {
  padding: 12px;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
  margin-bottom: 22px;
}

.alert.success {
  background: #e9f7ef;
  color: #1e8449;
  border-left: 4px solid #28a745;
}

.alert.error {
  background: #fdecea;
  color: #922b21;
  border-left: 4px solid #dc3545;
}

/* =========================
   FORMULÁRIO
========================= */
.contato-form {
  display: flex;
  flex-direction: column;
}

.contato-form label {
  font-size: 13px;
  font-weight: 600;
  margin: 14px 0 6px;
  color: #444;
}

.contato-form input,
.contato-form select,
.contato-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contato-form textarea {
  resize: vertical;
  min-height: 110px;
}

.contato-form input:focus,
.contato-form select:focus,
.contato-form textarea:focus {
  outline: none;
  border-color: #2a5298;
  box-shadow: 0 0 0 2px rgba(42,82,152,0.15);
}

/* =========================
   BOTÃO
========================= */
.contato-form button {
  margin-top: 28px;
  padding: 13px;
  background: #2a5298;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.1s;
}

.contato-form button:hover {
  background: #1f3f7a;
}

.contato-form button:active {
  transform: scale(0.98);
}

/* =========================
   FOOTER
========================= */
.footer {
  margin-top: 60px;
  text-align: center;
  font-size: 13px;
  color: #777;
}

/* =========================
   RESPONSIVO
========================= */
@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .contato-container {
    padding: 28px 22px;
  }

  .contato-container h1 {
    font-size: 22px;
  }
}
