/* ==================================================
   PÁGINA PROJETOS DE PESQUISA
================================================== */

.pagina-projetos-pesquisa {
    padding: 30px 0;
}

/* ==================================================
   INTRODUÇÃO
================================================== */

.identificador-projetos {
    display: block;
    margin-bottom: 8px;

    font-family:
        "Special Gothic Condensed One",
        sans-serif;

    font-size: 17px;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: #f8b618;
}

.cabecalho-projetos h2 
{
    font-family: "Special Gothic Condensed One", sans-serif;
    color: #005da3;
}

p
{
    color: #838282;
    font-family: "Google Sans", sans-serif;
    font-weight: 400;
}

/* ==================================================
   FILTROS
================================================== */

.filtros-projetos {
    padding: 20px 0 38px;
}

.painel-filtros-projetos {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        280px
        220px;
    gap: 20px;

    padding: 24px;

    background-color: #f5f8fa;

    border: 1px solid #e2e8ec;
    border-radius: 12px;
}

.campo-busca-projetos,
.campo-linha-projetos,
.campo-situacao-projetos {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.painel-filtros-projetos label {
    font-size: 14px;
    font-weight: 700;

    color: #005da3;
}

.painel-filtros-projetos input,
.painel-filtros-projetos select {
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;

    color: #444444;
    background-color: #ffffff;

    border: 1px solid #cbd5dc;
    border-radius: 7px;

    outline: none;
}

.painel-filtros-projetos input:focus,
.painel-filtros-projetos select:focus {
    border-color: #005da3;

    box-shadow:
        0 0 0 3px rgba(0, 93, 163, 0.13);
}

.resumo-filtros-projetos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    margin-top: 16px;
}

#contador-projetos {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;

    color: #005da3;
}

.limpar-filtros-projetos {
    padding: 0;

    font-size: 13px;
    font-weight: 700;

    color: #005da3;
    background: none;

    border: 0;
    border-bottom: 1px solid #005da3;

    cursor: pointer;
}

.limpar-filtros-projetos:hover,
.limpar-filtros-projetos:focus {
    color: #d38d00;
    border-color: #d38d00;
}

.mensagem-sem-projetos {
    margin: 20px 0 0;
    padding: 18px;

    text-align: center;

    color: #555555;
    background-color: #fff6db;

    border-left: 4px solid #f8b618;
    border-radius: 6px;
}

/* ==================================================
   LISTAGEM
================================================== */

.listagem-projetos {
    min-height: 390px;
    padding: 60px 0 85px;

    background-color: #f7f9fa;
}

/* ==================================================
   ACCORDION
================================================== */

