/* ======== GERAL ======== */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    overflow-x: hidden;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px; /* ← diminui um pouco para equilibrar no mobile */
    position: sticky;
    top: 0;
    background: rgba(1, 10, 32, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #38bdf8;
    letter-spacing: 1px;
    margin-left: 20px;
}

/* ======== MENU ======== */
nav ul.menu {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover,
nav a.active {
    color: #38bdf8;
}

/* ======== SEÇÃO PRINCIPAL ======== */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 20px;
    text-align: center;
    min-height: 100vh;
}

.intro {
    max-width: 700px;
    margin-bottom: 50px;
}

.intro h1 {
    font-size: 2.5rem;
    margin: 0;
}

.highlight {
    color: #f43f5e;
}

.highlight2 {
    color: #22d3ee;
}

/* ======== CARDS ======== */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 90%;
    max-width: 800px;
}

.card {
    background: rgba(15, 4, 76, 0.4);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.15);
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 35px rgba(56, 189, 248, 0.3);
}

.card h2 {
    color: #38bdf8;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card h3 {
    color: #ccc;
    font-weight: 500;
    margin-bottom: 10px;
}

.card p {
    color: #d1d5db;
    line-height: 1.6;
}

/* ======== MENU HAMBÚRGUER ======== */
.menu-toggle {
    display: block;
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    height: 17px;
    width: 28px;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: #38bdf8;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ======== MOBILE ======== */
@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
        margin-right: 30px;
    }

    nav ul.menu {
        position: absolute;
        top: 70px;
        right: 20px;
        background: rgba(2, 20, 102, 0.95);
        border-radius: 12px;
        padding: 18px 22px;
        flex-direction: column;
        gap: 14px;
        box-shadow: 0 10px 25px rgba(2, 20, 102, 0.);
        z-index: 1000;
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: all 0.35s ease;
    }

    nav ul.menu.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translateY(8px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-8px);
    }

    nav ul.menu li a {
        color: #fff;
        font-size: 1.05rem;
    }

    .hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 40px 25px;
    }

    .intro h1 {
        font-size: 2rem;
    }

    .card {
        padding: 20px;
    }
}