/* ==========================================
   SOBRE
========================================== */

.about-section {
    padding: 0px;
    background: #e3e3e3;
}

.about-container {
    max-width: 1000px;
    margin: auto;
}

.about-content {
    text-align: justify;
}

.about-content p {
    margin-bottom: 24px;
    font-size: 1.05rem;
    line-height: 1.9;
    color: #555;
}

.about-content h3 {
    margin: 45px 0 25px;
    color: #222;
    font-size: 1.6rem;
}

.mission-list {
    margin-bottom: 35px;
    padding-left: 24px;
}

.mission-list li {
    margin-bottom: 14px;
    color: #555;
    line-height: 1.8;
    font-size: 1.02rem;
}

.about-content strong {
    color: #5A2D91;
}

/*html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}*/

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #fff;
    color: #333;
   /*padding-top: 90px;*/
}

header {
    background: #5A2D91;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/*header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: #5A2D91;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    z-index: 1000;
}*/

nav {
    max-width: 1200px;
    margin: auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 30px;
}

/*nav {
    max-width: 1200px;
    height: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}*/

.nav-menu {
    display: flex;
    gap: 30px;

    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;

    transition: .3s;
}

.nav-menu a:hover {
    color: #D8C2FF;
}

.menu-toggle {
    display: none;

    font-size: 2rem;
    color: white;

    background: none;
    border: none;

    cursor: pointer;
}

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

.logo img {
    width: 180px;
    height: auto;
}

.logo-text {
    color: white;
    font-size: 1.0rem;
    font-weight: bold;
    white-space: nowrap;
}

/*.logo img {
    width: 180px;
    height: auto;
}*/

ul {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
}

li {
    cursor: pointer;
}

.hero {
    padding: 35px 20px;
    background: #e3e3e3;
    text-align: center;
}

button {
    background: #5a2d91;
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
}

button:hover {
    background: #4a2479;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 25px auto;
    padding: 0 20px;
}

.card {
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

footer {
    text-align: center;
    padding: 30px;
    background: #e3e3e3;
}

.research-section {
    max-width: 1300px;
    margin: 100px auto;
    padding: 0 20px;
}

.research-header {
    text-align: center;
    margin-bottom: 0px;
}

.section-subtitle {
    display: block;

    color: #6F2DBD;

    font-size: 0.8rem;
    font-weight: 750;

    letter-spacing: 3px;
    text-transform: uppercase;

    margin-bottom: 0px;
    margin-top: 35px;
}

.section-title {
    font-size: clamp(1.5rem, 2.5vw, 2.0rem);
    font-weight: 700;
    color: #232323;
    margin-bottom: 15px;
    margin-top: 15px;
}

.section-divider {
    width: 80px;
    height: 4px;

    margin: auto;

    border-radius: 999px;

    background: linear-gradient(
        90deg,
        #7B2CBF,
        #5A189A
    );
}

/* ---------- Cards ---------- */

.research-container {
    display: grid;
    grid-template-columns: repeat(6, minmax(140px, 1fr));
    max-width: 1050px;
    margin: 30px auto 0;
    gap: 0;
}

.research-card {

    position: relative;
    padding: 10px 8px;
    text-align: center;
    transition: all .30s ease;
}

.research-card h3 {
    font-size: 0.7rem;
    margin-bottom: 8px;
    line-height: 1.3;
}

.research-card p {
    font-size: 0.5rem;
    line-height: 1.5;
}

.research-card:hover {

    transform: translateY(-6px);

}

/* Divisória vertical */

.research-card:not(:last-child)::after {

    content: "";
    position: absolute;
    top: 20px;
    right: 0;
    width: 1px;
    height: 75%;
    background: #ececec;
}

/* ---------- Ícone ---------- */

.research-icon {

    width: 40px;
    height: 40px;
    margin: 0 auto 10px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.research-icon img {

    width: 60px;
    height: 60px;

    transition: transform .3s ease;
}

.research-card:hover .research-icon img {

    transform: scale(1.08);

}

/* ---------- Título ---------- */

.research-card h3 {

    color: #242424;

    margin: 0 0 6px;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.2;
}

/* ---------- Descrição ---------- */

.research-card p {

    margin: 0;

    color: #666;

    margin: 0;
    font-size: 0.78rem;
    line-height: 1.35;
}

/* ==================================================
   RESPONSIVIDADE
================================================== */

/* Notebook */

@media (max-width: 1200px) {

    .research-container {

        grid-template-columns: repeat(3, 1fr);

        row-gap: 50px;
    }

    .research-card:nth-child(3n)::after {

        display: none;

    }

}

/* Tablet */

@media (max-width: 768px) {

    .research-container {

        grid-template-columns: repeat(2, 1fr);

    }

    .research-card::after {

        display: none;

    }

}

/* Celular */

@media (max-width: 768px) {

    nav {
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {

        display: none;

        width: 100%;

        flex-direction: column;

        background: #5A2D91;

        margin-top: 20px;

        padding: 15px 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        text-align: center;
        padding: 12px 0;
    }

    .logo img {
        width: 150px;
    }

}

/* ==========================================
   PUBLICAÇÕES
========================================== */

.page-description{

    max-width:700px;

    margin:5px auto 0;

    text-align:center;

    color:#666;

    font-size:1.05rem;

    line-height:1.8;

}

.publication-section{

    max-width:1100px;

    margin:70px auto;

    padding:0 20px;

}

#publication-list{

    display:flex;

    flex-direction:column;

    gap:30px;

}

.publication-card{

    background:#fff;

    border-radius:14px;

    border-left:6px solid #6F2DBD;

    padding:30px;

    box-shadow:0 3px 12px rgba(0,0,0,.06);

    transition:.3s;

}

.publication-card:hover{

    transform:translateY(-4px);

    box-shadow:0 12px 28px rgba(0,0,0,.12);

}

.publication-card h3{

    margin:0;

    color:#222;

    font-size:1.45rem;

    line-height:1.45;

}

.publication-authors{

    margin:18px 0 8px;

    color:#666;

}

.publication-venue{

    color:#6F2DBD;

    font-weight:600;

    margin-bottom:18px;

}

.publication-abstract{

    color:#555;

    line-height:1.8;

}

.publication-links {

    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 25px;

}

.publication-links a,
.publication-links button {

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 90px;
    height: 40px;

    padding: 0 18px;

    background: #6F2DBD;
    color: #fff;

    border: none;
    border-radius: 8px;

    font-size: .95rem;
    font-weight: 600;

    text-decoration: none;

    cursor: pointer;

    transition: .25s;

}

.publication-links a:hover,
.publication-links button:hover {

    background: #5A189A;

    transform: translateY(-2px);

}

.publication-year{

    margin:10px;

    display:flex;
    align-items:center;

    color:#5A2D91;

    font-size:2rem;
    font-weight:700;

}

.publication-year::after{

    content:"";

    flex:1;

    height:2px;

    margin-left:18px;

    background:#E5D8F4;

}

.empty-message {

    text-align: center;

    color: #666;

    font-size: 1.1rem;

    padding: 80px 20px;

}

.modal {

    display: none;

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0,0,0,.55);

    justify-content: center;
    align-items: center;

    z-index: 9999;

}

.modal-content {

    width: min(700px, 90%);

    background: white;

    border-radius: 12px;

    padding: 30px;

    box-shadow: 0 20px 60px rgba(0,0,0,.25);

}

#bibtex-text {

    width: 100%;

    height: 260px;

    margin: 20px 0;

    padding: 15px;

    font-family: Consolas, monospace;

    font-size: .95rem;

    resize: none;

    box-sizing: border-box;

}


