@import url(./reset.css);

/* Animações Modernas */
@keyframes animacaoBorda {
    50% {
        border-right: transparent;
    }
}
@keyframes animacaoTexto {
    0% {
        width: 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

:root {
    --fonte-alternativa:"Barlow Condensed", sans-serif;
    --fonte-secundaria:"Geo", sans-serif; 
    --cor-principal: #0066ff;
    --cor-secundaria: #4d94ff;
    --cor-escura: #0a0a0a;
    --cor-gradiente: linear-gradient(135deg, #0066ff 0%, #0044cc 100%);
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --card-bg: rgba(10, 10, 10, 0.6);
    --card-border: rgba(0, 102, 255, 0.2);
    --shadow-color: rgba(0, 102, 255, 0.3);
}

body.light-theme {
    --cor-principal: #0066ff;
    --cor-secundaria: #4d94ff;
    --cor-escura: #f5f5f5;
    --cor-gradiente: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --bg-primary: #f8f9ff;
    --bg-secondary: #f0f2ff;
    --text-primary: #1a1a1a;
    --text-secondary: rgba(26, 26, 26, 0.8);
    --card-bg: rgba(255, 255, 255, 0.9);
    --card-border: rgba(102, 126, 234, 0.3);
    --shadow-color: rgba(102, 126, 234, 0.2);
}

body.light-theme::before {
    background: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.08) 0%, transparent 50%);
}

body.light-theme .img img {
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.4), 
                0 0 60px rgba(102, 126, 234, 0.2),
                inset 0 0 20px rgba(102, 126, 234, 0.1);
}

body.light-theme .card-habilidade::after {
    background: rgba(255, 255, 255, 0.95);
}

body.light-theme .projeto::before {
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.15), transparent);
}

body.light-theme .card-habilidade::before {
    background: conic-gradient(transparent, rgba(102, 126, 234, 0.4), transparent 30%);
}

body {
    font-family: var(--fonte-secundaria);
    background: linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary), var(--bg-primary));
    background-attachment: fixed;
    font-size: 1.2rem;
    max-width: 100%;
    min-height: 100vh;
    scroll-behavior: smooth;
    overflow-x: hidden;
    color: var(--text-primary);
    transition: background 0.5s ease, color 0.5s ease;
}

/* Efeito de partículas no fundo */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0, 68, 204, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Botão de tema */
.theme-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 2px solid var(--card-border);
    box-shadow: 0 8px 32px var(--shadow-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 12px 40px var(--shadow-color);
    border-color: var(--cor-principal);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.theme-toggle-icon {
    font-size: 1.8rem;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 8px var(--cor-principal));
}

.theme-toggle:hover .theme-toggle-icon {
    filter: drop-shadow(0 0 15px var(--cor-principal));
    transform: rotate(20deg);
}

.sun-icon {
    color: #ffa500;
    display: none;
}

.moon-icon {
    color: #4a9eff;
    display: block;
}

body.light-theme .sun-icon {
    display: block;
}

body.light-theme .moon-icon {
    display: none;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    z-index: 1;
    animation: fadeIn 1s ease-in;
}

.img {
    width: 12vw;
    height: 22vh;
    text-align: center;
    margin: 5rem auto 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 30px var(--shadow-color), 
                0 0 60px var(--shadow-color),
                inset 0 0 20px var(--shadow-color);
    overflow: hidden;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.img img:hover {
    filter: grayscale(0%);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 50px var(--shadow-color), 
                0 0 100px var(--shadow-color),
                inset 0 0 30px var(--shadow-color);
}

.textos {
    text-align: center;
    font-family: var(--fonte-secundaria);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.nome {
    font-size: 2.5rem;
    color: var(--cor-principal);
    padding: 2rem 0 1rem 0;
    font-family: var(--fonte-secundaria);
    background: var(--cor-gradiente);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient 3s ease infinite;
}

.nav-container-tittle {
    font-size: 2rem;
    margin: 1rem auto;
    color: var(--cor-principal);
    border-right: 2px solid; 
    white-space: nowrap;
    width: 20ch;
    overflow: hidden;
    animation: animacaoTexto steps(20) 2.5s, animacaoBorda 0.5s linear;
} 

.nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.icones {
    margin: 1rem 2rem;
    opacity: 0.6;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 5px rgba(0, 102, 255, 0.3));
}

.icone-whats{
    width: 1.8rem;
}

.icones:hover {
    opacity: 1;
    transform: translateY(-10px) scale(1.2);
    filter: drop-shadow(0 0 15px rgba(0, 102, 255, 0.8));
}

.icone {
    color: var(--cor-principal);
    margin-right: 0.5rem;
    filter: drop-shadow(0 0 5px rgba(0, 102, 255, 0.5));
}

.links {
   margin: 3rem 0;
   animation: fadeInUp 1s ease-out 0.8s both;
}

.links-informacoes {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.links-informacoes li {
    margin: 0.8rem 0;
    display: flex;
    text-align: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.links-informacoes li:hover {
    transform: translateX(10px);
}

.link {
    text-decoration: none;
    color: var(--cor-principal);
    font-size: 1.7rem;
    font-family: var(--fonte-secundaria);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--cor-gradiente);
    transition: width 0.3s ease;
}

.link:hover::after {
    width: 100%;
}

.link:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 102, 255, 0.5);
}