.accordion-projetos {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.item-projeto-pesquisa {
    background-color: #ffffff;

    border: 1px solid #dfe6eb !important;
    border-radius: 11px !important;

    box-shadow:
        0 10px 30px rgba(0, 53, 91, 0.055);

    overflow: hidden;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.item-projeto-pesquisa:hover {
    border-color:
        rgba(0, 93, 163, 0.34) !important;

    box-shadow:
        0 15px 38px rgba(0, 53, 91, 0.1);

    transform: translateY(-2px);
}

.item-projeto-pesquisa[hidden] {
    display: none !important;
}

.accordion-projetos .accordion-button {
    padding: 23px 70px 23px 25px;

    color: #444444;
    background-color: #ffffff;

    box-shadow: none;
}

.accordion-projetos .accordion-button:not(.collapsed) {
    color: #ffffff;
    background-color: #005da3;

    box-shadow: none;
}

.accordion-projetos .accordion-button:focus {
    z-index: 2;

    border-color: transparent;

    box-shadow:
        inset 0 0 0 3px
        rgba(248, 182, 24, 0.55);
}

.accordion-projetos .accordion-button::after {
    position: absolute;
    right: 25px;

    width: 20px;
    height: 20px;

    background-size: 20px;
}

.accordion-projetos
.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.cabecalho-item-projeto {
    display: block;
    width: 100%;
}

.marcadores-projeto {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;

    margin-bottom: 10px;
}

.linha-card-projeto,
.situacao-card-projeto {
    display: inline-flex;
    align-items: center;

    min-height: 25px;
    padding: 4px 9px;

    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;

    border-radius: 4px;
}

.linha-card-projeto {
    color: #005da3;
    background-color: #e5f2fa;
}

.situacao-andamento {
    color: #765000;
    background-color: #fff0c5;
}

.situacao-concluido {
    color: #17633a;
    background-color: #dff4e7;
}

.accordion-button:not(.collapsed)
.linha-card-projeto {
    color: #005da3;
    background-color: #ffffff;
}

.accordion-button:not(.collapsed)
.situacao-andamento {
    color: #664400;
    background-color: #f8b618;
}

.accordion-button:not(.collapsed)
.situacao-concluido {
    color: #145631;
    background-color: #dff4e7;
}

.nome-projeto {
    display: block;

    font-family:
        "Special Gothic Condensed One",
        sans-serif;

    font-size: clamp(27px, 3vw, 37px);
    font-weight: 400;
    line-height: 1.05;
    text-transform: uppercase;

    color: #005da3;
}

.accordion-button:not(.collapsed)
.nome-projeto {
    color: #ffffff;
}

.responsavel-resumo-projeto {
    display: block;
    margin-top: 9px;

    font-size: 14px;
    line-height: 1.5;

    color: #646464;
}

.responsavel-resumo-projeto strong {
    color: #f0a900;
}

.accordion-button:not(.collapsed)
.responsavel-resumo-projeto {
    color: rgba(255, 255, 255, 0.9);
}

.accordion-button:not(.collapsed)
.responsavel-resumo-projeto strong {
    color: #f8b618;
}

/* ==================================================
   CONTEÚDO DO ACCORDION
================================================== */

.accordion-projetos .accordion-body {
    padding: 28px;

    color: #606060;
    background-color: #ffffff;

    border-top: 4px solid #f8b618;
}

.informacoes-projeto {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.dado-projeto {
    padding: 15px;

    background-color: #f4f8fa;

    border-left: 4px solid #005da3;
    border-radius: 5px;
}

.dado-projeto strong {
    display: block;
    margin-bottom: 5px;

    font-size: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;

    color: #005da3;
}

.dado-projeto span {
    display: block;

    font-size: 14px;
    line-height: 1.55;

    color: #595959;
}

.descricao-projeto {
    margin-top: 28px;
}

.descricao-projeto h3 {
    margin: 0 0 14px;
    padding-bottom: 8px;

    font-family:
        "Special Gothic Condensed One",
        sans-serif;

    font-size: 27px;
    font-weight: 400;
    text-transform: uppercase;

    color: #005da3;

    border-bottom: 2px solid #f8b618;
}

.texto-descricao-projeto {
    font-size: 16px;
    line-height: 1.8;

    color: #616161;
}

.texto-descricao-projeto p:last-child,
.texto-descricao-projeto ul:last-child,
.texto-descricao-projeto ol:last-child {
    margin-bottom: 0;
}

.texto-descricao-projeto ul,
.texto-descricao-projeto ol {
    padding-left: 22px;
}

.texto-descricao-projeto a {
    color: #005da3;
    text-decoration: underline;
}

.texto-descricao-projeto a:hover,
.texto-descricao-projeto a:focus {
    color: #d38d00;
}

/* ==================================================
   BOTÃO
================================================== */

.rodape-projeto {
    margin-top: 27px;
    padding-top: 21px;

    border-top: 1px solid #e2e8ec;
}

.botao-link-projeto {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 43px;
    padding: 11px 18px;

    font-family:
        "Special Gothic Condensed One",
        sans-serif;

    font-size: 18px;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;

    color: #ffffff;
    background-color: #005da3;

    border: 1px solid #005da3;
    border-radius: 5px;

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.botao-link-projeto:hover,
.botao-link-projeto:focus {
    color: #005da3;
    background-color: #f8b618;
    border-color: #f8b618;

    transform: translateY(-2px);
}

/* ==================================================
   AVISO SEM PROJETOS
================================================== */

.aviso-sem-projetos-cadastrados {
    padding: 27px;

    color: #666666;
    background-color: #ffffff;

    border-left: 4px solid #f8b618;
    border-radius: 7px;
}

.aviso-sem-projetos-cadastrados h2 {
    margin: 0 0 8px;

    font-family:
        "Special Gothic Condensed One",
        sans-serif;

    font-size: 31px;
    font-weight: 400;
    text-transform: uppercase;

    color: #005da3;
}

.aviso-sem-projetos-cadastrados p {
    margin: 0;
}

/* ==================================================
   RESPONSIVO
================================================== */

@media (max-width: 991.98px) {

    .painel-filtros-projetos {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .campo-busca-projetos {
        grid-column: 1 / -1;
    }

    .informacoes-projeto {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {

    .introducao-projetos {
        padding: 50px 0 25px;
    }

    .painel-filtros-projetos {
        grid-template-columns: 1fr;
    }

    .campo-busca-projetos {
        grid-column: auto;
    }

    .listagem-projetos {
        padding: 45px 0 65px;
    }

    .informacoes-projeto {
        grid-template-columns: 1fr;
    }

    .accordion-projetos .accordion-button {
        padding:
            21px
            57px
            21px
            19px;
    }

    .accordion-projetos
    .accordion-button::after {
        right: 19px;
    }

    .accordion-projetos .accordion-body {
        padding: 22px;
    }
}

@media (max-width: 575.98px) {

    .texto-introducao-projetos {
        font-size: 16px;
    }

    .resumo-filtros-projetos {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .marcadores-projeto {
        align-items: flex-start;
        flex-direction: column;
    }

    .linha-card-projeto,
    .situacao-card-projeto {
        align-self: flex-start;
    }

    .accordion-projetos .accordion-body {
        padding: 20px 17px;
    }

    .botao-link-projeto {
        width: 100%;
    }
}