/* Configuração padrao */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body{
    background: #ECF2FE;
    position: relative;
}

img{
    max-width: 100%;
    display: block;
}

.container{
    max-width: 1142px;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: auto;
    margin-right: auto;
}

ul{
    list-style: none;
}

a{
    text-decoration: none;
    color: black;
}

/* Facilidadores */

.animete{
    animation: animaDireita 2s forwards;
}

.animeteImg{
    animation: animaImg 3s forwards;
}
.justify{
    text-align: justify;
}

.mt-1{
    margin-top: 1rem;
}

.flex-1{
    flex: 1;
}

.pt-1{
    padding-top: 1rem;
}

.pt-30{
    padding-top: 30px;
}

.font-500{
    font-weight: 500;
}

.w-335{
    width: 335px;
}

.py-60{
    padding-top: 60px;
    padding-bottom: 60px;
}

.pt-60{
    padding-top: 60px;
}

.d-flex{
    display: flex;
}

.efeitoAfter {
    position: relative;
}

.efeitoAfter::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100px;
    height: 4px;
    background: #0296DA;
    transform: translateX(-50%);
}

.corDestaque{
    color: #0296DA;
}

.btnLink{
    background: linear-gradient(to bottom, #0296DA, #016B9B);
    border-radius: 8px;
    transition: all .3s;
}

.btnLink:hover{
    background: linear-gradient(to bottom, #028AC8, #01547A);
}

.bg-section{
    background: #ffffff;
}

.span-uppercase{
    text-transform: uppercase;
    font-weight: 500;
}

/* Menu */

.menuCont{
    margin-top: 1rem;
    justify-content: space-between;
    align-items: center;  
    animation: animaMenu 1s forwards;
}

#btn-mobile{
    display: none;
}

.btnMenu{
    color: white;
    padding: 8px 12px;
}

.menu-nav{
    gap: 20px;
}

.menu-nav li a{
    font-weight: 500;
    transition: all .3s;
}
.menu-nav li a:hover{
    color: #0296DA;
}

/* Main */

.section-main{
    padding-top: 3.5rem;
}

.text-main{
    margin: 1rem 0;
}

.title-main{
    font-size: 2.5rem;
    font-weight: 500;
}

.title-cont-slide{
    text-align: center;
}

.max-540{
    max-width: 540px;
}

.cont-main-info{
    align-items: center;
}

.btnBody{
    background: linear-gradient(to bottom, #0296DA, #016B9B);
    border-radius: 8px;
    transition: all .3s;
    color: white;
    text-transform: uppercase;
    padding: 12px 16px;
    display: block;
    max-width: max-content;
}

.btnBody:hover{
    background: linear-gradient(to bottom, #028AC8, #01547A);
}

/* Section melhor tratamento  */

.titleBest{
    font-size: 2.5rem;
}

.sectionBest{
    justify-content: space-between;
    padding: 4rem 0;
    gap: 1.875rem;
    align-items: center;
}

.info-best{
    padding: 1rem 0;
}

.cont-img{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
}

/* Slide */

.swiper {
    width: 100%;
    height: 460px;
  }
  
  .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
  }

  .cont-slide{
    max-width: 450px;
    text-align: center;
    flex-direction: column;
    display: flex;
    align-items: center;
  }

  .slide-title{
    font-size: 2rem;
    font-weight: 500;
    padding-bottom: 1rem;

  }

  .title-cont-slide{
    margin-bottom: 40px;
  }

  .custom-pagination {
    bottom: 0px !important; 
  }

  .swiper-button-prev,.swiper-button-next{
    background: #B1DEF4;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: #0296DA;
    transition: .2s all;
  }

  .swiper-button-next svg, .swiper-button-prev svg{
    width: 40px !important;
    height: 40px !important;
  }
  .swiper-button-prev:hover,.swiper-button-next:hover{
    color:white ;
    background: #55B9E6;
  }

  .swiper-button-prev:after, .swiper-rtl .swiper-button-next:after,.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after{
    content: '' !important;
  }
  
  .slide-info.efeitoAfter{
    padding: 1rem 0;
  }


  /* Equipe */

  .card-equipe{
    display: flex;
    flex-direction: column;
    background: #ECF2FE;
    width: 350px;
    height: 360px;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.20);
    transition: .3s all;
  }

  .card-equipe:hover{
    box-shadow: none;
  }

  .info-medico{
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: auto;
    align-items: center;
  }

  .nome-medico{
    font-size: 1.125rem;
    padding-top:12px;
    font-weight: 500;
    padding-bottom:8px;
 
  }

  .especialidade{
    font-size: 0.8rem;
    font-weight: 600;
    position: relative;
    padding-top: 4px;
  }

  .especialidade::before{
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    width: 80px;
    height: 2px;
    background: #0296DA;
    transform: translateX(-50%);
  }

  .lista-especialidade{
    padding-top: 1rem;
  }

  .avaliacao-card{
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
  }


  .lista-especialidade li{
    font-size: 0.8rem;
  }

  .avaliacao-text{
    font-size: 0.8rem;
    text-align: center;
    margin-bottom: 4px;
  }

  .grid-equipe{
    display: flex;
    justify-items: center;
    padding: 30px 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    justify-content: center;
  }

  /* Local/Contato */

  .local-clinica-cont{
    justify-content: space-between;
    gap: 30px;
  }

  .icon-cont{
    margin-bottom: 1.125rem;
    gap: 8px;
    align-items: center;
  }

  .cont-contato{
    justify-content: space-between;
    align-items: center;
  }

  /* Rodape */
  
  .bg-footer{
    background: #015378;
    padding: 30px 0;
  }

  .footer-cont{
    display: grid;
    grid-template-columns:repeat(3,1fr);
    color: white;
    gap: 30px;
  }

  .semibold{
    font-weight: 600;
  }

  .pd-footer-text{
    padding: 1rem 0;
}

.social-links{
    margin-top: 1rem;
    gap: 20px;
}

.social-links li a{
    display:flex;
    align-items: center;
    justify-content: center;
    background: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: .3s all;
}

.social-links li a:hover{
    opacity: .8;
}

@media(max-width:1100px){
    .swiper-slide{
        flex-direction: column;
        justify-content: flex-start;
    }

    .swiper {
        height: 660px;
    }

    .cont-slide{
        height: auto;
    }

    .custom-pagination {
        bottom: 0px !important; 
        display: none;
      }
}

@media(max-width:999px){
    .d-none{
        display: none;
    }

    .cont-main-info{
        flex-direction: column-reverse;
    }

    .align-mobile{
        text-align: center;
        padding-bottom: 2rem;
    }

    .m-auto{
        margin: 0 auto;
    }

    .sectionBest{
        flex-direction: column;
    }

    .aling-text-mobile{
        text-align: center;
    }

    .cont-img img:first-child{
        display: none;
    }
    .local-clinica-cont{
        flex-direction: column;
    }

    .footer-cont{
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cont-contato{
        flex-direction: column-reverse;
        gap: 30px;
        text-align: center;
    }
}

@media(max-width:768px){
    .title-main{
        font-size: 2rem;
    }
    .card-equipe{
        height: auto;
    }

    .justify{
        text-align: center;
    }

    .align-mobile{
        padding-bottom: 1rem;
    }

    .icon-cont{
        font-size: 0.875rem;
    }

    #btn-mobile {
        display: flex;
        font-size: 1rem;
        border: none;
        background: none;
        cursor: pointer;
        position: absolute;
        right: 1rem;
        margin-top: 1rem;
        justify-content: flex-end;
        z-index: 99999;
    }

    #nav.ativo #hamburger {
        border-top-color: transparent;
    }

    #hamburger {
        display: block;
        border-top: 3px solid #0296DA;
        width: 30px;
    }

    #nav.ativo #hamburger::before {
        transform: rotate(-135deg);
    }

    #hamburger::after, #hamburger::before {
        content: '';
        display: block;
        width: 30px;
        height: 3px;
        background: #0296DA;
        margin-top: 5px;
        transition: .3s;
        position: relative;
    }

    #nav.ativo #hamburger::after {
        transform: rotate(135deg);
        top: -7px;
    }

    .menuCont{
        display: none;
    }

    #nav.ativo .menuCont{
        display:flex;
        flex-direction: column;
        gap: 1rem;
    }

    .configMenu{
        height: 0;
        transition: .2s all;
        position: absolute;
        left: 0;
        width: 100%;
        top: 0;
    }
    
    .configMenu.ativo{
        position: absolute;
        width: 100%;
        top: 0;
        background: #E6F5FB;
        padding-top:1rem ;
        height: 210px;
        padding-bottom:2rem ;
        z-index: 999;
    }

    .iframe iframe{
        max-width: 100%;
    }

}


@keyframes animaDireita{
    0%{
      opacity: 0;
      transform: translate3d(-400px,0,0);
    }
    100%{
      opacity: 1;
      transform: translateZ(0);
    }
  }

  @keyframes animaMenu{
    0%{
      opacity: 0;
      transform: translate3d(0,-200px,0);
    }
    100%{
      opacity: 1;
      transform: translate3d(0,0,0);
    }
  }

  @keyframes animaImg{
    0%{
      opacity: 0;
  
    }
    100%{
      opacity: 1;
 
    }
  }

  [data-scroll="anima"].ativo {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}
[data-scroll="anima"] {
    opacity: 0;
    transform: translate3d(-30px, 0, 0);
    transition: .3s;
}