:root {
    --primary-color: #6a11cb;
    --secondary-color: #2575fc;
    --accent-color: #ff6b6b;
    --text-color: #2c3e50;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #7f8c8d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--light-gray);
    color: var(--text-color);
    line-height: 1.6;
    padding: 20px;
}

.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

/* CABEÇALHO */
.quiz-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--medium-gray);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* BARRA DE PROGRESSO */
.progress-container {
    width: 100%;
    height: 8px;
    background: var(--medium-gray);
    border-radius: 4px;
    margin-bottom: 30px;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    width: 0%;
    transition: width 0.4s ease;
    border-radius: 4px;
}

.progress-text {
    position: absolute;
    right: 0;
    top: -25px;
    font-size: 0.8rem;
    color: var(--dark-gray);
}

/* ESTILOS DAS ETAPAS */
.quiz-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.quiz-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* PERGUNTAS */
.question-header {
    margin-bottom: 30px;
}

.question-number {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-weight: 600;
    margin-right: 10px;
}

.question-text {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.question-subtext {
    font-size: 0.9rem;
    color: var(--dark-gray);
    font-style: italic;
    margin-top: 5px;
}

/* OPÇÕES DE RESPOSTA */
.options-container {
    display: grid;
    gap: 15px;
    margin-bottom: 30px;
}

.option-btn, .option-card {
    padding: 15px 20px;
    background-color: var(--light-gray);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--medium-gray);
    font-weight: 500;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.option-btn::before, .option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.option-btn:hover::before, .option-card:hover::before {
    left: 100%;
}

.option-btn:hover, .option-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.1);
}

.option-btn.selected, .option-card.selected {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.2);
}

.options-container.multiple .option-btn {
    margin-bottom: 10px;
}

.options-container.multiple .option-btn.selected {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.option-card img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid var(--medium-gray);
}

/* BOTÕES */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn-prev, .btn-next, .btn-start, .btn-cta {
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn-prev {
    background-color: var(--medium-gray);
    color: var(--primary-color);
}

.btn-prev:hover {
    background-color: #dee2e6;
}

.btn-next, .btn-start, .btn-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.3);
}

.btn-next:hover, .btn-start:hover, .btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(106, 17, 203, 0.4);
}

.btn-next:disabled {
    background: var(--medium-gray);
    color: #adb5bd;
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.7;
}

.btn-next i, .btn-start i, .btn-cta i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.btn-next:hover i, .btn-start:hover i, .btn-cta:hover i {
    transform: translateX(3px);
}

/* TELA DE INTRODUÇÃO */
.intro-header {
    text-align: center;
    margin-bottom: 40px;
}

.intro-header h1 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin: 20px 0 10px;
    line-height: 1.3;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 5px;
}

.timer-info {
    font-size: 0.9rem;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.timer-info i {
    margin-right: 5px;
}

.intro-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    display: block;
    border: 5px solid #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.intro-content {
    text-align: center;
}

.btn-start {
    font-size: 1.1rem;
    padding: 15px 30px;
    margin: 0 auto;
}

/* TELA DE RESULTADOS */
.results-container {
    animation: fadeIn 0.5s ease;
}

.results-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-color);
    font-size: 1.8rem;
}

.result-category {
    margin-bottom: 25px;
    background: var(--light-gray);
    padding: 20px;
    border-radius: 10px;
}

.result-category h3 {
    margin-bottom: 10px;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.result-category h3 i {
    margin-right: 10px;
    color: var(--primary-color);
}

.progress-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.progress-bar-result {
    height: 10px;
    background-color: var(--medium-gray);
    border-radius: 5px;
    flex-grow: 1;
    margin-right: 10px;
    overflow: hidden;
}

.progress-bar-result::after {
    content: '';
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 5px;
    width: 0%;
    transition: width 1s ease;
}

.progress-value {
    font-weight: 600;
    color: var(--text-color);
    min-width: 40px;
    text-align: right;
}

.result-feedback {
    font-size: 0.95rem;
    color: var(--dark-gray);
    margin-top: 10px;
}

.recommendation {
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: 10px;
    margin: 30px 0;
}

.recommendation h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.recommendation video {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 20px auto;
}

.cta-section {
    text-align: center;
    margin-top: 40px;
    background: linear-gradient(135deg, rgba(106, 17, 203, 0.05) 0%, rgba(37, 117, 252, 0.05) 100%);
    padding: 30px;
    border-radius: 15px;
    border: 1px dashed var(--primary-color);
}

.cta-section h3 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.cta-section p {
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.btn-cta {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1rem;
    text-decoration: none;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* BLOCO DE CIÊNCIA */
.science-block {
    background: linear-gradient(135deg, rgba(106, 17, 203, 0.05) 0%, rgba(37, 117, 252, 0.05) 100%);
    padding: 25px;
    border-radius: 15px;
    margin: 30px 0;
    border-left: 4px solid var(--primary-color);
}

.science-block h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.science-block h3 i {
    margin-right: 10px;
}

.science-block p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.university-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    align-items: center;
    justify-content: center;
}

.university-logos img {
    height: 30px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.university-logos img:hover {
    opacity: 1;
}

/* BLOCO DE ESPECIALISTA */
.expert-block {
    display: flex;
    gap: 20px;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin: 30px 0;
}

.expert-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.expert-info h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.expert-title {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.expert-bio {
    font-size: 0.9rem;
}

/* TESTEMUNHO */
.testimonial {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin: 30px 0;
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 4rem;
    color: rgba(106, 17, 203, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* VÍDEOS DE DEPOIMENTO */
.testimonial-videos {
    margin: 40px 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.video-container {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.video-container video {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

/* IMAGEM DA COMUNIDADE */
.community-title {
    text-align: center;
    margin: 30px 0 20px;
}

.community-text {
    text-align: center;
    margin-bottom: 30px;
}

.community-image {
    margin: 30px 0;
    text-align: center;
}

.community-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    .quiz-container {
        padding: 15px;
    }
    
    .options-container {
        grid-template-columns: 1fr;
    }
    
    .question-header h2 {
        font-size: 1.2rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
    }
    
    .expert-block {
        flex-direction: column;
        text-align: center;
    }
    
    .university-logos img {
        height: 25px;
    }
    
    .video-container video {
        max-width: 100%;
    }
    
    .recommendation video {
        max-width: 100%;
    }
}