:root {
    --bg-color: #0B0E14;
    --text-primary: #f0f0f0;
    --text-secondary: #94a3b8;
    
    --primary-color: #6366f1; /* Indigo */
    --accent-angular: #dd0031;
    --accent-net: #512bd4;
    --accent-ai: #06b6d4; /* Default GenAI highlight */
    --accent-python: #facc15; /* Python Yellow */
    --accent-harness: #8b5cf6; /* Harness Blue/Violet */
    
    --glass-bg: rgba(25, 30, 40, 0.5);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Background Effects */
.blob-cont {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(90px);
    opacity: 0.5;
    animation: drift 20s infinite alternate ease-in-out;
}

.blob1 {
    width: 400px;
    height: 400px;
    background: var(--accent-net);
    top: -100px;
    left: -100px;
}

.blob2 {
    width: 300px;
    height: 300px;
    background: var(--accent-angular);
    bottom: 20%;
    right: -50px;
    animation-delay: -5s;
}

.blob3 {
    width: 500px;
    height: 400px;
    background: var(--accent-harness);
    top: 40%;
    left: 20%;
    opacity: 0.3;
    animation-delay: -10s;
}

.blob4 {
    width: 300px;
    height: 300px;
    background: var(--accent-python);
    bottom: -100px;
    left: 40%;
    opacity: 0.2;
    animation-delay: -15s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.2); }
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
}

/* Glassmorphism */
.glassmorphism {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(90deg, #A855F7, var(--accent-harness));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.gradient-text-alt {
    background: linear-gradient(90deg, var(--accent-angular), var(--accent-python), var(--accent-net));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Typography styles */
.highlight {
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 4rem;
    z-index: 1000;
}

.navbar .logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-harness);
}

/* Buttons */
.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-glow {
    background: linear-gradient(90deg, var(--accent-net), var(--accent-harness));
    color: white;
    position: relative;
    z-index: 1;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), var(--accent-python), var(--accent-harness) 40%, transparent 80%);
    z-index: -1;
    border-radius: 52px;
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-glow:hover::before {
    opacity: 1;
}

.btn-glow:hover {
    transform: scale(1.05);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding-top: 80px;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    padding-left: 4rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.hero-graphic {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.floating-cards {
    position: relative;
    width: 450px;
    height: 450px;
}

.card {
    position: absolute;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    animation: float 6s infinite ease-in-out;
}

.card.tag-angular { top: 15%; left: 0; border-left: 4px solid var(--accent-angular); }
.card.tag-net { top: 40%; right: 5%; border-left: 4px solid var(--accent-net); }
.card.tag-python { bottom: 25%; left: 10%; border-left: 4px solid var(--accent-python); }
.card.tag-harness { bottom: 5%; right: 20%; border-left: 4px solid var(--accent-harness); }

.delay-1 { animation-delay: -1s; }
.delay-2 { animation-delay: -2.5s; }
.delay-3 { animation-delay: -4s; }
.delay-4 { animation-delay: -5.5s; }

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.harness-icon {
    color: var(--accent-harness);
}

/* Roadmap Timeline */
.roadmap-section {
    position: relative;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, 
        var(--accent-angular) 0%, 
        var(--accent-net) 30%, 
        var(--accent-python) 60%, 
        var(--accent-harness) 100%
    );
    top: 0;
    bottom: 0;
    left: 40px;
    border-radius: 2px;
    opacity: 0.5;
}

.timeline-item {
    position: relative;
    padding-left: 100px;
    margin-bottom: 4rem;
}

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

.timeline-dot {
    position: absolute;
    left: 20px;
    top: 0;
    width: 42px;
    height: 42px;
    background: var(--bg-color);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
    z-index: 1;
    opacity: 0.3;
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.6s ease;
    transform: scale(0.9);
}

.timeline-dot.active {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.8);
}

/* Dots Colors map */
.dot-1 { border-color: var(--accent-angular); box-shadow: 0 0 15px rgba(221, 0, 49, 0.3); }
.dot-2 { border-color: var(--primary-color); box-shadow: 0 0 15px rgba(99, 102, 241, 0.3); }
.dot-3 { border-color: var(--accent-python); box-shadow: 0 0 15px rgba(250, 204, 21, 0.3); }
.dot-4 { border-color: var(--accent-net); box-shadow: 0 0 15px rgba(81, 43, 212, 0.3); }
.dot-5 { border-color: var(--accent-ai); box-shadow: 0 0 15px rgba(6, 182, 212, 0.3); }
.dot-6 { border-color: var(--accent-harness); box-shadow: 0 0 15px rgba(139, 92, 246, 0.3); }

