/* consulta.css — estilos compartilhados das páginas de consulta mock */

/* Results section */
.results-section { background: #f0f3fb; padding: 3rem 1rem; }

/* Result card */
.result-card-atlas {
    background: white; border-radius: 16px; padding: 1.5rem;
    border: 2px solid #e5e7eb; transition: all 0.25s ease;
}
.result-card-atlas:hover { border-color: #635FD5; box-shadow: 0 8px 24px rgba(99,95,213,0.15); transform: translateY(-2px); }

/* Fields */
.result-field-atlas { margin-bottom: 0.875rem; }
.result-label-atlas { font-size: 0.75rem; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; display: block; }
.result-value-atlas { font-size: 0.95rem; font-weight: 600; color: #1f2937; }
.result-value-atlas.censored {
    color: #9ca3af; letter-spacing: 0.05em;
    background: rgba(99,95,213,0.06); padding: 2px 8px;
    border-radius: 6px; display: inline-block;
    filter: blur(3px); user-select: none;
}
.blurred-data {
    filter: blur(4px);
    user-select: none;
    letter-spacing: 0.04em;
}

/* CTA button */
.cta-result-btn {
    width: 100%; padding: 0.875rem; margin-top: 1.25rem;
    border: none; border-radius: 10px; cursor: pointer;
    background: linear-gradient(135deg, #635FD5 0%, #4f4bb8 100%);
    color: white; font-size: 0.875rem; font-weight: 700;
    font-family: 'PT Sans', sans-serif; letter-spacing: 0.03em;
    transition: all 0.25s ease; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.cta-result-btn:hover {
    background: linear-gradient(135deg, #4f4bb8 0%, #3d39a0 100%);
    box-shadow: 0 6px 20px rgba(99,95,213,0.4);
}

/* Demo environment badge */
.demo-badge {
    display: inline-flex; align-items: center;
    font-size: 0.68rem; font-weight: 600; letter-spacing: 0.02em;
    color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 3px 10px; border-radius: 20px; white-space: nowrap;
}

/* Sticky CTA bar */
.sticky-cta-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: linear-gradient(135deg, #1C205B 0%, #346F96 100%);
    padding: 0.75rem 1rem; box-shadow: 0 -6px 24px rgba(0,0,0,0.18);
}
.cta-result-btn-sticky {
    width: auto; margin-top: 0; padding: 0.7rem 1.5rem; flex-shrink: 0;
}
@media (max-width: 640px) {
    .sticky-cta-bar > div { justify-content: center; }
    .cta-result-btn-sticky {
        width: 100%; justify-content: center;
        padding: 0.9rem 1.5rem; font-size: 0.95rem;
    }
}
body:has(#sticky-cta-bar[style*="display: block"]) .caixa-flutuante,
body:has(#sticky-cta-bar[style*="display: flex"]) .caixa-flutuante {
    bottom: 88px;
}

/* Lock badge */
.lock-badge {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 0.7rem; color: #635FD5; background: rgba(99,95,213,0.1);
    padding: 2px 8px; border-radius: 20px; font-weight: 600; margin-left: 6px;
}

/* Section titles inside card */
.result-section-title {
    font-size: 0.65rem; font-weight: 800; color: #635FD5;
    text-transform: uppercase; letter-spacing: 0.08em;
    margin: 1rem 0 0.5rem; padding-top: 0.75rem;
    border-top: 1px solid #f0f3fb;
}
.result-section-title:first-child { border-top: none; margin-top: 0; padding-top: 0; }

/* Score gauge */
.score-gauge-wrapper {
    background: rgba(99,95,213,0.05); border: 1.5px solid rgba(99,95,213,0.25);
    border-radius: 10px; padding: 12px 14px;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.score-bars { display: flex; align-items: flex-end; gap: 4px; }
.score-bar { width: 14px; border-radius: 3px 3px 0 0; transition: opacity 0.2s; }
.score-bar.b1 { height: 12px; }
.score-bar.b2 { height: 16px; }
.score-bar.b3 { height: 20px; }
.score-bar.b4 { height: 24px; }
.score-bar.b5 { height: 28px; }
.score-bar.filled { background: #20c997; }
.score-bar.filled.warn { background: #ffc107; }
.score-bar.empty { background: #e5e7eb; }
.score-value-blurred {
    font-size: 1.6rem; font-weight: 900; color: #1C205B;
    filter: blur(5px); user-select: none; letter-spacing: 0.05em;
}
.score-label { font-size: 0.7rem; color: #6b7280; margin-top: 3px; }

/* Plan cards (modal) */
.plan-card { cursor: pointer; transition: all 0.3s ease; }
.plan-card:hover { border-color: #635FD5 !important; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(99,95,213,0.15); }
.plan-card.selected { border-color: #635FD5 !important; background-color: rgba(99,95,213,0.05); }
.plan-radio { position: absolute; opacity: 0; pointer-events: none; }

/* Labor illusion (loading teatral em etapas) */
.labor-illusion-list {
    list-style: none; margin: 0; padding: 0; text-align: left;
    min-width: 260px; font-family: 'PT Sans', sans-serif;
}
.labor-illusion-step {
    display: flex; align-items: center; gap: 10px; padding: 6px 0;
    font-size: 0.875rem; color: #9aa7bd; opacity: 0.55;
    transition: opacity 0.2s ease, color 0.2s ease;
}
.labor-illusion-step.is-active,
.labor-illusion-step.is-done {
    opacity: 1; color: #1C205B;
}
.labor-illusion-icon {
    width: 18px; height: 18px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    color: #9aa7bd;
}
.labor-illusion-step.is-active .labor-illusion-icon { color: #635FD5; }
.labor-illusion-step.is-done .labor-illusion-icon { color: #20c997; }
.labor-illusion-icon svg { width: 100%; height: 100%; }
.labor-illusion-spin {
    animation: labor-illusion-spin 1s linear infinite;
    transform-origin: 50% 50%;
}
@keyframes labor-illusion-spin {
    to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .labor-illusion-spin { animation: none; }
}
