/* css/institucional.css - PÁGINA INSTITUCIONAL */
:root {
    --primary-blue: #002b80;
    --secondary-blue: #001f5c;
}

/* REMOVIDO: Tema escuro (alto contraste) */

/* Hero Section */
.institucional-hero {
    background: linear-gradient(rgba(0, 43, 128, 0.9), rgba(0, 31, 92, 0.9)), url('../img/slides/construcaoasmg.jpg') no-repeat center center/cover;
    color: white;
    padding: 80px 0;
    text-align: center;
}

/* Título Principal da Apresentação */
.apresentacao-titulo {
    text-align: center;
    margin: 50px 0 40px 0;
}

.apresentacao-titulo h2 {
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 2.2rem;
    margin-bottom: 15px;
    border-bottom: 3px solid var(--primary-blue);
    padding-bottom: 15px;
    display: inline-block;
}

.apresentacao-titulo .lead {
    font-size: 1.3rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Layout de conteúdo - MAIS COMPACTO E LIMPO */
.content-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 40px;
    gap: 30px;
}

.text-content {
    flex: 1;
    padding: 15px;
    min-width: 300px;
}

.text-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 18px;
    text-align: left;
}

.text-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.text-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.image-content {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    height: 280px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.image-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.image-content img:hover {
    transform: scale(1.03);
}

.reverse {
    flex-direction: row-reverse;
}

/* Vídeo Institucional */
.video-container {
    margin: 50px 0;
    text-align: center;
}

.video-container h4 {
    color: var(--primary-blue);
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 10px;
    margin-bottom: 30px;
    display: inline-block;
    text-align: center;
    font-weight: bold;
}

.institucional-video {
    width: 100%;
    max-width: 800px;
    height: 450px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Organograma */
.org-chart-section {
    margin: 50px 0;
}

.org-chart-section h2 {
    color: var(--primary-blue);
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 10px;
    margin-bottom: 35px;
    text-align: center;
    font-weight: bold;
    width: 100%;
}

.org-chart-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
}

.org-group {
    flex: 1;
    min-width: 300px;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
}

.org-group h3 {
    color: var(--primary-blue);
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: center;
    font-weight: bold;
    justify-content: center;
}

.org-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.org-item:last-child {
    border-bottom: none;
}

.org-icon {
    background: var(--primary-blue);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.person-role {
    font-size: 0.9em;
    color: #666;
}

/* Linha do tempo - OCULTADA MAS MANTIDA NO CÓDIGO */
.timeline-section {
    display: none;
}

/* Serviços */
.services-section {
    padding: 50px 0;
    margin: 40px 0;
}

.services-section h2 {
    color: var(--primary-blue);
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 10px;
    margin-bottom: 35px;
    text-align: center;
    font-weight: bold;
    width: 100%;
}

.service-card {
    transition: transform 0.3s ease;
    border-radius: 8px;
    height: 100%;
    border: 1px solid #e8e8e8 !important;
    background: white;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1) !important;
}

.service-icon {
    color: var(--primary-blue);
}

.service-card .card-title {
    color: var(--primary-blue);
    font-weight: 600;
    text-align: center;
}

.service-card .list-group-item {
    font-size: 0.9rem;
    padding: 6px 0;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
}

/* Responsividade */
@media (max-width: 768px) {
    .content-block, .reverse {
        flex-direction: column;
    }
    
    .image-content {
        width: 100%;
        margin: 15px 0;
        height: 220px;
        max-width: 100%;
    }
    
    .org-chart-container {
        flex-direction: column;
    }
    
    .institucional-video {
        height: 300px;
    }
    
    .institucional-hero {
        padding: 60px 0;
    }
    
    .text-content {
        padding: 10px;
    }
    
    .apresentacao-titulo h2 {
        font-size: 1.8rem;
    }
    
    .apresentacao-titulo .lead {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    
    .text-content p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .org-group {
        padding: 15px;
    }
    
    .org-icon {
        width: 32px;
        height: 32px;
        margin-right: 10px;
    }
    
    .image-content {
        height: 200px;
    }
    
    .apresentacao-titulo h2 {
        font-size: 1.6rem;
    }
    
    .apresentacao-titulo .lead {
        font-size: 1rem;
    }
    
    .text-content p {
        font-size: 0.95rem;
    }
}

/* Desktop - Ajustes compactos */
@media (min-width: 769px) {
    .content-block {
        gap: 30px;
    }
    
    .text-content {
        flex: 1.2;
        padding: 20px;
    }
    
    .image-content {
        flex: 0.9;
        height: 260px;
        max-width: 400px;
    }
    
    .text-content p {
        font-size: 1.05rem;
    }
}

@media (min-width: 1200px) {
    .text-content {
        flex: 1.3;
        padding: 25px;
    }
    
    .image-content {
        flex: 0.8;
        height: 250px;
        max-width: 380px;
    }
}