/* Página Projetos — alinhada à identidade Segen1 (#0F7DCC) */

.projetos-page {
	padding-top: 72px;
}

.projetos-hero {
	background:
		radial-gradient(ellipse 80% 60% at 10% 20%, rgba(15, 125, 204, 0.35), transparent 55%),
		radial-gradient(ellipse 70% 50% at 90% 80%, rgba(8, 60, 110, 0.5), transparent 50%),
		linear-gradient(145deg, #0a4a7a 0%, #0F7DCC 45%, #085a96 100%);
	color: #fff;
	padding: 4.5rem 0 3.5rem;
}

.projetos-hero__eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.75rem;
	opacity: 0.85;
	margin-bottom: 0.75rem;
	font-weight: 600;
}

.projetos-hero h1 {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
	max-width: 18ch;
	line-height: 1.15;
	margin-bottom: 1rem;
}

.projetos-hero__lead {
	max-width: 36rem;
	opacity: 0.92;
	font-size: 1.05rem;
	margin-bottom: 1.75rem;
}

.projetos-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.projetos-filters {
	background: #f5f8fb;
	border-bottom: 1px solid rgba(15, 125, 204, 0.12);
	position: sticky;
	top: 72px;
	z-index: 100;
}

.projetos-filter.active {
	box-shadow: 0 2px 8px rgba(15, 125, 204, 0.25);
}

.projeto-card {
	background: #fff;
	border: 1px solid rgba(15, 125, 204, 0.12);
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.projeto-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(10, 60, 110, 0.12);
}

.projeto-card__media {
	position: relative;
	display: block;
	padding: 0;
	border: 0;
	background: #0b1c2c;
	cursor: pointer;
	aspect-ratio: 16 / 11;
	overflow: hidden;
	width: 100%;
}

.projeto-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top left;
	display: block;
	transition: transform 0.35s ease;
}

.projeto-card:hover .projeto-card__media img {
	transform: scale(1.03);
}

.projeto-card__badge {
	position: absolute;
	left: 0.75rem;
	bottom: 0.75rem;
	background: rgba(15, 125, 204, 0.92);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 600;
	padding: 0.25rem 0.55rem;
	border-radius: 999px;
}

.projeto-card__body {
	padding: 1.1rem 1.15rem 1.25rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.projeto-card__body h2 {
	margin-bottom: 0.4rem;
	color: #123;
}

.projeto-card__body p {
	color: #556;
	font-size: 0.92rem;
	flex: 1;
	margin-bottom: 0.85rem;
}

.projetos-cta {
	background: #f5f8fb;
	border-top: 1px solid rgba(15, 125, 204, 0.1);
}

.projetos-modal {
	border: 0;
	border-radius: 14px;
	overflow: hidden;
}

.projetos-modal__close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 5;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	padding: 0.55rem;
	opacity: 1;
}

.projetos-modal__media {
	background: #0b1c2c;
	min-height: 280px;
}

.projetos-modal__media img {
	width: 100%;
	height: 100%;
	min-height: 320px;
	max-height: 70vh;
	object-fit: cover;
	object-position: top left;
	display: block;
}

.projetos-modal__info {
	padding: 2rem 1.75rem 1.5rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.projetos-modal__cat {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #0F7DCC;
	margin-bottom: 0.35rem;
}

.projetos-modal__info h2 {
	margin-bottom: 0.85rem;
	color: #1a2330;
}

.projetos-modal__info > p#projetoModalDesc {
	color: #445;
	font-size: 0.95rem;
	line-height: 1.55;
	margin-bottom: 1rem;
}

.projetos-modal__tech {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-bottom: 0.85rem;
}

.projeto-tech-pill {
	display: inline-block;
	background: #eef4f9;
	color: #234;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.28rem 0.65rem;
	border-radius: 999px;
}

.projetos-modal__period {
	font-size: 0.85rem;
	color: #778;
	margin-bottom: 1.25rem;
}

.projetos-modal__nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.65rem 1rem;
	border-top: 1px solid #e8eef4;
	background: #fafcfe;
}

.projetos-modal__arrow {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	border: 0;
	background: #0F7DCC;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.15rem;
	transition: background 0.15s ease;
}

.projetos-modal__arrow:hover {
	background: #0c6bb0;
}

@media (max-width: 991.98px) {
	.projetos-modal__media img {
		max-height: 42vh;
		min-height: 220px;
	}
}
