/* ==========================================================================
   Feature Chatbot -- launcher mascotte custom.
   Tokens uniquement (--space-*, --radius-*, --color-* definis sur :root par app.css).
   La fenetre de conversation reste geree par le theme AI Engine (Timeless).
   ========================================================================== */
.proto-chatbot-launcher {
  --proto-chatbot-size: 96px;
  position: fixed;
  right: var(--space-s);
  bottom: var(--space-s);
  z-index: 9998;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: var(--space-xs);
  visibility: hidden;
}

.proto-chatbot-launcher__btn {
  width: var(--proto-chatbot-size);
  height: var(--proto-chatbot-size);
  padding: 0;
  border: 0;
  cursor: pointer;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  display: grid;
  place-items: center;
  -webkit-tap-highlight-color: transparent;
  transition: box-shadow 0.3s ease;
}
.proto-chatbot-launcher__btn:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
}
.proto-chatbot-launcher__btn:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

.proto-chatbot-launcher__mascot {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  display: block;
  pointer-events: none;
}

.proto-chatbot-launcher__teaser {
  max-width: 220px;
  padding: var(--space-xs) var(--space-s);
  background: var(--color-white);
  color: var(--color-text);
  border-radius: var(--radius-l);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  font-size: var(--fs-s);
  line-height: 1.35;
  visibility: hidden;
  opacity: 0;
  transform: translateX(10px);
}

@media (max-width: 600px) {
  .proto-chatbot-launcher {
    --proto-chatbot-size: 88px;
  }
  .proto-chatbot-launcher__teaser {
    display: none;
  }
}
/* Launcher natif AI Engine : masque visuellement, conserve dans le DOM pour le
   clic programmatique de fallback (openChat). */
.mwai-open-button {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ==========================================================================
   Couleurs corporate de la fenetre de conversation : on surcharge les variables
   du theme Timeless (bleu par defaut) avec les tokens de marque (--color-*).
   Forkable : chaque fork herite automatiquement de SES couleurs.
   ========================================================================== */
.mwai-timeless-theme {
  --mwai-accentColor: var(--color-primary);
  --mwai-primaryColor: var(--color-primary);
  --mwai-bubbleColor: var(--color-primary);
  --mwai-backgroundHeaderColor: linear-gradient(130deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  --mwai-backgroundUserColor: linear-gradient(130deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  --mwai-headerColor: var(--color-white);
  --mwai-fontColor: var(--color-text);
  --mwai-backgroundAiColor: var(--color-surface-alt);
}

/*# sourceMappingURL=chatbot.css.map*/