:root {
    --primary-color: #007BFF; /* Azul tecnológico, para links e botões */
    --secondary-color: #343A40; /* Texto escuro e rodapé */
    --background-light: #F8F9FA; /* Fundo leve para seções de contraste */
    --font-family: 'Nunito Sans', sans-serif; /* Nossa fonte customizada */
}

* { /*Reinicialização de borda e preenchimento*/
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--secondary-color);
    background-color: white;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

header {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);      /*Efeito de sombra do header*/
    padding: 15px 0;                                /*Efeito de sombra do header*/
    position: sticky; 
    top: 0;
    z-index: 1000; /* Garante que fique acima de outros elementos ao rolar */
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.8rem;
}

header ul {
    list-style: none;
    display: flex;
}
header ul a {
    text-decoration: none;
    color: var(--secondary-color);
    padding: 5px 15px;
    font-weight: 600;
    transition: color 1s; 
}
header ul a:hover {
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: white !important;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: background 1s;
}
.btn:hover {
    background: #0056b3;
}

.hero {
    padding: 80px 0;
    background: var(--background-light);
}
.hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
}
.hero-content {
    flex: 1; /* Permite que o conteúdo de texto ocupe o espaço disponível */
}
.hero-img {
    flex: 1; /* Permite que a imagem também ocupe espaço */
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); 
}
@media (max-width: 768px) {
    .hero .container {
        flex-direction: column; /* No mobile, empilha os itens (texto em cima, imagem embaixo) */
        text-align: center; /* Centraliza o texto */
    }
    .hero-content {
        margin-bottom: 30px; /* Adiciona espaço após o texto empilhado */
    }
    .hero-img {
        max-width: 80%; /* A imagem ocupa 80% da tela para não ficar muito grande */
    }
}

.projetos {
    padding: 60px 0;
    text-align: center;
    background-color: var(--background-light);
}

.projeto-list {
    margin-top: 30px;
    padding: 0 10px;

    /* CSS Columns */
    column-count: 3; /* Divide em 3 colunas em telas grandes */
    column-gap: 20px; /* Espaço entre as colunas */
}
.projeto-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    
    /* CSS Columns */
    break-inside: avoid; /* Evita que o cartão seja cortado entre colunas */
    width: 100%; /* Ocupa 100% da largura da sua coluna */
    margin-bottom: 20px; /* Espaço na vertical entre os cards */
    text-align: center;
    transition: transform 1s, box-shadow 1s;
    display: inline-block; /* Ajuda o column-count a renderizar */
}
.projeto-card p {
    text-align: justify;
}
.projeto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.projeto-card img {
    width: 100%;
    height: auto; 
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
}

@media (max-width: 900px) {
    .projeto-list {
        column-count: 2; /* Em tablets, mudamos para 2 colunas */
    }
}
@media (max-width: 600px) {
    .projeto-list {
        column-count: 1; /* Em celulares, mudamos para 1 coluna (empilhamento normal) */
    }
}

.contato {
    background: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}
.contato h3, .contato p {
    color: white;
}
.contact-form {
    max-width: 600px;
    margin: 30px auto 0; 
    text-align: left;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); 
    color: var(--secondary-color);
}
.contact-form label {
    display: block;
    margin-top: 15px;
    font-weight: 600;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-family);
}
.contact-form textarea {
    resize: vertical;
}
.contact-form button[type="submit"] {
    display: block;
    width: 100%; /* Faz o botão de envio ocupar toda a largura */
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px;
    margin-top: 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    transition: background 0.5s;
}
.contact-form button[type="submit"]:hover {
    background: #28A745;
}

footer {
    background: var(--secondary-color);
    color: white;
    padding: 20px 0;
    font-size: 0.9rem; 
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px; 
}
.social-links a {
    color: white;
    font-size: 1.5rem;
    margin-left: 15px;
    transition: color 0.3s;
}
.social-links a:hover {
    color: var(--primary-color);
}
@media (max-width: 600px) {
    .footer-content {
        flex-direction: column; /* Empilha o texto e os links verticalmente */
        text-align: center;
    }
    .footer-content p {
        margin-bottom: 10px; /* Espaço entre o texto de direitos autorais e os links */
    }
    .social-links {
        margin-top: 10px;
    }
}






























