/**
 * Parrillas Gourmet — layout premium da home.
 * Variáveis --pg-* vêm do Personalizar.
 */

/* ---------- Tokens / base ---------- */
:root {
	--pg-radius: 2px;
	--pg-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--pg-container: 1240px;
	--pg-space: clamp(4rem, 8vw, 7.5rem);
}

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

.pg-home {
	background: var(--pg-bg);
	color: var(--pg-text);
	overflow-x: clip;
}

.pg-container {
	width: min(100% - 2.5rem, var(--pg-container));
	margin-inline: auto;
}

.pg-section {
	padding: var(--pg-space) 0;
	position: relative;
}

/* Aparência por seção (editor). Vazio = herda globais (inherit evita ciclo). */
[data-pg-sec-style] {
	--pg-text: var(--pg-sec-text, inherit);
	--pg-text-muted: var(--pg-sec-muted, inherit);
	--pg-accent: var(--pg-sec-accent, inherit);
	--pg-accent-hot: var(--pg-sec-accent, inherit);
	--pg-accent-gold: var(--pg-sec-accent, inherit);
	--pg-surface: var(--pg-sec-surface, inherit);
	--pg-border: var(--pg-sec-border, inherit);
	--pg-bg-alt: var(--pg-sec-bg, inherit);
	--pg-bg: var(--pg-sec-bg, inherit);
	--pg-font-heading: var(--pg-sec-font-heading, inherit);
	--pg-font-body: var(--pg-sec-font-body, inherit);
	font-family: var(--pg-sec-font-body, inherit);
}

[data-pg-sec-style] .pg-section__head {
	max-width: var(--pg-sec-head-width, 42rem);
	margin-inline: auto;
	text-align: var(--pg-sec-align, center);
}

[data-pg-sec-style] .pg-section__title,
[data-pg-sec-style] .pg-promo__title,
[data-pg-sec-style] .pg-hero__title-line {
	font-family: var(--pg-sec-font-heading, var(--pg-font-heading));
	color: inherit;
}

[data-pg-sec-style] .pg-section__sub,
[data-pg-sec-style] .pg-trust__text,
[data-pg-sec-style] .pg-promo__text,
[data-pg-sec-style] .pg-hero__subtitle {
	color: var(--pg-sec-muted, var(--pg-text-muted));
}

[data-pg-sec-style] .pg-section__title,
[data-pg-sec-style] .pg-contact__head .pg-section__title {
	font-size: var(--pg-sec-title-size, clamp(2.25rem, 4.5vw, 3.75rem));
}

[data-pg-sec-style] .pg-section__sub {
	font-size: var(--pg-sec-text-size, 1.05rem);
}

[data-pg-sec-style] .pg-promo__title {
	font-size: var(--pg-sec-title-size, clamp(2rem, 4vw, 3.25rem));
}

[data-pg-sec-style] .pg-hero__title-line {
	font-size: var(--pg-sec-title-size, clamp(2.75rem, 7vw, 5.5rem));
}

[data-pg-sec-style] .pg-promo__text,
[data-pg-sec-style] .pg-hero__subtitle,
[data-pg-sec-style] .pg-trust__text,
[data-pg-sec-style] .pg-newsletter__text,
[data-pg-sec-style] .pg-alvenaria__text,
[data-pg-sec-style] .pg-about__text {
	font-size: var(--pg-sec-text-size, inherit);
}

[data-pg-sec-style] .pg-trust__title,
[data-pg-sec-style] .pg-product__title,
[data-pg-sec-style] .pg-cat__title,
[data-pg-sec-style] .pg-post__title,
[data-pg-sec-style] .pg-quote__text {
	color: inherit;
	font-family: var(--pg-sec-font-heading, var(--pg-font-heading));
}

[data-pg-sec-style] .pg-product,
[data-pg-sec-style] .pg-quote {
	background: var(--pg-sec-surface, var(--pg-surface));
	border-color: var(--pg-sec-border, var(--pg-border));
}

[data-pg-sec-style] .pg-product__prices strong,
[data-pg-sec-style] .pg-eyebrow,
[data-pg-sec-style] .pg-fire-text {
	color: var(--pg-sec-accent, var(--pg-accent-gold));
}

/* Inputs / superfícies respeitam tokens da seção */
[data-pg-sec-style] input[type="email"],
[data-pg-sec-style] input[type="text"],
[data-pg-sec-style] input[type="search"],
[data-pg-sec-style] input[type="tel"],
[data-pg-sec-style] input[type="number"],
[data-pg-sec-style] textarea,
[data-pg-sec-style] select {
	background: var(--pg-sec-surface, var(--pg-surface)) !important;
	border-color: var(--pg-sec-border, var(--pg-border)) !important;
	color: var(--pg-sec-text, var(--pg-text)) !important;
}

[data-pg-sec-style] .pg-product__media,
[data-pg-sec-style] .pg-post__media {
	background: #ececec !important;
}

