/* =====================================================
   QUEM SOMOS
===================================================== */

#secaoQuemSomos {
    width: 100%;
    overflow: hidden;
    padding: 15px 0;
    background: var(--corCinza);
    box-sizing: border-box;
    animation: animarFundoQuemSomos 6s ease-in-out infinite;
}


/* =====================================================
   ANIMAÇÃO DO FUNDO
===================================================== */

@keyframes animarFundoQuemSomos {
    0% {
        background-color: var(--corCinza);
    }

    50% {
        background-color: color-mix(
            in srgb,
            var(--azulEscuro) 20%,
            transparent
        );
    }

    100% {
        background-color: var(--corCinza);
    }
}


/* =====================================================
   CONTEÚDO QUEM SOMOS
===================================================== */

.conteudoQuemSomos {
    width: 100%;
    min-height: 350px;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 60px;
    box-sizing: border-box;
}


/* =====================================================
   TEXTO QUEM SOMOS
===================================================== */

.textoQuemSomos {
    flex: 1 1 0;
    min-width: 0;
    max-width: 680px;
    padding: 80px 0 0 80px;
    z-index: 5;
}

.textoQuemSomos h1 {
    margin: 20px 0 0;
    color: var(--azulEscuro);
    font-size: 2.3rem;
    font-weight: 600;
    line-height: 1;
}

.linhaTitulo {
    width: 120px;
    height: 7px;
    margin: 5px 0 18px 30px;
    background: var(--laranjaForte);
}

.textoQuemSomos p {
    margin: 0;
    color: var(--corTexto);
    font-size: .95rem;
    font-weight: 300;
    line-height: 1.4;
}


/* =====================================================
   IMAGEM QUEM SOMOS
===================================================== */

.imagemQuemSomos {
    position: relative;
    flex: 1 1 0;
    width: auto;
    height: 500px;
    min-width: 0;
    overflow: hidden;
    border-bottom-left-radius: 10px;
}

@media (min-width: 1200px) {

    .imagemQuemSomos::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;

        background: linear-gradient(
            to bottom,
            transparent 0%,
            rgba(29, 48, 86, .20) 25%,
            rgba(29, 48, 86, .40) 35%,
            rgba(29, 48, 86, .60) 55%,
            rgba(29, 48, 86, .80) 75%,
            #1D3056 100%
        );

        clip-path: polygon(
            0 100%,
            35% 0,
            100% 0,
            100% 100%,
            0 100%
        );
    }

}


.imagemQuemSomos img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;

    clip-path: polygon(
        0 100%,
        35% 0,
        100% 0,
        100% 100%,
        0 100%
    );
}

.sobreposicaoImagem {
    position: absolute;
    inset: 0;
}


/* =====================================================
   PRESIDENTE
===================================================== */

#secaoPresidente {
    position: relative;
    min-height: 80vh;
    padding-top: 30px;
    overflow: hidden;
}

.imagemFundoPresidenteMobile {
    display: none;
}

.imagemFundoPresidente {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 52vh;
    z-index: 1;
}

.conteudoPresidente {
    position: relative;
    z-index: 2;

    width: 100%;
    min-height: 70vh;
    max-width: 100%;
    padding: 0 70px;

    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 40px;

    color: var(--corTexto);
    box-sizing: border-box;
}


/* =====================================================
   PRESIDENTE — LADO ESQUERDO
===================================================== */

.ladoEsquerdo {
    position: relative;
    width: 39%;
    display: flex;
    align-items: flex-end;
}

.fotoPresidente {
    position: relative;
    top: -20px;

    width: 100%;
    height: 100%;

    display: flex;
    align-items: flex-end;
}

.fotoPresidente img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: bottom center;
}

.cartaoPresidente {
    position: absolute;
    left: 47%;
    bottom: 10px;

    width: 85%;
    padding: 10px 18px;

    transform: translateX(-50%);

    background: var(--corBranca);
    border-radius: 8px;
    text-align: center;

    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}


/* =====================================================
   PRESIDENTE — LADO DIREITO
===================================================== */

.ladoDireito {
    width: 55%;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ladoDireito h2 {
    margin-bottom: 7px;
    color: var(--azulEscuro);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
}

.caixaMensagem {
    position: relative;

    padding: 30px;

    background: var(--azulClaro);
    color: var(--corBranca);

    border-radius: 15px;

    font-size: .9rem;
    font-weight: 300;
    line-height: 1.2;
}

.caixaMensagem::after {
    content: "";
    position: absolute;
    left: 60px;
    bottom: -38px;

    border-top: 50px solid var(--azulClaro);
    border-left: 0 solid transparent;
    border-right: 170px solid transparent;

    z-index: 1000;
}


/* =====================================================
   HISTORIAL
===================================================== */

#secaoHistorial {
    padding: 25px 30px;
    text-align: center;

    background: linear-gradient(
        to bottom,
        #ffffff 75%,
        var(--corCinza) 25%
    );
}

