/* style.css */
:root{--navy:#123052;--navy-deep:#0b2543;--blue:#1e557b;--yellow:#f8cd39;--yellow-soft:#fff4c7;--paper:#f5f7f6;--ink:#17324b;--muted:#6c7b89;--line:#dce5e8;--red:#c9514d;--white:#fff;font-family:"Segoe UI",Inter,Arial,sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0;min-width:320px}button,textarea,input{font:inherit}button{cursor:pointer}button:focus-visible,textarea:focus-visible,input:focus-visible{outline:3px solid #e7a900;outline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.site-shell{display:grid;grid-template-columns:minmax(330px,34%) minmax(0,1fr);min-height:100vh;min-height:100dvh}.showcase{background:var(--navy);color:white;display:flex;flex-direction:column;padding:34px clamp(25px,3.1vw,54px) 24px;min-height:100vh;min-height:100dvh;overflow:hidden;position:relative}.showcase:after{content:"";position:absolute;right:-100px;bottom:-180px;width:440px;height:440px;border:1px solid rgba(255,255,255,.12);border-radius:50%;pointer-events:none}.brand{display:flex;align-items:center;gap:13px;font-size:20px;font-weight:900;line-height:.88;letter-spacing:-.05em;z-index:1}.brand-line{display:block;color:var(--yellow);font-size:10px;letter-spacing:.25em;margin-top:7px}.brand-mark{width:46px;height:46px;border:2px solid var(--yellow);border-radius:14px;display:grid;place-items:center;transform:rotate(-8deg)}.brand-mark svg{width:31px;fill:none;stroke:var(--yellow);stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round;transform:rotate(8deg)}.showcase-content{margin:auto 0;z-index:1;padding:52px 0 26px}.eyebrow{display:block;color:#d7a515;font-size:11px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}.showcase .eyebrow{color:var(--yellow)}.showcase h1{font-size:clamp(37px,3.7vw,65px);line-height:1.06;letter-spacing:-.06em;margin:17px 0 17px;font-weight:800}.showcase-content>p{color:#d0dce4;line-height:1.58;font-size:15px;max-width:440px;margin:0}.hero-art{margin:18px -12px 12px;max-width:500px;filter:drop-shadow(0 20px 15px rgba(0,0,0,.13))}.hero-art img{display:block;width:100%;height:auto}.showcase-bottom{display:flex;align-items:center;gap:9px;color:#d1dde6;font-size:12px;line-height:1.4}.red-dot{display:block;width:7px;height:7px;border-radius:50%;background:var(--red);flex:none}.sidebar-footer{border-top:1px solid rgba(255,255,255,.18);padding-top:18px;color:#8fa9bc;font-size:12px;z-index:1}.workspace{display:flex;flex-direction:column;min-width:0;max-height:100vh;max-height:100dvh}.topbar{height:80px;min-height:80px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,2.7vw,48px);border-bottom:1px solid var(--line);background:#fff}.assistant-identity{display:flex;align-items:center;gap:12px}.assistant-identity strong{display:block;font-size:15px;font-weight:800}.assistant-identity span:not(.avatar span){display:block;color:var(--muted);font-size:12px;margin-top:2px}.avatar{background:var(--yellow);color:var(--navy);font-size:22px;font-weight:900;width:43px;height:43px;border-radius:15px;display:grid;place-items:center;position:relative;box-shadow:inset -5px -5px 0 rgba(255,255,255,.33)}.avatar span{position:absolute;right:-2px;bottom:-2px;border:3px solid #fff;width:12px;height:12px;border-radius:50%;background:#4db58b}.header-actions{display:flex;align-items:center;gap:12px}.mode-badge{border-radius:999px;background:#edf3f5;color:var(--blue);font-size:11px;font-weight:800;padding:8px 11px;white-space:nowrap}.mode-badge.live{background:#e4f5eb;color:#146b42}.icon-button{border:1px solid var(--line);background:white;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;color:var(--navy)}.icon-button svg{width:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round}.mobile-brand{display:none}.workspace-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,28%);min-height:0;flex:1}.chat-panel{display:flex;flex-direction:column;min-height:0;background:var(--paper);border-right:1px solid var(--line);padding:0 clamp(16px,2.45vw,42px) 16px}.chat-intro{display:flex;align-items:center;gap:14px;color:#8797a3;font-size:11px;justify-content:center;padding:22px 0 7px}.intro-rule{width:32px;height:1px;background:#d9e1e5}.messages{flex:1;min-height:150px;overflow-y:auto;overscroll-behavior:contain;padding:13px 4px 17px;scrollbar-color:#cdd7dd transparent;scrollbar-width:thin}.message-row{display:flex;align-items:flex-end;gap:9px;margin:0 0 19px;max-width:90%}.message-row.user{margin-left:auto;justify-content:flex-end}.mini-avatar{background:var(--yellow);color:var(--navy);width:26px;height:26px;display:grid;place-items:center;border-radius:9px;font-size:13px;font-weight:900;flex:none}.message-content{min-width:0}.bubble{background:#fff;border:1px solid #e4e9e9;border-radius:16px 16px 16px 4px;padding:12px 15px;box-shadow:0 4px 14px rgba(17,48,82,.04);line-height:1.53;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}.user .bubble{background:var(--navy);color:white;border-color:var(--navy);border-radius:16px 16px 4px 16px}.message-meta{font-size:10px;color:#8a9aa5;margin:6px 2px 0}.user .message-meta{text-align:right}.quote-card{background:#fff;border:1px solid #d9e2e6;border-radius:17px;box-shadow:0 8px 30px rgba(13,44,71,.06);overflow:hidden;max-width:400px;margin-top:9px}.quote-top{background:#fbe7a0;padding:14px 17px;display:flex;justify-content:space-between;align-items:center;color:var(--navy);font-weight:800}.quote-top small{font-size:10px;background:#fff7d8;padding:5px 7px;border-radius:4px}.quote-body{padding:14px 17px}.quote-line{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px;font-size:12px}.quote-line span:first-child{color:#677786}.quote-line strong{text-align:right}.quote-total{border-top:1px solid var(--line);display:flex;justify-content:space-between;padding-top:12px;margin-top:11px;font-size:17px;font-weight:900;color:var(--navy)}.quote-foot{color:#6d7e8a;font-size:11px;line-height:1.45;margin:12px 0 0}.quick-actions{display:flex;gap:8px;overflow-x:auto;padding:1px 0 8px;scrollbar-width:thin}.quick-actions button{border:1px solid #cad9df;background:#fff;color:var(--blue);font-size:12px;font-weight:700;border-radius:999px;padding:9px 12px;white-space:nowrap}.quick-actions button:hover{background:var(--yellow-soft);border-color:#e6c45a}.status{min-height:19px;color:var(--blue);font-size:12px;padding:0 3px 4px}.status.error{color:#ad3c3c}.composer{display:flex;align-items:flex-end;gap:8px;background:#fff;border:1px solid #cbd9df;border-radius:17px;padding:7px;box-shadow:0 9px 28px rgba(16,50,79,.07)}.composer:focus-within{border-color:#d2a72d}.composer textarea{border:0;outline:0;resize:none;min-height:38px;max-height:120px;overflow:auto;flex:1;background:transparent;color:var(--ink);padding:10px 6px 7px;font-size:14px;line-height:1.45}.composer textarea:focus-visible{outline:none}.composer-icon,.send-button{display:grid;place-items:center;width:38px;height:38px;flex:none;border:0;border-radius:11px}.composer-icon{background:#f1f5f6;color:var(--blue)}.composer-icon.recording{background:#fce8e7;color:var(--red);animation:pulse 1.2s infinite}.composer-icon:disabled{opacity:.5;cursor:not-allowed}.composer-icon svg,.send-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.send-button{background:var(--yellow);color:var(--navy)}.send-button:hover{background:#ebbd25}.send-button:disabled{opacity:.5;cursor:not-allowed}.composer-hint{margin:8px 3px 0;color:#8a98a1;font-size:10px}.catalog{overflow-y:auto;background:#fff;padding:31px clamp(17px,2vw,32px)}.catalog-heading{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.catalog h2{font-size:22px;line-height:1.14;letter-spacing:-.035em;color:var(--navy);margin:7px 0 0}.demo-stamp{font-size:9px;font-weight:900;color:#ac4643;border:1px solid #e8b6b4;padding:5px 6px;transform:rotate(7deg);margin-top:3px}.catalog-lead{color:var(--muted);line-height:1.45;font-size:12px;margin:10px 0 21px}.catalog-list{display:grid;gap:11px}.product{display:flex;align-items:center;gap:10px;border:1px solid #e2e9eb;background:#fff;border-radius:15px;padding:9px;min-width:0}.product-image{height:64px;width:68px;border-radius:10px;display:grid;place-items:center;flex:none;background:#ecf1f3}.product-image img{width:55px;height:55px;object-fit:contain}.product-info{min-width:0;flex:1}.product-info strong{display:block;font-size:12px;line-height:1.24;color:var(--navy)}.product-info span{display:block;color:var(--muted);font-size:10px;line-height:1.3;margin:4px 0 5px}.product-info b{color:#9b6c00;font-size:11px}.product button{border:0;background:var(--yellow-soft);color:var(--navy);font-weight:900;border-radius:8px;height:28px;width:28px;flex:none}.catalog-note{display:flex;gap:9px;padding:17px 0 0;color:#7c8c98;font-size:11px;line-height:1.4}.note-icon{display:grid;place-items:center;width:17px;height:17px;flex:none;border:1px solid #9badb6;border-radius:50%;font-size:11px;font-weight:700}.settings-dialog{border:0;padding:0;background:transparent;max-width:min(460px,calc(100vw - 28px));width:100%;color:var(--ink)}.settings-dialog::backdrop{background:rgba(5,24,42,.67);backdrop-filter:blur(4px)}.settings-card{background:white;border-radius:23px;padding:26px 28px 27px;box-shadow:0 25px 80px rgba(0,0,0,.24)}.dialog-top{display:flex;justify-content:space-between;align-items:start}.dialog-emblem{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--yellow);color:var(--navy);font-size:25px}.close-button{font-size:28px;line-height:1;border:0;background:transparent;color:#6c7b89}.settings-card .eyebrow{margin-top:20px}.settings-card h2{font-size:29px;line-height:1.1;letter-spacing:-.045em;margin:8px 0 10px;color:var(--navy)}.settings-card>p:not(.key-help){font-size:13px;line-height:1.5;color:#657788}.settings-card label{display:block;font-weight:800;font-size:12px;margin:20px 0 8px}.key-field{display:flex;border:1px solid #bdccd3;border-radius:11px;overflow:hidden}.key-field input{border:0;outline:0;min-width:0;flex:1;padding:12px;font-size:13px}.key-field button{border:0;background:#edf3f5;color:var(--navy);font-size:11px;font-weight:800;padding:0 11px}.key-help{font-size:11px;line-height:1.5;color:#6e7d89;margin:10px 0 17px}.dialog-error{background:#fff0ef;color:#ab3837;border-radius:9px;padding:10px;font-size:12px;margin-bottom:12px}.primary-button{background:var(--yellow);color:var(--navy);border:0;border-radius:11px;padding:13px 16px;width:100%;font-size:13px;font-weight:900}.text-button,.logout-button{display:block;border:0;background:none;width:100%;font-size:12px;font-weight:700;color:var(--blue);padding:14px 4px 0}.logout-button{color:#aa4541;border-top:1px solid var(--line);margin-top:17px;padding-top:17px}@keyframes pulse{50%{box-shadow:0 0 0 6px rgba(201,81,77,.14)}}@media(max-width:1050px){.site-shell{grid-template-columns:290px minmax(0,1fr)}.workspace-grid{grid-template-columns:minmax(0,1fr)}.catalog{display:none}.showcase{padding:27px}.showcase h1{font-size:40px}.hero-art{margin:20px -6px}.topbar{padding:0 22px}}@media(max-width:700px){.site-shell{display:block}.showcase{min-height:auto;padding:14px 18px 13px;display:block}.brand,.sidebar-footer,.showcase-content h1,.showcase-content>p,.hero-art{display:none}.showcase-content{padding:0;margin:0}.showcase .eyebrow{font-size:10px}.showcase-bottom{font-size:10px;margin-top:3px}.workspace{max-height:none;min-height:calc(100dvh - 50px)}.topbar{height:63px;min-height:63px;padding:0 15px}.mobile-brand{display:none}.workspace-grid{flex:1;min-height:0}.chat-panel{min-height:calc(100dvh - 113px);padding:0 13px 12px;border:0}.messages{min-height:240px}.message-row{max-width:94%}.mode-badge{font-size:10px;padding:7px 9px}.assistant-identity span:not(.avatar span){font-size:11px}.catalog{display:none}.composer-hint{font-size:9px}}@media(max-height:690px) and (min-width:701px){.showcase-content{padding:20px 0}.hero-art{max-height:210px}.hero-art img{max-height:210px}.showcase h1{font-size:37px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* widget.css */
:root{font-family:"Segoe UI",Arial,sans-serif;color:#eaf4ff;background:#0b2343}html,body{height:100%;min-height:0;margin:0;overflow:hidden}body{min-width:0}.site-shell{display:block;height:100%;min-height:0}.showcase,.catalog,.mobile-brand,.sidebar-footer{display:none!important}.workspace{height:100%;min-height:0;max-height:none}.topbar{height:65px;min-height:65px;padding:0 52px 0 14px;background:#10345a;border:0}.assistant-identity strong{color:#fff;font-size:14px}.assistant-identity span:not(.avatar span){color:#c5d8e9;font-size:10px}.avatar{width:40px;height:40px;border-radius:50%;background:#ffdf00}.header-actions{gap:5px}.mode-badge{font-size:9px;padding:5px 6px;white-space:normal;max-width:80px;text-align:center}.icon-button{width:34px;height:34px;border-radius:50%;background:#1b4872;color:#fff;border-color:#527494}.workspace-grid{display:block;flex:1;min-height:0}.chat-panel{height:100%;min-height:0;border:0;padding:0 10px 8px;background-color:#0b2647;background-image:radial-gradient(circle at 18% 25%,#ffffff08 1px,transparent 2px),radial-gradient(circle at 78% 70%,#ffffff08 1px,transparent 2px);background-size:40px 40px,56px 56px}.chat-intro{padding:11px 0 0;color:#adc4d8}.messages{padding:10px 3px;min-height:80px}.message-row{max-width:90%;margin-bottom:12px}.message-row.user{max-width:90%}.mini-avatar{width:23px;height:23px;border-radius:50%;font-size:11px}.bubble{background:#1b4268;border:0;color:#eff7ff;border-radius:14px 14px 14px 4px;font-size:12px;padding:10px 12px;box-shadow:0 2px 5px #00112650}.user .bubble{background:#145447;color:#fff;border-radius:14px 14px 4px 14px}.message-meta{color:#9cb8cc;font-size:9px}.quick-actions{padding:2px 0 5px;gap:6px}.quick-actions button{font-size:10px;background:#123c62;border-color:#50799b;color:#fff;padding:7px 10px}.status{min-height:14px;font-size:10px;color:#c7e4f3}.status.error{color:#ffb9b4}.composer{gap:5px;padding:5px;border-radius:23px;background:#143754;border-color:#41627c;box-shadow:none}.composer textarea{color:#fff;font-size:12px;min-height:37px;padding:9px 3px}.composer textarea::placeholder{color:#b1c4d1}.composer-icon{background:transparent;color:#c6dbe7;width:34px;height:34px}.attach-button{font-size:27px;font-weight:300}.send-button{width:35px;height:35px;border-radius:50%;background:#ffdf00}.composer-hint{font-size:9px;line-height:1.4;color:#a5bccc;margin:6px 4px 0}.settings-dialog{max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);overflow:auto}.settings-card{padding:20px;background:#fff;color:#17324b}.settings-card h2{font-size:23px}.settings-card .eyebrow{margin-top:12px}.key-help{font-size:10px}.attachment-preview{position:relative;display:flex;align-items:center;gap:8px;background:#1c4262;color:#fff;padding:7px 9px;border-radius:12px;margin:0 0 6px;font-size:10px}.attachment-preview img,.attachment-preview video{width:48px;height:48px;object-fit:cover;border-radius:7px}.attachment-preview span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-preview button{border:0;background:#335a77;color:white;border-radius:50%;height:26px;width:26px}.bubble img,.bubble video{display:block;max-width:100%;max-height:190px;border-radius:8px;margin:0 0 6px}.bubble audio{display:block;max-width:210px;width:100%;height:35px;margin-bottom:7px}.quote-card{color:#17324b}.quote-top{font-size:12px}.quote-body{padding:10px}.quote-total{font-size:14px}@media(max-width:360px){.mode-badge{display:none}.composer-hint{font-size:8px}}

/* ajustes.css */
[hidden]{display:none!important}.quick-actions{scrollbar-width:none}.quick-actions::-webkit-scrollbar{display:none}.attachment-preview span{color:#fff}.voice-preview audio{width:105px;height:30px;flex:none}.messages{scroll-behavior:smooth}@media(prefers-reduced-motion:reduce){.messages{scroll-behavior:auto}}

/* elisa-premium.css */
@font-face{font-family:Poppins;src:url('poppins-latin-400-normal.woff2') format('woff2');font-weight:400;font-display:swap}@font-face{font-family:Poppins;src:url('poppins-latin-700-normal.woff2') format('woff2');font-weight:700;font-display:swap}
*,button,input,textarea{box-sizing:border-box}body,button,input,textarea{font-family:Poppins,Arial,sans-serif}
html,body{height:100%;overflow:hidden;background:#031127}.site-shell,.workspace{height:100%;min-height:0}.workspace{display:flex;flex-direction:column}.topbar{order:0;min-height:82px;height:auto;padding:12px 52px 12px 16px;background:#06172e;border-bottom:1px solid #e8bd4577}
.assistant-identity{gap:12px}.avatar{width:57px;height:57px;overflow:hidden;background:#092542;border:2px solid #ffce39;box-shadow:0 0 14px #ffce3933}.avatar img{width:100%;height:100%;object-fit:cover}.assistant-identity strong{font-size:18px}.assistant-identity span:not(.avatar span){font-size:10px}.sparkle{color:#f6ca42}.header-actions{margin-left:auto}.mode-badge{font-size:9px}.workspace-grid{flex:1;min-height:0;overflow:hidden}.chat-panel{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden;background:#06172d;padding:0 13px 10px}
.chat-brand{display:flex;align-items:center;gap:9px;padding:11px 2px;border-bottom:1px solid #ffce3933;flex:none}.chat-brand img{width:32px;height:32px}.chat-brand b{display:block;color:#fff;font-size:13px;line-height:1.2}.chat-brand small{color:#ffd32d;font-weight:700;font-size:9px;letter-spacing:.12em}
.geo-panel{flex:none;margin:9px 0 0;border:1px solid #51718a;background:#112c49;border-radius:12px;padding:9px 11px;color:#dce8f2;font-size:9px;line-height:1.45}.geo-panel strong,.geo-panel span{display:block}.geo-panel strong{font-size:10px;color:#fff;margin-bottom:3px}.geo-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:5px}.geo-actions button,.geo-actions a{border:0;background:transparent;padding:3px 0;color:#ffdb49;text-decoration:underline;font-size:10px;cursor:pointer}.geo-actions [hidden]{display:none}
.chat-intro{padding:7px 0 0;flex:none}.messages{flex:1 1 0;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:10px 3px;scrollbar-color:#bfa047 transparent}.message-row{max-width:95%}.bubble{background:#152d50;color:#fff;border:1px solid #466384;border-radius:15px 15px 15px 4px;line-height:1.55}.user .bubble{background:#1551a0;border-color:#3277cb;border-radius:15px 15px 4px 15px}.mini-avatar{background:#0a2445;border:1px solid #ffcf37;color:#ffcf37}.quick-actions{flex:none;overflow-x:auto}.quick-actions button{border-color:#bb9138;background:#102b4b;color:#fff}.status{flex:none}.composer{flex:none;border:1px solid #edc64d;background:#0c213b;border-radius:26px}.composer textarea{font-size:12px;color:white}.send-button{background:#ffcb2f;color:#071a31}.composer-hint{flex:none;color:#adbed0}
@media(max-height:600px){.chat-brand{display:none}.geo-panel{font-size:8px;padding:6px 8px}.topbar{min-height:65px}.avatar{width:45px;height:45px}.composer-hint{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.chat-shortcuts{display:flex;gap:8px;flex:none;padding:8px 0 0}.chat-shortcuts a{flex:1;text-align:center;padding:8px;border:1px solid #a4833b;border-radius:10px;background:#102949;color:#fff;font-size:10px;font-weight:700;text-decoration:none}.chat-shortcuts a:focus-visible,.geo-actions button:focus-visible,.geo-actions a:focus-visible{outline:2px solid #ffcf37;outline-offset:2px}

.geo-compact{display:flex;align-items:center;gap:7px;flex:none;color:#bfd2dd;font-size:9px;padding:7px 1px 1px}.geo-compact[hidden],.geo-panel[hidden]{display:none}.geo-live-dot{width:6px;height:6px;border-radius:50%;background:#6fcaa0}.geo-compact button{border:0;background:none;color:#f7d35e;font:inherit;padding:3px;cursor:pointer}.geo-compact button:focus-visible{outline:2px solid #ffcf37}.chat-shortcuts a{display:flex;align-items:center;justify-content:center;gap:7px;transition:background .2s,border-color .2s,transform .2s}.chat-shortcuts svg,.settings-button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s}.chat-shortcuts svg{color:#f4d568}.chat-shortcuts a:hover{background:#163858;border-color:#e2c56b}.chat-shortcuts a:hover svg{transform:translateY(-2px)}.settings-button{background:#102d49;border:1px solid #6e8192;color:#e7edf3}.settings-button:hover{background:#1a405e;border-color:#e4c35f}.settings-button:hover svg{transform:rotate(12deg)}
@media(prefers-reduced-motion:reduce){.settings-button svg,.chat-shortcuts svg,.chat-shortcuts a{transition:none!important}}

/* Cabeçalho unificado: identidade, estado e configuração sem duplicar a marca. */
.topbar{display:flex;align-items:center;gap:8px;min-height:92px;padding:13px 54px 13px 15px;background:linear-gradient(120deg,#102f50,#071b34);border-bottom:1px solid #ad934b80}
.assistant-identity{min-width:0;flex:1;display:flex;align-items:center;gap:11px}
.avatar{width:52px;height:52px;flex:none;border-width:1px;box-shadow:0 0 0 3px #f1c84c1c}
.assistant-copy{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:2px}
.assistant-copy strong{font-size:16px;line-height:1.2;color:#fff}.assistant-identity .assistant-copy>span:not(.mode-badge){font-size:10px;line-height:1.35;color:#c7d8e6;white-space:normal}
.assistant-identity .assistant-copy .mode-badge{display:inline-flex;max-width:none;white-space:nowrap;font-size:9px;line-height:1.3;padding:0;border:0;background:transparent;color:#e5c85d;font-weight:600;text-align:left}
.header-actions{flex:none;margin:0}.settings-button{width:34px;height:34px;border-radius:11px;background:#153957}
.workspace-grid{min-height:0}.chat-panel{min-height:0}
@media(max-width:350px){.topbar{gap:5px;padding-left:10px;padding-right:49px}.avatar{width:44px;height:44px}.assistant-copy strong{font-size:14px}.assistant-identity .assistant-copy>span:not(.mode-badge){font-size:9px}.assistant-identity .assistant-copy .mode-badge{font-size:8px}}
@media(max-height:600px){.topbar{min-height:70px;padding-block:8px}.avatar{width:43px;height:43px}}

/* Ferramentas de conversa com acabamento coerente e alvos confortáveis. */
.composer{align-items:flex-end;gap:6px;padding:6px;background:#0b203a;border:1px solid #b59955;border-radius:20px;box-shadow:0 8px 22px #0003}
.composer textarea{flex:1;min-width:0;min-height:42px;padding:11px 4px 7px;line-height:1.4}
.composer .composer-icon,.composer .send-button{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:14px;padding:0;transition:background .18s,transform .18s,border-color .18s}
.composer .composer-icon{color:#d7e5ef;background:#173652;border:1px solid #51718a}
.composer .composer-icon:hover{background:#245278;border-color:#d8bc66}
.composer .composer-icon svg,.composer .send-button svg{width:20px;height:20px;display:block;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.composer .send-button{color:#09213c;background:linear-gradient(145deg,#ffe06a,#f3b91b);border:1px solid #ffe58b;box-shadow:0 3px 0 #94731a}
.composer button:active{transform:translateY(2px)}.composer button:focus-visible{outline:2px solid #fff;outline-offset:2px}
.chat-panel{padding-bottom:max(10px,env(safe-area-inset-bottom))}
.geo-compact span:nth-child(2){min-width:0;overflow-wrap:anywhere}
@media(max-width:350px){.composer{gap:4px;padding:5px}.composer .composer-icon,.composer .send-button{width:38px;height:38px;border-radius:12px}.composer textarea{font-size:11px}}
@media(prefers-reduced-motion:reduce){.composer .composer-icon,.composer .send-button{transition:none}.composer button:active{transform:none}}

/* Sem realce azul no toque; o foco de teclado continua visível. */
*{-webkit-tap-highlight-color:transparent}
:where(a,button,input,textarea,select,summary,[tabindex]):focus:not(:focus-visible){outline:none}

/* Mensagens e controles acompanham a identidade do site. */
.topbar{box-shadow:0 8px 22px #0003}.bubble{box-shadow:0 6px 18px #0002;animation:message-enter .22s ease-out both}.user .bubble{background:linear-gradient(135deg,#1957a5,#104286);border-color:#4c83bf}.quick-actions button{transition:background .2s,border-color .2s,transform .2s}.quick-actions button:hover{background:#1b4368;border-color:#f1ce61}.quick-actions button:active{transform:translateY(1px)}
@keyframes message-enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.bubble{animation:none}.quick-actions button{transition:none}}

/* Sem escurecer os controles ao tocar ou passar o mouse. */
.composer .composer-icon:hover,.composer .composer-icon:active{background:#173652;color:#d7e5ef;filter:none;opacity:1}
.composer .send-button:hover,.composer .send-button:active{background:linear-gradient(145deg,#ffe06a,#f3b91b);color:#09213c;filter:none;opacity:1}
.chat-shortcuts a:hover,.chat-shortcuts a:active{background:#102949;color:#fff;filter:none;opacity:1}
.quick-actions button:hover,.quick-actions button:active{background:#102b4b;color:#fff;filter:none;opacity:1}
.settings-button:hover,.settings-button:active{background:#153957;color:#e7edf3;filter:none;opacity:1}

.handoff-link{display:inline-flex;align-items:center;justify-content:center;max-width:100%;min-height:42px;margin:8px 0 0;padding:10px 15px;border:1px solid #8cdbad;border-radius:999px;background:#146642;color:#fff;font-size:11px;font-weight:700;line-height:1.35;text-align:center;text-decoration:none;box-shadow:0 3px 0 #073b29}.handoff-link:focus-visible{outline:2px solid #ffdf69;outline-offset:3px}.handoff-link:active{transform:translateY(2px)}
@media(prefers-reduced-motion:reduce){.handoff-link:active{transform:none}}

/* A conversa recebe o mesmo acabamento de luz e metal da página. */
.topbar{position:relative;isolation:isolate;background:linear-gradient(110deg,#12395a,#061a33 72%);box-shadow:0 10px 28px #0007}
.topbar:after{content:"";position:absolute;left:16px;right:52px;bottom:0;height:1px;background:linear-gradient(90deg,#f5d466,#f5d46650,transparent);pointer-events:none}
.avatar{border-color:#f7d567;box-shadow:0 0 0 4px #f8d6561c,0 8px 18px #0007}
.assistant-copy strong{letter-spacing:-.025em;text-shadow:0 2px 9px #0008}
.mode-badge{color:#f2d779!important}
.settings-button{border-color:#718fa5;box-shadow:0 2px 0 #071a30,0 6px 13px #0006,inset 0 1px #ffffff28}
.settings-button:active{transform:translateY(2px)}
.composer{border-color:#e4bf63;box-shadow:0 0 0 3px #e6c15012,0 10px 25px #0008,inset 0 1px #ffffff18}
.composer:focus-within{border-color:#ffe175;box-shadow:0 0 0 3px #f4d0642b,0 12px 29px #0009}
.composer .composer-icon{border-color:#759ab0;background:linear-gradient(145deg,#23537a,#12334f);box-shadow:0 3px 0 #07192e,0 7px 12px #0006,inset 0 1px #ffffff28}
.composer .composer-icon:hover,.composer .composer-icon:active{background:linear-gradient(145deg,#23537a,#12334f);border-color:#e4c362}
.composer .send-button{box-shadow:0 4px 0 #8c6810,0 8px 16px #0008,inset 0 1px #fff9}
.chat-shortcuts a{border-color:#9e813d;box-shadow:0 3px 0 #06172c,0 8px 14px #0005,inset 0 1px #ffffff17}
@media(prefers-reduced-motion:reduce){.settings-button:active{transform:none}}

/* liquid-chat.css */
.topbar{background:linear-gradient(120deg,#1b4260dc,#071c35f5)!important;backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);border-bottom-color:#f1ce7277;box-shadow:inset 0 1px #ffffff24,0 12px 28px #0008}
.chat-panel{background:radial-gradient(ellipse at 50% -10%,#18446755,transparent 55%),#06172d}.bubble{background:linear-gradient(150deg,#23506eae,#102c4be8)!important;border-color:#a4c4d37a!important;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:inset 0 1px #ffffff24,0 8px 19px #0005!important}.user .bubble{background:linear-gradient(145deg,#236bc3,#164b91)!important;border-color:#8dbef1a3!important}.composer{background:#173754d9!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-color:#f7d986!important;box-shadow:inset 0 1px #ffffff2c,0 12px 27px #0008!important}.quick-actions button,.chat-shortcuts a,.geo-panel,.settings-button{background:linear-gradient(145deg,#25516caa,#0f2c4cdb)!important;backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);border-color:#a8c6d875!important;box-shadow:inset 0 1px #ffffff25,0 7px 17px #0004}.quick-actions button,.chat-shortcuts a,.composer button,.settings-button{transition:transform .25s cubic-bezier(.22,1,.36,1),border-color .25s,box-shadow .25s}.quick-actions button:hover,.chat-shortcuts a:hover,.composer button:hover,.settings-button:hover{transform:translateY(-2px);border-color:#f5d878!important;box-shadow:inset 0 1px #ffffff4b,0 10px 20px #0007}.quick-actions button:active,.composer button:active,.settings-button:active{transform:translateY(1px)}.settings-button:hover svg{transform:rotate(35deg)}
@media(prefers-reduced-motion:reduce){.quick-actions button,.chat-shortcuts a,.composer button,.settings-button{transition:none}.quick-actions button:hover,.chat-shortcuts a:hover,.composer button:hover,.settings-button:hover{transform:none}}

/* Resposta tátil discreta nas ações da conversa. */
.composer .send-button svg,.composer .composer-icon svg{transition:transform .34s cubic-bezier(.22,1,.36,1)}
.composer .send-button:hover svg,.composer .send-button:focus-visible svg{transform:translate(2px,-2px) rotate(-8deg)}
.composer .composer-icon:hover svg,.composer .composer-icon:focus-visible svg{transform:scale(1.08)}
.attachment-preview:not([hidden]){animation:chat-attachment-in .34s cubic-bezier(.22,1,.36,1) both}
.geo-panel:not([hidden]){animation:chat-panel-in .38s cubic-bezier(.22,1,.36,1) both}
@keyframes chat-attachment-in{from{opacity:0;transform:translateY(7px) scale(.98)}to{opacity:1;transform:none}}
@keyframes chat-panel-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.composer .send-button svg,.composer .composer-icon svg{transition:none!important;transform:none!important}.attachment-preview:not([hidden]),.geo-panel:not([hidden]){animation:none!important}}

/* Elisa usa a mesma linguagem de metal e vidro, com controles legíveis. */
.topbar::after{background:linear-gradient(90deg,#f5d469 0 44px,#d7e8ef9e 44px 80px,transparent 80px)!important}.bubble{border-radius:13px 13px 13px 4px}.user .bubble{border-radius:13px 13px 4px 13px}.composer{border-radius:18px}.composer .composer-icon,.composer .send-button{border-radius:11px}.quick-actions button,.chat-shortcuts a{border-radius:9px}.messages{scrollbar-width:thin}.quick-actions button{font-size:11px}.chat-shortcuts a{font-size:11px}
.bubble{font-size:13px;line-height:1.55}.message-meta{font-size:10px}.geo-panel{font-size:10px}.geo-panel strong{font-size:11px}.status{font-size:11px}.composer-hint{font-size:10px}.assistant-identity .assistant-copy .mode-badge{font-size:10px}.chat-intro{font-size:10px}
/* Toque sem marca azul; o foco por teclado continua indicado. */
:where(a,button,summary,[role="button"],[tabindex]){-webkit-tap-highlight-color:transparent!important}
:where(a,button,summary,[role="button"]){-webkit-user-select:none;user-select:none;touch-action:manipulation}
:root[data-input-mode="pointer"] :where(a,button,input,textarea,select,summary,[role="button"],[tabindex]):focus-visible{outline:none!important}

html,body,*{-webkit-tap-highlight-color:transparent}
*::selection{background:#f5d86a30;color:inherit}
*::-moz-selection{background:#f5d86a30;color:inherit}
img,svg{-webkit-user-drag:none;user-select:none;-webkit-user-select:none}
:where(a,button,summary,[role="button"],[tabindex]):focus:not(:focus-visible){outline:0!important}

/* O atendimento abre direto na conversa; controles técnicos ficam discretos. */
.chat-intro{display:none}
.settings-button{opacity:.72}.settings-button:hover,.settings-button:focus-visible{opacity:1}
.composer-hint{font-size:11px;line-height:1.45}
@media(max-width:760px){.assistant-identity .assistant-copy .mode-badge{font-size:11px}.geo-panel{font-size:12px}.quick-actions button,.chat-shortcuts a{min-height:44px;font-size:12px}.composer .composer-icon,.composer .send-button{min-width:44px;min-height:44px}}
@media(max-width:760px){.quick-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;overflow:visible;padding:0 0 8px}.quick-actions button{min-width:0;width:100%;white-space:normal;text-align:center;line-height:1.25;padding:8px 7px}.composer-hint{margin:7px 3px 0}}

/* A conversa segue a tipografia e o contraste das páginas comerciais. */
body,button,input,textarea{font-family:"Plus Jakarta Sans",Poppins,Arial,sans-serif}
.showcase h1{font-family:"Plus Jakarta Sans",Poppins,sans-serif;letter-spacing:-.06em}
.assistant-identity strong,.brand{font-family:"Plus Jakarta Sans",Poppins,sans-serif;letter-spacing:-.035em}
.topbar{border-bottom-color:#ffd33f5e;box-shadow:inset 0 1px #ffffff28,0 9px 26px #0007}
.assistant-identity .avatar{box-shadow:0 0 0 2px #e8c15b,0 8px 18px #0008}
.bubble{line-height:1.62;border-color:#7399b68c!important;box-shadow:inset 0 1px #ffffff25,0 8px 18px #0005!important}
.user .bubble{border-color:#86b7ebaa!important}
.quick-actions button,.chat-shortcuts a{min-height:39px;border-radius:12px;font-weight:700}
.composer{border-color:#ffdf72!important;box-shadow:inset 0 1px #ffffff3a,0 11px 26px #0008!important}
.composer .send-button{box-shadow:inset 0 1px #fff9,0 3px 0 #8c640c}
.settings-button,.composer .composer-icon{border-color:#8fb8ca8c}
:is(.quick-actions button,.chat-shortcuts a,.settings-button,.composer button):focus-visible{outline:2px solid #ffdc62;outline-offset:3px}
@media(max-width:700px){.bubble{font-size:12.5px}.topbar{box-shadow:inset 0 1px #ffffff24,0 5px 15px #0006}}
@media(prefers-reduced-motion:reduce){.quick-actions button,.chat-shortcuts a,.composer button,.settings-button{transition:none!important;transform:none!important}}

/* A mesma linguagem de luz e metal na navegação, serviços e assistente. */
:root{--identity-gold:#ffd453;--identity-border:#83b4cb80}
:is(.brand img,.detail-brand img,.opening-mark img){object-fit:contain;aspect-ratio:1;filter:drop-shadow(0 5px 8px #0006)}
:is(.brand,.detail-brand){align-items:center;min-width:0}
:is(.brand b,.detail-brand strong){line-height:1.05;letter-spacing:-.035em;color:#fff;text-shadow:0 1px 12px #cceeff16}
:is(.brand small,.detail-brand small){line-height:1.2;color:var(--identity-gold)}
.about-sign img{max-width:100%;height:auto;object-fit:contain}
:is(.quick-nav-icon,.menu-group-icon,.guide-mark,.service-card-icon,.about-location-icon,.pin-symbol){color:var(--identity-gold);border:1px solid var(--identity-border);background:linear-gradient(145deg,#17415e,#0a253c 78%);box-shadow:inset 0 1px 0 #d6efff32,0 5px 13px #0004}
:is(.quick-nav-icon,.guide-mark,.about-location-icon,.pin-symbol){display:grid;place-items:center;flex:none}
:is(.quick-nav-icon,.guide-mark,.service-card-icon,.about-location-icon,.pin-symbol) svg{display:block;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 2px 3px #0007)}
.quick-nav-icon{width:48px;height:48px;border-radius:15px}.quick-nav-icon svg{width:26px;height:26px;stroke-width:1.8}
.guide-mark{width:48px;height:48px;border-radius:15px}.guide-mark svg{width:24px;height:24px}
.service-card-icon{width:40px;height:40px;border-radius:13px}.service-card-icon svg{width:23px;height:23px}
.menu-group-icon svg{width:17px;height:17px}.benefit svg{stroke-linecap:round;stroke-linejoin:round}
.service-quote svg{width:16px;height:16px;flex:none;stroke:currentColor}.service-quote{gap:7px}
.header-whatsapp svg,.commercial-wa-icon,.commercial-whatsapp svg{display:block;flex:none;align-self:center}.commercial-whatsapp{gap:10px}
.identity-whatsapp{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.head-contact .identity-whatsapp{display:none}
.brand-mark{background:linear-gradient(145deg,#18445f,#091e35);border-color:#84afc37a;box-shadow:inset 0 1px #fff3,0 5px 13px #0005}
.brand-mark svg{color:#ffd453;stroke:#ffd453;filter:drop-shadow(0 2px 3px #0008)}
.brand-mark img{display:block;width:100%;height:100%;object-fit:contain}
.composer .composer-icon,.settings-button{background:linear-gradient(145deg,#1b4967,#0b293f);border:1px solid #7ea6ba90;color:#e7f5fc;box-shadow:inset 0 1px #fff2}
.composer .attach-button{color:#ffe076;border-color:#d7b85d90}
.composer .send-button{color:#071b30;background:linear-gradient(145deg,#fff093,#ffd33f 62%,#edae08);border:1px solid #ffe9a1;box-shadow:inset 0 1px #fff9,0 3px 0 #957014}
:is(.composer .composer-icon,.composer .send-button,.settings-button) svg{display:block;margin:auto;flex:none}
:is(.quick-nav-icon,.guide-mark,.service-card-icon) svg{transition:transform .24s ease,filter .24s ease}
@media(hover:hover) and (pointer:fine){:is(.quick-nav-links a,.guide-card,.service-card):hover :is(.quick-nav-icon,.guide-mark,.service-card-icon) svg{transform:translateY(-2px);filter:drop-shadow(0 2px 5px #ffcf544d)}}
@media(max-width:760px){.quick-nav-icon{width:40px;height:40px;border-radius:13px}.quick-nav-icon svg{width:23px;height:23px}.guide-mark{width:43px;height:43px;border-radius:13px}.guide-mark svg{width:22px;height:22px}.service-card-icon{width:36px;height:36px}.service-card-icon svg{width:20px;height:20px}}

@media(max-width:760px){.head-contact .identity-whatsapp{display:block;width:22px;height:22px;transform:none}}
@media(prefers-reduced-motion:reduce){:is(.quick-nav-icon,.guide-mark,.service-card-icon) svg{transition:none!important;transform:none!important}}

/* Benefícios: mesma caixa, escala e espessura para os três símbolos. */
.benefit svg{display:block;box-sizing:content-box;width:28px;height:28px;flex:none;fill:none;stroke:#ffd453;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 2px 4px #0007)}
.benefit{min-width:0;text-align:center}.benefit strong{line-height:1.25;text-wrap:balance}
@media(max-width:760px){.benefit svg{width:26px;height:26px}.benefit strong{font-size:11px;line-height:1.25}}

/* Ajustes de encaixe para telas pequenas, mantendo a composição da abertura. */
@media(max-width:760px){
  :is(.header-inner,.hero-grid,.auto-showcase-grid,.problem-guide-inner,.section-heading,.location-card,.contact-inner,.footer-grid,.catalog-header,.catalog-controls,.service-hero,.guide-grid,.steps-grid,.prepare){min-width:0}
  :is(.category-grid,.services-grid,.choice-grid,.process-grid,.product-grid,.problem-options)>*{min-width:0}
  :is(.category-body,.service-body,.choice-copy,.location-copy,.about-copy,.footer-grid>div,.commercial-service .hero-text){min-width:0}
  :is(.category-body,.service-body,.choice-copy,.location-copy,.about-copy,.footer-grid,.commercial-service main) :is(h1,h2,h3,h4,p,address,li,strong,a,button){overflow-wrap:break-word}
  :is(.category-card,.service-card,.choice-card) :is(img,svg){max-width:100%}
  :is(.category-body,.service-body) :is(a,button){max-width:100%;white-space:normal;line-height:1.3}
  .problem-options button{min-width:0;height:auto;align-items:flex-start}
  .problem-options button span{min-width:0}
  .problem-options strong{overflow-wrap:break-word;line-height:1.3}
  .quick-nav-links a{min-width:0}.quick-nav-links strong{line-height:1.25;overflow-wrap:break-word}
  .auto-showcase-grid,.commercial-service .service-hero{min-width:0}
  .auto-copy h2,.commercial-service .service-hero h1{overflow-wrap:break-word}
  .auto-visual img{max-width:100%;height:auto}
  .location-card iframe{max-width:100%}
  .commercial-region ul{max-width:100%}.commercial-region li{max-width:100%;overflow-wrap:break-word}
  .footer-grid a,.footer-grid address{overflow-wrap:anywhere}
  .details-dialog,.service-dialog{max-width:calc(100% - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain}
  .ai-chat-dialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;inset:0;margin:0;border-radius:0}
  .ai-contact-panel:not([hidden]){max-height:calc(100dvh - 115px - env(safe-area-inset-bottom));overflow-y:auto}
  .mobile-menu:not([hidden]){overscroll-behavior:contain}
  .commercial-service .detail-mobile-panel{max-width:calc(100vw - 32px);overscroll-behavior:contain}
  .commercial-service .hero-actions a{min-width:0;white-space:normal}
  .workspace,.assistant-identity,.assistant-copy,.messages,.composer{min-width:0}
  .composer textarea{min-width:0;max-width:100%}
}
@media(max-width:350px){
  .header-inner{gap:4px}.brand{gap:5px}.brand img{width:34px;height:34px}.brand b{font-size:10px}.brand small{font-size:6.5px}
  .header-controls{gap:4px}.header-controls>a,.header-controls>button{width:40px;height:40px;min-width:40px;min-height:40px}
  .category-grid,.services-grid,.choice-grid,.process-grid,.product-grid{gap:8px}
  .category-body,.service-body{padding-inline:11px}
  .commercial-service .wrap{width:calc(100% - 28px)}
}

/* Movimento funcional: entradas discretas e resposta direta às ações. */
:root{--motion-ease:cubic-bezier(.22,1,.36,1)}
.motion-ready :is(.auto-copy,.auto-visual,.reserve-callout,.service-benefits li,.service-common-question,.commercial-region).motion-target{transition:opacity .55s var(--motion-ease),transform .6s var(--motion-ease);transition-delay:var(--enter-delay,0ms)}
.motion-ready :is(.auto-copy,.auto-visual,.reserve-callout,.service-benefits li,.service-common-question,.commercial-region).motion-target:not(.is-visible){opacity:0;transform:translateY(12px)}
.motion-ready :is(.auto-copy,.auto-visual,.reserve-callout,.service-benefits li,.service-common-question,.commercial-region).motion-target.is-visible{opacity:1;transform:translateY(0)}
:is(.button,.primary,.secondary,.service-body button,.category-action,.head-contact,.composer button){transition:transform .2s var(--motion-ease),box-shadow .2s ease,border-color .2s ease}
:is(.button,.primary,.secondary,.service-body button,.composer button):active{transform:scale(.975)}
:is(.commercial-text-link,.guide-quote,.intro-map-button) svg{transition:transform .25s var(--motion-ease)}
:is(.commercial-text-link,.guide-quote,.intro-map-button):is(:hover,:focus-visible) svg{transform:translateX(3px)}
.faq-grid details summary::after{transition:transform .24s var(--motion-ease),background-color .24s ease}
.faq-grid details[open] summary::after{transform:none}
dialog[open]:not(.ai-chat-dialog){animation:motion-dialog-in .28s var(--motion-ease) both}
.ai-chat-dialog[open] .chat-widget-frame{animation:motion-chat-in .3s var(--motion-ease) both}
.message-row{animation:motion-message-in .27s var(--motion-ease) both}
@keyframes motion-dialog-in{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes motion-chat-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes motion-message-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(hover:hover) and (pointer:fine){:is(.quick-nav-links a,.category-card,.service-card,.choice-card,.problem-options button,.guide-card){transition:transform .25s var(--motion-ease),border-color .25s ease,box-shadow .25s ease}:is(.quick-nav-links a,.category-card,.service-card,.choice-card,.problem-options button,.guide-card):hover{transform:translateY(-3px)}}
@media(hover:none){:is(.category-card,.service-card,.choice-card,.quick-nav-links a):active{transform:scale(.99);transition:transform .12s ease}}
@media(prefers-reduced-motion:reduce){
 .motion-ready :is(.auto-copy,.auto-visual,.reserve-callout,.service-benefits li,.service-common-question,.commercial-region).motion-target{opacity:1!important;transform:none!important;transition:none!important}
 :is(dialog[open],.chat-widget-frame,.message-row){animation:none!important}
 :is(.button,.primary,.secondary,.service-body button,.category-action,.head-contact,.composer button,.faq-grid details summary::after){transition:none!important;transform:none!important}
}


/* Controles de ação com contorno contínuo e retorno de toque. */
:is(.button,.primary,.secondary,.service-body button,.service-body .service-quote,.category-action,.choice-link,.feature-grid .commercial-text-link[data-commercial-quote],.ai-contact-panel>button,.ai-contact-panel>a,.chat-shortcuts a,.quick-actions button){border-radius:999px}
:is(.button,.primary,.secondary,.service-body button,.service-body .service-quote,.category-action,.feature-grid .commercial-text-link[data-commercial-quote],.ai-contact-panel>button,.ai-contact-panel>a,.chat-shortcuts a,.quick-actions button){touch-action:manipulation;transition:transform .2s cubic-bezier(.22,1,.36,1),box-shadow .2s ease,border-color .2s ease}
:is(.button,.primary,.secondary,.service-body button,.service-body .service-quote,.category-action,.feature-grid .commercial-text-link[data-commercial-quote],.ai-contact-panel>button,.ai-contact-panel>a,.chat-shortcuts a,.quick-actions button):active{transform:translateY(2px) scale(.97)}
:is(.button,.primary,.secondary,.service-body button,.service-body .service-quote,.category-action,.feature-grid .commercial-text-link[data-commercial-quote]):focus-visible{outline:2px solid #ffe48a;outline-offset:3px}
@media(prefers-reduced-motion:reduce){:is(.button,.primary,.secondary,.service-body button,.service-body .service-quote,.category-action,.feature-grid .commercial-text-link[data-commercial-quote],.ai-contact-panel>button,.ai-contact-panel>a,.chat-shortcuts a,.quick-actions button){transition:none!important;animation:none!important}:is(.button,.primary,.secondary,.service-body button,.service-body .service-quote,.category-action,.feature-grid .commercial-text-link[data-commercial-quote]):active{transform:none!important}}

/* A conversa permanece utilizável em telas estreitas e com teclado aberto. */
@media(max-width:760px){
 .workspace,.chat-panel,.messages,.assistant-identity,.assistant-copy,.composer{min-width:0}
 .topbar{padding-right:max(56px,calc(48px + env(safe-area-inset-right)))}
 .assistant-copy{overflow:hidden}.assistant-copy strong,.assistant-copy>span{max-width:100%;overflow-wrap:break-word}
 .messages{overscroll-behavior:contain}
 .composer textarea{min-width:0;max-width:100%}
 .composer .composer-icon,.composer .send-button{min-width:44px;min-height:44px;flex:none}
 .composer-hint{padding-bottom:env(safe-area-inset-bottom)}
}

/* Elisa: conversa focada, com detalhes da marca em vez de molduras repetidas. */
.workspace,.workspace-grid{min-height:0}
.topbar{min-height:84px;height:auto;padding:12px 58px 12px 14px;gap:10px;background:linear-gradient(110deg,#103652,#071c31)!important;border-bottom:1px solid #91b4c034;box-shadow:none}
.topbar::after{left:16px;right:58px;height:1px;background:linear-gradient(90deg,#ffd453 0 38px,transparent 130px)!important}
.assistant-identity{gap:11px;min-width:0}.assistant-identity .avatar{width:48px;height:48px;border:2px solid #ffd453;box-shadow:0 0 0 3px #ffd45318,0 5px 14px #0006}
.assistant-copy{gap:3px}.assistant-copy strong{font-size:16px;line-height:1.15;letter-spacing:-.025em}
.assistant-identity .assistant-copy>span:not(.mode-badge){font-size:10px;color:#c1d3df;line-height:1.3}
.assistant-identity .assistant-copy .mode-badge{display:inline-flex;align-items:center;gap:5px;white-space:normal;font-size:10px;color:#f5d36a;line-height:1.25}
.assistant-copy .mode-badge::before{content:"";width:5px;height:5px;border-radius:50%;background:#ffd453;flex:none}
.settings-button{width:40px;height:40px;border-radius:50%;opacity:1;background:#0d2b44!important;border:1px solid #82a4b572!important;box-shadow:inset 0 1px #fff2!important}
.chat-panel{background:radial-gradient(ellipse at 84% 0%,#16476a4f,transparent 48%),#06182c;padding-inline:12px}
.geo-panel{margin:12px 0 0;padding:11px 13px;border-radius:13px;background:#0b2942!important;border:1px solid #628da46e!important;box-shadow:inset 3px 0 #e4bd4b,0 6px 16px #0003!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.geo-panel strong{font-size:11px;line-height:1.3;color:#fff}.geo-panel span{font-size:11px;line-height:1.45;color:#c6d9e5}
.geo-actions{gap:12px;margin-top:6px}.geo-actions :is(button,a){font-size:11px;min-height:30px;color:#ffe17b;text-underline-offset:3px}
.geo-compact{font-size:11px;line-height:1.4;color:#c6d9e5;padding:7px 2px}
.chat-shortcuts{gap:8px;padding-top:10px}.chat-shortcuts a{min-height:40px;border-radius:12px;background:#0a263e!important;border:1px solid #7797a84d!important;box-shadow:inset 0 1px #fff1!important;font-size:11px;color:#eaf5fb}
.chat-shortcuts svg{color:#ffd453;width:16px;height:16px}
.messages{padding:16px 2px 12px;scrollbar-color:#ad9450 transparent}
.message-row{max-width:96%}.bubble{font-size:13px;line-height:1.6;border-radius:17px 17px 17px 5px;background:#12324df2!important;border:1px solid #7fa3b951!important;box-shadow:inset 0 1px #ffffff1a,0 7px 18px #0003!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.user .bubble{border-radius:17px 17px 5px 17px;background:#174d78!important;border-color:#73add07a!important}
.mini-avatar{background:#0b2941;border-color:#eac85b;color:#ffe27a}.message-meta{color:#a8c0d1;font-size:10px}
.quick-actions{gap:7px;padding:6px 0 10px}.quick-actions button{min-height:42px;padding:9px 8px;border-radius:12px;background:#0d2c45!important;border:1px solid #779caf65!important;box-shadow:inset 0 1px #fff1!important;color:#e9f5fb;font-size:11px;line-height:1.3}
.composer{gap:5px;padding:5px;border-radius:18px;background:#0b2942!important;border:1px solid #d6b652a3!important;box-shadow:inset 0 1px #fff2,0 8px 20px #0005!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.composer:focus-within{border-color:#ffe489!important;box-shadow:0 0 0 2px #ffd45325,0 8px 20px #0005!important}
.composer textarea{font-size:12px;line-height:1.4;color:#fff}.composer textarea::placeholder{color:#a9c0d0;opacity:1}
.composer .composer-icon,.composer .send-button{width:44px;height:44px;min-width:44px;min-height:44px;border-radius:13px;box-shadow:none}
.composer .composer-icon{background:#123a55!important;border:1px solid #7b9bab68;color:#f7df89}
.composer .send-button{background:linear-gradient(155deg,#ffe778,#ffc62e)!important;color:#09213c;border:1px solid #ffec9a;box-shadow:inset 0 1px #fff9,0 2px 0 #9b700d}
.composer-hint{font-size:10px;line-height:1.45;color:#aac1d1;margin:7px 3px 0}
:is(.quick-actions button,.chat-shortcuts a,.composer button,.settings-button):focus-visible{outline:2px solid #ffe17b;outline-offset:2px}
@media(max-width:350px){.topbar{gap:5px;padding-left:10px}.assistant-identity{gap:8px}.assistant-identity .avatar{width:43px;height:43px}.assistant-copy strong{font-size:15px}.chat-panel{padding-inline:9px}.composer{gap:3px}.composer textarea{font-size:11px}.composer .composer-icon,.composer .send-button{width:42px;height:42px;min-width:42px;min-height:42px}}
@media(max-height:600px){.topbar{min-height:68px;padding-block:8px}.assistant-identity .avatar{width:40px;height:40px}.geo-panel{padding-block:7px}.geo-panel span{font-size:10px}.quick-actions{padding-block:3px}.quick-actions button{min-height:36px}.composer-hint{display:none}}
@media(prefers-reduced-motion:reduce){:is(.quick-actions button,.chat-shortcuts a,.composer button,.settings-button){transition:none!important;animation:none!important}}

/* Vidro compartilhado pelos demais cartões, mantendo fotografias e controles. */
#homeView :is(.category-card,.service-card,.choice-card,.faq-grid details,.about-identity,.location-card,.coverage),
#catalogView :is(.catalog-group,.product-card){
 background:linear-gradient(145deg,rgba(44,105,132,.36),rgba(8,34,55,.62))!important;
 border-color:rgba(167,213,230,.44)!important;
 box-shadow:inset 0 1px rgba(245,253,255,.22),0 10px 26px rgba(0,0,0,.2)!important;
 -webkit-backdrop-filter:blur(7px) saturate(135%);backdrop-filter:blur(7px) saturate(135%);
}
#homeView :is(.category-body,.service-body){background:transparent!important}
body.preview-light #homeView :is(.category-card,.service-card,.choice-card,.faq-grid details){
 background:linear-gradient(145deg,rgba(255,255,255,.8),rgba(221,236,245,.72))!important;
 border-color:rgba(92,137,163,.48)!important;
 box-shadow:inset 0 1px rgba(255,255,255,.9),0 10px 24px rgba(30,64,84,.14)!important;
}
body.preview-light #homeView :is(.category-body,.service-body){background:transparent!important}
body.preview-light #homeView .choice-card h3{color:#09283d;text-shadow:none}
body.preview-light #homeView .choice-card p{color:#344e60}
.commercial-service :is(.guide-card,.steps-grid article){
 background:linear-gradient(145deg,rgba(44,105,132,.36),rgba(8,34,55,.62))!important;
 border:1px solid rgba(167,213,230,.44)!important;border-radius:18px;
 box-shadow:inset 0 1px rgba(245,253,255,.22),0 10px 26px rgba(0,0,0,.2)!important;
 -webkit-backdrop-filter:blur(7px) saturate(135%)!important;backdrop-filter:blur(7px) saturate(135%)!important;
 padding:24px;
}
@media(max-width:760px){
 #homeView :is(.category-card,.service-card,.choice-card,.faq-grid details,.about-identity,.location-card,.coverage),#catalogView :is(.catalog-group,.product-card),.commercial-service :is(.guide-card,.steps-grid article){-webkit-backdrop-filter:blur(4px) saturate(125%)!important;backdrop-filter:blur(4px) saturate(125%)!important}
 .commercial-service :is(.guide-card,.steps-grid article){padding:20px}
}
@supports not ((backdrop-filter:blur(4px)) or (-webkit-backdrop-filter:blur(4px))){
 #homeView :is(.category-card,.service-card,.choice-card,.faq-grid details,.about-identity,.location-card,.coverage),#catalogView :is(.catalog-group,.product-card),.commercial-service :is(.guide-card,.steps-grid article){background:#10324c!important}
 body.preview-light #homeView :is(.category-card,.service-card,.choice-card,.faq-grid details){background:#f2f7fa!important}
}
/* Painéis da assistente continuam escuros para preservar a leitura da conversa. */
.chat-panel :is(.geo-panel,.bubble){background:linear-gradient(145deg,rgba(36,88,113,.55),rgba(8,32,51,.78))!important;border-color:rgba(167,213,230,.44)!important;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}
.chat-panel .user .bubble{background:linear-gradient(145deg,rgba(36,100,151,.8),rgba(12,55,90,.88))!important}
