/* ===== Fale Conosco — botão flutuante + modal =================================
   Auto-contido (prefixo .fc-) para funcionar em qualquer página, já que o site
   não tem template base compartilhado. */

.fc-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: none;
  border-radius: 999px;
  background: #6c8cff;
  color: #fff;
  font: 600 0.95rem/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(108, 140, 255, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.fc-fab:hover {
  background: #5778f0;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(108, 140, 255, 0.55);
}

.fc-fab svg { flex-shrink: 0; }

/* Overlay */
.fc-overlay {
  position: fixed;
  inset: 0;
  z-index: 9100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 17, 23, 0.62);
  backdrop-filter: blur(3px);
  animation: fc-fade 0.18s ease;
}

.fc-overlay[hidden] { display: none; }

@keyframes fc-fade { from { opacity: 0; } to { opacity: 1; } }

/* Modal */
.fc-modal {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 32px 28px 28px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #1a1a1a;
  animation: fc-pop 0.18s ease;
}

@keyframes fc-pop {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.fc-fechar {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #6b7280;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.fc-fechar:hover { background: #f3f4f6; color: #111; }

.fc-titulo {
  margin: 0 0 4px;
  font-size: 1.35rem;
  font-weight: 700;
}

.fc-sub {
  margin: 0 0 20px;
  font-size: 0.9rem;
  color: #6b7280;
}

.fc-label {
  display: block;
  margin: 14px 0 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #374151;
}

.fc-input {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 13px;
  border: 1px solid #d1d5db;
  border-radius: 9px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #1a1a1a;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fc-input:focus {
  outline: none;
  border-color: #6c8cff;
  box-shadow: 0 0 0 3px rgba(108, 140, 255, 0.18);
}

.fc-textarea { resize: vertical; min-height: 96px; }

/* Honeypot — invisível para humanos, fora do fluxo */
.fc-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.fc-enviar {
  width: 100%;
  margin-top: 20px;
  padding: 13px;
  border: none;
  border-radius: 9px;
  background: #6c8cff;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.fc-enviar:hover:not(:disabled) { background: #5778f0; }
.fc-enviar:disabled { opacity: 0.6; cursor: progress; }

.fc-feedback {
  margin-top: 14px;
  font-size: 0.88rem;
  min-height: 1.1em;
}

.fc-feedback.fc-ok    { color: #047857; }
.fc-feedback.fc-erro  { color: #b91c1c; }

@media (max-width: 520px) {
  .fc-fab span { display: none; }
  .fc-fab { padding: 14px; }
}
