/* Aviso de cookies (ver cookies.js). Seletores longos de propósito: o tema do site estiliza todos os <button>. */

.ck-aviso {
	position: fixed;
	left: 24px;
	bottom: 24px;
	z-index: 100000;
	width: 380px;
	max-width: calc(100% - 20px);
	box-sizing: border-box;
	padding: 16px 18px;
	background: #141618;
	color: #dfe2e5;
	border: 1px solid #2c3034;
	border-radius: 10px;
	box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.45);
	font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
	font-size: 13px;
	line-height: 1.5;
	animation: ck-entrar 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.ck-aviso .ck-titulo {
	margin: 0 0 6px;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
}
.ck-aviso .ck-texto {
	margin: 0 0 12px;
}
.ck-aviso .ck-texto a {
	color: #fff;
	text-decoration: underline;
}
.ck-aviso .ck-botoes {
	display: flex;
	gap: 10px;
}
.ck-aviso .ck-botoes button {
	flex: 1 1 0;
	margin: 0;
	padding: 8px 14px;
	border-radius: 6px;
	font: 600 13px/1.4 Montserrat, "Helvetica Neue", Arial, sans-serif;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.ck-aviso .ck-botoes button.ck-recusar,
.ck-aviso .ck-botoes button.ck-recusar:focus {
	background: transparent;
	color: #fff;
	border: 1px solid #70767c;
}
.ck-aviso .ck-botoes button.ck-recusar:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	border-color: #fff;
}
.ck-aviso .ck-botoes button.ck-aceitar,
.ck-aviso .ck-botoes button.ck-aceitar:focus {
	background: #c42032;
	color: #fff;
	border: 1px solid #c42032;
}
.ck-aviso .ck-botoes button.ck-aceitar:hover {
	background: #a51a2a;
	color: #fff;
	border-color: #a51a2a;
}
.ck-aviso .ck-botoes button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

/* Link "Preferências de cookies" na linha de direitos do rodapé */
a.ck-link-preferencias,
a.ck-link-preferencias:visited {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}
a.ck-link-preferencias:hover {
	color: #c42032;
}
.ck-separador {
	margin: 0 4px;
}

@keyframes ck-entrar {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.ck-aviso { animation: none; }
}
@media (max-width: 576px) {
	.ck-aviso {
		left: 10px;
		right: 10px;
		bottom: 10px;
		width: auto;
		max-width: none;
		padding: 12px 14px;
	}
	.ck-aviso .ck-titulo { display: none; }
	.ck-aviso .ck-texto { font-size: 12px; margin-bottom: 10px; }
}
