/**
 * RN Automation – Homepage v2.1
 * Assinatura: painel IHM no hero. Tipografia industrial. Processo em timeline real.
 */

.rn-home {
	overflow-x: hidden;
}

/* ── Hero ── */
.rn-hero {
	position: relative;
	padding: 72px 0 80px;
	background: var(--rn-gradient-brand);
	color: var(--rn-white);
	overflow: hidden;
}

.rn-hero__scanlines {
	position: absolute;
	inset: 0;
	opacity: 0.04;
	background: repeating-linear-gradient(
		0deg,
		transparent,
		transparent 2px,
		rgba(255, 255, 255, 0.5) 2px,
		rgba(255, 255, 255, 0.5) 3px
	);
	pointer-events: none;
}

.rn-hero .container {
	position: relative;
	z-index: 1;
}

.rn-hero__layout {
	display: grid;
	grid-template-columns: 1fr min(360px, 40%);
	gap: 48px;
	align-items: center;
}

.rn-hero__eyebrow {
	margin: 0 0 16px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
}

.rn-hero__title {
	margin: 0 0 20px;
	font-size: clamp(2.1rem, 4.8vw, 3.25rem);
	line-height: 1.05;
	font-weight: 800;
	color: var(--rn-white);
	text-transform: uppercase;
}

.rn-hero__subtitle {
	margin: 0 0 32px;
	font-size: 1.05rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.78);
	max-width: 520px;
	font-family: var(--rn-font-body);
	text-transform: none;
	font-weight: 400;
}

.rn-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.rn-btn-ghost {
	color: var(--rn-white) !important;
	border-color: rgba(255, 255, 255, 0.35) !important;
	background: transparent !important;
}

.rn-btn-ghost:hover {
	border-color: var(--rn-white) !important;
	background: rgba(255, 255, 255, 0.08) !important;
	color: var(--rn-white) !important;
}

/* ── Painel OEE (hero) ── */
.rn-oee-panel {
	position: relative;
	width: 100%;
	max-width: 360px;
	justify-self: end;
	transition: transform 0.25s ease;
}

.rn-oee-panel:hover {
	transform: translateY(-2px);
}

.rn-oee-panel__depth {
	position: absolute;
	top: 8px;
	right: -8px;
	bottom: -8px;
	left: 8px;
	z-index: 0;
	background: linear-gradient(165deg, #0a1018 0%, #121c2a 100%);
	border: 1px solid rgba(255, 255, 255, 0.04);
	border-radius: 10px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
	pointer-events: none;
}

.rn-oee-panel__card {
	position: relative;
	z-index: 1;
	overflow: hidden;
	background: linear-gradient(180deg, #141f35 0%, #0e1526 100%);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.05),
		0 20px 44px rgba(0, 0, 0, 0.45);
}

.rn-oee-panel:hover .rn-oee-panel__card {
	box-shadow:
		0 0 0 1px rgba(255, 51, 0, 0.14),
		0 24px 48px rgba(0, 0, 0, 0.5);
}

.rn-oee-panel__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 14px 10px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rn-oee-panel__titles {
	min-width: 0;
}

.rn-oee-panel__title {
	margin: 0;
	font-family: var(--rn-font-body);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: #fff;
	text-transform: uppercase;
}

.rn-oee-panel__subtitle {
	margin: 3px 0 0;
	font-size: 0.75rem;
	line-height: 1.35;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.78);
}

.rn-oee-panel__header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.rn-oee-panel__live {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 8px;
	font-family: var(--rn-font-mono);
	font-size: 9px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #4ade80;
	background: rgba(34, 197, 94, 0.14);
	border: 1px solid rgba(74, 222, 128, 0.35);
	border-radius: 3px;
	animation: rn-oee-live-blink 1.8s ease-in-out infinite;
}

.rn-oee-panel__live-dot {
	flex-shrink: 0;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #4ade80;
	box-shadow: 0 0 6px rgba(74, 222, 128, 0.8);
	animation: rn-oee-live-dot 1.8s ease-in-out infinite;
}

.rn-oee-panel:hover .rn-oee-panel__live,
.rn-oee-panel:hover .rn-oee-panel__live-dot {
	animation-play-state: paused;
	opacity: 1;
}

.rn-oee-panel__close {
	font-size: 1rem;
	line-height: 1;
	color: rgba(255, 255, 255, 0.45);
}

.rn-oee-panel__body {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 10px;
	padding: 12px 14px;
}

.rn-oee-panel__gauge-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.rn-oee-panel__gauge-label {
	margin: 0 0 6px;
	width: 100%;
	font-family: var(--rn-font-mono);
	font-size: 9px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
	text-align: center;
}

.rn-oee-panel__gauge {
	position: relative;
	width: 100%;
	max-width: 112px;
	aspect-ratio: 1;
}

.rn-oee-panel__gauge-svg {
	display: block;
	width: 100%;
	height: 100%;
}

.rn-oee-panel__gauge-track {
	stroke: rgba(255, 255, 255, 0.14);
	stroke-width: 8;
}

.rn-oee-panel__gauge-fill {
	stroke: var(--rn-signal);
	stroke-width: 8;
	stroke-linecap: round;
	filter: drop-shadow(0 0 4px rgba(255, 51, 0, 0.35));
	transition: stroke-dashoffset 0.15s linear;
}

.rn-oee-panel__gauge-tick {
	font-family: var(--rn-font-mono);
	font-size: 8px;
	font-weight: 500;
	fill: rgba(255, 255, 255, 0.55);
	text-anchor: middle;
	dominant-baseline: middle;
}

.rn-oee-panel__gauge-center {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
}

.rn-oee-panel__gauge-value {
	font-family: var(--rn-font-mono);
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1;
	color: #ff6633;
	text-shadow: 0 0 12px rgba(255, 102, 51, 0.25);
}

.rn-oee-panel__gauge-unit {
	font-family: var(--rn-font-mono);
	font-size: 0.6rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	color: rgba(255, 255, 255, 0.8);
}

.rn-oee-panel__metrics {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.rn-oee-panel__metric {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 8px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 5px;
}

.rn-oee-panel__metric-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	font-size: 11px;
	color: #ff6633;
	background: rgba(255, 51, 0, 0.12);
	border: 1px solid rgba(255, 102, 51, 0.35);
	border-radius: 4px;
}

.rn-oee-panel__metric-body {
	flex: 1;
	min-width: 0;
}

.rn-oee-panel__metric-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px;
	margin-bottom: 5px;
}