#secaoHistorial h2 {
    color: var(--corTexto);
    font-size: 2rem;

    font-weight: 600;
}

#secaoHistorial p {
    width: 60%;
    margin: 1px auto;
    color: var(--corTexto);
    font-size: .95rem;
    font-weight: 300;
    line-height: 1.4;
}


/* =====================================================
   LINHA DO TEMPO
===================================================== */

.linhaTempo {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;

    margin-top: 35px;
}


/* =====================================================
   CARTÕES DO HISTORIAL
===================================================== */

.cartaoAno {
    position: relative;

    width: 250px;
    min-height: 0;

    padding: 3px 3px 6px;

    background: var(--corBranca);
    border: 1px solid transparent;
    border-radius: 14px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .12);

    transition: .35s ease;

    overflow: visible;
    z-index: 1;
}


/* CORES DOS CARTÕES */

.cartaoAno:nth-child(1) {
    --corCartao: var(--azulEscuro);
}

.cartaoAno:nth-child(2) {
    --corCartao: var(--azulClaro);
}

.cartaoAno:nth-child(3) {
    --corCartao: var(--laranjaForte);
}

.cartaoAno:nth-child(4) {
    --corCartao: var(--azulEscuro);
}

.cartaoAno:nth-child(5) {
    --corCartao: var(--azulClaro);
}

.cartaoAno:nth-child(6) {
    --corCartao: var(--laranjaForte);
}

.cartaoAno:nth-child(7) {
    --corCartao: var(--azulClaro);
}


/* HOVER */

.cartaoAno:hover {
    position: relative;
    transform: translateY(-8px);

    border-color: var(--corCartao);

    z-index: 10;
}


/* BARRA INFERIOR */

.cartaoAno::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;

    height: 18px;

    background: var(--corCartao);
    border: 1px solid var(--corCartao);
    border-radius: 0 0 18px 18px;

    opacity: 0;

    transform: translateY(5px);

    transition:
        opacity .3s ease,
        transform .3s ease,
        bottom .3s ease,
        height .3s ease;

    z-index: -1;
}

.cartaoAno:hover::after {
    bottom: -10px;
    height: 22px;

    opacity: 1;
    transform: translateY(0);
}


/* MARCADOR */

.marcadorAno {
    position: absolute;
    top: -40px;
    left: 50%;

    width: 28px;
    height: 28px;

    transform: translateX(-50%) rotate(-45deg);

    background: var(--corBranca);
    border: 2px solid var(--corCartao);
    border-radius: 50% 50% 50% 0;

    opacity: 0;

    transition: .3s ease;

    z-index: 5;
}

.marcadorAno::after {
    content: "";
    position: absolute;

    width: 5px;
    height: 5px;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    background: var(--corCartao);
    border-radius: 50%;
}

.cartaoAno:hover .marcadorAno {
    opacity: 1;
    border-color: var(--corCartao);
}


/* TEXTO DO ANO */

.cartaoAno h3 {


    color: var(--azulEscuro);
    font-size: 1.1rem;
    font-weight: 500;
}

.cartaoAno span {
    display: block;
    padding: 0 0 8px 0;

    color: var(--azulEscuro);
    font-size: .9rem;
    font-weight: 300;
    line-height: 1.2;
}

/* =====================================================
   MISSÃO, VISÃO E VALORES
===================================================== */

.SessãoMissãoVisãoValores {
    position: relative;

    width: 100%;
    padding: 30px 20px 40px;

    overflow: hidden;
    box-sizing: border-box;
}

.ImagemFundoCurvo {
    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;

    z-index: 1;
    pointer-events: none;
}

.ImagemFundoCurvoMobile {
    display: none;
}

.ConteúdoMissãoVisãoValores {
    position: relative;
    z-index: 2;

    max-width: 1200px;
    margin: auto;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 25px;
}


/* =====================================================
   CARTÕES MISSÃO / VISÃO / VALORES
===================================================== */

.CartãoMissãoVisãoValores {
    width: 350px;
    min-height: 400px;

    background: var(--corBranca);
    border-radius: 22px;
    overflow: hidden;

    box-shadow: 0 15px 35px rgba(0, 0, 0, .18);

    transition: .35s;
}

.CartãoMissãoVisãoValores:hover {
    transform: translateY(-10px);
}


/* CABEÇALHO */

.CabeçalhoCartão {
    position: relative;

    height: 60px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: var(--azulEscuro);
    border-radius: 20px 20px 0 0;
}

