/*
  Prisma Pré-Moldados — landing page
  CSS único, mobile-first, sem frameworks.

  Índice
  1. Tokens (cores, tipografia, espaçamento)
  2. Base
  3. Componentes: botões, ícones
  4. Header e menu
  5. Hero
  6. Seções (sobre, produtos, galeria, contato)
  7. Footer, botão flutuante, lightbox
  8. Motion (entradas, keyframes, lightbox)
  9. Acessibilidade e movimento reduzido
  (FAQ fica na seção 6, depois de Depoimentos)
*/

/* ========== 1. TOKENS ========== */
@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-var.woff2") format("woff2");
	font-weight: 400 800;
	font-stretch: 100% 125%;
	font-style: normal;
	font-display: swap;
}

:root {
	/* Marca (extraídas do logotipo) */
	--red: #e10b04;
	--red-deep: #950008;
	--graphite: #201e1d;
	--graphite-soft: #2c2928;
	--ink: #201e1d;

	/* Neutros de concreto */
	--white: #ffffff;
	--concrete-50: #f3f2ef;
	--concrete-100: #e8e6e2;
	--line: #d8d5d0;
	--muted: #5f5b57;

	/* WhatsApp (contraste 5:1 com texto branco) */
	--wa: #0f7f3f;
	--wa-hover: #0b6a34;

	--font: "Archivo", "Arial Narrow", Arial, sans-serif;

	--radius: 3px;
	--header-h: 64px;
	--gutter: 20px;
	--maxw: 1200px;
	--section-y: clamp(56px, 8vw, 104px);

	/* Motion: valores únicos para toda a página */
	--dur-fast: 180ms;     /* feedback de interação: hover, clique, links */
	--dur-hover: 400ms;    /* zoom de imagens, elevação de cards, header */
	--dur-enter: 560ms;    /* entrada de elementos */
	--dur-out: 200ms;      /* saída (fechar lightbox) */
	--ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
	--ease-std: cubic-bezier(0.4, 0, 0.2, 1);
	--rise: 20px;          /* deslocamento vertical das entradas */
	--lift: -2px;          /* elevação dos botões no hover */
	--press: 0.98;         /* escala ao pressionar */
	--zoom: 1.03;          /* zoom das imagens dos produtos */
}
@media (hover: none) {
	/* Toque: entradas mais curtas e discretas */
	:root { --rise: 12px; --dur-enter: 420ms; }
}

@media (min-width: 768px) {
	:root { --gutter: 32px; }
}
@media (min-width: 900px) {
	:root { --header-h: 76px; }
}

/* ========== 2. BASE ========== */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 8px);
}
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}
html.is-locked { overflow: hidden; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--ink);
	background: var(--white);
	overflow-x: hidden;
	text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }

/* Títulos: Archivo em largura expandida ecoa a assinatura larga do logotipo */
h1, h2, h3 {
	font-weight: 800;
	font-stretch: 125%;
	line-height: 1.08;
	letter-spacing: -0.01em;
	text-wrap: balance;
}
h1 { font-size: clamp(1.95rem, 0.9rem + 3.6vw, 3.5rem); line-height: 1.04; }
h2 { font-size: clamp(1.6rem, 1.1rem + 2.4vw, 2.6rem); }
h3 { font-size: 1.15rem; font-stretch: 112%; line-height: 1.2; }
.nw { white-space: nowrap; }

.lead { font-size: 1.125rem; line-height: 1.55; }

.container {
	width: min(100% - var(--gutter) * 2, var(--maxw));
	margin-inline: auto;
}

.skip-link {
	position: absolute;
	left: 8px;
	top: -60px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--graphite);
	color: #fff;
	font-weight: 600;
	border-radius: var(--radius);
}
.skip-link:focus { top: 8px; }

/* Ritmo vertical único para todas as seções */
.section { padding-block: var(--section-y); }
.section--tint { background: var(--concrete-50); }

.section-head {
	display: grid;
	gap: 12px;
	margin-bottom: clamp(28px, 4vw, 48px);
}
.section-head p { color: var(--muted); max-width: 52ch; }
@media (min-width: 900px) {
	.section-head {
		grid-template-columns: 1fr 1fr;
		align-items: end;
		gap: 48px;
	}
	.section-head p { justify-self: end; }
}

