/* ======================================================
   ROOT — CORES
====================================================== */
:root {
    /* Cores base */
    --preto: #000;
    --branco: #fff;

    /* Cores principais */
    --roxo: #9929EA;
    --roxo-forte: #9933ff;
    --rosa: #f945f9;
    --rosa-borda: #B14677;
    --verde: #CDF527;
    --amarelo: #ffff66;

    /* Neutros */
    --cinza-texto: #a9a9a9;
    --cinza-outline: #ccc;

    /* Gradientes e sombras */
    --card-shadow: rgba(160, 32, 240, 0.15);
    --gradiente-branco-1: rgba(255, 255, 255, 0.1);
    --gradiente-branco-2: rgba(255, 255, 255, 0);
}

/* ======================================================
   BASE
====================================================== */
body {
    background: var(--preto);
    color: var(--branco);
    font-family: 'Inter', sans-serif;
}

/* ======================================================
   COMUNIDADE — SEÇÃO PRINCIPAL
====================================================== */
.comunidade-section {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 100px 5% 20px;
    padding-top: var(--altura-navbar);
}

/* ======================================================
   COMUNIDADE — HEADER
====================================================== */
.comunidade-header {
    max-width: 900px;
    margin-bottom: 30px;
    text-align: left;
}

.titulo-roxo {
    color: var(--roxo);
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.comunidade-header h1 {
    font-size: 40px;
    font-weight: 800;
}

.destaque {
    color: var(--verde);
}

.descricao {
    max-width: 820px;
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--branco);
    opacity: 0.85;
}

/* ======================================================
   FILTROS DE NAVEGAÇÃO
====================================================== */
.comunidade-filtros {
    display: flex;
    gap: 20px;
    margin: 40px 0 60px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filtro-item {
    font-size: 14px;
    font-weight: 500;
    color: var(--branco);
    text-decoration: none;
    opacity: 0.7;
    cursor: pointer;
    transition: opacity 0.2s;
}

.filtro-item.ativo {
    opacity: 1;
    font-weight: 700;
}

/* ======================================================
   DROPDOWN
====================================================== */
.dropdown {
    position: relative;
}

.dropdown-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--branco);
    opacity: 0.7;
    cursor: pointer;
}

.dropdown-btn:hover {
    opacity: 1;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 25px;
    left: 0;
    min-width: 180px;
    padding: 8px 0;
    background-color: #111;
    border: 1px solid #333;
    border-radius: 6px;
    z-index: 10;
}

.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
    color: var(--branco);
    text-decoration: none;
}

.dropdown-menu a:hover {
    background-color: #222;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* ======================================================
   GRID DE INTEGRANTES
====================================================== */
.grid-integrantes-wrapper {
    text-align: center;
}

.grid-integrantes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1160px;
    margin: auto;
}

/* ======================================================
   CARD — INTEGRANTE
====================================================== */
.card-integrante {
    position: relative;
    min-height: 380px;
    padding: 30px 22px;
    background: var(--branco);
    border-radius: 18px;
    box-shadow: 0 0 40px var(--card-shadow);
    overflow: hidden;
}

.card-integrante.bg-radial-roxo::after {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(
        circle at 70% 30%,
        var(--roxo),
        var(--roxo-forte),
        var(--gradiente-branco-1),
        var(--gradiente-branco-2)
    );
    z-index: 0;
}

.card-integrante.bg-radial-verde::after {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(
        circle at 70% 30%,
        var(--verde),
        var(--amarelo),
        var(--gradiente-branco-1),
        var(--gradiente-branco-2)
    );
    z-index: 0;
}


.card-conteudo {
    position: relative;
    z-index: 1;
}

.card-integrante h3,
.card-integrante .cargo {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--preto);
}

.cargo {
    font-size: 18px;
    font-weight: 700;
    margin-left: 2px;
}

/* ======================================================
   FOTO
====================================================== */
.card-img {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.card-img img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--branco);
    outline: 1px solid var(--cinza-outline);
}

/* ======================================================
   BIO
====================================================== */
.card-conteudo p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--preto);
}

/* ======================================================
   REDES SOCIAIS
====================================================== */
.card-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* ======================================================
   CONTEÚDOS — CÍRCULOS + TEXTO
====================================================== */
.conteudos-section {
    margin-top: 100px;
    padding: 40px 20px 80px;
    text-align: center;
    border-top: 2px solid;
    border-image: linear-gradient(to right, var(--roxo), var(--verde)) 1;
}

.explore-titulo {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 50px;
}

.conteudos-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 80px;
    max-width: 1100px;
    margin: auto;
    text-align: left;
}

/* Círculos */
.conteudos-circles {
    position: relative;
    width: 420px;
    height: 420px;
    transform: translateY(-20px);
}

.circle,
a.circle {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #000;
    border: 2px solid #5a118d;
    box-shadow: 
        0 18px 25px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(157, 78, 221, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    transition: 0.18s ease;
}

.circle:hover,
a.circle:hover {
    transform: scale(1.04);
    box-shadow: 
        0 28px 40px rgba(0, 0, 0, 0.7),
        0 0 45px rgba(157, 78, 221, 0.6);
}

.circle img,
a.circle img {
    width: 44px;
    height: 44px;
}

.circle > span,
a.circle > span {
    font-size: 18px;
}

/* Posições */
.podcast { top: 0; left: calc(50% - 75px); }
.youtube { top: calc(50% - 75px); left: 0; }
.eventos { top: calc(50% - 75px); left: calc(100% - 150px); }
.projetos { top: calc(100% - 150px); left: calc(50% - 75px); }

/* Textos */
.conteudos-texto-wrapper {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: var(--branco);
    opacity: 0.85;
}

.conteudos-texto {
    font-size: 15px;
    line-height: 1.7;
    text-align: justify;
}

/* ======================================================
   RESPONSIVO
====================================================== */
@media (max-width: 992px) {
    .grid-integrantes { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .grid-integrantes { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .conteudos-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .conteudos-circles {
        position: static;
        width: auto;
        height: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
        transform: none;
        padding: 10px 0;
    }

    .circle,
    a.circle {
        position: static;
        width: 120px;
        height: 120px;
        box-shadow: 
            0 10px 20px rgba(0, 0, 0, 0.45),
            0 0 18px rgba(157, 78, 221, 0.35);
    }

    .circle img,
    a.circle img {
        width: 30px;
        height: 30px;
    }

    .conteudos-texto-wrapper { text-align: center; }
}
