/* SOBRE NÓS · Games · Kit E · Lilás: mosaico de cards em 12 colunas */

.nx-sobre__grade {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 16px;
	padding: 8px max(24px, calc((100% - 1344px) / 2)) 48px;
}

.nx-sobre__card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 26px;
	border-radius: 20px;
	background: #FFFFFF;
	box-shadow: var(--nx-sombra);
}

/* Abertura na cor do site + foto */
.nx-sobre__abertura {
	grid-column: span 8;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 16px;
	min-height: 340px;
	padding: 44px;
	border-radius: 20px;
	background: var(--nx-accent);
	color: var(--nx-on-accent, #FFFFFF);
}

.nx-sobre__abertura.is-cheia {
	grid-column: 1 / -1;
	min-height: 280px;
}

.nx-sobre__eyebrow {
	font-size: 14px;
	font-weight: 700;
}

.nx-sobre__title {
	max-width: 820px;
	margin: 0;
	font-family: var(--nx-font-title);
	font-size: 44px;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.05;
	color: inherit;
	text-wrap: balance;
}

.nx-sobre__foto {
	grid-column: span 4;
	position: relative;
	margin: 0;
	min-height: 340px;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: var(--nx-sombra);
}

.nx-sobre__foto img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nx-sobre__foto figcaption {
	position: absolute;
	left: 12px;
	bottom: 12px;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: #1B1B1B;
	font-size: 12px;
	font-weight: 600;
}

/* Títulos das seções na largura toda */
.nx-sobre__secao {
	grid-column: 1 / -1;
	margin: 24px 0 0;
	font-family: var(--nx-font-title);
	font-size: 32px;
	font-weight: 700;
	letter-spacing: -0.025em;
	color: var(--nx-ink);
	scroll-margin-top: 24px;
}

.nx-sobre__frase {
	grid-column: 1 / -1;
	margin: -4px 0 0;
	font-size: 17px;
	line-height: 1.6;
	color: var(--nx-muted);
}

/* Como trabalhamos: 4 cards */
.nx-sobre__valor {
	grid-column: span 3;
}

.nx-sobre__icone {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: var(--nx-accent);
	color: var(--nx-on-accent, #FFFFFF);
	transform: rotate(-6deg);
}

.nx-sobre__valor strong {
	font-family: var(--nx-font-title);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--nx-ink);
}

.nx-sobre__valor span:last-child {
	font-size: 15px;
	line-height: 1.5;
	color: var(--nx-text);
}

/* O que fazemos e não fazemos */
.nx-sobre__lista {
	grid-column: span 6;
	gap: 16px;
	padding: 32px;
}

.nx-sobre h2 {
	margin: 0;
	font-family: var(--nx-font-title);
	font-size: 22px;
	font-weight: 700;
	color: var(--nx-ink);
}

.nx-sobre .nx-sobre__secao {
	font-size: 32px;
}

.nx-sobre__lista ul {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nx-sobre__lista li {
	display: flex;
	gap: 12px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--nx-text);
}

.nx-sobre__sim,
.nx-sobre__nao {
	display: flex;
	flex-shrink: 0;
	margin-top: 3px;
}

.nx-sobre__sim {
	color: var(--nx-accent-ink, var(--nx-accent));
}

.nx-sobre__nao {
	color: var(--nx-muted);
}

/* Quem faz */
.nx-sobre__pessoas {
	grid-column: span 6;
	margin: 0;
	padding: 20px;
}

.nx-sobre__pessoas img {
	display: block;
	width: 100%;
	height: 300px;
	border-radius: 14px;
	object-fit: cover;
}

.nx-sobre__pessoas figcaption {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 0 8px 8px;
}

.nx-sobre__selo {
	align-self: flex-start;
	padding: 6px 12px;
	border-radius: 999px;
	background: color-mix(in oklab, var(--nx-accent) 16%, #FFFFFF);
	color: var(--nx-text);
	font-size: 12px;
	font-weight: 700;
}

.nx-sobre__pessoas strong {
	font-family: var(--nx-font-title);
	font-size: 20px;
	font-weight: 700;
	color: var(--nx-ink);
}

.nx-sobre__pessoas p {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--nx-muted);
}

.nx-sobre__pessoa {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
}

.nx-sobre__pessoa span {
	font-size: 15px;
	font-weight: 600;
	color: var(--nx-muted);
}

/* Ficha da empresa (card escuro) + quem está por trás */
.nx-sobre__ficha {
	grid-column: span 7;
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 24px;
	padding: 28px 32px;
	border-radius: 20px;
	background: #15171C;
	box-shadow: var(--nx-sombra);
	color: #FFFFFF;
	scroll-margin-top: 24px;
}

.nx-sobre .nx-sobre__ficha h2 {
	margin-bottom: 6px;
	color: #FFFFFF;
}

.nx-sobre__ficha dl {
	margin: 0;
}

.nx-sobre__ficha dl > div {
	display: grid;
	grid-template-columns: 170px minmax(0, 1fr);
	gap: 16px;
	padding: 12px 0;
	border-top: 1px solid #33363D;
}

.nx-sobre__ficha dt {
	font-size: 14px;
	color: #B9BDC6;
}

.nx-sobre__ficha dd {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.nx-sobre__ficha dd a {
	color: inherit;
}

.nx-sobre__lado {
	grid-column: span 5;
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 24px;
}

.nx-sobre__quem {
	gap: 14px;
	padding: 28px;
}

.nx-sobre__quem p {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--nx-muted);
}

.nx-sobre__sites {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.nx-sobre__sites a {
	padding: 9px 14px;
	border-radius: 999px;
	background: var(--nx-soft);
	font-size: 14px;
	font-weight: 600;
	color: var(--nx-text);
	text-decoration: none;
}

.nx-sobre__sites a:hover {
	background: var(--nx-dark);
	color: #FFFFFF;
}

.nx-sobre__fale {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 28px;
	border-radius: 20px;
	background: color-mix(in oklab, var(--nx-accent) 30%, #FFFFFF);
	box-shadow: var(--nx-sombra);
	font-family: var(--nx-font-title);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--nx-ink);
	text-decoration: none;
}

.nx-sobre__fale:hover {
	background: var(--nx-accent);
	color: var(--nx-on-accent, #FFFFFF);
}

/* Telas menores */
@media (max-width: 1100px) {
	.nx-sobre__abertura,
	.nx-sobre__foto,
	.nx-sobre__ficha,
	.nx-sobre__lado {
		grid-column: 1 / -1;
	}

	.nx-sobre__foto {
		min-height: 280px;
	}

	.nx-sobre__valor {
		grid-column: span 6;
	}

	.nx-sobre__lado {
		margin-top: 0;
	}
}

@media (max-width: 640px) {
	.nx-sobre__grade {
		gap: 12px;
		padding: 8px 16px 40px;
	}

	.nx-sobre__abertura {
		min-height: 0;
		padding: 28px 24px;
	}

	.nx-sobre__title {
		font-size: 30px;
	}

	.nx-sobre .nx-sobre__secao {
		font-size: 24px;
	}

	.nx-sobre__valor,
	.nx-sobre__lista,
	.nx-sobre__pessoas {
		grid-column: 1 / -1;
	}

	.nx-sobre__lista,
	.nx-sobre__ficha {
		padding: 22px;
	}

	.nx-sobre__pessoas img {
		height: 220px;
	}

	.nx-sobre__ficha dl > div {
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.nx-sobre__fale {
		padding: 22px;
		font-size: 20px;
	}
}
