﻿/* Widgets flutuantes: chat Nísia e botão ICOM (Libras). Extraído do <style> inline do template antigo. */

.goog-te-banner-frame.skiptranslate { display: none !important; }
body { top: 0px !important; }

.chat-flutuante {
  position: fixed;
  display: inline-flex;
  right: 20px;
  bottom: 15px;
  z-index: 5000;
}

#botao-chama-chat {
  background-color: #fff;
  border-radius: 80px;
  display: inline-flex;
  width: 75px;
  height: 75px;
  align-items: center;
  justify-content: center;
  animation: chat 1.5s;
  cursor: pointer;
  box-shadow: 0 5px 15px 2px #00000045;
}

#botao-chama-chat-dialogo {
  display: inline-flex;
  background-color: #fff;
  border-radius: 10px 10px 0 10px;
  width: 95px;
  height: 75px;
  padding: 5px;
  align-items: center;
  justify-content: center;
  animation: chat 1.5s;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  box-shadow: 0 5px 15px 2px #00000045;
}

@keyframes chat {
  0% { transform: scale(0.1); opacity: 0; }
  80% { transform: scale(0.1); opacity: 0; }
  98% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

#btn-icom-libras {
  position: fixed;
  right: 0.6%;
  top: calc(49% + 46px);
  z-index: 9990;
  width: 40px;
  height: 40px;
  background-color: #FFF4C2;
  border: 1px solid #E6D087;
  border-right: none;
  border-radius: 8px 0 0 8px;
  box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

#btn-icom-libras:hover {
  background-color: #FFE680;
  border-color: #D9BE68;
  transform: translateX(-4px);
}

#btn-icom-libras img { width: 28px; height: 28px; object-fit: contain; }

@media (max-width: 768px) {
  #btn-icom-libras {
    width: 36px;
    height: 36px;
    right: 1.8%;
    top: calc(55% + 46px);
  }
  #btn-icom-libras img { width: 24px; height: 24px; }
}
