body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    color: #505050;
    background: #c3888883;
}

/* TÍTULO PRINCIPAL */
h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #3c1d5c, #5c1d4c);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h1::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin: 10px auto 0;
    background: #c084fc;
    border-radius: 10px;
}

.subtitulo {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    color: #5c1d4c8c;
    margin-bottom: 30px;
}

h2 {
    font-size: 30px;
    text-align: center;
    margin-bottom: 30px;
    color: black;
}

/* SOBRE + HABILIDADES */
#sobre-habilidades {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 20px;
}

#sobre,
#habilidades {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

#sobre:hover,
#habilidades:hover {
    transform: translateY(-3px);
}

#sobre p {
    text-align: justify;
    line-height: 1.6;
}

/* HABILIDADES */
#habilidades {
    display: flex;
    flex-direction: column;
}

#habilidades ul {
    list-style: none;
    padding: 0;

    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    justify-content: center;
}

#habilidades li {
    background: #f0e6ff;
    color: #6a4c93;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 16px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
}

/* PROJETOS */
#projetos {
    max-width: 1000px;
    margin: 50px auto;
    padding: 20px;
}

#lista-projetos {
    display: flex;
    gap: 20px;
}

#coluna-esquerda,
#coluna-direita {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* CARD */
.projeto {
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.projeto:hover {
    transform: translateY(-3px);
}

/* HEADER */
.projeto-header {
    display: grid;
    grid-template-columns: 1fr 1fr 40px;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.projeto-header h3 {
    margin: 0;
    font-size: 16px;
}

/* TAGS */
.tags {
    list-style: none;
    display: flex;
    gap: 6px;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.tags li {
    background: #f0e6ff;
    color: #6a4c93;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
}

/* BOTÃO */
.toggle-btn {
    background: #f3e8ff;
    border: none;
    border-radius: 50%;
    padding: 6px 10px;
    cursor: pointer;
}

.toggle-btn:hover {
    background: #e4d4ff;
}

/* CONTEÚDO */
.projeto-conteudo {
    display: none;
    padding: 15px 20px;
    animation: fade 0.3s ease;
}

.projeto.ativo .projeto-conteudo {
    display: block;
}

/* LINKS */
.botoes {
    margin-top: 15px;
}

.botoes a {
    display: inline-block;
    margin-right: 10px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #d8b4fe, #c084fc);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    transition: 0.2s;
}

.botoes a:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    #sobre-habilidades {
        grid-template-columns: 1fr;
    }

    #lista-projetos {
        flex-direction: column;
    }
}

/* ANIMAÇÃO */
@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}