.container-projetos {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5rem 0;
    position: relative;
}

.projeto-nome {
    font-size: 2.5rem;
    background: var(--cor-gradiente);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    cursor: default;
    transition: all 0.3s ease;
}

.projeto-nome::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--cor-gradiente);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.projeto-nome:hover::after {
    width: 150px;
}

.projetos {
    width: 100%;
    min-height: 80vh;
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: space-evenly;
    position: relative;
    z-index: 1;
    gap: 2rem;
    padding: 0 2rem;
}

.projeto {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: calc(33.333% - 2rem);
    min-height: 45vh;
    max-height: 50vh;
    border-radius: 1rem;
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    box-shadow: 0 8px 32px 0 var(--shadow-color),
                inset 0 0 20px var(--shadow-color);
    margin: 0 0 1rem 0;
    padding: 2rem 1.5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.projeto::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.1), transparent);
    transition: left 0.5s;
}

.projeto:hover::before {
    left: 100%;
}

.projeto:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 15px 60px 0 rgba(0, 102, 255, 0.4),
                inset 0 0 30px rgba(0, 102, 255, 0.1),
                0 0 30px rgba(0, 102, 255, 0.3);
    border-color: rgba(0, 102, 255, 0.5);
}

.projeto h3 {
    margin: 0 0 1rem 0;
    font-size: 1.8rem;
    color: var(--text-primary);
    text-shadow: 0 0 10px var(--shadow-color);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.projeto:hover h3 {
    transform: scale(1.05);
    color: var(--cor-principal);
}

.texto-projeto {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-family: var(--fonte-alternativa);
    font-weight: 500;
    line-height: 1.5;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    align-items: center;
    text-align: center;
    overflow-y: auto;
    padding: 0.5rem;
}

.texto-projeto::-webkit-scrollbar {
    width: 4px;
}

.texto-projeto::-webkit-scrollbar-track {
    background: transparent;
}

.texto-projeto::-webkit-scrollbar-thumb {
    background: var(--cor-principal);
    border-radius: 2px;
}

.projeto:hover .texto-projeto {
    color: var(--text-primary);
}

.projetos a {
    display: inline-block;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    background: var(--cor-gradiente);
    border-radius: 50px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 1rem 0 0 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
    flex-shrink: 0;
}

.projetos a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.projetos a:hover::before {
    width: 300px;
    height: 300px;
}

.projetos a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.5);
    background: linear-gradient(135deg, #4d94ff 0%, #0066ff 100%);
}

.sobre-mim {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.sobre-mim h2 {
    text-align: center;
    font-size: 2.5rem;
    background: var(--cor-gradiente);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.sobre-mim h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--cor-gradiente);
    border-radius: 2px;
}

.sobre-mim-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 3rem auto 5rem;
    padding: 0 2rem;
}

.sobre-mim-texto {
    font-family: var(--fonte-alternativa);
    font-weight: 500;
    width: 70%;
    max-width: 900px;
    color: var(--text-primary);
    margin: 1.5rem auto;
    font-size: 1.7rem;
    line-height: 2;
    text-align: center;
    padding: 2.5rem 3rem;
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 1rem;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px var(--shadow-color);
    position: relative;
}

.sobre-mim-texto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--cor-gradiente);
    border-radius: 1rem 1rem 0 0;
}

