/**
 * Esmalteca - site público.
 * Mobile-first. Identidade do site original: coral e verde do logo, o frasco
 * de esmalte do logo (molduras em forma de frasco) e a cartela de cores.
 * @author Sandro Jordão.
 */

/* ---------------------------------------------------------------- Fontes */

/* Bricolage Grotesque (títulos grandes) e DM Sans (texto), auto-hospedadas
   (SIL Open Font License, ver CREDITS.md). Só o subconjunto latin. */
@font-face {
	font-family: "Bricolage Grotesque";
	font-style: normal;
	font-weight: 500 800;
	font-display: swap;
	src: url("../fontes/v2/bricolage-grotesque.woff2") format("woff2");
}
@font-face {
	font-family: "DM Sans";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fontes/v2/dm-sans.woff2") format("woff2");
}

/* ---------------------------------------------------------------- Tokens */

:root {
	/* Coral do logo e variações (as escuras têm contraste para texto e
	   fundo de botão com texto branco). */
	--coral: #EA495C;
	--coral-600: #CF3349;
	--coral-700: #A82438;
	--coral-100: #FAD7DC;
	--coral-50: #FDF0F1;

	/* Verde do "e" do logo e do rodapé original. */
	--green: #52A150;
	--green-700: #2F7A31;
	--green-800: #24622A;
	--green-50: #EDF6EC;

	--wine: #6E1A2F;
	--ink: #2A2024;
	--text: #4A3F43;
	--muted: #75686D;
	--line: #F0DDE1;
	--soft: #FFF6F4;
	--white: #FFFFFF;
	--red: #C0262D;

	--font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-display: "Bricolage Grotesque", var(--font);

	--radius-sm: 10px;
	--radius: 18px;
	--radius-lg: 28px;
	/* Topo das molduras em forma de frasco (ombros arredondados). */
	--bottle: 46% 46% var(--radius) var(--radius) / 32% 32% var(--radius) var(--radius);
	--arch: 50% 50% var(--radius) var(--radius) / 36% 36% var(--radius) var(--radius);

	--shadow-sm: 0 6px 16px -10px rgba(110, 26, 47, .45);
	--shadow: 0 22px 46px -26px rgba(110, 26, 47, .5);

	--gutter: 20px;
	--header-h: 76px;
}

/* ---------------------------------------------------------------- Base */

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

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

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

main { flex: 1 0 auto; }
main:focus { outline: none; }

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

a { color: var(--coral-700); text-underline-offset: .2em; }
a:hover { color: var(--coral-600); }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3 {
	line-height: 1.08;
	color: var(--ink);
	text-wrap: balance;
}

/* Títulos pequenos na fonte de texto, em negrito; a display só nos grandes. */
h3 { font: 700 1.2rem/1.25 var(--font); }

p { text-wrap: pretty; }

em {
	font-style: normal;
	color: var(--coral-600);
}

strong { font-weight: 700; color: var(--ink); }

.icon {
	width: 1.15em;
	height: 1.15em;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	vertical-align: -.2em;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

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

::selection { background: var(--coral); color: var(--white); }

.container {
	width: min(1180px, 100% - var(--gutter) * 2);
	margin-inline: auto;
}

.visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: 16px; top: -60px;
	z-index: 100;
	padding: .6em 1em;
	border-radius: var(--radius-sm);
	background: var(--ink);
	color: var(--white);
	font-weight: 700;
	text-decoration: none;
	transition: top .2s;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------------------------------------------------------------- Botões */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	padding: .75em 1.4em;
	border: 2px solid transparent;
	border-radius: 999px;
	font: 700 1rem/1.2 var(--font);
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }

