:root {
    --primary-orange: #ff6b2b;  /* Laranja suavizado */
    --hover-orange: #ff8f5e;
    --accent-blue: #2196f3;
    --dark-bg: #121212;
    --light-text: #f4f4f4;
}

/* Estilos Gerais */
body {
    font-family: 'Roboto Condensed', sans-serif;
    margin: 0;
    background-color: #0B0B17;
    color: #FFFFFF;
    font-size: 20px;
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Header */
header {
    background-image: url('../imagens/header-darth01.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 750px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
    padding: 45px 15px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 45px; /* Mantém o espaço para o menu fixo */
    width: 100vw;
    max-width: 100%;
    min-height: 100vh; /* Altura mínima de 100% da viewport */
    margin: 0;
}

/* Overlay escuro */
header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

/* Conteúdo do Hero */
.hero {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.9);
}

.hero p {
    font-size: 1.7em;
    line-height: 1.8;
    margin-bottom: 50px;
    color: #D0D0D0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
}

.hero-cta {
    display: inline-block;
    padding: 10px 25px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: linear-gradient(90deg, transparent 50%, #E87E04 50%);
    background-size: 200% 100%;
    background-position: 0% 0%;
    border: 1px solid #E87E04;
    color: #fff;
    cursor: pointer;
    font-weight: 500;
}

.hero-cta:hover {
    background-position: 100% 0%;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 126, 4, 0.3);
}

/* Seção Sobre Mim */
#sobre-mim {
    background-color: #222840;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 60px 15px;
    color: #FFFFFF;
    text-align: center;
    background-size: cover;
    background-position: center;
    width: 100%;
    overflow: hidden; /* Impede a rolagem da seção */
}

@media (max-width: 768px) {
    .sobre-mim-conteudo-superior {
        grid-template-columns: 1fr; /* Mantenha uma coluna em telas menores */
    }

    .info-card p {
        font-size: 0.9em; /* Ajuste o tamanho da fonte para caber no card */
    }
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1; /* Coloca as estrelas atrás do conteúdo */
}

.stars:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><circle cx="50" cy="50" r="1" fill="%23ffffff" /></svg>') repeat;
    opacity: 0.5; /* Opacidade das estrelas */
    animation: twinkle 1.5s infinite alternate;
}

@keyframes twinkle {
    0% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

#sobre-mim .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    flex-direction: column;
    display: flex;
    align-items: center;
}

.sobre-mim-conteudo-superior {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 70px;
    align-items: flex-start;
    margin-top: 50px;
    max-width: 1400px;
    margin-left: 50px;
    padding-right: 50px;
}

/* Novo estilo para a seção de texto */
.sobre-mim-esquerda {
    width: 100%;
    padding-right: 20px;
    display: grid;
    gap: 25px;
}

.sobre-mim-direita {
    width: 100%;
    max-width: 350px;
    margin: 0;
    padding-top: 30px;
}

/* Container da Foto com Efeito Jedi */
.foto-circular-container {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    position: relative;
    margin-left: 0;
    background: linear-gradient(45deg, #E87E04, #2196f3);
    padding: 4px;
    box-shadow: 
        0 0 20px rgba(232, 126, 4, 0.4),
        0 0 40px rgba(33, 150, 243, 0.2);
    animation: borderGlow 3s infinite alternate;
}

/* A Foto em Si */
.perfil-foto {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0B0B17;
    position: relative;
    z-index: 1;
}

/* Efeito de Brilho na Borda */
@keyframes borderGlow {
    from {
        box-shadow: 
            0 0 20px rgba(232, 126, 4, 0.4),
            0 0 40px rgba(33, 150, 243, 0.2);
    }
    to {
        box-shadow: 
            0 0 30px rgba(232, 126, 4, 0.6),
            0 0 60px rgba(33, 150, 243, 0.3);
    }
}

#sobre-mim h2 {
    color: #E87E04;
    font-size: 2.5em;
    margin-bottom: 70px;
    text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.6);
    text-align: center;
}

/* Adicionado: Lista de Pontos-Chave */
.sobre-mim-pontos-chave {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
}

.sobre-mim-pontos-chave li {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.6;
}

#sobre-mim h3 {
    font-size: 2.5em;
    margin-top: 60px;
    margin-bottom: 30px;
    color: #FFFFFF;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    text-align: center;
}

/* Seção de Habilidades - Layout em Duas Colunas */
.sobre-mim-habilidades {
    margin-top: 100px;
    padding: 0 80px; /* Mais padding lateral */
}

