/* ==================================================
   PÁGINA CORPO DOCENTE
================================================== */

.pagina-corpo-docente {
    padding: 30px 0;
}

/* ==================================================
   CABEÇALHO DA PÁGINA
================================================== */

.identificador-pagina-docentes {
    display: block;
    margin-bottom: 8px;

    font-family: "Special Gothic Condensed One", sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: #f8b618;
}

.cabecalho-pagina-docentes h2 
{
    font-family: "Special Gothic Condensed One", sans-serif;
    color: #005da3;
}

p
{
    color: #838282;
    font-family: "Google Sans", sans-serif;
    font-weight: 400;
}

/* ==================================================
   SEÇÕES
================================================== */

.secao-docentes {
    padding: 50px 0 75px;
}

.secao-docentes:nth-of-type(even) {
    background-color: #f6f8fa;
}

.cabecalho-secao-docentes {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-bottom: 35px;
}

.titulo-secao-docentes {
    flex-shrink: 0;

    margin: 0;

    font-family: "Special Gothic Condensed One", sans-serif;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;

    color: #005da3;
}

.linha-titulo-docentes {
    display: block;

    width: 100%;
    height: 2px;

    background: linear-gradient(
        90deg,
        #f8b618 0%,
        rgba(248, 182, 24, 0.08) 100%
    );
}

/* ==================================================
   CARD DO DOCENTE
================================================== */

.card-docente {
    height: 100%;

    background-color: #ffffff;

    border-radius: 12px;
    box-shadow: 0 9px 28px rgba(0, 53, 91, 0.08);

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.card-docente:hover {
    transform: translateY(-7px);

    box-shadow: 0 16px 36px rgba(0, 53, 91, 0.16);
}

.botao-card-docente {
    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100%;
    padding: 0;

    text-align: left;

    color: inherit;
    background: none;

    border: 0;
    cursor: pointer;
}

.botao-card-docente:focus-visible {
    outline: 3px solid #f8b618;
    outline-offset: 4px;
}

.foto-card-docente {
    position: relative;

    display: block;

    width: 100%;
    aspect-ratio: 1 / 1.08;

    background-color: #e9eef2;

    overflow: hidden;
}

.foto-card-docente img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;

    transition:
        transform 0.5s ease,
        filter 0.4s ease;
}

.card-docente:hover .foto-card-docente img {
    transform: scale(1.045);
    filter: brightness(0.78);
}

.sobreposicao-card-docente {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: "Special Gothic Condensed One", sans-serif;
    font-size: 22px;
    letter-spacing: 0.04em;
    text-transform: uppercase;

    color: #ffffff;
    background-color: rgba(0, 93, 163, 0.3);

    opacity: 0;

    transition: opacity 0.3s ease;
}

.card-docente:hover .sobreposicao-card-docente,
.botao-card-docente:focus-visible .sobreposicao-card-docente {
    opacity: 1;
}

.conteudo-card-docente {
    display: flex;
    flex: 1;
    flex-direction: column;

    width: 100%;
    padding: 21px 20px 24px;
}

.nome-card-docente {
    display: block;

    font-family: "Special Gothic Condensed One", sans-serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.05;
    text-transform: uppercase;

    color: #005da3;

    transition: color 0.25s ease;
}

.card-docente:hover .nome-card-docente {
    color: #f2a900;
}

.titulacao-card-docente {
    display: block;
    margin-top: 10px;

    font-size: 15px;
    line-height: 1.5;

    color: #777777;
}

/* ==================================================
   MODAL
================================================== */

.modal-docente {
    z-index: 1060;
}

.modal-docente .modal-dialog {
    max-width: 900px;
}

.modal-docente .modal-content {
    position: relative;

    border: 0;
    border-radius: 16px;

    box-shadow: 0 25px 70px rgba(0, 32, 55, 0.28);

    overflow: hidden;
}

.modal-docente .modal-body {
    padding: 0;
}

