/* Paleta personalizada */
:root {
  --black: #000;
  --dark-gray: #1a1a1a;
  --light-gray: #f8f9fa;
  --white: #fff;
  --rose-gold: #092230;
}

/* Navbar geral */
.navbar {
  background-color: #000; /* fundo escuro */
}

/* Links da navbar */
.navbar .nav-link {
  color: #fff;                 /* texto branco */
  margin-left: 20px;           /* espaço entre os links */
  margin-right: 20px;
  font-weight: 500;
  padding: 5px 10px;           /* leve espaçamento interno */
  border-radius: 5px;          /* cantos levemente arredondados */
  transition: all 0.3s ease;   /* transição suave */
}

/* Remove margin do primeiro link */
.navbar .nav-item:first-child .nav-link {
  margin-left: 0;
}

/* Efeito hover sutil */
.navbar .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1); /* leve destaque ao passar o mouse */
  color: #E4D9C6;                               /* mudança suave na cor do texto */
  text-decoration: none;
}

/* Responsivo: ajuste em telas pequenas */
@media (max-width: 767px) {
  .navbar .nav-link {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 8px;
    display: block;
  }
}

html {
  scroll-behavior: smooth;
}

/* Ajusta o espaço do topo para que fique centralizado abaixo da navbar */
#sobre-dr,
#procedimentos,
#nossa-clinica,
#localizacao {
  scroll-margin-top: 100px; /* altura aproximada da navbar + margem */
}





/* Hero Section */
.hero {
  position: relative;
  height: 1vh; /* ocupa toda a tela */
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 80%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.4); /* escurece o vídeo (0.4 = 40% de brilho) */
}


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

/* Ajuste da logo sem aumentar a navbar */
.navbar-brand {
  display: flex;
  align-items: center;
  height: 70px; /* altura fixa da barra */
  overflow: hidden; /* impede que a logo "empurre" a barra */
}

.navbar {
   background-color: #092230;

}
.navbar-brand img {
  height: 70px; /* tamanho visual da logo */
  width: auto;
  object-fit: contain;
  margin-top:   px; /* sobe um pouco a logo dentro da barra */
}


/* Logo na navbar */
.navbar-brand img {
  height: 150px;           /* altura desejada */
  width: auto;            /* mantém proporção */
  object-fit: contain;    /* evita distorção */
  margin-top: -5px;       /* opcional: alinha verticalmente */
}


/* Hero Section */
.hero {
  background-color: var(--black);
  background-image: url('img/background.jpg');
  background-size: cover;
  background-position: center;
  min-height: 80vh;
  padding: 4rem 1rem;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.6);
}

.hero .container {
  position: relative;
  z-index: 2;
}

/* Botão Rose Gold */
.btn-rose {
  background-color: var(--rose-gold);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: background-color 0.3s;
}

.btn-rose:hover {
  background-color: #ffffff;
  color: #092230;
}

/* Seções */
section {
  padding-top: 60px;
  padding-bottom: 60px;
}

/* Footer */
footer {
  background-color: var(--black);
  font-size: 0.9rem;
}

/* =========================
   CARROSSEL ODONTOLOGIA
   ========================= */
