/* Estilos para a página inicial */

/* Banner Institucional */
.institutional-banner {
    background: linear-gradient(135deg, #003366 0%, #004080 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    width: 100%;
    height: 100%;
    display: flex;

    font-size: 1.5rem;
}

.institutional-banner h1 {
    font-weight: 700;
    font-size: 2.2rem;
}

.institutional-banner .lead {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Estatísticas */
.stat-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    background-color: rgba(78, 115, 223, 0.1);
    color: #4e73df;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1rem;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #5a5c69;
    line-height: 1;
}

.stat-label {
    color: #858796;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

/* Serviços */
.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #4e73df;
    margin-bottom: 0.5rem;
}

.section-divider {
    width: 50px;
    height: 3px;
    background-color: #4e73df;
    margin: 0 0 1.5rem 0;
    opacity: 1;
}

.service-card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    background-color: rgba(78, 115, 223, 0.1);
    color: #4e73df;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #5a5c69;
}

.service-description {
    color: #858796;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* Links Rápidos */
.quick-link-card {
    display: block;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
    padding: 1.5rem;
    text-align: center;
    color: #5a5c69;
    text-decoration: none;
    transition: all 0.3s;
    height: 100%;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    color: #4e73df;
    text-decoration: none;
}

.quick-link-icon {
    background-color: rgba(78, 115, 223, 0.1);
    color: #4e73df;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.quick-link-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.quick-link-card p {
    color: #858796;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Eventos em Destaque */
.featured-events-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.featured-event-card {
    display: block;
    color: inherit;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.3s ease;
}

.featured-event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    color: inherit;
    text-decoration: none;
}

.featured-event-image {
    position: relative;
    height: 120px;
    overflow: hidden;
}

.featured-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-event-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e9ecef;
    color: #adb5bd;
    font-size: 2rem;
}

/* Novo layout com data ao lado do conteúdo */
.featured-event-content-wrapper {
    display: flex;
    background-color: #fff;
    padding: 0.75rem;
}

.event-date-badge {
    background-color: rgba(78, 115, 223, 0.1);
    border-radius: 4px;
    padding: 0.5rem;
    text-align: center;
    min-width: 50px;
    margin-right: 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-date-badge .month {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #4e73df;
    font-weight: 600;
    line-height: 1;
}

.event-date-badge .day {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #5a5c69;
    line-height: 1;
}

.featured-event-content {
    flex: 1;
}

.event-title {
    margin-bottom: 0.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #2e3d49;
}

.event-theme {
    margin-bottom: 0;
    font-size: 0.8rem;
    color: #6c757d;
}

/* Responsividade */
@media (max-width: 767.98px) {
    .institutional-banner {
        text-align: center;
        padding: 2rem 0;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
}
/* Estilos para o carrossel de eventos */
#eventosCarousel {
    margin-bottom: 1rem;
}

#eventosCarousel .carousel-item {
    padding: 0;
}

#eventosCarousel .carousel-indicators {
    bottom: -40px;
    margin-bottom: 0;
}

#eventosCarousel .carousel-indicators button {
    background-color: #667eea;
    border-radius: 50%;
    width: 10px;
    height: 10px;
}

#eventosCarousel .carousel-control-prev,
#eventosCarousel .carousel-control-next {
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    opacity: 0.8;
}

#eventosCarousel .carousel-control-prev:hover,
#eventosCarousel .carousel-control-next:hover {
    background-color: rgba(102, 126, 234, 0.3);
    opacity: 1;
}

#eventosCarousel .carousel-control-prev {
    left: 10px;
}

#eventosCarousel .carousel-control-next {
    right: 10px;
}

#eventosCarousel .featured-event-card {
    cursor: pointer;
    transition: transform 0.2s;
}

#eventosCarousel .featured-event-card:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    #eventosCarousel .carousel-control-prev,
    #eventosCarousel .carousel-control-next {
        width: 30px;
        height: 30px;
    }
    
    #eventosCarousel .carousel-control-prev {
        left: 5px;
    }
    
    #eventosCarousel .carousel-control-next {
        right: 5px;
    }
}