.docentes {
    width: 100%;
    min-height: 100vh;

    padding: 50px 7%;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.titulo {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto 35px;
}

.titulo h1 {
    font-size: clamp(40px, 4vw, 65px);
    font-weight: 900;
}

.titulo h1 span {
    color: var(--secondary-color);
}

.linha {
    width: 210px;
    height: 3px;
    margin-top: 10px;
    background: linear-gradient(
        to right,
        #F6BE36 0,
        #F6BE36 44%,
        transparent 44%,
        transparent 56%,
        #F6BE36 56%,
        #F6BE36 100%
    );
    position: relative;
}

.linha::after {
    content: "★";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -52%);
    color: var(--secondary-color);
    background: #05052d;
    padding: 0 6px;
    font-size: 14px;
}

.conteudo {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 25px;
}

.perfil {
    width: 280px;
    flex-shrink: 0;

    padding: 12px 20px 22px;

    background: var(--card-color);

    border-radius: 30px;

    text-align: center;
}

.perfil img {
    width: 100%;
    height: 340px;

    object-fit: cover;

    border: 2px solid var(--secondary-color);

    border-radius: 20px;
}

.perfil h2 {
    margin-top: 10px;

    font-size: 26px;

    line-height: 25px;
}

.perfil h2 span {
    display: block;

    color: var(--secondary-color);
}

.perfil p {
    width: fit-content;

    margin: 16px auto 0;

    padding: 5px 14px;

    border: 2px solid var(--secondary-color);

    border-radius: 15px;

    color: var(--secondary-color);

    font-size: 13px;

    font-weight: bold;
}

.area-cards {
    width: auto;
}

.cards {
    display: flex;

    justify-content: center;

    gap: 18px;
}

.card-docente {
    width: 250px;
    min-height: 340px;

    flex: none;

    padding: 28px 20px;

    background: #101034;

    border: 1px solid var(--secondary-color);

    border-radius: 30px;

    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cards.trocando .card-docente {
    transform: translateX(-15px);
    box-shadow: 0 10px 25px rgba(255, 191, 25, 0.25);
}

.card-docente:hover {
    transform: scale(1.04);
    box-shadow: 0 15px 35px rgba(255, 183, 3, 0.2);
  }

.icone {
    width: 48px;
    height: 48px;

    margin: 0 auto 10px;

    border: 2px solid var(--secondary-color);

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--secondary-color);

    font-size: 20px;
}

.card-docente h3 {
    color: var(--secondary-color);

    font-size: 16px;
}

.card-docente img {
    width: 27px;
}

.linha-card {
    width: 45px;
    height: 2px;

    margin: 12px auto 16px;

    background: var(--secondary-color);
}

.card-docente p {
    font-size: 14px;

    line-height: 1.4;

    font-weight: 600;
}

.card-docente p + p {
    margin-top: 20px;
}

.navegacao {
    margin-top: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;
}

.navegacao button {
    border: none;
    background: transparent;
    color: var(--font-color);
    cursor: pointer;
}

#anterior,
#proximo {
    font-size: 30px;
}

.bolinha {
    width: 8px;
    height: 8px;

    padding: 0;

    border-radius: 50%;

    background: var(--font-color) !important;
}

.bolinha.ativo {
    background: var(--secondary-color) !important;
}

@media (max-width: 1050px) {

    .conteudo {
        align-items: flex-start;
    }

    .cards {
        display: block;
    }

    .card-docente {
        display: none;

        width: min(360px, 100%);
    }

    .card-docente.ativo {
        display: block;
    }

}

@media (max-width: 700px) {

    .docentes {
        padding: 35px 18px;
    }

    .titulo {
        text-align: center;

        margin-bottom: 25px;
    }

    .linha {
        margin: 10px auto 0;
    }

    .conteudo {
        flex-direction: column;

        align-items: center;

        gap: 22px;
    }

    .perfil {
        width: min(340px, 100%);
    }

    .perfil img {
        height: auto;

        aspect-ratio: 0.8;
    }

    .area-cards {
        width: 100%;
    }

    .card-docente {
        width: min(360px, 100%);

        min-height: 320px;

        margin: 0 auto;
    }

}

@media (max-width: 380px) {

    .docentes {
        padding-left: 12px;
        padding-right: 12px;
    }

    .card-docente {
        padding: 24px 16px;
    }

}