/* =====================================================
   AIRC — Assistente Inteligente de Recomendação de Carreira
   HUD Theme (JARVIS / GORDON inspired)
===================================================== */

/* ============ 1. RESET & TOKENS ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --bg: #030812;
    --bg-2: #05101f;
    --panel: rgba(8, 20, 38, 0.72);
    --panel-solid: #081426;
    --cyan: #00d4ff;
    --cyan-2: #22e0ff;
    --cyan-dim: rgba(0, 212, 255, 0.5);
    --cyan-soft: rgba(0, 212, 255, 0.12);
    --amber: #ffb800;
    --purple: #7b4dff;
    --text: #e6f4ff;
    --muted: #7a9cc0;
    --muted-2: #4a6789;
    --border: rgba(0, 212, 255, 0.22);
    --border-soft: rgba(0, 212, 255, 0.1);

    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
    --glow-cyan: 0 0 20px rgba(0, 212, 255, 0.5);

    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 26px;

    --nav-h: 72px;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    padding-bottom: 100px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
    letter-spacing: 0.1px;
}

/* ============ 2. BACKGROUND FX ============ */
.bg-fx {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-grid {
    position: absolute;
    inset: -10%;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.055) 1px, transparent 1px);
    background-size: 44px 44px;
    animation: gridMove 30s linear infinite;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}

@keyframes gridMove {
    from { transform: translate(0, 0); }
    to   { transform: translate(44px, 44px); }
}

.bg-glow {
    position: absolute;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.35;
}

.bg-glow-1 {
    top: -20%;
    left: -10%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.5), transparent 70%);
    animation: floatGlow 14s ease-in-out infinite;
}

.bg-glow-2 {
    bottom: -20%;
    right: -10%;
    background: radial-gradient(circle, rgba(123, 77, 255, 0.4), transparent 70%);
    animation: floatGlow 18s ease-in-out infinite reverse;
}

@keyframes floatGlow {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(30px, -30px); }
}

.bg-scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0,
        transparent 2px,
        rgba(0, 212, 255, 0.022) 2px,
        rgba(0, 212, 255, 0.022) 3px
    );
    mix-blend-mode: overlay;
}

/* ============ 3. AI ENTITY ============ */
.ai-hero {
    text-align: center;
    padding: 12px 0 22px;
    position: relative;
}

.ai-entity {
    position: relative;
    width: 240px;
    height: 240px;
    margin: 0 auto 20px;
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.35));
}

.ai-entity-sm {
    width: 160px;
    height: 160px;
    margin: 20px auto 24px;
}

.entity-hud {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: spinCW 40s linear infinite;
}

.entity-hud .hud-ticks line {
    stroke: var(--cyan);
    stroke-width: 1.5;
    opacity: 0.6;
}

.entity-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--cyan-dim);
    pointer-events: none;
}

.ring-outer {
    inset: 12px;
    border: 1.5px solid transparent;
    border-top-color: var(--cyan);
    border-right-color: rgba(0, 212, 255, 0.25);
    border-bottom-color: var(--cyan);
    border-left-color: rgba(0, 212, 255, 0.25);
    box-shadow:
        0 0 16px rgba(0, 212, 255, 0.3),
        inset 0 0 22px rgba(0, 212, 255, 0.15);
    animation: spinCW 6s linear infinite;
}

.ring-mid {
    inset: 34px;
    border: 1.5px dashed rgba(0, 212, 255, 0.55);
    animation: spinCCW 10s linear infinite;
}

.ring-inner {
    inset: 56px;
    border: 2px solid transparent;
    border-top-color: var(--amber);
    border-bottom-color: var(--amber);
    box-shadow: 0 0 18px rgba(255, 184, 0, 0.4);
    animation: spinCW 4s linear infinite;
}

.ring-pulse {
    inset: 0;
    border: 1px solid var(--cyan);
    opacity: 0;
    animation: pulseRing 3s ease-out infinite;
}

@keyframes pulseRing {
    0%   { transform: scale(0.7); opacity: 0.7; }
    100% { transform: scale(1.15); opacity: 0; }
}

@keyframes spinCW  { to { transform: rotate(360deg); } }
@keyframes spinCCW { to { transform: rotate(-360deg); } }

.entity-particles {
    position: absolute;
    inset: 0;
}

.entity-particles span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan), 0 0 20px var(--cyan);
    animation: orbitParticle 8s linear infinite;
}

