@import url("https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,400;0,700;1,400&display=swap");

:root {
    --azul1: #1e428b;
    --azul2: #006fb9;
    --azul3: #005287;
    --azul4: #759cb8;
    --verde1: #009933;
    --verde2: #65b32e;
    --verde3: #008d75;
    --verde4: #52bbb5;
    --ocre: #cd8627;
    --laranja: #c15b29;
    --dourado: #a07e26;
    --prata: #788b80;
    --grafite: #333333;
    --cinza: #666666;
}

/* Reset/Normalização */

*,
*::before,
*::after {
    box-sizing: border-box;
}

*:focus-visible {
    outline: 2px solid var(--azul2);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    color: var(--grafite);
    font-family: 'Fira Sans', sans-serif;
    font-size: 100%;
    margin: 0;
    min-height: 100vh;
    scroll-behavior: smooth;
}

/* Elementos básicos */

a {
    color: inherit;
    text-decoration: none;
    transition: 0.25s;
}

a:hover {
    text-decoration: underline;
}

address {
    font-style: normal;
}

button {
    appearance: none;
    background-color: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    padding: 0;
    transition: .3s;
}

figure {
    margin: 0;
    padding: 0;
}

figure img {
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: inherit;
    margin: 0;
}

hr {
    border: 0;
    border-top: 1px dashed;
    display: block;
    height: 0;
    margin: 20px 0;
}

iframe {
    border: none;
}

img {
    image-rendering: -webkit-optimize-contrast;
}

ol,
ul {
    padding-left: 1rem;
}

p {
    font-size: 1.125rem;
    line-height: 1.4;
    margin-top: 0;
}

h2 {
    text-transform: uppercase;
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;
    color: white;
}

h3 {
    font-size: 1.125rem;
    color: var(--verde2);
}

/* Acessibilidade */

.sr-only {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

/* Layout e estrutura */

#ra_2025-wrapper {
    display: flex;
    flex-direction: column;
    margin: auto;
    max-width: 1920px;
    min-height: 100vh;
    width: 100%;
}

#ra_2025-topo {
    background-color: var(--azul1);
    padding: 25px;

    .max1280 {
        display: flex;
        align-items: center;
    }
}

#ra_2025-main {
    align-items: center;
    display: flex;
    flex-grow: 1;
    height: 100%;
    justify-content: center;
    padding: 40px 40px 0;
}

#ra_2025-main-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    height: 100%;
    margin-top: 0;

    article {
        margin-left: auto;
        margin-right: 0;

        p {
            color: var(--azul3);
        }
    }

    figure {
        padding-right: 120px;

        img {
            display: block;
            max-width: 480px;
            margin-bottom: 40px;
        }

        figcaption {
            color: var(--verde2);
            font-size: 1.375rem;
            font-weight: bold;
            line-height: 1.4;
        }
    }
}

#logo_bndes {
    flex-grow: 1;

    a {
        display: block;

        img {
            display: block;
            height: 30px;
            width: auto;
        }
    }
}

#redes_sociais {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;

    li {
        padding: 5px;

        a {
            display: block;
            display: flex;
            flex-direction: column;
            align-items: center;

            img {
                height: 30px;
                width: auto;
            }

            &.lang-bt {
                padding: 5px;
                background-color: var(--verde2);
                color: var(--azul1);
                font-weight: bold;
                border-radius: 5px;

                &:hover {
                    text-decoration: none;
                    background-color: #fff;
                }
            }
        }
    }
}

#ra_2025-home #redes_sociais li:last-of-type {
    display: block;
}

#ra_2025-footer {
    figure {
        img {
            display: block;
        }
    }
}

#colegiado {

    p,
    ul {
        font-size: 1rem;

        li {
            margin-bottom: .5em;
        }
    }
}

