/* ==========================================================
   FVTour — Spotlight guiado do FlipVerbs
   Adaptado do SVTour (SwapVerbs) — mesma mecânica,
   reaproveitando o âmbar do card de Quiz (cor compartilhada,
   distinta das cores de domínio azul/verde/roxo)
   ========================================================== */

.fvt-overlay {
  position: fixed;
  inset: 0;
  z-index: 999990;
  background: rgba(10, 8, 6, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}
.fvt-overlay.fvt-active {
  opacity: 1;
  pointer-events: auto;
}

/* "buraco" iluminado sobre o elemento em foco */
.fvt-hole {
  position: fixed;
  z-index: 999991;
  border-radius: 14px;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.85), 0 0 0 9999px rgba(10, 8, 6, 0.72);
  transition: top .3s cubic-bezier(.4,0,.2,1), left .3s cubic-bezier(.4,0,.2,1),
              width .3s cubic-bezier(.4,0,.2,1), height .3s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
  opacity: 0;
}
.fvt-hole.fvt-visible { opacity: 1; }

/* pulso sutil pra chamar atenção sem ser irritante */
.fvt-hole::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 18px;
  border: 2px solid rgba(245, 158, 11, .55);
  animation: fvt-pulse 1.8s ease-out infinite;
}
@keyframes fvt-pulse {
  0%   { transform: scale(1);   opacity: .9; }
  70%  { transform: scale(1.06); opacity: 0; }
  100% { opacity: 0; }
}

/* tooltip / card do passo */
.fvt-card {
  position: fixed;
  z-index: 999992;
  width: min(380px, 90vw);
  background: #f7f3ec;
  color: #0a0806;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0,0,0,.55);
  padding: 24px 26px 18px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease, top .3s cubic-bezier(.4,0,.2,1), left .3s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
  font-family: 'DM Sans', system-ui, sans-serif;
}
.fvt-card.fvt-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.fvt-step-count {
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #b45f09;
  font-weight: 700;
  margin-bottom: 8px;
}
.fvt-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: #0a0806;
  margin: 0 0 10px;
  line-height: 1.25;
}
.fvt-text {
  font-size: 17px;
  line-height: 1.6;
  color: #3a3530;
  margin: 0 0 18px;
}

.fvt-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.fvt-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #ddd0b8;
  transition: background .2s, width .2s;
}
.fvt-dot.fvt-dot-active {
  background: #F59E0B;
  width: 18px;
  border-radius: 4px;
}

.fvt-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.fvt-skip {
  background: none;
  border: none;
  font-size: 14px;
  color: #8a8375;
  cursor: pointer;
  padding: 6px 4px;
  font-family: 'DM Sans', system-ui, sans-serif;
}
.fvt-skip:hover { color: #3a3530; text-decoration: underline; }

.fvt-nav { display: flex; gap: 8px; }
.fvt-btn {
  border: none;
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', system-ui, sans-serif;
  transition: transform .15s ease, opacity .15s ease;
}
.fvt-btn:active { transform: scale(.96); }
.fvt-btn-back {
  background: transparent;
  color: #3a3530;
  border: 1px solid #ddd0b8;
}
.fvt-btn-back:hover { background: #efe8da; }
.fvt-btn-next {
  background: #F59E0B;
  color: #fff;
}
.fvt-btn-next:hover { background: #D9860A; }
.fvt-btn-next:disabled { opacity: .5; cursor: default; }

/* passo "welcome" / "finish" — centralizado, sem spotlight */
.fvt-card.fvt-center {
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: min(380px, 88vw);
  text-align: center;
}
.fvt-card.fvt-center.fvt-visible { transform: translate(-50%, -50%) !important; }
.fvt-center .fvt-dots { justify-content: center; }
.fvt-center .fvt-actions { justify-content: center; flex-direction: column; gap: 10px; }
.fvt-center .fvt-nav { width: 100%; }
.fvt-center .fvt-btn-next { flex: 1; padding: 11px; font-size: 14.5px; }
.fvt-center .fvt-emoji { font-size: 34px; margin-bottom: 10px; display: block; }

/* botão flutuante "?" para reabrir o tour */
.fvt-reopen {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 999980;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #F59E0B;
  color: #fff;
  border: none;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 19px;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(245, 158, 11, .45);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease;
}
.fvt-reopen:hover { transform: scale(1.08); }

@media (max-width: 768px) {
  .fvt-card { width: min(320px, 92vw); padding: 20px 20px 16px; }
  .fvt-title { font-size: 21px; }
  .fvt-text { font-size: 15.5px; }
  .fvt-reopen { bottom: 16px; right: 16px; width: 40px; height: 40px; font-size: 17px; }
}