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

body {
    background: #0d0d0d;
    color: white;
    font-family: 'Poppins', sans-serif;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease;
}

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

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    height: 80px;
}

.logo {
    font-weight: 700;
    font-size: 20px;
    color: #6dbd00;
}

.logo-img {
    height: 100%;
    max-height: 100px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    align-items: center;
}

nav a {
    margin: 0 20px;
    text-decoration: none;
    color: #cccccc;
    font-weight: 500;
}

.nav-btn {
    background: linear-gradient(90deg, #6dbd00, #4a8a00);
    padding: 10px 20px;
    border-radius: 6px;
    color: white;
    font-weight: 600;
}

.menu-toggle {
    margin-bottom: 10px;
    display: none;
    font-size: 28px;
    cursor: pointer;
}

.hero-text {
    max-width: 550px;
}

.hero-text h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 30px;
}

.hero-text p {
    font-size: 16px;
    color: #cccccc;
    margin-bottom: 30px;
    border-left: 4px solid #6dbd00;
    padding-left: 15px;
}

.hero-btn {
    background: linear-gradient(90deg, #6dbd00, #4a8a00);
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    display: inline-block;
}

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 80px 8%;
    color: white;
    background: url("https://cdn.prod.website-files.com/5f22d3200e71bc31364b77b1/60f9b408ae9b9a3407299baf_Programa%C3%A7%C3%A3o%20para%20microcontroladores.jpg")
                center/cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(13, 13, 13, 0.95) 30%,
        rgba(74, 138, 0, 0.5)
    );
    z-index: 0;
}

.hero-text {
    position: relative;
    z-index: 1;
    max-width: 550px;
}

.parceiros {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0d0d0d;
    padding: 120px 8%;
}

.parceiros-content {
    text-align: center;
}

.parceiros-content h1 {
    font-size: 60px;
    margin-bottom: 50px;
}

.parceiros-logos a {
    width: 200px;
    height: 120px;
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 12px;
    display: inline-block;
    transition: 0.3s;
}

.parceiros-logos a:hover {
    transform: scale(1.05);
    background-color: #2a2a2a;
    border: 1px solid #6dbd00;
}

.parceiros-logos img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.parceiros-logos img.logo-redonda {
    transform: scale(1.1);
}

.parceiros-text {
    max-width: 550px;
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 75%;
        background: #0d0d0d;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        z-index: 99999;
    }

    .nav.active {
        right: 0;
    }

    .nav a {
        margin: 20px 0;
        font-size: 20px;
    }
    
    .menu-toggle {
        display: block;
        z-index: 100000;
    }
}
