/*
LP By Pérola — réplica da byperola.millienina.com.br (build do Lovable), sem
React nem Tailwind. Cores e medidas do CSS do build
(correcoes/lps-referencia/byperola/css-origem/index-BH8KlHf-.css).

Fontes: Cormorant Garamond (títulos, variável, com itálico) e Lato (texto).
*/

@font-face {
	font-family: "Cormorant Garamond";
	src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
	font-weight: 300 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Cormorant Garamond";
	src: url("../fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
	font-weight: 300 700;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Lato";
	src: url("../fonts/lato-300-latin.woff2") format("woff2");
	font-weight: 300;
	font-display: swap;
}
@font-face {
	font-family: "Lato";
	src: url("../fonts/lato-400-latin.woff2") format("woff2");
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: "Lato";
	src: url("../fonts/lato-700-latin.woff2") format("woff2");
	font-weight: 700;
	font-display: swap;
}

/* As cores do build, convertidas de hsl() para hex. */
.gm-lp--byperola {
	--lp-fonte: Lato, sans-serif;
	--lp-titulo: "Cormorant Garamond", serif;
	--lp-fundo: #f9f8f6;        /* --background 40 20% 97% */
	--lp-texto: #43403d;        /* --foreground 30 5% 25% */
	--lp-primaria: #504c49;     /* --primary 30 5% 30% */
	--lp-suave: #868079;        /* --muted-foreground 30 5% 50% */
	--lp-borda: #e4e1dd;        /* --border 35 12% 88% */
	--lp-ouro: #c69c53;         /* --gold 38 50% 55% */
	--lp-ouro-claro: #dbccb3;   /* --gold-light 38 35% 78% */
	--lp-creme: #f8f6f2;        /* --cream 40 30% 96% */
	--lp-cinza: #aaa6a1;        /* --warm-gray 30 5% 65% */
	--lp-destaque: #504c49;
	--lp-cookies-fundo: #f8f6f2;
	--lp-cookies-texto: #43403d;
	--lp-cookies-link: #504c49;
	--lp-rodape-base: #6b6661;  /* o --lp-cinza do original não passa de 2,3:1 */
	--lp-botao: #504c49;
	--lp-botao-texto: #f9f8f6;
	--lp-botao-raio: 2px;
}

/* Medidas do build (Tailwind): container px-6 com max-w-4xl/5xl/6xl
   (896/1024/1152), seções py-24 → md:py-32, títulos text-4xl → md:text-5xl.
   O layout de duas e três colunas entra em 768 px (md). */

.gm-lp--byperola { line-height: 1.5; }

.lp-bp-container {
	width: 100%;
	margin: 0 auto;
	padding: 0 24px;
}
.lp-bp-container--4xl { max-width: 896px; }
.lp-bp-container--5xl { max-width: 1024px; }
.lp-bp-container--6xl { max-width: 1152px; }

.lp-bp-secao { padding: 96px 0; }
.lp-bp-secao--creme { background: var(--lp-creme); }

.lp-bp-sobretitulo {
	margin-bottom: 12px;
	font-family: var(--lp-titulo);
	font-size: 14px;
	line-height: 20px;
	letter-spacing: .3em;
	text-transform: uppercase;
	text-align: center;
	color: var(--lp-cinza);
}
.lp-bp-sobretitulo--mb8 { margin-bottom: 32px; }
.lp-bp-sobretitulo--esquerda { text-align: left; }

.lp-bp-titulo {
	font-family: var(--lp-titulo);
	font-size: 36px;
	line-height: 40px;
	font-weight: 300;
	color: var(--lp-primaria);
	text-align: center;
}
.lp-bp-titulo--esquerda { text-align: left; }
.lp-bp-titulo--mb6 { margin-bottom: 24px; }
.lp-bp-titulo--mb8 { margin-bottom: 32px; }
.lp-bp-titulo--mb12 { margin-bottom: 48px; }
.lp-bp-titulo--mb16 { margin-bottom: 64px; }
.lp-bp-titulo--mb20 { margin-bottom: 80px; }

.lp-bp-subtitulo {
	margin-bottom: 16px;
	font-family: var(--lp-titulo);
	font-size: 24px;
	line-height: 32px;
	font-weight: 400;
	color: var(--lp-primaria);
}

.lp-bp-texto,
.lp-bp-corrido {
	font-size: 15px;
	line-height: 1.625;
	color: var(--lp-suave);
}
.lp-bp-corrido > * + * { margin-top: 24px; }
.lp-bp-corrido--5 > * + * { margin-top: 20px; }

.lp-bp-intro {
	max-width: 672px;
	margin: 0 auto 64px;
	line-height: 1.625;
	text-align: center;
	color: var(--lp-suave);
}

.lp-bp-citacao {
	font-family: var(--lp-titulo);
	font-style: italic;
	font-size: 18px;
	line-height: 28px;
	color: var(--lp-suave);
}
.lp-bp-citacao--forte { color: var(--lp-texto); }

.lp-bp-retrato {
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: 2px;
}

.lp-bp-duas,
.lp-bp-tres { display: grid; gap: 48px; align-items: center; }

/* Ornamento: filete, ponto, filete. */
.lp-bp-ornamento {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px 0;
}
.lp-bp-ornamento > span { width: 64px; height: 1px; background: var(--lp-ouro-claro); }
.lp-bp-ornamento > span:nth-child(2) { width: 6px; height: 6px; margin: 0 16px; border-radius: 50%; background: var(--lp-ouro); }

/* Aparecer ao rolar (tema.js), como no original. */
@media (prefers-reduced-motion: no-preference) {
	.tem-js [data-revelar] {
		opacity: 0;
		transform: translateY(32px);
		transition: opacity 1s ease-out, transform 1s ease-out;
	}
	.tem-js [data-revelar].esta-visivel { opacity: 1; transform: none; }

	/* Primeira dobra: a mesma entrada, só com CSS — aparece mesmo sem JS. */
	.lp-bp-entrar { animation: lp-bp-entrar 1s ease-out both; }
	.lp-bp-entrar--200 { animation-delay: .2s; }
	.lp-bp-entrar--300 { animation-delay: .3s; }
	.lp-bp-entrar--500 { animation-delay: .5s; }
	.lp-bp-entrar--700 { animation-delay: .7s; }
}

@keyframes lp-bp-entrar {
	from { opacity: 0; transform: translateY(32px); }
	to { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------- cabeçalho */

.lp-bp-topo {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 40;
	display: flex;
	justify-content: center;
	padding: 12px 0;
	background: rgba(249, 248, 246, .9);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	border-bottom: 1px solid var(--lp-borda);
}
.lp-bp-topo__logo { width: auto; height: 48px; }
.admin-bar .lp-bp-topo { top: 32px; }

/* -------------------------------------------------------------- abertura */

.lp-bp-abertura {
	display: flex;
	align-items: center;
	min-height: 100vh;
	padding-top: 80px;
	overflow: hidden;
}
.lp-bp-abertura__grade {
	display: grid;
	gap: 32px;
	align-items: center;
}
.lp-bp-abertura__texto { order: 2; padding: 48px 0; }
.lp-bp-abertura__logo { display: none; width: auto; height: 80px; margin-bottom: 32px; }
.lp-bp-abertura__titulo {
	margin-bottom: 24px;
	font-family: var(--lp-titulo);
	font-size: 36px;
	line-height: 1.25;
	font-weight: 300;
	color: var(--lp-texto);
	text-wrap: balance;
}
.lp-bp-abertura__lead {
	max-width: 448px;
	font-size: 16px;
	line-height: 1.625;
	color: var(--lp-suave);
}
.lp-bp-abertura__ornamento { margin-top: 32px; }

.lp-bp-abertura__foto { order: 1; display: flex; justify-content: center; }
.lp-bp-abertura__foto img {
	position: relative;
	width: 100%;
	max-width: 448px;
	height: auto;
	border-radius: 2px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25);
}
/* As duas molduras douradas, atrás da foto. */
.lp-bp-abertura__moldura { position: relative; isolation: isolate; width: 100%; max-width: 448px; }
.lp-bp-abertura__moldura img { max-width: 100%; }
.lp-bp-abertura__moldura::before,
.lp-bp-abertura__moldura::after {
	content: "";
	position: absolute;
	z-index: -1;
	width: 96px;
	height: 96px;
	border: 2px solid var(--lp-ouro-claro);
	border-radius: 2px;
}
.lp-bp-abertura__moldura::before { left: -16px; bottom: -16px; }
.lp-bp-abertura__moldura::after { right: -16px; top: -16px; }

/* --------------------------------------------------------------- vídeos */

.lp-bp-video.lp-bp-secao { padding: 80px 0; }
.lp-bp-video__quadro {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 2px;
	background: #000;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
}
.lp-bp-video .gm-video__abrir,
.lp-bp-video .gm-video__player {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}
.lp-bp-video .gm-video__abrir img,
.lp-bp-video .gm-video__abrir picture { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.lp-bp-video__play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 64px;
	height: 64px;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: rgba(255, 255, 255, .9);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
	transition: transform .3s;
}
.lp-bp-video__play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: 2px;
	transform: translate(-50%, -50%);
	border-style: solid;
	border-width: 9px 0 9px 14px;
	border-color: transparent transparent transparent var(--lp-primaria);
}
.lp-bp-video .gm-video__abrir:hover .lp-bp-video__play,
.lp-bp-video .gm-video__abrir:focus-visible .lp-bp-video__play { transform: translate(-50%, -50%) scale(1.1); }

/* ------------------------------------------------------------- gerações */

.lp-bp-geracoes__citacao { max-width: 576px; margin: 0 auto 64px; text-align: center; }
.lp-bp-geracoes__fotos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.lp-bp-geracoes__fotos > :nth-child(3) { grid-column: span 2; }

/* ------------------------------------------------------------------ avó */

.lp-bp-avo__grade { display: grid; gap: 64px; align-items: center; }
.lp-bp-avo__fotos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.lp-bp-avo__fotos > :nth-child(2) { margin-top: 32px; }

/* -------------------------------------------------------------- pilares */

.lp-bp-pilar { text-align: center; }
.lp-bp-pilar__ornamento { margin-bottom: 24px; }

/* ----------------------------------------------------------------- livro */

.lp-bp-livro__foto {
	width: 100%;
	height: auto;
	border-radius: 2px;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
}

/* ----------------------------------------------------------- presentear */

.lp-bp-momento {
	padding: 32px;
	background: var(--lp-fundo);
	border-radius: 2px;
	text-align: center;
}
.lp-bp-presentear__foto { margin-top: 64px; }
.lp-bp-presentear__foto img {
	width: 100%;
	max-height: 500px;
	object-fit: cover;
	border-radius: 2px;
}

/* --------------------------------------------------------------- comprar */

.lp-bp-comprar__texto { max-width: 576px; margin-bottom: 48px; }
.lp-bp-comprar__canais {
	display: grid;
	gap: 32px;
	max-width: 672px;
	margin: 0 auto;
}
.lp-bp-canal {
	display: block;
	padding: 40px;
	background: var(--lp-creme);
	border-radius: 2px;
	text-align: center;
	text-decoration: none;
	transition: box-shadow .3s;
}
.lp-bp-canal:hover,
.lp-bp-canal:focus-visible { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1); }
.lp-bp-canal__titulo { margin-bottom: 12px; transition: color .3s; }
.lp-bp-canal:hover .lp-bp-canal__titulo { color: var(--lp-ouro); }
.lp-bp-canal__texto { font-size: 15px; color: var(--lp-suave); }
.lp-bp-canal__botao {
	display: inline-block;
	margin-top: 16px;
	font-family: var(--lp-titulo);
	font-size: 14px;
	line-height: 20px;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--lp-ouro);
}

