
/* ==========================================
   LAEF — PÁGINAS DE ATUAÇÃO
   Ensino · Pesquisa · Extensão
========================================== */


/* HERO */

.action-hero {
    min-height: 480px;
    background: var(--navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.action-hero-grid {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);

    background-size: 65px 65px;

    mask-image: linear-gradient(
        to right,
        transparent,
        black 35%,
        black
    );
}

.action-hero-content {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-top: 85px;
    padding-bottom: 100px;
}

.action-hero-content h1 {
    font-family: var(--font-editorial);
    font-size: clamp(65px, 8vw, 100px);
    font-weight: 400;
    line-height: 1.1;
    margin: 25px 0;
}

.action-hero-content h1 span {
    color: #91b3d2;
}

.action-hero-content p {
    max-width: 550px;
    font-size: 15px;
    line-height: 1.9;
    color: #b9c5d2;
}

.action-hero-number {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.action-hero-number span {
    font-family: var(--font-editorial);
    font-size: 100px;
    color: rgba(255,255,255,.12);
}

.action-hero-number small {
    font-size: 9px;
    letter-spacing: 2px;
    color: #A9C4DD;
}

.action-hero-footer {
    position: absolute;
    bottom: 0;
    left: 5%;
    right: 5%;

    min-height: 45px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top: 1px solid rgba(255,255,255,.13);

    font-size: 8px;
    letter-spacing: 1.5px;
    color: #8295aa;
}


/* INTRODUÇÃO */

.action-intro {
    background: #DCE4EB;
}

.action-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
}

.action-intro-grid h2 {
    font-family: var(--font-editorial);
    font-size: clamp(38px, 4.5vw, 55px);
    font-weight: 400;
    line-height: 1.2;
    margin-top: 22px;
}

.action-intro-grid h2 em {
    color: var(--blue);
}

.action-intro-text {
    padding-top: 30px;
}

.action-intro-text p {
    font-size: 14px;
    color: #536477;
    line-height: 2;
    margin-bottom: 22px;
}

.action-intro-text .action-lead {
    font-size: 18px;
    color: var(--navy);
    line-height: 1.8;
}


/* EIXOS DE ATUAÇÃO */

.action-topics {
    background: var(--navy);
    color: var(--white);
}

.action-section-heading {
    margin-bottom: 50px;
}

.action-section-heading .section-index {
    color: #A9C4DD;
}

.action-section-heading h2 {
    font-family: var(--font-editorial);
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.2;
    margin-top: 20px;
}

.action-topic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.action-topic {
    min-height: 300px;
    padding: 32px;

    background: var(--navy-light);
    border: 1px solid rgba(255,255,255,.12);

    transition: .3s;
}

.action-topic:hover {
    transform: translateY(-5px);
    background: #223B5B;
    border-color: #91B3D2;
}

.action-topic > span {
    font-size: 10px;
    color: #A9C4DD;
}

.topic-symbol {
    font-family: var(--font-editorial);
    font-size: 42px;
    color: #A9C4DD;
    margin: 25px 0 15px;
}

.action-topic h3 {
    font-family: var(--font-editorial);
    font-size: 23px;
    font-weight: 400;
    margin-bottom: 12px;
}

.action-topic p {
    font-size: 12px;
    line-height: 1.9;
    color: #B9C5D2;
}


/* PRODUÇÃO CIENTÍFICA */

.research-publications {
    background: #192D49;
    color: var(--white);
    padding: 85px 0;
}

.research-publications-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 45px;
}

.research-publications .section-index {
    color: #A9C4DD;
}

