/* ═══════════════════════════════════════════════
 * Reportei Rodapé — Front-end Styles
 * Prefixo: rf-footer
 * ═══════════════════════════════════════════════ */

/* ── Reset & Base ── */
.rf-footer {
	background-color: #F9FAFB;
	color: #212B30;
	font-family: "Inter", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	margin: 0;
	padding: 0;
}

.rf-footer *,
.rf-footer *::before,
.rf-footer *::after {
	box-sizing: border-box;
}

/* ── Inner container ── */
.rf-footer__inner {
	display: flex;
	gap: 40px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 60px 20px 40px;
}

/* ── Brand column (logo + socials + WPML) ── */
.rf-footer__brand {
	flex: 0 0 200px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.rf-footer__logo img {
	max-width: 160px;
	height: auto;
}

/* Socials */
.rf-footer__socials {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	align-items: center;
}

.rf-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: opacity 0.2s ease;
	opacity: 0.85;
}

.rf-footer__social-link:hover {
	opacity: 1;
}

.rf-footer__social-link svg {
	width: 22px;
	height: 22px;
}

/* Language dropdown */
.rf-footer__lang {
	position: relative;
	margin-top: 0;
}

.rf-footer__lang-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fff !important;
	border-radius: 5px;
	padding: 12px;
	font-family: "Inter", sans-serif;
	font-size: 14px !important;
	color: #212B30 !important;
	cursor: pointer;
	line-height: 1;
}

.rf-footer__lang-toggle:hover,
.rf-footer__lang-toggle:focus {
	color: #212B30;
	background: #fff !important;
}

.rf-footer__lang-toggle img {
	border-radius: 2px;
}

.rf-footer__lang-arrow {
	transition: transform 0.2s ease;
}

.rf-footer__lang.rf-footer__lang--open .rf-footer__lang-arrow {
	transform: rotate(180deg);
}

.rf-footer__lang-dropdown {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	margin: 4px 0 0 0;
	padding: 4px 0;
	list-style: none;
	background: #ffffff;
	border: 1px solid #ECF0F1;
	border-radius: 12px;
	box-shadow: 0px 10px 15px rgba(0, 68, 157, 0.1), 0px 4px 6px rgba(0, 68, 157, 0.05);
	min-width: 100%;
	z-index: 100;
}

.rf-footer__lang.rf-footer__lang--open .rf-footer__lang-dropdown {
	display: block;
}

.rf-footer__lang-dropdown li {
	margin: 0;
	padding: 0;
}

.rf-footer__lang-dropdown a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	font-size: 14px !important;
	color: #212B30 !important;
	text-decoration: none;
	transition: background 0.15s ease;
	white-space: nowrap;
}

.rf-footer__lang-dropdown a:hover {
	background: #F2F3F5;
}

.rf-footer__lang-dropdown img {
	border-radius: 2px;
}

/* ── Menus grid (4 colunas) ── */
.rf-footer__menus {
	flex: 1;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
}

.rf-footer__col {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

/* Grupo de menu */
.rf-footer__group {
	display: flex;
	flex-direction: column;
}

.rf-footer__group-title {
	font-family: "Inter", sans-serif;
	font-size: 18px;
	font-weight: 600;
	color: #212B30;
	margin: 0 0 12px 0;
	padding: 0;
	line-height: 1.3;
}

.rf-footer__group-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.rf-footer__group-links li {
	margin: 0;
	padding: 0;
}

.rf-footer__group-links a {
	font-family: "Inter", sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #212B30 !important;
	text-decoration: none;
	transition: opacity 0.2s ease;
	line-height: 1.5;
}

.rf-footer__group-links a:hover {
	opacity: 0.7;
}

/* ── Barra Inferior ── */
.rf-footer__bottom {
	background-color: #F9FAFB;
	border-style: solid;
	border-width: 1px 0px 0px 0px;
	border-color: #ECF0F1;
}

.rf-footer__bottom-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	text-align: center;
}

.rf-footer__description {
	font-family: "Inter", sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: #212B30;
	margin: 0;
	line-height: 1.5;
	text-align: center;
}

.rf-footer__badges {
	display: none;
	align-items: center;
	gap: 16px;
}

.rf-footer__badge {
	max-height: 56px;
	width: auto;
}

/* ═══════════════════════════════════════════════
 * Responsivo
 * ═══════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
	.rf-footer__inner {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.rf-footer__brand {
		flex: none;
		align-items: center;
		width: 100%;
	}

	.rf-footer__socials {
		justify-content: center;
	}

	.rf-footer__lang {
		margin-top: 0;
	}

	.rf-footer__menus {
		grid-template-columns: repeat(2, 1fr);
		text-align: left;
		width: 100%;
	}
}

/* Mobile */
@media (max-width: 767px) {
	.rf-footer__inner {
		padding: 40px 16px 30px;
		gap: 32px;
	}

	.rf-footer__menus {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.rf-footer__bottom-inner {
		flex-direction: column;
		text-align: center;
	}

	.rf-footer__badges {
		display: flex;
		justify-content: center;
	}

	.rf-footer__badge {
		max-height: 44px;
	}
}