/* ═══════════════════════════════════════════════
   ORÇAMENTO (orcamento.html): etapa 1 (contato) e etapa 2 (briefing)
   Mesma linguagem do painel escuro do site (.bio, .process, .faq): fundo
   #0c0d0e, rótulos em Space Grotesk, textos em Plus Jakarta Sans, linhas
   finas e o degradê --grad como destaque. Sem backdrop-filter (pesa no
   celular, ver o comentário de "Como funciona" no style-2.css).
   Tudo com prefixo q- para não esbarrar em classes do style-2.css.
   ═══════════════════════════════════════════════ */

.quote {
  --q-bg: #0c0d0e;
  --q-surface: rgba(255, 255, 255, 0.035);
  --q-surface-2: rgba(255, 255, 255, 0.06);
  --q-line: rgba(255, 255, 255, 0.12);
  --q-line-2: rgba(255, 255, 255, 0.22);
  --q-text: #fff;
  --q-text-2: rgba(255, 255, 255, 0.76);
  --q-muted: rgba(255, 255, 255, 0.58);
  --q-accent: #6ea8ff;          /* --accent clareado: 4.5:1+ sobre o fundo escuro */
  --q-accent-bg: rgba(61, 139, 255, 0.14);
  --q-accent-line: rgba(61, 139, 255, 0.7);
  --q-err: #ff8a8a;
  --q-ok: #5ee0a0;
  --q-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --q-mono: 'Space Grotesk', monospace, sans-serif;
  --q-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%230c0d0e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.page-quote { background: #0c0d0e; }

/* Empata em especificidade com o reset mobile de `main section` do
   style-2.css e vence por vir depois. */
main .page-body > section.quote {
  position: relative;
  display: block;
  padding: calc(var(--nav-clear) + clamp(28px, 6vw, 72px)) clamp(16px, 4vw, 40px) clamp(72px, 10vw, 120px);
  border-bottom: none;
  background: var(--q-bg);
  color: var(--q-text);
  font-family: var(--q-sans);
  overflow: clip;
}

/* Brilho suave no topo (mesma ideia do .cta-final) */
main .page-body > section.quote::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: min(90vh, 820px);
  background:
    radial-gradient(ellipse 55% 60% at 18% 0%, rgba(61, 139, 255, 0.13), transparent 70%),
    radial-gradient(ellipse 45% 50% at 92% 8%, rgba(123, 92, 255, 0.10), transparent 70%);
  pointer-events: none;
}

.quote [hidden] { display: none !important; }

.quote__shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
}

/* ── Cabeçalho ── */
.quote__head { margin-bottom: clamp(28px, 4vw, 40px); }

.quote__label,
.q-box__kicker,
.q-sec__num {
  display: block;
  font-family: var(--q-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--q-muted);
}

.quote__label { margin-bottom: 14px; }

.quote .quote__title {
  margin: 0;
  font-family: var(--q-sans);
  font-size: clamp(2rem, 5vw, 3.3rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--q-text);
  text-wrap: balance;
}

.quote__title em {
  font-style: italic;
  font-weight: 300;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  /* o itálico encosta no fim da caixa e o clip cortava a última letra */
  padding-right: 0.08em;
}

.quote__lead {
  max-width: 58ch;
  margin: 18px 0 0;
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  line-height: 1.7;
  color: var(--q-text-2);
}

/* ── Etapas ── */
.q-steps {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.q-steps__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--q-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--q-muted);
}

.q-steps__item + .q-steps__item::before {
  content: "";
  width: clamp(24px, 6vw, 56px);
  height: 1px;
  margin-right: 4px;
  background: var(--q-line-2);
}

.q-steps__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--q-line-2);
  border-radius: 50%;
  font-size: 0.85rem;
  letter-spacing: 0;
  color: var(--q-text-2);
}

.q-steps__item.is-current { color: var(--q-text); }
.q-steps__item.is-current .q-steps__n {
  border-color: transparent;
  background: var(--grad);
  color: #0c0d0e;
}

.q-steps__item.is-done { color: var(--q-text-2); }
.q-steps__item.is-done .q-steps__n {
  border-color: var(--q-accent-line);
  color: var(--q-accent);
}

