/* =========================== */
/* CORREÇÃO DE RESPONSIVIDADE */
/* =========================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* =========================== */
/* Animação de Pulsar (Corrigido) */
/* =========================== */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: scale(1.02); /* Mais sutil */
        box-shadow: 0 6px 15px rgba(0, 196, 113, 0.4); /* Sombra verde */
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
}

/* =========================== */
/* FONTES E CONFIGURAÇÕES GLOBAIS */
/* =========================== */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}

.quiz-container {
    width: 100%;
    max-width: 500px; /* Largura máxima do funil */
    margin: 0 auto;
    padding: 20px;
    /* padding-top: 80px; FOI REMOVIDO */
    text-align: center;
}

/* =========================== */
/* LÓGICA DAS PÁGINAS */
/* =========================== */
.pagina-visivel {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}
.pagina-oculta {
    display: none;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================== */
/* BARRA DE PROGRESSO E LOGO */
/* =========================== */
.progress-bar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: #eafaf4; /* Verde bem claro (fundo) */
    z-index: 1000;
}

.progress-bar-fill {
    width: 5%; /* Começa em 5% */
    height: 100%;
    background-color: #00C471; /* Verde principal */
    transition: width 0.4s ease-out;
}

/* Logo não-flutuante (Corrigido) */
.logo-header {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #2a2a2a;
    text-align: center;
    padding-top: 25px; /* 10px (para livrar a barra) + 15px (margem) */
}

/* =========================== */
/* ESTILOS DE TEXTO */
/* =========================== */
.quiz-headline {
    font-size: 28px;
    font-weight: 600;
    color: #2a2a2a;
    line-height: 1.3;
    margin-bottom: 15px;
}

.quiz-subheadline {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
}

.highlight-green {
    color: #00C471;
    font-weight: 600;
}
.highlight-red {
    color: #f44336;
}

/* =========================== */
/* BOTÕES DE CTA (Continuar) */
/* =========================== */
.cta-button {
    width: 100%;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    padding: 18px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 20px;
    transition: transform 0.2s;
    animation: pulse 1.5s infinite ease-in-out; 
}
.cta-button:hover {
    transform: scale(1.02);
    animation-play-state: paused; 
}

.btn-green {
    background-color: #00C471;
    color: white;
}
.btn-green-soft {
    background-color: #00C471; 
    color: white; 
    font-weight: 700;
}

/* =========================== */
/* BLOCO 1: BOTÕES DE GÊNERO */
/* =========================== */
.gender-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.gender-button {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    padding: 20px;
    border: 2px solid #eee;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    animation: pulse 1.5s infinite ease-in-out;
}
.btn-yellow {
    background-color: #FFD15C;
    color: #333;
    border-color: #FFD15C;
}
.gender-button:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    animation-play-state: paused;
}

/* =========================== */
/* IMAGEM DE TOPO (PÁGINA 1) */
/* =========================== */
.question-image-full {
    width: calc(100% + 40px); 
    max-width: unset; 
    margin-left: -20px; 
    margin-right: -20px;
    height: 250px; 
    object-fit: cover; 
    border-radius: 0; 
    margin-bottom: 20px;
}
@media (min-width: 500px) { 
    .question-image-full {
        width: 500px;
        margin-left: calc(50% - 250px); 
        margin-right: auto;
    }
}


/* =========================== */
/* BLOCO 2: IMAGENS DE GÊNERO */
/* =========================== */
.question-image-small {
    width: 100%;
    max-width: 300px; 
    height: auto;
    border-radius: 12px;
    margin: 20px auto; 
    display: block;
}


