.projeto__imagem-link {
    display: inline-block;
    border-radius: 18px;
    box-shadow: 0 0 0 0 #4F46E5;
    transition: box-shadow 0.3s, outline 0.3s;
    outline: none;
}
.projeto__imagem-link:focus,
.projeto__imagem-link:hover {
    box-shadow: 0 0 0 4px #4F46E5;
    outline: 2px solid #4F46E5;
}
/* Reset e configurações globais: Mobile-first, modo escuro */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #111827; /* Fundo escuro */
    color: #F9FAFB; /* Texto claro */
    line-height: 1.6;
    overflow-x: hidden; /* Evita scroll horizontal em mobile */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem; /* Espaçamento responsivo */
}

/* Header: Flexbox para alinhamento */
.header {
    background-color: #111827;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #374151; /* Borda sutil */
    transition: background-color 0.3s ease; /* Transição suave */
}

.header__name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #4F46E5; /* Cor de destaque */
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__list {
    display: none; /* Escondido por padrão em mobile */
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav__link {
    color: #F9FAFB;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease; /* Hover suave */
}

.nav__link:hover {
    color: #4F46E5;
}

/* Hamburger: Ícone para mobile */
.hamburger {
    display: block; /* Visível em mobile */
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #F9FAFB;
    transition: 0.3s ease;
}

/* Animação do hamburger quando ativo */
.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Seções: Grid e Flexbox para layout */
.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #F9FAFB;
}

.hero {
    padding: 8rem 0 4rem; /* Espaço para header fixo */
    text-align: center;
    background: linear-gradient(to bottom, #111827, #1f2937); /* Gradiente sutil */
}

.hero__title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #F9FAFB;
}

.hero__subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Botões: Estilo arredondado */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease; /* Transições suaves */
    border: none;
    cursor: pointer;
}

.btn--primary {
    background-color: #4F46E5;
    color: #F9FAFB;
}

.btn--primary:hover {
    background-color: #3730a3;
    transform: translateY(-2px); /* Efeito lift */
}

.btn--secondary {
    background-color: transparent;
    color: #F9FAFB;
    border: 2px solid #4F46E5;
}

.btn--secondary:hover {
    background-color: #4F46E5;
}

/* Sobre Mim: Flexbox responsivo */
.sobre {
    padding: 4rem 0;
}

.sobre__content {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.sobre__foto {
    width: 100%;
    max-width: 300px;
    border-radius: 50%;
    justify-self: center;
}

.sobre__text {
    font-size: 1.1rem;
}

/* Habilidades: Grid de 1 coluna em mobile, multi em desktop */
.habilidades {
    padding: 4rem 0;
    background-color: #1f2937; /* Fundo alternado */
}

.habilidades__grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr; /* Mobile: 1 coluna */
}

.habilidade h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #4F46E5;
}

.habilidade ul {
    list-style: none;
}

.habilidade li {
    padding: 0.5rem 0;
    opacity: 0.9;
}

/* Projeto: Flexbox para imagem e texto */
.projeto {
    padding: 4rem 0;
}

.projeto__content {
    display: grid;
    gap: 2rem;
    align-items: start;
}

.projeto__imagem {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.2); /* Sombra com destaque */
    object-fit: cover;
}

.projeto__galeria {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.projeto__imagem--galeria {
    width: 340px;
    height: 220px;
    max-width: 98vw;
    border-radius: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.15);
    cursor: pointer;
}
.projeto__imagem--galeria:hover {
    transform: scale(1.06) rotate(-2deg);
    box-shadow: 0 8px 32px rgba(79, 70, 229, 0.25);
    z-index: 2;
}

.projeto__text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.projeto__botoes {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Contato: Flexbox para links */
.contato {
    padding: 4rem 0;
    text-align: center;
    background-color: #1f2937;
}

.contato__subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contato__links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.contato__link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #F9FAFB;
    text-decoration: none;
    padding: 1rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.contato__link:hover {
    background-color: #374151;
}

.contato__link i {
    font-size: 1.5rem;
    color: #4F46E5;
}

/* Footer */
.footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #374151;
    opacity: 0.8;
}

/* Animações: Fade-in no scroll (classe aplicada via JS) */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries: Responsividade para tablet e desktop */
/* Mobile: Menu hamburger e layouts em coluna */
@media (max-width: 767px) {
    .nav__list {
        display: none; /* Escondido por padrão */
    }

    .nav__list.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #111827;
        padding: 1rem 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.5);
        gap: 0;
    }

    .nav__list.active li {
        padding: 0.5rem 1rem;
        text-align: center;
    }

    .hamburger {
        display: block;
    }

    .projeto__botoes {
        flex-direction: column;
    }
}

@media (min-width: 768px) {
    .hamburger {
        display: none; /* Esconde hamburger */
    }

    .nav__list {
        display: flex; /* Mostra menu desktop */
    }

    .sobre__content {
        grid-template-columns: 1fr 2fr; /* Foto e texto lado a lado */
    }

    .habilidades__grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Grid multi-coluna */
    }

    .projeto__content {
        grid-template-columns: 1fr
    }
}