.btn--coral { background: var(--coral-600); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--coral:hover { background: var(--coral-700); color: var(--white); }

.btn--ghost { border-color: var(--coral-100); background: var(--white); color: var(--coral-700); }
.btn--ghost:hover { border-color: var(--coral); color: var(--coral-700); }

.btn--white { background: var(--white); color: var(--coral-700); }
.btn--white:hover { background: var(--coral-50); color: var(--coral-700); }

.btn--lg { padding: .9em 1.7em; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------------------------------------------------------------- Cartela (amostras de cor) */

.swatch {
	display: block;
	width: 44px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--c, var(--coral));
	box-shadow: 0 0 0 3px var(--white), 0 6px 12px -6px rgba(42, 32, 36, .6);
}
.swatch--brilho {
	background: conic-gradient(from 30deg, #F6C453, #EA495C, #B9A3D9, #6FC3C9, #A8E06F, #F6C453);
}

/* Fileira decorativa de bolinhas de esmalte (topo das páginas internas). */
.swatches {
	display: flex;
	gap: 10px;
}
.swatches li {
	width: 18px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--c);
}

/* ---------------------------------------------------------------- Molduras */

/* Moldura com os ombros arredondados de um vidro de esmalte. */
.frame-bottle {
	position: relative;
	aspect-ratio: 4 / 5;
}
.frame-bottle > img,
.frame-bottle > div > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--bottle);
}

.frame-arch {
	display: block;
	overflow: hidden;
	border-radius: var(--arch);
}
.frame-arch img { width: 100%; height: 100%; object-fit: cover; }

.frame-round {
	overflow: hidden;
	aspect-ratio: 1;
	border: 6px solid var(--white);
	border-radius: 50%;
	box-shadow: var(--shadow);
}
.frame-round img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------- Cabeçalho */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	transition: box-shadow .3s;
}
/* Fundo num pseudo-elemento: backdrop-filter no próprio cabeçalho faria o
   menu do celular (position: fixed) ficar preso dentro dele. */
.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(255, 255, 255, .94);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}
.site-header.is-scrolled { box-shadow: 0 10px 24px -20px rgba(110, 26, 47, .6); }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: var(--header-h);
	padding-block: 8px;
}

/* Logo horizontal (frasco ao lado do nome), dimensionado pela largura. O
   arquivo tem 320px: na home do celular ocupa o que sobra ao lado do botão
   do menu, sem passar do tamanho real. */
.site-header__logo img {
	width: 190px;
	height: auto;
	transition: width .35s ease;
}
.site-header.is-scrolled .site-header__logo img { width: 160px; }
.site-header--home .site-header__logo img { width: min(260px, 100vw - 32px - 64px); }
.site-header--home.is-scrolled .site-header__logo img { width: 160px; }

.nav-toggle {
	position: relative;
	z-index: 60;
	display: grid;
	place-items: center;
	width: 48px; height: 48px;
	border: 0;
	border-radius: 50%;
	background: var(--coral-600);
	box-shadow: var(--shadow-sm);
	cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 20px; height: 2.5px;
	border-radius: 2px;
	background: var(--white);
	transition: transform .3s, background-color .3s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Menu do celular: painel em tela cheia com a cartela no rodapé. */
.site-nav {
	position: fixed;
	inset: 0;
	z-index: 55;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 28px;
	padding: calc(var(--header-h) + 16px) 28px 40px;
	background:
		radial-gradient(circle at 100% 100%, var(--coral-100) 0 120px, transparent 121px),
		radial-gradient(circle at 0 0, var(--green-50) 0 140px, transparent 141px),
		var(--white);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-12px);
	transition: opacity .3s, transform .3s, visibility 0s .3s;
	overflow-y: auto;
}
.site-nav.is-open {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity .3s, transform .3s;
}