.sobre-mim-texto:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px var(--shadow-color);
    border-color: var(--cor-principal);
}

/* Seção de Experiência Profissional */
.experiencia {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 5rem 0;
    margin: 3rem 0;
}

.experiencia h2 {
    text-align: center;
    font-size: 2.5rem;
    background: var(--cor-gradiente);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4rem;
}

.timeline {
    position: relative;
    max-width: 1400px;
    width: 90%;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--cor-gradiente);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--shadow-color);
}

.timeline-item {
    position: relative;
    width: 100%;
    margin-bottom: 5rem;
    display: flex;
    justify-content: flex-end;
    animation: fadeInUp 0.8s ease-out;
    gap: 120px;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: var(--cor-principal);
    border: 5px solid var(--bg-primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--shadow-color);
    z-index: 2;
}

.timeline-content {
    width: calc(50% - 62px);
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 8px 32px var(--shadow-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-height: 320px;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--cor-gradiente);
    border-radius: 1.5rem 1.5rem 0 0;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px var(--shadow-color);
    border-color: var(--cor-principal);
}

.experiencia-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.cargo {
    color: var(--cor-principal);
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 0 10px var(--shadow-color);
    line-height: 1.3;
}

.periodo {
    color: var(--text-secondary);
    font-size: 1.05rem;
    font-family: var(--fonte-alternativa);
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: rgba(0, 102, 255, 0.15);
    border-radius: 25px;
    border: 1px solid var(--card-border);
    white-space: nowrap;
}

.empresa {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0.5rem 0 0.8rem 0;
    font-family: var(--fonte-alternativa);
}

.localizacao {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin: 0.5rem 0 1.5rem 0;
    font-family: var(--fonte-alternativa);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.localizacao i {
    color: var(--cor-principal);
    font-size: 1rem;
}

.descricao-experiencia {
    color: var(--text-secondary);
    font-size: 1.3rem;
    line-height: 1.8;
    margin: 1.2rem 0 1.8rem 0;
    font-family: var(--fonte-alternativa);
    font-weight: 400;
}

.tecnologias {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.5rem;
}

.tech-tag {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: rgba(0, 102, 255, 0.12);
    border: 1px solid var(--card-border);
    border-radius: 25px;
    color: var(--cor-principal);
    font-size: 1rem;
    font-family: var(--fonte-alternativa);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-tag:hover {
    background: var(--cor-principal);
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px var(--shadow-color);
}

#section-habilidades {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.titulo-habilidade {
    margin-top: 5rem;
    font-size: 2.5rem;
    background: var(--cor-gradiente);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.titulo-habilidade::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--cor-gradiente);
    border-radius: 2px;
}

.cards-habilidades {
    width: 70%;
    min-height: 10vh;
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: space-evenly;
    margin-top: 4rem;
    gap: 4rem;
}

.card-habilidade {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 12vw;
    min-height: 17vh;
    border-radius: 1rem;
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    box-shadow: 0 8px 32px 0 var(--shadow-color),
                inset 0 0 20px var(--shadow-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.card-habilidade::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(0, 102, 255, 0.3), transparent 30%);
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

.card-habilidade:hover::before {
    opacity: 1;
}

.card-habilidade::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--card-bg);
    border-radius: 1rem;
    z-index: -1;
}

.card-habilidade:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 15px 50px 0 var(--shadow-color),
                inset 0 0 30px var(--shadow-color);
    border-color: var(--cor-principal);
}

.img-habilidade-java {
    max-width: 6rem;
    filter: drop-shadow(0 0 10px rgba(0, 102, 255, 0.3));
    transition: all 0.3s ease;
}

.img-habilidade-js {
    max-width: 4rem;
    margin-top: 20px;
    filter: drop-shadow(0 0 10px rgba(0, 102, 255, 0.3));
    transition: all 0.3s ease;
}

.img-habilidade {
    max-width: 5rem;
    margin-top: 20px;
    filter: drop-shadow(0 0 10px rgba(0, 102, 255, 0.3));
    transition: all 0.3s ease;
}

.card-habilidade:hover .img-habilidade,
.card-habilidade:hover .img-habilidade-js,
.card-habilidade:hover .img-habilidade-java {
    filter: drop-shadow(0 0 20px rgba(0, 102, 255, 0.8));
    transform: scale(1.1) rotate(5deg);
    animation: float 2s ease-in-out infinite;
}