.rn-oee-panel__metric-name {
	font-family: var(--rn-font-mono);
	font-size: 9px;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.78);
}

.rn-oee-panel__metric-value {
	flex-shrink: 0;
	font-family: var(--rn-font-mono);
	font-size: 0.78rem;
	font-weight: 700;
	color: #ff6633;
}

.rn-oee-panel__metric-bar {
	height: 4px;
	background: rgba(255, 255, 255, 0.12);
	border-radius: 2px;
	overflow: hidden;
}

.rn-oee-panel__metric-fill {
	position: relative;
	height: 100%;
	background: linear-gradient(90deg, #e04a00 0%, var(--rn-signal) 100%);
	border-radius: 2px;
	overflow: hidden;
	transition: width 0.15s linear;
}

.rn-oee-panel__metric-fill::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(255, 255, 255, 0.2) 50%,
		transparent 100%
	);
	transform: translateX(-100%);
	animation: rn-oee-bar-scan 3.5s ease-in-out infinite;
}

@keyframes rn-oee-bar-scan {
	0% { transform: translateX(-100%); }
	100% { transform: translateX(200%); }
}

.rn-oee-panel__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 14px 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rn-oee-panel__formula {
	margin: 0;
	flex: 1 1 160px;
	font-size: 0.72rem;
	line-height: 1.4;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.72);
}

.rn-oee-panel__actions {
	display: flex;
	gap: 6px;
	flex-shrink: 0;
}

.rn-oee-panel__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 64px;
	padding: 6px 11px;
	font-family: var(--rn-font-mono);
	font-size: 9px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 4px;
	border: 1px solid transparent;
	cursor: pointer;
	appearance: none;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rn-oee-panel__btn--ghost {
	color: rgba(255, 255, 255, 0.78);
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.14);
}

.rn-oee-panel__btn--primary,
.rn-oee-panel__btn--primary:hover,
.rn-oee-panel__btn--primary:focus {
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	background: var(--rn-signal);
	border-color: #ff6633;
	box-shadow: 0 2px 8px rgba(255, 51, 0, 0.25);
}

.rn-oee-panel__btn--primary:hover {
	background: #ff6633;
	border-color: #ff6633;
}

