/* Estilos Globais e Tema Escuro Asimov */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0b0f19;
    color: #e5e7eb;
    min-height: 100vh;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    border-bottom: 1px solid #1f293d;
    padding: 20px 0;
    background-color: #0b0f19;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #ffffff;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #ffffff;
}

.auth-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-login {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.btn-register {
    background-color: #00d287;
    color: #0b0f19;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.btn-register:hover {
    background-color: #00b072;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 80px 20px 60px;
    background: radial-gradient(circle at center, #132238 0%, #0b0f19 70%);
    border-bottom: 1px solid #1f293d;
}

.badge-code {
    display: inline-block;
    color: #00d287;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    background: rgba(0, 210, 135, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
}

.hero-section h1 {
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 800;
}

.hero-section p {
    color: #9ca3af;
    font-size: 1.2rem;
}

/* Seção Principal / Grid */
.main-container {
    padding: 60px 24px;
}

.main-container h2 {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.subtitle-sec {
    color: #9ca3af;
    font-size: 1rem;
    margin-bottom: 40px;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.material-card {
    background-color: #131b2e;
    border: 1px solid #1f293d;
    border-radius: 12px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, border-color 0.2s;
}

.material-card:hover {
    transform: translateY(-4px);
    border-color: #00d287;
}

.card-tag {
    color: #9ca3af;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: block;
}

.material-card h3 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.4;
}

.btn-access {
    display: inline-block;
    color: #00d287;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.btn-access:hover {
    color: #00ffaa;
    text-decoration: underline;
}

/* --- FORÇAR HERO SECTION PARA CIMA E AUMENTAR TÍTULO --- */
.hero-section {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    margin-top: 0 !important;
    min-height: auto !important; /* Remove qualquer altura mínima padrão que esteja empurrando o texto pra baixo */
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

.hero-section .hero-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.hero-section h1 {
    font-size: 4.5rem !important; /* Tamanho do título bem maior */
    line-height: 1.1 !important;
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}