.site-nav__list {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.site-nav__link {
	display: inline-block;
	padding: .05em 0;
	font: 700 clamp(2rem, 9vw, 2.6rem)/1.2 var(--font-display);
	letter-spacing: -.02em;
	color: var(--ink);
	text-decoration: none;
	transition: color .2s;
}
.site-nav__link:hover,
.site-nav__link[aria-current="page"] { color: var(--coral-600); }

.site-nav__cta { align-self: flex-start; }

body.nav-open { overflow: hidden; }

@media (min-width: 1024px) {
	:root { --header-h: 92px; }

	.site-header__logo img { width: 230px; }
	.site-header--home .site-header__logo img { width: 290px; }
	.site-header.is-scrolled .site-header__logo img,
	.site-header--home.is-scrolled .site-header__logo img { width: 190px; }

	.nav-toggle { display: none; }

	.site-nav {
		position: static;
		flex-direction: row;
		align-items: center;
		gap: 18px;
		padding: 0;
		background: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		overflow: visible;
	}

	.site-nav__list { flex-direction: row; gap: 4px; }

	.site-nav__link {
		position: relative;
		padding: .45em .85em;
		font: 700 1rem/1.2 var(--font);
		letter-spacing: 0;
	}
	/* Bolinha de esmalte embaixo do item ativo. */
	.site-nav__link::after {
		content: "";
		position: absolute;
		left: 50%;
		bottom: -2px;
		width: 8px; height: 8px;
		border-radius: 50%;
		background: var(--coral);
		transform: translateX(-50%) scale(0);
		transition: transform .25s;
	}
	.site-nav__link:hover::after,
	.site-nav__link[aria-current="page"]::after { transform: translateX(-50%) scale(1); }

	.site-nav__cta { align-self: auto; }
}

/* ---------------------------------------------------------------- Seções e títulos */

.section { padding-block: clamp(56px, 9vw, 104px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--soft { background: var(--soft); }

.section-head {
	max-width: 720px;
	margin-bottom: clamp(28px, 4vw, 48px);
}
.section-head--row {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	max-width: none;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .55em;
	margin-bottom: 12px;
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--green-700);
}
.eyebrow::before {
	content: "";
	width: 12px; height: 12px;
	border-radius: 50%;
	background: var(--coral);
	box-shadow: 16px 0 0 -2px var(--green);
	margin-right: 14px;
}
.eyebrow--light { color: var(--white); }
.eyebrow--light::before { background: var(--white); box-shadow: 16px 0 0 -2px var(--coral-100); }

.section-title {
	font: 700 clamp(2rem, 4.4vw, 3rem)/1.06 var(--font-display);
	letter-spacing: -.025em;
}
.section-title--sm { margin-bottom: 20px; font: 700 1.5rem/1.2 var(--font); letter-spacing: 0; }

/* ---------------------------------------------------------------- Hero (home) */

.hero {
	position: relative;
	overflow: hidden;
	padding-block: 24px clamp(48px, 6vw, 72px);
	background:
		radial-gradient(circle at 88% 40%, var(--coral-50) 0 34%, transparent 34.2%),
		var(--white);
}

.hero__grid {
	display: grid;
	gap: 40px;
	align-items: center;
}

.hero__title {
	margin-bottom: 20px;
	font: 800 clamp(2.5rem, 6.4vw, 4.4rem)/1 var(--font-display);
	letter-spacing: -.022em;
}

.hero__lead {
	max-width: 34em;
	margin-bottom: 28px;
	font-size: clamp(1.05rem, 1.6vw, 1.2rem);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 24px;
}

.hero__info {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .4em .6em;
	font-size: .95rem;
	color: var(--muted);
}
.hero__info .icon { color: var(--coral); }
.hero__info a { color: inherit; font-weight: 700; text-decoration: none; }
.hero__info a:hover { color: var(--coral-700); }

.hero__art {
	position: relative;
	width: min(100%, 440px);
	margin-inline: auto;
	padding: 0 6% 0 10%;
}

.hero__slider { position: relative; }

.hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--bottle);
	box-shadow: var(--shadow);
}

/* Os botões do slider são amostras de esmalte. */
.hero__dots {
	display: flex;
	justify-content: center;
	gap: 14px;
	margin-top: 22px;
}
.hero__dot {
	width: 30px; height: 30px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--c);
	box-shadow: 0 0 0 3px var(--white), 0 0 0 4px var(--line);
	cursor: pointer;
	transition: transform .25s, box-shadow .25s;
}
.hero__dot:hover { transform: scale(1.1); }
.hero__dot.is-active { box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--c); transform: scale(1.12); }

.hero__mini {
	position: absolute;
	left: 0;
	bottom: 70px;
	width: 34%;
}

/* Selo girando com o lema em volta do frasco. */
.hero__seal {
	position: absolute;
	right: 0;
	top: 10%;
	display: grid;
	place-items: center;
	width: 26%;
	min-width: 92px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--green);
	color: var(--white);
}
.hero__seal-ring {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	animation: spin 22s linear infinite;
}
.hero__seal-ring text {
	fill: var(--white);
	font: 700 9.5px var(--font);
	text-anchor: middle;
}
.hero__seal .icon { width: 28%; height: 28%; }

@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 900px) {
	.hero { padding-top: 32px; }
	.hero__grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
	.hero__art { margin-inline: auto 0; }
}

/* ---------------------------------------------------------------- Cards de serviço (home) */

.service-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px 16px;
}
@media (min-width: 720px) { .service-cards { grid-template-columns: repeat(3, 1fr); gap: 32px 20px; } }
@media (min-width: 1100px) { .service-cards { grid-template-columns: repeat(5, 1fr); } }
/* Duas colunas: o último card, sozinho na linha, ocupa a largura toda. */
@media (max-width: 719px) {
	.service-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.service-card:last-child:nth-child(odd) .service-card__photo { aspect-ratio: 16 / 9; }
}
@media (max-width: 479px) {
	.service-card__icon { width: 46px; height: 46px; margin-left: 10px; }
	.service-card__title { font-size: 1.05rem; }
	.service-card__text { font-size: .9rem; }
}

.service-card__link {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.service-card__photo {
	aspect-ratio: 4 / 5;
	margin-bottom: -26px;
	transition: transform .4s ease;
}
.service-card__photo img { transition: transform .6s ease; }
.service-card__link:hover .service-card__photo img { transform: scale(1.06); }

.service-card__icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 54px; height: 54px;
	margin: 0 0 12px 16px;
	border: 4px solid var(--white);
	border-radius: 50%;
	background: var(--coral-600);
	color: var(--white);
	transition: background-color .25s;
}
.service-card__icon .icon { width: 24px; height: 24px; }
.service-card__link:hover .service-card__icon { background: var(--green-700); }

.service-card__title {
	margin-bottom: 4px;
	font: 700 1.2rem/1.25 var(--font);
	color: var(--ink);
}
.service-card__link:hover .service-card__title { color: var(--coral-700); }
.service-card__text { font-size: .97rem; color: var(--muted); }

/* ---------------------------------------------------------------- Faixa coral (cartela) */

.band { padding-block: clamp(64px, 9vw, 110px); }
.band--coral { background: var(--coral-600); color: var(--white); }
.band--coral .section-title { color: var(--white); margin-bottom: 16px; }
.band--coral p { color: rgba(255, 255, 255, .92); }

.band__grid {
	display: grid;
	gap: 48px;
	align-items: center;
}

.cartela {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 22px 16px;
	margin-top: 32px;
}
.cartela__item {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	column-gap: 12px;
}
.cartela__item .swatch { grid-row: span 2; }
.cartela__name { font-weight: 700; line-height: 1.2; }
.cartela__text { font-size: .85rem; line-height: 1.3; color: rgba(255, 255, 255, .88); }

.band__art {
	width: min(100%, 380px);
	margin-inline: auto;
}
.band__photo img { box-shadow: 0 30px 60px -30px rgba(60, 10, 20, .8); }

@media (min-width: 900px) {
	.band__grid { grid-template-columns: 1.2fr .8fr; gap: 72px; }
}

/* ---------------------------------------------------------------- Atendimento (home) */

.visit {
	display: grid;
	gap: 40px;
	align-items: center;
}

.visit__photo {
	aspect-ratio: 4 / 5;
	width: min(100%, 440px);
	margin-inline: auto;
}

.visit__text .section-title { margin-bottom: 16px; }
.visit__text > p { margin-bottom: 24px; }

.hours {
	display: grid;
	gap: 10px;
	margin-bottom: 24px;
	padding: 20px 24px;
	border-radius: var(--radius);
	background: var(--green-50);
}
.hours__row {
	display: flex;
	align-items: baseline;
	gap: 10px;
}
.hours__row dt { font-weight: 700; color: var(--ink); }
.hours__row dd { margin-left: auto; font-weight: 700; color: var(--green-700); white-space: nowrap; }

.visit__address { display: flex; gap: .5em; align-items: flex-start; color: var(--muted); }
/* Ícone centralizado na primeira linha do texto (line-height 1.65). */
.visit__address .icon { margin-top: .25em; vertical-align: 0; color: var(--coral); }