/* ── Caixas (etapa 1, cabeçalho da etapa 2, envio, fim) ── */
.q-card-box,
.q-sec {
  margin: 0;
  padding: clamp(20px, 4.5vw, 40px);
  background: var(--q-surface);
  border: 1px solid var(--q-line);
  border-radius: 20px;
}

.q-box__head { margin-bottom: 26px; }
.q-box__kicker { margin-bottom: 10px; color: var(--q-accent); }

.quote .q-box__title {
  margin: 0;
  font-family: var(--q-sans);
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--q-text);
  outline: none;
}

.q-box__desc {
  max-width: 60ch;
  margin: 10px 0 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--q-text-2);
}

.q-box__foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}

/* ── Grade de perguntas ── */
.q-grid,
.q-qs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 16px;
}

.q-item {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.q-item.half { grid-column: span 1; }

.q-label {
  display: block;
  margin: 0 0 8px;
  padding: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--q-text);
}

.q-opt {
  margin-left: 4px;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--q-muted);
}

.q-ess {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border: 1px solid var(--q-accent-line);
  border-radius: 999px;
  font-family: var(--q-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  vertical-align: 2px;
  color: var(--q-accent);
}

.q-hint {
  margin: -2px 0 10px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--q-muted);
}

/* ── Campos ── */
.q-field {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  font-family: var(--q-sans);
  font-size: 1rem;              /* 16px: o iOS não dá zoom ao focar */
  line-height: 1.4;
  color: var(--q-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

textarea.q-field {
  min-height: 100px;
  line-height: 1.55;
  resize: vertical;
}

.q-field::placeholder { color: rgba(255, 255, 255, 0.36); opacity: 1; }
.q-field:hover { border-color: rgba(255, 255, 255, 0.28); }

.q-field:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--q-surface-2);
  box-shadow: 0 0 0 3px rgba(61, 139, 255, 0.28);
}

.q-field[aria-invalid="true"] { border-color: var(--q-err); }

/* Preenchimento automático do navegador sem o fundo amarelo/branco */
.q-field:-webkit-autofill,
.q-field:-webkit-autofill:hover,
.q-field:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  box-shadow: 0 0 0 1000px #17191c inset;
  transition: background-color 9999s ease 0s;
}

.q-other { margin-top: 10px; }

.q-err {
  margin: 6px 0 0;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--q-err);
}

.q-err:empty { display: none; }

/* ── Opções em pílula (radio e checkbox) ── */
.q-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.q-pill,
.q-card,
.q-sw,
.q-mode,
.q-dot {
  position: relative;
  cursor: pointer;
}

/* O input fica por baixo, invisível; o <span> desenha a opção */
.q-pill input,
.q-card input,
.q-sw input,
.q-mode input,
.q-dot input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.q-pill > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 9px 16px 9px 13px;
  background: var(--q-surface);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--q-text-2);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.q-pill > span::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.38);
  border-radius: 6px;
  background: center / 14px no-repeat;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.q-pill.is-radio span::before { border-radius: 50%; }

.q-pill:hover > span { border-color: rgba(255, 255, 255, 0.32); color: var(--q-text); }

.q-pill input:checked + span {
  border-color: var(--q-accent-line);
  background: var(--q-accent-bg);
  color: var(--q-text);
}

.q-pill input:checked + span::before {
  border-color: transparent;
  background-color: var(--accent);
  background-image: var(--q-check);
}

.q-pill.is-radio input:checked + span::before {
  background-image: none;
  background-color: var(--accent);
  box-shadow: inset 0 0 0 4px #17233a;
}

.q-pill input:disabled + span { opacity: 0.4; cursor: not-allowed; }

.q-pill input:focus-visible + span,
.q-card input:focus-visible + span,
.q-sw input:focus-visible + span,
.q-mode input:focus-visible + span,
.q-dot input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ── Cartões (tipo de site) e versão do questionário ── */
.q-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.q-modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.q-card > span,
.q-mode > span {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 16px 18px;
  background: var(--q-surface);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.q-mode > span { padding: 20px; }

.q-card strong,
.q-mode strong {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--q-text);
}

