/* Nossa História — mobile primeiro. Fundo claro sob o topo azul (sem azul sobre azul), ritmo em múltiplos de 8px. */
.nh { --nh-tinta: #3C4C5B; --nh-claro: #E8F4FA; --nh-gap: 48px; }
.nh p { overflow-wrap: break-word; }
.nh .olho { font-size: 13px; }

/* ------------------------------------------------------------ abertura */
.nh-hero { display: grid; gap: 24px; padding-top: 24px; }
.nh-hero h1 { font-size: clamp(28px, 7.4vw, 44px); line-height: 1.15; color: var(--azul); text-wrap: balance; }
.nh-lead { margin: 12px 0 0; color: var(--nh-tinta); font-size: 17px; line-height: 1.6; max-width: 36em; }
.nh-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.nh-cta .btn, .nh-fim-bts .btn { flex: 1 1 200px; }
.nh .btn-borda { box-shadow: inset 0 0 0 1.5px var(--borda-campo); }
.nh .btn-borda:hover { background: var(--nh-claro); }

.nh-foto { position: relative; margin: 0; }
.nh-foto-clip { border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--nh-claro); box-shadow: 0 16px 40px rgba(14, 76, 115, .18); }
.nh-foto-clip img { width: 100%; height: 100%; object-fit: cover; }
.nh-selo { position: absolute; left: 12px; bottom: 12px; display: flex; align-items: center; gap: 8px; padding: 8px 12px 8px 10px; border-radius: 12px; background: #fff; color: var(--texto); font-size: 14px; line-height: 1.3; box-shadow: 0 8px 24px rgba(14, 76, 115, .18); }
.nh-selo .i { width: 20px; height: 20px; color: var(--rosa-btn); }
.nh-selo strong { display: block; font-size: 13px; font-weight: 600; color: var(--suave); }
.nh-selo span { font-weight: 700; color: var(--azul); }

/* ------------------------------------------------------------ fatos (só dados verdadeiros) */
.nh-fatos { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 32px; margin-bottom: 0; padding-block: 0; }
.nh-fatos li { display: grid; align-content: start; gap: 2px; padding: 16px 8px; text-align: center; background: #fff; box-shadow: var(--sombra); }
.nh-fatos li:first-child { border-radius: 16px 0 0 16px; }
.nh-fatos li:last-child { border-radius: 0 16px 16px 0; }
.nh-fatos li + li { border-left: 1px solid var(--linha); }
.nh-fatos strong { font: 800 clamp(20px, 6vw, 28px)/1.1 var(--fonte); color: var(--azul); letter-spacing: -.3px; }
.nh-fatos span { font-size: 13px; line-height: 1.35; color: var(--suave); }

/* ------------------------------------------------------------ trajetória */
.nh-hist, .nh-mvv { margin-top: var(--nh-gap); }
.nh-hist-cab { margin-bottom: 20px; }
.nh-hist-cab h2 { font-size: clamp(24px, 6.4vw, 32px); color: var(--azul); text-wrap: balance; }
.nh-linha { list-style: none; margin: 0; padding: 0; display: grid; }
.nh-linha li { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding-bottom: 24px; }
.nh-linha li:not(:last-child)::after { content: ""; position: absolute; left: 31px; top: 44px; bottom: 0; width: 2px; background: #CFE6F2; }
.nh-ano { display: grid; place-items: center; height: 40px; border-radius: 12px; background: var(--nh-claro); color: var(--azul); font: 800 15px var(--fonte); }
.nh-ano--hoje { background: var(--rosa-btn); color: #fff; }
.nh-linha h3 { font: 700 17px/1.3 var(--fonte); color: var(--texto); padding-top: 8px; }
.nh-linha p { margin: 4px 0 0; color: var(--nh-tinta); font-size: 15px; line-height: 1.55; }

.nh-texto { position: relative; margin-top: 8px; padding: 24px 20px 20px; border-radius: 20px; background: #fff; box-shadow: var(--sombra), inset 4px 0 0 var(--ciano); color: var(--nh-tinta); font-size: 16px; line-height: 1.65; }
.nh-texto p { margin: 0 0 12px; position: relative; }
.nh-texto p:last-child { margin-bottom: 0; color: var(--azul); font-weight: 600; }

/* ------------------------------------------------------------ missão, visão e valores */
.nh-mvv-grade { display: grid; border-radius: 20px; background: #fff; box-shadow: var(--sombra); }
.nh-mvv-item { padding: 20px; }
.nh-mvv-item + .nh-mvv-item { border-top: 1px solid var(--linha); }
.nh-mvv-item h3 { display: flex; align-items: center; gap: 12px; font-size: 22px; color: var(--azul); }
.nh-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--nh-claro); color: var(--azul); }
.nh-ico .i { width: 20px; height: 20px; }
.nh-mvv-item p { margin: 12px 0 0; color: var(--nh-tinta); font-size: 15.5px; line-height: 1.6; }

/* ------------------------------------------------------------ chamada final (clara: o rodapé já é azul-escuro) */
.nh-fim { display: grid; gap: 16px; margin-top: var(--nh-gap); padding: 24px 20px; border-radius: 22px; background: var(--nh-claro); box-shadow: inset 0 0 0 1px #D3E7F2; }
.nh-fim.wrap { width: calc(100% - 28px); }
.nh-fim h2 { font-size: clamp(24px, 6.4vw, 30px); color: var(--azul); }
.nh-fim p { margin: 6px 0 0; color: var(--nh-tinta); }
.nh-fim-bts { display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 359px) {
	.nh-fatos li { padding: 12px 4px; }
	.nh-fatos span { font-size: 13px; }
	.nh-linha li { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; }
	.nh-linha li:not(:last-child)::after { left: 27px; }
	.nh-texto, .nh-mvv-item { padding-inline: 16px; }
}

@media (min-width: 900px) {
	.nh { --nh-gap: 80px; }
	.nh-hero { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 56px; padding-top: 48px; }
	.nh-lead { font-size: 18px; }
	.nh-cta .btn, .nh-fim-bts .btn { flex: 0 0 auto; }
	.nh-foto-clip { aspect-ratio: 4 / 3; }
	.nh-selo { left: 20px; bottom: 20px; }
	.nh-fatos { max-width: 840px; margin-top: 48px; }
	.nh-fatos li { padding: 20px 12px; }
	.nh-fatos span { font-size: 14px; }
	.nh-hist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; align-items: start; }
	.nh-hist-cab { grid-column: 1 / -1; margin-bottom: 28px; }
	.nh-texto { margin-top: 0; padding: 32px; font-size: 17px; }
	.nh-mvv-grade { grid-template-columns: repeat(3, 1fr); }
	.nh-mvv-item { padding: 28px; }
	.nh-mvv-item + .nh-mvv-item { border-top: 0; border-left: 1px solid var(--linha); }
	.nh-fim { grid-template-columns: 1fr auto; align-items: center; padding: 32px 40px; }
	.nh-fim.wrap { max-width: calc(1240px - 28px); }
}
@media (min-width: 1600px) { .nh-fim.wrap { max-width: calc(1440px - 28px); } }
