header {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

header nav {
    height: 100%;
    display: flex;
    align-items: center;
}

.navlist {
    display: flex;
    gap: 4rem;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 1000;
    position: relative; 
}

.navlist li a {
    color: white;
    font-size: 1.4rem;
    font-weight: 300;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.navlist li:hover {
    transform: scale(1.1);
}

.navlist li:active {
    color: var(--cinza, #888);
    transform: scale(1.1);
}

.menuMobile {
    display: none;
}

.logo {
    display: none;
}


#particles-js {
    position: fixed;
    width: 100%;
    height: 200vh;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

.bg-white-section {
    background-color: #ddd;
    position: relative;
    z-index: 1;
}

#destaque {
    position: relative;
    height: calc(100vh - 100px);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#destaque h1,
#destaque p,
#destaque button {
    position: relative;
    z-index: 2;
    color: white;
    margin: 0;
}

#destaque h1 {
    font-size: 4rem;
}

#destaque p {
    font-size: 3.2rem;
}

#destaque button {
    background: transparent;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-top: 5rem;
}

#destaque button:hover {
    transform: scale(1.1);
}

#destaque button img {
    width: 50px;
    height: auto;
}

#sobre {
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
}

.esquerdaSobre {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.direitaSobre {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem;
    text-align: left;
}

.direitaSobre h1 {
    color: white;
    font-size: 2.4rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

.direitaSobre p {
    color: white;
    width: 100%;
    font-size: 1.5rem;
    font-weight: 300;
}

#sobre img {
    position: relative;
    z-index: 8;
    width: 500px;
    height: auto;
    border-radius: 15px;
    filter: grayscale(20%) contrast(105%);
}

#conhecimentos {
    width: 100%;
    padding: 2rem 1rem;
    box-sizing: border-box;
    background-color: #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#conhecimentos h1 {
    text-align: center;
    color: #000;
    padding: 45px 0;
    font-size: 2.4rem;
    font-weight: 400;
    margin: 0;
}

.container-slide {
    width: 40vw;
    overflow: hidden;
    position: relative;
}

.container-slide::before,
.container-slide::after {
    content: "";
    position: absolute;
    top: 0;
    width: 3rem;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.container-slide::before {
    left: 0;
    background: linear-gradient(to right, #ddd 0%, transparent 100%);
}

.container-slide::after {
    right: 0;
    background: linear-gradient(to left, #ddd 0%, transparent 100%);
}

.paginas-slide {
    display: flex;
    gap: 2rem;
    animation: anima 20s linear infinite;
    width: max-content;
}

.paginas-slide img {
    width: 60px;
    flex-shrink: 0;
}

@keyframes anima {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-920px);
    }
}

.grid-conhecimentos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    width: 100%;
}

.card-conhecimento {
    background: linear-gradient(135deg, #f9f9f9, #eaeaea);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card-conhecimento:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.158);
}

.card-conhecimento img {
    width: 65px;
    margin-bottom: 1.2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.267));
}

.card-conhecimento h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #111;
    font-weight: 500;
}

.card-conhecimento p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
    margin: 0;
    max-width: 90%;
}

/* Projetos */

#projetos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 0 2rem;
    text-align: center;
}

#projetos h1 {
    color: white;
    font-size: 2.4rem;
    font-weight: 400;
    margin-bottom: 10rem;
}

.projetos-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem; 
    width: 100%;
}

.card-projeto {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #000;
    border-radius: 16px;
    padding: 100px 40px;
    max-width: 500px;
    width: 100%;
    backdrop-filter: blur(4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card-projeto:hover {
    transform: translateY(-5px);
}

.card-projeto h2 {
    font-size: 2rem;
    margin: 1.5rem 0 1rem;
    color: white;
}

.card-projeto p {
    font-size: 1.2rem;
    color: #ddd;
}

.spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 5px solid #000;
    border-top: 5px solid #555;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.card-projeto video {
    width: 100%;       
    height: auto;     
    border-radius: 12px; 
    margin-bottom: 20px; 
    display: block;   
    object-fit: cover; 
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.card-projetoo {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #000;
    border-radius: 16px;
    padding: 100px 40px;
    max-width: 500px;
    width: 100%;
    height: auto;
    backdrop-filter: blur(4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card-projetoo img {
    width: 100%;       
    max-height: 300px; 
    border-radius: 12px;
    object-fit: cover; 
}

.card-projetoo h2 {
    font-size: 2rem;
    margin: 1.5rem 0 1rem;
    color: white;
}

.card-projetoo p {
    font-size: 1.2rem;
    color: #ddd;
}

a {
    text-decoration: none; 
    color: inherit;        
    display: inline-block; 
}


#contato {
    min-height: 100vh;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#contato h2 {
    margin-bottom: 5.5rem;
    color: #ffffff;
    font-size: 2.4rem;
    font-weight: 400;
}

#form-whatsapp label {
    display: block;
    text-align: left;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #686868;
}

#form-whatsapp input,
#form-whatsapp textarea {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    resize: none;
    user-select: none;

}

#form-whatsapp button {
    width: 100%;
    padding: 0.75rem;
    background-color: #11361f;
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#form-whatsapp button:hover {
    background-color: #0a2013;
}

footer {
    background-color: #111;
    color: #fff;
    padding: 30px 20px 15px;
    text-align: center;
}

.redes {
    margin-bottom: 15px;
}

.redes a {
    margin: 0 10px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.redes a:hover {
    transform: scale(1.1);
}

.redes img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.copy p {
    font-size: 0.9rem;
    color: #ccc;
    margin: 0;
}

#voltar {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #313131;
    color: #fff;
    border: none;
    padding: 12px 16px;
    border-radius: 5px;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1;
}

#voltar.show {
    opacity: 1;
    pointer-events: auto;
}

#voltar:hover {
    background-color: #222;
}