body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(180deg, rgba(227,255,428,0) 80%, rgba(227,248,97,0.38) 100%);
    min-height: 100vh;
}

.page {
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 65px;
    padding-left: 20px;
    padding-right: 20px;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 55px;
    position: relative;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #1F1534;
}

ul {
    display: flex;
    gap: 48px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: 'Mulish', sans-serif;
}

a {
    color: #2A5C46;
    text-decoration: none;
    font-weight: bold;
}



ul li a:hover {
    font-weight: bold;
}

main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.processo-seletivo {
    background-color: #2A5C46;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
}

.processo-seletivo h2 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.2em;
    margin-top: -6px;
}

.processo-seletivo a {
    display: inline-block;
    background-color: white;
    color: #2A5C46;
    padding: 6px 12px;
    margin: 5px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.9em;
    transition: 0.3s;
}

.processo-seletivo a:hover {
    background-color: #f0f0f0;
}

img[alt="Desenho de Treino"] {
    width: 100%;
    max-width: 400px;
    height: auto;
}

h1 {
    font-family: 'Mulish', sans-serif;
    font-size: 40px;
    text-align: justify;
    line-height: 40px;
    color: #1F1534;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
    font-weight: normal;
    max-width: 490px;
}

h1 span {
    color: #32632b;
    font-weight: bold;
    font-size: 36px;
    letter-spacing: 1.0px;
}

section p {
    font-size: 14px;
    line-height: 28px;
    color: #7D7987;
    margin: 40px 0;
}

.botoes-lado-a-lado {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
  }
  
  .botoes-lado-a-lado > a,
  .editais-coluna a {
    text-decoration: none;
  }
  
  .editais-coluna {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Espaço pequeno entre os botões "Edital" */
  }
  
  .botoes-lado-a-lado button {
    padding: 15px 60px;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    background: #607b06;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
  }
  
  .botoes-lado-a-lado button:hover {
    background: #2e4c2a;
  }

footer {
    font-size: 14px;
    line-height: 28px;
    text-align: center;
    margin-top: 160px;
}

footer a {
    font-weight: bold;
}

#balls {
    position: fixed;
    bottom: 0;
    right: 0;
}

/* ===== RESPONSIVO ===== */

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        position: absolute;
        right: 0;
        top: 0;
        margin: 20px;
    }

    ul {
        display: none;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 60px;
        right: 0;
        padding: 20px;
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .botoes-container {
        flex-direction: column;
        align-items: center;
    }

    .botoes-container button {
        width: 100%;
        max-width: 300px;
    }

    ul.active {
        display: flex;
    }

    main {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }

    h1 {
        font-size: 28px;
        text-align: center;
        width: 100%;
    }

    .processo-seletivo {
    background-color: #2A5C46;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
}

.processo-seletivo h2 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.processo-seletivo a {
    display: inline-block;
    background-color: white;
    color: #2A5C46;
    padding: 10px 20px;
    margin: 5px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.processo-seletivo a:hover {
    background-color: #f0f0f0;
}

    .botao-inscricao {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .menu-toggle {
        z-index: 1100;
    }
}
