* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue: #4F39F6;
    --default-padding: 0 1rem;
    --bg-fade: #F8FAFC;
    --speed: 40s;
}

body {
    font-family: "Inter", sans-serif;
}

html{
    scroll-behavior: smooth;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

.container {
    max-width: 520px;
    margin: 0 auto;
    position: relative;
    background: #F8FAFC;
}

.title-container {
    text-align: center;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;

    h2 {
        color: #0F172B;
    }

    .line {
        background: var(--blue);
        width: 120px;
        height: 4px;
        border-radius: 30px;
        margin: 0 auto;
    }
}


.fade-up {
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    opacity: 0;
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}



header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 520px;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
    padding: 8px 1rem;
    z-index: 10;

    .logo {
        display: flex;
        align-items: center;
        gap: 8px;

        img {
            width: 28px;
        }
    }

    .mobile {
        width: 48px;
        aspect-ratio: 1/1;
        cursor: pointer;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;

        .close {
            position: absolute;
            display: flex;
            z-index: 10;
            display: none;
        }

        .close.active {
            display: block;
        }

    }

    .navigation {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        background: #FFF;
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        width: 520px;
        background: #FFFFFF;
        padding: 30px;
        top: -220px;
        transition: top 0.3s ease;

        li {
            border-bottom: 1px solid rgb(241, 245, 249);
            width: 100%;
            text-align: center;
            padding-bottom: 1rem;
        }

        li:last-child {
            border-bottom: none;
        }

        a {
            color: oklch(0.279 0.041 260.031);
            font-size: 1.2em;
            width: 100%;
        }
    }

    .navigation.opened {
        top: 60px;
    }

}


main {

    .text-content {
        padding: 120px 1rem 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        background: #F8FAFC;

        h1 {
            font-weight: 800;
            font-family: "Poppins", sans-serif;
            line-height: 1.3;
        }

        .contrast {
            color: var(--blue);
        }

        p {
            color: #45556C;
            font-size: 1rem;
        }

        .cta-buttons {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            margin: 1rem 0;
            gap: 1rem;

            a {
                max-width: 320px;
                padding: 12px;
                width: 100%;
                font-weight: 600;
                border-radius: 12px;
                font-size: 1.1em;
                display: flex;
                align-items: center;
                gap: 6px;
                justify-content: center;
            }

            .view-project {
                background: var(--blue);
                color: #FFFFFF;
                box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, oklab(0.87 0.0045783 -0.0648386) 0px 10px 15px -3px, oklab(0.87 0.0045783 -0.0648386) 0px 4px 6px -4px;
            }

            .cta-whatsapp {
                background: #FFFFFF;
                color: #314158;
                border: 1px solid rgba(49, 65, 88, 0.2);
            }
        }
    }

    #projects {
        background: #FFFFFF;
        padding: 1rem;
        margin: 2rem 0;

        .cards {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            margin: 3rem 0;
            gap: 3rem;

            .card {
                max-width: 360px;
                overflow: hidden;
                box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
                border-radius: 12px;
                position: relative;

                .card-image {
                    width: 100%;
                    background: #F8FAFC;

                    img {
                        width: 100%;
                        object-fit: cover;
                    }



                }

                .text-card {
                    padding: 1rem;

                    h3 {
                        color: #0F172B;
                    }

                    ul {
                        margin: 1rem 0;
                        display: flex;
                        flex-direction: column;
                        gap: 10px;
                        color: #4a5463;
                    }

                    li {
                        display: flex;
                        align-items: center;
                        gap: 8px;
                        font-size: 0.9em;
                    }

                    .viewProject {
                        display: block;
                        background: var(--blue);
                        color: #FFF;
                        font-weight: 600;
                        padding: 10px;
                        width: 100%;
                        text-align: center;
                        border-radius: 8px;

                    }

                    button {
                        background: none;
                        border: none;
                        color: #FFF;
                        font-weight: 600;
                        font-family: "Inter", sans-serif;
                        font-size: 1em;
                    }
                }

                .type {
                    color: var(--blue);
                    padding: 6px 16px;
                    font-weight: 700;
                    position: absolute;
                    top: 10px;
                    left: 10px;
                    border-radius: 30px;
                    background: #FFF;
                    border: 1px solid #e2e0e0;
                    font-size: .8em;
                    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
                }
            }
        }
    }

    #all-projects{
        .title-container{
            margin-bottom: 3rem;
        }
    }
}



/* Ajustei para a classe correta: .slider-container */
.slider-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  background-color: #F8FAFC;
  height: 90vh;
}

/* Agora referenciando a classe correta */
.slider-container::before,
.slider-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 200px; /* Largura da zona de fade */
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.slider-container::before {
  left: 0;
  /* Gradiente: começa com a cor de fundo e vai para transparente rápido */
  background: linear-gradient(to right, #F8FAFC 0%, transparent 60%);
}

.slider-container::after {
  right: 0;
  /* Invertido para a direita */
  background: linear-gradient(to left, #F8FAFC 0%, transparent 60%);
}

.slider-track {
  display: flex;
  width: max-content;
  animation: scroll 40s linear infinite;
  align-items: center;
}

.slide {
  flex-shrink: 0;
  padding: 0 15px;
  height: 80%; /* Garante que a imagem tenha espaço dentro dos 90vh */
}

.slide img {
  height: 100%; /* Respeita a altura do slide */
  width: auto;
  display: block;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


#about-us{
    margin: 5rem 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 3rem 1rem;
    background-image: url('../assets/eu.png');
    background-size: cover;
    position: relative;
    width: 100%;
    min-height: 50vh;

    .info{
        position: relative;
        z-index: 3;
        color: #FFF;

        h2{
            font-size: 2rem;
            margin-bottom: 1.2rem;
            text-align: center;
        }

        p{
            line-height: 1.8;
            color: #d6d6d6;
            text-align: center;
        }
    }
}
#about-us::before{
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(74, 63, 62, 0.9);
    z-index: 2;
}


#CTA-FINAL{
    background-color: #0B0E14;
    background-image:
    radial-gradient(circle at 0% 100%, rgba(120, 50, 200, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 100% 0%, rgba(50, 80, 255, 0.2) 0%, transparent 50%);

    width: 100%;

    text-align: center;
    padding: 3rem 1rem;

    h2{
        color: #FFF;
        font-size: 2.1rem;
        line-height: 1.1;
    }

    p{
        color: oklch(0.869 0.022 252.894);
        margin: 1rem 0;
        line-height: 1.6;
    }

    .cta-buttons{
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 1rem;

        a{
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%;
            padding: 1rem;
            border-radius: 10px;
            color: #FFFFFF;
            font-weight: 600;
        }

        .cta-whatsapp{
            background: #00C950;
        }

        .cta-email{
            background-color: oklab(1 0 5.96046e-8 / 0.1);
            border: 1px solid oklab(1 0 5.96046e-8 / 0.2);
        }
    }

    .github{
        display: block;
        margin: 3rem 0 0;
        color: oklch(0.704 0.04 256.788);
        cursor: pointer;
    }
}

footer{
    background: #020618;
    padding: 2rem 5px;
    color: oklch(0.704 0.04 256.788);
    font-size: 0.9em;
}