/* ==================================================
   HARDWARE — LCC-UFMG
   Padrão visual da página de Equipe
   ================================================== */


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

.lcc-hardware-page {
    --hardware-primary: #0c3264;
    --hardware-blue: #1351b4;
    --hardware-text: #253858;
    --hardware-border: #d1dbea;
    --hardware-border-strong: #c7cbd1;
    --hardware-header-bg: #f7faff;
    --hardware-white: #ffffff;

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

    margin: 0 auto;

    padding: 32px 16px 48px;

    color: var(--hardware-text);

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

    background: transparent;
}

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


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

.lcc-hardware-header {
    width: 100%;

    margin: 0 0 32px;
    padding: 0;

    background: transparent;
    border: 0;
}

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

    color: var(--hardware-primary);

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

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

    margin: 0;
    padding: 0;

    color: var(--hardware-text);

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


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

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

    margin: 0 0 32px;
    padding: 0;

    background: transparent;
    border: 0;
}

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


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

.lcc-hardware-section h2 {
    margin: 0;
    padding: 0;

    color: var(--hardware-primary);

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


/* ==================================================
   5. LINHA DECORATIVA AZUL
   ================================================== */

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

    width: 29px;
    height: 2px;

    margin: 26px 0 16px;
    padding: 0;

    background-color: var(--hardware-blue);

    border: 0;
    border-radius: 0;
}


/* ==================================================
   6. DESCRIÇÃO DAS SEÇÕES
   ================================================== */

.lcc-hardware-description {
    max-width: 960px;

    margin: 0 0 14px;
    padding: 0;

    color: var(--hardware-text);

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


/* ==================================================
   7. CONTÊINER DAS TABELAS
   ================================================== */

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

    margin: 0;
    padding: 0;

    overflow-x: auto;

    background: var(--hardware-white);

    border: 1px solid var(--hardware-border);
    border-radius: 5px;

    box-shadow: none;

    -webkit-overflow-scrolling: touch;
}


/* ==================================================
   8. ESTRUTURA DAS TABELAS
   ================================================== */