/* =========================== */
/* BLOCO 4 & 9: OPÇÕES MÚLTIPLAS */
/* =========================== */
.options-container-multi {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.option-multi {
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.2s;
}
.option-multi:hover {
    border-color: #00C471;
}
.option-multi input[type="checkbox"] {
    display: none; 
}
.checkbox-custom {
    width: 24px;
    height: 24px;
    border: 2px solid #ccc;
    border-radius: 6px;
    margin-right: 15px;
    display: inline-block;
    transition: all 0.2s;
}
.option-multi input[type="checkbox"]:checked + .checkbox-custom {
    background-color: #00C471;
    border-color: #00C471;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}
.option-multi .option-text {
    flex: 1;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}
.option-multi .option-icon {
    font-size: 24px;
    margin-left: 10px;
}
/* Para Pág 7, checkboxes menores */
.option-multi.small-multi {
    padding: 12px 15px;
}
.option-multi.small-multi .option-text {
    font-size: 14px;
}


/* =========================== */
/* OPÇÕES ÚNICAS (Vários Blocos) */
/* =========================== */
.options-container-single {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.option-single {
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px 15px;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    animation: pulse 1.5s infinite ease-in-out;
}
.option-single:hover, .option-single.active {
    border-color: #00C471;
    background-color: #f0fef7;
    animation-play-state: paused; 
}
.option-single .option-text {
    flex: 1;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}
.option-single .option-icon {
    font-size: 24px;
    margin-left: 10px;
}
.option-single .option-arrow {
    font-size: 20px;
    font-weight: 700;
    color: #aaa;
    margin-left: 10px;
}

/* =========================== */
/* BLOCO 5 & 6: OPÇÕES DE IMAGEM */
/* =========================== */
.option-single-img {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    animation: pulse 1.5s infinite ease-in-out;
}
.option-single-img:hover {
    border-color: #00C471;
    background-color: #f0fef7;
    animation-play-state: paused;
}
.option-single-img .option-text {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-align: left;
}
.option-single-img img {
    width: 120px;
    height: auto;
    border-radius: 8px;
}

/* =========================== */
/* BLOCO 7: ZONAS DO CORPO (Corrigido) */
/* =========================== */
.body-container-flex {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.body-image-wrapper {
    flex: 1;
    max-width: 200px;
}
.body-image {
    width: 100%;
    height: auto;
}
.body-options-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* =========================== */
/* BLOCO 8: DEPOIMENTO */
/* =========================== */
.testimonial-image-full {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid #eee;
    margin-bottom: 20px;
}


/* =========================== */
/* BLOCO 18: INPUTS */
/* =========================== */
.input-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-bottom: 20px;
}
.input-field {
    width: 150px;
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #2a2a2a;
    text-align: center;
    border: none;
    border-bottom: 2px solid #ccc;
    outline: none;
    transition: border-color 0.2s;
}
.input-field:focus {
    border-bottom-color: #00C471;
}
.input-field.input-error {
    border-bottom-color: #f44336 !important;
}

.info-box-yellow {
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 15px;
    text-align: left;
    margin-bottom: 20px;
}
.info-box-yellow p { margin: 0; font-size: 14px; color: #713f12; }
.info-box-yellow p strong { color: #333; }

.info-box-blue {
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 15px;
    text-align: left;
    margin-bottom: 20px;
}
.info-box-blue p { margin: 0; font-size: 14px; color: #1e40af; }
.info-box-blue p strong { color: #1d4ed8; }

/* =========================== */
/* BLOCO 19: LOADING (NOVO) */
/* =========================== */
.loading-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: conic-gradient(#00C471 0%, #eafaf4 0%);
    position: relative;
}
.loading-circle::before { 
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: 50%;
}
.loading-percent {
    font-size: 36px;
    font-weight: 700;
    color: #00C471;
    z-index: 2;
}
.loading-tasks-new {
    text-align: left;
    max-width: 300px;
    margin: 20px auto;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.8;
}
.loading-tasks-new p {
    margin-bottom: 10px;
}

/* =========================== */
/* BLOCO 20: RECEITA (NOVO) */
/* =========================== */
.recipe-card {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    margin-bottom: 20px;
}
.recipe-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.recipe-content {
    padding: 20px;
}
.recipe-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: #2a2a2a;
    margin-top: 0;
    margin-bottom: 10px;
}
.recipe-content p {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
}
.recipe-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: #00C471;
    border-bottom: 2px solid #eafaf4;
    padding-bottom: 5px;
    margin-bottom: 10px;
}
.recipe-content ul, .recipe-content ol {
    padding-left: 20px;
    margin-bottom: 20px;
}
.recipe-content li {
    font-size: 15px;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.5;
}

/* =========================== */
/* BLOCO 21: DEPOIMENTOS (Reutilizado) */
/* =========================== */
.testimonial-box-2 {
    border-radius: 12px;
    background: #f9f9f9;
    padding: 20px;
    margin-bottom: 15px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.testimonial-box-2 img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-box-2 p {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    font-style: italic;
    margin: 0;
}
.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
}
.testimonial-author span {
    font-size: 15px;
    color: #2a2a2a;
}
.testimonial-author .verified {
    font-size: 14px;
    color: #00C471;
}

/* =========================== */
/* BLOCO 22: VENDA (CORRIGIDO) */
/* =========================== */
.sales-banner {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden; 
    margin-bottom: 20px; /* Alterado para 0, já que o preço vem abaixo */
    background: #000; 
}
.sales-banner video {
    width: 100%;
    height: auto;
    display: block; 
}

/* >>> CORREÇÃO AQUI <<< */
.price-tag {
    /* REMOVIDO: position: absolute, bottom, right */
    
    /* ADICIONADO: */
    width: 280px; /* Largura fixa para o selo */
    margin: 0 auto; /* Centraliza */
    margin-top: -30px; /* Puxa para cima, sobrepondo LEVEMENTE a parte de baixo do vídeo */
    position: relative; /* Garante que fique acima de outros elementos */
    z-index: 10; /* Garante que fique acima */

    background-color: #FFD15C;
    padding: 10px 15px;
    border-radius: 12px;
    text-align: center;
    border: 3px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.price-tag span {
    font-size: 12px;
    font-weight: 600;
    color: #5c3e00;
    display: block;
}
.price-tag strong {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    display: block;
    line-height: 1.2;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.feature-box-2 {
    display: flex;
    align-items: flex-start; 
    text-align: left;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    gap: 15px;
}
.feature-box-2 .option-icon {
    font-size: 24px;
    margin-top: 3px;
}
.feature-text-2 {
    display: flex;
    flex-direction: column;
}
.feature-text-2 strong {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 3px;
}
.feature-text-2 span {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}