.CabeçalhoCartão::after {
    content: "";
    position: absolute;

    left: 50%;
    bottom: -25px;

    width: 125%;
    height: 40px;

    transform: translateX(-50%);

    background: var(--corBranca);
    border-radius: 90% 90% 0 0;
}

.CabeçalhoCartão h2 {
    position: relative;
    z-index: 2;

    color: var(--corBranca);
    font-size: 1.5rem;
    font-weight: 600;
}


/* CORPO */

.CorpoCartão {
    padding: 30px 30px 35px;
}

.CorpoCartão p {
    margin: 0;

    color: var(--corTexto);
    font-size: .95rem;
    line-height: 1.4;
    font-weight: 400;
    text-align: left;
}

.CorpoCartão ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.CorpoCartão li {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;

   
    color: var(--corTexto);
    font-size:.95rem ;
    font-weight: 400;
}

.CorpoCartão li::before {
    content: "";

    width: 7px;
    height: 7px;

    flex-shrink: 0;

    background: var(--azulEscuro);
    border-radius: 50%;
}


/* =====================================================
   OBJECTIVOS
===================================================== */

#secaoObjectivos {
    width: 100%;
    padding: 4% 0 0;

    background: var(--branco);
}

.conteudoObjectivos {
    width: 100%;
    max-width: 100%;
    margin: auto;

    display: flex;
    justify-content: center;
    align-items: center;
}

#secaoObjectivos .tituloObjectivos {
    display: none;
}

.imagemObjectivos {
    width: 100%;
    height: auto;
    display: block;

    border-radius: 12px;

    opacity: 0;
    transform: translateY(50px);

    transition: opacity .8s ease, transform .8s ease;
}

.imagemObjectivos.mostrarF {
    opacity: 1;
    transform: translateY(0);
}

.imagemObjectivosMobile {
    display: none;
}

#secaoObjectivos .conteudoObjectivosMobile {
    display: none;
}


/* =====================================================
   ESTRUTURA ORGANIZACIONAL
===================================================== */

#secaoEstruturaOrganizacional {
    width: 100%;
    padding: 10px 0;

    background: var(--corBranca);
}

.cabecalhoEstrutura {
    width: 90%;
    max-width: 1000px;

    margin: 20px auto 10px;

    text-align: center;
}

.cabecalhoEstrutura h2 {
    margin-bottom: 2px;

    color: var(--azulEscuro);
    font-size: 2.3rem;
    font-weight: 600;
}

.cabecalhoEstrutura p {
    color: var(--corTexto);
    font-size: .95rem;
    line-height: 1.4;
    font-weight: 400;
  
     text-align: center;
}

.mobile {
    display: none;
}

.modalEstrutura {
    display: none;
}

.barraModalEstrutura button {
    display: none;
}

#botaoAmpliarEstrutura {
    display: none;
}


/* =====================================================
   IMAGEM DA ESTRUTURA
===================================================== */

.conteudoEstrutura {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    background: var(--azulEscuro);

    overflow: hidden;
}

.caixaImagemEstrutura {
    position: relative;

    width: 100%;
    max-width: 1700px;
}

.imagemEstrutura {
    width: 100%;
    height: auto;

    display: block;
    object-fit: contain;

    opacity: 0;
    transform: translateY(60px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}

.imagemEstrutura.mostrar {
    opacity: 1;
    transform: translateY(0);
}


/* =====================================================
   BOTÃO AMPLIAR ESTRUTURA
===================================================== */

.botaoAmpliarEstrutura {
    position: absolute;
    right: 10px;
    bottom: 10px;

    width: 38px;
    height: 38px;
    padding: 7px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 5px;

    cursor: pointer;

    z-index: 5;

    transition:
        transform .25s ease,
        background .25s ease;
}

.botaoAmpliarEstrutura img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.botaoAmpliarEstrutura:hover {
    transform: scale(1.08);
}


/* =====================================================
   DOCUMENTOS
===================================================== */

#secaoDocumentos {
    padding: 5px 0 30px;
    background: var(--corBranca);
}

.conteudoDocumentos {
    width: 93%;
    max-width: 90%;

    margin: auto;

    height: auto;

    overflow: hidden;

    transition:
        height .6s ease,
        box-shadow .4s ease;
}


/* =====================================================
   GRELHA DE DOCUMENTOS
===================================================== */

.grelhaDocumentos {
    display: grid;

    grid-template-columns: repeat(
        3,
        minmax(0, 1fr)
    );

    column-gap: 20px;
    row-gap: 25px;

    height: 580px;
    max-height: 820px;

    padding: 16px;

    align-items: start;

    overflow: hidden;

    transition: max-height .6s ease;

    scrollbar-width: thin;
    scrollbar-color:
        var(--azulEscuro)
        #eef2f6;
}

