/* ═══════════════════════════════════════════════════════════════
   BRIO STUDIOS — style_coachmarks.css
   Mini-tutos hôte : infobulles séquentielles + bandeau schéma.
   ═══════════════════════════════════════════════════════════════ */

/* ── Scrim + spotlight ─────────────────────────────────────────── */
.cm-scrim {
    position: fixed;
    inset: 0;
    z-index: 12000;
    background: transparent;
}
.cm-hole {
    position: absolute;
    z-index: 12001;
    border-radius: 8px;
    box-shadow: 0 0 0 9999px rgba(17, 24, 39, 0.55);
    pointer-events: none;
    transition: all 0.2s ease;
}

/* ── Infobulle ─────────────────────────────────────────────────── */
.cm-tip {
    position: absolute;
    z-index: 12002;
    display: none;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.22);
    font-family: 'Manrope', sans-serif;
    overflow: hidden;
}
.cm-tip::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #FFFFFF;
}
.cm-tip[data-dir='down']::before { top: -6px; }
.cm-tip[data-dir='up']::before   { bottom: -6px; }

.cm-tip-body {
    padding: 16px 16px 12px;
}
.cm-tip-title {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}
.cm-tip-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #4B5563;
}
.cm-tip-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #F9FAFB;
    border-top: 1px solid #F0F1F3;
}
.cm-tip-count {
    font-size: 12px;
    font-weight: 600;
    color: #9CA3AF;
}
.cm-tip-btns {
    display: flex;
    align-items: center;
    gap: 8px;
}
.cm-skip {
    background: none;
    border: none;
    padding: 6px 8px;
    font-size: 12.5px;
    font-weight: 500;
    color: #6B7280;
    cursor: pointer;
    font-family: inherit;
}
.cm-skip:hover { color: #374151; }
.cm-next {
    background: var(--color-orange, #C55A36);
    border: none;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #FFFFFF;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.15s;
}
.cm-next:hover { opacity: 0.9; }

/* ── Bandeau schéma vocabulaire ───────────────────────────────── */
.cm-banner {
    position: relative;
    background: linear-gradient(180deg, #FFF7F3 0%, #FFFFFF 100%);
    border: 1px solid rgba(197, 90, 54, 0.22);
    border-radius: 12px;
    padding: 16px 44px 16px 18px;
    margin: 0 0 22px;
    font-family: 'Manrope', sans-serif;
}
.cm-banner-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: #9CA3AF;
    display: flex;
    padding: 2px;
    border-radius: 6px;
}
.cm-banner-close:hover { color: #4B5563; background: #F3F4F6; }
.cm-banner-close .material-symbols-outlined { font-size: 20px; }

.cm-schema-title {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-orange, #C55A36);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.cm-schema-flow {
    display: flex;
    align-items: stretch;
    gap: 8px;
}
.cm-schema-card {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    background: #FFFFFF;
    border: 1px solid #EDEEF0;
    border-radius: 10px;
    padding: 14px 12px 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.cm-schema-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-orange, #C55A36);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}
.cm-schema-name {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}
.cm-schema-desc {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: #6B7280;
}
.cm-schema-arrow {
    align-self: center;
    color: #C7CBD1;
    font-size: 20px;
    flex-shrink: 0;
}

@media (max-width: 720px) {
    .cm-schema-flow { flex-direction: column; }
    .cm-schema-arrow { transform: rotate(90deg); }
}
