/* Guide de mise en route interactif — reprend les variables de site/index.html */
.setup-guide {
  max-width: 1040px; margin: 2.5rem auto 0; text-align: left;
  background: var(--card-bg, rgba(13,19,32,0.8));
  border: 1px solid var(--border, #1e2d45); border-radius: 16px;
  box-shadow: 0 0 60px rgba(0,212,255,0.06); backdrop-filter: blur(10px);
  overflow: hidden;
}
.sg-head { display: flex; align-items: center; gap: 0.9rem; padding: 1rem 1.3rem; background: var(--bg3, #111928); border-bottom: 1px solid var(--border, #1e2d45); }
.sg-avatar { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--cyan, #00d4ff), var(--purple, #8b5cf6)); flex: none; }
.sg-title { font-weight: 700; }
.sg-sub { font-size: 0.8rem; color: var(--muted, #64748b); }
.sg-reset { margin-left: auto; background: transparent; border: 1px solid var(--border, #1e2d45); color: var(--muted, #64748b); border-radius: 8px; padding: 0.35rem 0.8rem; cursor: pointer; font: inherit; font-size: 0.8rem; }
.sg-reset:hover { color: var(--cyan, #00d4ff); border-color: var(--cyan, #00d4ff); }
.sg-body { display: grid; grid-template-columns: minmax(0, 1fr) 260px; }
.sg-chat-col { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--border, #1e2d45); }
.sg-log { height: 430px; overflow-y: auto; padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.8rem; }
.sg-msg { max-width: 92%; padding: 0.7rem 0.9rem; border-radius: 12px; font-size: 0.88rem; line-height: 1.55; }
.sg-bot { background: var(--bg3, #111928); border: 1px solid var(--border, #1e2d45); align-self: flex-start; }
.sg-user { background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.3); align-self: flex-end; }
.sg-who { font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--cyan, #00d4ff); margin-bottom: 0.25rem; }
.sg-user .sg-who { color: var(--purple, #8b5cf6); }
.sg-text { white-space: pre-line; }
.sg-text code { font-family: monospace; font-size: 0.82rem; background: var(--bg, #080c12); border: 1px solid var(--border, #1e2d45); border-radius: 4px; padding: 0 0.3rem; color: var(--cyan, #00d4ff); }
.sg-text a { color: var(--cyan, #00d4ff); }
.sg-code { margin-top: 0.6rem; display: flex; flex-direction: column; }
.sg-code pre { background: var(--bg, #080c12); border: 1px solid var(--border, #1e2d45); border-radius: 8px; padding: 0.8rem 1rem; font-family: monospace; font-size: 0.8rem; overflow-x: auto; white-space: pre; color: var(--text, #e2e8f0); }
.sg-copy { align-self: flex-end; margin-bottom: 0.3rem; background: var(--bg3, #111928); color: var(--muted, #64748b); border: 1px solid var(--border, #1e2d45); border-radius: 6px; font-size: 0.72rem; padding: 0.2rem 0.55rem; cursor: pointer; }
.sg-copy:hover { color: var(--cyan, #00d4ff); }
.sg-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.8rem 1.2rem; border-top: 1px solid var(--border, #1e2d45); }
.sg-chip { background: rgba(139,92,246,0.12); border: 1px solid rgba(139,92,246,0.4); color: var(--text, #e2e8f0); border-radius: 999px; padding: 0.4rem 0.9rem; font: inherit; font-size: 0.82rem; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.sg-chip:hover { background: rgba(0,212,255,0.12); border-color: var(--cyan, #00d4ff); }
.sg-form { display: flex; gap: 0.5rem; padding: 0 1.2rem 1rem; }
.sg-input { flex: 1; min-width: 0; background: var(--bg, #080c12); border: 1px solid var(--border, #1e2d45); border-radius: 8px; color: var(--text, #e2e8f0); padding: 0.55rem 0.8rem; font: inherit; font-size: 0.85rem; }
.sg-input:focus { outline: none; border-color: var(--cyan, #00d4ff); }
.sg-send { background: linear-gradient(90deg, var(--cyan, #00d4ff), var(--purple, #8b5cf6)); color: #fff; border: none; border-radius: 8px; padding: 0 1rem; font-weight: 600; cursor: pointer; }
.sg-llm { padding: 0 1.2rem 1rem; font-size: 0.8rem; color: var(--muted, #64748b); }
.sg-llm summary { cursor: pointer; }
.sg-llm-body { padding-top: 0.5rem; display: flex; flex-direction: column; gap: 0.45rem; }
.sg-llm-help { margin: 0; }
.sg-llm-row { display: flex; align-items: center; gap: 0.5rem; }
.sg-small { max-width: 260px; font-size: 0.78rem; padding: 0.3rem 0.5rem; }
.sg-side { padding: 1.1rem 1.1rem; }
.sg-side-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted, #64748b); margin-bottom: 0.6rem; }
.sg-bar { height: 6px; background: var(--bg, #080c12); border-radius: 3px; overflow: hidden; }
.sg-bar-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--cyan, #00d4ff), var(--purple, #8b5cf6)); transition: width 0.3s; }
.sg-pct { font-size: 0.78rem; color: var(--muted, #64748b); margin: 0.4rem 0 0.9rem; }
.sg-steps { list-style: none; counter-reset: sg; display: flex; flex-direction: column; gap: 0.3rem; margin: 0; padding: 0; }
.sg-step { counter-increment: sg; }
.sg-step button { width: 100%; text-align: left; background: transparent; border: 1px solid transparent; border-radius: 8px; color: var(--muted, #64748b); font: inherit; font-size: 0.8rem; padding: 0.4rem 0.5rem; cursor: pointer; }
.sg-step button::before { content: counter(sg) '. '; }
.sg-step.is-current button { border-color: var(--cyan, #00d4ff); color: var(--text, #e2e8f0); }
.sg-step.is-done button { color: var(--green, #10b981); }
.sg-step.is-done button::before { content: '✓ '; }
.sg-note { max-width: 760px; margin: 1.2rem auto 0; font-size: 0.82rem; color: var(--muted, #64748b); }
.sg-note a { color: var(--cyan, #00d4ff); }
@media (max-width: 768px) {
  .sg-body { grid-template-columns: 1fr; }
  .sg-chat-col { border-right: none; border-bottom: 1px solid var(--border, #1e2d45); }
  .sg-log { height: 380px; }
}
.cta-section .setup-guide p, .setup-guide p { max-width: none; margin: 0; text-align: left; }
