@charset "utf-8";
/*
 * Eventos Mara - site público.
 * Mobile-first. Identidade: as cores dos balões do logo (vermelho, azul,
 * amarelo) e o verde do menu antigo, chapadas; as bolhas/nuvens do menu
 * antigo viram molduras de foto, pílulas do menu e a borda das faixas.
 */

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

@font-face {
	font-family: 'Baloo 2';
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fontes/baloo2.woff2") format('woff2');
}
@font-face {
	font-family: 'Nunito';
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fontes/nunito.woff2") format('woff2');
}
@font-face {
	font-family: 'Nunito';
	font-style: italic;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fontes/nunito-italic.woff2") format('woff2');
}

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

:root {
	--red: #D7262E;
	--red-700: #B01A22;
	--red-50: #FDE8E8;
	--blue: #1B7FCC;
	--blue-700: #125E9A;
	--blue-50: #E3F1FB;
	--yellow: #FFC21A;
	--yellow-700: #8A6200;
	--yellow-50: #FFF4D1;
	--green: #2FA84F;
	--green-700: #1C7536;
	--green-50: #E3F5E8;
	--ink: #2A2B3D;
	--muted: #5C5F73;
	--paper: #FFF8EE;
	--white: #FFFFFF;
	--line: #F0E4D3;

	--font-display: 'Baloo 2', 'Trebuchet MS', system-ui, sans-serif;
	--font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--radius: 28px;
	--radius-sm: 16px;
	--blob: 58% 42% 55% 45% / 52% 58% 42% 48%;
	--shadow: 0 24px 48px -28px rgba(42, 43, 61, .45);
	--shadow-sm: 0 12px 26px -18px rgba(42, 43, 61, .45);
	--header-h: 76px;
	--gutter: 16px;

	/* Borda de nuvem (herança das bolhas do menu antigo): círculos de tamanhos diferentes a cada 140px. */
	--cloud: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 28'%3E%3Ccircle cx='0' cy='28' r='14'/%3E%3Ccircle cx='30' cy='28' r='20'/%3E%3Ccircle cx='64' cy='28' r='15'/%3E%3Ccircle cx='98' cy='28' r='22'/%3E%3Ccircle cx='128' cy='28' r='13'/%3E%3Ccircle cx='140' cy='28' r='14'/%3E%3Crect y='24' width='140' height='4'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------- 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-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

[hidden] { display: none !important; }

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

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

a { color: var(--red-700); text-underline-offset: .2em; }
a:hover { color: var(--red); }
a[href^="tel:"] { white-space: nowrap; }

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

h1, h2 {
	font-family: var(--font-display);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -.01em;
	text-wrap: balance;
}

/* Títulos pequenos na fonte de texto (a display só em tamanho grande). */
h3 {
	font-family: var(--font-body);
	font-weight: 800;
	line-height: 1.25;
}

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

.icon {
	width: 1.15em;
	height: 1.15em;
	flex: none;
	vertical-align: -.2em;
}

.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: 10px 18px;
	border-radius: 999px;
	background: var(--ink);
	color: var(--white);
	font-weight: 800;
	text-decoration: none;
	transition: top .2s;
}
.skip-link:focus { top: 12px; color: var(--white); }

.container {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 var(--gutter);
}

/* Marca-texto colorido nos títulos. */
.hl {
	position: relative;
	z-index: 0;
	white-space: nowrap;
}
.hl::after {
	content: '';
	position: absolute;
	z-index: -1;
	left: -.08em; right: -.08em;
	bottom: .06em;
	height: .38em;
	border-radius: 999px;
	background: var(--yellow);
}
.hl--red::after { background: var(--red-50); }
.hl--yellow::after { background: var(--yellow); }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--red-50);
	color: var(--red-700);
	font-size: .82rem;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.eyebrow--blue { background: var(--blue-50); color: var(--blue-700); }
.eyebrow--green { background: var(--green-50); color: var(--green-700); }
.eyebrow--red { background: var(--red-50); color: var(--red-700); }
.eyebrow--light { background: rgba(255, 255, 255, .18); color: var(--white); }

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

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 10px 22px;
	border: 0;
	border-radius: 999px;
	font: 800 1rem/1.2 var(--font-body);
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn--lg { min-height: 54px; padding: 12px 28px; font-size: 1.06rem; }

