/* ==================================================
   EQUIPE — LCC-UFMG
   Visual institucional, simples e responsivo
   ================================================== */

.lcc-team-page,
.lcc-team-page * {
    box-sizing: border-box;
}

.lcc-team-page {
    --team-blue: #0c326f;
    --team-link: #1351b4;
    --team-text: #333d50;
    --team-text-soft: #4f5b70;
    --team-border: #d8e0eb;
    --team-head: #f2f5f9;
    --team-row-hover: #f7f9fc;

    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 4rem;

    color: var(--team-text);
}

/* Cabeçalho da página */

.lcc-team-header {
    margin-bottom: 2rem;
}

.lcc-team-header h1 {
    margin: 0 0 1.25rem;

    color: var(--team-blue);
    font-size: clamp(2rem, 4vw, 2.7rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.lcc-team-header p {
    max-width: 52rem;
    margin: 0;

    color: var(--team-text);
    font-size: 1rem;
    line-height: 1.65;
}

/* Seções */

.lcc-team-section {
    margin-top: 2rem;
}

.lcc-team-section h2 {
    margin: 0;

    color: var(--team-blue);
    font-size: clamp(1.35rem, 2.4vw, 1.65rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.25;
}

.lcc-team-title-line {
    width: 1.8rem;
    height: 2px;
    margin: 0.65rem 0 0.9rem;

    background: var(--team-link);
}

.lcc-team-section > p {
    max-width: 55rem;
    margin: 0 0 0.9rem;

    color: var(--team-text-soft);
    font-size: 0.98rem;
    line-height: 1.6;
}

/* Tabelas */

.lcc-team-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--team-border);
    border-radius: 0.3rem;
    background: #ffffff;
    -webkit-overflow-scrolling: touch;
}

.lcc-team-table-wrapper:focus-visible {
    outline: 3px solid #ffcd07;
    outline-offset: 3px;
}

.lcc-team-table {
    width: 100%;
    min-width: 42rem;
    border-collapse: collapse;
    border-spacing: 0;

    color: var(--team-text);
    font-size: 0.95rem;
    line-height: 1.45;
}

.lcc-team-table th,
.lcc-team-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    vertical-align: middle;
}

.lcc-team-table th {
    color: #263044;
    background: var(--team-head);
    font-weight: 700;
}

.lcc-team-table th + th,
.lcc-team-table td + td {
    border-left: 1px solid var(--team-border);
}

.lcc-team-table tbody tr {
    border-top: 1px solid var(--team-border);
}

.lcc-team-table tbody tr:hover {
    background: var(--team-row-hover);
}

.lcc-team-table th:first-child,
.lcc-team-table td:first-child {
    width: 31%;
}

.lcc-team-table th:last-child,
.lcc-team-table td:last-child {
    width: 20%;
    white-space: nowrap;
}

.lcc-team-table a {
    color: var(--team-link);
    text-decoration: none;
}

.lcc-team-table a:hover {
    text-decoration: underline;
}

.lcc-team-table a:focus-visible {
    outline: 3px solid #ffcd07;
    outline-offset: 2px;
}

/* Texto apenas para tecnologias assistivas */

.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;
}

/* Responsividade */

@media (max-width: 768px) {
    .lcc-team-page {
        padding: 1.25rem 1rem 3rem;
    }

    .lcc-team-header {
        margin-bottom: 1.75rem;
    }

    .lcc-team-section {
        margin-top: 1.75rem;
    }

    .lcc-team-table th,
    .lcc-team-table td {
        padding: 0.7rem 0.85rem;
    }
}

@media (max-width: 480px) {
    .lcc-team-page {
        padding-inline: 0.75rem;
    }

    .lcc-team-table {
        min-width: 38rem;
        font-size: 0.9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lcc-team-page *,
    .lcc-team-page *::before,
    .lcc-team-page *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}

@media print {
    .lcc-team-page {
        max-width: none;
        padding: 0;
    }

    .lcc-team-table-wrapper {
        overflow: visible;
    }

    .lcc-team-table {
        min-width: 0;
    }

    .lcc-team-table tbody tr:hover {
        background: transparent;
    }
}