/* PALETA DE CORES (Baseada na Imagem)
------------------------------------
Bege Fundo:      #EFECE9
Laranja Principal: #AF4C0F
Vermelho Destaque: #972626
Cinza-Tan Secundário: #BDB8AD
Texto Principal:   #333
*/

/* Reset e base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    background: #EFECE9; /* << ALTERADO */
    min-height: 100vh;
    color: #333;
    display: flex;
    flex-direction: column; /* Alterado para empilhar os elementos verticalmente */
    align-items: center; /* Mantém o container centralizado horizontalmente */
}

.container {
    width: 100%;
    max-width: 600px;
    background: white;
    box-shadow: 0 0 40px rgba(0,0,0,0.08); /* << SUTILIZADO */
    flex: 1; /* Adicionado para que o container ocupe o espaço e empurre o footer para baixo */
}

/* Estrutura geral, removido do original para aplicar ao body */
.content-wrapper {
    padding: 40px 30px;
}

/* Header do Quiz */
.quiz-header {
    background: white;
    padding: 20px;
    border-bottom: 1px solid #EFECE9; /* << ALTERADO */
    position: sticky;
    top: 0;
    z-index: 100;
}

footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    background-color: #EFECE9;
    font-size: 14px;
    color: #6c757d;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #AF4C0F; /* << ALTERADO */
    transition: width 0.5s ease;
    border-radius: 10px;
}

.progress-text {
    font-weight: 600;
    color: #666;
    font-size: 14px;
    white-space: nowrap;
}

/* Conteúdo principal */
.main-content {
    text-align: center;
}

.warning-badge {
    display: inline-block;
    background: #972626; /* << ALTERADO */
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(151, 38, 38, 0.25); /* << ALTERADO */
}

.main-title {
    font-size: 32px;
    font-weight: 700;
    color: #972626; /* << ALTERADO */
    margin-bottom: 25px;
    line-height: 1.3;
}

.subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.6;
}

.subtitle strong {
    color: #972626; /* << ALTERADO */
    font-weight: 600;
}

.cta-section {
    margin: 50px 0;
}

.cta-button {
    display: inline-block;
    background: #AF4C0F; /* << ALTERADO */
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 0 8px 25px rgba(175, 76, 15, 0.25); /* << ALTERADO */
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(175, 76, 15, 0.3); /* << ALTERADO */
}

.cta-subtext {
    font-size: 14px;
    color: #777;
    margin-top: 15px;
}

/* Perguntas */
.question-content {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.question-title {
    font-size: 24px;
    font-weight: 700;
    color: #972626; /* << ALTERADO */
    margin-bottom: 40px;
    line-height: 1.4;
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.option-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 2px solid #EFECE9;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    background: white;
}

.option-card:hover {
    border-color: #BDB8AD; /* << ALTERADO */
    box-shadow: 0 4px 15px rgba(189, 184, 173, 0.2); /* << ALTERADO */
    transform: translateY(-1px);
}

.option-card.selected {
    border-color: #AF4C0F; /* << ALTERADO */
    background: #fffaf7; /* << ALTERADO */
    box-shadow: 0 4px 15px rgba(175, 76, 15, 0.2); /* << ALTERADO */
}

.next-button-container {
    text-align: center;
}

.next-button {
    background: #AF4C0F; /* << ALTERADO */
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(175, 76, 15, 0.25); /* << ALTERADO */
}

.next-button:enabled:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(175, 76, 15, 0.3); /* << ALTERADO */
}

.next-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

/* Página de resultado */
.result-content {
    text-align: center;
    max-width: 550px;
    margin: 0 auto;
}