.grelhaDocumentos.expandido {
    height: 900px;

    overflow-y: auto;
    overflow-x: hidden;

    padding-right: 10px;

    scroll-behavior: smooth;
}


/* SCROLLBAR */

.grelhaDocumentos::-webkit-scrollbar {
    width: 8px;
}

.grelhaDocumentos::-webkit-scrollbar-track {
    background: #eef2f6;
    border-radius: 10px;
}

.grelhaDocumentos::-webkit-scrollbar-thumb {
    background: var(--azulEscuro);
    border-radius: 10px;
}

.grelhaDocumentos::-webkit-scrollbar-thumb:hover {
    background: var(--azulClaro);
}


/* =====================================================
   CABEÇALHO DOS DOCUMENTOS
===================================================== */

.cabecalhoDocumentos {
    max-width: 90%;
    margin-left: 14px;

}

.cabecalhoDocumentos h2 {
    margin-bottom: 2px;

    color: var(--azulEscuro);
    font-size: 2.3rem;
    font-weight: 600;
}

.cabecalhoDocumentos h3 {
    margin-bottom: 5px;

    color: var(--azulEscuro);
    font-size: .95rem;
    font-weight: 500;
}

.cabecalhoDocumentos p {
    margin-bottom: 10px;
    font-weight: 300;

    color: var(--corTexto);
    font-size: .95rem;
    line-height: 1.4;
}


/* =====================================================
   CARTÃO DE DOCUMENTO
===================================================== */

.cartaoDocumento {
    position: relative;

    width: 100%;
    min-height: 260px;
    height: auto;

    display: flex;
    flex-direction: column;
    align-self: start;

    box-sizing: border-box;

    padding: 25px;

    background: linear-gradient(
        120deg,
        #223f58,
        #2B5D8C
    );

    border-radius: 8px;

    text-decoration: none;
    color: var(--corBranca);

    box-shadow: 0 10px 25px rgba(0, 0, 0, .12);

    overflow: visible;

    opacity: 1;
    transform: translateY(0);

    transition:
        transform .35s ease,
        background .35s ease,
        box-shadow .35s ease,
        opacity .6s ease;
}

.cartaoDocumento.mostrar {
    opacity: 1;
    transform: translateY(0);
}

.cartaoDocumento:hover {
    transform: translateY(-8px);

    background: linear-gradient(
        120deg,
        #417EB2,
        #223f58
    );

    box-shadow: 0 15px 30px rgba(0, 0, 0, .18);

    z-index: 10;
}


/* =====================================================
   CONTEÚDO DO CARTÃO
===================================================== */

.cartaoDocumento h4 {
    margin: 0 0 5px;

    color: var(--corBranca);
    font-size: 1.5rem;
    font-weight: 500;

        display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.linhaTituloDocumentos {
    width: 150px;
    height: 1px;

    margin-left: 0;
    margin-bottom: 5px;

    background: #ffffffa2;
}

.cartaoDocumento p {
    margin: 0;

    color: var(--corBranca);
    font-size: .95rem;
    line-height: 1.4;
    font-weight: 300;

    overflow: visible;

        display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
}


/* =====================================================
   BOTÃO DO DOCUMENTO
===================================================== */

.botaoDocumento {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: fit-content;

    margin-top: auto;
    margin-bottom: 0;

    padding: 8px 12px;

    background: var(--laranjaForte);
    color: var(--corBranca);

    border-radius: 7px;

    font-size: .95rem;
    font-weight: 300;
    text-decoration: none;

    opacity: 0;
    visibility: hidden;

    transform: translateY(15px);

    transition:
        opacity .3s ease,
        visibility .3s ease,
        transform .3s ease;
}

.cartaoDocumento:hover .botaoDocumento {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* =====================================================
   VER TODOS OS DOCUMENTOS
===================================================== */

.verTodosDocumentos {
    width: 90%;

    margin: 10px auto 0;

    color: var(--corTexto);

    font-size: .95rem;
    font-weight: 300;

    cursor: pointer;
    user-select: none;

    transition: .3s ease;
}

.verTodosDocumentos:hover {
    color: var(--laranjaForte);
    transform: translateX(5px);
}



/* =====================================================
   BOTÃO LER MAIS
===================================================== */

.btnLerMais {
    display: none;
}


/* =====================================================
   DESKTOP — AJUSTE PARA ECRÃS ATÉ 2000px
===================================================== */

@media (max-width: 2000px) {

    .grelhaDocumentos {
        grid-template-columns: repeat(3, 1fr);
        max-height: 728px;
    }

    .cabecalhoDocumentos h2 {
        font-size: 30pt;
    }

    .cabecalhoDocumentos h3 {
        font-size: 23pt;
    }

    .verTodosDocumentos {
        font-size: 17pt;
    }
}