.formation-chat{position:relative;display:flex;flex-direction:column;height:100%;min-height:26rem;padding:0;overflow:hidden;border:1px solid hsl(var(--border));border-radius:20px;color:hsl(var(--foreground));background:hsl(var(--card));box-shadow:var(--ombre-carte)}.formation-chat-entete{display:flex;flex-shrink:0;align-items:center;gap:.7rem;padding:.7rem 1rem;border-bottom:1px solid hsl(var(--border))}.formation-chat-presence{position:relative;flex-shrink:0}.formation-guide-avatar{display:block;flex-shrink:0;overflow:hidden;border-radius:50%}.formation-guide-avatar-grand{width:52px;height:52px;box-shadow:0 0 0 4px hsl(var(--card)),0 0 0 5px hsl(var(--primary) / .35),0 18px 34px -18px hsl(var(--neon-orange) / .7)}.formation-guide-avatar-moyen{width:36px;height:36px;box-shadow:0 0 0 2px hsl(var(--card)),0 0 0 3px hsl(var(--primary) / .3)}.formation-guide-avatar-petit{width:28px;height:28px;margin-top:.1rem;box-shadow:0 0 0 1px hsl(var(--border))}.formation-chat-enligne{position:absolute;right:-1px;bottom:-1px;width:11px;height:11px;border-radius:50%;background:hsl(var(--succes));box-shadow:0 0 0 2px hsl(var(--card))}.formation-chat-etiquette{display:inline-flex;align-items:center;gap:.3rem;height:1.3rem;padding:0 .5rem;border-radius:999px;background:hsl(var(--encre));color:hsl(var(--lune));font-size:.6875rem;font-weight:600}.formation-chat-recommencer{display:inline-flex;flex-shrink:0;align-items:center;gap:.4rem;min-height:36px;padding:0 .8rem;border:1px solid hsl(var(--border));border-radius:999px;background:hsl(var(--card));color:hsl(var(--muted-foreground));font-size:.75rem;font-weight:600;transition:border-color var(--duree-survol) var(--ease-site),color var(--duree-survol) var(--ease-site)}.formation-chat-recommencer:hover{border-color:hsl(var(--primary));color:hsl(var(--foreground))}.formation-chat-reduire{display:grid;flex-shrink:0;place-items:center;width:40px;height:40px;margin-left:-.35rem;border-radius:50%;color:hsl(var(--foreground));transition:background-color var(--duree-survol) var(--ease-site)}.formation-chat-reduire:hover{background:hsl(var(--muted))}.formation-chat-journee{display:inline-flex;flex-shrink:0;align-items:center;min-height:32px;padding:0 .7rem;border:1px solid hsl(var(--primary) / .45);border-radius:999px;background:hsl(var(--primary) / .06);color:hsl(var(--accent-texte));font-size:.75rem;font-weight:700;font-variant-numeric:tabular-nums}.formation-chat-corps{position:relative;flex:1 1 auto;min-height:0}.formation-chat-fil{height:100%;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-gutter:stable;padding:1.25rem 1.25rem 1rem}.formation-chat-messages{max-width:46rem;margin-inline:auto}.formation-chat-accueil{display:flex;max-width:46rem;margin-inline:auto;flex-direction:column;align-items:center;padding:.5rem 0 .25rem;text-align:center}.formation-chat[data-vide] .formation-chat-corps{flex:0 0 auto;margin-top:auto}.formation-chat[data-vide] .formation-chat-fil{height:auto;overflow:visible;padding-bottom:.5rem}.formation-chat[data-vide] .formation-chat-saisie{margin-bottom:auto;padding-bottom:1.25rem}.formation-chat-debuts-bloc{max-width:46rem;margin:1rem auto 0}.formation-chat-debuts-titre{margin:0 0 .55rem;color:hsl(var(--muted-foreground));font-size:.6875rem!important;font-weight:700;letter-spacing:.1em;text-align:center;text-transform:uppercase}.formation-chat-debuts{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;margin:0;padding:0;list-style:none}.formation-chat-debuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem}.formation-chat-debut{display:flex;width:100%;height:100%;flex-direction:column;overflow:hidden;border:1px solid hsl(var(--border));border-radius:.9rem;background:hsl(var(--card));text-align:left;transition:border-color var(--duree-survol) var(--ease-site),box-shadow var(--duree-survol) var(--ease-site),translate var(--duree-survol) var(--ease-site)}.formation-chat-debut:not(:disabled):hover{border-color:hsl(var(--primary) / .6);box-shadow:0 10px 24px -16px hsl(var(--foreground) / .35);translate:0 -2px}.formation-chat-debut-visuel{display:grid;place-items:center;aspect-ratio:16 / 9;overflow:hidden;color:hsl(var(--primary));background:hsl(var(--primary) / .08)}.formation-chat-debut-visuel img{transition:scale var(--duree-carte) var(--ease-site)}.formation-chat-debut:not(:disabled):hover .formation-chat-debut-visuel img{scale:1.04}.formation-chat-debut-texte{display:flex;flex-direction:column;gap:.15rem;padding:.55rem .7rem .7rem}.formation-chat-debut-secteur{color:hsl(var(--accent-texte));font-size:.75rem;font-weight:700;letter-spacing:.02em}.formation-chat-debut-phrase{color:hsl(var(--foreground));font-size:.8125rem;font-weight:600;line-height:1.3}.formation-message{display:flex;align-items:flex-start;gap:.7rem;margin-bottom:1.5rem}.formation-message:last-child{margin-bottom:0}.formation-message-corps{min-width:0;flex:1;font-size:.9375rem;line-height:1.6}.formation-message-visiteur{justify-content:flex-end}.formation-message-note{display:flex;align-items:flex-start;gap:.5rem;margin:-.5rem 0 1.5rem;padding:.55rem .8rem;border:1px dashed hsl(var(--primary) / .45);border-radius:12px;background:hsl(var(--primary) / .05);font-size:.8125rem;line-height:1.45;color:hsl(var(--foreground))}.formation-message-note svg{margin-top:.15rem;color:hsl(var(--primary))}.formation-message-visiteur .formation-message-corps{flex:0 1 auto;max-width:min(85%,34rem);padding:.6rem 1rem;border-radius:18px 18px 6px;background:hsl(var(--muted))}.formation-chat-ecrit{display:flex;align-items:center;gap:.3rem;height:1.6rem}.formation-chat-ecrit>span[aria-hidden]{width:.45rem;height:.45rem;border-radius:50%;background:hsl(var(--muted-foreground) / .6)}.formation-chat-attente{margin-left:.5rem;font-size:.8125rem;color:hsl(var(--muted-foreground))}.formation-chat-rapides{display:flex;max-width:46rem;flex-wrap:wrap;gap:.5rem;margin:.9rem auto 0}.formation-chat-rapide{display:inline-flex;align-items:center;min-height:38px;padding:0 .95rem;border:1px solid hsl(var(--primary) / .35);border-radius:999px;background:hsl(var(--card));font-size:.8125rem;font-weight:600;text-align:left;transition:background-color var(--duree-survol) var(--ease-site),border-color var(--duree-survol) var(--ease-site),scale .3s var(--ease-rebond)}.formation-chat-rapide:hover{background:hsl(var(--primary) / .08);border-color:hsl(var(--primary))}.formation-chat-suite{position:absolute;left:50%;bottom:.75rem;z-index:2;display:grid;width:36px;height:36px;place-items:center;border:1px solid hsl(var(--border));border-radius:50%;background:hsl(var(--card));box-shadow:var(--ombre-carte);transform:translate(-50%)}.formation-chat-saisie{flex-shrink:0;padding:.75rem 1rem .7rem}.formation-chat-champ{display:flex;max-width:46rem;margin-inline:auto;align-items:flex-end;gap:.5rem;padding:.3rem;border:1px solid hsl(var(--border));border-radius:1.4rem;background:hsl(var(--card));box-shadow:0 8px 24px -18px hsl(var(--encre) / .35);transition:border-color .2s,box-shadow .2s}.formation-chat-champ:focus-within{border-color:hsl(var(--primary));box-shadow:0 0 0 4px hsl(var(--primary) / .14)}.formation-chat textarea{min-height:44px;max-height:140px;border:0;background:transparent;field-sizing:content}.formation-chat textarea:focus-visible{outline:none;box-shadow:none}.formation-chat-envoyer{display:flex;width:40px;height:40px;margin:2px;flex-shrink:0;align-items:center;justify-content:center;border-radius:50%;color:hsl(var(--primary-foreground));background:hsl(var(--primary));transition:transform var(--duree-survol) var(--ease-site)}.formation-chat-envoyer:not(:disabled):hover{transform:scale(1.06)}.formation-chat-envoyer:disabled{opacity:.45;cursor:not-allowed}.formation-chat-envoyer:focus-visible{outline:2px solid hsl(var(--foreground));outline-offset:3px}.formation-chat-pied{position:relative;display:flex;max-width:46rem;margin:.5rem auto 0;flex-wrap:wrap;align-items:center;justify-content:center;gap:.15rem .6rem;color:hsl(var(--muted-foreground));font-size:.72rem;line-height:1.4;text-align:center}.formation-chat-pied p,.formation-chat-pied a{font-size:inherit;line-height:inherit;min-height:0}.formation-chat-apropos>summary{display:grid;place-items:center;width:1.75rem;height:1.75rem;border-radius:50%}.formation-chat-apropos>summary::-webkit-details-marker{display:none}.formation-chat-apropos>summary:hover{color:hsl(var(--foreground))}.formation-chat-apropos>p{position:absolute;left:0;right:0;bottom:calc(100% + 4.25rem);z-index:3;padding:.8rem 1rem;border:1px solid hsl(var(--border));border-radius:12px;background:hsl(var(--card));box-shadow:var(--ombre-carte);line-height:1.5}.formation-chat-badge{padding:.35rem .65rem;border:1px solid hsl(var(--primary) / .4);border-radius:999px;font-size:.75rem;white-space:nowrap}.formation-conseil{margin-top:.85rem;padding:.75rem .85rem;border:1px solid hsl(var(--primary) / .25);border-radius:12px;background:hsl(var(--primary) / .05)}.formation-conseil-module{padding:.85rem;border:1px solid hsl(var(--border));border-radius:12px;background:hsl(var(--card))}.formation-chat-index{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:28px;height:28px;border:1px solid hsl(var(--primary) / .4);border-radius:8px;color:hsl(var(--foreground));font-size:.6875rem;font-weight:700}.formation-chat-plein{position:fixed;inset:0 0 auto 0;z-index:70;height:var(--chat-hauteur, 100dvh);min-height:0;border:0;border-radius:0;box-shadow:none;padding-bottom:env(safe-area-inset-bottom)}.formation-chat-plein .formation-chat-entete{padding-top:max(.7rem,env(safe-area-inset-top))}@media (max-width: 639px){.formation-chat{border-radius:16px}.formation-chat-plein{border-radius:0}.formation-chat-rapides{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;scrollbar-width:none;margin-inline:-.85rem;padding-inline:.85rem;scroll-snap-type:x proximity}.formation-chat-debuts{grid-template-columns:repeat(2,minmax(0,1fr))}.formation-chat-rapides::-webkit-scrollbar,.formation-chat-debuts::-webkit-scrollbar{display:none}.formation-chat-rapide{flex-shrink:0;white-space:nowrap;scroll-snap-align:start}.formation-chat-debuts-titre{text-align:left}.formation-chat-fil{padding:.9rem .85rem .75rem}.formation-chat-recommencer{padding:0 .65rem}.formation-message-corps{font-size:.9rem}.formation-chat-saisie{padding:.6rem .7rem .55rem}.formation-chat-accueil .formation-guide-avatar-grand{display:none}.formation-chat-pied{flex-wrap:wrap;font-size:.7rem}}@media (max-width: 1023px),(pointer: coarse){.formation-chat textarea{font-size:1rem}}.formation-chat-plein .formation-chat-journee{min-height:44px}@media (pointer: coarse){.formation-chat-apropos>summary{position:relative}.formation-chat-apropos>summary:after{content:"";position:absolute;top:-8px;right:-8px;bottom:-8px;left:-8px}}@media (prefers-reduced-motion: no-preference){.formation-message,.formation-chat-rapides{animation:formation-bulle .35s var(--ease-site) both}.formation-chat-rapide,.formation-chat-debut{animation:formation-bulle .3s var(--ease-site) both}.formation-chat-rapide:nth-child(2),.formation-chat-debuts li:nth-child(2) .formation-chat-debut{animation-delay:.05s}.formation-chat-rapide:nth-child(3),.formation-chat-debuts li:nth-child(3) .formation-chat-debut{animation-delay:.1s}.formation-chat-rapide:nth-child(n+4),.formation-chat-debuts li:nth-child(n+4) .formation-chat-debut{animation-delay:.15s}.formation-chat-plein{animation:formation-chat-monte .3s var(--ease-site) both}.formation-chat-ecrit>span[aria-hidden]{animation:formation-ecrit 1.2s var(--ease-site) infinite}.formation-chat-ecrit>span[aria-hidden]:nth-child(2){animation-delay:.15s}.formation-chat-ecrit>span[aria-hidden]:nth-child(3){animation-delay:.3s}}@keyframes formation-bulle{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes formation-chat-monte{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}@keyframes formation-ecrit{0%,60%,to{opacity:.35;transform:none}30%{opacity:1;transform:translateY(-3px)}}.formation-chat[data-vide]{overflow-y:auto;scrollbar-width:thin}@media (max-height: 820px){.formation-chat-accueil .formation-guide-avatar-grand{display:none}.formation-chat-accueil h4{margin-top:0}}
