/* ==========================================================================
   VistoFácil — Base (reset + elementos comuns + componentes) — TEMA CLARO
   ========================================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: 100%; }

body {
  font-family: var(--vf-fonte);
  color: var(--vf-texto);
  background: var(--vf-bg);
  background-image: var(--vf-bg-grad);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--vf-laranja-escuro); text-decoration: none; }
a:hover { color: var(--vf-laranja); }

/* --- Container --- */
.vf-container {
  width: 100%;
  max-width: var(--vf-container);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Botões --- */
.vf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--vf-raio-pill);
  background: var(--vf-grad-laranja);
  box-shadow: var(--vf-sombra-laranja);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.vf-btn:hover { box-shadow: 0 10px 26px rgba(245, 124, 47, 0.45); }
.vf-btn:active { transform: scale(0.98); }
.vf-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Botão secundário (claro, contorno) */
.vf-btn--ghost {
  background: #fff;
  color: var(--vf-texto);
  border: 1px solid var(--vf-borda-forte);
  box-shadow: none;
}
.vf-btn--ghost:hover {
  background: var(--vf-surface-2);
  box-shadow: none;
}

/* --- Campos de formulário --- */
.vf-campo { margin-bottom: 14px; }
.vf-campo label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--vf-texto-suave);
  margin-bottom: 6px;
}
.vf-campo input,
.vf-campo select {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--vf-texto);
  background: var(--vf-surface-2);
  border: 1px solid var(--vf-borda);
  border-radius: var(--vf-raio);
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.vf-campo input::placeholder { color: var(--vf-texto-mute); }
.vf-campo input:focus,
.vf-campo select:focus {
  background: #fff;
  border-color: var(--vf-laranja);
  box-shadow: 0 0 0 3px rgba(245, 124, 47, 0.15);
}

/* --- Card --- */
.vf-card {
  background: var(--vf-surface);
  border: 1px solid var(--vf-borda);
  border-radius: var(--vf-raio-lg);
  box-shadow: var(--vf-sombra-card);
}

/* --- Mensagens / alertas --- */
.vf-alerta {
  font-size: 0.88rem;
  padding: 10px 14px;
  border-radius: var(--vf-raio);
  margin-bottom: 14px;
  display: none;
}
.vf-alerta--erro {
  display: block;
  color: var(--vf-erro);
  background: #fdecec;
  border: 1px solid #f5c2c0;
}
.vf-alerta--sucesso {
  display: block;
  color: var(--vf-sucesso);
  background: #e7f6ed;
  border: 1px solid #b7e3c8;
}

/* --- Utilitários --- */
.vf-oculto { display: none !important; }
.vf-centro { text-align: center; }
.vf-mt { margin-top: 16px; }
.vf-mt-lg { margin-top: 28px; }
