/* ===== ESTILOS PARA PÁGINAS PÚBLICAS ===== */

/* ===== COOKIE NOTICE ===== */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-top: 3px solid #3498db;
}

.cookie-notice.show {
    transform: translateY(0);
}

.cookie-notice-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-notice-text {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
}

.cookie-notice-text i {
    font-size: 2rem;
    color: #f39c12;
    flex-shrink: 0;
}

.cookie-notice-text span {
    line-height: 1.5;
}

.cookie-notice-text a {
    color: #3498db;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-notice-text a:hover {
    color: #5dade2;
}

.cookie-notice-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-notice-actions .btn {
    white-space: nowrap;
    font-weight: 500;
    border-radius: 25px;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.cookie-notice-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Cookie Configuration Modal */
.cookie-category {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    background: #f8f9fa;
}

.cookie-category h6 {
    font-weight: 600;
}

.cookie-category .form-switch .form-check-input {
    width: 3rem;
    height: 1.5rem;
}

.cookie-category .form-switch .form-check-input:checked {
    background-color: #198754;
    border-color: #198754;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-notice {
        padding: 15px;
    }
    
    .cookie-notice-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-notice-text {
        flex-direction: column;
        gap: 10px;
    }
    
    .cookie-notice-text i {
        font-size: 1.5rem;
    }
    
    .cookie-notice-actions {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .cookie-notice-actions .btn {
        font-size: 0.875rem;
        padding: 6px 15px;
    }
}

@media (max-width: 480px) {
    .cookie-notice-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-notice-actions .btn {
        width: 100%;
    }
}

/* Botões de Acesso Rápido */
.btn-acesso-rapido {
    border-radius: 15px;
    transition: all 0.3s ease;
    min-height: 120px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.btn-acesso-rapido:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    text-decoration: none;
}

.btn-acesso-rapido:focus {
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.btn-acesso-rapido::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-acesso-rapido:hover::before {
    opacity: 1;
}

@media (max-width: 768px) {
    .btn-acesso-rapido {
        min-height: 100px;
    }
    
    .btn-acesso-rapido i {
        font-size: 2rem !important;
    }
    
    .btn-acesso-rapido span {
        font-size: 0.8rem !important;
    }
    
    .btn-acesso-rapido small {
        font-size: 0.7rem !important;
    }
}

/* Cartas de Serviço */
.hero-section {
    background: linear-gradient(135deg, var(--theme-primary, #6f42c1) 0%, var(--theme-secondary, #e83e8c) 100%);
    color: white;
    padding: 20px 0; /* reduzido para diminuir a largura vertical do container externo do hero */
    position: relative;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-description {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 800px;
    margin: 0 auto;
}

.main-content {
    padding: 80px 0;
    background: #f8f9fa;
}

.search-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    margin-bottom: 50px;
    position: relative;
    top: -50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--theme-accent, #6f42c1), var(--theme-secondary, #e83e8c));
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--theme-primary, #6f42c1), var(--theme-accent, #e83e8c));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.service-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.meta-item {
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 5px;
}

.service-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn-view {
    background: linear-gradient(135deg, var(--theme-accent, #6f42c1), var(--theme-secondary, #e83e8c));
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}



.btn-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(111, 66, 193, 0.4);
    color: white;
    text-decoration: none;
}

.btn-download {
    background: #28a745;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: #218838;
    color: white;
    transform: translateY(-1px);
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    justify-content: center;
}

.category-btn {
    background: white;
    border: 2px solid #e9ecef;
    color: #6c757d;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-btn:hover,
.category-btn.active {
    background: linear-gradient(135deg, #6f42c1, #e83e8c);
    border-color: #6f42c1;
    color: white;
    transform: translateY(-2px);
}

.stats-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.1), rgba(232, 62, 140, 0.1));
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #6f42c1;
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-control:focus {
    border-color: var(--theme-primary, #6f42c1);
    box-shadow: 0 0 0 0.2rem rgba(111, 66, 193, 0.25);
    background: white;
}

.form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-select:focus {
    border-color: var(--theme-primary, #6f42c1);
    box-shadow: 0 0 0 0.2rem rgba(111, 66, 193, 0.25);
    background: white;
}

.btn-primary {
    background: linear-gradient(135deg, var(--theme-primary, #6f42c1), var(--theme-accent, #e83e8c));
    border: none;
    border-radius: 10px;
    padding: 15px 30px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(111, 66, 193, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--theme-primary, #6f42c1);
    color: var(--theme-primary, #6f42c1);
    background: transparent;
    border-radius: 10px;
    padding: 12px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--theme-primary, #6f42c1), var(--theme-accent, #e83e8c));
    border-color: var(--theme-primary, #6f42c1);
    color: white;
    transform: translateY(-2px);
}

.pagination {
    justify-content: center;
    margin-top: 50px;
}

.page-link {
    border: none;
    color: var(--theme-primary, #6f42c1);
    padding: 12px 18px;
    margin: 0 5px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: var(--theme-primary, #6f42c1);
    color: white;
    transform: translateY(-1px);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, var(--theme-primary, #6f42c1), var(--theme-accent, #e83e8c));
    border-color: var(--theme-primary, #6f42c1);
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #6c757d;
}

.empty-state-icon {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 20px;
}

.empty-state-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #495057;
}

.empty-state-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.info-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.info-title {
    color: #6f42c1;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.info-content {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* ===== ESTILOS ESPECÍFICOS PARA SHOW DE CARTAS DE SERVIÇO ===== */

.breadcrumb-section {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: #6f42c1;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #6c757d;
}

.service-header {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.service-header .service-icon {
    width: 80px;
    height: 80px;
    font-size: 32px;
    border-radius: 20px;
    margin-bottom: 25px;
}

.service-header .service-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.service-header .service-description {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.meta-badge {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-badge.category {
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.1), rgba(232, 62, 140, 0.1));
    border-color: #6f42c1;
    color: #6f42c1;
}

.meta-badge.cost {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.1));
    border-color: #28a745;
    color: #28a745;
}

.meta-badge.time {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 193, 7, 0.1));
    border-color: #ffc107;
    color: #856404;
}

.content-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: #6f42c1;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.info-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #6f42c1;
}

.info-label {
    font-size: 0.9rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-weight: 600;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    border-left: 4px solid #6f42c1;
    position: relative;
}

.step-number {
    position: absolute;
    left: -15px;
    top: 20px;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #6f42c1, #e83e8c);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.step-title {
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    margin-left: 25px;
}

.step-description {
    color: #666;
    line-height: 1.6;
    margin-left: 25px;
}

.documents-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.document-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid #28a745;
    display: flex;
    align-items: center;
    gap: 15px;
}

.document-icon {
    width: 40px;
    height: 40px;
    background: #28a745;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.document-info {
    flex: 1;
}

.document-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.document-description {
    color: #666;
    font-size: 0.9rem;
}

.document-required {
    background: #dc3545;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.document-optional {
    background: #6c757d;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.channel-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    border-left: 4px solid #17a2b8;
    transition: all 0.3s ease;
}

.channel-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.channel-icon {
    width: 50px;
    height: 50px;
    background: #17a2b8;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-bottom: 15px;
}

.channel-name {
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.channel-info {
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

.channel-details {
    font-size: 0.9rem;
    color: #6c757d;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.btn-secondary {
    background: var(--theme-secondary, #6c757d);
    border: none;
    border-radius: 10px;
    padding: 15px 30px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    background: var(--theme-secondary-hover, #5a6268);
    color: white;
    transform: translateY(-2px);
}

.alert {
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    border: none;
}

.alert-info {
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.1), rgba(232, 62, 140, 0.1));
    color: #6f42c1;
    border-left: 4px solid #6f42c1;
}

.alert-warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 193, 7, 0.1));
    color: #856404;
    border-left: 4px solid #ffc107;
}

.related-services {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: 40px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.related-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    border-left: 4px solid #6f42c1;
    transition: all 0.3s ease;
}

.related-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.related-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.related-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.related-link {
    color: #6f42c1;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.related-link:hover {
    color: #e83e8c;
}

/* ===== ESTILOS ESPECÍFICOS PARA OUVIDORIA ===== */

.hero-section.ouvidoria {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.search-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.result-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pendente {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-em_andamento {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.status-respondida {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-arquivada {
    background: #e2e3e5;
    color: #383d41;
    border: 1px solid #d6d8db;
}

.priority-badge {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.priority-baixa {
    background: #d4edda;
    color: #155724;
}

.priority-media {
    background: #fff3cd;
    color: #856404;
}

.priority-alta {
    background: #f8d7da;
    color: #721c24;
}

.priority-urgente {
    background: #721c24;
    color: white;
}

.type-badge {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    background: #e9ecef;
    color: #495057;
}

.type-reclamacao {
    background: #f8d7da;
    color: #721c24;
}

.type-sugestao {
    background: #d1ecf1;
    color: #0c5460;
}

.type-elogio {
    background: #d4edda;
    color: #155724;
}

.type-denuncia {
    background: #343a40;
    color: white;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e9ecef;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -23px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: #28a745;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #28a745;
}

.timeline-item.current::before {
    background: #20c997;
    box-shadow: 0 0 0 2px #20c997;
}

.timeline-date {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.timeline-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.timeline-description {
    color: #666;
    line-height: 1.5;
}

/* ===== ESTILOS ESPECÍFICOS DOS VEREADORES ===== */

.vereador-card {
    transition: all 0.3s ease;
}

.vereador-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.vereador-photo-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.vereador-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.vereador-photo-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    border: 3px solid var(--primary-color);
}

.presidente-badge-small {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.vereador-profile-photo-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.vereador-profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.vereador-profile-photo-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    border: 5px solid white;
    backdrop-filter: blur(10px);
}

.presidente-badge-profile {
    position: absolute;
    top: -15px;
    right: -15px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: pulse 2s infinite;
}

.contact-item .contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 0.9rem;
}

.proposicao-item {
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.proposicao-item:hover {
    background-color: #e3f2fd !important;
    transform: translateX(5px);
}

.comissao-item .badge {
    transition: all 0.3s ease;
}

.comissao-item .badge:hover {
    transform: scale(1.02);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* ===== ESTILOS ESPECÍFICOS PARA LOGIN/AUTH ===== */

.login-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.login-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    padding: 3rem;
    width: 100%;
    max-width: 400px;
}

.login-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.login-icon i {
    font-size: 2rem;
    color: white;
}

.login-title {
    text-align: center;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.form-control {
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

.btn-login {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.3);
    color: white;
}

.btn-login:active {
    transform: translateY(0);
}

.alert-custom {
    border: none;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    background-color: #fef2f2;
    border-left: 4px solid #dc2626;
}

.back-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

/* Responsividade para Cartas de Serviço */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .search-section {
        padding: 25px 20px;
        margin-bottom: 30px;
        top: -30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .category-filter {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .category-btn {
        white-space: nowrap;
        flex-shrink: 0;
        font-size: 0.8rem;
        padding: 8px 12px;
    }
    
    /* Responsividade específica para show */
    .service-header,
    .content-section {
        padding: 25px 20px;
    }
    
    .service-header .service-title {
        font-size: 1.8rem;
    }
    
    .info-grid,
    .channels-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn-primary,
    .action-buttons .btn-secondary,
    .action-buttons .btn-outline-primary {
        justify-content: center;
    }
    
    .vereador-profile-photo-container,
    .vereador-profile-photo,
    .vereador-profile-photo-placeholder {
        width: 150px;
        height: 150px;
    }
    
    .vereador-profile-photo-placeholder {
        font-size: 3rem;
    }
    
    .presidente-badge-profile {
        top: -10px;
        right: -10px;
        padding: 8px 12px;
        font-size: 0.7rem;
    }
}

/* ===== BARRAS DE PROGRESSO DINÂMICAS ===== */
.progress-bar-pendente {
    width: 25%;
    background-color: #ffc107;
    transition: width 0.3s ease;
}

.progress-bar-em-andamento {
    width: 50%;
    background-color: #17a2b8;
    transition: width 0.3s ease;
}

.progress-bar-respondida {
    width: 100%;
    background-color: #28a745;
    transition: width 0.3s ease;
}

.progress-bar-negada {
    width: 100%;
    background-color: #dc3545;
    transition: width 0.3s ease;
}

/* ===== Últimas Notícias (Home) ===== */
.card-news {
    border: 1px solid #e9ecef;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: #fff;
}

.card-news:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.12);
}

.card-news .card-body {
    padding: 1rem 1rem 1.25rem 1rem;
}

.news-image-wrapper {
    height: 240px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

/* Variante para páginas de detalhe (imagem maior) */
.news-image-wrapper-lg {
    height: 400px;
}

@media (max-width: 992px) {
    .news-image-wrapper-lg { height: 360px; }
}

@media (max-width: 768px) {
    .news-image-wrapper-lg { height: 280px; }
}

/* Variante para cartões menores (Relacionadas / sidebar) */
.news-image-wrapper-sm {
    height: 120px;
}

@media (max-width: 992px) {
    .news-image-wrapper-sm { height: 110px; }
}

@media (max-width: 768px) {
    .news-image-wrapper-sm { height: 100px; }
}

/* Conteúdo do detalhe da notícia: tipografia e espaçamento profissional */
.content-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #1f2937; /* slate-800 */
}
.content-body p { margin-bottom: 1.25rem; }
.content-body h2 { font-size: 1.75rem; margin: 1.5rem 0 1rem; }
.content-body h3 { font-size: 1.5rem; margin: 1.25rem 0 .75rem; }
.content-body h4 { font-size: 1.25rem; margin: 1rem 0 .5rem; }
.content-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 1rem 0; }
.content-body blockquote {
    border-left: 4px solid #3b82f6; /* blue-500 */
    padding: .75rem 1rem;
    background: #f8fafc; /* slate-50 */
    border-radius: 8px;
}
.content-body ul, .content-body ol { margin-bottom: 1.25rem; }
.content-body a { color: #1d4ed8; text-decoration: underline; }
.content-body a:hover { color: #1e40af; }

/* Cartões de notícia e itens relacionados */
.card-news { border-radius: 16px; overflow: hidden; position: relative; }
.related-item { transition: background-color .2s ease, box-shadow .2s ease; }
.related-item:hover { background: #f8fafc; }
.related-title { color: #0f172a; font-weight: 600; }

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* preencher largura do card */
    object-position: top center; /* evitar corte na parte superior */
}

/* Mantém comportamento consistente independentemente da orientação */
.news-image.landscape,
.news-image.portrait {
    object-fit: cover;
    object-position: top center;
}

@media (max-width: 992px) {
    .news-image-wrapper { height: 220px; }
}

@media (max-width: 768px) {
    .news-image-wrapper { height: 200px; }
}

.card-news .card-title {
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-news .badge {
    border-radius: 999px;
}

.card-news .btn-outline-primary {
    border-radius: 10px;
}

/* Chips de tags (corrige texto branco em fundo branco) */
.tag-chip {
    display: inline-block;
    background: #eef2ff; /* indigo-50 */
    color: #1f2937; /* slate-800 */
    border: 1px solid #c7d2fe; /* indigo-200 */
    border-radius: 999px;
    font-size: 0.875rem;
    padding: .25rem .6rem;
}