/* Fonte global */
body {
	font-family: 'Montserrat', sans-serif;
	font-size: 10px;
	color: #555;
	padding-top: 140px;
}

html {
	scroll-behavior: smooth;
}

section[id] {
	scroll-margin-top: 140px;
}

header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
}

.header-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #f0f5f9;
	padding: 8px 50px;
	font-size: 14px;
	color: #555;
}

.nav-item-login {
	position: relative;
	/* Essencial para o posicionamento do formulário */
}

.header-login-box-inline {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
	/* Garante que o z-index seja maior que o do banner */
	z-index: 10;
	/* Colocamos position relative para o z-index funcionar corretamente */
	position: relative;
}

.header-login-box-inline .login-header {
	background-color: #084190;
	color: white;
	padding: 8px 15px;
	border-radius: 6px 6px 0 0;
	font-weight: 500;
	font-size: 16px;
	/* Ajuste o tamanho para ficar similar aos outros itens do menu */
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.header-social-links {
	display: flex;
	/* Ícones sociais começam visíveis */
	align-items: center;
	gap: 12px;
}

.header-social-links a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background-color: #084190;
	color: white;
	border-radius: 50%;
	font-size: 18px;
	transition: all 0.3s ease;
}

.header-right-content {
	display: flex;
	align-items: center;
}

.header-login-box {
	display: none;
	/* Login começa escondido */
}

.header-login-area {
	position: absolute;
	top: 110px;
	/* <<< Distância do topo da JANELA. Ajuste este valor! */
	right: 50px;
	/* <<< Distância da direita da JANELA. Ajuste este valor! */
	z-index: 10;
	/* Garante que fique na frente do banner */
}

.header-login-box-inline .login-form-body {
	/* É aqui que a mágica acontece */
	position: absolute;
	top: 100%;
	/* Começa exatamente abaixo do .login-header */
	left: 0;
	width: 320px;
	/* Largura do formulário */
	padding: 20px;
	background-color: white;
	border: 1px solid #eee;
	border-top: none;
	border-radius: 0 0 8px 8px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);

	/* Para controlar a visibilidade no hover (opcional, mas recomendado) */
	display: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-item-login:hover .login-form-body {
	display: flex;
	opacity: 1;
	visibility: visible;
}

.header-login-box-inline .login-form-body input {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	box-sizing: border-box;
	margin-bottom: 10px;
}

.header-login-box-inline .login-form-body button {
	background-color: #26a849;
	color: white;
	border: none;
	width: 100%;
	padding: 12px;
	border-radius: 4px;
	font-weight: bold;
	cursor: pointer;
	transition: background-color 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.header-login-box-inline .login-form-body button:hover {
	background-color: #1e873a;
}

.header-login-area {
	opacity: 0;
	transition: opacity 0.3s ease;
}

header.on-home .header-login-area {
	opacity: 1;
}

/* Os estilos da caixa em si (.login-box-v4) continuam os mesmos que já fizemos */
.login-box-v4 .login-header {
	background-color: #084190;
	color: white;
	padding: 8px 15px;
	border-radius: 6px 6px 0 0;
	font-weight: 600;
	font-size: 14px;
	display: flex;
	align-items: center;
}

.login-box-v4 .login-header i {
	margin-right: 8px;
}

.header-social-links a:hover {
	background-color: #084190;
	transform: translateY(-2px);
}

.floating-whatsapp {
	display: none;
	/* Botão flutuante começa escondido */
}

.floating-whatsapp {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 60px;
	height: 60px;
	background-color: #21d33f;
	color: white;
	border-radius: 50%;
	align-items: center;
	justify-content: center;
	font-size: 30px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
	z-index: 999;
	transition: transform 0.3s ease;
}

.floating-whatsapp:hover {
	transform: scale(1.1);
}

header.on-home .header-login-box {
	display: block;
	/* Mostra a caixa de login */
}

header.on-home .header-social-links {
	display: none;
	/* Esconde os ícones sociais */
}

.floating-whatsapp.visible {
	display: flex;
	/* Mostra o botão flutuante */
}

/* Estilos para a caixa de login no header */
.header-login-box {
	position: fixed;
	top: 100px;
	/* Distância do topo da tela. Ajuste aqui! */
	right: 50px;
	/* Distância da direita da tela. Ajuste aqui! */
	width: 320px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	z-index: 1001;
	/* Fica acima de tudo */
}

.header-login-box .login-header {
	background-color: #084190;
	color: white;
	padding: 12px 20px;
	border-radius: 8px 8px 0 0;
	font-weight: 600;
}

.header-login-box .login-header i {
	margin-right: 8px;
}

.top-info,
.top-contact {
	display: flex;
	align-items: center;
	gap: 20px;
	/* Espaço entre os itens */
}

.top-info i,
.top-contact i {
	color: #084190;
}

.top-contact a {
	text-decoration: none;
	color: #555;
	display: flex;
	align-items: center;
	gap: 8px;
	/* Espaço entre o ícone e o texto */
}

/* -- BARRA PRINCIPAL -- */
.header-main {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #fff;
	padding: 20px 50px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.header-actions {
	position: relative;
	display: flex;
	align-items: center;
	gap: 15px;
	/* Espaço entre o botão e o hambúrguer */
}

.btn-resultados-mobile {
	display: none;
	padding: 8px 12px;
	background-color: #C31F26;
	color: white;
	border-radius: 6px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	margin-right: 10px;
}

.social-links-scrolled {
	display: none;
	/* ESSENCIAL: Garante que eles comecem escondidos */
	align-items: center;
	gap: 10px;
}

.social-links-scrolled a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 65px;
	/* Aumentado de 42px */
	height: 65px;
	/* Aumentado de 42px */
	background-color: #f0f5f9;
	color: #084190;
	border-radius: 50%;
	font-size: 22px;
	/* Aumentado de 18px */
	text-decoration: none;
	transition: all 0.3s ease;
}

.social-links-scrolled a:hover {
	background-color: #084190;
	color: white;
}

header.header-scrolled .nav-item-login {
	display: none;
	/* 1. O botão de login some */
}

header.header-scrolled .social-links-scrolled {
	display: flex;
}

.logo-link img {
	height: 60px;
	width: auto;
	display: block;
}

/* Menu de Navegação Principal */
.main-nav ul {
	display: flex;
	align-items: center;
	/* ESSENCIAL: Alinha todos os itens do menu verticalmente ao centro */
	gap: 40px;
	list-style: none;
}

.main-nav a {
	text-decoration: none;
	color: #333;
	font-weight: 500;
	font-size: 17px;
	padding-bottom: 5px;
	border-bottom: 2px solid transparent;
	transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
	color: #084190;
	border-bottom-color: #084190;
	/* Borda aparece no hover */
}

#address-carousel {
	position: relative;
	height: 20px;
}