.btn--red { background: var(--red); color: var(--white); box-shadow: 0 6px 0 var(--red-700); }
.btn--red:hover { color: var(--white); background: #E2343C; }
.btn--blue { background: var(--blue); color: var(--white); box-shadow: 0 6px 0 var(--blue-700); }
.btn--blue:hover { color: var(--white); background: #2A8DDA; }
.btn--green { background: var(--green); color: var(--white); box-shadow: 0 6px 0 var(--green-700); }
.btn--green:hover { color: var(--white); background: #38B85A; }
.btn--whatsapp { background: #25D366; color: var(--white); box-shadow: 0 6px 0 #128C4A; }
.btn--whatsapp:hover { color: var(--white); background: #1EBE5A; }
.btn--text { padding-inline: .6em; background: none; box-shadow: none; color: var(--blue-700); }
.btn--text:hover { color: var(--red-700); }
.btn--ghost { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 2px var(--line), 0 6px 0 var(--line); }
.btn--ghost:hover { color: var(--red-700); }

.round-btn {
	display: inline-grid;
	place-items: center;
	width: 44px; height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--white);
	color: var(--ink);
	box-shadow: var(--shadow-sm);
	cursor: pointer;
	transition: transform .2s, color .2s;
}
.round-btn:hover { transform: scale(1.08); color: var(--red); }

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

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	isolation: isolate;
}
/* Fundo desfocado num ::before (backdrop-filter no próprio header prenderia o menu fixo do celular). */
.site-header::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(255, 248, 238, .9);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: 0 10px 30px -24px rgba(42, 43, 61, .5);
	opacity: 0;
	transition: opacity .3s;
}
.site-header.is-scrolled::before { opacity: 1; }

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

.site-header__logo { display: block; flex: none; }
.site-header__logo img { width: 128px; height: auto; transition: width .35s ease; }
.site-header--home .site-header__logo img { width: min(260px, 100vw - 32px - 72px); }
.site-header.is-scrolled .site-header__logo img { width: 112px; }

.nav-toggle {
	position: relative;
	z-index: 60;
	display: inline-grid;
	place-items: center;
	width: 52px; height: 52px;
	border: 0;
	border-radius: 50%;
	background: var(--red);
	color: var(--white);
	box-shadow: 0 5px 0 var(--red-700);
	cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 22px; height: 3px;
	border-radius: 3px;
	background: currentColor;
	transition: transform .3s, opacity .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 as bolhas coloridas. */
.site-nav {
	position: fixed;
	inset: 0;
	z-index: 55;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 28px;
	padding: 96px 24px 40px;
	background: var(--paper);
	visibility: hidden;
	opacity: 0;
	transform: scale(.98);
	transition: opacity .25s, transform .25s, visibility 0s .25s;
}
.site-nav.is-open {
	visibility: visible;
	opacity: 1;
	transform: none;
	transition: opacity .25s, transform .25s;
}
body.nav-open { overflow: hidden; }

.site-nav__list {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}
.site-nav__link {
	--c: var(--blue);
	display: inline-block;
	padding: 8px 26px;
	border-radius: var(--blob);
	background: var(--c);
	color: var(--white);
	font: italic 800 1.6rem/1.3 var(--font-body);
	text-decoration: none;
	transition: transform .2s;
}
.site-nav__link:hover { color: var(--white); transform: rotate(-3deg) scale(1.05); }
.site-nav__link--home { --c: var(--blue); }
.site-nav__link--sobre { --c: #E0A500; }
.site-nav__link--fotos { --c: var(--red); }
.site-nav__link--contato { --c: var(--green); }

.site-nav__actions { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.site-nav__client[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--blue), 0 6px 0 var(--blue-700); color: var(--blue-700); }

@media (min-width: 1024px) {
	.site-nav__actions { flex-direction: row; gap: 10px; }
	.site-nav__actions .btn { min-height: 42px; padding: 8px 16px; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
	/* Pouco espaço: o botão da área do cliente fica só com o ícone. */
	.site-nav__client { width: 42px; padding: 0 !important; font-size: 0; gap: 0; }
	.site-nav__client .icon { font-size: 1rem; }
}

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

	.nav-toggle { display: none; }

	.site-header__logo img { width: 150px; }
	.site-header--home .site-header__logo img { width: clamp(200px, 20vw, 250px); }
	.site-header.is-scrolled .site-header__logo img { width: 130px; }

	.site-nav {
		position: static;
		flex-direction: row;
		gap: 20px;
		padding: 0;
		background: none;
		visibility: visible;
		opacity: 1;
		transform: none;
	}
	.site-nav__list { flex-direction: row; gap: 6px; }

	/* No desktop as bolhas aparecem no hover e no item ativo. */
	.site-nav__link {
		padding: 6px 16px;
		background: transparent;
		color: var(--ink);
		font-size: 1.08rem;
		transition: background-color .2s, color .2s, transform .2s;
	}
	.site-nav__link:hover,
	.site-nav__link[aria-current="page"] { background: var(--c); color: var(--white); }
	.site-nav__link--sobre:hover,
	.site-nav__link--sobre[aria-current="page"] { color: var(--ink); background: var(--yellow); }
}

/* ---------------------------------------------------------------- Bolhas (molduras de foto) */

.bubble {
	position: absolute;
	overflow: hidden;
	border-radius: var(--blob);
	box-shadow: var(--shadow);
	background: var(--white);
	animation: float 7s ease-in-out infinite;
}
.bubble img { width: 100%; height: 100%; object-fit: cover; }
.bubble--a { width: 64%; aspect-ratio: 1; left: 4%; top: 12%; border: 8px solid var(--red); }
.bubble--b { width: 36%; aspect-ratio: 4 / 5; right: 4%; top: 0; border: 7px solid var(--blue); border-radius: 46% 54% 48% 52% / 58% 50% 50% 42%; animation-delay: -2s; }
.bubble--c { width: 32%; aspect-ratio: 1; right: 10%; bottom: 2%; border: 7px solid var(--yellow); border-radius: 50%; animation-delay: -4s; }

.dot {
	position: absolute;
	border-radius: 50%;
	animation: float 6s ease-in-out infinite;
}
.dot--blue { width: 34px; height: 34px; background: var(--blue); left: 0; top: 4%; }
.dot--yellow { width: 22px; height: 22px; background: var(--yellow); left: 56%; bottom: 0; animation-delay: -3s; }
.dot--green { width: 16px; height: 16px; background: var(--green); right: 0; top: 52%; animation-delay: -1s; }
.dot--red { width: 28px; height: 28px; background: var(--red); left: 2%; bottom: 8%; }

@keyframes float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}

/* Selo girando com o lema. */
.seal {
	position: absolute;
	left: 0;
	bottom: 2%;
	display: grid;
	place-items: center;
	width: 112px; height: 112px;
	border-radius: 50%;
	background: var(--yellow);
	color: var(--red-700);
	box-shadow: var(--shadow-sm);
}
.seal__ring {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	animation: spin 18s linear infinite;
}
.seal text {
	font: 800 11px var(--font-body);
	text-transform: uppercase;
	fill: var(--ink);
}
.seal .icon { width: 36px; height: 36px; }

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

/* ---------------------------------------------------------------- Hero */

.hero { padding: 16px 0 56px; }

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

.hero__title {
	font-size: clamp(2.3rem, 7.4vw, 4rem);
	color: var(--ink);
}
.hero__lead {
	max-width: 34em;
	margin-top: 18px;
	color: var(--muted);
	font-size: 1.12rem;
}
.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 12px;
	margin-top: 28px;
}

.hero__art {
	position: relative;
	width: min(100%, 520px);
	aspect-ratio: 1 / .92;
	margin: 0 auto;
}

@media (min-width: 1024px) {
	.hero { padding: 24px 0 80px; }
	.hero__inner { grid-template-columns: 1.05fr 1fr; gap: 56px; }
	.hero__art { width: 100%; }
}

/* ---------------------------------------------------------------- Seções */

.section { padding: 64px 0; }
.section--tight { padding: 24px 0 64px; }

.section__head {
	max-width: 680px;
	margin: 0 auto 40px;
	text-align: center;
}
.section__title { font-size: clamp(1.9rem, 4.6vw, 2.7rem); }
.section__lead { margin-top: 12px; color: var(--muted); font-size: 1.08rem; }
.section__head--light .section__title { color: var(--white); }

.section__more { margin-top: 36px; text-align: center; }

/* Faixas coloridas com borda de nuvem em cima e embaixo. */
.band {
	position: relative;
	margin: 28px 0;
	padding: 56px 0 64px;
	background: var(--band);
}
.band::before,
.band::after {
	content: '';
	position: absolute;
	left: 0; right: 0;
	height: 28px;
	background: var(--band);
	-webkit-mask: var(--cloud) repeat-x left bottom / 140px 28px;
	mask: var(--cloud) repeat-x left bottom / 140px 28px;
}
.band::before { bottom: 100%; }
.band::after { top: 100%; transform: scaleY(-1); }
.band--blue { --band: var(--blue); color: var(--white); }
.band--yellow { --band: var(--yellow-50); }

@media (min-width: 1024px) {
	.section { padding: 88px 0; }
	.band { padding: 72px 0 80px; }
}

/* ---------------------------------------------------------------- Estrutura (cards) */

.features {
	display: grid;
	gap: 28px;
}
.feature {
	--c: var(--red);
	position: relative;
	padding: 0 0 26px;
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: var(--shadow-sm);
	text-align: center;
}
.feature--blue { --c: var(--blue); }
.feature--yellow { --c: var(--yellow); }
.feature__photo {
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius) var(--radius) 50% 50% / var(--radius) var(--radius) 18% 18%;
}
.feature__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.feature:hover .feature__photo img { transform: scale(1.05); }
.feature__icon {
	display: grid;
	place-items: center;
	width: 64px; height: 64px;
	margin: -34px auto 12px;
	position: relative;
	border: 5px solid var(--white);
	border-radius: 50%;
	background: var(--c);
	color: var(--white);
}
.feature--yellow .feature__icon { color: var(--ink); }
.feature__icon .icon { width: 28px; height: 28px; }
.feature__title { font-size: 1.25rem; margin-bottom: 6px; }
.feature p { padding: 0 22px; color: var(--muted); }

@media (min-width: 640px) {
	.features { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
	.features { grid-template-columns: repeat(3, 1fr); gap: 32px; }
	.feature:nth-child(2) { transform: translateY(24px); }
}

/* ---------------------------------------------------------------- Passos (faixa azul) */

.steps {
	display: grid;
	gap: 18px;
	counter-reset: step;
}
.step {
	position: relative;
	padding: 24px 22px 22px 84px;
	border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, .12);
}
.step__num {
	position: absolute;
	left: 20px; top: 20px;
	display: grid;
	place-items: center;
	width: 46px; height: 46px;
	border-radius: var(--blob);
	background: var(--yellow);
	color: var(--ink);
	font: 800 1.5rem/1 var(--font-display);
}
.step:nth-child(2) .step__num { background: var(--white); }
.step:nth-child(3) .step__num { background: var(--red); color: var(--white); }
.step:nth-child(4) .step__num { background: var(--green); color: var(--white); }
.step__title { font-size: 1.15rem; margin-bottom: 4px; }
.step p { color: rgba(255, 255, 255, .88); }

@media (min-width: 640px) {
	.steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
	.steps { grid-template-columns: repeat(4, 1fr); }
	.step { padding: 84px 22px 26px; text-align: center; }
	.step__num { left: 50%; top: 22px; transform: translateX(-50%); }
}

/* ---------------------------------------------------------------- Mosaico (fotos da home) */

.mosaic {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}
.mosaic__item a {
	display: block;
	overflow: hidden;
	aspect-ratio: 1;
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-sm);
}
.mosaic__item:nth-child(4n+1) a { border-radius: var(--blob); }
.mosaic__item:nth-child(4n+3) a { border-radius: 50%; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mosaic__item a:hover img { transform: scale(1.07); }

@media (min-width: 640px) {
	.mosaic { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}

/* ---------------------------------------------------------------- Convite virtual */

.invite {
	display: grid;
	gap: 28px;
	align-items: center;
	padding: 28px var(--gutter);
	border-radius: var(--radius);
	background: var(--green-50);
}
.invite__photo {
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: var(--blob);
	border: 7px solid var(--white);
	box-shadow: var(--shadow-sm);
}
.invite__photo img { width: 100%; height: 100%; object-fit: cover; }
.invite__text p:not(.eyebrow) { margin: 14px 0 24px; color: var(--muted); }

@media (min-width: 1024px) {
	.invite { grid-template-columns: 1fr 1.1fr; gap: 56px; padding: 44px 56px; }
}

/* ---------------------------------------------------------------- Chamada final */

.cta { padding: 24px 0 72px; }
.cta__inner {
	position: relative;
	display: grid;
	gap: 20px;
	justify-items: start;
	overflow: hidden;
	padding: 40px 28px;
	border-radius: var(--radius);
	background: var(--yellow);
	box-shadow: 0 8px 0 #E2A800;
}
.cta__title { font-size: clamp(1.8rem, 4.4vw, 2.6rem); }
.cta__lead { margin-top: 8px; font-size: 1.08rem; }
.cta__lead a { color: var(--ink); font-weight: 800; }
.cta__balloons {
	position: absolute;
	right: -10px; top: -14px;
	width: 130px; height: 130px;
	opacity: .9;
}
.cta__balloons i {
	position: absolute;
	width: 52px; height: 62px;
	border-radius: 50%;
	animation: float 6s ease-in-out infinite;
}
.cta__balloons i:nth-child(1) { left: 0; top: 30px; background: var(--red); }
.cta__balloons i:nth-child(2) { left: 38px; top: 6px; background: var(--blue); animation-delay: -2s; }
.cta__balloons i:nth-child(3) { left: 76px; top: 34px; background: var(--white); animation-delay: -4s; }

@media (min-width: 1024px) {
	.cta__inner { grid-template-columns: 1fr auto; align-items: center; padding: 52px 200px 52px 56px; }
	.cta__balloons { right: 30px; top: 50%; transform: translateY(-50%); }
}

/* ---------------------------------------------------------------- Topo das páginas internas */

.page-head { padding: 24px 0 8px; }
.page-head__inner {
	position: relative;
	overflow: hidden;
	padding: 40px 24px 44px;
	border-radius: var(--radius);
	background: var(--ph);
	color: var(--white);
	text-align: center;
}
.page-head__inner::before,
.page-head__inner::after {
	content: '';
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, .14);
}
.page-head__inner::before { width: 180px; height: 180px; left: -60px; bottom: -80px; }
.page-head__inner::after { width: 110px; height: 110px; right: -20px; top: -40px; }
.page-head--red { --ph: var(--red); }
.page-head--blue { --ph: var(--blue); }
.page-head--green { --ph: var(--green); }
.page-head--yellow { --ph: var(--yellow); color: var(--ink); }
.page-head--yellow .page-head__inner { color: var(--ink); }
.page-head .eyebrow { background: rgba(255, 255, 255, .2); color: inherit; }
.page-head--yellow .eyebrow { background: rgba(255, 255, 255, .55); }
.page-head__title { position: relative; font-size: clamp(2.1rem, 6vw, 3.4rem); }
.page-head--red .hl::after,
.page-head--blue .hl::after,
.page-head--green .hl::after { background: rgba(255, 194, 26, .9); }
.page-head--red .hl,
.page-head--blue .hl,
.page-head--green .hl { color: var(--ink); }
.page-head__lead { position: relative; max-width: 36em; margin: 14px auto 0; font-size: 1.1rem; opacity: .95; }

@media (min-width: 1024px) {
	.page-head__inner { padding: 64px 48px 68px; }
}

/* ---------------------------------------------------------------- O espaço */

.about {
	display: grid;
	gap: 48px;
	align-items: center;
}
.about__text p + p { margin-top: 14px; }
.about__lead { font-size: 1.22rem; font-weight: 700; }
.about__text p:not(.about__lead) { color: var(--muted); }
.about__actions { display: flex; flex-wrap: wrap; gap: 14px 12px; margin-top: 28px; }
.about__art {
	position: relative;
	width: min(100%, 500px);
	aspect-ratio: 1 / .9;
	margin: 0 auto;
}

@media (min-width: 1024px) {
	.about { grid-template-columns: 1.1fr 1fr; gap: 64px; }
}

.occasions { display: grid; gap: 24px; }
.occasion {
	padding: 14px 14px 22px;
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: var(--shadow-sm);
}
.occasion__photo {
	overflow: hidden;
	aspect-ratio: 3 / 2;
	margin-bottom: 16px;
	border-radius: calc(var(--radius) - 10px);
}
.occasion__photo img { width: 100%; height: 100%; object-fit: cover; }
.occasion__title { display: flex; align-items: center; gap: 8px; padding: 0 8px; font-size: 1.15rem; color: var(--red-700); }
.occasion p { padding: 4px 8px 0; color: var(--muted); }

@media (min-width: 640px) {
	.occasions { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
	.occasions { grid-template-columns: repeat(3, 1fr); }
}

/* ---------------------------------------------------------------- Galerias */

.album {
	--c: var(--red);
	margin-bottom: 48px;
}
.album--blue { --c: var(--blue); }
.album--yellow { --c: var(--yellow); }
.album--green { --c: var(--green); }
.album__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
	padding-left: 18px;
	border-left: 6px solid var(--c);
}
.album__title { font-size: 1.35rem; }
.album__date { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .95rem; }
.album__nav { display: none; gap: 10px; }

.album__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 76%;
	gap: 14px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 4px 4px 18px;
	scrollbar-width: thin;
}
.album__item { scroll-snap-align: start; }
.album__item a {
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-sm);
}
.album__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.album__item a:hover img { transform: scale(1.06); }