[data-pg-sec-style].pg-hero {
	background-color: var(--pg-sec-bg, #050505);
}

/* Cores do header vêm de --pg-header-* (ver header.css). */

.pg-section__head {
	text-align: center;
	max-width: 42rem;
	margin: 0 auto 3rem;
}

.pg-section__title {
	font-family: var(--pg-font-heading);
	font-size: clamp(2.25rem, 4.5vw, 3.75rem);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.03em;
	margin: 0 0 0.75rem;
	color: var(--pg-text);
}

.pg-section__sub {
	margin: 0;
	color: var(--pg-text-muted);
	font-size: 1.05rem;
	line-height: 1.6;
}

.pg-section__foot {
	margin-top: 2.5rem;
	text-align: center;
}

.pg-eyebrow {
	font-size: 0.75rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--pg-accent-hot);
	margin: 0 0 1rem;
}

.pg-script {
	font-family: var(--pg-font-accent);
	font-size: 1.65rem;
	font-weight: 400;
	letter-spacing: 0.01em;
	text-transform: none;
}

.pg-fire-text {
	background: var(--pg-gradient-fire);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.pg-fire-bar {
	display: block;
	height: 2px;
	width: 72px;
	margin: 1.25rem auto 0;
	background: var(--pg-sec-divider, var(--pg-gradient-fire));
	border: 0;
}

/* ---------- Buttons ---------- */
.pg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 3rem;
	padding: 0.85rem 1.6rem;
	border-radius: var(--pg-radius);
	font-family: var(--pg-font-body);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none !important;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.3s var(--pg-ease), filter 0.3s var(--pg-ease), background 0.3s var(--pg-ease), color 0.3s var(--pg-ease), border-color 0.3s var(--pg-ease);
}