.research-publications h2 {
    font-family: var(--font-editorial);
    font-size: clamp(38px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.2;
    margin: 22px 0;
}

.research-publications h2 em {
    color: #A9C4DD;
}

.research-publications p {
    max-width: 550px;
    font-size: 13px;
    color: #B9C5D2;
    line-height: 1.9;
}

.research-publications .button-primary {
    flex-shrink: 0;
}


/* ENCERRAMENTO */

.action-closing {
    background: #DCE4EB;
    padding: 100px 0;
}

.action-closing .section-index {
    color: var(--blue);
}

.action-closing h2 {
    max-width: 750px;
    font-family: var(--font-editorial);
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 400;
    line-height: 1.2;
    margin: 25px 0 35px;
}

.action-closing .button-primary {
    background: var(--navy);
    color: var(--white);
}

.action-closing .button-primary:hover {
    background: var(--navy-light);
}


/* VARIAÇÕES DE IDENTIDADE */

.research-hero {
    background: #101F35;
}

.extension-hero {
    background: #192D49;
}


/* RESPONSIVIDADE */

@media (max-width: 900px) {

    .action-intro-grid {
        gap: 50px;
    }

}

@media (max-width: 760px) {

    .action-hero {
        min-height: 420px;
    }

    .action-hero-content {
        padding-top: 75px;
        padding-bottom: 85px;
    }

    .action-hero-content h1 {
        font-size: 65px;
    }

    .action-hero-number {
        display: none;
    }

    .action-hero-footer {
        font-size: 7px;
        letter-spacing: .5px;
        gap: 10px;
    }

    .action-intro-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .action-intro-text {
        padding-top: 0;
    }

    .action-topic-grid {
        grid-template-columns: 1fr;
    }

    .action-topic {
        min-height: 260px;
    }

    .research-publications-content {
        align-items: flex-start;
        flex-direction: column;
    }

    .action-closing {
        padding: 75px 0;
    }

}

@media (max-width: 400px) {

    .action-hero-content h1 {
        font-size: 54px;
    }

    .action-hero-content p {
        font-size: 13px;
    }

}


/* ==========================================
   LAEF — PROJETOS PÚBLICOS DE PESQUISA
========================================== */

.pesquisa-publicacoes {
    background: #dce5ec;
}

.pesquisa-publicacoes .action-section-heading {
    margin-bottom: 55px;
}

.pesquisa-publicacoes .action-section-heading h2 {
    margin-top: 20px;
}

.pesquisa-publicacoes .action-section-heading p {
    max-width: 620px;
    margin-top: 18px;
    color: #60758a;
    line-height: 1.8;
}

/* GRID */

.pesquisa-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

/* CARD */

.pesquisa-card {
    background: #f1f5f7;
    border: 1px solid #cbd7e0;
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pesquisa-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(18, 39, 61, 0.08);
}

/* IMAGEM */

.pesquisa-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #cbd7e0;
}

.pesquisa-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pesquisa-card:hover .pesquisa-card-image img {
    transform: scale(1.04);
}

/* INFORMAÇÕES */

.pesquisa-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pesquisa-card-area {
    color: #648bb0;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.pesquisa-card-content h3 {
    color: #12243b;
    font-family: "Playfair Display", serif;
    font-size: 1.65rem;
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 15px;
}

.pesquisa-card-content p {
    color: #52677c;
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0 0 20px;
    white-space: pre-line;
}

/* RESPONSÁVEL */

.pesquisa-card-responsavel {
    color: #52677c;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.pesquisa-card-responsavel strong {
    color: #12243b;
    font-weight: 600;
}

/* BOTÃO */

.pesquisa-card-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin-top: auto;
    padding: 13px 18px;
    background: #12243b;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    transition: background 0.3s ease;
}

.pesquisa-card-link:hover {
    background: #315d83;
}

/* ESTADOS */

.pesquisa-estado {
    grid-column: 1 / -1;
    padding: 45px 30px;
    border: 1px dashed #aebfce;
    color: #52677c;
    text-align: center;
    line-height: 1.8;
}

.pesquisa-estado.erro {
    color: #a43b3b;
}

/* RESPONSIVIDADE */

@media (max-width: 768px) {

    .pesquisa-grid {
        grid-template-columns: 1fr;
    }

    .pesquisa-card-image {
        height: 220px;
    }

    .pesquisa-card-content {
        padding: 24px;
    }

    .pesquisa-card-content h3 {
        font-size: 1.4rem;
    }

}

/* ==========================================
   LAEF — AÇÕES DE EXTENSÃO
========================================== */

.extension-projects {
    background: #dce5ed;
    color: #102239;
}

.extension-projects .action-section-heading {
    margin-bottom: 55px;
}

.extension-projects .action-section-heading h2 {
    max-width: 850px;
}

.extension-projects .action-section-heading p {
    max-width: 650px;
    margin-top: 18px;
    color: #60758b;
    line-height: 1.8;
}

.extension-project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.extension-project-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #cbd7e1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.extension-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(16, 34, 57, 0.10);
}

.extension-project-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #1b304b;
}

.extension-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.extension-project-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    padding: 30px;
}

.extension-project-label {
    margin-bottom: 18px;
    color: #608bb2;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.extension-project-content h3 {
    margin: 0 0 16px;
    color: #102239;
    font-family: "Playfair Display", serif;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.3;
}

