/* =====================================================
   SIMULADOR DE CONSÓRCIOS - CSS
   Design focado em conversão
   ===================================================== */

:root {
    /* Cores Primárias Yuplan */
    --primary: #02BABA;
    --primary-dark: #029a9a;
    --primary-light: #4dd4d4;
    --secondary: #314C7D;
    --secondary-dark: #263c63;
    --secondary-light: #e8f1fa;

    /* Cores de Estado */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --white: #ffffff;

    /* Neutros */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Gradientes Yuplan */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);

    /* Sombras */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
    --shadow-card: 0 4px 20px rgba(2, 186, 186, 0.15);

    /* Bordas */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #314C7D 0%, #1a2d4d 100%);
    color: var(--gray-800);
    min-height: 100vh;
    line-height: 1.6;
}

/* Container Principal */
.simulator-container {
    max-width: 520px;
    margin: 0 auto;
    min-height: 100vh;
    background: var(--gray-50);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
}

/* Desktop: container com bordas arredondadas e margem */
@media (min-width: 600px) {
    body {
        padding: 2rem 1rem;
        background: linear-gradient(135deg, #314C7D 0%, #1a2d4d 50%, #0f1c33 100%);
        background-attachment: fixed;
    }

    .simulator-container {
        min-height: auto;
        border-radius: var(--radius-xl);
        overflow: hidden;
        margin: 0 auto;
    }
}

/* Header */
.simulator-header {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--secondary) 0%, #1a2d4d 100%);
    border-bottom: 3px solid var(--primary);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 36px;
    width: auto;
}

.social-proof {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.9);
    background: rgba(2, 186, 186, 0.2);
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(2, 186, 186, 0.3);
}

.social-proof i {
    color: var(--primary);
}

/* =====================================================
   NAVEGAÇÃO POR ABAS
   ===================================================== */

.tab-nav {
    display: flex;
    background: linear-gradient(180deg, rgba(49, 76, 125, 0.06) 0%, transparent 100%);
    border-bottom: 2px solid var(--gray-100);
    padding: 0;
}

.tab-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-400);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.25s;
    margin-bottom: -2px;
}

.tab-btn:hover {
    color: var(--gray-600);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-btn i {
    font-size: 1rem;
}

/* Tab content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: contents;
}

/* CTA na tab sobre */
.sobre-cta {
    padding: 1.5rem;
    background: var(--white);
    text-align: center;
}

/* Progress Bar */
.progress-container {
    padding: 1rem 1.5rem;
    position: relative;
    background: linear-gradient(180deg, rgba(49, 76, 125, 0.08) 0%, transparent 100%);
}

.progress-bar {
    height: 4px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 20%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width 0.4s ease;
}

.progress-bar[data-progress="1"]::after { width: 16.66%; }
.progress-bar[data-progress="2"]::after { width: 33.33%; }
.progress-bar[data-progress="3"]::after { width: 50%; }
.progress-bar[data-progress="4"]::after { width: 66.66%; }
.progress-bar[data-progress="5"]::after { width: 83.33%; }
.progress-bar[data-progress="6"]::after { width: 100%; }

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
}

.progress-steps .step {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--gray-400);
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.progress-steps .step.active {
    background: var(--primary);
    color: var(--white);
}

.progress-steps .step.done {
    background: var(--secondary);
    color: var(--white);
}

/* Main Content */
.simulator-main {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background: var(--white);
}

/* Etapas */
.etapa {
    display: none;
    animation: fadeIn 0.4s ease;
}

.etapa.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Títulos */
.etapa-titulo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    text-align: center;
}

.etapa-subtitulo {
    font-size: 0.95rem;
    color: var(--gray-500);
    text-align: center;
    margin-bottom: 2rem;
}

.etapa-dica {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 2rem;
}

.etapa-dica i {
    color: var(--warning);
}

/* Botão Voltar */
.btn-voltar {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: none;
    color: var(--gray-500);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.5rem 0;
    margin-bottom: 1.5rem;
    transition: color 0.2s;
}