.q-card small,
.q-mode small {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--q-muted);
}

.q-card:hover > span,
.q-mode:hover > span { border-color: rgba(255, 255, 255, 0.32); }

.q-card input:checked + span,
.q-mode input:checked + span {
  border-color: var(--q-accent-line);
  background: var(--q-accent-bg);
  box-shadow: inset 0 0 0 1px var(--q-accent-line);
}

.q-modo-note {
  margin: 16px 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--q-muted);
}

.q-modo-note button {
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 600;
  color: var(--q-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.q-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 18px 0 -8px;
  padding: 0;
  background: none;
  border: 0;
  font-family: var(--q-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--q-muted);
  cursor: pointer;
  transition: color 0.2s ease;
}

.q-back:hover { color: var(--q-text); }

.q-back svg,
.q-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Paleta ── */
.q-sws {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

.q-sw > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 14px;
  background: var(--q-surface);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.q-sw strong { font-size: 0.92rem; font-weight: 700; line-height: 1.3; color: var(--q-text); }
.q-sw small { font-size: 0.82rem; color: var(--q-muted); }

.q-sw-chips {
  display: flex;
  height: 30px;
  margin-bottom: 8px;
}

.q-sw-chips i {
  width: 30px;
  height: 30px;
  border: 2px solid #17191c;
  border-radius: 50%;
}

.q-sw-chips i + i { margin-left: -8px; }

.q-sw-chips.is-none {
  width: 30px;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  font-family: var(--q-mono);
  font-size: 0.9rem;
  color: var(--q-muted);
}

.q-sw:hover > span { border-color: rgba(255, 255, 255, 0.32); }

.q-sw input:checked + span {
  border-color: var(--q-accent-line);
  background: var(--q-accent-bg);
  box-shadow: inset 0 0 0 1px var(--q-accent-line);
}

/* ── Escalas (Clássico ··· Moderno) ── */
.q-scales {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.q-scale {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 6px 0;
}

.q-scale__a,
.q-scale__b {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--q-text-2);
}

.q-scale__a { text-align: right; }

.q-scale__dots {
  display: flex;
  gap: 6px;
}

.q-dot > span:first-of-type {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  position: relative;
}

/* bolinha visível de 22px, área de toque de 36px */
.q-dot > span:first-of-type::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1.5px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.q-dot:hover > span:first-of-type::before { border-color: rgba(255, 255, 255, 0.7); }

.q-dot input:checked + span::before {
  border-color: transparent;
  background: var(--grad);
  transform: scale(1.12);
}

.q-vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ── Sites de referência ── */
.q-refs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.q-ref {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.q-ref__n {
  font-family: var(--q-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--q-muted);
  text-align: center;
}

/* ── Aviso de uso dos dados (LGPD), sem nada para marcar ── */
.q-legal {
  margin: -6px 0 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--q-muted);
}

/* Campo-isca para robôs: fora da tela, sem display:none (alguns robôs pulam) */
.q-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ── Botões ── */
.q-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--q-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.2s ease, box-shadow 0.2s ease, gap 0.2s ease, transform 0.15s ease, border-color 0.2s ease, background 0.2s ease;
}

/* Texto escuro sobre o degradê, pelo mesmo motivo do .about-more (contraste) */
.q-btn--primary {
  background: var(--grad);
  box-shadow: 0 12px 30px -10px rgba(123, 92, 255, 0.65);
  color: #0c0d0e;
}

.q-btn--primary:hover {
  gap: 14px;
  filter: brightness(1.08) saturate(1.1);
  box-shadow: 0 16px 36px -10px rgba(61, 139, 255, 0.85);
}

.q-btn--ghost {
  background: transparent;
  border-color: var(--q-line-2);
  color: var(--q-text);
}

.q-btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.04);
}

.q-btn:active { transform: scale(0.97); }

.q-btn:focus-visible,
.q-back:focus-visible,
.q-modo-note button:focus-visible,
.q-missing a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.q-btn:disabled {
  cursor: progress;
  filter: saturate(0.6);
  opacity: 0.75;
}

