@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* Estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #fffde7;
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Cabeçalho */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #3e7c45;
    color: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .logo img {
    height: 50px;
}

/* Navegação */
nav ul.nav-list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul.nav-list li {
    margin: 0 10px;
    position: relative;
}

nav ul.nav-list li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 0;
    display: block;
}

/* Menu Toggle (hambúrguer) para mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    padding: 5px;
    box-sizing: border-box;
}

.bar {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    nav ul.nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #333;
        position: absolute;
        top: 60px;
        left: 0;
        padding: 0;
        z-index: 999;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }
    nav ul.nav-list.active {
        display: flex !important;
    }
    nav ul.nav-list li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    nav ul.nav-list li a {
        padding: 15px 20px;
        border-bottom: 1px solid #444;
    }
    nav ul.nav-list li:last-child a {
        border-bottom: none;
    }
    .menu-toggle {
        display: flex;
    }
}

/* Main */
main {
    margin-top: 80px;
    margin-bottom: 80px;
    padding: 20px;
}

/* Seções */
.section1, .section2, .section3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    margin-bottom: 30px;
    background-color: #fffbea;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.section1 img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    padding: 20px;
}

/* Botão de matrícula e formulários */
.btn-formulario {
    display: inline-block;
    padding: 16px 32px;
    background: #1976d2;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.2em;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.08);
    transition: background 0.2s, box-shadow 0.2s;
    margin-top: 32px;
}
.btn-formulario:hover {
    background: #1251a3;
    box-shadow: 0 4px 16px rgba(25, 118, 210, 0.16);
}

/* Footer */
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    background-color: #3e7c45;
    color: #fff;
    position: fixed;
    width: 100%;
    bottom: 0;
}
footer a {
    color: #fff;
    text-decoration: none;
}
footer img {
    max-height: 70px;
    max-width: 90px;
    margin-left: 10px;
    padding: 10px;
}
.footer1 {
    display: flex;
    align-items: center;
    padding-right: 30px;
}

/* Página Repositório */
.repository {
    max-width: 500px;
    margin: 40px auto 60px auto;
    background: #fffbea;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 32px 24px;
    text-align: center;
}

.repository h2 {
    color: #b68c00;
    margin-bottom: 18px;
    font-size: 2rem;
    font-weight: 700;
}

.repository p {
    margin-bottom: 24px;
}

.repository a {
    display: inline-block;
    background: #ffe066;
    color: #7c5c00;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 8px;
    transition: background 0.2s;
    margin-bottom: 18px;
    border: 1px solid #ffe066;
}

.repository a:hover {
    background: #fff3bf;
    color: #b68c00;
}

.termos-lista {
    margin: 8px 0 16px 20px;
    padding-left: 20px;
}

/* Separador */
.separador {
    margin: 40px 0;
    border-top: 2px solid #eee;
}

/* Página Trabalhos */
.trabalhos-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background: #fffbea;
    border-radius: 8px;
}
.trabalho-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}
.trabalho-item:last-child {
    border-bottom: none;
}
.curso-group h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #3e7c45;
    border-bottom: 2px solid #3e7c45;
    padding-bottom: 5px;
}

/* Estilos para formulários (se aplicável) */
#submission-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
}
#submission-form label {
    text-align: left;
    font-weight: 500;
    color: #7c5c00;
    margin-bottom: 2px;
}
#submission-form input[type="text"],
#submission-form input[type="email"],
#submission-form input[type="file"] {
    padding: 8px 10px;
    border: 1px solid #ffe066;
    border-radius: 6px;
    background: #fff;
    font-size: 1rem;
}
#submission-form input[type="file"] {
    background: #fffbea;
}
#submission-form button {
    background: #b68c00;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 0;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s;
}
#submission-form button:hover {
    background: #7c5c00;
}