.contact {
  display: flex;
  justify-content: center;
  padding: 3rem 1rem 6rem;
}

.contact .card {
  background: var(--surface-color);
  padding: 2rem 2.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
  width: 100%;
  max-width: 540px;
}

.contact h1 {
  text-align: center;
  margin-bottom: 2rem;
  background: linear-gradient(90deg, var(--gradient-stops));
  -webkit-background-clip: text;
  color: transparent;
}

/* --- campos --- */
.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  background: #2a2a2a;
  border: 1px solid #444;
  border-radius: 0.5rem;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ffc371;
  box-shadow: 0 0 0 2px rgba(255, 195, 113, 0.4);
}

/* --- mensagens de erro/sucesso --- */
.error-msg {
  color: #ff6b6b;
  font-size: 0.85rem;
  margin-top: 0.35rem;
  min-height: 1em;
}

.success-msg {
  font-size: 20px;
  color: #20c997;
  margin-top: 1rem;
  text-align: center;
}

/* --- botão --- */
.btn-gradient {
  width: 100%;
  padding: 0.9rem 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  border-radius: 0.5rem;
  background: linear-gradient(90deg, var(--gradient-stops));
  color: #121212;
  cursor: pointer;
  transition: transform 0.15s;
}

.btn-gradient:hover {
  transform: translateY(-2px);
}

.btn-gradient:active {
  transform: translateY(0);
}

/* --- responsivo  --- */
@media (max-width: 500px) {
  .contact .card {
    padding: 1.5rem 1.25rem;
    margin-top: 40px;
  }
}