/* ========== 3. COMPONENTES ========== */
.icon { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 22px;
	border: 2px solid transparent;
	border-radius: var(--radius);
	font: 700 1rem/1.2 var(--font);
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition:
		background-color var(--dur-fast) var(--ease-std),
		border-color var(--dur-fast) var(--ease-std),
		color var(--dur-fast) var(--ease-std),
		transform var(--dur-fast) var(--ease-out),
		box-shadow var(--dur-fast) var(--ease-std);
}
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.btn--red { background: var(--red); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--outline { border-color: var(--graphite); color: var(--graphite); background: transparent; }

/* Hover só onde existe mouse; :active vale também no toque (feedback de pressão) */
@media (hover: hover) and (pointer: fine) {
	.btn:hover { transform: translateY(var(--lift)); box-shadow: 0 8px 18px -10px rgba(32, 30, 29, 0.55); }
	.btn--red:hover { background: var(--red-deep); box-shadow: 0 8px 18px -10px rgba(225, 11, 4, 0.7); }
	.btn--wa:hover { background: var(--wa-hover); box-shadow: 0 8px 18px -10px rgba(15, 127, 63, 0.75); }
	.btn--outline:hover { background: var(--graphite); color: #fff; }
}
.btn:active { transform: scale(var(--press)); box-shadow: none; }
.btn--red:active { background: var(--red-deep); }
.btn--wa:active { background: var(--wa-hover); }
.btn--outline:active { background: var(--graphite); color: #fff; }

/* ========== 4. HEADER ========== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--white);
	border-bottom: 1px solid var(--line);
	transition: background-color var(--dur-hover) var(--ease-std), box-shadow var(--dur-hover) var(--ease-std);
}
/* Depois de rolar: fundo levemente translúcido + sombra discreta (a altura não muda, para não deslocar o conteúdo) */
.site-header.is-scrolled {
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 10px 24px -20px rgba(32, 30, 29, 0.55);
}
@supports (backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px)) {
	.site-header.is-scrolled {
		background: rgba(255, 255, 255, 0.86);
		-webkit-backdrop-filter: saturate(1.3) blur(10px);
		backdrop-filter: saturate(1.3) blur(10px);
	}
}
.header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-h);
}
.brand img {
	height: calc(var(--header-h) - 22px);
	width: auto;
	transform-origin: left center;
	transition: transform var(--dur-hover) var(--ease-out), opacity var(--dur-fast) var(--ease-std);
}
.is-scrolled .brand img { transform: scale(0.9); }
.brand:active img { opacity: 0.75; }
@media (hover: hover) and (pointer: fine) { .brand:hover img { opacity: 0.85; } }

.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-right: -10px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--graphite);
	cursor: pointer;
	transition: background-color var(--dur-fast) var(--ease-std), transform var(--dur-fast) var(--ease-out);
}
.menu-toggle:active { background: var(--concrete-100); transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) { .menu-toggle:hover { background: var(--concrete-100); } }
.menu-toggle .icon { width: 28px; height: 28px; }
.menu-toggle .icon--close { display: none; }
.is-open .menu-toggle .icon--open { display: none; }
.is-open .menu-toggle .icon--close { display: block; }

/* Sem JavaScript o menu fica sempre visível; com JS vira menu recolhível no mobile */
.nav { display: flex; flex-direction: column; gap: 4px; }
.nav__list { display: flex; flex-direction: column; }
.nav__list a {
	position: relative;
	display: block;
	padding: 14px 0;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid var(--concrete-100);
	transition: color var(--dur-fast) var(--ease-std);
}
.nav__list a:active { color: var(--red); }
@media (hover: hover) and (pointer: fine) { .nav__list a:hover { color: var(--red); } }
.nav__cta { margin-top: 16px; }

@media (max-width: 899.98px) {
	.js .menu-toggle { display: inline-flex; }
	.js .nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		padding: 4px var(--gutter) 24px;
		background: var(--white);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 12px 24px -16px rgba(32, 30, 29, 0.35);
	}
	.js .is-open .nav { display: flex; animation: menu-in var(--dur-fast) var(--ease-out) backwards; }
	.no-js .header__bar { height: auto; flex-wrap: wrap; padding-block: 10px; }
}

@media (min-width: 900px) {
	.nav { flex-direction: row; align-items: center; gap: 36px; }
	.nav__list { flex-direction: row; gap: 32px; }
	.nav__list a {
		padding: 6px 0 8px;
		border-bottom: 0;
		font-size: 0.975rem;
	}
	/* Sublinhado que "desenha" da esquerda para a direita */
	.nav__list a::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		height: 2px;
		background: var(--red);
		transform: scaleX(0);
		transform-origin: left center;
		transition: transform var(--dur-fast) var(--ease-out);
	}
	.nav__list a:hover,
	.nav__list a:active,
	.nav__list a[aria-current] { color: var(--ink); }
	.nav__list a:hover::after,
	.nav__list a[aria-current]::after { transform: scaleX(1); }
	.nav__cta { margin-top: 0; min-height: 44px; padding: 0 18px; }
}

/* ========== 5. HERO ========== */
.hero {
	background: var(--concrete-50);
	padding-block: clamp(36px, 6vw, 88px) 0;
	overflow: hidden;
}
.hero__grid {
	display: grid;
	gap: 36px;
}
.hero__text { align-self: center; padding-bottom: 8px; }
.hero__lead {
	margin-top: 20px;
	max-width: 46ch;
	font-size: 1.125rem;
	line-height: 1.55;
	color: var(--muted);
}
.hero__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 32px;
}

