/* ============================================
   LANDING PAGE - QUIZ EM SALA
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2c3e50;
    background: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============ NAVBAR ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    padding: 0.8rem 0;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: #2c3e50;
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.nav-links a {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #667eea;
}

.btn-entrar-nav {
    padding: 0.6rem 1.3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    border-radius: 10px;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transition: all 0.3s;
}

.btn-entrar-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(102, 126, 234, 0.4);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #2c3e50;
}

/* ============ HERO ============ */
.hero {
    padding: 9rem 2rem 5rem;
    background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -300px;
    right: -300px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #2e7d32;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.badge-roxo {
    display: inline-block;
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    color: #6a1b9a;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.15;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 1.5rem;
}

.destaque {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitulo {
    font-size: 1.15rem;
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-botoes {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.btn-primario {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.35);
    transition: all 0.3s;
    display: inline-block;
}

.btn-primario:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(102, 126, 234, 0.45);
}

.btn-secundario {
    padding: 1rem 2rem;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid #e8eaf0;
    transition: all 0.3s;
    display: inline-block;
}

.btn-secundario:hover {
    border-color: #667eea;
    transform: translateY(-3px);
}

.btn-grande {
    padding: 1.2rem 3rem;
    font-size: 1.15rem;
}

.hero-info {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: #718096;
    flex-wrap: wrap;
}

/* ============ MOCKUP (Ilustração Hero) ============ */
.hero-ilustracao {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(102, 126, 234, 0.2);
    width: 100%;
    max-width: 420px;
    overflow: hidden;
    transform: rotate(-2deg);
    transition: transform 0.4s;
    position: relative;
    z-index: 2;
}

.mockup-card:hover {
    transform: rotate(0deg) translateY(-5px);
}

.mockup-header {
    background: #f4f6fa;
    padding: 0.8rem 1rem;
    display: flex;
    gap: 0.4rem;
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.vermelho { background: #ff5f57; }
.amarelo { background: #febc2e; }
.verde { background: #28c840; }

.mockup-body {
    padding: 1.5rem;
}

.mockup-titulo {
    font-size: 0.8rem;
    color: #a0aec0;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.mockup-cronometro {
    font-size: 1.5rem;
    font-weight: 800;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.mockup-pergunta {
    font-size: 1rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.mockup-alternativas {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.mockup-alt {
    padding: 0.6rem 0.9rem;
    background: #f7fafc;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #4a5568;
    border: 2px solid transparent;
}

.mockup-alt.correta {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
    font-weight: 700;
}

.mockup-placar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.9rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.float-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
    z-index: 3;
}

.float-1 {
    top: 5%;
    left: -20px;
    animation: flutuar 3s ease-in-out infinite;
}

.float-2 {
    bottom: 10%;
    right: -20px;
    animation: flutuar 3.5s ease-in-out infinite 0.5s;
}

.float-3 {
    top: 40%;
    right: -30px;
    animation: flutuar 4s ease-in-out infinite 1s;
}

@keyframes flutuar {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ============ SEÇÕES GERAIS ============ */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-titulo {
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    color: #1a202c;
    margin-bottom: 0.8rem;
}

.section-subtitulo {
    font-size: 1.1rem;
    color: #718096;
    text-align: center;
    margin-bottom: 3rem;
}

/* ============ FUNCIONALIDADES ============ */
.funcionalidades {
    padding: 6rem 0;
    background: #ffffff;
}

.funcionalidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.8rem;
}

.funcionalidade-card {
    padding: 2rem;
    background: white;
    border-radius: 16px;
    border: 2px solid #f0f2f7;
    transition: all 0.3s;
}

.funcionalidade-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.15);
}

.func-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
}

.icon-1 { background: #e3f2fd; }
.icon-2 { background: #fce4ec; }
.icon-3 { background: #fff3e0; }
.icon-4 { background: #e8f5e9; }
.icon-5 { background: #f3e5f5; }
.icon-6 { background: #e0f7fa; }

.funcionalidade-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.6rem;
}

.funcionalidade-card p {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============ COMO FUNCIONA ============ */
.como-funciona {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
}

.passos {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.passo {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.08);
}

.passo-numero {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 auto 1rem;
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.3);
}

.passo h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.passo p {
    color: #718096;
    font-size: 0.9rem;
}

.passo-seta {
    font-size: 2rem;
    color: #cbd5e0;
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 1rem;
}

/* ============ EM BREVE ============ */
.em-breve {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
}

.em-breve .section-titulo {
    color: white;
}

.em-breve .section-subtitulo {
    color: rgba(255, 255, 255, 0.7);
}

.em-breve-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.em-breve-card {
    padding: 1.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.em-breve-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-5px);
}

.em-breve-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.em-breve-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.em-breve-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============ CHAMADA FINAL ============ */
.chamada-final {
    padding: 6rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.chamada-final::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.chamada-final h2 {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.chamada-final p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.chamada-final .btn-primario {
    background: white;
    color: #667eea;
    position: relative;
    z-index: 1;
}

.chamada-final .btn-primario:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* ============ CONTATO ============ */
.contato {
    padding: 6rem 0;
    background: #ffffff;
}

.contato-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.contato-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9ff;
    border-radius: 16px;
    text-decoration: none;
    color: #2c3e50;
    border: 2px solid #f0f2f7;
    transition: all 0.3s;
}

.contato-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.contato-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 14px;
    background: white;
}

.whatsapp .contato-icon { background: #e8f5e9; }
.email .contato-icon { background: #e3f2fd; }
.instagram .contato-icon { background: #fce4ec; }

.contato-item strong {
    display: block;
    font-size: 1rem;
    color: #1a202c;
    margin-bottom: 0.2rem;
}

.contato-item small {
    color: #718096;
    font-size: 0.9rem;
}

/* ============ RODAPÉ ============ */
.footer {
    background: #1a202c;
    color: white;
    padding: 3rem 2rem 2rem;
    text-align: center;
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-text {
    font-size: 1.4rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.footer-assinatura {
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-assinatura strong {
    color: #a78bfa;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* ============ RESPONSIVO ============ */
@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s;
    }

    .nav-links.ativo {
        transform: translateY(0);
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        padding: 7rem 1.5rem 3rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitulo {
        font-size: 1rem;
    }

    .hero-ilustracao {
        order: -1;
    }

    .mockup-card {
        transform: rotate(0);
        max-width: 320px;
    }

    .float-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .section-titulo {
        font-size: 1.6rem;
    }

    .passos {
        flex-direction: column;
    }

    .passo-seta {
        transform: rotate(90deg);
        padding: 0;
    }

    .chamada-final h2 {
        font-size: 1.6rem;
    }

    .hero-botoes {
        flex-direction: column;
    }

    .btn-primario,
    .btn-secundario {
        text-align: center;
        width: 100%;
    }

    .hero-info {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 500px) {
    .navbar-container {
        padding: 0 1rem;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .hero {
        padding: 6rem 1rem 2rem;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .section-container {
        padding: 0 1rem;
    }

    .funcionalidades,
    .como-funciona,
    .em-breve,
    .chamada-final,
    .contato {
        padding: 4rem 0;
    }
}

.link-apresentacao {
    color: #667eea !important;
    font-weight: 700 !important;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    border: 2px solid #667eea;
    transition: all 0.3s;
}

.link-apresentacao:hover {
    background: #667eea;
    color: white !important;
}

/* ============ JOGOS EDUCATIVOS ============ */
.jogos-educativos {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
}

.jogos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.jogo-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-decoration: none;
    color: #2c3e50;
    text-align: center;
    border: 2px solid #f0f2f7;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.jogo-card:hover {
    border-color: #667eea;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

.jogo-icon {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 8px 15px rgba(102, 126, 234, 0.2));
}

.jogo-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a202c;
}

.jogo-card p {
    font-size: 0.95rem;
    color: #718096;
    line-height: 1.6;
    flex-grow: 1;
}

.jogo-btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 0.5rem;
    transition: all 0.3s;
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.3);
}

.jogo-card:hover .jogo-btn {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* Responsivo */
@media (max-width: 700px) {
    .jogos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .jogo-card {
        padding: 2rem 1.5rem;
    }

    .jogo-icon {
        font-size: 3rem;
    }
}