// WhatsApp floating button
window.WhatsAppFab=function WhatsAppFab({lang}){
  const t=useT(lang);
  return (
    <a className="wa-fab" href={WA_LINK} target="_blank" rel="noreferrer" aria-label="WhatsApp">
      <svg viewBox="0 0 32 32" width="30" height="30" aria-hidden="true">
        <path fill="#fff" d="M16 3C9 3 3 9 3 16c0 2.4.7 4.7 2 6.7L3 29l6.5-1.7c1.9 1 4 1.6 6.5 1.6 7 0 13-6 13-13S23 3 16 3Zm0 23.6c-2.2 0-4.2-.6-6-1.7l-.4-.2-3.9 1 1-3.8-.3-.4A10.6 10.6 0 0 1 5.4 16C5.4 10 10 5.4 16 5.4S26.6 10 26.6 16 22 26.6 16 26.6Zm6.1-7.9c-.3-.2-2-1-2.3-1.1-.3-.1-.5-.2-.8.2s-.9 1.1-1.1 1.3c-.2.2-.4.2-.7.1-.3-.2-1.4-.5-2.6-1.6a9.8 9.8 0 0 1-1.8-2.2c-.2-.3 0-.5.1-.7l.5-.6c.2-.2.2-.3.4-.6.1-.2 0-.4 0-.6l-1-2.5c-.3-.7-.6-.6-.8-.6h-.7c-.2 0-.6.1-1 .5s-1.4 1.3-1.4 3.2 1.4 3.7 1.6 4c.2.3 2.8 4.4 6.9 6 1 .4 1.8.6 2.4.8.9.3 1.8.2 2.4.2.7-.1 2.3-.9 2.6-1.8.3-.9.3-1.6.2-1.8 0-.2-.3-.3-.6-.5Z"/>
      </svg>
      <span className="wa-bubble">{t.wa_hi}</span>
    </a>
  );
};