/* Moldura em "telhado": o portal vermelho do logotipo emoldura a foto */
.hero__art { width: min(100%, 520px); margin-inline: auto; container-type: inline-size; }
.frame {
	--rise: 17cqw;                 /* altura do telhado */
	--side: 4.6cqw;                /* espessura da moldura */
	--drop: 4.9cqw;                /* espessura medida na vertical (paralela ao telhado) */
	position: relative;
	aspect-ratio: 15 / 16;
}
.frame::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, var(--red-deep) 50%, var(--red) 50%);
	clip-path: polygon(0 var(--rise), 50% 0, 100% var(--rise), 100% 100%, 0 100%);
}
.frame img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: var(--concrete-100);
	clip-path: polygon(
		var(--side) 100%,
		var(--side) calc(var(--rise) + var(--drop) - 0.36 * var(--side)),
		50% var(--drop),
		calc(100% - var(--side)) calc(var(--rise) + var(--drop) - 0.36 * var(--side)),
		calc(100% - var(--side)) 100%
	);
}

@media (min-width: 640px) {
	.hero__actions { flex-direction: row; flex-wrap: wrap; }
}
@media (min-width: 900px) {
	.hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: end; }
	.hero__text { padding-bottom: clamp(48px, 7vw, 96px); }
	.hero__art { width: 100%; margin-inline: 0; }
}

/* Entrada do Hero, na carga: título → subtítulo → CTAs → imagem (tudo pronto em < 0,9 s).
   "backwards" segura só o estado inicial; depois o hover dos botões volta a funcionar normalmente. */
.hero__text h1,
.hero__lead,
.hero__actions > *,
.hero__art { animation: enter var(--dur-enter) var(--ease-out) var(--delay, 0ms) backwards; }
.hero__lead { --delay: 90ms; }
.hero__actions > :nth-child(1) { --delay: 180ms; }
.hero__actions > :nth-child(2) { --delay: 250ms; }
.hero__art { --delay: 280ms; animation-name: enter-scale; }

/* ========== 6. SEÇÕES ========== */

/* --- Sobre --- */
.about__grid { display: grid; gap: 40px; }
.about__intro { display: grid; gap: 18px; align-content: start; }
.about__intro p:not(.lead) { color: var(--muted); max-width: 52ch; }
.about__intro .lead { max-width: 40ch; }

/* Lista tipo "ficha técnica": linhas separadas, título à esquerda e texto à direita */
.pillars { border-top: 2px solid var(--graphite); }
.pillars li {
	display: grid;
	gap: 4px;
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
}
.pillars p { color: var(--muted); }

@media (min-width: 640px) {
	.pillars li { grid-template-columns: 0.9fr 1.1fr; gap: 24px; align-items: baseline; }
}
@media (min-width: 900px) {
	.about__grid { grid-template-columns: 0.85fr 1.15fr; gap: 72px; }
}

/* Números de destaque */
.stats {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	margin: 0;
	padding-top: 28px;
	border-top: 2px solid var(--graphite);
}
.stats div { display: flex; flex-direction: column-reverse; gap: 4px; }
.stats dt { color: var(--muted); font-size: 0.975rem; }
.stats dd {
	margin: 0;
	font-size: clamp(1.75rem, 0.9rem + 3.4vw, 3.25rem);
	font-weight: 800;
	font-stretch: 125%;
	line-height: 1.05;
	letter-spacing: -0.01em;
	color: var(--red);
}
.stats dd.is-pending { color: var(--muted); font-weight: 600; }
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
@media (min-width: 900px) {
	.stats { grid-template-columns: repeat(2, minmax(0, 300px)); gap: 64px; }
}

/* --- Produtos --- */
.product-grid { display: grid; gap: 20px; }
.product {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition:
		transform var(--dur-hover) var(--ease-out),
		box-shadow var(--dur-hover) var(--ease-out),
		border-color var(--dur-fast) var(--ease-std);
}
.product__media { aspect-ratio: 1; overflow: hidden; background: var(--concrete-100); }
/* As artes têm texto a mais de 5% das bordas: o zoom de 3% (--zoom) nunca corta conteúdo */
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-hover) var(--ease-out); }
.product__body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 20px; }
.product__body h3 { margin-bottom: 8px; }
.product__body p { color: var(--muted); font-size: 0.975rem; margin-bottom: 12px; }
.product__body .btn { margin-top: auto; }

