:root {
    --primary-color: #036db3;
    --primary-light: #4a9bd9;
    --primary-dark: #004b8d;
    --secondary-color: #2c3e50;
    --accent-color: #ffffff;
    --light-color: #f8f9fa;
    --dark-color: #2c3e50;
    --text-color: #2c3e50;
    --text-light: #6c757d;
    --border-color: #e9ecef;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --box-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fafbfc;
    font-weight: 400;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==================== CABEÇALHO ==================== */
.header-prefeitura {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.header-prefeitura::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff" opacity="0.03"><polygon points="0,0 1000,100 1000,0"/></svg>');
    background-size: cover;
}

/* Header Top */
.header-top {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-social {
    display: flex;
    gap: 16px;
}

.header-social a {
    color: var(--primary-color);
    font-size: 18px;
    transition: var(--transition);
    padding: 8px;
    border-radius: 6px;
}

.header-social a:hover {
    color: var(--primary-dark);
    background: rgba(3, 109, 179, 0.1);
    transform: translateY(-1px);
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-bar input {
    padding: 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    width: 280px;
    font-size: 14px;
    transition: var(--transition);
    background: white;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(3, 109, 179, 0.1);
}

.search-bar button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.search-bar button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Header Main */
.header-main-full {
    background: transparent;
    width: 100%;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    position: relative;
}

.logo img {
    height: 50px;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

.main-nav {
    background-color: transparent;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 4px;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    display: block;
    transition: var(--transition);
    font-weight: 500;
    border-radius: var(--border-radius);
    font-size: 15px;
}

.main-nav a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.main-nav a.active {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

/* Main Content */
.main-content {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

/* ==================== HERO SECTION (Estilo Portal Fazenda) ==================== */
.hero-section {
    position: relative;
    width: calc(100% - 40px); /* Margem lateral */
    max-width: 1400px;
    height: 60vh; /* Altura reduzida */
    min-height: 500px;
    margin: 110px auto 4rem auto; /* Espaço para o header flutuante */
    border-radius: 40px; /* Bordas arredondadas modernas */
    background: linear-gradient(120deg, #0b2e4e 0%, #046eb4 100%); /* Fundo azul profundo */
    overflow: hidden;
    display: flex;
    align-items: center;
    box-shadow: 0 20px 40px rgba(4, 110, 180, 0.15);
    padding: 0;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Pattern sutil */
    background-image: radial-gradient(circle at 10% 20%, rgba(255,255,255,0.05) 0%, transparent 20%),
                      radial-gradient(circle at 90% 80%, rgba(255,255,255,0.05) 0%, transparent 20%);
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    mix-blend-mode: overlay;
    z-index: 1;
}

/* Círculos decorativos de luz */
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 0;
    width: 100%;
    padding: 0 4rem;
}

.hero-text {
    max-width: 700px;
    text-align: left; /* Explicitly align text to left */
    margin-right: auto; /* Push to left if flex container allows */
}

.highlight-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1.2rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #4ddbff; /* Ciano claro */
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.highlight-badge::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background-color: #4ddbff;
    border-radius: 50%;
    box-shadow: 0 0 10px #4ddbff;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: none; /* Hide H1 if it still exists or overrides */
}

.hero-logo-main {
    display: block;
    max-width: 400px; /* Size appropriate for hero title replacement */
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.hero-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
    max-width: 550px;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 1rem 2.5rem;
    background-color: white;
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #f1f5f9;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    padding: 1rem 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    border-color: white;
    background-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .hero-section {
        border-radius: 20px;
        margin-top: 100px;
        height: auto;
        padding: 4rem 0;
        width: calc(100% - 30px);
    }
    
    .hero-content {
        padding: 0 2rem;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 16px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

/* Animação para a logo */
@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-logo {
    animation: logoFadeIn 1s ease-out;
}
/* ==================== Acesso Rápido - Modern Cards ==================== */
.nav-rapida {
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
    margin-top: 4rem; /* Adjusted from negative margin to standard spacing */
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 10px;
}

.nav-card {
    background: white;
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08); /* Soft shadow */
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(4, 110, 180, 0.15); /* Tinted shadow on hover */
    border-color: transparent;
}

.nav-card:hover::before {
    opacity: 1;
}

.nav-icon {
    width: 60px;
    height: 60px;
    background: #f0f7ff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 26px;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.nav-card:hover .nav-icon {
    background: var(--primary-color);
    color: white;
    transform: rotate(-10deg) scale(1.1);
    box-shadow: 0 10px 20px rgba(4, 110, 180, 0.3);
}

.nav-content {
    flex: 1;
}

.nav-content h3 {
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.nav-arrow {
    position: absolute;
    bottom: 25px;
    right: 25px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8fafc;
    color: var(--text-light);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.nav-card:hover .nav-arrow {
    opacity: 1;
    transform: translateX(0);
    background: #e0f2fe;
    color: var(--primary-color);
}

.nav-card:hover .nav-arrow {
    transform: translateX(4px);
}

/* Estilos para os cards ocultos/visíveis */
.nav-card.hidden {
    display: none;
}

.nav-card.visible {
    display: flex;
    animation: fadeIn 0.3s ease-in;
}

/* Container do botão */
.nav-actions {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.05); /* Subtler border */
}

/* Botão Ver Mais/Ver Menos */
.btn-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    font-weight: 500;
}

.btn-toggle:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-toggle .fa-chevron-down {
    transition: transform 0.3s ease;
}

.btn-toggle.expanded .fa-chevron-down {
    transform: rotate(180deg);
}

/* Animação para os cards */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ajuste para grid responsivo quando expandido */
.nav-grid.expanded {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* ==================== PORTAL SEI!NEVES - COLORFUL MODERN CARDS ==================== */
.portal-sei-section {
    margin: 4rem 0;
    padding: 3rem 2rem;
    background: #f8fafc;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
}

/* Decorative background circle */
.portal-sei-section::before {
    content: '';
    position: absolute;
    top: -150px;
    left: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(4, 110, 180, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
    justify-content: center;
}

/* Card Base Style */
.portal-column {
    background: white;
    border-radius: 24px;
    padding: 0; /* Removing default padding to use inner spacing */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.portal-column:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Header with Color Block */
.portal-column-header {
    padding: 2rem;
    background: #f8fafc; /* Default fallback */
    display: flex;
    align-items: center;
    gap: 1.2rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

/* Icon Container */
.portal-icon {
    width: 56px;
    height: 56px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.portal-column:hover .portal-icon {
    transform: rotate(360deg);
}

.portal-column h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Colors for Specific Columns - Matching Blue/Cyan Theme */

/* Column 1: Citizen (Cyan/Blue) */
.portal-column:nth-child(1) .portal-column-header {
    background: linear-gradient(135deg, #00d2ff 0%, #046eb4 100%);
}
.portal-column:nth-child(1) .portal-icon { color: #046eb4; }

/* Column 2: External User (Blue/Purple) - If present, otherwise styles next visible */
.portal-column:nth-child(2) .portal-column-header {
    background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
}
.portal-column:nth-child(2) .portal-icon { color: #182848; }

/* Column 3: Server (Deep Blue) */
.portal-column:nth-child(3) .portal-column-header {
    background: linear-gradient(135deg, #021B79 0%, #0575E6 100%);
}
.portal-column:nth-child(3) .portal-icon { color: #021B79; }

/* Column 4: Utils (Slate/Grey) */
.portal-column:nth-child(4) .portal-column-header {
    background: linear-gradient(135deg, #485563 0%, #29323c 100%);
}
.portal-column:nth-child(4) .portal-icon { color: #29323c; }


/* Links Area */
.portal-links {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
    background: white;
}

.portal-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.2s ease;
    background: #f8fafc;
    border: 1px solid transparent;
}

.portal-link:hover {
    background: white;
    color: var(--primary-color);
    border-color: var(--primary-light);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.portal-link i {
    width: 24px;
    color: #94a3b8;
    font-size: 1rem;
    transition: color 0.2s;
    text-align: center;
}

.portal-link:hover i {
    color: var(--primary-color);
}

.portal-link span {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 500;
}

.link-badge {
    background: var(--success-color);
    color: white;
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portal-link.highlight {
    background: linear-gradient(135deg, rgba(3, 109, 179, 0.1), rgba(3, 109, 179, 0.05));
    border: 1px solid rgba(3, 109, 179, 0.2);
}

.portal-link.highlight:hover {
    background: linear-gradient(135deg, rgba(3, 109, 179, 0.15), rgba(3, 109, 179, 0.1));
}

/* Linha inferior de links */
.portal-bottom-links {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eef2f7;
}

.bottom-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.bottom-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: var(--border-radius);
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid #eef2f7;
    font-size: 0.9rem;
}

.bottom-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 109, 179, 0.2);
    text-decoration: none;
}

.bottom-link:hover i {
    color: white;
}

.bottom-link i {
    color: var(--primary-light);
    font-size: 1rem;
}

/* ==================== ACESSO RÁPIDO MINIMALISTA ==================== */
.acesso-rapido-section {
    margin: 3rem 0;
}

.acesso-card.minimal {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #eef2f7;
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.acesso-header {
    text-align: center;
    margin-bottom: 2rem;
}

.acesso-header h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.acesso-subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
}

.acesso-actions {
    text-align: center;
}

.btn-acesso-principal {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(3, 109, 179, 0.3);
}

.btn-acesso-principal:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(3, 109, 179, 0.4);
    color: white;
    text-decoration: none;
}

.acesso-info-mini {
    margin-top: 1.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.acesso-info-mini p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.acesso-info-mini i {
    color: var(--primary-light);
}

/* ==================== ANIMAÇÕES ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portal-column {
    animation: fadeInUp 0.5s ease-out;
}

.portal-column:nth-child(2) {
    animation-delay: 0.1s;
}

.portal-column:nth-child(3) {
    animation-delay: 0.2s;
}

.portal-column:nth-child(4) {
    animation-delay: 0.3s;
}

.bottom-link {
    animation: fadeInUp 0.5s ease-out;
}

/* ==================== RESPONSIVIDADE ==================== */
@media (max-width: 768px) {
    .portal-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .bottom-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portal-column {
        padding: 1.25rem;
    }
    
    .acesso-card.minimal {
        padding: 1.5rem;
    }
    
    .btn-acesso-principal {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .bottom-links-grid {
        grid-template-columns: 1fr;
    }
    
    .acesso-info-mini {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .portal-column-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .portal-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}



/* Customização da scrollbar */
.arquivos-grid::-webkit-scrollbar {
    width: 8px;
}

.arquivos-grid::-webkit-scrollbar-track {
    background: var(--light-color);
    border-radius: 4px;
    margin: 5px 0;
}

.arquivos-grid::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
    border: 2px solid var(--light-color);
}

.arquivos-grid::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Para Firefox */
.arquivos-grid {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light) var(--light-color);
}

.arquivo-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
}

.arquivo-item:hover {
    background: white;
    border-color: var(--primary-color);
    text-decoration: none;
    color: var(--text-color);
    transform: translateX(4px);
    box-shadow: var(--box-shadow);
}

.arquivo-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
}

.arquivo-icon .fab {
    font-size: 1.2rem;
}

.arquivo-icon .fab.fa-youtube {
    color: #ff0000;
}

.arquivo-icon .fab.fa-windows {
    color: #0078d4;
}

.arquivo-icon .fab.fa-android {
    color: #3ddc84;
}

.arquivo-icon .fab.fa-apple {
    color: #000000;
}

.arquivo-info {
    flex: 1;
    min-width: 0;
}

.arquivo-info strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.arquivo-info span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.arquivo-info small {
    color: var(--text-light);
    font-size: 0.75rem;
}

.arquivo-item .fa-download,
.arquivo-item .fa-play {
    color: var(--primary-color);
    opacity: 0.7;
    transition: var(--transition);
    flex-shrink: 0;
}

.arquivo-item:hover .fa-download,
.arquivo-item:hover .fa-play {
    opacity: 1;
    transform: scale(1.1);
}

/* ==================== SEÇÃO DE ACESSO ==================== */
.acesso-section {
    margin: 4rem 0;
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--border-radius-xl);
}

.acesso-container {
    max-width: 600px;
    margin: 0 auto;
}

.acesso-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--box-shadow-lg);
    text-align: center;
    border: 1px solid var(--border-color);
}

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

.acesso-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.acesso-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-acesso {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    margin-bottom: 2rem;
}

.btn-acesso:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
    color: white;
    text-decoration: none;
}

.acesso-info {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: left;
    margin-top: 2rem;
}

.acesso-info p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.acesso-info ul {
    list-style: none;
    padding: 0;
}

.acesso-info li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.acesso-info li:last-child {
    margin-bottom: 0;
}

.acesso-info li i {
    color: var(--primary-color);
    width: 20px;
}

/* Footer Moderno */
/* ==================== RODAPÉ (Padrão Global) ==================== */
.footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
    margin-top: 5rem;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(4, 110, 180, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 700;
    color: white;
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
    display: inline-block;
}

.footer-column a:hover {
    color: white;
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.footer-contact .contact-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
    margin: 0;
}

.footer-contact strong {
    color: white;
    font-weight: 600;
}

.footer-contact i {
    color: #4ddbff; /* Cyan accent for icons */
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

.footer-logo img {
    max-width: 90px;
    height: auto;
    margin-bottom: 20px;
    filter: none; /* Cores originais */
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
    max-width: 300px;
}

/* Redes Sociais no Footer */
.footer-bottom {
    border-top: none;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin: 0;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.footer-bottom .social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom .social-icons a:hover {
    background: var(--accent-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    border-color: transparent;
    color: var(--primary-dark);
}

/* Responsividade do Rodapé */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-column ul li {
        justify-content: center;
    }
    
    .footer-logo img {
        margin: 0 auto 20px;
        display: block;
    }
    
    .footer-description {
        margin: 0 auto;
    }
}



/* ==================== RESPONSIVIDADE ==================== */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .header-top-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .header-main {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .search-bar input {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-section {
        padding: 40px 24px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-graphic {
        display: none;
    }
    
    .nav-grid {
        grid-template-columns: 1fr;
    }
    
    .documentos-grid-compact {
        grid-template-columns: 1fr;
    }
    
    .compact-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .compact-badges {
        flex-direction: row;
        align-self: flex-start;
    }
    
    .compact-actions {
        flex-direction: column;
    }
    
    .arquivos-grid {
        max-height: 350px;
    }
    
    .arquivo-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .arquivo-info strong {
        font-size: 0.85rem;
    }
    
    .arquivo-info span {
        font-size: 0.75rem;
    }
    
    .acesso-card {
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .main-nav a {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .documento-compact-card {
        padding: 1rem;
    }
    
    .compact-title {
        gap: 0.75rem;
    }
    
    .documento-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .compact-title h3 {
        font-size: 1.1rem;
    }
    
    .arquivos-grid {
        max-height: 300px;
    }
    
    .btn-acesso {
        width: 100%;
        justify-content: center;
    }
}