/* --- ESTILOS DO BANNER DE PÁGINA (PAGE HERO) --- */

.page-hero {
    position: relative;
    min-height: 250px;
    /* ALTURA MÁXIMA DEFINIDA */
    width: 100%;
    /* Largura total da viewport */
    overflow: hidden;
    display: flex;
    align-items: center;
    /* Centraliza o conteúdo verticalmente */
    justify-content: center;
    /* Centraliza o conteúdo horizontalmente */
    color: white;
    text-align: center;
}


/* Container da Imagem de Fundo */

.page-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-hero-background img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Garante que a imagem cubra toda a área sem distorção */
    object-position: center;
    /* Mantém o centro da imagem visível */
}


/* Camada de Escurecimento (Overlay) */

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.096);
    /* Escurece a imagem para maior contraste */
    z-index: 0;
}


/* Conteúdo do Título (Limitado a 1280px) */

.page-hero-content {
    position: relative;
    z-index: 1;
    /* Usa o .content-wrapper para herdar max-width: 1280px e centralização */
}

.page-hero-content h1 {
    font-size: 3em;
    margin: 0;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    /* Sombra para destacar o texto */
}


/* --- Efeito Sutil de Título (Exemplo: Fade In) --- */

.fade-in-title {
    opacity: 0;
    animation: fadeIn 1.5s ease-out 0.5s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    font-size: 2.5em;
    /* Tamanho padrão para títulos de seção */
    color: #03045A;
    /* Cor azul escuro */
    margin-bottom: 25px;
    font-weight: 700;
    text-align: center;
    /* Centralizado, como na página inicial */
}


/* Garante que os parágrafos dentro do main continuem com bom estilo */

main p {
    font-size: 1.1em;
    color: #333;
    line-height: 1.7;
    max-width: 900px;
    margin-left: auto;
    /* Centraliza o parágrafo */
    margin-right: auto;
    margin-bottom: 20px;
    text-align: justify;
    /* Sugestão: Justificar o texto para dar um visual mais formal em parágrafos longos */
}


/* --- ESTILOS DA SEÇÃO MISSÃO, VISÃO E VALORES (MVV) --- */

.mvv-section {
    padding: 80px 0;
    /* Usa um fundo sutil (o mesmo que Features da home) para destacar a seção */
    background-color: #F7F7F9;
}

.mvv-main-title {
    font-size: 2em;
    color: #03045A;
    text-align: center;
    margin-bottom: 50px;
}

.mvv-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.mvv-box {
    flex: 1;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    min-height: 350px;
    /* Ajuda a manter as caixas com altura uniforme */
}

.mvv-box .icon-placeholder {
    font-size: 3em;
    margin-bottom: 15px;
    color: #03045A;
    /* Ícone com cor da marca */
}

.mvv-box h3 {
    font-size: 1.5em;
    color: #007bff;
    /* Título secundário com cor de destaque */
    margin-bottom: 20px;
}

.mvv-box p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
    /* Centraliza o texto curto (missão/visão) */
}


/* Estilos específicos para a lista de Valores */

.value-list {
    list-style: none;
    padding: 0;
    text-align: left;
    /* Alinha o texto da lista à esquerda dentro da caixa */
    max-width: 250px;
    margin: 0 auto;
}

.value-list li {
    font-size: 1em;
    color: #333;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.value-list li:last-child {
    border-bottom: none;
}


/* --- ESTILOS DA SEÇÃO OBJETO SOCIAL --- */

.object-social-section {
    padding: 80px 0;
    background-color: #fff;
    /* Fundo branco para contrastar com o MVV */
}


/* Descrição e Lista de Postos */

.social-description {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto 50px auto;
    text-align: left;
}

.social-description p {
    font-size: 1.1em;
    color: #333;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: left;
    /* Alinha o texto da descrição à esquerda */
    max-width: 100%;
    /* Permite que o texto preencha a coluna */
}

.postos-abastecimento {
    flex: 1;
    min-width: 300px;
    /* Garante que esta coluna não fique muito estreita */
}

.postos-abastecimento p {
    font-weight: bold;
    margin-bottom: 10px;
}

