/**
 * Footer styles.
 *
 * Rodapé editável via CPT "Rodapés".
 */

.help-footer {
	background: var(--white);
	border-top: 0;
	border-bottom: 0;
	color: var(--navy);
	font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.help-footer__inner {
	width: min(100% - 32px, 1140px);
	margin: 0 auto;
	padding: 0 0 24px;
}

.help-footer__topline {
	height: 1px;
	background: var(--navy-50);
}

.help-footer__nav {
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 58px;
	align-items: center;
	min-height: 86px;
	border-bottom: 1px solid var(--navy-50);
}

.help-footer__logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	overflow: hidden;
	color: var(--header-primary);
	font-size: 11px;
	font-weight: 800;
	line-height: 1.1;
	text-align: center;
	text-decoration: none;
}

.help-footer__logo img,
.help-footer__logo .custom-logo {
	width: auto;
	max-width: 40px;
	max-height: 40px;
	object-fit: contain;
}

.help-footer__menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px 46px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.help-footer__menu a {
	color: var(--header-primary);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	transition: opacity 0.18s ease;
}

.help-footer__menu a:hover,
.help-footer__menu a:focus {
	opacity: 0.72;
}

.help-footer__main {
	display: grid;
	grid-template-columns: 230px 230px minmax(0, 1fr);
	gap: 62px;
	padding: 22px 0 28px;
}

.help-footer__title {
	margin: 0 0 28px;
	color: var(--navy);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.2;
}

.help-footer__title--dropdown::after {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-left: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
}

.help-footer__links {
	display: grid;
	gap: 8px;
	margin: -15px 0 0;
	padding: 0;
	list-style: none;
}

.help-footer__links a {
	color: var(--muted);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.45;
	text-decoration: none;
}

.help-footer__links a:hover,
.help-footer__links a:focus {
	color: var(--header-cta);
}

.help-footer__subtitle {
	margin: 28px 0 10px;
	color: var(--navy);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
}

.help-footer__socials,
.help-footer__apps {
	display: flex;
	align-items: center;
	gap: 14px;
}

.help-footer__socials a,
.help-footer__apps a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 19px;
	height: 22px;
	color: var(--navy-700);
	line-height: 1;
	text-decoration: none;
	transition: color 0.18s ease, transform 0.18s ease;
}

.help-footer__apps a {
	width: 24px;
}

.help-footer__socials a:hover,
.help-footer__socials a:focus,
.help-footer__apps a:hover,
.help-footer__apps a:focus {
	color: var(--header-cta);
	transform: translateY(-1px);
}

.help-footer svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.help-footer__certifications {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 22px 34px;
	min-height: 88px;
	padding-top: 18px;
}

.help-footer__certification {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 154px;
	min-height: 46px;
	text-decoration: none;
}

.help-footer__certification img {
	width: auto;
	max-width: 154px;
	max-height: 58px;
	object-fit: contain;
}

.help-footer__legal {
	border-top: 1px solid var(--line);
	padding-top: 8px;
	color: var(--muted);
	font-size: 11px;
	font-weight: 400;
	line-height: 1.9;
}

.help-footer__copyright {
	margin: 0 0 2px;
	color: var(--navy);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.6;
}

.help-footer__legal-text p {
	margin: 0;
}

.help-footer__legal-text a {
	color: var(--header-cta);
	font-weight: 600;
	text-decoration: none;
}

.help-footer__fallback {
	margin: 0;
	padding: 28px 0;
	color: var(--muted);
	font-size: 12px;
}

@media (max-width: 980px) {
	.help-footer__nav {
		grid-template-columns: 1fr;
		gap: 18px;
		padding: 18px 0;
	}

	.help-footer__menu {
		justify-content: flex-start;
	}

	.help-footer__main {
		grid-template-columns: 1fr 1fr;
		gap: 34px;
	}

	.help-footer__column--certs {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
	.help-footer__inner {
		width: min(100% - 24px, 1140px);
	}

	.help-footer__menu {
		gap: 14px 22px;
	}

	.help-footer__main {
		grid-template-columns: 1fr;
	}

	.help-footer__column--certs {
		grid-column: auto;
	}

	.help-footer__certifications {
		gap: 18px 24px;
	}
}
