:root {
    --primary-color: #2563eb; 
    --bg-color: #f8fafc;
    --text-color: #1e293b;
    --card-bg: #ffffff;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

header {
    background-color: #1e293b;
    color: white;
    text-align: center;
    padding: 3rem 1rem;
}

/* header h1 { font-size: 2.5rem; margin-bottom: 0.5rem; } */

header h1 {
    letter-spacing: -1px;
    font-weight: 600;
}

nav a {
    color: #94a3b8;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s;
}

nav a:hover { color: white; }

.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

section { margin-bottom: 3rem; }

h2 {
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    margin-bottom: 1.5rem;
}

.grid-projetos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
/*
.card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}
*/

.card {
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
/*
.card:hover { transform: translateY(-5px); }

.btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
}
*/
.card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); 
}

.btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    text-align: center;
    
    transition: filter 0.2s ease, transform 0.2s ease;
}

.btn:hover { 
    filter: brightness(1.2); 
    transform: scale(1.02); 
}
footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.8rem;
    color: #64748b;
}