/**
 * Custom Modern Footer Styles
 * Mobile-First | Responsive | Premium Design
 */

/* ========================================
   FOOTER PRINCIPAL
======================================== */
.custom-modern-footer {
	background: linear-gradient(135deg, var(--e-global-color-primary, #3A68BB) 0%, #2A4F9A 100%);
	color: #ffffff;
	margin-top: 60px;
}

/* Footer Main */
.custom-footer-main {
	padding: 60px 0 40px;
}

.custom-footer-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
}

/* ========================================
   COLUNA SOBRE
======================================== */
.custom-footer-about {
	max-width: 100%;
}

.custom-footer-logo {
	margin-bottom: 16px;
	display: inline-block;
}

.custom-footer-logo a {
	display: inline-block;
	line-height: 0;
}

.custom-footer-logo img {
	height: 35px;
	width: auto;
	filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
	transition: all 0.3s ease;
	opacity: 0.95;
}

.custom-footer-logo img:hover {
	transform: translateY(-2px);
	opacity: 1;
	filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.custom-footer-about h3 {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 12px 0;
	color: #ffffff;
	letter-spacing: 0.3px;
}

.custom-footer-description {
	font-size: 14px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.85);
	margin: 0 0 20px 0;
	max-width: 500px;
}

/* Informações de Contato */
.custom-footer-contact {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 24px;
}

.custom-footer-contact-item {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.9);
}

.custom-footer-contact-item svg {
	flex-shrink: 0;
	opacity: 0.8;
}

.custom-footer-contact-item a {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	transition: color 0.3s ease;
}

.custom-footer-contact-item a:hover {
	color: #ffffff;
	text-decoration: underline;
}

/* Redes Sociais */
.custom-footer-social {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.custom-footer-social a {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-radius: 10px;
	color: #ffffff;
	transition: all 0.3s ease;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.custom-footer-social a:hover {
	background: rgba(255, 255, 255, 0.25);
	transform: translateY(-3px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.custom-footer-social a.custom-footer-whatsapp:hover {
	background: #25D366;
}

/* ========================================
   COLUNAS DE MENU
======================================== */
.custom-footer-column h4 {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 18px 0;
	color: #ffffff;
	position: relative;
	padding-bottom: 10px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.custom-footer-column h4::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 30px;
	height: 2px;
	background: rgba(255, 255, 255, 0.5);
	border-radius: 2px;
}

.custom-footer-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.custom-footer-menu li {
	margin: 0;
}

.custom-footer-menu a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	font-size: 14px;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 4px 0;
}

.custom-footer-menu a::before {
	content: '›';
	opacity: 0;
	transform: translateX(-8px);
	transition: all 0.3s ease;
}

.custom-footer-menu a:hover {
	color: #ffffff;
	padding-left: 8px;
}

.custom-footer-menu a:hover::before {
	opacity: 1;
	transform: translateX(0);
}

/* ========================================
   FOOTER BOTTOM
======================================== */
.custom-footer-bottom {
	background: rgba(0, 0, 0, 0.2);
	padding: 24px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-footer-bottom .custom-footer-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
}

.custom-footer-bottom p {
	margin: 0;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.8);
}

.custom-footer-dev {
	font-size: 13px;
}

.custom-footer-dev a {
	color: #ffffff;
	text-decoration: none;
	font-weight: 600;
	transition: opacity 0.3s ease;
}

.custom-footer-dev a:hover {
	opacity: 0.8;
	text-decoration: underline;
}

.custom-footer-heart {
	color: #ff6b6b;
	display: inline-block;
	animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.1); }
}

/* ========================================
   TABLET - MIN 768px
======================================== */
@media (min-width: 768px) {
	.custom-footer-main {
		padding: 80px 0 60px;
	}
	
	.custom-footer-container {
		grid-template-columns: repeat(2, 1fr);
		gap: 50px;
		padding: 0 40px;
	}
	
	.custom-footer-about {
		grid-column: 1 / -1;
		max-width: 600px;
	}
	
	.custom-footer-bottom .custom-footer-container {
		flex-direction: row;
		justify-content: space-between;
		text-align: left;
	}
}

/* ========================================
   DESKTOP - MIN 1024px
======================================== */
@media (min-width: 1024px) {
	.custom-footer-main {
		padding: 100px 0 80px;
	}
	
	.custom-footer-container {
		grid-template-columns: 2fr repeat(4, 1fr);
		gap: 60px;
	}
	
	.custom-footer-about {
		grid-column: auto;
		max-width: none;
	}
	
	.custom-footer-social {
		gap: 16px;
	}
	
	.custom-footer-social a {
		width: 48px;
		height: 48px;
	}
}

/* ========================================
   LARGE DESKTOP - MIN 1280px
======================================== */
@media (min-width: 1280px) {
	.custom-footer-container {
		padding: 0 60px;
	}
}

/* ========================================
   SCROLL TO TOP (OPCIONAL)
======================================== */
.custom-footer-scroll-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 50px;
	height: 50px;
	background: var(--e-global-color-primary, #3A68BB);
	color: #ffffff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
	z-index: 999;
}

.custom-footer-scroll-top.visible {
	opacity: 1;
	visibility: visible;
}

.custom-footer-scroll-top:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
