/* ============================================================
   Suporte — Fábrica App (mobile-first, flat/material)
   (usa as variáveis de ../area-membro/css/app.css)
   ============================================================ */
.sp-body { background: var(--bg); min-height: 100vh; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.sp-top {
  display: flex; align-items: center; gap: 12px;
  max-width: 680px; margin: 0 auto; padding: 16px 18px;
}
.sp-mark {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: var(--radius);
  background: linear-gradient(150deg, #1b212b, #0c0f14); color: var(--brand);
  border: 1px solid rgba(200,255,77,.4);
}
.sp-top b { display: block; font-size: 15px; line-height: 1.1; }
.sp-top span { font-size: 12.5px; color: var(--muted); }

.sp-wrap { max-width: 680px; margin: 0 auto; padding: 6px 18px 70px; }
.sp-intro { padding: 14px 2px 24px; }
.sp-title { font-size: clamp(1.6rem, 5.6vw, 2.15rem); font-weight: 800; line-height: 1.14; letter-spacing: -0.01em; }
.sp-title .hl { color: var(--brand); }
.sp-sub { font-size: 15.5px; color: var(--muted); margin-top: 10px; }

/* ---------- provas sociais (slider horizontal) ---------- */
.sp-provas { margin-bottom: 24px; }
.sp-provas__track {
  display: flex; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* firefox */
  margin: 0 -18px; padding: 2px 18px; /* respiro nas bordas da tela */
}
.sp-provas__track::-webkit-scrollbar { display: none; }
.sp-prova {
  flex: 0 0 88%; max-width: 480px; scroll-snap-align: center;
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 20px 18px;
}
@media (min-width: 560px) { .sp-prova { flex-basis: 72%; } }

.sp-provas__nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 12px; }
.sp-provas__arrow {
  width: 34px; height: 34px; display: grid; place-items: center; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); border-radius: 50%;
  color: var(--muted); font-size: 15px; line-height: 1; transition: color .12s, border-color .12s;
}
.sp-provas__arrow:hover { color: var(--brand); border-color: rgba(200,255,77,.4); }
.sp-provas__dots { display: flex; gap: 7px; }
.sp-provas__dot {
  width: 8px; height: 8px; padding: 0; cursor: pointer; border: none; border-radius: 50%;
  background: var(--line-2); transition: background .15s, transform .15s;
}
.sp-provas__dot.is-active { background: var(--brand); transform: scale(1.25); }
.sp-prova__stars { color: #f5b301; font-size: 18px; letter-spacing: 3px; margin-bottom: 10px; }
.sp-prova__txt { font-size: 15px; line-height: 1.55; }
.sp-prova__who { display: flex; align-items: center; gap: 11px; margin-top: auto; padding-top: 14px; }
.sp-prova__avatar {
  width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(150deg, #1b212b, #0c0f14); color: var(--brand);
  border: 1px solid rgba(200,255,77,.35); font-weight: 800; font-size: 13px;
}
.sp-prova__who b { display: block; font-size: 14px; line-height: 1.2; }
.sp-prova__who span { font-size: 12.5px; color: var(--muted); }

/* ---------- formulário ---------- */
.sp-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; }
.sp-q { font-size: 19px; font-weight: 800; line-height: 1.25; }
.sp-q-help { font-size: 14px; color: var(--muted); margin: 6px 0 18px; }
.sp-submit { margin-top: 10px; padding: 16px; font-size: 16px; }
.sp-foot { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 12px; }

/* ---------- conclusão ---------- */
.sp-done { max-width: 520px; margin: 0 auto; padding: 80px 22px; text-align: center; }
.sp-done__mark { width: 66px; height: 66px; margin: 0 auto 22px; display: grid; place-items: center; background: var(--brand); color: var(--brand-ink); font-size: 34px; font-weight: 800; border-radius: var(--radius); }
.sp-done__proto { font-size: 15px; color: var(--muted); margin-bottom: 6px; }
.sp-done .lead { margin-top: 10px; font-size: 16px; color: var(--muted); }

/* ---------- loading no botão ---------- */
.btn.is-loading { color: transparent !important; pointer-events: none; position: relative; }
.btn.is-loading::after { content: ""; position: absolute; top: 50%; left: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border: 2px solid rgba(16,19,10,.3); border-top-color: #10130a; border-radius: 50%; animation: spspin .6s linear infinite; }
@keyframes spspin { to { transform: rotate(360deg); } }
