/* Estilos Gerais e Resets */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* Navbar */
.navbar {
  transition: background-color 0.5s ease-in-out, backdrop-filter 0.5s ease-in-out;
  margin: 10px 50px;
  border-radius: 20px;
}
#main-navbar {
  background-color: transparent;
  box-shadow: none;
}
#main-navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
#main-navbar .navbar-brand img {
  filter: brightness(100%);
  transition: filter 0.5s ease-in-out;
  height: 50px;
}
#main-navbar.scrolled .navbar-brand img {
  filter: brightness(0);
}
#main-navbar .nav-link,
#main-navbar .btn-agende {
  color: #ffffff;
  transition: color 0.5s ease-in-out;
  font-weight: bold;
}
#main-navbar.scrolled .nav-link,
#main-navbar.scrolled .btn-agende {
  color: #7a4635;
}
#main-navbar .btn-agende {
  background: linear-gradient(90deg, #000000, #495077);
  color: white;
  border-radius: 50px;
}
#main-navbar.scrolled .btn-agende {
  background: linear-gradient(90deg, #000000, #495077);
  color: white;
}


/* Seção Home */
.hero {
  background-image: url("img/back.jpg");
  background-size: cover;
  background-position: center;
  height: 100vh;
}
.herom {
  background-image: url("img/mobile2\ \(1\).png");
  background-size: cover;
  background-position: center;
  height: 100vh;

}
.herom p{
  text-align: left; 
  margin-top: 20px;;
}

.textce {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100vh;
  color: white;
}
.textce a {
  text-decoration: none;
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  transition: background-color 0.3s, color 0.3s;
  background-color: #96989a;
}
.textce a:hover {
  background-color: white;
  color: black;
}

/* Marquee */
.marquee-container-davi {
  background: linear-gradient(to right, #34466f, #000000);
  overflow: hidden;
  padding: 15px 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: 100%;
}
.marquee-content-davi {
  display: flex;
  white-space: nowrap;
  animation: scrollText 45s linear infinite;
}
.marquee-content-davi span {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: white;
  text-transform: uppercase;
  padding-right: 50px;
  line-height: 1;
}
@keyframes scrollText {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* Seção Sobre Mim */
.titulo-quem-sou-eu {
  max-width: 450px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 0 0;
  margin-bottom: -30px;
}
.botoes-contato {
  display: flex;
  justify-content: left;
  gap: 20px;
  margin-top: 30px;
}
.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #1c253b;
  color: white;
  text-decoration: none;
  font-size: 24px;
  transition: background-color 0.3s ease;
}
.btn-social:hover {
  background-color: #0d1222;
}
.botoes-contato2 {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}
.btn-social2 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #ffffff;
  color: #1c253b;
  text-decoration: none;
  font-size: 24px;
  transition: background-color 0.3s ease;
}


/* Seção de Serviços */
.img-servico {
  max-width: 500px;
  width: 40%;
  height: auto;
  margin: 50px auto;
  display: block;
  margin-top: -25px;
}

@media (max-width: 768px) {
  .img-servico {
    width: 100%;
    max-width: none; /* Remove o limite de 500px para garantir 100% */
    margin: 25px auto; /* Ajuste o margin se necessário */
    
  }
}

.card-especialidade-novo {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: white;
  height: 100%;
}
.card-especialidade-novo:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
.card-especialidade-novo .card-body {
  display: flex;
  align-items: center;
  padding: 20px;
}
.card-especialidade-novo hr {
  background-color: #7a4635;
  height: 3px;
  border: none;
}
.imagem-wrapper {
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.imagem-wrapper img {
  width: 80px;
  height: auto;
}
.card-especialidade-novo .card-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #343a40;
  margin-bottom: 5px;
}
.card-especialidade-novo .card-text {
  font-size: 0.95rem;
  color: #6c757d;
}

