/* =============================================================================
   Onboarding visite guidée — site preview (3 bulles, public)
   ============================================================================= */

.mqs-pre-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    pointer-events: auto;
}

.mqs-pre-spotlight {
    position: absolute;
    border-radius: 12px;
    box-shadow: 0 0 0 9999px rgba(10, 10, 10, 0.65);
    transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                left 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s ease;
    pointer-events: none;
    outline: 2px solid rgba(201, 169, 110, 0.7);
    outline-offset: 4px;
}

.mqs-pre-spotlight.mqs-pre-center {
    width: 0;
    height: 0;
    box-shadow: 0 0 0 9999px rgba(10, 10, 10, 0.78);
    outline: none;
}

.mqs-pre-popup {
    position: absolute;
    z-index: 10001;
    background: white;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    padding: 22px 24px 18px;
    max-width: 380px;
    min-width: 280px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #0a0a0a;
    transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mqs-pre-popup-step {
    font-size: 0.72rem;
    color: #c9a96e;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    margin: 0 0 8px;
}

.mqs-pre-popup-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.mqs-pre-popup-text {
    font-size: 0.92rem;
    color: #4b5563;
    line-height: 1.5;
    margin: 0 0 18px;
}

.mqs-pre-popup-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mqs-pre-skip {
    background: none;
    border: 0;
    color: #9ca3af;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 6px 4px;
    font-family: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.mqs-pre-skip:hover { color: #4b5563; }

.mqs-pre-next {
    background: #0a0a0a;
    color: white;
    border: 0;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: -0.01em;
    transition: background 0.15s, transform 0.15s;
}
.mqs-pre-next:hover {
    background: #1a1a1a;
    transform: translateY(-1px);
}

/* Bouton flottant "Modifier mon site" en bas à droite — CTA principal */
.mqs-pre-edit-btn {
    position: fixed;
    bottom: 22px;
    right: 22px;
    height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    background: #c9a96e;
    color: white;
    border: 0;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
    z-index: 9000;
    transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.mqs-pre-edit-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.mqs-pre-edit-btn:hover {
    transform: translateY(-2px);
    background: #b39658;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

@media (max-width: 600px) {
    .mqs-pre-popup {
        max-width: calc(100vw - 32px);
        min-width: 0;
        left: 16px !important;
        right: 16px;
        width: auto;
    }
    .mqs-pre-edit-btn {
        bottom: 16px;
        right: 16px;
        height: 46px;
        padding: 0 16px;
        font-size: 0.85rem;
    }
    .mqs-pre-edit-btn-label {
        display: none; /* sur mobile : juste l'icône, gain de place */
    }
    .mqs-pre-edit-btn {
        width: 46px;
        padding: 0;
        justify-content: center;
    }
}