@media (hover: hover) and (pointer: fine) {
	.product:hover {
		transform: translateY(-4px);
		border-color: var(--graphite);
		box-shadow: 0 18px 32px -22px rgba(32, 30, 29, 0.55);
	}
	.product:hover .product__media img { transform: scale(var(--zoom)); }
	.product:hover .btn--outline { background: var(--graphite); color: #fff; }   /* CTA ganha destaque */
}
.products__note { margin-top: 32px; color: var(--muted); }
.products__note a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; transition: color var(--dur-fast) var(--ease-std); }
.products__note a:active { color: var(--red); }
@media (hover: hover) and (pointer: fine) { .products__note a:hover { color: var(--red); } }

@media (min-width: 640px) {
	.product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
	.product-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* --- Produto em destaque: Pingadeira de Concreto --- */
.featured__grid {
	display: grid;
	gap: 28px;
	grid-template-areas: "media" "head" "benefits" "actions";   /* mobile: imagem, título/descrição, diferenciais, CTAs */
}
.featured__media { grid-area: media; }
.featured__head { grid-area: head; }
.featured__actions { grid-area: actions; }
.benefits { grid-area: benefits; }

.featured__frame {
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--concrete-100);
	border-top: 6px solid var(--red);               /* a "capa" vermelha, como a pingadeira no topo do muro */
	border-radius: var(--radius);
}
.featured__frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--dur-hover) var(--ease-out), opacity var(--dur-fast) var(--ease-std);
}
.featured__frame img.is-swapping { opacity: 0; }
.featured__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.featured__thumb {
	display: block;
	width: 76px;
	height: 76px;
	padding: 0;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: var(--radius);
	background: var(--concrete-100);
	opacity: 0.72;
	transition: opacity var(--dur-fast) var(--ease-std), border-color var(--dur-fast) var(--ease-std), transform var(--dur-fast) var(--ease-out);
}
.featured__thumb img { width: 100%; height: 100%; object-fit: cover; }
.featured__thumb[aria-pressed="true"] { opacity: 1; border-color: var(--red); }
.featured__thumb:active { transform: scale(var(--press)); }
@media (hover: hover) and (pointer: fine) {
	.featured__frame:hover img { transform: scale(var(--zoom)); }
	.featured__thumb:hover { opacity: 1; border-color: var(--graphite); }
	.featured__thumb[aria-pressed="true"]:hover { border-color: var(--red); }
}

.featured__label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--red);
}
.featured__label::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.featured__head h2 { font-size: clamp(2rem, 1.1rem + 3.6vw, 3.4rem); line-height: 1.04; }
.featured__head .lead { margin-top: 18px; max-width: 46ch; }
.featured__note { margin-top: 12px; max-width: 52ch; color: var(--muted); }
.featured__aka { margin-top: 10px; max-width: 52ch; color: var(--muted); font-size: 0.9375rem; }
.featured__fiber {
	margin-top: 24px;
	padding: 18px 20px 20px;
	background: var(--concrete-50);
	border-left: 4px solid var(--red);
	border-radius: var(--radius);
}
.featured__fiber h3 { font-size: 1.1rem; }
.featured__fiber p { margin-top: 8px; max-width: 54ch; color: var(--muted); }
.featured__actions { display: flex; flex-direction: column; gap: 12px; }
.featured__actions .btn { width: 100%; }

.benefits { display: grid; gap: 14px; margin-top: 12px; }
.benefit {
	padding: 20px 20px 22px;
	background: var(--concrete-50);
	border-top: 2px solid var(--graphite);
	border-radius: 0 0 var(--radius) var(--radius);
	transition: border-color var(--dur-fast) var(--ease-std), transform var(--dur-hover) var(--ease-out), background-color var(--dur-fast) var(--ease-std);
}
.benefit h3 { font-size: 1.05rem; }
.benefit p { margin-top: 8px; color: var(--muted); font-size: 0.975rem; }
@media (hover: hover) and (pointer: fine) {
	.benefit:hover { border-top-color: var(--red); background: var(--concrete-100); transform: translateY(-3px); }
}

