/* -------------------------------------------
   ESTILOS GERAIS DA PÁGINA "SOBRE NÓS"
------------------------------------------- */


/* Reutilizando o container de limite de largura */

.page-container {
    max-width: 1280px;
    margin: 40px auto;
    padding: 0 20px;
}

.main-title {
    font-size: 2.5em;
    color: #007bff;
    text-align: center;
    margin-bottom: 50px;
}


/* -------------------------------------------
   1. APRESENTAÇÃO DA EMPRESA (GRID)
------------------------------------------- */

.mission-vision-grid {
    display: grid;
    /* 3 Colunas de tamanho igual */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    color: #333;
    margin-top: 10px;
    margin-bottom: 15px;
}

.card i {
    font-size: 2em;
    color: #007bff;
}

.card ul {
    list-style: none;
    padding-left: 0;
}

.card ul li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.history-block {
    padding: 40px;
    margin-bottom: 15px;
}

.history-block h2 {
    color: #333;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    margin-top: 40px;
}

.history-block p {
    line-height: 1.6;
    color: #555;
    padding: 15px;
}


/* -------------------------------------------
   2. MENSAGEM DO CEO (Layout 50%/50% com Flexbox)
------------------------------------------- */

.ceo-message-section {
    display: flex;
    gap: 40px;
    align-items: center;
    /* Centraliza a foto e o texto verticalmente */
    background-color: #f0f0f5;
    padding: 40px;
    border-radius: 8px;
}

.ceo-photo-container {
    flex-shrink: 0;
    /* Impede que a foto encolha */
    width: 300px;
    /* Largura fixa para a foto */
    height: 300px;
    border-radius: 50%;
    /* Torna a foto redonda */
    overflow: hidden;
    box-shadow: 0 0 0 8px #fff, 0 4px 12px rgba(0, 0, 0, 0.15);
    /* Borda branca e sombra */
}

.ceo-photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Garante que a imagem preencha o container sem distorção */
}

.ceo-text-content {
    flex-grow: 1;
    /* Permite que o texto preencha o espaço restante */
}

.ceo-text-content h2 {
    color: #333;
    margin-top: 0;
    border-bottom: none;
}

.ceo-quote {
    font-size: 1.4em;
    font-style: italic;
    color: #007bff;
    border-left: 4px solid #007bff;
    padding-left: 20px;
    margin: 25px 0;
    line-height: 1.5;
}

.ceo-signature {
    font-size: 1.1em;
    color: #333;
    margin-top: 30px;
}


/* -------------------------------------------
   RESPONSIVIDADE 
------------------------------------------- */

@media (max-width: 992px) {
    .ceo-message-section {
        /* Muda para layout de pilha em telas menores */
        flex-direction: column;
        text-align: center;
    }
    .ceo-photo-container {
        /* Mantém a foto no topo e centralizada */
        margin-bottom: 20px;
    }
    .ceo-quote {
        text-align: left;
        /* Mantém a citação alinhada */
    }
}