.extension-project-summary {
    color: #344d66;
    font-size: 15px;
    line-height: 1.8;
}

.extension-project-description {
    color: #60758b;
    font-size: 14px;
    line-height: 1.8;
    white-space: pre-line;
}

.extension-project-responsible {
    margin-top: auto;
    padding-top: 20px;
    color: #60758b;
    font-size: 12px;
}

.extension-project-link {
    display: inline-block;
    margin-top: 22px;
    padding-bottom: 5px;
    color: #173b60;
    border-bottom: 1px solid #608bb2;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.extension-project-link:hover {
    color: #608bb2;
}

.extension-state {
    grid-column: 1 / -1;
    padding: 35px;
    color: #60758b;
    text-align: center;
    border: 1px solid #cbd7e1;
    background: rgba(255, 255, 255, 0.45);
}

.extension-error {
    color: #a43c3c;
}

@media (max-width: 900px) {

    .extension-project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 600px) {

    .extension-project-grid {
        grid-template-columns: 1fr;
    }

    .extension-project-content {
        padding: 24px;
    }

}


/* ==========================================
   LAEF — ENSINO PÚBLICO
   Busca, filtros e cartões
========================================== */

.ensino-publicacoes {
    background: #dce5ec;
    color: #102239;
}

.ensino-publicacoes .action-section-heading {
    margin-bottom: 35px;
}

.ensino-publicacoes .action-section-heading h2 {
    color: #12243b;
}

.ensino-publicacoes .action-section-heading p {
    max-width: 620px;
    margin-top: 18px;
    color: #60758a;
    line-height: 1.8;
}

/* CONTROLES */

.ensino-controles {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 15px;
    margin-bottom: 15px;
}

.ensino-busca input,
.ensino-filtro select {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    border: 1px solid #cbd7e1;
    background: #f8fafb;
    color: #12243b;
    font: inherit;
    font-size: 14px;
    outline: none;
}

.ensino-busca input:focus,
.ensino-filtro select:focus {
    border-color: #315d83;
    box-shadow: 0 0 0 3px rgba(49, 93, 131, .12);
}

#ensino-contador {
    grid-column: 1 / -1;
    color: #60758a;
    font-size: 12px;
    margin: 0;
}

/* GRADE */

.ensino-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

/* CARTÕES */

.ensino-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #f1f5f7;
    border: 1px solid #cbd7e0;
    transition: transform .3s ease, box-shadow .3s ease;
}

.ensino-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(18, 39, 61, .08);
}

/* IMAGENS */

.ensino-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #cbd7e0;
}

.ensino-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CONTEÚDO */

.ensino-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: flex-start;
    padding: 30px;
}

.ensino-card-category {
    margin-bottom: 15px;
    color: #648bb0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.ensino-card-content h3 {
    margin: 0 0 15px;
    color: #12243b;
    font-family: "Playfair Display", serif;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.3;
}

.ensino-card-content p {
    margin: 0 0 22px;
    color: #52677c;
    font-size: 14px;
    line-height: 1.8;
    white-space: pre-line;
}

/* DOCUMENTO */

.ensino-card-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: auto;
    padding: 13px 18px;
    background: #12243b;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background .3s ease;
}

.ensino-card-link:hover {
    background: #315d83;
}

/* ESTADOS */

.ensino-estado {
    grid-column: 1 / -1;
    padding: 45px 30px;
    border: 1px dashed #aebfce;
    color: #52677c;
    text-align: center;
    line-height: 1.8;
}

.ensino-estado.erro {
    color: #a43b3b;
}

/* RESPONSIVIDADE */

@media (max-width: 768px) {

    .ensino-grid {
        grid-template-columns: 1fr;
    }

    .ensino-controles {
        grid-template-columns: 1fr;
    }

    .ensino-card-image {
        height: 220px;
    }

    .ensino-card-content {
        padding: 24px;
    }

    .ensino-card-content h3 {
        font-size: 22px;
    }
}

/* ==========================================
   LAEF — EXTENSÃO
   Botão de nova tentativa
========================================== */

.extension-retry {
    display: block;
    margin: 18px auto 0;
    padding: 12px 22px;
    border: 1px solid #173b60;
    background: #173b60;
    color: #ffffff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .3s ease;
}

.extension-retry:hover {
    background: #315d83;
}

.extension-state h3 {
    margin-bottom: 12px;
    font-family: "Playfair Display", serif;
    font-size: 24px;
    font-weight: 500;
    color: #102239;
}

.extension-state p {
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.8;
}