@media (min-width: 640px) {
	.album__track { grid-auto-columns: 40%; }
	.album__nav { display: flex; }
}
@media (min-width: 1024px) {
	.album__track { grid-auto-columns: calc((100% - 42px) / 4); }
}

.empty { text-align: center; color: var(--muted); font-size: 1.1rem; }

/* ---------------------------------------------------------------- Lightbox */

.lightbox {
	width: 100%; height: 100%;
	max-width: none; max-height: none;
	margin: 0;
	padding: 56px 12px 72px;
	border: 0;
	background: rgba(24, 25, 38, .94);
	color: var(--white);
}
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox__figure { display: grid; place-items: center; flex: 1; min-height: 0; width: 100%; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; }
.lightbox__caption { display: flex; gap: 14px; align-items: center; margin-top: 14px; font-weight: 700; text-align: center; }
.lightbox__counter { opacity: .7; font-weight: 400; }
.lightbox__btn {
	position: absolute;
	display: grid;
	place-items: center;
	width: 48px; height: 48px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .14);
	color: var(--white);
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
}
.lightbox__btn:hover { background: var(--red); }
.lightbox__btn--close { right: 12px; top: 10px; }
.lightbox__btn--prev { left: 12px; bottom: 14px; }
.lightbox__btn--next { right: 12px; bottom: 14px; }

