/* Reset básico e variáveis */ :root { --cor-primaria: #ffeb3b; --cor-secundaria: #ffc107; --fundo-escuro: #121212; --fundo-medio: #1a1a1a; --fundo-claro: #333333; --texto-claro: #e0e0e0; --texto-escuro: #000000; --sombra: 0 4px 12px rgba(0, 0, 0, 0.5); } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Roboto', sans-serif; line-height: 1.6; color: var(--texto-claro); background-color: var(--texto-escuro); overflow-x: hidden; } .container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 0 15px; } /* Cabeçalho */ .cabecalho { background-color: var(--fundo-escuro); color: #ffffff; padding: 2rem 0; text-align: center; box-shadow: var(--sombra); position: relative; z-index: 10; } .cabecalho h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); font-weight: 700; text-shadow: 1px 1px 3px rgba(255, 235, 59, 0.3); } .cabecalho p { font-size: clamp(1rem, 3vw, 1.2rem); font-weight: 300; opacity: 0.9; } /* Menu de Navegação - Versão Desktop */ .menu { background-color: var(--fundo-medio); padding: 1rem 0; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); position: sticky; top: 0; z-index: 100; } .nav-list { list-style: none; display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; } .nav-list li a { color: var(--cor-primaria); text-decoration: none; font-weight: 500; transition: all 0.3s ease; padding: 0.5rem 1rem; border-radius: 4px; opacity: 0.9; } .nav-list li a:hover { color: var(--texto-escuro); background-color: var(--cor-primaria); transform: translateY(-2px); opacity: 1; } /* Menu Mobile */ .menu-toggle { display: none; cursor: pointer; padding: 1rem; position: absolute; top: 50%; right: 15px; transform: translateY(-50%); z-index: 101; } .menu-toggle span { display: block; width: 25px; height: 3px; background-color: var(--cor-primaria); margin: 5px 0; transition: all 0.3s ease; } /* Conteúdo Principal */ .conteudo { padding: 2rem 0; position: relative; } .secao { margin-bottom: 2rem; background-color: var(--fundo-escuro); padding: 1.5rem; border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); border: 1px solid var(--fundo-claro); transition: transform 0.3s ease; } .secao:hover { transform: translateY(-5px); } .secao h2 { font-size: clamp(1.5rem, 4vw, 2rem); color: var(--cor-primaria); margin-bottom: 1.5rem; border-bottom: 3px solid var(--cor-secundaria); display: inline-block; padding-bottom: 0.5rem; display: flex; align-items: center; justify-content: space-between; } .secao p { font-size: 1rem; color: var(--texto-claro); margin-bottom: 1rem; line-height: 1.7; } .secao ul { list-style: none; } .secao ul li { background-color: var(--fundo-medio); margin-bottom: 1rem; padding: 1.2rem; border-radius: 6px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); transition: all 0.3s ease; border: 1px solid var(--fundo-claro); } .secao ul li:hover { transform: translateX(5px); border-color: var(--cor-primaria); } .secao ul li strong { color: var(--cor-secundaria); } /* Links */ a { color: var(--cor-secundaria); text-decoration: none; font-weight: 500; transition: all 0.3s ease; position: relative; } a:hover { color: var(--cor-primaria); } /* Seção de Contato */ #contato ul { display: flex; flex-direction: column; gap: 0.8rem; } #contato ul li a { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.2rem; background-color: rgba(255, 235, 59, 0.1); border-radius: 6px; border: 1px solid rgba(255, 235, 59, 0.3); width: 100%; } #contato ul li a:hover { background-color: rgba(255, 235, 59, 0.2); transform: translateY(-2px); box-shadow: 0 2px 8px rgba(255, 235, 59, 0.2); } /* Seção de Projetos */ .projetos { background-color: var(--fundo-medio); padding: 1.5rem; border-radius: 8px; margin-top: 2rem; border-left: 4px solid var(--cor-secundaria); } .projetos h3 { color: var(--cor-primaria); margin-bottom: 1rem; } .botao-github { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; background-color: var(--cor-secundaria); color: var(--texto-escuro); padding: 0.8rem 1.5rem; border-radius: 6px; text-decoration: none; font-weight: 500; transition: all 0.3s ease; margin-top: 0.5rem; box-shadow: 0 2px 5px rgba(255, 235, 59, 0.3); width: 100%; text-align: center; } .botao-github:hover { background-color: var(--cor-primaria); color: #313131; transform: translateY(-3px); box-shadow: 0 4px 8px rgba(255, 235, 59, 0.4); } /* Rodapé */ .rodape { background-color: var(--fundo-escuro); color: #ffffff; text-align: center; padding: 1.5rem 0; margin-top: 3rem; font-size: 0.9rem; border-top: 1px solid var(--fundo-claro); } /* Certificados - Estilo Acordeão */ .certificados-toggle { margin-left: 10px; cursor: pointer; transition: transform 0.3s ease; color: var(--cor-primaria); } .certificados-container { max-height: 0; overflow: hidden; transition: max-height 0.5s ease, opacity 0.3s ease; opacity: 0; } .certificados-container.active { max-height: 1000px; /* Valor maior que o conteúdo real */ opacity: 1; } .certificados-toggle.active { transform: rotate(180deg); } #certificados ul li a { display: inline-block; padding: 0.5rem; border-radius: 4px; color: var(--cor-secundaria); word-break: break-word; } #certificados ul li a:hover { background-color: rgba(255, 235, 59, 0.1); color: var(--cor-primaria); } /* Mobile Styles */ @media (max-width: 768px) { .menu { padding: 0.8rem 0; height: 60px; display: flex; align-items: center; } .menu-toggle { display: block; } .nav-list { position: fixed; top: 0; left: -100%; width: 80%; max-width: 300px; height: 100vh; background-color: var(--fundo-medio); flex-direction: column; align-items: flex-start; padding: 5rem 1.5rem 2rem; box-shadow: 2px 0 15px rgba(0, 0, 0, 0.7); transition: left 0.3s ease; } .nav-list.active { left: 0; } .nav-list li { width: 100%; } .nav-list li a { display: block; width: 100%; padding: 1rem; border-left: 3px solid transparent; } .nav-list li a:hover { background-color: rgba(255, 235, 59, 0.1); color: var(--cor-primaria); border-left: 3px solid var(--cor-primaria); transform: translateX(5px); } /* Animação do hamburger */ .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); } .menu-toggle.active span:nth-child(2) { opacity: 0; } .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); } /* Ajustes de conteúdo */ .secao { padding: 1.2rem; } .botao-github { padding: 0.8rem; } } @media (max-width: 480px) { .cabecalho { padding: 1.5rem 0; } .conteudo { padding: 1rem 0; } .secao { margin-bottom: 1.5rem; } #certificados ul li { margin-bottom: 0.8rem; } } /* Menu Mobile - Versão Funcional */ .menu-toggle { display: none; cursor: pointer; padding: 15px; position: absolute; top: 50%; left: 15px; transform: translateY(-50%); z-index: 1001; background: transparent; border: none; transition: all 0.4s ease; } .menu-toggle .bar { display: block; width: 25px; height: 3px; background-color: #ffeb3b; margin: 5px 0; transition: all 0.3s ease; } /* Estado ativo - X */ .menu-toggle.active { left: calc(100% - 55px); } .menu-toggle.active .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); } .menu-toggle.active .bar:nth-child(2) { opacity: 0; } .menu-toggle.active .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); } /* Menu Lista Mobile */ @media (max-width: 768px) { .menu-toggle { display: block; } .nav-list { position: fixed; top: 0; left: -100%; width: 80%; max-width: 300px; height: 100vh; background-color: #1a1a1a; flex-direction: column; align-items: flex-start; padding: 80px 20px 20px; box-shadow: 2px 0 15px rgba(0,0,0,0.7); transition: left 0.3s ease; z-index: 1000; } .nav-list.active { left: 0; } #menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.7); z-index: 999; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; } #menu-overlay.active { opacity: 1; pointer-events: all; } } /* Novo Cabeçalho */ .cabecalho { background: linear-gradient(135deg, #121212 0%, #1a1a1a 100%); color: #ffffff; padding: 2rem 0 0; position: relative; overflow: hidden; } .cabecalho-conteudo { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-bottom: 2rem; } .cabecalho-texto { flex: 1; z-index: 2; } .cabecalho h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.5rem; background: linear-gradient(to right, #ffeb3b, #ffc107); background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none; } .subtitulo { font-size: 1.2rem; font-weight: 300; margin-bottom: 1.5rem; color: rgba(255, 255, 255, 0.9); } .cabecalho-social { display: flex; gap: 1rem; margin-top: 1.5rem; } .cabecalho-social a { color: var(--cor-primaria); font-size: 1.5rem; transition: all 0.3s ease; } .cabecalho-social a:hover { color: #ffffff; transform: translateY(-3px); } .cabecalho-imagem { flex: 1; display: flex; justify-content: flex-end; z-index: 1; } .imagem-container { width: 200px; height: 200px; border-radius: 50%; background-color: var(--fundo-claro); border: 5px solid var(--cor-primaria); overflow: hidden; position: relative; } .imagem-container::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('https://abre.ai/mMQP') center/cover no-repeat; opacity: 0.8; } .botao-contato { display: inline-block; background-color: var(--cor-primaria); color: var(--texto-escuro); padding: 0.8rem 1.8rem; border-radius: 50px; text-decoration: none; font-weight: 500; margin: 1.5rem 0; transition: all 0.3s ease; z-index: 2; position: relative; } .botao-contato:hover { background-color: #ffffff; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(255, 235, 59, 0.3); } .onda { position: absolute; bottom: 0; left: 0; width: 100%; height: 100px; z-index: 1; } .onda svg { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; } /* Novo Rodapé */ .rodape { background: linear-gradient(135deg, #1a1a1a 0%, #121212 100%); color: #ffffff; padding: 3rem 0 0; position: relative; } .rodape::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(to right, transparent, var(--cor-primaria), transparent); } .rodape-conteudo { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 2rem; } .rodape-info h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--cor-primaria); } .rodape-info p { opacity: 0.8; line-height: 1.6; } .rodape-links h4, .rodape-contato h4, .rodape-social h4 { font-size: 1.2rem; margin-bottom: 1.5rem; color: var(--cor-primaria); position: relative; padding-bottom: 0.5rem; } .rodape-links h4::after, .rodape-contato h4::after, .rodape-social h4::after { content: ""; position: absolute; bottom: 0; left: 0; width: 50px; height: 2px; background-color: var(--cor-primaria); } .rodape-links ul, .rodape-contato ul { list-style: none; } .rodape-links li { margin-bottom: 0.8rem; } .rodape-links a { color: #ffffff; opacity: 0.8; transition: all 0.3s ease; display: inline-block; } .rodape-links a:hover { opacity: 1; color: var(--cor-primaria); transform: translateX(5px); } .rodape-contato li { margin-bottom: 1rem; display: flex; align-items: center; gap: 0.8rem; opacity: 0.8; } .rodape-contato i { color: var(--cor-primaria); width: 20px; text-align: center; } .social-icons { display: flex; gap: 1.5rem; } .social-icons a { color: #ffffff; font-size: 1.5rem; opacity: 0.8; transition: all 0.3s ease; } .social-icons a:hover { color: var(--cor-primaria); opacity: 1; transform: translateY(-3px); } .rodape-copyright { text-align: center; padding: 1.5rem 0; border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 2rem; display: flex; flex-direction: column; gap: 0.5rem; } .rodape-copyright p { opacity: 0.7; font-size: 0.9rem; } @media (max-width: 768px) { .cabecalho-conteudo { flex-direction: column; text-align: center; } .cabecalho-social { justify-content: center; } .cabecalho-imagem { margin-top: 1.5rem; } .imagem-container { width: 150px; height: 150px; } .rodape-conteudo { grid-template-columns: 1fr; } }
