/* ============================================================
   Grid de Certificações — CSS isolado (âmbito .gsc-wrap)
   Prefixado para não afetar outras secções do site.
   ============================================================ */

.gsc-wrap,
.gsc-wrap *,
.gsc-wrap *::before,
.gsc-wrap *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	text-transform: none;
	letter-spacing: normal;
	list-style: none;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.gsc-wrap {
	width: 100%;
}

.gsc-grid {
	--gsc-title-fs: 16px;
	--gsc-text-fs: 13px;
	--gsc-columns: 4;

	display: grid;
	grid-template-columns: repeat(var(--gsc-columns), 1fr);
	gap: 20px;
	width: 100%;
}

.gsc-card {
	background: #fff;
	border: 1px solid #edeef1;
	border-radius: 14px;
	padding: 28px 18px 22px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 14px;
	box-shadow: 0 3px 12px rgba(20, 20, 30, 0.05);
	transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, border-color .35s ease;
}

.gsc-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 16px 28px rgba(20, 20, 30, 0.1);
	border-color: #dfe2e8;
}

.gsc-card-logo {
	height: 78px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform .35s cubic-bezier(.22,1,.36,1);
}

.gsc-card:hover .gsc-card-logo {
	transform: scale(1.06);
}

.gsc-card-logo img {
	max-height: 78px;
	max-width: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
}

.gsc-card-logo-placeholder {
	color: #c7cad1;
	display: flex;
}

.gsc-card-body {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.gsc-card-title {
	display: block;
	font-size: var(--gsc-title-fs);
	font-weight: 700;
	line-height: 1.3;
	color: #16181d;
}

.gsc-card-text {
	display: block;
	font-size: var(--gsc-text-fs);
	line-height: 1.45;
	color: #767a83;
}

.gsc-caption {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-align: center;
	margin-top: 26px;
	font-size: 14px;
	color: #767a83;
	line-height: 1.5;
}

.gsc-caption-icon {
	flex: 0 0 auto;
	color: #d64545;
	display: flex;
}

.gsc-caption-text strong {
	color: #d64545;
	font-weight: 700;
}

/* Responsivo */
@media (max-width: 1024px) {
	.gsc-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
	.gsc-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

@media (max-width: 460px) {
	.gsc-grid { grid-template-columns: 1fr; }
	.gsc-caption { flex-direction: column; gap: 4px; }
}
