p {
  text-align: justify;
}

.card-exame {
  transition: transform 0.3s, box-shadow 0.3s;
}
.card-exame:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.btn-custom {
  transition: background-color 0.3s, color 0.3s;
}
.btn-custom:hover {
  background-color: #0056b3;
  color: white;
}
.section-bg {
  background: url('../img/laboratorio.jpg') no-repeat center center;
  background-size: cover;
  position: relative;
  color: white;
}
.section-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1;
}
.section-bg .content {
  position: relative;
  z-index: 2;
}

.section-bg {
  background: url('../imagens/bg-imunologia.jpg') no-repeat center center;
  background-size: cover;
  position: relative;
  color: white;
  min-height: 400px; /* define uma altura mínima */
}
.section-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5); /* overlay escuro */
  z-index: 1;
}
.section-bg .content {
  position: relative;
  z-index: 2;
}

.navbar-nav .nav-link {
  font-size: 1.1rem;     /* Aumenta a fonte */
  font-weight: bold;     /* Negrito */
  text-transform: uppercase; /* (Opcional) Deixa tudo maiúsculo */
}

.exame-bg-hematologia,
.exame-bg-bioquimica,
.exame-bg-imunologia {
  background-size: cover;
  background-position: center;
  height: 750px; /* altura aumentada */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.exame-bg-hematologia {
  background-image: url('../imagens/bg-hematologia.jpg');
}

.exame-bg-bioquimica {
  background-image: url('../imagens/bg-bioquimica.jpg');
}

.exame-bg-imunologia {
  background-image: url('../imagens/bg-imunologia.jpg');
}

/* overlay semitransparente */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 50% de opacidade */
  z-index: 1;
}

.content {
  z-index: 2;
}

.exame-bg-hematologia,
.exame-bg-bioquimica,
.exame-bg-imunologia {
  background-size: cover;
  background-position: center;
  height: 750px;
  border-radius: 8px;
  position: relative;
  overflow: hidden; /* impede sair da div */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* cria um pseudo-elemento para a imagem */
.exame-bg-hematologia::before,
.exame-bg-bioquimica::before,
.exame-bg-imunologia::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease-in-out;
  z-index: 0;
}

.exame-bg-hematologia::before { background-image: url('../img/bg-hematologia.jpg'); }
.exame-bg-bioquimica::before { background-image: url('../img/bg-bioquimica.jpg'); }
.exame-bg-imunologia::before { background-image: url('../img/bg-imunologia.jpg'); }

/* overlay */
.overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.5);
  transition: background-color 0.3s ease-in-out;
  z-index: 1;
}

/* conteúdo acima de tudo */
.content {
  position: relative;
  z-index: 2;
}

/* efeito hover: só o bg cresce */
.exame-bg-hematologia:hover::before,
.exame-bg-bioquimica:hover::before,
.exame-bg-imunologia:hover::before {
  transform: scale(1.1);
}

.exame-bg-hematologia:hover .overlay,
.exame-bg-bioquimica:hover .overlay,
.exame-bg-imunologia:hover .overlay {
  background-color: rgba(0,0,0,0.3);
}


.exame-bg-hematologia:hover .overlay,
.exame-bg-bioquimica:hover .overlay,
.exame-bg-imunologia:hover .overlay {
  background-color: rgba(0, 0, 0, 0.3); /* overlay fica mais claro no hover */
}

.content {
  z-index: 2;
  transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

.exame-bg-hematologia:hover .content,
.exame-bg-bioquimica:hover .content,
.exame-bg-imunologia:hover .content {
  transform: translateY(-5px);
  opacity: 0.95;
}

.exame-card {
  background-size: cover;
  background-position: center;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.4s ease-in-out;
}

/* exemplo de imagens (adicione suas próprias imagens em /img/) */
.exame-card:nth-child(1) { background-image: url('../imagens/bg-hematologia.jpg'); }
.exame-card:nth-child(2) { background-image: url('../imagens/bg-bioquimica.jpg'); }
.exame-card:nth-child(3) { background-image: url('../imagens/bg-imunologia.jpg'); }
.exame-card:nth-child(4) { background-image: url('../imagens/bg-uroanalise.jpg'); }
.exame-card:nth-child(5) { background-image: url('../imagens/bg-parasitologia.jpg'); }
.exame-card:nth-child(6) { background-image: url('../imagens/bg-testes.jpg'); }

.exame-card:hover {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  transition: background 0.4s ease-in-out;
}

.exame-card:hover .overlay {
  background: rgba(0,0,0,0.3);
}

.content {
  z-index: 2;
}

h5 {
  font-weight: bold;
  margin-bottom: 15px;
  color: #0d6efd;
}
ul li {
  margin-bottom: 5px;
}


.card {
  border: none;
  transition: transform 0.3s ease-in-out;
}
.card:hover {
  transform: translateY(-5px);
}

.card {
  border: none;
  transition: transform 0.3s ease-in-out;
}
.card:hover {
  transform: translateY(-5px);
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366; /* verde WhatsApp */
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 32px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, background-color 0.3s;
}

.whatsapp-float:hover {
  background-color: #1ebe5d;
  transform: scale(1.1);
}

ul li {
  margin-bottom: 10px;
}
ul li a {
  color: #000;
  font-weight: bold;
}
ul li a:hover {
  color: #d32f2f; /* vermelho */
}

.map-responsive {
  overflow: hidden;
  padding-bottom: 56.25%; /* proporção 16:9 */
  position: relative;
  height: 0;
}
.map-responsive iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

.navbar-nav .nav-item {
  margin-left: 20px; /* espaçamento entre itens */
}

.navbar-nav .nav-link {
  font-weight: 600;    /* fonte mais grossa */
  font-size: 1.1rem;   /* aumenta um pouco a fonte */
  letter-spacing: 0.5px; /* espaçamento entre letras */
}
