/* Accueil website assistant (chat + voice) */
.acb-fab,.acb-panel,.acb-tease{--acb-n:#0B2A4A;--acb-b:#1456A0;--acb-c:#0EA5C6;font-family:Inter,Arial,sans-serif}
.acb-panel [hidden],.acb-tease[hidden],.acb-panel[hidden]{display:none!important}
.acb-fab{position:fixed;right:22px;bottom:22px;z-index:9990;display:flex;align-items:center;gap:9px;height:56px;padding:0 20px 0 16px;border:0;border-radius:999px;background:linear-gradient(135deg,#0B2A4A,#1456A0 60%,#0EA5C6);color:#fff;font:800 14px/1 Inter,Arial,sans-serif;cursor:pointer;box-shadow:0 16px 34px -12px rgba(7,27,51,.65),0 0 0 0 rgba(14,165,198,.5);transition:transform .2s,box-shadow .2s;animation:acb-ring 3.2s ease-out 2s 3}
.acb-fab svg{width:24px;height:24px}.acb-fab:hover{transform:translateY(-3px)}.acb-fab:focus-visible,.acb-panel button:focus-visible,.acb-panel input:focus-visible,.acb-panel select:focus-visible,.acb-panel a:focus-visible{outline:3px solid #7dd3e8;outline-offset:2px}
.acb-fab.open{display:none}
@keyframes acb-ring{0%{box-shadow:0 16px 34px -12px rgba(7,27,51,.65),0 0 0 0 rgba(14,165,198,.55)}70%,100%{box-shadow:0 16px 34px -12px rgba(7,27,51,.65),0 0 0 18px rgba(14,165,198,0)}}
.acb-tease{position:fixed;right:22px;bottom:92px;z-index:9990;max-width:250px;background:#fff;color:#13283A;border:1px solid #D7E4EE;border-radius:16px 16px 4px 16px;padding:12px 34px 12px 14px;font-size:13.5px;line-height:1.4;font-weight:600;box-shadow:0 18px 40px -18px rgba(7,27,51,.5);cursor:pointer;animation:acb-pop .35s ease}
.acb-tease-x{position:absolute;top:6px;right:6px;width:22px;height:22px;border:0;background:transparent;color:#4A6073;cursor:pointer;padding:3px}.acb-tease-x svg{width:100%;height:100%}
@keyframes acb-pop{from{opacity:0;transform:translateY(8px) scale(.96)}to{opacity:1;transform:none}}

.acb-panel{padding:0;position:fixed;right:22px;bottom:22px;z-index:9995;width:392px;max-width:calc(100vw - 24px);height:min(640px,calc(100vh - 44px));display:flex;flex-direction:column;background:#fff;border:1px solid #D7E4EE;border-radius:22px;overflow:hidden;box-shadow:0 30px 70px -20px rgba(7,27,51,.6);animation:acb-pop .25s ease}
.acb-head{display:flex;align-items:center;gap:10px;padding:14px 14px 14px 16px;background:linear-gradient(135deg,#071B33,#0B2A4A 40%,#1456A0);color:#fff}
.acb-av{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.16);display:grid;place-items:center;flex:none;position:relative}.acb-av svg{width:21px;height:21px}
.acb-av:after{content:"";position:absolute;right:0;bottom:0;width:10px;height:10px;border-radius:50%;background:#3ddc97;border:2px solid #0B2A4A}
.acb-ht{flex:1;min-width:0;display:grid;line-height:1.25}.acb-ht strong{font-size:15px}.acb-ht span{font-size:11.5px;color:#bfe6f1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.acb-lang{max-width:84px;background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.3);border-radius:8px;padding:5px 4px;font:600 11.5px Inter,Arial,sans-serif;cursor:pointer}.acb-lang option{color:#13283A}
.acb-ib{width:34px;height:34px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;display:grid;place-items:center;cursor:pointer;flex:none;padding:0;transition:background .2s}.acb-ib:hover{background:rgba(255,255,255,.26)}.acb-ib svg{width:17px;height:17px}
.speaking .acb-head .acb-ib[aria-label^="Spoken"]{background:#0EA5C6}

.acb-msgs{flex:1;min-height:0;overflow-y:auto;padding:16px 14px 6px;background:#F3F8FC;display:flex;flex-direction:column;gap:10px;scroll-behavior:smooth}
.acb-m{display:flex;align-items:flex-end;gap:6px;max-width:100%}.acb-u{justify-content:flex-end}
.acb-bub{max-width:84%;padding:10px 14px;border-radius:16px;font-size:14px;line-height:1.5;word-wrap:break-word;overflow-wrap:anywhere;white-space:pre-wrap}
.acb-b .acb-bub{background:#fff;color:#13283A;border:1px solid #D7E4EE;border-bottom-left-radius:4px}
.acb-u .acb-bub{background:linear-gradient(135deg,#0B2A4A,#1456A0);color:#fff;border-bottom-right-radius:4px}
.acb-bub a{color:#1456A0;font-weight:700;text-decoration:underline}.acb-u .acb-bub a{color:#bfe6f1}.acb-open{display:inline-block;margin-top:6px;text-decoration:none!important}
.acb-listen{width:26px;height:26px;border-radius:50%;border:1px solid #D7E4EE;background:#fff;color:#4A6073;display:grid;place-items:center;cursor:pointer;flex:none;padding:0;opacity:.75}.acb-listen:hover,.acb-listen.on{opacity:1;color:#fff;background:#0EA5C6;border-color:#0EA5C6}.acb-listen svg{width:13px;height:13px}
.acb-typing{display:flex;gap:4px;padding:13px 16px}.acb-typing i{width:7px;height:7px;border-radius:50%;background:#7a95ab;animation:acb-b 1.1s infinite}.acb-typing i:nth-child(2){animation-delay:.15s}.acb-typing i:nth-child(3){animation-delay:.3s}
@keyframes acb-b{0%,60%,100%{transform:translateY(0);opacity:.5}30%{transform:translateY(-5px);opacity:1}}
.acb-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:2px}.acb-chip{border:1px solid #bcd3e6;background:#fff;color:#0B2A4A;border-radius:999px;padding:8px 13px;font:700 12.5px Inter,Arial,sans-serif;cursor:pointer;text-align:left;transition:background .2s,color .2s}.acb-chip:hover{background:#0B2A4A;color:#fff;border-color:#0B2A4A}

.acb-acts{display:flex;gap:6px;padding:8px 12px;background:#F3F8FC;border-top:1px solid #e3edf5;overflow-x:auto;scrollbar-width:none}
.acb-act{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;padding:6px 12px;border-radius:999px;border:1px solid #bcd3e6;background:#fff;color:#0B2A4A;font:700 12px Inter,Arial,sans-serif;cursor:pointer;text-decoration:none}.acb-act svg{width:14px;height:14px}.acb-act:hover{background:#0B2A4A;color:#fff}
.acb-form{display:flex;align-items:center;gap:8px;padding:10px 12px;background:#fff;border-top:1px solid #e3edf5}
.acb-in{flex:1;min-width:0;height:44px;border:1px solid #D7E4EE;border-radius:999px;padding:0 16px;font:500 14px Inter,Arial,sans-serif;color:#13283A;background:#F3F8FC}.acb-in:focus{outline:2px solid #0EA5C6;background:#fff;border-color:transparent}
.acb-mic,.acb-send{width:44px;height:44px;border-radius:50%;border:0;display:grid;place-items:center;cursor:pointer;flex:none;padding:0;transition:transform .15s,background .2s}.acb-mic svg,.acb-send svg{width:19px;height:19px}
.acb-mic{background:#EAF3FB;color:#0B2A4A}.acb-mic:hover{background:#d5e8f7}.acb-mic.na{opacity:.4;cursor:not-allowed}
.acb-mic.on{background:#d92d20;color:#fff;animation:acb-rec 1.2s infinite}@keyframes acb-rec{0%{box-shadow:0 0 0 0 rgba(217,45,32,.5)}100%{box-shadow:0 0 0 14px rgba(217,45,32,0)}}
.acb-send{background:#0B2A4A;color:#fff}.acb-send:hover{background:#1456A0;transform:scale(1.05)}.acb-send:disabled{opacity:.5;cursor:wait}
.acb-note{padding:0 14px 10px;background:#fff;color:#6a8092;font-size:10.8px;text-align:center}.acb-note a{color:#1456A0;text-decoration:underline}

.acb-lead{flex:1;min-height:0;overflow-y:auto;padding:16px 16px 12px;background:#F3F8FC;display:grid;align-content:start;gap:10px}
.acb-lead h4{margin:0;font-size:17px;color:#0B2A4A}.acb-lead p{margin:0;color:#4A6073;font-size:13px}
.acb-lead label{display:grid;gap:4px;font-size:12px;font-weight:700;color:#0B2A4A}
.acb-lead input,.acb-lead textarea{font:500 14px Inter,Arial,sans-serif;padding:10px 12px;border:1px solid #D7E4EE;border-radius:12px;background:#fff;color:#13283A;width:100%}.acb-lead input:focus,.acb-lead textarea:focus{outline:2px solid #0EA5C6;border-color:transparent}
.acb-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.acb-lead-b{display:flex;gap:8px;margin-top:2px}.acb-lead-b button{flex:1;height:42px;border-radius:999px;font:800 13px Inter,Arial,sans-serif;cursor:pointer}
.acb-cancel{background:#fff;color:#0B2A4A;border:1px solid #bcd3e6}.acb-submit{background:#0B2A4A;color:#fff;border:0}.acb-submit:disabled{opacity:.6}
.acb-lead .acb-lead-s{font-weight:700;min-height:1.2em}.acb-lead-s.err{color:#b32d2e}

@media(max-width:620px){
  .acb-fab{bottom:68px;right:14px;height:52px;padding:0 16px 0 13px}.acb-tease{bottom:130px;right:14px}
  .acb-panel{right:0;left:0;bottom:0;width:100%;max-width:100%;height:calc(100dvh - 10px);border-radius:20px 20px 0 0}
  body.acb-open{overflow:hidden}.acb-in{font-size:16px}.acb-lead input,.acb-lead textarea{font-size:16px}
}
@media(prefers-reduced-motion:reduce){.acb-fab,.acb-panel,.acb-tease,.acb-mic.on,.acb-typing i{animation:none}}
