/**
 * Portal Imóveis BA - Redesign Styles (VERSÃO MINIMALISTA CLARA)
 * Estilo: Profissional, Leve e Sóbrio
 * Cores: Azul Escuro (#0d2b46) + Dourado (#d4af37) + Tons Claros
 *
 * ✅ MELHORIAS IMPLEMENTADAS:
 * - Contraste excelente para legibilidade
 * - Cards com fundo branco
 * - Títulos em azul escuro
 * - Preços em ouro destacado
 * - Seções com fundo cinza claro
 * - Labels e inputs com contraste otimizado
 */

:root {
	--primary: #0d2b46;
	--primary-light: #1a3d5c;
	--accent: #d4af37;
	--accent-dark: #c49a2a;
	--accent-light: #f5ead0;
	--text: #1a1a1a;
	--text-light: #666666;
	--border: #e8e8e8;
	--bg-light: #f5f5f5;
	--bg-section: #f5f5f5;
	--bg-accent-light: #fafafa;

	/* GRADIENTES CLAROS E LEVES */
	--bg-recommended: linear-gradient(135deg, #ffffff 0%, #fafafa 50%, #f5f5f5 100%);
	--bg-blog: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
	--bg-categories: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
	--bg-neighborhoods: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);

	--shadow: 0 2px 8px rgba(13, 43, 70, 0.08);
	--shadow-lg: 0 12px 32px rgba(13, 43, 70, 0.12);
	--shadow-xl: 0 20px 48px rgba(13, 43, 70, 0.15);
}

/* ===== RESET E BASE ===== */
.portal-redesign {
	background-color: #ffffff;
}

.carousel-container {
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 2rem;
}

/* ===== HERO COM ABAS ===== */
.hero-tabs-section {
	background: linear-gradient(135deg, var(--primary) 0%, #1f4560 100%);
	padding: 3.5rem 0;
	margin-bottom: 3rem;
	position: relative;
	box-shadow: 0 15px 35px rgba(13, 43, 70, 0.2);
}

.hero-container {
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 2rem;
}

/* Tabs Navigation */
.tabs-navigation {
	display: flex;
	gap: 2rem;
	margin-bottom: 2.5rem;
	border-bottom: 2px solid rgba(212, 175, 55, 0.2);
	padding-bottom: 1rem;
}

.tab-btn {
	background: none;
	border: none;
	color: rgba(255, 255, 255, 0.7);
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	padding: 0.5rem 0;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	border-bottom: 3px solid transparent;
	margin-bottom: -1rem;
	padding-bottom: 1rem;
}

.tab-btn:hover {
	color: #fff;
}

.tab-btn.active {
	color: var(--accent);
	border-bottom-color: var(--accent);
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
	font-weight: 700;
}

.tab-icon {
	font-size: 1.3rem;
}

/* Filters Bar */
.filters-bar {
	display: grid;
	grid-template-columns: repeat(4, 1fr) auto;
	gap: 1rem;
	align-items: flex-end;
	background: #ffffff;
	padding: 1.5rem;
	border-radius: 12px;
	box-shadow: var(--shadow-lg);
	border-top: 4px solid var(--accent);
	transition: all 0.3s ease;
}

.filter-group {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.filter-group label {
	font-size: 0.85rem;
	font-weight: 700 !important;
	color: #ffffff !important;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.filter-input,
.filter-select {
	padding: 0.75rem 1rem !important;
	border: 1px solid #cccccc !important;
	border-radius: 6px;
	font-size: 0.95rem;
	background: #ffffff !important;
	color: #333333 !important;
	transition: all 0.2s ease;
}

.filter-input::placeholder {
	color: #999999 !important;
}

.filter-input:focus,
.filter-select:focus {
	outline: none;
	border-color: var(--accent) !important;
	box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1) !important;
}

.btn-search {
	padding: 0.75rem 1.5rem;
	background: var(--accent) !important;
	color: var(--primary) !important;
	border: none !important;
	border-radius: 6px;
	font-weight: 700;
	font-size: 0.95rem;
	cursor: pointer;
	transition: all 0.3s ease;
	white-space: nowrap;
	height: fit-content;
}

.btn-search:hover {
	background: var(--accent-dark) !important;
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg) !important;
}

/* Tab Content */
.tab-content {
	display: none;
}

.tab-content.active {
	display: block;
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* ===== CARROSSEL ===== */
.carousel-section {
	padding: 4rem 0;
	background: #ffffff;
}

.carousel-section.recommended {
	background: var(--bg-recommended);
}

.carousel-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 2rem;
}

.carousel-header h2 {
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--primary);
	margin: 0;
}

