:root {
    --primary: #f4dada;
    --accent: #9d8189;
    --text: #4a3b52;
    --bg: #faf8f9;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; background: var(--bg); color: var(--text); }
h1, h2, h3, .logo { font-family: 'Playfair Display', serif; }

.container { max-width: 1000px; margin: 0 auto; padding: 60px 20px; }
nav { display: flex; justify-content: space-between; padding: 20px 5%; background: #fff; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 20px; }
nav ul li a { text-decoration: none; color: var(--text); }

.hero { width: 100%; height: 40vh; background-color: var(--primary); background-image: linear-gradient(rgba(244, 218, 218, 0.3), rgba(244, 218, 218, 0.3)), url('img/logo_maior2.png'); background-size: contain; background-repeat: no-repeat; background-position: center; display: flex; align-items: center; justify-content: center; text-align: center; }
.section-title { text-align: center; margin-bottom: 40px; }

/* Notícias */
.news-card { background: #fff; padding: 30px; border-radius: 8px; display: flex; gap: 20px; align-items: center; box-shadow: 0 4px 10px rgba(0,0,0,0.03); }
.news-img { width: 30%; border-radius: 5px; }

/* Cards de Eventos */
.events-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card { background: #fff; border-radius: 8px; overflow: hidden; cursor: pointer; transition: 0.3s; }
.card:hover { transform: scale(1.02); }
.card-img { height: 180px; background-size: cover; background-position: center; }
.card-body { padding: 15px; }

/* Modal e Galeria */
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); overflow-y: auto; }
.modal-content { background: #fff; margin: 5% auto; padding: 30px; width: 90%; max-width: 800px; border-radius: 10px; position: relative; }
.close { position: absolute; right: 20px; top: 10px; font-size: 30px; cursor: pointer; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 20px 0; }
.gallery-grid img { width: 100%; border-radius: 5px; }
.video-container { margin-top: 20px; }
.btn-reg { display: inline-block; padding: 10px 20px; background: var(--accent); color: #fff; text-decoration: none; border-radius: 5px; margin-top: 15px; }

footer { background: var(--primary); padding: 40px 0; margin-top: 50px; }

/* Estilos do Formulário */
.form-inscricao {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: bold;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus {
    outline-color: var(--accent);
    border-color: var(--accent);

}

/* Estilos para a Página Sobre */
.about-section {
    margin-bottom: 80px;
}

.about-grid-text {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

/* Inverte a ordem da imagem e texto em seções alternadas */
.about-section.invert .about-grid-text {
    flex-direction: row-reverse;
}

.text-block { flex: 1; }
.image-block { flex: 1; }

.img-fluid {
    width: 60%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.wide-img { margin: 20px 0; }

.about-section h3 {
    margin-bottom: 20px;
    color: var(--accent);
}

.about-section ul {
    list-style: none;
    margin-top: 20px;
}

.about-section ul li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.about-section ul li::before {
    content: "•";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.partners-list {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.partner-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    flex: 1;
    text-align: center;
    border: 1px solid var(--primary);
}

/* Responsividade para o Sobre */
@media (max-width: 768px) {
    .about-grid-text, .about-section.invert .about-grid-text {
        flex-direction: column;
    }
}