@media (min-width: 900px) {
	.visit { grid-template-columns: .9fr 1.1fr; gap: 72px; }
}

/* ---------------------------------------------------------------- Galeria */

.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
	gap: 16px;
}
.gallery--teaser { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery--teaser { grid-template-columns: repeat(4, 1fr); } }

.gallery__link {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 1;
	border-radius: var(--radius);
	background: var(--coral-50);
}
.gallery__link img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s ease;
}
.gallery__link:hover img { transform: scale(1.06); }

/* Na galeria, a primeira foto de cada 5 tem o topo em arco (frasco). */
.gallery:not(.gallery--teaser) .gallery__item:nth-child(5n+1) .gallery__link { border-radius: var(--arch); }

.gallery__zoom {
	position: absolute;
	right: 12px;
	bottom: 12px;
	display: grid;
	place-items: center;
	width: 42px; height: 42px;
	border-radius: 50%;
	background: var(--white);
	color: var(--coral-700);
	opacity: 0;
	transform: scale(.8);
	transition: opacity .25s, transform .25s;
}
.gallery__link:hover .gallery__zoom,
.gallery__link:focus-visible .gallery__zoom { opacity: 1; transform: none; }

@media (hover: none) { .gallery__zoom { opacity: .92; transform: none; } }

/* ---------------------------------------------------------------- Chamada final e rodapé */

.cta {
	position: relative;
	z-index: 1;
	padding-block: clamp(48px, 7vw, 72px) 28px;
	background: var(--coral-600);
	color: var(--white);
}

/* Esmalte escorrendo da faixa coral para o rodapé. */
.cta__drip {
	position: absolute;
	top: calc(100% - 1px);
	left: 0;
	width: 100%;
	height: clamp(28px, 4vw, 52px);
	fill: var(--coral-600);
}

.cta__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.cta__title {
	margin-bottom: 6px;
	font: 800 clamp(2rem, 4.4vw, 2.9rem)/1.05 var(--font-display);
	letter-spacing: -.025em;
	color: var(--white);
}
.cta__text { color: rgba(255, 255, 255, .92); }

.cta__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 22px;
}
.cta__phone {
	display: inline-flex;
	align-items: center;
	gap: .45em;
	font-weight: 700;
	font-size: 1.15rem;
	color: var(--white);
	text-decoration: none;
	white-space: nowrap;
}
.cta__phone:hover { color: var(--coral-50); text-decoration: underline; }

.site-footer {
	padding-top: clamp(64px, 8vw, 96px);
	background: var(--green-700);
	color: rgba(255, 255, 255, .9);
	font-size: .97rem;
}
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.site-footer__grid {
	display: grid;
	gap: 36px;
	padding-bottom: 48px;
}
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.4fr .8fr 1fr 1.4fr; gap: 48px; } }

.site-footer__brand img { width: 200px; margin-bottom: 14px; }
.site-footer__brand p { max-width: 30em; }

.site-footer__title {
	margin-bottom: 14px;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--white);
}
.site-footer__nav ul,
.site-footer__contact ul { display: grid; gap: 8px; }
.site-footer__contact li { display: flex; gap: .6em; align-items: flex-start; }
/* Ícone centralizado na primeira linha do texto (line-height 1.65). */
.site-footer__contact .icon { margin-top: .25em; vertical-align: 0; color: var(--coral-100); }

.site-footer__bottom {
	padding-block: 18px;
	background: var(--green-800);
	font-size: .85rem;
}
.site-footer__bottom .container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 24px;
}
.site-footer__note a { text-decoration: underline; }

/* ---------------------------------------------------------------- Páginas internas */

.page-head {
	position: relative;
	overflow: hidden;
	padding-block: clamp(36px, 6vw, 72px);
	background:
		radial-gradient(circle at 92% 20%, var(--coral-100) 0 110px, transparent 111px),
		radial-gradient(circle at 80% 110%, var(--green-50) 0 160px, transparent 161px),
		var(--soft);
}
.page-head__title {
	max-width: 14em;
	margin-bottom: 14px;
	font: 800 clamp(2.4rem, 5.6vw, 3.8rem)/1.02 var(--font-display);
	letter-spacing: -.022em;
}
.page-head__lead {
	max-width: 36em;
	margin-bottom: 24px;
	font-size: 1.1rem;
}