.carousel-item {
	position: absolute;
	left: 0;
	top: 0;
	opacity: 0;
	transition: opacity 0.8s ease-in-out;
	/* Efeito suave de fade */
	white-space: nowrap;
	/* Impede que o texto quebre a linha */
}

.carousel-item.active {
	opacity: 1;
	/* A classe 'active' torna o item visível */
}

.hero-section {
	position: relative;
	overflow: hidden;
	border-top: none;
	aspect-ratio: 16 / 6; 
}

.slides-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	/* Fica no fundo */
}

.banner-slide {
	position: absolute;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	opacity: 0;
	transition: opacity 1.2s ease-in-out;
}

.banner-slide.active {
	opacity: 1;
}

/* Camada de conteúdo */
.hero-overlay {
	position: relative;
	z-index: 2;
	/* Fica na frente do fundo */
	height: 100%;
	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
	padding: 0 80px;
	/* Espaçamento das laterais */
}

.login-box-v3 {
	width: 280px;
	border-radius: 5px;
	overflow: hidden;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
	margin-top: 75px;
}

.login-header {
	background-color: #084190;
	color: white;
	padding: 10px 15px;
	font-weight: 500;
	display: flex;
	align-items: center;
}

.login-header i {
	margin-right: 8px;
}

.login-header-button {
	display: flex;
	align-items: center;
	gap: 8px;
	background-color: #C31F26;
	color: white;
	padding: 10px 20px;
	/* Espaçamento interno do botão */
	border-radius: 6px;
	font-weight: 500;
	font-size: 18px;
	/* Tamanho da fonte similar aos outros links */
	cursor: pointer;
	white-space: nowrap;
	/* Impede que o texto quebre */
	transition: background-color 0.3s ease;
}

.login-header-button:hover {
	background-color: #C31F26;
}

.login-form-dropdown {
	position: absolute;
	/* ESSENCIAL: Faz o formulário flutuar e não empurrar outros elementos */
	top: 100%;
	/* Começa exatamente abaixo do botão */
	left: 50%;
	/* Alinha o início do formulário no meio do botão */
	transform: translateX(-50%);
	/* Puxa o formulário 50% da sua largura para a esquerda para centralizá-lo de verdade */

	width: 300px;
	/* Largura do formulário */
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
	/* Sombra para dar o efeito de elevação */
	padding: 20px;
	margin-top: 10px;
	/* Uma pequena distância entre o botão e o formulário */
	display: flex;
	flex-direction: column;
	gap: 15px;
	border: 1px solid #EAEAEA;

	/* Animação e estado inicial (escondido) */
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 10px);
	/* Começa um pouco para baixo para um efeito suave */
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.nav-item-login:hover .login-form-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%);
	/* Volta para a posição original */
}

/* 6. ESTILO DOS CAMPOS E BOTÃO DENTRO DO FORMULÁRIO */
.login-form-dropdown input {
	width: 100%;
	padding: 12px;
	border: 1px solid #ccc;
	border-radius: 5px;
	box-sizing: border-box;
	/* Garante que o padding não aumente a largura total */
}

