/*
Base comum das landing pages (Bem Me Quero e By Pérola).

As LPs não carregam o CSS do grupo (base/layout/componentes): cada uma tem a
identidade da campanha. Aqui fica só o que as duas dividem — reset mínimo,
link de pular, aviso de cookies e "Preferências de cookies". As cores e a
fonte do aviso vêm das variáveis --lp-* que cada lp-<nome>.css define.
*/

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

body {
	margin: 0;
	background: var(--lp-fundo, #fff);
	color: var(--lp-texto, #333);
	font-family: var(--lp-fonte, system-ui, sans-serif);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img,
svg,
video { display: block; max-width: 100%; height: auto; }

h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--lp-destaque, currentColor); outline-offset: 3px; }

/* Texto só para leitor de tela. */
.gm-lp-so-leitor {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* "Pular para o conteúdo": escondido até receber foco (WCAG 2.4.7). */
.gm-lp-pular {
	position: absolute;
	left: 1rem;
	top: -100px;
	z-index: 100;
	padding: .75rem 1.25rem;
	background: var(--lp-texto, #333);
	color: var(--lp-fundo, #fff);
	text-decoration: none;
}
.gm-lp-pular:focus { top: 1rem; }

/* Faixa rolável dos carrosséis: sem JS continua rolando de lado. */
.gm-lp-faixa {
	display: flex;
	gap: var(--lp-faixa-espaco, 12px);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.gm-lp-faixa::-webkit-scrollbar { display: none; }
.gm-lp-faixa > * { scroll-snap-align: start; flex: 0 0 auto; }

/* ------------------------------------------------------ aviso de cookies */

.gm-cookies {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 50;
	background: var(--lp-cookies-fundo, #fff);
	color: var(--lp-cookies-texto, #333);
	font-family: var(--lp-fonte, system-ui, sans-serif);
	font-size: .9375rem;
	box-shadow: 0 -6px 24px rgba(0, 0, 0, .08);
	border-top: 1px solid var(--lp-borda, rgba(0, 0, 0, .08));
}
.gm-cookies[hidden] { display: none; }

.gm-cookies__interno {
	display: flex;
	align-items: center;
	gap: 1rem 2.5rem;
	max-width: 1180px;
	margin: 0 auto;
	padding: 18px 24px;
}
.gm-cookies__texto { flex: 1; margin: 0; }
.gm-cookies__texto a { color: var(--lp-cookies-link, inherit); font-weight: 600; }
.gm-cookies__botoes { display: flex; gap: 10px; flex-shrink: 0; }

.gm-cookies__botao {
	min-width: 7.5rem;
	min-height: 44px;
	padding: .6rem 1.4rem;
	border: 2px solid var(--lp-botao, #333);
	border-radius: var(--lp-botao-raio, 100px);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.gm-cookies__aceitar { background: var(--lp-botao, #333); color: var(--lp-botao-texto, #fff); }
.gm-cookies__recusar { background: transparent; color: var(--lp-botao, #333); }

@media (max-width: 700px) {
	.gm-cookies__interno { flex-direction: column; align-items: stretch; padding: 16px; }
	.gm-cookies__botao { flex: 1; }
}

/* "Preferências de cookies" no rodapé: botão com cara de link. */
.gm-lp-preferencias {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
