/**
 * Quiz Vibracional - Estilos
 * @version 2.0.0
 */

/* ==========================================================================
   FULLSCREEN WRAPPER
   ========================================================================== */
.quiz-fullscreen-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem;
    position: relative;
}

/* ==========================================================================
   QUIZ CONTENT WRAPPER
   ========================================================================== */
.quiz-content-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: none; /* Oculto até cadastro */
}

.quiz-content-wrapper.quiz-ativo {
    display: block;
}

.quiz-content-wrapper.quiz-saindo {
    opacity: 0;
    transform: translateY(-30px);
}

.quiz-inner {
    padding: 2rem 0;
}

/* ==========================================================================
   RESULTADO WRAPPER
   ========================================================================== */
.quiz-resultado-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: none;
    opacity: 0;
    transform: translateY(50px) scale(0.95);
}

.quiz-resultado-wrapper.resultado-ativo {
    display: block;
    animation: resultadoEntrada 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes resultadoEntrada {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.quiz-resultado-inner {
    padding: 2rem 0;
}

/* ==========================================================================
   CADASTRO WRAPPER
   ========================================================================== */
.quiz-cadastro-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.quiz-cadastro-inner {
    padding: 2rem 0;
}

/* ==========================================================================
   FORMULÁRIO DE CADASTRO
   ========================================================================== */
.quiz-cadastro-container {
    margin-top: 2rem;
    padding: 2.5rem;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    border: 1px solid rgba(212, 165, 116, 0.3);
}

.cadastro-header {
    text-align: center;
    margin-bottom: 2rem;
}

.cadastro-header h2 {
    font-size: 1.5rem;
    color: #E8C9A8 !important;
    margin-bottom: 0.5rem;
}

.cadastro-header p {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1rem;
}

.cadastro-form {
    max-width: 400px;
    margin: 0 auto;
}

.campo-grupo {
    margin-bottom: 1.5rem;
}

.campo-grupo label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 0.5rem;
}

.campo-grupo input[type="text"],
.campo-grupo input[type="email"],
.campo-grupo input[type="tel"] {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border: 1px solid rgba(212, 165, 116, 0.4);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF !important;
    transition: all 0.3s ease;
}

.campo-grupo input[type="text"]::placeholder,
.campo-grupo input[type="email"]::placeholder,
.campo-grupo input[type="tel"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.campo-grupo input[type="text"]:focus,
.campo-grupo input[type="email"]:focus,
.campo-grupo input[type="tel"]:focus {
    outline: none;
    border-color: #D4A574;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.2);
}

.campo-checkbox {
    margin-top: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #D4A574;
}

.checkbox-label span {
    color: rgba(255, 255, 255, 0.8) !important;
}

.cadastro-submit-container {
    margin-top: 2rem;
    text-align: center;
}

.cadastro-submit-container button {
    width: 100%;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #D4A574 0%, #C9A86C 100%);
    color: #1A1A1A !important;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cadastro-submit-container button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

.cadastro-submit-container button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.cadastro-privacidade {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6) !important;
}

/* ==========================================================================
   FORMULÁRIO DE CADASTRO
   ========================================================================== */
.quiz-cadastro-container {
    margin-top: 2rem;
    padding: 2.5rem;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    border: 1px solid rgba(212, 165, 116, 0.3);
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.cadastro-header {
    text-align: center;
    margin-bottom: 2rem;
}

.cadastro-header h2 {
    font-size: 1.4rem;
    color: #E8C9A8 !important;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

/* Formulário */
.cadastro-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cadastro-submit-container {
    margin-top: 1rem;
    text-align: center;
}

.cadastro-submit-container button {
    width: 100%;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #D4A574 0%, #C9A86C 100%);
    color: #1A1A1A !important;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cadastro-submit-container button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

.cadastro-submit-container button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.cadastro-erro {
    margin: 0.5rem 0 0;
    text-align: center;
    font-size: 0.9rem;
    color: #ef4444 !important;
}

.cadastro-privacidade {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Campo WhatsApp */
.campo-grupo input[type="tel"] {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border: 1px solid rgba(212, 165, 116, 0.4);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF !important;
    transition: all 0.3s ease;
}

.campo-grupo input[type="tel"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.campo-grupo input[type="tel"]:focus {
    outline: none;
    border-color: #D4A574;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.2);
}

/* Loading spinner inline */
.loading-spinner-inline {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(26, 26, 26, 0.3);
    border-radius: 50%;
    border-top-color: #1A1A1A;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   CONTAINER DO QUIZ (legado)
   ========================================================================== */
.quiz-vibracional-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* ==========================================================================
   EXPLICAÇÃO
   ========================================================================== */
.quiz-explicacao {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    border: 1px solid rgba(212, 165, 116, 0.2);
}

.explicacao-header h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-style: italic;
    color: #E8C9A8;
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.explicacao-conteudo p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.explicacao-conteudo strong {
    color: #C9A86C;
}

/* Lista Poética */
.lista-poetica {
    font-size: 1.1rem;
    line-height: 2;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
}

/* Frase de Destaque */
.destaque-frase {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.3rem;
    font-style: italic;
    text-align: center;
    color: #F5E6D3;
    padding: 1rem 0;
    margin-top: 1rem;
}

/* Separador Suave */
.separador-suave {
    display: none;
}

/* Seção de Identificação */
.explicacao-identificacao {
    margin: 1.5rem 0;
}

.intro-identificacao {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.lista-identificacao {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lista-identificacao li {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
    border-bottom: 1px solid rgba(212, 165, 116, 0.1);
}

.lista-identificacao li:last-child {
    border-bottom: none;
}

.lista-identificacao li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.1rem;
    width: 6px;
    height: 6px;
    background: #C9A86C;
    border-radius: 50%;
}

.lista-identificacao li em {
    color: #E8C9A8;
    font-style: italic;
}

.explicacao-destaque {
    background: rgba(201, 168, 108, 0.1);
    border-left: 3px solid #C9A86C;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.explicacao-destaque p {
    margin-bottom: 0.5rem;
    color: #F5E6D3;
    font-weight: 500;
}

.explicacao-destaque p:first-child {
    font-size: 1.1rem;
    font-weight: 600;
    color: #C9A86C;
}

.explicacao-destaque p:last-child {
    margin-bottom: 0;
}

.explicacao-instrucoes {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 165, 116, 0.2);
}

.explicacao-instrucoes h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.4rem;
    color: #C9A86C;
    margin-bottom: 1rem;
}

.texto-enfase {
    color: #E8C9A8 !important;
    font-weight: 600;
    margin-top: 1rem !important;
}

/* ==========================================================================
   FORMULÁRIO DO QUIZ
   ========================================================================== */
.quiz-form {
    width: 100%;
}

/* ==========================================================================
   BLOCOS
   ========================================================================== */
.quiz-bloco {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(212, 165, 116, 0.15);
}

.bloco-titulo {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.3rem;
    color: #C9A86C;
    margin-bottom: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: none;
}

.bloco-descricao {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(212, 165, 116, 0.3);
}

/* ==========================================================================
   PERGUNTAS
   ========================================================================== */
.quiz-pergunta {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.quiz-pergunta:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.pergunta-texto {
    color: #F5E6D3;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.pergunta-numero {
    font-weight: 600;
    color: #C9A86C;
    margin-right: 0.3rem;
}

.texto-separador-bloco {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #2c3e50;
    text-align: center;
    margin: 1.5rem 0 2rem;
    padding: 1rem 0;
}

/* Lista de perguntas sem blocos */
.quiz-perguntas-lista {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.quiz-perguntas-lista .quiz-pergunta {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(212, 165, 116, 0.15);
}

.quiz-perguntas-lista .quiz-pergunta:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

/* ==========================================================================
   OPÇÕES DE RESPOSTA
   ========================================================================== */
.opcoes-resposta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.opcao-label {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.opcao-label:hover {
    background: rgba(212, 165, 116, 0.08);
    border-color: rgba(212, 165, 116, 0.3);
}

.opcao-label input[type="radio"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-right: 0.75rem;
    accent-color: #C9A86C;
    cursor: pointer;
}

.opcao-label input[type="radio"]:checked + .opcao-texto {
    color: #C9A86C;
    font-weight: 600;
}

.opcao-label:has(input:checked) {
    background: rgba(201, 168, 108, 0.12);
    border-color: #C9A86C;
}

.opcao-texto {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* ==========================================================================
   BOTÃO SUBMIT
   ========================================================================== */
.quiz-submit-container {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
}

#quiz-submit {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: #C9A86C !important;
    color: #FFFFFF !important;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#quiz-submit:hover {
    background: #E8C9A8;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 168, 108, 0.4);
}

#quiz-submit:disabled {
    background: rgba(201, 168, 108, 0.5);
    cursor: not-allowed;
    transform: none;
}

/* ==========================================================================
   RESULTADO - NOVO DESIGN FULLSCREEN
   ========================================================================== */
.quiz-resultado {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.resultado-container {
    padding: 3rem;
    background: #FFFFFF !important;
    border-radius: 20px;
    border: 1px solid rgba(92, 26, 26, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    color: #1A1A1A !important;
}

.resultado-container,
.resultado-container *,
.resultado-container p,
.resultado-container span,
.resultado-container div,
.resultado-container li,
.resultado-container strong,
.resultado-container em,
.resultado-container a {
    color: #1A1A1A !important;
}

.resultado-container h2,
.resultado-container h3,
.resultado-container .resultado-titulo {
    color: #5C1A1A !important;
}

.resultado-badge,
.resultado-badge span {
    color: #5C1A1A !important;
}

/* Badge do Resultado */
.resultado-badge {
    text-align: center;
    margin-bottom: 1.5rem;
}

.resultado-badge span {
    color: #5C1A1A !important;
    font-size: 0.7rem;
}

.resultado-badge {
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #5C1A1A;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

/* Nota Visual do Resultado */
.resultado-nota-container {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 2rem;
}

.resultado-nota-label {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666666;
    margin-bottom: 1.5rem;
}

.resultado-nota-circulo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid #C9A86C;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: #FFFFFF;
    box-shadow: 0 0 30px rgba(201, 168, 108, 0.3);
}

.resultado-nota-valor {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: #5C1A1A;
}

.resultado-nota-max {
    font-size: 1rem;
    color: #999999;
    margin-top: -0.3rem;
}

.resultado-nota-status {
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 1rem;
    color: #333333;
}

/* Header do Resultado */
.resultado-header {
    text-align: center;
    margin-bottom: 3rem;
}

.resultado-titulo {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-style: italic;
    color: #5C1A1A;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: none;
}

.resultado-linha {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #5C1A1A, transparent);
    margin: 0 auto;
}

/* Seções do Resultado */
.resultado-secao {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: rgba(92, 26, 26, 0.03);
    border-radius: 12px;
    border-left: 3px solid #5C1A1A;
    transition: all 0.3s ease;
}

.resultado-secao:hover {
    background: rgba(92, 26, 26, 0.05);
}

.resultado-secao h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.4rem;
    color: #5C1A1A !important;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.resultado-texto-formatado p {
    color: #1A1A1A !important;
    line-height: 1.9;
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

.resultado-texto-formatado p:last-child {
    margin-bottom: 0;
}

/* Descrição */
.resultado-descricao {
    border-left-color: #5C1A1A;
}

/* Destaque (erro comum) */
.resultado-destaque {
    background: rgba(229, 115, 115, 0.08);
    border-left-color: #E57373;
}

.resultado-destaque h3 {
    color: #E57373 !important;
}

.destaque-icone {
    font-size: 1.5rem;
    color: #E57373 !important;
    text-align: center;
    display: block;
    margin: 0 auto 0.8rem auto;
}

/* Ação */
.resultado-acao {
    background: rgba(201, 168, 108, 0.08);
    border-left-color: #C9A86C;
}

.acao-icone {
    font-size: 1.3rem;
    text-align: center;
    display: block;
    margin: 0 auto 0.8rem auto;
    color: #C9A86C !important;
}

/* Ponte */
.resultado-ponte {
    background: linear-gradient(135deg, rgba(201, 168, 108, 0.15) 0%, rgba(92, 26, 26, 0.1) 100%);
    border: 1px solid rgba(92, 26, 26, 0.2);
    border-left: 3px solid #5C1A1A;
    text-align: center;
}

.resultado-ponte p {
    font-style: italic;
    font-size: 1.1rem !important;
    color: #1A1A1A !important;
}

/* CTA do Resultado */
.resultado-cta {
    text-align: center;
    padding: 2.5rem 0 1rem;
}

.btn-cta-principal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.3rem 2.5rem;
    font-family: 'Lato', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #D4A574 0%, #C9A86C 100%);
    color: #1A1A1A !important;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(201, 168, 108, 0.3);
}

.btn-cta-principal:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(201, 168, 108, 0.5);
    color: #1A1A1A !important;
}

.btn-cta-principal svg {
    transition: transform 0.3s ease;
    stroke: #1A1A1A !important;
}

.btn-cta-principal:hover svg {
    transform: translateX(5px);
}

.cta-subtexto {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #666666 !important;
    letter-spacing: 1px;
}

/* Refazer */
.resultado-refazer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
}

.btn-refazer {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid rgba(92, 26, 26, 0.3);
    color: #5C1A1A !important;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-refazer:hover {
    border-color: #5C1A1A;
    color: #5C1A1A !important;
    background: rgba(92, 26, 26, 0.05);
}

.btn-refazer svg {
    transition: transform 0.3s ease;
    stroke: #5C1A1A !important;
}

.btn-refazer:hover svg {
    transform: rotate(-180deg);
}
    line-height: 1.8;
    margin-bottom: 0.75rem;
    white-space: pre-line;
}

/* Destaque nos Resultados */
.resultado-destaque {
    background: rgba(201, 168, 108, 0.1);
    border-left: 3px solid #C9A86C;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.resultado-destaque h3 {
    margin-top: 0;
}

/* Ação */
.resultado-acao {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.resultado-acao h3 {
    color: #E8C9A8;
}

/* Ponte */
.resultado-ponte {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 165, 116, 0.2);
}

.resultado-ponte p {
    font-size: 1.05rem;
    color: #F5E6D3;
}

/* ==========================================================================
   LOADING
   ========================================================================== */
.quiz-loading {
    text-align: center;
    padding: 3rem;
}

.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(201, 168, 108, 0.3);
    border-top-color: #C9A86C;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-texto {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Loading Spinner Inline (no botão) */
.loading-spinner-inline {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(26, 26, 26, 0.3);
    border-top-color: #1A1A1A;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 0.5rem;
}

/* ==========================================================================
   RESPONSIVIDADE
   ========================================================================== */
@media (max-width: 768px) {
    .quiz-fullscreen-wrapper {
        padding: 1rem;
    }
    
    .quiz-vibracional-container {
        padding: 0;
    }
    
    .quiz-bloco {
        padding: 1.5rem;
    }
    
    .quiz-explicacao {
        padding: 1.5rem;
    }
    
    .resultado-container {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .resultado-secao {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .resultado-titulo {
        font-size: 1.8rem;
    }
    
    .resultado-nota-circulo {
        width: 110px;
        height: 110px;
    }
    
    .resultado-nota-valor {
        font-size: 2.8rem;
    }
    
    .resultado-nota-status {
        font-size: 1rem;
    }
    
    .resultado-secao h3 {
        font-size: 1.2rem;
    }
    
    .resultado-texto-formatado p {
        font-size: 0.95rem;
    }
    
    .opcao-label {
        padding: 0.6rem 0.8rem;
    }
    
    .opcao-texto {
        font-size: 0.85rem;
    }
    
    #quiz-submit {
        width: 100%;
        padding: 1rem 2rem;
    }
    
    .btn-cta-principal {
        padding: 1rem 1.8rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 100%;
    }
    
    .quiz-beneficios {
        flex-direction: column;
    }
}

/* ==========================================================================
   ANIMAÇÕES DE ENTRADA
   ========================================================================== */
.quiz-bloco {
    animation: fadeInUp 0.5s ease forwards;
}

.quiz-bloco:nth-child(1) { animation-delay: 0.1s; }
.quiz-bloco:nth-child(2) { animation-delay: 0.2s; }
.quiz-bloco:nth-child(3) { animation-delay: 0.3s; }
.quiz-bloco:nth-child(4) { animation-delay: 0.4s; }

/* ==========================================================================
   ESTADOS DE ERRO
   ========================================================================== */
.quiz-pergunta.erro .pergunta-texto {
    color: #E57373;
}

.quiz-pergunta.erro .opcoes-resposta {
    border: 1px solid rgba(229, 115, 115, 0.5);
    border-radius: 6px;
    padding: 0.5rem;
}

.mensagem-erro {
    color: #E57373;
    font-size: 0.85rem;
    margin-top: 1rem;
    text-align: center;
}

/* ==========================================================================
   QUIZ NA PÁGINA COM FUNDO BRANCO
   ========================================================================== */
.quiz-home-page .quiz-bloco {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.1);
}

.quiz-home-page .bloco-titulo {
    color: #5C1A1A;
}

.quiz-home-page .bloco-descricao {
    color: #666666;
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

.quiz-home-page .pergunta-texto {
    color: #1A1A1A;
}

.quiz-home-page .pergunta-numero {
    color: #5C1A1A;
}

.quiz-home-page .quiz-perguntas-lista .quiz-pergunta {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

.quiz-home-page .opcao-label {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.15);
    color: #333333;
}

.quiz-home-page .opcao-label:hover {
    background: rgba(92, 26, 26, 0.05);
    border-color: #5C1A1A;
}

.quiz-home-page input[type="radio"]:checked + .opcao-label {
    background: rgba(92, 26, 26, 0.1);
    border-color: #5C1A1A;
    color: #5C1A1A;
}

.quiz-home-page .opcao-indicador {
    border-color: rgba(0, 0, 0, 0.3);
}

.quiz-home-page input[type="radio"]:checked + .opcao-label .opcao-indicador {
    border-color: #C9A86C;
    background: #C9A86C;
}

.quiz-home-page #quiz-submit {
    background: linear-gradient(135deg, #C9A86C, #A8864A);
    color: #FFFFFF;
    border-radius: 50px;
    padding: 1.2rem 3.5rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(201, 168, 108, 0.4);
}

.quiz-home-page #quiz-submit:hover {
    background: linear-gradient(135deg, #D4B87C, #B8965A);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(201, 168, 108, 0.5);
}

/* Resultado na página branca */
.quiz-home-page .resultado-container {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.quiz-home-page .resultado-badge {
    color: #666666;
}

.quiz-home-page .resultado-badge span {
    color: #5C1A1A;
}

.quiz-home-page .resultado-nota-label {
    color: #666666;
}

.quiz-home-page .resultado-nota-circulo {
    background: rgba(0, 0, 0, 0.02);
    box-shadow: none;
}

.quiz-home-page .resultado-nota-max {
    color: #666666;
}

.quiz-home-page .resultado-titulo {
    color: #1A1A1A;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    text-shadow: none;
}

.quiz-home-page .resultado-linha {
    background: linear-gradient(90deg, transparent, #5C1A1A, transparent);
}

.quiz-home-page .resultado-secao {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.1);
}

.quiz-home-page .resultado-secao h3 {
    color: #1A1A1A;
}

.quiz-home-page .resultado-texto-formatado p {
    color: #333333;
}

.quiz-home-page .resultado-destaque {
    background: rgba(239, 68, 68, 0.05);
    border-left: 3px solid #ef4444;
}

.quiz-home-page .destaque-icone,
.quiz-home-page .acao-icone {
    color: #C9A86C;
}

.quiz-home-page .btn-cta-principal {
    background: linear-gradient(135deg, #C9A86C, #A8864A);
    color: #FFFFFF;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(201, 168, 108, 0.4);
}

.quiz-home-page .btn-cta-principal:hover {
    background: linear-gradient(135deg, #D4B87C, #B8965A);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(201, 168, 108, 0.5);
}

.quiz-home-page .cta-subtexto {
    color: #A8864A;
}

.quiz-home-page .btn-refazer {
    color: #A8864A;
    border-color: #A8864A;
}

.quiz-home-page .btn-refazer:hover {
    background: rgba(201, 168, 108, 0.1);
}
/* ==========================================================================
   RESULTADO COM FUNDO BRANCO - Letras pretas
   ========================================================================== */
.resultado-container {
    background: #FFFFFF;
    border: 1px solid rgba(92, 26, 26, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.resultado-badge,
.resultado-badge span {
    color: #5C1A1A !important;
}

.resultado-nota-label {
    color: #666666 !important;
}

.resultado-nota-circulo {
    background: #FFFFFF;
    border-color: #C9A86C;
    box-shadow: 0 0 30px rgba(201, 168, 108, 0.3);
}

.resultado-nota-valor {
    color: #5C1A1A !important;
}

.resultado-nota-max {
    color: #999999 !important;
}

.resultado-nota-status {
    color: #333333 !important;
}

.resultado-titulo {
    color: #5C1A1A !important;
    text-shadow: none;
}

.resultado-linha {
    background: linear-gradient(90deg, transparent, #5C1A1A, transparent);
}

.resultado-secao {
    background: rgba(92, 26, 26, 0.03);
    border-left-color: #5C1A1A;
}

.resultado-secao:hover {
    background: rgba(92, 26, 26, 0.05);
}

.resultado-secao h3 {
    color: #5C1A1A !important;
}

.resultado-texto-formatado p {
    color: #333333 !important;
}

.resultado-descricao {
    border-left-color: #5C1A1A;
}

.resultado-destaque {
    background: rgba(239, 68, 68, 0.08);
    border-left-color: #dc2626;
}

.resultado-destaque h3 {
    color: #dc2626 !important;
}

.resultado-acao {
    background: rgba(201, 168, 108, 0.1);
    border-left-color: #C9A86C;
}

.resultado-acao h3 {
    color: #5C1A1A !important;
}

.resultado-ponte {
    background: linear-gradient(135deg, rgba(201, 168, 108, 0.15) 0%, rgba(92, 26, 26, 0.1) 100%);
    border: 1px solid rgba(92, 26, 26, 0.2);
    border-left: 3px solid #5C1A1A;
}

.resultado-ponte p {
    color: #333333 !important;
}

.cta-subtexto {
    color: #666666 !important;
}

.resultado-refazer {
    border-top-color: rgba(0, 0, 0, 0.1);
}

.btn-refazer {
    color: #5C1A1A !important;
    border-color: rgba(92, 26, 26, 0.3);
}

.btn-refazer:hover {
    border-color: #5C1A1A;
    background: rgba(92, 26, 26, 0.05);
}

/* ==========================================================================
   MODO PERGUNTA ÚNICA - Uma pergunta por vez
   ========================================================================== */
.quiz-pergunta-unica .quiz-perguntas-lista {
    position: relative;
    min-height: 400px;
}

/* Barra de Progresso */
.quiz-progresso-container {
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.quiz-progresso-info {
    text-align: center;
    font-size: 0.95rem;
    color: #333333 !important;
    margin-bottom: 0.75rem;
}

.quiz-progresso-info .progresso-atual {
    font-weight: 700;
    color: #5C1A1A !important;
    font-size: 1.1rem;
}

.quiz-progresso-barra {
    height: 6px;
    background: rgba(92, 26, 26, 0.15);
    border-radius: 3px;
    overflow: hidden;
}

.quiz-progresso-fill {
    height: 100%;
    background: linear-gradient(90deg, #5C1A1A, #C9A86C);
    border-radius: 3px;
    transition: width 0.4s ease;
}

/* Slides de Pergunta */
.quiz-pergunta-slide {
    display: none;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.quiz-pergunta-slide.pergunta-ativa {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.quiz-pergunta-slide.pergunta-saindo-proximo {
    opacity: 0;
    transform: translateX(-50px);
}

.quiz-pergunta-slide.pergunta-saindo-anterior {
    opacity: 0;
    transform: translateX(50px);
}

.quiz-pergunta-slide.pergunta-entrando-proximo {
    transform: translateX(50px);
}

.quiz-pergunta-slide.pergunta-entrando-anterior {
    transform: translateX(-50px);
}

/* Texto de contexto do bloco */
.texto-contexto-bloco {
    text-align: center;
    font-size: 0.95rem;
    color: #FFFFFF !important;
    font-style: italic;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background: rgba(92, 26, 26, 0.6) !important;
    border-radius: 8px;
    border-left: 3px solid #C9A86C;
}

.texto-contexto-bloco * {
    color: #FFFFFF !important;
}

/* Card da Pergunta */
.pergunta-card {
    background: #FFFFFF !important;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(92, 26, 26, 0.1);
    margin-bottom: 1.5rem;
}

.quiz-pergunta-unica .pergunta-texto {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333333 !important;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.quiz-pergunta-unica .opcoes-resposta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quiz-pergunta-unica .opcao-label {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    background: #f8f8f8 !important;
    border: 2px solid transparent !important;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quiz-pergunta-unica .opcao-label:hover {
    background: #fff !important;
    border-color: #C9A86C !important;
    transform: translateX(5px);
}

.quiz-pergunta-unica .opcao-label input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 1rem;
    accent-color: #5C1A1A;
}

.quiz-pergunta-unica .opcao-label input[type="radio"]:checked + .opcao-texto {
    color: #5C1A1A !important;
    font-weight: 600;
}

.quiz-pergunta-unica .opcao-label:has(input:checked) {
    background: rgba(201, 168, 108, 0.15) !important;
    border-color: #5C1A1A !important;
}

.quiz-pergunta-unica .opcao-texto {
    font-size: 1rem;
    color: #333333 !important;
}

/* Navegação */
.quiz-navegacao {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Centraliza o botão submit na última pergunta */
.quiz-navegacao:has(#quiz-submit) {
    justify-content: center;
}

.btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-voltar {
    background: #C9A86C !important;
    border: none !important;
    color: #FFFFFF !important;
    border-radius: 50px;
}

.btn-voltar svg {
    stroke: #FFFFFF !important;
}

.btn-voltar:hover {
    background: #E8C9A8 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 168, 108, 0.4);
}

.btn-proximo {
    display: none; /* Oculto - avanço automático ao selecionar */
    background: rgba(92, 26, 26, 0.1) !important;
    border: 2px solid #5C1A1A !important;
    color: #5C1A1A !important;
}

.btn-proximo:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-proximo:not(:disabled):hover,
.btn-proximo.btn-ativo:hover {
    background: #5C1A1A !important;
    color: #fff !important;
}

.quiz-navegacao #quiz-submit {
    margin-left: auto;
}

.quiz-navegacao #quiz-submit:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Responsivo */
@media (max-width: 768px) {
    .quiz-pergunta-unica .quiz-perguntas-lista {
        min-height: 350px;
    }
    
    .pergunta-card {
        padding: 1.5rem;
    }
    
    .quiz-pergunta-unica .pergunta-texto {
        font-size: 1.1rem;
    }
    
    .quiz-pergunta-unica .opcao-label {
        padding: 0.875rem 1rem;
    }
    
    .btn-nav {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .quiz-navegacao {
        flex-wrap: wrap;
    }
    
    .quiz-navegacao #quiz-submit {
        width: 100%;
        margin-top: 0.5rem;
    }
}

/* ==========================================================================
   FORÇAR CORES PRETAS NO QUIZ PERGUNTA ÚNICA
   Sobrescreve todos os estilos globais com alta especificidade
   ========================================================================== */
.quiz-vibracional-container.quiz-pergunta-unica,
.quiz-vibracional-container.quiz-pergunta-unica * {
    color: #333333;
}

.quiz-vibracional-container.quiz-pergunta-unica .quiz-progresso-info {
    color: #333333 !important;
}

.quiz-vibracional-container.quiz-pergunta-unica .progresso-atual {
    color: #5C1A1A !important;
}

.quiz-vibracional-container.quiz-pergunta-unica .texto-contexto-bloco {
    color: #FFFFFF !important;
    background: rgba(92, 26, 26, 0.6) !important;
}

.quiz-vibracional-container.quiz-pergunta-unica .pergunta-card {
    background: #FFFFFF !important;
}

.quiz-vibracional-container.quiz-pergunta-unica .pergunta-texto {
    color: #333333 !important;
}

.quiz-vibracional-container.quiz-pergunta-unica .opcao-label {
    background: #f5f5f5 !important;
    border: 2px solid #e0e0e0 !important;
}

.quiz-vibracional-container.quiz-pergunta-unica .opcao-label:hover {
    background: #ffffff !important;
    border-color: #C9A86C !important;
}

.quiz-vibracional-container.quiz-pergunta-unica .opcao-label:has(input:checked) {
    background: rgba(201, 168, 108, 0.2) !important;
    border-color: #5C1A1A !important;
}

.quiz-vibracional-container.quiz-pergunta-unica .opcao-texto {
    color: #333333 !important;
}

.quiz-vibracional-container.quiz-pergunta-unica .opcao-label input[type="radio"]:checked + .opcao-texto {
    color: #5C1A1A !important;
}

.quiz-vibracional-container.quiz-pergunta-unica .btn-nav {
    color: #FFFFFF !important;
}

.quiz-vibracional-container.quiz-pergunta-unica .btn-proximo:not(:disabled):hover {
    background: #5C1A1A !important;
    color: #FFFFFF !important;
}

.quiz-vibracional-container.quiz-pergunta-unica #quiz-submit {
    background: #C9A86C !important;
    color: #FFFFFF !important;
    border-radius: 50px;
}

/* ==========================================================================
   FUNDO BRANCO - Ajustes para página com fundo claro
   ========================================================================== */
body.fundo-branco .campo-grupo label {
    color: #1A1A1A !important;
}

body.fundo-branco .campo-grupo input[type="text"],
body.fundo-branco .campo-grupo input[type="email"],
body.fundo-branco .campo-grupo input[type="tel"] {
    background: #FFFFFF !important;
    color: #1A1A1A !important;
    border: 1px solid #CCCCCC;
}

body.fundo-branco .campo-grupo input[type="text"]::placeholder,
body.fundo-branco .campo-grupo input[type="email"]::placeholder,
body.fundo-branco .campo-grupo input[type="tel"]::placeholder {
    color: #999999;
}

body.fundo-branco .campo-grupo input[type="text"]:focus,
body.fundo-branco .campo-grupo input[type="email"]:focus,
body.fundo-branco .campo-grupo input[type="tel"]:focus {
    border-color: #C9A86C;
    background: #FFFFFF !important;
    box-shadow: 0 0 0 3px rgba(201, 168, 108, 0.2);
}

body.fundo-branco .quiz-cadastro-container {
    background: #F9F9F9 !important;
    border: 1px solid #E0E0E0 !important;
}

body.fundo-branco .cadastro-header h2 {
    color: #1A1A1A !important;
}

body.fundo-branco .cadastro-header p {
    color: #555555 !important;
}

body.fundo-branco .checkbox-label {
    color: #555555 !important;
}

body.fundo-branco .cadastro-privacidade {
    color: #888888 !important;
}

/* ==========================================================================
   EXPLICAÇÃO — Overrides para fundo branco
   ========================================================================== */
body.fundo-branco .quiz-explicacao {
    background: transparent;
    border: none;
}

body.fundo-branco .explicacao-header h2 {
    color: #1A1A1A;
}

body.fundo-branco .explicacao-conteudo p,
body.fundo-branco .lista-poetica {
    color: #333333;
}

body.fundo-branco .explicacao-conteudo strong {
    color: #8B6914;
}

body.fundo-branco .destaque-frase {
    color: #1A1A1A;
}

body.fundo-branco .intro-identificacao {
    color: #555555;
}

body.fundo-branco .lista-identificacao li {
    color: #333333;
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

body.fundo-branco .lista-identificacao li::before {
    background: #C9A86C;
}

body.fundo-branco .lista-identificacao li em {
    color: #8B6914;
}

body.fundo-branco .explicacao-destaque {
    background: rgba(201, 168, 108, 0.08);
    border-left-color: #C9A86C;
}

body.fundo-branco .explicacao-destaque p {
    color: #1A1A1A;
}

body.fundo-branco .explicacao-destaque p:first-child {
    color: #8B6914;
}

body.fundo-branco .explicacao-instrucoes {
    border-top-color: rgba(0, 0, 0, 0.1);
}

body.fundo-branco .explicacao-instrucoes h3 {
    color: #8B6914;
}

body.fundo-branco .explicacao-instrucoes p {
    color: #333333;
}

body.fundo-branco .texto-enfase {
    color: #8B6914 !important;
}