* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif
}

body {
    background: #000;
    color: #fff
}

header {
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(0, 0, 0, .7);
    backdrop-filter: blur(10px);
    z-index: 1000
}

header h1 {
    color: #00ff88
}

nav a {
    color: #fff;
    margin-left: 25px;
    text-decoration: none;
    position: relative
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #00ff88;
    left: 0;
    bottom: -5px;
    transition: .3s
}

nav a:hover::after {
    width: 100%
}

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

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

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #001a0d, #000)
}

.hero h2 {
    font-size: 52px;
    color: #00ff88
}

.hero p {
    margin-top: 10px;
    color: #ccc;
    font-size: 18px
}

.hero button {
    margin-top: 25px;
    padding: 14px 35px;
    border: none;
    background: #00ff88;
    color: #000;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: .3s
}

.hero button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px #00ff88
}

.section {
    padding: 100px 50px;
    max-width: 1200px;
    margin: auto
}

.section h3 {
    color: #00ff88;
    margin-bottom: 40px;
    font-size: 32px
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px
}

.card {
    position: relative;
    border-radius: 20px;
    background: #111;
    overflow: hidden;
    transition: .4s;
    border: 1px solid #1a1a1a
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    filter: brightness(.6);
    transition: .4s
}

.card-content {
    padding: 20px
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, #00ff88, transparent);
    opacity: 0;
    transition: .4s
}

.card:hover::before {
    opacity: .15
}

.card:hover img {
    filter: brightness(.9);
    transform: scale(1.05)
}

.card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 0 25px rgba(0, 255, 136, .4)
}

.card h4 {
    color: #00ff88;
    margin-bottom: 10px
}

.card p {
    color: #aaa;
    font-size: 14px
}

.badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 10px;
    border-radius: 20px;
    background: #00ff88;
    color: #000;
    font-size: 12px;
    font-weight: bold
}

.cta {
    text-align: center;
    margin-top: 60px
}

.cta button {
    padding: 15px 40px;
    background: #00ff88;
    color: #000;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: .3s
}

.cta button:hover {
    box-shadow: 0 0 25px #00ff88;
    transform: scale(1.1)
}

.process {
    position: relative;
    margin-top: 40px;
    padding-left: 30px;
    border-left: 2px solid #00ff88;
    max-width: 500px;
    margin-left: auto;
    /* joga pra direita */
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
}

.step-number {
    position: absolute;
    left: -18px;
    top: 0;
    background: #00ff88;
    color: #000;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-content {
    margin-left: 20px;
}

.step-content h4 {
    color: #00ff88;
    margin-bottom: 5px;
}

.step-content p {
    color: #aaa;
}

footer {
    text-align: center;
    padding: 30px;
    background: #111;
    color: #00ff88;
    margin-top: 50px
}

/* TECNOLOGIAS */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.tech-card {
    background: #111;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 1px solid #1a1a1a;
    transition: 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tech-card img {
    width: 50px;
    margin-bottom: 15px;
    transition: 0.3s;
}

.tech-card span {
    display: block;
    color: #ccc;
    font-size: 14px;
}

/* brilho animado */
.tech-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, #00ff88, transparent);
    opacity: 0;
    transition: 0.4s;
}

/* hover */
.tech-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.4);
    border-color: #00ff88;
}

.tech-card:hover::before {
    opacity: 0.15;
}

.tech-card:hover img {
    transform: scale(1.2) rotate(5deg);
}

/* ANIMAÇÃO DE ENTRADA */
.tech-card {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    animation: fadeUp 0.6s ease forwards;
}

/* delay em cascata */
.tech-card:nth-child(1) {
    animation-delay: 0.1s;
}

.tech-card:nth-child(2) {
    animation-delay: 0.2s;
}

.tech-card:nth-child(3) {
    animation-delay: 0.3s;
}

.tech-card:nth-child(4) {
    animation-delay: 0.4s;
}

.tech-card:nth-child(5) {
    animation-delay: 0.5s;
}

.tech-card:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* HOVER MAIS FORTE */
.tech-card {
    transition: 0.4s;
}

.tech-card:hover {
    transform: translateY(-15px) scale(1.08) rotate(-1deg);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
}

/* ANIMAÇÃO CONTÍNUA (RESPIRAÇÃO) */
.tech-card img {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* HOVER NA IMAGEM MAIS FORTE */
.tech-card:hover img {
    transform: scale(1.3) rotate(8deg);
}

/* MENU MOBILE */
.menu-toggle {
    display: none;
}

/* TABLET */
@media (max-width: 1024px) {
    header {
        padding: 15px 30px;
    }

    .hero h2 {
        font-size: 40px;
    }

    .section {
        padding: 80px 30px;
    }
}

/* CELULAR */
@media (max-width: 768px) {

    /* HEADER */
    header {
        padding: 15px 20px;
    }

    nav {
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background: #000;
        flex-direction: column;
        align-items: center;
        display: none;
        padding: 20px 0;
    }

    nav.active {
        display: flex;
    }

    nav a {
        margin: 10px 0;
    }

    .menu-toggle {
        display: block;
        font-size: 26px;
        color: #00ff88;
        cursor: pointer;
    }

    /* HERO */
    .hero {
        height: auto;
        padding: 150px 20px 60px;
    }

    .hero h2 {
        font-size: 30px;
    }

    .hero p {
        font-size: 16px;
    }

    /* SECTIONS */
    .section {
        padding: 60px 20px;
    }

    /* CARDS */
    .cards {
        grid-template-columns: 1fr;
    }

    .card img {
        height: 150px;
    }

    /* PROJETO DESTAQUE */
    section .section div[style] {
        flex-direction: column !important;
    }
}

/* CELULAR PEQUENO */
@media (max-width: 480px) {
    .hero h2 {
        font-size: 26px;
    }

    .hero button {
        padding: 10px 20px;
        font-size: 14px;
    }
}