/* Imobiliária Itália · WhatsApp flutuante V281 · deploy retry 2
   Visual clean + arraste estável + aro tricolor contínuo + ícone reforçado com microanimação. */
.ii-wa-float{
 position:fixed;right:max(42px,calc(env(safe-area-inset-right,0px) + 30px));bottom:max(54px,calc(env(safe-area-inset-bottom,0px) + 42px));z-index:1180;
 width:56px;height:56px;display:grid;place-items:center;border-radius:999px;color:#fff;text-decoration:none;cursor:grab;
 user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;-webkit-user-drag:none;
 touch-action:none!important;overscroll-behavior:contain;isolation:isolate;pointer-events:auto;
 transition:transform .18s ease,left .34s cubic-bezier(.22,1,.36,1),top .34s cubic-bezier(.22,1,.36,1),right .28s ease,bottom .28s ease;
}
.ii-wa-float::before{content:"";position:absolute;inset:-3px;border-radius:inherit;z-index:-2;background:conic-gradient(from -90deg,#009246 0 33.333%,#f7f7f4 33.333% 66.666%,#ce2b37 66.666% 100%);box-shadow:0 10px 25px rgba(0,0,0,.13);pointer-events:none;transform-origin:center;will-change:transform;animation:iiWaRingSpin255 12s linear infinite}
.ii-wa-float::after{content:"";position:absolute;inset:1px;border-radius:inherit;z-index:-1;background:#080808;border:1px solid rgba(255,255,255,.25);pointer-events:none}
.ii-wa-float-core{width:100%;height:100%;display:grid;place-items:center;border-radius:inherit;pointer-events:none;transform-origin:center;will-change:transform;animation:iiWaCoreHello281 5.6s cubic-bezier(.2,.8,.25,1) 1.35s infinite}
.ii-wa-float-core svg{width:31px;height:31px;display:block;overflow:visible;pointer-events:none;filter:none!important}
.ii-wa-float-core path{fill:currentColor!important;stroke:currentColor!important;stroke-width:.8;stroke-linejoin:round;stroke-linecap:round;paint-order:stroke fill}
.ii-wa-float-label{position:absolute;right:68px;top:50%;transform:translate(6px,-50%);padding:8px 11px;border-radius:999px;background:#111;color:#fff;font:650 12px/1 Geist,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;white-space:nowrap;opacity:0;visibility:hidden;pointer-events:none;box-shadow:0 8px 22px rgba(0,0,0,.13);transition:.2s ease}
.ii-wa-float.ii-wa-left-zone .ii-wa-float-label{right:auto;left:68px;transform:translate(-6px,-50%)}
.ii-wa-float.ii-wa-left-zone:hover .ii-wa-float-label,.ii-wa-float.ii-wa-left-zone:focus-visible .ii-wa-float-label{transform:translate(0,-50%)}
body.it-has-scrolled .ii-wa-float:not(.ii-wa-user-positioned){bottom:max(112px,calc(env(safe-area-inset-bottom,0px) + 100px))}
.ii-wa-float.ii-wa-held{cursor:grabbing}
.ii-wa-float.ii-wa-dragging{transition:none!important;transform:scale(.96)!important;cursor:grabbing;will-change:left,top}
.ii-wa-float.ii-wa-dragging::before{animation-play-state:paused}
.ii-wa-float.ii-wa-dragging .ii-wa-float-core{animation-play-state:paused}
.ii-wa-float.ii-wa-dragging .ii-wa-float-label{display:none!important}
.ii-wa-float.ii-wa-snapping{transition:left .34s cubic-bezier(.22,1,.36,1),top .34s cubic-bezier(.22,1,.36,1),transform .18s ease!important}
@media (hover:hover) and (pointer:fine){
 .ii-wa-float:not(.ii-wa-dragging):hover{transform:translateY(-2px) scale(1.025)}
 .ii-wa-float:not(.ii-wa-dragging):hover .ii-wa-float-core{animation:none;transform:scale(1.08) rotate(-4deg);transition:transform .28s cubic-bezier(.22,1,.36,1)}
 .ii-wa-float:not(.ii-wa-dragging):hover .ii-wa-float-label,.ii-wa-float:not(.ii-wa-dragging):focus-visible .ii-wa-float-label{opacity:1;visibility:visible;transform:translate(0,-50%)}
}
.ii-wa-float:not(.ii-wa-dragging):active{transform:scale(.95)}
.ii-wa-float:focus-visible{outline:3px solid rgba(0,146,70,.22);outline-offset:5px}
@keyframes iiWaEnter253{from{opacity:0;transform:translate3d(0,10px,0) scale(.88)}to{opacity:1;transform:none}}
@keyframes iiWaRingSpin255{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@keyframes iiWaCoreHello281{
 0%,76%,100%{transform:scale(1) rotate(0)}
 82%{transform:scale(1.09) rotate(-5deg)}
 88%{transform:scale(1.02) rotate(4deg)}
 94%{transform:scale(1.06) rotate(-2deg)}
}
.ii-wa-float{animation:iiWaEnter253 .42s cubic-bezier(.2,.8,.25,1) .12s both}
:root[data-theme="dark"] .ii-wa-float-label{background:#f5f5f2;color:#111}
/* A rotação do aro usa apenas transform; é mantida no modo leve por ser barata. */
.ii-perf-lite .ii-wa-float{animation:none}
.ii-perf-lite .ii-wa-float-core{animation:none}
@media (prefers-reduced-motion:reduce){.ii-wa-float,.ii-wa-float-label,.ii-wa-float::before,.ii-wa-float-core{animation:none!important;transition:none!important}.ii-wa-float::before,.ii-wa-float-core{will-change:auto}}
@media (max-width:760px){
 .ii-wa-float{width:54px;height:54px;right:max(28px,calc(env(safe-area-inset-right,0px) + 22px));bottom:max(42px,calc(env(safe-area-inset-bottom,0px) + 34px))}
 .ii-wa-float-core svg{width:30px;height:30px}
 body.it-has-scrolled .ii-wa-float:not(.ii-wa-user-positioned){bottom:max(98px,calc(env(safe-area-inset-bottom,0px) + 88px))}
 .ii-wa-float-label{display:none}
}
