:root {
    --accent: #e63946;
    --background: #ffffff;
    --foreground: #1a1a1a;
    --border: #f5f5f5;

    font-family: 'Inter', sans-serif;
}

 /* Reset e estilos base */
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, sans-serif;
}
body {
    background-color: #f8f9fa;
    color: #1a1a1a;
    line-height: 1.5;
}
/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eaeaea;
    z-index: 1000;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo {
    height: 2rem;
}
.nav-links {
    display: flex;
    gap: 2rem;
}
.nav-link {
    color: #666;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-link:hover {
    color: #e63946;
}

.navbar-menu-button {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.3));
    z-index: 1;
}
.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: fadeIn 0.3s ease-out;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 1rem;
    max-width: 56rem;
    margin: 0 auto;
    animation: fadeUp 0.5s ease-out;
}
.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}
.hero-description {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}
.hero-button {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: white;
    background-color: var(--accent);
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
}
.hero-button:hover {
    background-color: #d63340;
}
.hero-button i {
    margin-left: 0.5rem;
}
/* Events Section */
.events {
    padding: 5rem 1rem;
    background-color: var(--border);
}
.events-container {
    max-width: 1280px;
    margin: 0 auto;
}
.events-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
}
.events-title {
    font-size: 1.875rem;
    font-weight: 700;
}
.events-grid {
    display: grid;
    gap: 2rem;
}
.event-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s;
    animation: fadeUp 0.5s ease-out;
}
.event-card:hover {
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.event-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.event-date {
    font-size: 0.875rem;
    color: #666;
}
.event-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.event-description {
    color: #666;
    margin-bottom: 1rem;
}
.event-link {
    color: var(--accent);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
}
.event-link:hover {
    text-decoration: underline;
}
/* Projects Section */
.projects {
    padding: 5rem 1rem;
    background: white;
}
.projects-container {
    max-width: 1280px;
    margin: 0 auto;
}
.projects-title {
    font-size: 1.875rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}
.projects-grid {
    display: grid;
    gap: 2rem;
}
.project-card {
    border: 1px solid #f0f0f0;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: box-shadow 0.2s;
    animation: fadeUp 0.5s ease-out;
}
.project-card:hover {
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.project-content {
    padding: 1.5rem;
}
.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.project-description {
    color: #666;
    margin-bottom: 1rem;
}
.project-coordinator {
    font-size: 0.875rem;
    color: #666;
}
/* Library Section */
.library {
    padding: 5rem 1rem;
    background-color: rgba(245,245,245,0.5);
}
.library-container {
    max-width: 1280px;
    margin: 0 auto;
}
.library-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
}
.library-title {
    font-size: 1.875rem;
    font-weight: 700;
}
.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.carousel-content {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.carousel-content::-webkit-scrollbar {
    display: none;
}
.book-card {
    flex: 0 0 auto;
    width: calc(100% - 1rem);
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.3s;
    animation: fadeUp 0.5s ease-out;
    scroll-snap-align: start;
}
.book-cover {
    aspect-ratio: 3/4;
    background: #f5f5f5;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 1rem;
}
.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.book-card:hover .book-cover img {
    transform: scale(1.05);
}
.book-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.book-author {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.5rem;
}
.book-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.book-link:hover {
    text-decoration: underline;
}
/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
/* Responsive Design */
@media (min-width: 768px) {
    .navbar-links {
        display: flex;
        gap: 2rem;
    }
    .navbar-menu-button {
        display: none;
    }
    .hero-title {
        font-size: 4.5rem;
    }
    .hero-description {
        font-size: 1.5rem;
    }
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .book-card {
        width: calc(50% - 1rem);
    }
}
@media (min-width: 1024px) {
    .events-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .book-card {
        width: calc(25% - 1rem);
    }
}
/* Toast Notification */
.toast {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: none;
    animation: fadeIn 0.3s ease-out;
    z-index: 100;
}
.toast.show {
    display: block;
}
.toast-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.toast-description {
    font-size: 0.875rem;
    color: #666;
}


/**/

        /* Cabeçalho */
        .page-title {
            font-size: 2.5rem;
            font-weight: 700;
            text-align: center;
            margin-bottom: 2rem;
            animation: fadeUp 0.5s ease forwards;
        }

        /* Tabs */
        .tabs {
            margin-bottom: 2rem;
        }

        .tabs-list {
            display: grid;
            grid-template-columns: 1fr 1fr;
            max-width: 400px;
            margin: 0 auto 2rem;
            background: #f5f5f5;
            border-radius: 0.5rem;
            padding: 0.25rem;
            gap: 0.25rem;
        }

        .tab-trigger {
            all: unset;
            padding: 0.5rem;
            text-align: center;
            border-radius: 0.25rem;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.2s;
        }

        .tab-trigger.active {
            background: white;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
        }

        /* Grid de cards */
        .cards-grid {
            display: grid;
            gap: 1.5rem;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            animation: fadeUp 0.5s ease forwards;
        }

        /* Card */
        .card {
            background: white;
            border-radius: 0.75rem;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            transition: all 0.3s;
            overflow: hidden;
        }

        .card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }

        .card-header {
            padding: 1.5rem 1.5rem 1rem;
            text-align: center;
        }

        .avatar {
            width: 128px;
            height: 128px;
            border-radius: 50%;
            margin: 0 auto 1rem;
            background: #f5f5f5;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: #666;
            overflow: hidden;
        }

        .avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .card-title {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .card-description {
            font-size: 0.875rem;
            color: #666;
        }

        .card-content {
            padding: 0 1.5rem 1.5rem;
        }

        .info-text {
            font-size: 0.875rem;
            color: #666;
            margin-bottom: 1rem;
        }

        .social-links {
            display: flex;
            justify-content: center;
            gap: 1rem;
        }

        .social-link {
            color: #666;
            transition: color 0.2s;
        }

        .social-link:hover {
            color: #e63946;
        }

        /* Timeline */
        .timeline {
            margin-top: 4rem;
            padding: 0 1rem;
        }

        .timeline-title {
            font-size: 1.875rem;
            font-weight: 700;
            text-align: center;
            margin-bottom: 2rem;
            animation: fadeUp 0.5s ease forwards;
        }

        .timeline-item {
            position: relative;
            padding-left: 2rem;
            margin-bottom: 2rem;
            animation: fadeUp 0.5s ease forwards;
        }

        .timeline-year {
            display: flex;
            align-items: center;
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .timeline-year::before {
            content: '';
            position: absolute;
            left: 0;
            width: 1.5rem;
            height: 1.5rem;
            background: #e63946;
            border-radius: 50%;
        }

        .timeline-card {
            background: white;
            border-radius: 0.5rem;
            padding: 1rem;
            margin-bottom: 1rem;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            transition: box-shadow 0.3s;
        }

        .timeline-card:hover {
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }

        .badge {
            display: inline-block;
            margin-top: 0.5rem;
            padding: 0.25rem 0.75rem;
            font-size: 0.75rem;
            color: #e63946;
            background: rgba(230, 57, 70, 0.1);
            border-radius: 9999px;
        }

        /* Agradecimentos */
        .acknowledgments {
            background: rgba(245, 245, 245, 0.5);
            border-radius: 0.75rem;
            padding: 3rem 1rem;
            margin-top: 4rem;
            text-align: center;
            animation: fadeUp 0.5s ease forwards;
        }

        .acknowledgments-icon {
            width: 48px;
            height: 48px;
            margin: 0 auto 1rem;
            color: #e63946;
        }

        .acknowledgments-title {
            font-size: 1.875rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .acknowledgments-text {
            max-width: 42rem;
            margin: 0 auto 1.5rem;
            color: #666;
        }


        /* Animações */
        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsividade */
        @media (max-width: 768px) {
            .cards-grid {
                grid-template-columns: 1fr;
            }

           
        }

/*teams*/

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Card de membro */
.member-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeUp 0.5s ease forwards;
}
.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}
.member-photo {
    width: 100%;
    height: 450px;
    object-fit: cover;
}
.member-info {
    padding: 1.5rem;
}
.member-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}
.member-role {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1rem;
}
.member-bio {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}
.member-links {
    display: flex;
    gap: 1rem;
}
.member-link {
    color: #666;
    transition: color 0.2s;
}
.member-link:hover {
    color: #e63946;
}
/* Grid de membros */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}
/* Cabeçalhos de seção */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin: 4rem 0 2rem;
    color: #1a1a1a;
    animation: fadeUp 0.5s ease forwards;
}
.section-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
    color: #444;
    animation: fadeUp 0.5s ease forwards;
}
/* Seção de agradecimentos */
.acknowledgments {
    background: rgba(230, 57, 70, 0.05);
    padding: 4rem 1rem;
    text-align: center;
    border-radius: 1rem;
    margin-top: 4rem;
    animation: fadeUp 0.5s ease forwards;
}
.acknowledgments-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}
.acknowledgments-text {
    max-width: 700px;
    margin: 0 auto;
    color: #666;
    line-height: 1.7;
}
/* Animações */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Responsividade */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .section-title {
        font-size: 2rem;
    }
    .section-subtitle {
        font-size: 1.25rem;
    }
    .members-grid {
        grid-template-columns: 1fr;
    }
}

