/* RESET E CONFIGURAÇÕES GERAIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
    scroll-behavior: smooth; /* Deixa o deslizar do menu suave */
}

body {
    background-color: #0f0f0f; /* Preto Suave */
    color: #e0e0e0;            /* Cinza Claro */
    line-height: 1.6;
    overflow-x: hidden;       /* Evita barras de rolagem horizontais indesejadas */
}

/* HEADER E NAVEGAÇÃO */
header {
    width: 100%;
    background-color: rgba(15, 15, 15, 0.95); /* Leve transparência */
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #222;
}

header ul {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    gap: 40px;
    list-style: none;
}

nav a {
    text-decoration: none;
    color: #b0b0b0;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover {
    color: #aa0a2af7; /* Cor Champagne */
}

/* SEÇÃO SOBRE */
.perfil-header {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #aa0a2af7; /* Borda Champagne na foto */
    box-shadow: 0 0 20px #6a061af7;
}

@keyframes girarBorda {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}


section#sobre {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
}

section#sobre h1 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 20px;
}

.nome-destaque {
    color: #aa0a2af7;
    font-weight: 700;
}

/* SEÇÃO HABILIDADES (CARROSSEL) */
section#habilidades {
    width: 100%;
    padding: 80px 0;
    background-color: #161616;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    overflow: hidden; /* Corta o que sai das laterais do site */
}

section#habilidades h2 {
    text-align: center;
    color: #aa0a2af7;
    margin-bottom: 60px;
    font-size: 32px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.carrossel-container {
    width: 100%;
    overflow: visible; /* IMPORTANTE: Permite que o brilho e o aumento não sejam cortados */
    display: flex;
    padding: 40px 0;   /* Espaço para as pílulas crescerem */
}

.carrossel-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: rolar 25s linear infinite;
}

@keyframes rolar {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.carrossel-container:hover .carrossel-track {
    animation-play-state: paused;
}

/* ESTILO DAS PÍLULAS */
.pill {
    color: #e0e0e0;
    background-color: #222;
    border: 1px solid #333;
    border-radius: 50px;
    font-weight: 600;
    padding: 14px 30px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pill:hover {
    background-color: #aa0a2af7;
    color: #0f0f0f;
    border-color: #aa0a2af7;
    transform: scale(1.2) translateY(-10px);
    box-shadow: 0 0 25px #6a061af7;
    z-index: 10;
}

/* SEÇÃO PROJETOS */
section#projetos {
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

section#projetos h2 {
    color: #aa0a2af7;
    margin-bottom: 60px;
    font-size: 32px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.projetos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
}

/* CARDS DE PROJETOS */
.project-card {
    background-color: #161616;
    border: 1px solid #222;
    padding: 25px;
    border-radius: 20px;
    width: 450px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: 0.4s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: #aa0a2af7;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.project-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    display: block;
    border-radius: 12px;
    background-color: #000;
}

.project-card h2 {
    font-size: 22px !important; /* Ajuste para títulos dentro do card */
    margin-bottom: 0 !important;
    letter-spacing: 1px !important;
    color: #fff !important;
}

.project-card p {
    font-size: 15px;
    color: #b0b0b0;
}

/* TAGS E LINKS */
.tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tags span {
    background-color: #222;
    color: #aa0a2af7;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #333;
}

.links {
    display: flex;
    gap: 20px;
    margin-top: auto; /* Empurra os links para o final do card */
}

.links a {
    color: #aa0a2af7;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.links a:hover {
    color: #fff;
}

/* FOOTER */
footer {
    width: 100%;
    padding: 60px 20px 20px;
    background-color: #0a0a0a;
    border-top: 1px solid #222;
    margin-top: 80px;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.contato-info h4, .redes-sociais h4 {
    color: #aa0a2af7;
    margin-bottom: 15px;
}

.footer-content a {
    color: #b0b0b0;
    text-decoration: none;
    transition: 0.3s;
}

.footer-content a:hover {
    color: #fff;
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #222;
    font-size: 13px;
    color: #555;
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    header ul { gap: 20px; }
    section#sobre h1 { font-size: 28px; }
    .project-card { width: 100%; }
}