.login-form-dropdown button {
	background-color: #26a849;
	color: white;
	border: none;
	padding: 12px;
	border-radius: 5px;
	font-weight: bold;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.login-form-body {
	background-color: white;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.login-form-body input {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 3px;
	box-sizing: border-box;
}

.login-form-body button {
	background-color: #26a849;
	color: white;
	border: none;
	padding: 12px;
	border-radius: 3px;
	font-weight: bold;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.login-form-body button:hover {
	background-color: #1e873a;
}

.banner-dots {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	gap: 12px;
}

.banner-dots .dot {
	width: 12px;
	height: 12px;
	background-color: rgba(255, 255, 255, 0.6);
	border: 2px solid rgba(0, 0, 0, 0.2);
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.banner-dots .dot.active {
	background-color: white;
}

.about-section {
	padding: 60px 0;
	background-color: #084190;
}

.container {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 40px;
	padding-right: 40px;
}

.about-image {
	flex: 1;
	max-width: 45%;
	/* Reduz um pouco para dar mais espaço ao texto */
}

.about-image img {
	width: 100%;
	border-radius: 0;
	box-shadow: none;
}

.about-text {
	flex: 1.2;
	/* Dá um pouco mais de espaço para o texto */
	max-width: 55%;
}

.about-text h2 {
	font-size: 36px;
	font-weight: 800;
	color: #ffffff;
	margin-bottom: 25px;
}

.about-text p {
	font-size: 16px;
	color: #ffffff;
	line-height: 1.7;
	margin-bottom: 18px;
}

/* Estilo para um botão primário */
.btn-primary {
	display: inline-block;
	color: white;
	padding: 12px 25px;
	border-radius: 5px;
	text-decoration: none;
	font-weight: 500;
	margin-top: 20px;
	transition: background-color 0.3s ease;
}

.container-centered {
	flex-direction: column;
	align-items: center;
	text-align: left;
}

.about-text.full-width {
	max-width: 760px;
	width: 100%;
}

.about-text.full-width h2 {
	font-size: 42px;
	font-weight: 800;
	color: #ffffff;
	line-height: 1.2;
	margin-bottom: 30px;
}

.about-text.full-width p {
	font-size: 18px;
	line-height: 1.7;
	color: #ffffff;
	margin-bottom: 18px;
}

.section-subtitle {
	display: inline-block;
	font-size: 14px;
	font-weight: 700;
	color: #ffffff;
	text-transform: uppercase;
	margin-bottom: 10px;
	border-left: 4px solid #ffffff;
	padding-left: 10px;
}

.convenios-section {
	padding: 80px 0;
	background-color: #f9f9f9;
}

.convenios-container {
	display: flex;
	gap: 60px;
	/* Espaço entre a coluna de texto e a de logos */
	align-items: flex-start;
	max-width: 1200px;
	/* Aumenta um pouco a largura máxima do container */
}

.convenios-text {
	flex: 1;
	/* Ocupa o espaço disponível */
	max-width: 30%;
	/* Define a largura da coluna de texto */
}

.convenios-text .section-subtitle {
	font-size: 16px;
	font-weight: 700;
}

.convenios-text h2 {
	font-size: 20px;
	line-height: 1.2;
	margin-bottom: 15px;
}

.convenios-text p {
	font-size: 18px;
	line-height: 1.6;
}

/* Ajusta o cabeçalho para o alinhamento à esquerda */
.convenios-text .section-header {
	text-align: left;
}

.convenios-text .section-header p {
	margin: 0;
}

.convenios-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 16px;
	justify-content: center;
	align-items: center;
	width: 100%;
	padding: 0 16px;
	box-sizing: border-box;
}

.convenio-card {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 10px;
	background-color: #ffffff;
	border-radius: 6px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
	width: 100%;
	max-width: 140px;
	margin: 0 auto;
}

.convenio-card img {
	max-width: 100%;
	height: auto;
	object-fit: contain;
}

.logos-grid {
	flex: 1;
	/* Ocupa o espaço disponível */
	max-width: 70%;
	/* Define a largura da coluna dos logos */
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 20px;
	/* Espaço entre os logos */
	align-items: center;
}

.logo-item {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 15px;
	background-color: #084190;
	border: 1px solid #084190;
	border-radius: 8px;
	min-height: 90px;
	transition: transform 0.3s ease;
}

.logo-item img {
	max-width: 90%;
	/* Garante que a imagem não encoste nas bordas */
	max-height: 50px;
	/* Limita a altura para logos mais verticais */
	height: auto;
	width: auto;
	filter: grayscale(100%) brightness(3);
	/* Deixa o logo branco */
	opacity: 0.9;
	transition: all 0.3s ease;
}

.logo-item:hover {
	transform: scale(1.05);
}

.logo-item img:hover {
	filter: grayscale(0%) brightness(1);
	opacity: 1;
	transform: scale(1.05);
}

.news-section {
	padding: 80px 0;
	background-color: #fff;
	/* Fundo branco para esta seção */
}

.news-cta-section {
	position: relative;
	padding: 100px 0;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	/* Efeito parallax */
	text-align: center;
	color: #fff;
}

.news-cta-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #084190;
	/* Cor azul da marca com 80% de opacidade */
	z-index: 1;
}

.news-cta-section .container {
	position: relative;
	z-index: 2;
}

.news-cta-section h2 {
	font-size: 42px;
	font-weight: 800;
	margin-bottom: 20px;
	text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

.news-cta-section p {
	font-size: 18px;
	max-width: 600px;
	margin: 0 auto 30px auto;
	line-height: 1.6;
	opacity: 0.9;
}

.news-cta-section .btn-cta-news {
	background-color: #fff;
	color: #084190;
	padding: 15px 35px;
	border-radius: 5px;
	text-decoration: none;
	font-weight: 700;
	font-size: 16px;
	text-transform: uppercase;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.news-cta-section .btn-cta-news:hover {
	background-color: transparent;
	color: #fff;
	border: 2px solid #fff;
	transform: translateY(-2px);
}

/* Estilos para a página interna de notícias */
.news-page-section {
	padding: 80px 0;
}

.news-page-section .section-header {
	text-align: center;
	margin-bottom: 60px;
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 30px;
}

.news-page-section .container {
	display: block;
	/* Garante que o título e a lista fiquem um em cima do outro */
}

.news-page-section .section-header {
	text-align: center;
	margin-bottom: 50px;
}

.news-page-section .section-header h2 {
	font-size: 36px;
}

.news-page-section .section-header p {
	font-size: 16px;
	max-width: 500px;
	margin: 0 auto;
}

/* 2. LAYOUT DA LISTA DE NOTÍCIAS (COM IMAGEM) */
.news-list {
	max-width: 900px;
	margin: 0 auto;
}

.news-list-item {
	display: flex;
	align-items: center;
	gap: 30px;
	padding: 30px 0;
	border-bottom: 1px solid #eee;
}

.news-list-item:first-child {
	border-top: 1px solid #eee;
}

.news-list-item .item-image {
	width: 200px;
	height: 130px;
	flex-shrink: 0;
}

.news-list-item .item-image a {
	display: block;
	width: 100%;
	height: 100%;
}

.news-list-item .item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 5px;
	transition: transform 0.3s ease;
}

.news-list-item:hover .item-image img {
	transform: scale(1.05);
}

.news-list-item .item-content {
	display: flex;
	flex-direction: column;
}

.news-list-item .item-meta {
	font-size: 14px;
	color: #777;
	margin-bottom: 8px;
}

.news-list-item .item-title {
	margin: 0 0 15px 0;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
}

.news-list-item .item-title a {
	text-decoration: none;
	color: #333;
	transition: color 0.3s ease;
}

.news-list-item .item-title a:hover {
	color: #084190;
}

.news-list-item .item-action .item-link {
	color: #084190;
	font-weight: 600;
	text-decoration: none;
}

.news-card {
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.news-detail-section {
	padding: 60px 20px 40px 20px;
	/* adiciona espaço no topo */
	background-color: #f9f9f9;
	overflow: hidden;
}

.news-detail-container {
	max-width: 900px;
	margin: 0 auto;
	background: #fff;
	padding: 30px;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
	border-radius: 8px;
	position: relative;
	z-index: 1;
}

.news-detail-header h1 {
	font-size: 32px;
	color: #084190;
	margin-bottom: 10px;
	font-weight: 800;
	margin-top: 0;
	/* garante que não "grude" no topo */
}

.news-detail-meta {
	display: flex;
	gap: 20px;
	font-size: 14px;
	color: #777;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.news-detail-meta span {
	display: flex;
	align-items: center;
}

.news-detail-meta i {
	margin-right: 5px;
	color: #084190;
}

.news-detail-image {
	width: 100%;
	height: auto;
	margin-bottom: 25px;
	border-radius: 6px;
	display: block;
}

.news-detail-content {
	font-size: 17px;
	line-height: 1.7;
	color: #444;
}

.back-to-news-link {
	display: inline-block;
	margin-top: 30px;
	color: #084190;
	text-decoration: none;
	font-weight: bold;
	transition: color 0.3s ease;
}

.back-to-news-link:hover {
	color: #084190;
}

.mobile-only {
	display: none !important;
	/* !important para garantir que fiquem escondidos */
}

.section-header {
	text-align: center;
	margin-bottom: 60px;
}

.section-header .section-subtitle {
	font-size: 18px;
	/* Aumentado */
	font-weight: 700;
	text-transform: uppercase;
	color: #084190;
	margin-bottom: 15px;
	display: inline-block;
}

.section-header h2 {
	font-size: 48px;
	/* Aumentado significativamente */
	font-weight: 800;
	/* Mais forte e impactante */
	color: #333;
	margin-top: 0;
	margin-bottom: 20px;
}

.section-header p {
	font-size: 20px;
	/* Aumentado */
	color: #666;
	max-width: 700px;
	/* Garante que o texto não fique muito largo */
	margin: 0 auto;
	/* Centraliza o parágrafo */
	line-height: 1.6;
}

.card-image img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}

.card-content {
	padding: 25px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.card-meta {
	display: flex;
	gap: 20px;
	font-size: 13px;
	color: #888;
	margin-bottom: 15px;
}

.card-meta span {
	display: flex;
	align-items: center;
}

.card-meta i {
	margin-right: 6px;
	color: #084190;
	/* Azul para os ícones */
}

.card-content h3 {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 15px 0;
	line-height: 1.3;
}

.card-content h3 a {
	text-decoration: none;
	color: #333;
	transition: color 0.3s ease;
}

.card-content h3 a:hover {
	color: #084190;
}

.card-content p {
	color: #666;
	font-size: 16px;
	line-height: 1.6;
	flex-grow: 1;
	/* Faz o parágrafo ocupar o espaço e empurrar o botão para baixo */
}

.btn-read-more {
	display: inline-block;
	align-self: flex-start;
	background-color: #084190;
	color: white;
	padding: 10px 20px;
	font-size: 14px;
	border-radius: 5px;
	text-decoration: none;
	font-weight: 600;
	margin-top: 20px;
	transition: background-color 0.3s ease;
}

.btn-read-more:hover {
	background-color: #084190;
}

.instagram-mockup-section {
	padding: 80px 0;
	background-color: #f9f9f9;
	/* Fundo cinza claro */
}

/* O container que será o grande link clicável */
.insta-link-wrapper {
	display: block;
	max-width: 900px;
	margin: 0 auto;
	background-color: #fff;
	padding: 30px;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
	text-decoration: none;
	color: inherit;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.insta-link-wrapper:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

/* Cabeçalho do perfil */
.insta-header {
	display: flex;
	align-items: center;
	padding-bottom: 25px;
	border-bottom: 1px solid #dbdbdb;
}

.profile-pic {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	overflow: hidden;
	margin-right: 40px;
}

.profile-pic img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.profile-info h2 {
	font-size: 28px;
	font-weight: 500;
	margin: 0 0 10px 0;
}

.profile-stats {
	display: flex;
	gap: 30px;
	font-size: 16px;
}

.follow-button {
	margin-left: auto;
	/* Empurra o botão para a direita */
	background-color: #0095f6;
	color: white;
	padding: 8px 24px;
	border-radius: 8px;
	font-weight: 500;
	font-size: 14px;
}

.follow-button i {
	margin-right: 5px;
}

/* Grade de fotos */
.insta-gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	padding-top: 25px;
}

.gallery-item {
	width: 100%;
	padding-top: 100%;
	/* Truque do quadrado perfeito */
	position: relative;
	border-radius: 8px;
	overflow: hidden;
}

.gallery-item img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.work-cta-section {
	position: relative;
	/* Necessário para posicionar os enfeites */
	overflow: hidden;
	/* Garante que os enfeites não vazem para fora */
	padding: 100px 0;
	background-color: #084190;
	text-align: center;
	color: #fff;
	margin-bottom: 25px;
	/* << NOVO ESPAÇAMENTO ADICIONADO AQUI */
}

/* ENFEITE 1: Círculo no canto superior esquerdo */
.work-cta-section::before {
	content: '';
	position: absolute;
	top: -80px;
	left: -80px;
	width: 250px;
	height: 250px;
	background-color: rgba(38, 168, 73, 0.07);
	/* Verde do botão, bem sutil */
	border-radius: 50%;
	z-index: 1;
}

/* ENFEITE 2: Círculo no canto inferior direito */
.work-cta-section::after {
	content: '';
	position: absolute;
	bottom: -100px;
	right: -100px;
	width: 300px;
	height: 300px;
	background-color: rgba(255, 255, 255, 0.05);
	/* Branco, quase transparente */
	border-radius: 50%;
	z-index: 1;
}

/* Garante que o conteúdo (título, texto, botão) fique na frente dos enfeites */
.work-cta-section .container {
	position: relative;
	z-index: 2;
}

/* O resto do código continua o mesmo, mas vamos garantir que ele esteja aqui */
.work-cta-section h2 {
	font-size: 40px;
	font-weight: 800;
	color: #fff;
	margin-bottom: 20px;
}

.work-cta-section p {
	font-size: 18px;
	max-width: 600px;
	margin: 0 auto 30px auto;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.9);
}

.work-cta-section .btn-cta-work {
	background-color: #fff;
	color: #084190;
	padding: 15px 35px;
	border-radius: 5px;
	text-decoration: none;
	font-weight: 700;
	font-size: 16px;
	text-transform: uppercase;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.work-cta-section .btn-cta-work:hover {
	background-color: transparent;
	color: #fff;
	border: 2px solid #fff;
	transform: translateY(-2px);
}


/* 2. PÁGINA INTERNA COM O FORMULÁRIO */
.work-form-section {
	padding: 80px 0;
	background-color: #f4f7f6;
}

.work-form-section .form-wrapper {
	max-width: 700px;
	margin: 0 auto;
	background-color: #fff;
	padding: 50px;
	border-radius: 8px;
	box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.work-form-section .section-header {
	text-align: center;
	margin-bottom: 40px;
}

.work-form-section .form-group {
	margin-bottom: 25px;
}

.work-form-section .form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #555;
}

.work-form-section .form-group input[type="text"],
.work-form-section .form-group input[type="email"],
.work-form-section .form-group input[type="tel"],
.work-form-section .form-group textarea,
.work-form-section .form-group input[type="file"] {
	width: 100%;
	padding: 12px;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 16px;
	box-sizing: border-box;
	transition: border-color 0.3s ease;
}

.work-form-section .form-group input:focus,
.work-form-section .form-group textarea:focus {
	border-color: #084190;
	/* Azul da marca */
	outline: none;
}


.work-form-section .form-group input[type="file"] {
	width: 100%;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 5px;
}

.work-form-section .btn-submit-work {
	width: 100%;
	padding: 15px;
	background-color: #084190;
	/* Botão com a cor primária */
	color: white;
	border: none;
	border-radius: 5px;
	font-size: 18px;
	font-weight: bold;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.work-form-section .btn-submit-work:hover {
	background-color: #26a849;
	/* Verde no hover, como nos outros botões */
}

/* --- SEÇÃO UNIDADES (MAPA) --- */
.units-grid-section {
	padding: 80px 20px;
	background-color: #f9f9f9;
}

.units-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
	gap: 30px;
}

.unit-card-new {
	display: flex;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.unit-card-new:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.unit-card-image {
	flex-shrink: 0;
	width: 200px;
	position: relative;
}

.unit-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.unit-card-image .image-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
	padding: 20px 10px 10px 10px;
	color: white;
	font-weight: 600;
	font-size: 14px;
}

.unit-card-details {
	padding: 20px;
	display: flex;
	flex-direction: column;
}

.unit-card-details h3 {
	font-size: 18px;
	font-weight: 700;
	color: #084190;
	margin: 0 0 8px 0;
}

.unit-card-details .address,
.unit-card-details .hours {
	font-size: 15px;
	color: #555;
	margin: 0 0 10px 0;
	line-height: 1.5;
}

.unit-card-details .hours {
	margin-bottom: auto;
	/* Empurra os botões para baixo */
}

.unit-card-details .hours i {
	margin-right: 8px;
	color: #084190;
}

.unit-card-buttons {
	display: flex;
	gap: 10px;
	margin-top: 15px;
}

.btn-unit {
	width: 45px;
	height: 45px;
	border: none;
	border-radius: 8px;
	background-color: #084190;
	/* Cor vermelha do design */
	color: white;
	font-size: 20px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: background-color 0.3s ease;
}

.btn-unit:hover {
	background-color: #084190;
}

/* --- ESTILOS DO MODAL DO MAPA --- */
#map-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 2000;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

#map-modal-title {
	font-size: 22px;
	font-weight: 700;
	color: #084190;
	margin-bottom: 15px;
	/* Adiciona um espaço entre o título e o mapa */
	flex-shrink: 0;
	/* Impede que o título encolha */
}

#map-modal-overlay.active {
	opacity: 1;
	visibility: visible;
}

#map-modal-content {
	background-color: #fff;
	padding: 20px;
	border-radius: 8px;
	width: 90%;
	max-width: 800px;
	height: 80%;
	max-height: 600px;
	position: relative;
	display: flex;
	flex-direction: column;
}

#map-modal-close {
	position: absolute;
	top: -15px;
	right: -15px;
	width: 35px;
	height: 35px;
	background-color: #084190;
	color: white;
	border: 2px solid white;
	border-radius: 50%;
	font-size: 20px;
	font-weight: bold;
	cursor: pointer;
	z-index: 10;
}

