/* Formulário de contacto (independente do Nicepage) */
.u-section-5 .contacto {
  margin: -214px 0 0 394px;
  min-height: 362px;
  text-align: left;
}
@media (max-width: 1199px) {
  .u-section-5 .contacto { margin-left: 369px; }
}
@media (max-width: 991px) {
  .u-section-5 .contacto { margin-top: -217px; margin-left: 307px; }
}
@media (max-width: 767px) {
  .u-section-5 .contacto { margin: 20px 0 0 0; min-height: 0; }
}

.contacto-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.contacto-form input,
.contacto-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: #e0e5eb;
  color: #111;
  font: inherit;
  font-size: 1rem;
  border-radius: 0;
}
.contacto-form textarea { resize: vertical; min-height: 110px; }
.contacto-form input:focus,
.contacto-form textarea:focus {
  outline: none;
  border-bottom-color: #292870;
}
.contacto-form [aria-invalid="true"] { border-bottom-color: #c62828; }

.contacto-form button {
  width: 100%;
  padding: 12px 0 13px;
  border: 0;
  background: #292870;
  color: #fff;
  font: inherit;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}
.contacto-form button:hover,
.contacto-form button:focus-visible { background: #1f1e56; }
.contacto-form button:disabled { opacity: .6; cursor: wait; }

.contacto-estado { margin: 0; font-size: .95rem; min-height: 1.2em; }
.contacto-estado.ok { color: #2e7d32; }
.contacto-estado.erro { color: #c62828; }

.contacto-sr,
.contacto-hp {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  left: -9999px;
}
