  /**
  * Galeria
  */
  .gallery {
    margin-bottom: 50px;
    margin-top: 30px;
    background: #e7e7e7;
    border: 1px solid #cfcfcf;
    padding: 20px;
    border-radius: 5px;

  } .gallery > a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: #2d2d2d;
    width: 135px;
    height: 140px;
    float: left;
    overflow: hidden;
    margin: 10px;
    border-radius: 6px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  }

  .gallery > a img {
    width: 100%;
    height: auto;
  }

  .gallery h3 {
    padding: 0;
    margin: 0;
    padding-left: 12px;
    font-size: 24px;
    color: #005b61;
  }




/* CTA - Agendamento de consulta */
.vc_row.vc_row-fluid:has(.cta-consulta) {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

.cta-consulta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}



/* =====================================
   CTA - AGENDAMENTO DE CONSULTA
===================================== */

.cta-consulta {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;

    background: linear-gradient(
        120deg,
        #17c92d 0%,
        #008b28 45%,
        #009d32 75%,
        #20d43a 100%
    );

    border-radius: 24px;
    padding: 30px 30px 40px;

    text-align: center;

    box-shadow: 0 12px 25px rgba(0, 160, 45, 0.22);
}

/* Ondas decorativas */

.cta-consulta::before,
.cta-consulta::after {
    content: "";
    position: absolute;
    width: 55%;
    height: 110px;
    bottom: -75px;
    border-radius: 50%;
    background: rgba(95, 255, 60, 0.35);
    pointer-events: none;
}

.cta-consulta::before {
    left: -12%;
    transform: rotate(12deg);
}

.cta-consulta::after {
    right: -12%;
    transform: rotate(-12deg);
}

/* Conteúdo */

.cta-consulta-conteudo {
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

/* Título */

.cta-consulta h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    color: #ffffff !important;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;

    margin: 0;
}

/* Calendário */

.cta-calendario {
    width: 48px;
    height: 48px;
    color: #fff;
    flex-shrink: 0;

    top: 6px;
    position: relative;
    margin-right: 2px;
}

/* Botão WhatsApp */

.cta-consulta-botao {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    background: #ffffff;
    color: #006b27 !important;

    padding: 18px 35px;
    border-radius: 50px;

    font-size: 19px;
    font-weight: 700;
    text-decoration: none !important;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

/* Hover */

.cta-consulta-botao:hover {
    background: #f0fff3;
    color: #006b27 !important;
    transform: translateY(-4px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Ícone WhatsApp */

.cta-consulta-botao svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

/* =====================================
   RESPONSIVIDADE
===================================== */

@media (max-width: 768px) {

    .cta-consulta {
        padding: 35px 20px;
        border-radius: 18px;
    }

    .cta-consulta h3 {
        font-size: 22px;
        flex-direction: column;
        gap: 10px;
    }

    .cta-calendario {
        font-size: 38px;
    }

    .cta-consulta-botao {
        font-size: 16px;
        padding: 16px 22px;
        width: 100%;
        max-width: 350px;
        box-sizing: border-box;
    }
}



/* Pulsação suave do botão WhatsApp */
.cta-consulta-botao {
    animation: pulsarWhatsapp 2.5s ease-in-out infinite;
    margin-top: 10px;
}

@keyframes pulsarWhatsapp {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    }

    50% {
        transform: scale(1.025);
        box-shadow: 0 8px 25px rgba(255, 255, 255, 0.35);
    }
}

/* Pausa a animação ao passar o mouse */
.cta-consulta-botao:hover {
    animation-play-state: paused;
    transform: translateY(-4px);
}

/* Respeita usuários que preferem menos movimento */
@media (prefers-reduced-motion: reduce) {
    .cta-consulta-botao {
        animation: none;
    }
}