#map-container-modal {
	width: 100%;
	height: 1;
	border-radius: 5px;
}


footer {
	background-color: #084190;
	/* Um azul bem escuro, quase preto */
	color: rgba(255, 255, 255, 0.7);
	padding: 60px 0 0 0;
	width: 100%;
}

.footer-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	display: grid;
	/* Cria 4 colunas, a primeira um pouco maior */
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 40px;
}

.footer-column .footer-logo {
	display: block;
	width: 180px;
	margin-bottom: 20px;
}

.footer-column .footer-logo img {
	width: 100%;
}

.footer-column p {
	font-size: 15px;
	line-height: 1.6;
	margin: 0;
}

.footer-address {
	margin-bottom: 15px;
}

.footer-column h4 {
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 20px;
	text-transform: uppercase;
}

.footer-column ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-column ul li {
	margin-bottom: 12px;
}

.footer-column ul a {
	text-decoration: none;
	color: rgba(255, 255, 255, 0.7);
	transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-column ul a:hover {
	color: #fff;
	padding-left: 5px;
}

.certifications {
	display: flex;
	gap: 15px;
	align-items: center;
}

.certifications img {
	max-height: 100px;
	/* Ajuste a altura dos logos de certificação */
	width: auto;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	margin-top: 50px;
	padding: 25px 0;
	display: flex;
	justify-content: space-around;
	align-items: center;
}

.copyright-text {
	font-size: 14px;
	text-align: center;
}

.footer-social-links {
	display: flex;
	gap: 15px;
}

.footer-social-links a {
	color: rgba(255, 255, 255, 0.7);
	font-size: 20px;
	transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social-links a:hover {
	color: #fff;
	transform: scale(1.1);
}

.floating-social-mobile {
	position: fixed;
	bottom: 30px;
	right: 30px;
	z-index: 999;
	display: flex;
	flex-direction: column;
	/* Empilha os ícones verticalmente */
	gap: 12px;
	/* Espaço entre os ícones */
}

.floating-social-mobile .social-icon {
	width: 55px;
	height: 55px;
	background-color: #084190;
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
	transition: transform 0.3s ease;
	text-decoration: none;
}

.floating-social-mobile .social-icon:hover {
	transform: scale(1.1);
}

.floating-social-mobile {
	display: none;
}

.login-mobile-item {
	display: none;
}

.login-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2000;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Regra que o JavaScript usa para MOSTRAR o modal */
.login-modal-overlay.active {
	opacity: 1;
	visibility: visible;
}

/* =============================================== */
/* ESTILOS FINAIS: HAMBÚRGUER E COOKIES (DESKTOP)  */
/* =============================================== */

/* Garante que o menu hambúrguer NUNCA apareça em telas grandes */
.hamburger-menu {
	display: none;
}

/* Estilos principais da barra de cookies para todas as telas */
#cookie-consent-banner {
	position: fixed;
	bottom: -200px;
	/* Começa escondida */
	left: 0;
	width: 100%;
	background-color: #1c202b;
	color: rgba(255, 255, 255, 0.85);
	padding: 20px 40px;
	box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
	display: flex;
	align-items: center;
	z-index: 2000;
	transition: bottom 0.5s ease-in-out;
	gap: 30px;
	box-sizing: border-box;
}

/* O JavaScript adiciona esta classe para mostrar a barra */
#cookie-consent-banner.active {
	bottom: 0;
}

