/* --- Variáveis Globais e Reset --- */
:root {
    --bg-color: #121212;
    --card-color: #1E1E1E;
    --accent-color: #6A5ACD;
    --text-color: #F0F0F0;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden; /* Garante que não haja scroll horizontal */
}

/* --- Tipografia --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-color);
}

h1 { font-size: 3rem; margin-bottom: 1rem; }
h2 { font-size: 2.2rem; margin-bottom: 2rem; text-align: center; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }
h4 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--accent-color); }
p, li { font-size: 1rem; }
a { color: var(--accent-color); text-decoration: none; }
ul, ol { padding-left: 20px; }

/* --- Estrutura e Layout --- */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    text-align: center;
}

.main-header nav a {
    color: var(--text-color);
    margin: 0 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.main-header nav a:hover {
    color: var(--accent-color);
}

main {
    padding-top: 60px;
}

.content-section {
    padding: 4rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

footer {
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--card-color);
}

/* --- Componentes --- */
.card {
    background-color: var(--card-color);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
}

.cta-button.primary {
    background-color: var(--accent-color);
    color: white;
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

/* --- Seções Específicas --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.hero-content {
    max-width: 800px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.qa-card {
    border-left: 5px solid #28a745;
}

.qa-card-reprovado {
    border-left: 5px solid #dc3545;
}

/* --- Estilos para Onboarding (NOVA VERSÃO) --- */
.onboarding-image {
    display: block;
    max-width: 100%; /* A imagem nunca será mais larga que o card */
    height: auto; /* Mantém a proporção correta */
    margin: 1.5rem auto 0; /* Centraliza a imagem horizontalmente */
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Animações --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVIDADE PARA DISPOSITIVOS MÓVEIS --- */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .content-section { padding: 3rem 1rem; }
    
    .hero-buttons {
        flex-direction: column; /* Empilha os botões verticalmente */
        align-items: center;
    }

    .main-header nav a {
        margin: 0 0.5rem;
    }
}
