/* ========================================
   RESET E VARIÁVEIS
   ======================================== */

:root {
    /* Cores Azul */
    --azul-escuro: #1E3A8A;
    --azul-medio: #1E40AF;
    --azul-claro: #3B82F6;
    --azul-muito-claro: #EFF6FF;
    
    /* Cores Laranja */
    --laranja-escuro: #EA580C;
    --laranja-medio: #F97316;
    --laranja-claro: #FB923C;
    --laranja-muito-claro: #FFF7ED;
    
    /* Cores Neutras */
    --preto: #0F172A;
    --cinza-escuro: #1E293B;
    --cinza-medio: #64748B;
    --cinza-claro: #CBD5E1;
    --cinza-muito-claro: #E2E8F0;
    --branco: #FFFFFF;
    
    /* Cores Feedback */
    --verde: #10B981;
    --verde-claro: #D1FAE5;
    --vermelho: #EF4444;
    --vermelho-claro: #FEE2E2;
    
    /* WhatsApp */
    --whatsapp: #25D366;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    
    /* Transições */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--cinza-escuro);
    background-color: var(--cinza-muito-claro);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================================
   HEADER
   ======================================== */

.header {
    background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul-medio) 100%);
    color: var(--branco);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo i {
    color: var(--laranja-claro);
    font-size: 2rem;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--branco);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-link-whatsapp {
    background: var(--whatsapp);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
}

.nav-link-whatsapp:hover {
    background: #1fb855;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--branco);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ========================================
   VÍDEO SECTION
   ======================================== */

.video-section {
    background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul-medio) 100%);
    padding: 3rem 0;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ========================================
   BANNER AULÃO
   ======================================== */

.aulao-banner {
    background: var(--azul-medio);
    color: var(--branco);
    padding: 1.5rem 0;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.aulao-banner p {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul-medio) 100%);
    color: var(--branco);
    padding: 5rem 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--laranja-claro);
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    opacity: 0.8;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 5px solid var(--laranja-claro);
}

/* ========================================
   MÓDULOS SECTION
   ======================================== */

.modulos-section {
    padding: 5rem 0;
    background: var(--branco);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--azul-escuro);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--cinza-medio);
    margin-bottom: 3rem;
}

.modulos-grid {
    display: grid;
    gap: 1.5rem;
}

.modulo-card {
    background: var(--branco);
    border: 2px solid var(--azul-claro);
    border-left: 5px solid var(--laranja-medio);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.modulo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.modulo-header {
    background: linear-gradient(135deg, var(--azul-medio) 0%, var(--azul-claro) 100%);
    color: var(--branco);
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.modulo-header:hover {
    background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul-medio) 100%);
}

.modulo-header h3 {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modulo-header i.fa-chevron-down {
    transition: transform 0.3s ease;
}

.modulo-card.active .modulo-header i.fa-chevron-down {
    transform: rotate(180deg);
}

.modulo-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.modulo-card.active .modulo-content {
    padding: 1.5rem;
    max-height: 2000px;
}

.modulo-content p {
    margin-bottom: 1rem;
    color: var(--cinza-escuro);
}

.modulo-content blockquote {
    background: var(--laranja-muito-claro);
    border-left: 4px solid var(--laranja-medio);
    padding: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--preto);
    border-radius: 0.5rem;
}

.modulo-content ul,
.modulo-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.modulo-content li {
    margin-bottom: 0.5rem;
    color: var(--cinza-escuro);
}

.modulo-content h4 {
    color: var(--azul-medio);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.stats-box {
    background: linear-gradient(135deg, var(--azul-muito-claro) 0%, var(--laranja-muito-claro) 100%);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    border: 2px solid var(--azul-claro);
}

.stats-box h4 {
    color: var(--azul-escuro);
    margin-bottom: 1rem;
}

.stats-box ul {
    list-style: none;
    margin-left: 0;
}

.stats-box li {
    padding: 0.5rem 0;
    font-weight: 500;
}

.content-image img {
    box-shadow: var(--shadow-lg);
}

/* ========================================
   QUIZ SECTION - COM CONTRASTE AZUL/LARANJA/PRETO
   ======================================== */

.quiz-section {
    background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul-medio) 100%);
    padding: 5rem 0;
}

.quiz-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Header do Quiz - Gradiente Laranja */
.quiz-header {
    background: linear-gradient(135deg, var(--laranja-medio) 0%, var(--laranja-claro) 100%);
    color: var(--branco);
    padding: 2rem;
    border-radius: 1rem 1rem 0 0;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.quiz-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.quiz-header p {
    font-size: 1.125rem;
    opacity: 0.95;
}

/* Barra de Progresso - Laranja */
.quiz-progress {
    background: var(--branco);
    padding: 1.5rem;
    border-bottom: 3px solid var(--azul-claro);
}

.progress-bar {
    background: var(--cinza-muito-claro);
    height: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 0.75rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--laranja-medio) 0%, var(--laranja-claro) 100%);
    width: 0%;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px var(--laranja-claro);
}

