:root {
    --primary-dark: #1A237E;
    --primary-light: #303F9F;
    --accent: #4CAF50;
    --text-light: #FFFFFF;
    --text-dark: #212121;
    --background: #FAFAFA;
    --card-bg: #FFFFFF;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --premium: #FFC107;
}

/* Reset e Base Mobile-First */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}

/* Menu de Navegação */
.main-nav {
    background-color: #0d1452;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.main-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 6px;
}

.main-nav a:hover {
    background-color: rgba(255,255,255,0.1);
    color: var(--accent);
}

.main-nav i {
    width: 18px;
    height: 18px;
}

/* Header */
.header {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 15px 0;
    position: sticky;
    top: 58px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
}

.stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 14px;
}

.stats p {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.stats i {
    margin-right: 5px;
    width: 16px;
    height: 16px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: var(--text-light);
    padding: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 28px;
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.test-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.1);
    display: block;
    position: relative;
    z-index: 2;
    transition: transform 0.3s;
}

.test-image:hover {
    transform: scale(1.02);
}

.cta-button {
    background-color: var(--accent);
    color: var(--text-light);
    border: none;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.cta-button:hover {
    background-color: #43A047;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.cta-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0) 45%,
        rgba(255,255,255,0.3) 48%,
        rgba(255,255,255,0.3) 52%,
        rgba(255,255,255,0) 55%,
        rgba(255,255,255,0) 100%
    );
    transform: rotate(30deg);
    transition: all 0.3s;
}

.cta-button:hover::after {
    left: 100%;
}

.cta-button i {
    margin-left: 8px;
}

.test-highlights {
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

.test-highlights p {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 16px;
}

.test-highlights i {
    margin-right: 8px;
    color: var(--accent);
}

/* Seção Científica */
.science-section {
    background-color: #f8f9fa;
    padding: 60px 0;
    position: relative;
}

.science-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('pattern.png') repeat;
    opacity: 0.03;
    pointer-events: none;
}

.science-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
    position: relative;
}

.science-text h2 {
    color: var(--primary-dark);
    font-size: 28px;
    margin-bottom: 20px;
    position: relative;
}

.science-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

.science-text p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.7;
}

.science-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.science-image img:hover {
    transform: scale(1.02);
}

/* Gráfico de Distribuição de QI */
.iq-distribution {
    background-color: var(--card-bg);
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.iq-distribution h2 {
    color: var(--primary-dark);
    margin-bottom: 30px;
    font-size: 28px;
    position: relative;
}

.iq-distribution h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

.chart-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
    align-items: center;
}

.chart-container {
    position: relative;
    height: 300px;
    margin: 0 auto;
    width: 100%;
}

.chart-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.chart-image img:hover {
    transform: scale(1.02);
}

.iq-categories {
    display: flex;
    justify-content: space-between;
    max-width: 600px;
    margin: 30px auto;
    flex-wrap: wrap;
    gap: 15px;
}

.category {
    cursor: pointer;
    transition: all 0.3s;
    padding: 10px;
    border-radius: 8px;
    background-color: rgba(0,0,0,0.02);
}

.category:hover {
    transform: translateY(-5px);
    background-color: rgba(0,0,0,0.05);
}

.category.active {
    background-color: rgba(0,0,0,0.1);
    transform: scale(1.05);
}

.dot {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 auto 8px;
}

