/* ========================================
   LIGABOM SYNC - ESTILOS
======================================== */

/* CORPORAÇÕES GRID */
.ligabom-corporacoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.ligabom-corporacao-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ligabom-corporacao-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.corporacao-brasao {
    text-align: center;
    margin-bottom: 20px;
}

.corporacao-brasao img {
    max-width: 120px;
    height: auto;
}

.corporacao-sigla {
    font-size: 24px;
    font-weight: 800;
    color: #E30613;
    text-align: center;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.corporacao-nome {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.corporacao-info p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #666;
}

.corporacao-info strong {
    color: #333;
    font-weight: 700;
}

.corporacao-site-link {
    display: inline-block;
    background: #4285F4;
    color: white !important;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.corporacao-site-link:hover {
    background: #3367D6;
}

/* PLENÁRIO GRID */
.ligabom-plenario-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.ligabom-comandante-card {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.ligabom-comandante-card:hover {
    transform: translateY(-5px);
}

.comandante-header {
    position: relative;
    margin-bottom: 15px;
}

.comandante-foto {
    margin-bottom: 15px;
}

.comandante-foto img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #E30613;
}

.comandante-brasao {
    margin-top: 10px;
}

.comandante-brasao img {
    max-width: 80px;
    height: auto;
}

.comandante-nome {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.comandante-corporacao {
    font-size: 18px;
    font-weight: 800;
    color: #E30613;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.comandante-estado {
    font-size: 13px;
    color: #666;
    font-weight: 600;
}

/* ESTATÍSTICAS */
.ligabom-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.ligabom-stat-box {
    background: linear-gradient(135deg, #E30613 0%, #b30510 100%);
    color: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(227, 6, 19, 0.3);
    transition: transform 0.3s ease;
}

.ligabom-stat-box:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* UNIDADES LIST */
.ligabom-unidades-list {
    display: grid;
    gap: 15px;
    margin: 20px 0;
}

.ligabom-unidade-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #E30613;
}

.ligabom-unidade-item h4 {
    color: #E30613;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.ligabom-unidade-item p {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

/* ERRO */
.ligabom-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px 20px;
    border-radius: 10px;
    border-left: 4px solid #E30613;
    font-weight: 600;
    margin: 20px 0;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .ligabom-corporacoes-grid,
    .ligabom-plenario-grid {
        grid-template-columns: 1fr;
    }
    
    .ligabom-stats-grid {
        grid-template-columns: 1fr;
    }
}