/* Home contact / lead capture */
.contact-home {
  background: #F7FAFC;
}
.contact-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

/* ===== Form card — DARK NAVY premium (porta de entrada Gradios) ===== */
.contact-home-form-card {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, #0E1B36 0%, #0A152B 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 52px 48px 46px;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 12px 32px -12px rgba(8, 21, 63, 0.20),
    0 40px 100px -30px rgba(8, 21, 63, 0.28),
    0 70px 140px -40px rgba(0, 184, 255, 0.14);
}
.contact-home-form-card::before {
  /* linha cyan superior — assinatura */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,184,255,0.55) 50%, transparent 100%);
  z-index: 1;
}
.contact-home-form-card::after {
  /* glow radial cyan no canto */
  content: "";
  position: absolute;
  top: -30%; right: -15%;
  width: 50%; height: 80%;
  background: radial-gradient(closest-side, rgba(0,184,255,0.14), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.contact-home-form-card > * { position: relative; z-index: 1; }

.contact-home-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.contact-home-form .field { display: flex; flex-direction: column; margin-bottom: 16px; }
.contact-home-form .field:last-of-type { margin-bottom: 20px; }
.contact-home-form label {
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(245,247,252,0.92);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.contact-home-form .field-optional {
  font-weight: 500;
  color: rgba(245,247,252,0.45);
  font-size: 11.5px;
  margin-left: 4px;
}
.contact-home-form input,
.contact-home-form select,
.contact-home-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: rgba(245,247,252,0.95);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 180ms var(--ease-standard), box-shadow 180ms var(--ease-standard), background 180ms;
  box-sizing: border-box;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.contact-home-form textarea { resize: vertical; min-height: 110px; line-height: 22px; }
.contact-home-form input:hover,
.contact-home-form select:hover,
.contact-home-form textarea:hover {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
}
.contact-home-form input:focus,
.contact-home-form select:focus,
.contact-home-form textarea:focus {
  outline: none;
  border-color: rgba(0,184,255,0.65);
  background: rgba(0,184,255,0.06);
  box-shadow:
    0 0 0 3px rgba(0,184,255,0.18),
    0 0 18px rgba(0,184,255,0.30);
}
.contact-home-form input::placeholder,
.contact-home-form textarea::placeholder { color: rgba(245,247,252,0.55); }
.contact-home-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(0,184,255,0.85) 50%),
    linear-gradient(-45deg, transparent 50%, rgba(0,184,255,0.85) 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.contact-home-form .field-help {
  display: block;
  font-size: 12.5px;
  color: rgba(245,247,252,0.50);
  margin-top: 8px;
}
/* botão submit em estado destacado (CTA principal) */
.contact-home-form button[type="submit"] {
  background: linear-gradient(135deg, var(--brand) 0%, #00A8FF 100%);
  border-color: transparent;
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 8px 22px -4px rgba(0,184,255,0.45),
    0 4px 12px -2px rgba(37,70,189,0.40);
}
.contact-home-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    0 14px 32px -6px rgba(0,184,255,0.65),
    0 6px 16px -4px rgba(37,70,189,0.50);
}

/* ===== side column — limpa, hierárquica, sem ruído ===== */
.contact-home-side {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* "DIRETO" continua como card pq segura CTAs alternativos */
.contact-home-card {
  background: #fff;
  border: 1px solid rgba(10,27,61,0.06);
  border-radius: 14px;
  padding: 24px 26px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 1px 2px rgba(10,27,61,0.04),
    0 8px 20px -10px rgba(10,27,61,0.10);
}
.contact-home-card-direct { background: linear-gradient(180deg, #ffffff 0%, #FBFCFE 100%); }
.contact-home-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.012em;
  margin: 8px 0 16px;
  line-height: 24px;
}

/* WhatsApp = secundário, sem bg sólido brand pra não competir com o submit do form */
.contact-side-wa {
  background: #fff;
  color: var(--text);
  border-color: rgba(10,27,61,0.12);
}
.contact-side-wa i { color: #25D366; }
.contact-side-wa:hover {
  background: rgba(37,211,102,0.06);
  color: var(--text);
  border-color: rgba(37,211,102,0.40);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -4px rgba(37,211,102,0.20);
}
.contact-side-wa:hover i { color: #1FB35A; }

.contact-side-mail {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid transparent;
}
.contact-side-mail:hover {
  background: var(--bg-subtle);
  color: var(--text);
  border-color: rgba(10,27,61,0.08);
}

/* Blocos sem card: "O QUE ESPERAR" e "DÚVIDAS RÁPIDAS" — texto limpo */
.contact-home-block {
  padding: 0 4px;
}
.contact-home-block .section-eyebrow {
  display: block;
  margin-bottom: 16px;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.14em;
}

/* lista "O QUE ESPERAR" com checks cyan */
.contact-home-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14.5px;
  color: var(--text);
  line-height: 22px;
}
.contact-home-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.contact-home-list b { font-weight: 700; color: var(--text); }
.contact-home-check {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand) 0%, #00A8FF 100%);
  color: #fff;
  margin-top: 2px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    0 2px 6px -1px rgba(0,184,255,0.45);
}

/* QA: limpo, sem bordas duras */
.contact-home-qa { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-home-qa-item { padding: 0; border: 0; }
.contact-home-qa-item .q {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.contact-home-qa-item p {
  margin: 0;
  font-size: 14px;
  line-height: 21px;
  color: #4A5568;
}

@media (max-width: 1024px) {
  .contact-home-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-home-form-card { padding: 40px 32px 36px; }
}
@media (max-width: 540px) {
  .contact-home-form .field-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .contact-home-form-card { padding: 32px 22px 28px; }
}
