/**
 * Projeto: BaseCNPJ
 * Arquivo: fale-conosco.css
 * Autor: Djeferson Capelli
 * Versão: 1.0.0
 * Descrição: Estilos da página de contato
 */
.contact-shell {
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0) + 34px);
  padding-bottom: max(40px, env(safe-area-inset-bottom, 0));
  padding-left: max(16px, 4vw, env(safe-area-inset-left, 0));
  padding-right: max(16px, 4vw, env(safe-area-inset-right, 0));
}

.contact-wrap {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.contact-head h1 {
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 10px;
  color: var(--text);
}

.contact-head p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 20px;
}

.contact-intro {
  margin-bottom: 22px;
}

.contact-intro p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 12px;
}

.contact-intro a {
  color: var(--accent);
}

.contact-alert {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 12px 14px;
  font-size: 14px;
  margin-bottom: 16px;
}

.contact-alert.success {
  border-color: rgba(29, 158, 117, .45);
  background: rgba(29, 158, 117, .12);
  color: #4ccea9;
}

.contact-alert.error {
  border-color: rgba(226, 75, 74, .45);
  background: rgba(226, 75, 74, .12);
  color: #f38f8f;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, .24);
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(55, 131, 255, .18);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-submit {
  margin-top: 4px;
  border: none;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.contact-submit:hover {
  filter: brightness(1.05);
}

.contact-note {
  font-size: 12px;
  color: var(--text-dim);
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

html[data-theme="light"] .contact-form input,
html[data-theme="light"] .contact-form textarea {
  background: #fff;
}

html[data-theme="light"] .contact-alert.success {
  color: #166534;
}

html[data-theme="light"] .contact-alert.error {
  color: #b91c1c;
}