.pg-btn--primary {
	background: var(--pg-accent, #111111);
	color: #fff !important;
}

.pg-btn--primary:hover {
	filter: brightness(1.12);
	transform: translateY(-2px);
	color: #fff !important;
}

.pg-btn--ghost {
	background: transparent;
	border-color: rgba(17, 17, 17, 0.28);
	color: var(--pg-text, #111) !important;
}

.pg-btn--ghost:hover {
	border-color: var(--pg-accent, #111);
	color: var(--pg-accent, #111) !important;
	transform: translateY(-2px);
}

.pg-btn--block {
	width: 100%;
	margin-top: 0.85rem;
}

/* ---------- Hero (altura = proporção da imagem) ---------- */
.pg-hero {
	position: relative;
	width: 100%;
	max-width: none;
	margin: 0;
	isolation: isolate;
	background: var(--pg-bg-alt, #f5f5f5);
	overflow: hidden;
}

.pg-hero__track {
	position: relative;
	width: 100%;
}

/* Slide ativo define a altura; os outros só sobrepõem */
.pg-hero__slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.95s var(--pg-ease), visibility 0.95s var(--pg-ease);
}

.pg-hero__slide.is-active {
	position: relative;
	inset: auto;
	height: auto;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	z-index: 1;
}

.pg-hero__media {
	position: relative;
	width: 100%;
	overflow: hidden;
	line-height: 0;
}

.pg-hero__picture,
.pg-hero__poster {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	line-height: 0;
}

.pg-hero__video,
.pg-hero__placeholder {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
}

.pg-hero__picture img,
.pg-hero__poster img {
	display: block;
	width: 100% !important;
	max-width: none !important;
	height: auto !important;
	object-fit: unset;
	vertical-align: top;
}

.pg-hero__video {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 21 / 9;
	object-fit: cover;
	object-position: center center;
}

.pg-hero__placeholder {
	aspect-ratio: 21 / 9;
	min-height: 280px;
}

/* Slides inativos cobrem a caixa do slide ativo (sem alterar a altura) */
.pg-hero__slide:not(.is-active) .pg-hero__media {
	position: absolute;
	inset: 0;
	height: 100%;
}

.pg-hero__slide:not(.is-active) .pg-hero__picture,
.pg-hero__slide:not(.is-active) .pg-hero__poster,
.pg-hero__slide:not(.is-active) .pg-hero__video,
.pg-hero__slide:not(.is-active) .pg-hero__placeholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.pg-hero__slide:not(.is-active) .pg-hero__picture img,
.pg-hero__slide:not(.is-active) .pg-hero__poster img,
.pg-hero__slide:not(.is-active) .pg-hero__video {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	object-position: center center;
}

/* Placeholder de imagem — cinza neutro (não herda fundo escuro da seção) */
.pg-hero__placeholder,
.pg-promo__placeholder,
.pg-cat__ph,
.pg-product__ph,
.pg-split__ph,
.pg-feat__ph,
.pg-about__ph,
.pg-post__ph {
	background-color: #ececec !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 24 24' fill='none' stroke='%23b0b0b0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: 48px 48px !important;
}

.pg-hero__veil {
	position: absolute;
	inset: 0;
	/* Intensidade controlada pelo editor (hero_overlay → --pg-hero-overlay) */
	background:
		linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.55) 42%, rgba(0, 0, 0, 0.2) 100%),
		linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, transparent 42%);
	opacity: var(--pg-hero-overlay, 28%);
	z-index: 1;
	pointer-events: none;
}

.pg-hero__content {
	position: absolute;
	inset: 0;
	z-index: 2;
	width: 100%;
	display: flex;
	align-items: center;
	padding: clamp(5.5rem, 12vh, 8.5rem) 0 clamp(2.5rem, 6vh, 5rem);
	pointer-events: none;
}

.pg-hero__content a,
.pg-hero__content button {
	pointer-events: auto;
}

.pg-hero__inner {
	max-width: 38rem;
}

.pg-hero__title {
	margin: 0 0 1.25rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.55rem;
}

.pg-hero__title-line {
	font-family: var(--pg-font-heading);
	font-size: clamp(2.6rem, 6.4vw, 4.85rem);
	font-weight: 700;
	line-height: 0.95;
	letter-spacing: -0.03em;
	color: #fff;
	text-transform: uppercase;
	text-wrap: balance;
}

.pg-hero__highlight {
	display: inline-block;
	font-family: var(--pg-font-heading);
	font-size: clamp(1.55rem, 3.8vw, 2.65rem);
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.1;
	text-transform: uppercase;
	color: #fff;
	background: var(--pg-accent, #111);
	padding: 0.35rem 0.85rem 0.4rem;
	transform: rotate(-1.5deg);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.pg-hero__subtitle {
	margin: 0 0 1.75rem;
	max-width: 28rem;
	font-size: clamp(0.95rem, 1.35vw, 1.08rem);
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.9);
}

/* Hero sem mídia (placeholder claro): texto escuro legível */
.pg-hero__slide--plain .pg-hero__veil {
	opacity: 0 !important;
}

.pg-hero__slide--plain .pg-hero__title-line {
	color: var(--pg-text, #111);
}

.pg-hero__slide--plain .pg-hero__highlight {
	color: #fff;
	background: var(--pg-accent, #111);
	box-shadow: none;
}

.pg-hero__slide--plain .pg-hero__subtitle {
	color: var(--pg-text-muted, #6b6b6b);
}

.pg-hero__slide--plain .pg-btn--ghost {
	border-color: rgba(17, 17, 17, 0.28);
	color: var(--pg-text, #111) !important;
}

.pg-hero--plain .pg-hero__side {
	border-color: rgba(17, 17, 17, 0.2);
	background: rgba(255, 255, 255, 0.92);
	color: #111;
}

.pg-hero--plain .pg-hero__side span {
	border-color: #111;
}

.pg-hero--plain .pg-hero__dot {
	background: rgba(17, 17, 17, 0.25);
}

.pg-hero--plain .pg-hero__dot.is-active {
	background: #111;
}

.pg-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.pg-btn--hero {
	min-height: 3.15rem;
	padding-inline: 1.5rem;
	border-radius: 4px !important;
	font-size: 0.76rem;
}

.pg-hero__side {
	position: absolute;
	top: 50%;
	z-index: 4;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: rgba(0, 0, 0, 0.28);
	backdrop-filter: blur(8px);
	cursor: pointer;
	display: grid;
	place-items: center;
	transform: translateY(-50%);
	transition: border-color 0.3s var(--pg-ease), background 0.3s var(--pg-ease), transform 0.3s var(--pg-ease);
}

.pg-hero__side:hover {
	border-color: var(--pg-accent-gold);
	background: rgba(0, 0, 0, 0.5);
	transform: translateY(-50%) scale(1.05);
}

.pg-hero__side--prev { left: clamp(0.75rem, 2vw, 1.75rem); }
.pg-hero__side--next { right: clamp(0.75rem, 2vw, 1.75rem); }

.pg-hero__side span {
	width: 0.55rem;
	height: 0.55rem;
	border-right: 1.5px solid #fff;
	border-bottom: 1.5px solid #fff;
}

.pg-hero__side--prev span { transform: rotate(135deg); }
.pg-hero__side--next span { transform: rotate(-45deg); }

.pg-hero__dots {
	position: absolute;
	left: 50%;
	bottom: 1.5rem;
	z-index: 4;
	display: flex;
	gap: 0.5rem;
	transform: translateX(-50%);
}

.pg-hero__dot {
	width: 2rem;
	height: 2px;
	padding: 0;
	border: 0;
	background: rgba(255, 255, 255, 0.3);
	cursor: pointer;
	transition: background 0.3s var(--pg-ease), width 0.3s var(--pg-ease);
}

.pg-hero__dot.is-active {
	width: 2.6rem;
	background: var(--pg-gradient-fire);
}

@media (max-width: 767px) {
	.pg-hero__content {
		align-items: flex-end;
		padding: 7rem 0 4.5rem;
	}

	.pg-hero__video {
		display: none;
	}

	.pg-hero__poster--fallback {
		display: block;
	}

	.pg-hero__placeholder {
		aspect-ratio: 3 / 4;
		min-height: 320px;
	}

	/* Setas nas laterais (como no desktop) */
	.pg-hero__side {
		display: grid;
		top: 50%;
		bottom: auto;
		transform: translateY(-50%);
		width: 2.55rem;
		height: 2.55rem;
		background: rgba(0, 0, 0, 0.4);
		border-color: rgba(255, 255, 255, 0.45);
	}

	.pg-hero__side:hover {
		transform: translateY(-50%) scale(1.05);
	}

	.pg-hero__side--prev {
		left: 0.65rem;
		right: auto;
	}

	.pg-hero__side--next {
		right: 0.65rem;
		left: auto;
	}

	.pg-hero__title-line {
		font-size: clamp(2.2rem, 11vw, 3rem);
	}

	/* Garante imagem mobile em proporção natural (100% da largura) */
	.pg-hero__slide.is-active .pg-hero__picture img,
	.pg-hero__slide.is-active .pg-hero__poster img {
		width: 100% !important;
		height: auto !important;
		max-height: none !important;
		object-fit: unset !important;
	}
}

@media (min-width: 768px) {
	.pg-hero__poster--fallback {
		display: none;
	}
}

/* ---------- Trust ---------- */
.pg-trust {
	border-block: 1px solid var(--pg-border);
	background: var(--pg-bg-alt, var(--pg-bg));
	padding: 1.35rem 0;
}

.pg-trust__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
}

.pg-trust__item {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

.pg-trust__icon {
	width: 2rem;
	height: 2rem;
	margin-top: 0;
	flex-shrink: 0;
	display: grid;
	place-items: center;
	color: var(--pg-text, #111111);
	background: none;
	border-radius: 0;
	box-shadow: none;
}

.pg-trust__icon--custom,
.pg-trust__icon--default {
	width: 2rem;
	height: 2rem;
}

.pg-trust__icon-svg {
	display: block;
	width: 100%;
	height: 100%;
}

.pg-trust__icon-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.pg-trust__title {
	display: block;
	font-size: 0.92rem;
	letter-spacing: 0.02em;
}

.pg-trust__text {
	display: block;
	color: var(--pg-text-muted);
	font-size: 0.82rem;
	margin-top: 0.15rem;
}

@media (max-width: 900px) {
	.pg-trust__list {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Mobile: carrossel de benefícios (mesmo visual do desktop) */
@media (max-width: 767px) {
	.pg-trust .pg-container {
		width: min(100% - 2.5rem, var(--pg-container));
	}

	.pg-trust__list {
		display: flex;
		grid-template-columns: none;
		gap: 1.25rem;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding: 0;
	}

	.pg-trust__list::-webkit-scrollbar {
		display: none;
	}

	.pg-trust__item {
		flex: 0 0 100%;
		scroll-snap-align: center;
		justify-content: center;
		align-items: center;
		text-align: left;
		min-width: 0;
		background: none;
		border: 0;
		border-radius: 0;
		padding: 0;
	}

	.pg-trust__icon {
		margin-top: 0;
	}

	.pg-trust__item > div {
		text-align: left;
	}
}

/* ---------- Categories ---------- */
.pg-cats__carousel {
	position: relative;
}

.pg-cats__nav {
	display: none;
}

.pg-cats__arrow {
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.45);
	background: rgba(0, 0, 0, 0.42);
	backdrop-filter: blur(6px);
	cursor: pointer;
	display: grid;
	place-items: center;
	padding: 0;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
	transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.pg-cats__arrow:hover {
	border-color: #fff;
	background: rgba(0, 0, 0, 0.58);
	transform: scale(1.04);
}

.pg-cats__arrow span {
	width: 0.5rem;
	height: 0.5rem;
	border-right: 1.5px solid #fff;
	border-bottom: 1.5px solid #fff;
}

.pg-cats__arrow--prev span { transform: rotate(135deg); margin-left: 0.15rem; }
.pg-cats__arrow--next span { transform: rotate(-45deg); margin-right: 0.15rem; }

.pg-cats__grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 0.85rem;
}

.pg-cat {
	position: relative;
	display: block;
	text-decoration: none !important;
	color: inherit;
	min-height: 280px;
	overflow: hidden;
	isolation: isolate;
}

.pg-cat__media,
.pg-cat__media img,
.pg-cat__ph {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--pg-ease);
}

.pg-cat__veil {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.85) 100%);
	z-index: 1;
}

.pg-cat:has(.pg-cat__ph) .pg-cat__veil {
	background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.45) 100%);
}

.pg-cat__name {
	position: absolute;
	left: 1rem;
	right: 1rem;
	bottom: 1.1rem;
	z-index: 2;
	font-family: var(--pg-font-heading);
	font-size: 1.35rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: #fff;
}

.pg-cat:hover .pg-cat__media img,
.pg-cat:hover .pg-cat__ph {
	transform: scale(1.06);
}

@media (max-width: 1100px) {
	.pg-cats__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 767px) {
	.pg-cats .pg-section__head {
		margin-bottom: 1.5rem;
	}

	.pg-cats__carousel {
		position: relative;
	}

	/* Setas nas laterais do carrossel (sobre as imgs, centro vertical) */
	.pg-cats__nav {
		display: block;
		position: absolute;
		inset: 0;
		z-index: 5;
		pointer-events: none;
		margin: 0;
	}

	.pg-cats__arrow {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		pointer-events: auto;
		border-color: rgba(255, 255, 255, 0.5);
		background: rgba(0, 0, 0, 0.45);
		backdrop-filter: blur(6px);
		box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
	}

	.pg-cats__arrow:hover {
		border-color: #fff;
		background: rgba(0, 0, 0, 0.6);
		transform: translateY(-50%) scale(1.04);
	}

	.pg-cats__arrow--prev {
		left: 0.45rem;
	}

	.pg-cats__arrow--next {
		right: 0.45rem;
	}

	.pg-cats__grid {
		display: flex;
		grid-template-columns: none;
		gap: 0.75rem;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding-bottom: 0.15rem;
	}

	.pg-cats__grid::-webkit-scrollbar {
		display: none;
	}

	.pg-cat {
		flex: 0 0 calc(50% - 0.4rem);
		min-width: calc(50% - 0.4rem);
		min-height: 220px;
		scroll-snap-align: start;
	}
}

/* ---------- Products ---------- */
.pg-products {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

.pg-products--3 {
	grid-template-columns: repeat(3, 1fr);
}

.pg-product {
	background: var(--pg-surface);
	border: 1px solid var(--pg-border);
	padding: 0 0 1.15rem;
	transition: border-color 0.35s var(--pg-ease), transform 0.35s var(--pg-ease);
}

.pg-product:hover {
	border-color: rgba(232, 93, 4, 0.55);
	transform: translateY(-4px);
}

.pg-product__link {
	display: block;
	text-decoration: none !important;
	color: inherit;
}

.pg-product__media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #fff;
}

.pg-product__media img,
.pg-product__ph {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center center;
	padding: 0.85rem;
	box-sizing: border-box;
	display: block;
	transition: transform 0.6s var(--pg-ease);
}

.pg-product:hover .pg-product__media img {
	transform: scale(1.04);
}

.pg-product__badge {
	position: absolute;
	top: 0.85rem;
	left: 0.85rem;
	z-index: 1;
	padding: 0.35rem 0.6rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: var(--pg-gradient-fire);
	color: #0a0a0a;
}

.pg-product__body {
	display: block;
	padding: 1rem 1rem 0;
}

.pg-product__title {
	font-family: var(--pg-font-heading);
	font-size: 1.35rem;
	font-weight: 600;
	margin: 0 0 0.5rem;
	letter-spacing: -0.02em;
}

.pg-product__prices {
	display: flex;
	align-items: baseline;
	gap: 0.55rem;
	flex-wrap: wrap;
}

.pg-product__prices del {
	color: var(--pg-text-muted);
	font-size: 0.9rem;
}

.pg-product__prices strong {
	color: var(--pg-accent-gold);
	font-size: 1.1rem;
	font-weight: 700;
}

.pg-product .pg-btn {
	margin-inline: 1rem;
	width: calc(100% - 2rem);
}

@media (max-width: 900px) {
	.pg-products,
	.pg-products--3 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.pg-products,
	.pg-products--3 {
		grid-template-columns: 1fr;
	}
}

/* ---------- Promo ---------- */
.pg-promo {
	position: relative;
	min-height: clamp(420px, 55vw, 560px);
	display: flex;
	align-items: center;
	isolation: isolate;
}

.pg-promo__media {
	position: absolute;
	inset: 0;
}

.pg-promo__picture,
.pg-promo__picture img,
.pg-promo__placeholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pg-promo__veil {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0.25) 100%);
}

.pg-promo__content {
	position: relative;
	z-index: 1;
	max-width: 34rem;
	padding-block: 4rem;
}

.pg-promo__title {
	font-family: var(--pg-font-heading);
	font-size: clamp(2.4rem, 5vw, 4rem);
	line-height: 1.02;
	letter-spacing: -0.03em;
	margin: 0 0 1rem;
	color: #fff;
}

.pg-promo__text {
	color: rgba(242, 239, 233, 0.8);
	margin: 0 0 1.5rem;
	line-height: 1.6;
}

/* ---------- Split / Alvenaria ---------- */
.pg-split__grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	min-height: 520px;
}

