/* ============================================================
   GUIDE PAS À PAS : un curseur simulé montre chaque zone à la
   première visite d'une page.
============================================================ */
.tour-root { position: fixed; inset: 0; z-index: var(--z-tour); }
.tour-dim { position: fixed; inset: 0; background: transparent; }
.tour-dim.hidden { display: none; }
.tour-spotlight { position: fixed; border-radius: var(--radius-lg); box-shadow: 0 0 0 9999px rgba(8, 13, 24, 0.56); outline: 2px solid var(--brand-400); outline-offset: 2px; pointer-events: none; transition: left 0.5s var(--ease), top 0.5s var(--ease), width 0.5s var(--ease), height 0.5s var(--ease); }
.tour-spotlight.hidden { display: none; }
.tour-cursor { position: fixed; width: 28px; height: 28px; margin: -4px 0 0 -4px; color: #fff; filter: drop-shadow(0 4px 10px rgba(8, 13, 24, 0.5)); pointer-events: none; transition: left 0.5s var(--ease), top 0.5s var(--ease); z-index: 2; }
.tour-cursor.hidden { display: none; }
.tour-cursor svg { width: 100%; height: 100%; transform: rotate(-12deg); }
.tour-cursor::after { content: ""; position: absolute; left: 2px; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-400); opacity: 0; }
.tour-cursor.clicking::after { animation: tour-click 0.6s var(--ease); }
@keyframes tour-click { 0% { opacity: 0.6; transform: scale(0.4); } 100% { opacity: 0; transform: scale(2.2); } }

.tour-tooltip { position: fixed; width: min(330px, calc(100vw - 32px)); display: grid; gap: 6px; padding: var(--space-4) var(--space-5); background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); opacity: 0; transform: translateY(6px); transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); pointer-events: none; }
.tour-tooltip.visible { opacity: 1; transform: none; pointer-events: auto; }
.tour-step-count { color: var(--primary-text); font-size: var(--text-2xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.tour-title { font-size: var(--text-md); font-weight: 600; letter-spacing: -0.01em; }
.tour-text { color: var(--text-2); font-size: var(--text-sm); line-height: 1.5; }
.tour-actions { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); margin-top: var(--space-2); }

.tour-bravo { position: fixed; inset: 0; display: grid; place-items: center; padding: var(--space-4); background: var(--overlay); animation: fade-in var(--normal) var(--ease); }
.tour-bravo.hidden { display: none; }
.tour-bravo-card { width: min(100%, 360px); display: grid; justify-items: center; gap: var(--space-3); padding: var(--space-8) var(--space-6) var(--space-6); border-radius: var(--radius-2xl); background: var(--surface-raised); border: 1px solid var(--border); box-shadow: var(--shadow-xl); text-align: center; animation: modal-in var(--slow) var(--ease-out); }
.tour-bravo-card h3 { font-size: var(--text-xl); font-weight: 650; letter-spacing: -0.02em; }
.tour-bravo-card p { color: var(--text-2); font-size: var(--text-base); }
.tour-bravo-card .btn { margin-top: var(--space-2); min-width: 160px; }