.texto-habilidade {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
    z-index: 1;
}

.texto-habilidade-js {
    margin-top: 1.7rem;
    color: var(--text-primary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    z-index: 1;
}

.card-habilidade:hover .texto-habilidade,
.card-habilidade:hover .texto-habilidade-js {
    color: var(--cor-principal);
    text-shadow: 0 0 10px rgba(0, 102, 255, 0.5);
}

.section-contato {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0 0;
    flex-direction: column;
    height: 100vh;
    position: relative;
    z-index: 1;
}

.contato {
    color: var(--cor-principal);
    font-size: 2.5rem;
    padding: 2rem 0;
    background: var(--cor-gradiente);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.contato::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--cor-gradiente);
    border-radius: 2px;
}

.formulario {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    box-shadow: 0 8px 32px 0 var(--shadow-color),
                inset 0 0 20px var(--shadow-color);
    width: 30vw;
    min-height: 70vh;
    border-radius: 16px;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.formulario::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--cor-gradiente);
}

.formulario:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px 0 rgba(0, 102, 255, 0.4),
                inset 0 0 30px rgba(0, 102, 255, 0.08);
}

.form-input {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
    width: 100%;
    align-items: center;
    transition: transform 0.3s ease;
}

.label-form, .label-mensagem {
    font-size: 1.6rem;
    padding: 0.3rem 0;
    color: var(--cor-principal);
    text-shadow: 0 0 10px rgba(0, 102, 255, 0.3);
}

.input-contato {
    padding: 1.1rem;
    width: 20vw;
    border-radius: 8px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-family: var(--fonte-alternativa);
}

.input-contato:focus {
    outline: none;
    border-color: var(--cor-principal);
    box-shadow: 0 0 20px var(--shadow-color),
                inset 0 0 10px var(--shadow-color);
    transform: scale(1.02);
}

.label-mensagem {
    text-align: center;
}

.input-contato::placeholder {
    color: var(--text-secondary);
}

#mensagem {
    padding: 1rem;
    height: 8rem;
    width: 20rem;
    resize: none;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    background: var(--card-bg);
    color: var(--text-primary);
    font-family: var(--fonte-alternativa);
    transition: all 0.3s ease;
}

#mensagem::placeholder {
    color: var(--text-secondary);
}

#mensagem:focus {
    outline: none;
    border-color: var(--cor-principal);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.3),
                inset 0 0 10px rgba(0, 102, 255, 0.1);
    transform: scale(1.02);
}

.btn-div {
    margin-top: 1rem;
}

.btn {
    background: var(--cor-gradiente);
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    border: none;
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
    font-family: var(--fonte-secundaria);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.4);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.6);
}

.btn:active {
    transform: translateY(-1px);
}

.rodape {
    margin-top: 8rem;
    position: relative;
    z-index: 10;
}

.rodape-container {
    text-align: center;
    padding: 2rem 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to top, var(--bg-primary) 80%, transparent);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--card-border);
}

.rodape-container p {
    font-family: var(--fonte-alternativa);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-primary);
    text-shadow: 0 0 10px var(--shadow-color);
}

.ver-mais {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5rem 0;
    padding: 3rem 0;
}

.link-ver-mais {
    text-decoration: none;
    color: #fff;
    padding: 1.5rem 4rem;
    background: var(--cor-gradiente);
    border-radius: 50px;
    font-family: var(--fonte-alternativa);
    font-size: 1.3rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.4);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.link-ver-mais::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.link-ver-mais:hover::before {
    width: 350px;
    height: 350px;
}

.link-ver-mais:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 45px rgba(0, 102, 255, 0.6);
}