.pg-split__media,
.pg-split__media img,
.pg-split__ph {
	width: 100%;
	height: 100%;
	min-height: 420px;
	object-fit: cover;
	display: block;
}

.pg-split__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(2rem, 5vw, 4.5rem);
	background: var(--pg-bg-alt);
}

.pg-split .pg-fire-bar {
	margin-left: 0;
	margin-bottom: 1.25rem;
}

.pg-split .pg-section__sub {
	margin-bottom: 1.75rem;
}

@media (max-width: 900px) {
	.pg-split__grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- Featured ---------- */
.pg-feat {
	background:
		radial-gradient(ellipse 50% 60% at 85% 50%, rgba(232, 93, 4, 0.12), transparent 60%),
		var(--pg-bg);
}

.pg-feat__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
}

.pg-feat .pg-fire-bar {
	margin-left: 0;
	margin-bottom: 1.25rem;
}

.pg-feat__name {
	font-family: var(--pg-font-heading);
	font-size: 1.75rem;
	margin: 0 0 0.75rem;
}

.pg-feat__product {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--pg-border);
}

.pg-feat__media img,
.pg-feat__ph {
	width: 100%;
	aspect-ratio: 1 / 1.05;
	object-fit: cover;
	display: block;
}

@media (max-width: 900px) {
	.pg-feat__grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- About ---------- */
.pg-about__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
}

