:root {
    --primary: #fb0102;
    --primary-dark: #fc9a03;
    --primary-light: #fb3b01;
    --secondary: #2D3748;
    --accent: #FF6B35;
    --success: #10B981;
    --warning: #F59E0B;
    --light: #F8FAFC;
    --dark: #0F172A;
    --gray: #64748B;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

/* ============ NAVBAR ============ */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand i {
    color: var(--accent);
}

.nav-link {
    font-weight: 500;
    color: var(--secondary);
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(0, 201, 183, 0.1);
    color: var(--primary);
}

.nav-link.active {
    background: var(--primary);
    color: white !important;
}

/* ============ BOTÕES ============ */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), #FF8A00);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    font-size: 1.125rem;
    position: relative;
    z-index: 100;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
    background: linear-gradient(135deg, #FF8A00, var(--accent));
    color: white;
    text-decoration: none;
}

.btn-accent:active {
    transform: translateY(0);
}

.btn-accent:disabled,
.btn-accent.disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-accent,
.btn-accent:hover,
.btn-accent:focus {
    text-decoration: none;
}

/* ============ HERO SECTION ============ */
.hero {
    background: linear-gradient(135deg, rgba(0, 201, 183, 0.1) 0%, rgba(255, 107, 53, 0.05) 100%);
    padding: 6rem 0;
    position: relative;
    overflow: visible !important;
    z-index: 1; /* garante contexto correto */
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 201, 183, 0.1) 0%, transparent 70%);
    z-index: -1 !important; /* >>> AQUI A CORREÇÃO PRINCIPAL */
    pointer-events: none !important;
}


.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 201, 183, 0.1);
    color: var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 201, 183, 0.2);
}

/* ============ SIMULADOR - CORREÇÕES CRÍTICAS ============ */
#simulador {
    position: relative;
    z-index: 50 !important;
    pointer-events: auto !important;
}

/* Garantir que todos os elementos do simulador sejam clicáveis */
#simulador * {
    pointer-events: auto !important;
    position: relative;
    z-index: 51 !important;
}

/* Remover qualquer pseudo-elemento que possa estar bloqueando */
#simulador::before,
#simulador::after,
#simulador > *::before,
#simulador > *::after {
    display: none !important;
    pointer-events: none !important;
}

/* Container do simulador específico */
#simulador > div {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 52 !important;
}

/* Input do simulador */
#contaValor {
    cursor: text !important;
    position: relative;
    z-index: 60 !important;
}

/* Result card - CORREÇÃO ESPECIAL */
#resultadoSimulacao {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
    position: relative;
    z-index: 70 !important;
    pointer-events: auto !important;
    cursor: default;
}

.result-value {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

/* Botão dentro do simulador - CORREÇÃO ESPECIAL */
#simulador .btn-accent {
    margin-top: 1.5rem !important;
    position: relative;
    z-index: 80 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    display: block !important;
    width: 100%;
}

/* Garantir que o botão não seja sobreposto */
#simulador .btn-accent::before,
#simulador .btn-accent::after {
    display: none !important;
}

/* ============ SLIDER CORRIGIDO ============ */
.slider-container {
    position: relative;
    width: 100%;
    margin: 1.5rem 0;
    z-index: 55 !important;
}

.value-slider {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: #e0e0e0;
    border-radius: 10px;
    outline: none;
    position: relative;
    z-index: 56 !important;
    cursor: pointer !important;
}

.value-slider::-webkit-slider-track {
    width: 100%;
    height: 8px;
    background: transparent;
    border-radius: 10px;
    border: none;
}

.value-slider::-moz-range-track {
    width: 100%;
    height: 8px;
    background: transparent;
    border-radius: 10px;
    border: none;
}

.value-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: 4px solid white;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    margin-top: -10px;
    transition: all 0.2s ease;
}

.value-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

.value-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: 4px solid white;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.value-slider::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

.slider-fill {
    position: absolute;
    top: 50%;
    left: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--accent), #FF8A00);
    border-radius: 10px;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
    width: 0%;
    transition: width 0.3s ease;
}

