/* ============================================================
   HECM Parakou — Tutoriel guidé (coach marks)
   Overlay + infobulle + bouton « Passer ». Chargé sur toutes
   les pages admin et professeur.
   ============================================================ */

.hecm-tour-hole {
    position: fixed;
    z-index: 2147482000;
    border-radius: 10px;
    box-shadow: 0 0 0 4px rgba(127, 255, 158, .9), 0 0 0 9999px rgba(8, 30, 15, .62);
    transition: all .25s ease;
    pointer-events: none;
}

.hecm-tour-pop {
    position: fixed;
    z-index: 2147483000;
    width: 340px;
    max-width: 92vw;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
    padding: 18px 18px 14px;
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #1a2e1d;
    animation: hecmTourIn .22s ease;
}
@keyframes hecmTourIn { from { opacity: 0; transform: translateY(8px); } }

.hecm-tour-pop__step {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #1a6b2f;
    margin-bottom: 6px;
}
.hecm-tour-pop__title {
    font-size: 1.02rem;
    font-weight: 700;
    color: #124d22;
    margin: 0 0 6px;
}
.hecm-tour-pop__body {
    font-size: .88rem;
    line-height: 1.5;
    color: #33433a;
    margin: 0 0 14px;
}
.hecm-tour-pop__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.hecm-tour-pop__right { display: flex; gap: 8px; }

.hecm-tour-btn {
    border: none;
    border-radius: 8px;
    padding: 9px 16px;
    font-size: .84rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.hecm-tour-btn:hover { transform: translateY(-1px); }
.hecm-tour-btn--skip { background: transparent; color: #6c757d; padding: 9px 10px; }
.hecm-tour-btn--skip:hover { color: #124d22; }
.hecm-tour-btn--ghost { background: #eef4ef; color: #124d22; }
.hecm-tour-btn--next {
    background: linear-gradient(135deg, #124d22, #1a6b2f);
    color: #fff;
    box-shadow: 0 6px 16px rgba(26, 107, 47, .28);
}

/* Bouton flottant « Aide / revoir le guide » (bas-gauche pour ne pas
   gêner le bouton d'installation PWA situé en bas-droite) */
.hecm-tour-help {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 2147481000;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #124d22;
    border: 1.5px solid #cfe6d6;
    border-radius: 999px;
    padding: 9px 15px;
    font: 600 13px/1 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .14);
    cursor: pointer;
}
.hecm-tour-help:hover { background: #f0f9f2; }
.hecm-tour-help i { color: #1a6b2f; }

@media (max-width: 560px) {
    .hecm-tour-help span { display: none; }
    .hecm-tour-help { padding: 11px; }
}

@media print {
    .hecm-tour-hole, .hecm-tour-pop, .hecm-tour-help { display: none !important; }
}
