/* hsc-crm-form.css — visual dos formularios de captacao (padrao HSC).
   Par do /assets/js/hsc-crm-form.js. Ver docs/CRM-FORMULARIOS.md.
   Default: fundo claro. Modificador .hscf--dark para secoes escuras. */

.hscf { font-family: inherit; text-align: left; }
.hscf__head { margin-bottom: 20px; padding-right: 42px; }
.hscf__title { margin: 0 0 6px; font-size: 21px; line-height: 1.25; color: #011072; }
.hscf__sub { margin: 0; font-size: 13.5px; line-height: 1.5; color: rgba(0, 0, 0, .6); }

.hscf__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hscf__field { margin-bottom: 14px; }
.hscf__field label {
  display: block; margin-bottom: 6px;
  font-size: 12.5px; font-weight: 600; color: rgba(0, 0, 0, .7);
}
.hscf__field input,
.hscf__field select,
.hscf__field textarea {
  width: 100%; box-sizing: border-box; padding: 11px 13px;
  font-family: inherit; font-size: 14.5px; color: #111;
  background: #f7f8fc; border: 1px solid #e2e6f0; border-radius: 10px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.hscf__field textarea { min-height: 92px; resize: vertical; }
.hscf__field select { cursor: pointer; }
.hscf__field input:focus,
.hscf__field select:focus,
.hscf__field textarea:focus {
  outline: 0; background: #fff; border-color: #4a6cf7;
  box-shadow: 0 0 0 3px rgba(74, 108, 247, .16);
}

/* Honeypot: invisivel para gente, preenchido por bot. */
.hscf__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.hscf__submit {
  width: 100%; margin-top: 6px; padding: 13px 20px;
  font-family: inherit; font-size: 15px; font-weight: 700; color: #fff;
  background: #4a6cf7; border: 0; border-radius: 10px; cursor: pointer;
  box-shadow: 0 10px 28px rgba(74, 108, 247, .32);
  transition: background-color .2s, transform .2s, box-shadow .2s;
}
.hscf__submit:hover:not(:disabled) {
  background: #3a5ce0; transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(74, 108, 247, .4);
}
.hscf__submit:disabled { opacity: .7; cursor: default; transform: none; }

.hscf__msg { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: rgba(0, 0, 0, .7); }
.hscf__msg--err { color: #c0392b; }
.hscf__msg a { color: #c0392b; text-decoration: underline; }

.hscf__nota { margin: 12px 0 0; font-size: 11.5px; line-height: 1.5; color: rgba(0, 0, 0, .45); }
.hscf__nota a { color: inherit; text-decoration: underline; }

.hscf__ok { display: none; padding: 40px 24px; text-align: center; }
.hscf__ok h3 { margin: 0 0 8px; font-size: 21px; color: #011072; }
.hscf__ok p { margin: 0; font-size: 14px; line-height: 1.6; color: rgba(0, 0, 0, .65); }

/* ---------- Variante para fundo escuro ---------- */
.hscf--dark .hscf__title { color: #fff; }
.hscf--dark .hscf__sub { color: rgba(255, 255, 255, .72); }
.hscf--dark .hscf__field label { color: rgba(255, 255, 255, .82); }
.hscf--dark .hscf__field input,
.hscf--dark .hscf__field select,
.hscf--dark .hscf__field textarea {
  color: #fff; background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16);
}
.hscf--dark .hscf__field input::placeholder,
.hscf--dark .hscf__field textarea::placeholder { color: rgba(255, 255, 255, .4); }
.hscf--dark .hscf__field input:focus,
.hscf--dark .hscf__field select:focus,
.hscf--dark .hscf__field textarea:focus {
  background: rgba(255, 255, 255, .12); border-color: #6d8bff; box-shadow: 0 0 0 3px rgba(109, 139, 255, .2);
}
.hscf--dark .hscf__field select option { color: #111; }
.hscf--dark .hscf__msg { color: rgba(255, 255, 255, .8); }
.hscf--dark .hscf__msg--err { color: #ffb4a8; }
.hscf--dark .hscf__msg a { color: #ffb4a8; }
.hscf--dark .hscf__nota { color: rgba(255, 255, 255, .45); }
.hscf--dark .hscf__ok h3 { color: #fff; }
.hscf--dark .hscf__ok p { color: rgba(255, 255, 255, .75); }

@media (max-width: 600px) {
  .hscf__row { grid-template-columns: 1fr; gap: 0; }
}

/* Variante para formulario dentro de um card/moldura da propria pagina
   (ex.: /contato, onde a moldura era do iframe e nao tinha respiro interno). */
.hscf--boxed { padding: 28px 26px 24px; }
@media (max-width: 600px) { .hscf--boxed { padding: 22px 18px 20px; } }