.result-badge {
    display: inline-block;
    background: linear-gradient(135deg, #972626, #AF4C0F); /* << ALTERADO */
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(175, 76, 15, 0.3); /* << ALTERADO */
}

.result-title {
    font-size: 28px;
    font-weight: 700;
    color: #972626; /* << ALTERADO */
    margin-bottom: 30px;
    line-height: 1.3;
}

.result-analysis > p {
    font-size: 16px;
    margin-bottom: 25px;
    color: #555;
    text-align: left;
}

.problem-list {
    background: #fdf5f5; /* << ALTERADO */
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
    border-left: 4px solid #972626; /* << ALTERADO */
}

.problem-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #333;
}

.problem-item:last-child {
    margin-bottom: 0;
}

.problem-icon {
    font-size: 16px;
    color: #972626; /* << ALTERADO */
    flex-shrink: 0;
}

.good-news {
    background: #fffaf7; /* << ALTERADO */
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid #AF4C0F; /* << ALTERADO */
}

.good-news p {
    font-size: 16px;
    color: #333;
    margin: 0;
}

.highlight {
    background: #EFECE9; /* << ALTERADO */
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    color: #AF4C0F; /* << ALTERADO */
}

.course-presentation {
    background: #fcfbf9; /* << ALTERADO */
    padding: 35px;
    border-radius: 20px;
    margin: 40px 0;
    border: 1px solid #EFECE9; /* << ALTERADO */
}

.course-title {
    font-size: 32px;
    font-weight: 700;
    color: #972626; /* << ALTERADO */
    margin-bottom: 15px;
}

.course-subtitle {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

.course-benefits h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
    text-align: left;
}

.benefit-item:last-child {
    margin-bottom: 0;
}

.benefit-icon {
    font-size: 20px;
    color: #AF4C0F; /* << ALTERADO */
    flex-shrink: 0;
}

/* Seção CTA Final */
.cta-section-result {
    background: #AF4C0F; /* << ALTERADO */
    padding: 40px 30px;
    border-radius: 20px;
    margin: 40px 0;
    color: white;
    box-shadow: 0 10px 30px rgba(175, 76, 15, 0.3); /* << ALTERADO */
}

.price-container {
    margin-bottom: 25px;
}

.price-label {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
    opacity: 0.9;
}

.price {
    font-size: 42px;
    font-weight: 700;
    display: block;
}

.cta-button-result {
     display: block;
    background: #AF4C0F; /* Cor principal */
    color: white;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    max-width: 80%;
    margin: 30px auto 0 auto; /* Centraliza */
    box-shadow: 0 8px 25px rgba(175, 76, 15, 0.25);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button-result:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(175, 76, 15, 0.3);

.guarantees {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.guarantee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.guarantee-icon {
    font-size: 20px;
}


/* Responsividade */
@media (max-width: 768px) {
    .container {
        margin: 0;
        border-radius: 0;
        min-height: 100%;
    }
    .content-wrapper { padding: 30px 20px; }
    .main-title { font-size: 26px; }
    .subtitle { font-size: 16px; }
    .question-title { font-size: 20px; }
    .result-title { font-size: 24px; }
    .course-title { font-size: 26px; }
    .course-presentation { padding: 25px 20px; }
    .cta-section-result { padding: 30px 20px; }
    .price { font-size: 36px; }
    .option-card { padding: 15px; }
}

@media (max-width: 480px) {
    .quiz-header { padding: 15px; }
    .content-wrapper { padding: 25px 15px; }
    .main-title { font-size: 22px; }
    .cta-button { padding: 16px 30px; font-size: 16px; }
    .cta-button-result { padding: 16px 30px; font-size: 16px; }
}

/* Estilo do botão da página final do quiz */
#stepResultado .next-button,
#stepResultado .cta-button {
    display: block;
    max-width: 320px;
    margin: 30px auto 0 auto; /* Centraliza */
    background: #AF4C0F;
    color: #fff;
    text-decoration: none;
    padding: 18px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(175, 76, 15, 0.3);
    transition: all 0.3s ease;
}

#stepResultado .next-button:hover,
#stepResultado .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(175, 76, 15, 0.4);
}

