#CarroselInicial .carousel-item {
    height: 80vh;
}

#CarroselInicial .carousel-item svg {
    height: 100%;
}

#CarroselInicial .carousel-caption {
    bottom: 20%;
}

.carousel-img-slide-1 {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('/img/Capa-1.png') no-repeat center center / cover;
}

.carousel-img-slide-2 {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('/img/Capa-1.png') no-repeat center center / cover;
}

.carousel-img-slide-3 {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('/img/Capa-1.png') no-repeat center center / cover;
}

.img-home-1 {
  background: linear-gradient(rgba(0, 0, 0, 0.5)), 
  url('/img/cuidados-prolongados.jpg') no-repeat center center / cover;
}

.img-home-2 {
  background: linear-gradient(rgba(0, 0, 0, 0.5)), 
  url('/img/Ambulatorio.jpg') no-repeat center center / cover;
  
}

.img-home-3 {
  background: linear-gradient(rgba(0, 0, 0, 0.5)), 
  url('/img/centro-cirurgico.jpg') no-repeat center center / cover;
  
}

.img-home-4 {
  background: linear-gradient(rgba(0, 0, 0, 0.5)), 
  url('/img/psiquiatria.jpg') no-repeat center center / cover;
}

.logo {
    width: 300px;
    height: 90px;
    object-fit: cover;
    position: relative;
    top: 20px;
}

h3 {
  color: var(--cor-psiquiatria-secundaria);
}

body {
    padding-top: 120px; /* ajuste conforme a altura da sua navbar */
  }

  .bg-info {
    background-color: var(--cor-psiquiatria) !important;
  }

  body::before {
    content: "";
    position: fixed; /* Fica visível durante o scroll */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/img/LogoAzulEscuro.png');
    background-repeat: repeat;
    background-size: 300px auto; /* 👈 Ajuste aqui o tamanho da logo */
    opacity: 0.2;
    z-index: -1;
    pointer-events: none;
  }

.transition {
    transition: all 0.3s ease-in-out;
}
.hover-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.fundo-bottom {
  background: linear-gradient(to bottom, var(--cor-psiquiatria), var(--cor-fundo));; color: white;
}

.fundo-top {
  background: linear-gradient(to top, var(--cor-psiquiatria), var(--cor-fundo));; color: white;
}

.hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 1px 1px 4px #000;
    text-align: center;
}

.section-title {
    border-left: 4px solid var(--cor-psiquiatria-secundaria);
    padding-left: 10px;
    margin-bottom: 1.5rem;
}
iframe {
    border-radius: 8px;
    width: 100%;
    height: 500px;
}

a.btn-primary {
    background-color: var(--cor-psiquiatria); /* Cor de fundo */
    color: white; /* Cor do texto */
    border: none;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    display: inline-block;
    text-align: center;
  }

:root {
    --cor-primaria: #0b79e8; /* Azul principal */
    --cor-psiquiatria-secundaria: #000832;;
    --cor-psiquiatria: #000a3f;
    --cor-centro-diagnostico-imagem: #85ccff;
    --cor-centro-cirurgico: #32d4af;
    --cor-cuidados-prolongados: #5d72ff;
    --cor-secundaria: #ff5733; /* Laranja */
    --cor-texto: #333333; /* Cor do texto */
    --cor-fundo: #f4f4f4; /* Fundo claro */
    --cor-botao: #4caf50; /* Verde para botões */
    --cor-botao-hover: #45a049; /* Verde escuro para hover */
    --cor-erro: #d32f2f; /* Vermelho para erro */
    --cor-sucesso: #388e3c; /* Verde para sucesso */
    --cor-avisos: #ffeb3b; /* Amarelo para avisos */
  }


  .motivacao {
    background-color: #f0f4f8;
    border-left: 4px solid var(--cor-primaria, #1a73e8);
    padding: 12px 16px;
    font-style: italic;
    font-size: 0.95rem;
    border-radius: 4px;
  }
  
  .linkedin-icon {
    color: #0a66c2;
    transition: color 0.3s ease;
  }
  
  .linkedin-icon:hover {
    color: #004182;
  }

/* Desktop */
@media (min-width: 992px) {
  .top-bar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1031;
  }

    .navbar {
      top: 29px; /* Altura da top-bar. Ajuste se necessário */
      font: 600 16px/1 'Montserrat', sans-serif;
    }

    .ms-auto {
      gap: 8px;
    }

    body {
      padding-top: 80px; /* Para não esconder o conteúdo */
    }

    main {
      position: relative;
      top: 50px;
    }

    .nav-item.dropdown:hover .dropdown-menu {
      display: block;
      margin-top: 0;
      font-size: 18px;
      font: 600 16px/1 'Montserrat', sans-serif;
  } 
}

