:root {
    --primary: #1a1a1a;
    --primary-dark: #000000;
    --secondary: #2D5BFF;
    --accent: #2D5BFF;
    --text: #1F2937;
    --text-light: #6B7280;
    --background: #FFFFFF;
    --background-alt: #F9FAFB;
    --border: #E5E7EB;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius: 8px;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.unb-logo img {
    height: 40px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.faculdade {
    font-weight: 600;
    font-size: 0.9rem;
}

.departamento {
    font-size: 0.8rem;
    color: var(--text-light);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2D5BFF 100%);
    color: white;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.title-accent {
    color: #ffffff;
}

.hero-description {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.visual-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.card-icon {
    font-size: 2rem;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

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

/* Project Grid */
.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.project-card {
    background: var(--background);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.card-icon-large {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

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

.smart-breakdown {
    margin-top: 1.5rem;
}

.smart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.smart-item:last-child {
    border-bottom: none;
}

.smart-letter {
    background: var(--secondary);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.challenge-metrics {
    margin-top: 1.5rem;
}

.metric {
    text-align: center;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
}

/* Module Cards */
.modules-section {
    background: var(--background-alt);
}

.module-card {
    background: var(--background);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    overflow: hidden;
}

.module-header {
    background: var(--primary);
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.module-number {
    font-size: 3rem;
    font-weight: 700;
    opacity: 0.7;
}

.module-title h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.module-duration {
    opacity: 0.8;
    font-size: 0.9rem;
}

.module-content {
    padding: 2rem;
}

.objective-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.objective-card {
    background: var(--background-alt);
    padding: 1.5rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--secondary);
}

.objective-card h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.goals-list {
    list-style: none;
}

.goals-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.goals-list li:last-child {
    border-bottom: none;
}

.goals-list li:before {
    content: "✓";
    color: var(--secondary);
    font-weight: bold;
    margin-right: 0.5rem;
}

.assessment-card {
    background: var(--background);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.assessment-method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.method-icon {
    font-size: 2rem;
    color: var(--secondary);
}

/* Methodology */
.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.methodology-card {
    text-align: center;
    padding: 2rem;
    background: var(--background);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    border-top: 4px solid var(--secondary);
}

.methodology-card:hover {
    transform: translateY(-5px);
}

.methodology-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

/* Team Section */
.team-section {
    background: var(--background-alt);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--background);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    border-top: 4px solid var(--secondary);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--background-alt);
    margin: 0 auto 1rem;
    overflow: hidden;
    border: 3px solid var(--secondary);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-role {
    color: var(--secondary);
    font-weight: 600;
    margin: 0.5rem 0;
}

.team-department, .team-id {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Gamification */
.gamification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.gamification-card {
    background: var(--background);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

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

.question-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.question-number {
    background: var(--secondary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.question-header h4 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.4;
    color: var(--primary);
}

.alternatives {
    margin: 1.5rem 0;
}

.alternative {
    padding: 1rem;
    margin: 0.8rem 0;
    background: var(--background-alt);
    border-radius: var(--radius);
    border: 2px solid var(--border);
    transition: all 0.3s ease;
    cursor: pointer;
}

.alternative:hover {
    border-color: var(--secondary);
    background: rgba(45, 91, 255, 0.05);
}

.alternative.correct {
    background: #e8f4ff;
    border-color: var(--secondary);
    color: #1a365d;
    font-weight: 600;
    position: relative;
}

.alternative.correct::after {
    content: "✓";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary);
    font-weight: bold;
}

.question-image {
    margin-top: 1.5rem;
    text-align: center;
}

.question-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.image-placeholder {
    background: var(--background-alt);
    padding: 2rem;
    border-radius: var(--radius);
    border: 2px dashed var(--border);
}

.image-placeholder .method-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.image-placeholder p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Prompt Container */
.prompt-container {
    background: var(--background-alt);
    border-radius: var(--radius);
    padding: 2rem;
    margin: 2rem 0;
    border-left: 4px solid var(--secondary);
}

.prompt-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.prompt-header h4 {
    color: var(--primary);
    margin: 0;
}

.prompt-content {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    position: relative;
    margin-bottom: 1rem;
}

.prompt-text {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text);
    white-space: pre-wrap;
    margin-bottom: 1rem;
}

.copy-btn {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-btn:hover {
    background: var(--primary);
}

.copy-btn.copied {
    background: #10B981;
}

/* Footer */
.footer {
    background: var(--primary);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.footer-info h4 {
    margin-bottom: 0.5rem;
}

.footer-info p {
    opacity: 0.8;
}

.footer-project h4 {
    margin-bottom: 1rem;
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .objective-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .module-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .gamification-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
}