/* --- VARIÁVEIS E BASE --- */
:root {
    --azul-escuro: #002d5b;
    --azul-claro: #00a8ff;
    --cinza-fundo: #f4f7f9;
    --texto: #333;
    --branco: #ffffff;
    --transicao: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--cinza-fundo);
    color: var(--texto);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- HEADER RESPONSIVO --- */
header {
    background: rgba(0, 45, 91, 0.95);
    backdrop-filter: blur(10px);
    color: var(--branco);
    padding: 1rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

header h1 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list a {
    color: var(--branco);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transicao);
}

.nav-list a:hover {
    color: var(--azul-claro);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--branco);
    transition: 0.3s;
}

/*IMG*/
/* Estilização da Logomarca no Hero com fundo e bordas */
.hero-logo {
    height: 120px;
    /* Mantém a altura definida anteriormente */
    width: auto;
    object-fit: contain;

    /* Aplicação do fundo e arredondamento */
    background-color: #f0f0f0;
    /* Cor cinza claro */
    border-radius: 20px;
    /* Arredondamento solicitado */

    /* Espaçamento interno para a logo não encostar na borda cinza */
    padding: 10px 15px;

    /* Sombra leve para dar profundidade sobre o banner */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);

    transition: var(--transicao);
}

/* Efeito opcional ao passar o mouse */
.hero-logo:hover {
    background-color: #e0e0e0;
    /* Escurece levemente o cinza */
    transform: scale(1.05);
}

/* Ajuste para telas menores */
@media (max-width: 768px) {
    .hero-logo {
        height: 60px;
        padding: 8px 12px;
    }
}



/* --- BANNER HERO --- */
.hero {
    min-height: 90vh;
    margin-top: 60px;
    background: linear-gradient(rgba(0, 45, 91, 0.75), rgba(0, 45, 91, 0.75)),
        url('https://unsplash.com') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--branco);
    padding: 40px 10%;
}

.hero h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 800px;
    margin: 0 auto 30px auto;
    text-align: center;
    opacity: 0.9;
}

/* --- LINKS DE DIRECIONAMENTO (TAMANHO VÍDEO 16:9) --- */
.direcionamento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1100px;
    margin: 20px auto 40px;
}

.card-link {
    background: var(--branco);
    color: var(--azul-escuro);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transicao);
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.card-link:hover {
    background: var(--azul-claro);
    color: var(--branco);
    transform: translateY(-8px);
}

.btn-principal {
    background-color: var(--azul-claro);
    color: var(--branco);
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    transition: var(--transicao);
}


/* Garante que a tag nativa de vídeo ocupe todo o espaço do wrapper */
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Preenche o espaço sem distorcer */
    background: #000;
}


.controles-video {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    gap: 10px;
}

.controles-video button {
    flex: 1;
    background: var(--azul-escuro);
    color: white;
    border: none;
    padding: 8px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transicao);
}

.controles-video button:hover {
    background: var(--azul-claro);
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 8px;
}


/* Bloqueia seleção e toque longo em dispositivos móveis */
video {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Opcional: Impede arrastar o vídeo para outra aba */
video {
    pointer-events: auto;
}



/* --- SEÇÃO DE ARTIGOS --- */
.card-artigo {
    background: var(--branco);
    text-decoration: none;
    border-radius: 12px;
    transition: var(--transicao);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;

    /* Mantém o mesmo tamanho dos vídeos */
    aspect-ratio: 16 / 9;
}

.card-artigo:hover {
    transform: translateY(-8px);
    border-color: var(--azul-claro);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.artigo-conteudo {
    text-align: center;
}

.artigo-conteudo .categoria {
    display: inline-block;
    color: var(--azul-claro);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.artigo-conteudo h3 {
    color: var(--azul-escuro);
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Limita a 2 linhas de texto */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.artigo-conteudo p {
    color: var(--azul-claro);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Ajuste para telas pequenas */
@media (max-width: 768px) {
    .card-artigo {
        aspect-ratio: auto;
        /* No celular, o conteúdo pode crescer se necessário */
        min-height: 200px;
    }
}


/* Container que envolve o artigo e as setas */
.carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    /* Espaço maior entre as setas e o card */
    max-width: 850px;
    /* Largura ideal para um artigo centralizado */
    margin: 40px auto;
    padding: 0 20px;
}

/* Estilo das Setas de Navegação */
.seta-nav {
    background: var(--azul-escuro);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    /* Impede que a seta amasse em telas menores */
}

.seta-nav:hover {
    background: var(--azul-claro);
    transform: scale(1.15);
    box-shadow: 0 6px 15px rgba(0, 168, 255, 0.4);
}

.seta-nav:active {
    transform: scale(0.95);
}

/* Estilo do Card Único */
#grid-artigos-dinamico {
    flex-grow: 1;
    max-width: 550px;
    /* Mantém o card com um tamanho elegante */
    perspective: 1000px;
}

.card-artigo {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-artigo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Ajuste Responsivo para Celulares */
@media (max-width: 600px) {
    .carousel-wrapper {
        gap: 15px;
    }

    .seta-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .titulo-secao {
        font-size: 1.5rem;
    }
}



/* Estilo do Modal Dialog */
dialog {
    border: none;
    border-radius: 15px;
    padding: 30px;
    width: 90%;
    max-width: 80%;
    max-height: 80vh;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin: auto;
    /* Centraliza o dialog */
}

/* Fundo escuro atrás do modal */
dialog::backdrop {
    background: rgba(0, 45, 91, 0.8);
    backdrop-filter: blur(5px);
}

.modal-header {
    position: relative;
    margin-bottom: 20px;
}

.btn-fechar {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--azul-escuro);
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-body {
    margin-top: 20px;
    font-size: 1.1rem;
    color: #444;
    white-space: pre-wrap;
    /* Preserva quebras de linha do banco de dados */
    overflow-y: auto;
}

/* Formatação interna (caso o texto venha com HTML simples) */
.modal-body p {
    margin-bottom: 15px;
}






/* --- SEÇÃO DE FOTOS (9:16) --- */
.grid-fotos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Mantém 3 colunas horizontais */
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.card-foto {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    /* Proporção Vertical (Stories) */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transicao);
    background: #000;
    /* Fundo para carregar a imagem */
}

.card-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Garante que a imagem preencha o espaço sem distorcer */
    transition: transform 0.5s ease;
}

.card-foto:hover img {
    transform: scale(1.1);
    /* Zoom suave ao passar o mouse */
}

/* Legenda sobre a foto */
.foto-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 45, 91, 0.9));
    color: var(--branco);
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.card-foto:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}


