* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --bronze-light: #d4af37;
  --bronze-main: #a67c52;
  --bronze-dark: #8c6239;
  --brown-dark: #3e2723;
  --black: #000000;
  --white: #ffffff;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #333;
}

.tituloimg{
  max-width: 550px;
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 20px auto;
}

.img-carousel-modal {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .img-carousel-modal {
    height: 250px;
  }
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0,0,0,0.3);
  border-radius: 50%;
  padding: 10px;
}

.navbar {
  transition: all 0.5s ease;
  margin: 0;
  padding: 20px 50px;
  border-radius: 0;
}

#main-navbar {
  background-color: transparent;
  box-shadow: none;
  border: 1px solid transparent;
}

#main-navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  margin: 15px 40px;
  padding: 10px 30px;
  border-radius: 50px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

#main-navbar .nav-link {
  color: #ffffff !important;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  transition: color 0.3s ease;
}

#main-navbar.scrolled .nav-link {
  color: var(--brown-dark) !important;
  text-shadow: none;
}

#main-navbar .navbar-brand img {
  height: 55px;
  filter: brightness(100%);
  transition: all 0.5s ease;
}

#main-navbar.scrolled .navbar-brand img {
  height: 45px;
  filter: brightness(0) sepia(1) hue-rotate(340deg) saturate(3);
}

#main-navbar .btn-agende {
  background: linear-gradient(90deg, var(--brown-dark), var(--bronze-main));
  color: white !important;
  border-radius: 50px;
  padding: 10px 25px;
  border: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

#main-navbar .btn-agende:hover {
  transform: scale(1.05);
}

@media (max-width: 991px) {
  .navbar {
    padding: 10px 20px;
    margin: 0;
  }

  #main-navbar.scrolled {
    margin: 10px;
    padding: 10px 15px;
    border-radius: 20px;
  }

  .navbar-collapse.show {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    margin-top: 10px;
    border-radius: 15px;
    padding: 20px;
  }

  .navbar-collapse.show .nav-link {
    color: var(--brown-dark) !important;
    text-align: center;
    text-shadow: none;
  }
  
  #main-navbar .btn-agende {
    width: 100%;
    margin-top: 10px;
  }
}

.hero {
  background-image: url("img/back2.png"); 
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
}

.herom {
  background-image: url("img/mobile3\ \(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;
  position: relative;
  z-index: 2;
}
.textce a {
  text-decoration: none;
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  transition: background-color 0.3s, color 0.3s;
  background-color: var(--bronze-main);
}
.textce a:hover {
  background-color: white;
  color: var(--brown-dark);
}

.marquee-container-davi {
  background: linear-gradient(to right, var(--brown-dark), var(--bronze-main));
  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%); }
}

.titulo-quem-sou-eu {
  max-width: 450px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 0 0;
  margin-bottom: -10px;
}

h1, h2, h3, h4, h5 {
    color: var(--brown-dark);
}
strong {
    color: var(--bronze-dark);
}

.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: var(--brown-dark);
  color: white;
  text-decoration: none;
  font-size: 24px;
  transition: background-color 0.3s ease;
}
.btn-social:hover {
  background-color: var(--bronze-main);
}
.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: var(--brown-dark);
  text-decoration: none;
  font-size: 24px;
  transition: background-color 0.3s ease;
}

.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; 
    margin: 25px auto;
  }
}

.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);
  border-color: var(--bronze-main);
}
.card-especialidade-novo .card-body {
  display: flex;
  align-items: center;
  padding: 20px;
}
.card-especialidade-novo hr {
  background-color: var(--bronze-main);
  height: 3px;
  border: none;
  opacity: 1;
}
.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: var(--brown-dark);
  margin-bottom: 5px;
}
.card-especialidade-novo .card-text {
  font-size: 0.95rem;
  color: #6c757d;
}

.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(62, 39, 35, 0.6);
  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: var(--brown-dark);
}

ul li {
  font-size: 1rem;
  margin-bottom: 6px;
}

.btn-gradient {
  background: linear-gradient(90deg, var(--brown-dark), var(--bronze-main));
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s ease-in-out;
  border: none;
}

.btn-gradient:hover {
  transform: scale(1.05);
  background: linear-gradient(90deg, var(--bronze-main), var(--brown-dark));
  color: #fff;
}

.btn-icon {
  background: none;
  border: none;
  color: var(--bronze-main);
  font-size: 1.6rem;
  transition: transform 0.2s;
}

.btn-icon:hover {
  transform: scale(1.2);
  color: var(--brown-dark); 
}
.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;
}

.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 bottom, var(--brown-dark), var(--bronze-main));
  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-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, var(--brown-dark), #1a120b);
  color: white;
}
.footer-copyright {
  color: #b0b0b0;
}

.cta-section {
  background: linear-gradient(to right, var(--brown-dark), var(--bronze-main));
  color: #fff;
  text-align: center;
  padding: 20px;
}

.cta-content h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #fff;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.cta-button {
  background: #fff;
  color: var(--brown-dark);
  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);
}

.site-footer {
  background: linear-gradient(to right, var(--brown-dark), #2d1e19);
  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: var(--bronze-light);
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--bronze-light);
  text-decoration: underline;
}
.footer-bottom h1 {
    color: #444;
    font-size: 10px;
    margin-top: 10px;
}

.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: var(--bronze-main);
  font-weight: bold;
  cursor: pointer;
  text-decoration: underline;
}

.toggle-link:hover {
  color: var(--brown-dark);
}

@media (max-width: 991px) {
  .navbar {
    margin: 10px;
    border-radius: 10px;
  }
  .navbar-toggler {
    border: none;
  }
  .img-modal, .img-modal3 {
    width: 80%;
    max-height: 200px;
  }

  .navbar-collapse.show {
     background-color: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 10px;
    margin-top: 10px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 99;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    
  }
  .navbar-collapse .nav-link {
    color: var(--brown-dark) !important;
  }
  #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 -10px auto;
  }
  .img-servico {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .galeria-item {
    height: 150px;
  }
}

.ocultar-mobile {
  display: block; 
}

@media (max-width: 500px) {
  .ocultar-mobile {
    display: none;
  }
}
.ocultar-desktop {
  display: block; 
}

@media (min-width: 750px) {
  .ocultar-desktop {
    display: none;
  }
}

.btn-modal {
  background: linear-gradient(90deg, var(--brown-dark), var(--bronze-main))!important;
  color: white !important;
  border-radius: 50px !important;
   transition: transform 0.3s ease;
}
.btn-modal:hover {
  transform: scale(1.05) translateY(-5px); 
}