.timeline-content {
    padding: 2rem;
    border-radius: 16px;
    position: relative;
    transition: transform 0.3s;
}

.timeline-content:hover {
    transform: translateX(10px);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.tagline {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.task-list {
    margin-top: 1.5rem;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.task-list li {
    margin-bottom: 0.5rem;
}
.task-list li strong, .task-list li code, .task-list li em {
    color: var(--text-primary);
}

/* Ecosystem */
.ecosystem-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem;
    border-radius: 20px;
    margin: 0 auto;
    max-width: 1100px;
    flex-wrap: wrap;
    gap: 1rem;
}

.ecosystem-column {
    flex: 1;
    min-width: 180px;
}

.eco-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.highlight-angular { color: var(--accent-angular); }
.highlight-net { color: var(--accent-net); }
.highlight-python { color: var(--accent-python); }
.highlight-harness { color: var(--accent-harness); }

.ecosystem-column p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
}

.ecosystem-connector {
    flex: 0.5;
    height: 2px;
    background: rgba(255,255,255,0.1);
    position: relative;
    min-width: 30px;
}

.moving-dot-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.moving-dot {
    width: 8px;
    height: 8px;
    background: var(--text-primary);
    border-radius: 50%;
    position: absolute;
    top: -3px;
    left: 0;
    box-shadow: 0 0 10px #fff;
    animation: moveAcross 2s infinite linear;
}

@keyframes moveAcross {
    0% { left: 0%; opacity: 0;}
    10% { opacity: 1;}
    90% { opacity: 1;}
    100% { left: 100%; opacity: 0;}
}

/* CTA & Footer */
.cta-section {
    padding: 6rem 0;
}

.cta-box {
    padding: 4rem 2rem;
    border-radius: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-box p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

footer {
    padding: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Utilities for JS Animation */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Academias Oficiais Block
   ========================================= */

.academias-bloco {
    margin-bottom: 4rem;
    padding: 2.5rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(99,102,241,0.06) 0%, rgba(139,92,246,0.06) 100%);
    border: 1px solid rgba(99,102,241,0.15);
}

.academias-titulo {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.academias-sub {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.75rem;
}

.academias-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

.academia-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
}

.academia-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

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

.academia-openai .academia-logo { background: rgba(16,163,127,0.12); color: #10a37f; border: 1px solid rgba(16,163,127,0.25); }
.academia-anthropic .academia-logo { background: rgba(210,140,100,0.12); color: #d28c64; border: 1px solid rgba(210,140,100,0.25); }
.academia-microsoft .academia-logo { background: rgba(0,120,212,0.12); color: #0078d4; border: 1px solid rgba(0,120,212,0.25); }

.academia-openai:hover { border-color: rgba(16,163,127,0.35); }
.academia-anthropic:hover { border-color: rgba(210,140,100,0.35); }
.academia-microsoft:hover { border-color: rgba(0,120,212,0.35); }
.academia-google:hover { border-color: rgba(66,133,244,0.35); }
.academia-google .academia-logo { background: rgba(66,133,244,0.1); border: 1px solid rgba(66,133,244,0.25); }
.academia-google .academia-provider { color: #4285F4; }

.academia-info {
    flex: 1;
    min-width: 0;
}

.academia-provider {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 0.3rem;
}

.academia-openai .academia-provider { color: #10a37f; }
.academia-anthropic .academia-provider { color: #d28c64; }
.academia-microsoft .academia-provider { color: #0078d4; }

.academia-info h4 {
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    margin-bottom: 0.35rem;
    line-height: 1.2;
}

.academia-info p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.academia-arrow {
    flex-shrink: 0;
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: transform 0.2s ease, color 0.2s ease;
    margin-left: 0.5rem;
}

.academia-card:hover .academia-arrow {
    transform: translateX(4px);
    color: var(--text-primary);
}

/* =========================================
   Recursos PT-BR Block
   ========================================= */

/* Variáveis locais BR */
:root {
    --br-green:  #009c3b;
    --br-yellow: #ffdf00;
}

.ptbr-bloco {
    margin-bottom: 4rem;
    padding: 2.5rem;
    border-radius: 20px;
    /* Glassmorphism base + paleta BR */
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 156, 59, 0.3);
    box-shadow: var(--glass-shadow),
                0 0 40px rgba(0, 156, 59, 0.06);
    position: relative;
    overflow: hidden;
}

/* Faixa decorativa topo — verde/amarelo da bandeira */
.ptbr-bloco::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--br-green) 0%, var(--br-yellow) 50%, var(--br-green) 100%);
    border-radius: 20px 20px 0 0;
}

.ptbr-titulo {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}

.ptbr-sub {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.ptbr-grupo {
    margin-bottom: 2.5rem;
}

.ptbr-grupo:last-child {
    margin-bottom: 0;
}

/* Linha separadora de seção com gradiente BR */
.ptbr-grupo-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--br-yellow);
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255, 223, 0, 0.25);
    width: 100%;
}

.ptbr-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

/* Cards herdam glassmorphism via classe HTML + overrides */
.ptbr-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
}

.ptbr-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0,156,59,0.05) 0%, rgba(255,223,0,0.04) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.ptbr-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.4),
                0 0 20px rgba(0, 156, 59, 0.12);
    border-color: rgba(0, 156, 59, 0.4);
}

