/* ==========================================================================
   CSS GLOBAL - HC CONSULTORIA (PADRONIZAÇÃO DE FONTES, CORES E LAYOUT)
   ========================================================================== */
/* Configuração Base da Página com Sticky Footer */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #ffffff;
    color: #333333;
    -webkit-font-smoothing: antialiased;
}

/* O conteúdo principal cresce para ocupar o espaço restante e empurrar o rodapé */
main,
.main-content {
    flex: 1 0 auto;
    padding-top: 100px !important; /* Compensação fixa do Menu Superior 80 */
    margin-top: 0 !important;
    padding-bottom: 50px;
    width: 100%;
    box-sizing: border-box;
}

/* Novo Container padrão para limitar a largura máxima do texto na web */
.hc-container {
    width: 100%;
    max-width: 960px; /* Largura ideal e otimizada para leitura confortável de artigos */
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* BOX DE ARTIGO COM AFASTAMENTO DE BORDAS (RESPONSIVO ~1CM) */
.hc-article-box {
    background-color: #ffffff;
    padding: 40px 0px; /* ~1cm de afastamento nas laterais e respiro no topo/base 38px topo*/
    border-radius: 6px;
    box-sizing: border-box;
    width: 100%;
}

/* Títulos Principais das Páginas e Artigos */
.hc-title-main {
    text-align: center;
    font-size: 38px;
    font-weight: bold;
    color: #212121 !important; /* Grafite extraído da sua imagem */
    margin-top: 10px;
    margin-bottom: 35px;
    line-height: 1.2;
}

/* Subtítulos internos do Artigo */
.hc-title-sub {
    font-size: 22px;
    font-weight: 600;
    color: #212121 !important;
    margin-top: 30px;
    margin-bottom: 12px;
    line-height: 1.3;
}

/* Textos Gerais e Parágrafos - ESPAÇAMENTO ENTRE LINHAS REDUZIDO */
.hc-text-p {
    font-size: 16px;
    line-height: 1.3; /* Linhas mais próximas e compactas */
    color: #333333;
    margin-top: 0;
    margin-bottom: 16px;
    text-align: justify;
}

/* ==========================================================================
   ESTRUTURA DE LISTAS REORGANIZADA (ESPAÇAMENTO REDUZIDO)
   ========================================================================== */
.hc-article-box ul,
.hc-article-box ol,
.hc-list {
    margin-top: 0;
    margin-bottom: 16px;
    padding-left: 25px;
}

.hc-article-box li,
.hc-list-item {
    font-size: 16px;
    line-height: 1.2; /* Mesma distância menor adotada nos textos normais */
    color: #333333;
    margin-bottom: 6px; /* Espaço sutil entre um item e outro da lista */
    text-align: justify;
}

/* Imagens internas */
.hc-article-box img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}

/* ==========================================================================
   AJUSTES RESPONSIVOS PARA CELULARES
   ========================================================================== */
@media (max-width: 768px) {
    main,
    .main-content {
        padding-top: 90px;
    }

    .hc-article-box {
        padding: 25px 20px;
    }

    .hc-title-main {
        font-size: 26px;
        margin-bottom: 25px;
    }

    .hc-title-sub {
        font-size: 18px;
        text-align: left;
    }

    .hc-text-p,
    .hc-article-box li,
    .hc-list-item {
        font-size: 15px;
        line-height: 1.2; /* Linhas mais compactas também no mobile */
        text-align: left;
    }
}

/* ==========================================================================
   COMPONENTES COMPARTILHADOS - PÁGINAS DE CONTEÚDO
   Adicionado na refatoração do grupo Artigo/Benefícios/Clientes/Empresa.
   ========================================================================== */

/* Cards de clientes - mesmo padrão visual da página servicos.php, em duas colunas */
.clients-page {
    background-color: #e8e8e8;
}

.clients-page .hc-container {
    max-width: 1140px;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.client-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: 22px 20px;
    background: #f0f0f0;
    border: 1px solid #c9a227;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(201, 162, 39, 0.10);
    color: inherit;
    text-decoration: none;
    box-sizing: border-box;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.client-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.client-card:focus-visible {
    outline: 3px solid #c9a227;
    outline-offset: 3px;
}

.client-logo-wrapper {
    width: 100%;
    height: 92px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 14px;
    overflow: hidden;
}

.client-logo-wrapper img {
    max-width: 190px;
    max-height: 92px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.client-info {
    width: 100%;
    flex-grow: 1;
}

.client-card .hc-title-sub {
    margin: 0 0 10px;
    text-align: center;
    font-size: 19px;
}

.client-card .hc-text-p {
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.35;
    text-align: left;
}

.client-logo-wrapper--dark-green {
    background-color: #003829;
    border-radius: 4px;
}

/* Estrutura compartilhada por artigos e páginas institucionais */
.main-content-artigo {
    display: block;
    width: 100%;
    padding-top: 100px !important;
    margin: 0;
}

.artigo-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 0 25px;
    box-sizing: border-box;
    font-family: 'Open Sans', 'Lato', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333333;
}

.artigo-container--wide {
    max-width: 80%;
}

.artigo-banner {
    margin: 0 0 25px;
    padding: 0;
    text-align: center;
}

.artigo-banner img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: inline-block;
    border-radius: 4px;
}

.artigo-banner h3 {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #555555;
}

.artigo-paragrafo {
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.3;
}

.artigo-assinatura {
    margin: 30px 0;
    line-height: 1.4;
}

.destaque-info {
    background: #ffffff;
    border-left: 5px solid #0a5b93;
    border-radius: 8px;
    padding: 20px 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.hc-link-blue {
    color: #0a5b93;
    text-decoration: none;
}

.text-gray {
    color: gray;
}

.image-width-36 {
    width: 36% !important;
}

.image-width-100 {
    width: 100% !important;
}

@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .client-card {
        padding: 20px 18px;
    }

    .client-logo-wrapper {
        height: 82px;
        margin-bottom: 12px;
    }

    .client-logo-wrapper img {
        max-width: 180px;
        max-height: 82px;
    }

.artigo-container,
    .artigo-container--wide {
        max-width: 100%;
        padding-right: 20px;
        padding-left: 20px;
    }

    .image-width-36 {
        width: 100% !important;
    }
}


/* Mesmo dourado do primeiro card de servicos.php, sem alterar o layout dos cards normais */
.hc-servico-card.hc-servico-card--dourado {
    border-color: #c9a227;
    box-shadow: 0 2px 12px rgba(201, 162, 39, 0.15);
}
