:root {
    --bg: #08111f;
    --bg-soft: rgba(255, 255, 255, 0.06);
    --card: rgba(11, 19, 35, 0.84);
    --stroke: rgba(255, 255, 255, 0.12);
    --text: #f5f7fb;
    --muted: #b7c1d1;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    --radius: 28px;
}

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

html,
body {
    min-height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(68, 102, 255, 0.22), transparent 35%),
        radial-gradient(circle at bottom right, rgba(0, 209, 178, 0.16), transparent 30%),
        linear-gradient(135deg, #07101d 0%, #0c1630 55%, #07101d 100%);
    color: var(--text);
    position: relative;
    overflow-x: hidden;
}

.bg-shape {
    position: fixed;
    border-radius: 999px;
    filter: blur(10px);
    opacity: 0.55;
    pointer-events: none;
}

.shape-1 {
    width: 260px;
    height: 260px;
    top: 80px;
    left: -80px;
    background: linear-gradient(135deg, rgba(116, 90, 255, 0.65), rgba(0, 198, 255, 0.20));
}

.shape-2 {
    width: 320px;
    height: 320px;
    right: -90px;
    bottom: 40px;
    background: linear-gradient(135deg, rgba(0, 255, 174, 0.25), rgba(0, 132, 255, 0.35));
}

.hero-wrap {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 56px 0 72px;
    position: relative;
    z-index: 2;
}

.hero {
    text-align: center;
    margin-bottom: 34px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #d9e3f5;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 16px;
}

.hero-text {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--muted);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.project-card {
    min-height: 390px;
    padding: 28px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent 42%, rgba(255,255,255,0.04));
    pointer-events: none;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
}

.project-card.lideranca {
    background:
        radial-gradient(circle at top right, rgba(92, 95, 255, 0.22), transparent 32%),
        linear-gradient(180deg, rgba(18, 29, 58, 0.96), rgba(8, 14, 30, 0.94));
}

.project-card.educacao {
    background:
        radial-gradient(circle at top right, rgba(0, 213, 165, 0.16), transparent 32%),
        linear-gradient(180deg, rgba(14, 34, 48, 0.96), rgba(8, 18, 26, 0.94));
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 26px;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #ecf2ff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.10);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.card-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 12px;
}

.card-content h3 {
    font-size: 1.02rem;
    line-height: 1.5;
    color: #dde7fa;
    font-weight: 600;
    margin-bottom: 16px;
}

.card-content p {
    font-size: 0.98rem;
    line-height: 1.8;
    color: var(--muted);
}

.card-footer {
    margin-top: 28px;
}

.btn-project {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    padding: 14px 20px;
    border-radius: 18px;
    text-decoration: none;
    color: #0b1120;
    background: linear-gradient(135deg, #ffffff 0%, #dbe7ff 100%);
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 14px 30px rgba(160, 194, 255, 0.20);
}

.btn-project:hover {
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .hero-wrap {
        width: min(100% - 20px, 1180px);
        padding: 28px 0 44px;
    }

    .hero {
        margin-bottom: 24px;
    }

    .hero-text {
        font-size: 0.96rem;
        line-height: 1.7;
    }

    .project-card {
        padding: 22px;
        border-radius: 24px;
    }

    .card-top {
        margin-bottom: 20px;
    }

    .icon-wrap {
        width: 52px;
        height: 52px;
        border-radius: 16px;
    }

    .btn-project {
        min-height: 54px;
        border-radius: 16px;
    }
}
