/* ==========================================================================
           1. VARIÁVEIS DE SISTEMA E DESIGN SYSTEM (Gold Green Palette)
           ========================================================================== */
        :root {
            /* Cores Primárias - Gold Green Theme */
            --bg-primary: #061811;
            --bg-secondary: #0b251b;
            --bg-card: #0f3325;
            --bg-glass: rgba(15, 51, 37, 0.65);
            
            --border-color: rgba(212, 175, 55, 0.2);
            --border-hover: rgba(212, 175, 55, 0.5);
            
            --text-primary: #f0f7f4;
            --text-secondary: #a3c2b5;
            --text-muted: #6b8f80;
            
            --accent-gold: #d4af37;
            --accent-gold-hover: #f3e5ab;
            --accent-green: #10b981;
            --accent-glow: rgba(212, 175, 55, 0.15);
            
            /* Tipografia */
            --font-main: 'Plus Jakarta Sans', -apple-system, sans-serif;
            --font-display: 'Space Grotesk', -apple-system, sans-serif;
            
            /* Transições */
            --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --radius-md: 12px;
            --radius-lg: 20px;
        }

        /* Tema Claro Alternativo (Sem Fundo Branco) */
        [data-theme="light"] {
            --bg-primary: #122c22;
            --bg-secondary: #1a3c30;
            --bg-card: #224c3d;
            --bg-glass: rgba(34, 76, 61, 0.85);
            
            --border-color: rgba(212, 175, 55, 0.3);
            --border-hover: rgba(212, 175, 55, 0.6);
            
            --text-primary: #f4f7f5;
            --text-secondary: #b0d4c5;
            --text-muted: #7fa897;
            
            --accent-gold: #e5c158;
            --accent-gold-hover: #fce8a6;
            --accent-green: #34d399;
            --accent-glow: rgba(229, 193, 88, 0.15);
        }

        /* Dynamic Tech Theme (Modo Ciberespaço) */
        [data-theme="cyber"] {
            --bg-primary: #030a08;
            --bg-secondary: #05140f;
            --bg-card: #082118;
            --bg-glass: rgba(8, 33, 24, 0.75);
            
            --border-color: rgba(16, 185, 129, 0.3);
            --border-hover: rgba(212, 175, 55, 0.8);
            
            --text-primary: #ffffff;
            --text-secondary: #7ee7c7;
            --text-muted: #4a9e83;
            
            --accent-gold: #ffd700;
            --accent-gold-hover: #ffffff;
            --accent-green: #00ffa3;
            --accent-glow: rgba(0, 255, 163, 0.2);
        }

        /* ==========================================================================
           2. RESET E BASE
           ========================================================================== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            overflow-x: hidden;
            width: 100%;
        }

        body {
            background-color: var(--bg-primary);
            color: var(--text-primary);
            font-family: var(--font-main);
            line-height: 1.6;
            overflow-x: hidden;
            width: 100%;
            transition: background-color 0.4s ease, color 0.4s ease;
        }

        h1, h2, h3, .font-display {
            font-family: var(--font-display);
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
        }

        /* ==========================================================================
           3. NAVEGAÇÃO E HEADER (INTEGRADO COM BOOTSTRAP)
           ========================================================================== */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 12px 0;
            z-index: 1000;
            background: var(--bg-glass) !important;
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--border-color);
            transition: var(--transition-smooth);
        }

        /* LOGO ADAPTÁVEL */
        .navbar-brand {
            padding: 0;
            margin: 0;
        }

        .logo-img {
            max-height: 60px; /* Limite seguro para desktops */
            width: auto;
            object-fit: contain;
            transition: var(--transition-smooth);
        }

        /* LINKS DO NAVBAR BOOTSTRAP */
        .navbar-nav .nav-link {
            color: var(--text-secondary) !important;
            font-weight: 600;
            font-size: 1rem;
            padding: 8px 16px !important;
            transition: var(--transition-smooth);
        }

        .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link:focus {
            color: var(--accent-gold) !important;
        }

        /* BOTÃO HAMBÚRGUER CUSTOMIZADO */
        .custom-toggler.navbar-toggler {
            border: 1px solid var(--border-color);
            background-color: var(--bg-card);
            padding: 8px 12px;
            outline: none;
            box-shadow: none;
        }

        .custom-toggler .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28212, 175, 55, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        }

        .custom-toggler:focus {
            box-shadow: 0 0 10px var(--accent-glow);
            border-color: var(--accent-gold);
        }

        /* ==========================================================================
           4. HERO SECTION
           ========================================================================== */
        .hero {
            padding: 180px 0 100px;
            position: relative;
            background: radial-gradient(circle at 50% 20%, var(--accent-glow) 0%, transparent 60%);
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 1.2fr 0.8fr;
            gap: 48px;
            align-items: center;
        }

        .badge {
            display: inline-block;
            padding: 6px 16px;
            border-radius: 20px;
            background: rgba(212, 175, 55, 0.1);
            border: 1px solid var(--accent-gold);
            color: var(--accent-gold);
            font-size: 0.85rem;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
            margin-bottom: 24px;
        }

        .hero-title {
            font-size: 3.5rem;
            line-height: 1.15;
            font-weight: 800;
            margin-bottom: 24px;
        }

        .hero-title .highlight {
            color: var(--accent-gold);
            background: linear-gradient(135deg, var(--accent-gold) 0%, #fff 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero-subtitle {
            font-size: 1.2rem;
            color: var(--text-secondary);
            margin-bottom: 40px;
            max-width: 600px;
        }

        .hero-cta-group {
            display: flex;
            gap: 16px;
            align-items: center;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--accent-gold) 0%, #b8860b 100%);
            color: #000;
            font-weight: 700;
            padding: 16px 36px;
            border-radius: var(--radius-md);
            text-decoration: none;
            display: inline-block;
            transition: var(--transition-smooth);
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
            background: var(--accent-gold-hover);
        }

        .btn-secondary {
            background: transparent;
            color: var(--text-primary);
            font-weight: 600;
            padding: 16px 28px;
            border-radius: var(--radius-md);
            text-decoration: none;
            border: 1px solid var(--border-color);
            transition: var(--transition-smooth);
        }

        .btn-secondary:hover {
            border-color: var(--accent-gold);
            background: var(--bg-card);
        }

        .hero-visual {
            position: relative;
        }

        .tech-card-preview {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            padding: 32px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.4);
            position: relative;
            overflow: hidden;
        }

        .tech-card-preview::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--accent-gold), var(--accent-green));
        }

        .terminal-header {
            display: flex;
            gap: 8px;
            margin-bottom: 24px;
        }

        .dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--border-color);
        }

        .terminal-code {
            font-family: monospace;
            font-size: 0.9rem;
            color: var(--accent-green);
        }

        .terminal-code div {
            margin-bottom: 8px;
        }

        /* ==========================================================================
           5. SEÇÃO DOS CURSOS
           ========================================================================== */
        .courses-section {
            padding: 100px 0;
            background: var(--bg-secondary);
            border-top: 1px solid var(--border-color);
            border-bottom: 1px solid var(--border-color);
        }

        .section-header {
            text-align: center;
            max-width: 700px;
            margin: 0 auto 60px;
        }

        .section-title {
            font-size: 2.5rem;
            margin-bottom: 16px;
        }

        .section-subtitle {
            color: var(--text-secondary);
            font-size: 1.1rem;
        }

        .courses-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 32px;
        }

        .course-card {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            padding: 36px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: var(--transition-smooth);
            position: relative;
        }

        .course-card:hover {
            transform: translateY(-8px);
            border-color: var(--accent-gold);
            box-shadow: 0 12px 30px var(--accent-glow);
        }

        .course-tag {
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            color: var(--accent-gold);
            letter-spacing: 1px;
            margin-bottom: 12px;
        }

        .course-title {
            font-size: 1.5rem;
            margin-bottom: 16px;
        }

        .course-desc {
            color: var(--text-secondary);
            font-size: 0.95rem;
            margin-bottom: 24px;
            flex-grow: 1;
        }

        .course-features {
            list-style: none;
            margin-bottom: 32px;
            border-top: 1px solid var(--border-color);
            padding-top: 20px;
        }

        .course-features li {
            font-size: 0.9rem;
            color: var(--text-secondary);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .course-features li::before {
            content: "✓";
            color: var(--accent-gold);
            font-weight: bold;
        }

        /* ==========================================================================
           6. DIFERENCIAIS E CARREIRA
           ========================================================================== */
        .differentials-section {
            padding: 100px 0;
            background: var(--bg-primary);
        }

        .differentials-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 32px;
        }

        .diff-card {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            padding: 36px 28px;
            transition: var(--transition-smooth);
            position: relative;
        }

        .diff-card:hover {
            border-color: var(--accent-gold);
            transform: translateY(-5px);
            box-shadow: 0 10px 25px var(--accent-glow);
        }

        .diff-icon {
            font-size: 2rem;
            margin-bottom: 20px;
            display: inline-block;
            color: var(--accent-gold);
            background: rgba(212, 175, 55, 0.1);
            width: 60px;
            height: 60px;
            line-height: 60px;
            text-align: center;
            border-radius: var(--radius-md);
            border: 1px solid var(--border-color);
        }

        .diff-title {
            font-size: 1.3rem;
            margin-bottom: 12px;
        }

        .diff-desc {
            color: var(--text-secondary);
            font-size: 0.95rem;
        }

        .career-section {
            padding: 100px 0;
            background: var(--bg-secondary);
            border-top: 1px solid var(--border-color);
            border-bottom: 1px solid var(--border-color);
        }

        .career-timeline {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 24px;
            position: relative;
            margin-top: 50px;
        }

        .career-step {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            padding: 32px;
            position: relative;
            transition: var(--transition-smooth);
        }

        .career-step:hover {
            border-color: var(--accent-green);
        }

        .step-number {
            font-family: var(--font-display);
            font-size: 1.2rem;
            font-weight: 800;
            color: var(--accent-gold);
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .step-number::after {
            content: '';
            flex: 1;
            height: 2px;
            background: var(--border-color);
        }

        .step-title {
            font-size: 1.2rem;
            margin-bottom: 12px;
        }

        .step-desc {
            color: var(--text-secondary);
            font-size: 0.9rem;
        }

        /* ==========================================================================
           7. METRICS / STATS SECTION
           ========================================================================== */
        .stats-section {
            padding: 80px 0;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 24px;
            text-align: center;
        }

        .stat-item {
            padding: 24px;
        }

        .stat-number {
            font-size: 3rem;
            font-weight: 800;
            color: var(--accent-gold);
            font-family: var(--font-display);
            margin-bottom: 8px;
        }

        .stat-label {
            color: var(--text-secondary);
            font-size: 0.95rem;
        }

        /* ==========================================================================
           8. FORMULÁRIO / FOOTER & NOTIFICAÇÕES DE STATUS
           ========================================================================== */
        .cta-section {
            padding: 100px 0;
            background: var(--bg-secondary);
            position: relative;
        }

        .cta-box {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            padding: 60px;
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
        }

        .cta-form {
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin-top: 32px;
            text-align: left;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .form-group label {
            color: var(--text-primary);
            font-size: 0.9rem;
            font-weight: 600;
        }

        .cta-form input, 
        .cta-form select {
            width: 100%;
            padding: 16px 20px;
            border-radius: var(--radius-md);
            border: 1px solid var(--border-color);
            background: var(--bg-primary);
            color: var(--text-primary);
            font-size: 1rem;
            outline: none;
            transition: var(--transition-smooth);
        }

        .cta-form select option {
            background: var(--bg-card);
            color: var(--text-primary);
        }

        .cta-form input:focus,
        .cta-form select:focus {
            border-color: var(--accent-gold);
            box-shadow: 0 0 10px var(--accent-glow);
        }

        .file-input-wrapper {
            position: relative;
            border: 1px dashed var(--border-color);
            border-radius: var(--radius-md);
            padding: 16px;
            background: var(--bg-primary);
            text-align: center;
            cursor: pointer;
            transition: var(--transition-smooth);
        }

        .file-input-wrapper:hover {
            border-color: var(--accent-gold);
        }

        .file-input-wrapper input[type="file"] {
            position: absolute;
            left: 0;
            top: 0;
            opacity: 0;
            width: 100%;
            height: 100%;
            cursor: pointer;
        }

        /* Notificação Modal Elegante */
        .status-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(8px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2000;
            opacity: 0;
            pointer-events: none;
            transition: var(--transition-smooth);
        }

        .status-modal.active {
            opacity: 1;
            pointer-events: auto;
        }

        .status-modal-content {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            padding: 40px;
            max-width: 450px;
            width: 90%;
            text-align: center;
            box-shadow: 0 20px 50px rgba(0,0,0,0.5);
            transform: scale(0.8);
            transition: var(--transition-smooth);
        }

        .status-modal.active .status-modal-content {
            transform: scale(1);
        }

        .status-icon {
            font-size: 3rem;
            margin-bottom: 16px;
        }

        .status-title {
            font-size: 1.5rem;
            margin-bottom: 12px;
            color: var(--text-primary);
        }

        .status-message {
            color: var(--text-secondary);
            font-size: 1rem;
            margin-bottom: 24px;
        }

        footer {
            padding: 40px 0;
            border-top: 1px solid var(--border-color);
            text-align: center;
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        /* ==========================================================================
           9. RESPONSIVIDADE REFATORADA (CORRIGIDA)
           ========================================================================== */
        @media (max-width: 991.98px) {
            /* ESTILIZAÇÃO DO MENU RECOLHIDO EM MOBILE/TABLET */
            .navbar-collapse {
                background: var(--bg-card);
                border: 1px solid var(--border-color);
                border-radius: var(--radius-md);
                padding: 16px;
                margin-top: 12px;
                box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
            }

            .hero-grid {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .hero-subtitle {
                margin: 0 auto 40px;
            }

            .hero-cta-group {
                justify-content: center;
            }
        }

        @media (max-width: 600px) {
            .logo-img {
                max-height: 42px;
            }

            .hero-title {
                font-size: 2.3rem;
            }

            .cta-box {
                padding: 32px 20px;
            }

            .cta-form input, 
            .cta-form button, 
            .cta-form select {
                width: 100%;
            }

            /* Correção do estouro no celular: remove o padding interno e limita a imagem */
            .terminal-code img {
                max-width: 100% !important;
                padding-left: 0 !important;
                margin: 0 auto;
            }

            .tech-card-preview {
                padding: 20px 12px;
            }
        }