.see-all {
	color: var(--accent);
	text-decoration: none;
	font-weight: 600;
	transition: all 0.2s ease;
}

.see-all:hover {
	color: var(--accent-dark);
	transform: translateX(4px);
}

.carousel-controls {
	display: flex;
	gap: 0.8rem;
}

.carousel-btn-nav {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 2px solid var(--primary);
	background: #fff;
	color: var(--primary);
	font-size: 1.2rem;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.carousel-btn-nav:hover {
	background: var(--primary);
	color: #fff;
	transform: scale(1.1);
}

/* Carousel Wrapper */
.carousel-wrapper {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
	overflow-x: auto;
	padding: 0.5rem 0;
	scroll-behavior: smooth;
}

.carousel-wrapper::-webkit-scrollbar {
	height: 6px;
}

.carousel-wrapper::-webkit-scrollbar-track {
	background: var(--bg-light);
	border-radius: 3px;
}

.carousel-wrapper::-webkit-scrollbar-thumb {
	background: var(--accent);
	border-radius: 3px;
}

/* Carousel Card */
.carousel-card {
	background: #ffffff !important;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: all 0.3s ease;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	height: 100%;
	border-top: 3px solid var(--accent);
}

.carousel-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-lg);
}

.card-image {
	position: relative;
	width: 100%;
	height: 220px;
	overflow: hidden;
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.carousel-card:hover .card-image img {
	transform: scale(1.08);
}

.placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 3rem;
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
	color: rgba(255, 255, 255, 0.3);
}

.card-badge {
	position: absolute;
	top: 1rem;
	left: 1rem;
	background: var(--accent);
	color: var(--primary);
	padding: 0.4rem 0.8rem;
	border-radius: 4px;
	font-size: 0.8rem;
	font-weight: 700;
}

.card-favorite {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	border: none;
	font-size: 1.2rem;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.card-favorite:hover {
	background: #fff;
	transform: scale(1.1);
}

/* Card Content */
.card-content {
	padding: 1.5rem;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	background: #ffffff !important;
}

.card-title {
	font-size: 1rem;
	font-weight: 700;
	color: #0d2b46 !important;
	margin: 0 0 0.5rem 0;
	line-height: 1.4;
}

.card-location {
	font-size: 0.9rem;
	color: #666666 !important;
	margin: 0 0 0.8rem 0;
}

.card-specs {
	display: flex;
	gap: 1rem;
	font-size: 0.85rem;
	color: #666666 !important;
	margin-bottom: 1rem;
	font-weight: 600;
}

.card-specs span {
	display: flex;
	align-items: center;
	gap: 0.3rem;
}

.card-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid var(--border);
}

.card-price {
	font-size: 1.4rem;
	font-weight: 800;
	color: #d4af37 !important;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.card-link {
	color: var(--primary);
	text-decoration: none;
	font-weight: 600;
	transition: all 0.2s ease;
}

.card-link:hover {
	color: var(--accent);
	transform: translateX(4px);
}

.card-date {
	font-size: 0.8rem;
	color: #999999 !important;
	margin: 0.5rem 0 0 0;
	font-weight: 500;
}

/* ===== CATEGORIAS RÁPIDAS ===== */
.quick-categories {
	padding: 3rem 0;
	background: #f5f5f5 !important;
}

.quick-categories h2 {
	font-size: 1.8rem;
	font-weight: 700;
	color: #0d2b46 !important;
	margin: 0 0 2rem 0;
}

.categories-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1.5rem;
}

.category-card {
	background: #ffffff !important;
	padding: 2rem 1.5rem;
	border-radius: 12px;
	text-align: center;
	box-shadow: var(--shadow);
	transition: all 0.3s ease;
	cursor: pointer;
	border: 3px solid transparent;
	border-top: 5px solid var(--accent);
	position: relative;
}

