/*
 * Manifesto institucional da Home.
 *
 * Responsabilidade: estilizar apenas o componente
 * `template-parts/manifesto/manifesto-home.php`, mantendo escopo BEM com
 * prefixo `rnen-manifesto`.
 */

.rnen-manifesto {
	--rnen-manifesto-background: var(--wp--preset--color--neutral-50, var(--rnen-color-surface));
	--rnen-manifesto-surface: var(--wp--preset--color--neutral-0, var(--rnen-color-background));
	--rnen-manifesto-title-color: var(--wp--preset--color--neutral-900, var(--rnen-color-text));
	--rnen-manifesto-text-color: var(--wp--preset--color--neutral-600, var(--rnen-color-text-muted));
	--rnen-manifesto-accent: var(--wp--preset--color--primary-700, var(--rnen-color-primary-700));
	--rnen-manifesto-accent-soft: var(--wp--preset--color--primary-50, var(--rnen-color-primary-50));

	padding-block: var(--rnen-space-16);
	background: var(--rnen-manifesto-background);
}

.rnen-manifesto__container {
	width: min(100% - (var(--rnen-container-padding) * 2), var(--rnen-container-max-width));
	margin-inline: auto;
}

.rnen-manifesto__intro {
	max-width: 48rem;
	margin-inline: auto;
	text-align: center;
}

.rnen-manifesto__eyebrow {
	margin-block-end: var(--rnen-space-4);
	color: var(--rnen-manifesto-accent);
	font-size: var(--rnen-font-size-sm);
	font-weight: var(--rnen-font-weight-bold);
	line-height: var(--rnen-line-height-tight);
	text-transform: uppercase;
	letter-spacing: 0;
}

.rnen-manifesto__title {
	max-width: 25ch;
	margin-inline: auto;
	margin-block-end: var(--rnen-space-5);
	color: var(--rnen-manifesto-title-color);
	font-size: var(--rnen-font-size-4xl);
	line-height: var(--rnen-line-height-heading);
}

.rnen-manifesto__description {
	max-width: 44rem;
	margin-inline: auto;
	margin-block-end: 0;
	color: var(--rnen-manifesto-text-color);
	font-size: var(--rnen-font-size-lg);
	line-height: var(--rnen-line-height-base);
}

.rnen-manifesto__pillars {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--rnen-space-6);
	margin-block-start: var(--rnen-space-12);
}

.rnen-manifesto__pillar {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 0;
	padding: var(--rnen-space-6);
	text-align: center;
	background: var(--rnen-manifesto-surface);
	border: var(--rnen-border-width) var(--rnen-border-style) var(--wp--preset--color--neutral-200, var(--rnen-color-border));
	border-radius: var(--rnen-radius-lg);
	box-shadow: var(--rnen-shadow-xs);
}

.rnen-manifesto__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	margin-block-end: var(--rnen-space-5);
	color: var(--rnen-manifesto-accent);
	background: var(--rnen-manifesto-accent-soft);
	border-radius: var(--rnen-radius-full);
}

.rnen-manifesto__icon-svg {
	width: 2rem;
	height: 2rem;
	fill: none;
	stroke: currentcolor;
	stroke-width: 3;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.rnen-manifesto__pillar-title {
	margin-block-end: var(--rnen-space-3);
	color: var(--rnen-manifesto-title-color);
	font-size: var(--rnen-font-size-xl);
	line-height: var(--rnen-line-height-heading);
}

.rnen-manifesto__pillar-description {
	margin-block-end: 0;
	color: var(--rnen-manifesto-text-color);
	font-size: var(--rnen-font-size-md);
	line-height: var(--rnen-line-height-base);
}

@media (max-width: 63.9375rem) {
	.rnen-manifesto {
		padding-block: var(--rnen-space-12);
	}

	.rnen-manifesto__pillars {
		grid-template-columns: 1fr;
		max-width: 36rem;
		margin-inline: auto;
		margin-block-start: var(--rnen-space-10);
	}
}

@media (max-width: 35.9375rem) {
	.rnen-manifesto {
		padding-block: var(--rnen-space-10);
	}

	.rnen-manifesto__title {
		max-width: none;
		font-size: var(--rnen-font-size-3xl);
	}

	.rnen-manifesto__description {
		font-size: var(--rnen-font-size-md);
	}

	.rnen-manifesto__pillar {
		padding: var(--rnen-space-5);
	}
}