.entity-particles span:nth-child(1) { animation-delay: 0s; }
.entity-particles span:nth-child(2) { animation-delay: -1s; background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.entity-particles span:nth-child(3) { animation-delay: -2s; }
.entity-particles span:nth-child(4) { animation-delay: -3s; }
.entity-particles span:nth-child(5) { animation-delay: -4s; background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.entity-particles span:nth-child(6) { animation-delay: -5s; }
.entity-particles span:nth-child(7) { animation-delay: -6s; }
.entity-particles span:nth-child(8) { animation-delay: -7s; }

@keyframes orbitParticle {
    from { transform: translate(-50%, -50%) rotate(0deg) translateX(108px) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg) translateX(108px) rotate(-360deg); }
}

.entity-core {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-inner {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%,
        #ffffff 0%,
        var(--cyan-2) 25%,
        var(--cyan) 50%,
        #0088bb 75%,
        #004466 100%);
    box-shadow:
        0 0 30px var(--cyan),
        0 0 60px rgba(0, 212, 255, 0.6),
        inset 0 0 24px rgba(255, 255, 255, 0.4);
    animation: coreBeat 2.4s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.core-inner::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.9), transparent 60%);
    opacity: 0.7;
}

.core-glow {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3), transparent 65%);
    animation: coreBeat 2.4s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes coreBeat {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50%      { transform: scale(1.07); filter: brightness(1.25); }
}

.entity-scan {
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(0, 212, 255, 0.25) 48%,
        rgba(0, 212, 255, 0.5) 50%,
        rgba(0, 212, 255, 0.25) 52%,
        transparent 100%);
    animation: scanDown 3s ease-in-out infinite;
    mix-blend-mode: screen;
    pointer-events: none;
    opacity: 0.6;
}

@keyframes scanDown {
    0%, 100% { transform: translateY(-15%); opacity: 0; }
    50%      { transform: translateY(15%); opacity: 0.8; }
}

.ai-entity[data-state="thinking"] .ring-outer { animation-duration: 2s; }
.ai-entity[data-state="thinking"] .ring-mid   { animation-duration: 3.5s; }
.ai-entity[data-state="thinking"] .ring-inner { animation-duration: 1.5s; }
.ai-entity[data-state="thinking"] .core-inner {
    animation-duration: 0.9s;
    background: radial-gradient(circle at 35% 35%,
        #ffffff 0%, var(--amber) 25%, #cc8800 50%, #663300 100%);
    box-shadow: 0 0 30px var(--amber), 0 0 60px rgba(255, 184, 0, 0.6);
}

.ai-entity[data-state="speaking"] .ring-outer { animation-duration: 3s; }
.ai-entity[data-state="speaking"] .ring-mid   { animation-duration: 4s; }
.ai-entity[data-state="speaking"] .ring-inner { animation-duration: 2s; }
.ai-entity[data-state="speaking"] .core-inner {
    animation-duration: 0.6s;
    box-shadow:
        0 0 40px var(--cyan),
        0 0 90px rgba(0, 212, 255, 0.8),
        inset 0 0 24px rgba(255, 255, 255, 0.6);
}

/* ============ 4. HEADER AIRC ============ */
.app-header {
    background: linear-gradient(180deg, rgba(5, 16, 31, 0.95) 0%, rgba(3, 8, 18, 0.85) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #fff;
    padding: 12px 16px 14px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.hud-corner {
    position: absolute;
    width: 14px;
    height: 14px;
    border-color: var(--cyan);
    border-style: solid;
    border-width: 0;
    opacity: 0.7;
}
.hud-tl { top: 6px; left: 6px; border-top-width: 1.5px; border-left-width: 1.5px; }
.hud-tr { top: 6px; right: 6px; border-top-width: 1.5px; border-right-width: 1.5px; }

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 720px;
    margin: 0 auto;
}

.header-left {
    min-width: 0;
    flex: 1;
}

.header-left h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 2px;
    letter-spacing: 3px;
    color: var(--cyan);
    text-transform: uppercase;
    line-height: 1.1;
    text-shadow: 0 0 12px rgba(0, 212, 255, 0.5);
}

.header-left p {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    color: var(--muted);
    letter-spacing: 0.6px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.hud-btn {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--cyan-soft);
    border: 1px solid var(--border);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .2s;
    padding: 0;
}

.hud-btn svg { width: 16px; height: 16px; }

.hud-btn:hover {
    background: rgba(0, 212, 255, 0.22);
    box-shadow: var(--glow-cyan);
}

.hud-btn.muted {
    color: var(--muted-2);
    border-color: var(--muted-2);
    background: transparent;
}

.hud-btn.muted svg { opacity: 0.4; }

.header-avatar {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    border: 1px solid rgba(0, 212, 255, 0.4);
    box-shadow: var(--glow-cyan);
    color: #001824;
}

/* ============ 5. CONTAINER ============ */
.app-main {
    max-width: 720px;
    margin: 0 auto;
    padding: 20px 16px 40px;
    position: relative;
    z-index: 2;
}

.screen { display: none; padding-bottom: 20px; }
.screen.active { display: block; animation: fadeUp .4s ease; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============ 6. AI HERO (home) ============ */
.ai-status-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--cyan-soft);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    font-weight: 500;
    color: var(--cyan);
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
    animation: blink 1.6s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.35; }
}

