/**
 * Estilos do Rodapé Nativo TreinaCOM (Footer Oficial)
 * TreinaCOM Core - Impeccable Design Standard
 */

.tc-site-footer {
	width: 100%;
	background-color: #082c4b !important;
	color: #f8fafc !important;
	font-family: var(--tc-font-body, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif) !important;
	position: relative;
	z-index: 10;
	box-sizing: border-box;
}

.tc-footer-container {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

@media (max-width: 768px) {
	.tc-footer-container {
		padding: 0 16px;
	}
}

/* ==========================================================================
   1. Seção Principal de Colunas
   ========================================================================== */
.tc-footer-main {
	padding: 56px 0 40px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
	.tc-footer-main {
		padding: 36px 0 28px 0;
	}
}

.tc-footer-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 48px;
	align-items: start;
	box-sizing: border-box;
}

@media (max-width: 991px) {
	.tc-footer-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

/* Cabeçalhos de Coluna */
.tc-footer-heading {
	font-family: var(--tc-font-display, 'Exo 2', 'Play', sans-serif) !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.08em !important;
	color: #ffffff !important;
	margin: 0 0 20px 0 !important;
	position: relative;
	display: inline-block;
}

@media (max-width: 768px) {
	.tc-footer-heading {
		font-size: 15px !important;
		margin: 0 0 16px 0 !important;
	}
}

.tc-footer-heading::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -6px;
	width: 28px;
	height: 2.5px;
	background: #f9ae02;
	border-radius: 2px;
}

/* Listas de Links */
.tc-footer-links {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 11px;
}

@media (max-width: 768px) {
	.tc-footer-links {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px 14px !important;
	}
	.tc-footer-link--all {
		grid-column: 1 / -1 !important;
		margin-top: 4px !important;
	}
}

@media (max-width: 380px) {
	.tc-footer-links {
		grid-template-columns: 1fr !important;
		gap: 8px !important;
	}
}

.tc-footer-links li a {
	color: #94a3b8 !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	text-decoration: none !important;
	transition: all 0.2s ease !important;
	display: inline-flex;
	align-items: center;
	line-height: 1.4 !important;
}

@media (max-width: 768px) {
	.tc-footer-links li a {
		font-size: 13.5px !important;
		line-height: 1.35 !important;
		padding: 2px 0 !important;
		color: #cbd5e1 !important;
	}
}

.tc-footer-links li a:hover {
	color: #f9ae02 !important;
	transform: translateX(4px);
}

.tc-footer-link--all a {
	color: #f9ae02 !important;
	font-weight: 700 !important;
	margin-top: 6px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.tc-footer-link--all a:hover {
	color: #ffffff !important;
}

/* Informações de Contacto */
.tc-footer-address {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: #cbd5e1 !important;
	font-size: 13.5px !important;
	line-height: 1.5 !important;
	margin: 0 0 18px 0 !important;
}

.tc-footer-address svg {
	color: #f9ae02;
	flex-shrink: 0;
	margin-top: 2px;
}

/* Botões de Contacto */
.tc-footer-contact-buttons {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
}

.tc-footer-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 10px !important;
	padding: 11px 16px !important;
	border-radius: 10px !important;
	font-size: 13.5px !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
	box-sizing: border-box !important;
	width: 100%;
	max-width: 340px;
}

@media (max-width: 768px) {
	.tc-footer-btn {
		max-width: 100% !important;
		justify-content: center !important;
		padding: 12px 16px !important;
		font-size: 14px !important;
	}
}

.tc-footer-btn--phone,
.tc-footer-btn--email {
	background: rgba(255, 255, 255, 0.06) !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	color: #ffffff !important;
}

.tc-footer-btn--phone svg,
.tc-footer-btn--email svg {
	color: #f9ae02;
	flex-shrink: 0;
}

.tc-footer-btn--phone:hover,
.tc-footer-btn--email:hover {
	background: rgba(255, 255, 255, 0.12) !important;
	border-color: #f9ae02 !important;
	color: #f9ae02 !important;
	transform: translateY(-2px);
}

.tc-footer-btn--cta {
	background: #f9ae02 !important;
	color: #082c4b !important;
	border: 1px solid #f9ae02 !important;
	font-weight: 800 !important;
	margin-top: 4px;
	box-shadow: 0 4px 14px rgba(249, 174, 2, 0.25);
}

.tc-footer-btn--cta svg {
	color: #082c4b;
	flex-shrink: 0;
}

.tc-footer-btn--cta:hover {
	background: #e09d02 !important;
	border-color: #e09d02 !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(249, 174, 2, 0.4);
}

/* ==========================================================================
   2. Sub-Footer / Barra Inferior
   ========================================================================== */
.tc-footer-bottom {
	background-color: #041c30 !important;
	padding: 22px 0 !important;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 768px) {
	.tc-footer-bottom {
		padding: 20px 0 28px 0 !important;
	}
}

.tc-footer-bottom__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	box-sizing: border-box;
}

@media (max-width: 860px) {
	.tc-footer-bottom__inner {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 16px;
	}
}

/* Links Legais */
.tc-footer-legal-links {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 12px;
}

.tc-footer-legal-links a {
	color: #94a3b8 !important;
	font-size: 13px !important;
	text-decoration: none !important;
	transition: color 0.2s ease !important;
	padding: 4px 2px;
}

.tc-footer-legal-links a:hover {
	color: #f9ae02 !important;
}

.tc-footer-sep {
	color: #475569;
}

/* Copyright */
.tc-footer-copyright p {
	color: #64748b !important;
	font-size: 13px !important;
	margin: 0 !important;
}

@media (max-width: 768px) {
	.tc-footer-copyright p {
		font-size: 12.5px !important;
	}
}

/* Badges & Redes Sociais */
.tc-footer-badges-social {
	display: flex;
	align-items: center;
	gap: 16px;
}

.tc-footer-complaint-badge img {
	max-height: 38px;
	width: auto;
	object-fit: contain;
	display: block;
	transition: opacity 0.2s ease;
}

.tc-footer-complaint-badge:hover img {
	opacity: 0.85;
}

.tc-footer-social-link {
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	color: #cbd5e1 !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	padding: 7px 14px !important;
	border-radius: 8px !important;
	background: rgba(255, 255, 255, 0.05) !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	transition: all 0.2s ease !important;
}

.tc-footer-social-link:hover {
	background: rgba(255, 255, 255, 0.12) !important;
	color: #f9ae02 !important;
	border-color: #f9ae02 !important;
	transform: translateY(-2px);
}

/* ==========================================================================
   Supressão Definitiva de Rodapés Residuais do Divi (Legado / Theme Builder)
   ========================================================================== */
#main-footer,
.et-l--footer,
#footer-bottom,
.et_pb_section_0_tb_footer,
.et_builder_inner_content > .et-l--footer {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	max-height: 0 !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

#tc-site-footer {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}
