/* L'assistant de Verso (assistant-site.js) : une bulle, un panneau. Chargé par
   le site et par le portail : ses couleurs sont les siennes, pas celles de la page. */
.vc-lanceur,.vc-panneau{--vc-ink:#20252b;--vc-cream:#fffcf6;--vc-card:#fffefa;--vc-red:#9b3b32;--vc-gold:#e5b95b;--vc-line:#ded8cc;--vc-muted:#67645c;--vc-font:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}
/* Au-dessus du contenu, sous les fenêtres et le menu mobile du portail (z-index 29 et plus). */
.vc-lanceur{position:fixed;right:22px;bottom:22px;z-index:28;display:inline-flex;align-items:center;gap:9px;padding:12px 18px 12px 14px;border:0;border-radius:999px;background:var(--vc-ink);color:var(--vc-cream);font:700 13px/1 var(--vc-font);cursor:pointer;box-shadow:0 6px 22px rgba(32,37,43,.28);transition:transform .15s}
.vc-lanceur:hover{transform:translateY(-2px)}
.vc-lanceur svg{width:20px;height:20px;fill:var(--vc-gold)}
.vc-lanceur.vc-actif span{display:none}
.vc-lanceur.vc-actif{padding:12px}
.vc-panneau{position:fixed;right:22px;bottom:86px;z-index:28;width:370px;height:min(580px,calc(100vh - 120px));display:flex;flex-direction:column;background:var(--vc-cream);border:1px solid #cfc6b5;border-radius:14px;box-shadow:0 18px 50px rgba(32,37,43,.22);overflow:hidden;font-family:var(--vc-font)}
.vc-panneau[hidden]{display:none}
.vc-tete{display:flex;align-items:center;gap:11px;padding:14px 14px 14px 16px;background:var(--vc-ink);color:var(--vc-cream)}
.vc-tete div{flex:1;min-width:0}
.vc-tete b{display:block;font-size:14px}
.vc-tete small{display:block;font-size:11px;color:#c0bdb4;margin-top:2px}
.vc-marque{display:grid;place-items:center;width:30px;height:30px;border-radius:7px;background:var(--vc-gold);color:var(--vc-ink);font-weight:950}
.vc-fermer{width:32px;height:32px;border:0;border-radius:7px;background:transparent;color:var(--vc-cream);font-size:22px;line-height:1;cursor:pointer}
.vc-fermer:hover{background:rgba(255,255,255,.1)}
.vc-fil{flex:1;overflow-y:auto;padding:16px 14px;display:flex;flex-direction:column;gap:10px;overscroll-behavior:contain}
.vc-msg{max-width:88%;padding:10px 13px;border-radius:12px;font-size:13px;line-height:1.55;overflow-wrap:anywhere}
.vc-msg p{margin:0}
.vc-texte{display:grid;gap:7px}
.vc-texte ul{margin:0;padding-left:18px;display:grid;gap:4px}
.vc-verso{align-self:flex-start;background:#f0ebe0;color:var(--vc-ink);border-bottom-left-radius:4px}
.vc-visiteur{align-self:flex-end;background:var(--vc-red);color:var(--vc-cream);border-bottom-right-radius:4px}
.vc-puces{display:flex;flex-wrap:wrap;gap:7px}
.vc-puce{border:1px solid #cfc6b5;border-radius:999px;background:var(--vc-card);padding:7px 12px;font:600 12px var(--vc-font);color:var(--vc-ink);cursor:pointer}
.vc-puce:hover{border-color:var(--vc-red);color:var(--vc-red)}
.vc-action{align-self:flex-start;display:inline-flex;align-items:center;justify-content:center;padding:9px 14px;border:0;border-radius:7px;background:var(--vc-red);color:var(--vc-cream);font:700 12.5px var(--vc-font);text-decoration:none;cursor:pointer}
.vc-action:hover{background:#86322a}
.vc-action:disabled{opacity:.6;cursor:wait}
.vc-demo{align-self:stretch;display:grid;gap:9px;padding:13px;border:1px solid #d7c69c;border-radius:10px;background:#f6efdc}
.vc-demo b{font-size:13px}
.vc-demo label{display:grid;gap:4px;font-size:11.5px;font-weight:650;color:var(--vc-muted)}
.vc-demo input,.vc-demo textarea{font:13px var(--vc-font);resize:vertical;padding:8px 10px;border:1px solid #cfc6b5;border-radius:6px;background:#fff;color:var(--vc-ink)}
.vc-demo-erreur{margin:0;font-size:12px;color:var(--vc-red)}
.vc-demo-ok{margin:0;font-size:13px;color:#3f6147;font-weight:650}
.vc-attente{display:flex;gap:5px;padding:13px 14px}
.vc-attente i{width:7px;height:7px;border-radius:50%;background:#9b958a;animation:vc-point 1s infinite ease-in-out}
.vc-attente i:nth-child(2){animation-delay:.15s}
.vc-attente i:nth-child(3){animation-delay:.3s}
@keyframes vc-point{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
.vc-saisie{display:flex;align-items:flex-end;gap:8px;padding:10px 12px;border-top:1px solid var(--vc-line);background:var(--vc-card)}
.vc-saisie textarea{flex:1;resize:none;border:1px solid #cfc6b5;border-radius:9px;padding:9px 11px;font:13px/1.45 var(--vc-font);color:var(--vc-ink);background:#fff;max-height:120px}
.vc-saisie textarea:focus{outline:2px solid #466b82;outline-offset:0;border-color:transparent}
.vc-envoyer{flex:none;width:38px;height:38px;display:grid;place-items:center;border:0;border-radius:9px;background:var(--vc-ink);cursor:pointer}
.vc-envoyer svg{width:18px;height:18px;fill:none;stroke:var(--vc-cream);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.vc-pied{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:0 12px 10px;background:var(--vc-card);font-size:10px;color:var(--vc-muted)}
.vc-lien-demo{flex:none;border:0;background:none;padding:2px 0;font:700 11px var(--vc-font);color:var(--vc-red);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.vc-cache{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media(max-width:560px){
  .vc-lanceur{right:16px;bottom:16px;padding:14px}
  .vc-lanceur span{display:none}
  .vc-panneau{right:0;left:0;bottom:0;width:auto;height:min(88vh,640px);border-radius:14px 14px 0 0}
  .vc-panneau:not([hidden])+.vc-lanceur{display:none}
  .vc-pied span{max-width:26ch}
  /* Sous 16 px, Safari zoome la page au moindre toucher du champ. */
  .vc-saisie textarea,.vc-demo input,.vc-demo textarea{font-size:16px}
}
@media(prefers-reduced-motion:reduce){.vc-lanceur{transition:none}.vc-attente i{animation:none;opacity:.6}}
/* Dans le portail, les notifications montent au-dessus de la bulle. */
body.vc-present .toasts{bottom:86px}
@media(max-width:560px){body.vc-present .toasts{bottom:78px}}