@media (min-width: 1024px) {
	.lightbox { padding: 56px 96px; }
	.lightbox__btn--prev { left: 24px; top: 50%; bottom: auto; transform: translateY(-50%); }
	.lightbox__btn--next { right: 24px; top: 50%; bottom: auto; transform: translateY(-50%); }
}

/* ---------------------------------------------------------------- Formulários */

.form-layout { display: grid; gap: 32px; align-items: start; }

@media (min-width: 1024px) {
	.form-layout { grid-template-columns: 1.5fr 1fr; gap: 40px; }
}

.card {
	padding: 26px 20px;
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: var(--shadow-sm);
}
@media (min-width: 640px) { .card { padding: 36px; } }

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

.field label { display: block; margin-bottom: 6px; font-weight: 800; }
.req { color: var(--red); }
.field input,
.field textarea,
.field select {
	width: 100%;
	padding: 12px 16px;
	border: 2px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--paper);
	color: var(--ink);
	font: inherit;
	transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select {
	appearance: none;
	padding-right: 44px;
	background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A2B3D' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 18px;
	cursor: pointer;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
	outline: none;
	border-color: var(--blue);
	background-color: var(--white);
	box-shadow: 0 0 0 4px var(--blue-50);
}
.field__error { display: none; margin-top: 6px; color: var(--red-700); font-size: .92rem; font-weight: 700; }
.field.has-error input,
.field.has-error textarea,
.field.has-error select { border-color: var(--red); background-color: var(--red-50); }
.field.has-error .field__error { display: block; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field__counter { display: block; margin-top: 4px; text-align: right; color: var(--muted); font-size: .85rem; }
.field__counter.is-near { color: var(--red-700); font-weight: 800; }

/* Campo antispam: fora da tela para pessoas, visível para robôs. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 14px;
	margin-top: 24px;
}
.form__status { flex: 1 1 200px; color: var(--red-700); font-weight: 700; }

.tips,
.contact-card,
.login-aside {
	padding: 22px;
	border-radius: var(--radius);
	background: var(--yellow-50);
}
.tips__photo,
.login-aside__photo {
	overflow: hidden;
	aspect-ratio: 4 / 3;
	margin-bottom: 20px;
	border-radius: var(--blob);
	border: 6px solid var(--white);
}
.tips__photo img,
.login-aside__photo img { width: 100%; height: 100%; object-fit: cover; }
.tips__title,
.contact-card__title { font-size: 1.3rem; margin-bottom: 14px; }
.tips__list { display: grid; gap: 12px; }
.tips__list li { display: flex; gap: 10px; }
.tips__list .icon { margin-top: .25em; color: var(--green-700); }
.tips__contact { margin-top: 18px; font-weight: 700; }

.contact-list { display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list strong { display: block; }
.contact-list div > span,
.contact-list div > a { display: inline-block; }
.contact-list div > span { display: block; color: var(--muted); }
.contact-list__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 44px; height: 44px;
	border-radius: var(--blob);
	color: var(--white);
}
.contact-list__icon--red { background: var(--red); }
.contact-list__icon--blue { background: var(--blue); }
.contact-list__icon--yellow { background: var(--yellow); color: var(--ink); }
.contact-list__icon--green { background: var(--green); }

.map {
	overflow: hidden;
	border: 7px solid var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	background: var(--blue-50);
}
.map iframe { display: block; width: 100%; height: 380px; border: 0; }

.login-layout { display: grid; gap: 32px; max-width: 900px; align-items: start; }
.login-form { display: grid; gap: 18px; }
.login-form .form__footer { margin-top: 6px; }

@media (min-width: 1024px) {
	.login-layout { grid-template-columns: 1fr 1fr; }
}

/* ---------------------------------------------------------------- Área do cliente */

.client { display: grid; gap: 40px; }
.client > * { min-width: 0; }
.client__title { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 1.3rem; }
.client__title .icon { color: var(--red); }
.client__lead { margin: -6px 0 16px; color: var(--muted); }
.client__empty { color: var(--muted); }
.client__contact { margin-top: 16px; font-weight: 700; }
.client__logout { margin-top: 18px; text-align: center; font-weight: 700; }
.client__logout a { display: inline-flex; align-items: center; gap: 6px; }

.client-event { display: grid; gap: 20px; align-items: center; }
.client-countdown {
	display: grid;
	place-items: center;
	align-content: center;
	justify-self: center;
	width: 170px;
	aspect-ratio: 1;
	border-radius: var(--blob);
	background: var(--yellow);
	color: var(--ink);
	text-align: center;
	box-shadow: var(--shadow-sm);
	animation: float 7s ease-in-out infinite;
}
.client-countdown__num { font: 800 3.6rem/1 var(--font-display); }
.client-countdown__today { font: 800 2.2rem/1.1 var(--font-display); }
.client-countdown__label { font-weight: 800; }
@media (min-width: 640px) {
	.client-event { grid-template-columns: 1fr auto; padding-right: 40px; }
}
.client-event__list { display: grid; gap: 14px; }
.client-event__list li { display: flex; gap: 14px; align-items: center; }
.client-event__list li.is-past { opacity: .6; }
.client-event__list strong { display: block; font-size: 1.1rem; }
.client-event__list small { color: var(--muted); }
.client-event__date {
	display: grid;
	place-items: center;
	flex: none;
	width: 64px; height: 64px;
	border-radius: var(--blob);
	background: var(--red);
	color: var(--white);
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	font-size: .78rem;
}
.client-event__date strong { font: 800 1.6rem/1 var(--font-display); }

.client-photos .album { margin-bottom: 28px; }
.client-photos .album__track { grid-auto-columns: 76%; }

.field__hint { margin-top: 6px; color: var(--muted); font-size: .9rem; }

/* Convite virtual: formulário + prévia (área do cliente e painel). */
.invite-builder { display: grid; gap: 20px; align-items: start; }
.invite-form .form__grid { grid-template-columns: 1fr; }
.invite-form .form__footer { flex-wrap: wrap; }
/* Festa única do cliente: só a data (o convite usa a data da agenda). */
.invite-event { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--blue-50); color: var(--blue-700); font-weight: 800; }
.invite-event .icon { flex: none; }

