.palco-nucleo.espelho-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 48px;
  align-items: center;
}

.espelho-downloads {
  display: grid;
  gap: 10px;
  max-width: 360px;
}

.espelho-downloads .secondary,
body.site-escuro .espelho-downloads .secondary {
  background: transparent !important;
  color: #dce8df !important;
  border-color: #3ee07a !important;
}

.espelho-downloads .secondary[aria-disabled="true"] {
  pointer-events: none;
}

.espelho {
  width: 220px;
  justify-self: end;
  display: grid;
  justify-items: center;
  gap: 0;
}

.espelho-pc {
  width: 168px;
  height: 108px;
  border: 2px solid #e4c15a;
  border-radius: 10px 10px 4px 4px;
  background: rgba(2, 6, 10, 0.72);
  position: relative;
  box-shadow: 0 0 24px rgba(62, 224, 122, 0.18);
}

.espelho-pc span {
  position: absolute;
  left: 12px;
  top: 10px;
  color: #8aa394;
  font-size: 11px;
}

.espelho-pc i {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 32px;
  height: 46px;
  border-radius: 4px;
  background:
    linear-gradient(#3ee07a, #3ee07a) 0 0 / 100% 2px no-repeat,
    rgba(62, 224, 122, 0.08);
  animation: espelho-tela 3.6s ease-in-out infinite;
}

.espelho-fio {
  width: 2px;
  height: 36px;
  background: linear-gradient(#e4c15a, #3ee07a);
  position: relative;
}

.espelho-fio::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: #fff3c4;
  box-shadow: 0 0 10px #ffe08c;
  animation: espelho-faisca 2.4s ease-in-out infinite;
}

.espelho-phone {
  width: 118px;
  height: 210px;
  padding: 10px;
  border-radius: 22px;
  background: #1a221c;
  border: 2px solid #3ee07a;
  box-shadow: 0 0 28px rgba(62, 224, 122, 0.25);
}

.espelho-tela {
  height: 100%;
  border-radius: 14px;
  background: #07140e;
  color: #f6f1e4;
  padding: 16px 12px;
  position: relative;
  overflow: hidden;
}

.espelho-tela b {
  font-weight: 600;
  font-size: 13px;
  color: #3ee07a;
}

.espelho-tela i {
  position: absolute;
  left: 0;
  right: 0;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(62, 224, 122, 0.28), transparent);
  animation: espelho-varre 2.8s ease-in-out infinite;
}

.planos {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 48px 48px;
}

.planos table,
.cena table {
  width: 100%;
  border-collapse: collapse;
}

.planos th,
.planos td,
.cena th,
.cena td {
  text-align: left;
  padding: 14px 8px;
  border-bottom: 1px solid #1e3330;
  color: #dce8df;
  vertical-align: baseline;
}