.botao-fechar-modal {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 5;

    width: 38px;
    height: 38px;
    padding: 10px;

    background-color: rgba(255, 255, 255, 0.92);
    border-radius: 50%;

    opacity: 1;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.14);
}

.botao-fechar-modal:hover,
.botao-fechar-modal:focus {
    opacity: 1;
    transform: scale(1.06);
}

.foto-modal-docente {
    width: 100%;
    height: 100%;
    min-height: 530px;

    background-color: #e9eef2;
}

.foto-modal-docente img {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 530px;

    object-fit: cover;
    object-position: center top;
}

.conteudo-modal-docente {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-height: 530px;
    padding: 55px 48px;
}

.identificador-modal {
    display: block;
    margin-bottom: 8px;

    font-family: "Special Gothic Condensed One", sans-serif;
    font-size: 16px;
    letter-spacing: 0.11em;
    text-transform: uppercase;

    color: #f2a900;
}

.nome-modal-docente {
    margin: 0 0 28px;

    font-family: "Special Gothic Condensed One", sans-serif;
    font-size: clamp(35px, 5vw, 52px);
    font-weight: 400;
    line-height: 0.98;
    text-transform: uppercase;

    color: #005da3;
}

.informacao-docente {
    margin-bottom: 23px;
}

.informacao-docente h4 {
    margin: 0 0 6px;

    font-family: "Special Gothic Condensed One", sans-serif;
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;

    color: #005da3;
}

.informacao-docente p {
    margin: 0;

    font-size: 16px;
    line-height: 1.65;

    color: #666666;
}

.botao-lattes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    gap: 10px;

    margin-top: 8px;
    padding: 13px 21px;

    font-family: "Special Gothic Condensed One", sans-serif;
    font-size: 19px;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;

    color: #ffffff;
    background-color: #005da3;

    border-radius: 6px;

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}

.botao-lattes:hover,
.botao-lattes:focus {
    color: #005da3;
    background-color: #f8b618;

    transform: translateY(-2px);
}

.aviso-sem-docentes {
    padding: 25px;

    color: #666666;
    background-color: #f4f6f8;

    border-left: 4px solid #f8b618;
    border-radius: 4px;
}

.aviso-sem-docentes p {
    margin: 0;
}

/* ==================================================
   RESPONSIVO
================================================== */

@media (max-width: 767.98px) {

    .introducao-corpo-docente {
        padding: 50px 0 25px;
    }

    .secao-docentes {
        padding: 40px 0 55px;
    }

    .cabecalho-secao-docentes {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;

        margin-bottom: 27px;
    }

    .linha-titulo-docentes {
        max-width: 130px;
    }

    .foto-modal-docente {
        min-height: 370px;
        max-height: 430px;
    }

    .foto-modal-docente img {
        min-height: 370px;
        max-height: 430px;
    }

    .conteudo-modal-docente {
        min-height: auto;
        padding: 38px 26px 40px;
    }

    .nome-modal-docente {
        margin-bottom: 25px;
    }

    .botao-lattes {
        align-self: stretch;
    }
}

@media (max-width: 575.98px) {

    .conteudo-card-docente {
        padding: 18px 18px 21px;
    }

    .nome-card-docente {
        font-size: 24px;
    }

    .modal-docente .modal-dialog {
        margin: 15px;
    }

    .modal-docente .modal-content {
        border-radius: 12px;
    }
}

@media (max-width: 575.98px) {

    .secao-docentes .row {
        --bs-gutter-x: 12px;
        --bs-gutter-y: 16px;
    }

    .foto-card-docente {
        aspect-ratio: 1 / 1.12;
    }

    .conteudo-card-docente {
        padding: 14px 12px 16px;
    }

    .nome-card-docente {
        font-size: 20px;
        line-height: 1.05;
    }

    .titulacao-card-docente {
        margin-top: 7px;

        font-size: 13px;
        line-height: 1.35;
    }

    .sobreposicao-card-docente {
        font-size: 17px;
    }

}