.btn-voltar:hover {
    color: var(--gray-700);
}

/* Grid de Tipos */
.tipo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* Grid 2x3 — 6 tipos preenchem perfeitamente */

.tipo-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 2px 8px rgba(49, 76, 125, 0.08);
}

.tipo-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(2, 186, 186, 0.25);
}

.tipo-card.selected {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(2, 186, 186, 0.1) 0%, rgba(2, 186, 186, 0.2) 100%);
    box-shadow: 0 4px 20px rgba(2, 186, 186, 0.3);
}

.tipo-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(49, 76, 125, 0.1) 0%, rgba(49, 76, 125, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--secondary);
    transition: all 0.3s;
}

.tipo-card:hover .tipo-icon,
.tipo-card.selected .tipo-icon {
    background: linear-gradient(135deg, var(--primary) 0%, #029a9a 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(2, 186, 186, 0.4);
}

.tipo-nome {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gray-700);
}

/* Grid de Modos */
.modo-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modo-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    box-shadow: 0 2px 8px rgba(49, 76, 125, 0.08);
}

.modo-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(2, 186, 186, 0.25);
    transform: translateX(5px);
}

.modo-card.selected {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(2, 186, 186, 0.1) 0%, rgba(2, 186, 186, 0.2) 100%);
    box-shadow: 0 4px 20px rgba(2, 186, 186, 0.3);
}

.modo-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(49, 76, 125, 0.1) 0%, rgba(49, 76, 125, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary);
    flex-shrink: 0;
    transition: all 0.3s;
}

.modo-card:hover .modo-icon,
.modo-card.selected .modo-icon {
    background: linear-gradient(135deg, var(--primary) 0%, #029a9a 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(2, 186, 186, 0.4);
}

.modo-titulo {
    font-weight: 600;
    font-size: 1rem;
    color: var(--gray-800);
    display: block;
}

.modo-desc {
    font-size: 0.85rem;
    color: var(--gray-500);
    display: block;
    margin-top: 0.25rem;
}

/* Valor Container */
.valor-container {
    margin-bottom: 2rem;
}

.valor-display {
    text-align: center;
    margin-bottom: 1.5rem;
}

.valor-prefixo {
    font-size: 1.25rem;
    color: var(--gray-500);
    vertical-align: top;
}

.valor-input {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    border: none;
    background: none;
    text-align: center;
    width: 200px;
    outline: none;
    text-shadow: 0 2px 4px rgba(49, 76, 125, 0.1);
}

.slider-container {
    padding: 0 0.5rem;
}

.valor-slider {
    width: 100%;
    height: 10px;
    border-radius: var(--radius-full);
    background: var(--gray-200);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

/* Firefox */
.valor-slider::-moz-range-track {
    height: 10px;
    border-radius: var(--radius-full);
    background: var(--gray-200);
}

.valor-slider::-moz-range-progress {
    height: 10px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
}

.valor-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #029a9a 100%);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(2, 186, 186, 0.5);
    transition: all 0.2s;
    border: 3px solid white;
}

.valor-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(2, 186, 186, 0.6);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* Grid de Prazos */
.prazo-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.prazo-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    box-shadow: 0 2px 8px rgba(49, 76, 125, 0.08);
}

.prazo-card:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(2, 186, 186, 0.2);
    transform: translateX(5px);
}

.prazo-card.selected {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(2, 186, 186, 0.1) 0%, rgba(2, 186, 186, 0.2) 100%);
    box-shadow: 0 4px 20px rgba(2, 186, 186, 0.3);
}

.prazo-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(49, 76, 125, 0.1) 0%, rgba(49, 76, 125, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--secondary);
    flex-shrink: 0;
    transition: all 0.3s;
}

.prazo-card:hover .prazo-icon,
.prazo-card.selected .prazo-icon {
    background: linear-gradient(135deg, var(--primary) 0%, #029a9a 100%);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(2, 186, 186, 0.4);
}

/* Prazo rápido usa mesma paleta teal dos outros */

.prazo-titulo {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gray-800);
    display: block;
}

