/* ============================================================
   ASTERS HOLDING — Onboarding Tour
   ============================================================ */

/* Overlay escuro */
.ob-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 30, 0.7);
  z-index: 9000;
  pointer-events: none;
  transition: opacity .3s;
}

/* Spotlight — recorte que ilumina o elemento */
.ob-spotlight {
  position: fixed;
  border-radius: 10px;
  box-shadow:
    0 0 0 9999px rgba(10, 20, 30, 0.72),
    0 0 0 3px #219fcf,
    0 0 24px 4px rgba(33,159,207,0.35);
  z-index: 9001;
  pointer-events: none;
  transition: all .35s cubic-bezier(.4,0,.2,1);
}

/* Tooltip */
.ob-tooltip {
  position: fixed;
  z-index: 9002;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.22), 0 0 0 1px rgba(33,159,207,0.15);
  padding: 20px 22px 16px;
  width: 300px;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  font-family: 'DM Sans', Arial, sans-serif;
}

/* Seta do tooltip */
.ob-tooltip::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: -2px -2px 4px rgba(0,0,0,0.06);
}

.ob-tooltip[data-pos="bottom"]::before { top: -6px; left: 24px; }
.ob-tooltip[data-pos="top"]::before    { bottom: -6px; left: 24px; box-shadow: 2px 2px 4px rgba(0,0,0,0.06); }
.ob-tooltip[data-pos="right"]::before  { left: -6px; top: 20px; box-shadow: -2px 2px 4px rgba(0,0,0,0.06); }
.ob-tooltip[data-pos="left"]::before   { right: -6px; top: 20px; box-shadow: 2px -2px 4px rgba(0,0,0,0.06); }
.ob-tooltip[data-pos="center"]::before { display: none; }

/* Conteúdo */
.ob-tooltip__step {
  font-size: 10px;
  font-weight: 600;
  color: #219fcf;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px;
}

.ob-tooltip__title {
  font-size: 15px;
  font-weight: 600;
  color: #0d1f2d;
  margin: 0 0 8px;
  line-height: 1.3;
}

.ob-tooltip__body {
  font-size: 13px;
  color: #5f6b77;
  line-height: 1.6;
  margin: 0 0 16px;
}

/* Barra de progresso */
.ob-progress {
  height: 3px;
  background: #f0f2f4;
  border-radius: 99px;
  margin-bottom: 14px;
  overflow: hidden;
}

.ob-progress__bar {
  height: 100%;
  background: #219fcf;
  border-radius: 99px;
  transition: width .35s ease;
}

/* Botões */
.ob-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ob-btn-skip {
  font-size: 12px;
  color: #9aa3ad;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  font-family: inherit;
  transition: color .15s;
}
.ob-btn-skip:hover { color: #5f6b77; }

.ob-btn-group { display: flex; gap: 8px; }

.ob-btn-prev {
  padding: 7px 14px;
  background: transparent;
  border: 1px solid #dde1e6;
  border-radius: 7px;
  font-size: 12px;
  color: #5f6b77;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}
.ob-btn-prev:hover { background: #f0f2f4; }

.ob-btn-next {
  padding: 7px 18px;
  background: #219fcf;
  border: 1px solid #219fcf;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}
.ob-btn-next:hover { background: #1a8ab5; }

/* Dots */
.ob-dots {
  display: flex;
  gap: 5px;
  align-items: center;
}
.ob-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #dde1e6;
  transition: background .2s, transform .2s;
}
.ob-dot.active {
  background: #219fcf;
  transform: scale(1.3);
}

/* Tela de boas-vindas */
.ob-welcome {
  position: fixed;
  inset: 0;
  z-index: 9100;
  background: rgba(10,20,30,0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', Arial, sans-serif;
  animation: obFadeIn .3s ease;
}

.ob-welcome__card {
  position: relative;
  z-index: 9101;
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px;
  width: 420px;
  max-width: 92vw;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.ob-welcome__icon {
  font-size: 40px;
  margin-bottom: 16px;
  line-height: 1;
}

.ob-welcome__title {
  font-size: 22px;
  font-weight: 600;
  color: #0d1f2d;
  margin: 0 0 10px;
}

.ob-welcome__sub {
  font-size: 14px;
  color: #5f6b77;
  line-height: 1.65;
  margin: 0 0 28px;
}

.ob-welcome__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ob-welcome__btn-start {
  padding: 13px 24px;
  background: #219fcf;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}
.ob-welcome__btn-start:hover { background: #1a8ab5; }

.ob-welcome__btn-skip {
  padding: 10px;
  background: none;
  border: none;
  font-size: 13px;
  color: #9aa3ad;
  cursor: pointer;
  font-family: inherit;
  transition: color .15s;
}
.ob-welcome__btn-skip:hover { color: #5f6b77; }

@keyframes obFadeIn {
  from { opacity: 0; transform: scale(.97); }
  to   { opacity: 1; transform: scale(1); }
}