.category-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-lg);
	border-color: var(--accent);
	background: #f9f9f9 !important;
}

.category-icon {
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

.category-card h3 {
	font-size: 1rem;
	font-weight: 700;
	color: #0d2b46 !important;
	margin: 0 0 0.5rem 0;
}

.category-card p {
	font-size: 0.9rem;
	color: #666666 !important;
	margin: 0;
	font-weight: 500;
}

/* ===== NEIGHBORHOODS ===== */
.neighborhoods-showcase {
	padding: 4rem 0;
	background: var(--bg-neighborhoods);
}

.neighborhoods-showcase h2 {
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--primary);
	margin: 0 0 0.5rem 0;
}

.subtitle {
	color: var(--text-light);
	font-size: 1rem;
	margin: 0 0 2rem 0;
}

.neighborhoods-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.5rem;
}

.neighborhood-item {
	background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
	padding: 2rem;
	border-radius: 12px;
	color: var(--primary);
	transition: all 0.3s ease;
	border: 2px solid transparent;
	box-shadow: var(--shadow);
}

.neighborhood-item:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
	border-color: var(--accent);
	background: linear-gradient(135deg, #ffffff 0%, #f5f9ff 100%);
}

.neighborhood-item h3 {
	font-size: 1.3rem;
	margin: 0 0 1rem 0;
}

.neighborhood-info {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-bottom: 1rem;
	font-size: 0.9rem;
}

