/* ─────────────────────────────────────────────────────────────
   CHATBOT LIFEPIQ — styles globaux (réutilisables sur toutes les pages).
   Variables CSS attendues : --in, --in-dk, --in-soft, --in-soft2, --ink, --ink2,
   --mu, --mu2, --mu3, --line, --line2, --bg, --bg3, --bg4, --F, --ease.
   Ces variables sont définies dans le :root des pages qui incluent le bot.
   ───────────────────────────────────────────────────────────── */

#bot-btn{position:fixed;bottom:24px;right:24px;width:60px;height:60px;padding:0;border:none;border-radius:50%;background:var(--in);color:#fff;cursor:pointer;z-index:9000;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 8px 24px rgba(91,91,214,.35),0 2px 6px rgba(91,91,214,.2);transition:transform .25s var(--ease),box-shadow .25s var(--ease);font-family:var(--F)}
#bot-btn:hover{transform:scale(1.07) translateY(-2px);box-shadow:0 12px 32px rgba(91,91,214,.45),0 4px 10px rgba(91,91,214,.25)}
#bot-btn:active{transform:scale(.96)}
#bot-btn .bot-mark{width:28px;height:28px;display:block}
#bot-btn .bot-mark.chat{width:30px;height:30px}
#bot-btn .bot-mark.close{display:none}
#bot-btn.open .bot-mark.chat{display:none}
#bot-btn.open .bot-mark.close{display:block}
#bot-btn .bot-name{display:none}
#bot-notif{position:absolute;top:0;right:0;width:14px;height:14px;background:#F43F5E;border-radius:50%;border:2.5px solid #fff;animation:bot-pulse 2s infinite}
@keyframes bot-pulse{0%,100%{opacity:1}50%{opacity:.55}}