.q-spin {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: q-spin 0.7s linear infinite;
}

@keyframes q-spin { to { transform: rotate(360deg); } }

.q-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Etapa 2 ── */
.q-step2 > .q-card-box { margin-bottom: 20px; }

/* Barra de progresso grudada abaixo da navbar */
.q-progress {
  position: sticky;
  top: 86px;
  z-index: 5;
  margin: 0 0 16px;
  padding: 10px 16px 12px;
  background: rgba(20, 21, 24, 0.97);
  border: 1px solid var(--q-line);
  border-radius: 14px;
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.8);
}

.q-progress__in {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-family: var(--q-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--q-text-2);
}

.q-progress__in span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.q-progress__in span:last-child { flex: none; color: var(--q-muted); }

.q-progress__bar {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

/* scaleX em vez de width: não recalcula layout a cada resposta */
.q-progress__bar i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

#form2 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.q-sec { scroll-margin-top: 150px; }

.q-sec__head { margin-bottom: 26px; }
.q-sec__num { margin-bottom: 8px; color: var(--q-accent); }

.q-sec__head h3 {
  margin: 0;
  font-family: var(--q-sans);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--q-text);
}

.q-sec__head p {
  max-width: 62ch;
  margin: 8px 0 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--q-muted);
}

.q-qs .q-item { scroll-margin-top: 160px; }

/* ── Envio ── */
.q-send { margin-top: 16px; }

.quote .q-send__title {
  margin: 0 0 14px;
  font-family: var(--q-sans);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 600;
  color: var(--q-text);
}

.q-missing {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: rgba(61, 139, 255, 0.08);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--q-text-2);
}

.q-missing.is-ok {
  border-left-color: var(--q-ok);
  background: rgba(94, 224, 160, 0.08);
}

.q-missing strong { color: var(--q-text); }

.q-missing a {
  color: var(--q-accent);
  text-underline-offset: 3px;
}

.q-msg {
  margin: 0 0 16px;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--q-err);
}

.q-msg:empty { display: none; }
.q-msg strong { color: #fff; }

/* Código curto do erro (ajuda a descobrir a causa por um print) */
.q-msg__code {
  display: block;
  margin-top: 6px;
  font-family: var(--q-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--q-muted);
}

.q-saved {
  margin: 16px 0 0;
  font-size: 0.82rem;
  color: var(--q-muted);
}

.q-saved:empty { display: none; }

/* ── Fim ── */
.q-done {
  text-align: center;
  outline: none;
  padding-block: clamp(36px, 7vw, 64px);
}

.q-done__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 16px 40px -14px rgba(123, 92, 255, 0.8);
}

.q-done__icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: #0c0d0e;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.q-done .q-box__desc { margin: 12px auto 28px; }
.q-done .q-actions { justify-content: center; }

/* ── Responsivo ── */
@media (max-width: 680px) {
  .q-progress { top: 78px; }
}

@media (max-width: 560px) {
  .q-grid,
  .q-qs,
  .q-modes { grid-template-columns: 1fr; }

  .q-item.half { grid-column: 1 / -1; }

  .q-steps { gap: 10px; }

  .q-steps__item {
    gap: 8px;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }

  .q-steps__item + .q-steps__item::before { width: 18px; }

  .q-card-box,
  .q-sec { border-radius: 16px; }

  .q-box__foot .q-btn,
  .q-actions .q-btn { width: 100%; }

  /* rótulos em cima, bolinhas embaixo */
  .q-scale {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "a b" "dots dots";
    gap: 4px 12px;
    padding: 8px 0;
  }

  .q-scale__a { grid-area: a; text-align: left; }
  .q-scale__b { grid-area: b; text-align: right; }
  .q-scale__dots { grid-area: dots; justify-content: space-between; }

  .q-ref {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 8px 10px;
  }

  .q-ref .q-field + .q-field { grid-column: 2; }

  .q-cards { grid-template-columns: 1fr; }
  .q-sws { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .q-progress { top: 74px; }
}

@media (prefers-reduced-motion: reduce) {
  .q-progress__bar i,
  .q-btn { transition: none; }
  .q-spin { animation-duration: 2s; }
}
