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

:root {
    --bg: #080B10;
    --surface: #0F1318;
    --card: #141920;
    --border: rgba(255, 255, 255, 0.07);
    --accent: #38b6ff;
    --accent2: #8c52ff;
    --primary: #6e35d1;
    --primary-dark: #4c17b9;
    --odd: #38b6ff;
    --even: #6e35d1;
    --text: #F0F2F5;
    --muted: #8A909C;
    --font-display: 'Sora', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-display);
    line-height: 1.6;
    overflow-x: hidden;
}

.page-container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}



.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(8, 11, 16, 0.4) 0%, rgba(8, 11, 16, 0.85) 100%);
    z-index: 1;
}

#home>*:not(.hero-video):not(.hero-overlay):not(.hero-grid):not(.hero-glow) {
    position: relative;
    z-index: 2;
}

.hero-grid {
    z-index: 0;
}

.hero-glow {
    z-index: 0;
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 max(5%, calc((100% - 1280px) / 2));
    height: 64px;
    background: rgba(8, 11, 16, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: color 0.2s;
}

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

/* HERO */
#home {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 5% 80px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(110, 53, 209, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(110, 53, 209, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(110, 53, 209, 0.18) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
    border: 1px solid rgba(56, 182, 255, 0.3);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 28px;
    letter-spacing: 0.06em;
}

.hero-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
}

h1.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    position: relative;
}

h1.hero-title span {
    color: var(--accent);
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto 40px;
    font-weight: 400;
}

.hero-socials {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-family: var(--font-display);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

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

.btn-accent {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
}

.btn-accent:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-yt {
    background: #FF0000;
    color: #fff;
}

.btn-yt:hover {
    background: #cc0000;
    transform: translateY(-1px);
}

/* SECTIONS COMMON */
section {
    padding: 100px max(5%, calc((100% - 1280px) / 2));
}

.section-label {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-label::after {
    content: '';
    flex: 1;
    max-width: 60px;
    height: 2px;
    background: var(--accent);
    opacity: 1;
    border-radius: 2px;
}

h2.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 20px;
}

h2.section-title span {
    color: var(--accent);
}

.section-desc {
    color: var(--muted);
    font-size: 1rem;
    max-width: 560px;
    line-height: 1.7;
}


.btn-yt-hero {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: #FF0000;
    color: #fff;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 12px;
    transition: all 0.2s;
    margin-top: 8px;
}

.btn-yt-hero:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 0, 0, 0.3);
}

.yt-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.yt-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 2px;
}

.yt-label {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

.yt-sub {
    font-size: 0.72rem;
    opacity: 0.85;
    font-weight: 400;
    font-family: var(--font-mono);
    letter-spacing: 0.02em;
}


.canal-tipos {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.canal-tipo {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: border-color 0.2s;
}

.canal-tipo:hover {
    border-color: rgba(110, 53, 209, 0.4);
}

.canal-tipo-icon {
    font-size: 1.4rem;
    line-height: 1;
    margin-top: 2px;
    flex-shrink: 0;
}

.canal-tipo-title {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.canal-tipo-desc {
    font-size: 0.8rem;
    color: var(--muted);
}

/* CANAL */
#canal {
    background: var(--surface);
}

.canal-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}


.video-placeholder {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--card);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 0.9rem;
    font-family: var(--font-mono);
    letter-spacing: 0.05em;
}

.video-embed {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    padding-top: 56.25%;
    background: #0F1318;
    border: 1px solid var(--border);
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.canal-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FF4444;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    margin: 24px 0 16px;
    transition: opacity 0.2s;
}

.canal-cta:hover {
    opacity: 0.75;
}

/* CREATORS */
#creators {
    text-align: center;
}

.creator-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 48px;
}

.creator-avatar-lg {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    object-fit: cover;
    background: var(--card);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2535, #0f1318);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.avatar-initials {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-mono);
}

.creator-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 16px;
}

.creator-role {
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 4px;
}

.creators-grid {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.creator-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.creator-avatar-sm {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    background: var(--card);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: border-color 0.2s;
}

.creator-card:hover .creator-avatar-sm {
    border-color: var(--primary);
}

.creator-card-name {
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 600;
}

.creator-card-role {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 2px;
}

/* COMUNIDADE */
#comunidade {
    background: var(--surface);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin: 48px 0;
}

.stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: border-color 0.2s;
}

.stat-card:hover {
    border-color: rgba(110, 53, 209, 0.8);
    border-width: 2px;
}

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--accent);
}

.stat-label {
    font-size: 0.82rem;
    color: var(--muted);
    margin-top: 6px;
    line-height: 1.4;
}

/* SPEECHES / VÍDEOS */
.videos-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 36px;
}

.speeches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
}

.speech-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s;
    cursor: pointer;
}

.speech-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 182, 255, 0.9);
    border-width: 2px;
}

.speech-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #141920, #1c2535);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    position: relative;
    overflow: hidden;
}

.speech-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.5));
}

.speech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.speech-tag {
    font-family: var(--font-mono);
    font-size: 0.63rem;
    padding: 3px 10px;
    border-radius: 100px;
    display: inline-block;
    letter-spacing: 0.08em;
    font-weight: 700;
    border: 1px solid transparent;
    color: #ffffff !important;
}

.tag-carreira {
    color: #fff;
    background: #d97706;
    border-color: transparent;
}

.tag-ia {
    color: #fff;
    background: #7c3aed;
    border-color: transparent;
}

.tag-android {
    color: #fff;
    background: #059669;
    border-color: transparent;
}