@media screen and (max-width:1400px) {
    .formulario {
        width: 45vw;
    }
    .input-contato {
        width: 30vw;
    }
    .btn-div {
        margin: 1rem 0;
    }
    .sobre-mim-texto {
        width: 80%;
        font-size: 1.6rem;
        padding: 2rem 2.5rem;
    }
    .card-habilidade {
        width: 25%;
        height: 20vh;
    }
    .texto-habilidade {
        margin-top: 0.5rem;
    }
    .texto-habilidade-js {
        margin-top: 0.8em;
    }
    .img-habilidade {
        margin-top: 0;
        max-width: 8rem;
    }
    .img-habilidade-js {
        margin-top: 0.8rem;
        max-width: 9rem;
    }
    .img-habilidade-java {
        margin-top: 0.5rem;
        max-width: 9rem;
    }
    .projeto {
        width: calc(45% - 2rem);
        min-height: 48vh;
    }
    .texto-projeto {
        font-size: 1.15rem;
    }
    .theme-toggle {
        width: 55px;
        height: 55px;
        top: 1.5rem;
        right: 1.5rem;
    }
    .theme-toggle-icon {
        font-size: 1.6rem;
    }
}

@media screen and (max-width:1200px) {
    .sobre-mim-texto {
        width: 85%;
        font-size: 1.55rem;
        padding: 2rem 2.2rem;
    }
    .projeto {
        width: calc(48% - 2rem);
        min-height: 50vh;
    }
    .texto-projeto {
        font-size: 1.1rem;
    }
}


@media screen and (max-width:990px) {
    .formulario {
        width: 60vw;
    }
    .input-contato {
        width: 45vw;
    }
    #mensagem {
        width: 45vw;
    }
    .btn-div {
        margin: 1rem 0;
    }
    .sobre-mim-texto {
        width: 88%;
        font-size: 1.5rem;
        padding: 2rem;
        line-height: 1.9;
    }
    .card-habilidade {
        width: 40%;
        min-height: 18vh;
    }
    .projeto {
        width: calc(70% - 2rem);
        min-height: 50vh;
    }
    .texto-projeto {
        font-size: 1.3rem;
    }
    .projeto h3 {
        font-size: 1.7rem;
    }
    .img {
        width: 25vw;
        height: 20vh;
    }
    .nome {
        font-size: 2.2rem;
    }
    .nav-container-tittle {
        font-size: 1.8rem;
    }
    .theme-toggle {
        width: 50px;
        height: 50px;
        top: 1rem;
        right: 1rem;
    }
    .theme-toggle-icon {
        font-size: 1.4rem;
    }
}

@media screen and (max-width:768px) {
    .sobre-mim-texto {
        width: 90%;
        font-size: 1.45rem;
        padding: 1.8rem;
        line-height: 1.8;
    }
    .projeto {
        width: calc(85% - 2rem);
        min-height: 48vh;
    }
    .texto-projeto {
        font-size: 1.25rem;
    }
    .card-habilidade {
        width: 42%;
    }
    
    /* Responsividade da Timeline */
    .timeline::before {
        left: 25px;
    }
    
    .timeline-item {
        justify-content: flex-start !important;
        padding-left: 70px;
        margin-bottom: 3.5rem;
    }
    
    .timeline-dot {
        left: 25px;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
    }
    
    .timeline-item:hover .timeline-dot {
        transform: translateY(-50%) scale(1.3);
    }
    
    .timeline-content {
        width: 100%;
        padding: 2rem;
        min-height: 280px;
    }
    
    .experiencia-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .cargo {
        font-size: 1.6rem;
    }
    
    .periodo {
        font-size: 0.95rem;
        padding: 0.4rem 0.9rem;
    }
    
    .empresa {
        font-size: 1.3rem;
    }
    
    .localizacao {
        font-size: 1rem;
    }
    
    .descricao-experiencia {
        font-size: 1.15rem;
        line-height: 1.7;
    }
    
    .tech-tag {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}


@media screen and (max-width:610px) {
    .card-habilidade {
        width: 45%;
        min-height: 20vh;
    }
    .formulario {
        width: 80vw;
    }
    .input-contato {
        width: 65vw;
    }
    #mensagem {
        width: 65vw;
    }
    
    .timeline-item {
        padding-left: 55px;
        margin-bottom: 3rem;
    }
    
    .timeline-dot {
        width: 18px;
        height: 18px;
    }
    
    .timeline-content {
        padding: 1.8rem;
        min-height: 260px;
    }
    
    .tech-tag {
        font-size: 0.85rem;
        padding: 0.45rem 0.85rem;
    }
    
    .cargo {
        font-size: 1.5rem;
    }
    
    .periodo {
        font-size: 0.9rem;
    }
    
    .empresa {
        font-size: 1.25rem;
    }
    
    .localizacao {
        font-size: 0.95rem;
    }
    
    .descricao-experiencia {
        font-size: 1.1rem;
        line-height: 1.65;
    }
    
    .sobre-mim-texto {
        width: 92%;
        font-size: 1.4rem;
        padding: 1.8rem 1.5rem;
        line-height: 1.75;
    }
    .img {
        width: 35vw;
        height: 18vh;
    }
    .nome {
        font-size: 2rem;
    }
    .projeto-nome {
        font-size: 2rem;
    }
    .titulo-habilidade {
        font-size: 2.2rem;
    }
    .projeto {
        width: calc(90% - 2rem);
        min-height: 52vh;
    }
    .texto-projeto {
        font-size: 1.2rem;
    }
    .projeto h3 {
        font-size: 1.6rem;
    }
    .theme-toggle {
        width: 50px;
        height: 50px;
    }
}