/* Sobre */
.about {
	display: grid;
	gap: 48px;
	align-items: center;
}
.about__text { display: grid; gap: 16px; justify-items: start; }
.about__lead { font-size: 1.25rem; line-height: 1.5; color: var(--ink); }
.about__text .btn { margin-top: 12px; }

.about__art {
	position: relative;
	width: min(100%, 400px);
	margin-inline: auto;
	padding-left: 12%;
}
.about__mini {
	position: absolute;
	left: 0;
	bottom: 8%;
	width: 38%;
}

@media (min-width: 900px) {
	.about { grid-template-columns: 1.1fr .9fr; gap: 80px; }
}

.values {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
}
.value {
	padding: 28px;
	border-radius: var(--radius-lg);
	background: var(--white);
	box-shadow: var(--shadow-sm);
}
.value__icon {
	display: grid;
	place-items: center;
	width: 56px; height: 56px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: var(--green-50);
	color: var(--green-700);
}
.value__icon .icon { width: 26px; height: 26px; }
.value__title { margin-bottom: 8px; }

/* Serviços */
.services { display: grid; gap: clamp(48px, 7vw, 88px); }

.service {
	display: grid;
	gap: 28px;
	align-items: center;
	scroll-margin-top: calc(var(--header-h) + 24px);
}
.service__photo { aspect-ratio: 4 / 3; }

.service__icon {
	display: grid;
	place-items: center;
	width: 56px; height: 56px;
	margin-bottom: 16px;
	border-radius: 50%;
	background: var(--coral-600);
	color: var(--white);
}
.service__icon .icon { width: 26px; height: 26px; }
.service__title {
	margin-bottom: 10px;
	font: 700 clamp(2rem, 3.6vw, 2.6rem)/1.08 var(--font-display);
	letter-spacing: -.025em;
}
.service__lead { margin-bottom: 18px; font-size: 1.12rem; }

.checklist { display: grid; gap: 10px; }
.checklist li { display: flex; gap: .6em; align-items: flex-start; }
.checklist .icon {
	padding: 3px;
	width: 1.35em; height: 1.35em;
	border-radius: 50%;
	background: var(--green-50);
	color: var(--green-700);
	stroke-width: 3;
	/* Centro do círculo no centro da primeira linha (line-height 1.65). */
	margin-top: .15em;
	vertical-align: 0;
}

@media (min-width: 900px) {
	.service { grid-template-columns: 1fr 1fr; gap: 72px; }
	.service:nth-child(even) .service__photo { order: 2; }
}

/* 404 */
.not-found { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------------- Formulários e contato */

.form-layout {
	display: grid;
	gap: 32px;
	align-items: start;
}
@media (min-width: 960px) { .form-layout { grid-template-columns: 1.4fr 1fr; gap: 48px; } }

.form-card {
	padding: clamp(22px, 4vw, 40px);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--white);
	box-shadow: var(--shadow);
}
.form-card__title { margin-bottom: 6px; font: 700 1.5rem/1.2 var(--font); color: var(--ink); }
.form-card__hint { margin-bottom: 24px; color: var(--muted); }

.form-grid {
	display: grid;
	gap: 18px;
	margin-bottom: 24px;
}
@media (min-width: 640px) {
	.form-grid { grid-template-columns: 1fr 1fr; }
	.field--full { grid-column: 1 / -1; }
}

.field { position: relative; display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .95rem; color: var(--ink); }
.field__opt { font-weight: 400; color: var(--muted); }
.field input,
.field textarea {
	width: 100%;
	padding: .8em 1em;
	border: 2px solid var(--line);
	border-radius: 14px;
	background: var(--soft);
	color: var(--ink);
	font: 400 1rem/1.4 var(--font);
	transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input::placeholder,
.field textarea::placeholder { color: #A0959A; }
.field input:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--coral);
	background: var(--white);
	box-shadow: 0 0 0 4px rgba(234, 73, 92, .18);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--red); }
