/* Importando a fonte Roboto */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');

html,
body {
  position: relative;
  height: 100%;
  font-family: "Lato", serif;
  line-height: 1.6;
  color: #ffffff;
  background-color: #f8f9fa;
  margin: 0;
  padding: 0;
  background-color: #1a1a1a;
}

a{
  text-decoration: none;
}

.text-link{
  color: #ffffff !important;
}

.clinic-intro {
    background-image: url('assets/foto-central.webp'); /* Imagem impactante de fundo */
    background-size: cover;
    background-position: center;
    height: 400px; /* Altura ajustável */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
    padding: 0 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }
  
  .clinic-intro::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Fundo escuro para dar contraste */
    z-index: 0;
  }
  
  .content {
    position: relative;
    z-index: 1;
  }
  
  .headline {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
  }
  
  .description {
    font-size: 1.2rem;
    margin-bottom: 25px;
  }
  
  .cta-button {
    padding: 10px 25px;
    background-color: #b07730; /* Cor chamativa */
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }
  
  .cta-button:hover {
    background-color: #b07630b7;
    color: rgba(255, 255, 255, 0.627);
    text-decoration: none; 
  }


  .video-container {
    position: relative;
    width: 100%;
    max-width: 300px; /* Ajuste para o tamanho ideal do vídeo vertical */
    margin: 0 auto;
    border: 10px solid #f8f9fa; /* Cor da moldura */
    border-radius: 8px; /* Cantos arredondados */
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2); /* Sombra para destaque */
    overflow: hidden; /* Garante que o vídeo respeite o container */
    aspect-ratio: 9 / 16; /* Mantém proporção vertical */
  }
  
  .highlight-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Preenche o container respeitando a proporção */
    display: block;
  }
  
  .video-container:hover {
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3); /* Efeito ao passar o mouse */
  }
  
  

/* container */

swiper-container {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}

swiper-slide {
  background-position: center;
  background-size: cover;
  width: 300px;

}

swiper-slide img {
  display: block;
  width: 100%;
}

.fade-container {
  position: relative;
  width: 100%;
  height: 500px; /* Ajuste conforme necessário */
  overflow: hidden;
  max-width: 600px;
  margin: 0 auto;
}

.fade-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Garante preenchimento do container */
  animation: fadeLoop 6s infinite; /* Loop contínuo */
  opacity: 0;
  z-index: 0;
  transition: opacity 1s ease-in-out; /* Suaviza as transições */
}

.fade-image:nth-child(1) {
  animation-delay: 0s;
}

.fade-image:nth-child(2) {
  animation-delay: 2s;
}

.fade-image:nth-child(3) {
  animation-delay: 4s;
}

@keyframes fadeLoop {
  0%, 25% {
    opacity: 1; /* Imagem visível */
    z-index: 1;
  }
  35%, 100% {
    opacity: 0; /* Imagem desaparecendo */
    z-index: 0;
  }
}


.h-divider {
  margin: auto;
  margin-top: 80px;
  width: 80%;
  position: relative;
}

.h-divider .shadow1 {
  overflow: hidden;
  height: 20px;
}

.h-divider .shadow1:after {
  content: '';
  display: block;
  margin: -25px auto 0;
  width: 100%;
  height: 25px;
  border-radius: 125px/12px;
  box-shadow: 0 0 8px black;
}

.h-divider .text {
  width: 100px;
  height: 45px;
  padding: 10px;
  position: absolute;
  bottom: 100%;
  margin-bottom: -33px;
  left: 50%;
  margin-left: -60px;
  border-radius: 100%;
  box-shadow: 0 2px 4px #999;
  background: white;
}

.h-divider .text i {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  right: 4px;
  border-radius: 100%;
  border: 1px dashed #aaa;
  text-align: center;
  line-height: 50px;
  font-style: normal;
  color: #999;
}

.h-divider .text2 {
  width: 70px;
  height: 70px;
  position: absolute;
  bottom: 100%;
  margin-bottom: -35px;
  left: 50%;
  margin-left: -25px;
  border-radius: 100%;
  box-shadow: 0 2px 4px #999;
  background: white;
}

.h-divider img {
  position: absolute;
  margin: 4px;
  max-width: 60px;
  border-radius: 100%;
  border: 1px dashed #aaa;
}