#cookie-consent-banner p {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
}

#cookie-consent-banner a {
	color: #fff;
	text-decoration: underline;
	font-weight: 500;
}

#cookie-consent-banner button {
	background-color: #007bff;
	color: white;
	border: none;
	padding: 12px 25px;
	border-radius: 5px;
	cursor: pointer;
	font-weight: 700;
	white-space: nowrap;
	margin-left: auto;
	/* Empurra o botão para a direita */
	flex-shrink: 0;
}

.about-section .container {
	display: flex;
	align-items: center;
	gap: 50px;
}

/* =================================================================== */
/* ==================== CÓDIGO DE RESPONSIVIDADE ===================== */
/* Adicione todo este bloco ao final do seu arquivo CSS.               */
/* =================================================================== */

/* --------------------------------------------------- */
/* 1. Estrutura do Menu Mobile (Hambúrguer)
/* --------------------------------------------------- */

/* O menu hambúrguer em si (as três linhas) */
.hamburger-menu {
	display: none;
	/* Escondido no desktop */
	flex-direction: column;
	justify-content: space-around;
	width: 30px;
	height: 25px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
	z-index: 10;
}

.hamburger-menu .bar {
	width: 30px;
	height: 3px;
	background-color: #084190;
	border-radius: 10px;
	transition: all 0.3s linear;
}