.field__error {
	display: none;
	font-size: .88rem;
	font-weight: 700;
	color: var(--red);
}
.field.has-error .field__error { display: block; }
.field__counter {
	justify-self: end;
	margin-top: -2px;
	font-size: .8rem;
	color: var(--muted);
}
.field__counter.is-near { color: var(--red); font-weight: 700; }

.hp {
	position: absolute;
	left: -9999px;
	width: 1px; height: 1px;
	opacity: 0;
}

.form-card__status { margin-top: 12px; font-weight: 700; color: var(--red); }
.form-card__status:empty { display: none; }

.contact-card {
	display: grid;
	gap: 22px;
	padding: clamp(22px, 4vw, 32px);
	border-radius: var(--radius-lg);
	background: var(--soft);
}
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 46px; height: 46px;
	border-radius: 50%;
	background: var(--white);
	color: var(--coral-600);
	box-shadow: var(--shadow-sm);
}
.contact-item__label {
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--green-700);
}
.contact-item a { font-weight: 700; }

.map {
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: var(--coral-50);
	box-shadow: var(--shadow-sm);
}
.map iframe { display: block; width: 100%; height: clamp(280px, 40vw, 400px); border: 0; }
.map__link { margin-top: 12px; }
.map__link a { display: inline-flex; gap: .4em; align-items: center; font-weight: 700; }

/* ---------------------------------------------------------------- Lightbox e diálogo */

.lightbox {
	width: 100%; height: 100%;
	max-width: none; max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(42, 18, 26, .95);
	color: var(--white);
}
.lightbox::backdrop { background: rgba(42, 18, 26, .7); }
.lightbox[open] { display: grid; place-items: center; }

.lightbox__figure {
	display: grid;
	place-items: center;
	gap: 12px;
	width: 100%; height: 100%;
	padding: 64px 16px 24px;
}
.lightbox__img {
	max-width: min(100%, 1100px);
	max-height: calc(100vh - 160px);
	width: auto; height: auto;
	border-radius: var(--radius);
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
	animation: zoom-in .3s ease;
}
.lightbox__caption { font-weight: 600; text-align: center; }
.lightbox__counter { display: block; font-size: .8rem; letter-spacing: .12em; opacity: .7; }

.lightbox__btn {
	position: absolute;
	display: grid;
	place-items: center;
	width: 52px; height: 52px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .14);
	color: var(--white);
	font: 700 2rem/1 var(--font);
	cursor: pointer;
	transition: background-color .2s;
}
.lightbox__btn:hover { background: var(--coral-600); }
.lightbox__btn .icon { width: 24px; height: 24px; }
.lightbox__btn--close { top: 14px; right: 14px; }
.lightbox__btn--prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__btn[hidden] { display: none; }
@media (max-width: 639px) {
	.lightbox__btn--prev,
	.lightbox__btn--next { top: auto; bottom: 18px; transform: none; }
}

@keyframes zoom-in { from { opacity: 0; transform: scale(.96); } }

.modal {
	width: min(440px, 100% - 32px);
	padding: 0;
	border: 0;
	border-radius: var(--radius-lg);
	background: var(--white);
	color: var(--text);
	text-align: center;
	box-shadow: 0 40px 80px -30px rgba(110, 26, 47, .6);
}
.modal::backdrop { background: rgba(42, 18, 26, .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal[open] { animation: zoom-in .3s ease; }
.modal__body { padding: 40px 28px 28px; }
.modal__icon {
	display: grid;
	place-items: center;
	width: 72px; height: 72px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: var(--green);
	color: var(--white);
	box-shadow: 0 0 0 8px var(--green-50);
}
.modal__icon .icon { width: 36px; height: 36px; stroke-width: 3; }
.modal--error .modal__icon { background: var(--red); box-shadow: 0 0 0 8px var(--coral-50); }
.modal__title { margin-bottom: 10px; font: 700 1.6rem/1.2 var(--font); }
.modal__text { margin-bottom: 24px; color: var(--muted); }

/* ---------------------------------------------------------------- Animação ao rolar */

.js [data-reveal] {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity .8s ease, transform .8s ease;
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

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

@media print {
	.site-header, .cta, .site-footer__nav, .hero__seal, .map { display: none; }
}
