@import url('https://fonts.googleapis.com/css2?family=Cabin:ital,wght@0,400..700;1,400..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f4f0ea;
    color: #4a4a4a;
    font-family: 'Cabin', sans-serif;
    font-weight: 400;
    padding: 0 2rem 2rem 2rem;
    line-height: 1.6;
}

header {
    background-color: #331f19;
    padding: 2rem 1rem;
    text-align: center;
    margin-bottom: 2rem;
    border-radius: 6px;
}

header h1 {
    color: #f4f0ea;
    font-size: 2.2rem;
    margin-bottom: 0.3rem;
}

header h2 {
    color: #ccd595;
    font-size: 1.2rem;
    font-weight: 400;
}

section {
    margin-bottom: 2rem;
}

section figure {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

section figure img {
    max-width: 250px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

section h2 {
    background-color: #ccd595;
    color: #331f19;
    font-size: 1.4rem;
    padding: 0.8rem 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    font-weight: 600;
}

section p {
    background-color: #fff;
    padding: 1rem 1.2rem;
    border-radius: 5px;
    color: #3b3b3b;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

details {
    background-color: #fff;
    border-radius: 5px;
    padding: 0.8rem 1rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

details summary {
    font-weight: 600;
    cursor: pointer;
    color: #331f19;
    outline: none;
    list-style: none;
}

details summary::-webkit-details-marker {
    display: none;
}

details[open] summary::after {
    content: "▲";
    float: right;
    font-size: 0.8rem;
    color: #798252;
}

details summary::after {
    content: "▼";
    float: right;
    font-size: 0.8rem;
    color: #798252;
}

details ul {
    margin-top: 0.8rem;
    padding-left: 1.2rem;
    color: #4a4a4a;
}

details ul li {
    margin-bottom: 0.4rem;
}

footer {
    background-color: #331f19;
    padding: 2rem 1rem;
    text-align: center;
    border-radius: 6px;
}

footer p {
    color: #f4f0ea;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

footer a {
    color: #ccd595;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsividade básica */

@media (max-width: 600px) {
    body {
        padding: 0 1rem 1rem 1rem;
    }

    header h1 {
        font-size: 1.6rem;
    }

    header h2 {
        font-size: 1rem;
    }

    section h2 {
        font-size: 1.2rem;
    }
}