/* ============ FEATURES ============ */
.feature-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(0, 201, 183, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--primary);
}

/* ============ STEPS ============ */
.step-card {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1.5rem;
}

/* ============ TESTIMONIALS ============ */
.testimonial-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
    font-family: serif;
    line-height: 1;
}

/* ============ FAQ ============ */
.faq-item {
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background: white;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

/* ============ LOGO SLIDER ============ */
.logo-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 2rem 0;
}

.logo-track {
    display: flex;
    animation: slide 30s linear infinite;
    width: calc(200px * 8 * 2);
}

.logo-item {
    width: 200px;
    flex-shrink: 0;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item img {
    max-width: 150px;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* ============ QUIZ ============ */
.quiz-progress {
    width: 100%;
    height: 8px;
    background: #E2E8F0;
    border-radius: 50px;
    margin-bottom: 2.5rem;
    overflow: hidden;
}

.quiz-progress-bar {
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    width: 33%;
    transition: width 0.3s ease;
    border-radius: 50px;
}

.quiz-step {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.quiz-step.active {
    display: block;
}

.quiz-counter {
    font-size: 0.875rem;
    color: #64748B;
    margin-bottom: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.quiz-question {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2rem;
    line-height: 1.4;
}

.quiz-option {
    padding: 1.5rem;
    background: white;
    border: 2px solid #E2E8F0;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quiz-option:hover {
    border-color: var(--primary-light);
    transform: translateX(8px);
    box-shadow: var(--shadow);
}

.quiz-option.active {
    border-color: var(--primary);
    background: rgba(0, 201, 183, 0.05);
}

.quiz-option-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.quiz-option.active .quiz-option-icon {
    background: var(--primary);
    color: white;
}

.quiz-option-content {
    flex: 1;
}

.quiz-option-title {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.quiz-option-description {
    font-size: 0.875rem;
    color: #64748B;
}

.quiz-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E2E8F0;
}

/* ============ PROPOSTA ============ */
.proposal-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    margin: 3rem 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.proposal-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 2.5rem;
    text-align: center;
    color: white;
}

.proposal-body {
    padding: 3rem;
}

.proposal-highlight {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 138, 0, 0.1));
    border-radius: var(--radius);
    padding: 2rem;
    margin: 2rem 0;
    border-left: 4px solid var(--accent);
}

.proposal-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.comparison-item {
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
}

.comparison-item.before {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.comparison-item.after {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.urgency-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), #FF8A00);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    animation: pulse 2s infinite;
    margin-bottom: 1.5rem;
}

.lead-id-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-left: 1rem;
}

/* ============ ANIMAÇÕES ============ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 8));
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ============ CLASSES UTILITÁRIAS ============ */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-padding {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* ============ RESPONSIVO ============ */
@media (max-width: 768px) {
    .hero {
        padding: 4rem 0;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    #simulador > div {
        padding: 1.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }
    
    .result-value {
        font-size: 2.5rem;
    }
}

/* ============ CORREÇÃO DE EMERGÊNCIA ============ */
/* Se ainda houver problemas, estas regras forçarão a clicabilidade */
.force-clickable {
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative;
    z-index: 9999 !important;
}

#simulador .btn-accent.force-clickable {
    background: linear-gradient(135deg, var(--accent), #FF8A00) !important;
    color: white !important;
    border: none !important;
    padding: 1rem 2rem !important;
    border-radius: var(--radius) !important;
    text-decoration: none !important;
    display: block !important;
    width: 100% !important;
    margin-top: 1.5rem !important;
}


/* Correção completa para mobile - remover corte */
@media (max-width: 768px) {

    /* Forçar degradê real */
    .hero {
        background: linear-gradient(
            135deg,
            rgba(0, 201, 183, 0.15) 0%,
            rgba(255, 107, 53, 0.10) 100%
        ) !important;
        position: relative;
        overflow: hidden;
    }

    /* Remover completamente o efeito que causa o corte */
    .hero::before {
        display: none !important;
    }
}