.lcc-hardware-table {
    width: 100%;

    margin: 0;
    padding: 0;

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

    table-layout: fixed;

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

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


/* ==================================================
   9. CABEÇALHO DAS TABELAS
   ================================================== */

.lcc-hardware-table thead {
    background: var(--hardware-header-bg);
}

.lcc-hardware-table thead th {
    padding: 12px 13px;

    color: var(--hardware-text);
    background: var(--hardware-header-bg);

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

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

.lcc-hardware-table thead th:first-child {
    width: 39%;

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

.lcc-hardware-table thead th:last-child {
    width: 61%;
}


/* ==================================================
   10. CÉLULAS DAS TABELAS
   ================================================== */

.lcc-hardware-table tbody th,
.lcc-hardware-table tbody td {
    padding: 12px 13px;

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

    font-size: 14px;
    line-height: 1.5;
    text-align: left;
    vertical-align: top;

    border: 0;
    border-bottom: 1px solid var(--hardware-border-strong);

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

.lcc-hardware-table tbody th {
    width: 39%;

    font-weight: 400;

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

.lcc-hardware-table tbody td {
    width: 61%;

    font-weight: 400;
}


/* Remove a borda inferior da última linha */

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


/* Mantém o fundo uniforme */

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


/* Sem efeitos de hover nas linhas */

.lcc-hardware-table tbody tr:hover th,
.lcc-hardware-table tbody tr:hover td {
    background: var(--hardware-white);
}


/* ==================================================
   11. ESPECIFICAÇÕES TÉCNICAS
   ================================================== */

.lcc-hardware-specifications {
    display: block;

    width: 100%;

    margin: 0;
    padding: 0;

    color: inherit;
    background: transparent;

    border: 0;
    box-shadow: none;
}


/* Lista de definições */

.lcc-hardware-specifications dl {
    display: block;

    width: 100%;

    margin: 0;
    padding: 0;
}


/* Cada especificação */

.lcc-hardware-specifications dl > div {
    display: grid;

    grid-template-columns:
        minmax(0, 42%)
        minmax(0, 58%);

    gap: 0;

    width: 100%;

    margin: 0;
    padding: 8px 0;

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


/* Primeira especificação */

.lcc-hardware-specifications dl > div:first-child {
    padding-top: 0;
}


/* Última especificação */

.lcc-hardware-specifications dl > div:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}


/* Rótulo da especificação */

.lcc-hardware-specifications dt {
    min-width: 0;

    margin: 0;
    padding: 0 10px 0 0;

    color: var(--hardware-text);

    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;

    overflow-wrap: break-word;
}


/* Valor da especificação */

.lcc-hardware-specifications dd {
    min-width: 0;

    margin: 0;
    padding: 0;

    color: var(--hardware-text);

    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;

    overflow-wrap: break-word;
}


/* ==================================================
   12. ACESSIBILIDADE
   ================================================== */

/* Foco visível para navegação por teclado */

.lcc-hardware-page :focus-visible {
    outline: 3px solid var(--hardware-blue);
    outline-offset: 3px;
}


/* Foco específico do contêiner da tabela */

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


/* Legendas acessíveis das tabelas */

.lcc-hardware-page .lcc-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;
    clip-path: inset(50%) !important;

    white-space: nowrap !important;

    border: 0 !important;
}


/* ==================================================
   13. RESPONSIVIDADE — TABLETS
   ================================================== */

@media (max-width: 991px) {

    .lcc-hardware-page {
        padding: 28px 16px 42px;
    }

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

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

    .lcc-hardware-specifications dl > div {
        grid-template-columns:
            minmax(0, 42%)
            minmax(0, 58%);
    }

}


/* ==================================================
   14. RESPONSIVIDADE — CELULARES
   ================================================== */

@media (max-width: 767px) {

    /* Estrutura geral */

    .lcc-hardware-page {
        width: 100%;

        margin: 0 auto;

        padding: 30px 16px 40px;

        font-size: 16px;
    }


    /* Cabeçalho */

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

    .lcc-hardware-header h1 {
        margin-bottom: 16px;

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

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


    /* Seções */

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

    .lcc-hardware-section h2 {
        font-size: 22px;
        line-height: 1.4;
    }


    /* Linhas azuis */

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

        margin: 26px 0 16px;
    }


    /* Descrições */

    .lcc-hardware-description {
        margin-bottom: 14px;

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


    /* Tabela: mantém duas colunas como na Equipe */

    .lcc-hardware-table-wrapper {
        width: 100%;

        overflow-x: auto;

        border-radius: 5px;
    }

    .lcc-hardware-table {
        width: 100%;

        table-layout: fixed;

        font-size: 14px;
    }


    /* Largura das colunas */

    .lcc-hardware-table thead th:first-child,
    .lcc-hardware-table tbody th {
        width: 39%;
    }

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


    /* Cabeçalho da tabela */

    .lcc-hardware-table thead th {
        padding: 12px 13px;

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


    /* Células */

    .lcc-hardware-table tbody th,
    .lcc-hardware-table tbody td {
        padding: 12px 13px;

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


    /* Especificações técnicas */

    .lcc-hardware-specifications dl > div {
        display: block;

        padding: 7px 0;
    }

    .lcc-hardware-specifications dt {
        display: block;

        margin-bottom: 2px;
        padding: 0;

        font-size: 13px;
        font-weight: 600;
    }

    .lcc-hardware-specifications dd {
        display: block;

        margin: 0;

        font-size: 14px;
        font-weight: 400;
    }

}


/* ==================================================
   15. TELAS MUITO PEQUENAS
   ================================================== */

@media (max-width: 380px) {

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

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

    .lcc-hardware-section h2 {
        font-size: 20px;
    }

    .lcc-hardware-table thead th,
    .lcc-hardware-table tbody th,
    .lcc-hardware-table tbody td {
        padding: 10px 9px;

        font-size: 13px;
    }

    .lcc-hardware-specifications dt {
        font-size: 12px;
    }

    .lcc-hardware-specifications dd {
        font-size: 13px;
    }

}


/* ==================================================
   16. MOVIMENTO REDUZIDO
   ================================================== */

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

    .lcc-hardware-page,
    .lcc-hardware-page *,
    .lcc-hardware-page *::before,
    .lcc-hardware-page *::after {
        scroll-behavior: auto !important;

        animation: none !important;
        transition: none !important;
    }

}


/* ==================================================
   17. IMPRESSÃO
   ================================================== */

@media print {

    .lcc-hardware-page {
        width: 100%;
        max-width: none;

        margin: 0;
        padding: 0;

        color: #000000;
        background: #ffffff;
    }

    .lcc-hardware-header h1,
    .lcc-hardware-section h2 {
        color: #000000;
    }

    .lcc-hardware-title-line {
        background: #000000;
    }

    .lcc-hardware-table-wrapper {
        overflow: visible;

        border: 1px solid #999999;
        border-radius: 0;
    }

    .lcc-hardware-table {
        width: 100%;

        border-collapse: collapse;
    }

    .lcc-hardware-table thead {
        display: table-header-group;
    }

    .lcc-hardware-table thead th {
        color: #000000;
        background: #eeeeee;
    }

    .lcc-hardware-table tbody th,
    .lcc-hardware-table tbody td {
        color: #000000;
    }

    .lcc-hardware-table tbody tr {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .lcc-hardware-section {
        break-inside: auto;
    }

    .lcc-hardware-specifications dt,
    .lcc-hardware-specifications dd {
        color: #000000;
    }

}