/* Tour do novo layout (static/js/pn-tour.js). Usa os tokens de panorama.css. */

.pn-tour {
    position: fixed;
    inset: 0;
    z-index: 10005;
}

/* Escurecimento em volta do alvo (quatro faixas posicionadas pelo JS). */
.pn-tour-faixa {
    position: fixed;
    background: rgba(12, 12, 22, .58);
    backdrop-filter: blur(2px);
    transition: left .25s ease, top .25s ease, width .25s ease, height .25s ease;
}

/* Anel de destaque sobre o alvo. */
.pn-tour-foco {
    position: fixed;
    border-radius: 12px;
    outline: 2px solid color-mix(in srgb, var(--brand-accent) 80%, white);
    outline-offset: 2px;
    transition: left .25s ease, top .25s ease, width .25s ease, height .25s ease;
    pointer-events: none;
}

/* Passo sem alvo (boas-vindas): sem anel; a faixa de cima cobre a tela toda. */
.pn-tour-foco.is-vazio {
    display: none;
}

.pn-tour-card {
    position: fixed;
    width: min(340px, calc(100vw - 24px));
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px 14px;
    background: var(--panel);
    color: var(--color-text);
    border: 1px solid var(--hair);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    animation: pnPop .22s cubic-bezier(.2, .7, .2, 1) both;
}

.pn-tour-card.is-centro {
    transform: translate(-50%, -50%);
    animation: none;
}

.pn-tour-card.is-boas-vindas {
    width: min(440px, calc(100vw - 24px));
    padding: 24px 24px 18px;
    gap: 8px;
}

.pn-tour-marca {
    width: 56px;
    height: 56px;
    margin-bottom: 6px;
    border-radius: 16px;
    background: var(--color-accent-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pn-tour-marca img {
    height: 34px;
}

.pn-tour-passo {
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}

.pn-tour-titulo {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
}

.is-boas-vindas .pn-tour-titulo {
    font-size: 22px;
    letter-spacing: -.015em;
}

.pn-tour-texto {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
}

.pn-tour-acoes {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 10px;
}

.pn-tour-acoes .pn-btn {
    height: 36px;
}

.pn-tour-nav {
    display: flex;
    gap: 6px;
}

.pn-tour-pular {
    color: var(--muted);
}

/* Durante o tour a saudação da Nora espera: os dois balões disputavam a tela. */
html.pn-tour-ativo .pn-nora-teaser {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {

    .pn-tour-faixa,
    .pn-tour-foco,
    .pn-tour-card {
        transition: none !important;
        animation: none !important;
    }
}