@media (min-width: 640px) {
	.featured__actions { flex-direction: row; flex-wrap: wrap; }
	.featured__actions .btn { width: auto; }
	.benefits { grid-template-columns: repeat(2, 1fr); }
	.featured__thumb { width: 88px; height: 88px; }
}
@media (min-width: 900px) {
	.featured__grid {
		grid-template-columns: 1.05fr 0.95fr;
		grid-template-rows: auto 1fr auto;
		grid-template-areas: "media head" "media actions" "benefits benefits";
		column-gap: clamp(40px, 6vw, 88px);
		row-gap: 28px;
	}
	.featured__head { align-self: start; }
	.featured__actions { align-self: start; }
	.benefits { margin-top: clamp(20px, 3vw, 40px); }
}
@media (min-width: 1024px) {
	.benefits { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

/* --- Pingadeira: modelos e medidas --- */
.models__grid { display: grid; gap: 20px; }
.model {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: border-color var(--dur-fast) var(--ease-std), transform var(--dur-hover) var(--ease-out), box-shadow var(--dur-hover) var(--ease-out);
}
.model__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--concrete-100); }
.model__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-hover) var(--ease-out); }
.model__body { padding: 22px 22px 24px; }
.model__body h3 { font-size: 1.3rem; }
.model__meta { margin-top: 4px; color: var(--muted); font-size: 0.9375rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
	padding: 8px 12px;
	background: var(--concrete-50);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-size: 0.95rem;
	font-weight: 600;
	white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
	.model:hover { border-color: var(--graphite); transform: translateY(-3px); box-shadow: 0 16px 30px -22px rgba(32, 30, 29, 0.55); }
	.model:hover .model__media img { transform: scale(var(--zoom)); }
}
@media (min-width: 900px) {
	.models__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* --- Pingadeira: aplicações e chamada comercial --- */
.uses__grid { display: grid; gap: 28px; }
.use h3 { margin-top: 16px; font-size: 1.15rem; }
.use p { margin-top: 8px; max-width: 46ch; color: var(--muted); }
.use__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--concrete-100); border-radius: var(--radius); }
.use__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
	.use:hover .use__media img { transform: scale(var(--zoom)); }
}
@media (min-width: 768px) {
	.uses__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.pinga-cta {
	display: grid;
	gap: 22px;
	align-items: center;
	margin-top: clamp(48px, 7vw, 88px);
	padding: clamp(26px, 4.5vw, 52px);
	background: var(--graphite);
	color: #fff;
	border-left: 6px solid var(--red);
	border-radius: var(--radius);
}
.pinga-cta h2 { font-size: clamp(1.5rem, 1rem + 2vw, 2.25rem); }
.pinga-cta p { margin-top: 10px; max-width: 46ch; color: #d9d6d2; }
.pinga-cta .btn { width: 100%; }
.pinga-cta :focus-visible { outline-color: #fff; }
@media (min-width: 900px) {
	.pinga-cta { grid-template-columns: 1fr auto; gap: 48px; }
	.pinga-cta .btn { width: auto; }
}

/* --- Galeria --- */
.gallery__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-auto-flow: dense;
	gap: 8px;
}
.gallery__grid li { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--concrete-100); border-radius: var(--radius); }
.gallery__grid a { display: block; width: 100%; height: 100%; }
.gallery__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-hover) var(--ease-out); }
/* Indicação de que a foto amplia: véu discreto + ícone de lupa (aparece no hover e no foco do teclado) */
.gallery__grid a::before,
.gallery__grid a::after {
	content: "";
	position: absolute;
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--dur-hover) var(--ease-out), transform var(--dur-hover) var(--ease-out);
}
.gallery__grid a::after {
	inset: 0;
	z-index: 1;
	background: linear-gradient(to top, rgba(32, 30, 29, 0.5), rgba(32, 30, 29, 0.06) 65%);
}
.gallery__grid a::before {
	top: 50%;
	left: 50%;
	z-index: 2;
	width: 44px;
	height: 44px;
	margin: -22px 0 0 -22px;
	border-radius: 50%;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23201e1d' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5L21 21M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") center / 22px no-repeat;
	transform: scale(0.85);
}
.gallery__grid a:focus-visible::after { opacity: 1; }
.gallery__grid a:focus-visible::before { opacity: 1; transform: none; }
.gallery__grid a:active::after { opacity: 0.7; }   /* toque: feedback de pressão */
.gallery__tag {
	position: absolute;
	left: 0;
	bottom: 0;
	padding: 6px 12px;
	background: var(--graphite);
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
	pointer-events: none;
	z-index: 3;
}
.gallery__grid .is-big { grid-column: span 2; aspect-ratio: 1; }
.gallery__grid .is-wide { grid-column: span 2; aspect-ratio: 2 / 1; }
@media (min-width: 640px) {
	.gallery__grid .is-big { aspect-ratio: 4 / 3; }
}

@media (hover: hover) and (pointer: fine) {
	.gallery__grid a:hover img { transform: scale(1.05); }
	.gallery__grid a:hover::after { opacity: 1; }
	.gallery__grid a:hover::before { opacity: 1; transform: none; }
}
@media (min-width: 900px) {
	.gallery__grid {
		--gap: 12px;
		--col: calc((min(100vw - var(--gutter) * 2, var(--maxw)) - var(--gap) * 3) / 4);
		grid-template-columns: repeat(4, 1fr);
		grid-auto-rows: var(--col);
		gap: var(--gap);
	}
	/* Nesta faixa a altura vem das linhas da grade (não de aspect-ratio) */
	.gallery__grid li,
	.gallery__grid li.is-big,
	.gallery__grid li.is-wide { aspect-ratio: auto; grid-column: auto; }
	.gallery__grid li.is-big { grid-column: span 2; grid-row: span 2; }
	.gallery__grid li.is-tall { grid-row: span 2; }
	.gallery__grid li.is-wide { grid-column: span 2; }
}

