:root {
    --black: #050505;
    --white: #ffffff;
    --blue: #3b82f6;
    --blue-dark: #1d4ed8;
    --gray: #888888;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== PROGRESS BAR ===== */
#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--white));
    z-index: 2000;
    transition: width 0.2s;
}

/* ===== HEADER COM EFEITO DE SHRINK ===== */
.navbar {
    position: fixed;
    top: 20px;
    width: 100%;
    padding: 0 20px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.shrink {
    top: 0;
    padding: 0;
}

.nav-container {
    width: 100%;
    max-width: 1100px;
    background: var(--glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border);
    padding: 20px 40px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar.shrink .nav-container {
    max-width: 100%;
    border-radius: 0;
    background: rgba(5, 5, 5, 0.486);
    backdrop-filter: blur(20px);
    border-left: var(--black);
    border-right: var(--black);
    border-top: var(--black);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar.shrink .logo {
    font-size: 1.2rem;
}

.navbar.shrink .btn-primary {
    padding: 8px 20px;
    font-size: 0.65rem;
}

.navbar.shrink .nav-links a {
    font-size: 0.7rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    transition: all 0.3s;
}

.logo span {
    background: linear-gradient(135deg, var(--white), var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a.active {
    color: var(--blue);
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding: 0 20px;
}

.glow-effect {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.badge {
    padding: 8px 20px;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: var(--glass);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 0.9;
    margin: 30px 0;
    letter-spacing: -4px;
}

.highlight {
    background: linear-gradient(135deg, var(--white), var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
    max-width: 100%;
}

.hero-subtitle {
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--gray);
    font-size: 1.1rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ===== BUTTONS ===== */
button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--white);
    color: var(--black);
    padding: 10px 25px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.7rem;
    transition: all 0.3s;
}

.btn-main {
    background: var(--blue);
    color: var(--white);
    padding: 20px 40px;
    border-radius: 15px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--white);
    padding: 20px 40px;
    border-radius: 15px;
    font-weight: 700;
}

.btn-main:hover {
    transform: scale(1.05);
    background: var(--blue-dark);
}

.btn-outline:hover {
    transform: scale(1.05);
    border-color: var(--blue);
    background: rgba(59, 130, 246, 0.1);
}

.curriculum-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px;
}

.curriculum-header {
    margin-bottom: 60px;
}

.curriculum-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.accent-line {
    width: 60px;
    height: 4px;
    background-color: var(--blue);
    margin-top: 16px;
    border-radius: 2px;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 48px;
    border-radius: 40px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-card:hover {
    border-color: var(--blue);
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.04);
}

.glass-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.glass-card p {
    color: var(--gray);
    line-height: 1.7;
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-weight: 800;
}

.icon-box svg {
    width: 24px;
    height: 24px;
}

.blue-soft {
    background-color: rgba(59, 130, 246, 0.15);
    color: var(--blue) !important; 
}

/* ===== GRID/BENTO SECTION ===== */
.grid-section {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.line {
    width: 50px;
    height: 4px;
    background: var(--blue);
    margin-bottom: 50px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 30px;
    transition: 0.4s;
}

.card:hover {
    border-color: var(--blue);
    transform: translateY(-10px);
}

.card-large {
    grid-column: span 2;
    position: relative;
}

.card-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(59, 130, 246, 0.2);
    position: absolute;
    top: 20px;
    right: 30px;
}

.card-blue {
    background: var(--blue-dark);
    color: white;
    border: none;
}

.card-white {
    background: var(--white);
    color: var(--black);
}

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.card p {
    color: var(--gray);
}

.card-white p {
    color: #444;
}

/* ===== FOOTER ===== */
.footer {
    padding: 100px 20px;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer h2 {
    font-size: 2rem;
    letter-spacing: -1px;
}

.footer-email {
    display: block;
    font-size: clamp(1.5rem, 5vw, 3rem);
    color: var(--white);
    text-decoration: none;
    margin: 40px 0;
    font-weight: 200;
    transition: color 0.3s;
}

.footer-email:hover {
    color: var(--blue);
}

.copyright {
    color: #333;
    font-size: 0.7rem;
    letter-spacing: 2px;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .card-large {
        grid-column: span 1;
    }

    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-main, .btn-outline {
        width: 100%;
        max-width: 300px;
    }

    .curriculum-container {
        padding: 80px 20px;
    }

    .curriculum-header h2 {
        font-size: 2rem;
    }

    .glass-card {
        padding: 32px;
    }

    .footer h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 3rem;
        letter-spacing: -2px;
    }

    .badge {
        font-size: 0.6rem;
    }

    .card h3 {
        font-size: 1.4rem;
    }
}