:root {
  /* --- PALETA NOVA --- */
  --primary-color: #000000;   /* Preto */
  --secondary-color: #444444; /* Cinza escuro */
  --accent-color: #c9b59c;    /* Dourado/Areia */
  --accent-light: #dcc8b0;    /* Tom claro do dourado */
  --light-color: #eee9e5;     /* Bege Claro */
  
  /* Gradiente Preto Elegante para o Hero */
  --gradient: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  
  /* Gradiente Dourado para Botões */
  --gradient-accent: linear-gradient(135deg, #dcc8b0 0%, #c9b59c 100%);
}

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  overflow-x: hidden;
  background-color: var(--light-color);
  /* Espaço padrão para desktop */
  padding-top: 140px; 
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--primary-color);
}

/* --- HEADER & NAVEGAÇÃO --- */
.header-dentista {
  background-color: rgba(238, 233, 229, 0.98); 
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* Padding zerado para a logo ocupar tudo sem margem extra */
  padding: 0; 
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.header-dentista.scrolled {
  background-color: var(--light-color);
  padding: 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand-dentista {
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary-color) !important;
  display: flex;
  align-items: center;
  padding: 0; 
  margin: 0;
}

/* --- LOGO (Configuração Geral) --- */
#logo {
  max-height: 130px; /* Tamanho Desktop */
  width: auto;       
  height: auto;
  transition: all 0.3s ease;
  display: block;
}

/* Logo ao rolar a página */
.header-dentista.scrolled #logo {
  max-height: 70px; 
}

/* Links do Menu */
.nav-link-dentista {
  color: var(--primary-color) !important;
  font-weight: 500;
  margin: 0 10px;
  position: relative;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.nav-link-dentista:hover, .nav-link-dentista.active {
  color: var(--accent-color) !important;
}

.nav-link-dentista.active::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

/* --- HERO SECTION --- */
.hero-dentista {
  min-height: 90vh;
  background: url('https://images.unsplash.com/photo-1606811841689-23dfddce3e95?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
  overflow: hidden;
  margin-top: -140px; 
  padding-top: 150px;
}

.hero-dentista::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  opacity: 0.85;
  z-index: 0;
}

.hero-content-dentista {
  position: relative;
  z-index: 1;
}

.hero-title-dentista {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
  line-height: 1.2;
}

.hero-subtitle-dentista {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.9);
}

/* --- BOTÕES --- */
.btn-dentista {
  background: var(--gradient-accent);
  color: #000000;
  border: none;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-dentista:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  filter: brightness(1.05);
  color: #000000;
}

.btn-outline-dentista {
  border: 2px solid white;
  color: white;
  background: transparent;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-outline-dentista:hover {
  background: white;
  color: var(--primary-color);
}

/* --- SERVIÇOS --- */
.servicos-dentista {
  padding: 100px 0;
  background-color: var(--light-color);
}

.servico-card {
  border: none;
  border-radius: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  background: white;
  height: 100%;
  border: 1px solid #e0e0e0;
}

.servico-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-color);
}

.servico-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
  display: inline-block;
}

/* Botão Flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #fff;
    transform: scale(1.1);
}


/* Rodapé Modernizado */
.footer-dentista {
    background-color: #1a2533; /* Azul mais profundo para contraste */
    color: #ffffff;
    padding: 80px 0 30px;
    font-family: 'Poppins', sans-serif;
}

.footer-title {
    color: #dcc8b0;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #dcc8b0;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 10px;
}

.footer-link:hover {
    color: #dcc8b0;
    padding-left: 8px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info-item i {
    color: #dcc8b0;
    font-size: 1.1rem;
}

.copyright-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    padding-top: 25px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.dott-system-credit {
    color: #dcc8b0;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.dott-system-credit:hover {
    text-shadow: 0 0 8px rgba(220, 200, 176, 0.5);
}

/* Ajuste para mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}

/* --- SOBRE --- */
.sobre-dentista {
  padding: 100px 0;
  background-color: white;
}

.doutora-img {
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.doutora-img:hover {
  transform: scale(1.02);
}

/* --- DEPOIMENTOS --- */
.depoimentos-dentista {
  padding: 100px 0;
  background: var(--gradient);
  color: white;
}

.depoimento-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 30px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.1);
}

.depoimento-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  border-color: var(--accent-color);
}

.client-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-color);
}

/* --- CONTATO --- */
.contato-dentista {
  padding: 100px 0;
  background-color: var(--light-color);
}

.form-control-dentista {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 15px;
  transition: all 0.3s ease;
  background-color: white;
}

.form-control-dentista:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.25rem rgba(201, 181, 156, 0.25);
  background-color: #fff;
}

/* --- FOOTER --- */
.footer-dentista {
  background-color: #111111;
  color: white;
  padding: 80px 0 30px;
  border-top: 5px solid var(--accent-color);
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-link:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.social-icon-dentista {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: rgb(0, 0, 0);
  margin-right: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon-dentista:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
  color: black;
}

/* --- BANNER ALUGUEL --- */
.banner-aluguel {
  background: linear-gradient(135deg, #3c4e69 0%, #2a3b55 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.banner-aluguel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://www.transparenttextures.com/patterns/cubes.png');
  opacity: 0.05;
}

/* --- UTILITÁRIOS GLOBAIS --- */
.section-title-dentista {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--primary-color);
}

.section-title-dentista:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-color);
}

.bg-accent {
  background-color: var(--accent-color);
}

.text-accent {
  color: var(--accent-color);
}

.text-warning {
    color: var(--accent-color) !important;
}

@media (max-width: 991px) {
  .hero-title-dentista {
    font-size: 2.8rem;
  }
  #logo {
    max-height: 100px; 
  }
}

@media (max-width: 768px) {

  .hero-dentista {
    text-align: center;
    padding-top: 220px; 
  }
  
  .hero-title-dentista {
    font-size: 2.2rem;
  }
  
  .hero-subtitle-dentista {
    font-size: 1.1rem;
    margin: 0 auto 2rem auto;
  }
  
  .d-flex.gap-3 {
    justify-content: center;
    flex-wrap: wrap;
  }

  .section-title-dentista {
    font-size: 1.8rem;
  }

  .footer-logo-custom {
    max-height: 120px; /* Altere este valor para o tamanho desejado */
    width: auto;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1); /* Deixa a logo branca */
    transition: 0.3s;
}
  
  
  #logo {
    max-height: 120px; 
  }
  
  .navbar-toggler {
    border: none;
    padding: 5px; 
    font-size: 1.8rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
}