.prazo-desc {
    font-size: 0.8rem;
    color: var(--gray-500);
    display: block;
    margin-top: 0.15rem;
}

/* Botão Continuar */
.btn-continuar {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, #029a9a 100%);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(2, 186, 186, 0.4);
}

.btn-continuar:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(2, 186, 186, 0.5);
    background: linear-gradient(135deg, #03d4d4 0%, var(--primary) 100%);
}

/* Formulário de Captura */
.captura-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    box-shadow: 0 8px 30px rgba(2, 186, 186, 0.3);
}

.form-captura {
    margin-top: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-group label i {
    color: var(--primary);
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(2, 186, 186, 0.1);
}

/* Cidade Container */
.cidade-container {
    margin: 1.5rem 0 2rem;
}

.cidade-container .form-group label {
    font-size: 1rem;
}

.cidade-container .form-group label i {
    color: var(--primary);
}

/* Select Customizado */
.form-select-custom {
    width: 100%;
    padding: 1rem 2.5rem 1rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    color: var(--gray-800);
    background: var(--white);
    cursor: pointer;
    transition: all 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%236b7280' d='M4.646 5.646a.5.5 0 0 1 .708 0L8 8.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

.form-select-custom:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(2, 186, 186, 0.1);
}

.form-select-custom option {
    padding: 0.75rem;
}

.btn-enviar {
    width: 100%;
    padding: 1.1rem;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(2, 186, 186, 0.4);
    margin-top: 1.5rem;
}

.btn-enviar:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(2, 186, 186, 0.5);
    background: linear-gradient(135deg, #03d4d4 0%, var(--primary) 100%);
}

.btn-enviar:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.garantias {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.garantias span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--gray-500);
}

.garantias i {
    color: var(--primary);
}

/* Resultado */
.resultado-container {
    text-align: center;
}

.resultado-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, #029a9a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    animation: pulse 2s infinite;
    box-shadow: 0 8px 30px rgba(2, 186, 186, 0.4);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.resultado-titulo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.resultado-card {
    background: linear-gradient(135deg, rgba(49, 76, 125, 0.03) 0%, rgba(2, 186, 186, 0.08) 100%);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(2, 186, 186, 0.2);
    box-shadow: 0 4px 20px rgba(49, 76, 125, 0.08);
}

.resultado-tipo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.resultado-tipo i {
    font-size: 1.25rem;
}

.resultado-valores {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.resultado-item {
    text-align: center;
}

.resultado-item.destaque {
    background: var(--white);
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 2px solid var(--primary);
    box-shadow: 0 4px 15px rgba(2, 186, 186, 0.2);
}

.resultado-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    display: block;
    margin-bottom: 0.25rem;
}

.resultado-valor {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.resultado-item.destaque .resultado-valor {
    color: var(--primary);
    font-size: 1.75rem;
}

.resultado-obs {
    font-size: 0.8rem;
    color: var(--gray-500);
    display: block;
}

.resultado-dica {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--warning);
    background: rgba(245, 158, 11, 0.1);
    padding: 0.75rem;
    border-radius: var(--radius-md);
    margin-top: 1rem;
}

.resultado-proximo {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 0.5rem;
}

/* Responsivo */
@media (max-width: 480px) {
    .simulator-container {
        max-width: 100%;
    }

    .tipo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .tipo-card {
        padding: 1rem 0.75rem;
    }

    .tipo-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .etapa-titulo {
        font-size: 1.25rem;
    }

    .valor-input {
        font-size: 2rem;
        width: 160px;
    }
}

/* Loading state */
.btn-enviar.loading {
    position: relative;
    color: transparent;
}

.btn-enviar.loading::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =====================================================
   NOVOS ESTILOS PROFISSIONAIS
   ===================================================== */

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-content {
    text-align: center;
    color: var(--white);
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(2, 186, 186, 0.3);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 1.5rem;
}

.loading-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--gray-300);
    animation: fadeInOut 1.5s ease infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Badge de Economia */
.resultado-economia {
    margin-bottom: 1rem;
}

