  /* ================== VARIÁVEIS GLOBAIS ================== */
  :root {
  /* WhatsApp continua a 40 px do fundo */
  --whatsapp-bottom: 40px;

  /* distância vertical entre os dois botões */
  --backtotop-offset: 60px;

  /* ► AGORA usamos + (mais), então o Voltar-ao-Topo sobe 40 px acima do WhatsApp */
  --backtotop-bottom: calc(var(--whatsapp-bottom) + var(--backtotop-offset));

  --backtotop-right-desktop: 30px;
  --backtotop-right-mobile: 20px;
  --whatsapp-right-desktop: 30px;
  --whatsapp-right-mobile: 20px;
  }

  /* =============== BOTÃO VOLTAR AO TOPO =============== */
  .backtotop-button {
  position: fixed;
  bottom: var(--backtotop-bottom);      /* agora acima do WhatsApp */
  right: var(--backtotop-right-desktop);
  width: 48px;
  height: 48px;
  background-color: #800000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  z-index: 9999;
  transition: opacity .3s ease, transform .3s ease, background-color .3s ease;
  opacity: 0;
  pointer-events: none;
  }
  .backtotop-button:hover {
  background-color: #001B4D;
  transform: scale(1.1);
  }
  .backtotop-button.show {
  opacity: 1;
  pointer-events: auto;
  }
  @media (max-width: 767px) {
  .backtotop-button { right: var(--backtotop-right-mobile); }
  }

  /* ================== BOTÃO WHATSAPP ================== */
  .whatsapp-button {
  position: fixed;
  bottom: var(--whatsapp-bottom);       /* permanece mais embaixo */
  right: var(--whatsapp-right-desktop);
  width: 48px;
  height: 48px;
  background-color: #1ebe57;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  z-index: 10000;
  transition: transform .3s ease, background-color .3s ease;
  }
  .whatsapp-button:hover {
  background-color: #0d8035;
  transform: scale(1.1);
  }
  @media (max-width: 767px) {
  .whatsapp-button { right: var(--whatsapp-right-mobile); }
  }