.image-container {
    position: relative;
    display: inline-block;
    width: 300px;
    height: 380px;
    overflow: hidden;
    border-radius: 8px;
  }
  
  .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
  }
  
  .image-label {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    color: white;
    font-size: 1rem;
    text-align: center;
    font-weight: bold;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
  }
  


/* nabar  */
header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgb(54, 54, 54);
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  header.hidden {
    transform: translateY(-100%);
    opacity: 0;
  }
  
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
  }
  
  .navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  .navbar-nav {
    display: flex;
    gap: 20px;
  }
  
  .navbar-nav.ml-auto {
    margin-left: auto; /* Alinha à direita */
  }
  
  .navbar-toggler {
    margin-left: auto; /* Alinha o botão hambúrguer à direita no mobile */
  }
  
  @media (max-width: 768px) {
    .navbar-brand {
      position: relative;
      transform: none;
      left: auto;
      text-align: center;
      margin: 0 auto;
    }
  }
  

.navbar-nav .nav-link {
    color: #ffffff;
    transition: color 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
    color: #ffcc00;
}

h2.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #313131;
    font-weight: bold;
}

.section-content{
color: #6c6c6c;
}

.custom-background{
  background-color: #F3EBE1;
}

.img-container {
  text-align: center;
  padding: 15px; 
}

.highlight-image {
  width: 100%; 
  max-width: 300px; 
  height: auto; 
  border: 5px solid #f8f9fa; 
  border-radius: 8px; 
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2); 
  transition: transform 0.3s ease-in-out; 
}



#servicos .service-item {
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

#servicos .service-item:hover {
    transform: scale(1.05);
}

#servicos .service-item img {
    border-radius: 0.5rem;
    max-height: 200px;
    object-fit: cover;
}

#clinica .video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 0.5rem;
}

#clinica .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

#sobre img {
    width: 100%;
    max-width: 300px;
    border-radius: 50%;
    margin-bottom: 1rem;
}


a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.container {
    padding-left: 15px;
    padding-right: 15px;
}

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.bg-light {
    background-color: #f8f9fa !important;
}

.text-center {
    text-align: center !important;
}

.mt-2 {
    margin-top: 0.5rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.rounded {
    border-radius: 0.25rem !important;
}

.rounded-circle {
    border-radius: 50% !important;
}

.img-fluid {
    max-width: 100%;
    height: auto;
} 


.astrodivider {
    margin:64px auto;
    width:400px; 
    max-width: 100%;
    position:relative;
  }
  
  .astrodividermask { 
      overflow:hidden; height:20px; 
  }
  
  .astrodividermask:after { 
        content:''; 
        display:block; margin:-25px auto 0;
        width:100%; height:25px;  
          border-radius:125px / 12px;
         box-shadow:0 0 8px #b07730;
  }
  .astrodivider span {
      width:50px; height:50px; 
      position:absolute; 
      bottom:100%; margin-bottom:-25px;
      left:50%; margin-left:-25px;
      border-radius:100%;
      box-shadow:0 2px 4px #b07730;
      background:#fff;
  }
  .astrodivider i {
      position:absolute;
      top:4px; bottom:4px;
      left:4px; right:4px;
      border-radius:100%;
      border:1px dashed #b07730;
      text-align:center;
      line-height:40px;
      font-style:normal;
       color:#b07730;
  }



/* Responsividade */
@media (max-width: 768px) {
  .swiper-slide {
      width: 90%;  /* Ajuste para largura maior em telas pequenas */
  }
  .swiper-button-next, .swiper-button-prev {
    top: 490px !important;
  }
}

@media (max-width: 576px) {
    .swiper-slide {
        width: 100%;  /* Largura completa para telas muito pequenas */
    }
    .swiper-button-next, .swiper-button-prev {
      top: 180px !important;
    }
}

@media (max-width:992px) {
    .swiper-slide {
        width: 100%;
    }

    .swiper-button-next, .swiper-button-prev {
      bottom: 450px !important;
    }
}



@media (max-width: 1400px) {
    .swiper-slide {
        width: 100%;  /* Largura completa para telas muito pequenas */
    }
    .swiper-button-next, .swiper-button-prev {
        top: 490px !important;
    }
}



@media (max-width: 480px) {
  .swiper-slide {
      width: 100%;  /* Largura completa para telas muito pequenas */
  }
  .swiper-button-next, .swiper-button-prev {
    top: 330px !important;
  }
}