/* --- Depoimentos --- */
.testimonial-grid { display: grid; gap: 20px; }
.testimonial {
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0;
	padding: 24px 24px 20px;
	background: var(--white);
	border: 1px solid var(--line);
	border-left: 4px solid var(--red);
	border-radius: var(--radius);
}
.rating { display: flex; gap: 3px; margin-bottom: 14px; color: var(--red); }
.rating .icon { width: 18px; height: 18px; }
.testimonial blockquote { margin: 0 0 20px; font-size: 1.0625rem; line-height: 1.6; }
.testimonial figcaption {
	display: grid;
	gap: 2px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--line);
	font-size: 0.9375rem;
}
@media (min-width: 640px) and (max-width: 899.98px) {
	.testimonial-grid { grid-template-columns: repeat(2, 1fr); }
	.testimonial-grid li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
	.testimonial-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* --- Acordeão nativo <details> (FAQ e Instalação e cuidados): teclado e leitores de tela funcionam sem JavaScript --- */
.faq__grid,
.install__grid { display: grid; gap: 32px; }
.faq__intro,
.install__intro { display: grid; gap: 14px; align-content: start; justify-items: start; }
.faq__intro p,
.install__intro p { color: var(--muted); max-width: 40ch; }
.faq__intro .btn,
.install__intro .btn { margin-top: 6px; }
.acc { border-top: 2px solid var(--graphite); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 20px 0;
	list-style: none;
	cursor: pointer;
	transition: color var(--dur-fast) var(--ease-std);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary h3 { font-size: 1.05rem; font-stretch: 112%; line-height: 1.3; }
/* Ícone "+" desenhado com dois traços; gira 45° e vira "×" quando a pergunta abre */
.acc summary::after {
	content: "";
	flex: none;
	width: 14px;
	height: 14px;
	background:
		linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
		linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
	transition: transform var(--dur-fast) var(--ease-out);
}
.acc details[open] summary { color: var(--red); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc summary:active { color: var(--red); }
@media (hover: hover) and (pointer: fine) { .acc summary:hover { color: var(--red); } }
.acc__a { display: grid; gap: 10px; padding: 0 36px 22px 0; max-width: 62ch; color: var(--muted); }
.acc details[open] .acc__a { animation: faq-in var(--dur-hover) var(--ease-out); }
.acc__a a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; transition: color var(--dur-fast) var(--ease-std); }
.acc__a ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 4px; }
.acc__a strong { color: var(--ink); }
/* Aviso de segurança (discreto): faixa lateral vermelha + ícone de alerta */
.acc__alert {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 14px;
	background: var(--concrete-50);
	border-left: 4px solid var(--red);
	border-radius: var(--radius);
	color: var(--ink);
	font-weight: 600;
}
.acc__alert .icon { margin-top: 2px; color: var(--red); }
.acc__a a:active { color: var(--red); }
@media (hover: hover) and (pointer: fine) { .acc__a a:hover { color: var(--red); } }
@media (min-width: 900px) {
	.faq__grid,
	.install__grid { grid-template-columns: 0.85fr 1.15fr; gap: 72px; }
}

/* --- Contato / CTA (com o vértice do telhado no topo) --- */
.cta {
	--peak: clamp(20px, 4vw, 44px);
	position: relative;
	background: var(--graphite);
	color: #fff;
	padding-top: calc(var(--section-y) + var(--peak));
	clip-path: polygon(0 var(--peak), 50% 0, 100% var(--peak), 100% 100%, 0 100%);
}
.cta__grid { display: grid; gap: 40px; align-items: center; }
.cta__text { display: grid; gap: 18px; justify-items: start; }
.cta__text .lead { color: #d9d6d2; max-width: 44ch; margin-bottom: 8px; }
.cta__text .btn { width: 100%; }

.steps { counter-reset: step; display: grid; gap: 0; border-top: 1px solid #4a4644; }
.steps li {
	counter-increment: step;
	display: grid;
	grid-template-columns: 40px 1fr;
	align-items: baseline;
	padding: 16px 0;
	border-bottom: 1px solid #4a4644;
	color: #d9d6d2;
}
.steps li::before {
	content: counter(step);
	font-weight: 800;
	font-stretch: 125%;
	font-size: 1.25rem;
	color: #ff5b54;
}
.steps strong { color: #fff; }

@media (min-width: 640px) {
	.cta__text .btn { width: auto; }
}
@media (min-width: 900px) {
	.cta__grid { grid-template-columns: 1.1fr 0.9fr; gap: 80px; }
}

/* ========== 7. FOOTER, FLUTUANTE, LIGHTBOX ========== */
.site-footer {
	background: #151312;
	color: #cfcbc7;
	padding-top: clamp(44px, 6vw, 72px);
	padding-bottom: 8px;
	font-size: 0.975rem;
}
.footer__grid { display: grid; gap: 36px; }
.footer__brand img { width: 190px; height: auto; }
.footer__brand p { margin-top: 16px; max-width: 34ch; }
.footer__col h2 {
	margin-bottom: 14px;
	font-size: 0.9375rem;
	font-stretch: 112%;
	color: #fff;
	letter-spacing: 0;
}
.contact-list { display: grid; gap: 12px; }
.contact-list li { display: flex; align-items: flex-start; gap: 10px; }
.contact-list .icon { margin-top: 2px; color: #ff5b54; }
.contact-list--plain { gap: 8px; }
.site-footer a { text-decoration: none; transition: color var(--dur-fast) var(--ease-std); }
.contact-list a[href]:active { color: #fff; }
@media (hover: hover) and (pointer: fine) { .contact-list a[href]:hover { color: #fff; } }
/* Informação ainda não fornecida: itálico + colchetes, fácil de identificar */
.is-pending { font-style: italic; color: var(--muted); }
.site-footer .is-pending { color: #9c9793; }

.footer__company {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 20px;
	margin-bottom: 6px;
	color: #cfcbc7;
}
.footer__legal {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin-top: 44px;
	padding: 20px 0 calc(28px + 64px);   /* folga para o botão flutuante não cobrir o fim do rodapé */
	border-top: 1px solid #3a3634;
	font-size: 0.875rem;
	color: #9c9793;
}
.footer__credit { display: flex; align-items: center; gap: 12px; }
.footer__credit a { display: inline-flex; transition: opacity var(--dur-fast) var(--ease-std); }
.footer__credit a:active { opacity: 0.7; }
@media (hover: hover) and (pointer: fine) { .footer__credit a:hover { opacity: 0.8; } }
.footer__credit img { height: 44px; width: auto; }
@media (min-width: 640px) {
	.footer__grid { grid-template-columns: repeat(2, 1fr); }
	.footer__brand { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
	.footer__grid { grid-template-columns: 1.4fr 1.2fr 1fr 0.8fr; gap: 48px; }
	.footer__brand { grid-column: auto; }
}
@media (min-width: 640px) {
	.footer__legal { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* Botão flutuante do WhatsApp: só o ícone, com pulso suave e um balão que aparece de tempo em tempo */
.wa-float {
	position: fixed;
	right: max(16px, env(safe-area-inset-right));
	bottom: max(16px, env(safe-area-inset-bottom));
	z-index: 60;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 999px;
	background: var(--wa);
	color: #fff;
	text-decoration: none;
	box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.45);
	transition:
		background-color var(--dur-fast) var(--ease-std),
		transform var(--dur-fast) var(--ease-out),
		box-shadow var(--dur-fast) var(--ease-std);
}
.wa-float .icon { width: 32px; height: 32px; animation: wa-beat 2.8s var(--ease-std) 1.5s infinite; }
/* Anel que se expande e some (só transform e opacity) */
.wa-float::before {
	content: "";
	position: absolute;
	inset: 0;
	border: 2px solid #34d16f;
	border-radius: inherit;
	opacity: 0;
	pointer-events: none;
	animation: wa-pulse 2.8s var(--ease-out) 1.5s infinite;
}
@media (hover: hover) and (pointer: fine) {
	.wa-float:hover {
		background: var(--wa-hover);
		transform: translateY(-2px) scale(1.04);
		box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.5);
	}
	.wa-float:hover::before,
	.wa-float:hover .icon { animation: none; }               /* com o mouse em cima, o pulso descansa */
}
.wa-float:active { background: var(--wa-hover); transform: scale(0.96); box-shadow: 0 4px 12px -6px rgba(0, 0, 0, 0.5); }

/* Balão: fica à esquerda do botão, com uma seta apontando para ele */
.wa-float__tip {
	position: absolute;
	top: 50%;
	right: calc(100% + 14px);
	width: max-content;
	max-width: min(260px, calc(100vw - 112px));
	padding: 10px 14px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--white);
	color: var(--graphite);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.3;
	box-shadow: 0 12px 28px -14px rgba(32, 30, 29, 0.55);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate(8px, -50%);
	transition:
		opacity var(--dur-hover) var(--ease-out),
		transform var(--dur-hover) var(--ease-out),
		visibility 0s linear var(--dur-hover);
}
.wa-float__tip::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -6px;
	width: 10px;
	height: 10px;
	margin-top: -5px;
	background: var(--white);
	border-top: 1px solid var(--line);
	border-right: 1px solid var(--line);
	transform: rotate(45deg);
}
.wa-float.is-tip .wa-float__tip,
.wa-float:focus-visible .wa-float__tip {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate(0, -50%);
	transition-delay: 0s;
}
@media (hover: hover) and (pointer: fine) {
	.wa-float:hover .wa-float__tip {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translate(0, -50%);
		transition-delay: 0s;
	}
}

/* Lightbox (<dialog> nativo) */
.lightbox {
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(21, 19, 18, 0.94);
	color: #fff;
}
.lightbox[open] {
	display: grid;
	grid-template-columns: 56px 1fr 56px;
	align-items: center;
	animation: lb-fade var(--dur-hover) var(--ease-out);
}
.lightbox[open] figure { animation: lb-in var(--dur-hover) var(--ease-out); }
.lightbox::backdrop { background: rgba(21, 19, 18, 0.94); }
.lightbox figure { grid-column: 2; margin: 0; display: grid; gap: 12px; justify-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); object-fit: contain; }
.lightbox__caption { font-size: 0.9375rem; color: #d9d6d2; }
.lightbox button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #fff;
	cursor: pointer;
	transition: background-color var(--dur-fast) var(--ease-std), transform var(--dur-fast) var(--ease-out);
}
.lightbox button:hover { background: rgba(255, 255, 255, 0.14); }
.lightbox button:active { background: rgba(255, 255, 255, 0.22); transform: scale(0.92); }
.lightbox .icon { width: 26px; height: 26px; }
.lightbox__close { position: absolute; top: 12px; right: 12px; z-index: 1; }
.lightbox__prev { grid-column: 1; grid-row: 1; justify-self: center; }
.lightbox__next { grid-column: 3; grid-row: 1; justify-self: center; }

/* ========== 8. MOTION ========== */
@keyframes enter { from { opacity: 0; transform: translateY(var(--rise)); } }
@keyframes enter-scale { from { opacity: 0; transform: scale(0.98); } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
@keyframes lb-fade { from { opacity: 0; } }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
@keyframes lb-in { from { opacity: 0; transform: scale(0.97); } }
@keyframes lb-out { to { opacity: 0; } }
@keyframes lb-out-zoom { to { opacity: 0; transform: scale(0.98); } }
@keyframes wa-pulse { 0% { opacity: 0.55; transform: scale(1); } 65%, 100% { opacity: 0; transform: scale(1.6); } }
@keyframes wa-beat { 0%, 22%, 100% { transform: scale(1); } 10% { transform: scale(1.12); } }

/* Entrada ao rolar. O JS (IntersectionObserver) marca .is-in quando o elemento aparece.
   .io só existe quando há suporte, então sem JS/IO nada fica escondido.
   [data-reveal]           → o próprio elemento entra
   [data-reveal-children]  → cada filho entra em sequência (data-reveal-step = intervalo em ms) */
.io [data-reveal]:not(.is-in),
.io [data-reveal-children] > :not(.is-in) { opacity: 0; transform: translateY(var(--rise)); }
.io [data-reveal].is-in,
.io [data-reveal-children] > .is-in { animation: enter var(--dur-enter) var(--ease-out) var(--d, 0ms) backwards; }

/* Lightbox: saída curta (classe aplicada pelo JS antes de fechar) e troca de foto */
.lightbox.is-closing { animation: lb-out var(--dur-out) var(--ease-std) forwards; }
.lightbox.is-closing figure { animation: lb-out-zoom var(--dur-out) var(--ease-std) forwards; }
.lightbox img.is-swap { animation: lb-fade var(--dur-fast) var(--ease-out); }


/* ========== 9. ACESSIBILIDADE ========== */
:focus-visible {
	outline: 3px solid var(--red);
	outline-offset: 3px;
}
.cta :focus-visible,
.site-footer :focus-visible,
.lightbox :focus-visible { outline-color: #fff; }
.btn--wa:focus-visible,
.wa-float:focus-visible { outline-color: var(--graphite); }
.cta .btn--wa:focus-visible { outline-color: #fff; }

::selection { background: var(--red); color: #fff; }

/* Movimento reduzido: sem animações de entrada, sem deslocamentos/zoom decorativos e sem rolagem suave.
   Ficam apenas as mudanças de cor/sombra/borda, que são o feedback essencial. */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; }
	.io [data-reveal]:not(.is-in),
	.io [data-reveal-children] > :not(.is-in) { opacity: 1; transform: none; }
	.btn:hover, .btn:active,
	.product:hover, .product:hover .product__media img,
	.featured__frame:hover img, .featured__thumb:active, .benefit:hover, .model:hover, .model:hover .model__media img, .use:hover .use__media img,
	.gallery__grid a:hover img, .gallery__grid a::before,
	.wa-float:hover, .wa-float:active,
	.menu-toggle:active, .lightbox button:active,
	.is-scrolled .brand img { transform: none !important; }
	.nav__list a::after { transition: none; }
	.wa-float__tip { transform: translate(0, -50%) !important; }
}
