body {
    background-color: #f9f9ff;
}

main {
    padding: 4rem 2rem;
}

h1 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 0.8rem;
    color: rgb(6, 28, 118);
}

.subtitulo {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 1.05rem;
    color: rgba(6, 28, 118, 0.7);
}

/* CONTAINER */
.atividades-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

/* ATIVIDADE */
.atividade {
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(6, 28, 118, 0.15);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

/* Fundos subtis */
.atividade-azul {
    background: linear-gradient(145deg, #e8edff, #ffffff);
}

.atividade-clara {
    background: linear-gradient(145deg, #e8edff, #ffffff);
}

/* HEADER */
.badge {
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: rgba(6, 28, 118, 0.1);
    color: rgb(6, 28, 118);
    padding: 0.4rem 0.9rem;
    border-radius: 30px;
}

.atividade-header h2 {
    margin-top: 1rem;
    color: rgb(6, 28, 118);
}

.linha {
    width: 60px;
    height: 3px;
    background-color: rgb(6, 28, 118);
    margin-top: 0.8rem;
    border-radius: 2px;
}

/* TEXTO */
.descricao {
    margin: 1.5rem 0;
    line-height: 1.7;
    font-size: 1rem;
}

/* BOTÕES */
.botoes {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.6rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border: 2px solid rgba(6, 28, 118, 0.55);
    color: rgb(6, 28, 118);
    background-color: whitesmoke;
    transition: all 0.25s ease;
}

.btn img {
    width: 18px;
    height: 18px;
}

.btn:hover {
    background-color: rgb(6, 28, 118);
    color: white;
    transform: translateY(-2px);
}

/* GALERIA */
.galeria {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.galeria img {
    width: 100%;
    height: 280px;
    object-fit: contain;  
    background-color: transparent;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeria img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    z-index: 10;
}
header{
    z-index: 100;
}

@media (max-width: 700px) {
    main {
        padding: 2rem 1rem;
    }

    h1 {
        font-size: 1.7rem;
    }

    .subtitulo {
        font-size: 0.85rem;
        margin-bottom: 2rem;
    }

    .atividades-container {
        gap: 2rem;
    }

    .atividade {
        padding: 1.2rem;
        border-radius: 15px;
    }

    .atividade-header h2 {
        font-size: 1.2rem;
    }

    .descricao {
        font-size: 0.95rem;
        margin: 1rem 0;
    }

    .botoes {
        gap: 0.6rem;
    }

    .galeria {
        grid-template-columns: repeat(2, 1fr);
    }

    .atividade {
        padding: 2rem;
    }

    .galeria img {
        height: 250px;
    }
}
