/* CSS das páginas "Para quem" (/para/<slug>): as telas que só elas mostram. O resto (as telas do PDV
   .pv*, o painel web .hv-*, as ondas .pp-wave) vem de site.css. Prefixo pa-. */

/* seções do tamanho do conteúdo (o kit dá uma tela a cada seção) */
main > section.pa-auto { height: auto !important; min-height: 0 !important; }
main > section.pa-auto > .wrap { height: auto !important; }
#recursos .pa-tall { --p-h: 340px; }

/* o hero: tela de largura fixa, encaixada no quadro pelo data-pp-fit do pp-play.js */
.hero .stage > .at-corner.pp-hero-pdv > .pa-hero { max-width: none; }
.pa-hero { width: 560px; }
.pa-hero[data-m-loop] { padding-bottom: 0 !important; }

/* painel web, OS e app (Inter, tinta neutra), fora do vídeo da landing que define a fonte */
.pv.hv-ap { --hv-sans: "Inter", "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
.pv [data-at].pa-gx.is-shown { display: grid; animation: pv-in .35s cubic-bezier(.2, .7, .2, 1); }
.pv [data-at].pa-ix.is-shown { display: inline-flex; animation: pv-in .35s cubic-bezier(.2, .7, .2, 1); }
.pv [data-at].pa-bx.is-shown { display: block; animation: pv-in .35s cubic-bezier(.2, .7, .2, 1); }

/* tabela genérica: --cols define as colunas */
.pa-tbl { border: 1px solid var(--pv-border); border-radius: 9px; overflow: hidden; background: #fff; }
.pa-tr { display: grid; grid-template-columns: var(--cols, minmax(0, 1fr) auto); align-items: center; gap: 8px; min-height: 38px; padding: 0 10px; border-bottom: 1px solid var(--pv-border); font-size: 12px; }
.pa-tr:last-child { border-bottom: 0; }
.pa-tr > * { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pa-tr > .r { text-align: right; }
.pa-tr--head { min-height: 28px; background: #f6f6f5; font-size: 11px; font-weight: 500; color: var(--pv-mfg); }
.pv:not(.hv-ap) .pa-tr--head { background: var(--pv-muted); }
.pa-tr small { display: block; font-size: 10.5px; color: var(--pv-mfg); }
.pa-tr .mono { font: 400 11px/1.3 ui-monospace, "Geist Mono", monospace; color: var(--pv-mfg); }
.pa-tr.is-new { background: rgb(247 147 30 / .08); box-shadow: inset 3px 0 0 #f7931e; }
.pa-tr.is-on { background: rgb(12 69 60 / .05); }
.pv [data-at].pa-tr.is-shown { display: grid; animation: pv-in .35s cubic-bezier(.2, .7, .2, 1); }

/* cabeçalho de seção de tela (título + descrição + botão) */
.pa-sh { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.pa-sh b { display: block; font-size: 13px; }
.pa-sh small { display: block; font-size: 11px; color: var(--pv-mfg); }
.pa-btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 28px; padding: 0 11px; border-radius: 8px; background: #0c453c; color: #fff; font-size: 12px; font-weight: 500; white-space: nowrap; transition: transform .15s, background-color .2s; }
.pa-btn--o { background: #fff; color: var(--pv-fg); border: 1px solid var(--pv-border); }
.pa-btn--or { background: #f7931e; color: #fff; }
.pa-btn.is-on { transform: scale(.97); background: #0a3a33; }
.pa-btn--o.is-on { background: #f1f5f4; }
.pa-btn svg.i, .hv-ap .pa-btn svg.i { width: 13px; height: 13px; }

/* KPIs do painel em quatro colunas */
.pa-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pa-kpi { padding: 9px 10px; border: 1px solid var(--pv-border); border-radius: 10px; background: linear-gradient(to top, rgb(12 69 60 / .05), #fff); display: grid; gap: 2px; min-width: 0; }
.pa-kpi small { font-size: 10.5px; color: var(--pv-mfg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pa-kpi b { font-size: 17px; letter-spacing: -.02em; width: fit-content; padding: 0 3px; margin: 0 -3px; }
.pa-kpi em { font-style: normal; font-size: 10px; color: var(--pv-mfg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* diálogo (PDV e painel) */
.pa-dlg { padding: 14px; display: grid; gap: 10px; }
.pa-dlg__t { font-size: 15px; font-weight: 600; }
.pa-dlg__d { margin-top: -6px; font-size: 12px; color: var(--pv-mfg); }
.pa-ft { display: flex; justify-content: flex-end; gap: 8px; }
.pa-ok { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 8px; background: var(--pv-em-bg, rgb(16 185 129 / .1)); color: var(--pv-em, #047857); font-size: 12.5px; font-weight: 500; }
.pa-ok svg.i { width: 15px; height: 15px; }
.pa-kv { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--pv-mfg); }
.pa-kv b { color: var(--pv-fg); }
.pa-big { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.pa-note { font-size: 11.5px; color: var(--pv-mfg); }

/* campos (rótulo + valor) */
.pa-fields { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 8px; }
.pa-f { display: grid; gap: 3px; min-width: 0; }
.pa-f > span { font-size: 11px; color: var(--pv-mfg); }
.pa-f > b { display: flex; align-items: center; height: 28px; padding: 0 8px; border: 1px solid var(--pv-border); border-radius: 7px; font-size: 12px; font-weight: 500; background: #fff; white-space: nowrap; overflow: hidden; }
.pa-f > b.is-on { border-color: #0c453c; box-shadow: 0 0 0 3px rgb(12 69 60 / .1); }
.pa-f--wide { grid-column: 1 / -1; }

/* parcelas do crediário */
.pa-inst { display: grid; border: 1px solid var(--pv-border); border-radius: 8px; overflow: hidden; }
.pa-inst > span { display: flex; justify-content: space-between; padding: 6px 10px; font-size: 12px; }
.pa-inst > span:nth-child(odd) { background: rgb(241 245 244 / .5); }
.pa-inst > span small { font-size: 12px; color: var(--pv-mfg); }
.pv [data-at].pa-inst.is-shown { display: grid; animation: pv-in .35s cubic-bezier(.2, .7, .2, 1); }

/* etiquetas: rolo térmico, nome, variante, preço e um código de barras */
.pa-labels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px; background: #eef1ef; }
.pa-lb { display: grid; gap: 2px; padding: 6px 8px 5px; border-radius: 6px; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .08), 0 6px 14px -8px rgb(12 69 60 / .35); color: #111; font: 400 11px/1.25 "Geist", system-ui, sans-serif; }
.pa-lb b { font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pa-lb small { font-size: 10.5px; color: #555; }
.pa-lb strong { font-size: 13px; font-weight: 700; }
.pa-bc { height: 20px; margin-top: 2px; background: repeating-linear-gradient(90deg, #111 0 1px, transparent 1px 3px, #111 3px 5px, transparent 5px 6px, #111 6px 7px, transparent 7px 10px, #111 10px 12px, transparent 12px 13px); }
.pa-bc + span { font: 400 9.5px/1 ui-monospace, "Geist Mono", monospace; letter-spacing: .08em; text-align: center; color: #333; }
.pv [data-at].pa-lb.is-shown { display: grid; animation: pa-print .45s cubic-bezier(.2, .7, .2, 1); }
@keyframes pa-print { from { opacity: 0; transform: translateY(-14px); clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }

/* a tela do app de vendas, pequena (papaya-mobile) */
.pa-phone { width: 236px; margin: 0 auto; padding: 7px; border-radius: 34px; background: #101413; box-shadow: 0 30px 60px -28px rgb(12 69 60 / .6), 0 2px 6px rgb(0 0 0 / .2); border: 0 !important; overflow: visible !important; font: 400 12px/1.35 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif; color: #1a1a1a; }
.pa-phone__s { position: relative; height: 284px; border-radius: 28px; overflow: hidden; background: #f8f9fa; padding: 30px 12px 12px; display: flex; flex-direction: column; gap: 8px; }
.pa-phone__s::before { content: ""; position: absolute; left: 50%; top: 8px; width: 66px; height: 18px; margin-left: -33px; border-radius: 999px; background: #101413; }
.pa-phone__h { display: flex; align-items: baseline; justify-content: space-between; }
.pa-phone__h b { font-size: 17px; font-weight: 800; letter-spacing: -.4px; }
.pa-phone__h small { font-size: 10.5px; font-weight: 600; color: #e07d0a; }
.pa-phone__l { border: 1px solid #e5e5e5; border-radius: 14px; background: #fff; overflow: hidden; }
.pa-ap { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-bottom: 1px solid #f0f0f0; }
.pa-ap:last-child { border-bottom: 0; }
.pa-ap img { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; flex: none; }
.pa-ap > span { flex: 1; min-width: 0; }
.pa-ap b { display: block; font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pa-ap small { display: block; font-size: 10px; color: #666; }
.pa-ap em { font-style: normal; font-size: 11.5px; font-weight: 800; padding: 0 3px; margin: 0 -3px; border-radius: 4px; }
.pa-ap.is-on { background: rgb(247 147 30 / .08); }
.pa-phone__go { margin-top: auto; display: grid; place-items: center; height: 38px; border-radius: 12px; background: #f7931e; color: #fff; font-size: 12.5px; font-weight: 700; transition: transform .15s; }
.pa-phone__go.is-on { transform: scale(.97); background: #e07d0a; }
.pa-phone .pv-toast { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 9px 10px; font-size: 11.5px; }

/* o quadro de OS do hero, com o sinal do card que entra */
.pa-qb { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pa-qb .hv-col { min-height: 230px; }

/* telas pequenas: a tabela larga perde colunas secundárias */
@media (max-width: 639px) {
  #recursos .pa-hide-sm { display: none !important; }
  #recursos .pa-tr { grid-template-columns: var(--cols-sm, var(--cols)); }
  #recursos .pa-labels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #recursos .pa-labels > :nth-child(3n) { display: none !important; }
}
@media (max-width: 639px) {
  /* as telas destas páginas são mais altas que as das páginas de produto: o painel cresce no celular */
  #recursos .card--open > .panel { height: 330px !important; }
  /* o hero fica mais estreito (e o zoom do data-pp-fit, maior) sem as colunas secundárias */
  .pa-hero { width: 420px; }
  .pa-hero .pa-hide-sm { display: none !important; }
  .pa-hero .pa-tr { grid-template-columns: var(--cols-sm, var(--cols)); }
  .pa-hero .pa-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pa-hero .pa-qb { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .pv [data-at].pa-lb.is-shown { animation: none; } }
