/* ==========================================
   ESTILIZAÇÃO DO FOOTER
   ========================================== */

.site-footer {
    width: 100%;
    font-family: sans-serif;
}

/* --- Parte 1: Bloco de Chamada (CTA) --- */
.footer-cta {
    display: flex;
    min-height: 250px;
    background-color: #1a8787; /* Fundo laranja padrão da direita */
    position: relative;
    overflow: hidden;
}

/* Coluna da Esquerda (Cinza-claro / Branca) */
.cta-col-esquerda {
    flex: 1.2;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center; /* MUDOU AQUI: Centraliza o bloco na horizontal */
    padding: 40px; /* Reduzi o padding lateral para o texto ter espaço para respirar bem no centro */

    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    z-index: 2;
}

/* Conteúdo interno da esquerda */
.cta-conteudo-esquerda {
    max-width: 80%; /* Um pouco mais de largura para o texto se acomodar */
    text-align: left; /* MUDOU AQUI: Alinha todas as linhas do texto no centro */
    display: flex;
    flex-direction: column;
    align-items: center; /* Garante que elementos filhos fiquem centralizados */
}

/* Linha laranja abaixo do título */
.cta-conteudo-esquerda .linha-detalhe {
    width: 60px;
    height: 4px;
    background-color: #1a8787;
    margin-top: 15px;
    display: block;
    /* MUDOU AQUI: Remove o alinhamento fixo e centraliza a linha horizontalmente */
    margin-left: auto;
    margin-right: auto;
}

.cta-conteudo-esquerda h2 {
    color: #004b8d; /* Azul principal */
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

/* Coluna da Direita (Laranja) */
.cta-col-direita {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 20px 40px 60px;
    margin-left: -5%; /* Faz o conteúdo entrar um pouco na área do corte */
    z-index: 1;
}

.cta-conteudo-direita {
    max-width: 450px;
}

.cta-conteudo-direita p {
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Botões do CTA */
.cta-botoes {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    cursor: pointer;
}

.btn-cta-branco, .btn-cta-transparente {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-cta-branco {
    background-color: #ffffff;
    color: #1a8787;
    border: 2px solid #ffffff;
}

.btn-cta-branco:hover {
    background-color: transparent;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-cta-transparente {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-cta-transparente:hover {
    background-color: #ffffff;
    color: #1a8787;
    transform: translateY(-2px);
}

/* --- Parte 2: Rodapé Escuro (Contatos e Copys) --- */
.footer-principal {
    background-color: #004b8d; /* Seu azul de destaque */
    color: #ffffff;
    padding: 40px 20px 20px 20px;
}

.footer-contatos {
    display: flex;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto 30px auto;
    flex-wrap: wrap;
}

.contato-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: bold;
}

.contato-item a {
    color: #ffffff;
    text-decoration: none;
}

.contato-item a:hover {
    text-decoration: underline;
}

.contato-icone {
    font-size: 18px;
    color: #1a8787; /* Ícones em Laranja para dar contraste */
}

.footer-linha-separadora {
    max-width: 1200px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.15);
    margin: 0 auto 20px auto;
}

.footer-copyright {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copyright p {
    margin: 0;
}

.footer-copyright .desenvolvedor {
    font-weight: bold;
}


/* ==========================================
   RESPONSIVIDADE (CELULAR E TABLETS)
   ========================================== */

@media (max-width: 768px) {
    /* Desfaz as colunas do CTA, empilhando uma acima da outra */
    .footer-cta {
        flex-direction: column;
        background-color: #1a8787;
    }

    .cta-col-esquerda {
        justify-content: center;
        text-align: center;
        padding: 40px 20px;
        clip-path: none; /* Remove o corte diagonal no celular */
        background-color: #e9ecef;
    }

    .cta-conteudo-esquerda {
        text-align: center;
    }

    .cta-conteudo-esquerda .linha-detalhe {
        display: block;
        margin: 15px auto 0 auto;
    }

    .cta-col-right, .cta-col-direita {
        padding: 40px 20px;
        margin-left: 0;
        justify-content: center;
        text-align: center;
    }

    .cta-conteudo-direita {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cta-botoes {
        justify-content: center;
        width: 100%;
    }

    .btn-cta-branco, .btn-cta-transparente {
        width: 100%; /* Botões ocupam largura total no celular */
        max-width: 280px;
    }

    /* Ajustes no Rodapé Azul */
    .footer-contatos {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
    }

    .footer-copyright {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}