/* O painel que aparece ao clicar */
.mobile-nav-panel {
	position: fixed;
	top: 0;
	right: -100%;
	/* Começa fora da tela */
	width: 80%;
	max-width: 320px;
	height: 100%;
	background-color: #fff;
	box-shadow: -5px 0 15px rgba(0, 0, 0, 0.15);
	z-index: 1001;
	/* Fica na frente do header */
	transition: right 0.4s ease-in-out;
	padding: 80px 20px 20px 20px;
	display: flex;
	flex-direction: column;
}

.mobile-nav-panel.active {
	right: 0;
	/* Entra na tela */
}

.mobile-nav-panel ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.mobile-nav-panel ul li a {
	display: block;
	padding: 15px 10px;
	font-size: 18px;
	color: #333;
	text-decoration: none;
	border-bottom: 1px solid #f0f0f0;
	font-weight: 500;
}

.mobile-nav-panel .login-mobile-item a {
	background-color: #084190;
	color: white;
	text-align: center;
	border-radius: 5px;
	margin-top: 20px;
}

/* Fundo escuro quando o menu está aberto */
.nav-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1000;
}

.nav-overlay.active {
	display: block;
}


/* --------------------------------------------------- */
/* Breakpoint: Telas Grandes (até 1200px)
/* --------------------------------------------------- */
@media (max-width: 1200px) {

	.container,
	.convenios-container,
	.footer-content {
		max-width: 960px;
	}

	.header-top,
	.header-main {
		padding-left: 30px;
		padding-right: 30px;
	}
}

