
:root {
    /* Cores */
    --primary-green: #00701a;
    --accent-yellow: #ffcc00;
    --bg-gray: #f8f9fa;
    --text-dark: #1a2a3a;
    --text-muted: #666;
    --dark-blue: #0a192f;
    --text-light: #a8b2d1;
    
    /* Breakpoints */
    --bp-sm: 480px;
    --bp-md: 768px;
    --bp-lg: 992px;
    
    /* Border Radius */
    --br-sm: 8px;
    --br-md: 12px;
    --br-lg: 20px;
    --br-xl: 30px;
    --br-2xl: 40px;
    --br-3xl: 50px;
    --br-4xl: 60px;
}

/* Aliases para compatibilidade */
:root {
    --verde-primario: var(--primary-green);
    --verde-claro: var(--bg-gray);
    --texto-cinza: var(--text-muted);
    --borda-card: #eee;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fcfcfc;
    padding: 20px;
}

.projetos-section {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header e Filtros */
.header-projetos {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.texto-header h1 {
    color: var(--verde-primario);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.filtros {
    display: flex;
    gap: 20px;
}

.filtro-item label {
    display: block;
    font-size: 10px;
    font-weight: bold;
    color: #999;
    margin-bottom: 5px;
}

.filtro-item select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    min-width: 150px;
}

/* Grid de Cards */
.grid-projetos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 25px;
}

.card {
    display: flex;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--borda-card);
}

.thumb {
    width: 40%;
    min-height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: #ddd;
}

.card-content {
    width: 60%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Tags e Status */
.tag {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 10px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
}

.infra { background: #e8f5e9; color: #2e7d32; }
.comercio { background: #e3f2fd; color: #1976d2; }

.status {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 4px;
}

.em-andamento { background: #fff3e0; color: #ef6c00; }
.concluido { background: #e3f2fd; color: #1976d2; }

/* Tipografia do Card */
.card-content h3 {
    font-size: 1.2rem;
    color: #333;
    margin: 0 0 10px 0;
}

.local {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* Barra de Progresso */
.progresso-header {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    font-weight: bold;
    color: #bbb;
    margin-bottom: 5px;
}

.barra-fundo {
    height: 8px;
    background: #eee;
    border-radius: 10px;
}

.barra-preenchida {
    height: 100%;
    background: #00a859;
    border-radius: 10px;
}

.footer-municipal {
    background-color: #0b1622; /* Azul bem escuro/preto da imagem */
    color: #ffffff;
    padding: 60px 20px 100px 20px;
    font-size: 0.9rem;
    position: relative;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

.footer-col h2.footer-logo {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-col h3 {
    font-size: 1rem;
    margin-bottom: 25px;
    letter-spacing: 1px;
    color: #fff;
}

.footer-col p {
    color: #a0aab4;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Listas e Links */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 15px;
    color: #a0aab4;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-col ul li i {
    color: var(--accent-yellow); /* Cor dourada dos ícones */
    margin-top: 3px;
}

.footer-links li a {
    color: #a0aab4;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links li a:hover {
    color: #ffffff;
}

/* Redes Sociais */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #ffffff;
    font-size: 1.2rem;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.social-links a:hover {
    opacity: 1;
}

/* Copyright Section */
.footer-bottom {
    display: flex;
    justify-content: center;
    text-align: center !important;
    width: 100%;
    padding-top: 30px;
    color: #667085;
    font-size: 0.8rem;
}

.footer-bottom p {
    margin: 0;
}

/* Botão Flutuante (Verde) */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    background-color: #006400; /* Verde escuro */
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 999;
    transition: opacity 0.3s ease, transform 0.3s ease, bottom 0.2s ease;
    font-size: 1.5rem;
}

.back-to-top.show {
    display: flex;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.back-to-top:hover {
    background-color: #004d00;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

/* Responsividade para o Footer */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .back-to-top {
        right: 20px;
        bottom: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}