/* ---------------------------------------------------------------- rodapé */

.lp-bp-rodape {
	padding: 64px 24px;
	border-top: 1px solid var(--lp-borda);
	text-align: center;
}
.lp-bp-rodape__logo { width: auto; height: 80px; margin: 0 auto 24px; }
.lp-bp-rodape__instagram {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	line-height: 20px;
	color: var(--lp-suave);
	text-decoration: none;
	transition: color .2s;
}
.lp-bp-rodape__instagram:hover { color: var(--lp-primaria); }
.lp-bp-rodape__instagram svg { display: inline; }
.lp-bp-rodape__frase {
	margin-top: 24px;
	font-size: 12px;
	line-height: 16px;
	letter-spacing: .025em;
	color: var(--lp-cinza);
	white-space: pre-wrap;
}
.lp-bp-rodape__base { margin-top: 16px; font-size: 12px; color: var(--lp-rodape-base); }

/* ============================================================ md (768+) */

@media (min-width: 768px) {
	.lp-bp-secao { padding: 128px 0; }
	.lp-bp-titulo--grande { font-size: 48px; line-height: 1; }

	.lp-bp-duas { grid-template-columns: repeat(2, 1fr); }
	.lp-bp-tres { grid-template-columns: repeat(3, 1fr); }
	.lp-bp-pilares__grade { gap: 64px; align-items: start; }
	.lp-bp-presentear__grade { align-items: stretch; }

	.lp-bp-abertura__grade { grid-template-columns: repeat(2, 1fr); gap: 48px; min-height: calc(100vh - 80px); }
	.lp-bp-abertura__texto { order: 1; padding: 0; }
	.lp-bp-abertura__logo { display: block; }
	.lp-bp-abertura__titulo { font-size: 48px; line-height: 1; }
	.lp-bp-abertura__lead { font-size: 18px; }
	.lp-bp-abertura__foto { order: 2; }
	.lp-bp-abertura__moldura { max-width: 512px; }

	.lp-bp-geracoes__fotos { grid-template-columns: repeat(3, 1fr); }
	.lp-bp-geracoes__fotos > :nth-child(3) { grid-column: auto; }

	.lp-bp-avo__grade { grid-template-columns: repeat(2, 1fr); }

	.lp-bp-comprar__canais { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
	.lp-bp-abertura__titulo { font-size: 60px; line-height: 1; }
}