.channel { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 20px; padding: 0; border: 0; }
.channel legend { margin-bottom: 8px; padding: 0; font-weight: 800; }
.channel__item { position: relative; cursor: pointer; }
.channel__item input { position: absolute; opacity: 0; pointer-events: none; }
.channel__item span {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 10px;
	border: 2px solid var(--line);
	border-radius: 999px;
	background: var(--white);
	font-weight: 800;
	transition: border-color .15s, background .15s, color .15s;
}
.channel__item:hover span { border-color: var(--green); }
.channel__item input:checked + span { border-color: var(--green); background: var(--green-50); color: var(--green-700); }
.channel__item--whatsapp input:checked + span { border-color: #25D366; background: #E4F9EC; color: #128C4A; }
.channel__item input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.invite-preview { position: relative; }
.invite-preview__label { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--muted); font-size: .9rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.invite-preview__image { display: block; }
.invite-preview__image canvas,
.invite-preview__image img { display: block; width: 100%; height: auto; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }

@media (min-width: 1024px) {
	.invite-builder--wide { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 32px; }
	.invite-builder--wide .invite-preview { position: sticky; top: 24px; }
}

.client-invites { margin-top: 24px; }
.client-invites__title { margin-bottom: 12px; font-size: 1.1rem; }
.client-invites__list { display: grid; gap: 12px; }
.client-invites__list li { display: flex; gap: 12px; align-items: flex-start; }
.client-invites__list strong { display: block; line-height: 1.3; }
.client-invites__list small { color: var(--muted); }
.client-invites__icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--green-50); color: var(--green-700); }
.client-invites__icon--whatsapp { background: #E4F9EC; color: #128C4A; }
.client-invites__fail { color: var(--red-700); font-weight: 800; }

@media (min-width: 640px) {
	.client-photos .album__track { grid-auto-columns: 40%; }
}
@media (min-width: 1024px) {
	.client { gap: 48px; }
	.client-photos .album__track { grid-auto-columns: calc((100% - 56px) / 4.4); }
}
/* ---------------------------------------------------------------- 404 */

.notfound__inner { max-width: 640px; text-align: center; }
.notfound__balloon {
	display: grid;
	margin-inline: auto;
	place-items: center;
	width: 96px; height: 96px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: var(--red-50);
	color: var(--red);
	animation: float 4s ease-in-out infinite;
}
.notfound__balloon .icon { width: 52px; height: 52px; }
.notfound__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 12px; margin-top: 28px; }

