/* Portfólio secundário: fotos reais sem repetir imagens da página principal. */
.gallery-page {
	background: #f6f8fa;
}
.gallery-intro {
	padding: 54px 0 38px;
	background: var(--blue-950);
	color: white;
}
.gallery-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 13px;
	margin-bottom: 30px;
	color: #d4dee8;
}
.gallery-breadcrumbs a {
	text-decoration: underline;
	text-underline-offset: 4px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}
.gallery-intro .eyebrow {
	color: var(--yellow);
}
.gallery-intro h1 {
	font-size: clamp(34px, 4vw, 52px);
	line-height: 1.15;
	letter-spacing: -1px;
	margin: 18px 0;
}
.gallery-intro h1 span {
	color: var(--yellow);
}
.gallery-intro p:not(.eyebrow) {
	font-size: 16px;
	max-width: 620px;
	color: #e0e7ef;
	line-height: 1.7;
}
.gallery-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}
.gallery-tabs a {
	min-height: 46px;
}
.gallery-tabs .button-light {
	color: var(--blue-900);
}
.portfolio-section {
	padding-block: 45px 60px;
	scroll-margin-top: 110px;
}
.portfolio-section h2,
.video-section h2 {
	font-size: clamp(27px, 3vw, 36px);
}
.portfolio-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 24px;
}
.portfolio-heading p {
	font-size: 13px;
	color: var(--gray-600);
	margin-top: 10px;
}
.photo-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-bottom: 24px;
}
.photo-filters button {
	min-height: 44px;
	padding: 10px 17px;
	border: 1px solid #b4c3d0;
	background: white;
	color: var(--blue-900);
	border-radius: 6px;
	font: 600 13px var(--font-body);
}
.photo-filters button[aria-pressed='true'] {
	background: var(--blue-900);
	color: white;
	border-color: var(--blue-900);
}
.photo-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}
.photo-card {
	margin: 0;
	background: white;
	border: 1px solid #d5dfe8;
	border-radius: 10px;
	overflow: hidden;
	min-width: 0;
}
.photo-card a {
	display: block;
	position: relative;
	background: #e1e7eb;
}
.photo-card img {
	display: block;
	width: 100%;
	height: 270px;
	object-fit: cover;
	transition: transform 0.25s;
}
.photo-card a:hover img {
	transform: scale(1.025);
}
.photo-card a:focus-visible {
	outline-offset: -5px;
}
.photo-zoom {
	position: absolute;
	bottom: 12px;
	right: 12px;
	padding: 7px 10px;
	border-radius: 5px;
	background: #08233eeb;
	color: white;
	font-size: 11px;
	pointer-events: none;
}
.photo-card figcaption {
	padding: 17px;
	font-size: 13px;
	color: var(--blue-900);
	line-height: 1.5;
	min-height: 73px;
}
.photo-card figcaption span {
	display: block;
	color: #52667b;
	font-size: 10px;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 5px;
}
.gallery-pagination {
	display: flex;
	justify-content: center;
	margin-top: 30px;
}
.video-section {
	background: white;
	border-block: 1px solid #e0e7ee;
	scroll-margin-top: 100px;
}
.video-section > .container > p {
	font-size: 14px;
	color: var(--gray-600);
	max-width: 600px;
	margin-top: 16px;
}
.video-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-top: 28px;
}
.video-card {
	margin: 0;
	border: 1px solid #d5dfe8;
	border-radius: 10px;
	overflow: hidden;
	background: #f7f9fb;
}
.video-card video {
	display: block;
	width: 100%;
	height: 300px;
	object-fit: contain;
	background: #071a2d;
}
.video-caption {
	padding: 20px;
}
.video-caption h3 {
	font-size: 17px;
}
.video-caption p {
	color: var(--gray-600);
	font-size: 13px;
	line-height: 1.65;
	margin-top: 10px;
}
.gallery-cta {
	padding-block: 50px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 25px;
}
.gallery-cta h2 {
	font-size: 27px;
}
.gallery-cta p {
	font-size: 14px;
	color: var(--gray-600);
	margin-top: 12px;
}
.photo-viewer {
	width: min(1100px, 94vw);
	max-width: 94vw;
	max-height: 96dvh;
	margin: auto;
	padding: 18px;
	color: white;
	background: #071a2d;
	border: 1px solid #54708a;
	border-radius: 10px;
}
.photo-viewer::backdrop {
	background: #020b15e8;
}
.viewer-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 14px;
}
.viewer-top p {
	font-size: 13px;
	color: #d7e3ef;
}
.photo-viewer button {
	min-height: 44px;
	min-width: 44px;
	padding: 8px 14px;
	border: 1px solid #8ca5bb;
	border-radius: 6px;
	background: transparent;
	color: white;
	font: 600 13px var(--font-body);
}
.photo-viewer img {
	display: block;
	width: 100%;
	height: min(72dvh, 800px);
	object-fit: contain;
}
.viewer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-top: 14px;
}
.viewer-bottom p {
	font-size: 13px;
	text-align: center;
}
.portfolio-link {
	display: flex;
	justify-content: center;
	margin-top: 28px;
}
[data-business='redes'] .service-visual.scene-window > img {
	transform: none;
	object-position: center;
}
[data-business='redes'] .pet-visual.has-photo > img {
	position: absolute;
	inset: 0;
	object-position: center 50%;
}
.network-gallery-grid .stairs-proof {
	object-position: center 45%;
}
.network-gallery-grid .court-proof {
	object-position: center 75%;
}
.portal-contact-choices {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
@media (max-width: 800px) {
	.gallery-intro {
		padding-block: 28px 35px;
	}
	.gallery-breadcrumbs {
		margin-bottom: 18px;
	}
	.gallery-intro h1 {
		font-size: 35px;
	}
	.gallery-intro p:not(.eyebrow) {
		font-size: 15px;
	}
	.portfolio-heading {
		align-items: start;
		flex-direction: column;
		gap: 5px;
	}
	.photo-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 13px;
	}
	.photo-card img {
		height: 220px;
	}
	.video-grid {
		grid-template-columns: 1fr;
	}
	.video-card {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
	.video-card video {
		height: 280px;
	}
	.video-caption {
		padding: 18px;
		align-self: center;
	}
	.gallery-cta {
		flex-direction: column;
		align-items: start;
	}
	.gallery-cta .button {
		width: 100%;
	}
	.photo-viewer {
		padding: 12px;
	}
	.viewer-bottom {
		gap: 8px;
	}
	.viewer-bottom p {
		font-size: 12px;
	}
}
@media (max-width: 500px) {
	.photo-card img {
		height: 175px;
	}
	.photo-card figcaption {
		font-size: 12px;
		padding: 12px;
	}
	.photo-zoom {
		font-size: 10px;
		padding: 6px 8px;
		bottom: 9px;
		right: 9px;
	}
	.photo-filters {
		gap: 7px;
	}
	.photo-filters button {
		font-size: 12px;
		padding: 9px 12px;
	}
	.video-card {
		display: block;
	}
	.video-card video {
		height: 310px;
	}
	.video-caption {
		padding: 20px;
	}
	.gallery-tabs .button {
		flex: 1;
		font-size: 12px;
		padding-inline: 10px;
	}
}

@media (max-width: 800px) {
	.site-header.menu-open .main-nav a {
		color: var(--blue-900);
		border-color: #b7c5d1;
	}
	.site-header.menu-open .main-nav a[aria-current='page'] {
		color: var(--blue-900);
		background: #fff3cf;
		border-color: #9b7100;
	}
}