@keyframes rn-oee-live-blink {
	0%, 100% {
		opacity: 1;
		border-color: rgba(74, 222, 128, 0.4);
		box-shadow: 0 0 0 rgba(74, 222, 128, 0);
	}
	50% {
		opacity: 0.45;
		border-color: rgba(74, 222, 128, 0.9);
		box-shadow: 0 0 12px rgba(74, 222, 128, 0.45);
	}
}

@keyframes rn-oee-live-dot {
	0%, 100% {
		opacity: 1;
		transform: scale(1);
		box-shadow: 0 0 8px rgba(74, 222, 128, 0.9);
	}
	50% {
		opacity: 0.25;
		transform: scale(0.75);
		box-shadow: 0 0 4px rgba(74, 222, 128, 0.3);
	}
}

@media (max-width: 991px) {
	.rn-oee-panel {
		max-width: 380px;
		margin: 0 auto;
		justify-self: center;
	}

	.rn-oee-panel__depth {
		top: 6px;
		right: -6px;
		bottom: -6px;
		left: 6px;
	}
}

@media (max-width: 767px) {
	.rn-oee-panel {
		max-width: 100%;
	}

	.rn-oee-panel__body {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.rn-oee-panel__gauge-wrap {
		padding-bottom: 4px;
	}

	.rn-oee-panel__footer {
		flex-direction: column;
		align-items: stretch;
	}

	.rn-oee-panel__actions {
		width: 100%;
	}

	.rn-oee-panel__btn {
		flex: 1;
	}
}

/* ── Seções ── */
.rn-section {
	padding: 64px 0;
}

.rn-section__header {
	max-width: 640px;
	margin-bottom: 44px;
}

.rn-section__header--center {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.rn-section__eyebrow {
	margin: 0 0 10px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rn-signal);
}

.rn-section h2 {
	margin: 0 0 12px;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	line-height: 1.1;
	color: var(--rn-ink);
}

.rn-section__lead {
	margin: 0;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--rn-text-muted);
	font-family: var(--rn-font-body);
	text-transform: none;
	font-weight: 400;
}

.rn-section__footer {
	margin-top: 44px;
	text-align: center;
}

/* ── Serviços ── */
.rn-services {
	background: var(--rn-mist);
	border-top: 1px solid var(--rn-surface-alt);
}

.rn-services__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	background: transparent;
	border: none;
}

.rn-services__grid--core {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rn-clients__trust {
	font-weight: 500;
	color: var(--rn-text-muted);
}

.rn-service-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 22px 20px 24px;
	background: var(--rn-white);
	border: 1px solid rgba(255, 51, 0, 0.28);
	border-left: 3px solid var(--rn-signal);
	border-radius: 4px;
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.rn-service-card__stretched-link {
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}

.rn-service-card__stretched-link:focus-visible {
	outline: 2px solid var(--rn-signal);
	outline-offset: 3px;
}

.rn-service-card:hover {
	border-color: rgba(255, 51, 0, 0.35);
	border-left-color: var(--rn-signal);
	box-shadow: 0 8px 24px rgba(8, 16, 24, 0.08);
	transform: translateY(-2px);
}

.rn-service-card__code {
	margin: 0 0 14px;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.08em;
	color: var(--rn-signal);
}

.rn-service-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin-bottom: 14px;
	font-size: 15px;
	color: var(--rn-signal);
	background: rgba(255, 51, 0, 0.1);
	border-radius: 4px;
}

.rn-service-card__title {
	margin: 0 0 10px;
}

.rn-service-card__text {
	flex: 1;
	margin: 0 0 18px;
	font-size: 0.9rem;
	line-height: 1.6;
}

.rn-service-card__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	margin-top: auto;
}

.rn-service-card__link::after {
	content: "→";
	transition: transform 0.2s ease;
}

.rn-service-card:hover .rn-service-card__link::after {
	transform: translateX(4px);
}

.rn-service-card__link:hover {
	text-decoration: underline;
}

/* ── Problemas que resolvemos ── */
.rn-problems {
	background: var(--rn-white);
}

