/* --- NAVBAR TRANSFORMADA EM BARRA SUPERIOR (FULL WIDTH) --- */
/* Remove o comportamento de "caixa" centralizada (container) */
nav.layout-navbar {
    background-color: rgba(255, 255, 255, 0.95) !important; /* Fundo quase sólido */
    backdrop-filter: blur(8px);
    
    /* Força largura total da tela */
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0.5rem 1rem !important; /* Espaçamento interno */
    
    /* Remove arredondamentos */
    border-radius: 0 !important;
    
    /* Adiciona uma sombra suave apenas na parte inferior */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
}

/* Ajusta o conteúdo interno para ficar centralizado mas limitado a largura padrão */
nav.layout-navbar .landing-navbar {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.processo-hero {
    background: #2c448c; /* Azul FIEB Corporativo */
    color: white;
    padding-top: 8rem;
    padding-bottom: 4rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: visible; /* IMPORTANTE: Permite que a barra "vaze" para fora */
}
.processo-hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(255,255,255,0.1) 0%, transparent 20%),
                radial-gradient(circle at 90% 80%, rgba(255,255,255,0.05) 0%, transparent 20%);
    z-index: 0;
}
.processo-hero .container { position: relative; z-index: 1; }
.hero-title {
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    color: #ffffff !important;
    text-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

/* --- SEARCH BOX --- */
.search-box-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    transform: translateY(2.5rem); /* Desce a barra para "quebrar" a linha da faixa */
    z-index: 10; /* Garante que fique acima de tudo */
}
.search-box-container .form-control {
    border: none;
    padding: 1rem 1.5rem;
    padding-left: 3.5rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); /* Sombra mais forte para destacar */
    font-size: 1.1rem;
    height: 60px;
    background-color: #fff;
}
.search-box-container .search-icon {
    position: absolute;
    left: 20px; top: 50%; transform: translateY(-50%);
    color: #2c448c; font-size: 1.5rem; z-index: 5;
}

/* --- TABLE STYLES --- */
.section-title {
    font-size: 1.5rem;
    color: #2c448c;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 5px solid #00adef; /* Azul Ciano FIEB (referência) */
    line-height: 1.2;
}

.card-table {
    border: none;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: none !important; /* Remove sombra do card para ficar mais clean */
}
.table-custom {
    border-collapse: separate;
    border-spacing: 0;
}
.table-custom thead th {
    background-color: #fff; /* Fundo Branco Clean */
    color: #2c448c; /* Azul Institucional */
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    font-weight: 800;
    border-bottom: 2px solid #00adef; /* Linha de destaque na cor secundária */
    padding: 1rem 1.5rem;
    white-space: nowrap;
}
.table-custom tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid #f2f2f2;
    cursor: pointer; /* Indica clicável */
}
.table-custom tbody tr:hover {
    background-color: #f1f4f9; /* Hover mais evidente */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    z-index: 2;
    position: relative;
}
.table-custom tbody td {
    padding: 1.5rem 1.5rem;
    vertical-align: middle;
    color: #697a8d;
    border-bottom: 1px solid #f2f2f2;
}

/* Colunas Fixas */
.col-processo { width: 180px; min-width: 180px; }
.col-situacao { width: 160px; min-width: 160px; }
.col-vigencia { width: 180px; min-width: 180px; }
/* Objeto ocupa o resto */

/* Typography */
.processo-numero {
    color: #2c448c;
    font-weight: 800;
    font-size: 1.05rem;
    display: block;
    margin-bottom: 0.25rem;
}
.processo-modalidade {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #8592a3;
    background: #f3f4f6;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}
.processo-objeto {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #566a7f;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Mostra até 3 linhas */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Badges */
.badge-status-pill {
    padding: 0.6em 1.2em;
    border-radius: 50rem;
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Datas */
.data-info {
    font-size: 0.85rem;
    white-space: nowrap;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
}
.data-info:last-child { margin-bottom: 0; }
.data-info i { margin-right: 8px; font-size: 1.1em; }

/* Link Action (Invisível mas acessível) */
.stretched-link::after {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 1;
    content: "";
}
