/* Floating WhatsApp — aligned with .rainbow-back-top */
.rainbow-whatsapp-float {
  position: fixed;
  bottom: 95px;
  right: 30px;
  z-index: 999;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-blackest, #0f0f11);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
  animation: whatsapp-pulse 2s ease-in-out infinite;
}

.rainbow-whatsapp-float svg {
  width: 24px;
  height: 24px;
  fill: #25d366;
  transition: fill 0.3s ease;
  position: relative;
  z-index: 1;
}

.rainbow-whatsapp-float:hover {
  animation: none;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
  text-decoration: none;
}

.rainbow-whatsapp-float:hover svg {
  fill: #3be07a;
}

.rainbow-whatsapp-float:focus-visible {
  outline: 2px solid #25d366;
  outline-offset: 3px;
}

body.active-light-mode .rainbow-whatsapp-float {
  background: #f5f8fa;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Same right offset as WhatsApp on all viewports */
.rainbow-back-top {
  right: 30px !important;
}

@media only screen and (max-width: 575px) {
  .rainbow-whatsapp-float,
  .rainbow-back-top {
    right: 20px !important;
  }

  .rainbow-whatsapp-float {
    bottom: 90px;
  }
}

/* Browser UI color-scheme follows site theme */
html {
  color-scheme: dark;
}

body.active-dark-mode {
  color-scheme: dark;
}

body.active-light-mode {
  color-scheme: light;
}

/* Seção Depoimentos oculta (código mantido no HTML) */
#depoimentos,
.mainmenu a[href="#depoimentos"] {
  display: none !important;
}
