/* ============================================================
   ABAS DO CURSO — Figma node 4037:2489
   Componente: 847px × 880px | aba ativa: #5a738d | painel: #ecf1f6
   ============================================================ */

/* Nav — zera Bootstrap nav-tabs */
.sc-tabs-nav.nav-tabs {
    border-bottom: none;
    gap: 0;
    flex-wrap: nowrap;
}
.sc-tabs-nav.nav-tabs .nav-item {
    margin: 0;
}

/* Botão de aba — base */
.sc-tabs-nav.nav-tabs .nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #5a738d;
    letter-spacing: -0.32px;
    line-height: normal;
    height: 66px;
    min-width: 180px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border: 1px solid #e0ebf6;
    border-bottom: none;
    border-radius: 20px 20px 0 0;
    background: transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

/* Aba ativa */
.sc-tabs-nav.nav-tabs .nav-link.active {
    background: #5a738d !important;
    color: #ffffff !important;
    border-color: #5a738d !important;
}

/* Hover em aba inativa */
.sc-tabs-nav.nav-tabs .nav-link:not(.active):hover {
    background: rgba(90, 115, 141, 0.08);
    color: #5a738d;
}

/* Painel de conteúdo */
.sc-tab-content.tab-content {
    background: #ecf1f6;
    border-radius: 0 20px 20px 20px; /* sem raio top-left: aba 1 "assenta" ali */
    padding: 41px 45px 56px 35px;
    min-height: 400px;
}

/* Texto dentro do painel */
.sc-tab-content .tab-pane,
.sc-tab-content .tab-pane p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #5a738d;
    letter-spacing: -0.32px;
    line-height: 1.88;
}
.sc-tab-content .tab-pane p {
    margin-bottom: 15px;
}
.sc-tab-content .tab-pane p:last-child {
    margin-bottom: 0;
}

/* Responsivo — abas empilham em mobile */
@media (max-width: 767px) {
    .sc-tabs-nav.nav-tabs {
        flex-wrap: wrap;
    }
    .sc-tabs-nav.nav-tabs .nav-link {
        min-width: unset;
        flex: 1;
        height: 48px;
        font-size: 14px;
        padding: 0 12px;
    }
    .sc-tab-content.tab-content {
        border-radius: 0 0 20px 20px;
        padding: 24px 20px 32px;
    }
}

/* ---- CARDS DE PROFESSORES ---- */
.prof-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.prof-card-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #d9d9d9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.prof-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.prof-card-placeholder {
    color: #a6a6a7;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}
.prof-card-body {
    padding: 16px 16px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    gap: 6px;
}
.prof-card-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #66589e;
    letter-spacing: -0.32px;
    margin: 0;
}
.prof-card-cargo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: #707070;
    letter-spacing: -0.32px;
    margin: 0;
    flex: 1;
}
.prof-btn-formacao {
    background: #66589e;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: -0.32px;
    padding: 8px 0;
    cursor: pointer;
    width: 100%;
    transition: opacity .2s;
}
.prof-btn-formacao:hover { opacity: .85; }

/* ---- MODAL DE FORMAÇÃO ---- */
#professorModal .modal-content {
    background: #ecf1f6;
    border-radius: 20px;
    border: none;
}
.prof-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 28px 30px 16px;
}
.prof-modal-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #66589e;
    letter-spacing: -0.32px;
    margin: 0 0 4px;
}
.prof-modal-cargo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: #707070;
    letter-spacing: -0.32px;
    margin: 0;
}
.prof-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
    line-height: 1;
}
.prof-modal-divider {
    height: 1px;
    background: #fff;
    margin: 0 30px;
}
.prof-modal-body {
    padding: 24px 30px 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #5a738d;
    line-height: 1.88;
    letter-spacing: -0.32px;
}
