/* Estilos Globais */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    background-color: #f0fdf4; /* Verde muito claro para o fundo */
    color: #1f2937; /* Cinza escuro para texto */
    line-height: 1.6;
}

/* Cabeçalho e Navegação */
.header {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #22c55e 100%) !important;
    color: white !important;
    padding: 0 !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    border-bottom: 4px solid #1d4ed8 !important;
    backdrop-filter: blur(10px) !important;
    width: 100% !important;
    margin: 0 !important;
}

.header .container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 1.5rem 2rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
}

.header .logo {
    display: flex !important;
    align-items: center !important;
    gap: 1.5rem !important;
    text-decoration: none !important;
    color: white !important;
    transition: all 0.3s ease !important;
}

.header .logo:hover {
    transform: scale(1.02) !important;
}

.header .logo img {
    width: 60px !important;
    height: 60px !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    padding: 12px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
}

.header .logo img:hover {
    transform: scale(1.1) rotate(5deg) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
    background: rgba(255, 255, 255, 0.25) !important;
}

.header .logo h1 {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    margin: 0 !important;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4) !important;
    color: white !important;
    text-align: left !important;
    letter-spacing: -0.5px !important;
    background: linear-gradient(45deg, #ffffff, #f0f9ff) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.header .nav ul {
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0.75rem !important;
    background: rgba(255, 255, 255, 0.1) !important;
    padding: 0.5rem !important;
    border-radius: 16px !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.header .nav ul li {
    margin: 0 !important;
}

.header .nav ul li a {
    color: white !important;
    text-decoration: none !important;
    padding: 1rem 1.5rem !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    display: block !important;
    border: 2px solid transparent !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.header .nav ul li a:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1)) !important;
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.header .nav ul li a:active {
    transform: translateY(-1px) scale(1.02) !important;
}

/* Responsividade do Header */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1rem;
    }
    
    .header .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.75rem;
    }
    
    .header .nav ul li a {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .header .logo h1 {
        font-size: 2rem;
    }
    
    .header .logo img {
        width: 50px;
        height: 50px;
    }
}

/* Contêiner Principal */
.container {
    max-width: 1200px;
    margin: 30px auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #d1fae5; /* Borda verde clara */
}

/* Container específico para main-content */
.main-content .container {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Tipografia */
h1 {
    color: #8bffb8; /* Verde escuro */
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.2em;
    font-weight: 700;
}

h2 {
   color: #15803d; /* Verde escuro */
   font-size: 1.8em;
   font-weight: 600;
   margin-top: 2rem;
   margin-bottom: 1rem;
   border-bottom: 2px solid #a7f3d0; /* Verde claro */
   padding-bottom: 0.5rem;
}

/* Estilos de Tabela */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 0.9em;
}

th, td {
    border: 1px solid #d1fae5; /* Borda verde clara */
    padding: 12px 15px;
    text-align: left;
    vertical-align: top;
}

th {
    background-color: #d1fae5; /* Verde claro para cabeçalhos */
    color: #14532d; /* Texto verde escuro */
    font-weight: 600;
    text-transform: uppercase;
}

tbody tr:nth-child(even) {
    background-color: #f0fdf4; /* Verde muito claro para linhas pares */
}

tbody tr:hover {
    background-color: #bbF7D0; /* Verde mais claro no hover */
}

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

.highlighted-column {
    background-color: #a7f3d0 !important; /* Verde claro para destaque */
    font-weight: bold;
    color: #14532d;
}

.highlighted-header {
    background-color: #6ee7b7 !important; /* Verde mais forte para cabeçalho destacado */
    color: #14532d;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%) !important;
    color: #f8fafc !important;
    margin-top: 4rem !important;
    padding: 3rem 0 !important;
    border-top: 4px solid #3b82f6 !important;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #22c55e, #f59e0b, #ef4444);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-content p {
    margin: 0;
    font-size: 1.1rem;
    color: #cbd5e1;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #f8fafc, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.social-links a {
    display: inline-flex;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #22c55e 100%);
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.social-links a:hover::before {
    left: 100%;
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.15) rotate(5deg);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.6);
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #15803d 100%);
}

.social-links a:active {
    transform: translateY(-2px) scale(1.05);
}

.social-links a img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
}

.social-links a:hover img {
    transform: scale(1.1);
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

/* Responsividade do Footer */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0;
    }
    
    .footer-content {
        padding: 0 1rem;
        gap: 1.5rem;
    }
    
    .footer-content p {
        font-size: 1rem;
    }
    
    .social-links {
        gap: 1rem;
        padding: 1rem 1.5rem;
    }
    
    .social-links a {
        width: 44px;
        height: 44px;
    }
    
    .social-links a img {
        width: 20px;
        height: 20px;
    }
}

/* Gráficos */
.chart-container {
    margin-top: 2rem;
    height: 400px;
}