/* Roteiro Chat — Ane Cakes Fair */
.roteiro-chat-fab{position:fixed;bottom:24px;right:24px;display:flex;align-items:center;gap:8px;background:linear-gradient(135deg,#6B2328,#8a2c33);color:#fff;padding:12px 20px;border-radius:40px;box-shadow:0 8px 24px rgba(107,35,40,.4);cursor:pointer;z-index:9998;border:none;transition:transform .3s ease,box-shadow .3s ease;font-family:'DM Sans',sans-serif}
.roteiro-chat-fab:hover{transform:scale(1.05);box-shadow:0 12px 32px rgba(107,35,40,.5)}
.roteiro-chat-fab-emoji{font-size:24px;line-height:1}
.roteiro-chat-fab-label{font-size:15px;font-weight:600}
.roteiro-chat-fab-pulse{position:absolute;inset:0;border-radius:40px;border:2px solid #c9986a;animation:roteiroPulse 2s ease-out infinite;pointer-events:none}
@keyframes roteiroPulse{0%{transform:scale(1);opacity:.7}100%{transform:scale(1.15);opacity:0}}
.roteiro-chat-panel{position:fixed;bottom:24px;right:24px;width:380px;max-width:calc(100vw - 32px);height:580px;max-height:calc(100vh - 48px);background:#faf6f0;border-radius:18px;box-shadow:0 20px 60px rgba(40,24,12,.3);z-index:9999;display:flex;flex-direction:column;overflow:hidden;opacity:0;transform:translateY(20px) scale(.96);pointer-events:none;transition:opacity .3s ease,transform .3s ease;font-family:'DM Sans',sans-serif}
.roteiro-chat-panel.open{opacity:1;transform:translateY(0) scale(1);pointer-events:auto}
.roteiro-chat-header{background:linear-gradient(135deg,#3d2817,#5a3520);color:#faf6f0;padding:16px 18px;display:flex;align-items:center;gap:12px;flex-shrink:0}
.roteiro-chat-header img{width:42px;height:42px;border-radius:50%;object-fit:contain;background:#faf6f0;padding:2px}
.roteiro-chat-header-text{flex:1;min-width:0}
.roteiro-chat-header-text h3{font-family:'Cormorant Garamond',serif;font-size:19px;font-weight:600;margin:0;line-height:1.1;color:#faf6f0}
.roteiro-chat-header-text span{font-size:12px;color:#e8d5c4;display:block;margin-top:2px}
.roteiro-chat-header-status{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:#d4c4b5}
.roteiro-chat-header-status::before{content:'';width:7px;height:7px;background:#7ec18c;border-radius:50%;display:inline-block}
.roteiro-chat-close{background:rgba(255,255,255,.12);border:none;color:#faf6f0;width:30px;height:30px;border-radius:50%;cursor:pointer;font-size:18px;line-height:1;display:flex;align-items:center;justify-content:center;transition:background .2s;flex-shrink:0}
.roteiro-chat-close:hover{background:rgba(255,255,255,.25)}
.roteiro-chat-messages{flex:1;overflow-y:auto;padding:18px;display:flex;flex-direction:column;gap:12px;scroll-behavior:smooth;background:#faf6f0}
.roteiro-chat-messages::-webkit-scrollbar{width:6px}
.roteiro-chat-messages::-webkit-scrollbar-thumb{background:#d4c4b5;border-radius:3px}
.roteiro-chat-msg{max-width:82%;padding:11px 15px;border-radius:16px;font-size:14px;line-height:1.5;animation:roteiroFadeIn .3s ease}
@keyframes roteiroFadeIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.roteiro-chat-msg.bot{align-self:flex-start;background:#fff;color:#3d2817;border-bottom-left-radius:4px;box-shadow:0 1px 3px rgba(40,24,12,.08)}
.roteiro-chat-msg.user{align-self:flex-end;background:#4a2c1a;color:#faf6f0;border-bottom-right-radius:4px}
.roteiro-chat-msg a{color:#8a5a32;text-decoration:underline}
.roteiro-chat-suggestions{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.roteiro-chat-suggestion{background:#fff;border:1px solid #e0d0c0;color:#5a3520;padding:7px 13px;border-radius:20px;font-size:12.5px;cursor:pointer;transition:all .2s;font-family:'DM Sans',sans-serif}
.roteiro-chat-suggestion:hover{background:#4a2c1a;color:#faf6f0;border-color:#4a2c1a}
.roteiro-chat-contact{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.roteiro-chat-contact a{flex:1;min-width:120px;text-align:center;padding:9px 12px;border-radius:10px;font-size:13px;font-weight:600;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;transition:transform .2s,box-shadow .2s}
.roteiro-chat-contact a:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.15)}
.roteiro-chat-contact .wa{background:#25d366;color:#fff}
.roteiro-chat-contact .ig{background:linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);color:#fff}
.roteiro-chat-typing{align-self:flex-start;background:#fff;padding:12px 16px;border-radius:16px;border-bottom-left-radius:4px;display:flex;gap:4px;box-shadow:0 1px 3px rgba(40,24,12,.08)}
.roteiro-chat-typing span{width:7px;height:7px;background:#c9986a;border-radius:50%;animation:roteiroBounce 1.2s infinite}
.roteiro-chat-typing span:nth-child(2){animation-delay:.2s}
.roteiro-chat-typing span:nth-child(3){animation-delay:.4s}
@keyframes roteiroBounce{0%,60%,100%{transform:translateY(0);opacity:.4}30%{transform:translateY(-6px);opacity:1}}
.roteiro-chat-input-area{padding:12px 14px;background:#fff;border-top:1px solid #ede2d6;flex-shrink:0}
.roteiro-chat-input-wrap{display:flex;gap:8px;align-items:flex-end;background:#faf6f0;border:1px solid #e0d0c0;border-radius:14px;padding:6px 6px 6px 14px;transition:border-color .2s}
.roteiro-chat-input-wrap:focus-within{border-color:#c9986a}
.roteiro-chat-input{flex:1;border:none;background:transparent;outline:none;resize:none;font-family:'DM Sans',sans-serif;font-size:14px;color:#3d2817;max-height:100px;line-height:1.4;padding:7px 0}
.roteiro-chat-input::placeholder{color:#a89588}
.roteiro-chat-send{width:36px;height:36px;border-radius:50%;background:#4a2c1a;border:none;color:#faf6f0;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background .2s,transform .2s}
.roteiro-chat-send:hover{background:#3d2817;transform:scale(1.05)}
.roteiro-chat-send:disabled{background:#c4b5a8;cursor:not-allowed;transform:none}
.roteiro-chat-send svg{width:18px;height:18px}
.roteiro-chat-footer-note{text-align:center;font-size:10.5px;color:#a89588;padding:4px 0 2px}
@media (max-width:480px){.roteiro-chat-panel{bottom:0;right:0;width:100vw;height:100vh;max-height:100vh;border-radius:0}.roteiro-chat-fab{bottom:18px;right:18px;padding:10px 16px}.roteiro-chat-fab-emoji{font-size:20px}.roteiro-chat-fab-label{font-size:14px}}