.economia-badge {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.15) 100%);
    border: 2px solid var(--success);
    border-radius: var(--radius-md);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.economia-badge i {
    font-size: 2rem;
    color: var(--success);
}

.economia-content {
    text-align: left;
}

.economia-label {
    font-size: 0.8rem;
    color: var(--gray-600);
    display: block;
}

.economia-valor {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--success);
}

/* Comparativo Box */
.resultado-comparativo {
    margin-bottom: 1rem;
}

.comparativo-box {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.comparativo-item {
    flex: 1;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.comparativo-item.consorcio {
    background: linear-gradient(135deg, rgba(2, 186, 186, 0.1) 0%, rgba(2, 154, 154, 0.15) 100%);
    border: 2px solid var(--primary);
}

.comparativo-item.financiamento {
    background: var(--gray-100);
    border: 2px solid var(--gray-300);
}

.comparativo-tipo {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
    display: block;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparativo-item.consorcio .comparativo-tipo {
    color: var(--primary);
}

.comparativo-valor {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
    display: block;
}

.comparativo-item.consorcio .comparativo-valor {
    color: var(--primary-dark);
}

.comparativo-taxa {
    font-size: 0.7rem;
    color: var(--gray-500);
    display: block;
    margin-top: 0.15rem;
}

.comparativo-item.consorcio .comparativo-taxa {
    color: var(--success);
    font-weight: 600;
}

.comparativo-vs {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-400);
}

.comparativo-diferenca {
    background: rgba(16, 185, 129, 0.08);
    padding: 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--gray-700);
    text-align: center;
}

.comparativo-diferenca strong {
    color: var(--success);
}

/* Dica Urgente */
.resultado-dica.urgente {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.2) 100%);
    animation: urgentePulse 2s ease infinite;
}

@keyframes urgentePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
}

/* Selos de Confiança */
.selos-confianca {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.selo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    color: var(--secondary);
    background: linear-gradient(135deg, rgba(2, 186, 186, 0.1) 0%, rgba(49, 76, 125, 0.1) 100%);
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(2, 186, 186, 0.2);
}

.selo i {
    font-size: 0.9rem;
    color: var(--primary);
}

/* Footer melhorado */
.simulator-footer {
    padding: 1.5rem 1rem 1rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-500);
    border-top: 2px solid var(--primary);
    background: linear-gradient(180deg, transparent 0%, rgba(49, 76, 125, 0.03) 100%);
}

/* Responsivo para novos elementos */
@media (max-width: 480px) {
    .economia-badge {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .economia-content {
        text-align: center;
    }

    .comparativo-box {
        flex-direction: column;
    }

    .comparativo-vs {
        justify-content: center;
        padding: 0.25rem 0;
    }

    .selos-confianca {
        gap: 0.5rem;
    }

    .selo {
        font-size: 0.65rem;
        padding: 0.3rem 0.5rem;
    }
}

/* =====================================================
   ADMINISTRADORAS - CARROSSEL INFINITO
   ===================================================== */

.administradoras-section {
    padding: 1rem 1.5rem;
    background: linear-gradient(180deg, rgba(49, 76, 125, 0.05) 0%, transparent 100%);
    border-bottom: 1px solid var(--gray-100);
    overflow: hidden;
}

.administradoras-titulo {
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
    font-weight: 500;
    /* Reset h2 styles for design consistency */
    margin-top: 0;
    line-height: 1.4;
}

.administradoras-logos {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logos-track {
    display: flex;
    gap: 2rem;
    animation: scrollLogos 25s linear infinite;
    width: max-content;
}

.logos-track img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.logos-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pausar animação ao hover */
.administradoras-logos:hover .logos-track {
    animation-play-state: paused;
}

/* =====================================================
   SELOS DE CONFIANÇA - IMAGENS
   ===================================================== */

.selos-imagens {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.selos-imagens img {
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: grayscale(20%);
    opacity: 0.85;
    transition: all 0.3s ease;
}

.selos-imagens img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Responsivo para administradoras e selos */
@media (max-width: 480px) {
    .administradoras-section {
        padding: 0.75rem 1rem;
    }

    .administradoras-titulo {
        font-size: 0.75rem;
    }

    .logos-track {
        gap: 1.5rem;
    }

    .logos-track img {
        height: 30px;
    }

    .selos-imagens {
        gap: 1rem;
    }

    .selos-imagens img {
        height: 35px;
    }
}

/* =====================================================
   AUTOCOMPLETE DE CIDADES
   ===================================================== */

.autocomplete-wrapper {
    position: relative;
}

.form-input-custom {
    width: 100%;
    padding: 1rem 2.5rem 1rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    color: var(--gray-800);
    background: var(--white);
    transition: all 0.2s;
}

.form-input-custom:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(2, 186, 186, 0.1);
}

.autocomplete-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 0.9rem;
    pointer-events: none;
}

.autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: var(--radius-md);
    max-height: 220px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    box-shadow: var(--shadow-lg);
}