.category[data-iq="70-84"] .dot { background-color: #EF5350; }
.category[data-iq="85-100"] .dot { background-color: #FFA726; }
.category[data-iq="101-115"] .dot { background-color: #66BB6A; }
.category[data-iq="116-130"] .dot { background-color: #42A5F5; }
.category[data-iq="130+"] .dot { background-color: #AB47BC; }

.category p {
    font-size: 12px;
    line-height: 1.4;
    font-weight: 500;
}

.category small {
    display: block;
    font-size: 10px;
    color: #757575;
}

.cta-text {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary-dark);
    font-weight: 500;
}

/* Seção de Metodologia */
.methodology {
    padding: 60px 0;
    background-color: var(--primary-light);
    color: var(--text-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.methodology::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('pattern-light.png') repeat;
    opacity: 0.05;
    pointer-events: none;
}

.methodology h2 {
    margin-bottom: 15px;
    font-size: 28px;
    position: relative;
    display: inline-block;
}

.methodology h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

.subtitle {
    margin-bottom: 30px;
    font-size: 16px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.dimensions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto 40px;
}

.dimension {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px 15px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.dimension::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background-color: var(--accent);
    transition: all 0.3s;
}

.dimension:hover::before {
    height: 100%;
}

.dimension:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.dimension i {
    width: 32px;
    height: 32px;
    margin-bottom: 10px;
    color: var(--accent);
}

.dimension h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.dimension p {
    font-size: 14px;
    opacity: 0.8;
}

/* Box de Benefícios */
.benefits-box {
    background-color: white;
    border-radius: 12px;
    padding: 40px;
    margin-top: 40px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
}

.benefits-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #EF5350, #FFA726, #66BB6A, #42A5F5, #AB47BC);
}

.benefits-box h3 {
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    position: relative;
}

.benefit-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
    position: relative;
    padding-left: 15px;
}

.benefit-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 3px;
    height: calc(100% - 20px);
    background-color: var(--accent);
    border-radius: 3px;
}

.benefit-number {
    background-color: var(--accent);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 3px;
}

.benefit-text h4 {
    color: var(--primary-dark);
    margin-bottom: 5px;
    font-size: 18px;
}

.benefit-text p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

/* Seção de Resultados */
.results {
    padding: 60px 0;
    background-color: var(--card-bg);
    text-align: center;
    position: relative;
}

.results h2 {
    color: var(--primary-dark);
    margin-bottom: 30px;
    font-size: 28px;
    position: relative;
}

.results h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.result-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.result-card.premium {
    border: 2px solid var(--premium);
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.2);
}

.premium-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: var(--premium);
    color: var(--text-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.result-card.premium .card-icon {
    background-color: rgba(255, 193, 7, 0.1);
}

.card-icon i {
    color: var(--accent);
    width: 24px;
    height: 24px;
}

.result-card.premium .card-icon i {
    color: var(--premium);
}

.result-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.result-card p {
    font-size: 14px;
    color: #616161;
    margin-bottom: 15px;
}

.card-features {
    list-style: none;
    margin-top: 15px;
    padding-left: 0;
    text-align: left;
}

.card-features li {
    margin-bottom: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
}

.card-features i {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.result-card.premium .card-features i {
    color: var(--premium);
}

.certificate-preview {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #E0E0E0;
    transition: transform 0.3s;
}

.certificate-preview:hover {
    transform: scale(1.02);
}

/* Seção USP */
.usp-section {
    padding: 60px 0;
    background-color: var(--primary-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.usp-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('pattern-dark.png') repeat;
    opacity: 0.05;
    pointer-events: none;
}

.usp-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: white;
    font-size: 28px;
    position: relative;
}

.usp-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.usp-card {
    background-color: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.usp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent);
}

.usp-card:hover {
    background-color: rgba(255,255,255,0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.usp-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(76, 175, 80, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.usp-icon i {
    color: var(--accent);
    width: 24px;
    height: 24px;
}

.usp-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: white;
}

.usp-card p {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.6;
}

/* Rodapé */
.footer {
    background-color: #0d1452;
    color: var(--text-light);
    padding: 40px 0 30px;
    text-align: center;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), var(--primary-light));
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
    box-shadow: none;
}

.cta-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.social-proof {
    margin: 30px 0;
}

.social-proof p {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 16px;
}

.social-proof i {
    margin-right: 8px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-icons a {
    color: var(--text-light);
    transition: all 0.3s;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a:hover {
    color: var(--accent);
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.copyright {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 20px;
}

/* Animações e Microinterações */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Responsividade */
@media (min-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .test-highlights {
        display: flex;
        justify-content: center;
        gap: 30px;
    }
    
    .dimensions-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .chart-container {
        height: 400px;
    }
    
    .chart-wrapper {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    
    .science-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .benefit-item {
        gap: 30px;
    }
    
    .benefit-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

@media (min-width: 992px) {
    .header {
        padding: 20px 0;
    }
    
    .logo {
        height: 50px;
    }
    
    .stats {
        flex-direction: row;
        gap: 20px;
    }
    
    .dimensions-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .usp-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Ajustes para o Header - Espaçamento ícone/texto */
.header .stats {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Espaço entre as linhas */
}

.header .stats p {
    display: inline-flex;
    align-items: center;
    gap: 6px; /* Espaço entre ícone e texto */
    margin: 0;
    font-size: 14px;
}

.header .stats i {
    width: 16px;
    height: 16px;
    stroke-width: 2.5px;
}

/* Ajuste responsivo para telas maiores */
@media (min-width: 768px) {
    .header .stats {
        flex-direction: row;
        gap: 15px;
    }
    
    .header .stats p {
        font-size: 15px;
    }
}

/* Menu de Navegação - Layout Horizontal */
.main-nav {
    background-color: #0d1452;
    padding: 12px 0;
}

.nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem; /* Espaço entre itens */
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-item a:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.nav-item i {
    width: 18px;
    height: 18px;
    stroke-width: 2.5px;
}

/* Responsividade */
@media (max-width: 480px) {
    .nav-list {
        gap: 0.5rem;
    }
    .nav-item a {
        font-size: 0.85rem;
        padding: 0.5rem;
    }
}

/* Telas de Teste */
.test-screen {
    background: linear-gradient(135deg, #1A237E 0%, #0d1452 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
}

.instruction-container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

.instruction-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
}

.instruction-card h1 {
    color: var(--primary-dark);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.instruction-list {
    text-align: left;
    margin: 30px auto;
    max-width: 400px;
}

.instruction-list li {
    margin-bottom: 15px;
    padding-left: 10px;
    position: relative;
    font-size: 16px;
}

.instruction-list li::before {
    content: "";
    position: absolute;
    left: -15px;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
}

.test-stats {
    margin: 30px 0;
    font-size: 15px;
}

.test-stats p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #555;
}

/* Efeito de pulso no botão */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* ===== ESTRUTURA DO TESTE - VERSÃO OTIMIZADA ===== */
.test-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
    padding: 10px 0;
}

.test-logo {
    grid-column: 1;
    justify-self: start;
}

.test-logo img {
    height: 40px;
    width: auto;
}

.test-timer {
    grid-column: 2;
    background: #f8f8f8;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #e53935;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.test-timer i {
    width: 18px;
    height: 18px;
    stroke-width: 3px;
}

/* Barra de Progresso Aprimorada */
.progress-tracker {
    margin: 25px 0;
    position: relative;
}

.progress-container {
    height: 8px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 10px;
    transition: width 0.5s ease;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
              rgba(255,255,255,0.8) 0%, 
              rgba(255,255,255,0) 50%);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    position: absolute;
    right: 0;
    top: -25px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    background: rgba(255,255,255,0.9);
    padding: 2px 8px;
    border-radius: 10px;
}

/* Psicologia do Timer - Efeito de Urgência */
@keyframes pulseWarning {
    0% { color: #555; }
    50% { color: #e53935; transform: scale(1.05); }
    100% { color: #555; }
}

.timer-warning {
    animation: pulseWarning 1s infinite;
}

/* Questões - Melhoria Visual */
.question-container {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.question-prompt {
    color: #1A237E;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

/* Grid de Formas */
.question-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 30px auto;
    max-width: 400px;
}

.shape {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s;
}

.question-mark {
    font-size: 2rem;
    font-weight: bold;
    color: #1A237E;
    animation: pulse 2s infinite;
}

/* Opções de Resposta - Mais Intuitivas */
.answer-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.answer-btn {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    text-align: left;
}

.answer-btn:hover {
    border-color: #1A237E;
    background: rgba(26, 35, 126, 0.03);
    transform: translateY(-2px);
}

.answer-btn:active {
    transform: translateY(0);
}

.option-label {
    font-weight: bold;
    color: white;
    background: #1A237E;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Navegação - Botões Mais Claros */
.test-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.nav-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    background: #1A237E;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s;
}

.nav-btn:hover {
    background: #303F9F;
    box-shadow: 0 5px 15px rgba(48, 63, 159, 0.3);
}

.nav-btn:disabled {
    background: #b0b0b0;
    cursor: not-allowed;
    box-shadow: none;
}

/* Efeitos Psicologicos Adicionais */
/* 1. Destaque no Timer quando o tempo está acabando */
.timer-critical {
    color: white;
    background: #e53935;
    animation: pulse 0.5s infinite alternate;
}

/* 2. Feedback visual ao selecionar resposta */
.answer-btn.selected {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.3);
}

/* 3. Barra de progresso que muda de cor */
.progress-bar.critical {
    background: linear-gradient(90deg, #e53935, #ef5350);
}

/* Responsividade Aprimorada */
@media (max-width: 768px) {
    .test-header {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .test-logo, .test-timer {
        justify-self: center;
    }
    
    .answer-options {
        grid-template-columns: 1fr;
    }
    
    .question-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* question-types.css */
/* Numéricas */
.numeric-grid {
    display: grid;
    font-family: 'Courier New', monospace;
  }
  
  .numeric-cell {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-dark);
  }
  
  /* Padrões Visuais */
  .pattern-grid {
    display: grid;
    gap: 10px;
  }
  
  .shape {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
  
  .filled-square {
    background-color: var(--primary-dark);
  }
  
  .dashed-square {
    border: 3px dashed var(--primary-dark);
  }
  
  /* Espaciais */
  .spatial-grid {
    perspective: 1000px;
  }
  
  .spatial-shape {
    transition: transform 0.5s;
  }
  
  .spatial-shape:hover {
    transform: rotateX(15deg);
  }

/* Base Serena */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
}

.test-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.test-container {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 800px;
    overflow: hidden;
    border: 1px solid var(--border);
}

/* Cabeçalho Calmo */
.test-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.test-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.progress-number {
    font-size: 15px;
    color: var(--text-light);
}

.test-timer {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: var(--text);
    padding: 6px 12px;
    background: var(--background);
    border-radius: 20px;
}

.test-timer i {
    color: var(--text-light);
    width: 16px;
    height: 16px;
}

/* Barra de Progresso Suave */
.progress-tracker {
    padding: 0 20px;
    margin: 10px 0;
}

.progress-container {
    height: 4px;
    background: var(--border);
    border-radius: 2px;
}

.progress-bar {
    height: 100%;
    background: var(--primary-light);
    border-radius: 2px;
    transition: width 0.4s ease-out;
}

/* Área da Questão */
.question-container {
    padding: 20px;
}

.cognitive-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-light);
}

.difficulty-level, .cognitive-type {
    display: flex;
    align-items: center;
    gap: 6px;
}

.question-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 25px 0;
}

.grid-cell {
    background: var(--background);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1;
    transition: transform 0.2s ease;
}

.grid-cell:hover {
    transform: translateY(-2px);
}

.shape {
    width: 80%;
    height: 80%;
}

.question-mark {
    font-size: 24px;
    color: var(--text-light);
    font-weight: 500;
}

.question-prompt {
    font-size: 18px;
    font-weight: 500;
    color: var(--text);
    text-align: center;
    margin: 20px 0;
    line-height: 1.5;
}

/* Opções de Resposta */
.answer-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0 20px;
    margin: 20px 0;
}

.answer-btn {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.answer-btn:hover {
    border-color: var(--primary-light);
    background: var(--background);
}

.option-label {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    flex-shrink: 0;
}

/* Navegação */
.test-navigation {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    border-top: 1px solid var(--border);
}

.nav-btn {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
}

.nav-btn.primary {
    background: var(--primary);
    color: white;
}

.nav-btn.primary:hover {
    background: var(--primary-dark);
}

.nav-btn.secondary {
    background: var(--background);
    color: var(--text);
}

.nav-btn.secondary:hover {
    background: #e2e8f0;
}

.nav-btn:disabled {
    background: var(--background);
    color: var(--text-light);
    cursor: not-allowed;
}

/* Mapa de Questões */
.question-map {
    padding: 15px 20px;
    background: var(--background);
    border-top: 1px solid var(--border);
}

.map-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 6px;
}

.map-item {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    background: var(--border);
    color: var(--text);
    transition: all 0.3s ease;
    cursor: pointer;
}

.map-item.current {
    background: var(--primary);
    color: white;
}

.map-item.answered {
    background: #d1fae5;
    color: var(--success);
}

.map-item.flagged {
    background: #fef3c7;
    color: var(--warning);
}

/* Tela de Carregamento */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 250, 252, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.loading-screen.active {
    opacity: 1;
    pointer-events: all;
}

.loading-content {
    text-align: center;
    max-width: 400px;
    padding: 30px;
}

.spinner {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.spin {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.calm-message {
    margin-top: 25px;
    padding: 12px;
    background: var(--background);
    border-radius: 8px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Formas */
.dashed-square {
    border: 2px dashed var(--primary);
    width: 60%;
    height: 60%;
}

.filled-circle {
    background: var(--primary);
    border-radius: 50%;
    width: 60%;
    height: 60%;
}

.filled-triangle {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid var(--primary);
}

.filled-square {
    background: var(--primary);
    width: 60%;
    height: 60%;
}

.dashed-circle {
    border: 2px dashed var(--primary);
    border-radius: 50%;
    width: 60%;
    height: 60%;
}

.dashed-triangle {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid var(--primary);
    opacity: 0.7;
}

/* ===== TELAS PÓS-TESTE ===== */

/* Tela de Processamento */
.processing-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f8fafc;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    flex-direction: column;
    padding: 20px;
}

.processing-content {
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.processing-header h2 {
    color: #1A237E;
    font-size: 28px;
    margin-bottom: 10px;
}

.processing-header .subtext {
    color: #64748b;
    font-size: 16px;
}

.processing-animation {
    position: relative;
    height: 150px;
    margin: 40px 0;
}

.brain-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.brain-icon i {
    width: 60px;
    height: 60px;
    color: #4f46e5;
}

.wave-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('wave-pattern.svg') repeat-x;
    background-size: auto 100%;
    animation: wave 3s linear infinite;
    opacity: 0.1;
}

@keyframes wave {
    0% { background-position-x: 0; }
    100% { background-position-x: 100%; }
}

.processing-messages {
    margin: 30px 0;
}

#processing-message {
    font-size: 18px;
    color: #1e293b;
    margin-bottom: 15px;
    min-height: 50px;
}

.progress-container {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

#processing-bar {
    height: 100%;
    background: linear-gradient(90deg, #4f46e5, #8b5cf6);
    width: 0;
    transition: width 0.3s ease;
}

.performance-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    background: #e0e7ff;
    padding: 12px;
    border-radius: 8px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.performance-comparison i {
    color: #4f46e5;
}

.performance-comparison p {
    margin: 0;
    font-size: 15px;
}

.highlight {
    font-weight: 700;
    color: #4f46e5;
}

/* Tela de Resultados Bloqueados */
.locked-results {
    display: none;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.results-content {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.results-header {
    padding: 30px 20px;
    text-align: center;
    background: linear-gradient(135deg, #1A237E 0%, #303F9F 100%);
    color: white;
}

.results-header h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.results-header .subtext {
    opacity: 0.9;
    font-size: 16px;
}

.preview-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px;
}

.certificate-preview {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.certificate-preview.blurred {
    filter: blur(5px);
    user-select: none;
    pointer-events: none;
}

.certificate-preview img {
    width: 100%;
    display: block;
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.preview-overlay i {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.iq-preview {
    text-align: center;
    padding: 20px;
}

.preview-text {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 10px;
}

.iq-range {
    font-size: 24px;
    margin: 15px 0;
    color: #1e293b;
}

.range-highlight {
    color: #4f46e5;
    font-weight: 700;
}

.unlock-container {
    padding: 0 30px 30px;
}

.unlock-container h3 {
    text-align: center;
    color: #1A237E;
    font-size: 22px;
    margin-bottom: 20px;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.benefits-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.benefits-list i {
    color: #4f46e5;
    width: 18px;
    height: 18px;
}

.pricing-box {
    background: #f8fafc;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.price-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.original-price {
    text-decoration: line-through;
    color: #64748b;
    font-size: 16px;
}

.current-price {
    font-size: 28px;
    font-weight: 700;
    color: #1A237E;
}

.discount-badge {
    background: #4CAF50;
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.limited-time {
    font-size: 14px;
    color: #64748b;
}

.limited-time span {
    color: #1A237E;
    font-weight: 600;
}

.limited-time span.urgent {
    color: #e53935;
    animation: pulse 1s infinite;
}

.payment-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.payment-btn {
    padding: 16px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-btn.primary {
    background: #4f46e5;
    color: white;
}

.payment-btn.primary:hover {
    background: #4338ca;
}

.payment-btn.secondary {
    background: #f1f5f9;
    color: #1e293b;
    border: 1px solid #e2e8f0;
}

.payment-btn.secondary:hover {
    background: #e2e8f0;
}

.security-note {
    font-size: 13px;
    color: #64748b;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.security-note i {
    width: 14px;
    height: 14px;
}

/* Responsividade */
@media (min-width: 768px) {
    .preview-container {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    
    .payment-options {
        grid-template-columns: 1fr 1fr;
    }
}

/* Estilos para respostas selecionadas */
.answer-btn.selected {
    border-color: var(--accent);
    background-color: rgba(76, 175, 80, 0.1);
    position: relative;
}

.answer-btn.selected::after {
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    width: 12px;
    height: 12px;
    background-color: var(--accent);
    border-radius: 50%;
}

/* Estilo para questões numéricas */
.numeric-cell {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ajustes para o timer */
.timer-warning {
    color: #FFA726 !important;
}

.timer-critical {
    color: #e53935 !important;
    animation: pulse 0.5s infinite alternate;
}

.progress-bar.critical {
    background: linear-gradient(90deg, #e53935, #ef5350) !important;
}

/* Adicione se ainda não existir */
#footer-cta {
    transition: all 0.3s ease;
  }
  
  #footer-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
  }
  
  .spin {
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    100% { transform: rotate(360deg); }
  }

/* Estilo para a fonte centralizada - versão clean */
.iq-categories > p {
    display: block;
    font-size: 0.7rem;       /* Tamanho pequeno */
    color: #666;            /* Cinza médio */
    text-align: center;     /* Centralização */
    margin: 1.5rem auto 0;  /* Espaçamento superior */
    padding: 0.5rem 0;      /* Espaçamento interno */
    font-family: 'Georgia', serif; /* Fonte editorial */
    font-style: italic;
    line-height: 1.4;
    letter-spacing: 0.3px;
    max-width: 80%;         /* Largura controlada */
    border-top: 1px solid #eee; /* Linha sutil acima */
}

/* Versão alternativa minimalista (sem borda) */
/*
.iq-categories > p {
    font-size: 0.7rem;
    color: #777;
    text-align: center;
    margin: 1rem auto 0;
    padding: 0.3rem 0;
    font-style: normal;
    opacity: 0.8;
}
*/

/* Se quiser adicionar um ícone de informação */
.iq-categories > p::before {
    content: "ⓘ ";
    font-size: 0.6rem;
    margin-right: 4px;
    vertical-align: middle;
}

/* Estilo para link (se aplicável) */
.iq-categories > p a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.iq-categories > p a:hover {
    color: var(--primary-dark); /* Usando sua cor temática */
    text-decoration: underline;
}



