/* ==================================================
SOMA LOTEAMENTOS
INSTITUCIONAL
================================================== */


/* ==================================================
INTRODUÇÃO
================================================== */

.inst-intro {

    position: relative;

    width: 100%;

    padding: 105px 0 115px 0;

    background-color: #f2f2f2;

}


/* ==================================================
CONTAINER
================================================== */

.inst-container,
.inst-pilares-container {

    width: 90%;

    max-width: 1180px;

    margin: 0 auto;

}


/* ==================================================
IDENTIFICAÇÃO
================================================== */

.inst-identificacao {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    margin-bottom: 42px;

}


.inst-identificacao p {

    margin: 0 22px;

    font-size: 13px;

    line-height: 1;

    font-weight: 700;

    letter-spacing: 3px;

    text-align: center;

    color: #1F491B;

}


.inst-linha {

    display: block;

    width: 70px;

    height: 2px;

    background-color: #1F491B;

    flex-shrink: 0;

}


/* ==================================================
CONTEÚDO
================================================== */

.inst-conteudo {

    width: 100%;

    max-width: 920px;

    margin: 0 auto;

}


.inst-conteudo h2,
.inst-pilares-titulo h2 {

    margin: 0 0 38px 0;

    font-family: 'Oswald', Arial, Helvetica, sans-serif;

    font-size: 48px;

    line-height: 1.12;

    font-weight: 600;

    letter-spacing: 0.3px;

    color: #4b4b4b;

}


/* ==================================================
TEXTOS
================================================== */

.inst-textos {

    width: 100%;

    max-width: 850px;

}


.inst-textos p {

    margin: 0 0 20px 0;

    font-size: 18px;

    line-height: 1.75;

    color: #181818;

}


.inst-textos p:last-child {

    margin-bottom: 0;

}


.inst-textos strong {

    font-weight: 700;

}


/* ==================================================
PILARES
================================================== */

.inst-pilares {

    position: relative;

    width: 100%;

    padding: 105px 0 115px 0;

    background-color: #ffffff;

}


.inst-pilares-titulo {

    width: 100%;

    max-width: 920px;

    margin: 0 auto 55px auto;

}


/* ==================================================
GRID
================================================== */

.inst-pilares-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;

    width: 100%;

}


/* ==================================================
CARD
================================================== */

.inst-pilar-card {

    position: relative;

    min-height: 330px;

    padding: 40px 32px;

    background-color: #f2f2f2;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

}


.inst-pilar-card:before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 0;

    height: 4px;

    background-color: #1F491B;

    transition: width 0.35s ease;

}


.inst-pilar-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);

}


.inst-pilar-card:hover:before {

    width: 100%;

}


/* ==================================================
ÍCONE
================================================== */

.inst-pilar-icone {

    width: 68px;

    height: 68px;

    margin-bottom: 30px;

}


.inst-pilar-icone img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: contain;

}


/* ==================================================
TÍTULO CARD
================================================== */

.inst-pilar-card h3 {

    position: relative;

    margin: 0 0 20px 0;

    padding-bottom: 16px;

    font-family: 'Oswald', Arial, Helvetica, sans-serif;

    font-size: 27px;

    line-height: 1.1;

    font-weight: 600;

    color: #1F491B;

}


.inst-pilar-card h3:after {

    content: "";

    position: absolute;

    bottom: 0;
    left: 0;

    width: 35px;

    height: 2px;

    background-color: #1F491B;

}


/* ==================================================
TEXTO CARD
================================================== */

.inst-pilar-card p {

    margin: 0;

    font-size: 16px;

    line-height: 1.7;

    color: #252525;

}


/* ==================================================
PARALLAX
MESMA IMAGEM DA PÁGINA EMPREENDIMENTOS
================================================== */

.inst-parallax {

    position: relative;

    width: 100%;

    height: 620px;

    overflow: hidden;

    background-image:
        url("../img/parallax/parceria-soma.jpg");

    background-repeat: no-repeat;

    background-position: center center;

    background-size: cover;

    background-attachment: fixed;

}


.inst-parallax-overlay {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background-color: rgba(0, 0, 0, 0.52);

    z-index: 1;

}


