* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--texto);
}

.particulas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.5;
    background: 
        radial-gradient(circle 850px at 10% 20%, var(--texto-principal) 0%, transparent 40%),
        radial-gradient(circle 850px at 90% 80%, var(--texto-principal) 0%, transparent 40%),
        var(--bg);
}

.folhas-direita {
    position: fixed;
    top: 0;                 
    left: 0;
    height: 100vh;         
    width: auto;            
    object-fit: cover;      
    pointer-events: none;
    z-index: 0;
}

.folhas-esquerda {
    position: fixed;
    top: 0;                 
    right: 0;
    height: 100vh;         
    width: auto;            
    object-fit: cover;      
    pointer-events: none;
    z-index: 0;
}

:root {
    --bg: #add8e6;
    --texto-principal: #fdecda;
    --texto-nav: #6a6560;
    --texto: #fff6ed;
    --vidro: rgba(255, 255, 255, 0.1)
}

.decoracao-folhas {
    grid-column: 2 / 3;
    width: 60px;
    margin: 0 auto;
    display: block;
}

.navegacao {
    position: fixed;
    top: 0;
    background: var(--texto-principal);
    width: 100%;
    z-index: 100;
    padding: 1.5rem;
}
.nav-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    position: absolute;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--texto-nav);
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%; 
    object-fit: cover;
}

.menu {
    display: flex;
    justify-content: center;
    gap: 32px;
    list-style: none;
}

.menu-link {
    text-decoration: none;
    color: var(--texto-nav);
    position: relative;
    padding: 0.5rem 0;
    font-weight: 500;
}

.menu-link::after {
    content: '';
    height: 2px;
    width: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--texto-nav), var(--bg));
    transition: width 0.3s ease;
}

.menu-link:hover::after{
    width: 100%;
}

h1 {
    color: var(--texto-principal);
    font-size: 3.5rem;
    font-weight: bold;
    margin: 20px;
}

.projetos {
    padding: 6rem 2rem;
}

.projeto-conteudo {
    padding: 10px;
}

.projetos-titulo {
    color: var(--texto-principal);
    font-size: 2.5rem;
    margin-left: 38.5%;
    font-weight: bold;
    

}

.projetos-caixa {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: stretch;
    margin-top: 50px;
}

.projeto-grupo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.projeto-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-decoration: none;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    background-color: rgba(57, 42, 27, 0.15);
    border: 1px solid gray ;
    color: var(--texto);
    transition: all 0.3s ease;
}

.projeto-card:hover {
    box-shadow: 0 0 10px var(--texto-nav);
    transform: translateY(-10px) scale(1.02);
}

.projeto-imagem {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
}

.decoracao-folhas {
    width: 80px;
    flex-shrink: 0;
}

.projetos-descricao {
    line-height: 1.25rem;
    color: var(--texto);
}

/* =========================
   TABLET (até 1024px)
========================= */
@media (max-width: 1024px) {

    .projetos-caixa {
        grid-template-columns: 1fr 1fr;
    }

    .projeto-imagem {
        height: 220px;
    }

    .projetos-titulo {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {

    .menu {
        gap: 16px;
        flex-wrap: wrap;
        font-size: 0.9rem;
    }

    .logo {
        display: none;
    }

    .logo span {
        display: none;
    }

    .projetos-titulo {
        font-size: 2rem;
        text-align: center;
        margin-left: 0;
    }

    .projetos {
        padding: 4rem 1rem;
    }

    .projetos-caixa {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .projeto-grupo {
        flex-direction: column;
        align-items: center;
    }

    .projeto-card {
        width: 100%;
    }

    .projeto-imagem {
        height: 200px;
    }

    .decoracao-folhas {
        display: none;
    }

    .folhas-direita,
    .folhas-esquerda {
        display: none;
    }

    .projetos-descricao {
        font-size: 0.95rem;
        text-align: center;
    }
}