.rn-problems__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.rn-problems__grid--core {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (min-width: 1200px) {
	.rn-problems__grid--core {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

.rn-problems__card {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 22px 20px 24px;
	background: var(--rn-mist);
	border: 1px solid var(--rn-surface-alt);
	border-left: 3px solid var(--rn-signal);
	border-radius: 4px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.rn-problems__card:hover {
	border-color: rgba(255, 51, 0, 0.35);
	border-left-color: var(--rn-signal);
	box-shadow: 0 8px 24px rgba(8, 16, 24, 0.08);
	transform: translateY(-2px);
}

.rn-problems__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin-bottom: 14px;
	font-size: 15px;
	color: var(--rn-signal);
	background: rgba(255, 51, 0, 0.1);
	border-radius: 4px;
}

.rn-problems__title {
	margin: 0 0 10px;
	font-family: var(--rn-font-body);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--rn-ink);
	text-transform: none;
}

.rn-problems__text {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.65;
	color: var(--rn-text-muted);
	flex: 1;
}

.rn-problems__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px 20px;
	margin-top: 36px;
	padding-top: 28px;
	border-top: 1px solid var(--rn-surface-alt);
	text-align: center;
}

.rn-problems__cta-text {
	margin: 0;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.5;
	color: var(--rn-ink);
}

/* ── Diferenciais ── */
.rn-why {
	background: var(--rn-mist);
}

.rn-diff-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.rn-diff-card {
	padding: 24px;
	background: var(--rn-white);
	border: 1px solid var(--rn-surface-alt);
	border-left: 3px solid var(--rn-steel);
	transition: border-color 0.2s ease;
}

.rn-diff-card:hover {
	border-left-color: var(--rn-signal);
}

.rn-diff-card__tag {
	display: inline-block;
	margin-bottom: 12px;
	padding: 3px 8px;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--rn-steel);
	background: var(--rn-mist);
	border-radius: 2px;
}

.rn-diff-card h3 {
	margin: 0 0 8px;
	font-family: var(--rn-font-body);
	font-size: 1rem;
	font-weight: 600;
	color: var(--rn-ink);
	text-transform: none;
	letter-spacing: 0;
}

.rn-diff-card p {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.6;
	color: var(--rn-text-muted);
}

/* ── Segmentos ── */
.rn-segments {
	background: var(--rn-white);
}

.rn-segments__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.rn-segment-card {
	padding: 24px;
	background: var(--rn-mist);
	border: 1px solid var(--rn-surface-alt);
	border-radius: 4px;
}

.rn-segment-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 16px;
	font-size: 1.25rem;
	color: var(--rn-signal);
	background: var(--rn-white);
	border-radius: 4px;
}

.rn-segment-card h3 {
	margin: 0 0 8px;
	font-family: var(--rn-font-body);
	font-size: 1rem;
	font-weight: 600;
	color: var(--rn-ink);
	text-transform: none;
}

.rn-segment-card p {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.6;
	color: var(--rn-text-muted);
}

.rn-problems__grid--home {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rn-problems__card--compact {
	padding: 18px 16px 20px;
}

.rn-problems__card--compact .rn-problems__title {
	margin-bottom: 0;
	font-size: 0.95rem;
}

.rn-problems__card--compact .rn-problems__icon {
	width: 32px;
	height: 32px;
	margin-bottom: 12px;
	font-size: 14px;
}

/* ── Tecnologias (Home — resumo) ── */
.rn-home-tech {
	background: var(--rn-mist);
	border-top: 1px solid var(--rn-surface-alt);
	border-bottom: 1px solid var(--rn-surface-alt);
}

.rn-home-tech__inner {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.rn-home-tech__lead,
.rn-home-tech__siemens {
	margin: 0 0 16px;
	font-size: 0.95rem;
	line-height: 1.65;
	color: var(--rn-text-muted);
	font-family: var(--rn-font-body);
	text-transform: none;
	font-weight: 400;
}

.rn-home-tech__siemens strong {
	color: var(--rn-ink);
	font-weight: 600;
}

.rn-home-tech__link-wrap {
	margin: 8px 0 0;
}

.rn-home-tech__link {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--rn-signal);
	text-decoration: none;
}

.rn-home-tech__link:hover {
	text-decoration: underline;
}

/* ── Confiança ── */
.rn-trust {
	background: var(--rn-white);
}

.rn-trust__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	max-width: 880px;
	margin: 0 auto;
}

.rn-trust__item {
	padding: 20px 16px;
	text-align: center;
	background: var(--rn-mist);
	border: 1px solid var(--rn-surface-alt);
	border-radius: 4px;
}

.rn-trust__value {
	display: block;
	margin-bottom: 4px;
	font-family: var(--rn-font-display);
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1;
	color: var(--rn-signal);
}