.price, .roi {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.count {
	font-size: 0.9rem;
	color: var(--text-light);
	margin-bottom: 1rem;
}

.neighborhood-link {
	color: var(--primary);
	text-decoration: none;
	font-weight: 600;
	transition: all 0.2s ease;
	display: inline-block;
	padding-bottom: 2px;
	border-bottom: 2px solid var(--accent);
}

.neighborhood-link:hover {
	color: var(--accent);
	transform: translateX(4px);
}

/* ===== CTA FINAL ===== */
.cta-final {
	padding: 4rem 0;
	background: linear-gradient(135deg, var(--primary) 0%, #1f5577 100%);
	text-align: center;
	color: #fff;
}

.cta-final h2 {
	font-size: 2.2rem;
	font-weight: 700;
	margin: 0 0 0.8rem 0;
}

.cta-final p {
	font-size: 1.1rem;
	margin: 0 0 2rem 0;
	opacity: 0.9;
}

.cta-buttons {
	display: flex;
	gap: 1.5rem;
	justify-content: center;
	flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
	padding: 1rem 2.5rem;
	border-radius: 6px;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.btn-primary {
	background: var(--accent);
	color: var(--primary);
}

.btn-primary:hover {
	background: var(--accent-dark);
	transform: translateY(-3px);
	box-shadow: var(--shadow-lg);
}

.btn-secondary {
	background: transparent;
	color: #fff;
	border-color: #fff;
}

.btn-secondary:hover {
	background: #fff;
	color: var(--primary);
}

/* ===== SEÇÃO DE BLOG FEATURED ===== */
.blog-section.featured-blog {
	padding: 4rem 0;
	background: var(--bg-blog) !important;
}

.blog-title {
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--primary);
	margin: 0 0 0.5rem 0;
}

.blog-subtitle {
	color: var(--text-light);
	font-size: 1rem;
	margin: 0 0 2rem 0;
}

.blog-grid-featured {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
}

/* Responsive: 2 colunas em tablets */
@media (max-width: 1024px) {
	.blog-grid-featured {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Responsive: 1 coluna em móvel */
@media (max-width: 768px) {
	.blog-grid-featured {
		grid-template-columns: 1fr;
	}
}

.blog-card-featured {
	background: #ffffff !important;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	border: 1px solid #e0e0e0;
	border-top: 5px solid var(--accent);
}

.blog-card-featured:hover {
	transform: translateY(-10px);
	box-shadow: var(--shadow-lg);
	border-top-color: var(--accent-dark);
	background: linear-gradient(135deg, #fffbf7 0%, #ffffff 100%);
}

.blog-image-featured {
	width: 100%;
	height: 200px;
	overflow: hidden;
	background: linear-gradient(135deg, #f0f3ff 0%, #fff8f5 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}

.blog-image-featured img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.blog-card-featured:hover .blog-image-featured img {
	transform: scale(1.08);
}

.blog-placeholder {
	font-size: 3rem;
	opacity: 0.5;
}

.blog-content-featured {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	flex: 1;
	background: #ffffff !important;
}

.blog-category-badge {
	display: inline-block;
	background: var(--accent);
	color: var(--primary);
	padding: 0.3rem 0.8rem;
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 700;
	margin-bottom: 0.8rem;
	width: fit-content;
}

.blog-title-featured {
	font-size: 1.1rem;
	font-weight: 700;
	color: #0d2b46 !important;
	margin: 0 0 0.8rem 0;
	line-height: 1.4;
}

.blog-excerpt {
	color: #666666 !important;
	font-size: 0.95rem;
	margin: 0 0 1rem 0;
	flex: 1;
	line-height: 1.5;
	font-weight: 500;
}

.blog-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 1rem;
	border-top: 1px solid var(--border);
	font-size: 0.85rem;
}

.blog-date {
	color: var(--text-light);
}

.blog-link-featured {
	color: var(--accent);
	text-decoration: none;
	font-weight: 600;
	transition: all 0.2s ease;
	display: inline-block;
}

.blog-link-featured:hover {
	color: var(--accent-dark);
	transform: translateX(2px);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 1024px) {
	.carousel-container {
		padding: 0 1.5rem;
	}

	.filters-bar {
		grid-template-columns: repeat(2, 1fr);
	}

	.carousel-header h2 {
		font-size: 1.5rem;
	}

	.carousel-wrapper {
		grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	}

	.neighborhoods-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.hero-tabs-section {
		padding: 2rem 0;
		margin-bottom: 2rem;
	}

	.tabs-navigation {
		gap: 1rem;
	}

	.filters-bar {
		grid-template-columns: 1fr;
		gap: 0.8rem;
	}

	.btn-search {
		width: 100%;
	}

	.carousel-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
		margin-bottom: 1.5rem;
	}

	.carousel-wrapper {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
		gap: 1rem;
	}

	.card-image {
		height: 180px;
	}

	.categories-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}

	.neighborhoods-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.cta-final h2 {
		font-size: 1.7rem;
	}

	.cta-buttons {
		flex-direction: column;
		align-items: stretch;
	}

	.btn-primary,
	.btn-secondary {
		width: 100%;
	}
}

@media (max-width: 480px) {
	.carousel-container {
		padding: 0 1rem;
	}

	.carousel-header h2 {
		font-size: 1.3rem;
	}

	.carousel-controls {
		gap: 0.5rem;
	}

	.carousel-btn-nav {
		width: 36px;
		height: 36px;
		font-size: 1rem;
	}

	.carousel-wrapper {
		grid-template-columns: 1fr;
	}

	.categories-grid,
	.neighborhoods-grid,
	.blog-grid-featured {
		grid-template-columns: 1fr;
	}

	.blog-title,
	.neighborhoods-showcase h2 {
		font-size: 1.4rem;
	}

	.card-price {
		font-size: 1.1rem;
	}

	.cta-final {
		padding: 2rem 1rem;
	}

	.cta-final h2 {
		font-size: 1.4rem;
	}

	.cta-final p {
		font-size: 0.95rem;
	}
}

/* ===== DARK MODE ===== */
@media (prefers-color-scheme: dark) {
	:root {
		--bg-light: #1a1a1a;
		--text: #e0e0e0;
		--text-light: #999;
		--border: #333;
	}

	.portal-redesign {
		background-color: #0f0f0f;
	}

	.carousel-card,
	.quick-categories,
	.blog-card-featured {
		background: #1a1a1a;
	}

	.blog-section.featured-blog {
		background: #0f0f0f;
	}

	.filter-input,
	.filter-select {
		background: #252525 !important;
		color: #e0e0e0 !important;
		border-color: #444 !important;
	}

	.filters-bar {
		background: #1a1a1a;
	}
}

/* Remove linhas preta e branca das seções */
.carousel-section {
	border-top: none !important;
	border-bottom: none !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 4rem !important;
}

/* Remove linha branca antes do rodapé */
.site-footer {
	border-top: none !important;
	margin-top: 0 !important;
}

footer {
	border-top: none !important;
	margin-top: 0 !important;
}

/* Remove qualquer borda do carousel */
.carousel-section::before,
.carousel-section::after {
	display: none !important;
}

/**
 * FIX: Remove Linha Preta Entre Seções
 * Adicione estas regras ao final do seu redesign-styles.css
 */

/* ===== REMOVE LINHA PRETA ENTRE HERO E CAROUSEL ===== */

/* Remove qualquer espaçamento que cria a linha preta */
.hero-tabs-section {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

.carousel-section {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	border-top: none !important;
	border-bottom: none !important;
}

/* Remove background preto/escuro entre seções */
.carousel-section::before,
.carousel-section::after {
	display: none !important;
	content: none !important;
}

/* Remove qualquer divider/separator */
.divider,
[class*="divider"],
[class*="separator"],
[class*="line"],
hr {
	display: none !important;
}

/* Garante conexão perfeita entre hero (azul) e carousel (branco) */
.hero-tabs-section {
	background: linear-gradient(135deg, var(--primary) 0%, #1f4560 100%) !important;
	padding-bottom: 1 !important;
}

.carousel-section {
	background: #ffffff !important;
	padding-top: 3rem !important; /* Mantém o padding interno, mas sem margin-top */
}

/* Remove todas as bordas pretas/cinzas entre elementos */
.portal-redesign > * {
	border-top: none !important;
	border-bottom: none !important;
}

/* Específico para remover linha do site-footer */
.site-footer,
footer {
	border-top: none !important;
	margin-top: 0 !important;
	padding-top: 2rem !important;
}

/* Remove espaçamento anormal que gera linhas visuais */
.carousel-container {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/* Ensure smooth transitions entre seções de cor diferente */
body {
	background: #ffffff !important;
}

.portal-redesign {
	background: #ffffff !important;
}

/* Remove qualquer elemento com ID ou classe que tenha "linha", "divider", "separator" */
[id*="linha"],
[id*="divider"],
[id*="separator"],
[class*="linha"],
[class*="divider"],
[class*="separator"] {
	display: none !important;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
	.hero-tabs-section {
		margin-bottom: 0 !important;
		padding-bottom: 0 !important;
	}

	.carousel-section {
		margin-top: 0 !important;
		padding-top: 2rem !important;
	}
}

@media (max-width: 480px) {
	.hero-tabs-section {
		margin-bottom: 0 !important;
	}

	.carousel-section {
		margin-top: 0 !important;
		padding-top: 1.5rem !important;
	}
}

/**
 * FIX: Remove Linha Branca Entre CTA Final e Footer - V2
 * Remove o espaço branco sem deslocar os textos
 */

/* ===== REMOVE ESPAÇO BRANCO ENTRE CTA E FOOTER ===== */

/* Remove padding excessivo do CTA */
.cta-final {
	padding-bottom: 2rem !important;
	margin-bottom: 0 !important;
}

/* Remove padding excessivo do footer */
.site-footer {
	padding-top: 0 !important;
	margin-top: 0 !important;
	border-top: none !important;
}

footer {
	padding-top: 0 !important;
	margin-top: 0 !important;
	border-top: none !important;
}

/* Remove qualquer elemento vazio que crie espaço */
.cta-final + div:empty,
.cta-final + section:empty,
.cta-final + article:empty {
	display: none !important;
}

/* Garante que não há linha entre as seções */
.cta-final {
	border-bottom: none !important;
	position: relative;
	z-index: 10;
}

.site-footer,
footer {
	border-top: none !important;
	position: relative;
	z-index: 11;
	background: #0d2b46 !important;
}

/* Remove espaçamento padrão do html/body entre seções */
main > * {
	margin-bottom: 0 !important;
	margin-top: 0 !important;
}

/* Conecta as cores perfeitamente */
body {
	background: #0d2b46 !important;
}

/* Responsivo */
@media (max-width: 768px) {
	.cta-final {
		padding-bottom: 1.5rem !important;
	}

	.site-footer,
	footer {
		padding-top: 0 !important;
	}
}

@media (max-width: 480px) {
	.cta-final {
		padding-bottom: 1rem !important;
	}

	.site-footer,
	footer {
		padding-top: 1 !important;
	}
}