.progress-text {
    text-align: center;
    color: var(--preto);
    font-weight: 600;
    font-size: 1rem;
}

/* Conteúdo do Quiz */
.quiz-content {
    background: var(--branco);
    padding: 2rem;
    border-radius: 0 0 1rem 1rem;
    box-shadow: var(--shadow-xl);
}

/* Card da Questão - Branco com bordas Azul/Laranja */
.question-card {
    background: var(--branco);
    border: 3px solid var(--azul-claro);
    border-left: 6px solid var(--laranja-medio);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(30, 64, 175, 0.1);
}

/* Número da Questão - Badge Laranja */
.question-number {
    display: inline-block;
    background: linear-gradient(135deg, var(--laranja-medio) 0%, var(--laranja-claro) 100%);
    color: var(--branco);
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}

/* Texto da Pergunta - Preto */
.question-text {
    color: var(--preto);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Opções de Resposta */
.options-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option {
    background: var(--branco);
    border: 2px solid var(--cinza-claro);
    border-radius: 0.75rem;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.option::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--azul-claro);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.option:hover {
    border-color: var(--azul-claro);
    background: var(--azul-muito-claro);
    transform: translateX(5px);
}

.option:hover::before {
    transform: scaleY(1);
}

/* Letra da Opção - Círculo Azul */
.option-letter {
    background: linear-gradient(135deg, var(--azul-medio) 0%, var(--azul-claro) 100%);
    color: var(--branco);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.option-text {
    color: var(--cinza-escuro);
    font-size: 1.05rem;
    line-height: 1.5;
    font-weight: 500;
}

/* Opção Selecionada - Azul */
.option.selected {
    background: var(--azul-claro);
    border-color: var(--azul-medio);
    transform: translateX(8px);
}

.option.selected .option-letter {
    background: var(--branco);
    color: var(--azul-claro);
}

.option.selected .option-text {
    color: var(--branco);
    font-weight: 600;
}

.option.selected::before {
    transform: scaleY(1);
    width: 6px;
    background: var(--laranja-medio);
}

/* Opção Correta - Verde */
.option.correct {
    background: var(--verde);
    border-color: var(--verde);
    animation: correctPulse 0.5s ease;
}

.option.correct .option-letter {
    background: var(--branco);
    color: var(--verde);
}

.option.correct .option-text {
    color: var(--branco);
    font-weight: 600;
}

.option.correct::before {
    background: var(--branco);
    transform: scaleY(1);
}

@keyframes correctPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Opção Incorreta - Vermelho */
.option.incorrect {
    background: var(--vermelho);
    border-color: var(--vermelho);
    animation: incorrectShake 0.5s ease;
}

.option.incorrect .option-letter {
    background: var(--branco);
    color: var(--vermelho);
}

.option.incorrect .option-text {
    color: var(--branco);
    font-weight: 600;
}

.option.incorrect::before {
    background: var(--branco);
    transform: scaleY(1);
}

@keyframes incorrectShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Desabilitar opções após resposta */
.option.disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Feedback Box - Laranja */
.feedback-box {
    background: var(--laranja-muito-claro);
    border-left: 5px solid var(--laranja-medio);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-top: 1.5rem;
    box-shadow: var(--shadow-md);
    animation: feedbackSlide 0.4s ease;
}

@keyframes feedbackSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feedback-box.correct {
    background: var(--verde-claro);
    border-left-color: var(--verde);
}

.feedback-box.incorrect {
    background: var(--vermelho-claro);
    border-left-color: var(--vermelho);
}

.feedback-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--preto);
}

.feedback-title i {
    font-size: 1.5rem;
}

.feedback-box.correct .feedback-title {
    color: var(--verde);
}

.feedback-box.incorrect .feedback-title {
    color: var(--vermelho);
}

.feedback-text {
    color: var(--preto);
    line-height: 1.6;
    font-size: 1rem;
}

/* Botões do Quiz */
.quiz-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    box-shadow: var(--shadow-md);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Botão Verificar - Laranja */
.btn-verify {
    background: linear-gradient(135deg, var(--laranja-medio) 0%, var(--laranja-claro) 100%);
    color: var(--branco);
}

.btn-verify:hover {
    background: linear-gradient(135deg, var(--laranja-escuro) 0%, var(--laranja-medio) 100%);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
}

.btn-verify:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Botão Próxima - Azul */
.btn-next {
    background: linear-gradient(135deg, var(--azul-medio) 0%, var(--azul-claro) 100%);
    color: var(--branco);
}

.btn-next:hover {
    background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul-medio) 100%);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

/* Botão Reiniciar - Preto */
.btn-restart {
    background: linear-gradient(135deg, var(--preto) 0%, var(--cinza-escuro) 100%);
    color: var(--branco);
}

.btn-restart:hover {
    background: linear-gradient(135deg, var(--cinza-escuro) 0%, var(--cinza-medio) 100%);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.4);
}