.projects {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    
  }

  .project-card {
    display: grid;
    gap: 2rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 0.5rem;
  }

  @media (min-width: 768px) {
    .project-card {
      grid-template-columns: 1fr 2fr;
    }
  }

  .project-image img {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  }

  .project-content h2 {
    color: #3b82f6;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
  }

  .project-content p {
    color: #374151;
  }

  .title-header-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    text-align: center;
}


.title-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

/* Timeline de Bolsistas */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 4rem auto;
    padding: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: #e63946;
    border-radius: 2px;
}

.year-group {
    margin-bottom: 3rem;
    padding-left: 2rem;
    position: relative;
}

.year-group::before {
    content: '';
    position: absolute;
    left: -0.5rem;
    top: 0;
    width: 1rem;
    height: 1rem;
    background: #e63946;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.year-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e63946;
    margin-bottom: 1rem;
}

.scholars-list {
    list-style: none;
}

.scholar-item {
    background: white;
    padding: 1.25rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.scholar-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.scholar-name {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.scholarship-details {
    font-size: 0.875rem;
    color: #666;
}

.institution-tag {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: #f8d7da;
    color: #e63946;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    margin-right: 0.5rem;
}

.collective-project {
    font-size: 0.75rem;
    color: #666;
    font-style: italic;
    margin-top: 0.25rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .timeline {
        margin: 2rem auto;
        padding: 1rem;
    }

    .year-group {
        padding-left: 1.5rem;
    }

    .year-title {
        font-size: 1.25rem;
    }

    .scholar-item {
        padding: 1rem;
    }
}

.swiper-container {
    width: 100%;
    max-width: 100%;
    height: 200px;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Corrigindo o scroll lateral */
body {
    overflow-x: hidden;
}

* Popup Styles */
.popup {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.popup.hidden {
    display: none;
}

.popup-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.popup-content {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    max-width: 28rem;
    width: 100%;
    margin: 0 1rem;
    padding: 1.5rem;
    animation: scaleIn 0.3s ease-out;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.popup-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
}

.popup-close {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.25rem;
}

.popup-close:hover {
    color: #1a1a1a;
}

.popup-message {
    color: #4b5563;
    text-align: center;
    margin-bottom: 1.25rem;
}

.popup-actions {
    display: flex;
    justify-content: center;
}

.popup-button {
    padding: 0.5rem 1rem;
    background-color: #e63946;
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.popup-button:hover {
    background-color: #dc2f3d;
}

@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}