/* Estilos Globais e Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0a192f; /* Azul marinho escuro dos prints */
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Alinhado ao topo para dispositivos móveis */
    min-height: 100vh;
    padding-top: 20px;
}

#quiz-container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    box-sizing: border-box;
}

/* Cabeçalho */
header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

#back-button {
    cursor: pointer;
    font-size: 28px;
    color: #ffffff;
    visibility: hidden; /* Oculto inicialmente, mostrado pelo JS */
}

.logo-title {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
}

.logo-title strong {
    color: #60b852; /* Cor de destaque verde */
    font-size: 1.1em;
}

/* Barra de Progresso */
.progress-bar-container {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.5); 
    border-radius: 4px;
    margin-bottom: 40px;
    overflow: hidden;
}

#progress-bar {
    height: 100%;
    background-color: #60b852; /* Cor do progresso */
    transition: width 0.3s ease-in-out;
    width: 0%;
}

/* Estrutura da Tela */
.screen {
    text-align: center;
    min-height: 50vh; /* Para garantir o alinhamento em telas maiores */
}

/* Estilos da Introdução (image_b1d5a2.png) */
.intro-logo img {
    margin-bottom: 10px;
}

.intro-screen h1 { display: none; } /* Ocultando o título extra */
.intro-screen h2 { margin-top: -10px; font-size: 24px; }

.main-message {
    font-size: 26px;
    font-weight: bold;
    margin: 30px 0;
}

.main-message strong {
    color: #60b852;
}

.sub-message, .call-to-action {
    margin: 15px 0;
    font-size: 16px;
    line-height: 1.5;
    opacity: 0.8;
}

.small-text {
    margin-top: 40px;
    font-size: 14px;
}

/* Estilos das Perguntas (Comum) */
.question-text {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 10px;
}

.alert-message {
    color: #ff4d4f; /* Vermelho */
    font-size: 12px;
    margin-bottom: 30px;
    font-weight: bold;
}

.answer-button {
    width: 100%;
    padding: 18px;
    margin: 12px 0;
    background-color: #60b852; /* Verde principal */
    color: #000000;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
    text-align: center;
    line-height: 1.2;
}

.answer-button:hover {
    background-color: #83cd75; /* Verde mais claro no hover */
}

.start-button {
    margin-top: 30px;
    background-color: #55a04a; /* Um tom de verde um pouco diferente para o botão principal */
    color: #ffffff;
}
.start-button:hover {
    background-color: #60b852;
}


/* Estilos da Tela Final (image_b1d965.jpg) */
.final-screen img {
    /* Centraliza a imagem e mantém o aspecto nos prints */
    width: 100%;
    max-width: 450px; 
    border-radius: 8px;
    margin: 30px auto;
    display: block;
}

.final-screen p {
    text-align: left;
    margin: 15px 0;
    line-height: 1.6;
}

.final-screen .question-text {
    text-align: center;
    font-size: 24px;
}

.final-screen .answer-button {
    margin-top: 40px;
}

/* Animação de pulsação */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.answer-button {
    width: 100%;
    padding: 18px;
    margin: 12px 0;
    background-color: #60b852;
    color: #ffffff; /* Texto branco */
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    animation: pulse 1.5s infinite;
    transition: background-color 0.2s;
}

.answer-button:hover {
    background-color: #83cd75;
}

.start-button {
    margin-top: 30px;
    background-color: #55a04a;
    color: #ffffff;
}
.start-button:hover {
    background-color: #60b852;
}

/* --- Estilos da Página de Vendas (Injetada pelo JS) --- */
.sales-page-screen {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 20px;
}

.sales-page-screen .pv-section { 
    margin-bottom: 40px; 
    text-align: center; 
}

.sales-page-screen .pv-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

.sales-page-screen .pv-top-message {
    font-size: 14px;
    margin-bottom: 20px;
}

/* Blocos de Ícone (Porque utilizar) */
.icon-block {
    background-color: #f9f9fb; /* Cor de fundo claro do print */
    color: #01203c;
    padding: 20px;
    border-radius: 10px;
    margin: 15px 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.icon-block .icon-svg { 
    width: 40px; height: 40px; 
    stroke: #01203c; 
    stroke-width: 2;
    margin-bottom: 10px;
    display: block;
    margin: 0 auto 10px;
}
.icon-block h3 { 
    font-size: 16px; 
    font-weight: bold; 
    margin: 0; 
    line-height: 1.3; 
    color: #01203c;
}
.icon-block .description { 
    font-size: 13px; 
    line-height: 1.4; 
    margin-top: 10px; 
    color: #00203d;
}

/* Botão CTA Final (COMPRAR AGORA) */
.cta-button {
    display: block;
    width: 100%;
    padding: 20px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    background-image: linear-gradient(to right bottom, rgba(102, 204, 103, 0.75), rgba(102, 204, 103, 0.95));
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% { transform: scale(1); box-shadow: 0 0 10px rgba(102, 204, 103, 0.5); }
    50% { transform: scale(1.03); box-shadow: 0 0 20px rgba(102, 204, 103, 1); }
    100% { transform: scale(1); box-shadow: 0 0 10px rgba(102, 204, 103, 0.5); }
}


/* FAQ - Acordeão */
.faq-title { font-weight: bold; }
.faq-subtitle { font-size: 16px; color: rgb(176, 196, 222); }
.accordion-item {
    border-bottom: 1px solid #1a3857;
    margin-top: 5px;
}
.accordion-button {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    padding: 15px 0;
    width: 100%;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: opacity 0.2s;
}
.accordion-button:hover { opacity: 0.8; }
.accordion-content {
    font-size: 14px;
    color: rgb(176, 196, 222);
    padding: 0 0 15px;
    text-align: left;
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
}
.accordion-content.open {
    max-height: 300px; /* Valor grande o suficiente para o conteúdo */
    padding-bottom: 15px;
}
.accordion-icon { 
    transition: transform 0.2s; 
    font-size: 20px;
}
.accordion-button.active .accordion-icon { transform: rotate(180deg); }