.voice-indicator {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 4px;
    height: 22px;
    margin: 0 auto 12px;
}

.voice-indicator.active { display: flex; }

.voice-indicator span {
    width: 3px;
    height: 8px;
    background: var(--cyan);
    border-radius: 3px;
    box-shadow: 0 0 6px var(--cyan);
    animation: voiceBar 0.9s ease-in-out infinite;
}

.voice-indicator span:nth-child(1) { animation-delay: 0s; }
.voice-indicator span:nth-child(2) { animation-delay: 0.1s; }
.voice-indicator span:nth-child(3) { animation-delay: 0.2s; }
.voice-indicator span:nth-child(4) { animation-delay: 0.3s; }
.voice-indicator span:nth-child(5) { animation-delay: 0.4s; }

@keyframes voiceBar {
    0%, 100% { height: 6px; opacity: 0.5; }
    50%      { height: 20px; opacity: 1; }
}

.ai-greeting {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 2px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.ai-greeting span {
    color: var(--cyan);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.7);
}

.ai-sub {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.6;
    max-width: 320px;
    margin: 0 auto;
}

/* ============ 7. CARDS HUD ============ */
.card {
    background: var(--panel);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: var(--r-md);
    padding: 18px;
    margin-bottom: 14px;
    border: 1px solid var(--border);
    position: relative;
    box-shadow:
        inset 0 1px 0 rgba(0, 212, 255, 0.06),
        0 4px 20px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.card::before,
.card::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    border-color: var(--cyan);
    border-style: solid;
    border-width: 0;
    opacity: 0.55;
    pointer-events: none;
}

.card::before {
    top: 6px;
    left: 6px;
    border-top-width: 1.5px;
    border-left-width: 1.5px;
}

.card::after {
    bottom: 6px;
    right: 6px;
    border-bottom-width: 1.5px;
    border-right-width: 1.5px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.card-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hud-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    font-weight: 500;
    color: var(--cyan);
    background: var(--cyan-soft);
    border: 1px solid var(--border);
    padding: 3px 9px;
    border-radius: 20px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.card-text {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.65;
}

/* ============ 8. TIMELINE ============ */
.card-timeline { padding: 20px 18px; }

.timeline { position: relative; padding-left: 24px; }

.timeline::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 6px;
    bottom: 6px;
    width: 1.5px;
    background: linear-gradient(180deg, var(--cyan), var(--purple));
    border-radius: 2px;
    opacity: 0.5;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
}

.timeline-item {
    position: relative;
    margin-bottom: 18px;
    display: flex;
    gap: 12px;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
    position: absolute;
    left: -24px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--cyan);
    box-shadow: 0 0 10px var(--cyan), inset 0 0 4px var(--cyan);
}

.timeline-body strong {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: 1px;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.timeline-body p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.55;
}

/* ============ 9. BOTÕES ============ */
.btn-cta,
.btn-primary,
.btn-ghost {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 20px;
    border-radius: var(--r-md);
    font-family: 'Orbitron', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: .25s;
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-cta {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.18), rgba(0, 212, 255, 0.08));
    color: var(--cyan);
    border: 1.5px solid var(--cyan);
    box-shadow:
        0 0 20px rgba(0, 212, 255, 0.25),
        inset 0 0 20px rgba(0, 212, 255, 0.08);
    margin-top: 8px;
}

.btn-cta::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
    animation: btnShimmer 3s ease-in-out infinite;
}

@keyframes btnShimmer {
    0%   { left: -100%; }
    60%  { left: 100%; }
    100% { left: 100%; }
}

.btn-cta:hover {
    background: rgba(0, 212, 255, 0.22);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5), inset 0 0 20px rgba(0, 212, 255, 0.15);
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan), #0088bb);
    color: #001824;
    box-shadow: 0 0 24px rgba(0, 212, 255, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 0 36px rgba(0, 212, 255, 0.7);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--cyan);
    border: 1.5px solid var(--border);
}

.btn-ghost:hover {
    border-color: var(--cyan);
    background: var(--cyan-soft);
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.3);
}

.btn-full { width: 100%; margin-top: 10px; }

/* Botões pequenos */
.btn-sm,
.btn-cta-inline {
    padding: 8px 14px;
    height: 42px;
    border-radius: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: .2s;
    border: none;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
    width: auto;
    min-width: 0;
}

.btn-cta-inline {
    width: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.18), rgba(0, 212, 255, 0.08));
    color: var(--cyan);
    border: 1.5px solid var(--cyan);
    box-shadow: 0 0 18px rgba(0, 212, 255, 0.25);
}

.btn-cta-inline:hover { background: rgba(0, 212, 255, 0.25); }

