﻿/* Menu */
.navbar-nav {
	align-items: center;
	flex-wrap: nowrap !important;
}

.navbar-nav .nav-item .nav-link {
	padding-left: 5px !important;
	padding-right: 5px !important;
	font-size: 12px;
	line-height: 1;
	white-space: nowrap;
}

.navbar-nav .nav-item:last-child {
  	margin-left: 6px !important;
}

.navbar-nav .nav-item:last-child .nav-link {
	background-color: #bf1c22;
	color: #fff !important;
	border-radius: 4px;
	padding: 8px 10px !important;
	font-size: 12px;
	line-height: 1;
}

.navbar-nav .nav-item:last-child .nav-link:hover {
  	background-color: #9a1519;
}

.header-nav-wrap {
	display: flex;
	align-items: center;
}

.header-nav .navbar {
  	align-items: center;
}

.collapse.navbar-collapse {
  	align-items: center !important;
}

/* Dropdowns */
.navbar-nav .dropdown-menu {
	border: none;
	border-top: 3px solid #bf1c22;
	border-radius: 0 0 4px 4px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
	min-width: 200px;
	padding: 8px 0;
}

.navbar-nav .dropdown-item {
	font-size: 13px;
	padding: 7px 18px;
	color: #333;
	transition: background 0.2s;
}

.navbar-nav .dropdown-item:hover {
	background-color: #bf1c22;
	color: #fff;
}

.navbar-nav .nav-item.dropdown > .nav-link::after {
	display: inline-block;
	margin-left: 4px;
	vertical-align: middle;
	content: "▾";
	border: none;
	font-size: 10px;
}

.navbar-nav .nav-item.dropdown > .nav-link {
	display: flex;
	align-items: center;
}

/* Header topline simplificado */
.header-topline {
  	min-height: 0 !important;
}

.header-topline .container {
	padding-top: 5px;
	padding-bottom: 5px;
}

/* Footer */
.footer-social {
	display: flex;
	align-items: center;
	margin-top: 10px;
	margin-bottom: 20px;
	padding-bottom: 10px;
}

.footer > .container > .row {
  	padding-bottom: 70px !important;
}

.col-lg-4.footer-col1 {
  	padding-bottom: 60px;
}

/* Seção Sobre - imagem no lugar do vídeo */
.video-wrap img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
}

/* Seção Sobre - alinhar topo */
.section .row.mt-2.mt-md-3.mt-lg-0 {
  	align-items: flex-start;
}

