/* =========================================================================
   ESG Restauração — Sistema de design
   1. Tokens · 2. Base · 3. Layout · 4. Componentes · 5. Seções · 6. Responsivo
   ========================================================================= */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
	/* Cores */
	--ink: #14181a;
	--ink-soft: #232a2c;
	--paper: #f6f3ee;
	--paper-pure: #fffdfa;
	--mist: #ebe6dd;
	--rust: #a24f33;
	--rust-dark: #8a412a;
	--warm: #c9a227;
	--text: #14181a;
	--text-muted: #5c6360;
	--text-invert: #f6f3ee;
	--text-invert-muted: rgba(246, 243, 238, .68);
	--line: rgba(20, 24, 26, .14);
	--line-invert: rgba(246, 243, 238, .18);

	/* Tipografia */
	--serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
	/* Título de hero: mesma escala na home e nas páginas internas. */
	--fs-hero: clamp(2.125rem, 1.35rem + 2.9vw, 3.5rem);
	--fs-h1: clamp(2.375rem, 1.5rem + 3.6vw, 4.25rem);
	--fs-h2: clamp(1.875rem, 1.3rem + 2.4vw, 3.125rem);
	--fs-h3: clamp(1.25rem, 1.05rem + .8vw, 1.625rem);
	--fs-lead: clamp(1rem, .96rem + .22vw, 1.1875rem);
	--fs-body: 1rem;
	--fs-small: .875rem;
	--fs-label: .6875rem;

	/* Espaçamento e grid */
	--container: 1240px;
	--hero-h: 540px;              /* altura única de todos os heros */
	--hero-pad-top: 5.5rem;       /* faixa onde todo título de hero começa */
	--hero-pad: 3rem;             /* respiro inferior, igual em todos */
	--gutter: clamp(1.25rem, 5vw, 4rem);
	--section-y: clamp(4.5rem, 9vw, 8.5rem);
	--space-xs: .5rem;
	--space-sm: 1rem;
	--space-md: 1.75rem;
	--space-lg: 3rem;
	--space-xl: 4.5rem;

	/* Outros */
	--radius: 4px;
	--radius-lg: 14px;
	--header-h: 84px;
	--shadow-sm: 0 1px 2px rgba(20, 24, 26, .06), 0 8px 24px -16px rgba(20, 24, 26, .3);
	--shadow-lg: 0 24px 60px -32px rgba(20, 24, 26, .45);
	--ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Base ------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
	background: var(--paper);
	color: var(--text);
	font-family: var(--sans);
	font-size: var(--fs-body);
	line-height: 1.65;
	margin: 0;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	font-family: var(--serif);
	font-weight: 500;
	letter-spacing: -.03em;
	line-height: 1.08;
	margin: 0;
	text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }

p { margin: 0; text-wrap: pretty; }

h1 em, h2 em, h3 em {
	color: var(--rust);
	font-style: italic;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color .25s var(--ease);
}

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

button, input, textarea, select { font: inherit; }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
	outline: 2px solid var(--rust);
	outline-offset: 3px;
	border-radius: 2px;
}

