*{
    margin: 0;
    box-sizing: border-box;
    color: white;
}

body{
    background-color: rgb(0, 0, 0);
}
@font-face {
    font-family: lemon-bold;
    src: url(fonts/LEMONMILK-Bold.otf);
}
@font-face {
    font-family: lemon-light;
    src: url(fonts/LEMONMILK-Light.otf);
}

@font-face {
    font-family: lemon-medium;
    src: url(fonts/LEMONMILK-Medium.otf);
}
@font-face {
    font-family: cabinetGrotesk-medium;
    src: url(fonts/CabinetGrotesk_Complete/CabinetGrotesk-Medium.otf);
}
@font-face {
    font-family: lemon-regular;
    src: url(fonts/LEMONMILK-Regular.otf);
}
@font-face {
    font-family: grotesk-bold;
    src: url(fonts/CabinetGrotesk_Complete/CabinetGrotesk-Bold.otf);
}

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    p{
        text-align: center;
        font-family: lemon-bold;
        font-size: 3vw;
        color: black;
    }

    img{
        width: 15%;
    }
}

.hero{
    width: 100%;
    padding: 30px;
    .txt-hero{
background: linear-gradient(0.25turn,#1C79C4, #4796D7, #73abda );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}

    
    h1{
        font-family: lemon-bold;
        font-size: 4vh;
    }
    h2{
        font-family: lemon-light;
        font-size: 3.5vh;
    }

}

section{
    h2{
        font-family: lemon-light;
    }
}


  




.carrosel{
    overflow-x: auto;
    margin: 90px;
    width: 90%;
    display: flex;
    scrollbar-width: none;
    mask-image: linear-gradient(to right, transparent, black 10% 90%, transparent);


    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
}

@keyframes spin {
    from {translate: 0;}
    to {translate: -100%}
    
}

.carrosel::-webkit-scrollbar{
    display: none;
}

.grupo{
    animation: spin 30s infinite linear;
    display: flex ;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
}

.card{
    flex: 0 0 5em; 
    align-content: center;
    padding: 10px;
    gap: 10px;
    background: transparent;
    outline: none;
    box-shadow: none;
    margin: 20px;
    img{
        border-radius: 20px;
        display: block;
        width: 20vw;

    }

}

/* Todas as imagens do carrossel começam em preto e branco */
.card img {
    filter: grayscale(100%);
}

/* Apenas a imagem ativa fica colorida */
.card.active img {
    filter: grayscale(0%);
    transform: scale(1.25);

}

article {
    border-radius:25px ;
    margin: 20px;
    padding: 100px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* Transição suave de 0.5s ao trocar de fundo */
    transition: background-image 2s ease-in-out; 
    h3{
        background:linear-gradient(0.25turn,#1C79C4, #4796D7, #73abda );
        font-size: 5vw;
        color: white;
        font-family: cabinetGrotesk-medium;
        white-space: nowrap;
        border-radius: 12px;
        padding: 10px ;
        text-align: center;
    }
    p{
        margin: 20px;
        color: white;
        font-family: grotesk-bold;
    }
}

.servico-artigo {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 250px; /* Garante altura suficiente para ver o fundo */
    overflow: hidden;
}


button{
    border: none;
    background: linear-gradient(0.25turn,#1C79C4, #4796D7, #73abda );
    color: #FCF8D9;
    border-radius: 5px ;
    font-family: boska-bold;
    padding: 12px 28px;
    font-size: clamp(0.775rem, 0.5vw + 0.7rem, 1.125rem);
    white-space: nowrap;
    
}

button:hover{
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

nav{
    background-color: #FCF8D9;
}

@media (max-width: 720px){ 
    .hero{
        margin-bottom: 100px;
    }

    footer{
        flex-direction: column;
        align-items: center;
        text-align: center;

        p{
            flex-direction: column;
        }

        gr{
            align-items: center;
        }
    }

    nav{
        padding: 10px;
        gap: 5px;
        P{
            text-align: center;
            font-size: 15px;
        }
        button{
            font-size: 3vh;
        }
    }

    article{
    padding: 20px;

    }

    .carrosel{
        margin: 50px;
    }

    .card{
        img{
        width: 20vh
    }
    }

}

footer{
    font-family: lemon-regular;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    direita{
        button{
            display: flex;
            align-items: center;
        }
        P{
            
            gap: 20px;
            margin: 30px;
            display: flex;
            align-items: center;
            border-radius: 4px;
            padding: 12px;

        }

    }
    a{
        text-decoration: none;
    }
}