/* ==========================================================
   SEÇÕES
========================================================== */

.member-section {

    max-width: 1200px;

    margin: 70px auto;

    padding: 0 20px;

}

.member-section h2 {

    margin-bottom: 30px;

    color: #6F2DBD;

    font-size: 1.6rem;

    font-weight: 700;

}


/* ==========================================================
   CARD DO COORDENADOR
========================================================== */

.coordinator-card {

    display: flex;

    gap: 35px;

    align-items: center;

    background: #fff;

    padding: 35px;

    border-radius: 18px;

    border: 1px solid #ececec;

    box-shadow: 0 10px 30px rgba(0,0,0,.06);

}

.coordinator-card img {

    width: 220px;

    border-radius: 15px;

}

.coordinator-card h3 {

    margin: 0;

    font-size: 2rem;

    color: #222;

}

.member-role {

    display: inline-block;

    margin: 12px 0 18px;

    color: #6F2DBD;

    font-weight: 600;

}

.coordinator-card p {

    color: #666;

    line-height: 1.8;

}


/* ==========================================================
   LINKS
========================================================== */

.member-links {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 25px;

}

.member-links a {

    padding: 10px 18px;

    border-radius: 8px;

    background: #6F2DBD;

    color: white;

    text-decoration: none;

    font-size: .9rem;

    transition: .25s;

}

.member-links a:hover {

    background: #5A189A;

}


/* ==========================================================
   GRID DOS MEMBROS
========================================================== */

.members-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill,minmax(250px,1fr));

    gap: 25px;

}


/* ==========================================================
   CARD DO MEMBRO
========================================================== */

.member-card {

    background: white;

    border: 1px solid #ececec;

    border-radius: 15px;

    padding: 25px;

    text-align: center;

    transition: .3s;

}

.member-card:hover {

    transform: translateY(-6px);

    box-shadow: 0 15px 35px rgba(0,0,0,.08);

}

.member-card img {

    width: 120px;

    height: 120px;

    object-fit: cover;

    border-radius: 50%;

    margin-bottom: 20px;

}

.member-card h3 {

    margin: 0;

    font-size: 1.2rem;

}

.member-card span {

    display: block;

    margin: 8px 0 18px;

    color: #6F2DBD;

    font-weight: 600;

}