/* Lista de Habilidades em Duas Colunas */
.lista-habilidades {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Exatamente duas colunas */
    gap: 50px 80px; /* 50px vertical, 80px horizontal */
    padding: 0;
    list-style: none;
    max-width: 1400px;
    margin: 0 auto;
}

/* Card de cada Habilidade - Mais compacto */
.lista-habilidades li {
    background: rgba(11, 11, 23, 0.6);
    padding: 15px 20px; /* Reduzido o padding */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 10px; /* Reduzido o gap */
}

/* Nome da Habilidade mais compacto */
.nome-habilidade {
    font-size: 0.9rem; /* Fonte menor */
    color: #E87E04;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px; /* Menos espaço */
}

.icone-habilidade {
    color: #2196f3;
}

/* Barra de Progresso com níveis */
.force-meter {
    height: 4px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 3px;
    position: relative;
}

/* Nível da Força - Agora com gradiente baseado no nível */
.force-level {
    height: 100%;
    background: linear-gradient(90deg, 
        #E87E04,
        #ff9f40
    );
    border-radius: 2px;
    position: absolute;
    top: 0;
    left: 0;
    transition: width 0.3s ease;
}

/* Diferentes cores para diferentes níveis */
.force-level[style*="width: 90%"],
.force-level[style*="width: 95%"],
.force-level[style*="width: 100%"] {
    background: linear-gradient(90deg, #E87E04, #ffd700); /* Dourado para Mestre */
}

.force-level[style*="width: 80%"],
.force-level[style*="width: 85%"] {
    background: linear-gradient(90deg, #E87E04, #ff9f40); /* Laranja forte para Cavaleiro */
}

.force-level[style*="width: 70%"],
.force-level[style*="width: 75%"] {
    background: linear-gradient(90deg, #ff9f40, #ffc107); /* Laranja médio para Padawan Avançado */
}

.force-level[style*="width: 60%"],
.force-level[style*="width: 65%"] {
    background: linear-gradient(90deg, #ffc107, #ffeb3b); /* Amarelo para Padawan */
}

/* Texto do nível */
.force-text {
    font-size: 0.75rem;
    color: #f4f4f4;
    margin-top: 5px;
    text-align: right;
    opacity: 0.8;
    transition: color 0.3s ease;
}

/* Hover nos cards */
.lista-habilidades li:hover .force-level {
    filter: brightness(1.2);
}

.lista-habilidades li:hover .force-text {
    color: #E87E04;
    opacity: 1;
}

/* Hover suave no card */
.lista-habilidades li:hover {
    transform: translateX(3px);
    box-shadow: 0 4px 20px rgba(232, 126, 4, 0.15);
}

/* Responsividade ajustada */
@media (max-width: 1200px) {
    .sobre-mim-habilidades {
        padding: 0 40px;
    }
    
    .lista-habilidades {
        gap: 40px 60px;
    }
}

@media (max-width: 768px) {
    .lista-habilidades {
        grid-template-columns: 1fr; /* Uma coluna em mobile */
        gap: 30px;
    }
    
    .sobre-mim-habilidades {
        padding: 0 20px;
    }
}

.contato-botao {
    display: inline-block;
    padding: 10px 25px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: linear-gradient(90deg, transparent 50%, #E87E04 50%);
    background-size: 200% 100%;
    background-position: 0% 0%;
    border: 1px solid #E87E04;
    color: #fff;
    cursor: pointer;
    font-weight: 500;
}

.contato-botao:hover {
    background-position: 100% 0%;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 126, 4, 0.3);
}

/* Seção Projetos */
#projetos {
    background-color: #0B0B17;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 60px 15px;
    color: #FFFFFF;
    text-align: center;
    background-size: cover;
    background-position: center;
    width: 100%;
    overflow: hidden; /* Impede a rolagem da seção */
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1; /* Coloca as estrelas atrás do conteúdo */
}

.stars:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><circle cx="50" cy="50" r="1" fill="%23ffffff" /></svg>') repeat;
    opacity: 0.5; /* Opacidade das estrelas */
    animation: twinkle 1.5s infinite alternate;
}

@keyframes twinkle {
    0% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

#projetos h2 {
    color: #E87E04;
    font-size: 2.5em;
    margin-bottom: 40px;
    text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.6);
}

.projetos-descricao {
    max-width: 900px;
    margin: 30px auto 70px;
    font-size: 1.3em;
    line-height: 1.8;
    color: #D0D0D0;
}

/* Grid de Projetos - 3 cards por linha */
.projetos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Exatamente 3 colunas */
    gap: 30px;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Card de Projeto */
.projeto-card {
    background: linear-gradient(145deg, #222840, #1a1f33);
    border-radius: 15px;
    overflow: visible; /* Mantém o overflow visível */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    height: 520px; /* Altura original restaurada */
    border: 1px solid rgba(232, 126, 4, 0.1);
    position: relative;
}

/* Imagem do Projeto - Mantém o overflow hidden apenas na imagem */
.projeto-card img {
    width: 100%;
    height: 200px; /* Altura original restaurada */
    object-fit: cover;
    overflow: hidden;
}

/* Conteúdo do Card */
.projeto-card h3 {
    font-size: 1em;
    color: #E87E04;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    padding: 20px 20px 0 20px;
}

/* Descrição do Projeto */
.projeto-card p {
    font-size: 0.8em; /* Tamanho original restaurado */
    line-height: 1.5; /* Line-height original restaurado */
    color: #f4f4f4;
    opacity: 0.9;
    margin: 0;
    text-align: justify;
    padding: 0 20px; /* Padding original restaurado */
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* Adicionando propriedades padrão para compatibilidade */
    line-clamp: 7;
    -webkit-line-clamp: 7;
}

/* Botão SEMPRE na base do card e centralizado */
.projeto-botao {
    display: block;
    width: 80%;
    text-align: center;
    padding: 12px 0;
    background: linear-gradient(90deg, transparent 50%, #E87E04 50%);
    background-size: 200% 100%;
    background-position: 0% 0%;
    border: 1px solid #E87E04;
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.projeto-botao:hover {
    background-position: 100% 0%;
    color: #000;
    box-shadow: 0 5px 15px rgba(232, 126, 4, 0.3);
    transform: translateX(-50%); /* Mantém a centralização no hover */
}

/* Responsividade */
@media (max-width: 768px) {
    .projeto-card {
        height: auto;
        min-height: 480px; /* Altura mínima em mobile */
    }
}

/* Footer */
footer {
    background-color: #0B0B17;
    color: #FFFFFF;
    text-align: center;
    border-top: 3px solid #222840;
    overflow: hidden; /* Impede a rolagem da seção */
    padding: 80px 0 60px;
    width: 100%;
    position: relative;
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1; /* Coloca as estrelas atrás do conteúdo */
}

.stars:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w.org/2000/svg" width="100" height="100"><circle cx="50" cy="50" r="1" fill="%23ffffff" /></svg>') repeat;
    opacity: 0.5; /* Opacidade das estrelas */
    animation: twinkle 1.5s infinite alternate;
}

@keyframes twinkle {
    0% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #222840 10%, #222840 90%, rgba(0,0,0,0) 100%);
    opacity: 0.8;
    z-index: 1;
    animation: luzesFooter 10s linear infinite;
    background-size: 100% 200%;
}

@keyframes luzesFooter {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 0% 100%;
    }
}

footer h2 {
    color: #E87E04;
    font-size: 2.5em;
    margin-bottom: 50px;
    text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
}

.yoda-quote {
    font-style: italic;
    font-size: 1.5em;
    line-height: 2.2;
    margin-bottom: 60px;
    color: #CCCCCC;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 2;
}

.contato-info {
    max-width: 1200px;
    margin: 0 auto;
    display: flex; /* **HABILITADO FLEXBOX NO CONTAINER CONTATO-INFO!** */
    justify-content: space-around;
    gap: 40px; /* **REDUZIDO:** Gap entre os itens contato-info */
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    align-items: flex-end; /* **ADICIONADO:** Alinha itens na parte inferior (flex-end) */
}

.contato-item {
    text-align: center;
    margin-bottom: 20px; /* **REDUZIDO:** Margin bottom dos itens contato-item */
}

.contato-item i {
    font-size: 3.5em;
    color: #E87E04;
    margin-bottom: 15px; /* **REDUZIDO:** Margin bottom dos ícones contato-item */
    display: block;
    text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.6);
}

.contato-item p {
    font-size: 1.2em; /* **REDUZIDO:** Fonte do texto contato-item */
    line-height: 1.7; /* **REDUZIDO:** Line-height do texto contato-item */
    color: #E0E0E0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.contato-info a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.contato-info a:hover {
    color: #E87E04;
    transform: scale(1.05);
}

.social-media {
    margin-top: 20px; /* **REDUZIDO:** Margin top social-media */
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.social-media a {
    display: inline-block;
    margin: 0 15px; /* **REDUZIDO:** Margin lateral dos ícones sociais */
}

.social-media img {
    width: 40px; /* **REDUZIDO:** Largura dos ícones sociais */
    height: 40px; /* **REDUZIDO:** Altura dos ícones sociais */
    transition: transform 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.7;
}

.social-media img:hover {
    transform: scale(1.2);
    filter: grayscale(0%);
    opacity: 1;
}

footer p.desenvolvedor {
    margin-top: 50px; /* **REDUZIDO:** Margin top do texto desenvolvedor */
    font-size: 1.1em;  /* **REDUZIDO:** Fonte do texto desenvolvedor */
    color: #CCCCCC;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

/* Estilo da Foto de Perfil */
.profile-container {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    position: relative;
    background: linear-gradient(45deg, var(--lightsaber-blue), var(--rebel-orange));
    padding: 5px;
    box-shadow: 
        0 0 20px var(--lightsaber-glow),
        inset 0 0 20px var(--lightsaber-glow);
    animation: profileGlow 3s infinite alternate;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--dark-bg);
}

@keyframes profileGlow {
    from { box-shadow: 0 0 20px var(--lightsaber-glow); }
    to { box-shadow: 0 0 40px var(--lightsaber-glow); }
}

/* Novo estilo para textos descritivos */
.sobre-mim-texto {
    background: rgba(34, 40, 64, 0.8);
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid var(--lightsaber-blue);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.sobre-mim-texto p {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--light-text);
}

/* Novos botões estilo Star Wars */
.sw-button {
    background: linear-gradient(45deg, var(--dark-bg), var(--primary-orange));
    border: none;
    padding: 12px 25px;
    color: var(--light-text);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px var(--lightsaber-glow);
}

.sw-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.sw-button:hover::before {
    left: 100%;
}

/* Barra de habilidades mais compacta */
.force-meter {
    height: 25px; /* Altura reduzida */
    margin: 10px 0;
}

.force-level {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}

.force-text {
    font-size: 0.8em;
}

/* Estilo Base para TODOS os Botões do Site */
.hero-cta,
.contato-botao,
.nav-button,
.cv-download-button {
    display: inline-block;
    padding: 10px 25px; /* Altura menor e largura ajustada */
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 25px; /* Bordas mais arredondadas */
    transition: all 0.3s ease;
    background: linear-gradient(90deg, transparent 50%, #E87E04 50%);
    background-size: 200% 100%;
    background-position: 0% 0%;
    border: 1px solid #E87E04;
    color: #fff;
    cursor: pointer;
    font-weight: 500;
}

/* Efeito Hover Padrão */
.hero-cta:hover,
.contato-botao:hover,
.nav-button:hover,
.cv-download-button:hover {
    background-position: 100% 0%;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 126, 4, 0.3);
}

/* Container do Botão de Download */
.cv-download-container {
    margin-top: 30px;
    text-align: center;
    position: relative;
    width: 100%;
}

@media (max-width: 768px) {
    .sobre-mim-conteudo-superior {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .cv-download-container {
        margin-top: 20px;
        width: 100%;
        text-align: center;
        order: 2; /* Coloca o botão após a foto */
    }
    
    .sobre-mim-direita {
        order: 1; /* Coloca a foto antes do botão */
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Ícone do Botão */
.cv-download-button i {
    margin-right: 8px;
}

/* Ajustes Específicos */
.hero-cta {
    font-size: 1rem;
    padding: 12px 30px; /* Um pouco maior por ser CTA principal */
    font-weight: 600;
}

.projeto-botao {
    padding: 8px 20px; /* Menor por estar em cards */
    font-size: 0.85rem;
}

/* Responsividade dos Botões */
@media (max-width: 768px) {
    .hero-cta,
    .contato-botao,
    .projeto-botao,
    .nav-button {
        padding: 8px 20px;
        font-size: 0.85rem;
    }

    .hero-cta {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .sobre-mim-conteudo-superior {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
        margin: 30px 0;
    }

    .sobre-mim-direita {
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: none;
        padding-top: 0;
    }

    .foto-circular-container {
        width: 250px; /* Foto um pouco menor em mobile */
        height: 250px;
        margin: 0 auto;
    }
}

@media (max-width: 1200px) {
    .projetos-grid {
        grid-template-columns: 1fr; /* Sempre 1 coluna em telas menores */
        gap: 30px;
        padding: 20px;
    }

    .projeto-card {
        max-width: 500px; /* Largura máxima em telas menores */
        margin: 0 auto;
    }
}

/* Cards de informação */
.info-card {
    background: rgba(11, 11, 23, 0.6);
    border-radius: 15px;
    padding: 25px;
    border-left: 4px solid #E87E04;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.info-card:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(232, 126, 4, 0.2);
}

/* Título de cada card */
.info-card h3 {
    color: #E87E04;
    font-size: 1.2em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card h3 i {
    color: #2196f3;
}

/* Parágrafos mais organizados */
.info-card p {
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #f4f4f4;
}

/* Ajustes do Menu Hamburguer */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        position: fixed;
        top: 15px;
        right: 20px;
        z-index: 1000;
    }

    .nav-container {
        padding: 0 10px;
    }
}

/* Garantir que as seções ocupem toda a largura */
section, 
footer {
    width: 100vw; /* Força largura total da viewport */
    max-width: 100%; /* Previne overflow horizontal */
    margin: 0;
    padding: 60px 15px;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Ajuste do background das seções */
#sobre-mim,
#projetos,
footer {
    background-size: cover;
    background-position: center;
    width: 100%;
}

/* Ajustes de responsividade */
@media (max-width: 768px) {
    footer {
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        width: 100vw;
        max-width: 100%;
        padding: 40px 15px;
    }

    section {
        width: 100vw;
        max-width: 100%;
        margin-left: -50vw;
        margin-right: -50vw;
        position: relative;
        left: 50%;
        right: 50%;
        padding: 60px 15px;
        overflow-x: hidden;
    }

    .container {
        padding: 0 15px;
    }
}

/* Controle de Áudio */
.audio-control {
    position: fixed;
    top: 50px; /* Ajuste a posição para baixo */
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(11, 11, 23, 0.8);
    padding: 8px 15px;
    border-radius: 25px;
    backdrop-filter: blur(5px);
}

.audio-button {
    background: none;
    border: none;
    color: #E87E04;
    font-size: 1.2em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.audio-button:hover {
    color: #ff9f40;
    transform: scale(1.1);
}

.volume-slider {
    width: 100px;
    display: none;
}

.audio-control:hover .volume-slider {
    display: block;
}

#volumeControl {
    width: 100%;
    height: 4px;
    -webkit-appearance: none;
    background: #444;
    border-radius: 2px;
    outline: none;
}

#volumeControl::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #E87E04;
    border-radius: 50%;
    cursor: pointer;
}

/* Estilo do Botão de Acessibilidade */
.accessibility-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #2196f3;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
}
.accessibility-button:hover {
    background-color: #1e88e5;
}

/* Estilo do Popup de Acessibilidade */
.accessibility-popup {
    position: fixed;
    bottom: 80px;
    left: 20px;
    background-color: #fff;
    color: #000;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 300px;
    max-width: 90%;
    padding: 20px;
    z-index: 1000;
    display: none;
}
.accessibility-popup-content {
    max-height: 400px;
    overflow-y: auto;
}
.accessibility-popup h2 {
    font-size: 1.2em;
    margin-bottom: 10px;
}
.accessibility-popup p, .accessibility-popup ul {
    font-size: 0.9em;
    line-height: 1.5;
}
.accessibility-popup ul {
    padding-left: 20px;
}
.accessibility-popup ul li {
    margin-bottom: 10px;
}
.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
}
.close-popup:hover {
    color: #f00;
}

/* Adicionando propriedades padrão para compatibilidade */
appearance: none;
-webkit-appearance: none;

/* Estilo do Botão de Acessibilidade e Controle de Áudio com tema Star Wars */
.star-wars-button {
    background: linear-gradient(90deg, transparent 50%, #E87E04 50%);
    background-size: 200% 100%;
    background-position: 0% 0%;
    border: 1px solid #E87E04;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}
.star-wars-button:hover {
    background-position: 100% 0%;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 126, 4, 0.3);
}

/* Aplicando o estilo Star Wars aos botões de acessibilidade e controle de áudio */
.accessibility-button {
    bottom: 20px;
    left: 20px;
}
.accessibility-button i {
    font-size: 1.5em;
}

.audio-control {
    bottom: 20px;
    right: 20px;
    padding: 0;
}
.audio-button {
    font-size: 1.5em;
}

/* Removendo estilos antigos */
.accessibility-button,
.audio-control {
    background: none;
    border: none;
    box-shadow: none;
}
