/* Chatbot iTechBocage — fenêtre de discussion du site vitrine */
.itb-chat-btn{position:fixed;right:20px;bottom:20px;z-index:1000;display:flex;align-items:center;gap:10px;border:0;cursor:pointer;background:none;padding:0;font-family:Raleway,system-ui,sans-serif}
.itb-chat-btn .bubble{background:#fff;color:#062F2D;font-weight:700;font-size:14px;padding:10px 14px;border-radius:16px 16px 4px 16px;box-shadow:0 10px 30px -12px rgba(0,77,72,.5)}
.itb-chat-btn .ico{width:62px;height:70px;background:#006D68;display:flex;align-items:center;justify-content:center;-webkit-clip-path:url(#hexr);clip-path:url(#hexr);transition:transform .2s}
.itb-chat-btn:hover .ico{transform:translateY(-2px);background:#004A46}
.itb-chat-btn:focus-visible{outline:3px solid #00ACA0;outline-offset:4px;border-radius:12px}
.itb-chat{position:fixed;right:20px;bottom:20px;z-index:1001;width:380px;max-width:calc(100vw - 24px);height:560px;max-height:calc(100vh - 40px);background:#fff;border-radius:24px;box-shadow:0 30px 70px -20px rgba(6,47,45,.55);display:none;flex-direction:column;overflow:hidden;font-family:Raleway,system-ui,sans-serif;color:#1D2B2A}
.itb-chat.open{display:flex}
.itb-chat header{background:#006D68;color:#fff;padding:14px 16px;display:flex;align-items:center;gap:12px;position:static;border:0;border-radius:0;box-shadow:none}
.itb-chat header img{width:40px !important;height:40px !important;background:#fff;border-radius:12px;padding:4px;box-sizing:border-box}
.itb-chat header .t{flex:1;line-height:1.25}
.itb-chat header .t b{display:block;font-family:Handel,Raleway,sans-serif;font-weight:400;font-size:18px}
.itb-chat header .t span{font-size:12px;color:#CFE6E3}
.itb-chat header button{background:rgba(255,255,255,.12);border:0;color:#fff;width:40px;height:40px;border-radius:50%;cursor:pointer;font-size:22px;line-height:1}
.itb-chat .msgs{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px;background:#F3F8F7}
.itb-chat .m{max-width:85%;padding:10px 14px;border-radius:18px;font-size:15px;line-height:1.5;white-space:pre-wrap;word-wrap:break-word}
.itb-chat .m.a{background:#fff;align-self:flex-start;border-bottom-left-radius:4px;box-shadow:0 2px 8px -4px rgba(0,77,72,.3)}
.itb-chat .m.u{background:#006D68;color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
.itb-chat .m.ok{background:#E6F4F2;border:1px solid #00ACA0}
.itb-chat .typing{align-self:flex-start;background:#fff;border-radius:18px;padding:12px 16px;display:flex;gap:5px}
.itb-chat .typing i{width:7px;height:7px;border-radius:50%;background:#00ACA0;animation:itbdot 1s infinite}
.itb-chat .typing i:nth-child(2){animation-delay:.15s}.itb-chat .typing i:nth-child(3){animation-delay:.3s}
@keyframes itbdot{0%,60%,100%{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
.itb-chat .chips{display:flex;flex-wrap:wrap;gap:6px;padding:0 16px 10px;background:#F3F8F7}
.itb-chat .chips button{border:1.5px solid #00ACA0;background:#fff;color:#006D68;font:600 13px Raleway,sans-serif;padding:7px 12px;border-radius:999px;cursor:pointer}
.itb-chat .chips button:hover{background:#E6F4F2}
.itb-chat form{display:flex;gap:8px;padding:12px;border-top:1px solid #E3EFED;background:#fff;margin:0;box-shadow:none;border-radius:0}
.itb-chat textarea{flex:1;resize:none;height:44px;max-height:120px;font:15px Raleway,sans-serif;padding:11px 14px;border:1.5px solid #CFE6E3;border-radius:14px;background:#F3F8F7;color:#1D2B2A;box-sizing:border-box}
.itb-chat textarea:focus{outline:2px solid #00ACA0;background:#fff}
.itb-chat form button{width:46px;height:44px;border:0;border-radius:14px;background:#006D68;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.itb-chat form button:disabled{opacity:.5;cursor:default}
.itb-chat .note{font-size:11px;color:#4A5C5A;text-align:center;padding:0 12px 10px;background:#fff}
.itb-chat-btn.compact .bubble{display:none}
@media (max-width:600px){
.itb-chat{right:0;bottom:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0}
.itb-chat-btn{right:14px;bottom:14px}
.itb-chat-btn .bubble{display:none}
}
@media (prefers-reduced-motion:reduce){.itb-chat .typing i{animation:none}}