.dropdown-item {
    padding: 10px; /* Espaçamento vertical entre itens */
}

.dropdown-item:hover {
    background-color: #e9ecef; /* Cinza mais escuro - ajuste a cor conforme necessário */
}


/* Mobile */
@media (max-width: 991.98px) {
  .top-bar {
    display: none !important;
  }

  .navbar {
    top: 0 !important;
  }

  body {
    padding-top: 56px; /* Altura da navbar no mobile */
  }
}

.card-img-top {
  height: 200px; /* ou a altura que desejar */
  object-fit: cover;
}

.card-fixa {
  height: 250px; /* ajuste conforme necessário */
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-fixa .card-img-top {
  height: 190px; /* ou ajuste conforme quiser */
  object-fit: cover;
}

.card-fixa .card-img-top-two {
  height: 160px; /* ou ajuste conforme quiser */
  object-fit: cover;
}

.feedback-card {
  border-left: 5px solid #0d6efd; /* azul Bootstrap */
  border-radius: 1rem;
  background-color: #fff;
  position: relative;
  transition: all 0.3s ease;
}

.feedback-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.feedback-text {
  font-style: italic;
  position: relative;
  padding-left: 20px;
}

.feedback-text::before {
  content: "“";
  font-size: 2rem;
  color: #0d6efd;
  position: absolute;
  left: 0;
  top: -10px;
}

.avatar {
  background-color: var(--cor-primaria);
  color: white;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.accordion-button {
  background: none;
  font-weight: bold;
  color: #0056b3;
  padding: 1rem;
  transition: background-color 0.3s ease;
  box-shadow: none;
  outline: none;
}

.accordion-button:not(.collapsed) {
  background-color: #f1f1f1;
  color: #003366;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-item {
  border: none;
  border-bottom: 1px solid #dcdcdc;
}

.accordion-button::after {
  transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
}

@media (max-width: 767px) {
  #carouselFeedback .carousel-item .col-md-6:nth-child(2) {
    display: none !important;
  }
}

.card-custom {
  padding: 30px;
}
.icon-text {
  display: flex;
  align-items: center;
}
.icon {
  font-size: 2rem;
  margin-right: 10px;
  color: #007bff;
}
.title {
  font-weight: bold;
  color: #007bff;
  text-align: center;
}
.text-danger {
  font-size: 1rem;
  text-align: center;
}


.background-image {
  width: 100%;
  height: auto;
  display: block;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* leve escurecimento */
  z-index: 1;
}

.quote-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  text-align: center;
  z-index: 2;
  font-size: 25px;
}

.video-ajustado {
  width: 100%;
  max-width: 900px; /* ajuste o valor conforme necessário */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#mapa {
  scroll-margin-top: 100px; /* ajuste conforme a altura do seu header ou navbar */
}

.imagem-expandivel {
  cursor: pointer;
}

.text-justificado {
  text-align: justify !important;
 }

.botao-contato {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.botao-contato img {
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.botao-contato:hover img {
    transform: scale(1.2); /* zoom leve */
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)); /* sombra */
}

.custom-bar {
  background: linear-gradient(to bottom, #000832, #3c4c80);
}

.custom-bar-divide {
  background: linear-gradient(to bottom, #273746, #586776)
}

.dropdown-menu > li {
    border-bottom: 1px solid grey; /* Adiciona borda inferior */
}

/* Remove a borda do último item */
.dropdown-menu > li:last-child {
    border-bottom: none;
}
