/*
 * LP Home — Store Expro
 * Usa as CSS custom properties já definidas em src/sass/_custom-colors.sass e _fonts.sass
 * (--bs-primary, --bs-terciary, --bs-gray-*, --bs-font-family-base). Sem dependência de jQuery.
 */

.lp-home {
	font-family: var(--bs-font-family-base, 'Inter', sans-serif);
	color: var(--text-color, #333);
	overflow-x: hidden;
}

.lp-home .container {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
}

.lp-home img { max-width: 100%; height: auto; display: block; }

/* Botões */
.btn-lp {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn-lp--primary {
	background: var(--gradient-custom-b, var(--bs-primary));
	color: #fff;
	box-shadow: 0 8px 24px rgba(93, 65, 198, .25);
}
.btn-lp--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(93, 65, 198, .32); color: #fff; }
.btn-lp--ghost {
	background: transparent;
	color: var(--bs-primary, #5d41c6);
	border: 2px solid var(--bs-primary, #5d41c6);
}
.btn-lp--ghost:hover { background: var(--bs-primary, #5d41c6); color: #fff; }

/* Títulos de seção */
.lp-section-title {
	font-size: clamp(1.6rem, 2.4vw, 2.2rem);
	font-weight: 800;
	text-align: center;
	margin-bottom: .5rem;
}
.lp-section-subtitle {
	text-align: center;
	color: var(--bs-gray-500, #707176);
	max-width: 560px;
	margin: 0 auto 2.5rem;
}

/* ===== Hero ===== */
.lp-hero {
	position: relative;
	min-height: 78vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: var(--bs-gray-50, #f5f6f6);
}
.lp-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}
.lp-hero__bg.no-img {
	background: var(--gradient-custom-a, linear-gradient(103deg, #5d41c6 0%, #F2609B 106%));
	opacity: .12;
}
.lp-hero__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.92) 85%);
}
.lp-hero__content {
	position: relative;
	z-index: 1;
	max-width: 680px;
	padding: 80px 20px;
}
.lp-hero__eyebrow {
	display: inline-block;
	font-weight: 700;
	color: var(--bs-terciary, #F2609B);
	text-transform: uppercase;
	letter-spacing: .06em;
	font-size: .85rem;
	margin-bottom: 1rem;
}
.lp-hero__title {
	font-size: clamp(2rem, 4.5vw, 3.2rem);
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 1rem;
}
.lp-hero__subtitle {
	font-size: 1.1rem;
	color: var(--bs-gray-600, #545458);
	margin-bottom: 2rem;
	max-width: 540px;
}
.lp-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 2.5rem; }
.lp-hero__trust {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	list-style: none;
	margin: 0; padding: 0;
	font-size: .92rem;
	color: var(--bs-gray-600, #545458);
}
.lp-hero__trust li { display: flex; align-items: center; gap: 6px; }

/* ===== Benefícios ===== */
.lp-beneficios { padding: 90px 0; }
.lp-beneficios__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 24px;
}
.lp-beneficio-card {
	background: #fff;
	border: 1px solid var(--bs-gray-100, #ececed);
	border-radius: 16px;
	padding: 28px 24px;
	text-align: center;
	transition: transform .25s ease, box-shadow .25s ease;
}
.lp-beneficio-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,.06); }
.lp-beneficio-card__icon { font-size: 2.2rem; display: block; margin-bottom: .75rem; }
.lp-beneficio-card h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 .5rem; }
.lp-beneficio-card p { font-size: .92rem; color: var(--bs-gray-500, #707176); margin: 0; }

/* ===== Produtos ===== */
.lp-produtos { padding: 90px 0; background: var(--bs-gray-50, #f5f6f6); }
.lp-produtos__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
@media (max-width: 900px) {
	.lp-produtos__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.lp-produtos__grid { grid-template-columns: 1fr; }
}
.lp-produto-card {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 4px 16px rgba(0,0,0,.04);
	transition: transform .25s ease, box-shadow .25s ease;
}
.lp-produto-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,.08); }
.lp-produto-card__link { text-decoration: none; color: inherit; display: flex; flex-direction: column; flex: 1 1 auto; }
.lp-produto-card__img-wrap { position: relative; aspect-ratio: 1 / 1; background: var(--bs-gray-50, #f5f6f6); flex-shrink: 0; }
.lp-produto-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.lp-produto-card__img-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 2.5rem; }
.lp-produto-card__badge {
	position: absolute; top: 10px; right: 10px;
	background: var(--bs-terciary, #F2609B); color: #fff;
	font-size: .72rem; font-weight: 700;
	padding: 4px 10px; border-radius: 999px;
}
.lp-produto-card__title { font-size: .95rem; font-weight: 600; margin: 14px 16px 4px; line-height: 1.35; }
.lp-produto-card__price { display: block; margin: 0 16px 16px; font-weight: 700; color: var(--bs-primary, #5d41c6); }
.lp-produto-card__cta {
	margin: 0 16px 16px;
	text-align: center;
	padding: 10px;
	border-radius: 999px;
	background: var(--bs-gray-50, #f5f6f6);
	color: var(--bs-primary, #5d41c6);
	font-weight: 600;
	font-size: .9rem;
	text-decoration: none;
	transition: background-color .2s ease;
}
.lp-produto-card__cta:hover { background: var(--bs-primary, #5d41c6); color: #fff; }
.lp-produtos__vazio { text-align: center; color: var(--bs-gray-500); }
.lp-produtos__ver-todos { text-align: center; margin-top: 2.5rem; }

/* ===== Prova social ===== */
.lp-prova-social { padding: 90px 0; }
.lp-prova-social__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
}
.lp-review-card {
	background: #fff;
	border: 1px solid var(--bs-gray-100, #ececed);
	border-radius: 16px;
	padding: 24px;
	margin: 0;
}
.lp-review-card__stars { color: #F5B301; letter-spacing: 2px; margin-bottom: .5rem; }
.lp-review-card__text { font-size: .95rem; color: var(--bs-gray-700, #4e5056); margin: 0 0 1rem; }
.lp-review-card__author { font-size: .85rem; color: var(--bs-gray-500, #707176); }

/* ===== FAQ ===== */
.lp-faq { padding: 90px 0; background: var(--bs-gray-50, #f5f6f6); }
.lp-faq__list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.lp-faq__item {
	background: #fff;
	border-radius: 12px;
	padding: 6px 20px;
	border: 1px solid var(--bs-gray-100, #ececed);
}
.lp-faq__item summary {
	cursor: pointer;
	font-weight: 600;
	padding: 16px 0;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.lp-faq__item summary::-webkit-details-marker { display: none; }
.lp-faq__item summary::after { content: '+'; font-size: 1.3rem; color: var(--bs-primary); }
.lp-faq__item[open] summary::after { content: '−'; }
.lp-faq__answer { padding: 0 0 16px; color: var(--bs-gray-600, #545458); }
.lp-faq__answer p { margin: 0; }

/* ===== CTA final ===== */
.lp-cta-final { padding: 90px 0; background: var(--gradient-custom-b, linear-gradient(135deg, #5d41c6 0%, #F2609B 100%)); }
.lp-cta-final__inner { text-align: center; color: #fff; }
.lp-cta-final__inner h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin: 0 0 .75rem; }
.lp-cta-final__inner p { margin: 0 0 2rem; opacity: .9; }
.lp-cta-final .btn-lp--primary { background: #fff; color: var(--bs-primary, #5d41c6); box-shadow: none; }
.lp-cta-final .btn-lp--primary:hover { color: var(--bs-primary, #5d41c6); }

/* ===== Reveal on scroll (JS adiciona .is-visible) ===== */
.reveal-up {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .6s ease, transform .6s ease;
}
.reveal-up.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
	.reveal-up { opacity: 1; transform: none; transition: none; }
	.lp-produto-card, .lp-beneficio-card, .btn-lp { transition: none; }
}

/* ===== Responsivo ===== */
@media (max-width: 640px) {
	.lp-hero { min-height: 92vh; }
	.lp-hero__content { padding: 56px 20px; }
	.lp-hero__actions { flex-direction: column; align-items: stretch; }
	.lp-beneficios, .lp-produtos, .lp-prova-social, .lp-faq, .lp-cta-final { padding: 56px 0; }
}