.ptbr-card:hover::after {
    opacity: 1;
}

.ptbr-card-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.ptbr-flag {
    display: inline-block;
    flex-shrink: 0;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.4);
    line-height: 0;
    vertical-align: middle;
}

.ptbr-card h4 {
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

.ptbr-card p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
    flex-grow: 1;
}

/* Link indicator herda trilha-link mas fica verde no hover */
.ptbr-card .trilha-link {
    color: rgba(0, 156, 59, 0.8);
}

.ptbr-card:hover .trilha-link {
    color: var(--br-yellow);
}

/* =========================================
   Trilha Section — Recursos & Materiais
   ========================================= */

.trilha-section {
    background: transparent;
}

.trilha-intro {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 720px;
    margin: 0 auto 4rem;
    line-height: 1.7;
}

.trilha-fase {
    margin-bottom: 4rem;
    border-left: 3px solid var(--glass-border);
    padding-left: 2rem;
    transition: border-color 0.3s ease;
}

.trilha-fase:hover {
    border-color: var(--primary-color);
}

.trilha-fase-header {
    margin-bottom: 1.5rem;
}

.trilha-fase-header h3 {
    font-size: 1.6rem;
    margin: 0.5rem 0 0.4rem;
    color: var(--text-primary);
}

.trilha-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* Phase badges */
.trilha-badge {
    display: inline-block;
    padding: 0.25rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-angular { background: rgba(221, 0, 49, 0.15); color: var(--accent-angular); border: 1px solid rgba(221,0,49,0.3); }
.badge-net     { background: rgba(81, 43, 212, 0.15); color: var(--accent-net);     border: 1px solid rgba(81,43,212,0.3); }
.badge-python  { background: rgba(250, 204, 21, 0.15); color: var(--accent-python);  border: 1px solid rgba(250,204,21,0.3); }
.badge-ai      { background: rgba(6, 182, 212, 0.15);  color: var(--accent-ai);      border: 1px solid rgba(6,182,212,0.3); }
.badge-harness { background: rgba(139, 92, 246, 0.15); color: var(--accent-harness); border: 1px solid rgba(139,92,246,0.3); }

/* Language flag row inside trilha-card */
.card-lang-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.1rem;
}

.lang-flag {
    display: inline-block;
    flex-shrink: 0;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.5);
    line-height: 0;
    vertical-align: middle;
}

/* Cards grid */
.trilha-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.trilha-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.trilha-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99,102,241,0.07) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trilha-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    border-color: rgba(255,255,255,0.18);
}

.trilha-card:hover::before {
    opacity: 1;
}

.trilha-card h4 {
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.trilha-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    flex-grow: 1;
}

