/* ============================================================
   LOKALO — CHECKOUT POR ETAPAS
   ============================================================ */

:root {
  --verde: #10915f;
  --escuro: #0a2540;
  --azul: #1a73e8;
  --laranja: #e65100;
  --cinza-bg: #f4f6f8;
}

/* Esconde elementos do tema na página de checkout (foco total) */
.lokalo-page .site-header,
.lokalo-page .site-footer,
.lokalo-page .sidebar,
.lokalo-page #right-sidebar,
.lokalo-page .widget-area {
  display: none !important;
}

.lokalo-page .site-content,
.lokalo-page .content-area {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.lokalo-wrap {
  min-height: 100vh;
  background: var(--cinza-bg);
  font-family: system-ui, -apple-system, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px 60px;
  box-sizing: border-box;
}

/* ---------- BARRA SUPERIOR (logo + contador) ---------- */
.lokalo-topo {
  width: 100%;
  max-width: 480px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.lokalo-topo img { height: 34px; width: auto; }

.lokalo-contador {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff3e0;
  color: var(--laranja);
  font-weight: 800;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 99px;
  border: 1px solid #ffcc80;
}
.lokalo-contador .relogio { font-variant-numeric: tabular-nums; }

/* ---------- BARRA DE PROGRESSO DAS ETAPAS ---------- */
.lokalo-steps {
  width: 100%;
  max-width: 480px;
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.lokalo-step-dot {
  flex: 1;
  height: 6px;
  border-radius: 99px;
  background: #e3e8ee;
  transition: background .3s;
}
.lokalo-step-dot.ativo { background: var(--verde); }

/* ---------- CARTÃO ---------- */
.lokalo-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  box-sizing: border-box;
  animation: lokaloSubir .35s ease;
}
@keyframes lokaloSubir {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.lokalo-etapa { display: none; }
.lokalo-etapa.ativa { display: block; }

.lokalo-titulo {
  font-size: 22px;
  font-weight: 800;
  color: var(--escuro);
  margin: 0 0 8px;
  line-height: 1.25;
}
.lokalo-sub {
  font-size: 15px;
  color: #5a6a7a;
  margin: 0 0 20px;
  line-height: 1.5;
}

/* ---------- BLOCO DE PREÇO ---------- */
.lokalo-preco-box {
  background: linear-gradient(135deg, var(--escuro), var(--verde));
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  color: #fff;
}
.lokalo-preco-de {
  font-size: 14px;
  color: #cfe9dd;
  text-decoration: line-through;
  margin: 0;
}
.lokalo-preco-por {
  font-size: 46px;
  font-weight: 900;
  margin: 2px 0;
  line-height: 1;
}
.lokalo-preco-obs {
  font-size: 13px;
  color: #a7e0c6;
  font-weight: 700;
  margin: 6px 0 0;
}
.lokalo-preco-parcela {
  font-size: 13px;
  color: #fff;
  margin-top: 10px;
  border-top: 1px solid rgba(255,255,255,.2);
  padding-top: 12px;
}

/* ---------- LISTA DE BENEFÍCIOS ---------- */
.lokalo-lista { margin: 18px 0; padding: 0; list-style: none; }
.lokalo-lista li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--escuro);
  margin-top: 10px;
}
.lokalo-lista li::before {
  content: "✓";
  color: var(--verde);
  font-weight: 900;
  flex-shrink: 0;
}

/* ---------- INPUTS ---------- */
.lokalo-input {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border: 2px solid #e3e8ee;
  border-radius: 12px;
  box-sizing: border-box;
  outline: none;
  margin-top: 10px;
}
.lokalo-input:focus { border-color: var(--verde); }
.lokalo-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--escuro);
  display: block;
  margin-top: 14px;
}

/* ---------- BOTÕES ---------- */
.lokalo-btn {
  background: var(--verde);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 17px 24px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  width: 100%;
  margin-top: 18px;
  transition: transform .1s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(16,145,95,.3);
}
.lokalo-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(16,145,95,.4); }
.lokalo-btn.pulsar { animation: lokaloPulsar 1.8s infinite; }
@keyframes lokaloPulsar {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
.lokalo-voltar {
  background: none;
  border: none;
  color: #9aa5b1;
  font-size: 14px;
  cursor: pointer;
  display: block;
  margin: 16px auto 0;
}

.lokalo-seguranca {
  font-size: 12px;
  color: #9aa5b1;
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}

/* ---------- ESCASSEZ (pessoas vendo) ---------- */
.lokalo-vendo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #eafaf2;
  color: var(--verde);
  font-size: 13px;
  font-weight: 700;
  padding: 10px;
  border-radius: 10px;
  margin-top: 16px;
}
.lokalo-vendo .ponto {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--verde);
  animation: lokaloPiscar 1.2s infinite;
}
@keyframes lokaloPiscar { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* ---------- NOTIFICAÇÃO "FULANO ESTÁ FINALIZANDO" ---------- */
.lokalo-notif {
  position: fixed;
  left: 16px;
  bottom: 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
  padding: 12px 16px 12px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 300px;
  z-index: 9999;
  transform: translateX(-120%);
  opacity: 0;
  transition: transform .4s ease, opacity .4s ease;
}
.lokalo-notif.mostrar {
  transform: translateX(0);
  opacity: 1;
}
.lokalo-notif .avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--verde);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lokalo-notif .texto { font-size: 13px; color: var(--escuro); line-height: 1.35; }
.lokalo-notif .texto b { display: block; }
.lokalo-notif .texto span { color: #7a8a9a; font-size: 12px; }

/* ---------- PÁGINA DE OBRIGADO ---------- */
.lokalo-obrigado {
  text-align: center;
  max-width: 480px;
}
.lokalo-check-grande {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: #eafaf2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 40px;
}
.lokalo-btn-whats {
  background: #25D366;
  box-shadow: 0 4px 14px rgba(37,211,102,.35);
}
.lokalo-btn-whats:hover { box-shadow: 0 6px 20px rgba(37,211,102,.45); }

/* ---------- RESPONSIVO ---------- */
@media (max-width: 520px) {
  .lokalo-preco-por { font-size: 40px; }
  .lokalo-notif { max-width: calc(100% - 32px); }
}