.rn-trust__label {
	display: block;
	font-size: 0.88rem;
	line-height: 1.45;
	font-weight: 500;
	color: var(--rn-ink);
}

.rn-trust__logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 24px 32px;
	margin-top: 40px;
	padding-top: 32px;
	border-top: 1px solid var(--rn-surface-alt);
}

.rn-trust__logo img {
	max-height: 44px;
	width: auto;
	opacity: 0.75;
	filter: grayscale(100%);
	transition: opacity 0.2s ease, filter 0.2s ease;
}

.rn-trust__logo img:hover {
	opacity: 1;
	filter: grayscale(0%);
}

.rn-btn-whatsapp-solid {
	background: #25d366 !important;
	border-color: #25d366 !important;
	color: #fff !important;
}

.rn-btn-whatsapp-solid:hover {
	background: #1ebe57 !important;
	border-color: #1ebe57 !important;
	color: #fff !important;
}

.rn-btn-ghost-on-dark {
	color: var(--rn-white) !important;
	border-color: rgba(255, 255, 255, 0.35) !important;
	background: transparent !important;
}

.rn-btn-ghost-on-dark:hover {
	border-color: var(--rn-white) !important;
	background: rgba(255, 255, 255, 0.08) !important;
}

/* ── Aplicações / cases ── */
.rn-applications {
	background: var(--rn-surface);
}

.rn-applications__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.rn-application-card {
	overflow: hidden;
	padding: 0;
	background: var(--rn-white);
	border-left: none;
	border-radius: 4px;
	box-shadow: 0 2px 12px rgba(8, 16, 24, 0.08);
}

.rn-application-card__media {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--rn-ink);
}

.rn-application-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.35s ease;
}

.rn-application-card:hover .rn-application-card__media img {
	transform: scale(1.03);
}

.rn-application-card__body {
	padding: 24px 24px 28px;
	border-left: 3px solid var(--rn-signal);
}

.rn-application-card__tag {
	display: inline-block;
	margin-bottom: 12px;
	padding: 4px 10px;
	font-family: var(--rn-font-mono);
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--rn-signal);
	background: rgba(255, 51, 0, 0.08);
	border-radius: 2px;
}

.rn-application-card h3 {
	margin: 0 0 14px;
	font-family: var(--rn-font-body);
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--rn-ink);
	text-transform: none;
}

.rn-application-card__compare {
	display: grid;
	gap: 10px;
}

.rn-application-card__before,
.rn-application-card__after {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.6;
}

.rn-application-card__before {
	color: #3d4556;
}

.rn-application-card__after {
	color: var(--rn-ink);
}

.rn-application-card__before strong,
.rn-application-card__after strong {
	font-weight: 600;
	color: var(--rn-ink);
}

.rn-application-card p {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.65;
	color: var(--rn-text-muted);
}

/* ── Tecnologias ── */
.rn-tech {
	position: relative;
	isolation: isolate;
	background: var(--rn-ink);
	color: var(--rn-white);
}

.rn-tech::before {
	content: '';
	position: absolute;
	z-index: -1;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	margin-left: -50vw;
	background: var(--rn-ink);
}

.rn-tech .rn-section__header {
	max-width: 820px;
}

.rn-tech .rn-section__eyebrow {
	color: var(--rn-signal);
}

.rn-tech .rn-section__header h2,
.rn-tech .rn-section__lead {
	color: var(--rn-white);
}

.rn-tech .rn-section__lead {
	opacity: 1;
	color: rgba(255, 255, 255, 0.88);
}

.rn-tech__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	align-items: stretch;
}

.rn-tech-card:last-child:nth-child(7) {
	grid-column: 1;
}

.rn-tech-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 22px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 4px;
}

.rn-tech-card strong {
	display: block;
	margin-bottom: 6px;
	font-family: var(--rn-font-body);
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--rn-white);
}

.rn-tech-card span {
	display: block;
	flex: 1;
	font-size: 0.875rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.88);
}

/* ── Processo (timeline — numeração justificada) ── */
.rn-process {
	background: var(--rn-white);
}

.rn-process__timeline {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	position: relative;
}

.rn-process__timeline::before {
	content: "";
	position: absolute;
	top: 18px;
	left: 10%;
	right: 10%;
	height: 2px;
	background: var(--rn-surface-alt);
	z-index: 0;
}

.rn-process__step {
	position: relative;
	z-index: 1;
	padding: 0 12px;
	text-align: center;
}