.postos-abastecimento ul {
    list-style-type: none;
    padding-left: 0;
    columns: 2;
    /* Distribui a lista em duas colunas no desktop */
}

.postos-abastecimento ul li {
    font-size: 1em;
    color: #555;
    margin-bottom: 5px;
}


/* --- Estilos da Grade de Estatísticas --- */

.stats-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-top: 40px;
    padding: 30px 0;
    border-top: 2px solid #eee;
}

.stat-box {
    flex: 1;
    text-align: center;
    padding: 10px;
    min-width: 100px;
}

.stat-value {
    font-size: 2.5em;
    font-weight: 800;
    color: #007bff;
    /* Cor de destaque para os números */
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9em;
    color: #555;
    font-weight: bold;
    text-transform: uppercase;
}


/* Estilo para adicionar o símbolo de USD/Moeda */

.currency-usd:before {
    content: "USD ";
    font-size: 0.7em;
    vertical-align: super;
}


/* --- ESTILOS DA SEÇÃO CHAMADA PARA AÇÃO (CTA) --- */

.cta-contact {
    padding: 100px 0;
    color: white;
    text-align: center;
    /* Versão Corrigida/Verificada do Background */
    background-image: /* GRADIENTE: Centro transparente/claro, bordas azuis escuras */
    radial-gradient( circle at center, rgba(3, 4, 90, 0.527) 0%, /* 40% opacidade no centro (texto legível) */
    rgba(3, 4, 90, 0.986) 100%/* 90% opacidade nas bordas */
    ), /* IMAGEM: **VERIFIQUE O CAMINHO!** */
    url('../img/background/background-cta.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta-content {
    /* Centraliza o conteúdo dentro do content-wrapper */
    max-width: 800px;
    margin: 0 auto;
}

.cta-contact h2 {
    font-size: 2.5em;
    color: #fff;
    /* Título em branco */
    margin-bottom: 20px;
}

.cta-contact p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 40px;
    /* Espaço antes do botão */
    color: #f7f7f9;
    /* Branco suave para o texto */
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
    white-space: nowrap;
    /* Impede que o texto do botão quebre linha */
}

.btn-primary {
    background-color: #007bff;
    /* Cor principal do botão */
    color: #ffffff;
    border: 1px solid #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}


/* Estilo do botão CTA principal (Maior para destaque) */

.btn-large {
    padding: 15px 35px;
    font-size: 1.1em;
    /* Mantém as cores do .btn-primary */
}


/* --- MEDIA QUERY PARA MOBILE --- */

@media (max-width: 900px) {
    .social-description {
        flex-direction: column;
        text-align: center;
    }
    .social-description p {
        text-align: center;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    .postos-abastecimento {
        min-width: auto;
        padding-top: 20px;
        border-top: 1px solid #eee;
    }
    .postos-abastecimento ul {
        columns: 1;
        /* Volta para uma única coluna no mobile */
        max-width: 250px;
        margin: 0 auto;
        text-align: left;
    }
}


/* Ajuste Mobile */

@media (max-width: 768px) {
    .section-title {
        font-size: 2em;
    }
    .mvv-section {
        padding: 50px 0;
    }
    /* Coloca as caixas em coluna */
    .mvv-grid {
        flex-direction: column;
        gap: 20px;
    }
    .mvv-box {
        min-height: auto;
        /* Remove a altura mínima no mobile */
        padding: 25px;
    }
    .stats-grid {
        flex-wrap: wrap;
        /* Permite que as caixas quebrem para a linha de baixo */
        justify-content: center;
    }
    .stat-box {
        flex: 45%;
        /* Cada caixa ocupa 45% para caberem duas por linha */
        margin-bottom: 20px;
    }
    .stat-value {
        font-size: 1.4rem;
    }
    .cta-contact {
        padding: 60px 20px;
    }
    .cta-contact h2 {
        font-size: 2em;
    }
    .cta-contact p {
        font-size: 1em;
    }
    .cta-contact .btn {
        width: 100%;
        /* Botão ocupa toda a largura no mobile */
        max-width: 300px;
    }
}