/* ============================================================
   Sai Pedido — Venda Mais: quiz de diagnóstico (vendamais.saipedido.com.br/v2)
   Página separada da landing: não carrega o style.css. Os tokens abaixo são os mesmos de lá
   (mudou a cor, a fonte ou o raio na landing? mude aqui também).
   Uma coluna de até 480 px, uma pergunta por tela, botão fixo embaixo.
   Peça de assinatura: o diagnóstico sai como uma comanda impressa (.qz-comanda).
   ============================================================ */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: optional;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;

  --brand: #eb0533;
  --brand-hover: #d1042d;
  --brand-cloud: #d1042d;          /* vermelho para texto pequeno em fundo cinza (AA) */
  --brand-soft: rgba(235, 5, 51, 0.08);
  --ok: #1e7434;
  --ok-soft: #e6f6ea;
  --check: #1aa251;
  --check-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

  --paper: #ffffff;
  --cloud: #f5f5f7;
  --ink: #1d1d1f;
  --ink-soft: #6e6e73;
  --line: #d2d2d7;
  --hairline: rgba(0, 0, 0, 0.08);

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Inter", "Segoe UI Variable Display", "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --r-md: 22px;
  --r-sm: 16px;
  --pill: 980px;

  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.05);
  --shadow-pop: 0 2px 8px rgba(0, 0, 0, 0.08), 0 18px 50px rgba(0, 0, 0, 0.14);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --gutter: 20px;
  --coluna: 480px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-bottom: calc(110px + env(safe-area-inset-bottom));   /* o foco nunca fica sob o botão fixo */
}
html, body { overflow-x: hidden; overflow-x: clip; }

body {
  font-family: var(--font-sans);
  font-optical-sizing: auto;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; color: inherit; cursor: pointer; }
ul, ol { list-style: none; }
strong, b { font-weight: 600; }
fieldset { border: 0; min-width: 0; }
[hidden] { display: none !important; }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.red { color: var(--brand); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--pill);
  font-size: 14px;
  font-weight: 600;
}
.skip-link:focus-visible { top: 10px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  padding: 0 28px;
  border-radius: var(--pill);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s var(--ease), background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); }
