/* ═══════════════════════════════════════════════════════════
   Mode démo Nour Digital — commun aux sites de démonstration
   Bandeau, fenêtre « voici ce qui se passerait », visite guidée
   ═══════════════════════════════════════════════════════════ */
.nd-bar, .nd-modal, .nd-tour-card, .nd-toast { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; line-height: 1.45; }

/* Bandeau en haut de page */
.nd-bar { position: relative; z-index: 900; background: #111827; color: #e5e7eb; font-size: 13px; }
.nd-bar-in { max-width: 1240px; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; gap: 14px; }
.nd-bar-tag { display: inline-flex; align-items: center; gap: 6px; background: #f97316; color: #fff; font-weight: 800; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; flex-shrink: 0; }
.nd-bar-txt { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nd-bar-txt b { color: #fff; }
.nd-bar-btn { border: 0; cursor: pointer; font: 700 12.5px system-ui, sans-serif; padding: 7px 12px; border-radius: 999px; white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.nd-bar-btn.ghost { background: rgba(255,255,255,.1); color: #fff; }
.nd-bar-btn.ghost:hover { background: rgba(255,255,255,.18); }
.nd-bar-btn.cta { background: #f97316; color: #fff; }
.nd-bar-btn.cta:hover { background: #ea580c; }
@media (max-width: 720px) {
  .nd-bar-in { padding: 7px 12px; gap: 8px; }
  .nd-bar-txt .nd-long { display: none; }
  .nd-bar-btn { padding: 6px 10px; font-size: 12px; }
  .nd-bar-btn .nd-long { display: none; }
}

/* Fenêtre « voici ce qui se passerait » */
.nd-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(10,10,15,.62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s; }
.nd-modal.open { opacity: 1; }
.nd-card { width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; color: #111827; border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.4); transform: translateY(16px) scale(.97); transition: transform .35s cubic-bezier(.2,.9,.3,1.2); }
.nd-modal.open .nd-card { transform: none; }
.nd-card-head { padding: 22px 22px 0; }
.nd-kicker { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #f97316; }
.nd-card h3 { font-size: 20px; line-height: 1.25; margin: 6px 0 0; color: #111827; font-family: inherit; letter-spacing: -.01em; }
.nd-card p { font-size: 14.5px; color: #4b5563; margin: 10px 0 0; }
.nd-phone { margin: 16px 22px 0; border-radius: 16px; overflow: hidden; border: 1px solid #e5e7eb; background: #efeae2; }
.nd-phone-head { display: flex; align-items: center; gap: 10px; background: #075e54; color: #fff; padding: 10px 14px; font-size: 13px; }
.nd-phone-av { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.nd-phone-head small { display: block; opacity: .8; font-size: 11px; }
.nd-phone-body { padding: 12px; max-height: 260px; overflow: auto; }
.nd-bubble { margin-left: auto; max-width: 92%; background: #d9fdd3; color: #111b21; border-radius: 10px 3px 10px 10px; padding: 8px 10px 4px; font-size: 13.5px; white-space: pre-wrap; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.nd-bubble small { display: block; text-align: right; font-size: 10px; color: #667781; margin-top: 2px; }
.nd-visual { margin: 16px 22px 0; border-radius: 16px; background: #f3f4f6; padding: 22px; text-align: center; font-size: 42px; }
.nd-actions { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.nd-btn { display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: 700 15px system-ui, sans-serif; padding: 13px 18px; border-radius: 999px; text-decoration: none; }
.nd-btn.primary { background: #1f9d55; color: #fff; }
.nd-btn.primary:hover { background: #178a49; }
.nd-btn.secondary { background: #f3f4f6; color: #111827; }
.nd-btn.secondary:hover { background: #e5e7eb; }
.nd-note { font-size: 12px; color: #6b7280; text-align: center; }

/* Visite guidée */
.nd-spot { position: fixed; z-index: 1900; border-radius: 16px; box-shadow: 0 0 0 4px #f97316, 0 0 0 9999px rgba(10,10,15,.6); pointer-events: none; transition: all .35s cubic-bezier(.2,.9,.3,1); }
.nd-tour-card { position: fixed; z-index: 1950; width: min(340px, calc(100vw - 24px)); background: #fff; color: #111827; border-radius: 18px; padding: 18px; box-shadow: 0 20px 60px rgba(0,0,0,.35); transition: top .35s cubic-bezier(.2,.9,.3,1), left .35s cubic-bezier(.2,.9,.3,1); }
.nd-tour-step { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #f97316; }
.nd-tour-card h4 { margin: 4px 0 6px; font-size: 17px; line-height: 1.3; color: #111827; font-family: inherit; }
.nd-tour-card p { margin: 0; font-size: 14px; color: #4b5563; }
.nd-tour-nav { display: flex; gap: 8px; margin-top: 14px; align-items: center; }
.nd-tour-nav .nd-btn { padding: 9px 14px; font-size: 13.5px; }
.nd-tour-x { margin-left: auto; background: none; border: 0; color: #9ca3af; font: 600 13px system-ui, sans-serif; cursor: pointer; }
.nd-dots { display: flex; gap: 4px; margin-top: 12px; }
.nd-dots i { width: 6px; height: 6px; border-radius: 50%; background: #e5e7eb; }
.nd-dots i.on { background: #f97316; width: 16px; border-radius: 6px; }

/* Message d'accueil */
.nd-toast { position: fixed; left: 16px; bottom: 16px; z-index: 1500; width: min(340px, calc(100vw - 32px)); background: #111827; color: #e5e7eb; border-radius: 18px; padding: 16px 16px 14px; box-shadow: 0 20px 50px rgba(0,0,0,.35); font-size: 14px; transform: translateY(20px); opacity: 0; transition: all .4s cubic-bezier(.2,.9,.3,1.2); }
.nd-toast.show { transform: none; opacity: 1; }
.nd-toast b { color: #fff; }
.nd-toast-row { display: flex; gap: 8px; margin-top: 12px; }
.nd-toast .nd-btn { padding: 9px 14px; font-size: 13.5px; }
.nd-toast .nd-btn.secondary { background: rgba(255,255,255,.1); color: #fff; }
@media (max-width: 720px) { .nd-toast { bottom: 84px; } }

@media (prefers-reduced-motion: reduce) {
  .nd-modal, .nd-card, .nd-spot, .nd-tour-card, .nd-toast { transition: none !important; }
}
@media print { .nd-bar, .nd-toast, .nd-modal, .nd-spot, .nd-tour-card { display: none !important; } }