@media screen and (max-width:430px) {
    .texto-habilidade {
        font-size: 1.2rem;
    }
    .formulario {
        width: 90vw;
        min-height: 65vh;
    }
    .input-contato {
        width: 75vw;
    }
    #mensagem {
        width: 75vw;
        height: 7rem;
    }
    .sobre-mim-texto {
        width: 94%;
        font-size: 1.25rem;
        padding: 1.5rem 1.2rem;
        line-height: 1.7;
    }
    .img {
        width: 45vw;
        height: 16vh;
    }
    
    /* Timeline em telas pequenas */
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 50px;
        margin-bottom: 2.5rem;
    }
    
    .timeline-dot {
        left: 20px;
        width: 16px;
        height: 16px;
        border-width: 4px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .timeline-item:hover .timeline-dot {
        transform: translateY(-50%) scale(1.3);
    }
    
    .timeline-content {
        padding: 1.5rem;
        min-height: 220px;
    }
    
    .cargo {
        font-size: 1.3rem;
    }
    
    .periodo {
        font-size: 0.85rem;
        padding: 0.4rem 0.7rem;
    }
    
    .empresa {
        font-size: 1.15rem;
    }
    
    .localizacao {
        font-size: 0.9rem;
    }
    
    .descricao-experiencia {
        font-size: 1rem;
        line-height: 1.6;
        margin: 1rem 0 1.3rem 0;
    }
    
    .tecnologias {
        gap: 0.6rem;
        margin-top: 1.2rem;
    }
    
    .tech-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.7rem;
    }
    
    .texto-projeto {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    .projeto {
        width: calc(95% - 1rem);
        min-height: 50vh;
        padding: 1.5rem 1rem;
    }
    .projeto h3 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }
    .projetos a {
        font-size: 1rem;
        padding: 0.7rem 1.2rem;
    }
    .card-habilidade {
        width: 70%;
        height: 22vh;
    }
    .texto-habilidade {
        margin-top: 0.5rem;
        font-size: 1.3rem;
    }
    .texto-habilidade-js {
        margin-top: 0.8em;
        font-size: 1.3rem;
    }
    .img-habilidade {
        margin-top: 0;
        max-width: 7rem;
    }
    .img-habilidade-js {
        margin-top: 0.8rem;
        max-width: 6rem;
    }
    .img-habilidade-java {
        margin-top: 0.5rem;
        max-width: 8rem;
    }
    .nome {
        font-size: 1.6rem;
    }
    .nav-container-tittle {
        font-size: 1.3rem;
        width: 18ch;
    }
    .link {
        font-size: 1.4rem;
    }
    .icones {
        margin: 1rem 1rem;
    }
    .projeto-nome {
        font-size: 1.8rem;
    }
    .titulo-habilidade {
        font-size: 2rem;
    }
    .contato {
        font-size: 2rem;
    }
    .theme-toggle {
        width: 45px;
        height: 45px;
        top: 1rem;
        right: 1rem;
    }
    .theme-toggle-icon {
        font-size: 1.2rem;
    }
}

/* Scroll bar personalizado */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--cor-gradiente);
    border-radius: 6px;
    border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #4d94ff 0%, #0066ff 100%);
}

/* Loader inicial */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    display: flex;
    gap: 1rem;
}

.loader-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--cor-gradiente);
    animation: bounce 1.4s infinite ease-in-out both;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.5);
}

.loader-circle:nth-child(1) {
    animation-delay: -0.32s;
}

.loader-circle:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}
