/* ==========================================================================
   FICHA TÉCNICA INSTITUCIONAL - e-SIC (CGE-RO)
   Folha de estilos editorial e compatível com Material Style / Bootstrap
   (Valores em pixels explícitos devido ao html { font-size: 10px } do tema)
   ========================================================================== */

.ficha-header-container {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.ficha-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e8f0fe;
    color: #1967d2;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ficha-main-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 10px;
    line-height: 1.25;
}

.ficha-main-subtitle {
    font-size: 15px;
    color: #555555;
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.6;
}

.docs-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #0d47a1;
    margin-top: 30px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid #e3f2fd;
    padding-bottom: 10px;
}

.docs-section-title i {
    color: #1565c0;
    font-size: 20px;
}

.ficha-intro-text {
    font-size: 15px;
    line-height: 1.6;
    color: #424242;
    text-align: justify;
    margin-bottom: 22px;
}

/* 1. Caixas de Governança */
.ficha-gov-box {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px 14px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ficha-gov-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border-color: #bbdefb;
}

.ficha-gov-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 6px;
}

.ficha-gov-value {
    font-size: 14px;
    font-weight: 700;
    color: #212529;
    line-height: 1.4;
}

/* 2. Cards de Marco Regulatório */
.ficha-law-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-left: 4px solid #1976d2;
    border-radius: 6px;
    padding: 14px 18px;
    display: flex;
    gap: 16px;
    align-items: center;
    height: 100%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    transition: all 0.2s ease;
}

.ficha-law-card:hover {
    border-left-color: #0d47a1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.07);
}

.law-icon {
    font-size: 26px;
    color: #1976d2;
    margin: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
}

.ficha-law-card h5 {
    font-size: 15px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 5px;
    line-height: 1.35;
}

.ficha-law-card p {
    font-size: 13px;
    color: #555555;
    margin-bottom: 0;
    line-height: 1.5;
}

/* 3. Tabela de Expediente Técnico */
.ficha-unit-note {
    background: #e3f2fd;
    border-radius: 6px;
    padding: 12px 18px;
    color: #0d47a1;
    font-size: 14px;
    display: block;
    width: 100%;
    margin-bottom: 18px;
}

.ficha-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    margin-top: 10px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

.ficha-table thead th {
    background-color: #0d47a1;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    padding: 12px 18px;
    border: none;
}

.ficha-table tbody tr {
    transition: background-color 0.15s ease;
}

.ficha-table tbody tr:hover {
    background-color: #f1f8ff;
}

.ficha-table tbody td {
    padding: 12px 18px;
    border-top: 1px solid #edf2f7;
    font-size: 14px;
    vertical-align: middle;
    color: #333333;
}

.ficha-table .table-group-header td {
    background-color: #e8eaf6;
    color: #1a237e;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.8px;
    padding: 10px 18px;
    border-top: 2px solid #c5cae9;
}

/* 4. Tags de Arquitetura e Stack */
.ficha-tags-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.ficha-spec-tag {
    background: #eef2f6;
    color: #2c3e50;
    border: 1px solid #d0d7de;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    transition: all 0.2s ease;
}

.ficha-spec-tag:hover {
    background: #1976d2;
    color: #ffffff;
    border-color: #1976d2;
}

/* 5. Nota Jurídica Institucional */
.ficha-footer-legal-note {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #78909c;
    border-radius: 6px;
    padding: 16px 20px;
    font-size: 13px;
    color: #616161;
    line-height: 1.6;
    margin-top: 30px;
}