/* Galeria de Casos */
.galeria-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  height: 300px;
}
.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}
.icone-mais {
  color: white;
  font-size: 3rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.galeria-item:hover .overlay {
  opacity: 1;
}
.galeria-item:hover .icone-mais {
  opacity: 1;
}
.modal-content {
  border-radius: 10px;
}

.modal-custom {
  border-radius: 16px;
  overflow: hidden;
}

.modal-title {
  font-size: 1.5rem;
  color: #333;
}


ul li {
  font-size: 1rem;
  margin-bottom: 6px;
}

.btn-gradient {
  background: linear-gradient(90deg, #000000, #495077);
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s ease-in-out;
}

.btn-gradient:hover {
  transform: scale(1.05);
 background: linear-gradient(90deg, #000000, #495077);
  color: #fff;
}

.btn-icon {
  background: none;
  border: none;
  color: #495077; /* cor do botão gradiente */
  font-size: 1.6rem;
  transition: transform 0.2s;
}

.btn-icon:hover {
  transform: scale(1.2);
  color: #000; 
}
.img-modal {
  width: 60%;
  max-height: 280px; 
  object-fit: cover; 
  border-radius: 12px;
  margin-bottom: 16px;
}
.img-modal3 {
  width: 40%;
  max-height: 280px; 
  object-fit: cover; 
  border-radius: 12px;
  margin-bottom: 16px;
}

.btn-icon small {
  display: block;
  font-size: 0.8rem;
  margin-top: 4px;
  color: #333;
}


.btn-whatsapp {
  background-color: #25d366;
  color: white;
  border-radius: 50px;
  padding: 10px 20px;
}

/* Efeito de divisão animada */
.animated-divider-section {
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.scroll-indicator-ball {
  width: 30px;
  height: 60px;
  background: linear-gradient(to right, #34466f, #000000);
  border-radius: 20px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.scroll-indicator-ball::before {
  content: '';
  width: 15px;
  height: 15px;
  background-color: white;
  border-radius: 50%;
  display: block;
  animation: bounce 2s infinite ease-in-out;
}
@keyframes bounce {
  0%, 100% { transform: translateY(-10px); }
  50% { transform: translateY(10px); }
}

/* Mapa e Footer */
.mapa-section {
  background-color: white;
}
.map-container {
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.map-container iframe {
  width: 100%;
  height: 250px;
  border: 0;
}
.footer-davi {
  background: linear-gradient(to right, #34466f, #000000);
  color: white;
}
.footer-copyright {
  color: #b0b0b0;
}

/* CTA Section */
.cta-section {
 background: linear-gradient(to right, #34466f, #000000);
  color: #fff;
  text-align: center;
  padding: 20px;
}

.cta-content h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.cta-button {
  background: #fff;
  color: #000;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
}

/* Footer */
.site-footer {
 background: linear-gradient(to right, #34466f, #000000);
  color: #fff;
  padding: 40px 20px 20px;
  margin-top: 40px;
}


.footer-logo img {
  max-height: 60px;
}

.footer-links a {
  margin: 0 12px;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #d1d1d1;
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: #fff;
  text-decoration: underline;
}

.sobre-doutor p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.sobre-doutor ul {
  margin-top: 10px;
  margin-bottom: 10px;
  padding-left: 20px;
}

.toggle-link {
  display: inline-block;
  margin-top: 10px;
  color: rgb(73, 80, 119);
  font-weight: bold;
  cursor: pointer;
  text-decoration: underline;
}

.toggle-link:hover {
  color: #000000;
}


/* OTIMIZAÇÃO PARA MOBILE */
@media (max-width: 991px) {
  .navbar {
    margin: 10px;
    border-radius: 10px;
    
  }
  .navbar-toggler {
    border: none;
  }
  .img-modal, .img-modal3 {
    width: 80%;
    max-height: 200px; /* altura fixa padronizada */
  }

  .navbar-collapse.show {
     background-color: rgba(255, 255, 255, 0.493);
    backdrop-filter: blur(15px);
    padding: 20px;
    border-radius: 10px;
    margin-top: 10px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 99;
    
  }
  .navbar-collapse .nav-link {
    color: white;
  }
  #main-navbar .navbar-brand img {
    height: 40px;
  }
  .textce {
    align-items: center;
    text-align: center;
  }
  .botoes-contato {
    justify-content: center;
  }
  .titulo-quem-sou-eu {
    margin: 0 auto -30px auto;
  }
  .img-servico {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .galeria-item {
    height: 150px;
  }
}

.ocultar-mobile {
  display: block; /* Garante que o elemento está visível por padrão */
}

/* Oculta o elemento em telas com no máximo 1024px de largura */
@media (max-width: 500px) {
  .ocultar-mobile {
    display: none;
  }
}
.ocultar-desktop {
  display: block; /* Garante que o elemento está visível por padrão */
}

/* Oculta o elemento em telas com pelo menos 1025px de largura */
@media (min-width: 750px) {
  .ocultar-desktop {
    display: none;
  }
}

.btn-modal {
  background: linear-gradient(90deg, #000000, #495077)!important;
  color: white !important;
  border-radius: 50px !important;
   transition: transform 0.3s ease;
}
.btn-modal:hover {
  transform: scale(1.05) translateY(-5px); /* Aumenta 5% e move 5px para cima */
}
