/* ==========================================================
   Peças comuns a todos os modelos de demonstração:
   faixa "modelo de demonstração" + janela do botão de WhatsApp.
   Numa página de cliente de verdade, este arquivo sai.
   ========================================================== */

.demo-faixa {
  position: relative;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  padding: 9px 16px;
  background: #0C0C1C;
  color: #EAEAEA;
  font: 500 0.85rem/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  text-align: center;
}

.demo-faixa strong { color: #fff; }

.demo-faixa a {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #8B3FFD, #00D8FF);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.demo-faixa .voltar {
  background: none;
  padding: 0;
  color: #9fdcff;
  text-decoration: underline;
}

/* Janela que aparece no lugar do WhatsApp */
.demo-janela {
  width: min(460px, calc(100% - 32px));
  border: none;
  border-radius: 20px;
  padding: 0;
  color: #1b1b1f;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  font: 400 1rem/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.demo-janela::backdrop {
  background: rgba(10, 10, 20, 0.55);
  backdrop-filter: blur(3px);
}

.demo-janela .topo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: #075E54;
  color: #fff;
  font-weight: 600;
}

.demo-janela .topo svg { flex-shrink: 0; }

.demo-janela .corpo { padding: 18px 20px 20px; }
.demo-janela .corpo p { margin: 0 0 12px; color: #4a4a55; font-size: 0.95rem; }

.demo-janela .balao {
  position: relative;
  margin: 0 0 18px auto;
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 12px 12px 2px 12px;
  background: #DCF8C6;
  color: #1b1b1f;
  white-space: pre-wrap;
  font-size: 0.93rem;
  max-height: 46vh;
  overflow: auto;
}

.demo-janela .acoes { display: flex; flex-direction: column; gap: 8px; }

.demo-janela .acoes a,
.demo-janela .acoes button {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: none;
  font: inherit;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.demo-janela .acoes a {
  background: linear-gradient(90deg, #8B3FFD, #00D8FF);
  color: #fff;
}

.demo-janela .acoes button {
  background: #f0f0f4;
  color: #33333d;
}
