* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #8a2caa;
    line-height: 1.6;
    background: url("imagens/fundo-sobre.jpg") no-repeat center center fixed;
    background-size: cover;
}

header, footer {
    background-color: rgba(243, 232, 255, 0.9); 
    padding: 15px;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 0;
    margin: 10px 0 0 0;
}

nav a {
    text-decoration: none;
    font-weight: bold;
    color: #8a2caa;  
    padding: 6px 12px;
    border-radius: 5px;
    transition: 0.3s;
}

nav a:hover {
    background-color: #e3d3f1;
    color: #5e0f7f;       
}

main {
    background-color: rgba(255, 255, 255, 0.95);
    margin: 40px auto;
    padding: 30px;
    border-radius: 12px;
    max-width: 900px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

main h1, 
main h2 {
    color: #5e0f7f; 
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

main p {
    text-align: justify;
    margin-bottom: 16px;
    font-size: 1rem;
    color: #333;
}

.imagem-baixo {
    text-align: center;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; 
}

.imagem-baixo img {
    width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);
    transition: transform 0.3s, box-shadow 0.3s;
}

.imagem-baixo img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

footer p {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 12px;
    }

    .imagem-baixo img {
        width: 90%;
        margin-bottom: 15px;
    }
}