/* --------------------------------------------------- */
/* Breakpoint: Tablets e Desktops Menores (até 992px)
/* --------------------------------------------------- */
@media (max-width: 992px) {

	/* --- Ajustes Gerais --- */
	body {
		padding-top: 80px;
		/* Reduz o espaçamento do header fixo */
	}

	section[id] {
		scroll-margin-top: 80px;
	}

	/* --- Header --- */
	.header-top {
		display: none;
		/* Esconde a barra superior */
	}

	.btn-resultados-mobile {
		display: inline-block;
	}

	.main-nav {
		display: none;
		/* Esconde o menu principal */
	}

	.header-actions .social-links-scrolled,
	.header-actions .nav-item-login {
		display: none !important;
		/* Esconde ações do header desktop */
	}

	.hamburger-menu {
		display: flex;
		/* Mostra o menu hambúrguer */
	}

	.header-main {
		padding: 10px 20px;
	}

	.header-main .header-social-links,
	.header-main .social-links-scrolled {
		display: none !important;
	}

	.logo-link img {
		height: 60px;
	}

	/* --- Seções com colunas --- */
	.about-section .container,
	.convenios-container,
	.news-list-item {
		flex-direction: column;
		gap: 30px;
	}

	.about-image,
	.about-text,
	.convenios-text,
	.logos-grid {
		max-width: 100%;
	}

	.about-section {
		padding: 60px 0;
	}

	.convenios-text {
		text-align: center;
	}

	/* --- Rodapé --- */
	.footer-content {
		grid-template-columns: repeat(2, 1fr);
		gap: 30px;
	}

	.hero-overlay {
		justify-content: center;
		/* Centraliza a caixa de login no banner */
		padding: 0 20px;
	}

	.insta-gallery-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.units-grid {
		grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
		/* Cards de unidade ficam em uma única coluna */
	}
}


