/* ==========================================================================
   Guide d'employabilité × IA , styles spécifiques (mode conversationnel only).
   Layered on top of ada-tokens.css + app.css.
   ========================================================================== */

/* Remonter le bloc (intro / résultat) au lieu de centrer verticalement */
.app .stage { align-items: flex-start; padding-top: 36px; }

/* Radar : un peu plus de largeur + débord pour les libellés explicites */
.app .scan-result { grid-template-columns: 1.5fr 1fr; gap: 20px; }
.app .radar-wrap svg { max-width: 420px; overflow: visible; }

/* Ressources : lien vidéo + ressource d'aperçu */
.res-list .res-ytb { font-size: 12px; font-weight: 700; color: var(--red-500); white-space: nowrap; }
.prio-card .prio-res { font-size: 13px; margin: 8px 0 0; padding-top: 8px; border-top: 1px dashed var(--red-200); }
.prio-card .prio-res a { color: var(--red-500); font-weight: 700; }

/* ---------- Conversation ---------- */
.chat .bubble { animation: none; }                 /* pas de ré-animation à chaque repaint */
.bubble .bubble-help { opacity: .7; font-size: 13px; }
.chat-answers { animation: screen-in 0.32s var(--ease-out) both; }
.chat-answers .chips { margin-top: 6px; }
.chat-answers .nav-row { margin-top: 16px; }
.chat-cta { display: inline-flex; align-self: flex-end; }
.chat-cta[disabled] { opacity: .45; pointer-events: none; }

/* ---------- Chips compactes (options du chat) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 2px solid var(--red-200);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--black);
  cursor: pointer;
  line-height: 1.15;
  transition: border-color .15s linear, background .15s linear, transform .15s var(--ease-out), box-shadow .15s linear;
}
.chip:hover { border-color: var(--red-500); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.chip.on { background: var(--red-100); border-color: var(--red-500); }
.chip-emoji { font-size: 16px; line-height: 1; flex-shrink: 0; }
.chip-label { font-family: var(--font-title); font-weight: 600; }
.chip.shake { animation: chip-shake .34s; }
@keyframes chip-shake { 0%,100% { transform: none; } 20% { transform: translateX(-4px); } 60% { transform: translateX(4px); } }

@media (max-width: 640px) { .chip { font-size: 13px; padding: 8px 12px; } }

/* — Gate multi-champs (prénom / nom / email) : surcharge le gate mono-email d'app.css — */
.gate form { flex-direction: column; align-items: stretch; }
.gate-row { display: flex; gap: 10px; }
.gate-row input { flex: 1; min-width: 0; }
.gate input[type=text] {
  font-family: var(--font-body); font-size: 15px; padding: 14px 16px;
  border: 2px solid var(--red-500); border-radius: 8px; background: var(--white);
}
.gate input[type=text]:focus { outline: none; border-color: var(--red-700); }

/* — Lien « être recontacté » (section 6) stylé comme un bouton — */
.cta-callback { margin-top: 14px; }
a.btn { display: inline-block; text-decoration: none; }

/* — Loader « vivant » (narration + chiffres pendant l'attente IA) — */
.load-step { font-family: var(--font-title); font-weight: 600; color: var(--grey-700); font-size: 15px; margin: 4px 0 14px; }
.load-msg { min-height: 58px; display: flex; align-items: center; justify-content: center; }
.load-msg .scan-step { animation: load-fade .45s ease; margin: 0; }
.load-fact {
  max-width: 480px; margin: 0 auto; padding: 14px 18px;
  background: var(--white); border: 1px solid var(--red-200, #f6d9d2); border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,.05);
  font-size: 14px; line-height: 1.5; color: var(--grey-700); animation: load-fade .45s ease;
}
.load-tag {
  display: block; font-family: var(--font-title); font-weight: 600; text-transform: uppercase;
  font-size: 11px; letter-spacing: .04em; color: var(--red-500); margin-bottom: 4px;
}
.load-src { color: var(--grey-500, #9a9a9a); font-size: 12px; white-space: nowrap; }
@keyframes load-fade { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.loader-radar { width: 150px; height: 150px; display: block; margin: 0 auto 12px; overflow: visible; }
.loader-radar .lr-el { opacity: 0; animation: lr-appear .5s ease forwards; }
@keyframes lr-appear { to { opacity: 1; } }