/* --- container geral --- */
.sorriso-carrossel { background:#062437; color:#fff; padding:72px 20px 56px; }
.sorriso-inner { max-width:1200px; margin:0 auto; text-align:center; }
.sorriso-sub { color:#c7a968; font-size:0.8rem; letter-spacing:2px; text-transform:uppercase; margin-bottom:8px; }
.sorriso-title { font-weight:300; font-size:32px; line-height:1.2; margin-bottom:36px; }

/* --- viewport / track --- */
.sorriso-viewport { overflow:hidden; position:relative; }
.sorriso-track {
  display:flex;
  gap:36px;                 /* espaçamento lateral entre os cards (ajusta a estética) */
  align-items:flex-start;
  transition: transform 0.8s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
  padding-bottom: 8px;
}

/* --- card com tamanho fixo igual à referência --- */
.sorriso-card {
  flex: 0 0 320px;          /* largura fixa igual à sua referência */
  height: 460px;            /* altura que deixa a imagem proporcional */
  border-radius:12px;
  overflow:hidden;
  position:relative;
  background:#fff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

/* imagem ocupa todo card e respeita bordas arredondadas */
.sorriso-card img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition: transform .4s ease;
}

/* leve zoom na imagem quando hover */
.sorriso-card:hover img { transform:scale(1.05); }

/* caption (opcional, aparece acima da imagem na sua primeira versão) */
.sorriso-caption {
  position:absolute;
  top:12px;
  left:18px;
  right:18px;
  text-align:center;
  pointer-events:none;
  color:#082435; /* escuro sobre o branco */
  background: transparent;
}
.sorriso-caption h3 { margin:0; font-size:20px; font-weight:500; }
.sorriso-caption p { margin:6px 0 0; font-size:13px; color:#3b3b3b; }

/* overlay (aparece ao passar) centralizado com texto e o + */
.sorriso-overlay {
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 20%, rgba(0,0,0,0.6) 100%);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:28px;
  opacity:0;
  transition: opacity .35s ease;
}
.sorriso-card:hover .sorriso-overlay { opacity:1; }

.overlay-inner { max-width:240px; }
.overlay-inner .plus {
  display:inline-block;
  font-size:34px;
  line-height:1;
  width:44px;
  height:44px;
  border-radius:50%;
  border:2px solid rgba(255,255,255,0.25);
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 10px;
  background: rgba(255,255,255,0.04);
}
.overlay-inner h3 { margin:6px 0 8px; font-size:22px; font-weight:500; }
.overlay-inner p { margin:0; font-size:13px; color:rgba(255,255,255,0.9); line-height:1.4; }

/* --- indicadores (bolinhas) --- */
.sorriso-dots { margin-top:28px; display:flex; gap:10px; justify-content:center; }
.sorriso-dots button {
  width:10px; height:10px; border-radius:50%; border:0; background:rgba(255,255,255,0.28); cursor:pointer;
}
.sorriso-dots button.active { background:#fff; box-shadow: 0 0 0 6px rgba(255,255,255,0.04); }

/* --- responsividade --- */
@media (max-width: 1024px) {
  .sorriso-card { flex:0 0 300px; height:420px; }
}
@media (max-width: 820px) {
  .sorriso-card { flex:0 0 calc(50% - 18px); height:380px; } /* 2 por vez */
  .sorriso-track { gap:20px; }
}
@media (max-width: 560px) {
  .sorriso-card { flex:0 0 100%; height:420px; } /* 1 por vez */
}

.sorriso-viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 1040px; /* valor aproximado que comporta 3 cards + gaps */
  margin: 0 auto;
}


/* ===== Responsividade ===== */
@media (max-width: 900px) {
  .carrossel-section .card {
    flex: 0 0 calc(100% / 2);
  }
}

@media (max-width: 600px) {
  .carrossel-section .card {
    flex: 0 0 100%;
  }
}


/* Responsividade */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .btn-rose {
    width: 100%;
    padding: 0.75rem;
  }
}

#sobre img {
  max-width: 60%; /* diminui o tamanho da imagem */
  height: auto;   /* mantém a proporção */
  display: block;
  margin: 0 auto; /* centraliza, caso queira */
}

/* Sobre a Clinica */

