/* Ajustes exclusivos de Nossa História. */
body .history-origin > .wrap:first-child{text-align:center}
body .history-origin > .wrap:first-child h1.big{
 font-size:clamp(40px,4.5vw,64px)!important;font-weight:800;
 line-height:1.14;max-width:1100px;margin-left:auto;margin-right:auto;margin-bottom:34px;
}
body .history-origin > .wrap:first-child > p.lead{
 max-width:100%;margin-left:auto;margin-right:auto;text-align:center;text-wrap:wrap;
}

/* Abertura com maior largura para reduzir quebras sem diminuir a fonte. */
body .history-origin > .wrap:first-child{max-width:1440px}

/* Abertura de Nossa História: subir o conjunto em 1cm. */
body .history-origin > .wrap:first-child{translate:0 -1cm}

/* Missão e Visão à direita; leão existente à esquerda. */
body .history-origin .institutional.essence-direction{padding-left:280px;padding-right:0}
body .history-origin .essence-direction:before{
 position:absolute;display:block;left:0;right:auto;top:25px;width:230px;margin:0;
}
@media(max-width:850px){
 body .history-origin .institutional.essence-direction{padding-left:180px;padding-right:0}
 body .history-origin .essence-direction:before{left:0;right:auto;top:40px;width:140px}
}
@media(max-width:600px){
 body .history-origin .institutional.essence-direction{padding-left:0}
 body .history-origin .essence-direction:before{position:relative;grid-column:1;grid-row:1;left:0;top:0;margin:0;width:110px}
}

/* Subir somente o leão em 0,5cm. */
body .history-origin .essence-direction:before{translate:0 -.5cm}

/* Mais presença para Missão e Visão; Malawi 1cm abaixo. */
body .history-origin .essence-direction > div > .label{
 font-size:24px;font-weight:800;line-height:1.25;letter-spacing:.08em;margin-bottom:18px;
}
body .history-origin .essence-direction > div > p{margin-top:0;line-height:1.6}
body .history-origin + section.founder-ending#idealizador{margin-top:-1.5cm}

/* Missão e Visão: composição equilibrada e marca proporcional ao texto. */
body .history-origin .institutional.essence-direction{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
 gap:44px;align-items:center;
 padding:36px 0 36px 230px;
 min-height:270px;
}
body .history-origin .essence-direction:before{
 left:0;right:auto;top:50%;translate:0 -50%;
 width:180px;height:240px;aspect-ratio:auto;
 background-position:center;background-size:contain;
}
body .history-origin .essence-direction > div{align-self:center;min-width:0}
body .history-origin .essence-direction > div > .label{margin:0 0 16px}
body .history-origin .essence-direction > div > p{max-width:none;margin:0;line-height:1.55}
@media(max-width:850px){
 body .history-origin .institutional.essence-direction{grid-template-columns:1fr;gap:28px;padding:30px 0 30px 155px;min-height:0}
 body .history-origin .essence-direction:before{position:absolute;width:125px;height:190px;top:50%;translate:0 -50%;margin:0}
}
@media(max-width:600px){
 body .history-origin .institutional.essence-direction{padding:28px 0;grid-template-columns:1fr;gap:26px}
 body .history-origin .essence-direction:before{position:relative;grid-column:1;grid-row:1;top:0;translate:none;width:100px;height:150px;margin:0}
}

/* Dar presença ao leão sem alterar a composição aprovada. */
body .history-origin .essence-direction:before{opacity:.22}

/* Teste: somente os títulos Missão e Visão centralizados nas colunas. */
body .history-origin .essence-direction > div > .label{text-align:center}
body .history-origin .essence-direction > div > p{text-align:left}

/* Eixo das imagens e duas colunas com leitura centralizada. */
body .history-origin .institutional.essence-direction{
 max-width:1240px;margin-left:auto;margin-right:auto;
 column-gap:48px;
}
body .history-origin .essence-direction:before{left:-.5cm;background-position:left center}
body .history-origin .essence-direction > div{text-align:center}
body .history-origin .essence-direction > div > p{text-align:center;text-wrap:balance}
@media(min-width:851px){body .history-origin .institutional.essence-direction{padding-left:200px;padding-right:0}}
@media(max-width:600px){body .history-origin .essence-direction:before{left:0}}

/* Ordem narrativa: Idealizador antes de Malawi, com fundos alternados. */
body main section#idealizador.founder-ending{background:#fff!important}
body main section#impacto.story{background:#f8f7f5!important}

/* Abertura de Nossa História: reduzir o espaço inferior do fundo em 2cm. */
body main section.history-origin{padding-bottom:max(0px,calc(88px - 2cm))}
@media(max-width:850px){body main section.history-origin{padding-bottom:max(0px,calc(64px - 2cm))}}

/* Malawi: bloco 0,5cm acima e conteúdo interno mais 0,5cm acima. */
body main section#impacto.story{margin-top:-.5cm}
body main section#impacto.story > .wrap{translate:0 -1cm}

/* Malawi: retirar 2cm de espaço inferior. */
body main section#impacto.story{padding-bottom:max(0px,calc(88px - 2cm))}
@media(max-width:850px){body main section#impacto.story{padding-bottom:max(0px,calc(64px - 2cm))}}

/* Malawi com título de seção acima do conjunto imagem e narrativa. */
body main section#impacto.story > .malawi-heading{text-align:center;margin-bottom:32px}
body main section#impacto.story .malawi-heading h2{
 font-size:clamp(40px,4vw,55px)!important;font-weight:800;line-height:1.2;
 margin:0;color:#021a27;
}
body main section#impacto.story .malawi-subtitle{
 font-size:clamp(26px,2.5vw,34px);line-height:1.25;margin:0 0 24px;color:#021a27;
}
