:root {
            --primary-color: #1e40af;
            --secondary-color: #059669;
            --accent-color: #7c3aed;
            --orange-accent: #f59e0b;
            --pink-accent: #ec4899;
            --light-bg: #f8fafc;
            --dark-text: #111827;
            --card-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            line-height: 1.6;
            color: var(--dark-text);
            background: #fafbfc;
        }

        /* Top Government Bar */
        .gov-bar {
            background: linear-gradient(135deg, #1f2937, #374151);
            color: white;
            padding: 8px 0;
            font-size: 0.85rem;
            border-bottom: 3px solid var(--secondary-color);
        }

        .gov-bar .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .gov-links a {
            color: #d1d5db;
            text-decoration: none;
            margin: 0 15px;
            transition: color 0.3s;
        }

        .gov-links a:hover {
            color: white;
        }

        /* Header */
        .main-header {
            background: white;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            position: relative;
            z-index: 1000;
        }

        .header-content {
            padding: 20px 0;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .logo-section {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .logo-container {
            position: relative;
        }

        .logo-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 32px;
            box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
            position: relative;
            overflow: hidden;
        }

        .logo-icon::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
            transform: rotate(45deg);
            animation: shimmer 3s infinite;
        }

        @keyframes shimmer {
            0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
            50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
            100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
        }

        .logo-text h1 {
            font-size: 1.8rem;
            font-weight: 800;
            margin: 0;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            line-height: 1.2;
        }

        .logo-text p {
            font-size: 1rem;
            margin: 0;
            color: #6b7280;
            font-weight: 500;
        }

        .header-actions {
            display: flex;
            gap: 15px;
            align-items: center;
        }

        .search-box {
            position: relative;
        }

        .search-box input {
            width: 300px;
            padding: 12px 45px 12px 20px;
            border: 2px solid #e5e7eb;
            border-radius: 25px;
            font-size: 0.95rem;
            transition: all 0.3s;
        }

        .search-box input:focus {
            border-color: var(--primary-color);
            outline: none;
            box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
        }

        .search-btn {
            position: absolute;
            right: 5px;
            top: 50%;
            transform: translateY(-50%);
            background: var(--primary-color);
            border: none;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            color: white;
            cursor: pointer;
        }

        /* Navigation */
        .main-nav {
            background: linear-gradient(135deg, var(--primary-color), #1e3a8a);
            position: relative;
            overflow: hidden;
        }

        .main-nav::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('fotos/cidade.jpg') center center / cover no-repeat;
            pointer-events: none;
        }

        .nav-container {
            position: relative;
            z-index: 2;
            padding: 0;
        }

        .navbar-nav {
            width: 100%;
            justify-content: center;
        }

        .nav-item {
            margin: 0 5px;
        }

        .nav-link {
            color: white !important;
            font-weight: 600;
            padding: 18px 25px !important;
            border-radius: 12px;
            margin: 8px 0;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            text-transform: uppercase;
            font-size: 0.9rem;
            letter-spacing: 0.5px;
        }

        .nav-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }

        .nav-link:hover::before {
            left: 100%;
        }

        .nav-link:hover {
            background: rgba(255,255,255,0.15);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.2);
        }

        .nav-link.active {
            background: var(--secondary-color);
            box-shadow: 0 5px 15px rgba(5, 150, 105, 0.4);
        }

        /* Hero Banner */
        .hero-banner {
            position: relative;
            height: 500px;
            overflow: hidden;
            border-radius: 20px;
            margin: 30px 0;
            box-shadow: var(--card-shadow);
        }

        .hero-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, 
                rgba(30, 64, 175, 0.9) 0%, 
                rgba(124, 58, 237, 0.8) 50%, 
                rgba(5, 150, 105, 0.9) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .hero-content {
            text-align: center;
            color: white;
            max-width: 800px;
            padding: 0 20px;
        }

        .hero-content h2 {
            font-size: 3.5rem;
            font-weight: 900;
            margin-bottom: 20px;
            text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
            line-height: 1.1;
        }

        .hero-content p {
            font-size: 1.3rem;
            opacity: 0.95;
            margin-bottom: 30px;
            font-weight: 400;
        }

        .hero-cta {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .btn-hero {
            padding: 15px 35px;
            border: none;
            border-radius: 50px;
            font-weight: 700;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-block;
        }

        .btn-hero-primary {
            background: white;
            color: var(--primary-color);
        }

        .btn-hero-secondary {
            background: transparent;
            color: white;
            border: 2px solid white;
        }

        .btn-hero:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }

        /* Content Cards */
        .content-section {
            margin: 50px 0;
        }

        .section-header {
            text-align: center;
            margin-bottom: 50px;
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 15px;
        }

        .section-subtitle {
            font-size: 1.2rem;
            color: #6b7280;
            max-width: 600px;
            margin: 0 auto;
        }

        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .news-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: var(--card-shadow);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
        }

        .news-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
        }
        .news-card-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
            transition: transform 0.3s ease;
        }
        .news-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        }

        .news-card-body {
            padding: 30px;
        }

        .news-date {
            display: flex;
            align-items: center;
            color: #6b7280;
            font-size: 0.9rem;
            margin-bottom: 15px;
            font-weight: 500;
        }

        .news-date i {
            margin-right: 8px;
            color: var(--secondary-color);
        }

        .news-title {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--dark-text);
            margin-bottom: 15px;
            line-height: 1.3;
        }

        .news-excerpt {
            color: #6b7280;
            line-height: 1.6;
            margin-bottom: 25px;
        }

        .news-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .btn-read-more {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 12px 25px;
            border: none;
            border-radius: 25px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
        }

        .btn-read-more:hover {
            transform: translateX(5px);
            box-shadow: 0 5px 15px rgba(30, 64, 175, 0.3);
            color: white;
        }

        .news-category {
            background: linear-gradient(135deg, var(--orange-accent), var(--pink-accent));
            color: white;
            padding: 6px 15px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
        }

        /* Sidebar */
        .sidebar {
            position: sticky;
            top: 30px;
        }

        .sidebar-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: var(--card-shadow);
            margin-bottom: 30px;
            transition: all 0.3s;
        }

        .sidebar-card:hover {
            box-shadow: 0 15px 35px rgba(0,0,0,0.15);
        }

        .egestor-card {
            background: linear-gradient(135deg, var(--secondary-color), #10b981);
            color: white;
            text-align: center;
            padding: 40px 30px;
            text-decoration: none;
            display: block;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }

        .egestor-card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            animation: pulse 4s infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(0.8) rotate(0deg); opacity: 0; }
            50% { transform: scale(1.2) rotate(180deg); opacity: 1; }
        }

        .egestor-card:hover {
            transform: scale(1.05);
            color: white;
        }

        .egestor-icon {
            font-size: 3rem;
            margin-bottom: 15px;
        }

        .egestor-title {
            font-size: 1.5rem;
            font-weight: 800;
            margin-bottom: 10px;
        }

        .egestor-subtitle {
            opacity: 0.9;
            font-size: 1rem;
        }

        .sidebar-header {
            background: linear-gradient(135deg, #f8fafc, #e2e8f0);
            padding: 20px;
            border-bottom: 1px solid #e5e7eb;
        }

        .sidebar-title {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--dark-text);
            margin: 0;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .sidebar-menu {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .sidebar-menu li {
            border-bottom: 1px solid #f3f4f6;
        }

        .sidebar-menu li:last-child {
            border-bottom: none;
        }

        .sidebar-menu a {
            display: flex;
            align-items: center;
            padding: 18px 20px;
            color: var(--dark-text);
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s;
            position: relative;
        }

        .sidebar-menu a::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 4px;
            background: var(--secondary-color);
            transform: scaleY(0);
            transition: transform 0.3s;
        }

        .sidebar-menu a:hover {
            background: #f8fafc;
            color: var(--primary-color);
            padding-left: 30px;
        }

        .sidebar-menu a:hover::before {
            transform: scaleY(1);
        }

        .sidebar-menu i {
            width: 20px;
            margin-right: 12px;
            color: var(--secondary-color);
        }

        /* Footer */
        .footer {
            background: linear-gradient(135deg, #111827, #1f2937);
            color: white;
            padding: 60px 0 30px;
            margin-top: 80px;
            position: relative;
            overflow: hidden;
        }

        .footer::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 100 100"><defs><pattern id="footerGrid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23footerGrid)"/></svg>');
        }

        .footer-content {
            position: relative;
            z-index: 2;
        }

        .footer h5 {
            font-weight: 700;
            margin-bottom: 25px;
            color: white;
            font-size: 1.3rem;
        }

        .footer p, .footer a {
            color: #d1d5db;
            text-decoration: none;
            line-height: 1.8;
        }

        .footer a:hover {
            color: white;
            transform: translateX(5px);
        }

        .footer-bottom {
            border-top: 1px solid #374151;
            margin-top: 40px;
            padding-top: 30px;
            text-align: center;
            color: #9ca3af;
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-links a {
            width: 45px;
            height: 45px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            transition: all 0.3s;
        }

        .social-links a:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero-content h2 { font-size: 2.5rem; }
            .section-title { font-size: 2rem; }
            .search-box input { width: 200px; }
            .header-content { flex-direction: column; gap: 20px; }
            .hero-cta { flex-direction: column; align-items: center; }
            .news-grid { grid-template-columns: 1fr; }
        }

        /* Animations */
        .fade-in {
            animation: fadeIn 1s ease-out;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }