/* ==========================================================================
   Espectra - Calm Design System
   ========================================================================== */
:root {
  --lavanda: #a78bfa;
  --lavanda-dark: #8b5cf6;
  --lavanda-soft: #ede9fe;
  --salvia: #86efac;
  --ceu: #7dd3fc;
  --creme: #fef3e2;
  --ink: #334155;
  --line-h: 1.6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { line-height: var(--line-h); letter-spacing: 0.01em; }

/* Foco acessível (navegação por teclado / WCAG 2.1 AA) */
:focus-visible {
  outline: 3px solid var(--lavanda-dark);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Scrollbar suave */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #ddd6f3; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--lavanda-light, #c4b5fd); }

/* Animações suaves */
.fade-in { animation: fadeIn 0.45s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pop-in { animation: popIn 0.3s ease both; }
@keyframes popIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }

.card { transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease; }
.card-hover:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(139,92,246,.25); }

.nav-link { transition: background .2s, color .2s; }

/* Likert / opções */
.option-btn { transition: all .18s ease; }
.option-btn:hover { transform: translateY(-2px); }

/* Barra de progresso */
.progress-fill { transition: width .4s cubic-bezier(.4,0,.2,1); }

/* ==========================================================================
   MODO LOW-STIM (baixa estimulação)
   Remove imagens decorativas, atenua cores -> sépia/cinza, sem animações
   ========================================================================== */
body.low-stim * {
  animation: none !important;
  transition: none !important;
}
body.low-stim {
  background: #f5f3ef !important;
  color: #3a3a3a !important;
}
body.low-stim img.decorative,
body.low-stim .decorative-illustration,
body.low-stim .stim-only {
  display: none !important;
}
/* Atenua cores fortes para tons monocromáticos suaves */
body.low-stim .stim-color {
  filter: grayscale(0.85) brightness(0.99) !important;
}
body.low-stim .bg-lavanda,
body.low-stim .bg-lavanda-dark { background-color: #8c8a96 !important; }
body.low-stim .bg-salvia,
body.low-stim .bg-salvia-soft { background-color: #e7e5e0 !important; }
body.low-stim .bg-ceu,
body.low-stim .bg-ceu-soft { background-color: #e7e5e0 !important; }
body.low-stim .text-lavanda,
body.low-stim .text-lavanda-dark { color: #5a5566 !important; }
body.low-stim .gradient-hero,
body.low-stim .gradient-soft { background: #efedea !important; }
body.low-stim .shadow-soft { box-shadow: none !important; }

/* Gradientes (desativados em low-stim) */
.gradient-hero { background: linear-gradient(135deg, #ede9fe 0%, #e0f2fe 55%, #fef3e2 100%); }
.gradient-soft { background: linear-gradient(135deg, #f5f3ff 0%, #faf5ff 100%); }
.gradient-lav { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); }

.shadow-soft { box-shadow: 0 10px 30px -14px rgba(124,58,237,.14); }

/* ===== Redesign dashboard (layout em anexo) ===== */
:root { --tinta: #1F1A3A; }
.bg-creme { background-color: #FAF8F5 !important; }
body { background-color: #FAF8F5; }

/* Answer cards A/B/C/D */
.answer-card { transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; min-height: 150px; }
.answer-card:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(124,58,237,.3); }
.answer-card[aria-checked="true"] { box-shadow: 0 0 0 1px #F43F5E, 0 12px 24px -16px rgba(244,63,94,.35); }

/* Sidebar premium card + active indicator polish */
aside .nav-link { position: relative; }

/* low-stim: remove decorativos */
body.low-stim .stim-only { display: none !important; }

/* Ilustração 3D flutuante do herói */
.hero-clay { filter: drop-shadow(0 16px 26px rgba(124,58,237,.18)); z-index: 5; }
@keyframes floatSoft { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.float-soft { animation: floatSoft 4.5s ease-in-out infinite; }
body.low-stim .float-soft { animation: none; }
body.low-stim .hero-clay { filter: none; }

/* CTA cards do herói: acento à esquerda + hover */
.cta-card { transition: transform .16s ease, box-shadow .16s ease; }
.cta-card:hover { transform: translateY(-2px); }

/* Emoji faces */
.emoji-face { transition: transform .18s ease, box-shadow .18s ease; }
.emoji-face:hover { transform: scale(1.06); }
.emoji-face.selected { transform: scale(1.08); box-shadow: 0 0 0 3px var(--lavanda-dark); }

/* Texto grande / leitura confortável */
.reading p { margin-bottom: 1rem; }

/* Faixa de aviso fixa */
.warning-bar { background: linear-gradient(90deg, #f97316, #ef4444); }
body.low-stim .warning-bar { background: #6b5a52 !important; }

/* Acessibilidade: respeita preferência do sistema por menos movimento */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Dark mode (could-have) */
body.dark-mode { background: #14121a !important; color: #e2e0e8 !important; }
body.dark-mode .bg-white { background: #1e1b27 !important; color: #e2e0e8 !important; }
body.dark-mode .bg-creme { background: #14121a !important; }
body.dark-mode .text-slate-700,
body.dark-mode .text-slate-800 { color: #e2e0e8 !important; }
body.dark-mode .text-slate-500,
body.dark-mode .text-slate-400 { color: #a9a6b5 !important; }
body.dark-mode .border-slate-100,
body.dark-mode .border-slate-200 { border-color: #2c2838 !important; }
body.dark-mode .gradient-hero { background: linear-gradient(135deg,#241f33,#1a2733,#241f1a) !important; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--lavanda-dark); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ===========================================================================
   ANÁLISE POR IA - tema escuro / glassmorphism futurista
   =========================================================================== */
.ia-screen {
  min-height: 100%;
  background:
    radial-gradient(1200px 500px at 20% -10%, rgba(124,58,237,0.22), transparent 60%),
    radial-gradient(1000px 500px at 100% 0%, rgba(34,211,238,0.16), transparent 55%),
    linear-gradient(160deg, #0b0a14 0%, #0e0c1a 50%, #0a0f1c 100%);
  padding: 24px 16px 60px;
}
.ia-wrap { max-width: 1180px; margin: 0 auto; }

:root {
  --ia-purple: #A78BFA;
  --ia-cyan: #22D3EE;
  --ia-green: #86EFAC;
}
.text-ia-purple { color: var(--ia-purple) !important; }
.text-ia-cyan { color: var(--ia-cyan) !important; }
.text-ia-green { color: var(--ia-green) !important; }

.ia-logo-badge {
  width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #7C3AED, #22D3EE);
  color: #fff; font-size: 20px; box-shadow: 0 8px 30px rgba(124,58,237,0.5);
}

.ia-card {
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 22px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 18px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.05);
}
.ia-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ia-card-title { color: #fff; font-weight: 700; font-size: 1.05rem; }
.ia-num {
  width: 26px; height: 26px; border-radius: 9px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px; color: #fff;
  background: linear-gradient(135deg, rgba(167,139,250,0.35), rgba(34,211,238,0.3));
  border: 1px solid rgba(255,255,255,0.18);
}
.ia-info { color: #8b8a9a; width: 30px; height: 30px; border-radius: 8px; }
.ia-info:hover { background: rgba(255,255,255,0.06); color: #fff; }

.ia-pill-btn {
  display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: #cbd5e1;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  transition: all .2s;
}
.ia-pill-btn:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* métricas */
.ia-metric { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; padding: 11px 12px; }
.ia-metric-label { font-size: 11px; color: #9ca3b8; margin-bottom: 3px; }
.ia-metric-val { font-size: 1.35rem; font-weight: 800; line-height: 1.1; }

/* waveform */
.ia-wave { position: relative; height: 90px; background: rgba(0,0,0,0.25); border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.06); }
.ia-wave canvas { width: 100%; height: 100%; display: block; }
.ia-wave-idle { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #6b7280; font-size: 13px; }

/* botão de ação */
.ia-action {
  display: flex; align-items: center; gap: 12px; width: 100%;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 12px 14px; color: #fff; transition: all .2s; text-align: left;
}
.ia-action:hover { background: rgba(167,139,250,0.16); border-color: rgba(167,139,250,0.4); }
.ia-action-stop { background: rgba(248,113,113,0.14); border-color: rgba(248,113,113,0.4); }
.ia-mic {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(135deg, #7C3AED, #22D3EE);
}
.ia-mic.rec { background: linear-gradient(135deg, #ef4444, #f97316); animation: iaPulse 1.2s infinite; }
@keyframes iaPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.5); } 50% { box-shadow: 0 0 0 10px rgba(239,68,68,0); } }

.ia-local { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #7dd3fc; margin-top: 10px; }
.ia-local i { color: #22D3EE; }

/* vídeo */
.ia-video-frame { position: relative; aspect-ratio: 4/3; background: #05070f; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); }
.ia-video-frame video, .ia-video-frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.ia-video-idle { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #6b7280; font-size: 12px; text-align: center; padding: 14px; }
.ia-corner { position: absolute; width: 18px; height: 18px; border: 2px solid var(--ia-cyan); }
.ia-corner.tl { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.ia-corner.tr { top: 8px; right: 8px; border-left: 0; border-bottom: 0; }
.ia-corner.bl { bottom: 8px; left: 8px; border-right: 0; border-top: 0; }
.ia-corner.br { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }

/* desenho */
.ia-draw-stage { position: relative; background: #0b1020; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); min-height: 180px; }
.ia-draw-stage canvas { display: block; width: 100%; cursor: crosshair; touch-action: none; }
.ia-draw-toolbar { position: absolute; bottom: 8px; right: 8px; display: flex; gap: 6px; }
.ia-tool { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.14); color: #fff; }
.ia-tool:hover { background: rgba(255,255,255,0.2); }
.ia-tool-primary { background: linear-gradient(135deg, #7C3AED, #22D3EE); border: 0; }
.ia-upload {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  border: 1.5px dashed rgba(255,255,255,0.22); border-radius: 14px; color: #9ca3b8; padding: 14px; cursor: pointer; transition: all .2s;
}
.ia-upload:hover { border-color: var(--ia-cyan); color: #cbd5e1; background: rgba(34,211,238,0.05); }
.ia-insights { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; padding: 14px; }
.ia-insight-row { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; font-size: 13px; color: #b6b4c4; border-bottom: 1px solid rgba(255,255,255,0.05); }
.ia-insight-row:last-child { border-bottom: 0; }

/* medidor (gauge) */
.ia-gauge { position: relative; }
.ia-gauge-label { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; }

/* aviso ético */
.ia-warning {
  display: flex; align-items: center; gap: 10px;
  background: rgba(251,191,36,0.1); border: 1px solid rgba(251,191,36,0.35);
  border-radius: 14px; padding: 12px 16px; color: #fcd34d; font-size: 13px;
}
.ia-warning strong { color: #fde68a; }

/* low-stim: suaviza o tema da IA */
body.low-stim .ia-screen { background: #15131c !important; }
body.low-stim .ia-card, body.low-stim .ia-metric, body.low-stim .ia-insights { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
body.low-stim .ia-mic.rec { animation: none !important; }
body.low-stim .ia-logo-badge, body.low-stim .ia-mic, body.low-stim .ia-tool-primary { background: #6b6480 !important; }

/* =========================================================================
   PERFIL SENSORIAL 3D (Boneco · Dunn)
   ========================================================================= */
.sns-wrap { max-width: 1100px; margin: 0 auto; padding: 4px 2px 40px; }
.sns-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.sns-badge { background: #ede9fe; color: #6d28d9; font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.sns-info { background: #f5f3ff; border: 1px solid #e9d5ff; color: #6d28d9; border-radius: 14px; padding: 10px 14px; font-size: 13px; margin-bottom: 16px; }
.sns-info-soft { background: #f0fdf4; border-color: #bbf7d0; color: #15803d; }
.sns-inline { color: #6d28d9; font-weight: 700; text-decoration: underline; }
.sns-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 860px) { .sns-grid { grid-template-columns: 1fr; } }
.sns-stage-card { background: #fff; border: 1px solid #eef0f5; border-radius: 20px; padding: 14px; box-shadow: 0 6px 22px rgba(80,60,140,.06); }
.sns-stage-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.sns-hover { font-size: 12px; color: #94a3b8; }
.sns-stage { width: 100%; height: 420px; border-radius: 16px; background: radial-gradient(circle at 50% 30%, #faf7ff, #eef0fb); cursor: grab; touch-action: none; }
.sns-stage:active { cursor: grabbing; }
.sns-fallback, .aur-fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; color: #94a3b8; font-size: 14px; text-align: center; gap: 6px; }
.sns-legend { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 10px; font-size: 12px; color: #64748b; }
.sns-legend .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 4px; vertical-align: middle; }
.sns-panel { background: #fff; border: 1px solid #eef0f5; border-radius: 20px; padding: 16px; box-shadow: 0 6px 22px rgba(80,60,140,.06); }
#sns-radar { max-height: 220px; margin-bottom: 10px; }
.sns-sliders { display: flex; flex-direction: column; gap: 14px; }
.sns-slider-top { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.sns-slider-label { font-weight: 600; color: #475569; }
.sns-slider-label i { color: #a78bfa; margin-right: 6px; }
.sns-slider-q { font-size: 12px; font-weight: 700; }
.sns-slider input[type=range] { width: 100%; accent-color: #a78bfa; margin: 6px 0 2px; }
.sns-slider-desc { font-size: 11px; color: #94a3b8; margin: 0; }
.sns-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-top: 18px; }
.sns-card { background: #fff; border: 1px solid #eef0f5; border-radius: 16px; padding: 14px; box-shadow: 0 4px 14px rgba(80,60,140,.05); }
.sns-card-ico { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 8px; }
.sns-card h3 { font-size: 14px; font-weight: 700; color: #334155; margin: 0 0 2px; }
.sns-card-q { font-size: 12px; font-weight: 700; margin-bottom: 4px; }
.sns-card p { font-size: 11px; color: #64748b; margin: 0; line-height: 1.4; }
.sns-foot { display: flex; gap: 12px; justify-content: flex-end; margin-top: 20px; flex-wrap: wrap; }
.sns-btn, .aur-btn-ghost, .sns-btn-ghost { border: none; border-radius: 12px; padding: 11px 18px; font-weight: 700; font-size: 14px; cursor: pointer; }
.sns-btn { background: #a78bfa; color: #fff; }
.sns-btn-ghost, .aur-btn-ghost { background: #f1f5f9; color: #475569; }
.sns-disc, .aur-disc { font-size: 12px; color: #94a3b8; margin-top: 16px; text-align: center; }
.sns-disc i, .aur-disc i { color: #a78bfa; margin-right: 4px; }

/* =========================================================================
   MUNDO AURORA (Phaser)
   ========================================================================= */
.aur-wrap { max-width: 1100px; margin: 0 auto; padding: 4px 2px 40px; }
.aur-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.aur-stats { display: flex; gap: 16px; font-size: 14px; color: #475569; }
.aur-stats i { color: #fbbf24; margin-right: 4px; }
.aur-info { background: #f5f3ff; border: 1px solid #e9d5ff; color: #6d28d9; border-radius: 14px; padding: 10px 14px; font-size: 13px; margin-bottom: 16px; }
.aur-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }
@media (max-width: 860px) { .aur-grid { grid-template-columns: 1fr; } }
.aur-stage-card { background: #0f1226; border-radius: 20px; padding: 8px; box-shadow: 0 8px 28px rgba(40,30,90,.18); overflow: hidden; }
.aur-stage { width: 100%; min-height: 460px; border-radius: 14px; overflow: hidden; }
.aur-stage canvas { border-radius: 14px; display: block; margin: 0 auto; max-width: 100%; }
.aur-side { display: flex; flex-direction: column; gap: 14px; }
.aur-side-card { background: #fff; border: 1px solid #eef0f5; border-radius: 18px; padding: 16px; box-shadow: 0 6px 22px rgba(80,60,140,.06); }
.aur-side-card h3 { font-size: 14px; font-weight: 700; color: #334155; margin: 0 0 10px; }
.aur-side-card h3 i { color: #a78bfa; margin-right: 6px; }
.aur-metric { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid #f1f5f9; font-size: 14px; color: #64748b; }
.aur-metric:last-child { border-bottom: none; }
.aur-metric strong { color: #6d28d9; font-size: 16px; }
.aur-howto p { font-size: 13px; color: #64748b; margin: 0; line-height: 1.5; }

/* low-stim suaviza animações intensas do jogo/3D */
body.low-stim .sns-stage { background: #f3f4f8 !important; }
body.low-stim .aur-stage-card { background: #2a2640 !important; }

/* Mundo Aurora - tela de resultado (overlay) */
.aur-stage { position: relative; }
.aur-result-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(15,18,38,.88); backdrop-filter: blur(4px); border-radius: 14px; z-index: 5; padding: 16px; }
.aur-result-card { background: linear-gradient(160deg, #1b1f3a, #0f1226); border: 1px solid #3a3f6a; border-radius: 22px; padding: 26px 24px; max-width: 420px; width: 100%; text-align: center; color: #e9e6ff; box-shadow: 0 20px 50px rgba(0,0,0,.5); animation: aurPop .4s cubic-bezier(.2,1.4,.4,1); }
@keyframes aurPop { from { transform: scale(.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.aur-record { background: linear-gradient(90deg,#fbbf24,#f59e0b); color: #1b1f3a; font-weight: 800; font-size: 13px; padding: 6px 14px; border-radius: 999px; display: inline-block; margin-bottom: 12px; }
.aur-result-stars { font-size: 34px; letter-spacing: 4px; margin-bottom: 6px; }
.aur-result-card h2 { font-size: 24px; font-weight: 800; margin: 0 0 6px; }
.aur-result-msg { font-size: 14px; color: #c9c2f0; margin: 0 0 18px; }
.aur-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.aur-result-grid > div { background: #232850; border-radius: 14px; padding: 12px; }
.aur-result-grid span { display: block; font-size: 22px; font-weight: 800; color: #a78bfa; }
.aur-result-grid label { font-size: 11px; color: #9a96c0; }
.aur-result-actions { display: flex; gap: 10px; }
.aur-btn-play, .aur-btn-out { flex: 1; border: none; border-radius: 12px; padding: 12px; font-weight: 700; font-size: 14px; cursor: pointer; }
.aur-btn-play { background: #a78bfa; color: #fff; }
.aur-btn-out { background: #2a2f52; color: #c9c2f0; }
.aur-result-disc { font-size: 10.5px; color: #6f6b94; margin: 14px 0 0; }

/* ============ PAINEL ADMINISTRATIVO ============ */
/* Login */
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px;
  background: radial-gradient(1200px 600px at 50% -10%, #2b2360 0%, #15132e 55%, #0d0b22 100%); }
.admin-login-card { width: 100%; max-width: 410px; background: #fff; border-radius: 24px; padding: 40px 34px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45); text-align: center; }
.admin-logo { width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 20px; display: grid; place-items: center;
  font-size: 28px; color: #fff; background: linear-gradient(135deg,#a78bfa,#7c5cf0); box-shadow: 0 12px 28px rgba(124,92,240,.4); }
.admin-login-card h1 { font-size: 22px; font-weight: 800; color: #1e1b4b; margin: 0 0 4px; }
.admin-login-sub { font-size: 13px; color: #8b87a8; margin: 0 0 24px; }
.admin-login-form { text-align: left; display: flex; flex-direction: column; gap: 8px; }
.admin-login-form label { font-size: 13px; font-weight: 600; color: #4b4870; }
.admin-login-form input { padding: 13px 14px; border: 1.5px solid #e5e3f0; border-radius: 13px; font-size: 15px; outline: none; transition: border .15s; }
.admin-login-form input:focus { border-color: #a78bfa; }
.admin-login-form button { margin-top: 6px; padding: 13px; border: none; border-radius: 13px; font-size: 15px; font-weight: 700;
  color: #fff; cursor: pointer; background: linear-gradient(135deg,#a78bfa,#7c5cf0); transition: filter .15s; }
.admin-login-form button:hover { filter: brightness(1.06); }
.admin-login-err { color: #ef4444; font-size: 12.5px; margin: 2px 0 0; }
.admin-login-hint { font-size: 12px; color: #9a96b8; margin: 18px 0 0; }
.admin-login-hint code { background: #f1eefb; color: #7c5cf0; padding: 2px 7px; border-radius: 6px; font-weight: 700; }
.admin-back { margin-top: 14px; background: none; border: none; color: #8b87a8; font-size: 13px; cursor: pointer; }
.admin-back:hover { color: #7c5cf0; }

/* Shell */
.admin-shell { display: flex; min-height: 100vh; background: #f4f3fb; }
.admin-sidebar { width: 234px; flex-shrink: 0; background: #1a1832; color: #cfc9ea; padding: 24px 16px;
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.admin-brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; color: #fff; padding: 6px 8px 22px; }
.admin-brand i { color: #a78bfa; }
.admin-brand small { display: block; font-size: 10px; font-weight: 600; color: #8c84c0; letter-spacing: 1px; text-transform: uppercase; }
.admin-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.admin-nav button { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border: none; background: none;
  color: #b7b1de; font-size: 14px; font-weight: 600; border-radius: 11px; cursor: pointer; text-align: left; transition: .15s; }
.admin-nav button:hover { background: #262247; color: #fff; }
.admin-nav button.active { background: linear-gradient(135deg,#a78bfa,#7c5cf0); color: #fff; }
.admin-logout { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border: none; background: #262247;
  color: #d6b6b6; font-size: 14px; font-weight: 600; border-radius: 11px; cursor: pointer; transition: .15s; }
.admin-logout:hover { background: #3a2030; color: #ff9b9b; }

/* Main */
.admin-main { flex: 1; padding: 28px 32px; max-width: 1280px; }
.admin-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.admin-header h1 { font-size: 24px; font-weight: 800; color: #1e1b4b; margin: 0; }
.admin-header p { font-size: 14px; color: #7a7698; margin: 4px 0 0; }
.admin-demo-tag { display: inline-flex; align-items: center; gap: 7px; background: #fff7e6; color: #b7791f;
  border: 1px solid #fde9bf; padding: 7px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }

/* KPIs */
.admin-kpis { display: grid; grid-template-columns: repeat(auto-fit,minmax(186px,1fr)); gap: 14px; margin-bottom: 22px; }
.admin-kpi { background: #fff; border-radius: 18px; padding: 18px; display: flex; align-items: center; gap: 14px;
  box-shadow: 0 4px 18px rgba(80,60,160,.06); border: 1px solid #efedf7; }
.admin-kpi-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.admin-kpi-val { font-size: 24px; font-weight: 800; color: #1e1b4b; line-height: 1; }
.admin-kpi-lbl { font-size: 12px; color: #837fa0; margin-top: 4px; }

/* Charts */
.admin-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 22px; }
.admin-chart-card { background: #fff; border-radius: 18px; padding: 18px 20px; box-shadow: 0 4px 18px rgba(80,60,160,.06); border: 1px solid #efedf7; }
.admin-chart-card h3 { font-size: 14.5px; font-weight: 700; color: #2c2956; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.admin-chart-card h3 i { color: #a78bfa; }
.admin-chart-wide { grid-column: 1 / -1; }
.admin-chart-card canvas { max-height: 250px; }

/* Tabela */
.admin-users-card { background: #fff; border-radius: 18px; padding: 20px; box-shadow: 0 4px 18px rgba(80,60,160,.06); border: 1px solid #efedf7; }
.admin-users-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.admin-users-top h3 { font-size: 16px; font-weight: 700; color: #2c2956; margin: 0; display: flex; align-items: center; gap: 8px; }
.admin-users-top h3 i { color: #a78bfa; }
.admin-filters { display: flex; gap: 9px; flex-wrap: wrap; }
.admin-filters input, .admin-filters select { padding: 9px 12px; border: 1.5px solid #e8e6f2; border-radius: 11px; font-size: 13px; outline: none; background: #fff; }
.admin-filters input { min-width: 200px; }
.admin-filters input:focus, .admin-filters select:focus { border-color: #a78bfa; }
.admin-export { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border: none; border-radius: 11px;
  background: #34d399; color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; transition: filter .15s; }
.admin-export:hover { filter: brightness(1.05); }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .5px; color: #9a96b8;
  font-weight: 700; padding: 10px 12px; border-bottom: 2px solid #f0eef8; }
.admin-table td { padding: 12px; border-bottom: 1px solid #f4f2fb; font-size: 13.5px; color: #3a3760; }
.admin-table tbody tr { cursor: pointer; transition: background .12s; }
.admin-table tbody tr:hover { background: #f8f6ff; }
.admin-u { display: flex; align-items: center; gap: 11px; }
.admin-u-av { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  font-weight: 800; color: #fff; background: linear-gradient(135deg,#a78bfa,#7c5cf0); font-size: 15px; }
.admin-u-name { font-weight: 700; color: #2c2956; }
.admin-u-mail { font-size: 12px; color: #948fb4; }
.admin-badge { padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge-adult { background: #ede9fe; color: #7c5cf0; }
.badge-child { background: #d1faf3; color: #0f9b8e; }
.admin-status { padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; text-transform: capitalize; }
.admin-status.ativo { background: #dcfce7; color: #16a34a; }
.admin-status.inativo { background: #f1f0f5; color: #94909f; }
.admin-row-arrow { color: #c5c1de; text-align: center; }
.admin-empty { text-align: center; color: #9a96b8; padding: 30px !important; }
.admin-loading { min-height: 100vh; display: grid; place-items: center; font-size: 18px; color: #7c5cf0; gap: 10px; }
.admin-loading i { margin-right: 8px; }

/* Drawer (detalhe do usuário) */
.admin-drawer { position: fixed; inset: 0; z-index: 120; pointer-events: none; }
.admin-drawer.open { pointer-events: auto; }
.admin-drawer-back { position: absolute; inset: 0; background: rgba(20,16,45,.5); opacity: 0; transition: opacity .2s; }
.admin-drawer.open .admin-drawer-back { opacity: 1; }
.admin-drawer-panel { position: absolute; top: 0; right: 0; height: 100%; width: 440px; max-width: 92vw; background: #fff;
  box-shadow: -12px 0 40px rgba(0,0,0,.18); padding: 28px 26px; overflow-y: auto;
  transform: translateX(100%); transition: transform .25s cubic-bezier(.4,0,.2,1); }
.admin-drawer.open .admin-drawer-panel { transform: translateX(0); }
.admin-drawer-close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border: none; border-radius: 10px;
  background: #f1eefb; color: #7c5cf0; font-size: 16px; cursor: pointer; }
.admin-drawer-close:hover { background: #e5dffa; }
.admin-drawer-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.admin-drawer-av { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-weight: 800;
  font-size: 24px; color: #fff; background: linear-gradient(135deg,#a78bfa,#7c5cf0); flex-shrink: 0; }
.admin-drawer-head h2 { font-size: 19px; font-weight: 800; color: #1e1b4b; margin: 0; }
.admin-drawer-head p { font-size: 13px; color: #948fb4; margin: 2px 0 0; }
.admin-drawer-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; background: #f8f6ff; border-radius: 16px;
  padding: 16px; margin-bottom: 22px; }
.admin-drawer-meta label { display: block; font-size: 11px; color: #9a96b8; font-weight: 600; text-transform: uppercase; letter-spacing: .3px; }
.admin-drawer-meta span { font-size: 14px; color: #2c2956; font-weight: 600; }
.admin-drawer-h3 { font-size: 15px; font-weight: 700; color: #2c2956; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.admin-drawer-h3 i { color: #a78bfa; }
.admin-reports { display: flex; flex-direction: column; gap: 9px; }
.admin-report { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #faf9ff;
  border: 1px solid #efedf7; border-radius: 13px; padding: 12px 14px; }
.admin-report-name { font-weight: 700; color: #2c2956; font-size: 14px; }
.admin-report-date { font-size: 12px; color: #948fb4; }
.admin-report-right { display: flex; align-items: center; gap: 10px; }
.admin-nivel { padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.admin-report-score { font-size: 13px; font-weight: 700; color: #7c5cf0; }
.admin-no-reports { font-size: 13px; color: #9a96b8; text-align: center; padding: 16px; background: #faf9ff; border-radius: 12px; }
.admin-drawer-disc { font-size: 11px; color: #948fb4; margin: 20px 0 0; line-height: 1.5; }
.admin-drawer-disc i { color: #a78bfa; margin-right: 4px; }

@media (max-width: 860px) {
  .admin-sidebar { width: 64px; padding: 18px 8px; }
  .admin-brand span, .admin-nav button span, .admin-logout span { display: none; }
  .admin-brand, .admin-nav button, .admin-logout { justify-content: center; }
  .admin-main { padding: 20px 16px; }
  .admin-charts { grid-template-columns: 1fr; }
  .admin-chart-wide { grid-column: auto; }
}

/* ============ IA · GAMIFICAÇÃO + GUIAMENTO + RELATÓRIO FINAL ============ */
/* Barra de progresso (jornada de análise) */
.ia-progress { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: 16px 18px; margin-bottom: 20px; }
.ia-prog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.ia-prog-title { display: block; font-weight: 700; color: #fff; font-size: 14px; }
.ia-prog-count { display: block; font-size: 12px; color: #94a3b8; margin-top: 2px; }
.ia-prog-cta { background: linear-gradient(135deg,#A78BFA,#22D3EE); color: #0b1020; font-weight: 700; border: none; padding: 9px 16px; border-radius: 11px; font-size: 13px; cursor: pointer; }
.ia-prog-hint { font-size: 12px; color: #94a3b8; }
.ia-prog-track { height: 8px; background: rgba(255,255,255,.08); border-radius: 999px; overflow: hidden; margin-bottom: 12px; }
.ia-prog-fill { height: 100%; background: linear-gradient(90deg,#A78BFA,#22D3EE); border-radius: 999px; transition: width .5s cubic-bezier(.4,0,.2,1); }
.ia-prog-steps { display: flex; gap: 18px; }
.ia-prog-step { display: flex; align-items: center; gap: 8px; opacity: .55; transition: opacity .3s; }
.ia-prog-step.done { opacity: 1; }
.ia-prog-dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px;
  background: rgba(255,255,255,.08); color: #cbd5e1; border: 1.5px solid rgba(255,255,255,.12); }
.ia-prog-step.done .ia-prog-dot { background: linear-gradient(135deg,#A78BFA,#22D3EE); color: #0b1020; border-color: transparent; }
.ia-prog-step-lbl { font-size: 13px; color: #e2e8f0; font-weight: 600; }
.pulse-soft { animation: pulseSoft 1.8s ease-in-out infinite; }
@keyframes pulseSoft { 0%,100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(34,211,238,.4); } 50% { transform: scale(1.03); box-shadow: 0 0 0 8px rgba(34,211,238,0); } }

/* Painel de guiamento (o que falar / fazer / desenhar) */
.ia-guide { background: rgba(34,211,238,.07); border: 1px solid rgba(34,211,238,.22); border-radius: 14px; padding: 14px 15px; margin: 4px 0 14px; }
.ia-guide-head { font-size: 13.5px; color: #22D3EE; display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.ia-guide-head strong { color: #e7fbff; }
.ia-guide-intro { font-size: 12.5px; color: #cbd5e1; line-height: 1.5; margin-bottom: 9px; }
.ia-guide-script { background: rgba(255,255,255,.06); border-left: 3px solid #A78BFA; border-radius: 8px; padding: 10px 12px;
  font-size: 13px; color: #fff; font-weight: 500; line-height: 1.5; margin-bottom: 10px; }
.ia-guide-tips { list-style: none; padding: 0; margin: 0 0 9px; display: flex; flex-direction: column; gap: 5px; }
.ia-guide-tips li { font-size: 12px; color: #cbd5e1; display: flex; align-items: center; gap: 7px; }
.ia-guide-tips li i { color: #86EFAC; font-size: 10px; }
.ia-guide-basis { font-size: 10.5px; color: #94a3b8; font-style: italic; margin: 0; }
.ia-guide-basis i { color: #A78BFA; margin-right: 4px; }

/* Relatório final */
.iar-wrap { max-width: 980px; }
.iar-hero { text-align: center; background: linear-gradient(135deg, rgba(167,139,250,.16), rgba(34,211,238,.1)); border: 1px solid rgba(255,255,255,.1); border-radius: 24px; padding: 30px 24px; margin-bottom: 18px; }
.iar-badge { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 18px; display: grid; place-items: center; font-size: 26px; color: #0b1020; background: linear-gradient(135deg,#A78BFA,#22D3EE); }
.iar-hero h1 { font-size: 24px; font-weight: 800; color: #fff; margin: 0 0 5px; }
.iar-hero p { font-size: 13px; color: #cbd5e1; margin: 0 0 14px; }
.iar-gami { display: inline-flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.iar-gami span { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 999px; padding: 7px 14px; font-size: 12.5px; color: #e2e8f0; font-weight: 600; }

.iar-verdict { display: flex; align-items: flex-start; gap: 14px; border: 1.5px solid; border-radius: 18px; padding: 18px 20px; margin-bottom: 18px; }
.iar-verdict i { font-size: 26px; margin-top: 2px; flex-shrink: 0; }
.iar-verdict h2 { font-size: 17px; font-weight: 800; margin: 0 0 5px; }
.iar-verdict p { font-size: 13px; color: #cbd5e1; margin: 0; line-height: 1.55; }

.iar-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 14px; margin-bottom: 18px; }
.iar-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: 18px; }
.iar-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
.iar-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 16px; }
.iar-card-head h3 { font-size: 14.5px; font-weight: 700; color: #fff; margin: 0; }
.iar-metrics { display: flex; flex-direction: column; gap: 7px; margin-bottom: 13px; }
.iar-metric { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.iar-metric label { color: #94a3b8; }
.iar-metric span { color: #fff; font-weight: 700; }
.iar-interp { border-radius: 12px; padding: 11px 12px; }
.iar-interp p { font-size: 12px; color: #cbd5e1; margin: 6px 0 0; line-height: 1.5; }
.iar-sig { display: inline-block; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; padding: 3px 9px; border-radius: 999px; }
.sig-tipico { background: rgba(52,211,153,.1); } .sig-tipico .iar-sig { background: #34d39933; color: #6ee7b7; }
.sig-neutro { background: rgba(96,165,250,.1); } .sig-neutro .iar-sig { background: #60a5fa33; color: #93c5fd; }
.sig-atencao { background: rgba(251,146,60,.12); } .sig-atencao .iar-sig { background: #fb923c33; color: #fdba74; }

.iar-science { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: 20px; margin-bottom: 16px; }
.iar-science h3 { font-size: 15px; font-weight: 700; color: #fff; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.iar-science ul { margin: 0 0 12px; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }
.iar-science li { font-size: 12.5px; color: #cbd5e1; line-height: 1.55; }
.iar-science li strong { color: #e7fbff; }
.iar-note { font-size: 11.5px; color: #94a3b8; margin: 0; line-height: 1.5; }
.iar-note strong { color: #cbd5e1; }

.iar-ethics { display: flex; align-items: flex-start; gap: 12px; background: rgba(251,146,60,.1); border: 1px solid rgba(251,146,60,.3); border-radius: 16px; padding: 16px 18px; margin-bottom: 18px; }
.iar-ethics i { color: #fb923c; font-size: 20px; margin-top: 2px; }
.iar-ethics p { font-size: 12.5px; color: #fde4cf; margin: 0; line-height: 1.55; }
.iar-ethics strong { color: #fff; }

.iar-actions { display: flex; flex-wrap: wrap; gap: 11px; justify-content: center; margin-bottom: 14px; }
.iar-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 13px; font-size: 13.5px; font-weight: 700; cursor: pointer; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); color: #fff; }
.iar-btn-primary { background: linear-gradient(135deg,#A78BFA,#22D3EE); color: #0b1020; border-color: transparent; }
.iar-btn-ghost { background: none; color: #94a3b8; }
.iar-btn:hover { filter: brightness(1.08); }
.iar-disc { text-align: center; font-size: 11px; color: #64748b; margin: 6px 0 0; }

/* ============ AURORA · ANÁLISE CIENTÍFICA NO RESULTADO ============ */
.aur-result-sci { max-width: 440px; max-height: 88vh; overflow-y: auto; }
.aur-sci { text-align: left; margin: 16px 0 4px; }
.aur-sci-verdict { border: 1.5px solid; border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; }
.aur-sci-verdict strong { display: block; font-size: 14.5px; margin-bottom: 4px; }
.aur-sci-verdict p { font-size: 12px; color: #c9c2f0; margin: 0; line-height: 1.5; }
.aur-sci-h { font-size: 12.5px; font-weight: 700; color: #fff; margin: 0 0 9px; display: flex; align-items: center; gap: 7px; }
.aur-sci-h i { color: #a78bfa; }
.aur-emo-list { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.aur-emo-row { display: grid; grid-template-columns: 22px 70px 1fr 38px; align-items: center; gap: 8px; }
.aur-emo-face { font-size: 16px; }
.aur-emo-lbl { font-size: 12px; color: #c9c2f0; }
.aur-emo-bar { height: 8px; background: #2a2f52; border-radius: 999px; overflow: hidden; }
.aur-emo-fill { display: block; height: 100%; border-radius: 999px; transition: width .6s ease; }
.aur-emo-pct { font-size: 11.5px; color: #fff; font-weight: 700; text-align: right; }
.aur-sci-facts { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.aur-sci-facts div { font-size: 12px; color: #c9c2f0; }
.aur-sci-facts b { color: #fff; }
.aur-sci-empty { font-size: 12px; color: #9a96c0; }
.aur-sci-note { font-size: 10.5px; color: #9a96c0; line-height: 1.5; margin: 0 0 4px; background: rgba(167,139,250,.08); border-radius: 10px; padding: 10px 12px; }
.aur-sci-note i { color: #a78bfa; margin-right: 4px; }
.aur-sci-note strong { color: #c9c2f0; }

/* ===========================================================================
   TRILHA GUIADA (jornada de testes) - timeline vertical com estados
   =========================================================================== */
.journey-track { position: relative; }
.journey-step { position: relative; }
.journey-line { min-height: 28px; }
.journey-node { transition: transform .2s ease, box-shadow .2s ease; }
.journey-step.is-active .journey-node { transform: scale(1.05); }
.journey-step.is-locked .journey-node { box-shadow: none; }
@keyframes goldPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(244,63,94,.35);} 50% { box-shadow: 0 0 0 10px rgba(244,63,94,0);} }
.journey-step.is-active.is-gold .journey-node { animation: goldPulse 2s ease-in-out infinite; }
/* respeita low-stim: remove animações */
body.low-stim .journey-step.is-active.is-gold .journey-node { animation: none; }
body.low-stim .journey-node { transition: none; transform: none !important; }

/* =========================================================================
   HERO PREMIUM — fundo abstrato (estilo Linear/Stripe) + mockup do produto
   ========================================================================= */
.hero-premium { position: relative; overflow: hidden; isolation: isolate; }

/* fundo abstrato (imagem gerada) */
.hero-bg-img {
  position: absolute; inset: 0; z-index: -3;
  background: url('/static/hero-bg.webp') center / cover no-repeat;
  opacity: .9;
}
/* fade para o branco da seção seguinte + clareia base para legibilidade */
.hero-bg-fade {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 80% at 18% 30%, rgba(255,255,255,.55), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, rgba(250,248,245,.10) 0%, rgba(250,248,245,.0) 35%, rgba(250,248,245,.85) 100%);
}
/* orbs de luz desfocados, profundidade extra */
.hero-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .5; pointer-events: none; }
.hero-orb-1 { width: 420px; height: 420px; top: -120px; right: -80px; background: radial-gradient(circle, #c4b5fd, transparent 70%); }
.hero-orb-2 { width: 360px; height: 360px; bottom: -120px; left: -100px; background: radial-gradient(circle, #7dd3fc, transparent 70%); }

/* headline com gradiente de marca */
.hero-gradient-text {
  background: linear-gradient(115deg, #8b5cf6 0%, #7c3aed 45%, #6d9ee8 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* palco do device */
.hero-device-stage { position: relative; width: 100%; max-width: 420px; margin: 0 auto; padding: 10px; }
.hero-device {
  position: relative; z-index: 2; width: 100%; height: auto; display: block;
  filter: drop-shadow(0 40px 60px rgba(76,29,149,.28)) drop-shadow(0 12px 20px rgba(76,29,149,.18));
}
.hero-device-glow {
  position: absolute; z-index: 1; inset: 6% 12%;
  background: radial-gradient(closest-side, rgba(167,139,250,.55), rgba(125,211,252,.25) 60%, transparent 75%);
  filter: blur(40px); border-radius: 50%;
}

/* chips flutuantes de credibilidade (glass) */
.hero-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.82); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 16px; padding: 10px 12px;
  box-shadow: 0 16px 34px -16px rgba(76,29,149,.40);
  max-width: 220px;
}
.hero-chip-tl { top: 6%; left: -6%; animation: floatSoft 5.2s ease-in-out infinite; }
.hero-chip-br { bottom: 8%; right: -6%; animation: floatSoft 6s ease-in-out infinite .6s; }
.hero-chip-ico { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 14px; }
.hero-chip-title { font-size: 13px; font-weight: 800; color: var(--tinta); line-height: 1.1; }
.hero-chip-sub { font-size: 11px; color: #64748b; line-height: 1.15; margin-top: 2px; }

/* responsivo: em telas pequenas, encolher e reposicionar chips */
@media (max-width: 1023px) {
  .hero-device-stage { max-width: 300px; }
  .hero-chip { transform: scale(.86); }
  .hero-chip-tl { left: -2%; }
  .hero-chip-br { right: -2%; }
}
@media (max-width: 480px) {
  .hero-chip-sub { display: none; }
  .hero-chip { max-width: 150px; padding: 8px 10px; }
}

/* low-stim: desliga decorativos do herói */
body.low-stim .hero-bg-img { opacity: .25; filter: grayscale(.5); }
body.low-stim .hero-orb { display: none; }
body.low-stim .hero-device-glow { display: none; }
body.low-stim .hero-device { filter: none; }
body.low-stim .hero-chip { animation: none; box-shadow: none; }
body.low-stim .hero-gradient-text { -webkit-text-fill-color: #5a5566; color: #5a5566; background: none; }

/* dark-mode: ajustar fade do fundo */
body.dark-mode .hero-bg-fade {
  background: linear-gradient(180deg, rgba(20,18,26,.10) 0%, rgba(20,18,26,0) 35%, rgba(20,18,26,.9) 100%);
}
body.dark-mode .hero-chip { background: rgba(30,27,39,.85); border-color: #2c2838; }
body.dark-mode .hero-chip-sub { color: #a9a6b5; }