.galeria-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-btn {
    background: var(--azul-escuro);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transicao);
    z-index: 10;
}

.nav-btn:hover {
    background: var(--azul-claro);
    transform: scale(1.1);
}

.grid-fotos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    flex-grow: 1;
}

.card-foto {
    aspect-ratio: 9 / 16;
    /* Força a proporção vertical */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: #000;
}

.card-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Garante que a imagem preencha o espaço sem distorcer */
}





/* Responsividade para Celulares */
@media (max-width: 768px) {
    .grid-fotos {
        grid-template-columns: 1fr;
        /* 1 foto por linha no celular */
        max-width: 300px;
        /* Evita que a foto vertical fique muito larga */
    }
}


/* --- SEÇÕES --- */
section {
    padding: 80px 10%;
    max-width: 1200px;
    margin: 0 auto;
}

.secao-cinza {
    background-color: #e9eff5;
    max-width: 100%;
}

.titulo-secao {
    text-align: center;
    color: var(--azul-escuro);
    font-size: 2.2rem;
    margin-bottom: 50px;
    position: relative;
}

.titulo-secao::after {
    content: '';
    width: 60px;
    height: 4px;
    background: var(--azul-claro);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* --- GRIDS GERAIS --- */
.grid-geral {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card-item {
    background: var(--branco);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.card-video {
    padding: 10px;
}

.card-video h3 {
    margin-top: 15px;
    font-size: 1rem;
    color: var(--azul-escuro);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.contato-container {
    text-align: center;
}

footer {
    background: #001b38;
    color: #bdc3c7;
    text-align: center;
    padding: 40px 10%;
    margin-top: 40px;
}

/* --- MEDIA QUERIES --- */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-list {
        position: fixed;
        right: -100%;
        top: 60px;
        width: 100%;
        height: 100vh;
        background: var(--azul-escuro);
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: 0.4s;
    }

    .nav-list.active {
        right: 0;
    }

    .nav-list a {
        margin: 15px 0;
        font-size: 1.2rem;
    }

    .direcionamento-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
    }

    .hero {
        padding-top: 100px;
    }
}




/* Container de Cursos Pequenos */
.grid-cursos-compacto {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.card-curso-mini {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.card-curso-mini:hover {
    transform: translateY(-5px);
    border-color: var(--azul-claro);
}

.capa-mini {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.capa-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tag-cat {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--azul-escuro);
    color: #fff;
    font-size: 0.65rem;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: bold;
}

.info-mini {
    padding: 15px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-mini h3 {
    font-size: 0.95rem;
    color: var(--azul-escuro);
    margin-bottom: 10px;
    line-height: 1.3;
}

.preco-mini .valor {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
}

.btn-comprar-mini {
    background: var(--azul-claro);
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: bold;
    padding: 8px;
    border-radius: 6px;
    transition: 0.3s;
}

.btn-comprar-mini:hover {
    background: var(--azul-escuro);
}

/* Ajuste Responsivo */
@media (max-width: 480px) {
    .grid-cursos-compacto {
        grid-template-columns: repeat(2, 1fr);
        /* 2 colunas no mobile */
        gap: 10px;
    }
}




.vitrine-cursos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 100px 8% 60px;
    background: var(--cinza-fundo);
}

.card-venda {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card-venda:hover {
    transform: translateY(-10px);
}

.capa-venda {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: #000;
}

.conteudo-venda {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.tag-venda {
    background: var(--azul-claro);
    color: white;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: bold;
    align-self: center;
    margin-bottom: 15px;
}

.preco-box {
    margin: 20px 0;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.de-preco {
    text-decoration: line-through;
    color: #888;
    font-size: 0.9rem;
}

.por-preco {
    font-size: 2rem;
    color: var(--azul-escuro);
    font-weight: bold;
    display: block;
}

.parcelas-venda {
    color: #28a745;
    font-weight: bold;
    font-size: 0.9rem;
}

.btn-comprar-venda {
    background: var(--azul-escuro);
    color: white;
    padding: 15px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin-top: auto;
    transition: 0.3s;
}

.btn-comprar-venda:hover {
    background: var(--azul-claro);
}


/* Estilos do Botão Mobile */
.btn-menu-mobile {
    display: none; /* Escondido no Desktop */
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.btn-menu-mobile .linha {
    width: 30px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: 0.3s;
}

/* Responsividade (Celular) */
@media (max-width: 768px) {
    .btn-menu-mobile {
        display: flex; /* Aparece no celular */
    }

    .nav-list {
        display: none; /* Esconde o menu padrão */
        flex-direction: column;
        position: absolute;
        top: 60px; /* Altura do header */
        left: 0;
        width: 100%;
        background-color: #001b38;
        padding: 20px;
        text-align: center;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }

    /* Classe que o JS vai adicionar para mostrar o menu */
    .nav-list.ativo {
        display: flex;
    }

    .nav-list a {
        padding: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}


/* Container de Login no Header */
.header-login {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid rgba(255,255,255,0.2);
}

.header-login input {
    padding: 6px 10px;
    border-radius: 4px;
    border: none;
    font-size: 14px;
    width: 140px;
}

.btn-entrar {
    background-color: #00a8ff;
    color: white;
    border: none;
    padding: 6px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.btn-entrar:hover {
    background-color: #0086cc;
}

/* Ajustes para Celular */
@media (max-width: 992px) {
    .header-login {
        flex-direction: column;
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        margin-top: 15px;
        width: 100%;
    }

    .header-login input, .btn-entrar {
        width: 100%; /* Inputs ocupam largura total no mobile */
        max-width: 250px;
    }
}



/* CSS */

/* Container que agrupa todos os módulos */
.Modulo {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    width: 100%;
}

/* O item individual do módulo */
.formModulo1 {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e0e6ed;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden; /* Garante que a lista não "vaze" antes da hora */
}

/* O título do módulo (1º Módulo, etc) */
.formModulo1 p {
    margin: 0;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #071c94;
    background-color: #cee0f8;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

/* Esconde a lista por padrão */
.formModulo1 ul {
    display: none;
    list-style: none;
    padding: 15px 25px;
    margin: 0;
    background-color: #fff;
    border-top: 1px solid #eee;
}

/* Estilo do texto dentro da lista (Modulo1, Modulo2...) */
.texto4 {
    font-size: 14px;
    color: #444;
    line-height: 1.5;
}

.textos {
    font-size: 10px;
    color: #444;
    line-height: 1.5;
}

.textos1 {
    font-size: 20px;
    color: var(--azul-escuro);
    font-weight: bold;
    display: block;
}

.textos2 {
    font-size: 15px;
    color: #444;
    line-height: 1.5;
}


/* --- EFEITO HOVER --- */

/* Ao passar o mouse no container do módulo, mostra a lista interna */
.formModulo1:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateX(5px); /* Pequeno deslocamento lateral */
}

.formModulo1:hover ul {
    display: block;
    animation: slideDown 0.3s ease-out;
}

/* Animação suave para abrir */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Remove margens extras do formulário para não quebrar o layout */
form.formModulo1 {
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
}



/* CSS Final*/


/* CSS - Inicio 2 */

/* Container principal de destaque */
.geral1 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    background: linear-gradient(135deg, #f0f4f8 0%, #d8e2eb 100%);
    border-radius: 20px;
    margin: 20px 0;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
}

.page1 {
    width: 100%;
    max-width: 900px;
    text-align: center; /* Centraliza o título e descrição */
}

.titulo {
    color: #03136b;
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.texto1 {
    color: #444;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 700px;
}

/* Estilo para o texto vindo do nl2br */
.descricao-detalhada {
    padding: 20px;
    color: #555;
    line-height: 1.8;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eee;
    margin-bottom: 20px;

   
}



/* CSS - Final 2*/


/* CSS - 3*/

/* Remove o excesso de espaço branco no topo do modal */
.modal-body {
    margin-top: 0;
    padding-top: 0;
}

/* Ajusta o container interno para não empurrar o conteúdo */
.geral1 {
    margin: 0 !important; /* Remove a margem de 20px que você tinha */
    padding: 20px;
}

/* Remove o espaço interno da lista que o navegador coloca por padrão */
.formModulo1 ul {
    margin: 0;
    padding: 15px 20px;
}

/* Garante que o título do curso não tenha espaço acima dele */
.titulo {
    margin-top: 0;
    margin-bottom: 15px;
}

/* Ajusta o espaçamento entre os módulos para ficar mais compacto */
.Modulo {
    gap: 5px; 
    padding: 0;
}


/* CSS - Final 3*/