@font-face { font-family: "Switzer"; src: url("/comum/switzer.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --tinta: #0a090e;
  --chapa: rgba(255, 255, 255, .055);
  --chapa-forte: rgba(255, 255, 255, .1);
  --fio: rgba(255, 255, 255, .11);
  --texto: #f6f4f8;
  --apoio: #b9b4c2;
  --fraco: #938e9d;
  --roxo: #8b2fff;
  --rosa: #d83f8c;
  --vermelho: #ff4433;
  --verde: #5fe3a1;
  --erro: #ff9c90;
  --degrade: linear-gradient(120deg, var(--roxo), var(--rosa) 58%, var(--vermelho));
  --topo: env(safe-area-inset-top, 0px);
  --base: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; }
html { background: var(--tinta); -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; min-height: 100dvh; color: var(--texto); font: 400 17px/1.45 "Switzer", "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
button, input { font: inherit; color: inherit; }
img { display: block; }
b, strong { font-weight: 700; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
#tela:focus { outline: none; }

/* atmosfera: o laço da marca, grande e cortado pela tela */
.fundo { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.fundo::before { content: ""; position: absolute; top: calc(var(--topo) - 2vh); right: -62vw; width: 150vw; aspect-ratio: 1200 / 610; background: var(--degrade); -webkit-mask: url("/comum/laco.png") center / contain no-repeat; mask: url("/comum/laco.png") center / contain no-repeat; opacity: .2; }
.fundo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 22%, var(--tinta) 58%); }
[data-app="op"] .fundo { background: var(--degrade); }
[data-app="op"] .fundo::before { background: #fff; opacity: .15; }
[data-app="op"] .fundo::after { background: linear-gradient(180deg, rgba(10, 9, 14, .3) 0, rgba(10, 9, 14, .52) 24%, var(--tinta) 60%); }
[data-app="op"] { --apoio: #efeaf4; --fraco: #cdc7d6; }

#tela, .pagina { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; width: min(100%, 460px); margin: 0 auto; padding: calc(var(--topo) + 20px) 22px calc(var(--base) + 24px); animation: entra .42s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes entra { from { opacity: 0; transform: translateY(10px); } }
.carregando { margin: auto; color: var(--apoio); }

.topo { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.topo .ligacao { flex: none; width: auto; min-width: 44px; margin: 0; padding: 10px 0 10px 14px; }
.marca { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 19px; font-weight: 300; letter-spacing: -.01em; }
.marca b { font-weight: 700; }
.marca i { display: block; flex: none; width: 34px; height: 18px; background: var(--degrade); -webkit-mask: url("/comum/laco.png") center / contain no-repeat; mask: url("/comum/laco.png") center / contain no-repeat; }
[data-app="op"] .marca i { background: #fff; }

.manchete { margin-top: 13vh; font-size: clamp(44px, 13.4vw, 58px); line-height: .98; font-weight: 250; letter-spacing: -.035em; }
.manchete b { display: block; font-weight: 750; }
.pagina .manchete { margin-top: 10vh; }
.titulo { margin-top: 30px; font-size: 34px; line-height: 1.04; font-weight: 300; letter-spacing: -.025em; }
.titulo b { font-weight: 750; }
.apoio { margin-top: 14px; color: var(--apoio); max-width: 34ch; }
.apoio strong { color: var(--texto); font-weight: 600; overflow-wrap: anywhere; }
.empurra { margin-top: auto; padding-top: 28px; }

.campo { display: block; margin-bottom: 12px; }
.campo span { display: block; margin-bottom: 8px; font-size: 15px; color: var(--apoio); }
.campo input { width: 100%; height: 58px; padding: 0 18px; border: 1px solid var(--fio); border-radius: 16px; background: rgba(16, 14, 22, .82); font-size: 18px; }
.campo input:focus { outline: none; border-color: #fff; }
.campo .codigo { height: 72px; text-align: center; font-size: 34px; font-weight: 600; letter-spacing: .3em; padding-left: .3em; font-variant-numeric: tabular-nums; }

.botao { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 58px; padding: 12px 20px; border: 0; border-radius: 16px; background: #fff; color: #0d0b12; font-size: 17px; font-weight: 650; text-decoration: none; cursor: pointer; transition: transform .14s ease, opacity .14s ease; -webkit-tap-highlight-color: transparent; }
.botao:active { transform: scale(.98); }
.botao[disabled] { opacity: .55; cursor: default; }
.botao.leve { background: var(--chapa); color: var(--texto); box-shadow: inset 0 0 0 1px var(--fio); font-weight: 550; }
.botao + .botao { margin-top: 10px; }
.ligacao { display: block; width: 100%; min-height: 44px; margin-top: 8px; padding: 10px; border: 0; background: none; color: var(--apoio); font-size: 15px; text-align: center; cursor: pointer; }
.nota { margin-top: 14px; color: var(--fraco); font-size: 14px; text-align: center; }
.nota.empurra { margin-top: auto; padding-top: 28px; }
.erro { min-height: 22px; margin-bottom: 8px; color: var(--erro); font-size: 15px; }

/* a notificação de exemplo */
.exemplo { margin-top: 30px; }
.exemplo > small { display: block; margin-bottom: 8px; color: var(--apoio); font-size: 13px; letter-spacing: .02em; }
.cartao-aviso { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 22px; background: rgba(44, 42, 52, .86); box-shadow: 0 16px 40px rgba(0, 0, 0, .42), inset 0 0 0 1px rgba(255, 255, 255, .07); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); animation: chega .7s .12s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes chega { from { opacity: 0; transform: translateY(-16px) scale(.97); } }
.cartao-aviso img { flex: none; width: 42px; height: 42px; border-radius: 10px; }
.cartao-aviso div { flex: 1; min-width: 0; font-size: 15px; line-height: 1.28; }
.cartao-aviso b { display: flex; justify-content: space-between; gap: 8px; font-weight: 650; }
.cartao-aviso b span { color: var(--apoio); font-size: 13px; font-weight: 400; }
.cartao-aviso p { color: #ebe8ef; }

/* passos de instalação */
.passos { margin-top: 26px; padding: 0; list-style: none; counter-reset: passo; }
.passos li { position: relative; display: flex; align-items: center; gap: 12px; min-height: 66px; padding: 12px 0 12px 46px; border-top: 1px solid var(--fio); counter-increment: passo; }
.passos li:last-child { border-bottom: 1px solid var(--fio); }
.passos li::before { content: counter(passo); position: absolute; left: 0; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: var(--chapa-forte); font-size: 15px; font-weight: 650; line-height: 32px; text-align: center; font-variant-numeric: tabular-nums; }
.passos span { flex: 1; }
.passos b { font-weight: 650; }
.passos svg { flex: none; width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* painel */
.estado { display: flex; gap: 14px; margin-top: 26px; padding: 20px; border-radius: 22px; background: rgba(20, 18, 27, .78); box-shadow: inset 0 0 0 1px var(--fio); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.estado h1 { font-size: 23px; line-height: 1.12; font-weight: 650; letter-spacing: -.015em; }
.estado p { margin-top: 5px; color: var(--apoio); font-size: 15px; }
.pulso { position: relative; flex: none; width: 12px; height: 12px; margin-top: 7px; border-radius: 50%; background: var(--verde); }
.pulso::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--verde); animation: pulso 2.4s ease-out infinite; }
@keyframes pulso { to { transform: scale(2.1); opacity: 0; } }
.grupo { margin-top: 12px; }

.vendas { margin-top: 34px; }
.vendas h2 { font-size: 15px; font-weight: 550; color: var(--apoio); }
.fita { margin-top: 8px; padding: 0; list-style: none; }
.fita li { display: grid; grid-template-columns: 1fr auto; gap: 1px 12px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--fio); }
.fita strong { font-size: 23px; font-weight: 600; letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.fita li:first-child strong { font-size: 34px; font-weight: 700; letter-spacing: -.025em; }
.fita time { color: var(--apoio); font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fita small { grid-column: 1 / -1; color: var(--apoio); font-size: 14px; }
.vazio { margin-top: 8px; padding: 18px 0; border-top: 1px solid var(--fio); color: var(--apoio); }
.rodape { margin-top: auto; padding-top: 34px; text-align: center; color: var(--fraco); font-size: 14px; overflow-wrap: anywhere; }

/* escolha de app na raiz */
.escolha { display: grid; gap: 12px; margin-top: auto; padding-top: 32px; }
.escolha a { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 20px; background: rgba(20, 18, 27, .8); box-shadow: inset 0 0 0 1px var(--fio); color: inherit; text-decoration: none; }
.escolha img { border-radius: 13px; }
.escolha b { display: block; font-size: 18px; font-weight: 650; }
.escolha small { color: var(--apoio); font-size: 14px; }

#aviso { position: fixed; left: 50%; bottom: calc(var(--base) + 20px); z-index: 5; width: min(calc(100% - 32px), 420px); padding: 14px 16px; border-radius: 14px; background: #fff; color: #0d0b12; font-size: 15px; font-weight: 550; text-align: center; opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
#aviso.ve { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 620px) {
  .fundo::before { right: -14vw; width: 74vw; }
  .manchete { font-size: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
