/* Astre Bot : widget de discussion (charte Astre Digital) */
.ab-racine{position:fixed;right:22px;bottom:22px;z-index:99990;font-family:inherit}
.ab-bulle{position:relative;width:64px;height:64px;border-radius:50%;border:0;background:#277BC0;color:#fff;font-size:27px;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 26px rgba(39,123,192,.45);transition:transform .25s}
.ab-bulle:hover,.ab-bulle:focus-visible{transform:scale(1.07);outline:none}
.ab-bulle i{position:relative;z-index:2;color:#fff}
.ab-bulle-anneau{position:absolute;inset:-7px;border-radius:50%;border:2px dashed #FFB200;animation:abTourne 14s linear infinite}
.ab-point{position:absolute;top:3px;right:3px;width:14px;height:14px;border-radius:50%;background:#FFB200;border:3px solid #fff;z-index:3}
.ab-bulle.ab-actif .ab-point{display:none}
@keyframes abTourne{to{transform:rotate(360deg)}}
.ab-salut{position:absolute;right:0;bottom:80px;width:250px;background:#fff;color:#222;border-radius:16px 16px 4px 16px;padding:14px 16px;font-size:14px;line-height:1.5;box-shadow:0 12px 30px rgba(0,0,0,.18);border-left:4px solid #FFB200;cursor:pointer;animation:abMonte .35s ease}
.ab-salut strong{color:#277BC0}
.ab-salut-x{position:absolute;top:4px;right:6px;border:0;background:none;font-size:18px;color:#999;cursor:pointer;line-height:1}
@keyframes abMonte{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.ab-fenetre{position:absolute;right:0;bottom:80px;width:370px;max-width:calc(100vw - 32px);height:560px;max-height:calc(100vh - 120px);background:#fff;border-radius:22px;box-shadow:0 20px 50px rgba(0,0,0,.25);display:flex;flex-direction:column;overflow:hidden;animation:abMonte .3s ease}
.ab-fenetre[hidden],.ab-salut[hidden]{display:none!important}
.ab-tete{background:#277BC0;color:#fff;padding:14px 16px;display:flex;align-items:center;gap:12px;border-bottom:4px solid #FFB200;position:relative;overflow:hidden}
.ab-tete:after{content:"";position:absolute;right:-30px;top:-40px;width:120px;height:120px;border-radius:50%;border:2px dashed rgba(255,178,0,.5)}
.ab-avatar{width:44px;height:44px;border-radius:50%;background:#fff;color:#277BC0;display:flex;align-items:center;justify-content:center;font-size:20px;flex:0 0 44px;box-shadow:0 0 0 3px #FFB200}
.ab-tete strong{display:block;font-size:17px;color:#fff;letter-spacing:.02em}
.ab-tete small{display:flex;align-items:center;gap:6px;font-size:12px;color:rgba(255,255,255,.88)}
.ab-vert{width:8px;height:8px;border-radius:50%;background:#FFB200;display:inline-block}
.ab-tete div{flex:1;position:relative;z-index:1}
.ab-fermer{position:relative;z-index:1;border:0;background:rgba(255,255,255,.16);color:#fff;width:34px;height:34px;border-radius:50%;cursor:pointer;font-size:16px}
.ab-fermer:hover{background:#FFB200;color:#000}
.ab-fil{flex:1;overflow-y:auto;padding:16px 14px;background:#f5f8fc;display:flex;flex-direction:column;gap:10px}
.ab-msg{display:flex;gap:8px;align-items:flex-end;max-width:100%}
.ab-texte{padding:10px 13px;border-radius:16px;font-size:14px;line-height:1.55;max-width:82%;word-wrap:break-word}
.ab-bot .ab-texte{background:#fff;color:#222;border-bottom-left-radius:4px;box-shadow:0 2px 8px rgba(39,123,192,.08)}
.ab-user{justify-content:flex-end}
.ab-user .ab-texte{background:#277BC0;color:#fff;border-bottom-right-radius:4px}
.ab-texte a{color:#277BC0;font-weight:600;text-decoration:underline}
.ab-user .ab-texte a{color:#FFB200}
.ab-mini{width:26px;height:26px;border-radius:50%;background:#277BC0;color:#fff;font-size:12px;display:flex;align-items:center;justify-content:center;flex:0 0 26px}
.ab-frappe .ab-texte{display:flex;gap:4px;padding:14px}
.ab-frappe .ab-texte i{width:7px;height:7px;border-radius:50%;background:#277BC0;opacity:.4;animation:abPoint 1.2s infinite}
.ab-frappe .ab-texte i:nth-child(2){animation-delay:.2s}.ab-frappe .ab-texte i:nth-child(3){animation-delay:.4s}
@keyframes abPoint{0%,60%,100%{opacity:.3;transform:none}30%{opacity:1;transform:translateY(-3px)}}
.ab-racc{display:flex;gap:6px;flex-wrap:nowrap;overflow-x:auto;padding:8px 12px;background:#f5f8fc;border-top:1px solid #e6eef6;scrollbar-width:none}
.ab-racc::-webkit-scrollbar{display:none}
.ab-racc button,.ab-racc a{flex:0 0 auto;border:1.5px solid #277BC0;background:#fff;color:#277BC0;border-radius:30px;padding:6px 12px;font-size:12.5px;cursor:pointer;white-space:nowrap;text-decoration:none;font-weight:600}
.ab-racc button:hover{background:#277BC0;color:#fff}
.ab-racc .ab-wa{border-color:#25D366;color:#fff;background:#25D366}
.ab-saisie{display:flex;gap:8px;padding:10px 12px;border-top:1px solid #e6eef6;align-items:flex-end;background:#fff}
.ab-saisie textarea{flex:1;border:1.5px solid #dbe6f1;border-radius:14px;padding:10px 12px;font-size:14px;resize:none;max-height:110px;font-family:inherit;line-height:1.4;color:#222}
.ab-saisie textarea:focus{outline:none;border-color:#277BC0}
.ab-saisie button{width:42px;height:42px;border-radius:50%;border:0;background:#FFB200;color:#fff;font-size:16px;cursor:pointer;flex:0 0 42px;text-shadow:0 1px 2px rgba(0,0,0,.25)}
.ab-saisie button:hover{background:#277BC0}
.ab-pied{margin:0;padding:6px 12px 10px;font-size:11px;color:#888;text-align:center;background:#fff}
.ab-pied a{color:#277BC0}
@media (max-width:600px){.ab-racine{right:14px;bottom:14px}.ab-bulle{width:56px;height:56px;font-size:23px}.ab-fenetre{position:fixed;right:8px;left:8px;bottom:84px;width:auto;max-width:none;height:auto;top:70px;max-height:none;border-radius:18px}.ab-salut{bottom:70px;width:220px}}
@media print{.ab-racine{display:none}}.ab-racine{z-index:2147483000!important}
@media (max-width:600px){.ab-fenetre{top:auto!important;height:min(620px,calc(100vh - 110px))!important;height:min(620px,calc(100dvh - 110px))!important}}@keyframes abMonte2{from{transform:translateY(12px)}to{transform:none}}
.ab-fenetre,.ab-salut{animation-name:abMonte2!important}

/* Habillage du 20/11/2026 : cadre blanc et contour bleu, comme les cartes du portfolio */
.ab-fenetre{border:6px solid #fff;border-radius:26px;box-shadow:0 0 0 2px #277BC0,0 0 0 7px rgba(255,178,0,.35),0 24px 60px rgba(0,0,0,.28);max-height:calc(100vh - 130px)}
.ab-tete{border-radius:18px 18px 0 0;background:#277BC0 radial-gradient(circle at 18% 120%,rgba(255,255,255,.14) 0 40px,transparent 41px);padding:16px 18px}
.ab-tete:before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.22) 1.2px,transparent 1.4px);background-size:16px 16px;opacity:.55;pointer-events:none}
.ab-avatar{box-shadow:0 0 0 3px #277BC0,0 0 0 5px #FFB200}
.ab-fil{background:#fff;background-image:radial-gradient(rgba(39,123,192,.07) 1px,transparent 1.2px);background-size:18px 18px}
.ab-bot .ab-texte{background:#fff;border:1.5px solid #d6e6f5;box-shadow:0 4px 14px rgba(39,123,192,.08)}
.ab-user .ab-texte{box-shadow:0 4px 12px rgba(39,123,192,.25)}
.ab-mini{box-shadow:0 0 0 2px #fff,0 0 0 3.5px #FFB200}
.ab-racc{flex-wrap:wrap;overflow:visible;justify-content:center;background:#fff;padding:10px 12px 6px}
.ab-racc button,.ab-racc a{padding:6px 11px;font-size:12.5px}
.ab-saisie{padding:10px 12px 8px}
.ab-saisie textarea{border:1.5px solid #277BC0;border-radius:24px;padding:10px 16px;background:#f7fafd}
.ab-saisie textarea:focus{border-color:#FFB200;background:#fff}
.ab-saisie button{background:#277BC0;box-shadow:0 0 0 3px #fff,0 0 0 5px #FFB200}
.ab-saisie button:hover{background:#FFB200}
.ab-pied{border-radius:0 0 18px 18px;border-top:1px dashed #e1ebf5;padding-top:7px}
.ab-salut{border:2px solid #277BC0;border-left:5px solid #FFB200;box-shadow:0 0 0 4px #fff,0 14px 30px rgba(0,0,0,.18)}
.ab-bulle{box-shadow:0 0 0 4px #fff,0 0 0 6px #277BC0,0 12px 28px rgba(39,123,192,.45)}
@media (max-width:600px){.ab-fenetre{border-width:4px;border-radius:20px}.ab-tete{border-radius:14px 14px 0 0}.ab-pied{border-radius:0 0 14px 14px}}