main {
    max-width: 900px;
    margin: 3rem auto 5rem;
    padding: 2rem 1.5rem;
    background-color: #f9fafb;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-family: 'Roboto', sans-serif;
    color: #333;
}

main section {
    background-color: white;
    padding: 1.8rem 2rem;
    margin-bottom: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

main h2 {
    font-weight: 700;
    font-size: 2rem;
    color: #5c2ca5;
    margin-bottom: 1rem;
    border-bottom: 2px solid #7c52e1;
    padding-bottom: 0.4rem;
}

main p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    font-weight: 400;
}

main ul {
    list-style: disc inside;
    margin-top: 1rem;
    color: #555;
    font-weight: 400;
    font-size: 1.1rem;
    padding-left: 0;
}

main li {
    margin-bottom: 0.6rem;
}

/* Imagem responsiva com borda suave */
main img {
    width: 100%;
    max-width: 320px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.15);
    margin-bottom: 1.5rem;
    object-fit: cover;
}

/* Flex para texto e imagem lado a lado */
main .flex-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

main .flex-row img {
    flex-shrink: 0;
}

/* Responsividade */
@media (max-width: 768px) {
    main {
        padding: 1.5rem 1rem;
    }

    main h2 {
        font-size: 1.7rem;
    }

    main p,
    main ul,
    main li {
        font-size: 1rem;
    }

    main .flex-row {
        flex-direction: column;
    }

    main .flex-row img {
        max-width: 100%;
        margin-bottom: 1rem;
    }
}
