:root {
    --bg-cream: #F5F4F0; 
    --green-dark: #40503C; 
    --green-light: #8BA67E; 
    --text-dark: #222222;
    --text-gray: #444444;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-sans);
    background-color: var(--bg-cream);
    color: var(--text-gray);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container { width: 90%; max-width: 1150px; margin: 0 auto; }

/* --- HEADER --- */
header { 
    background-color: var(--bg-cream); 
    padding: 15px 0; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 80px; border-radius: 50%;} 
nav ul { list-style: none; display: flex; gap: 20px; } 
nav a { text-decoration: none; color: var(--text-dark); font-size: 0.9rem; font-weight: 600; transition: 0.3s;} 
nav a:hover { color: var(--green-light); }

.btn-dark-header { 
    background-color: var(--green-dark); 
    color: white; 
    padding: 10px 20px;
    border-radius: 6px; 
    font-size: 0.9rem; 
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}
.btn-dark-header:hover { background-color: #2a3528; }

/* --- BANNER DE EVENTOS --- */
.eventos-hero {
    background-color: var(--green-dark);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.eventos-hero-title {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 500;
    color: white;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.ornament { display: flex; align-items: center; justify-content: center; gap: 15px; margin-bottom: 20px; }
.line-img { width: 60px; height: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.5;} /* Deixa os traços brancos */
.heart-icon { width: 30px; height: auto; object-fit: contain; }

.eventos-hero-subtitle {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 400;
    color: #E9EAE3;
}

/* --- SEÇÃO DE EVENTOS (GRID E CARDS) --- */
.seccion-eventos {
    flex: 1;
    padding: 80px 0;
}

.eventos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 40px;
}

/* O Card do Evento */
.evento-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.evento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* Imagem do Evento */
.evento-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
}

.evento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.evento-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--green-dark);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Informações do Evento */
.evento-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1; /* Faz o card empurrar o footer pra baixo */
}

.evento-fecha {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--green-light);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.evento-titulo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--green-dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.evento-desc {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 25px;
    flex: 1;
}

/* Rodapé do Card (Preço e Botão) */
.evento-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #EEEEEE;
    padding-top: 20px;
}

.evento-precio {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.btn-evento {
    background-color: var(--green-light);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-evento:hover {
    background-color: var(--green-dark);
}

/* --- FOOTER --- */
footer { 
    background-color: var(--green-dark); 
    color: #A3ACA0; 
    padding: 25px 0; 
    font-size: 0.75rem;
    letter-spacing: 1px;
}
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.footer-left { font-family: var(--font-serif); font-size: 1.1rem; color: white; letter-spacing: 0; }
.footer-left .text-green { color: var(--green-light); font-style: italic; }
.footer-center { display: flex; gap: 30px; }
.footer-center a { color: #A3ACA0; text-decoration: none; text-transform: uppercase; transition: 0.3s; }
.footer-center a:hover { color: white; }
.footer-right { text-transform: uppercase; }

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    .eventos-hero-title { font-size: 3rem; }
    .eventos-hero { padding: 50px 20px; }
}