.pg-about .pg-fire-bar {
	margin-left: 0;
	margin-bottom: 1.25rem;
}

.pg-about__media img,
.pg-about__ph {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	display: block;
}

@media (max-width: 900px) {
	.pg-about__grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- Testimonials (estilo avaliações / confiança) ---------- */
/* Fundo da SEÇÃO = editor (inline). Não forçar branco aqui. */
.pg-testi {
	background-image: none;
}

.pg-testi .pg-section__title {
	color: inherit;
}

.pg-testi .pg-section__sub {
	color: var(--pg-sec-muted, #9a9690);
}

/* Cards e resumo: SEMPRE brancos (interno do depoimento) */
.pg-testi .pg-testi__summary,
.pg-testi .pg-quote,
.pg-testi[data-pg-sec-style] .pg-quote {
	background: #fff !important;
	border: 1px solid #e8eaed;
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08);
	color: #202124;
}

.pg-testi__summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.75rem 1.25rem;
	margin: 0 auto 2rem;
	padding: 1rem 1.25rem;
	max-width: 36rem;
}

.pg-testi__summary-score {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
}

.pg-testi__avg {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1;
	color: #202124;
	letter-spacing: -0.02em;
}

.pg-testi__count {
	margin: 0;
	font-size: 0.9rem;
	color: #5f6368;
}