.btn-block { display: flex; width: 100%; }
.btn .i { font-size: 20px; stroke-width: 2.2; transition: transform 0.2s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn[aria-disabled="true"] { background: #e3e3e8; color: #8e8e93; cursor: default; }
.btn[aria-disabled="true"]:hover .i { transform: none; }
.btn[aria-busy="true"] { opacity: 0.85; cursor: progress; }
.btn:disabled { opacity: 0.6; cursor: progress; }

/* ---------- Estrutura ---------- */
.qz {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* topo: a logo na abertura; voltar, título e contagem nas etapas */
.qz-topo {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 12px var(--gutter) 0;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .qz-topo { background: rgba(255, 255, 255, 0.97); }
}
.qz-topo-linha {
  width: min(var(--coluna), 100%);
  height: 44px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}
.qz-logo { grid-column: 1 / -1; justify-self: center; width: 133px; height: 26px; }
.qz-voltar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--cloud);
  color: var(--ink);
  transition: background-color 0.2s ease;
}
.qz-voltar:hover { background: #ebebf0; }
.qz-voltar .i { font-size: 20px; stroke-width: 2.2; }
.qz-topo-titulo {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qz-conta {
  justify-self: end;
  padding: 5px 10px;
  border-radius: var(--pill);
  background: var(--cloud);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.qz-barra {
  width: min(var(--coluna), 100%);
  height: 6px;
  margin: 12px auto 0;
  border-radius: var(--pill);
  background: #ebebf0;
  overflow: hidden;
}
.qz-barra i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
  transition: width 0.5s var(--ease);
}
.qz-topo-fim { height: 12px; }

.qz-palco {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: min(calc(var(--coluna) + 2 * var(--gutter)), 100%);
  margin-inline: auto;
  padding: 12px var(--gutter) 28px;
}
/* centraliza quando sobra espaço e encosta no topo quando a tela enche */
.qz-tela { margin-block: auto; width: 100%; }
.qz-tela:focus { outline: none; }

.qz-rodape {
  position: sticky;
  bottom: 0;
  z-index: 20;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 -1px 0 var(--hairline), 0 -10px 30px rgba(0, 0, 0, 0.05);
}
.qz-rodape-in { width: min(var(--coluna), 100%); margin-inline: auto; }

/* ---------- Abertura ---------- */
.qz-inicio { text-align: center; padding-block: 8px 4px; }
.qz-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: var(--pill);
  background: var(--brand-soft);
  color: var(--brand-cloud);
  font-size: 14px;
  font-weight: 600;
}
.qz-h1 {
  font-size: clamp(34px, 10.4vw, 52px);
  line-height: 1.03;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.qz-h1 .l { display: block; text-wrap: balance; }
.qz-sub {
  max-width: 24em;
  margin: 16px auto 0;
  font-size: clamp(16px, 4.5vw, 18px);
  line-height: 1.42;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* a comanda de amostra: mostra o que a pessoa leva no fim */
.qz-amostra { width: min(290px, 86%); margin: 26px auto 0; transform: rotate(-2.2deg); }
.qz-amostra .qz-comanda { padding: 14px 16px 22px; }
.qz-amostra .qz-comanda-topo { font-size: 11px; }
.qz-amostra .qz-comanda-rotulo { margin-top: 10px; font-size: 11px; }
.qz-borrao { display: block; height: 14px; margin-top: 7px; border-radius: 4px; background: #e9e9ee; }
.qz-borrao-g { height: 20px; width: 88%; background: #dedee4; }
.qz-borrao-m { width: 64%; }
.qz-borrao-p { width: 42%; }

.qz-quem { margin-top: 24px; }
.qz-quem-logos { display: inline-flex; padding-left: 10px; }
.qz-quem-logos img {
  width: 38px;
  height: 38px;
  margin-left: -10px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--paper);
  box-shadow: 0 0 0 2.5px var(--paper), 0 1px 4px rgba(0, 0, 0, 0.12);
}
.qz-quem-txt { margin-top: 8px; font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Pergunta ---------- */
.qz-pergunta {
  font-size: clamp(23px, 6.4vw, 30px);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-align: center;
  text-wrap: balance;
}
.qz-pergunta:focus { outline: none; }
.qz-grupo > legend { display: block; width: 100%; padding: 0; }
.qz-ajuda {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink-soft);
  text-align: center;
  text-wrap: pretty;
}
.qz-ops { display: grid; gap: 10px; margin-top: 22px; }
.qz-ops-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.qz-ops-2 > :last-child:nth-child(odd) { grid-column: 1 / -1; }   /* resposta ímpar no fim ocupa a linha toda */

.qz-op { position: relative; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.qz-op input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.qz-op > span {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 12px 40px 12px 16px;
  border-radius: var(--r-sm);
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--line);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: box-shadow 0.15s ease, background-color 0.15s ease, transform 0.2s var(--ease);
}
.qz-op > span > i { flex: none; width: 1.2em; font-style: normal; font-size: 22px; line-height: 1; text-align: center; }
.qz-op > span::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  border-radius: 50%;
  background: var(--brand) var(--check-svg) center / 100% no-repeat;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.15s ease, transform 0.25s var(--spring);
}
@media (hover: hover) {
  .qz-op:hover > span { box-shadow: inset 0 0 0 1.5px #a9a9af; }
}
.qz-op:active > span { transform: scale(0.985); }
.qz-op input:checked + span { background: var(--brand-soft); box-shadow: inset 0 0 0 2px var(--brand); font-weight: 600; }
.qz-op input:checked + span::after { opacity: 1; transform: none; }
.qz-op input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }

/* cartão de tipo: emoji em cima, nome embaixo */
.qz-op-tile > span {
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 78px;
  padding: 10px 8px;
  font-size: 15px;
  text-align: center;
}
.qz-op-tile > span > i { width: auto; font-size: 26px; }
.qz-op-tile > span::after { right: 8px; top: 8px; margin-top: 0; width: 18px; height: 18px; }
/* faixa de faturamento e respostas curtas: só o texto, no centro */
.qz-op-curta > span { justify-content: center; padding: 12px 10px; text-align: center; }
.qz-op-curta > span::after { right: 8px; top: 8px; margin-top: 0; width: 18px; height: 18px; }

.qz-mais {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  background: var(--cloud);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.qz-mais:hover { background: #ebebf0; }
.qz-fora-link {
  display: block;
  width: fit-content;
  margin: 18px auto 0;
  padding: 6px 4px;
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.qz-aviso {
  min-height: 1.4em;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--brand-cloud);
  text-align: center;
}

/* ---------- Telas ilustrativas (no diagnóstico) ---------- */
.qz-vis {
  padding: 16px;
  border-radius: var(--r-md);
  background: var(--cloud);
}
.qz-vis-nota { margin-top: 8px; font-size: 12px; color: var(--ink-soft); text-align: center; }

/* conversão: as mesmas 1.000 visitas, dois cardápios */
.qz-conv { display: grid; gap: 12px; }
.qz-conv-topo { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.qz-conv-linha { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 4px 12px; }
.qz-conv-linha span { font-size: 14px; font-weight: 600; }
.qz-conv-linha b { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.qz-conv-linha small { font-size: 12px; font-weight: 500; color: var(--ink-soft); }
.qz-conv-barra { grid-column: 1 / -1; height: 12px; border-radius: var(--pill); background: #e3e3e8; overflow: hidden; }
.qz-conv-barra i { display: block; width: var(--p); height: 100%; border-radius: inherit; background: #a9a9af; }
.qz-conv-sp b { color: var(--brand-cloud); }
.qz-conv-sp .qz-conv-barra i { background: var(--brand); }

/* janelinhas do sistema (telas ilustrativas, como na landing) */
.qz-janela {
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--hairline), var(--shadow-card);
  text-align: left;
}
.qz-janela-topo { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; }
.qz-vivo { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ok); }
.qz-vivo i { width: 7px; height: 7px; border-radius: 50%; background: var(--check); }
.qz-selo { padding: 3px 9px; border-radius: var(--pill); background: var(--cloud); font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.qz-lista { margin-top: 10px; display: grid; gap: 8px; }
.qz-lista li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 10px; border-radius: 12px; background: var(--cloud); }
.qz-lista b { display: block; font-size: 13.5px; }
.qz-lista small { display: block; font-size: 12px; color: var(--ink-soft); }
.qz-st { flex: none; padding: 3px 9px; border-radius: var(--pill); background: #fff; font-size: 11.5px; font-weight: 600; font-style: normal; color: var(--ink-soft); }
.qz-st-novo { background: var(--brand); color: #fff; }
.qz-st-preparo { background: #fff4d6; color: #7a4a00; }
.qz-st-pronto { background: var(--ok-soft); color: var(--ok); }
.qz-total { margin-top: 10px; }
.qz-total small { display: block; font-size: 12px; color: var(--ink-soft); }
.qz-total b { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.qz-barras { margin-top: 10px; display: grid; gap: 8px; }
.qz-barras li { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; align-items: center; gap: 8px; font-size: 12.5px; }
.qz-barras li > span { color: var(--ink-soft); }
.qz-barras li > i { height: 8px; border-radius: var(--pill); background: linear-gradient(90deg, var(--brand) var(--p), #e3e3e8 var(--p)); }
.qz-barras li > b { font-variant-numeric: tabular-nums; }

/* quadro de mesas */
.qz-mesas { margin-top: 10px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.qz-mesas li { padding: 9px 8px; border-radius: 12px; background: var(--cloud); text-align: center; }
.qz-mesas b { display: block; font-size: 13px; }
.qz-mesas small { display: block; font-size: 11.5px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.qz-mesas .qz-mesa-on { background: var(--brand-soft); box-shadow: inset 0 0 0 1.5px var(--brand); }
.qz-mesas .qz-mesa-on small { color: var(--brand-cloud); font-weight: 600; }
.qz-qr { margin-top: 10px; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; background: var(--ok-soft); font-size: 13px; font-weight: 600; color: var(--ok); }
.qz-qr .i { font-size: 20px; }

/* entrega */
.qz-entrega { margin-top: 10px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.qz-entrega li { padding: 9px 8px; border-radius: 12px; background: var(--cloud); text-align: center; }
.qz-entrega small { display: block; font-size: 11.5px; color: var(--ink-soft); }
.qz-entrega b { display: block; font-size: 14px; font-variant-numeric: tabular-nums; }

/* impressão por setor */

/* Sai Pedido AI: a frase falada e o que acontece */
.qz-ia { display: grid; gap: 10px; }
.qz-ia-masc { width: 112px; height: auto; margin: -6px auto -2px; }
.qz-ia-fala {
  justify-self: end;
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 18px 18px 4px 18px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}
.qz-ia-feito {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 92%;
  padding: 10px 14px;
  border-radius: 18px 18px 18px 4px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--hairline);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.qz-ia-feito::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--check) var(--check-svg) center / 100% no-repeat; }

/* ---------- Plano indicado (no diagnóstico) ---------- */
.qz-plano {
  position: relative;
  margin-top: 14px;
  padding: 22px 20px 20px;
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--brand), var(--shadow-card);
  text-align: left;
}
.qz-plano-tag {
  position: absolute;
  top: -13px;
  left: 20px;
  padding: 5px 12px;
  border-radius: var(--pill);
  background: var(--brand);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
}
.qz-plano-nome { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.qz-plano-ico { display: inline-flex; align-items: center; gap: 2px; color: var(--brand); }
.qz-plano-ico .i { font-size: 24px; stroke-width: 1.9; }
.qz-plano-ico em { font-style: normal; font-size: 14px; font-weight: 700; }
.qz-plano-preco { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.qz-plano-preco strong { font-size: 36px; font-weight: 700; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.qz-plano-preco span { font-size: 15px; font-weight: 600; }
.qz-plano-preco small { flex-basis: 100%; margin-top: 2px; font-size: 13px; color: var(--ink-soft); }
.qz-checks { margin-top: 14px; display: grid; gap: 8px; }
.qz-checks li { display: flex; gap: 9px; font-size: 14.5px; line-height: 1.35; }
.qz-checks li::before { content: ""; flex: none; width: 1.2em; height: 1.2em; margin-top: 0.05em; border-radius: 50%; background: var(--check) var(--check-svg) center / 100% no-repeat; }


/* ---------- Diagnóstico: a comanda ---------- */
.qz-impressora { position: relative; z-index: 2; height: 12px; margin-inline: -6px; border-radius: 8px; background: var(--ink); box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18); }
.qz-saida { overflow: hidden; padding: 0 2px 22px; margin-top: -4px; }
.qz-papel { filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.12)) drop-shadow(0 0 1px rgba(0, 0, 0, 0.22)); }
.qz-comanda {
  padding: 22px 20px 30px;
  background: #fff;
  text-align: left;
  /* serrilhado na base, como papel de impressora térmica */
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%;
}
.qz-comanda-topo { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); }
.qz-corte { margin-block: 14px; border: 0; border-top: 1.5px dashed var(--line); }
.qz-comanda-rotulo { font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); }
.qz-comanda-gargalo { margin-top: 2px; font-size: clamp(24px, 6.8vw, 30px); line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
.qz-comanda-gargalo:focus { outline: none; }
.qz-comanda-dados { display: grid; gap: 9px; }
.qz-comanda-dados div { display: flex; align-items: baseline; gap: 8px; }
.qz-comanda-dados dt { flex: none; font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); }
.qz-comanda-dados div::after { content: ""; order: 1; flex: 1; min-width: 12px; border-bottom: 1.5px dotted var(--line); transform: translateY(-3px); }
.qz-comanda-dados dd { order: 2; max-width: 64%; font-size: 14px; font-weight: 600; line-height: 1.25; text-align: right; }
.qz-comanda-passo { margin-top: 2px; font-size: 17px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; text-wrap: pretty; }

.qz-insight {
  margin-top: 4px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  border-left: 4px solid var(--brand);
  background: var(--brand-soft);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.qz-solucao {
  margin-top: 14px;
  padding: 20px;
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: 0 0 0 1px var(--hairline), var(--shadow-card);
}
.qz-olho { font-size: 13px; font-weight: 600; color: var(--brand-cloud); }
.qz-solucao h3 { margin-top: 2px; font-size: 21px; line-height: 1.15; font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; }
.qz-solucao .qz-checks li { font-size: 15.5px; }
.qz-demo { margin-top: 14px; }
.qz-diag .qz-plano { margin-top: 28px; }
.qz-plano-anual { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--hairline); font-size: 13.5px; line-height: 1.4; color: var(--ink-soft); }
.qz-plano-anual b { color: var(--ink); }
.qz-ia-bloco { margin-top: 26px; }
.qz-ia-bloco .qz-vis { margin-top: 12px; }
.qz-modulo { margin-top: 10px; font-size: 13.5px; line-height: 1.4; color: var(--ink-soft); }

.qz-prova { margin-top: 26px; }
.qz-prova-titulo { font-size: 20px; line-height: 1.15; font-weight: 700; letter-spacing: -0.025em; text-align: center; text-wrap: balance; }
.qz-prova-texto { margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--ink-soft); text-align: center; text-wrap: pretty; }
.qz-res {
  display: flex;
  gap: 10px;
  margin: 14px calc(-1 * var(--gutter)) 0;
  padding: 2px var(--gutter) 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.qz-res::-webkit-scrollbar { display: none; }
.qz-res li { flex: 0 0 78%; scroll-snap-align: start; padding: 14px 16px 16px; border-radius: var(--r-sm); background: var(--cloud); }
.qz-res-topo { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--ink-soft); }
.qz-res-topo b { padding: 3px 9px; border-radius: var(--pill); background: var(--ok-soft); color: var(--ok); font-size: 12px; white-space: nowrap; }
.qz-res-vendas { margin-top: 8px; font-size: 14px; color: var(--ink-soft); }
.qz-res-vendas b { display: block; font-size: 24px; font-weight: 700; letter-spacing: -0.025em; color: var(--ink); font-variant-numeric: tabular-nums; }
.qz-res-dados { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
.qz-res-dados b { color: var(--ink); }
.qz-nota { margin-top: 10px; font-size: 12px; line-height: 1.45; color: var(--ink-soft); text-wrap: pretty; }
.qz-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.qz-logos img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--paper); box-shadow: 0 0 0 1px var(--hairline); }
.qz-imprensa { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; margin-top: 14px; }
.qz-imprensa img { height: 16px; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.6; }
.qz-imprensa .qz-imp-globo { height: 15px; }
.qz-imprensa .qz-imp-valor { height: 26px; }
.qz-imprensa .qz-imp-terra { height: 20px; }
.qz-imprensa .qz-imp-mundo { height: 13px; }
.qz-imprensa .qz-imp-cse { height: 15px; }

/* ---------- Contato ---------- */
.qz-form { margin-top: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.field:first-child { margin-top: 0; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  font: inherit;
  font-size: 16px;   /* 16 px: o iPhone não dá zoom ao focar */
  color: var(--ink);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input::placeholder { color: #8e8e93; }
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.field input.invalid { border-color: var(--brand); }
.hp-campo { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.qz-form .btn { margin-top: 18px; }
.qz-form-nota { margin-top: 12px; font-size: 13.5px; line-height: 1.4; color: var(--ink-soft); text-align: center; text-wrap: balance; }
.qz-form-nota.erro { color: var(--brand-cloud); font-weight: 600; }
.qz-form-nota.ok { color: var(--ok); font-weight: 600; }
.qz-priv { margin-top: 6px; font-size: 12px; line-height: 1.4; color: var(--ink-soft); text-align: center; text-wrap: balance; }
.qz-priv a { text-decoration: underline; text-underline-offset: 2px; }
.qz-risco { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-top: 18px; font-size: 13.5px; font-weight: 500; color: var(--ink-soft); }
.qz-risco li { display: flex; align-items: center; gap: 6px; }
.qz-risco li::before { content: ""; flex: none; width: 1.2em; height: 1.2em; border-radius: 50%; background: var(--check) var(--check-svg) center / 100% no-repeat; }

/* ---------- Fim: enviado, ou fora do perfil ---------- */
.qz-fim { text-align: center; }
.qz-fim-ico { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); }
.qz-fim-ico .i { font-size: 34px; stroke-width: 2.6; }
.qz-fim-emoji { margin-bottom: 12px; font-size: 44px; line-height: 1; }
.qz-fim-titulo { font-size: clamp(26px, 7vw, 32px); line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
.qz-fim-titulo:focus { outline: none; }
.qz-fim p { max-width: 26em; margin: 10px auto 0; font-size: 16px; line-height: 1.45; color: var(--ink-soft); text-wrap: pretty; }
.qz-fim a.qz-link { color: var(--brand-cloud); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.qz-fim .btn { margin-top: 22px; }
.qz-sem-js { margin: 24px auto 0; max-width: 26em; font-size: 15px; color: var(--ink-soft); text-align: center; }

/* ---------- Movimento ---------- */
@keyframes qz-entra { from { opacity: 0; transform: translateY(14px); } }
@keyframes qz-entra-volta { from { opacity: 0; transform: translateY(-10px); } }
@keyframes qz-pop { from { opacity: 0; transform: scale(0.6); } }
/* a comanda desce em trancos, como papel saindo da impressora */
@keyframes qz-imprime { from { transform: translateY(-101%); } }

@media (prefers-reduced-motion: no-preference) {
  .qz-tela.qz-entra { animation: qz-entra 0.42s var(--ease) both; }
  .qz-tela.qz-entra-volta { animation: qz-entra-volta 0.34s var(--ease) both; }
  .qz-tela.qz-sai { opacity: 0; transition: opacity 0.12s ease; }
  .qz-entra .qz-ops > *, .qz-entra .qz-ops-2 > * { animation: qz-entra 0.42s var(--ease) both; animation-delay: calc(0.05s + var(--n, 0) * 0.035s); }
  .qz-imprimindo .qz-papel { animation: qz-imprime 1.15s steps(11, end) 0.15s both; }
  .qz-imprimindo .qz-depois { animation: qz-entra 0.5s var(--ease) 1.25s both; }
  .qz-fim-ico { animation: qz-pop 0.5s var(--spring) both; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-delay: 0s !important; }
}

/* ---------- Telas maiores ---------- */
@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .qz-topo { padding-top: 18px; }
  .qz-logo { width: 154px; height: 30px; }
  .qz-palco { padding-block: 24px 40px; }
  .qz-res li { flex-basis: 62%; }
  .qz-quem-logos img { width: 42px; height: 42px; }
}
/* telas baixas (navegador do Instagram, ~660 px de altura): aperta os vãos para caber sem rolar */
@media (max-height: 700px) {
  .qz-topo { padding-top: 8px; }
  .qz-barra { margin-top: 8px; }
  .qz-topo-fim { height: 8px; }
  .qz-palco { padding-block: 6px 16px; }
  .qz-op > span { min-height: 52px; padding-block: 9px; }
  .qz-op-tile > span { min-height: 64px; gap: 3px; }
  .qz-op-tile > span > i { font-size: 23px; }
  .qz-ops { margin-top: 14px; gap: 8px; }
  .qz-mais { min-height: 46px; margin-top: 8px; }
  .qz-fora-link { margin-top: 8px; }
  .qz-aviso { margin-top: 8px; }
  .qz-inicio { padding-block: 0; }
  .qz-h1 { font-size: clamp(30px, 9.4vw, 42px); }
  .qz-sub { margin-top: 12px; font-size: 16px; }
  .qz-amostra { width: min(236px, 72%); margin-top: 16px; }
  .qz-amostra .qz-comanda { padding: 10px 14px 18px; }
  .qz-amostra .qz-corte { margin-block: 9px; }
  .qz-borrao { height: 11px; margin-top: 6px; }
  .qz-borrao-g { height: 16px; }
  .qz-quem { margin-top: 12px; }
  .qz-quem-logos img { width: 32px; height: 32px; }
  .qz-quem-txt { margin-top: 4px; font-size: 13px; }
  .qz-vis { padding: 12px; }
  .qz-ia-masc { width: 84px; }
}
@media (max-width: 359px) {
  :root { --gutter: 16px; }
  .qz-op > span { font-size: 15px; }
  .qz-topo-titulo { font-size: 13px; }
}
