/* ======== BASE ======== */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: radial-gradient(circle at top left, #05021d, #08025c);
    color: #fff;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ======== ANIMAÇÕES DE SCROLL ======== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ======== HEADER ======== */
header {
    width: 100%;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    transition: all 0.4s ease;
    background-color: transparent;
    padding:  0px;
    position: sticky; /* começa transparente */
}


.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #38bdf8;
    letter-spacing: 1px;
}

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;
    font-weight: 600;
    border-bottom: 2px solid #38bdf8;
    padding-bottom: 3px;
}

/* ======== HERO ======== */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 80px;
    gap: 60px;
    min-height: 100vh;
}

.intro {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.intro img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.3);
    margin-bottom: 20px;
}

.intro h1 {
    font-size: 2.8rem;
    margin: 0;
}

.highlight {
    color: #f43f5e;
    font-weight: 700;
}

.highlight2 {
    color: #22d3ee;
    font-weight: 700;
}

p {
    color: #94a3b8;
    margin-top: 10px;
    font-size: 1rem;
    line-height: 1.6;
}

.buttons {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn-primary {
    background: #38bdf8;
    color: #0f172a;
}

.btn-secondary {
    background: transparent;
    border: 2px solid #38bdf8;
    color: #38bdf8;
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 0 15px rgba(56,189,248,0.4);
}

/* ======== SOCIAL ======== */
.social {
    margin-top: 30px;
}
.social img {
    width: 50px;
    height: 50px;
    filter: brightness(0) invert(1);
    transition: 0.3s;
}
.social img:hover {
    transform: scale(1.2);
    filter: brightness(1) invert(0.2);
}

/* ======== MENU HAMBÚRGUER ======== */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
}
.menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: #38bdf8;
    border-radius: 3px;
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* ======== MOBILE ======== */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 40px 25px;
    }

    .intro {
        width: 100%;
        align-items: center;
    }

    .intro img {
        width: 160px;
        height: 160px;
    }

    /* menu mobile */
    .menu-toggle {
        display: block;
    }

    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: 16px;
        box-shadow: 0 10px 30px rgba(2, 20, 102, 0.6);
        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;
    }

    /* Ícone X */
    .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;
    }
        .social img {
        width: 80px;
        height: 80px;
        filter: brightness(0) invert(1);
        transition: 0.3s;
    }
}

@media (max-width: 768px) {

    .social img {
        width: 80px;
        height: 80px;
        filter: brightness(0) invert(1);
        transition: 0.3s;
    }
}