@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

:root {
    --cor-fundo: #181c24;
    --cor-destaque: #f5fd60;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

a{
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

h2 {
    color: var(--cor-destaque);
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    background: var(--cor-fundo);
    color: #f1f1f1;
}

header {
    background: #23283a;
    padding: 2rem 1rem;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

header p {
    margin: 0.5rem 0 1rem 0;
    font-size: 1.2rem;
    color: var(--cor-destaque);
}

nav{
    display: flex;
    gap: 20px;
}

nav .logo{
    height: 64px;
    width: 64px;
    background: #18181B;
    border: 1px solid #27272A;
    border-radius: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav .logo i{
    font-size: 26px;
    color: #388E3C;
}

nav .title {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 66px;
    background-color: #18181B;
    border: 1px solid #27272A;
    border-radius: 48px;
}

nav .title a {
    font-size: 20px;
}

nav .links a{
    font-size: 20px;
}

nav .links a.active{
    font-weight: bold;
    color: #388E3C;
}

.about{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 42px;
    background: #18181B;
    border: 1px solid #27272A;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 14px;
}

.about .left h3{
    color: #BDBDBD;
    font-size: 24px;
    font-weight: 400;
}

.about .left .info{
    margin-top: 70px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about .left .info h2{
    font-size: 36px;
    color: #fff;
    font-weight: 500;
}

.about .left .info p{
    font-size: 20px;
    color: #BDBDBD;
}

.about .left .info .buttons{
    display: flex;
    gap: 14px;
}

.about .left .info .buttons button{
    font-size: 16px;
    padding: 6px 10px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.about .left .info .buttons button.hire{
    color: #fff;
    background: #388E3C;
    border: 1px solid #171717;
}

.about .left .info .buttons button.hire:hover{
    background: #4CAF50;
}

.about .left .info .buttons button.email{
    color: #BDBDBD;
    border: 1px solid #27272A;
    background: #171717;
}

.about .left .info .buttons button.email:hover{
    background: #000;
}

.about .right a.online,
footer a.online{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #171717;
    border: 1px solid #27272A;
    padding: 4px 15px;
    border-radius: 14px;
    font-size: 13px;
}

.about .right a.online i,
footer a.online i{
    color: #4CAF50;
    font-size: 9px;
}

.about .right img{
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 8px solid #2c2c2c;
    object-fit: cover;
    margin-top: 70px;
}

.works{
    display: flex;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.works .left{
    flex: 1;
    background: #18181B;
    padding: 60px 40px;
    border-radius: 14px;
    border: 1px solid #27272A;
}

.works .left h3{
    color: #BDBDBD;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
}

.works .left h3 i{
    font-size: 8px;
}

.works .left .works-list{
    margin-top: 70px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.works .left .works-list .item{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.works .left .works-list .item .work-info h5{
    color: #fff;
    font-size: 24px;
    font-weight: 500;
}

.works .left .works-list .item .work-info h5.active{
    color: #388E3C;
}

.works .left .works-list .item .work-info p{
    margin-top: 12px;
    color: #BDBDBD;
    font-size: 20px;
}

.works .left .works-list .item > p {
    font-size: 20px;
    color: #BDBDBD;
}

.works .right{
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 40% auto;
    gap: 20px;
}

.works .right .item:first-child{
    grid-column: span 2;
}

.works .right .item{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    background: #18181B;
    border: 1px solid #27272A;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.works .right .item:hover a{
    color: #388E3C;
}

.works .right .item a{
    font-size: 24px;
    font-weight: 500;
    color: #fff;
}

.works .right .item > p{
    color: #BDBDBD;
    font-size: 17px;
    line-height: 26px;
}

.works .right .item:not(:first-child){
    gap: 14px;
}

.works .right .item:not(:first-child) a{
    font-size: 18px;
}

.works .right .item:not(:first-child) p{
    font-size: 15px;
}

.project {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 42px;
    background: #18181B;
    border: 1px solid #27272A;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 14px;
}

.project .left, .project .right {
    flex: 1;
}

.project .left {
    text-align: center;
    line-height: 1.6;
}

.project .left h5 {
    color: #fff;
    font-size: 24px;
    font-weight: 500;
}

.project .left p {
    color: #BDBDBD;
    font-size: 20px;
}

.project .right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.project .right img {
    width: 500px;
    height: auto;
    border-radius: 14px;
    border: 1px solid #27272A;
    object-fit: contain;
}

footer{
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #18181B;
    border: 1px solid #27272A;
    border-radius: 14px;
    padding: 45px;
}

footer > a{
    font-size: 24px;
    font-weight: 500;
}

footer .socials{
    display: flex;
    align-items: center;
    gap: 12px;
}

footer .socials a{
    font-size: 20px;
    font-weight: 500;
    color: #BDBDBD;
}

.centralizado {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.projetos-lista {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

form {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    max-width: 400px;
    align-items: center;
}

input, textarea {
    width: 100%;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

p:not(div > p) {
    text-align: center;
    font-family: 'Inter', sans-serif;
    color: #BDBDBD;
}

h1:not(div > h1), .title h1 {
    text-align: center;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
}

main.centralizado > section {
    margin-bottom: 90px;
    width: 100%;
    max-width: 1100px;
}

#sobre {
    margin-top: 72px;
}

section {
    margin-bottom: 90px;
}

#projetos h2 {
    margin-bottom: 32px;
}

.projetos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 100px;
    width: 100%;
    justify-self: center;
    justify-items: center;
}

.projeto-card {
    background: #23283a;
    border-radius: 18px;
    box-shadow: 0 2px 12px #0002;
    padding: 28px 22px 22px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s;
    min-width: 0;
}

.projeto-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 6px 24px #0004;
}

.projeto-card img {
    width: 300px;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
    border: 3px solid var(--cor-destaque);
    margin-bottom: 18px;
    box-shadow: 0 2px 8px #0003;
    background: #181c24;
}

.projeto-card h3 {
    margin: 0 0 10px 0;
    color: var(--cor-destaque);
    font-size: 1.3rem;
}

.projeto-card p {
    color: #BDBDBD;
    font-size: 1rem;
    margin-bottom: 18px;
    min-height: 48px;
}

.projeto-icones {
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
    font-size: 1.6rem;
    justify-content: center;
    width: 100%;
}

.projeto-icones i {
    color: var(--cor-destaque);
    filter: drop-shadow(0 1px 2px #0006);
    transition: color 0.2s;
}

.projeto-icones i.fa-windows:hover {
    color: #2196f3;
}

.projeto-icones i.fa-linux:hover {
    color: #ffd600;
}

.projeto-icones i.fa-android:hover {
    color: #388E3C;
}

.projeto-card a {
    margin-top: 8px;
    color: #181c24;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    padding: 6px 18px;
    background: var(--cor-destaque);
    border: 1px solid var(--cor-destaque);
    transition: background 0.2s, color 0.2s, border 0.2s;
    font-size: 1rem;
}

.projeto-card a:hover {
    background: #e6f200;
    color: #181c24;
    border: 1px solid #e6f200;
}

.profile-video {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 400px;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    min-height: 400px;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

.profile-vignette {
    position: absolute;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    min-height: 400px;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.97) 0%,
        rgba(0,0,0,0.85) 30%,
        rgba(0,0,0,0.6) 60%,
        rgba(0,0,0,0.18) 85%,
        rgba(0,0,0,0) 100%
    );
}

.profile-title {
    position: absolute;
    top: 50%;
    left: 7vw;
    right: auto;
    transform: translateY(-50%);
    z-index: 3;
    color: #fff;
    text-shadow: 0 4px 24px #000b, 0 1px 2px #000a;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: auto;
    pointer-events: none;
}

.profile-title h1,
.profile-title h3 {
    display: block;
    width: auto;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}

.profile-title h1 {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
    background: none;
    padding: 12px 0 0 0;
    border-radius: 0;
    box-shadow: none;
    pointer-events: auto;
}

.profile-title h3 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--cor-destaque);
    margin-top: 10px;
    letter-spacing: 1px;
    background: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.topbar {
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    background: rgba(24,28,36,0.92);
    box-shadow: 0 2px 16px #0005;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 48px 0 0;
}

.topbar-title {
    flex-grow: 1;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cor-destaque);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-logo {
    height: 32px;
    width: 32px;
    object-fit: contain;
    border-radius: 8px;
    margin-right: 4px;
}

.topbar-links {
    display: flex;
    gap: 36px;
}

.topbar-links a {
    color: var(--cor-destaque);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.2s;
    border-bottom: 2px solid transparent;
}

.topbar-links a:hover,
.topbar-links a:focus {
    color: #219ebc;
    border-bottom: 2px solid #219ebc;
}

.contato-redes {
    display: flex;
    gap: 22px;
    justify-content: center;
    margin-top: 28px;
}

.contato-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.7rem;
    background: #23283a;
    color: var(--cor-destaque);
    border: 2px solid var(--cor-destaque);
    transition: transform 0.18s, background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px #0002;
    text-align: center;
}

.contato-btn:hover,
.contato-btn:focus {
    transform: scale(1.18);
    background: #23283a;
    color: var(--cor-destaque);
    border-color: var(--cor-destaque);
    box-shadow: 0 4px 16px #0004;
}

/* Remova os efeitos de hover específicos das redes sociais */
.contato-btn.instagram:hover,
.contato-btn.twitter:hover,
.contato-btn.bluesky:hover,
.contato-btn.youtube:hover {
    background: #23283a;
    color: var(--cor-destaque);
    border-color: var(--cor-destaque);
}

.habilidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 56px;
    width: 100%;
    justify-items: center;
    margin-top: 36px;
}

.habilidade-card {
    background: #23283a;
    border-radius: 18px;
    box-shadow: 0 2px 12px #0002;
    padding: 0 0 22px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    max-width: 320px;
    width: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.habilidade-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 6px 24px #0004;
}

.habilidade-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 18px 18px 0 0;
    margin-bottom: 18px;
    background: #181c24;
}

.habilidade-card h3 {
    margin: 0 0 10px 0;
    color: var(--cor-destaque);
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
}

.habilidade-card p {
    color: #BDBDBD;
    font-size: 1rem;
    margin: 0 18px;
    text-align: center;
    opacity: 0.85;
}

.profile-down-arrow {
    position: absolute;
    left: 50%;
    bottom: 36px;
    transform: translateX(-50%);
    z-index: 5;
    pointer-events: none;
    animation: arrow-bounce 1.6s infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1em;
}

.profile-down-arrow i {
    font-size: 2.1rem;
    color: #fff;
    opacity: 0.92;
    filter: drop-shadow(0 2px 8px #000b);
    line-height: 1;
}

.profile-down-arrow i + i {
    margin-top: -0.5em;
    font-size: 2.7rem;
}

@keyframes arrow-bounce {
    0%   { transform: translateX(-50%) translateY(0); }
    50%  { transform: translateX(-50%) translateY(18px);}
    100% { transform: translateX(-50%) translateY(0);}
}

.sobre-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    width: 100%;
    margin-top: 32px;
}

.sobre-foto {
    flex: 0 0 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sobre-foto img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid var(--cor-destaque);
    background: #23283a;
    box-shadow: 0 2px 12px #0003;
}

.sobre-texto {
    flex: 1 1 0;
    text-align: left;
    font-size: 1.15rem;
    color: #BDBDBD;
    line-height: 1.7;
}

@media (max-width: 700px) {
    .sobre-flex {
        flex-direction: column;
        gap: 24px;
        align-items: center;
        text-align: center;
    }
    .sobre-texto {
        text-align: center;
        font-size: 1rem;
    }
    .sobre-foto img {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 700px) {
    .profile
-video {
        height: 60vw;
        min-height: 220px;
    }
    .bg-video,
    .profile
-vignette {
        height: 60vw;
        min-height: 220px;
    }
    .profile
-title {
        top: 60%;
        left: 0;
        right: 0;
        width: 100vw;
        justify-content: center;
    }
    .profile
-title h1 {
        font-size: 2rem;
        padding: 8px 18px 8px 10px;
    }

    .topbar {
        padding: 0 10px 0 0;
        height: 44px;
    }
    .topbar-links {
        gap: 16px;
    }
    .topbar-links a {
        font-size: 1rem;
        padding: 6px 0;
    }
}

@media screen and (max-width: 1220px) {
    
    .about{
        padding: 60px 30px;
    }

    .works{
        flex-direction: column;
    }

    .works .left,
    .works .right .item,
    footer{
        padding: 40px 30px;
    }

    .works .right{
        grid-template-rows: auto auto;
    }

}

@media screen and (max-width: 992px) {
    nav .title{
        padding: 0 40px;
    }

    footer > a{
        font-size: 20px;
    }

    footer .socials a{
        font-size: 16px;
    }

}

@media screen and (max-width: 768px) {
    
    nav .title a{
        font-size: 16px;
    }

    .about{
        flex-direction: column-reverse;
        gap: 20px;
        padding: 30px;
    }

    .about .left .info{
        margin-top: 30px;
    }

    .about .right img{
        margin-top: 20px;
    }



    footer a.online{
        display: none;
    }

}

@media screen and (max-width: 576px) {

    .about .left .info h2{
        font-size: 30px;
    }

    .about .left .info p,
    .works .left .works-list .item .work-info p,
    .works .left .works-list .item > p{
        font-size: 16px;
    }

    .about .left .info .buttons button{
        font-size: 14px;
    }

    .works .left .works-list{
        margin-top: 40px;
    }

    .works .left .works-list .item .work-info h5,
    .works .right .item a{
        font-size: 20px;
    }

    .works .right .item > p,
    .works .right .item:not(:first-child) a{
        font-size: 15px;
    }

    .works .right .item:not(:first-child) p{
        font-size: 13px;
    }

}

@media (max-width: 900px) {
    .projetos-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .projetos-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .projeto-card img {
        width: 100%;
        height: 180px;
    }
    main.centralizado > section {
        padding: 0 8px;
    }
}

header.centralizado {
    display: none;

    main.centralizado > section {
        padding: 0 8px;
    }
}

header.centralizado {
    display: none;
}
