/* Vendou Tour v3 (r203.68) — minimalista, à prova de falhas */

/* ── Body lock ─────────────────────────────────────────────────────── */
body.vt3-on { overflow: hidden; }

/* ── Backdrop ──────────────────────────────────────────────────────── */
.vt3-backdrop {
    position: fixed; inset: 0; z-index: 99990;
    background: rgba(15, 23, 42, .72);
    backdrop-filter: blur(3px);
    animation: vt3-fade-in .25s ease-out;
}
@keyframes vt3-fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ── Modal central ─────────────────────────────────────────────────── */
.vt3-modal {
    position: fixed; z-index: 99995;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: min(540px, 92vw);
    max-height: 88vh; overflow-y: auto;
    background: #fff;
    border-radius: 22px;
    padding: 32px 32px 24px;
    box-shadow: 0 30px 80px -20px rgba(15, 23, 42, .55);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #0f172a;
    animation: vt3-pop-in .3s cubic-bezier(.34, 1.56, .64, 1);
}
@keyframes vt3-pop-in {
    from { transform: translate(-50%, -50%) scale(.92); opacity: 0; }
    to   { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.vt3-close {
    position: absolute; top: 14px; right: 16px;
    background: transparent; border: none;
    width: 36px; height: 36px;
    border-radius: 999px;
    font-size: 1.6rem; line-height: 1;
    color: #94a3b8; cursor: pointer;
    display: grid; place-items: center;
    transition: all .15s;
}
.vt3-close:hover { background: #f1f5f9; color: #0f172a; }

.vt3-progress {
    height: 6px;
    background: #f1f5f9;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 18px;
    margin-top: 4px;
}
.vt3-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF6B1A, #FF8A3D);
    border-radius: 999px;
    transition: width .35s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 0 0 8px rgba(255, 107, 26, .5);
}

.vt3-step-num {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #FF6B1A;
    background: #FFEDD5;
    border-radius: 999px;
    padding: 4px 12px;
    display: inline-block;
    margin-bottom: 14px;
}

.vt3-title {
    font-size: 1.45rem;
    font-weight: 800;
    margin: 0 0 14px;
    letter-spacing: -.02em;
    line-height: 1.25;
    color: #0f172a;
    padding-right: 40px;
}

.vt3-text {
    font-size: 1rem;
    line-height: 1.65;
    color: #334155;
    margin-bottom: 26px;
}
.vt3-text strong { color: #0f172a; font-weight: 700; }
.vt3-text em { color: #64748b; font-style: italic; }
.vt3-text ul, .vt3-text ol { padding-left: 20px; margin: 12px 0; }
.vt3-text li { margin: 6px 0; }
.vt3-text code {
    background: #f1f5f9; padding: 2px 8px;
    border-radius: 6px; font-family: 'Courier New', monospace;
    font-size: .9em; color: #be4413;
}

.vt3-nav {
    display: flex; align-items: center; gap: 10px;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

.vt3-btn {
    padding: 12px 22px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: .92rem;
    cursor: pointer;
    border: none;
    display: inline-flex; align-items: center; gap: 8px;
    transition: all .18s;
}
.vt3-btn i { font-size: .78rem; }

.vt3-btn-ghost {
    background: #fff;
    color: #475569;
    border: 1.5px solid #e2e8f0;
}
.vt3-btn-ghost:hover { background: #f8fafc; border-color: #cbd5e1; }

.vt3-btn-skip {
    background: transparent;
    color: #94a3b8;
    margin-left: auto;
    font-weight: 600;
    padding: 12px 16px;
}
.vt3-btn-skip:hover { color: #475569; }

.vt3-btn-primary {
    background: linear-gradient(90deg, #FF6B1A, #FF8A3D);
    color: #fff;
    box-shadow: 0 8px 20px -6px rgba(255, 107, 26, .55);
}
.vt3-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px -6px rgba(255, 107, 26, .65);
    filter: brightness(1.05);
}

/* ── FAB (botão fixo canto inferior direito) ───────────────────────── */
.vt3-fab {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9500;
    width: auto;
    min-width: 56px;
    height: 56px;
    padding: 0 22px 0 18px;
    background: linear-gradient(135deg, #FF6B1A, #FF8A3D);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: .95rem;
    cursor: pointer;
    box-shadow:
        0 14px 28px -8px rgba(255, 107, 26, .55),
        0 4px 10px -2px rgba(15, 23, 42, .15);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all .22s cubic-bezier(.4, 0, .2, 1);
}
.vt3-fab:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow:
        0 20px 36px -8px rgba(255, 107, 26, .7),
        0 6px 14px -2px rgba(15, 23, 42, .2);
}
.vt3-fab:active { transform: translateY(0) scale(.98); }
.vt3-fab-icon { font-size: 1.25rem; }
.vt3-fab-label { letter-spacing: .02em; }
.vt3-fab-pulse {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    border: 3px solid #FF6B1A;
    opacity: 0;
    pointer-events: none;
}
.vt3-fab.vt3-fab-new .vt3-fab-pulse {
    animation: vt3-fab-pulse 1.8s ease-out infinite;
    opacity: 1;
}
@keyframes vt3-fab-pulse {
    0%   { transform: scale(.95); opacity: .65; }
    70%  { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1.35); opacity: 0; }
}

/* Quando tour ativo, FAB some pra não competir com modal */
body.vt3-on .vt3-fab { display: none; }

/* ── Mobile ────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .vt3-modal { padding: 24px 22px 20px; border-radius: 18px; }
    .vt3-title { font-size: 1.2rem; padding-right: 36px; }
    .vt3-text { font-size: .95rem; }
    .vt3-btn { padding: 10px 16px; font-size: .85rem; }
    .vt3-btn-skip { padding: 10px 12px; }
    .vt3-fab { right: 16px; bottom: 80px; padding: 0 18px 0 14px; height: 50px; }
    .vt3-fab-icon { font-size: 1.1rem; }
    .vt3-fab-label { font-size: .85rem; }
}

@media print {
    .vt3-backdrop, .vt3-modal, .vt3-fab { display: none !important; }
}