/* Resource type tags */
.trilha-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-video  { background: rgba(239, 68, 68, 0.15);  color: #f87171; }
.tag-doc    { background: rgba(99, 102, 241, 0.15); color: #a5b4fc; }
.tag-curso  { background: rgba(6, 182, 212, 0.15);  color: var(--accent-ai); }
.tag-tool   { background: rgba(250, 204, 21, 0.15); color: var(--accent-python); }

/* Free badge */
.trilha-card-free {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.65rem;
    font-weight: 700;
    color: #4ade80;
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.25);
    border-radius: 4px;
    padding: 0.15rem 0.45rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Link indicator */
.trilha-link {
    font-size: 0.78rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: auto;
    padding-top: 0.5rem;
    transition: color 0.2s;
}

.trilha-card:hover .trilha-link {
    color: var(--accent-harness);
}

/* =========================================
   Hamburger Menu Button
   ========================================= */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.4rem;
    background: none;
    border: none;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Overlay */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 14, 20, 0.97);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav.open {
    display: flex;
    opacity: 1;
}

.mobile-nav a {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.mobile-nav a:hover { color: var(--accent-harness); }

.mobile-nav .btn {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    margin-top: 0.5rem;
}

/* =========================================
   Responsive — Tablet (≤ 1024px)
   ========================================= */
@media (max-width: 1024px) {
    /* Navbar */
    .navbar {
        padding: 1rem 2rem;
    }
    .navbar .btn-primary { display: none; }
    .nav-links { display: none; }
    .hamburger { display: flex; }

    /* Hero */
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    .hero-content {
        padding-left: 0;
        margin-bottom: 4rem;
    }
    .hero-cta { justify-content: center; }
    .hero-title { font-size: 2.8rem; }

    /* Ecosystem */
    .ecosystem-connector { display: none; }
    .ecosystem-container { flex-direction: column; gap: 1.5rem; }
    .ecosystem-column { text-align: center; }

    /* Academias */
    .academias-cards { grid-template-columns: 1fr 1fr; }

    /* PT-BR */
    .ptbr-cards { grid-template-columns: 1fr 1fr; }

    /* Trilha fases */
    .trilha-cards { grid-template-columns: 1fr 1fr; }

    /* Section spacing */
    .section { padding: 4rem 0; }
    .section-title { font-size: 2rem; }
}

/* =========================================
   Responsive — Mobile (≤ 768px)
   ========================================= */
@media (max-width: 768px) {
    /* Container */
    .container { padding: 0 1.25rem; }

    /* Typography */
    .hero-title { font-size: 2.2rem; line-height: 1.15; }
    .hero-subtitle { font-size: 1rem; }
    .section-title { font-size: 1.75rem; }

    /* Hero */
    .hero-section { padding-top: 100px; }
    .hero-cta { flex-direction: column; align-items: center; gap: 0.75rem; }
    .hero-cta .btn { width: 100%; max-width: 320px; text-align: center; }
    .floating-cards { display: none; }

    /* Roadmap Timeline */
    .timeline::before { left: 16px; }
    .timeline-item { padding-left: 60px; margin-bottom: 2.5rem; }
    .timeline-dot { left: 0; width: 36px; height: 36px; font-size: 0.85rem; }
    .timeline-content { padding: 1.25rem; }
    .timeline-content h3 { font-size: 1.2rem; }
    .timeline-content:hover { transform: none; }

    /* Academias */
    .academias-bloco { padding: 1.5rem; }
    .academias-cards { grid-template-columns: 1fr; }
    .academia-card { padding: 1.25rem; }
    .academia-logo { width: 46px; height: 46px; }

    /* PT-BR */
    .ptbr-bloco { padding: 1.5rem; }
    .ptbr-cards { grid-template-columns: 1fr; }

    /* Trilha */
    .trilha-fase { padding-left: 1rem; }
    .trilha-fase-header h3 { font-size: 1.3rem; }
    .trilha-cards { grid-template-columns: 1fr; }
    .trilha-intro { font-size: 1rem; }

    /* Ecosystem */
    .ecosystem-container { padding: 1.5rem; }

    /* CTA */
    .cta-box { padding: 2.5rem 1.5rem; }
    .cta-box h2 { font-size: 1.8rem; }
    .cta-btn { width: 100%; max-width: 320px; }

    /* Section spacing */
    .section { padding: 3rem 0; }
    .section-title { margin-bottom: 2rem; }
}

/* =========================================
   Responsive — Small Mobile (≤ 480px)
   ========================================= */
@media (max-width: 480px) {
    .hero-title { font-size: 1.85rem; }
    .section-title { font-size: 1.5rem; }
    .navbar .logo { font-size: 1.2rem; }

    /* Timeline */
    .timeline::before { display: none; }
    .timeline-item { padding-left: 0; }
    .timeline-dot { position: static; margin-bottom: 1rem; }

    /* Academias */
    .academia-card { flex-direction: column; align-items: flex-start; }
    .academia-arrow { display: none; }

    /* Buttons */
    .btn { padding: 0.75rem 1.4rem; font-size: 0.9rem; }

    /* Bloco spacings */
    .academias-bloco,
    .ptbr-bloco { padding: 1.25rem; border-radius: 14px; }
    .trilha-fase { border-left: 2px solid var(--glass-border); }
}
