/* =====================
   tour.css — Onboarding
===================== */

/* OVERLAY ESCURO */
.tour-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: all;
}

.tour-overlay.active { opacity: 1; }

/* Overlay spotlight: apenas escurece, o buraco é feito pelo spotlight */
.tour-overlay--spotlight {
  pointer-events: all;
}

/* SPOTLIGHT — só a borda verde, o buraco é feito pelo clip-path do overlay */
.tour-spotlight {
  position: fixed;
  z-index: 501;
  border-radius: 12px;
  border: 2px solid rgba(81, 230, 132, 0.7);
  pointer-events: none;
  box-shadow: 0 0 12px rgba(81, 230, 132, 0.3);
}

/* ========================
   POP-UP INICIAL
======================== */
.tour-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 24px 24px 0 0;
  padding: 28px 20px 36px;
  z-index: 600;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 480px;
  margin: 0 auto;
}

.tour-popup.active { transform: translateY(0); }

.tour-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #333;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.tour-popup__close:hover { background: #e0e0e0; }

.tour-popup__question {
  font-size: 0.92rem;
  color: #444;
  margin-bottom: 18px;
  font-family: 'Inter', sans-serif;
}

.tour-popup__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.tour-option-btn {
  width: 100%;
  padding: 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  background: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  color: #222;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, background 0.2s;
  text-align: center;
}

.tour-option-btn:hover {
  border-color: #003994;
  background: #f0f4ff;
}

.tour-popup__cta {
  width: 100%;
  padding: 16px;
  background: #51E684;
  color: #003994;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: opacity 0.2s;
}

.tour-popup__cta:hover { opacity: 0.88; }

/* ========================
   TOOLTIP (highlight steps)
======================== */
.tour-tooltip {
  position: fixed;
  left: 16px;
  right: 16px;
  background: #fff;
  border-radius: 16px;
  padding: 20px 18px 16px;
  z-index: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  max-width: calc(480px - 32px);
  margin: 0 auto;
}

.tour-tooltip.active {
  opacity: 1;
  transform: translateY(0);
}

.tour-tooltip__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 6px;
  font-family: 'Inter', sans-serif;
}

.tour-tooltip__desc {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
}

.tour-tooltip__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tour-tooltip__step {
  font-size: 0.72rem;
  color: #999;
  line-height: 1.4;
  font-family: 'Inter', sans-serif;
}

.tour-tooltip__btns {
  display: flex;
  gap: 8px;
  align-items: center;
}

.tour-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
  border: none;
}

.tour-btn--ghost {
  background: #fff;
  color: #333;
  border: 1.5px solid #e0e0e0;
}

.tour-btn--ghost:hover { border-color: #bbb; }

.tour-btn--green {
  background: #51E684;
  color: #003994;
}

.tour-btn--green:hover { opacity: 0.88; }