/* Demonstração da sell page: o Prumo de verdade dentro de um notebook (a dona) e de um celular (a cliente). */
.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.demo { max-width: 1400px; margin: 0 auto; padding: clamp(36px, 6vw, 72px) 16px 0; }
.demo-abas { display: flex; gap: 6px; justify-content: center; margin: 0 auto 18px; padding: 4px; width: fit-content; border-radius: 999px; background: var(--cinza, #f2f4f7); }
.demo-abas [role="tab"] { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
.demo-abas [aria-selected="true"] { background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }

.demo-palco { position: relative; display: grid; place-items: center; min-height: 560px; }
.aparelho { display: none; }
.demo-palco[data-aba="cliente"] .celular, .demo-palco[data-aba="dona"] .notebook { display: block; }
.aparelho .tela { background: #0b0c0e; box-shadow: 0 40px 80px rgba(20, 30, 50, .28), 0 0 0 1px rgba(0, 0, 0, .15); }
.aparelho .vidro { position: relative; width: 100%; height: 100%; overflow: hidden; background: #fff; }
.aparelho iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; background: #fff; }

/* No celular da visitante, os dois quadros têm cara de celular (a dona também, com a tela estreita). */
.celular, .notebook { width: min(300px, 78vw); }
.aparelho .tela { aspect-ratio: 9 / 18.5; padding: 3.2%; border-radius: 9% / 4.5%; }
.aparelho .vidro { border-radius: 7.5% / 3.7%; }
.aparelho .base { display: none; }

.demo-iniciar { position: absolute; z-index: 4; box-shadow: 0 8px 30px rgba(20, 30, 50, .25); }
.demo-palco.ativo .demo-iniciar { display: none; }
.demo-aviso { margin: 24px; text-align: center; }

.demo-dica { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; margin: 34px auto 0; max-width: 700px; padding: 14px 18px; border-radius: 18px; background: #eaf1fb; text-align: center; min-height: 56px; }
.demo-dica strong { flex-basis: 100%; }
.demo-passos { list-style: none; max-width: 760px; margin: 22px auto 0; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr; text-align: left; }
.demo-passos li { padding-top: 12px; border-top: 2px solid var(--linha, #e2e5ea); font-size: .95rem; color: var(--suave, #6e6e73); }
.demo-passos li b { display: block; color: var(--texto, #1d1d1f); font-size: 1rem; }
.demo-passos li.atual { border-top-color: var(--prumo, #1f3a5f); }
.demo-passos li.feito { border-top-color: var(--ok, #2f8f5b); }
.demo-rodape { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 18px; text-align: center; }
.demo-nota { margin: 0; max-width: 60ch; font-size: .85rem; color: var(--suave, #6e6e73); }

.demo-zap { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(20, 12, 28, .55); }
.demo-zap[hidden] { display: none; }
.demo-zap-caixa { display: grid; gap: 10px; width: 100%; max-width: 460px; padding: 22px; border-radius: 22px; background: #fff; }
.demo-zap-texto { margin: 0; padding: 12px; border-radius: 12px; background: #e8f6ea; color: #14233a; white-space: pre-wrap; overflow-wrap: anywhere; }

/* Notebook (a dona) ao lado do celular (a cliente), a partir de 900 px. */
@media (min-width: 900px) {
  .demo-abas { display: none; }
  .demo-palco { display: block; height: clamp(380px, 47vw, 700px); min-height: 0; }
  .demo-palco .aparelho { display: block; position: absolute; }
  .notebook { right: 0; top: 50%; transform: translateY(-50%); width: 73%; }
  .notebook .tela { aspect-ratio: 16 / 10; padding: 1.2% 1.2% 1.6%; border-radius: 16px 16px 4px 4px; }
  .notebook .vidro { border-radius: 6px; }
  .notebook .base { display: block; height: 14px; margin: 0 -2%; border-radius: 0 0 18px 18px; background: linear-gradient(#d9dce1, #b9bec6); box-shadow: 0 18px 30px rgba(20, 30, 50, .18); }
  .celular { left: 0; top: 50%; transform: translateY(-50%); width: 22.5%; z-index: 2; }
  .demo-iniciar { left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .demo-passos { grid-template-columns: repeat(3, 1fr); }
}