.autocomplete-dropdown.open {
    display: block;
}

.autocomplete-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--gray-700);
    transition: background 0.15s;
    border-bottom: 1px solid var(--gray-100);
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.highlighted {
    background: rgba(2, 186, 186, 0.1);
    color: var(--primary-dark);
}

.autocomplete-item mark {
    background: rgba(2, 186, 186, 0.25);
    color: inherit;
    padding: 0;
    border-radius: 2px;
}

.autocomplete-no-results {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: var(--gray-400);
    text-align: center;
}

/* =====================================================
   LGPD / CONSENTIMENTO
   ===================================================== */

.lgpd-consent {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--gray-600);
    line-height: 1.4;
    position: relative;
    padding-left: 0;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 1px;
    accent-color: var(--primary);
    cursor: pointer;
}

.consent-text {
    flex: 1;
}

.consent-text a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 500;
}

.consent-text a:hover {
    color: var(--primary-dark);
}

/* =====================================================
   VALIDAÇÃO INLINE
   ===================================================== */

.form-error {
    display: none;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--danger);
    margin-top: 0.4rem;
    padding: 0.4rem 0.6rem;
    background: rgba(239, 68, 68, 0.08);
    border-radius: var(--radius-sm);
    animation: fadeIn 0.3s ease;
}

.form-error.visible {
    display: flex;
}

.form-error i {
    font-size: 0.85rem;
    flex-shrink: 0;
}

.form-group input.input-error,
.form-input-custom.input-error {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.lgpd-consent.input-error .checkbox-container {
    color: var(--danger);
}

/* =====================================================
   SOCIAL PROOF NUMÉRICO
   ===================================================== */

.social-proof-section {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--secondary) 0%, #1a2d4d 100%);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    text-align: center;
}

.proof-item {
    padding: 1rem 0.5rem;
}

.proof-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.proof-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* =====================================================
   SOBRE A YUPLAN
   ===================================================== */

.sobre-section {
    padding: 2rem 1.5rem;
    background: var(--white);
}

.sobre-titulo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 1rem;
}

.sobre-texto {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.sobre-texto:last-child {
    margin-bottom: 0;
}

.sobre-texto strong {
    color: var(--secondary);
}

/* =====================================================
   FAQ VISÍVEL
   ===================================================== */

.faq-section {
    padding: 2rem 1.5rem;
    background: var(--gray-50);
}

.faq-titulo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 1.25rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item[open] {
    border-color: var(--primary);
}

.faq-pergunta {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-800);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.faq-pergunta::-webkit-details-marker {
    display: none;
}

.faq-pergunta::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--primary);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.faq-item[open] .faq-pergunta::after {
    content: '−';
}