.pg-testi__google-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-left: auto;
	font-size: 0.88rem;
	font-weight: 600;
	color: #1a73e8;
	text-decoration: none;
}

.pg-testi__google-link:hover {
	text-decoration: underline;
}

.pg-testi__g {
	display: grid;
	place-items: center;
	width: 1.35rem;
	height: 1.35rem;
	border-radius: 50%;
	background: #fff;
	border: 1px solid #dadce0;
	color: #4285f4;
	font-family: Arial, sans-serif;
	font-weight: 700;
	font-size: 0.78rem;
}

.pg-stars {
	display: inline-flex;
	align-items: center;
	gap: 1px;
}

.pg-stars__star {
	display: block;
	fill: #dadce0;
}

.pg-stars__star.is-on {
	fill: var(--pg-sec-accent, #fbbc04);
}

.pg-stars--lg .pg-stars__star {
	width: 20px;
	height: 20px;
}

.pg-testi__track {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.pg-testi__carousel {
	position: relative;
}

.pg-testi__nav {
	display: none;
}

.pg-testi__arrow {
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.12);
	background: #fff;
	cursor: pointer;
	display: grid;
	place-items: center;
	padding: 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pg-testi__arrow:hover {
	transform: scale(1.04);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

.pg-testi__arrow span {
	width: 0.5rem;
	height: 0.5rem;
	border-right: 1.5px solid #202124;
	border-bottom: 1.5px solid #202124;
}

.pg-testi__arrow--prev span { transform: rotate(135deg); margin-left: 0.15rem; }
.pg-testi__arrow--next span { transform: rotate(-45deg); margin-right: 0.15rem; }

.pg-quote {
	margin: 0;
	padding: 1.15rem 1.2rem 1.25rem;
	border-image: none;
}

.pg-quote__head {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.55rem;
}

.pg-quote__avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.pg-quote__avatar--ph {
	display: grid;
	place-items: center;
	background: #1a73e8;
	color: #fff;
	font-weight: 700;
	font-size: 1rem;
}

.pg-quote__meta {
	min-width: 0;
}

.pg-quote__name {
	display: block;
	font-size: 0.95rem;
	font-weight: 600;
	color: #202124;
	line-height: 1.25;
}

.pg-quote__role {
	display: block;
	color: #5f6368;
	font-size: 0.8rem;
	line-height: 1.3;
}

.pg-quote__rating {
	margin: 0 0 0.55rem;
}

.pg-quote__text {
	margin: 0;
	line-height: 1.55;
	font-size: 0.92rem;
	color: #3c4043;
	opacity: 1;
}

.pg-testi[data-pg-sec-style] .pg-quote__text {
	color: #3c4043;
	font-family: inherit;
}

.pg-quote__about {
	margin: 0.75rem 0 0;
	font-size: 0.78rem;
	font-weight: 600;
	color: #5f6368;
}

@media (max-width: 1000px) {
	.pg-testi__track {
		grid-template-columns: 1fr 1fr;
	}

	.pg-testi__google-link {
		margin-left: 0;
		width: 100%;
		justify-content: center;
	}
}

/* Mobile: carrossel de depoimentos */
@media (max-width: 767px) {
	.pg-testi__carousel {
		position: relative;
	}

	.pg-testi__nav {
		display: block;
		position: absolute;
		inset: 0;
		z-index: 5;
		pointer-events: none;
		margin: 0;
	}

	.pg-testi__arrow {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		pointer-events: auto;
	}

	.pg-testi__arrow--prev { left: 0.15rem; }
	.pg-testi__arrow--next { right: 0.15rem; }

	.pg-testi__arrow:hover {
		transform: translateY(-50%) scale(1.04);
	}

	.pg-testi__track {
		display: flex;
		grid-template-columns: none;
		gap: 0.85rem;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding: 0.15rem 0.35rem 0.5rem;
	}

	.pg-testi__track::-webkit-scrollbar {
		display: none;
	}

	.pg-testi .pg-quote {
		flex: 0 0 min(88%, 22rem);
		scroll-snap-align: center;
		min-width: 0;
	}
}

/* ---------- Blog ---------- */
.pg-blog__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.1rem;
}

.pg-post__link {
	display: block;
	text-decoration: none !important;
	color: inherit;
	height: 100%;
}

.pg-post__media {
	display: block;
	aspect-ratio: 16 / 11;
	overflow: hidden;
	background: #ececec;
}

.pg-post__media img,
.pg-post__ph {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s var(--pg-ease);
}

.pg-post:hover .pg-post__media img {
	transform: scale(1.05);
}

.pg-post__body {
	display: block;
	padding: 1.1rem 0 0;
}

.pg-post__title {
	font-family: var(--pg-font-heading);
	font-size: 1.35rem;
	margin: 0 0 0.55rem;
	letter-spacing: -0.02em;
}

.pg-post__excerpt {
	display: block;
	color: var(--pg-text-muted);
	font-size: 0.92rem;
	line-height: 1.5;
	margin-bottom: 0.75rem;
}

.pg-post__more {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pg-accent-gold);
}

@media (max-width: 1000px) {
	.pg-blog__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 560px) {
	.pg-blog__grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- Newsletter ---------- */
.pg-news {
	background:
		radial-gradient(ellipse 70% 80% at 50% 120%, rgba(232, 93, 4, 0.14), transparent 60%),
		var(--pg-bg);
	border-top: 1px solid var(--pg-border);
}

.pg-news__inner {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 2.5rem;
	align-items: center;
}

.pg-news .pg-fire-bar {
	margin-left: 0;
	margin-bottom: 1rem;
}

.pg-news__ig {
	margin: 1.1rem 0 0;
}

.pg-news__ig a {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: var(--pg-accent-gold);
	text-decoration: none;
	font-weight: 600;
}

.pg-news__ig a:hover {
	text-decoration: underline;
}

.pg-news__ig .pg-social-icon {
	flex-shrink: 0;
}

.pg-news__form {
	display: grid;
	gap: 0.75rem;
	align-self: center;
}

.pg-news__form input[type="email"] {
	min-height: 3.15rem;
	padding: 0.85rem 1rem;
	background: var(--pg-surface) !important;
	border: 1px solid var(--pg-border) !important;
	color: var(--pg-text) !important;
	border-radius: var(--pg-radius) !important;
	font-family: var(--pg-font-body);
}

.pg-news__form input[type="email"]::placeholder {
	color: var(--pg-text-muted);
	opacity: 0.85;
}

@media (max-width: 800px) {
	.pg-news__inner {
		grid-template-columns: 1fr;
	}
}

/* ---------- WhatsApp ---------- */
.pg-whatsapp-float {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 9999;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: #25d366;
	color: #fff !important;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
	transition: transform 0.25s var(--pg-ease);
}

.pg-whatsapp-float:hover {
	transform: scale(1.06);
	color: #fff !important;
}

.pg-whatsapp-float svg {
	width: 28px;
	height: 28px;
	fill: currentColor;
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
	.pg-reveal {
		opacity: 0;
		transform: translateY(22px);
		transition: opacity 0.8s var(--pg-ease), transform 0.8s var(--pg-ease);
	}

	.pg-reveal.is-visible {
		opacity: 1;
		transform: none;
	}

	.pg-hero__slide.is-active .pg-hero__title-line,
	.pg-hero__slide.is-active .pg-hero__highlight,
	.pg-hero__slide.is-active .pg-hero__subtitle,
	.pg-hero__slide.is-active .pg-hero__actions {
		animation: pg-rise 0.9s var(--pg-ease) both;
	}

	.pg-hero__slide.is-active .pg-hero__highlight { animation-delay: 0.1s; }
	.pg-hero__slide.is-active .pg-hero__subtitle { animation-delay: 0.18s; }
	.pg-hero__slide.is-active .pg-hero__actions { animation-delay: 0.26s; }
}

@keyframes pg-rise {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}

/* ---------- Woo / Blocksy soft overrides on home ---------- */
.pg-home .button,
.pg-home .woocommerce a.button {
	background: var(--pg-gradient-fire) !important;
	color: #0a0a0a !important;
	border: 0 !important;
	border-radius: var(--pg-radius) !important;
}

body {
	background-color: var(--pg-bg);
	color: var(--pg-text);
	font-family: var(--pg-font-body);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--pg-font-heading);
}

.site-logo-container .custom-logo {
	height: var(--pg-logo-h, 58px);
	max-height: none;
	width: auto;
}

/* Conta full: logo próprio, sem herdar altura do header da loja */
header.pg-account-chrome img {
	height: auto;
	max-height: none;
}

/* ---------- Página Contato (fundo claro) ---------- */
body.pg-contact-page,
body.pg-contact-page .site-content,
body.pg-contact-page main#main,
body.pg-contact-page main.ct-main,
body.pg-contact-page main.pg-main {
	background: #fff !important;
	color: #1a1a1a;
}

body.pg-contact-page .entry-header,
body.pg-contact-page .page-title,
body.pg-contact-page h1.entry-title {
	display: none !important;
}

.pg-contact {
	padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 7vw, 5rem);
	background: #fff;
	color: #1a1a1a;
}

