#vereadores-grid {
    padding: 3rem 2rem;
    background-color: #f8f9fa;
    margin: 2rem 0;
    border-radius: 10px;
}

#vereadores-grid > span{
    display: none;
}

#vereadores-grid h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

#vereadores-grid .subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.vereadores-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.vereador-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    position: relative;
}

.vereador-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.vereador-photo {
    width: 100%;
    height: 550px;
    overflow: hidden;
    position: relative;
    background: #ecf0f1;
}

.vereador-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.vereador-card:hover .vereador-photo img {
    transform: scale(1.05);
}

.vereador-info {
    padding: 1.5rem;
    text-align: center;
    background: white;
}

.vereador-info h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.vereador-info .partido {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsividade */
@media (max-width: 768px) {
    #descricaoPag {
        padding: 2rem 1rem;
    }
    
    #descricaoPag h1 {
        font-size: 2rem;
    }
    
    #descricaoPag h2 {
        font-size: 1.1rem;
    }
    
    #descricaoPag p {
        font-size: 1rem;
    }
    
    #vereadores-grid {
        padding: 2rem 1rem;
    }
    
    #vereadores-grid h2 {
        font-size: 1.8rem;
    }
    
    .vereadores-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    #vereadores-grid > span{
        display: block;
        margin-bottom: 2rem;
    }
    #descricaoPag h1 {
        font-size: 1.7rem;
    }
    
    .vereadores-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .vereador-photo {
        height: 550px;
    }
    
    .vereador-info {
        padding: 1rem;
    }
}

.vereador-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Delay escalonado para as animações */
.vereador-card:nth-child(1) { animation-delay: 0.1s; }
.vereador-card:nth-child(2) { animation-delay: 0.2s; }
.vereador-card:nth-child(3) { animation-delay: 0.3s; }
.vereador-card:nth-child(4) { animation-delay: 0.4s; }
.vereador-card:nth-child(5) { animation-delay: 0.5s; }
.vereador-card:nth-child(6) { animation-delay: 0.6s; }
.vereador-card:nth-child(7) { animation-delay: 0.7s; }
.vereador-card:nth-child(8) { animation-delay: 0.8s; }
.vereador-card:nth-child(9) { animation-delay: 0.9s; }