.btn-sm.btn-ghost {
    flex: 0 0 auto;
    width: auto;
    padding: 8px 18px;
    background: transparent;
    color: var(--cyan);
    border: 1.5px solid var(--border);
}

.btn-sm.btn-ghost:hover {
    border-color: var(--cyan);
    background: var(--cyan-soft);
}

.btn-sm.btn-primary {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    background: linear-gradient(135deg, var(--cyan), #0088bb);
    color: #001824;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.btn-sm.btn-ghost:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ============ 10. QUESTIONÁRIO ============ */
.quiz-actions-bar {
    position: fixed;
    bottom: var(--nav-h);
    left: 0;
    right: 0;
    z-index: 99;
    display: none;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    padding: 10px 16px;
    background: linear-gradient(180deg,
        rgba(5, 16, 31, 0.85) 0%,
        rgba(3, 8, 18, 0.98) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    max-width: 720px;
    margin: 0 auto;
    overflow: hidden;
    box-sizing: border-box;
}

#questionnaire.active .quiz-actions-bar {
    display: flex;
}

#questionnaire.active {
    padding-bottom: 160px;
    padding-top: 4px;
}

.card-question { padding: 22px 18px; }

.question-number {
    font-family: 'JetBrains Mono', monospace;
    color: var(--cyan);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.card-question h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--text);
    letter-spacing: 1px;
}

.card-question > p {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 20px;
    line-height: 1.55;
}

.name-input {
    width: 100%;
    padding: 15px 16px;
    border-radius: var(--r-md);
    background: rgba(0, 212, 255, 0.05);
    border: 1.5px solid var(--border);
    color: var(--text);
    font-size: 15px;
    font-family: 'JetBrains Mono', monospace;
    outline: none;
    transition: .25s;
    letter-spacing: 1px;
}

.name-input:focus {
    border-color: var(--cyan);
    background: rgba(0, 212, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15), var(--glow-cyan);
}

.name-input::placeholder { color: var(--muted-2); }

.options {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.option input { display: none; }

.option label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--r-md);
    border: 1.5px solid var(--border-soft);
    background: rgba(0, 212, 255, 0.02);
    cursor: pointer;
    transition: .25s;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text);
    user-select: none;
    position: relative;
}

.option label:hover {
    border-color: var(--cyan-dim);
    background: rgba(0, 212, 255, 0.06);
}

.option input:checked + label {
    border-color: var(--cyan);
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 18px rgba(0, 212, 255, 0.25), inset 0 0 12px rgba(0, 212, 255, 0.08);
}

.option-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(0, 212, 255, 0.08);
    font-size: 18px;
    border: 1px solid var(--border-soft);
    transition: .25s;
}

.option input:checked + label .option-icon {
    background: var(--cyan);
    border-color: var(--cyan);
    box-shadow: 0 0 14px var(--cyan);
    filter: brightness(1.1);
}

/* ============ 11. BARRA FIXA DE AÇÕES ============ */
.bottom-fixed-actions {
    position: fixed;
    bottom: var(--nav-h);
    left: 0;
    right: 0;
    padding: 8px 16px 10px;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(3, 8, 18, 0.85) 30%,
        rgba(3, 8, 18, 0.98) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 99;
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    box-sizing: border-box;
}

#result .bottom-fixed-actions { display: none; }
#result.active .bottom-fixed-actions { display: flex; }

#future .bottom-fixed-actions { display: none; }
#future.active .bottom-fixed-actions { display: flex; }

#result.active { padding-bottom: 150px; }
#future.active { padding-bottom: 140px; }

/* ============ 12. LOADING ============ */
.loading-wrap {
    text-align: center;
    padding: 30px 20px;
}

.loading-wrap h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--cyan);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.loading-wrap p {
    color: var(--muted);
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 1px;
}

.loading-log {
    margin: 24px auto 0;
    max-width: 340px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    text-align: left;
    color: var(--muted);
    line-height: 1.9;
    padding: 16px;
    border: 1px solid var(--border-soft);
    border-radius: var(--r-md);
    background: rgba(0, 0, 0, 0.3);
    min-height: 100px;
    letter-spacing: 0.5px;
}

.loading-log .log-line { opacity: 0; animation: logIn .4s ease forwards; }
.loading-log .log-line::before { content: "› "; color: var(--cyan); font-weight: 700; }
.loading-log .log-line .ok { color: var(--cyan); }

@keyframes logIn {
    from { opacity: 0; transform: translateX(-6px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ============ 13. RESULTADO ============ */
.result-hero {
    text-align: center;
    padding: 12px 0 16px;
}

.result-avatar {
    width: 68px;
    height: 68px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    color: #001824;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5), inset 0 0 12px rgba(255, 255, 255, 0.3);
    border: 2px solid var(--cyan-2);
}

.result-hero h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 6px;
    color: var(--cyan);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

.result-hero p {
    color: var(--muted);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    letter-spacing: 1px;
    line-height: 1.5;
}

.card-donut { padding: 20px 18px; }

.donut-layout {
    display: flex;
    align-items: center;
    gap: 20px;
}

.donut-chart {
    position: relative;
    width: 120px;
    height: 120px;
    min-width: 120px;
    border-radius: 50%;
    background: conic-gradient(
        var(--cyan) 0deg 100deg,
        var(--amber) 100deg 180deg,
        var(--purple) 180deg 260deg,
        #1a3a5c 260deg 360deg
    );
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 24px rgba(0, 212, 255, 0.35);
    padding: 3px;
}

.donut-center {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--panel-solid);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.donut-center strong {
    font-family: 'Orbitron', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: var(--cyan);
    line-height: 1;
    text-shadow: 0 0 12px rgba(0, 212, 255, 0.6);
}

.donut-center small {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.donut-legend {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.donut-legend li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    color: var(--muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 8px currentColor;
}

.section-title {
    margin: 24px 0 14px;
    padding-left: 12px;
    border-left: 2px solid var(--cyan);
    box-shadow: -4px 0 12px rgba(0, 212, 255, 0.3);
}

.section-title h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.section-title p {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    color: var(--muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.rec-card {
    background: var(--panel);
    backdrop-filter: blur(14px);
    border-radius: var(--r-md);
    padding: 18px;
    margin-bottom: 12px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(0, 212, 255, 0.06), 0 4px 20px rgba(0, 0, 0, 0.35);
}

.rec-card::before {
    content: "";
    position: absolute;
    top: 6px; left: 6px;
    width: 12px; height: 12px;
    border-top: 1.5px solid var(--cyan);
    border-left: 1.5px solid var(--cyan);
    opacity: 0.55;
}

.rec-card.top-match {
    border-color: var(--cyan);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.25), inset 0 0 30px rgba(0, 212, 255, 0.04);
}

.rec-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.rec-badge.gold {
    background: linear-gradient(135deg, var(--cyan), #0077aa);
    color: #001824;
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.5);
}

.rec-badge.silver {
    background: rgba(0, 212, 255, 0.12);
    color: var(--cyan);
    border: 1px solid var(--border);
}

.rec-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
    letter-spacing: 1px;
}

.rec-company {
    color: var(--muted);
    font-size: 12.5px;
    margin-bottom: 12px;
}

.rec-compat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 212, 255, 0.12);
    color: var(--cyan);
    padding: 5px 12px;
    border-radius: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 14px;
    border: 1px solid var(--border);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.rec-compat::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
    animation: blink 1.6s ease-in-out infinite;
}

.rec-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0;
    padding: 12px 0;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

.rec-info-row {
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
    gap: 12px;
}

.rec-info-row strong {
    color: var(--muted);
    font-weight: 500;
    flex-shrink: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.rec-info-row span {
    color: var(--text);
    text-align: right;
    font-weight: 500;
}

.rec-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.tag-item {
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(0, 212, 255, 0.1);
    color: var(--cyan);
    border: 1px solid var(--border-soft);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.rec-steps {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-soft);
}

.rec-steps h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.rec-step {
    display: flex;
    gap: 10px;
    padding: 6px 0;
    font-size: 13px;
    align-items: flex-start;
}

.rec-step-num {
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cyan);
    color: #001824;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
}

.rec-step p {
    color: var(--muted);
    line-height: 1.55;
}

/* ============ 14. FUTURO ============ */
.future-picker {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.future-pro {
    background: var(--panel);
    backdrop-filter: blur(14px);
    border: 1.5px solid var(--border-soft);
    border-radius: var(--r-md);
    padding: 16px 18px;
    cursor: pointer;
    transition: .25s;
    display: flex;
    align-items: center;
    gap: 14px;
}

.future-pro:hover {
    border-color: var(--cyan-dim);
    background: rgba(0, 212, 255, 0.05);
}

.future-pro.selected {
    border-color: var(--cyan);
    background: rgba(0, 212, 255, 0.08);
    box-shadow: 0 0 24px rgba(0, 212, 255, 0.3);
}

.future-pro-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.4);
}

.future-pro-info strong {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.future-pro-info small {
    color: var(--cyan);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ============ 15. INFO CARDS ============ */
.info-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--cyan);
    flex-shrink: 0;
    box-shadow: inset 0 0 12px rgba(0, 212, 255, 0.15);
}

.info-card strong {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.info-card p {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.55;
}

/* ============ 16. BOTTOM NAV ============ */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    background: rgba(5, 16, 31, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 8px 6px;
    z-index: 100;
    box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.6);
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted-2);
    padding: 8px 4px;
    transition: .2s;
    font-family: inherit;
    border-radius: 10px;
}

.nav-item svg {
    width: 22px;
    height: 22px;
    transition: .2s;
}

.nav-item span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.nav-item.active { color: var(--cyan); }
.nav-item.active svg { filter: drop-shadow(0 0 8px var(--cyan)); }

.fab-button {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(0, 212, 255, 0.15), rgba(5, 16, 31, 0.95));
    border: 2px solid var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .2s;
    margin-top: -18px;
    flex-shrink: 0;
    position: relative;
    padding: 0;
    box-shadow:
        0 0 20px rgba(0, 212, 255, 0.5),
        inset 0 0 20px rgba(0, 212, 255, 0.15);
}

.fab-button::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid var(--cyan);
    opacity: 0.6;
    animation: pulseRing 2.4s ease-out infinite;
}

.fab-entity {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fab-core {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%,
        #ffffff 0%,
        var(--cyan-2) 30%,
        var(--cyan) 60%,
        #006688 100%);
    box-shadow:
        0 0 12px var(--cyan),
        0 0 24px rgba(0, 212, 255, 0.7),
        inset 0 0 8px rgba(255, 255, 255, 0.5);
    animation: coreBeat 2.4s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.fab-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.fab-ring-a {
    inset: 6px;
    border: 1.5px solid transparent;
    border-top-color: var(--cyan);
    border-right-color: rgba(0, 212, 255, 0.25);
    border-bottom-color: var(--cyan);
    border-left-color: rgba(0, 212, 255, 0.25);
    animation: spinCW 4s linear infinite;
}

.fab-ring-b {
    inset: 12px;
    border: 1px dashed rgba(0, 212, 255, 0.6);
    animation: spinCCW 6s linear infinite;
}

.fab-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 0 32px rgba(0, 212, 255, 0.8),
        inset 0 0 20px rgba(0, 212, 255, 0.25);
}

.fab-button:active { transform: scale(0.95); }

/* ============ 17. MODAIS ============ */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(3, 8, 18, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 16px;
    animation: fadeIn .25s ease;
}

.modal.active { display: flex; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-box {
    background: var(--panel-solid);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 22px;
    max-width: 460px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 212, 255, 0.15);
    animation: modalIn .3s ease;
    position: relative;
}

.modal-box::before {
    content: "";
    position: absolute;
    top: 10px; left: 10px;
    width: 16px; height: 16px;
    border-top: 1.5px solid var(--cyan);
    border-left: 1.5px solid var(--cyan);
    opacity: 0.6;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(.95) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.modal-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--cyan);
}

.modal-close {
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid var(--border-soft);
    color: var(--cyan);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    transition: .2s;
}

.modal-close:hover {
    background: var(--cyan);
    color: #001824;
    box-shadow: var(--glow-cyan);
}

.camera-view {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: var(--r-md);
    overflow: hidden;
    background: #000;
    border: 1px solid var(--border);
}

#cameraVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
}

.camera-frame {
    position: absolute;
    inset: 12%;
    border: 2px dashed rgba(0, 212, 255, 0.7);
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3), inset 0 0 30px rgba(0, 212, 255, 0.15);
    animation: camPulse 2.5s ease-in-out infinite;
}

@keyframes camPulse {
    0%, 100% { border-color: rgba(0, 212, 255, 0.5); }
    50%      { border-color: rgba(0, 212, 255, 1); }
}

.camera-hud-h {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0.4;
    animation: hudScan 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes hudScan {
    0%, 100% { transform: translateY(-60px); opacity: 0.2; }
    50%      { transform: translateY(60px); opacity: 0.7; }
}

.camera-hud-v {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--cyan), transparent);
    opacity: 0.4;
    pointer-events: none;
}

.camera-actions {
    display: flex;
    justify-content: center;
    margin: 20px 0 10px;
}

.shutter {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: transparent;
    border: 3px solid var(--cyan);
    cursor: pointer;
    transition: .15s;
    box-shadow: 0 0 24px rgba(0, 212, 255, 0.5);
    position: relative;
}

.shutter::after {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.5);
}

.shutter:active { transform: scale(.92); }

.camera-hint {
    text-align: center;
    color: var(--muted);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 1px;
    margin-top: 6px;
    text-transform: uppercase;
}

.preview-frame {
    width: 100%;
    border-radius: var(--r-md);
    overflow: hidden;
    background: #000;
    margin-bottom: 12px;
    border: 1px solid var(--border);
}

.preview-frame img { width: 100%; display: block; }

.preview-result {
    box-shadow: 0 0 0 2px var(--cyan), 0 0 40px rgba(0, 212, 255, 0.4);
    animation: resultReveal .7s ease;
}

@keyframes resultReveal {
    from { opacity: 0; transform: scale(.96); filter: brightness(0.5); }
    to   { opacity: 1; transform: scale(1); filter: brightness(1); }
}

.preview-hint {
    text-align: center;
    color: var(--muted);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 1px;
    margin: 10px 0;
    text-transform: uppercase;
}