.tag-flutter {
    color: #fff;
    background: #0284c7;
    border-color: transparent;
}

.tag-ios {
    color: #fff;
    background: #db2777;
    border-color: transparent;
}

.tag-kotlin {
    color: #fff;
    background: #ea580c;
    border-color: transparent;
}

.tag-obs {
    color: #fff;
    background: #6d28d9;
    border-color: transparent;
}

.speech-info {
    padding: 16px;
}

.speech-title {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 6px;
}

.speech-event {
    font-size: 0.78rem;
    color: var(--muted);
}

/* INICIATIVAS */
#iniciativas {
    background: var(--bg);
}

.iniciativas-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 48px;
}

.iniciativa-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    transition: border-color 0.2s;
    min-height: 260px;
}

.iniciativa-card:hover {
    border-color: var(--accent);
    border-width: 2px;
}

.iniciativa-info {
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    border-right: 1px solid var(--border);
}

.iniciativa-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--accent);
    border: 1px solid rgba(56, 182, 255, 0.3);
    padding: 3px 10px;
    border-radius: 100px;
    display: inline-block;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    width: fit-content;
}

.iniciativa-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.iniciativa-desc {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.5;
}

.iniciativa-media {
    width: 420px;
    flex-shrink: 0;
    background: #0a0e14;
    display: block;
    border-left: 2px solid var(--accent);
    border-radius: 0 14px 14px 0;
    overflow: hidden;
    position: relative;
}

.iniciativa-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    inset: 0;
}

.media-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.75rem;
    font-family: var(--font-mono);
    letter-spacing: 0.06em;
}

.media-placeholder-icon {
    font-size: 1.8rem;
    opacity: 0.5;
}

.spotify-player {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.media-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.75rem;
    font-family: var(--font-mono);
    letter-spacing: 0.06em;
}

.media-placeholder-icon {
    font-size: 1.8rem;
    opacity: 0.5;
}

.spotify-player {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

/* FOOTER */
footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 60px max(5%, calc((100% - 1280px) / 2)) 40px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
}

.footer-logo span {
    color: var(--accent);
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.2s;
    color: var(--muted);
}

.social-link:hover {
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-size: 0.82rem;
    color: var(--muted);
}

.footer-email {
    font-size: 0.82rem;
    color: var(--accent);
    text-decoration: none;
}


/* Seções pares → roxo */
.even-section .section-label {
    color: var(--even);
}

.even-section .section-label::after {
    background: var(--even);
}

.even-section h2.section-title span {
    color: var(--even);
}

.even-section .canal-cta {
    color: #FF4444;
}

.even-section .stat-num {
    color: var(--even);
}

.even-section .stat-card:hover {
    border-color: rgba(110, 53, 209, 0.9);
    border-width: 2px;
}

.even-section .speech-tag {
    color: var(--even);
    border-color: rgba(110, 53, 209, 0.4);
}

.even-section .speech-card:hover {
    border-color: rgba(110, 53, 209, 0.9);
    border-width: 2px;
}

/* Seções ímpares → azul */
.odd-section .section-label {
    color: var(--odd);
}

.odd-section .section-label::after {
    background: var(--odd);
}

.odd-section h2.section-title span {
    color: var(--odd);
}

.odd-section .creator-avatar-lg {
    border-color: var(--odd);
}

.odd-section .avatar-initials {
    color: var(--odd);
}

.odd-section .creator-card:hover .creator-avatar-sm {
    border-color: var(--odd);
}





.libs-wrapper {
    margin-top: 48px;
    overflow: hidden;
}

.libs-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.libs-tab {
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: #8A909C;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-mono);
    letter-spacing: 0.04em;
}

.libs-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.libs-tab:hover:not(.active) {
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--text);
}

.libs-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px;
    overflow: hidden;
}

.libs-info {}

.libs-lang {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: #8A909C;
    font-family: var(--font-mono);
    margin-bottom: 12px;
}

.libs-lang-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #7C52FF;
    display: inline-block;
}

.libs-lang-dot.dart {
    background: #00B4AB;
}

.libs-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
}

.libs-title a {
    color: var(--accent);
    text-decoration: none;
}

.libs-title a:hover {
    text-decoration: underline;
}

.libs-desc {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.libs-stats {
    display: flex;
    gap: 20px;
}

.libs-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--muted);
    font-family: var(--font-mono);
}

.libs-media {
    aspect-ratio: 16/9;
    min-height: 160px;
    background: #0a0e14;
    border: 2px solid var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 0.72rem;
    font-family: var(--font-mono);
    letter-spacing: 0.06em;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .libs-content {
        grid-template-columns: 1fr;
    }
}

/* ANIMATIONS */
.fade-in {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.hidden {
    opacity: 0;
    transform: translateY(24px);
}

.fade-in.visible {
    opacity: 1;
    transform: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .canal-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .nav-links {
        display: none;
    }

    .videos-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .libs-content {
        grid-template-columns: 1fr;
    }

    .libs-media {
        min-height: 200px;
    }

    .speeches-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .iniciativa-card {
        flex-direction: column;
        min-height: unset;
    }

    .iniciativa-info {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 20px;
    }

    .iniciativa-media {
        width: 100%;
        height: 220px;
        border-radius: 0 0 14px 14px;
        border-left: none;
        border-top: 2px solid var(--accent);
    }
}

/* DIVIDER */
.divider {
    height: 1px;
    background: var(--border);
    margin: 0 5%;
}

/* SCROLL INDICATOR */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.72rem;
    font-family: var(--font-mono);
    letter-spacing: 0.1em;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(6px);
    }
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--muted), transparent);
}