/* === ESTILO GERAL === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: #fdfdfd;
    color: #2e2e2e;
    line-height: 1.6;
}

/* === SEÇÕES COM PADRÃO DE ESPAÇAMENTO === */
.section {
    padding: 80px 8%;
}

/* === HEADER === */
.header {

    background-color: #C7C4C3;
    /* tom roxo do site JRM */
    color: #fff;
    text-align: center;
    padding: 100px 8%;
}

.header h1 {
    font-family: "Cinzel", serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* === SOBRE === */
.about h2 {
    font-family: "Cinzel", serif;
    color: black;
    
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.about p {
    max-width: 900px;
    margin: 0 auto 20px;
    text-align: justify;
    font-size: 1.05rem;
}

/* === POSTS === */
.posts h2 {
    text-align: center;
    font-family: "Cinzel", serif;
    color: black;
    font-size: 2rem;
    margin-bottom: 40px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
}

.post {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.post img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.post-content {
    padding: 20px;
}

.post-content h3 {
    color: #2e2e2e;
    font-size: 1.25rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.post-content p {
    color: #444;
    margin-bottom: 20px;
}

.post-content a {
    text-decoration: none;
    color: #c2a85d;
    /* tom dourado suave */
    font-weight: 600;
    transition: color 0.2s ease;
}

.post-content a:hover {
    color: #b39145;
}

/* === FOOTER === */
.footer {
    background-color: #C7C4C3;
    color: #fff;
    text-align: center;
    font-size: 0.9rem;
}

/* === RESPONSIVIDADE === */
@media (max-width: 768px) {
    .header {
        padding: 60px 6%;
    }

    .section {
        padding: 60px 6%;
    }

    .header h1 {
        font-size: 2rem;
    }
}