.faq-resposta {
    padding: 0 1.25rem 1rem;
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* =====================================================
   FOOTER EXPANDIDO
   ===================================================== */

.footer-empresa {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.footer-cnpj {
    font-size: 0.7rem;
    color: var(--gray-400);
    margin-bottom: 0.75rem;
}

.footer-legal {
    font-size: 0.7rem;
    color: var(--gray-400);
    line-height: 1.5;
    margin-bottom: 0.75rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsivo para novas seções */
@media (max-width: 480px) {
    .proof-number {
        font-size: 1.25rem;
    }

    .proof-label {
        font-size: 0.6rem;
    }

    .sobre-section,
    .faq-section {
        padding: 1.5rem 1rem;
    }
}

/* =====================================================
   SOCIAL PROOF INLINE (dentro da seção administradoras)
   ===================================================== */

.proof-bar-inline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--gray-100);
}

.proof-bar-inline > span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gray-500);
}

.proof-bar-inline > span i {
    color: var(--primary);
    font-size: 0.7rem;
}

.proof-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--gray-300);
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .proof-bar-inline {
        gap: 0.4rem;
    }

    .proof-bar-inline > span {
        font-size: 0.6rem;
        gap: 0.15rem;
    }

    .proof-bar-inline > span i {
        font-size: 0.6rem;
    }

    .proof-dot {
        width: 2px;
        height: 2px;
    }
}

/* =====================================================
   PREVIEW CARD (etapa 6 - antes do form)
   ===================================================== */

.preview-card {
    background: linear-gradient(135deg, rgba(2, 186, 186, 0.05) 0%, rgba(49, 76, 125, 0.08) 100%);
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 1rem;
    margin-bottom: 1.5rem;
    animation: fadeIn 0.4s ease;
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-200);
}

.preview-header i {
    font-size: 1.1rem;
    color: var(--success);
}

.preview-items {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.preview-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray-700);
}

.preview-item i {
    color: var(--primary);
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.preview-opcoes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem;
    background: rgba(2, 186, 186, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.preview-opcoes i {
    color: var(--primary);
}

/* =====================================================
   GARANTIAS APRIMORADAS
   ===================================================== */

.garantias-enhanced {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding: 0.75rem;
    background: rgba(16, 185, 129, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.garantia-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--gray-600);
}

.garantia-item i {
    color: var(--success);
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* =====================================================
   BARRA DE URGÊNCIA
   ===================================================== */

.urgencia-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1rem;
    padding: 0.6rem 0.75rem;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--gray-600);
}

.urgencia-bar i {
    color: var(--warning);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.urgencia-resultado {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
    padding: 0.6rem 0.75rem;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--gray-600);
}

.urgencia-resultado i {
    color: var(--warning);
    flex-shrink: 0;
}

/* =====================================================
   DEPOIMENTO MINI
   ===================================================== */

.depoimento-mini {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary);
    position: relative;
}

.depoimento-aspas {
    position: absolute;
    top: -4px;
    left: 8px;
    font-size: 1.5rem;
    color: var(--primary);
    opacity: 0.3;
}

.depoimento-texto {
    font-size: 0.85rem;
    color: var(--gray-700);
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.depoimento-autor {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.depoimento-autor strong {
    color: var(--gray-700);
}

/* =====================================================
   BOTÃO WHATSAPP DIRETO (resultado)
   ===================================================== */

.btn-whatsapp-direto {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    margin-bottom: 1rem;
}

.btn-whatsapp-direto:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp-direto i {
    font-size: 1.25rem;
}

.resultado-proximo-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.08) 0%, rgba(18, 140, 126, 0.08) 100%);
    border-radius: var(--radius-lg);
    text-align: left;
}

.resultado-proximo-info > i {
    flex-shrink: 0;
}

.resultado-proximo-info p {
    color: var(--gray-700);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

/* =====================================================
   RESPONSIVO NOVOS ELEMENTOS
   ===================================================== */

@media (max-width: 480px) {
    .preview-card {
        padding: 0.75rem;
    }

    .preview-header {
        font-size: 0.85rem;
    }

    .preview-item {
        font-size: 0.8rem;
    }

    .garantias-enhanced {
        padding: 0.6rem;
    }

    .garantia-item {
        font-size: 0.75rem;
    }

    .urgencia-bar {
        font-size: 0.7rem;
    }

    .depoimento-mini {
        padding: 0.75rem;
    }

    .depoimento-texto {
        font-size: 0.8rem;
    }
}
