/* Intellectus terminal reutilizado do ARK Select na página inicial */
.rf-intellectus-demo{min-width:0;width:100%}
.rf-intellectus-demo .intellectus-terminal{position:relative;overflow:hidden;height:clamp(500px,38vw,610px);border:1px solid rgba(82,105,151,.5);border-radius:20px;background:linear-gradient(180deg,rgba(7,11,20,.98),rgba(2,5,11,.99));box-shadow:0 30px 76px rgba(0,0,0,.5),inset 0 0 36px rgba(31,67,130,.12)}
.rf-intellectus-demo .intellectus-terminal:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 10% 8%,rgba(31,86,169,.12),transparent 34%),linear-gradient(90deg,rgba(0,24,55,.08),transparent 28%,rgba(0,26,63,.08));pointer-events:none}
.rf-intellectus-demo .intellectus-terminal>*{position:relative;z-index:1}
.rf-intellectus-demo .intellectus-terminal-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 19px 12px;border-bottom:1px solid rgba(98,119,158,.22)}
.rf-intellectus-demo .intellectus-terminal-brand{display:flex;align-items:center;gap:8px;min-width:0;color:#fff;font-size:15px}
.rf-intellectus-demo .intellectus-terminal-brand b{font-weight:400;color:#7f8797}
.rf-intellectus-demo .intellectus-brand-wordmark{width:min(220px,22vw);height:auto;object-fit:contain}
.rf-intellectus-demo .intellectus-window-actions{display:flex;align-items:center;gap:14px}
.rf-intellectus-demo .intellectus-window-actions i{position:relative;width:14px;height:14px;display:block;color:#aeb6c5}
.rf-intellectus-demo .intellectus-window-actions i:first-child:before{content:"";position:absolute;left:2px;right:2px;top:7px;height:1px;background:currentColor}
.rf-intellectus-demo .intellectus-window-actions i:nth-child(2):before{content:"";position:absolute;inset:2px;border:2px solid currentColor}
.rf-intellectus-demo .intellectus-window-actions i:last-child:before,.rf-intellectus-demo .intellectus-window-actions i:last-child:after{content:"";position:absolute;left:1px;right:1px;top:7px;height:1px;background:currentColor;transform:rotate(45deg)}
.rf-intellectus-demo .intellectus-window-actions i:last-child:after{transform:rotate(-45deg)}
.rf-intellectus-demo .intellectus-terminal-input{display:flex;align-items:center;gap:8px;margin:15px 18px 14px;padding:0 13px 0 16px;min-height:49px;border:1px solid rgba(74,101,153,.32);border-radius:11px;background:linear-gradient(180deg,rgba(7,15,29,.88),rgba(3,9,18,.95));color:#7f8ba2}
.rf-intellectus-demo .intellectus-terminal-input span{flex:1;min-width:0;color:#d8e1ef;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rf-intellectus-demo .intellectus-terminal-input.is-placeholder span{color:#778299}
.rf-intellectus-demo .intellectus-input-caret{width:1px;height:18px;background:#8fa4cc;animation:homeIntellectusBlink .9s steps(1,end) infinite}
.rf-intellectus-demo .intellectus-terminal-input svg{width:20px;color:#315797}
.rf-intellectus-demo .intellectus-conversation{display:grid;gap:12px;height:calc(100% - 167px);padding:3px 18px 18px;overflow:auto;scrollbar-width:none}
.rf-intellectus-demo .intellectus-conversation::-webkit-scrollbar{display:none}
.rf-intellectus-demo .intellectus-message-row{display:grid;grid-template-columns:27px minmax(0,1fr);gap:13px;align-items:start}
.rf-intellectus-demo .intellectus-message-icon{display:grid;place-items:center;min-height:27px;color:#f0a236}
.rf-intellectus-demo .intellectus-message-icon svg,.rf-intellectus-demo .intellectus-message-icon img{width:20px;height:20px;object-fit:contain}
.rf-intellectus-demo .intellectus-bubble{position:relative;padding:13px 15px;border:1px solid rgba(67,89,129,.3);border-left:2px solid #46aef5;border-radius:10px;background:rgba(2,8,17,.78)}
.rf-intellectus-demo .intellectus-message-row.user .intellectus-bubble{border-left-color:#e39a34;background:linear-gradient(90deg,rgba(72,39,7,.9),rgba(47,28,8,.8))}
.rf-intellectus-demo .intellectus-bubble-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.rf-intellectus-demo .intellectus-bubble p{margin:0!important;color:#eef3fa!important;font-size:12px!important;line-height:1.48!important}
.rf-intellectus-demo .intellectus-message-row.user .intellectus-bubble p{color:#efa337!important}
.rf-intellectus-demo .intellectus-bubble time{flex:0 0 auto;color:#aeb9cc;font-size:9px;line-height:1.5}
.rf-intellectus-demo .intellectus-message-row.is-typing .intellectus-bubble:after{content:"";display:inline-block;width:5px;height:1em;margin-left:3px;vertical-align:-.15em;background:#dbe6f8;animation:homeIntellectusBlink .9s steps(1,end) infinite}
.rf-intellectus-demo .intellectus-message-divider{height:1px;margin:0 8px;background:linear-gradient(90deg,transparent,rgba(91,118,166,.24) 10%,rgba(91,118,166,.2) 90%,transparent)}
.rf-intellectus-demo .intellectus-terminal-footer{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 14px 11px;border-top:1px solid rgba(83,104,147,.22);background:rgba(4,8,16,.94)}
.rf-intellectus-demo .intellectus-terminal-footer>div{display:flex;align-items:center;gap:7px;color:#8995ab;font-size:9px}
.rf-intellectus-demo .intellectus-terminal-footer strong,.rf-intellectus-demo .intellectus-terminal-footer b{font-weight:500}
.rf-intellectus-demo .intellectus-terminal-footer i{width:1px;height:15px;background:#3b465b}
.rf-intellectus-demo .intellectus-terminal-footer svg{width:14px}
.rf-intellectus-demo .intellectus-online-dot{width:7px;height:7px;border-radius:50%;background:#55dd2c;box-shadow:0 0 9px rgba(85,221,44,.65)}
@keyframes homeIntellectusBlink{0%,49%{opacity:1}50%,100%{opacity:0}}
@media(max-width:980px){.rf-intellectus-demo .intellectus-terminal{height:520px}.rf-intellectus-demo .intellectus-brand-wordmark{width:min(200px,34vw)}}
@media(max-width:640px){.rf-intellectus-demo .intellectus-terminal{height:460px;border-radius:16px}.rf-intellectus-demo .intellectus-terminal-footer{align-items:flex-start;flex-direction:column}.rf-intellectus-demo .intellectus-terminal-footer>div:last-child{display:none}.rf-intellectus-demo .intellectus-conversation{height:calc(100% - 150px)}}
@media(prefers-reduced-motion:reduce){.rf-intellectus-demo .intellectus-input-caret,.rf-intellectus-demo .intellectus-message-row.is-typing .intellectus-bubble:after{animation:none}}
