@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');


html, body {
    scroll-behavior: smooth;
}

/* ELEMENTOS GERAIS */
h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    letter-spacing: .17em;
    font-size: 2.0rem;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bolder;
    letter-spacing: .16em;
    font-size: 1.2rem;
}

h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    letter-spacing: .15em;
    font-size: 1.0rem;
}

h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
    letter-spacing: .15em;
    font-size: 1.0rem;
}

p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    letter-spacing: .05em;
    font-size: .9rem;
    line-height: 1.73;
}

/* LOGO DO CABEÇARIO*/
.img-logo {
    width: 200px;
    padding: 30px 0 50px 0;
}

/* BOTÕES PERSONALIZADOS */
.btn-one {
    background-color: #556B2F;
    color: white;
    padding: 10px 30px;
    border-radius: 25px;
    border: none;
    transition: all 0.3s ease;
}

.btn-one:hover {
    background-color: #7a9481;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(142, 171, 149, 0.3);
}

/* MENU */
.nav-link {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    letter-spacing: .3em;
    font-size: .8em;
    background-image: linear-gradient(to right,
            #556B2F,
            #556B2F 50%,
            #556B2F 50%);
    background-size: 200% 100%;
    background-position: -100%;
    display: inline-block;
    position: relative;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease-in-out;
    text-align: center;
}

.nav-item>.active {
    background-image: linear-gradient(to right,
            #556B2F,
            #556B2F 50%,
            #556B2F 50%);
    background-position: 0;
}

.nav-link:before {
    content: '';
    background: #556B2F;
    display: block;
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    transition: all 0.3s ease-in-out;
}

.nav-item>.active:before {
    width: 100%;
}

.nav-link:hover {
    background-position: 0;
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link {
    padding: 0 0 0 .3em;
    margin: 0.5rem 1rem;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding: 0 0 0 .3em;
}

/* SWIPER */
.swiper {
    width: 100%;
    height: 30vw;
}

.swiper-slide {
    text-align: center;
    background: #fff;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100%;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    -webkit-justify-content: right;
    justify-content: right;
    -webkit-box-align: start;
    -ms-flex-align: start;
    -webkit-align-items: right;
    align-items: flex-start;
}

.swiper-slide div {
    width: auto;
    /* margin-right:  calc((var(--swiper-navigation-size)/ 44 * 27) + 10px + 160px); */
    margin-right: 10vw;
    margin-top: 7vw;
    background-color: rgba(255, 255, 255, 0.9);
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 1.2vw;
    text-align: left;
    padding: 10px;
    text-transform: uppercase;
    color: #556B2F;
}

.swiper-slide div span {
    font-weight: 800;
    color: #556B2F;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper {
    margin-left: auto;
    margin-right: auto;
}

.swiper-button-next,
.swiper-button-prev {
    color: #556B2F;
}

.swiper-pagination-bullet-active {
    color: #556B2F;
    background-color: #556B2F;
}

/* SOBRE */
.sobre {
    margin-top: 6vw;
}

.sobre__texto {
    margin-top: 3vw;
    width: 100%;
}

.sobre__foto img {
    width: 46%;
}

/* ESPECIALIDADES */
.especialidade {
    margin-top: 6vw;
}

.especialidade__icone {
    width: 10vw;
    height: 10vw;
    border-radius: 100%;
    background-color: #556B2F;
    margin-bottom: 1vw;
}

.especialidade__icone img {
    width: 50%;
    margin: 25%;
}

.especialidade__icone {
    display: flex;
    align-items: center;
    justify-content: center;
}

.especialidade__icone i {
    color: white;
    font-size: 4.5vw;
}

.especialidade--titulo {
    margin-top: 6vw;
    padding: 3vw 0;
    background-color: #556B2F33;
}

/* Ajustes para dispositivos móveis */
@media only screen and (max-width: 768px) {
    .especialidade .col-md-3 {
        margin-bottom: 40px;
    }

    .especialidade__icone {
        width: 10vw;  /* Aumenta o tamanho do ícone */
        height: 10vw; /* Mantém o círculo proporcional */
        margin-bottom: 20px;
    }

    .especialidade h3 {
        font-size: 1.3rem; /* Aumenta o tamanho do título */
        margin-bottom: 5px;
    }

    .especialidade p {
        font-size: 1.1rem; /* Aumenta o tamanho do texto */
        padding: 0 20px; /* Adiciona um padding lateral */
        margin-bottom: 25px;
    }
}

@media only screen and (max-width: 480px) {
    .especialidade__icone {
        width: 15vw;
        height: 15vw;
    }

    .especialidade__icone i {
        font-size: 7vw;
    }
}


/* CONTATO */
.contato--titulo {
    margin-top: 6vw;
    padding: 3vw 0;
    background-color: #556B2F33;
}

.contato {
    margin-top: 6vw;
}

.contato__icone {
    width: 5vw;
    height: 5vw;
    border-radius: 100%;
    background-color: #556B2F;
    margin-bottom: 1vw;
}

.contato__icone img {
    width: 50%;
    margin: 25%;
}

.contato p b {
    display: block;
}

.contato p a {
    color: inherit;
    text-decoration: none;
}

.contato p a:hover {
    color: #556B2F;
}

.contato__ctas {
    margin-top: 3vw;
}

.contato__cta {
    height: 100%;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #556B2F33;
    text-align: center;
}

.contato__cta h2 {
    color: #556B2F;
    margin-bottom: 15px;
}

.contato__paciente {
    margin-top: 3vw;
}

.contato__paciente a {
    color: #556B2F;
    font-weight: 600;
}

/* Ajustes responsivos para contato */
@media only screen and (max-width: 768px) {
    .contato .col-md-6 {
        margin-bottom: 30px;
        text-align: center; /* Centraliza o texto */
    }

    .contato .row {
        justify-content: center; /* Centraliza os elementos na row */
    }

    .contato__icone {
        width: 10vw;
        height: 10vw;
        margin-bottom: 15px;
        margin: 0 auto; /* Centraliza o ícone */
    }

    .contato p {
        font-size: 1.1rem;
        margin-bottom: 15px;
        text-align: center; /* Garante que o texto fique centralizado */
    }

    .contato p b {
        font-size: 1.2rem;
        display: block; /* Coloca o título em uma linha separada */
        text-align: center;
    }

    .contato .col-md-8 {
        justify-content: center; /* Centraliza o conteúdo da coluna */
    }
}

/* Ajuste para telas muito pequenas */
@media only screen and (max-width: 480px) {
    .contato__icone {
        width: 15vw;
        height: 15vw;
    }

    .contato p {
        font-size: 1rem;
    }

    .contato p b {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }
}

/* RESPONSIVIDADE */
@media only screen and (max-width:1600px) {
    .sobre__texto {
        width: 70%;
    }

    .sobre__foto img {
        width: 45%;
    }
}

@media only screen and (max-width:1200px) {
    .swiper {
        height: 30vw;
    }

    .sobre__texto {
        width: 80%;
    }

    .sobre__foto img {
        width: 55%;
    }
}

@media only screen and (max-width:1024px) {
    .swiper {
        height: 35vw;
    }

    .sobre__texto {
        width: 80%;
    }

    .sobre__foto img {
        width: 65%;
    }
}

@media only screen and (max-width:992px) {
    .sobre__texto {
        width: 100%;
    }

    .sobre__foto img {
        width: 80%;
    }
}

@media only screen and (max-width:768px) {
    .swiper {
        height: 55vw;
    }

    .swiper-slide {
        height: 45vw;
        margin-top: 10vw;
    }

    .swiper-slide div {
        margin-top: -10vw;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        text-align: center;
        font-size: 2.0vw;
        height: 10vw;
    }

    .sobre {
        text-align: center;
    }

    .sobre__texto {
        width: 100%;
    }
}

@media only screen and (max-width:480px) {
    .swiper {
        height: 85vw;
    }

    .swiper-slide {
        height: 70vw;
        margin-top: 15vw;
    }

    .swiper-slide div {
        margin-top: -15vw;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        text-align: center;
        font-size: 3.4vw;
        height: 15vw;
    }
}

/* FOOTER */
.footer {
    margin-top: 6vw;
    background-color: #f8f9fa;
    padding: 4vw 0 0 0;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
}

.footer .row {
    display: flex;
    flex-wrap: nowrap; /* Impede que quebre em linha */
    justify-content: space-between;
    margin: 0;
}

.footer__coluna {
    flex: 1;
    padding: 0 15px;
    overflow: hidden;
}

.footer__logo {
    width: 150px;
    margin-bottom: 20px;
}

.footer__texto {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer__social {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.footer__social-link img {
    width: 24px;
    transition: transform 0.3s ease;
}

.footer__social-link:hover img {
    transform: scale(1.1);
}

.footer__social-link i {
    font-size: 24px;
    line-height: 1;
    color: #0A66C2;
    transition: transform 0.3s ease;
}

.footer__social-link:hover i {
    transform: scale(1.1);
}

.footer__coluna h3 {
    color: #556B2F;
    margin-bottom: 25px;
    font-weight: 600;
    font-size: 1.1rem;
}

.footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__links li {
    margin-bottom: 12px;
}

.footer__links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer__links a:hover {
    color: #556B2F;
}

.footer__horario {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.footer__horario li {
    color: #666;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.footer__horario li:nth-child(even) {
    color: #556B2F;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer__crn {
    width: 100%;
    margin: 20px 0 0 0;
}

.footer__copyright {
    background-color: #556B2F;
    padding: 15px 0;
    margin-top: 4vw;
}

.footer__copyright p {
    color: white;
    margin: 0;
    text-align: center;
    font-size: 0.8rem;
}

/* Responsividade do Footer */
@media only screen and (max-width: 768px) {
    .footer .row {
        flex-direction: column;
    }
    .footer__coluna {
        text-align: center;
        margin-bottom: 40px;
    }

    .footer__logo {
        margin: 0 auto 20px;
    }

    .footer__social {
        justify-content: center;
    }
}

/* FOTOS */
.fotos--titulo {
    margin-top: 6vw;
    padding: 3vw 0;
    background-color: #556B2F33;
}

.fotos {
    margin-top: 6vw;
}

.foto {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.foto img {
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.foto:hover img {
    transform: scale(1.05);
}

/* Responsividade */
@media only screen and (max-width: 768px) {
    .contato__cta {
        height: auto;
        margin-bottom: 30px;
    }

    .foto {
        margin-bottom: 20px;
        width: 60%;
        left: 20%;
    }
}


/* ==========================================================================
   WhatsApp Button
   ========================================================================== */
.btn-whatsapp-pulse {
    background: #25d366;
    color: white;
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 0;
    height: 0;
    padding: 35px;
    text-decoration: none;
    border-radius: 50%;
    animation-name: pulse;
    animation-duration: 1.5s;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
    z-index: 999;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    80% {
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
    }
}

.btn-whatsapp-pulse-border {
    bottom: 120px;
    right: 20px;
    animation-play-state: paused;
}

.btn-whatsapp-pulse-border::before {
    content: "";
    position: absolute;
    border-radius: 50%;
    padding: 25px;
    border: 5px solid #25d366;
    opacity: 0.75;
    animation-name: pulse-border;
    animation-duration: 1.5s;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
}

@keyframes pulse-border {
    0% {
        padding: 25px;
        opacity: 0.75;
    }

    75% {
        padding: 50px;
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* Ajustes para prevenir scroll horizontal nas animações do footer */
.footer__coluna {
    overflow: hidden;
    width: 100%;
    /* position: relative;  */
}

/* Ajuste específico para a animação fade-left */
[data-aos="fade-left"] {
    transform: translateX(0); 
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
    opacity: 1;
}

/* Ajustes para o conteúdo do horário */
.footer__horario {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.footer__crn {
    width: 100%;
    margin: 20px 0 0 0;
}

/* Garante que o container do footer não tenha overflow */
.footer .container {
    overflow: hidden;
}

.footer .row {
    margin: 0;
    width: 100%;
}
