  #back-to-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    display: none;
    background-color: #052236;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.8;
    z-index: 9999;
    transition: opacity 0.3s ease, bottom 0.2s;
  }

  #back-to-top:hover {
    bottom: 85px;
    opacity: 1;
  }

  #back-to-top i {
    pointer-events: none;
  }

  /* Estilos para a seção de grid (já deve existir) */
  .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 20px;
  }

  /* Contêiner da imagem e overlay */
  .divgalery-drop {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
  }

  /* Imagem */
  .divgalery-drop img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
  }

  /* Overlay (container) */
  .divgalery {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    /* Inicialmente invisível */
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
    /* Importante */
  }

  .divalign,
  .divalign-b {
    width: 100%;
    height: 100%;
    background: #052236;
    /* Cor de fundo azul - MANTÉM */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
  }

  /* Texto (dentro do overlay) - CORRIGINDO A COR */
  .divgalery-text {
    color: #052236;
    font-size: 18px;
    font-weight: 300;
    text-align: center;
    background-color: #fff;
    /* Fundo branco - MANTÉM */
    border-radius: 8px 0;
    /* Bordas arredondadas - MANTÉM */
    padding: 5px 10px;
    width: auto;
  }

  /* Efeito de Hover */
  .divgalery-drop:hover .divgalery {
    opacity: 0.8;
    /* Torna o overlay visível (80% de opacidade) */
  }

  .divgalery-drop:hover img {
    transform: scale(1.05);
    /* Zoom na imagem */
  }

  /* Responsividade (Galeria) */
  @media (max-width: 767px) {
    .div-block-19 {
      grid-template-columns: 1fr;
      /* Uma coluna em telas menores */
    }
  }