/* Tour guiado de primeiros passos (ver assets/js/tour.js) */

.tour-raiz { position: fixed; inset: 0; z-index: 2000; pointer-events: none; }

.tour-bloqueio { position: fixed; inset: 0; pointer-events: auto; background: transparent; }

.tour-destaque {
    position: fixed;
    border-radius: 8px;
    box-shadow: 0 0 0 9999px rgba(10, 20, 35, .68);
    outline: 2px solid #ffcd07;
    outline-offset: 0;
    transition: top .2s ease, left .2s ease, width .2s ease, height .2s ease;
    pointer-events: none;
}

.tour-balao {
    position: fixed;
    width: min(340px, calc(100vw - 16px));
    background: #fff;
    color: #1f2937;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
    padding: 1rem 1.1rem .85rem;
    pointer-events: auto;
    font-size: .875rem;
    line-height: 1.5;
}
.tour-balao.tour-centro { top: 50% !important; left: 50% !important; transform: translate(-50%, -50%); }

.tour-contador { font-size: .72rem; font-weight: 600; color: #6b7280; text-transform: uppercase; letter-spacing: .05em; }
.tour-titulo { font-size: 1rem; font-weight: 700; margin: .2rem 0 .35rem; color: #0f2942; }
.tour-texto { margin: 0 0 .9rem; }

.tour-botoes { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.tour-nav { display: flex; gap: .4rem; }
.tour-btn {
    border: 1px solid #cbd5e1; background: #fff; color: #1f2937;
    border-radius: 6px; padding: .4rem .8rem; font-size: .8125rem; font-weight: 600;
    cursor: pointer; min-height: 36px;
}
.tour-btn:disabled { opacity: .45; cursor: default; }
.tour-btn-primario { background: #1351b4; border-color: #1351b4; color: #fff; }
.tour-btn-link { border-color: transparent; color: #4b5563; text-decoration: underline; padding-left: .2rem; }
.tour-btn:focus-visible { outline: 3px solid #ffcd07; outline-offset: 2px; }

.tour-seta {
    position: absolute; width: 14px; height: 14px; background: #fff;
    transform: rotate(45deg); margin: -7px;
}
.tour-seta-abaixo   { top: 0; }
.tour-seta-acima    { top: 100% !important; }
.tour-seta-direita  { left: 0 !important; }
.tour-seta-esquerda { left: 100% !important; }

@media (prefers-reduced-motion: reduce) {
    .tour-destaque { transition: none; }
}