.inst-parallax-container {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 90%;

    max-width: 1180px;

    height: 100%;

    margin: 0 auto;

}


.inst-parallax-conteudo {

    width: 100%;

    max-width: 850px;

    text-align: center;

}


.inst-parallax-detalhe {

    display: block;

    width: 65px;

    height: 3px;

    margin: 0 auto 28px auto;

    background-color: #99C339;

}


.inst-parallax h2 {

    margin: 0 0 28px 0;

    font-family: 'Oswald', Arial, Helvetica, sans-serif;

    font-size: 52px;

    line-height: 1.08;

    font-weight: 600;

    color: #ffffff;

}


.inst-parallax p {

    max-width: 760px;

    margin: 0 auto 34px auto;

    font-size: 18px;

    line-height: 1.7;

    color: #ffffff;

}


.inst-parallax-botao {

    display: inline-block;

    padding: 15px 30px;

    border: 1px solid #ffffff;

    background-color: #ffffff;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 1px;

    color: #1F491B;

    text-decoration: none;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;

}


.inst-parallax-botao:hover {

    background-color: transparent;

    color: #ffffff;

    transform: translateY(-2px);

}


/* ==================================================
ASSINATURA VERDE
================================================== */

.inst-assinatura {

    position: relative;

    width: 100%;

    padding: 65px 0;

    background-color: #1F491B;

}


.inst-assinatura-container {

    width: 90%;

    max-width: 920px;

    margin: 0 auto;

    text-align: center;

}


.inst-assinatura-linha {

    display: block;

    width: 60px;

    height: 3px;

    margin: 0 auto 25px auto;

    background-color: #99C339;

}


.inst-assinatura h2 {

    margin: 0;

    font-family: 'Oswald', Arial, Helvetica, sans-serif;

    font-size: 38px;

    line-height: 1.2;

    font-weight: 500;

    color: #ffffff;

}


/* ==================================================
TABLET
================================================== */

@media screen and (max-width: 900px) {

    .inst-intro,
    .inst-pilares {

        padding: 80px 0 85px 0;

    }


    .inst-identificacao {

        margin-bottom: 34px;

    }


    .inst-linha {

        width: 50px;

    }


    .inst-conteudo h2,
    .inst-pilares-titulo h2 {

        font-size: 40px;

    }


    .inst-pilares-grid {

        gap: 18px;

    }


    .inst-parallax h2 {

        font-size: 43px;

    }

}


/* ==================================================
MOBILE
================================================== */

@media screen and (max-width: 600px) {

    .inst-intro,
    .inst-pilares {

        padding: 65px 0 70px 0;

    }


    .inst-container,
    .inst-pilares-container {

        width: 88%;

    }


    .inst-identificacao {

        margin-bottom: 30px;

    }


    .inst-linha {

        width: 28px;

    }


    .inst-identificacao p {

        margin: 0 9px;

        font-size: 9px;

        line-height: 1.3;

        letter-spacing: 1.3px;

    }


    .inst-conteudo h2,
    .inst-pilares-titulo h2 {

        margin-bottom: 26px;

        font-size: 33px;

    }


    .inst-textos p {

        font-size: 16px;

        line-height: 1.7;

    }


    /* PILARES */

    .inst-pilares-grid {

        grid-template-columns: 1fr;

        gap: 15px;

    }


    .inst-pilar-card {

        min-height: 0;

        padding: 30px 27px;

    }


    /* PARALLAX */

    .inst-parallax {

        height: 640px;

        background-image:
            url("../img/parallax/parceria-soma-mb.jpg");

        background-attachment: scroll;

    }


    .inst-parallax-container {

        width: 88%;

    }


    .inst-parallax h2 {

        font-size: 35px;

    }


    .inst-parallax p {

        font-size: 16px;

    }


    .inst-parallax-botao {

        width: 100%;

        text-align: center;

    }


    /* ASSINATURA */

    .inst-assinatura {

        padding: 50px 0;

    }


    .inst-assinatura-container {

        width: 88%;

    }


    .inst-assinatura h2 {

        font-size: 29px;

        line-height: 1.2;

    }

}