.skip-link {
	background: var(--ink);
	color: var(--text-invert);
	left: 50%;
	padding: .75rem 1.25rem;
	position: fixed;
	top: -100px;
	transform: translateX(-50%);
	transition: top .2s var(--ease);
	z-index: 200;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

/* ---------- 3. Layout ---------------------------------------------------- */
.container {
	margin-inline: auto;
	max-width: var(--container);
	padding-inline: var(--gutter);
	width: 100%;
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--mist { background: var(--mist); }
.section--paper { background: var(--paper-pure); }

.section--dark {
	background: var(--ink);
	color: var(--text-invert);
}
.section--dark .lead,
.section--dark p { color: var(--text-invert-muted); }
.section--dark h1 em,
.section--dark h2 em { color: var(--warm); }

/* Cabeçalho de seção: rótulo à esquerda, conteúdo alinhado à mesma coluna. */
.section-head {
	align-items: end;
	border-top: 1px solid var(--line);
	display: grid;
	gap: var(--space-md) var(--space-lg);
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	margin-bottom: var(--space-xl);
	padding-top: var(--space-md);
}
.section--dark .section-head { border-color: var(--line-invert); }
.section-head > :first-child { grid-column: 1; }
.section-head .lead { max-width: 46ch; }

.eyebrow {
	align-items: center;
	color: var(--rust);
	display: flex;
	font-size: var(--fs-label);
	font-weight: 600;
	gap: .625rem;
	letter-spacing: .16em;
	margin: 0 0 var(--space-sm);
	text-transform: uppercase;
}
.eyebrow::before {
	background: currentColor;
	content: '';
	height: 1px;
	width: 26px;
}
.section--dark .eyebrow { color: var(--warm); }

.lead {
	color: var(--text-muted);
	font-size: var(--fs-lead);
	line-height: 1.7;
	max-width: 56ch;
}

.lead + .lead { margin-top: var(--space-sm); }

/* ---------- 4. Componentes ----------------------------------------------- */

/* Cabeçalho */
.site-header {
	background: rgba(246, 243, 238, .88);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid transparent;
	left: 0;
	position: sticky;
	right: 0;
	top: 0;
	transition: background .3s var(--ease), border-color .3s var(--ease);
	z-index: 100;
}
.site-header.is-scrolled {
	border-bottom-color: var(--line);
	box-shadow: var(--shadow-sm);
}

.header-inner {
	align-items: center;
	display: flex;
	gap: var(--space-md);
	justify-content: space-between;
	min-height: var(--header-h);
}

.brand {
	align-items: center;
	display: inline-flex;
	flex-shrink: 0;
	gap: .75rem;
}
/* A marca é o emblema circular da oficina; nada de fundo ou borda por trás. */
.brand-mark {
	display: block;
	height: 54px;
	width: 54px;
	flex-shrink: 0;
}
.brand-name {
	display: grid;
	font-size: .625rem;
	font-weight: 600;
	letter-spacing: .22em;
	line-height: 1.35;
	text-transform: uppercase;
}
.brand-name b {
	color: var(--ink);
	font-size: 1.0625rem;
	font-weight: 500;
	font-family: var(--serif);
	letter-spacing: .06em;
}
.brand-name span { color: var(--text-muted); }

.main-nav { margin-left: auto; }
.nav-list {
	align-items: center;
	display: flex;
	gap: clamp(1rem, 2vw, 2rem);
}
.nav-list a {
	color: var(--text-muted);
	display: inline-block;
	font-size: .8125rem;
	font-weight: 500;
	letter-spacing: .04em;
	padding: .5rem 0;
	position: relative;
}
.nav-list a::after {
	background: var(--rust);
	bottom: 0;
	content: '';
	height: 2px;
	left: 0;
	position: absolute;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s var(--ease);
	width: 100%;
}
.nav-list a:hover { color: var(--ink); }
.nav-list a:hover::after,
.nav-list a[aria-current='page']::after { transform: scaleX(1); }
.nav-list a[aria-current='page'] { color: var(--ink); font-weight: 600; }

.menu-toggle {
	background: none;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	cursor: pointer;
	display: none;
	flex-direction: column;
	gap: 5px;
	height: 42px;
	justify-content: center;
	align-items: center;
	width: 42px;
}
.menu-toggle span {
	background: var(--ink);
	display: block;
	height: 1.5px;
	transition: transform .3s var(--ease), opacity .2s var(--ease);
	width: 20px;
}
.menu-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Botões */
.btn {
	align-items: center;
	border: 1px solid transparent;
	border-radius: var(--radius);
	cursor: pointer;
	display: inline-flex;
	font-size: .75rem;
	font-weight: 700;
	gap: .625rem;
	justify-content: center;
	letter-spacing: .1em;
	line-height: 1;
	padding: 1.0625rem 1.75rem;
	text-transform: uppercase;
	transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
	white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn::after { content: '↗'; font-size: 1rem; line-height: 0; }

.btn--primary { background: var(--rust); color: var(--paper-pure); }
.btn--primary:hover { background: var(--rust-dark); }

.btn--dark { background: var(--ink); color: var(--text-invert); }
.btn--dark:hover { background: var(--ink-soft); }

.btn--light { background: var(--paper-pure); color: var(--ink); }
.btn--light:hover { background: #fff; }

.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.section--dark .btn--ghost { border-color: var(--line-invert); color: var(--text-invert); }
.section--dark .btn--ghost:hover { border-color: var(--paper); }

.link-arrow {
	align-items: center;
	border-bottom: 1px solid currentColor;
	display: inline-flex;
	font-size: .75rem;
	font-weight: 700;
	gap: .5rem;
	letter-spacing: .1em;
	padding-bottom: .5rem;
	text-transform: uppercase;
}
.link-arrow::after {
	content: '↗';
	font-size: 1rem;
	transition: transform .25s var(--ease);
}
.link-arrow:hover { color: var(--rust); }
.link-arrow:hover::after { transform: translate(3px, -3px); }
.section--dark .link-arrow:hover { color: var(--warm); }

.actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-md);
	margin-top: var(--space-lg);
}

/* Hero — home e páginas internas compartilham altura, respiro e escala de texto,
   para que o topo do site tenha sempre a mesma proporção. O conteúdo é ancorado
   pelo topo: assim o título começa na mesma linha em todas as páginas, mesmo
   quando a home traz botões e indicadores abaixo dele. */
.hero,
.page-hero {
	align-items: start;
	background: var(--ink);
	color: var(--text-invert);
	display: grid;
	height: var(--hero-h);
	isolation: isolate;
	min-height: var(--hero-h);
	overflow: hidden;
	padding-block: var(--hero-pad-top) var(--hero-pad);
	position: relative;
}

.hero h1,
.page-hero h1 { font-size: var(--fs-hero); }

.hero__media,
.page-hero__media {
	inset: 0;
	position: absolute;
	z-index: -2;
}
.hero__media img,
.page-hero__media img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}
.hero::before {
	background:
		linear-gradient(90deg, rgba(20, 24, 26, .94) 0%, rgba(20, 24, 26, .72) 38%, rgba(20, 24, 26, .18) 75%),
		linear-gradient(0deg, rgba(20, 24, 26, .85) 0%, rgba(20, 24, 26, 0) 55%);
	content: '';
	inset: 0;
	position: absolute;
	z-index: -1;
}
.hero__content { max-width: 40rem; }
.hero .eyebrow { color: var(--warm); }
.hero__copy {
	color: var(--text-invert-muted);
	font-size: var(--fs-lead);
	line-height: 1.6;
	margin-top: var(--space-sm);
	max-width: 42ch;
}
.hero .actions { margin-top: var(--space-md); }

.hero__facts {
	border-top: 1px solid var(--line-invert);
	color: var(--text-invert-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: var(--fs-label);
	gap: .5rem var(--space-lg);
	letter-spacing: .16em;
	margin-top: var(--space-md);
	padding-top: var(--space-sm);
	text-transform: uppercase;
}

.page-hero::before {
	background: linear-gradient(90deg, rgba(20, 24, 26, .95) 0%, rgba(20, 24, 26, .78) 45%, rgba(20, 24, 26, .3) 100%);
	content: '';
	inset: 0;
	position: absolute;
	z-index: -1;
}
.page-hero .eyebrow { color: var(--warm); }
.page-hero__content { max-width: 42rem; }
.page-hero__copy {
	color: var(--text-invert-muted);
	font-size: var(--fs-lead);
	line-height: 1.6;
	margin-top: var(--space-sm);
	max-width: 46ch;
}

/* Breadcrumbs */
/* Mesma altura de bloco que a .eyebrow da home, para o h1 das páginas internas
   nascer exatamente na mesma linha. */
.breadcrumbs {
	font-size: var(--fs-label);
	letter-spacing: .14em;
	line-height: 1.65;
	margin-bottom: var(--space-sm);
	text-transform: uppercase;
}
.breadcrumbs ol {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.breadcrumbs li + li::before {
	content: '/';
	margin-right: .5rem;
	opacity: .5;
}
.breadcrumbs a { color: var(--text-invert-muted); }
.breadcrumbs a:hover { color: var(--paper); }
.breadcrumbs [aria-current='page'] { color: var(--warm); }

/* Grades reutilizáveis */
.grid {
	display: grid;
	gap: var(--space-lg);
}
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); }
.grid--split-reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 5rem); }

