.wa { position: fixed; right: 22px; bottom: 22px; z-index: 50; font-family: 'Inter', system-ui, sans-serif; }
.wa .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wa-fab { position: relative; display: inline-flex; align-items: center; gap: .45rem; height: 44px; padding: 0 1.05rem 0 .85rem; border: 0; border-radius: 99px; background: #25d366; color: #fff; cursor: pointer; font: 700 .86rem/1 'Inter', system-ui, sans-serif; letter-spacing: .01em; box-shadow: 0 6px 18px rgba(18, 140, 70, .38); transition: transform .2s, box-shadow .2s, background .2s; }
.wa-fab:hover { transform: translateY(-2px); background: #1fb858; box-shadow: 0 14px 30px rgba(18, 140, 70, .5); } .wa-fab:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px #128c46; }
.wa-fab::before { content: ''; position: absolute; inset: 0; border-radius: 99px; background: #25d366; opacity: .5; z-index: -1; animation: wa-ping 2.4s ease-out infinite; }
.wa-i-x { display: none; } .wa.open .wa-i-wa { display: none; } .wa.open .wa-i-x { display: block; } .wa.open .wa-fab::before { animation: none; opacity: 0; }
@keyframes wa-ping { 0% { transform: scale(1); opacity: .45; } 80%, 100% { transform: scale(1.25, 1.5); opacity: 0; } }
.wa-label b { font-weight: 700; } .wa-l-close { display: none; } .wa.open .wa-l-open { display: none; } .wa.open .wa-l-close { display: inline; }
.wa-pop { position: absolute; right: 0; bottom: 56px; width: min(340px, calc(100vw - 32px)); overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 24px 60px rgba(19, 26, 69, .28); animation: wa-in .25s ease; transform-origin: bottom right; }
.wa-pop[hidden] { display: none; }
@keyframes wa-in { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.wa-head { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.1rem; background: linear-gradient(135deg, #128c46, #25d366); color: #fff; }
.wa-av { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: #fff; } .wa-av img { width: 30px; height: auto; }
.wa-head > div { flex: 1; min-width: 0; line-height: 1.3; } .wa-head strong { display: block; font-size: .98rem; } .wa-head small { display: flex; align-items: center; gap: .4rem; font-size: .76rem; opacity: .92; }
.wa-head small i { width: 8px; height: 8px; border-radius: 50%; background: #b9ffd2; box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); }
.wa-x { border: 0; background: transparent; color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; padding: .1rem .5rem; border-radius: 8px; } .wa-x:hover { background: rgba(255, 255, 255, .18); }
.wa-body { padding: 1rem 1.1rem 1.2rem; background: #efeae2; }
.wa-bubble { position: relative; margin: 0 0 .8rem; max-width: 88%; padding: .7rem .9rem; border-radius: 4px 14px 14px 14px; background: #fff; color: #2b2f4a; font-size: .88rem; line-height: 1.5; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.wa-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .8rem; }
.wa-chips button { border: 1px solid #c9d3c4; background: #fff; color: #1b2670; padding: .35rem .7rem; border-radius: 99px; font: 600 .76rem/1.2 inherit; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.wa-chips button:hover, .wa-chips button.on { background: #128c46; border-color: #128c46; color: #fff; }
.wa-form { display: grid; gap: .55rem; }
.wa-form input, .wa-form textarea { width: 100%; padding: .6rem .75rem; border: 1px solid #d9d4ca; border-radius: 10px; background: #fff; font: 400 .88rem/1.45 inherit; color: #1f2340; resize: none; }
.wa-form input:focus, .wa-form textarea:focus { outline: 0; border-color: #25d366; box-shadow: 0 0 0 3px rgba(37, 211, 102, .25); }
.wa-send { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1rem; border: 0; border-radius: 99px; background: #25d366; color: #fff; font: 700 .9rem/1 inherit; cursor: pointer; transition: background .15s; } .wa-send:hover { background: #1fb858; }
@media (max-width: 900px) { .wa { right: 14px; bottom: 82px; } .wa-fab { height: 40px; padding: 0 .9rem 0 .75rem; font-size: .8rem; } .wa-pop { bottom: 52px; } }
@media (prefers-reduced-motion: reduce) { .wa-fab::before, .wa-pop { animation: none; } }
.wa-fab svg { width: 21px; height: 21px; flex: none; }