.rn-process__marker {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin-bottom: 16px;
	font-family: var(--rn-font-mono);
	font-size: 12px;
	font-weight: 500;
	color: var(--rn-white);
	background: var(--rn-ink);
	border: 2px solid var(--rn-signal);
	border-radius: 50%;
}

.rn-process__body h3 {
	margin: 0 0 8px;
	font-family: var(--rn-font-body);
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--rn-ink);
	text-transform: none;
	letter-spacing: 0;
}

.rn-process__body p {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.6;
	color: #3d4556;
	font-weight: 400;
}

/* ── Clientes ── */
.rn-clients {
	padding: 64px 0;
	background: var(--rn-mist);
	border-top: 1px solid var(--rn-surface-alt);
}

.rn-clients__strip {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 24px 36px;
	padding: 32px;
	background: var(--rn-white);
	border: 1px solid var(--rn-surface-alt);
}

.rn-clients__item img {
	max-height: 48px;
	width: auto;
	max-width: 120px;
	object-fit: contain;
	opacity: 0.7;
	filter: grayscale(100%);
	transition: opacity 0.2s ease, filter 0.2s ease;
}

.rn-clients__item:hover img {
	opacity: 1;
	filter: grayscale(0%);
}

/* ── CTA ── */
.rn-cta {
	padding-bottom: 80px;
}

.rn-cta__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	padding: 40px 44px;
	background: var(--rn-ink);
	border-left: 4px solid var(--rn-signal);
}

.rn-cta__text h2 {
	margin: 0 0 10px;
	font-size: clamp(1.3rem, 2.5vw, 1.65rem);
	color: var(--rn-white);
	line-height: 1.15;
}

.rn-cta__text p {
	margin: 0;
	max-width: 480px;
	font-size: 0.95rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.72);
	font-family: var(--rn-font-body);
	text-transform: none;
}

.rn-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.rn-btn-whatsapp {
	color: var(--rn-white) !important;
	border-color: rgba(255, 255, 255, 0.35) !important;
	background: transparent !important;
}

.rn-btn-whatsapp:hover {
	border-color: #25d366 !important;
	background: rgba(37, 211, 102, 0.12) !important;
}

/* ── Responsivo ── */
@media (max-width: 991px) {
	.rn-hero__layout {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.rn-services__grid,
	.rn-services__grid--core,
	.rn-diff-grid,
	.rn-segments__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.rn-problems__grid,
	.rn-problems__grid--home,
	.rn-trust__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rn-applications__grid,
	.rn-tech__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rn-tech-card:last-child:nth-child(7) {
		grid-column: auto;
	}

	.rn-process__timeline {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.rn-process__timeline::before {
		display: none;
	}

	.rn-process__step {
		display: grid;
		grid-template-columns: 36px 1fr;
		gap: 16px;
		text-align: left;
		padding: 0;
	}

	.rn-process__marker {
		margin-bottom: 0;
	}
}

@media (max-width: 767px) {
	.rn-hero {
		padding: 56px 0 64px;
	}

	.rn-section {
		padding: 56px 0;
	}

	.rn-services__grid,
	.rn-services__grid--core,
	.rn-diff-grid,
	.rn-segments__grid,
	.rn-problems__grid,
	.rn-problems__grid--home,
	.rn-trust__grid,
	.rn-applications__grid,
	.rn-tech__grid {
		grid-template-columns: 1fr;
	}

	.rn-problems__cta {
		flex-direction: column;
	}

	.rn-problems__cta .btn {
		width: 100%;
		max-width: 320px;
	}

	.rn-hero__actions,
	.rn-cta__actions {
		flex-direction: column;
		width: 100%;
	}

	.rn-hero__actions .btn,
	.rn-cta__actions .btn {
		width: 100%;
		text-align: center;
	}

	.rn-cta__inner {
		padding: 28px 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rn-oee-panel:hover {
		transform: none;
	}

	.rn-oee-panel__live,
	.rn-oee-panel__live-dot,
	.rn-oee-panel__metric-fill::after {
		animation: none !important;
	}

	.rn-oee-panel__gauge-fill,
	.rn-oee-panel__metric-fill {
		transition: none !important;
	}

	.rn-problems__card,
	.rn-service-card {
		transition: none;
	}

	.rn-problems__card:hover,
	.rn-service-card:hover {
		transform: none;
	}
}
