/* ======================================== */
/* Estilos da Seção de Agenda/Calendário    */
/* ======================================== */
.secao-agenda {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.container-agenda {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

.agenda-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}
.agenda-header h2 {
    margin: 0;
    font-size: 2rem;
    color: #333;
}
.agenda-header .ver-mais {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

.agenda-wrapper {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

/* Widget do Calendário (Esquerda) */
.calendario-widget {
    flex: 2;
    min-width: 400px; /* Largura mínima para o calendário */
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.calendario-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}
.calendario-header h3 {
    margin: 0;
    font-size: 1.2rem;
}
.calendario-nav button {
    background: #f0f0f0;
    border: 1px solid #ddd;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}
.calendario-weekdays, .calendario-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
}
.calendario-weekdays span {
    font-weight: bold;
    color: #888;
    padding: 10px 0;
    font-size: 0.9rem;
}
.day-cell {
    padding: 10px 5px;
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.day-cell.today span {
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.day-cell.has-event { font-weight: bold; }
.day-cell.has-holiday span {
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.event-dot {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: #28a745; /* Ponto verde para eventos */
    border-radius: 50%;
}

/* Widget de Destaque do Dia (Direita) */
.evento-destaque-widget {
    flex: 1;
    min-width: 280px;
    background-color: #003366;
    color: white;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.destaque-header {
    text-align: center;
    padding: 20px;
    background-color: #002244;
}
.destaque-header i { font-size: 2rem; margin-bottom: 10px; }
.destaque-dia { font-size: 4.5rem; font-weight: bold; line-height: 1; }
.destaque-mes-ano { font-size: 1.1rem; display: block; text-transform: uppercase; }
.destaque-body {
    background-color: #fff;
    color: #333;
    padding: 25px;
    flex-grow: 1;
}
.destaque-body h4 { font-size: 1.2rem; margin-top: 0; }
.btn-destaque {
    display: inline-block;
    margin-top: 15px;
    background-color: #007bff;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}