@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Space+Grotesk:wght@500;700&display=swap');

:root {
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --border-subtle: #262626;
    --accent: #00bfff; /* Azul/Ciano Hertz */
    --accent-glow: rgba(0, 191, 255, 0.15);
    --text-main: #f5f5f5;
    --text-muted: #888888;
    --radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================
   HEADER CORRIGIDO (FLEXBOX)
   ========================================= */
.navbar {
    padding: 24px 0;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Evita quebra abrupta */
    gap: 20px;
}

.logo a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 2px;
}

.highlight {
    color: var(--accent);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-main);
}

/* =========================================
   SISTEMA DE CARDS PROFISSIONAIS (Mestre)
   ========================================= */
.pro-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pro-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 30px var(--accent-glow);
    transform: translateY(-4px);
}

/* =========================================
   TIPOGRAFIA & LAYOUT GERAL
   ========================================= */
.page-header {
    padding: 100px 0 60px;
    text-align: left;
}

h1, h2, h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.page-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 24px;
}

.lead-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
}

.text-gradient {
    color: var(--accent);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 24px;
    margin-bottom: 80px;
}

/* Imagens do Portfólio */
.card-image-wrapper {
    width: 100%;
    height: 240px;
    background: #1a1a1a;
    border-radius: 8px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    overflow: hidden;
}

.tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 191, 255, 0.1);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.pro-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.pro-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1; /* Empurra o botão para baixo */
}

.btn-outline {
    display: inline-block;
    padding: 12px 24px;
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: var(--transition);
    text-align: center;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.site-footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.85rem;
}
/* =========================================
   GRIDS EXTRAS E TÍTULOS DE SEÇÃO
   ========================================= */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 80px;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 48px;
    text-align: center;
}

.section-title span {
    color: var(--accent);
}