/* ---------------------------------------------------------------- Diálogo */

.modal {
	width: min(92vw, 420px);
	padding: 0;
	border: 0;
	border-radius: var(--radius);
	background: var(--white);
	color: var(--ink);
	box-shadow: var(--shadow);
	overflow: hidden;
}
.modal::backdrop { background: rgba(24, 25, 38, .55); }
.modal__body { position: relative; padding: 36px 28px 28px; text-align: center; }
.modal__icon {
	display: inline-grid;
	place-items: center;
	width: 72px; height: 72px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: var(--green);
	color: var(--white);
}
.modal--error .modal__icon { background: var(--red); }
.modal__icon .icon { width: 36px; height: 36px; }
.modal__title { font-family: var(--font-body); font-size: 1.4rem; font-weight: 800; }
.modal__text { margin: 10px 0 22px; color: var(--muted); }

.confetti {
	position: absolute;
	top: -10px;
	width: 9px; height: 14px;
	border-radius: 3px;
	animation: confetti 1.6s ease-out forwards;
	pointer-events: none;
}
@keyframes confetti {
	to { top: 105%; opacity: 0; }
}

/* ---------------------------------------------------------------- Rodapé */

.site-footer {
	position: relative;
	margin-top: 28px;
	background: var(--red);
	color: rgba(255, 255, 255, .92);
}
.site-footer::before {
	content: '';
	position: absolute;
	bottom: 100%;
	left: 0; right: 0;
	height: 28px;
	background: var(--red);
	-webkit-mask: var(--cloud) repeat-x left bottom / 140px 28px;
	mask: var(--cloud) repeat-x left bottom / 140px 28px;
}
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--yellow); }

.site-footer__grid {
	display: grid;
	gap: 32px;
	padding-top: 40px;
	padding-bottom: 36px;
}
.site-footer__brand img { width: 170px; margin-bottom: 12px; }
.site-footer__title {
	margin-bottom: 12px;
	color: var(--yellow);
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	font-size: .85rem;
}
.site-footer__nav ul { display: grid; gap: 6px; }
.site-footer__nav a { text-decoration: none; font-weight: 700; }
.site-footer__contact ul { display: grid; gap: 12px; }
.site-footer__contact li { display: flex; gap: 10px; }
.site-footer__contact .icon { margin-top: .25em; color: var(--yellow); }

.site-footer__bottom {
	padding: 18px 0 22px;
	background: var(--red-700);
	font-size: .92rem;
}
.site-footer__bottom .container { display: grid; gap: 6px; }
.site-footer__note { opacity: .85; }

@media (min-width: 640px) {
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
	.site-footer__grid { grid-template-columns: 1.3fr 1fr 1.3fr; gap: 48px; padding-top: 56px; }
}

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

.js [data-reveal]:not(.is-visible) {
	opacity: 0;
	transform: translateY(24px);
}
[data-reveal] { transition: opacity .7s ease, transform .7s ease; }

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
}
