* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    background: #050816;
    color: #f9fafb;
}

.topbar {
    background: #020617;
    border-bottom: 1px solid #1f2933;
}

.topbar-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.logo-main {
    font-weight: 700;
    font-size: 18px;
}

.logo-sub {
    font-size: 12px;
    color: #9ca3af;
}

nav a {
    color: #e5e7eb;
    text-decoration: none;
    margin-left: 12px;
    font-size: 14px;
}

nav a:hover {
    text-decoration: underline;
}

.container {
    max-width: 960px;
    margin: 20px auto;
    padding: 0 16px 40px;
}

h1 {
    font-size: 24px;
    margin-bottom: 12px;
}

p {
    margin-bottom: 12px;
    color: #d1d5db;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.card {
    display: block;
    padding: 16px;
    background: #020617;
    border-radius: 10px;
    border: 1px solid #1f2933;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.card h2 {
    font-size: 18px;
    margin-bottom: 8px;
}

.card p {
    font-size: 14px;
    margin-bottom: 10px;
}

.card .tag {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    background: #1d4ed8;
    font-size: 11px;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    border-color: #2563eb;
}

.box {
    background: #020617;
    border-radius: 10px;
    border: 1px solid #1f2933;
    padding: 16px;
    margin-top: 16px;
}

.footer {
    text-align: center;
    font-size: 12px;
    color: #6b7280;
    padding: 12px;
    border-top: 1px solid #1f2933;
    background: #020617;
}
.primary-btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    background: #2563eb;
    color: #f9fafb;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
}

.primary-btn:hover {
    background: #1d4ed8;
}


/* responsivo */
@media (max-width: 600px) {
    .topbar-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
