/* Import da Fonte Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

/* Reset Básico e Estilo do Body */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-image: url('imagens/background-verde.png');
    background-repeat: repeat;
    color: white;
}

/* Container Principal */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Menu Superior */
.top-menu {
    background-color: #fff; /* Fundo branco */
    padding: 15px 0;
}

.top-menu .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-eps {
    height: 35px;
}

.top-menu nav a {
    color: #000; /* Texto preto */
    text-decoration: none;
    font-size: 12px;
    margin: 0 5px;
}

/* Área de Conteúdo Principal */
.content-area {
    display: flex;
    align-items: stretch;
    margin-top: 60px;
    gap: 20px;
}

.text-box {
    background-color: #000;
    padding: 30px;
    box-sizing: border-box;
    flex-shrink: 0;
    width: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-box h1 {
    font-size: 38px;
    margin-top: 0;
    line-height: 1.2;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.text-box p {
    font-size: 16px;
    line-height: 1.5;
}

.image-box {
    flex-grow: 1;
    height: 361px;
}

.image-box img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Logos Inferiores */
.logos-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 0;
}

.logos-footer img {
    height: 80px;
}


/* =============================================== */
/* ESTILOS PARA TELAS MENORES (CELULARES)          */
/* =============================================== */

@media (max-width: 768px) {

    /* Ajusta o menu superior para empilhar */
    .top-menu .container {
        flex-direction: column;
        gap: 20px;
    }

    .top-menu nav {
        text-align: center;
        line-height: 1.8;
    }

    /* Empilha a área de conteúdo principal */
    .content-area {
        flex-direction: column;
        margin-top: 40px;
    }

    /* Faz a caixa de texto ocupar toda a largura */
    .text-box {
        width: 100%;
    }

    /* Ajusta a altura da imagem automaticamente */
    .image-box {
        height: auto;
    }

    /* Empilha e ajusta as logos do rodapé */
    .logos-footer {
        flex-direction: column;
        gap: 40px;
    }

    .logos-footer img {
        height: 60px; /* Reduz um pouco o tamanho das logos no celular */
    }
}