#organograma {
    margin-bottom: 30px;
    position: relative;

    a {
        height: 5.5%;
        position: absolute;
        z-index: 1;
        /* background-color: rgba(0, 0, 0, .3); */
    }

    [href="#diretoria-executiva"] {
        left: 43%;
        top: 26%;
        width: 26%;
    }

    [href="#conselho-fiscal-cofis"] {
        left: 42%;
        top: 5%;
        width: 26%;
    }

    [href="#conselho-de-administracao-ca"] {
        left: 42%;
        top: 11%;
        width: 26%;
    }

    [href="#comite-de-riscos-cri"] {
        left: 21%;
        top: 11%;
        width: 20%;
    }

    [href="#comite-de-auditoria-coaud"] {
        left: 69%;
        top: 11%;
        width: 20%;
    }

    [href="#comite-de-responsabilidade-social-ambiental-e-climatica-crsac"] {
        left: 21%;
        top: 17%;
        width: 33%;
    }

    [href="#comite-de-pessoas-elegibilidade-sucessao-e-remuneracao-cope"] {
        left: 56%;
        top: 17%;
        width: 33%;
    }

    [href="#colegiado-de-diretores-de-estruturacao-de-projetos"] {
        left: 16%;
        top: 26%;
        width: 26%;
    }

    [href="#comite-executivo-de-tecnologia-da-informacao"] {
        left: 70%;
        top: 26%;
        width: 26%;
    }

    [href="#comite-de-contingencia"] {
        left: 16%;
        top: 33%;
        width: 19%;
    }

    [href="#comite-de-crise-de-imagem-e-reputacao"] {
        left: 36%;
        top: 33%;
        width: 19%;
    }

    [href="#comite-de-orcamento-e-assuntos-financeiros"] {
        left: 56%;
        top: 33%;
        width: 19%;
    }

    [href="#comite-de-investimentos"] {
        left: 76%;
        top: 33%;
        width: 19%;
    }

    [href="#comite-de-risco-reputacional-em-operacoes"] {
        left: 16%;
        top: 39%;
        width: 19%;
        height: 8%;
    }

    [href="#comite-executivo-de-governanca-e-acompanhamento-fapes"] {
        left: 56%;
        top: 39%;
        width: 19%;
        height: 8%;
    }

    [href="#comite-de-acompanhamento-de-demandas-externas-de-fiscalizacao-e-controle"] {
        left: 36%;
        top: 39%;
        width: 19%;
        height: 8%;
    }

    [href="#comite-de-orcamento-estrategico"] {
        left: 76%;
        top: 39%;
        width: 19%;
        height: 8%;
    }

    [href="#comite-gerencial-e-de-sustentabilidade-do-sistema-bndes"] {
        left: 16%;
        top: 49%;
        width: 27%;
    }

    [href="#comite-de-credito-e-operacoes"] {
        left: 43%;
        top: 49%;
        width: 17%;
    }

    [href="#comite-de-gestao-de-riscos"] {
        left: 60%;
        top: 49%;
        width: 16%;
    }

    [href="#comite-de-estruturacao-de-projetos"] {
        left: 77%;
        top: 49%;
        width: 19%;
    }

    [href="#comite-de-seguranca-da-informacao"] {
        left: 16%;
        top: 56%;
        width: 19%;
    }

    [href="#comite-de-patrocinio-para-modalidade-escolha-direta"] {
        left: 36%;
        top: 56%;
        width: 19%;
    }

    [href="#comite-gestor-de-tecnologia-da-informacao"] {
        left: 56%;
        top: 56%;
        width: 19%;
    }

    [href="#comite-de-assuntos-setoriais"] {
        left: 76%;
        top: 56%;
        width: 19%;
    }

    [href="#comite-de-assuntos-financeiros"] {
        left: 16%;
        top: 63%;
        width: 20%;
    }

    [href="#comite-de-gestao-de-pessoas"] {
        left: 36%;
        top: 63%;
        width: 20%;
    }

    [href="#comite-deliberativo-de-mercado-de-capitais"] {
        left: 56%;
        top: 63%;
        width: 20%;
    }

    [href="#subcomite-de-contingencia"] {
        left: 76%;
        top: 63%;
        width: 20%;
    }
}

p.conselho-comite strong {
    font-size: 1.25rem;
    color: var(--verde1);
}

p.conselho-comite.ativo {
    color: var(--laranja);

    strong {
        color: var(--laranja);
    }
}

/* Componentes e utilitários */

.max1280 {
    margin: auto;
    max-width: 1280px;
    width: 100%;
}

.max980 {
    margin: auto;
    max-width: 980px;
    width: 100%;
}

.max350 {
    max-width: 350px;
}

.wrapper {
    padding: 0 30px;
}

.bts {
    margin-top: 20px;

    a {
        &:hover {
            opacity: .8;
        }
    }
}

.forma-heading {
    position: relative;
    span {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        color: var(--azul3);
        text-align: center;
        line-height: 1;
        padding: 5px;
    }
    svg {
        display: block;
        height: 56px;
        width: 100%;
    }
    @media(max-width: 370px) {
        width: calc(100% + 20px);
        margin-left: -10px;
        svg {
            height: 85px;
        }
    }
}

.cofis {
    text-transform: uppercase;
    color: var(--azul3);
}

.accordion-trigger {
    text-transform: uppercase;
    color: var(--azul3);
    position: relative;
    padding-right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
}

.accordion-trigger:hover {
    color: var(--azul2);
}

.accordion-trigger::after {
    content: "";
    position: absolute;
    right: 8px;
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform 0.3s ease;
    transform-origin: center;
    pointer-events: none;
}

.accordion-trigger[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.accordion-panel {
    margin-top: 10px;
}

@media(max-width:1180px) {
    #ra_2025-topo {
        padding-left: 10px;
        padding-right: 10px;
        .max1280 {
            flex-direction: column;
        }
    }

    #logo_bndes {
        margin-bottom: 15px;

        a {
            display: inline-block;
        }
    }

    #ra_2025-main {
        padding: 20px;
    }

    #ra_2025-main-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;

        >* {
            margin: auto;
        }

        figure {
            padding-right: 0;
            img {
                margin-bottom: 20px;
            }

            figcaption {
                font-size: 1.25rem;
            }
        }

        article {
            margin: auto;
        }

        .bts {
            margin-bottom: 20px;
        }

        .bt-gde {
            font-size: 1.5rem;
        }
    }
}

@media(max-width: 500px) {
    h2 {
        text-align: left;
    }

    .wrapper {
        padding: 0 20px;
    }
}