.preview-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.preview-actions > * { flex: 1; }

.gen-title {
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 6px;
    text-shadow: 0 0 16px rgba(0, 212, 255, 0.6);
}

.gen-hint {
    text-align: center;
    color: var(--muted);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 1px;
    min-height: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* ============ 18. PROJETO / EQUIPE / GEMINI ============ */
.card-team {
    padding: 16px 18px;
}

.team-compact {
    display: flex;
    align-items: center;
    gap: 14px;
}

.team-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    color: #001824;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.4);
}

.team-icon svg { width: 22px; height: 22px; }

.team-text strong {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.team-text p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
}

.card-project {
    padding: 22px 20px;
    text-align: center;
}

.project-hero {
    margin-bottom: 16px;
}

.project-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    color: #001824;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.project-icon svg { width: 30px; height: 30px; }

.project-hero h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: var(--cyan);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 4px;
    text-shadow: 0 0 16px rgba(0, 212, 255, 0.6);
}

.project-hero p {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    color: var(--muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.card-project .card-text {
    text-align: left;
    line-height: 1.7;
}

.card-project .card-text strong {
    color: var(--cyan);
    font-weight: 700;
}

.card-team-full {
    padding: 20px 18px;
}

.team-school {
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--border-soft);
}

.team-school strong {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--cyan);
    margin-bottom: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.35;
}

.team-school p {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.5px;
}

.team-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.team-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: var(--text);
    font-weight: 500;
}

.team-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
    flex-shrink: 0;
}

.card-tech {
    padding: 18px;
}