.extension-error h3 {
    color: #a43c3c;
}

/* ==========================================
   LAEF — IDENTIDADE VISUAL: PESQUISA
========================================== */

.page-pesquisa {
    --research-blue: #245B78;
    --research-blue-dark: #142D49;
    --research-cyan: #83C5D1;
    --research-cyan-light: #D8EDF0;
    --research-paper: #EDF2F3;
}

/* HERO */

.page-pesquisa .research-hero {
    background: #142D49;
}

.page-pesquisa .action-hero-grid {
    background-image:
        linear-gradient(rgba(131, 197, 209, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(131, 197, 209, .08) 1px, transparent 1px);
}

.page-pesquisa .action-hero-content .eyebrow {
    color: #83C5D1;
}

.page-pesquisa .action-hero-content h1 span {
    color: #CC582C;
}

.page-pesquisa .action-hero-content p {
    color: #D0E0E8;
}

.page-pesquisa .action-hero-number {
    color: #83C5D1;
}

.page-pesquisa .action-hero-footer {
    border-color: rgba(131, 197, 209, .25);
    color: #83C5D1;
}

/* APRESENTAÇÃO */

.page-pesquisa .action-intro {
    background: #EDF2F3;
}

.page-pesquisa .action-intro .section-index {
    color: #245B78;
}

.page-pesquisa .action-intro h2 em {
    color: #245B78;
}

.page-pesquisa .action-intro-text p {
    color: #596B75;
}

.page-pesquisa .action-intro-text .action-lead {
    color: #142D49;
}

/* EIXOS DE PESQUISA */

.page-pesquisa .action-topics {
    background: #142D49;
}

.page-pesquisa .action-topics .section-index {
    color: #83C5D1;
}

.page-pesquisa .action-topics .action-section-heading h2 {
    color: #FFFFFF;
}

.page-pesquisa .action-topic {
    background: #203F5D;
    border-color: rgba(131, 197, 209, .2);
}

.page-pesquisa .action-topic:hover {
    background: #245B78;
    border-color: #83C5D1;
}

.page-pesquisa .action-topic > span {
    color: #83C5D1;
}

.page-pesquisa .action-topic .topic-symbol {
    color: #83C5D1;
}

.page-pesquisa .action-topic h3 {
    color: #FFFFFF;
}

.page-pesquisa .action-topic p {
    color: #D0E0E8;
}

/* PROJETOS DE PESQUISA */

.page-pesquisa .pesquisa-publicacoes {
    background: #D8EDF0;
}

.page-pesquisa .pesquisa-publicacoes .section-index {
    color: #245B78;
}

.page-pesquisa .pesquisa-publicacoes h2 {
    color: #142D49;
}

.page-pesquisa .pesquisa-publicacoes .action-section-heading p {
    color: #596B75;
}

.page-pesquisa .pesquisa-card {
    background: #FFFFFF;
    border-color: #BDD5DC;
    border-bottom: 3px solid #245B78;
}

.page-pesquisa .pesquisa-card:hover {
    border-bottom-color: #CC582C;
}

.page-pesquisa .pesquisa-card-area {
    color: #245B78;
}

.page-pesquisa .pesquisa-card-content h3 {
    color: #142D49;
}

.page-pesquisa .pesquisa-card-content p {
    color: #596B75;
}

.page-pesquisa .pesquisa-card-link {
    color: #245B78;
}

.page-pesquisa .pesquisa-card-link:hover {
    color: #CC582C;
}

.page-pesquisa .pesquisa-estado {
    color: #245B78;
}

/* PRODUÇÃO ACADÊMICA */

.page-pesquisa .research-publications {
    background: #203F5D;
}

.page-pesquisa .research-publications .section-index {
    color: #83C5D1;
}

.page-pesquisa .research-publications h2 em {
    color: #83C5D1;
}

.page-pesquisa .research-publications p {
    color: #D0E0E8;
}

.page-pesquisa .research-publications .button-primary {
    background: #CC582C;
    color: #FFFFFF;
}

.page-pesquisa .research-publications .button-primary:hover {
    background: #A94322;
}

/* ENCERRAMENTO */

.page-pesquisa .action-closing {
    background: #EDF2F3;
}

.page-pesquisa .action-closing .section-index {
    color: #245B78;
}

.page-pesquisa .action-closing h2 {
    color: #142D49;
}

.page-pesquisa .action-closing .button-primary {
    background: #245B78;
}

.page-pesquisa .action-closing .button-primary:hover {
    background: #142D49;
}