.bot-panel{position:fixed;bottom:96px;right:24px;width:380px;height:600px;max-height:calc(100vh - 120px);background:#fff;border-radius:18px;box-shadow:0 24px 56px rgba(10,10,10,.16),0 8px 16px rgba(10,10,10,.06),0 0 0 1px rgba(0,0,0,.04);z-index:9001;display:flex;flex-direction:column;overflow:hidden;transform:translateY(20px) scale(.96);opacity:0;pointer-events:none;transition:transform .26s var(--ease),opacity .2s var(--ease);font-family:var(--F)}
.bot-panel.open{transform:translateY(0) scale(1);opacity:1;pointer-events:auto}

.bot-h{padding:13px 16px;background:linear-gradient(135deg,var(--in) 0%,var(--in-dk) 100%);color:#fff;flex-shrink:0;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:10px}
.bot-h::before{content:'';position:absolute;top:-30px;right:-30px;width:140px;height:140px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.12),transparent 70%);pointer-events:none}
.bot-h-l{display:flex;align-items:center;gap:11px;min-width:0;position:relative;z-index:1}
.bot-h-av{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.18);border:1.5px solid rgba(255,255,255,.3);display:flex;align-items:center;justify-content:center;backdrop-filter:blur(8px);position:relative;flex-shrink:0}
.bot-h-av svg{width:18px;height:18px}
.bot-h-av::after{content:'';position:absolute;bottom:-1px;right:-1px;width:11px;height:11px;border-radius:50%;background:#34D399;border:2.5px solid var(--in-dk);animation:bot-pulse 2.4s infinite}
.bot-h-info{line-height:1.25;min-width:0}
.bot-h-name{font-size:14.5px;font-weight:800;color:#fff;letter-spacing:-.3px}
.bot-h-name em{color:rgba(255,255,255,.85);font-style:normal;font-weight:700}
.bot-h-sub{font-size:11.5px;color:rgba(255,255,255,.7);margin-top:1px;font-weight:500;letter-spacing:-.05px}
.bot-h-close{background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.18);color:#fff;width:30px;height:30px;border-radius:50%;cursor:pointer;font-size:13px;display:flex;align-items:center;justify-content:center;transition:all .15s;font-family:var(--F);position:relative;z-index:1;flex-shrink:0}
.bot-h-close:hover{background:rgba(255,255,255,.25)}

.bot-welcome{padding:18px 18px 4px;animation:bot-fade .3s var(--ease)}
.bot-welcome .bot-msg{margin:0}

.bot-body{flex:1;overflow-y:auto;background:#fff;min-height:0;display:flex;flex-direction:column}
.bot-body::-webkit-scrollbar{width:5px}
.bot-body::-webkit-scrollbar-thumb{background:var(--mu3);border-radius:50px}

.bot-topics{padding:6px 18px 14px;animation:bot-fade .3s var(--ease)}
@keyframes bot-fade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.bot-topics-h{font-size:10.5px;font-weight:800;color:var(--mu);text-transform:uppercase;letter-spacing:1.2px;margin:4px 4px 10px;padding-left:42px}
.bot-suggs{display:flex;flex-wrap:wrap;gap:7px;padding-left:42px}
.bot-sugg{background:var(--in-soft);border:1px solid var(--in-soft2);border-radius:50px;padding:8px 14px;font-size:12.5px;font-weight:600;color:var(--in-dk);cursor:pointer;font-family:var(--F);letter-spacing:-.05px;transition:all .18s var(--ease);line-height:1.2}
.bot-sugg:hover{background:var(--in);color:#fff;border-color:var(--in);transform:translateY(-1px);box-shadow:0 4px 10px rgba(91,91,214,.18)}
.bot-sugg:active{transform:translateY(0) scale(.97)}

.bot-conv{padding:20px 18px;display:flex;flex-direction:column;gap:14px;flex:1;background:linear-gradient(180deg,#FAFAFE 0%,#fff 100%)}

.bot-msg{display:flex;gap:10px;max-width:100%;align-items:flex-end;animation:bot-msg-in .26s var(--ease)}
@keyframes bot-msg-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.bot-msg-bot{align-self:flex-start;max-width:90%}
.bot-msg-user{align-self:flex-end;flex-direction:row-reverse;max-width:84%}
.bot-msg-av{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.bot-msg-bot .bot-msg-av{background:linear-gradient(135deg,var(--in),var(--in-dk));box-shadow:0 3px 10px rgba(91,91,214,.3),inset 0 1px 0 rgba(255,255,255,.15)}
.bot-msg-bot .bot-msg-av svg{width:18px;height:18px;display:block}
.bot-msg-user .bot-msg-av{background:#fff;color:var(--ink2);font-size:15px;font-weight:700;border:1px solid var(--line2);box-shadow:0 1px 3px rgba(10,10,10,.06)}
.bot-msg-bubble{padding:12px 15px;border-radius:18px;font-size:13.5px;line-height:1.6;word-wrap:break-word;letter-spacing:-.05px;font-family:var(--F)}
.bot-msg-user .bot-msg-bubble{background:linear-gradient(135deg,var(--in),var(--in-dk));color:#fff;border-bottom-right-radius:6px;box-shadow:0 4px 12px rgba(91,91,214,.25)}
.bot-msg-bubble strong{font-weight:700}
.bot-msg-user .bot-msg-bubble strong{color:#fff}
.bot-msg-bubble a{font-weight:700;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1.5px}
.bot-msg-bot .bot-msg-bubble a{color:var(--in)}
.bot-msg-bot .bot-msg-bubble a:hover{color:var(--in-dk)}
.bot-msg-user .bot-msg-bubble a{color:#fff;text-decoration-color:rgba(255,255,255,.55)}

.bot-msg-bot .bot-msg-bubble{
  background:linear-gradient(180deg,#fff 0%,#FBFBFE 100%);
  border:1px solid rgba(91,91,214,.10);
  box-shadow:0 1px 0 rgba(91,91,214,.04),0 8px 24px -8px rgba(91,91,214,.08);
  position:relative;padding:14px 16px;overflow:hidden;
  color:var(--ink);
  border-bottom-left-radius:6px;
}
.bot-msg-bot .bot-msg-bubble::before{
  content:'';position:absolute;left:0;top:14px;bottom:14px;
  width:3px;border-radius:0 3px 3px 0;
  background:linear-gradient(180deg,var(--in) 0%,var(--in-dk) 100%);opacity:.85;
}
.bot-msg-bot .bot-msg-bubble > *{position:relative;z-index:1}
.bot-msg-bot .bot-msg-bubble strong{color:var(--ink)}

.bot-msg-bot .bot-msg-bubble ul{margin:10px 0 4px;padding:0;list-style:none;display:flex;flex-direction:column;gap:2px}
.bot-msg-bot .bot-msg-bubble ul li{position:relative;padding:5px 0 5px 24px;font-size:13px;line-height:1.5;color:var(--ink);opacity:0;animation:bot-li-in .35s var(--ease) forwards}
.bot-msg-bot .bot-msg-bubble ul li:nth-child(1){animation-delay:.05s}
.bot-msg-bot .bot-msg-bubble ul li:nth-child(2){animation-delay:.12s}
.bot-msg-bot .bot-msg-bubble ul li:nth-child(3){animation-delay:.19s}
.bot-msg-bot .bot-msg-bubble ul li:nth-child(4){animation-delay:.26s}
.bot-msg-bot .bot-msg-bubble ul li:nth-child(5){animation-delay:.33s}
.bot-msg-bot .bot-msg-bubble ul li:nth-child(6){animation-delay:.40s}
@keyframes bot-li-in{from{opacity:0;transform:translateX(-4px)}to{opacity:1;transform:none}}
.bot-msg-bot .bot-msg-bubble ul li::before{content:'';position:absolute;left:0;top:7px;width:16px;height:16px;border-radius:50%;background:linear-gradient(135deg,var(--in-soft) 0%,#fff 100%);border:1px solid var(--in-soft2);box-shadow:0 1px 2px rgba(91,91,214,.08)}
.bot-msg-bot .bot-msg-bubble ul li::after{content:'';position:absolute;left:5px;top:11px;width:5px;height:3px;border-left:1.7px solid var(--in);border-bottom:1.7px solid var(--in);transform:rotate(-45deg)}
.bot-msg-bot .bot-msg-bubble ul li strong{color:var(--ink);font-weight:700}

.bot-msg-bot .bot-msg-bubble .bot-cta{display:inline-flex;align-items:center;gap:7px;margin-top:14px;padding:10px 16px;background:linear-gradient(135deg,var(--in) 0%,var(--in-dk) 100%);color:#fff;border-radius:12px;font-size:12.5px;font-weight:700;text-decoration:none;box-shadow:0 6px 16px -4px rgba(91,91,214,.4),inset 0 1px 0 rgba(255,255,255,.18);transition:all .2s var(--ease);letter-spacing:-.05px;position:relative;overflow:hidden}
.bot-msg-bot .bot-msg-bubble .bot-cta::before{content:'';position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.18) 0%,transparent 50%);opacity:0;transition:opacity .2s var(--ease)}
.bot-msg-bot .bot-msg-bubble .bot-cta:hover{transform:translateY(-1px);box-shadow:0 10px 24px -4px rgba(91,91,214,.5),inset 0 1px 0 rgba(255,255,255,.25);color:#fff}
.bot-msg-bot .bot-msg-bubble .bot-cta:hover::before{opacity:1}
.bot-msg-bot .bot-msg-bubble .bot-cta-arrow{font-size:13px;font-weight:800;transition:transform .18s var(--ease);position:relative;z-index:1}
.bot-msg-bot .bot-msg-bubble .bot-cta:hover .bot-cta-arrow{transform:translateX(3px)}
.bot-msg-bot .bot-msg-bubble .bot-cta-wa{background:linear-gradient(135deg,#25D366 0%,#128C7E 100%);box-shadow:0 6px 16px -4px rgba(37,211,102,.45),inset 0 1px 0 rgba(255,255,255,.2)}
.bot-msg-bot .bot-msg-bubble .bot-cta-wa:hover{box-shadow:0 10px 24px -4px rgba(37,211,102,.55),inset 0 1px 0 rgba(255,255,255,.25)}

.bot-msg-bot .bot-msg-bubble .bot-stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:12px 0 4px}
.bot-msg-bot .bot-msg-bubble .bot-stat{padding:11px 8px;background:linear-gradient(180deg,#fff 0%,var(--in-soft) 100%);border:1px solid var(--in-soft2);border-radius:12px;text-align:center;transition:all .2s var(--ease);box-shadow:0 1px 2px rgba(91,91,214,.05);cursor:default}
.bot-msg-bot .bot-msg-bubble .bot-stat:hover{transform:translateY(-2px);border-color:var(--in);box-shadow:0 8px 20px -4px rgba(91,91,214,.18)}
.bot-msg-bot .bot-msg-bubble .bot-stat-n{font-size:17px;font-weight:800;background:linear-gradient(135deg,var(--in) 0%,var(--in-dk) 100%);-webkit-background-clip:text;background-clip:text;color:transparent;letter-spacing:-.4px;line-height:1;display:block;margin-bottom:5px;font-feature-settings:'tnum'}
.bot-msg-bot .bot-msg-bubble .bot-stat-l{font-size:10px;color:var(--mu);font-weight:600;line-height:1.25;text-transform:uppercase;letter-spacing:.3px}

.bot-msg-bot .bot-msg-bubble .bot-progress{margin:12px 0 8px;padding:12px 14px;background:linear-gradient(135deg,var(--in-soft) 0%,#fff 100%);border:1px solid var(--in-soft2);border-radius:12px}
.bot-msg-bot .bot-msg-bubble .bot-progress-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:8px;font-size:11.5px}
.bot-msg-bot .bot-msg-bubble .bot-progress-label{font-weight:700;color:var(--ink);letter-spacing:-.1px}
.bot-msg-bot .bot-msg-bubble .bot-progress-val{font-weight:800;color:var(--in-dk);font-size:13px;font-feature-settings:'tnum';letter-spacing:-.2px}
.bot-msg-bot .bot-msg-bubble .bot-progress-bar{height:8px;border-radius:50px;background:rgba(91,91,214,.12);overflow:hidden;position:relative}
.bot-msg-bot .bot-msg-bubble .bot-progress-fill{height:100%;background:linear-gradient(90deg,var(--in) 0%,var(--in-dk) 100%);border-radius:50px;box-shadow:0 0 8px rgba(91,91,214,.4);animation:bot-progress-fill 1s var(--ease) forwards;width:0}
@keyframes bot-progress-fill{to{width:var(--bot-progress)}}
.bot-msg-bot .bot-msg-bubble .bot-progress-foot{margin-top:7px;font-size:10.5px;color:var(--mu);font-weight:600}
.bot-msg-bot .bot-msg-bubble .bot-progress-foot strong{color:#F43F5E}

.bot-msg-bot .bot-msg-bubble .bot-timeline{margin:14px 0 6px;display:grid;grid-template-columns:1fr 1fr 1fr;gap:0;position:relative}
.bot-msg-bot .bot-msg-bubble .bot-timeline::before{content:'';position:absolute;top:14px;left:14%;right:14%;height:2px;background:linear-gradient(90deg,var(--in) 0%,var(--in-soft2) 50%,var(--in) 100%);z-index:0}
.bot-msg-bot .bot-msg-bubble .bot-tl-step{text-align:center;position:relative;z-index:1}
.bot-msg-bot .bot-msg-bubble .bot-tl-dot{width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,var(--in) 0%,var(--in-dk) 100%);color:#fff;font-size:13px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;margin-bottom:6px;box-shadow:0 4px 10px rgba(91,91,214,.3),inset 0 1px 0 rgba(255,255,255,.2);border:2.5px solid #fff}
.bot-msg-bot .bot-msg-bubble .bot-tl-label{font-size:10.5px;color:var(--ink);font-weight:700;line-height:1.2;letter-spacing:-.1px}
.bot-msg-bot .bot-msg-bubble .bot-tl-sub{font-size:9.5px;color:var(--mu);font-weight:500;margin-top:1px}

.bot-msg-bot .bot-msg-bubble .bot-badges{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 4px}
.bot-msg-bot .bot-msg-bubble .bot-badge{display:inline-flex;align-items:center;gap:4px;padding:5px 10px;border-radius:50px;background:#fff;border:1px solid var(--in-soft2);font-size:10.5px;font-weight:700;color:var(--ink2);letter-spacing:-.1px;box-shadow:0 1px 2px rgba(91,91,214,.05)}
.bot-msg-bot .bot-msg-bubble .bot-badge-ic{font-size:11px}
.bot-msg-bot .bot-msg-bubble .bot-badge-green{color:#15803D;border-color:#A7F3D0;background:#F0FDF4}
.bot-msg-bot .bot-msg-bubble .bot-badge-blue{color:#1E40AF;border-color:#BFDBFE;background:#EFF6FF}

.bot-msg-bot .bot-msg-bubble .bot-founder{display:flex;align-items:center;gap:12px;margin:12px 0 6px;padding:12px 14px;background:linear-gradient(135deg,#fff 0%,var(--in-soft) 100%);border:1px solid var(--in-soft2);border-radius:12px}
.bot-msg-bot .bot-msg-bubble .bot-founder-av{width:46px;height:46px;border-radius:50%;flex-shrink:0;background:linear-gradient(135deg,#5B5BD6 0%,#8B5CF6 100%);color:#fff;font-size:17px;font-weight:800;display:flex;align-items:center;justify-content:center;letter-spacing:-.5px;box-shadow:0 4px 10px rgba(91,91,214,.3),inset 0 1px 0 rgba(255,255,255,.2);border:2px solid #fff}
.bot-msg-bot .bot-msg-bubble .bot-founder-info{flex:1;min-width:0}
.bot-msg-bot .bot-msg-bubble .bot-founder-name{font-size:13.5px;font-weight:700;color:var(--ink);line-height:1.2;display:flex;align-items:center;gap:5px}
.bot-msg-bot .bot-msg-bubble .bot-founder-online{width:7px;height:7px;border-radius:50%;background:#34D399;box-shadow:0 0 0 2px rgba(52,211,153,.25);animation:bot-pulse 2.4s infinite}
.bot-msg-bot .bot-msg-bubble .bot-founder-role{font-size:11px;color:var(--mu);margin-top:1px;font-weight:500}
.bot-msg-bot .bot-msg-bubble .bot-founder-stat{font-size:11px;color:var(--in-dk);font-weight:700;text-align:right;letter-spacing:-.1px;line-height:1.25}
.bot-msg-bot .bot-msg-bubble .bot-founder-stat-n{font-size:14px;font-weight:800;display:block}

.bot-msg-bot .bot-msg-bubble .bot-logos{display:flex;flex-wrap:wrap;gap:5px;margin:12px 0 4px}
.bot-msg-bot .bot-msg-bubble .bot-logo-chip{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:50px;background:#fff;border:1px solid var(--line2);font-size:11px;font-weight:700;color:var(--ink2);letter-spacing:-.1px}
.bot-msg-bot .bot-msg-bubble .bot-logo-chip-strike{text-decoration:line-through;text-decoration-color:rgba(244,63,94,.6);text-decoration-thickness:1.5px;color:var(--mu2)}
.bot-msg-bot .bot-msg-bubble .bot-logo-chip-ic{font-size:11px;display:inline-flex}
.bot-msg-bot .bot-msg-bubble .bot-logo-chip-check{width:14px;height:14px;border-radius:50%;background:#10B981;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:9px;font-weight:900}

.bot-msg-bot .bot-msg-bubble .bot-earn{margin:12px 0 6px;padding:14px;background:linear-gradient(135deg,#FAFAFE 0%,var(--in-soft) 100%);border:1px solid var(--in-soft2);border-radius:14px}
.bot-msg-bot .bot-msg-bubble .bot-earn-formula{font-size:11.5px;color:var(--mu);font-weight:600;margin-bottom:6px;letter-spacing:-.05px;line-height:1.4}
.bot-msg-bot .bot-msg-bubble .bot-earn-formula strong{color:var(--ink);font-weight:700}
.bot-msg-bot .bot-msg-bubble .bot-earn-result{display:flex;align-items:baseline;gap:8px}
.bot-msg-bot .bot-msg-bubble .bot-earn-eq{font-size:16px;color:var(--mu);font-weight:600}
.bot-msg-bot .bot-msg-bubble .bot-earn-amount{font-size:24px;font-weight:800;letter-spacing:-.8px;background:linear-gradient(135deg,#10B981 0%,#059669 100%);-webkit-background-clip:text;background-clip:text;color:transparent;font-feature-settings:'tnum';line-height:1}
.bot-msg-bot .bot-msg-bubble .bot-earn-unit{font-size:13px;color:var(--mu);font-weight:600}

.bot-msg-bot .bot-msg-bubble .bot-deadline{display:inline-flex;align-items:center;gap:8px;margin:10px 0 8px;padding:8px 12px;background:linear-gradient(135deg,#FEF3C7 0%,#FDE68A 100%);border:1px solid #FCD34D;border-radius:10px;font-size:11.5px;font-weight:700;color:#92400E;letter-spacing:-.1px}
.bot-msg-bot .bot-msg-bubble .bot-deadline-ic{font-size:14px}
.bot-msg-bot .bot-msg-bubble .bot-deadline strong{color:#78350F;font-weight:800}

.bot-msg-bot .bot-msg-bubble .bot-devices{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:12px 0 6px}
.bot-msg-bot .bot-msg-bubble .bot-device{padding:10px 8px;background:#fff;border:1px solid var(--line2);border-radius:12px;text-align:center;transition:all .18s var(--ease)}
.bot-msg-bot .bot-msg-bubble .bot-device:hover{border-color:var(--in);transform:translateY(-1px);box-shadow:0 4px 12px -2px rgba(91,91,214,.15)}
.bot-msg-bot .bot-msg-bubble .bot-device-ic{font-size:18px;margin-bottom:4px;display:block}
.bot-msg-bot .bot-msg-bubble .bot-device-name{font-size:11px;font-weight:700;color:var(--ink);letter-spacing:-.1px;line-height:1.2}
.bot-msg-bot .bot-msg-bubble .bot-device-status{display:inline-block;margin-top:3px;padding:1px 7px;border-radius:50px;font-size:8.5px;font-weight:800;letter-spacing:.3px;text-transform:uppercase}
.bot-msg-bot .bot-msg-bubble .bot-device-status-live{background:#D1FAE5;color:#065F46}
.bot-msg-bot .bot-msg-bubble .bot-device-status-soon{background:#FEF3C7;color:#92400E}

.bot-msg-bot .bot-msg-bubble .bot-agenda{margin:12px 0 6px;padding:10px 12px;background:#fff;border:1px solid var(--line2);border-radius:12px}
.bot-msg-bot .bot-msg-bubble .bot-agenda-head{display:flex;align-items:center;justify-content:space-between;font-size:10.5px;color:var(--mu);font-weight:700;text-transform:uppercase;letter-spacing:.3px;padding-bottom:8px;border-bottom:1px solid var(--line);margin-bottom:8px}
.bot-msg-bot .bot-msg-bubble .bot-agenda-day{color:var(--ink)}
.bot-msg-bot .bot-msg-bubble .bot-agenda-slot{display:flex;align-items:center;gap:10px;padding:6px 0;font-size:11.5px}
.bot-msg-bot .bot-msg-bubble .bot-agenda-slot + .bot-agenda-slot{border-top:1px dashed var(--line)}
.bot-msg-bot .bot-msg-bubble .bot-agenda-time{font-weight:800;color:var(--in-dk);font-feature-settings:'tnum';letter-spacing:-.2px;min-width:42px}
.bot-msg-bot .bot-msg-bubble .bot-agenda-label{flex:1;color:var(--ink2);font-weight:500}
.bot-msg-bot .bot-msg-bubble .bot-agenda-state{font-size:9.5px;font-weight:800;padding:2px 7px;border-radius:50px;letter-spacing:.3px;text-transform:uppercase}
.bot-msg-bot .bot-msg-bubble .bot-agenda-state-paid{background:#D1FAE5;color:#065F46}
.bot-msg-bot .bot-msg-bubble .bot-agenda-state-free{background:var(--in-soft);color:var(--in-dk)}

.bot-msg-bot .bot-msg-bubble .bot-products{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:12px 0 6px}
.bot-msg-bot .bot-msg-bubble .bot-product{padding:11px 8px;background:linear-gradient(180deg,#fff 0%,var(--in-soft) 100%);border:1px solid var(--in-soft2);border-radius:12px;text-align:center;transition:all .18s var(--ease)}
.bot-msg-bot .bot-msg-bubble .bot-product:hover{transform:translateY(-2px);box-shadow:0 6px 14px -4px rgba(91,91,214,.18)}
.bot-msg-bot .bot-msg-bubble .bot-product-ic{font-size:20px;margin-bottom:5px;display:block;line-height:1}
.bot-msg-bot .bot-msg-bubble .bot-product-name{font-size:11px;font-weight:700;color:var(--ink);letter-spacing:-.1px}
.bot-msg-bot .bot-msg-bubble .bot-product-sub{font-size:9.5px;color:var(--mu);font-weight:500;margin-top:1px}

.bot-msg-typing{display:inline-flex;gap:5px;padding:14px 16px}
.bot-msg-typing span{width:7px;height:7px;border-radius:50%;background:var(--in);opacity:.5;animation:bot-typing 1.2s infinite}
.bot-msg-typing span:nth-child(2){animation-delay:.15s}
.bot-msg-typing span:nth-child(3){animation-delay:.3s}
@keyframes bot-typing{0%,60%,100%{transform:translateY(0);opacity:.4}30%{transform:translateY(-4px);opacity:1}}

.bot-chips{display:flex;flex-direction:row;flex-wrap:wrap;gap:7px;padding:4px 0 4px 42px;animation:bot-msg-in .3s var(--ease) .1s both}
.bot-chips button{background:#fff;border:1px solid var(--line2);border-radius:50px;padding:8px 14px;font-size:12.5px;font-weight:600;color:var(--ink2);cursor:pointer;transition:all .18s var(--ease);font-family:var(--F);letter-spacing:-.05px;line-height:1.2;box-shadow:0 1px 2px rgba(10,10,10,.03)}
.bot-chips button:hover{background:var(--in-soft);border-color:var(--in);color:var(--in-dk);transform:translateY(-1px);box-shadow:0 4px 10px rgba(91,91,214,.12)}
.bot-chips button:active{transform:translateY(0) scale(.97)}

.bot-input{display:flex;gap:8px;padding:12px 14px;background:#fff;border-top:1px solid var(--line);flex-shrink:0}
.bot-input input{flex:1;padding:11px 16px;border:1px solid var(--line2);border-radius:50px;font-size:13.5px;font-family:var(--F);background:var(--bg3);outline:none;transition:all .15s;color:var(--ink);letter-spacing:-.05px}
.bot-input input::placeholder{color:var(--mu2)}
.bot-input input:focus{border-color:var(--in);background:#fff;box-shadow:0 0 0 3px rgba(91,91,214,.1)}
.bot-input button{background:linear-gradient(135deg,var(--in),var(--in-dk));color:#fff;border:none;width:40px;height:40px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s;flex-shrink:0;font-family:var(--F);box-shadow:0 4px 12px rgba(91,91,214,.25)}
.bot-input button svg{width:16px;height:16px;display:block;transform:translateX(-1px)}
.bot-input button:hover{transform:scale(1.05);box-shadow:0 6px 16px rgba(91,91,214,.35)}
.bot-input button:active{transform:scale(.94)}

.bot-foot{font-size:10.5px;color:var(--mu);text-align:center;padding:8px 14px;background:#FAFAFC;border-top:1px solid var(--line);flex-shrink:0;letter-spacing:-.05px;font-family:var(--F);display:flex;align-items:center;justify-content:center;gap:6px}
.bot-foot strong{color:var(--ink);font-weight:700}
.bot-foot-mark{display:inline-flex;align-items:center;justify-content:center;color:var(--in)}
.bot-foot-mark svg{display:block}
.bot-foot a{color:var(--in);font-weight:700;text-decoration:none}
.bot-foot a:hover{text-decoration:underline}

@media(max-width:768px){
  /* Sur mobile : remonter au-dessus du sticky CTA (présent sur landing + facture) */
  #bot-btn{bottom:calc(80px + env(safe-area-inset-bottom,0px));right:14px;width:52px;height:52px}
  #bot-btn .bot-mark{width:24px;height:24px}
  #bot-btn .bot-mark.chat{width:26px;height:26px}
  .bot-panel{right:8px;left:8px;width:auto;bottom:calc(140px + env(safe-area-inset-bottom,0px));height:auto;max-height:calc(100vh - 220px);border-radius:16px}

  /* Annuaire : pas de sticky CTA → on descend le bouton près du bas et on
     agrandit le panneau (quasi plein écran) au lieu de le laisser flotter
     haut avec un grand vide en dessous. */
  body.annuaire #bot-btn{bottom:calc(20px + env(safe-area-inset-bottom,0px))}
  body.annuaire .bot-panel{
    top:calc(16px + env(safe-area-inset-top,0px));
    bottom:calc(84px + env(safe-area-inset-bottom,0px));
    height:auto;
    max-height:none;
  }
}