/* Resultados do Quiz */
.quiz-results {
    background: var(--branco);
    padding: 3rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--azul-claro);
}

.quiz-results h3 {
    font-size: 2rem;
    color: var(--azul-escuro);
    margin-bottom: 2rem;
}

/* Score Circular - Laranja */
.result-score {
    margin: 2rem 0;
}

.score-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--laranja-medio) 0%, var(--laranja-claro) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.5);
    animation: scoreAppear 0.6s ease;
}

@keyframes scoreAppear {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.score-circle #finalScore {
    font-size: 4rem;
    font-weight: 700;
    color: var(--branco);
    line-height: 1;
}

.score-circle .score-total {
    font-size: 2rem;
    color: var(--branco);
    opacity: 0.9;
}

/* Estatísticas dos Resultados */
.result-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.result-stat {
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
}

.result-stat i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.result-stat.correct {
    background: var(--verde-claro);
    border: 3px solid var(--verde);
}

.result-stat.correct i {
    color: var(--verde);
}

.result-stat.incorrect {
    background: var(--vermelho-claro);
    border: 3px solid var(--vermelho);
}

.result-stat.incorrect i {
    color: var(--vermelho);
}

.result-stat.total {
    background: var(--laranja-muito-claro);
    border: 3px solid var(--laranja-medio);
}

.result-stat.total i {
    color: var(--laranja-medio);
}

.result-stat p {
    margin: 0;
    color: var(--preto);
    font-size: 0.875rem;
}

.result-stat strong {
    font-size: 2rem;
    display: block;
    background: linear-gradient(135deg, var(--azul-claro) 0%, var(--laranja-medio) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-message {
    font-size: 1.25rem;
    color: var(--cinza-escuro);
    margin: 2rem 0;
    line-height: 1.6;
}

.hidden {
    display: none;
}

/* ========================================
   HERO FINAL
   ======================================== */

.hero-final {
    background: linear-gradient(135deg, var(--preto) 0%, var(--cinza-escuro) 100%);
    color: var(--branco);
    padding: 5rem 0;
    text-align: center;
}

.hero-final h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.highlight-blue {
    color: var(--azul-claro);
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.hero-final p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--laranja-medio) 0%, var(--laranja-claro) 100%);
    color: var(--branco);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--laranja-escuro) 0%, var(--laranja-medio) 100%);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
    background: var(--whatsapp);
    color: var(--branco);
}

.btn-secondary:hover {
    background: #1fb855;
}

/* ========================================
   AGRADECIMENTO
   ======================================== */

.agradecimento-section {
    background: var(--branco);
    padding: 4rem 0;
}

.agradecimento-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.agradecimento-img {
    width: 100%;
    max-width: 600px;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    margin-bottom: 2rem;
    border: 5px solid var(--laranja-claro);
}

.agradecimento-content h3 {
    font-size: 2rem;
    color: var(--azul-escuro);
    margin-bottom: 1rem;
}

.agradecimento-content p {
    font-size: 1.25rem;
    color: var(--cinza-escuro);
    margin-bottom: 0.5rem;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul-medio) 100%);
    color: var(--branco);
    padding: 4rem 0 2rem;
}

.footer-about {
    margin-bottom: 3rem;
}

.professor-profile {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    border: 2px solid rgba(251, 146, 60, 0.3);
}

.professor-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid var(--laranja-claro);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.professor-info h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--laranja-claro);
}

.professor-achievements {
    margin-bottom: 1.5rem;
}

.professor-achievements p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.professor-achievements i {
    color: var(--laranja-claro);
}

.btn-whatsapp-footer {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--whatsapp);
    color: var(--branco);
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp-footer:hover {
    background: #1fb855;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--laranja-claro);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--branco);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--laranja-claro);
    padding-left: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* ========================================
   BOTÃO FLUTUANTE WHATSAPP
   ======================================== */

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--whatsapp);
    color: var(--branco);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.5);
    z-index: 9999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.7);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ========================================
   BOTÃO VOLTAR AO TOPO
   ======================================== */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 6rem;
    background: var(--azul-claro);
    color: var(--branco);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    background: var(--azul-medio);
    transform: translateY(-5px);
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--azul-escuro);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        display: none;
    }
    
    .nav.active {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-image img {
        max-width: 300px;
    }
    
    .professor-profile {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .professor-photo {
        margin: 0 auto;
        width: 120px;
        height: 120px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .result-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-final h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .back-to-top {
        right: 1.5rem;
        bottom: 5rem;
        width: 45px;
        height: 45px;
    }
    
    .score-circle {
        width: 150px;
        height: 150px;
    }
    
    .score-circle #finalScore {
        font-size: 3rem;
    }
    
    .quiz-header h2 {
        font-size: 1.5rem;
    }
    
    .question-text {
        font-size: 1.1rem;
    }
    
    .quiz-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .quiz-content,
    .quiz-header {
        padding: 1.5rem;
    }
    
    .question-card {
        padding: 1.5rem;
    }
}