/* =========================================================
   IGVEC - BANNERS INICIAIS / SCIENCE HERO
   ========================================================= */

.igvec-science-hero {
	background: #f4f7fb;
	padding: 14px 12px;
	overflow: hidden;
}

.igvec-banner-grid {
	margin: 0;
}

/* espaçamento entre os cards */
.banner-spacing {
	margin-bottom: 10px;
}

/* CARD */

.science-banner-card {
	position: relative;
	display: block;
	width: 100%;
	height: 500px;
	border-radius: 22px;
	overflow: hidden;
	background: #07111d;
	text-decoration: none !important;

	box-shadow:
		0 10px 34px rgba(15, 23, 42, .20),
		0 0 0 1px rgba(15, 23, 42, .08);

	transform: translateY(0);
	transition:
		transform .45s ease,
		box-shadow .45s ease;

	animation: bannerFade .7s ease both;
}

/* IMAGEM */

.science-banner-img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center top;

	transform: scale(1.01);

	filter:
		brightness(1.00)
		contrast(1.02)
		saturate(1.03);

	transition:
		transform .9s ease,
		filter .9s ease;
}

/* OVERLAY MAIS LEVE */

.science-banner-overlay {
	position: absolute;
	inset: 0;
	z-index: 2;

	background:
		linear-gradient(
			180deg,
			rgba(3, 8, 15, .00) 0%,
			rgba(3, 8, 15, .03) 50%,
			rgba(3, 8, 15, .34) 100%
		);

	pointer-events: none;
}

/* BRILHO CIÊNCIA */

.science-banner-glow {
	position: absolute;
	inset: 0;
	z-index: 3;

	background:
		radial-gradient(
			circle at top left,
			rgba(0, 255, 247, .16),
			transparent 36%
		);

	opacity: .35;
	transition: opacity .5s ease;
	pointer-events: none;
}

/* BORDA PREMIUM */

.science-banner-border {
	position: absolute;
	inset: 0;
	z-index: 5;

	border-radius: 22px;
	border: 1px solid rgba(120, 220, 255, .22);

	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, .05),
		0 0 24px rgba(0, 180, 255, .05);

	pointer-events: none;
}

/* SCAN SUAVE */

.science-banner-scan {
	position: absolute;
	top: 0;
	left: -140%;
	width: 70%;
	height: 100%;
	z-index: 4;

	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, .07),
		rgba(140, 255, 250, .12),
		transparent
	);

	transform: skewX(-18deg);
	transition: left .9s ease;
	pointer-events: none;
}

/* ÁREA DO BOTÃO */

.science-banner-content {
	position: absolute;
	left: 22px;
	bottom: 22px;
	z-index: 6;

	display: flex;
	align-items: center;
	justify-content: flex-start;
}

/* BOTÃO */

.science-banner-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;

	padding: 15px 22px;
	min-height: 54px;

	border-radius: 15px;

	background: #a7fff6;
	color: #07111d;

	font-size: 14px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: .05em;
	text-transform: uppercase;

	box-shadow:
		0 10px 28px rgba(0, 255, 240, .30),
		0 0 0 1px rgba(255, 255, 255, .65);

	transition:
		transform .35s ease,
		background .35s ease,
		box-shadow .35s ease;

	backdrop-filter: blur(10px);
}

.science-banner-cta i {
	font-size: 15px;
	transition: transform .3s ease;
}

/* HOVER DESKTOP */

.science-banner-card:hover {
	transform: translateY(-6px);

	box-shadow:
		0 18px 48px rgba(15, 23, 42, .30),
		0 0 0 1px rgba(120, 220, 255, .16);
}

.science-banner-card:hover .science-banner-img {
	transform: scale(1.055);

	filter:
		brightness(1.06)
		contrast(1.04)
		saturate(1.07);
}

.science-banner-card:hover .science-banner-glow {
	opacity: .75;
}

.science-banner-card:hover .science-banner-scan {
	left: 140%;
}

.science-banner-card:hover .science-banner-cta {
	transform: translateX(5px);
	background: #ffffff;

	box-shadow:
		0 12px 32px rgba(0, 255, 240, .35),
		0 0 0 1px rgba(255, 255, 255, .80);
}

.science-banner-card:hover .science-banner-cta i {
	transform: translateX(3px);
}

/* ANIMAÇÃO ENTRADA */

.science-banner-delay-1 {
	animation-delay: .05s;
}

.science-banner-delay-2 {
	animation-delay: .16s;
}

.science-banner-delay-3 {
	animation-delay: .27s;
}

@keyframes bannerFade {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* TABLET */

@media (max-width: 991px) {

	.igvec-science-hero {
		padding: 12px 10px;
	}

	.science-banner-card {
		height: 430px;
		border-radius: 18px;
	}

	.science-banner-border {
		border-radius: 18px;
	}

	.science-banner-content {
		left: 18px;
		bottom: 18px;
	}

	.science-banner-cta {
		padding: 14px 19px;
		min-height: 50px;
		font-size: 13px;
		border-radius: 14px;
	}
}

/* MOBILE */

@media (max-width: 767px) {

	.igvec-science-hero {
		padding: 10px 12px;
		background: #f4f7fb;
	}

	.banner-spacing {
		padding-left: 0 !important;
		padding-right: 0 !important;
		margin-bottom: 14px;
	}

	.science-banner-card {
		height: auto;
		aspect-ratio: 400 / 500;
		border-radius: 18px;
		transform: none;

		box-shadow:
			0 10px 26px rgba(15, 23, 42, .18),
			0 0 0 1px rgba(15, 23, 42, .08);
	}

	.science-banner-img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center top;

		transform: scale(1);

		filter:
			brightness(1.03)
			contrast(1.02)
			saturate(1.04);
	}

	.science-banner-overlay {
		background:
			linear-gradient(
				180deg,
				rgba(3, 8, 15, .00) 0%,
				rgba(3, 8, 15, .02) 58%,
				rgba(3, 8, 15, .28) 100%
			);
	}

	.science-banner-glow {
		opacity: .28;
	}

	.science-banner-content {
		left: 18px;
		bottom: 18px;
	}

	.science-banner-cta {
		padding: 14px 20px;
		min-height: 50px;
		font-size: 13px;
		border-radius: 14px;
	}

	.science-banner-card:hover {
		transform: none;
	}

	.science-banner-card:hover .science-banner-img {
		transform: scale(1);
	}

	.science-banner-card:hover .science-banner-cta {
		transform: none;
	}
}

/* MOBILE PEQUENO */

@media (max-width: 420px) {

	.igvec-science-hero {
		padding: 8px 10px;
	}

	.science-banner-content {
		left: 16px;
		bottom: 16px;
	}

	.science-banner-cta {
		padding: 13px 18px;
		min-height: 48px;
		font-size: 12px;
	}
}