.pg-contact__wrap {
	max-width: 960px;
	margin-inline: auto;
}

.pg-contact__head,
.pg-contact__head.pg-section__head {
	margin: 0 0 1.75rem;
	text-align: left;
	max-width: none;
}

.pg-contact__head .pg-section__title {
	margin: 0 0 0.5rem;
	color: #111;
	text-align: left;
}

.pg-contact__head .pg-section__sub {
	margin: 0;
	color: #5c5c5c;
	text-align: left;
	max-width: 36rem;
}

.pg-contact__head .pg-fire-bar {
	margin: 0.85rem 0 0;
	margin-left: 0;
}

.pg-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	gap: 2rem 2.5rem;
	align-items: start;
}

.pg-contact__main,
.pg-contact__aside {
	min-width: 0;
}

.pg-contact__form {
	display: grid;
	gap: 1rem;
}

.pg-contact__hp {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

.pg-contact__field {
	margin: 0;
	display: grid;
	gap: 0.4rem;
}

.pg-contact__field label {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #6b6b6b;
}

.pg-contact__field input,
.pg-contact__field textarea,
.pg-contact input[type="text"],
.pg-contact input[type="email"],
.pg-contact input[type="tel"],
.pg-contact textarea {
	width: 100%;
	min-height: 3.1rem;
	padding: 0.85rem 1rem;
	background: #fff !important;
	background-color: #fff !important;
	border: 1px solid #d0d0d0 !important;
	color: #1a1a1a !important;
	border-radius: 6px;
	font-family: var(--pg-font-body);
	font-size: 1rem;
	box-shadow: none !important;
	-webkit-appearance: none;
	appearance: none;
}

.pg-contact__field textarea,
.pg-contact textarea {
	min-height: 9rem;
	resize: vertical;
}

.pg-contact__field input::placeholder,
.pg-contact__field textarea::placeholder {
	color: #9a9a9a;
}

.pg-contact__field input:focus,
.pg-contact__field textarea:focus,
.pg-contact input:focus,
.pg-contact textarea:focus {
	outline: none;
	border-color: #e07a1a !important;
	box-shadow: 0 0 0 3px rgba(224, 122, 26, 0.15) !important;
}

.pg-contact__actions {
	margin: 0.15rem 0 0;
}

.pg-contact__submit {
	min-height: 3.1rem;
	padding: 0.85rem 1.4rem;
	border: 0;
	border-radius: 6px;
	background: var(--pg-gradient-fire, linear-gradient(135deg, #f0b429, #e07a1a));
	color: #0a0a0a;
	font-weight: 700;
	cursor: pointer;
}

.pg-contact__submit:hover {
	filter: brightness(1.05);
}

.pg-contact__flash {
	margin: 0;
	padding: 0.85rem 1rem;
	border-radius: 6px;
	font-size: 0.95rem;
}

.pg-contact__flash--ok {
	background: #eaf8ef;
	border: 1px solid #b7e0c3;
	color: #1f6b38;
}

.pg-contact__flash--error {
	background: #fdecea;
	border: 1px solid #f0b4aa;
	color: #9b2c1a;
}

.pg-contact__aside {
	display: grid;
	gap: 0.85rem;
	align-content: start;
	padding-top: 1.55rem; /* alinha com o 1º campo (altura do label) */
}

.pg-contact__card {
	padding: 1rem 1.1rem;
	border: 1px solid #e2e2e2;
	border-radius: 6px;
	background: #fff !important;
	background-color: #fff !important;
}

.pg-contact__card-label {
	margin: 0 0 0.3rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #6b6b6b;
}

.pg-contact__card-link {
	color: #c45f12;
	text-decoration: none;
	font-weight: 600;
	word-break: break-word;
}

.pg-contact__card-link:hover {
	text-decoration: underline;
}

.pg-contact__card-text {
	margin: 0;
	color: #1a1a1a;
	line-height: 1.55;
}

@media (max-width: 800px) {
	.pg-contact__grid {
		grid-template-columns: 1fr;
		gap: 1.75rem;
	}

	.pg-contact__aside {
		padding-top: 0;
	}
}

/* ---------- HTML personalizado ---------- */
.pg-custom-html {
	position: relative;
	width: 100%;
}

.pg-custom-html__body {
	width: 100%;
}

.pg-custom-html--empty .pg-custom-html__placeholder {
	margin: 0;
	padding: 2.5rem 1rem;
	text-align: center;
	color: #6d7175;
	font-size: 0.9rem;
	border: 1px dashed #c9ccd1;
	border-radius: 12px;
	background: #f7f8f9;
}
