/**
 * Empório do Galeto — Galeria de fotos (Botafogo)
 * Reaproveita a identidade visual da Home (mesmas cores, tipografia,
 * cards e botões). Inclui um "skin" para o formulário do Ninja Forms,
 * já que o conteúdo do formulário em si vem do shortcode do plugin.
 */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
* {
	font-weight: 400;
}

html {
  scroll-behavior: smooth;
}

.fp-galeto {
	--g-cream: var(--fp-cor-texto, #efece7);
	--g-muted: var(--fp-cor-texto-suave, #988c81);
	--g-orange: var(--fp-cor-destaque, #f2800d);
	--g-gold: var(--fp-cor-destaque-claro, #e8b130);
	--g-btn-end: var(--fp-cor-gradiente-fim, #d44211);
	--g-bg: var(--fp-cor-fundo, #161412);
	--g-bg-deep: var(--fp-cor-fundo-escuro, #0e0c0b);
	--g-card: var(--fp-cor-card, #221e1c);
	--g-line: var(--fp-cor-borda, #37322f);

	--g-display: "Playfair Display", "Times New Roman", serif;
	--g-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

	--g-radius-card: 16px;
	--g-radius-ico: 12px;
	--g-radius-btn: 8px;

	background: var(--g-bg);
	color: var(--g-cream);
	font-family: var(--g-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

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

.fp-galeto img {
	display: block;
	max-width: 100%;
}

.fpg-container {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------------------------------------------------------------
   Tipografia compartilhada
   --------------------------------------------------------------- */

.fpg-eyebrow {
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	letter-spacing: 2.8px;
	text-transform: uppercase;
	color: var(--g-orange);
}

.fpg-title {
	margin: 0;
	font-family: var(--g-display);
	font-size: 48px;
	font-weight: 700;
	line-height: 48px;
	color: var(--g-cream);
	text-align: center;
}

.fpg-title em {
	font-style: italic;
	background: linear-gradient(180deg, var(--g-orange), var(--g-gold));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	font-weight: bold;
}

.fpg-title--sm { font-size: 36px; line-height: 40px; }

.fpg-lead {
	margin: 0;
	max-width: 660px;
	font-size: 18px;
	line-height: 28px;
	color: var(--g-muted);
	text-align: center;
}

.fpg-ico {
	display: inline-block;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	background-color: currentColor;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
	vertical-align: middle;
}

.fpg-ico--pin-lg {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.fpg-ico--pin {
	width: 12px;
	height: 12px;
	margin-right: 4px;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.fpg-ico--instagram {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='20' x='2' y='2' rx='5'/%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'/%3E%3Cline x1='17.5' x2='17.51' y1='6.5' y2='6.5'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='20' x='2' y='2' rx='5'/%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'/%3E%3Cline x1='17.5' x2='17.51' y1='6.5' y2='6.5'/%3E%3C/svg%3E");
}

.fpg-ico--phone {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------
   MENU (idêntico ao da Home)
   --------------------------------------------------------------- */

.fpg-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	padding: 20px 0;
	background: transparent;
	transition: background .25s ease, padding .25s ease, box-shadow .25s ease;
}

.fpg-nav.is-stuck {
	padding: 10px 0;
	background: rgba(22, 20, 18, .92);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 1px 0 var(--g-line);
}

.fpg-nav__inner {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.fpg-nav__marca {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.fpg-nav__marca img {
	width: 96px;
	height: auto;
}

.fpg-nav__links {
	display: flex;
	align-items: center;
	gap: 24px;
}

.fpg-nav__links a {
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	color: var(--g-muted);
	text-decoration: none;
	transition: color .2s ease;
}

.fpg-nav__links a:hover { color: var(--g-cream); }

.fpg-nav__btn {
	padding: 8px 20px;
	border-radius: var(--g-radius-btn);
	background: linear-gradient(135deg, var(--g-orange) 0%, var(--g-btn-end) 100%);
	color: var(--g-bg-deep) !important;
	font-weight: 600 !important;
	transition: filter .2s ease;
}

.fpg-nav__btn:hover { filter: brightness(1.07); }

.fpg-nav__toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0;
	background: none;
	border: none;
	cursor: pointer;
}

.fpg-nav__toggle span {
	display: block;
	width: 22px;
	height: 2px;
	margin: 0 auto;
	background: var(--g-cream);
	border-radius: 2px;
	transition: transform .2s ease, opacity .2s ease;
}

/* ---------------------------------------------------------------
   TOPO (hero mais compacto que o da Home, sem botões)
   --------------------------------------------------------------- */

.fpg-tw-hero {
	position: relative;
	min-height: 56vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 160px 0 96px;
	overflow: hidden;
}

.fpg-tw-hero__bg,
.fpg-tw-hero__veil,
.fpg-tw-hero__glow {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.fpg-tw-hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fpg-tw-hero__veil {
	background: linear-gradient(
		180deg,
		rgba(22, 20, 18, .75) 0%,
		rgba(22, 20, 18, .6) 50%,
		rgba(22, 20, 18, 1) 100%
	);
}

.fpg-tw-hero__glow {
	top: auto;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 600px;
	height: 260px;
	background: rgba(242, 128, 13, .1);
	border-radius: 9999px;
	filter: blur(120px);
}

.fpg-tw-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 760px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.fpg-tw-hero__eyebrow {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	letter-spacing: 4.2px;
	margin-bottom: 20px;
}

.fpg-tw-hero__eyebrow .fpg-ico { width: 18px; height: 18px; }

.fpg-tw-hero__titulo {
	margin: 0 0 20px;
	font-family: var(--g-display);
	font-size: 56px;
	font-weight: 700;
	line-height: 1.1;
	color: var(--g-cream);
}

.fpg-tw-hero__titulo em {
	font-style: italic;
	background: linear-gradient(180deg, var(--g-orange), var(--g-gold));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	font-weight: bold;
}

.fpg-tw-hero__lead {
	max-width: 620px;
	margin: 0;
	font-size: 18px;
	line-height: 28px;
	color: #dedede;
}


/* ---------------------------------------------------------------
   GALERIA
   --------------------------------------------------------------- */

.fpg-gal {
	position: relative;
	padding: 0 0 120px;
	overflow: hidden;
}

.fpg-gal__glow {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 700px;
	height: 400px;
	background: rgba(242, 128, 13, .05);
	border-radius: 9999px;
	filter: blur(150px);
	pointer-events: none;
}

.fpg-gal__grid {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 260px;
	grid-auto-flow: dense;
	gap: 16px;
}

.fpg-gal__item {
	position: relative;
	display: block;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--g-line);
	border-radius: var(--g-radius-card);
	background: var(--g-card);
	cursor: zoom-in;
}

.fpg-gal__item.is-vertical { grid-row: span 2; }

.fpg-gal__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}

.fpg-gal__item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(14, 12, 11, .55) 100%);
	opacity: 0;
	transition: opacity .3s ease;
	pointer-events: none;
}

.fpg-gal__item:hover img,
.fpg-gal__item:focus-visible img { transform: scale(1.05); }

.fpg-gal__item:hover::after,
.fpg-gal__item:focus-visible::after { opacity: 1; }

.fpg-gal__item:focus-visible { outline: 2px solid var(--g-orange); outline-offset: 2px; }

/* Lightbox */

.fpg-lb {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 56px 72px;
	background: rgba(14, 12, 11, .94);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.fpg-lb[hidden] { display: none; }

.fpg-lb__fig {
	margin: 0;
	max-width: 100%;
	max-height: 100%;
}

.fpg-lb__img {
	max-width: 100%;
	max-height: calc(100vh - 112px);
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7);
}

.fpg-lb__close,
.fpg-lb__nav {
	position: absolute;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid var(--g-line);
	border-radius: 9999px;
	background: rgba(34, 30, 28, .8);
	color: var(--g-cream);
	font-family: var(--g-body);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	transition: border-color .2s ease, color .2s ease;
}

.fpg-lb__close:hover,
.fpg-lb__nav:hover,
.fpg-lb__close:focus-visible,
.fpg-lb__nav:focus-visible { border-color: var(--g-orange); color: var(--g-orange); }

.fpg-lb__close { top: 20px; right: 20px; }
.fpg-lb__nav { top: 50%; transform: translateY(-50%); }
.fpg-lb__nav--prev { left: 16px; }
.fpg-lb__nav--next { right: 16px; }

.fpg-lb__count {
	position: absolute;
	bottom: 18px;
	left: 0;
	right: 0;
	margin: 0;
	font-size: 13px;
	letter-spacing: 2px;
	text-align: center;
	color: var(--g-muted);
}

/* ---------------------------------------------------------------
   RODAPÉ (idêntico ao da Home)
   --------------------------------------------------------------- */

.fpg-footer {
	padding: 64px 0;
	border-top: 1px solid var(--g-line);
	background: var(--g-bg);
}

.fpg-footer__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 48px;
}

.fpg-footer__logo {
	width: 120px;
	height: auto;
	margin-bottom: 24px;
}

.fpg-footer__marca p {
	margin: 0;
	font-size: 14px;
	line-height: 22.75px;
	color: var(--g-muted);
}

.fpg-footer__col h3 {
	margin: 0 0 20px;
	font-family: var(--g-display);
	font-size: 18px;
	font-weight: 600;
	line-height: 28px;
	color: var(--g-cream);
}

.fpg-footer__col ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.fpg-footer__col li {
	display: flex;
	align-items: center;
	font-size: 14px;
	line-height: 20px;
	color: var(--g-muted);
}

.fpg-footer__col .fpg-ico--pin { color: var(--g-orange); }

.fpg-footer__social {
	display: flex;
	gap: 12px;
}

.fpg-footer__social a {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--g-line);
	border-radius: 9999px;
	color: var(--g-muted);
	transition: border-color .2s ease, color .2s ease;
}

.fpg-footer__social a:hover {
	border-color: var(--g-orange);
	color: var(--g-orange);
}

.fpg-footer__base {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--g-line);
	text-align: center;
	display: flex;
	justify-content: space-between;
}

.fpg-footer__base p {
	margin: 0;
	font-size: 12px;
	line-height: 16px;
	color: var(--g-muted);
}

/* ---------------------------------------------------------------
   Responsivo
   --------------------------------------------------------------- */

@media (max-width: 1100px) {
	.fpg-tw-hero__titulo { font-size: 44px; }
	.fpg-title { font-size: 34px; line-height: 38px; }
}

@media (max-width: 780px) {
	.fpg-tw-hero { padding: 120px 0 72px; min-height: auto; }
	.fpg-tw-hero__titulo { font-size: 34px; }
	.fpg-tw-hero__lead { font-size: 16px; line-height: 25px; }

	.fpg-title { font-size: 26px; line-height: 32px; }
	.fpg-lead { font-size: 15px; line-height: 23px; }

	.fpg-footer__grid { grid-template-columns: 1fr; gap: 40px; }

	.fpg-nav__toggle { display: flex; }
	.fpg-nav__inner { flex-wrap: wrap; }
	.fpg-nav__marca img { width: 76px; }

	.fpg-nav__links {
		display: none;
		flex-basis: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
		margin-top: 12px;
		padding: 12px 0;
		border-top: 1px solid var(--g-line);
	}

	.fpg-nav.is-open {
		background: rgba(22, 20, 18, .97);
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
	}

	.fpg-nav.is-open .fpg-nav__links { display: flex; }
	.fpg-nav__links a { padding: 10px 4px; font-size: 15px; }

	.fpg-nav__btn {
		margin-top: 8px;
		text-align: center;
		padding: 12px 20px;
	}
	
	.fpg-footer__base {
	flex-direction: column;
		justify-content: center;
}
}

@media (max-width: 1100px) {
	.fpg-gal__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
}

@media (max-width: 780px) {
	.fpg-gal { padding-bottom: 72px; }
	.fpg-gal__grid { gap: 10px; grid-auto-rows: 150px; }
	.fpg-gal__item { border-radius: 12px; }
	.fpg-lb { padding: 64px 12px 72px; }
	.fpg-lb__nav { top: auto; bottom: 14px; transform: none; width: 44px; height: 44px; }
	.fpg-lb__nav--prev { left: 16px; }
	.fpg-lb__nav--next { right: 16px; }
	.fpg-lb__img { max-height: calc(100vh - 150px); }
}