/* --------------------------------------------------- */
/* Breakpoint: Tablets em modo Retrato (até 768px)
/* --------------------------------------------------- */
@media (max-width: 768px) {

	/* --- Tipografia --- */
	.section-header h2 {
		font-size: 36px;
	}
	
	.hero-section {
      aspect-ratio: auto; 
      min-height: 150px;
    }
    
    .banner-slide {
      background-position: center top;
    }

	.about-text.full-width h2 {
		font-size: 32px;
	}

	.news-cta-section h2,
	.work-cta-section h2 {
		font-size: 30px;
	}

	.about-text h2 {
		font-size: 28px;
	}

	/* --- Seções --- */
	.section-header {
		margin-bottom: 40px;
	}

	.about-section,
	.convenios-section,
	.news-section,
	.instagram-mockup-section,
	.work-form-section,
	.units-grid-section {
		padding: 60px 0;
	}

	.container {
		padding-left: 20px;
		padding-right: 20px;
	}

	.hero-section .login-box-v3 {
		display: none;
		/* Esconde a caixa de login do banner em telas menores */
	}

	/* --- Instagram Mockup --- */
	.insta-header {
		flex-direction: column;
		text-align: center;
		gap: 20px;
	}

	.profile-pic {
		margin: 0 auto;
	}

	.follow-button {
		margin: 0;
	}

	.insta-gallery-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.insta-link-wrapper {
		padding: 20px;
	}

	/* --- Rodapé --- */
	.footer-content {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.footer-column .footer-logo {
		margin: 0 auto 20px auto;
	}

	.certifications {
		justify-content: center;
	}

	.footer-bottom {
		flex-direction: column;
		gap: 20px;
		text-align: center;
	}

	.footer-social-links {
		justify-content: center;
	}

	/* --- Formulários --- */
	.work-form-section .form-wrapper {
		padding: 30px 20px;
	}

	/* --- Lista de Notícias --- */
	.news-list-item {
		align-items: flex-start;
		text-align: center;
	}

	.news-list-item .item-image {
		margin: 0 auto;
	}

	/* --- Cookies --- */
	#cookie-consent-banner {
		flex-direction: column;
		padding: 20px;
		text-align: center;
	}

	#cookie-consent-banner button {
		margin-left: 0;
		width: 100%;
	}
}


/* --------------------------------------------------- */
/* Breakpoint: Celulares (até 576px)
/* --------------------------------------------------- */
@media (max-width: 576px) {

	/* --- Ajustes Gerais --- */
	body {
		font-size: 14px;
		/* Aumenta a fonte base para legibilidade */
		padding-top: 70px;
	}

	section[id] {
		scroll-margin-top: 70px;
	}

	/* --- Header --- */
	.logo-link img {
		height: 60px;
	}

	.header-main {
		padding: 15px;
	}

	/* --- Seções e Tipografia --- */
	.container {
		padding-left: 15px;
		padding-right: 15px;
	}

	.section-header h2 {
		font-size: 28px;
	}

	.section-header p {
		font-size: 16px;
	}

	.about-text p,
	.convenios-text p,
	.news-detail-content,
	.card-content p {
		font-size: 15px;
	}

	.convenios-grid {
		grid-template-columns: 1fr 1fr;
		/* 2 colunas no mobile */
	}

	/* --- Cards e Grids --- */
	.news-grid {
		grid-template-columns: 1fr;
	}

	.unit-card-new {
		flex-direction: column;
	}

	.unit-card-image {
		width: 100%;
		aspect-ratio: 4 / 3;
	}

	.units-grid {
		grid-template-columns: 1fr;
	}

	/* --- Detalhes da Notícia --- */
	.news-list-item .item-image {
		width: 100%;
		height: 180px;
	}

	.news-detail-container {
		padding: 20px;
	}

	.news-detail-header h1 {
		font-size: 24px;
	}

	/* --- Elementos Flutuantes --- */
	.floating-whatsapp {
		display: none;
	}

	/* Esconde a versão desktop */
	.floating-social-mobile {
		display: flex;
	}

	/* Mostra os botões flutuantes para mobile */

	/* --- Elementos Mobile Only --- */
	.mobile-only {
		display: block !important;
		/* Mostra elementos feitos só para mobile */
	}

	/* --- Modal de Login --- */
	.login-mobile-item {
		display: block;
	}

	/* Mostra o botão de login no menu mobile */
}