.tech-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.tech-logo {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tech-logo svg { width: 24px; height: 24px; }

.gemini-logo {
    background: linear-gradient(135deg, #4285f4, #9b72cb, #d96570);
    color: #fff;
    box-shadow: 0 0 20px rgba(66, 133, 244, 0.5);
}

.tech-text strong {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tech-text p {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.55;
}

.card-credits {
    padding: 16px 18px;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.06), rgba(123, 77, 255, 0.06));
    border: 1px solid var(--border-soft);
}

.credits-line {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 6px;
}

.credits-line:last-child { margin-bottom: 0; }

.credits-line strong {
    color: var(--cyan);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.credits-line.small {
    font-size: 11px;
    line-height: 1.55;
    color: var(--muted-2);
}

/* ============ 19. IDENTIFICADOR ============ */
.card-id {
    padding: 16px 18px;
}

.card-id label {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 8px;
}

.card-id .name-input {
    margin-bottom: 6px;
}

.card-id .id-hint {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.5px;
    line-height: 1.5;
    margin-top: 4px;
}

.card-id .id-recover {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    padding: 8px 12px;
    background: transparent;
    border: 1px dashed var(--border);
    border-radius: 10px;
    color: var(--cyan);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    transition: .2s;
    width: 100%;
}

.card-id .id-recover:hover {
    background: var(--cyan-soft);
    border-color: var(--cyan);
}

.card-id .id-recover:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.saved-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid var(--cyan);
    border-radius: 20px;
    color: var(--cyan);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 8px;
}

.saved-badge::before {
    content: "✓";
    font-weight: 900;
}

/* ============ 20. RESPONSIVO ============ */
@media (min-width: 720px) {
    .app-main { padding: 26px 20px 60px; }
    .card { padding: 22px; }
    .bottom-nav {
        max-width: 720px;
        margin: 0 auto;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 20px 20px 0 0;
    }
    .bottom-fixed-actions { border-radius: 20px 20px 0 0; }
    .quiz-actions-bar { padding: 10px 20px; border-radius: 20px 20px 0 0; }
}

@media (max-width: 380px) {
    :root { --nav-h: 68px; }

    .header-left h1 { font-size: 16px; letter-spacing: 2px; }
    .header-left p { font-size: 8.5px; }
    .header-avatar { width: 32px; height: 32px; font-size: 14px; }
    .hud-btn { width: 30px; height: 30px; }
    .hud-btn svg { width: 14px; height: 14px; }
    .ai-entity { width: 200px; height: 200px; }
    .entity-particles span {
        animation-name: orbitParticleSm;
    }
    @keyframes orbitParticleSm {
        from { transform: translate(-50%, -50%) rotate(0deg) translateX(90px) rotate(0deg); }
        to   { transform: translate(-50%, -50%) rotate(360deg) translateX(90px) rotate(-360deg); }
    }
    .card { padding: 15px; }
    .nav-item span { font-size: 9px; }
    .fab-button { width: 48px; height: 48px; }
    .fab-core { width: 16px; height: 16px; }
}

@media (max-width: 360px) {
    .btn-sm,
    .btn-cta-inline {
        font-size: 9px;
        padding: 8px 10px;
        height: 40px;
    }
    .btn-sm.btn-ghost {
        padding: 8px 12px;
    }
}

/* ============ 21. RELATÓRIO (só imprime) ============ */
#reportContent { display: none; }

@media print {
    @page {
        size: A4;
        margin: 1.2cm 1.4cm;
    }

    html, body {
        background: #fff !important;
        color: #111 !important;
        padding: 0 !important;
        margin: 0 !important;
        font-size: 11pt;
        overflow: visible !important;
    }

    body > *:not(#reportContent) { display: none !important; }
    .bg-fx { display: none !important; }
    .app-header, .bottom-nav, .modal,
    .bottom-fixed-actions, .quiz-actions-bar { display: none !important; }

    #reportContent {
        display: block !important;
        position: static;
        width: 100%;
        color: #111;
        background: #fff;
    }

    .rpt-page {
        color: #111;
        font-family: 'Inter', system-ui, sans-serif;
        line-height: 1.5;
    }

    .rpt-hero {
        text-align: center;
        margin-bottom: 16px;
        page-break-inside: avoid;
    }

    .rpt-photo {
        max-width: 70%;
        max-height: 9.5cm;
        border-radius: 8px;
        border: 2px solid #0a99b8;
        object-fit: cover;
        display: inline-block;
    }

    .rpt-hero-caption {
        font-size: 10pt;
        color: #555;
        font-style: italic;
        margin-top: 6px;
    }

    .rpt-header {
        border-bottom: 2px solid #0a99b8;
        padding-bottom: 8px;
        margin-bottom: 12px;
    }

    .rpt-brand {
        font-size: 24pt;
        font-weight: 900;
        letter-spacing: 5px;
        color: #0a6b7f;
        line-height: 1;
    }

    .rpt-subtitle {
        font-size: 8.5pt;
        color: #555;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        margin-top: 2px;
    }

    .rpt-meta {
        font-size: 11pt;
        color: #222;
        margin-bottom: 10px;
    }

    .rpt-meta strong { color: #0a6b7f; }

    .rpt-section-title {
        font-size: 12.5pt;
        font-weight: 700;
        color: #0a6b7f;
        margin: 18px 0 8px;
        padding-bottom: 4px;
        border-bottom: 1px solid #ccc;
        text-transform: uppercase;
        letter-spacing: 1.5px;
    }

    .rpt-profile {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .rpt-profile-item {
        flex: 1 1 45%;
        padding: 6px 10px;
        background: #eef6fa;
        border-radius: 6px;
        font-size: 10pt;
        color: #222;
    }

    .rpt-profile-item strong { color: #0a6b7f; }

    .rpt-text {
        font-size: 10.5pt;
        color: #333;
        text-align: justify;
    }

    .rpt-job {
        page-break-inside: avoid;
        margin-bottom: 14px;
        padding: 10px 12px;
        border: 1px solid #ccc;
        border-left: 4px solid #0a99b8;
        border-radius: 6px;
        background: #fff;
    }

    .rpt-job-rank {
        font-size: 9pt;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #0a6b7f;
        margin-bottom: 4px;
    }

    .rpt-job-title {
        font-size: 14pt;
        font-weight: 800;
        color: #111;
        margin-bottom: 4px;
        line-height: 1.2;
    }

    .rpt-job-info {
        display: flex;
        flex-wrap: wrap;
        gap: 6px 12px;
        margin: 8px 0;
        font-size: 9.5pt;
    }

    .rpt-job-info-item {
        flex: 1 1 45%;
        color: #333;
    }

    .rpt-job-info-item strong {
        color: #0a6b7f;
        text-transform: uppercase;
        font-size: 8pt;
        letter-spacing: 0.5px;
        display: block;
        margin-bottom: 1px;
    }

    .rpt-job-desc {
        font-size: 10pt;
        color: #333;
        margin: 6px 0;
        text-align: justify;
    }

    .rpt-skills {
        font-size: 9.5pt;
        color: #444;
        margin-top: 4px;
    }

    .rpt-skills strong {
        color: #0a6b7f;
        text-transform: uppercase;
        font-size: 8pt;
        letter-spacing: 0.5px;
    }

    .rpt-job-steps { margin-top: 6px; }

    .rpt-job-steps-title {
        font-size: 8.5pt;
        font-weight: 700;
        color: #0a6b7f;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 3px;
    }

    .rpt-job-steps ol {
        padding-left: 18px;
        margin: 0;
        font-size: 9.5pt;
        color: #333;
    }

    .rpt-job-steps li {
        margin-bottom: 2px;
        line-height: 1.35;
    }

    .rpt-footer {
        margin-top: 20px;
        padding-top: 8px;
        border-top: 1px solid #ccc;
        font-size: 8.5pt;
        color: #777;
        text-align: center;
        letter-spacing: 0.5px;
    }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0, 212, 255, 0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0, 212, 255, 0.6); }