:root {
    --primary: #0055FF;       
    --primary-dark: #0044CC;  
    --bg-color: #FFFFFF;      
    --text-main: #111111;     
    --text-light: #666666;    
    --border-light: #E5E7EB;  
    --hover-bg: #F3F7FF;      
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    
    /* MÁGICA DA CENTRALIZAÇÃO TOTAL */
    min-height: 100vh; /* Garante altura total */
    display: flex;
    flex-direction: column;
    align-items: center;     /* Centraliza Horizontalmente */
    justify-content: center; /* Centraliza Verticalmente */
    
    overflow-x: hidden;
    position: relative;
}

/* Header com Logo */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    z-index: 100;
    /* Removemos o fundo gradiente para ficar mais clean, já que o fundo é branco */
    pointer-events: none; /* Deixa clicar através do header se necessário */
}

.logo {
    height: 25px; /* LOGO PEQUENO */
    width: auto;
    display: block;
    margin: 0 auto;
}

/* Barra de Progresso */
.progress-container {
    width: 100%;
    height: 4px;
    background: #f0f0f0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 101;
}

.progress-bar {
    height: 100%;
    background: var(--primary);
    width: 0%;
    transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Container Central */
.container-center {
    width: 100%;
    max-width: 700px;
    padding: 20px;
    /* Removemos o padding-top grande para permitir a centralização vertical exata */
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    z-index: 1; /* Garante que fique acima de qualquer detalhe */
}

.step {
    display: none;
    width: 100%;
    animation: fadeInScale 0.4s ease-out;
}

.step.active { display: block; }

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); } /* Efeito de "surgir" mais sutil */
    to { opacity: 1; transform: scale(1); }
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza itens internos horizontalmente */
}

/* --- CAPA --- */
.cover-gif {
    max-width: 180px;
    border-radius: 12px;
    margin-bottom: 25px;
    /* SEM SOMBRA (removido box-shadow) */
}

.super-tag {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 35px;
    letter-spacing: -0.02em;
    max-width: 600px;
}

.btn-hero {
    background-color: var(--text-main);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 16px 45px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-hero:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 85, 255, 0.25);
}

.press-enter {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #bbb;
}

/* --- PERGUNTAS --- */
.question-header { 
    margin-bottom: 30px; 
    max-width: 600px;
    text-align: center; /* Força o texto da pergunta ao centro */
}

.index-number {
    display: block;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
}

h2 {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--text-main);
}

.options-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 500px; /* Largura controlada para centralização */
}

/* Botões Modernos (Cards) */
.option-card {
    display: flex;
    align-items: center;
    /* CENTRALIZA O CONTEÚDO DENTRO DO BOTÃO */
    justify-content: center; 
    text-align: center;
    
    background: white;
    border: 1px solid var(--border-light);
    padding: 16px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option-card:hover {
    border-color: var(--primary);
    background-color: var(--hover-bg);
    transform: scale(1.02); /* Leve aumento ao passar o mouse */
}

.key-cap {
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
    color: var(--text-main);
    font-size: 0.75rem;
    font-weight: 700;
    width: 26px;
    height: 26px;
    min-width: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    margin-right: 12px; /* Espaço entre a letra e o texto */
    transition: all 0.2s;
}

.option-card:hover .key-cap {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.opt-text {
    font-size: 1.05rem;
    color: var(--text-main);
}

/* --- RESULTADO --- */
.result-layout { max-width: 600px; }

.badge-diag {
    background: #FFF0F0;
    color: #D93025;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 25px;
}

.result-title { font-weight: 600; margin-bottom: 20px; font-size: 1.8rem; }
.result-desc { font-size: 1.2rem; color: #555; margin-bottom: 40px; line-height: 1.6; }
.highlight { color: #D93025; background: #fff0f0; padding: 0 4px; border-radius: 4px; }

.btn-final { width: 100%; display: flex; justify-content: center; background-color: var(--primary); }
.btn-final:hover { background-color: var(--primary-dark); }

/* Responsivo */
@media (max-width: 600px) {
    /* No celular, removemos a centralização vertical forçada para evitar cortes em telas pequenas */
    body { 
        justify-content: flex-start; 
        padding-top: 60px; /* Espaço para o logo */
        height: auto; 
        min-height: 100vh;
    }
    .container-center { padding-top: 20px; padding-bottom: 40px; }
    .hero-title { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }
    .cover-gif { max-width: 100%; height: auto; }
    
    /* No mobile, as opções ficam melhor alinhadas à esquerda para leitura, 
       mas se quiser forçar centro no mobile também, apague as linhas abaixo */
    .option-card { justify-content: flex-start; text-align: left; }
}