.member-card .member-links {

    justify-content: center;

    margin-top: 15px;

}

.member-card .member-links a {

    padding: 8px 14px;

    font-size: .85rem;

}


/* ==========================================================
   BOX DE EGRESSOS
========================================================== */

.egressos-box {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;

    background: #faf8ff;

    border: 1px solid #ece4ff;

    border-radius: 18px;

    padding: 35px;

}

.egressos-box p {

    color: #666;

}


/* ==========================================================
   CTA
========================================================== */

.join-lab {

    max-width: 1200px;

    margin: 80px auto;

    padding: 40px;

    border-radius: 18px;

    background: linear-gradient(135deg,#6F2DBD,#51228d);

    color: white;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 40px;

}

.join-lab h2 {

    margin: 0 0 15px;

    font-size: 2rem;

}

.join-lab p {

    margin: 0;

    line-height: 1.8;

    max-width: 700px;

}


/* ==========================================================
   BOTÃO
========================================================== */

.primary-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 14px 28px;

    background: white;

    color: #6F2DBD;

    border-radius: 10px;

    font-weight: 600;

    text-decoration: none;

    transition: .25s;

}

.primary-button:hover {

    transform: translateY(-3px);

}


/* ==========================================================
   RESPONSIVO
========================================================== */

@media (max-width:900px){

    .coordinator-card{

        flex-direction:column;

        text-align:center;

    }

    .coordinator-card img{

        width:180px;

    }

    .member-links{

        justify-content:center;

    }

    .egressos-box{

        flex-direction:column;

        text-align:center;

    }

    .join-lab{

        flex-direction:column;

        text-align:center;

    }

}

/* ==========================================================
   CONTATO
========================================================== */

.contact-container{

    max-width:1200px;

    margin:60px auto;

    padding:0 20px;

    display:grid;

    grid-template-columns:420px 1fr;

    gap:50px;

}

.contact-info{

    background:#fff;

    border:1px solid #ececec;

    border-radius:18px;

    padding:35px;

    box-shadow:0 8px 25px rgba(0,0,0,.05);

}

.contact-info h2{

    margin-top:0;

    color:#6F2DBD;

}

.contact-item{

    margin-bottom:28px;

}

.contact-item:last-child{

    margin-bottom:0;

}

.contact-item h3{

    margin-bottom:8px;

    font-size:1.05rem;

    color:#222;

}

.contact-item p{

    margin:0;

    color:#666;

    line-height:1.8;

}

.contact-item a{

    color:#6F2DBD;

    text-decoration:none;

}

.contact-item a:hover{

    text-decoration:underline;

}


/* ==========================================================
   REDES SOCIAIS
========================================================== */

.social-links{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

}

.social-links a{

    padding:8px 16px;

    border-radius:8px;

    background:#faf8ff;

    border:1px solid #e7d9ff;

    color:#6F2DBD;

    text-decoration:none;

    transition:.2s;

}

.social-links a:hover{

    background:#6F2DBD;

    color:white;

}


/* ==========================================================
   MAPA
========================================================== */

.contact-map{

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 8px 25px rgba(0,0,0,.05);

}

.contact-map iframe{

    width:100%;

    height:100%;

    min-height:500px;

    border:none;

}


/* ==========================================================
   RESPONSIVO
========================================================== */

@media(max-width:900px){

    .contact-container{

        grid-template-columns:1fr;

    }

}

/* Recursos */

.resource-section{

    max-width:1200px;

    margin:70px auto;

    padding:0 20px;

}

.resource-header{

    margin-bottom:35px;

}

.resource-header h2{

    color:#6F2DBD;

    margin-bottom:10px;

}

.resource-header p{

    color:#666;

}

.resource-grid{

    display:grid;

    grid-template-columns:

        repeat(auto-fill,minmax(300px,1fr));

    gap:30px;

}

.resource-card{

    background:white;

    border-radius:18px;

    border:1px solid #ECECEC;

    overflow:hidden;

    transition:.25s;

    box-shadow:0 6px 20px rgba(0,0,0,.05);

}

.resource-card:hover{

    transform:translateY(-5px);

}

.resource-card img{

    width:100%;

    height:180px;

    object-fit:cover;

    background:#fafafa;

}

.resource-card h3{

    padding:20px 20px 10px;

    margin:0;

}

.resource-card p{

    padding:0 20px;

    color:#666;

    line-height:1.7;

}

.resource-links{

    display:flex;

    gap:10px;

    flex-wrap:wrap;

    padding:20px;

}

.resource-button{

    padding:10px 18px;

    background:#6F2DBD;

    color:white;

    border-radius:8px;

    text-decoration:none;

    transition:.2s;

}

.resource-button:hover{

    background:#53218f;

}

.nav-menu a.active {

    color: #c38fff;

    font-weight: 700;

    border-bottom: 2px solid #c38fff;

    padding-bottom: 4px;

}