/* Estilos Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f8ff;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quiz-container {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Seções do Quiz */
.quiz-section {
    padding: 30px;
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.quiz-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Cabeçalhos */
h1 {
    color: #1e3a8a;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.3;
}

h2 {
    color: #1e3a8a;
    font-size: 20px;
    margin-bottom: 25px;
    line-height: 1.4;
}

/* Imagens */
.intro-image, .product-image {
    text-align: center;
    margin: 20px 0;
}

.intro-image img, .product-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Barra de Progresso */
.progress-container {
    margin-bottom: 25px;
}

.progress-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: #1e3a8a;
    font-weight: 600;
}

.current-step {
    color: #22c55e;
    margin-right: 5px;
}

.progress-bar {
    height: 8px;
    background-color: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: #22c55e;
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* Opções de Resposta */
.options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.option {
    background-color: #f8fafc;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.option:hover {
    border-color: #22c55e;
    background-color: #f0fdf4;
    transform: translateY(-2px);
}

.option.selected {
    border-color: #22c55e;
    background-color: #f0fdf4;
}

.checkmark {
    color: #22c55e;
    margin-right: 12px;
    font-size: 18px;
}

.option-text {
    flex: 1;
}

/* Botões CTA */
.cta-button {
    background-color: #22c55e;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: block;
    margin: 30px auto 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(34, 197, 94, 0.2);
}

.cta-button:hover {
    background-color: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(34, 197, 94, 0.3);
}

/* Tela Final */
.final-content {
    text-align: center;
}

.highlight {
    font-size: 18px;
    font-weight: 600;
    color: #1e3a8a;
    margin: 15px 0;
}

#final-cta {
    background-color: #ef4444;
    box-shadow: 0 4px 6px rgba(239, 68, 68, 0.2);
    font-size: 20px;
    padding: 18px 35px;
}

#final-cta:hover {
    background-color: #dc2626;
    box-shadow: 0 6px 8px rgba(239, 68, 68, 0.3);
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .quiz-section {
        padding: 20px;
    }
    
    h1 {
        font-size: 22px;
    }
    
    h2 {
        font-size: 18px;
    }
    
    .option {
        padding: 12px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }
    
    #final-cta {
        font-size: 18px;
        padding: 15px 30px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 20px;
    }
    
    h2 {
        font-size: 16px;
    }
    
    .option {
        padding: 10px;
    }
    
    .checkmark {
        font-size: 16px;
    }
    
    .highlight {
        font-size: 16px;
    }
}
