/* Rodapé — crédito/links legais + página de conteúdo legal (LGPD) +
   banner de consentimento de cookies. Segue os tokens visuais do site
   (Noto Sans, acento amarelo #ecc31f, fundo escuro do #sp-footer). */

.site-footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	width: 100%;
	font-family: 'Roboto', sans-serif;
	font-size: 13px;
	color: rgba(255,255,255,.75);
}

.site-footer-bottom .sp-copyright {
	white-space: nowrap;
}

.footer-legal-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex: 1 1 auto;
}

.footer-legal-links a {
	color: rgba(255,255,255,.75);
	text-decoration: none;
	transition: color .2s ease;
}

.footer-legal-links a:hover,
.footer-legal-links a:focus-visible {
	color: #ecc31f;
}

.footer-legal-links span[aria-hidden="true"] {
	color: rgba(255,255,255,.35);
}

.footer-credit {
	white-space: nowrap;
}

.footer-credit a {
	color: rgba(255,255,255,.85);
	text-decoration: none;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
	color: #ecc31f;
}

.footer-credit strong {
	font-weight: 700;
}

@media (max-width: 767px) {
	.site-footer-bottom {
		flex-direction: column;
		text-align: center;
	}
}

/* ============================================================
   Páginas legais (Política de Privacidade / Cookies / Termos)
   ============================================================ */

.legal-page-header {
	background: #1a1a1a;
	padding: 14px 20px;
}

.legal-page-header-inner {
	max-width: 1320px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.legal-page-header .legal-page-logo {
	display: inline-flex;
	align-items: center;
}

.legal-page-home-link {
	font-family: 'Noto Sans', sans-serif;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .02em;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
	border: 2px solid #ecc31f;
	border-radius: 50px;
	padding: 9px 20px;
	white-space: nowrap;
	transition: background .2s ease, color .2s ease;
}

.legal-page-home-link:hover,
.legal-page-home-link:focus-visible {
	background: #ecc31f;
	color: #1a1a1a;
}

.legal-page-header .legal-page-logo img {
	height: 40px;
	width: auto;
	display: block;
}

.legal-page-hero {
	background: #ecc31f;
	padding: 30px 20px;
	text-align: center;
}

.legal-page-hero h1 {
	font-family: 'Overlock SC', sans-serif;
	font-size: 26px;
	margin: 0;
	color: #1a1a1a;
}

.legal-page-hero p {
	font-family: 'Roboto', sans-serif;
	margin: 6px 0 0;
	color: #1a1a1a;
	font-size: 14px;
}

.legal-page-content {
	max-width: 860px;
	margin: 0 auto;
	padding: 50px 20px 70px;
	font-family: 'Roboto', sans-serif;
	color: #333;
	line-height: 1.7;
}

.legal-page-content h2 {
	font-family: 'Noto Sans', sans-serif;
	font-size: 20px;
	color: #1a1a1a;
	margin: 34px 0 12px;
}

.legal-page-content h2:first-child {
	margin-top: 0;
}

.legal-page-content p,
.legal-page-content li {
	font-size: 15px;
}

.legal-page-content ul {
	padding-left: 20px;
}

.legal-page-content a {
	color: #b8850a;
}

.legal-page-content .legal-updated {
	font-size: 13px;
	color: #777;
	margin-bottom: 30px;
}

.legal-page-back {
	display: inline-block;
	margin-bottom: 20px;
	font-size: 14px;
	color: #1a1a1a;
	text-decoration: none;
	font-weight: 600;
}

.legal-page-back:hover,
.legal-page-back:focus-visible {
	color: #b8850a;
}

/* ============================================================
   Painel de preferências de privacidade (LGPD)
   ============================================================ */

.site-privacy-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100000;
	background: #14161a;
	color: #f2f2f2;
	font-family: 'Roboto', sans-serif;
	box-shadow: 0 -4px 20px rgba(0,0,0,.3);
	padding: 16px 20px;
	transform: translateY(100%);
	transition: transform .35s ease;
}

.site-privacy-bar.is-visible {
	transform: translateY(0);
}

.site-privacy-bar-row {
	max-width: 1320px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 24px;
}

.site-privacy-bar-text {
	flex: 1 1 380px;
	margin: 0;
	font-size: 13.5px;
	line-height: 1.6;
	color: #d8d8d8;
}

.site-privacy-bar-text strong {
	color: #fff;
}

.site-privacy-bar-text a {
	color: #ecc31f;
	text-decoration: underline;
}

.site-privacy-bar-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	flex: 0 0 auto;
}

.site-privacy-bar-actions button {
	font-family: 'Noto Sans', sans-serif;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .02em;
	border-radius: 50px;
	padding: 10px 22px;
	cursor: pointer;
	border: 2px solid transparent;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
	white-space: nowrap;
}

.site-privacy-btn-ghost {
	background: transparent;
	color: #f2f2f2;
	border-color: rgba(255,255,255,.35);
}

.site-privacy-btn-ghost:hover,
.site-privacy-btn-ghost:focus-visible {
	border-color: #fff;
}

.site-privacy-btn-solid {
	background: #ecc31f;
	color: #1a1a1a;
	border-color: #ecc31f;
}

.site-privacy-btn-solid:hover,
.site-privacy-btn-solid:focus-visible {
	background: #d9b21b;
	border-color: #d9b21b;
}

/* Painel "Personalizar" */
.site-privacy-options {
	max-width: 1320px;
	margin: 0 auto;
	overflow: hidden;
	max-height: 0;
	transition: max-height .3s ease;
}

.site-privacy-options.is-open {
	max-height: 240px;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid rgba(255,255,255,.12);
}

.site-privacy-option-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 0;
}

.site-privacy-option-info strong {
	display: block;
	font-size: 13.5px;
	color: #fff;
	margin-bottom: 2px;
}

.site-privacy-option-info span {
	font-size: 12.5px;
	color: #b8b8b8;
}

.site-privacy-switch {
	position: relative;
	flex: none;
	width: 42px;
	height: 24px;
}

.site-privacy-switch input {
	position: absolute;
	opacity: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	cursor: pointer;
}

.site-privacy-switch-track {
	position: absolute;
	inset: 0;
	background: rgba(255,255,255,.25);
	border-radius: 20px;
	transition: background .2s ease;
	pointer-events: none;
}

.site-privacy-switch-track::before {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	transition: transform .2s ease;
}

.site-privacy-switch input:checked + .site-privacy-switch-track {
	background: #ecc31f;
}

.site-privacy-switch input:checked + .site-privacy-switch-track::before {
	transform: translateX(18px);
}

.site-privacy-switch input:disabled + .site-privacy-switch-track {
	opacity: .5;
}

.site-privacy-switch input:focus-visible + .site-privacy-switch-track {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.site-privacy-options-save {
	margin-top: 10px;
}

@media (max-width: 768px) {
	.site-privacy-bar {
		padding: 12px 14px calc(10px + env(safe-area-inset-bottom, 0px));
	}
	.site-privacy-bar-row {
		display: block;
	}
	.site-privacy-bar-text {
		display: block;
		margin: 0 0 10px;
		font-size: 12px;
		line-height: 1.45;
	}
	.site-privacy-bar-actions {
		display: flex;
		flex-wrap: nowrap;
		justify-content: space-between;
		gap: 8px;
		width: 100%;
	}
	.site-privacy-bar-actions button {
		flex: 1 1 0;
		padding: 9px 6px;
		font-size: 11px;
		white-space: nowrap;
	}
	.site-privacy-options.is-open {
		max-height: 320px;
	}
}