.section .row.mt-2.mt-md-3.mt-lg-0 > .col-md-6 {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

/* QuickLinks - cores individuais por coluna */
.quickLinks .link {
  	background: none !important;
}

.quickLinks .link:hover {
  	filter: brightness(1.1);
}

.quickLinks {
  	background: transparent !important;
}

.quickLinks .col {
  	transition: filter 0.2s;
}

.quickLinks-open {
  	background-color: #bf1c22 !important;
  	border-color: #bf1c22 !important;
}

/* Mapa do site no footer */
.footer-sitemap li {
  	margin-bottom: 6px;
  	break-inside: avoid;
}

.footer-sitemap li a {
  	color: #555;
  	font-size: 13px;
  	text-decoration: none;
  	transition: color 0.2s;
}

.footer-sitemap li a:hover {
  	color: #bf1c22;
}

/* Botão Agende Agora */
.navbar-nav .nav-item:last-child .nav-link {
  	background-color: #b96929 !important;
  	border-color: #b96929 !important;
}

.navbar-nav .nav-item:last-child .nav-link:hover {
  	background-color: #9e571f !important;
  	border-color: #9e571f !important;
}

.js-quickLinks-open {
  	background-color: #bf1c22 !important;
}

.quickLinks-wrap .quickLinks-open {
  	background-color: #bf1c22 !important;
}

/* Seção icn-text-alt (Hospital, Currículo, Instagram) */
.icn-text-alt-title {
  font-size: 17px !important;
  margin-bottom: 0 !important;
  line-height: 1.3 !important;
}

.icn-text-alt .icn-text-alt-title + * {
  margin-top: 3px !important;
}

.icn-text-alt {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.icn-text-alt p {
  font-size: 14px !important;
  margin-bottom: 0 !important;
}

/* Missão e Valores */
.icn-carousel .slick-track {
  display: flex !important;
  justify-content: center;
}

.icn-carousel .slick-slide {
  padding: 0 20px;
}

.section:has(.icn-carousel) {
  padding-top: 50px !important;
  padding-bottom: 50px !important;
}

.icn-carousel {
  margin-bottom: 20px;
}

/* Seção Serviços - banner lateral */
.service-tab-banner {
  overflow: hidden;
  border-radius: 4px;
  max-width: 450px;
}

.service-tab-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.services-tab-wrap {
  padding-top: 50px;
  padding-bottom: 50px;
  padding-left: 40px;
  padding-right: 40px;
}

.section.bg-grey .row.no-gutters.flex-wrap {
  align-items: center;
}

/* Seção Publicações Científicas */
.section-publicacoes {
  background-color: #ffffff;
  padding: 60px 0;
}

.js-publicacoes-carousel .slick-slide {
  padding: 0 15px;
  box-sizing: border-box;
}

.publicacao-item {
  display: block;
}

.publicacao-item a {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.publicacao-item a:hover {
  transform: translateY(-4px);
  text-decoration: none;
  color: inherit;
}

.publicacao-capa {
  width: 100%;
  height: 260px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.publicacao-capa img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.publicacao-titulo {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: #333;
  text-align: center;
}

/* Blog - título menor */
.post-title {
  font-size: 14px !important;
  line-height: 1.4 !important;
}

.post-title a {
  font-size: 14px !important;
}

/* Footer - Últimas Notícias */
.footer-posts .footer-post-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-posts .footer-post-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.footer-posts .post-img {
  width: 55px;
  height: 55px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  margin-right: 12px;
}

.footer-posts .post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-posts .post-info {
  flex: 1;
}

.footer-posts .post-info .post-date-sm {
  font-size: 11px;
  opacity: 0.7;
  margin-bottom: 3px;
}

.footer-posts .post-info a {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  display: block;
}

/* Lattes hovicon */
.hovicon-lattes {
  display: inline-flex !important;
  width: 48px !important;
  height: 48px !important;
  padding: 0 !important;
  vertical-align: middle !important;
  overflow: hidden !important;
}

.header-social .hovicon-lattes {
  width: 38px !important;
  height: 38px !important;
}

.header-social .hovicon-lattes img {
  width: 38px !important;
  height: 38px !important;
}

.footer-social .hovicon-lattes {
  width: 48px !important;
  height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.footer-social .hovicon-lattes img {
  width: 26px !important;
  height: 26px !important;
}

/* Service cards — hover animation */
.service-card {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16);
}

.service-card-photo {
  overflow: hidden;
  position: relative;
}

.service-card-photo img {
  transition: transform 0.45s ease, filter 0.45s ease;
  width: 100%;
  height: 220px;
  object-fit: contain;
  display: block;
}

.service-card-photo:hover img {
  transform: scale(1.08);
  filter: brightness(0.88);
}

.service-card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(191, 28, 34, 0);
  transition: background 0.35s;
  pointer-events: none;
}

.service-card-photo:hover::after {
  background: rgba(191, 28, 34, 0.12);
}

.service-card-name {
  padding: 14px 16px 4px;
  margin: 0;
}

.service-card-name a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}

.service-card-name a:hover {
  color: #bf1c22;
}

.service-card p {
  padding: 0 16px 16px;
  color: #666;
  font-size: 14px;
  flex: 1;
}

.service-card .h-decor {
  margin: 0 16px 8px;
}

/* Contact box — cores do site */
.contact-box ul.icn-list[class*="icon-"] {
  color: #fff !important;
}

/* Services nav sidebar */
.services-nav .nav-link {
  color: #555;
  padding: 10px 16px;
  border-left: 3px solid #e0e0e0;
  transition: all 0.2s;
  font-size: 14px;
}

.services-nav .nav-link:hover,
.services-nav .nav-link.active {
  color: #bf1c22;
  border-left-color: #bf1c22;
  background: #fff5f5;
}

/* Topline reduzida — 33px */
.header-topline {
  height: 33px !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.header-topline .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  height: 33px !important;
}

.header-topline .hovicon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  line-height: 1 !important;
  font-size: 14px !important;
  margin: 0 6px !important;
  padding: 0 !important;
  vertical-align: middle !important;
  border: none !important;
  background: transparent !important;
}

.header-topline .header-social a::before {
  display: none !important;
}

.header-topline .hovicon-lattes {
  width: 26px !important;
  height: 26px !important;
  border: none !important;
  background: transparent !important;
}

.header-topline .hovicon-lattes img {
  width: 26px !important;
  height: 26px !important;
  opacity: 0.85;
}

.header-topline .hovicon .fa {
  font-size: 24px !important;
  line-height: 1 !important;
  opacity: 0.85 !important;
  position: relative !important;
  top: 2px !important;
}

.header-topline .hovicon .icon-facebook-logo-circle {
  font-size: 24px !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

.header-topline .hovicon .icon-instagram {
  font-size: 22px !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

.footer-social .hovicon .fa {
  font-size: 20px !important;
  line-height: 1 !important;
  position: relative !important;
  top: 2px !important;
}

/* Banner principal reduzido */
#mainSlider,
#mainSlider .img--holder {
  height: 662px !important;
}

/* Seção Serviços bg */
.section-servicos-tabs {
  /* background-color: #f8f8f8 !important; */
  padding-top: 60px !important;
}

/* Cor de fundo dos boxes Doenças/Prevenção igual a Cirurgias/Tratamentos */
.service-box-greybg {
  background: #f7f8f6 !important;
}

/* LINKS ÚTEIS */
.caixa-links-uteis {
    background-color: #fbfbfb;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 30px 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.cabecalho-links {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.titulo-links {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.divisor-links {
    width: 1px;
    height: 45px;
    background-color: #ddd;
    margin: 0 40px;
}

.conteudo-links {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100%;
    gap: 20px;
}

.item-link {
    display: flex;
    align-items: center;
    text-decoration: none !important;
    gap: 15px;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 8px;
}

.item-link:hover {
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(191, 13, 26, 0.08);
    transform: translateY(-2px);
}

.logo-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.logo-link img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.texto-link {
    display: flex;
    flex-direction: column;
}

.nome-link {
    color: #bf0d1a;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    margin-bottom: 3px;
}

.descricao-link {
    color: #888;
    font-size: 0.85rem;
    line-height: 1;
}

@media (max-width: 767px) {
    .caixa-links-uteis {
        padding: 25px 20px;
        text-align: center;
    }
    
    .cabecalho-links {
        margin-bottom: 25px;
        justify-content: center;
    }
    
    .conteudo-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .item-link {
        width: 100%;
        justify-content: center;
        background-color: #fff;
        border: 1px solid #f0f0f0;
    }
}

/* CORREÇÃO DA GALERIA DE IMAGENS */
.slider-gallery-main img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.slider-gallery-thumbs img {
    height: 90px;
    object-fit: cover;
}

.imagem-servico{
    border-radius:6px;
    max-height:420px; 
    width:100%; 
    object-fit:contain;
}

/* Estilo dos botões de mapa */
.nav-apps-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 15px;
}
.nav-app-btn {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background-color: transparent;
    border-radius: 6px;
    color: #777;
    font-size: 15px;
    font-weight: 400;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out;
    max-width: 100%;
}
.nav-app-btn img {
    width: 24px;
    height: 24px;
    margin-right: 12px;
}
.nav-app-btn:hover {
    background-color: #ffffff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
    color: #333;
}