/* ══════════════════════════════════════════════════════
   TUTORIAL — Styles du tutoriel interactif
══════════════════════════════════════════════════════ */

#tuto-overlay {
  position: fixed;
  inset: 0;
  z-index: 9100;
  pointer-events: none;
}

#tuto-overlay.active {
  pointer-events: all;
}

#tuto-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,12,18,.62);
  backdrop-filter: blur(1px);
  opacity: 0;
  transition: opacity .35s;
}

#tuto-overlay.active #tuto-backdrop {
  opacity: 1;
}

#tuto-card {
  position: absolute;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-l);
  box-shadow: var(--shadow-l);
  padding: 20px 22px 18px;
  width: min(320px, calc(100vw - 32px));
  transform: translateY(10px);
  opacity: 0;
  transition: opacity .3s var(--ease-spring), transform .3s var(--ease-spring);
}

#tuto-overlay.active #tuto-card {
  opacity: 1;
  transform: translateY(0);
}

.tuto-step {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 8px;
  font-family: var(--mono);
}

.tuto-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}

.tuto-body {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: 18px;
}

.tuto-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tuto-dots {
  display: flex;
  gap: 5px;
}

.tuto-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-dark);
  transition: background .2s, transform .2s;
}

.tuto-dot.on {
  background: var(--primary-dark);
  transform: scale(1.3);
}

.tuto-btns {
  display: flex;
  gap: 8px;
}

.tuto-skip {
  background: none;
  border: none;
  font-size: 13px;
  color: var(--ink-3);
  padding: 6px 10px;
  border-radius: var(--r-s);
  transition: color .15s;
  cursor: pointer;
}

.tuto-skip:hover {
  color: var(--ink);
}

.tuto-next {
  background: var(--primary);
  border: none;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  padding: 7px 16px;
  border-radius: var(--r-s);
  transition: background .15s, transform .12s;
  cursor: pointer;
}

.tuto-next:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* Highlight ring around target element */
.tuto-hl {
  position: absolute;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: 0 0 0 4px var(--primary), 0 0 0 8px rgba(255,204,0,.25);
  z-index: 9101;
  transition: all .3s var(--ease-spring);
}