/* Cartões */
.card {
	background: var(--paper-pure);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	display: flex;
	flex-direction: column;
	gap: var(--space-sm);
	padding: var(--space-md);
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover {
	border-color: rgba(162, 79, 51, .4);
	box-shadow: var(--shadow-lg);
	transform: translateY(-4px);
}
.card__index {
	color: var(--rust);
	font-family: var(--serif);
	font-size: 1.125rem;
	letter-spacing: .02em;
}
.card p {
	color: var(--text-muted);
	font-size: var(--fs-small);
	line-height: 1.7;
}
.card .link-arrow { margin-top: auto; padding-top: var(--space-sm); }

/* Lista numerada (serviços, coleções, processo) */
.rows { border-top: 1px solid var(--line); }
.section--dark .rows,
.section--dark .row { border-color: var(--line-invert); }

.row {
	align-items: start;
	border-bottom: 1px solid var(--line);
	display: grid;
	gap: var(--space-sm) var(--space-lg);
	grid-template-columns: 4rem minmax(0, 5fr) minmax(0, 6fr);
	padding-block: var(--space-md);
	transition: background .3s var(--ease);
}
.row:hover { background: rgba(162, 79, 51, .04); }
.row__index {
	color: var(--rust);
	font-family: var(--serif);
	font-size: 1.25rem;
	padding-top: .15rem;
}
.row p {
	color: var(--text-muted);
	font-size: var(--fs-small);
	line-height: 1.75;
}
.row__tags {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin-top: var(--space-sm);
}
.tag {
	background: var(--mist);
	border-radius: 100px;
	color: var(--text-muted);
	font-size: .6875rem;
	letter-spacing: .06em;
	padding: .35rem .75rem;
	text-transform: uppercase;
}
.section--mist .tag { background: var(--paper-pure); }
.section--dark .tag { background: rgba(246, 243, 238, .1); color: var(--text-invert-muted); }

/* Números / indicadores */
.stats {
	display: grid;
	gap: var(--space-md);
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stat {
	border-left: 2px solid var(--rust);
	padding-left: var(--space-sm);
}
.stat dt {
	color: var(--text-muted);
	font-size: var(--fs-label);
	letter-spacing: .14em;
	margin-top: .375rem;
	text-transform: uppercase;
}
.stat dd {
	color: var(--ink);
	font-family: var(--serif);
	font-size: clamp(2.25rem, 1.6rem + 2.2vw, 3.25rem);
	line-height: 1;
	margin: 0;
}
.section--dark .stat dd { color: var(--paper); }
.section--dark .stat dt { color: var(--text-invert-muted); }

/* Citação */
.quote {
	border-left: 2px solid var(--rust);
	font-family: var(--serif);
	font-size: clamp(1.375rem, 1rem + 1.4vw, 2rem);
	font-style: italic;
	line-height: 1.35;
	padding-left: var(--space-md);
}
.quote footer {
	color: var(--text-muted);
	font-family: var(--sans);
	font-size: var(--fs-label);
	font-style: normal;
	letter-spacing: .14em;
	margin-top: var(--space-sm);
	text-transform: uppercase;
}
.section--dark .quote footer { color: var(--text-invert-muted); }

/* Faixa de chamada final */
.cta-band {
	align-items: center;
	display: grid;
	gap: var(--space-lg);
	grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
}
.cta-band .actions { margin-top: 0; justify-content: flex-end; }

/* Formulário */
.form-card {
	background: var(--paper-pure);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: clamp(1.5rem, 4vw, 2.75rem);
}
.form-grid {
	display: grid;
	gap: var(--space-md);
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.field { display: grid; gap: .5rem; }
.field--full { grid-column: 1 / -1; }
.field > span {
	color: var(--text);
	font-size: var(--fs-label);
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.field input,
.field textarea,
.field select {
	background: transparent;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--text);
	font-size: var(--fs-small);
	padding: .875rem 1rem;
	transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
	width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field textarea:focus,
.field select:focus {
	border-color: var(--rust);
	box-shadow: 0 0 0 3px rgba(162, 79, 51, .12);
	outline: none;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(20, 24, 26, .34); }
.field [data-error] {
	color: var(--rust);
	font-size: .75rem;
	min-height: 1rem;
}
.field input[aria-invalid='true'],
.field textarea[aria-invalid='true'] { border-color: var(--rust); }

.form-consent {
	align-items: start;
	color: var(--text-muted);
	display: flex;
	font-size: .8125rem;
	gap: .625rem;
	grid-column: 1 / -1;
	line-height: 1.5;
}
.form-consent input { width: 1.1rem; height: 1.1rem; margin-top: .15rem; flex-shrink: 0; }

.form-feedback {
	border-radius: var(--radius);
	font-size: var(--fs-small);
	margin-top: var(--space-sm);
	padding: .875rem 1rem;
}
.form-feedback:empty { display: none; }
.form-feedback[data-state='success'] { background: rgba(60, 120, 80, .12); color: #2f6b45; }
.form-feedback[data-state='error'] { background: rgba(162, 79, 51, .12); color: var(--rust-dark); }

/* Blocos de contato */
.contact-blocks { display: grid; gap: var(--space-md); }
.contact-block {
	border-top: 1px solid var(--line);
	padding-top: var(--space-sm);
}
.contact-block h3 {
	color: var(--rust);
	font-family: var(--sans);
	font-size: var(--fs-label);
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.contact-block p,
.contact-block a {
	color: var(--text-muted);
	display: block;
	font-size: var(--fs-small);
	line-height: 1.7;
	margin-top: .375rem;
}
.contact-block a { color: var(--ink); font-weight: 600; }
.contact-block a:hover { color: var(--rust); }

.map-frame {
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	margin-top: var(--space-md);
	overflow: hidden;
}
.map-frame iframe { border: 0; display: block; height: 280px; width: 100%; }

/* FAQ */
.faq details {
	border-bottom: 1px solid var(--line);
	padding-block: var(--space-sm);
}
.faq summary {
	align-items: center;
	cursor: pointer;
	display: flex;
	font-family: var(--serif);
	font-size: 1.125rem;
	gap: var(--space-sm);
	justify-content: space-between;
	list-style: none;
	padding-block: .5rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	color: var(--rust);
	content: '+';
	font-size: 1.5rem;
	transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p {
	color: var(--text-muted);
	font-size: var(--fs-small);
	line-height: 1.75;
	max-width: 70ch;
	padding-bottom: .75rem;
}

/* Rodapé */
.site-footer {
	background: var(--ink);
	color: var(--text-invert);
	padding-block: var(--space-xl) var(--space-md);
}
.footer-grid {
	display: grid;
	gap: var(--space-lg);
	grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr));
	padding-bottom: var(--space-lg);
}
.site-footer .brand-name b { color: var(--paper); }
.site-footer .brand-name span { color: var(--text-invert-muted); }
.footer-about {
	color: var(--text-invert-muted);
	font-size: var(--fs-small);
	line-height: 1.75;
	margin-top: var(--space-sm);
	max-width: 34ch;
}
.footer-col h3 {
	color: var(--warm);
	font-family: var(--sans);
	font-size: var(--fs-label);
	font-weight: 700;
	letter-spacing: .14em;
	margin-bottom: var(--space-sm);
	text-transform: uppercase;
}
.footer-col li + li { margin-top: .5rem; }
.footer-col a,
.footer-col p {
	color: var(--text-invert-muted);
	font-size: var(--fs-small);
	line-height: 1.7;
}
.footer-col a:hover { color: var(--paper); }

.footer-bottom {
	align-items: center;
	border-top: 1px solid var(--line-invert);
	color: var(--text-invert-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: .75rem;
	gap: var(--space-sm) var(--space-md);
	justify-content: space-between;
	letter-spacing: .04em;
	padding-top: var(--space-md);
}

.whatsapp-float {
	align-items: center;
	background: #1fac53;
	border-radius: 50%;
	bottom: 1.5rem;
	box-shadow: var(--shadow-lg);
	color: #fff;
	display: flex;
	height: 54px;
	justify-content: center;
	position: fixed;
	right: 1.5rem;
	transition: transform .25s var(--ease);
	width: 54px;
	z-index: 90;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { height: 26px; width: 26px; fill: currentColor; }

/* Animação de entrada — nunca esconde conteúdo sem JS. */
.js .reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* ---------- 6. Responsivo ------------------------------------------------ */
@media (max-width: 1024px) {
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.row { grid-template-columns: 3rem minmax(0, 1fr); }
	.row > :last-child { grid-column: 2; }
}

@media (max-width: 860px) {
	:root {
		--header-h: 68px;
		--hero-h: 480px;
		--hero-pad-top: 4rem;
		--hero-pad: 2.25rem;
	}

	.menu-toggle { display: inline-flex; }

	.main-nav {
		background: var(--paper-pure);
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow-sm);
		display: none;
		left: 0;
		position: absolute;
		right: 0;
		top: 100%;
	}
	.main-nav.is-open { display: block; }
	.nav-list {
		align-items: stretch;
		flex-direction: column;
		gap: 0;
		padding: var(--space-sm) var(--gutter) var(--space-md);
	}
	.nav-list li + li { border-top: 1px solid var(--line); }
	.nav-list a { font-size: 1rem; padding: .9rem 0; }
	.nav-list a::after { display: none; }
	.header-cta { display: none; }

	.grid--2,
	.grid--3,
	.grid--split,
	.grid--split-reverse,
	.form-grid,
	.cta-band { grid-template-columns: minmax(0, 1fr); }

	.section-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
	.cta-band .actions { justify-content: flex-start; }
	.hero::before {
		background: linear-gradient(0deg, rgba(20, 24, 26, .96) 20%, rgba(20, 24, 26, .6) 65%, rgba(20, 24, 26, .45) 100%);
	}
	.map-frame iframe { height: 220px; }
}

@media (max-width: 520px) {
	:root { --hero-h: 440px; --hero-pad-top: 3.25rem; --hero-pad: 1.75rem; }
	/* Com a altura fixa, a linha de fatos não cabe no celular — a mesma
	   informação está no rodapé. */
	.hero__facts { display: none; }
	.stats { grid-template-columns: minmax(0, 1fr); }
	.footer-grid { grid-template-columns: minmax(0, 1fr); }
	.btn { width: 100%; }
	.actions { gap: var(--space-sm); }
	.whatsapp-float { bottom: 1rem; right: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
	}
	.js .reveal { opacity: 1; transform: none; }
}

@media print {
	.site-header, .whatsapp-float, .hero__media, .actions { display: none; }
	body { background: #fff; color: #000; }
}

/* Mensagens de erro dos campos usam <em> por semântica de ênfase, não por estilo. */
.field [data-error] { font-style: normal; }

/* Foto de projeto com legenda sobreposta — a legenda fica sobre a imagem no
   desktop e desce para baixo dela no celular, onde cobriria a foto. */
.photo {
	border-radius: var(--radius-lg);
	margin: 0 auto var(--space-lg);
	max-width: 720px;
	overflow: hidden;
	position: relative;
}
.photo img {
	display: block;
	width: 100%;
}
.photo figcaption {
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	background: rgba(20, 24, 26, .78);
	border-radius: var(--radius);
	bottom: 1rem;
	color: var(--text-invert);
	left: 1rem;
	max-width: 30rem;
	padding: .75rem 1rem;
	position: absolute;
}
.photo figcaption strong {
	color: var(--warm);
	display: block;
	font-size: var(--fs-label);
	font-weight: 700;
	letter-spacing: .14em;
	margin-bottom: .25rem;
	text-transform: uppercase;
}
.photo figcaption span {
	color: var(--text-invert-muted);
	display: block;
	font-size: .8125rem;
	line-height: 1.5;
}

@media (max-width: 640px) {
	.photo figcaption {
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		background: var(--ink);
		border-radius: 0;
		bottom: auto;
		left: auto;
		max-width: none;
		position: static;
	}
}
