/* ============================================================
   vm-form.css — Formulário de contato unificado
   Prefixo: vmf-
   Incluído em: nova-home, product-tvplay, product-util, linha-vm

   ATENÇÃO: nova-home.css e product-page.css têm reset universal
   ".body * { padding:0; margin:0 }" com especificidade 0,1,0.
   Aqui usamos ".vmf-section .vmf-X" (0,2,0) para ganhar a cascata.
   ============================================================ */

:root {
  --vmf-bg:        #0d1127;
  --vmf-surface:   #111827;
  --vmf-border:    rgba(255, 255, 255, 0.08);
  --vmf-accent:    #6f4bf1;
  --vmf-text:      #f0f2ff;
  --vmf-muted:     rgba(240, 242, 255, 0.6);
  --vmf-input-bg:  rgba(255, 255, 255, 0.04);
  --vmf-radius:    10px;
}

/* ── SECTION ─────────────────────────────────────────────── */
/* section.vmf-section usa especificidade 0,1,1 para ganhar do reset .body * { padding:0 } (0,1,0) */
section.vmf-section {
  background: var(--vmf-bg);
  padding: 120px 0;
  border-top: 1px solid var(--vmf-border);
}

.vmf-section .vmf-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.vmf-section .vmf-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.vmf-section .vmf-inner--centered {
  grid-template-columns: 1fr;
  max-width: 580px;
  margin: 0 auto;
}

/* ── INFO COLUMN ─────────────────────────────────────────── */
.vmf-section .vmf-section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vmf-accent);
  margin-bottom: 16px;
}

.vmf-section .vmf-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--vmf-text);
  line-height: 1.25;
  margin: 0 0 16px;
}

.vmf-gradient-text {
  background: linear-gradient(135deg, #6f4bf1 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vmf-section .vmf-subtitle {
  color: var(--vmf-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0 0 32px;
}

.vmf-section .vmf-contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vmf-section .vmf-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--vmf-muted);
  font-size: 0.9rem;
}

.vmf-section .vmf-contact-item svg {
  flex-shrink: 0;
  color: var(--vmf-accent);
}

/* ── FORM WRAP ───────────────────────────────────────────── */
.vmf-section .vmf-form-wrap {
  background: var(--vmf-surface);
  border: 1px solid var(--vmf-border);
  border-radius: 16px;
  padding: 48px 40px;
}

/* ── TABS ────────────────────────────────────────────────── */
.vmf-section .vmf-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 4px;
}

.vmf-section .vmf-tab {
  flex: 1;
  padding: 10px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  background: transparent;
  border: none;
  border-radius: 7px;
  color: var(--vmf-muted);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  font-family: inherit;
}

.vmf-section .vmf-tab:hover:not(.vmf-tab--active) { color: var(--vmf-text); }

.vmf-section .vmf-tab--active {
  background: var(--vmf-accent);
  color: #fff;
}

/* ── FORM ────────────────────────────────────────────────── */
.vmf-section .vmf-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.vmf-section .vmf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.vmf-section .vmf-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.vmf-field--hidden {
  display: none !important;
}

.vmf-section .vmf-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--vmf-muted);
  letter-spacing: 0.03em;
}

.vmf-section .vmf-input {
  background: var(--vmf-input-bg);
  border: 1px solid var(--vmf-border);
  border-radius: var(--vmf-radius);
  color: var(--vmf-text);
  font-size: 1rem;
  padding: 15px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.vmf-section .vmf-input::placeholder {
  color: rgba(240, 242, 255, 0.28);
}

.vmf-section .vmf-input:focus {
  border-color: var(--vmf-accent);
  box-shadow: 0 0 0 3px rgba(111, 75, 241, 0.15);
}

.vmf-section .vmf-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(240,242,255,0.4)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.vmf-section .vmf-select option,
.vmf-section .vmf-select optgroup {
  background: #111827;
  color: #f0f2ff;
}

.vmf-section input[type="date"].vmf-input::-webkit-calendar-picker-indicator {
  filter: invert(0.55);
  cursor: pointer;
}

/* ── SUBMIT ──────────────────────────────────────────────── */
.vmf-section .vmf-submit-row { margin-top: 6px; }

.vmf-section .vmf-btn-submit {
  width: 100%;
  padding: 18px;
  background: var(--vmf-accent);
  color: #fff;
  border: none;
  border-radius: var(--vmf-radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
}

.vmf-section .vmf-btn-submit:hover:not(:disabled) {
  opacity: 0.88;
  transform: translateY(-1px);
}

.vmf-section .vmf-btn-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.vmf-btn-loading { display: none; }

@keyframes vmf-spin { to { transform: rotate(360deg); } }
.vmf-spin { animation: vmf-spin 0.75s linear infinite; }

/* ── FEEDBACK ────────────────────────────────────────────── */
.vmf-section .vmf-msg {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--vmf-radius);
  font-size: 0.9rem;
  line-height: 1.4;
}

.vmf-section .vmf-msg--success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

.vmf-section .vmf-msg--error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .vmf-section .vmf-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 600px) {
  section.vmf-section       { padding: 80px 0; }
  .vmf-section .vmf-row     { grid-template-columns: 1fr; }
  .vmf-section .vmf-form-wrap { padding: 32px 24px; }
  .vmf-section .vmf-tabs    { flex-wrap: wrap; }
  .vmf-section .vmf-tab     { flex: none; min-width: calc(50% - 4px); }
}
