* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

p {
    font-family: "Fira Mono", monospace;
    font-weight: 400;
    font-style: normal;
}

body {
    background-color: #000;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth;
}

a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #d4af37;
}

.cabecalho-fixo {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 14px 40px;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ffffff;
    z-index: 1000;
}

.area-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.imagem-logo {
    height: 44px;
}

.texto-logo {
    font-family: "Tinos", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.6rem;
    font-weight: 900;
    color: #ebebea;
}

.menu-navegacao a {
    font-family: "Lexend", sans-serif;
    margin-left: 28px;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
}

.menu-navegacao a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: #eeeeee;
    transition: width 0.3s;
}

.menu-navegacao a:hover::after {
    width: 100%;
}

.secao-inicial {
    height: 100vh;
    background: linear-gradient(135deg, #000000, #111111, #2a2a2a);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.conteudo-inicial h1 {
    font-family: "Orbitron", sans-serif;
    font-optical-sizing: auto;
    font-size: 4rem;
    color: #ffffff;
    margin-bottom: 20px;

}

.conteudo-inicial p {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 30px;
}

#botao-projetos {
    padding: 14px 48px;
    border-radius: 40px;
    border: 2px solid #ffffff;
    background: transparent;
    color: #fff;
    font-family: 'Source Code Pro', monospace;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

#botao-projetos:hover {
    background: #d4af37;
    color: #000;
}

.secao-conteudo {
    padding: 100px 20px;
    max-width: 1150px;
    margin: 0 auto;
}

.secao-conteudo h2 {
    text-align: center;
    font-size: 2.5rem;
    font-family: 'Source Code Pro', monospace;
    margin-bottom: 50px;
    color: #fff;
}

.secao-conteudo h2::after {
    content: '';
    display: block;
    width: 130px;
    height: 3px;
    background: #d4af37;
    margin: 12px auto 0;
}

.secao-conteudo p {
    text-align: center;
    font-size: 1.1rem;
    color: #ddd;
    max-width: 850px;
    margin: 0 auto;
}

.grade-habilidades {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 30px;
    justify-items: center;
}

.item-habilidade {
    border: 1px solid #ffffff;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    width: 100%;
    max-width: 160px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.item-habilidade img {
    width: 60px;
    margin-bottom: 12px;
}

.item-habilidade span {
    display: block;
    font-weight: bold;
    color: #fff;
}

.item-habilidade:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

.conteudo-perfil {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.foto-perfil {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 3px solid #f6f5f2;
    object-fit: cover;
}

.texto-perfil {
    max-width: 650px;
    font-size: 1.15rem;
    text-align: center;
    color: #ddd;
}

.grade-projetos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.card-projeto {
    border: 1px solid #ffffff;
    border-radius: 12px;
    overflow: hidden;
    background: #050505;
    display: flex;
    flex-direction: column;
    height: 360px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card-projeto:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.35);
}

.card-projeto img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-bottom: 2px solid #ffffff;
}

.card-projeto h3 {
    padding: 16px 20px 8px;
    font-family: 'Source Code Pro', monospace;
    color: #d4af37;
    font-size: 1.4rem;
}

.card-projeto p {
    padding: 0 20px 20px;
    color: #ddd;
    flex-grow: 1;
}

.card-projeto a {
    background: #ffffff;
    color: #000;
    padding: 12px;
    text-align: center;
    font-weight: bold;
    transition: background 0.3s;
}

.card-projeto a:hover {
    background: #f1c84c;
}

#contato {
    text-align: center;
}

.botao-whatsapp {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 34px;
    border-radius: 30px;
    background: #ffffff;
    color: #000000;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background 0.3s, box-shadow 0.3s;
}

.botao-whatsapp:hover {
    background: #d4af37;
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.6);
    color: #000;
}

.rodape {
    padding: 25px;
    text-align: center;
    border-top: 1px solid #eae9e3;
    color: #ffffff;
    font-size: 0.9rem;
}

.animacao-entrada {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animacao-entrada.visivel {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .conteudo-inicial h1 {
        font-size: 2.8rem;
    }

    .conteudo-inicial p {
        font-size: 1.1rem;
    }

    .menu-navegacao a {
        margin-left: 14px;
        font-size: 0.9rem;
    }
}