/* ==========================================================
   REFERENCIAL ESTRATÉGICO — LCC-UFMG
   Padrão visual: página Equipe
   ========================================================== */


/* ==========================================================
   1. VARIÁVEIS E ESTRUTURA GERAL
   ========================================================== */

.lcc-reference-page {
    --lcc-navy: #092a5e;
    --lcc-blue: #1351b4;
    --lcc-text: #27364b;
    --lcc-text-soft: #44546a;
    --lcc-border: #d1d9e6;
    --lcc-table-head: #f5f8ff;
    --lcc-white: #ffffff;

    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
    padding: 32px 16px 48px;

    color: var(--lcc-text);
    background: var(--lcc-white);

    font-size: 16px;
    line-height: 1.6;
}

.lcc-reference-page,
.lcc-reference-page *,
.lcc-reference-page *::before,
.lcc-reference-page *::after {
    box-sizing: border-box;
}

.lcc-reference-page * {
    min-width: 0;
}


/* ==========================================================
   2. CABEÇALHO DA PÁGINA
   ========================================================== */

.lcc-reference-header {
    margin: 0 0 32px;
    padding: 0;
}

.lcc-reference-header h1 {
    margin: 0 0 16px;
    padding: 0;

    color: var(--lcc-navy);

    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.lcc-reference-header p {
    max-width: 900px;

    margin: 0;
    padding: 0;

    color: var(--lcc-text);

    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}


/* ==========================================================
   3. SEÇÕES INSTITUCIONAIS
   ========================================================== */

.lcc-reference-section {
    width: 100%;

    margin: 0 0 32px;
    padding: 0;

    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.lcc-reference-section:last-child {
    margin-bottom: 0;
}


/* ==========================================================
   4. TÍTULOS DAS SEÇÕES
   ========================================================== */

.lcc-reference-section > h2 {
    margin: 0 0 26px;
    padding: 0;

    color: var(--lcc-navy);

    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.3px;
}


/* ==========================================================
   5. TRAÇO AZUL ABAIXO DOS TÍTULOS
   ========================================================== */

.lcc-reference-title-line {
    display: block;

    width: 29px;
    height: 2px;

    margin: 0 0 16px;
    padding: 0;

    background-color: var(--lcc-blue);
    border: 0;
    border-radius: 0;
}


/* ==========================================================
   6. TEXTOS INSTITUCIONAIS
   ========================================================== */

.lcc-reference-text {
    width: 100%;
    max-width: 100%;

    margin: 0;
    padding: 0;
}

.lcc-reference-text p {
    margin: 0 0 16px;
    padding: 0;

    color: var(--lcc-text);

    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    text-align: left;
}

.lcc-reference-text p:last-child {
    margin-bottom: 0;
}


/* ==========================================================
   7. DESCRIÇÕES INTRODUTÓRIAS
   ========================================================== */

.lcc-reference-description {
    max-width: 100%;

    margin: 0 0 16px;
    padding: 0;

    color: var(--lcc-text-soft);

    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}


/* ==========================================================
   8. TABELA DE INFORMAÇÕES INSTITUCIONAIS
   ========================================================== */

.lcc-reference-table-wrapper {
    width: 100%;
    max-width: 100%;

    margin: 0;
    padding: 0;

    overflow-x: auto;

    background: var(--lcc-white);
    border: 1px solid var(--lcc-border);
    border-radius: 5px;

    box-shadow: none;

    -webkit-overflow-scrolling: touch;
}

.lcc-reference-table {
    width: 100%;
    min-width: 0;

    margin: 0;

    border-collapse: separate;
    border-spacing: 0;

    table-layout: fixed;

    color: var(--lcc-text);
    background: var(--lcc-white);

    font-size: 15px;
    line-height: 1.5;
}


/* Cabeçalho */

.lcc-reference-table thead {
    background: var(--lcc-table-head);
}

.lcc-reference-table thead th {
    padding: 11px 13px;

    color: #172b47;
    background: var(--lcc-table-head);

    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
    vertical-align: middle;

    border-bottom: 1px solid var(--lcc-border);
}


/* Colunas */

.lcc-reference-table th:first-child,
.lcc-reference-table td:first-child {
    width: 39%;

    border-right: 1px solid var(--lcc-border);
}

.lcc-reference-table th:last-child,
.lcc-reference-table td:last-child {
    width: 61%;
}


/* Corpo da tabela */

.lcc-reference-table tbody th,
.lcc-reference-table tbody td {
    padding: 11px 13px;

    color: var(--lcc-text);
    background: var(--lcc-white);

    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    vertical-align: top;

    overflow-wrap: break-word;
    word-break: normal;

    border-bottom: 1px solid var(--lcc-border);
}


/* Remove borda da última linha */

.lcc-reference-table tbody tr:last-child th,
.lcc-reference-table tbody tr:last-child td {
    border-bottom: 0;
}


/* Impede estilos alternados herdados */

.lcc-reference-table tbody tr:nth-child(even),
.lcc-reference-table tbody tr:nth-child(odd) {
    background: var(--lcc-white);
}


/* ==========================================================
   9. LISTA DE VALORES INSTITUCIONAIS
   ========================================================== */

.lcc-reference-values {
    display: flex;
    flex-direction: column;
    gap: 24px;

    width: 100%;

    margin: 0;
    padding: 0;

    list-style: none;

    counter-reset: lcc-value;
}

.lcc-reference-value {
    position: relative;

    display: block;

    width: 100%;

    margin: 0;
    padding: 0 0 0 42px;

    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;

    counter-increment: lcc-value;
}


/* Numeração automática */

.lcc-reference-value::before {
    content: counter(lcc-value, decimal-leading-zero);

    position: absolute;
    top: 1px;
    left: 0;

    color: var(--lcc-blue);

    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}


/* Títulos dos valores */

.lcc-reference-value h3 {
    margin: 0 0 5px;
    padding: 0;

    color: var(--lcc-navy);

    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
}


/* Descrições dos valores */

.lcc-reference-value p {
    margin: 0;
    padding: 0;

    color: var(--lcc-text);

    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}


/* ==========================================================
   10. LISTA DE OBJETIVOS ESTRATÉGICOS
   ========================================================== */

.lcc-reference-objectives {
    display: flex;
    flex-direction: column;
    gap: 0;

    width: 100%;

    margin: 0;
    padding: 0;

    list-style: none;

    counter-reset: lcc-objective;

    background: var(--lcc-white);
    border: 1px solid var(--lcc-border);
    border-radius: 5px;

    overflow: hidden;
}


/* Cada objetivo ocupa uma linha */

.lcc-reference-objective {
    position: relative;

    display: block;

    width: 100%;

    margin: 0;
    padding: 15px 16px 15px 64px;

    background: var(--lcc-white);

    border: 0;
    border-bottom: 1px solid var(--lcc-border);
    border-radius: 0;
    box-shadow: none;

    counter-increment: lcc-objective;
}


/* Remove borda da última linha */

.lcc-reference-objective:last-child {
    border-bottom: 0;
}


/* Numeração romana */

.lcc-reference-objective::before {
    content: counter(lcc-objective, upper-roman);

    position: absolute;
    top: 15px;
    left: 16px;

    width: 34px;

    color: var(--lcc-navy);

    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
}


/* Texto de cada objetivo */

.lcc-reference-objective p {
    margin: 0;
    padding: 0;

    color: var(--lcc-text);

    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    text-align: left;
}


/* ==========================================================
   11. ACESSIBILIDADE
   ========================================================== */

/* Legendas destinadas a leitores de tela */

.lcc-reference-page .visually-hidden {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;

    border: 0 !important;
}


/* Navegação por teclado */

.lcc-reference-table-wrapper:focus-visible {
    outline: 3px solid var(--lcc-blue);
    outline-offset: 3px;
}


/* Evita quebra indevida de palavras */

.lcc-reference-page p,
.lcc-reference-page h1,
.lcc-reference-page h2,
.lcc-reference-page h3 {
    overflow-wrap: break-word;
}


/* ==========================================================
   12. RESPONSIVIDADE — TABLETS
   ========================================================== */

@media (max-width: 992px) {

    .lcc-reference-page {
        max-width: 100%;
        padding: 28px 20px 44px;
    }

    .lcc-reference-header {
        margin-bottom: 32px;
    }

    .lcc-reference-header h1 {
        font-size: 30px;
    }

    .lcc-reference-section {
        margin-bottom: 32px;
    }

    .lcc-reference-section > h2 {
        font-size: 22px;
    }

}


/* ==========================================================
   13. RESPONSIVIDADE — CELULARES
   ========================================================== */

@media (max-width: 576px) {

    /* Estrutura */

    .lcc-reference-page {
        width: 100%;
        max-width: 100%;

        padding: 28px 16px 40px;

        font-size: 16px;
    }


    /* Cabeçalho */

    .lcc-reference-header {
        margin-bottom: 30px;
    }

    .lcc-reference-header h1 {
        margin-bottom: 18px;

        font-size: 32px;
        line-height: 1.25;
    }

    .lcc-reference-header p {
        font-size: 16px;
        line-height: 1.65;
    }


    /* Seções */

    .lcc-reference-section {
        margin-bottom: 32px;
    }

    .lcc-reference-section > h2 {
        margin-bottom: 26px;

        font-size: 22px;
        line-height: 1.35;
    }


    /* Traço azul */

    .lcc-reference-title-line {
        width: 29px;
        height: 2px;

        margin-bottom: 16px;
    }


    /* Textos */

    .lcc-reference-text p,
    .lcc-reference-description {
        font-size: 16px;
        line-height: 1.65;
    }


    /* Tabela */

    .lcc-reference-table {
        font-size: 14px;
    }

    .lcc-reference-table thead th,
    .lcc-reference-table tbody th,
    .lcc-reference-table tbody td {
        padding: 11px 12px;

        font-size: 14px;
        line-height: 1.45;
    }

    .lcc-reference-table th:first-child,
    .lcc-reference-table td:first-child {
        width: 39%;
    }

    .lcc-reference-table th:last-child,
    .lcc-reference-table td:last-child {
        width: 61%;
    }


    /* Valores */

    .lcc-reference-values {
        gap: 24px;
    }

    .lcc-reference-value {
        padding-left: 40px;
    }

    .lcc-reference-value::before {
        font-size: 14px;
    }

    .lcc-reference-value h3 {
        font-size: 17px;
    }

    .lcc-reference-value p {
        font-size: 15px;
        line-height: 1.65;
    }


    /* Objetivos estratégicos */

    .lcc-reference-objective {
        padding: 14px 12px 14px 52px;
    }

    .lcc-reference-objective::before {
        top: 14px;
        left: 12px;

        width: 32px;

        font-size: 14px;
    }

    .lcc-reference-objective p {
        font-size: 14px;
        line-height: 1.6;
    }

}


/* ==========================================================
   14. TELAS MUITO PEQUENAS
   ========================================================== */

@media (max-width: 360px) {

    .lcc-reference-page {
        padding-right: 12px;
        padding-left: 12px;
    }

    .lcc-reference-header h1 {
        font-size: 29px;
    }

    .lcc-reference-table thead th,
    .lcc-reference-table tbody th,
    .lcc-reference-table tbody td {
        padding: 10px 8px;
        font-size: 13px;
    }

    .lcc-reference-objective {
        padding-left: 48px;
    }

    .lcc-reference-objective::before {
        left: 10px;
    }

}


/* ==========================================================
   15. MOVIMENTO REDUZIDO
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    .lcc-reference-page,
    .lcc-reference-page * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

}