/* Reset e Estilos Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores do Tema */
    --primary-color: #1a5f7a;
    --primary-dark: #0e4a63;
    --primary-light: #2a7a9a;
    --secondary-color: #57cc99;
    --accent-color: #ff9a3c;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.12);
    
    /* Tipografia */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Cabeçalho */
.main-header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text h1 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.logo-text p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Navegação */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-list a:hover {
    color: var(--primary-color);
    background-color: rgba(26, 95, 122, 0.05);
}

.nav-list a.active {
    color: var(--primary-color);
    background-color: rgba(26, 95, 122, 0.1);
}

.dashboard-btn {
    background-color: var(--accent-color);
    color: white !important;
    padding: 10px 20px !important;
}

.dashboard-btn:hover {
    background-color: #e68a2e !important;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 60px 0;
    margin-top: 50px;
}

.hero-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary, .btn-secondary {
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(26, 95, 122, 0.05);
    transform: translateY(-2px);
}

/* Gráfico de Demonstração no Hero */
.hero-visual {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--shadow);
}

.chart-placeholder {
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.chart-animation {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 180px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.bar {
    width: 40px;
    background: linear-gradient(to top, var(--primary-color), var(--secondary-color));
    border-radius: 4px 4px 0 0;
    animation: grow 1.5s ease-out forwards;
    opacity: 0;
}

@keyframes grow {
    0% { height: 0%; opacity: 0; }
    100% { opacity: 1; }
}

.chart-label {
    text-align: center;
    margin-top: 15px;
    font-weight: 500;
    color: var(--text-light);
}

/* ===== SEÇÃO DE CARDS DAS PÁGINAS ===== */
        .data-cards-section {
            margin: 60px 0;
        }

        .data-cards-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-top: 40px;
        }

        .data-card {
            background: white;
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
            position: relative;
        }

        .data-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-hover);
        }

        .data-card-header {
            padding: 30px 20px;
            text-align: center;
            color: white;
        }

        .data-card-header i {
            font-size: 3rem;
            margin-bottom: 15px;
        }

        .data-card-header h3 {
            font-size: 1.5rem;
            margin-bottom: 5px;
            color: white;
        }

        .data-card-body {
            padding: 25px;
        }

        .data-stat {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid var(--border-color);
        }

        .data-stat:last-child {
            border-bottom: none;
        }

        .data-stat-label {
            color: var(--text-light);
            font-weight: 500;
        }

        .data-stat-value {
            font-weight: 700;
            color: var(--primary-color);
        }

        .data-card-footer {
            padding: 20px 25px;
            background: var(--bg-light);
            border-top: 1px solid var(--border-color);
        }

        .data-card-btn {
            display: block;
            text-align: center;
            padding: 12px;
            background: var(--primary-color);
            color: white;
            text-decoration: none;
            border-radius: var(--radius-sm);
            font-weight: 600;
            transition: var(--transition);
        }

        .data-card-btn:hover {
            background: var(--primary-dark);
        }

        /* Cores específicas para cada card */
        .data-card[data-type="ifpb"] .data-card-header {
            background: linear-gradient(135deg, #1a5f7a, #0e4a63);
        }

        .data-card[data-type="enade"] .data-card-header {
            background: linear-gradient(135deg, #57cc99, #38a169);
        }

        .data-card[data-type="pesquisa"] .data-card-header {
            background: linear-gradient(135deg, #ff9a3c, #e68a2e);
        }


/* Seção de Destaques */
.highlights {
    padding: 60px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.card {
    background-color: var(--bg-white);
    border-radius: 10px;
    padding: 30px 25px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(26, 95, 122, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.card-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 10px 0;
}

.card-desc {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.card-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.card-link:hover {
    text-decoration: underline;
}

/* Visualizações */
.visualizations {
    padding: 60px 0;
    background-color: var(--bg-white);
    border-radius: 15px;
    margin: 30px 0;
}

.viz-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.viz-preview {
    text-align: center;
    padding: 20px;
}

.viz-placeholder {
    height: 200px;
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.05), rgba(87, 204, 153, 0.05));
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 3rem;
}

.viz-placeholder h4 {
    font-size: 1.3rem;
    margin-top: 15px;
    color: var(--primary-dark);
}

.viz-preview p {
    color: var(--text-light);
    margin-bottom: 20px;
    min-height: 60px;
}

.btn-small {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 60px 40px;
    border-radius: 15px;
    text-align: center;
    margin: 60px 0;
}

.cta h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.cta .btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.cta .btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

/* Rodapé */
.main-footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: white;
}

.footer-col p {
    opacity: 0.8;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

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

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.footer-btn:hover {
    background-color: #e68a2e;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-note {
    margin-top: 10px;
    padding: 10px;
    background-color: rgba(255, 154, 60, 0.1);
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Responsividade */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content p {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .main-nav ul {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}