/* ==========================================================================
   Orion Lead Radar — Camada Cinematográfica (tema de apresentação)
   Carregada DEPOIS de style.css e pipeline.css. Só sobrescreve visual;
   nenhuma regra aqui altera comportamento. Para reverter ao tema antigo,
   basta remover cinematic.css e cinematic.js do index.html.
   ========================================================================== */

:root {
    --bg-main: #04050c;
    --bg-sidebar: #070912;
    --bg-glass: rgba(13, 17, 31, 0.62);
    --bg-card: rgba(17, 22, 38, 0.82);
    --bg-elevated: rgba(22, 28, 48, 0.9);
    --border-color: rgba(148, 163, 204, 0.16);
    --border-strong: rgba(170, 186, 224, 0.26);
    --border-hover: rgba(56, 224, 240, 0.45);

    --primary: #8b5cf6;
    --primary-hover: #a78bfa;
    --primary-glow: rgba(139, 92, 246, 0.35);
    --accent: #22d3ee;
    --accent-soft: rgba(34, 211, 238, 0.14);
    --accent-glow: rgba(34, 211, 238, 0.3);

    --success: #34d399;
    --warning: #fbbf24;
    --danger: #f87171;
    --info: #60a5fa;

    --grad-brand: linear-gradient(135deg, #a78bfa 0%, #22d3ee 100%);
    --grad-primary: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    --grad-accent: linear-gradient(135deg, #22d3ee 0%, #0ea5e9 100%);

    --shadow-premium: 0 24px 60px rgba(2, 4, 12, 0.55);
    --shadow-soft: 0 12px 30px rgba(2, 4, 12, 0.4);
    --glow-primary: 0 0 24px rgba(139, 92, 246, 0.28);
    --glow-accent: 0 0 24px rgba(34, 211, 238, 0.22);
}

/* --------------------------------------------------------------------------
   Fundo vivo: nebulosa aurora em movimento lento (GPU-friendly, só transform)
   -------------------------------------------------------------------------- */
body {
    background: radial-gradient(ellipse at 20% -10%, #0b0e21 0%, #04050c 55%, #03040a 100%);
}

body::before {
    top: -28%;
    left: -18%;
    width: 75%;
    height: 80%;
    background:
        radial-gradient(circle at 35% 40%, rgba(139, 92, 246, 0.16) 0%, transparent 58%),
        radial-gradient(circle at 70% 65%, rgba(99, 102, 241, 0.1) 0%, transparent 55%);
    filter: blur(8px);
    animation: cine-drift-a 26s ease-in-out infinite alternate;
}

body::after {
    bottom: -30%;
    right: -20%;
    width: 80%;
    height: 85%;
    background:
        radial-gradient(circle at 60% 60%, rgba(34, 211, 238, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 30% 35%, rgba(14, 165, 233, 0.08) 0%, transparent 55%);
    filter: blur(8px);
    animation: cine-drift-b 32s ease-in-out infinite alternate;
}

@keyframes cine-drift-a {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(6%, 9%, 0) scale(1.12); }
}

@keyframes cine-drift-b {
    from { transform: translate3d(0, 0, 0) scale(1.08); }
    to   { transform: translate3d(-7%, -6%, 0) scale(1); }
}

/* Grade de perspectiva sutil no fundo (injetada pelo cinematic.js) */
.cine-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(148, 163, 204, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 204, 0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 50% 30%, rgba(0,0,0,0.55) 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, rgba(0,0,0,0.55) 0%, transparent 75%);
}

.app-container { position: relative; z-index: 1; }

::selection { background: rgba(34, 211, 238, 0.32); color: #fff; }

/* --------------------------------------------------------------------------
   Vidro premium: blur maior, brilho na borda superior, raio mais generoso
   -------------------------------------------------------------------------- */
.glass-panel {
    backdrop-filter: blur(18px) saturate(1.25);
    -webkit-backdrop-filter: blur(18px) saturate(1.25);
    border-radius: 16px;
    position: relative;
    box-shadow: var(--shadow-premium), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* --------------------------------------------------------------------------
   Marca e navegação
   -------------------------------------------------------------------------- */
.sidebar {
    background: linear-gradient(180deg, rgba(10, 13, 25, 0.92), rgba(5, 7, 14, 0.96));
    backdrop-filter: blur(14px);
    border-right: 1px solid rgba(148, 163, 204, 0.1);
}

.brand-info h1 {
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.6px;
}

.brand-logo {
    background: rgba(139, 92, 246, 0.14);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 0 18px rgba(139, 92, 246, 0.3), inset 0 0 12px rgba(34, 211, 238, 0.08);
}

.nav-item { border-left: 3px solid transparent; }

.nav-item.active {
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.2), rgba(34, 211, 238, 0.06) 85%);
    border-left: 3px solid var(--accent);
    box-shadow: inset 0 0 24px rgba(139, 92, 246, 0.1), 0 0 16px rgba(34, 211, 238, 0.08);
}

/* --------------------------------------------------------------------------
   Header: números que parecem dinheiro
   -------------------------------------------------------------------------- */
.app-header {
    background: rgba(5, 7, 14, 0.72);
    backdrop-filter: blur(16px);
}

.metric-val {
    background: linear-gradient(135deg, #e9f6ff 20%, #7dd3fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    font-size: 1.18rem;
}

/* --------------------------------------------------------------------------
   Botões: gradiente + varredura de brilho no hover
   -------------------------------------------------------------------------- */
.btn-primary {
    background: var(--grad-primary);
    box-shadow: var(--shadow-soft), var(--glow-primary);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #a78bfa 0%, #818cf8 100%);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(2, 4, 12, 0.5), 0 0 32px rgba(139, 92, 246, 0.4);
}

.btn-accent {
    background: var(--grad-accent);
    color: #03121a;
    box-shadow: var(--shadow-soft), var(--glow-accent);
}

.btn-accent:hover {
    background: linear-gradient(135deg, #67e8f9 0%, #38bdf8 100%);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(2, 4, 12, 0.5), 0 0 32px rgba(34, 211, 238, 0.38);
}

/* --------------------------------------------------------------------------
   Transição cinematográfica entre telas
   -------------------------------------------------------------------------- */
.content-section.active-section {
    animation: cine-view-in 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes cine-view-in {
    from { opacity: 0; transform: translateY(14px) scale(0.992); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* --------------------------------------------------------------------------
   Cards de insight: vitrine de números
   -------------------------------------------------------------------------- */
.demo-insight {
    background: linear-gradient(160deg, rgba(20, 26, 46, 0.9), rgba(12, 16, 30, 0.85));
    border: 1px solid rgba(148, 163, 204, 0.14);
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.demo-insight::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 2px;
    background: var(--grad-brand);
    opacity: 0.55;
}

.demo-insight:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    box-shadow: 0 14px 30px rgba(2, 4, 12, 0.45), var(--glow-accent);
}

.demo-insight strong {
    font-size: 1.7rem;
    background: linear-gradient(135deg, #f4f7fb 30%, #a5f3fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.big-metric {
    font-size: 2.6rem;
    background: linear-gradient(135deg, #f4f7fb 25%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.big-metric.success-text {
    background: linear-gradient(135deg, #d1fae5 20%, #34d399 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent !important;
}

.metric-card { transition: var(--transition-smooth); }
.metric-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-premium), var(--glow-primary); }

/* --------------------------------------------------------------------------
   Kanban: colunas com identidade por etapa + entrada animada dos cards
   -------------------------------------------------------------------------- */
.kanban-column {
    background: rgba(10, 14, 26, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 14px;
    overflow: hidden;
}

.kanban-column-header { position: relative; }

.kanban-column-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2.5px;
    background: var(--col-accent, var(--grad-brand));
}

.kanban-column:has([data-status="lead_novo"])      { --col-accent: linear-gradient(90deg, #60a5fa, #3b82f6); }
.kanban-column:has([data-status="sem_contato"])    { --col-accent: linear-gradient(90deg, #94a3b8, #64748b); }
.kanban-column:has([data-status="contato_feito"])  { --col-accent: linear-gradient(90deg, #a78bfa, #8b5cf6); }
.kanban-column:has([data-status="follow_up"])      { --col-accent: linear-gradient(90deg, #fbbf24, #f59e0b); }
.kanban-column:has([data-status="negociacao"])     { --col-accent: linear-gradient(90deg, #67e8f9, #22d3ee); }
.kanban-column:has([data-status="fechado"])        { --col-accent: linear-gradient(90deg, #6ee7b7, #34d399); }
.kanban-column:has([data-status="perdido"])        { --col-accent: linear-gradient(90deg, #fca5a5, #f87171); }

.lead-card {
    border-radius: 12px;
    border: 1px solid rgba(166, 181, 214, 0.12);
    background: linear-gradient(165deg, rgba(22, 28, 48, 0.92), rgba(14, 18, 34, 0.88));
    animation: cine-card-in 0.22s ease-out backwards;
}

.kanban-cards-container .lead-card:nth-child(2) { animation-delay: 0.04s; }
.kanban-cards-container .lead-card:nth-child(3) { animation-delay: 0.08s; }
.kanban-cards-container .lead-card:nth-child(n+4) { animation-delay: 0.12s; }

@keyframes cine-card-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.lead-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    box-shadow: 0 16px 32px rgba(2, 4, 12, 0.5), 0 0 20px rgba(34, 211, 238, 0.12);
}

.kanban-cards-container.drag-over {
    background: rgba(34, 211, 238, 0.07);
    border: 1px dashed rgba(34, 211, 238, 0.65);
    box-shadow: inset 0 0 24px rgba(34, 211, 238, 0.08);
}

/* Score quente: destaque firme sem piscar — o olho acha, mas não cansa */
.score-quente {
    background: rgba(248, 113, 113, 0.2);
    border-color: rgba(248, 113, 113, 0.5);
    color: #fda4a4;
    box-shadow: 0 0 8px rgba(248, 113, 113, 0.18);
}

/* --------------------------------------------------------------------------
   Fila do dia: destaque de palco
   -------------------------------------------------------------------------- */
.today-panel {
    border-left: 3px solid var(--success);
    box-shadow: var(--shadow-premium), inset 0 1px 0 rgba(255, 255, 255, 0.05), -12px 0 28px -18px rgba(52, 211, 153, 0.45);
}

.today-goal-bar div {
    background: linear-gradient(90deg, #34d399, #67e8f9);
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.5);
}

.today-row { transition: border-color 0.2s ease, background 0.2s ease; }
.today-row:hover {
    border-color: var(--border-hover);
    background: rgba(34, 211, 238, 0.05);
}

/* --------------------------------------------------------------------------
   Radar: terminal com scanline + varredura de radar quando ativo
   -------------------------------------------------------------------------- */
.monitor-terminal {
    background: rgba(3, 5, 10, 0.94);
    border-color: rgba(34, 211, 238, 0.12);
    position: relative;
    box-shadow: inset 0 0 32px rgba(34, 211, 238, 0.04);
}

.monitor-screenshot-area {
    border-color: rgba(34, 211, 238, 0.12);
    background:
        radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.05) 0%, transparent 65%),
        rgba(3, 5, 10, 0.92);
}

/* Overlay de radar (injetado por cinematic.js) — só aparece com captura ativa */
.cine-radar-sweep {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.radar-monitor:has(.pulse-indicator.active) .cine-radar-sweep { display: flex; }
.radar-monitor:has(.pulse-indicator.active) .screenshot-placeholder { display: none; }

.cine-radar-disc {
    position: relative;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    border: 1px solid rgba(34, 211, 238, 0.3);
    background:
        radial-gradient(circle, rgba(34, 211, 238, 0.05) 0%, transparent 70%);
}

.cine-radar-disc::before,
.cine-radar-disc::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(34, 211, 238, 0.18);
}

.cine-radar-disc::before { inset: 24%; }
.cine-radar-disc::after  { inset: 44%; }

.cine-radar-beam {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(34, 211, 238, 0.5) 0deg, rgba(34, 211, 238, 0.08) 52deg, transparent 70deg);
    animation: cine-sweep 2.6s linear infinite;
}

@keyframes cine-sweep {
    to { transform: rotate(360deg); }
}

.cine-radar-blip {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #67e8f9;
    box-shadow: 0 0 10px rgba(103, 232, 249, 0.9);
    animation: cine-blip 2.6s ease-out infinite;
}

.cine-radar-blip:nth-child(2) { top: 26%; left: 62%; animation-delay: 0.6s; }
.cine-radar-blip:nth-child(3) { top: 58%; left: 30%; animation-delay: 1.4s; }
.cine-radar-blip:nth-child(4) { top: 40%; left: 48%; animation-delay: 2s; }

@keyframes cine-blip {
    0%, 20%   { opacity: 0; transform: scale(0.4); }
    30%       { opacity: 1; transform: scale(1.15); }
    60%, 100% { opacity: 0; transform: scale(0.9); }
}

.pulse-indicator.active {
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.16);
    animation: cine-pulse-cyan 1.4s infinite;
}

@keyframes cine-pulse-cyan {
    0%   { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.45); }
    70%  { box-shadow: 0 0 0 9px rgba(34, 211, 238, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

/* --------------------------------------------------------------------------
   Gráficos e proposta
   -------------------------------------------------------------------------- */
.bar-fill {
    background: var(--grad-brand);
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.35);
}

.proposal-hero {
    background:
        radial-gradient(ellipse at 15% 0%, rgba(139, 92, 246, 0.16) 0%, transparent 55%),
        radial-gradient(ellipse at 90% 100%, rgba(34, 211, 238, 0.12) 0%, transparent 50%),
        var(--bg-glass);
}

/* --------------------------------------------------------------------------
   Modais: entrada de palco
   -------------------------------------------------------------------------- */
.modal { backdrop-filter: blur(10px); background: rgba(2, 3, 8, 0.72); }

.modal.active .modal-content { animation: cine-modal-in 0.4s cubic-bezier(0.22, 1, 0.36, 1); }

@keyframes cine-modal-in {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* --------------------------------------------------------------------------
   Qualidade de uso: legibilidade, contraste e alvos de clique
   (pensado para quem trabalha no app o dia inteiro, não só para demo)
   -------------------------------------------------------------------------- */
:root {
    --text-secondary: #b4bed2;
    --text-muted: #8a94ab;
}

/* Telefone visível no card — decisão de abordagem sem abrir o modal */
.meta-phone {
    margin-left: auto;
    color: var(--text-secondary);
    font-size: 0.76rem;
    font-variant-numeric: tabular-nums;
}

/* Tipografia dos cards: tamanhos mínimos legíveis a um braço de distância */
.card-title { font-size: 1rem; line-height: 1.25; }
.card-meta { font-size: 0.78rem; }
.card-qualification { font-size: 0.8rem; line-height: 1.45; }
.source-chip, .proof-chip { font-size: 0.7rem; }
.card-score-badge { font-size: 0.72rem; padding: 3px 8px; }
.card-budget-val { font-size: 0.95rem; }
.card-commercial-row span { font-size: 0.72rem; }
.card-commercial-row strong { font-size: 0.78rem; }
.kanban-column-badge { font-size: 0.8rem; }
.panel-hint, .subtitle { font-size: 0.86rem; }
.terminal-line { font-size: 0.84rem; }
.screenshot-placeholder, .kanban-empty-state { font-size: 0.84rem; }
.metric-label { font-size: 0.74rem; }
.demo-insight span { font-size: 0.74rem; }
.today-row-info strong { font-size: 14.5px; }
.today-row-info span { font-size: 12.5px; }

/* Toolbar do header: filtros com respiro */
.lead-toolbar select,
.lead-toolbar input[type="date"] { font-size: 0.82rem; }

/* Alvos de clique maiores nas ações do card (sem mudar o ícone) */
.card-icon-btn { padding: 8px; margin: -2px; border-radius: 8px; }
.today-row { padding: 12px 14px; }
.btn-today-wa { padding: 8px 16px; font-size: 13px; }

/* Barra de rolagem que dá para agarrar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 204, 0.32);
    border-radius: 6px;
    border: 2px solid transparent;
    background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(34, 211, 238, 0.55); background-clip: padding-box; }

/* Navegação por teclado visível */
.btn:focus-visible,
.nav-item:focus-visible,
.card-icon-btn:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Espaço de trabalho: os cards de pitch só aparecem no Modo Demo.
   No uso diário, o painel de qualidade vira uma faixa compacta e o
   Kanban ganha ~120px de altura útil. */
body:not(.demo-mode) .command-card-primary,
body:not(.demo-mode) .commercial-command-strip .command-card:nth-child(2) {
    display: none;
}

body:not(.demo-mode) .commercial-command-strip {
    grid-template-columns: 1fr;
    margin-bottom: 14px;
}

body:not(.demo-mode) #quality-summary-card {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 12px 18px;
}

body:not(.demo-mode) #quality-summary-card span { margin-bottom: 0; }
body:not(.demo-mode) #quality-summary-card strong { margin-bottom: 0; font-size: 0.95rem; }
body:not(.demo-mode) #quality-summary-card p { margin-left: auto; }

/* Fundo mais calmo no uso diário (movimento bem lento) */
body::before { animation-duration: 48s; }
body::after  { animation-duration: 56s; }

/* --------------------------------------------------------------------------
   Celebração de venda — "venda é emoção" (disparada por window.orionCelebrate)
   -------------------------------------------------------------------------- */
.cine-celebrate {
    position: fixed;
    inset: 0;
    z-index: 2000;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.cine-celebrate.show { opacity: 1; }

.cine-celebrate-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 26px 46px;
    border-radius: 20px;
    text-align: center;
    background: linear-gradient(160deg, rgba(16, 22, 40, 0.92), rgba(8, 12, 24, 0.92));
    border: 1px solid rgba(52, 211, 153, 0.4);
    box-shadow: 0 30px 80px rgba(2, 4, 12, 0.6), 0 0 60px rgba(52, 211, 153, 0.3);
    transform: scale(0.8);
    transition: transform 0.45s cubic-bezier(0.22, 1.4, 0.36, 1);
}

.cine-celebrate.show .cine-celebrate-banner { transform: scale(1); }

.cine-celebrate-emoji { font-size: 2.6rem; line-height: 1; }

.cine-celebrate-banner strong {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #d1fae5 10%, #34d399 60%, #67e8f9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cine-celebrate-banner span {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.copy-output-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Botão de microfone na busca (voz -> texto) */
.search-input-wrapper { position: relative; }
.voice-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: rgba(34, 211, 238, 0.08);
    color: var(--accent);
    cursor: pointer;
    transition: var(--transition-smooth);
}
.voice-btn:hover { border-color: var(--border-hover); background: var(--accent-soft); }
.search-input-wrapper input { padding-right: 44px; }
.voice-btn.recording {
    color: #fff;
    background: var(--danger);
    border-color: var(--danger);
    animation: cine-voice-pulse 1.1s infinite;
}
.voice-btn.transcribing {
    color: var(--warning);
    border-color: var(--warning);
    animation: cine-voice-spin 0.9s linear infinite;
}
@keyframes cine-voice-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(248, 113, 113, 0.5); }
    70%  { box-shadow: 0 0 0 8px rgba(248, 113, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(248, 113, 113, 0); }
}
@keyframes cine-voice-spin { to { transform: translateY(-50%) rotate(360deg); } }

/* Seletor de fonte do Radar: Base CNPJ vs Google Maps ao vivo */
.source-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.source-option { cursor: pointer; }
.source-option input { position: absolute; opacity: 0; pointer-events: none; }
.source-pill {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: rgba(13, 17, 31, 0.5);
    transition: var(--transition-smooth);
}
.source-pill strong { font-size: 0.9rem; }
.source-pill small { font-size: 0.72rem; color: var(--text-muted); line-height: 1.3; }
.source-option:hover .source-pill { border-color: var(--border-hover); }
.source-option input:checked + .source-pill {
    border-color: var(--accent);
    background: var(--accent-soft);
    box-shadow: var(--glow-accent);
}
@media (max-width: 640px) { .source-toggle { grid-template-columns: 1fr; } }

/* Modal de conexão do WhatsApp (QR Code) */
.wa-qr-modal-content { max-width: 420px; }
.wa-qr-body { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.wa-qr-state { font-size: 0.95rem; color: var(--text-secondary); }
.wa-qr-frame {
    background: #fff;
    padding: 12px;
    border-radius: 14px;
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.25);
    min-height: 40px;
}
.wa-qr-img { width: 260px; height: 260px; display: block; image-rendering: pixelated; }
.wa-qr-pairing {
    font-variant-numeric: tabular-nums;
    letter-spacing: 2px;
    font-size: 1.05rem;
    color: var(--accent);
}
.wa-qr-steps {
    text-align: left;
    margin: 0;
    padding-left: 20px;
    color: var(--text-secondary);
    font-size: 0.86rem;
    line-height: 1.7;
}

.cine-confetti {
    position: fixed;
    top: -16px;
    width: 10px;
    height: 14px;
    border-radius: 2px;
    opacity: 0.95;
    animation-name: cine-confetti-fall;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
}

@keyframes cine-confetti-fall {
    0%   { top: -16px; opacity: 1; }
    100% { top: 104vh; opacity: 0.7; }
}

/* --------------------------------------------------------------------------
   Acessibilidade: respeita usuários que desligam animação
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    body::before,
    body::after,
    .brand-logo,
    .lead-card,
    .content-section.active-section,
    .cine-radar-beam,
    .cine-radar-blip,
    .score-quente { animation: none !important; }
}
