/* ===== VARIABLES ===== */
:root {
    --primary-color: #1e3a8a;        /* Azul profundo */
    --secondary-color: #7c3aed;      /* Roxo */
    --accent-color: #f97316;         /* Laranja */
    --light-bg: #f8fafc;             /* Fundo claro */
    --dark-bg: #0f172a;              /* Fundo escuro */
    --text-dark: #1e293b;            /* Texto escuro */
    --text-light: #64748b;           /* Texto claro */
    --border-color: #e2e8f0;         /* Cor de borda */
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
}

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

/* ===== NAVIGATION ===== */
.navbar {
    background-color: #ffffff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    flex: 1;
    justify-content: center;
}

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

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.language-buttons {
    display: flex;
    gap: 10px;
}

.lang-btn {
    padding: 8px 16px;
    border: 2px solid var(--border-color);
    background-color: transparent;
    color: var(--text-dark);
    cursor: pointer;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.lang-btn:hover {
    border-color: var(--primary-color);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 120px 20px;
    text-align: center;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
    opacity: 0.95;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 15px;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-subtitle-en {
    font-size: 16px;
    opacity: 0.85;
    font-style: italic;
}

/* ===== SECTION STYLES ===== */
section {
    padding: 80px 20px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* ===== ABOUT SECTION ===== */
.about {
    background-color: var(--light-bg);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.central-question {
    background-color: white;
    border-left: 5px solid var(--primary-color);
    padding: 30px;
    margin: 40px 0;
    border-radius: 4px;
    box-shadow: var(--shadow);
}

.central-question h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 15px;
}

.central-question p {
    font-size: 16px;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 0;
}

.support-info {
    background-color: white;
    padding: 30px;
    margin-top: 40px;
    border-radius: 4px;
    box-shadow: var(--shadow);
    text-align: center;
}

.support-info h3 {
    color: var(--secondary-color);
    font-size: 20px;
    margin-bottom: 15px;
}

/* ===== OBJECTIVES SECTION ===== */
.objectives {
    background-color: white;
}

.objective-general {
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.objective-general h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 15px;
}

.objective-general p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
}

.objectives-subtitle {
    text-align: center;
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-weight: 600;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.objective-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.objective-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.objective-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.objective-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 15px;
    opacity: 0.3;
}

.objective-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-dark);
}

/* ===== RESEARCH SECTION ===== */
.research {
    background-color: var(--light-bg);
}

.research-topics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.research-topic {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.research-topic:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.research-topic h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.research-topic h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.research-topic ul {
    list-style: none;
    padding: 0;
}

.research-topic li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.6;
}

.research-topic li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* ===== TEAM SECTION ===== */
.team {
    background-color: white;
}

.team-coordinator {
    margin-bottom: 60px;
}

.team-coordinator h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
}

.team-members h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member-card {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.team-member-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.team-member-card h4 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 8px;
}

.team-member-card .institution {
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.team-member-card .role {
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.6;
}

/* ===== PUBLICATIONS SECTION ===== */
.publications {
    background-color: var(--light-bg);
}

.publications-intro {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.publications-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.publication-item {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--accent-color);
}

.publication-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.publication-item h4 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 12px;
}

.publication-item p {
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.7;
}

/* ===== KEYWORDS SECTION ===== */
.keywords {
    background-color: white;
    padding: 60px 20px;
}

.keywords h3 {
    text-align: center;
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.keywords-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.keyword {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: default;
}

.keyword:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer p {
    font-size: 14px;
    margin: 8px 0;
    opacity: 0.9;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-menu {
        gap: 15px;
        font-size: 14px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .section-title {
        font-size: 36px;
    }

    .objectives-grid,
    .research-topics,
    .team-grid,
    .publications-list {
        grid-template-columns: 1fr;
    }

    .nav-container {
        flex-wrap: wrap;
        gap: 10px;
    }

    .nav-menu {
        order: 3;
        width: 100%;
        justify-content: flex-start;
    }

    .language-buttons {
        order: 2;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 15px;
        min-height: 400px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-description {
        font-size: 14px;
    }

    section {
        padding: 50px 15px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .nav-menu {
        gap: 10px;
        font-size: 12px;
    }
}
