Scan to open on your phone
Point a camera at the QR code - it opens this exact paste, no app needed.
https://codepastes.com/zzgs3p1g9h00ze65sem-tituloPlain Text
<!-- ===== BOTÃO FLUTUANTE WHATSAPP — Departamento Vendas ===== -->
<style>
.wpp-widget, .wpp-widget * { box-sizing: border-box; }
.wpp-widget {
position: fixed;
right: 20px;
bottom: 20px;
z-index: 99999;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.wpp-toggle {
width: 60px; height: 60px; border: none; border-radius: 50%;
background: #25D366; color: #fff; cursor: pointer;
display: flex; align-items: center; justify-content: center;
box-shadow: 0 4px 14px rgba(0,0,0,.25);
transition: transform .2s ease, box-shadow .2s ease;
position: relative;
}
.wpp-toggle:hover { transform: scale(1.08); box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.wpp-toggle:focus-visible { outline: 3px solid #128C7E; outline-offset: 3px; }
.wpp-toggle svg { width: 32px; height: 32px; fill: currentColor; }
.wpp-toggle .wpp-icon-close { display: none; }
.wpp-widget.is-open .wpp-toggle .wpp-icon-wpp { display: none; }
.wpp-widget.is-open .wpp-toggle .wpp-icon-close { display: block; }
.wpp-toggle::after {
content: ""; position: absolute; inset: 0; border-radius: 50%;
border: 2px solid #25D366; animation: wpp-pulse 2s infinite; pointer-events: none;
}
.wpp-widget.is-open .wpp-toggle::after { display: none; }
@keyframes wpp-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.wpp-panel {
position: absolute; right: 0; bottom: 76px; width: 320px; max-width: calc(100vw - 40px);
background: #fff; border-radius: 14px; overflow: hidden;
box-shadow: 0 10px 40px rgba(0,0,0,.25);
opacity: 0; visibility: hidden; transform: translateY(12px) scale(.98); transform-origin: bottom right;
transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.wpp-widget.is-open .wpp-panel { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.wpp-header { background: #075E54; color: #fff; padding: 16px 18px; }
.wpp-header h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; line-height: 1.2; }
.wpp-status { display: flex; align-items: center; gap: 8px; font-size: 13px; opacity: .95; }
.wpp-dot {
width: 10px; height: 10px; border-radius: 50%; background: #4ADE80; flex-shrink: 0;
box-shadow: 0 0 0 0 rgba(74,222,128,.7); animation: wpp-dot 1.8s infinite;
}
@keyframes wpp-dot {
0% { box-shadow: 0 0 0 0 rgba(74,222,128,.7); }
70% { box-shadow: 0 0 0 7px rgba(74,222,128,0); }
100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}
.wpp-body { padding: 14px; background: #ECE5DD; }
.wpp-hint { margin: 0 0 10px; font-size: 13px; color: #555; }
.wpp-contact {
display: flex; align-items: center; gap: 12px; padding: 12px; margin-bottom: 8px;
background: #fff; border-radius: 10px; border-left: 4px solid #25D366;
text-decoration: none; color: inherit;
transition: transform .15s ease, box-shadow .15s ease;
}
.wpp-contact:last-child { margin-bottom: 0; }
.wpp-contact:hover { transform: translateX(3px); box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.wpp-contact:focus-visible { outline: 3px solid #128C7E; outline-offset: 2px; }
.wpp-avatar {
position: relative; width: 46px; height: 46px; border-radius: 50%;
background: #128C7E; color: #fff; display: flex; align-items: center; justify-content: center;
font-weight: 600; font-size: 18px; flex-shrink: 0;
}
.wpp-avatar::after {
content: ""; position: absolute; right: 0; bottom: 0; width: 12px; height: 12px;
background: #4ADE80; border: 2px solid #fff; border-radius: 50%;
}
.wpp-info { flex: 1; min-width: 0; }
.wpp-name { display: block; font-size: 15px; font-weight: 600; color: #111; }
.wpp-role { display: block; font-size: 12px; color: #777; margin-top: 2px; }
.wpp-go { width: 22px; height: 22px; fill: #25D366; flex-shrink: 0; }
@media (max-width: 480px) { .wpp-widget { right: 14px; bottom: 14px; } }
@media (prefers-reduced-motion: reduce) {
.wpp-toggle::after, .wpp-dot { animation: none; }
.wpp-panel, .wpp-toggle, .wpp-contact { transition: none; }
}
</style>
<div class="wpp-widget" id="wppWidget">
<div class="wpp-panel" id="wppPanel" role="dialog" aria-label="Fale com o Departamento de Vendas pelo WhatsApp">
<div class="wpp-header">
<h3>Departamento Vendas</h3>
<div class="wpp-status">
<span class="wpp-dot" aria-hidden="true"></span>
<span>Disponível • Retorno em alguns minutos</span>
</div>
</div>
<div class="wpp-body">
<p class="wpp-hint">Escolha um contato para conversar:</p>
<a class="wpp-contact"
href="https://wa.me/5547991417495?text=Ol%C3%A1%20Camila%2C%20vim%20pelo%20site%20e%20gostaria%20de%20mais%20informa%C3%A7%C3%B5es."
target="_blank" rel="noopener noreferrer">
<span class="wpp-avatar" aria-hidden="true">C</span>
<span class="wpp-info">
<span class="wpp-name">Camila</span>
<span class="wpp-role">Vendas • Online agora</span>
</span>
<svg class="wpp-go" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.2 14.1c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .2-3.3-.7-2.8-1.2-4.6-4-4.7-4.2-.1-.2-1.1-1.5-1.1-2.8s.7-2 .9-2.3c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.8 2c.1.2.1.3 0 .5l-.4.6c-.1.1-.3.3-.1.6.2.3.8 1.3 1.7 2.1 1.2 1 2.1 1.4 2.4 1.5.3.1.5.1.6-.1l.9-1.1c.2-.2.4-.2.6-.1l1.9.9c.3.1.5.2.5.3.1.2.1.8-.1 1.4z"/></svg>
</a>
<a class="wpp-contact"
href="https://wa.me/5547992102423?text=Ol%C3%A1%20Diogo%2C%20vim%20pelo%20site%20e%20gostaria%20de%20mais%20informa%C3%A7%C3%B5es."
target="_blank" rel="noopener noreferrer">
<span class="wpp-avatar" aria-hidden="true">D</span>
<span class="wpp-info">
<span class="wpp-name">Diogo</span>
<span class="wpp-role">Vendas • Online agora</span>
</span>
<svg class="wpp-go" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.2 14.1c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .2-3.3-.7-2.8-1.2-4.6-4-4.7-4.2-.1-.2-1.1-1.5-1.1-2.8s.7-2 .9-2.3c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.8 2c.1.2.1.3 0 .5l-.4.6c-.1.1-.3.3-.1.6.2.3.8 1.3 1.7 2.1 1.2 1 2.1 1.4 2.4 1.5.3.1.5.1.6-.1l.9-1.1c.2-.2.4-.2.6-.1l1.9.9c.3.1.5.2.5.3.1.2.1.8-.1 1.4z"/></svg>
</a>
</div>
</div>
<button class="wpp-toggle" id="wppToggle" type="button"
aria-label="Abrir contatos do WhatsApp" aria-expanded="false" aria-controls="wppPanel">
<svg class="wpp-icon-wpp" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.2 14.1c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .2-3.3-.7-2.8-1.2-4.6-4-4.7-4.2-.1-.2-1.1-1.5-1.1-2.8s.7-2 .9-2.3c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.8 2c.1.2.1.3 0 .5l-.4.6c-.1.1-.3.3-.1.6.2.3.8 1.3 1.7 2.1 1.2 1 2.1 1.4 2.4 1.5.3.1.5.1.6-.1l.9-1.1c.2-.2.4-.2.6-.1l1.9.9c.3.1.5.2.5.3.1.2.1.8-.1 1.4z"/></svg>
<svg class="wpp-icon-close" viewBox="0 0 24 24" aria-hidden="true"><path d="M19 6.4 17.6 5 12 10.6 6.4 5 5 6.4 10.6 12 5 17.6 6.4 19 12 13.4 17.6 19 19 17.6 13.4 12z"/></svg>
</button>
</div>
<script>
(function () {
var widget = document.getElementById('wppWidget');
var toggle = document.getElementById('wppToggle');
function setOpen(open) {
widget.classList.toggle('is-open', open);
toggle.setAttribute('aria-expanded', open ? 'true' : 'false');
toggle.setAttribute('aria-label', open ? 'Fechar contatos do WhatsApp' : 'Abrir contatos do WhatsApp');
}
toggle.addEventListener('click', function () { setOpen(!widget.classList.contains('is-open')); });
document.addEventListener('click', function (e) { if (!widget.contains(e.target)) setOpen(false); });
document.addEventListener('keydown', function (e) { if (e.key === 'Escape') setOpen(false); });
})();
</script>
<!-- ===== FIM DO BOTÃO WHATSAPP ===== -->7,979 chars · codepastes.com