.sobre-dr-rose {
  background: linear-gradient(135deg, #E4D9C6, #E4D9C6);
  color: #092230;
  padding: 100px 0;
  font-family: "Poppins", sans-serif;
}

.sobre-dr-rose .foto-dr {
  position: relative;
  width: 320px;
  height: 400px;
  margin: 0 auto;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff, #ffffff);
  padding: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  
  transition: transform 0.4s ease;
}

.sobre-dr-rose .foto-dr:hover {
  transform: rotate(0deg) scale(1.02);
}

.sobre-dr-rose .foto-dr img {
  width: 100%;
  height: 100%;
  border-radius: 25px;
  object-fit: cover;
}

.sobre-dr-rose .tag {
  display: inline-block;
  background: #092230;
  color: #ffffff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
}

.sobre-dr-rose h2 {
  font-size: 40px;
  color: #000000;
  font-weight: 700;
  margin-bottom: 8px;
}

.sobre-dr-rose h3 {
  font-size: 20px;
  color: #000000;
  font-weight: 500;
  margin-bottom: 25px;
}

.sobre-dr-rose p {
  color: #092230;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 600px;
}

.sobre-dr-rose .infos {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  justify-content: flex-start;
}

.sobre-dr-rose .info {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 12px;
  padding: 14px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border-left: 4px solid #092230;
  transition: all 0.3s ease;
}

.sobre-dr-rose .info:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(207,161,141,0.25);
}

.sobre-dr-rose .info i {
  font-size: 26px;
  color: #ffffff;
}

.sobre-dr-rose .info h4 {
  font-size: 15px;
  margin: 0;
  color: #4a3028;
  font-weight: 500;
}

@media (max-width: 768px) {
  .sobre-dr-rose {
    text-align: center;
    padding: 60px 20px;
  }
  .sobre-dr-rose .foto-dr {
    width: 250px;
    height: 320px;
    margin-bottom: 30px;
  }
  .sobre-dr-rose h2 {
    font-size: 32px;
  }
  .sobre-dr-rose h3 {
    font-size: 18px;
  }
  .sobre-dr-rose .infos {
    flex-direction: column;
    align-items: center;
  }
}

/* ---- Ícones de redes sociais ---- */
.sobre-dr-rose .social-icons {
  display: flex;
  gap: 18px;
  margin-top: 25px;
}

.sobre-dr-rose .social-icons a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(145deg, #092230, #092230);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(199,158,138,0.25);
}

.sobre-dr-rose .social-icons img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1); /* deixa branco */
  transition: filter 0.3s ease;
}

.sobre-dr-rose .social-icons a:hover img {
  filter: brightness(1) invert(0); /* fica rose gold escuro */
}


/* ---- Responsivo ---- */
@media (max-width: 768px) {
  .sobre-dr-rose {
    text-align: center;
    padding: 60px 20px;
  }
  .sobre-dr-rose .foto-dr {
    width: 250px;
    height: 320px;
    margin-bottom: 30px;
  }
  .sobre-dr-rose h2 {
    font-size: 32px;
  }
  .sobre-dr-rose h3 {
    font-size: 18px;
  }
  .sobre-dr-rose .infos {
    flex-direction: column;
    align-items: center;
  }
  .sobre-dr-rose .social-icons {
    justify-content: center;
  }
}

/* Galeria de fotos */
.galeria-estrutura {
  display: flex;
  background-color: #ffffff;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  padding: 60px 0;
}

.galeria-estrutura .container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1300px;
}

.texto-galeria {
  flex: 1 1 350px;
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.texto-galeria h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.texto-galeria p {
  color: #555;
  margin-bottom: 30px;
}

.btn-agendar {
  display: inline-block;
  background: #092230; /* Rose Gold */
  color: #fff;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-agendar:hover {
  background: #E4D9C6;
  color: #ffffff;
}

/* Carrossel */

.galeria-estrutura {
 background-color: #E4D9C6;

}

.carousel {
  flex: 2 1 700px;
  overflow: hidden;
  border-radius: 14px;
}

.carousel-track {
  display: flex;
  gap: 15px;
  transition: transform 1s ease;
}

.carousel-track img {
  width: calc(33.333% - 10px);
  border-radius: 14px;
  object-fit: cover;
  height: 380px; /* ajuste de altura */
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}


