.jrca-footer-brand,
.jrca-footer-nav,
.jrca-footer-social {
	color: #fff;
}

.jrca-footer-main {
	color: #fff;
	background: #1e293b;
	border-top: 8px solid #334155;
}

.jrca-footer-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
	align-items: start;
	gap: 2rem;
	width: min(100% - 40px, 1200px);
	margin-inline: auto;
	padding-block: 2.25rem;
}

/* O bloco personalizado substitui a linha primaria do Footer Builder novo. */
.site-primary-footer-wrap {
	display: none !important;
}

.jrca-footer-brand {
	max-width: 20rem;
}

.jrca-footer-brand p,
.jrca-footer-social p {
	margin: 0;
}

.jrca-footer-brand > p:not(.jrca-footer-title) {
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.912rem;
	line-height: 1.6;
}

.jrca-footer-nav ul {
	display: grid;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jrca-footer-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0.5rem 0;
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
}

.jrca-footer-nav a:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.jrca-footer-nav a:focus-visible {
	color: #fff;
	border-radius: 4px;
	outline: 3px solid #93c5fd;
	outline-offset: 3px;
}

.jrca-footer-title {
	margin-bottom: 0.65rem !important;
	color: #fff;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.35;
}

.jrca-footer-social {
	text-align: right;
}

.jrca-footer-social-links {
	display: flex;
	justify-content: flex-end;
	gap: 0.625rem;
}

.jrca-footer-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.jrca-footer-social-link:hover {
	color: #fff;
	background: #046bd2;
	border-color: #60a5fa;
	transform: translateY(-2px);
}

.jrca-footer-social-link:focus-visible {
	color: #fff;
	background: #046bd2;
	border-color: #fff;
	outline: 3px solid #93c5fd;
	outline-offset: 3px;
}

.jrca-footer-social-link svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

@media (max-width: 921px) {
	.jrca-footer-inner {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		width: min(100% - 32px, 40rem);
		padding-block: 2rem;
		text-align: center;
	}

	.jrca-footer-brand {
		max-width: 32rem;
	}

	.jrca-footer-social {
		text-align: center;
	}

	.jrca-footer-social-links {
		justify-content: center;
	}

	.jrca-footer-nav a {
		justify-content: center;
	}

	#ast-scroll-top {
		right: 16px;
		bottom: 112px;
		width: 44px;
		height: 44px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jrca-footer-social-link {
		transition: none;
	}

	.jrca-footer-social-link:hover {
		transform: none;
	}
}
