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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0f1115;
    color: #e5e7eb;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(15, 17, 21, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #1f2937;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.2rem;
    font-weight: 500;
}

nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

nav a {
    text-decoration: none;
    color: #9ca3af;
    position: relative;
    transition: 0.3s;
}

nav a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #3b82f6;
    transition: 0.3s;
}

nav a:hover {
    color: #fff;
}

nav a:hover::after {
    width: 100%;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero p {
    color: #9ca3af;
    margin-bottom: 20px;
}

.btn {
    padding: 10px 20px;
    border: 1px solid #3b82f6;
    color: #3b82f6;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s;
}

.btn:hover {
    background: #3b82f6;
    color: #fff;
    transform: translateY(-2px);
}

section {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    display: block;
    width: 40%;
    height: 2px;
    background: #3b82f6;
    margin-top: 5px;
    transition: 0.3s;
}

.section-title:hover::after {
    width: 100%;
}

.sobre p {
    max-width: 600px;
    margin-bottom: 20px;
}

.skills span {
    display: inline-block;
    border: 1px solid #3b82f6;
    padding: 5px 10px;
    margin-right: 10px;
    border-radius: 5px;
    font-size: 0.85rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    display: flex;
    flex-direction: column;
    background: #111827;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #1f2937;
    transition: 0.3s;
}

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

.card h3 {
    margin-bottom: 10px;
}

.card p {
    color: #9ca3af;
    margin-bottom: 1rem;
}

.card span {
  display: inline-block;
    font-size: 0.9rem;
    color: #3b82f6;
}

.btn-card {
    display: inline-block;
    margin-top: -1.6rem;
    margin-left: auto;
    font-size: 0.9rem;
    color: #3b82f6;
    text-decoration: none;
    align-self: flex-end;
    padding: 7px 15px;
    border: 1px solid #3b82f6;
    border-radius: 6px;
    transition: 0.3s;
}

.contato p {
    margin-bottom: 10px;
}

.social a {
    margin-right: 15px;
    color: #3b82f6;
    text-decoration: none;
}

footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #1f2937;
    font-size: 0.8rem;
    color: #6b7280;
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }

    nav ul {
        gap: 10px;
    }
}