.planos th,
.cena th { color: #8aa394; font-weight: 600; }

.espelho-preco {
  font-size: 22px;
  color: #f6f1e4;
  white-space: nowrap;
}

.codigo-pedido {
  white-space: pre-wrap;
  word-break: break-all;
  color: #f6f1e4;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 14px;
  line-height: 1.45;
  margin: 0 0 16px;
}

.cena .espelho { justify-self: start; margin-top: 28px; }

#form-screenpilot-erro:empty { min-height: 0; }
#form-screenpilot-erro { color: #f0a3a3; min-height: 1.4em; }

@keyframes espelho-varre {
  0% { top: -30%; }
  100% { top: 110%; }
}

@keyframes espelho-faisca {
  0% { top: 0; opacity: 0.4; }
  80%, 100% { top: 28px; opacity: 1; }
}

@keyframes espelho-tela {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

.carrossel {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 48px 72px;
}

.carrossel h1 {
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.025em;
  max-width: 12em;
  margin-bottom: 14px;
  color: #f6f1e4;
}

.carrossel-lead { color: #d7c89a; font-size: 1.125rem; line-height: 1.55; max-width: 46ch; margin: 0; }

.carrossel-janela { overflow: hidden; margin: 32px -16px 22px; padding: 16px; }

.carrossel-faixa {
  display: flex;
  transition: transform 0.5s cubic-bezier(.2, .7, .2, 1);
}

/* Folga maior que o respiro da janela: o cartão vizinho fica fora da área visível */
.carrossel-slide { flex: 0 0 100%; padding: 0 28px 0 0; }

.carrossel-cartao {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 36px;
  border: 1px solid #1e3330;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(4, 10, 12, 0.88) 45%);
  backdrop-filter: blur(6px);
  color: #f6f1e4;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

a.carrossel-cartao:hover { border-color: #3ee07a; box-shadow: 0 0 50px rgba(62, 224, 122, 0.16); transform: translateY(-3px); }
a.carrossel-cartao:hover .button { filter: brightness(1.12); }

.carrossel-icone { position: relative; display: block; }
.carrossel-icone img { display: block; width: 168px; height: 168px; border-radius: 38px; position: relative; z-index: 1; }

.carrossel-icone::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.45), rgba(59, 130, 246, 0.18) 45%, transparent 70%);
  animation: carrossel-respira 3.2s ease-in-out infinite;
}

.carrossel-info { display: grid; gap: 12px; justify-items: start; }

.carrossel-etiqueta { display: inline-flex; align-items: center; gap: 8px; color: #3ee07a; font-weight: 600; font-size: 14px; }
.carrossel-etiqueta b { width: 8px; height: 8px; border-radius: 50%; background: #3ee07a; box-shadow: 0 0 10px #3ee07a; }
.carrossel-etiqueta--breve { color: #e4c15a; }
.carrossel-etiqueta--breve b { background: #e4c15a; box-shadow: 0 0 10px #e4c15a; }

.carrossel-nome { color: #f6f1e4; font-size: clamp(32px, 4.4vw, 48px); font-weight: 700; letter-spacing: -0.035em; line-height: 1; }
.carrossel-texto { color: #b7c6bb; font-size: 1.05rem; line-height: 1.55; max-width: 44ch; }

.carrossel-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.carrossel-tags i { font-style: normal; font-size: 13px; padding: 4px 11px; border-radius: 99px; border: 1px solid #2a4a3c; color: #dce8df; }
.carrossel-tags .carrossel-tag--breve { border-style: dashed; border-color: #6b5a26; color: #e4c15a; }

.baixas { display: grid; gap: 12px; margin: 16px 0; }
.baixas .button { justify-self: start; }

.carrossel-acao .button span { margin-left: 8px; }
.carrossel-acao { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 6px; }
.carrossel-preco { color: #b7c6bb; font-size: 15px; }
.carrossel-preco s { color: #7d8c83; text-decoration-color: #f07272; }
.carrossel-preco strong { color: #f6f1e4; font-size: 22px; letter-spacing: -0.02em; }

.carrossel-cartao--espera { border-style: dashed; border-color: #3a3420; background: rgba(4, 10, 12, 0.7); }

.carrossel-icone--vazio {
  display: grid;
  place-items: center;
  width: 168px;
  height: 168px;
  border-radius: 38px;
  border: 2px dashed #3a3420;
  color: #6b5a26;
  font-size: 56px;
  font-weight: 300;
}

.carrossel-icone--vazio::before { display: none; }

.carrossel-comandos { display: flex; align-items: center; gap: 14px; }

body.site-escuro .carrossel-seta {
  width: 46px;
  height: 46px;
  min-height: 0;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #2a4a3c;
  background: rgba(4, 10, 12, 0.8);
  color: #dce8df;
  font-size: 24px;
  line-height: 1;
}

body.site-escuro .carrossel-seta:hover { border-color: #3ee07a; color: #3ee07a; filter: none; }

/* O ponto continua de 10 px; a área de clique é de 28 px (padding transparente, fundo só no miolo). */
.carrossel-pontos { display: flex; gap: 0; }

body.site-escuro .carrossel-pontos button {
  box-sizing: content-box;
  width: 10px;
  height: 10px;
  min-height: 0;
  padding: 9px;
  border: 0;
  border-radius: 99px;
  background: #2a4a3c;
  background-clip: content-box;
  transition: width 0.3s, background 0.3s;
}

body.site-escuro .carrossel-pontos button[aria-current="true"] { width: 28px; background: #3ee07a; }

@keyframes carrossel-respira {
  0%, 100% { opacity: 0.55; transform: scale(0.94); }
  50% { opacity: 1; transform: scale(1.04); }
}

.uso {
  width: 240px;
  justify-self: end;
  display: grid;
  justify-items: center;
}

.uso-pc {
  width: 176px;
  height: 112px;
  border: 2px solid #e4c15a;
  border-radius: 8px 8px 3px 3px;
  position: relative;
  background: rgba(2, 6, 10, 0.7);
}

.uso-pc span {
  position: absolute;
  left: 12px;
  top: 10px;
  font-size: 11px;
  color: #8aa394;
}

.uso-pc i {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 34px;
  height: 52px;
  background: rgba(61, 220, 132, 0.12);
  animation: uso-tela 3.2s ease-in-out infinite;
}

.uso-cabo {
  width: 2px;
  height: 40px;
  background: #e4c15a;
  position: relative;
}

.uso-cabo b {
  position: absolute;
  left: 50%;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: #fff3c4;
  box-shadow: 0 0 10px #ffe08c;
  animation: uso-faisca 1.8s cubic-bezier(.2, .7, .2, 1) infinite;
}

.uso-phone {
  width: 112px;
  height: 196px;
  border: 2px solid #9b8cff;
  border-radius: 22px;
  position: relative;
  background: #131316;
}

.uso-tela {
  margin: 12px;
  height: calc(100% - 24px);
  border-radius: 14px;
  background: #07140e;
  color: #3ddc84;
  padding: 14px 10px;
  font-size: 13px;
  font-weight: 600;
}

.uso-onda {
  position: absolute;
  top: 50%;
  width: 22px;
  height: 44px;
  border: 2px solid;
  border-radius: 50%;
  opacity: 0.7;
}

.uso-onda--e { left: -28px; border-color: #8b5cf6; border-right: 0; animation: uso-onda 2.4s ease-in-out infinite; }
.uso-onda--d { right: -28px; border-color: #3b82f6; border-left: 0; animation: uso-onda 2.8s ease-in-out infinite; }

.vitrine {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px 48px;
}

.vitrine figure { margin: 0; }
.vitrine img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vitrine figure:first-child { grid-row: 1 / 3; }

.liga {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 48px 36px;
}

.liga h2 {
  color: #f6f1e4;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.025em;
  max-width: 16ch;
}

.liga ol {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  counter-reset: liga;
}

.liga li { counter-increment: liga; }
.liga h3 { color: #f6f1e4; margin-bottom: 8px; }
.liga h3::before { content: counter(liga) "  "; color: #3ee07a; }
.liga p { color: #b7c6bb; margin: 0; }

@keyframes uso-faisca {
  0% { top: 0; opacity: 0.3; }
  100% { top: 32px; opacity: 1; }
}

@keyframes uso-tela {
  0%, 40% { opacity: 0.25; }
  70%, 100% { opacity: 1; }
}

@keyframes uso-onda {
  0%, 100% { opacity: 0.25; transform: scale(0.92); }
  50% { opacity: 0.9; transform: scale(1.05); }
}

@media (max-width: 900px) {
  .palco-nucleo.espelho-hero { grid-template-columns: 1fr; }
  .espelho, .uso { justify-self: start; }
  .planos, .carrossel, .vitrine, .liga { padding-left: 20px; padding-right: 20px; }
  .carrossel-cartao, .vitrine, .liga ol { grid-template-columns: 1fr; }
  .carrossel-cartao { padding: 26px; gap: 24px; }
  .carrossel-icone img, .carrossel-icone--vazio { width: 112px; height: 112px; border-radius: 26px; }
  .vitrine figure:first-child { grid-row: auto; }
}

@media (max-width: 600px) {
  /* Tabela larga rola dentro dela mesma, sem empurrar a página. */
  .planos table,
  .cena table { display: block; overflow-x: auto; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  .carrossel-faixa, .carrossel-cartao { transition: none; }
  .carrossel-icone::before { animation: none; }
  .uso-cabo b, .uso-pc i, .uso-onda { animation: none; }
}

/* ===== ScreenPilot: vitrine interativa ===== */

.palco-nucleo.espelho-hero.sp-hero {
  grid-template-columns: minmax(0, 1fr) minmax(0, 600px);
  gap: 40px;
}

.sp-hero .palco-cartaz { max-width: 32rem; }
.sp-hero .palco-ia { white-space: nowrap; font-size: clamp(48px, 6.4vw, 84px); }

.sp-acoes { display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 22px; }
body.site-escuro .sp-acoes .secondary {
  background: transparent;
  color: #dce8df;
  border-color: #3a5a4b;
}

/* --- Palco: monitor + celular + cabo/ondas --- */

.sp-demo {
  margin: 0;
  width: 100%;
  container-type: inline-size;
  color: #e9e6f5;
}

.sp-palco {
  position: relative;
  aspect-ratio: 16 / 10;
}

.sp-monitor {
  position: absolute;
  left: 0;
  top: 2%;
  width: 66%;
  height: 64%;
  padding: 0.9cqw;
  border-radius: 1.6cqw;
  background: #0b0e13;
  border: 0.35cqw solid #2a303b;
  box-shadow: 0 2cqw 6cqw rgba(0, 0, 0, 0.55), 0 0 5cqw rgba(139, 92, 246, 0.12);
}

.sp-area {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 0.9cqw;
  overflow: hidden;
  background: radial-gradient(120% 90% at 20% 110%, #1d4ed8 0%, #0b1a3a 45%, #050914 100%);
  transition: background 0.6s ease;
}

.sp-demo[data-os="mac"] .sp-area { background: linear-gradient(160deg, #3b2a6b 0%, #7c3aed 35%, #f59e0b 120%); }
.sp-demo[data-os="linux"] .sp-area { background: linear-gradient(160deg, #2c001e 0%, #77216f 55%, #e95420 130%); }

.sp-pe {
  position: absolute;
  left: 29%;
  top: 66%;
  width: 8%;
  height: 7%;
  background: linear-gradient(#1b2029, #2a303b);
}

.sp-pe::after {
  content: "";
  position: absolute;
  left: -90%;
  right: -90%;
  bottom: -0.8cqw;
  height: 1.2cqw;
  border-radius: 1cqw;
  background: #2a303b;
}

.sp-janela {
  position: absolute;
  inset: 6% 5% 7%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  background: #131316;
  border-radius: 0.6cqw;
  box-shadow: 0 1.4cqw 4cqw rgba(0, 0, 0, 0.6);
  overflow: hidden;
  transition: border-radius 0.4s ease;
}

.sp-demo[data-os="mac"] .sp-janela { border-radius: 1.2cqw; }

.sp-barra {
  display: flex;
  align-items: center;
  gap: 1cqw;
  height: 3.4cqw;
  padding: 0 1.2cqw;
  background: #1d1d22;
  font-size: 1.5cqw;
  color: #b9b4cc;
}

.sp-titulo { flex: 1; }
.sp-luzes, .sp-ctrl { display: flex; gap: 0.8cqw; }
.sp-luzes { display: none; }
.sp-luzes i { width: 1.2cqw; height: 1.2cqw; border-radius: 50%; background: #ff5f57; }
.sp-luzes i:nth-child(2) { background: #febc2e; }
.sp-luzes i:nth-child(3) { background: #28c840; }
.sp-ctrl i { font-style: normal; width: 2cqw; text-align: center; }

.sp-demo[data-os="mac"] .sp-luzes { display: flex; }
.sp-demo[data-os="mac"] .sp-ctrl { visibility: hidden; }
.sp-demo[data-os="mac"] .sp-titulo,
.sp-demo[data-os="linux"] .sp-titulo { text-align: center; }
.sp-demo[data-os="linux"] .sp-barra { background: #2b2b2b; }
.sp-demo[data-os="linux"] .sp-ctrl i:not(:last-child) { display: none; }
.sp-demo[data-os="linux"] .sp-ctrl i:last-child {
  border-radius: 50%;
  background: #3d3d3d;
  width: 2.2cqw;
  line-height: 2.2cqw;
  font-size: 1.1cqw;
}

.sp-corpo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.6cqw;
  padding: 1.4cqw 1.6cqw;
  min-height: 0;
}

.sp-painel {
  display: flex;
  flex-direction: column;
  gap: 1.2cqw;
  font-size: 1.45cqw;
  min-width: 0;
}

.sp-painel p { margin: 0; line-height: 1.3; }
.sp-status { display: flex; align-items: center; gap: 0.8cqw; color: #e9e6f5; }

.sp-led {
  flex: none;
  width: 1.1cqw;
  height: 1.1cqw;
  border-radius: 50%;
  background: #4b4f5c;
}

.sp-demo[data-ligada] .sp-led { background: #3ddc84; box-shadow: 0 0 1.2cqw #3ddc84; }
.sp-info { color: #7d7894; }
.sp-atalhos { display: flex; flex-wrap: wrap; gap: 0.6cqw; margin-top: auto; }
.sp-atalhos i { font-style: normal; padding: 0.5cqw 1cqw; border-radius: 0.6cqw; background: #22222a; color: #b9b4cc; font-size: 1.25cqw; }

.sp-chave {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0.35cqw;
  border-radius: 0.9cqw;
  background: #22222a;
}

.sp-demo .sp-chave button {
  min-height: 0;
  padding: 0.7cqw 0;
  border: 0;
  border-radius: 0.6cqw;
  background: transparent;
  color: #9a95b0;
  font-size: 1.4cqw;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.sp-demo .sp-chave button[aria-pressed="true"] { background: #3a3550; color: #fff; }
.sp-demo .sp-chave button:hover { filter: none; color: #fff; }

.sp-espelho {
  height: 100%;
  aspect-ratio: 9 / 19;
  border-radius: 1.4cqw;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 0.25cqw #2a2a33;
  cursor: default;
}

.sp-espelho:focus-visible { outline: 0.35cqw solid #3ddc84; outline-offset: 0.3cqw; }

.sp-tela {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  container-type: inline-size;
}

.sp-celular {
  position: absolute;
  left: 75%;
  top: 22%;
  width: 20%;
  height: 72%;
  padding: 0.6cqw;
  border-radius: 3cqw;
  background: #07070a;
  border: 0.4cqw solid #3a3a46;
  box-shadow: 0 2cqw 5cqw rgba(0, 0, 0, 0.6), 0 0 4cqw rgba(196, 181, 253, 0.18);
  transition: transform 0.9s cubic-bezier(.2, .7, .2, 1);
}

.sp-celular .sp-tela { border-radius: 2.2cqw; }
.sp-demo[data-modo="wifi"][data-ligada] .sp-celular { transform: translate(4%, -4%) rotate(5deg); }

.sp-link {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

/* Desconectar: o plugue sai primeiro, depois o fio recolhe para trás do monitor.
   Recolhido, a ponta arredondada ainda desenharia um ponto: some só depois do recolhimento. */
.sp-cabo {
  fill: none;
  stroke: #b8902f;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  filter: drop-shadow(0 0 2px rgba(255, 224, 140, 0.45));
  transition: stroke-dashoffset 0.6s cubic-bezier(.4, 0, .6, 1) 0.3s, opacity 0.1s 0.9s;
}

.sp-demo[data-cabo="on"] .sp-cabo { opacity: 1; }
/* Filete claro por cima da base dá volume ao fio */
.sp-cabo--brilho { stroke: #ffe39a; stroke-width: 0.5; filter: none; }
.sp-demo[data-cabo="on"] .sp-cabo--brilho { opacity: 0.85; }

/* Lado do computador: entrada na lateral do monitor; o plugue some depois que o fio recolhe */
.sp-porta-pc { fill: #05070a; }
.sp-plug-pc { fill: #fff3c4; opacity: 0; transition: opacity 0.2s 0.9s; }
.sp-demo[data-cabo="on"] .sp-plug-pc { opacity: 1; transition: opacity 0.15s; }
.sp-plug { fill: #fff3c4; transform: translateY(4px); opacity: 0; transition: transform 0.3s ease-in, opacity 0.3s ease-in 0.1s; }
.sp-plug-corpo { fill: #e4c15a; }

/* Conectar: o fio chega até o celular e o plugue encaixa */
.sp-demo[data-cabo="on"] .sp-cabo { stroke-dashoffset: 0; transition: stroke-dashoffset 0.7s cubic-bezier(.2, .7, .2, 1), opacity 0s; }
.sp-demo[data-cabo="on"] .sp-plug { transform: none; opacity: 1; transition: transform 0.25s cubic-bezier(.3, 1.4, .5, 1) 0.65s, opacity 0.15s 0.6s; }

.sp-porta { fill: #3ddc84; opacity: 0; transform-box: fill-box; transform-origin: center; }
.sp-demo[data-cabo="on"] .sp-porta { animation: sp-porta 0.7s ease-out 0.85s; }

/* No Wi-Fi o celular só se afasta depois que o plugue saiu */
.sp-celular { transition-delay: 0s; }
.sp-demo[data-modo="wifi"][data-ligada] .sp-celular { transition-delay: 0.45s; }

.sp-onda {
  fill: none;
  stroke: #8b5cf6;
  stroke-width: 2.4;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  transition: opacity 0.4s;
}

.sp-onda:nth-of-type(3) { stroke: #3b82f6; }

.sp-demo[data-modo="wifi"][data-ligada] .sp-onda { animation: sp-onda 1.8s ease-in-out infinite; }
.sp-demo[data-modo="wifi"][data-ligada] .sp-onda:nth-of-type(3) { animation-delay: 0.25s; }
.sp-demo[data-modo="wifi"][data-ligada] .sp-onda:nth-of-type(4) { animation-delay: 0.5s; }

.sp-cursor {
  position: absolute;
  left: 20%;
  top: 70%;
  z-index: 5;
  width: 1.9cqw;
  height: 2.8cqw;
  background: #fff;
  clip-path: polygon(0 0, 0 78%, 24% 60%, 42% 100%, 56% 93%, 39% 56%, 74% 56%);
  opacity: 0;
  pointer-events: none;
  transition: left 0.7s cubic-bezier(.45, 0, .2, 1), top 0.7s cubic-bezier(.45, 0, .2, 1), opacity 0.3s, transform 0.15s;
}

.sp-robo .sp-cursor { opacity: 1; }
.sp-cursor--clica { transform: scale(0.8); }

.sp-toque {
  position: absolute;
  z-index: 4;
  width: 16cqw;
  height: 16cqw;
  margin: -8cqw 0 0 -8cqw;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  pointer-events: none;
  animation: sp-toque 0.55s ease-out forwards;
}

.sp-comandos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  /* Espaço para a barriga do cabo, que passa abaixo do celular */
  margin-top: calc(14px + 5cqw);
}

.sp-sistemas-chave { display: inline-flex; gap: 4px; padding: 4px; border-radius: 10px; background: rgba(13, 22, 19, 0.8); border: 1px solid #1e3330; }

.sp-demo .sp-sistemas-chave button,
.sp-demo .sp-repetir {
  min-height: 36px;
  padding: 6px 14px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #8aa394;
  font-size: 14px;
  font-weight: 600;
}

.sp-demo .sp-sistemas-chave button[aria-pressed="true"] { background: #1c3a2c; color: #f6f1e4; }
.sp-demo .sp-repetir[hidden] { display: none; }
.sp-demo .sp-repetir { color: #3ee07a; text-decoration: underline; text-underline-offset: 3px; }

/* Variante grande: espelho em destaque, sem cabo/ondas */
.sp-demo--grande .sp-palco { aspect-ratio: 16 / 11; }
.sp-demo--grande .sp-monitor { width: 74%; height: 80%; }
.sp-demo--grande .sp-pe { left: 33%; top: 82%; }
.sp-demo--grande .sp-corpo { grid-template-columns: minmax(0, 0.7fr) auto; }
.sp-demo--grande .sp-celular { left: 80%; top: 30%; width: 17%; height: 62%; }
.sp-demo--grande .sp-link { display: none; }

/* --- Celular simulado (medidas relativas à tela) --- */

.spc {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: linear-gradient(170deg, #1b1530 0%, #2a2350 45%, #0f1424 100%);
  color: #fff;
  font-size: 5cqw;
  line-height: 1.25;
  user-select: none;
}

/* Só ao conectar: a tela acende de cima para baixo */
.spc--acende { animation: spc-acende 0.5s ease-out; }

.spc--off {
  align-items: center;
  justify-content: center;
  background: #050607;
  color: #5d6270;
  font-size: 6cqw;
  text-align: center;
  padding: 10cqw;
  animation: none;
}

.spc-barra { display: flex; justify-content: space-between; align-items: center; padding: 3cqw 6cqw 1cqw; font-size: 4.6cqw; }
.spc-sinais { display: flex; gap: 1cqw; align-items: flex-end; }
.spc-sinais i { width: 1.4cqw; height: 2cqw; background: #fff; border-radius: 0.4cqw; }
.spc-sinais i:nth-child(2) { height: 3cqw; }
.spc-sinais i:nth-child(3) { height: 4cqw; }

.spc-home { flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 5cqw 6cqw 2cqw; min-height: 0; }
.spc-busca { background: rgba(255, 255, 255, 0.92); color: #666; border-radius: 99px; padding: 3cqw 5cqw; font-size: 4.4cqw; }
.spc-apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6cqw 3cqw; }

.sp-demo .spc-app {
  display: grid;
  justify-items: center;
  gap: 1.6cqw;
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font-size: 3.8cqw;
  font-weight: 500;
  cursor: pointer;
}

.sp-demo .spc-app:hover { filter: brightness(1.15); }

.spc-icone { display: block; width: 17cqw; aspect-ratio: 1; border-radius: 30%; box-shadow: inset 0 -1cqw 2cqw rgba(0, 0, 0, 0.18); }
.spc-icone--verde { background: linear-gradient(145deg, #4ade80, #16a34a); }
.spc-icone--roxo { background: linear-gradient(145deg, #c4b5fd, #7c3aed); }
.spc-icone--azul { background: linear-gradient(145deg, #93c5fd, #2563eb); }
.spc-icone--laranja { background: linear-gradient(145deg, #fdba74, #ea580c); }
.spc-icone--cinza { background: linear-gradient(145deg, #9ca3af, #4b5563); }
.spc-icone--ouro { background: linear-gradient(145deg, #fde68a, #d4a017); }

.sp-demo .spc-nav {
  position: relative;
  flex: none;
  align-self: center;
  width: 32cqw;
  height: 1.6cqw;
  min-height: 0;
  margin: 3cqw 0 3.4cqw;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

.sp-demo .spc-nav::before { content: ""; position: absolute; inset: -4cqw -6cqw; }

.spc-tela-app { flex: 1; display: flex; flex-direction: column; min-height: 0; background: #0e1116; }
.spc-topo { margin: 0; padding: 3cqw 6cqw 4cqw; font-weight: 600; font-size: 6cqw; border-bottom: 1px solid #1f2430; }
.spc-rolagem { flex: 1; overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain; cursor: grab; }
.spc-rolagem::-webkit-scrollbar { display: none; }
.spc-fotos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2cqw; padding: 1.2cqw; align-content: start; }
.spc-foto { display: block; aspect-ratio: 1; border-radius: 1cqw; }
.spc-foto--0 { background: linear-gradient(160deg, #f59e0b, #b45309 70%, #1e1b4b); }
.spc-foto--1 { background: linear-gradient(200deg, #38bdf8, #1e3a8a); }
.spc-foto--2 { background: radial-gradient(circle at 30% 30%, #fde68a, #16a34a 60%, #14532d); }
.spc-foto--3 { background: linear-gradient(170deg, #f472b6, #7c3aed); }
.spc-foto--4 { background: linear-gradient(180deg, #a5b4fc 0 45%, #334155 45% 100%); }
.spc-foto--5 { background: radial-gradient(circle at 70% 40%, #fca5a5, #b91c1c 55%, #450a0a); }

.spc-conversa { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 2.4cqw; padding: 4cqw; min-height: 0; overflow: hidden; }
.spc-bolha { margin: 0; max-width: 78%; padding: 2.6cqw 4cqw; border-radius: 4cqw 4cqw 4cqw 1cqw; background: #262b36; font-size: 4.6cqw; align-self: flex-start; overflow-wrap: anywhere; }
.spc-bolha--eu { align-self: flex-end; border-radius: 4cqw 4cqw 1cqw 4cqw; background: #3ddc84; color: #052e16; animation: spc-sobe 0.3s ease-out; }

.spc-digitar {
  display: flex;
  align-items: center;
  min-height: 11cqw;
  margin: 0 3cqw 1cqw;
  padding: 2.6cqw 4cqw;
  border-radius: 99px;
  background: #1d222b;
  font-size: 4.6cqw;
  white-space: nowrap;
  overflow: hidden;
}

.spc-digitar em { font-style: normal; color: #7a8494; overflow: hidden; text-overflow: ellipsis; }
.spc-caret { flex: none; width: 0.5cqw; height: 5cqw; margin: 0 0.6cqw; background: #3ddc84; animation: spc-pisca 1s steps(1) infinite; }

.spc-mapa-area {
  flex: 1;
  position: relative;
  background:
    repeating-linear-gradient(90deg, transparent 0 14cqw, rgba(255, 255, 255, 0.7) 14cqw 15.4cqw),
    repeating-linear-gradient(0deg, transparent 0 18cqw, rgba(255, 255, 255, 0.7) 18cqw 19.4cqw),
    #cfe0c8;
}

.spc-rota { position: absolute; left: 18%; top: 30%; width: 52%; height: 44%; border: 1.6cqw solid #3b82f6; border-left: 0; border-bottom: 0; border-radius: 0 50% 0 0; }
.spc-pino { position: absolute; right: 25%; top: 21%; width: 8cqw; aspect-ratio: 1; background: #ea4335; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.spc-mapa-info { margin: 0; padding: 4cqw 6cqw 1cqw; font-weight: 600; }
.spc-generico { align-items: center; justify-content: center; gap: 4cqw; }
.spc-generico .spc-icone { width: 30cqw; }
.spc-generico p { margin: 0; font-weight: 600; }

/* --- Seções --- */

.sp-secao {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 48px;
}

.sp-secao h2,
.sp-planos-titulo {
  color: #f6f1e4;
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  max-width: 20ch;
  margin: 0 0 36px;
}

.sp-passos ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.sp-passos li,
.sp-sistemas-grade article {
  padding: 22px;
  border: 1px solid #1e3330;
  border-radius: 16px;
  background: rgba(8, 16, 13, 0.7);
}

.sp-passos h3,
.sp-sistemas-grade h3 { color: #f6f1e4; margin: 0 0 8px; font-size: 20px; }
.sp-passos p,
.sp-sistemas-grade p { color: #b7c6bb; margin: 0; }
.sp-passos li { counter-increment: sp-passo; }
.sp-passos ol { counter-reset: sp-passo; }
.sp-passos h3::before { content: counter(sp-passo) "  "; color: #3ee07a; }

/* Mini animações dos passos */
.sp-mini {
  position: relative;
  height: 128px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: radial-gradient(circle at 50% 120%, rgba(139, 92, 246, 0.22), transparent 60%), #060b0a;
  overflow: hidden;
}

.sp-mini-cel {
  position: absolute;
  left: 50%;
  top: 14px;
  width: 50px;
  height: 90px;
  margin-left: -25px;
  border: 2px solid #c4b5fd;
  border-radius: 11px;
  background: #0b0d12;
}

.sp-mini--cabo .sp-mini-cel { animation: sp-mini-acende 3.6s ease infinite; }

.sp-mini-plug {
  position: absolute;
  left: 50%;
  width: 12px;
  height: 14px;
  margin-left: -6px;
  border-radius: 3px 3px 2px 2px;
  background: #e4c15a;
  animation: sp-mini-pluga 3.6s cubic-bezier(.2, .7, .2, 1) infinite;
}

.sp-mini-plug::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 14px;
  width: 4px;
  height: 60px;
  background: #e4c15a;
}

.sp-mini--permitir .sp-mini-cel { animation: sp-mini-acende-tarde 3.6s ease infinite; }

.sp-mini--permitir b {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 12px;
  padding: 4px 0;
  border-radius: 6px;
  background: #3ddc84;
  color: #052e16;
  font-size: 9px;
  text-align: center;
  animation: sp-mini-permite 3.6s ease infinite;
}

.sp-mini--wifi .sp-mini-cel { left: 66%; background: linear-gradient(170deg, #2a2350, #0f1424); }

.sp-mini-chave {
  position: absolute;
  left: 18%;
  top: 50px;
  width: 44px;
  height: 24px;
  border-radius: 99px;
  background: #2a2f3a;
  animation: sp-mini-chave-fundo 3.6s ease infinite;
}

.sp-mini-chave::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f6f1e4;
  animation: sp-mini-chave 3.6s ease infinite;
}

.sp-mini-ondas,
.sp-mini-ondas::before,
.sp-mini-ondas::after {
  position: absolute;
  border: 2px solid #8b5cf6;
  border-right: 0;
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
}

.sp-mini-ondas {
  left: calc(66% - 46px);
  top: 42px;
  width: 22px;
  height: 40px;
  animation: sp-mini-ondas 3.6s ease infinite;
}

.sp-mini-ondas::before,
.sp-mini-ondas::after { content: ""; }
.sp-mini-ondas::before { left: -10px; top: -8px; width: 30px; height: 52px; border-left-color: #3b82f6; }
.sp-mini-ondas::after { left: -20px; top: -16px; width: 40px; height: 68px; border-left-color: #6d5bd0; }

/* Controle */
.sp-controle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 620px);
  gap: 56px;
  align-items: center;
}

.sp-controle h2 { margin-bottom: 18px; }
.sp-lead { color: #d7c89a; font-size: 1.125rem; line-height: 1.55; max-width: 40ch; }

.sp-gestos {
  list-style: none;
  padding: 0;
  margin: 24px 0 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sp-gestos li {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid #1e3330;
  border-radius: 12px;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}

.sp-gestos b { color: #f6f1e4; }
.sp-gestos span { color: #8aa394; font-size: 14px; }
.sp-gestos .sp-gesto--ativo { border-color: #3ddc84; background: rgba(61, 220, 132, 0.1); transform: translateY(-2px); }

/* Sistemas */
.sp-sistemas-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sp-sistemas-grade h3 small { margin-left: 8px; padding: 2px 8px; border-radius: 99px; border: 1px solid #e4c15a; color: #e4c15a; font-size: 12px; vertical-align: middle; }

.sp-mini-janela {
  position: relative;
  height: 120px;
  margin-bottom: 18px;
  border-radius: 12px;
  overflow: hidden;
  background: radial-gradient(120% 90% at 20% 110%, #1d4ed8 0%, #0b1a3a 45%, #050914 100%);
}

[data-os="mac"] .sp-mini-janela { background: linear-gradient(160deg, #3b2a6b 0%, #7c3aed 35%, #f59e0b 120%); }
[data-os="linux"] .sp-mini-janela { background: linear-gradient(160deg, #2c001e 0%, #77216f 55%, #e95420 130%); }

.sp-mj-barra {
  position: absolute;
  left: 16%;
  right: 16%;
  top: 14px;
  height: 14px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 5px;
  padding: 0 6px;
  border-radius: 4px 4px 0 0;
  background: #1d1d22;
}

.sp-mj-barra i { width: 6px; height: 6px; background: #8e8aa3; }
[data-os="mac"] .sp-mj-barra { justify-content: flex-start; border-radius: 7px 7px 0 0; }
[data-os="mac"] .sp-mj-barra i { border-radius: 50%; background: #ff5f57; }
[data-os="mac"] .sp-mj-barra i:nth-child(2) { background: #febc2e; }
[data-os="mac"] .sp-mj-barra i:nth-child(3) { background: #28c840; }
[data-os="linux"] .sp-mj-barra { background: #2b2b2b; }
[data-os="linux"] .sp-mj-barra i:not(:last-child) { display: none; }
[data-os="linux"] .sp-mj-barra i { border-radius: 50%; width: 8px; height: 8px; }

.sp-mj-cel {
  position: absolute;
  left: 16%;
  right: 16%;
  top: 28px;
  bottom: 12px;
  background: #131316;
}

.sp-mj-cel::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8%;
  bottom: 8%;
  aspect-ratio: 9 / 19;
  transform: translateX(-50%);
  border-radius: 5px;
  background: linear-gradient(170deg, #2a2350, #0f1424);
  box-shadow: 0 0 0 1px #3a3550;
}

/* Oferta */
.sp-oferta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 56px;
  align-items: center;
}

.sp-oferta h2 { margin-bottom: 18px; }

.sp-oferta-cartao {
  position: relative;
  padding: 32px 28px 26px;
  border: 1px solid #3ee07a;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(62, 224, 122, 0.12), rgba(4, 10, 12, 0.95) 55%);
  box-shadow: 0 0 60px rgba(62, 224, 122, 0.14);
}

.sp-selo {
  position: absolute;
  top: -13px;
  left: 24px;
  padding: 4px 12px;
  border-radius: 99px;
  background: #e4c15a;
  color: #1c1503;
  font-size: 13px;
  font-weight: 700;
}

.sp-oferta-cartao h3 { margin: 0 0 14px; color: #f6f1e4; font-size: 22px; }
.sp-oferta-cartao h3 b { color: #3ee07a; }
.sp-de { margin: 0; color: #8aa394; font-size: 16px; }
.sp-de s { text-decoration-color: #f07272; text-decoration-thickness: 2px; }
.sp-por { margin: 2px 0 6px; color: #f6f1e4; font-size: 56px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.sp-por small { font-size: 18px; font-weight: 500; letter-spacing: 0; color: #b7c6bb; margin-right: 6px; }
.sp-economia { color: #e4c15a; font-weight: 600; margin: 0 0 18px; }
.sp-oferta-cartao ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; color: #dce8df; }
.sp-oferta-cartao li::before { content: "✓"; color: #3ee07a; font-weight: 700; margin-right: 10px; }
.sp-oferta-cartao .button { width: 100%; font-size: 17px; }
.sp-oferta-cartao .fine { margin: 12px 0 0; text-align: center; }

.opcao strong s { color: #8aa394; font-weight: 400; margin-right: 6px; }

/* Painel de vendas */
.sp-painel h1 { color: #f6f1e4; margin-bottom: 24px; }
.sp-painel-login { max-width: 420px; }

.sp-painel-topo { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.sp-painel-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.sp-painel-chips span { padding: 5px 12px; border-radius: 99px; border: 1px solid #2a4a3c; color: #dce8df; font-size: 13px; }
body.site-escuro .sp-painel-topo .secondary { background: transparent; color: #dce8df; border-color: #2a4a3c; font-size: 14px; min-height: 36px; padding: 6px 16px; }

.sp-painel-totais {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.sp-painel-totais li { display: grid; gap: 4px; padding: 18px 20px; border: 1px solid #1e3330; border-radius: 14px; background: rgba(4, 10, 12, 0.75); }
.sp-painel-totais b { color: #3ee07a; font-size: 26px; letter-spacing: -0.02em; }
.sp-painel-totais span { color: #8aa394; font-size: 14px; }

body.site-escuro .sp-painel-busca { color: #b7c6bb; max-width: 360px; }
body.site-escuro .sp-painel-busca input { background: rgba(4, 10, 12, 0.85); color: #f6f1e4; border-color: #2a4a3c; }

.sp-painel-tabela { overflow-x: auto; }
.sp-painel table { width: 100%; border-collapse: collapse; }
.sp-painel th, .sp-painel td { text-align: left; padding: 12px 8px; border-bottom: 1px solid #1e3330; color: #dce8df; vertical-align: top; font-size: 14px; }
.sp-painel th { color: #8aa394; font-weight: 600; }
.sp-painel td small { display: block; color: #7d8c83; font-size: 12px; margin-top: 2px; }
.sp-painel-acoes { display: grid; gap: 6px; justify-items: start; }

.sp-situacao { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; background: #2a2f3a; color: #dce8df; }
.sp-situacao--approved { background: rgba(62, 224, 122, 0.16); color: #3ee07a; }
.sp-situacao--pending { background: rgba(228, 193, 90, 0.16); color: #e4c15a; }
.sp-situacao--rejected { background: rgba(240, 114, 114, 0.16); color: #f07272; }

.sp-painel-sub { color: #f6f1e4; font-size: 20px; margin: 36px 0 12px; }
.sp-painel-emails details { border-bottom: 1px solid #1e3330; padding: 10px 0; color: #dce8df; font-size: 14px; }
.sp-painel-emails summary { cursor: pointer; }
.sp-painel-emails summary span { color: #7d8c83; margin-left: 6px; }
.sp-painel-emails pre { white-space: pre-wrap; color: #b7c6bb; font-size: 13px; margin: 10px 0 0; }

/* Vantagens */
.sp-vantagens ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid #1e3330;
  border-radius: 16px;
  overflow: hidden;
  background: #1e3330;
}

.sp-vantagens li { display: grid; gap: 6px; padding: 26px 24px; background: #040a0c; }
.sp-vantagens b { color: #3ee07a; font-size: 24px; letter-spacing: -0.02em; }
.sp-vantagens span { color: #b7c6bb; }

.planos .sp-planos-titulo { margin-bottom: 20px; }

@keyframes sp-porta {
  0% { opacity: 0.9; transform: scale(0.3); }
  100% { opacity: 0; transform: scale(1.6); }
}

@keyframes sp-onda {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 1; }
}

@keyframes sp-toque {
  from { transform: scale(0.2); opacity: 0.9; }
  to { transform: scale(1); opacity: 0; }
}

@keyframes spc-acende {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes spc-sobe {
  from { transform: translateY(40%); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@keyframes spc-pisca { 50% { opacity: 0; } }

@keyframes sp-mini-pluga {
  0%, 8% { bottom: -40px; }
  32%, 100% { bottom: 10px; }
}

@keyframes sp-mini-acende {
  0%, 34% { background: #0b0d12; box-shadow: none; }
  46%, 100% { background: linear-gradient(170deg, #2a2350, #0f1424); box-shadow: 0 0 22px rgba(61, 220, 132, 0.35); }
}

@keyframes sp-mini-permite {
  0%, 30% { transform: none; opacity: 1; }
  38% { transform: scale(0.88); opacity: 1; }
  46% { transform: none; opacity: 1; }
  56%, 100% { opacity: 0; }
}

@keyframes sp-mini-acende-tarde {
  0%, 50% { background: #0b0d12; box-shadow: none; }
  62%, 100% { background: linear-gradient(170deg, #2a2350, #0f1424); box-shadow: 0 0 22px rgba(61, 220, 132, 0.35); }
}

@keyframes sp-mini-chave {
  0%, 24% { transform: none; }
  36%, 100% { transform: translateX(20px); }
}

@keyframes sp-mini-chave-fundo {
  0%, 24% { background: #2a2f3a; }
  36%, 100% { background: #3b82f6; }
}

@keyframes sp-mini-ondas {
  0%, 40% { opacity: 0; }
  55%, 90% { opacity: 1; }
  100% { opacity: 0; }
}

@media (max-width: 900px) {
  .palco-nucleo.espelho-hero.sp-hero,
  .sp-controle,
  .sp-oferta { grid-template-columns: 1fr; }
  .sp-secao { padding: 56px 20px; }
  .sp-passos ol,
  .sp-sistemas-grade { grid-template-columns: 1fr; }
  .sp-vantagens ul { grid-template-columns: 1fr 1fr; }
  .sp-painel-totais { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .sp-hero .palco-ia { font-size: 52px; }
  .sp-secao { padding: 44px 16px; }
  .sp-vantagens ul { grid-template-columns: 1fr; }
  .sp-gestos { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .sp-cabo, .sp-plug, .sp-plug-pc, .sp-celular, .sp-cursor, .sp-gestos li { transition: none !important; }
  .sp-porta { animation: none !important; }
  .spc, .spc-bolha--eu, .sp-onda, .sp-mini *, .sp-mini *::before, .sp-mini *::after { animation: none !important; }
  .sp-demo[data-modo="wifi"][data-ligada] .sp-onda { opacity: 1; }
  .sp-mini-plug { bottom: 10px; }
}

/* ===== Guia da compra (página Comprar licença) ===== */

.sp-guia-atalho {
  margin: 4px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(62, 224, 122, 0.3);
  border-radius: 12px;
  background: rgba(62, 224, 122, 0.08);
  color: #dce8df;
  line-height: 1.7;
  max-width: 34rem;
}

.sp-guia-atalho b { color: #3ee07a; }

.sp-tecla {
  display: inline-block;
  padding: 0 8px;
  border: 1px solid #2a4a3c;
  border-radius: 6px;
  background: #0f1a16;
  color: #f6f1e4;
  font-size: 0.92em;
  line-height: 1.6;
  white-space: nowrap;
}

.sp-guia-ou { margin: 18px 0 6px; color: #8aa394; font-size: 14px; }

.sp-guia-passos {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  counter-reset: sp-guia;
  max-width: 34rem;
}

.sp-guia-passos li {
  position: relative;
  display: grid;
  gap: 2px;
  padding-left: 40px;
  counter-increment: sp-guia;
}

.sp-guia-passos li::before {
  content: counter(sp-guia);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid #3ee07a;
  border-radius: 50%;
  color: #3ee07a;
  font-size: 13px;
  font-weight: 700;
}

.sp-guia-passos b { color: #f6f1e4; }
.sp-guia-passos span { color: #b7c6bb; font-size: 15px; }

/* Miniatura da aba Licença do app */
.sp-guia-app {
  position: relative;
  max-width: 340px;
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid #2a2a33;
  border-radius: 14px;
  background: #131316;
  color: #e9e6f5;
  font-size: 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(139, 92, 246, 0.14);
}

.sp-guia-app p { margin: 0; }

.sp-guia-barra { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #1d1d22; color: #b9b4cc; }
.sp-guia-barra i { width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; }
.sp-guia-barra i:nth-child(2) { background: #febc2e; }
.sp-guia-barra i:nth-child(3) { background: #28c840; }
.sp-guia-barra span { flex: 1; text-align: center; }
.sp-guia-barra b { color: #c4b5fd; font-weight: 400; }

.sp-guia-corpo { position: relative; padding: 12px 14px 16px; }
.sp-guia-abas { display: flex; gap: 16px; margin-bottom: 10px; }
.sp-guia-abas span { color: #7d7894; padding-bottom: 4px; }
.sp-guia-abas .sp-guia-aba--ativa { color: #fff; border-bottom: 2px solid #8b5cf6; }

.sp-guia-cartao {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.1);
}

.sp-guia-plano { position: relative; height: 20px; font-size: 15px; font-weight: 700; }
.sp-guia-plano span { position: absolute; left: 0; top: 0; }
.sp-guia-pro { color: #3ddc84; opacity: 0; }
.sp-guia-rotulo { color: #9a95b0; font-size: 11px; }
.sp-guia-id { display: flex; gap: 6px; }

.sp-guia-id span {
  flex: 1;
  padding: 6px 8px;
  border: 1px solid #2a2a33;
  border-radius: 6px;
  background: #0d0d10;
  color: #c9c4dc;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px;
}

.sp-guia-copiar { padding: 6px 10px; border: 1px solid #3a3550; border-radius: 6px; font-weight: 600; }
.sp-guia-comprar { padding: 8px; border-radius: 8px; background: linear-gradient(90deg, #7c3aed, #3b82f6); color: #fff; font-weight: 700; text-align: center; }
.sp-guia-codigo { padding: 7px; border: 1px solid #3a3550; border-radius: 8px; color: #b9b4cc; text-align: center; }

.sp-guia-toast {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  padding: 9px 10px;
  border: 1px solid #3ddc84;
  border-radius: 8px;
  background: #13241a;
  color: #dcfce7;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
}

.sp-guia-cursor {
  position: absolute;
  z-index: 2;
  width: 12px;
  height: 18px;
  background: #fff;
  clip-path: polygon(0 0, 0 78%, 24% 60%, 42% 100%, 56% 93%, 39% 56%, 74% 56%);
  opacity: 0;
}

/* Pelo site: o cursor vai até Copiar, clica e aparece "ID copiado!" */
.sp-guia-app:not(.sp-guia-app--ativa) .sp-guia-cursor { animation: sp-guia-cursor 6s cubic-bezier(.45, 0, .2, 1) infinite; }
.sp-guia-app:not(.sp-guia-app--ativa) .sp-guia-copiar { animation: sp-guia-copiar 6s ease infinite; }
.sp-guia-app:not(.sp-guia-app--ativa) .sp-guia-toast { animation: sp-guia-toast 6s ease infinite; }

/* Pelo app: o pagamento entra, o plano vira PRO e o aviso aparece */
.sp-guia-app--ativa .sp-guia-free { animation: sp-guia-sai 6s ease infinite; }
.sp-guia-app--ativa .sp-guia-pro { animation: sp-guia-entra 6s ease infinite; }
.sp-guia-app--ativa .sp-guia-toast { animation: sp-guia-toast 6s ease infinite; }

@keyframes sp-guia-cursor {
  0% { left: 78%; top: 96%; opacity: 0; transform: none; }
  10% { opacity: 1; }
  38% { left: calc(100% - 60px); top: 149px; transform: none; }
  42% { transform: scale(0.8); }
  46% { transform: none; }
  80% { left: calc(100% - 60px); top: 149px; opacity: 1; }
  92%, 100% { left: calc(100% - 60px); top: 149px; opacity: 0; }
}

@keyframes sp-guia-copiar {
  0%, 40% { background: transparent; color: #e9e6f5; border-color: #3a3550; }
  44%, 70% { background: #3ddc84; color: #052e16; border-color: #3ddc84; }
  80%, 100% { background: transparent; color: #e9e6f5; border-color: #3a3550; }
}

@keyframes sp-guia-toast {
  0%, 44% { opacity: 0; transform: translateY(8px); }
  50%, 84% { opacity: 1; transform: none; }
  92%, 100% { opacity: 0; transform: translateY(8px); }
}

@keyframes sp-guia-sai {
  0%, 44% { opacity: 1; }
  50%, 88% { opacity: 0; }
  96%, 100% { opacity: 1; }
}

@keyframes sp-guia-entra {
  0%, 44% { opacity: 0; transform: translateY(4px); }
  50%, 88% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .sp-guia-app *, .sp-guia-app *::before { animation: none !important; }
  .sp-guia-toast { opacity: 1; transform: none; }
  .sp-guia-app--ativa .sp-guia-free { opacity: 0; }
  .sp-guia-app--ativa .sp-guia-pro { opacity: 1; }
}
