/* Importação da fonte */
@import url('https://fonts.googleapis.com/css2?family=Parkinsans:wght@300..800&display=swap');

/* Estilo geral do corpo */
body {
    margin: 0;
    font-family: "Parkinsans", sans-serif;
    color: #333;
    font-optical-sizing: auto;
}

/* Estilo geral do header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #f8f67e;
    color: white;
}

.oque {
    text-transform: uppercase;
}

.linha-com-palavra {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
    gap: 10px;
}

/* Linhas à esquerda e à direita da palavra */
.linha {
    flex-grow: 1;
    height: 2px;
    background-color: #80c459;
}

.palavra {
    font-size: 24px;
    font-weight: bold;
    color: #80c459;
    text-transform: uppercase;
}

.direita {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    max-width: 80px;
    height: auto;
}

.header-text h1 {
    font-size: 34px;
    margin: 0;
}

.header-text a {
    text-decoration: none;
    color: #b1a85b;
}

.menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.menu ul li a {
    text-decoration: none;
    color: #b1a85b;
    font-size: 19px;
    transition: color 0.3s ease;
}

.menu ul li a:hover {
    color: #857e44;
}

/* Seções Hero1, Hero2 e Hero3 */
.hero1 {
    background: #80c459;
    color: white;
    padding: 40px 20px;
    max-height: 400px;
}

.hero1 .container1 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}

.hero1 .text-content1 {
    flex: 1;
    max-width: 1600px;
    text-align: left;
}

.hero1 .text-content1 h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero1 .text-content1 p {
    font-size: 18px;
    margin-bottom: 20px;
}

.hero1 .image-content1 {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero1 .image-content1 img {
    max-width: 100%;
    height: auto;

}

.botao-content {
    display: flex;
    justify-content: center;
}

.botao {
    background: #27bc1a;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    display: inline-block;
    text-align: center;
    transition: background 0.3s ease;
}

.botao:hover {
    background: #1e9213;
}

.hero2 {
    color: #000000;
    padding: 40px 20px;
    max-height: 450px;
}

.hero2 .container2 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.hero2 .text-content2 {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

.hero2 .text-content2 h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #80c459;
}

.hero2 .text-content2 p {
    font-size: 18px;
    margin-bottom: 20px;
}

.hero2 .image-content2 {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero2 .image-content2 img {
    max-width: 50%;
    height: auto;
    border-radius: 8px;
    margin-right: 30px;
}

/* Seções gerais */
.hero3 {
    margin-left: 20px;
    margin-right: 20px;
}

.section-footer {
    padding: 0px;
}

section {
    padding: 40px 20px;
}

section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
}

section p {
    font-size: 18px;
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: #f8f67e;
    color: #b1a85b;
    padding: 20px 0;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.footer-content,
.footer-social {
    flex: 1;
    min-width: 200px;
}

.footer-content h3,
.footer-social h3 {
    font-size: 20px;
    color: #b1a85b;
    margin-bottom: 10px;
}

.footer-content p,
.footer-social a {
    font-size: 16px;
    color: #b1a85b;
    text-decoration: none;
    margin: 5px 0;
}

.footer-social a:hover {
    color: #b1a85b;
}

.footer-bottom {
    margin-top: 20px;
    font-size: 14px;
    color: #b1a85b;
}

/* Responsividade */
@media (max-width: 768px) {

    /* Ajuste para telas pequenas */
    .hero1 .container1 {
        flex-direction: column;
        text-align: center;
    }

    .hero1 .text-content1 {
        flex: none;
        max-width: 100%;
    }

    .botao-content {
        display: flex;
        justify-content: center;

    }

    .image-container {
        position: relative;
        /* Necessário para o posicionamento absoluto do quadrado */
        display: flex;
        /* Para que o contêiner se ajuste ao tamanho da imagem */
        align-items: center;
        justify-content: center;
    }

    .image-content1 {
        background-color: white;
        border-radius: 30px;
        width: 80%;
        /* Para preencher a largura do contêiner */
        height: 70%;
        /* 70% da altura do contêiner */
        position: absolute;
        /* Para posicionar atrás da imagem */
        left: 0;
        right: 0;

        margin-left: auto;
        /* Centraliza horizontalmente */
        margin-right: auto;
        /* Centraliza horizontalmente */
    }

    .imagem-flex1 {
        display: block;
        /* Remove espaços em branco abaixo da imagem */
        max-width: 70%;
        /* Para garantir que a imagem não ultrapasse o contêiner */
        height: auto;
        /* Mantém a proporção da imagem */
        position: relative;
        /* Para posicionar atrás da imagem */
        z-index: 10;
        /* Coloca o quadrado atrás da imagem */
    }


    .menu ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .menu ul li a {
        font-size: 18px;
    }

    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logo img {
        max-width: 60px;
    }

    .hero1 .text-content1 h2 {
        font-size: 28px;
    }

    .hero1 .text-content1 p {
        font-size: 16px;
    }

    .hero2 .container2 {
        flex-direction: column;
        text-align: center;
    }

    .hero2 .text-content2 h2 {
        font-size: 32px;
    }

    .hero2 .text-content2 p {
        font-size: 16px;
    }

    footer .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-content,
    .footer-social {
        min-width: 100%;
        text-align: center;
    }

    section h2 {
        font-size: 24px;
    }

    section p {
        font-size: 16px;
    }

    .botao {
        width: 30%;
        padding: 12px 25px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {

    /* Ajuste para telas ainda menores */
    .hero1 .text-content1 h2 {
        font-size: 24px;
    }

    .hero1 .text-content1 p {
        font-size: 14px;
    }

    .hero2 .text-content2 h2 {
        font-size: 28px;
    }

    .hero2 .text-content2 p {
        font-size: 14px;
    }

    section h2 {
        font-size: 22px;
    }

    section p {
        font-size: 14px;
    }

    .botao {
        font-size: 13px;
        padding: 10px 20px;
    }
}