﻿.smoke-reveal {
    position: relative;
    width: 100%;
    height: 100vh;
    background: radial-gradient(circle at center, #020617, #000);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.smoke-container {
    position: relative;
    width: min(90%, 1100px);
    aspect-ratio: 16 / 9;
}

/* IMAGEM */
.reveal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 2s ease, transform 2.5s ease;
    border-radius: 18px;
    z-index: 1;
}

/* Quando ativa */
.smoke-reveal.active .reveal-image {
    opacity: 1;
    transform: scale(1);
}

/* FUMAÇA */
.smoke {
    position: absolute;
    inset: -20%;
    filter: blur(80px);
    opacity: 0.9;
    animation: smokeMove 8s ease-in-out infinite;
    z-index: 2;
}

/* Azul */
.smoke-blue {
    background: radial-gradient(circle at 30% 40%, rgba(56,189,248,0.65), transparent 60%);
    animation-delay: 0s;
}

/* Rosa */
.smoke-pink {
    background: radial-gradient(circle at 70% 60%, rgba(236,72,153,0.6), transparent 60%);
    animation-delay: 1.5s;
}

/* Dissipação */
.smoke-reveal.active .smoke {
    animation: smokeFade 4s ease forwards;
}

/* MOVIMENTO ORGÂNICO */
@keyframes smokeMove {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-40px, -30px) scale(1.1);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* SUMIR */
@keyframes smokeFade {
    to {
        opacity: 0;
        transform: scale(1.3);
    }
}


.fire-reveal {
    position: relative;
    width: 100%;
    height: 100vh;
    background: radial-gradient(circle at center, #05050a, #000);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.fire-container {
    position: relative;
    width: min(90%, 1100px);
    aspect-ratio: 16 / 9;
}

/* IMAGEM */
.fire-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.06);
    filter: contrast(1.1);
    transition: opacity 1.8s ease, transform 2.4s ease;
    border-radius: 18px;
    z-index: 1;
}

.fire-reveal.active .fire-image {
    opacity: 1;
    transform: scale(1);
}

/* FOGO / FUMAÇA */
.fire {
    position: absolute;
    bottom: -35%;
    left: -30%;
    width: 160%;
    height: 160%;
    filter: blur(50px) contrast(1.8);
    opacity: 0.95;
    mix-blend-mode: screen;
    animation: fireRise 6s ease-in-out infinite;
    z-index: 2;
}

/* Azul */
.fire-blue {
    background: radial-gradient(circle at 40% 80%, rgba(56,189,248,0.95), transparent 55%), radial-gradient(circle at 60% 60%, rgba(14,165,233,0.8), transparent 60%);
}

/* Rosa */
.fire-pink {
    background: radial-gradient(circle at 55% 85%, rgba(236,72,153,0.9), transparent 55%), radial-gradient(circle at 45% 65%, rgba(219,39,119,0.75), transparent 60%);
    animation-delay: 1.2s;
}

/* Ativação → dissipação */
.fire-reveal.active .fire {
    animation: fireDissolve 4.5s ease forwards;
}

/* MOVIMENTO DE CHAMA */
@keyframes fireRise {
    0% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-120px) scale(1.15);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

/* SUMIR COMO FOGO */
@keyframes fireDissolve {
    to {
        opacity: 0;
        transform: translateY(-220px) scale(1.35);
        filter: blur(120px);
    }
}


.rocket-reveal {
    position: relative;
    width: 100%;
    height: 100vh;
    background: radial-gradient(circle at center, #05070f, #000);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.rocket-container {
    position: relative;
    width: min(92%, 1100px);
    aspect-ratio: 16 / 9;
}

/* IMAGEM */
.rocket-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: translateY(30px) scale(1.05);
    transition: opacity 2.2s ease, transform 2.8s ease;
    border-radius: 18px;
    z-index: 1;
}

.rocket-reveal.active .rocket-image {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* FUMAÇA BASE */
.smoke-cloud {
    position: absolute;
    bottom: -40%;
    left: 50%;
    width: 140%;
    height: 120%;
    transform: translateX(-50%);
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.95;
    z-index: 2;
    animation-timing-function: ease-out;
}

/* CAMADAS DE FUMAÇA */
.smoke-1 {
    background: radial-gradient( circle at center, rgba(180,200,220,0.9), rgba(80,100,140,0.6), transparent 70% );
}

.smoke-2 {
    background: radial-gradient( circle at center, rgba(160,180,255,0.85), rgba(100,120,200,0.6), transparent 75% );
}

.smoke-3 {
    background: radial-gradient( circle at center, rgba(255,180,220,0.8), rgba(200,100,160,0.55), transparent 75% );
}

/* ATIVAÇÃO */
.rocket-reveal.active .smoke-cloud {
    animation: rocketSmoke 4.5s forwards;
}

/* ANIMAÇÃO REALISTA */
@keyframes rocketSmoke {
    0% {
        transform: translateX(-50%) translateY(0) scale(0.6);
        opacity: 1;
    }

    40% {
        transform: translateX(-50%) translateY(-80px) scale(1.15);
        opacity: 0.9;
    }

    70% {
        transform: translateX(-50%) translateY(-160px) scale(1.35);
        opacity: 0.6;
    }

    100% {
        transform: translateX(-50%) translateY(-260px) scale(1.6);
        opacity: 0;
    }
}

.capabilities-section {
    background: radial-gradient(circle at top, #111827, #000);
    padding: 5rem 0;
}

.capabilities-box {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 2.5rem;
    border-radius: 24px;
    background: linear-gradient( 145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01) );
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
}

.capability-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 0;
    font-size: 1.05rem;
    color: #e5e7eb;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

    .capability-item:last-child {
        border-bottom: none;
    }

    .capability-item i {
        font-size: 1.4rem;
        color: #38bdf8;
        text-shadow: 0 0 14px rgba(56,189,248,0.6);
    }

    .capability-item span {
        line-height: 1.4;
    }

    /* hover sutil */
    .capability-item:hover {
        color: #ffffff;
    }

        .capability-item:hover i {
            transform: scale(1.1);
        }

.rpa-section {
    background: radial-gradient(circle at top, #0b1020, #000);
    padding: 5rem 0;
}

.rpa-header {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

    .rpa-header h2 {
        font-size: clamp(1.8rem, 3vw, 2.4rem);
        font-weight: 500;
        color: #f5f5f7;
        margin-bottom: 1rem;
    }

    .rpa-header p {
        font-size: 1.05rem;
        color: #a1a1aa;
        line-height: 1.6;
    }

.rpa-card {
    height: 100%;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    background: linear-gradient( 145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01) );
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    text-align: center;
    transition: all 0.35s ease;
}

    .rpa-card:hover {
        transform: translateY(-6px);
        border-color: rgba(56,189,248,0.4);
    }

    .rpa-card i {
        font-size: 2.6rem;
        margin-bottom: 1.2rem;
        color: #38bdf8;
        text-shadow: 0 0 18px rgba(56,189,248,0.6);
    }

    .rpa-card h5 {
        font-weight: 500;
        color: #f5f5f7;
        margin-bottom: 0.6rem;
    }

    .rpa-card p {
        font-size: 0.95rem;
        color: #a1a1aa;
        line-height: 1.5;
    }

.erpcrm-section {
    background: radial-gradient(circle at top, #0b1020, #000);
    padding: 6rem 0;
}

.erpcrm-header {
    max-width: 780px;
    margin: 0 auto 4rem;
    text-align: center;
}

    .erpcrm-header h2 {
        font-size: clamp(2rem, 3vw, 2.6rem);
        font-weight: 500;
        color: #f5f5f7;
        margin-bottom: 1rem;
    }

    .erpcrm-header p {
        font-size: 1.05rem;
        color: #a1a1aa;
        line-height: 1.6;
    }


.feature-group {
    padding: 2.5rem 2.2rem;
    border-radius: 22px;
    background: linear-gradient( 145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01) );
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    transition: all 0.35s ease;
}

    .feature-group:hover {
        transform: translateY(-6px);
        border-color: rgba(56,189,248,0.4);
    }

.feature-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

    .feature-title i {
        font-size: 1.8rem;
        color: #38bdf8;
        text-shadow: 0 0 16px rgba(56,189,248,0.6);
    }

    .feature-title h4 {
        font-weight: 500;
        color: #f5f5f7;
        margin: 0;
    }

.feature-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-group li {
    font-size: 0.95rem;
    color: #a1a1aa;
    padding: 0.4rem 0;
    line-height: 1.5;
}

    .feature-group li strong {
        color: #e5e7eb;
        font-weight: 500;
    }

.flow-section {
    background: radial-gradient(circle at center, #0b1020, #000);
    padding: 6rem 0;
}

.flow-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 4rem;
}

    .flow-header h2 {
        font-size: clamp(2rem, 3vw, 2.6rem);
        font-weight: 500;
        color: #f5f5f7;
    }

    .flow-header p {
        color: #a1a1aa;
        font-size: 1.05rem;
    }

/* DIAGRAMA */
.flow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

/* CARDS */
.flow-card {
    position: relative;
    width: 220px;
    height: 180px;
    background: linear-gradient( 145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015) );
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    padding: 2rem 1.5rem;
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease;
}

    .flow-card:hover {
        transform: translateY(-6px);
    }

    .flow-card i {
        font-size: 2.6rem;
        color: #38bdf8;
        text-shadow: 0 0 18px rgba(56,189,248,0.6);
        margin-bottom: 0.8rem;
    }

    .flow-card h4 {
        color: #f5f5f7;
        font-weight: 500;
        margin-bottom: 0.4rem;
    }

    .flow-card span {
        color: #a1a1aa;
        font-size: 0.95rem;
    }

/* LINHA DE FLUXO */
.flow-line {
    width: 80px;
    height: 2px;
    background: linear-gradient( 90deg, transparent, #38bdf8, transparent );
    position: relative;
    overflow: hidden;
}

    /* PARTÍCULA EM MOVIMENTO */
    .flow-line::after {
        content: "";
        position: absolute;
        top: -1px;
        left: -30px;
        width: 30px;
        height: 4px;
        background: #38bdf8;
        box-shadow: 0 0 12px #38bdf8;
        animation: flowMove 2.5s linear infinite;
    }

@keyframes flowMove {
    from {
        left: -30px;
    }

    to {
        left: 100%;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .flow-diagram {
        flex-direction: column;
    }

    .flow-line {
        width: 2px;
        height: 60px;
    }

        .flow-line::after {
            width: 4px;
            height: 30px;
            left: -1px;
            animation: flowMoveVertical 2.5s linear infinite;
        }

    @keyframes flowMoveVertical {
        from {
            top: -30px;
        }

        to {
            top: 100%;
        }
    }
}

.erpcrm-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
    gap: 32px;
    margin-top: 48px;
}

    /* mantém exatamente 6 cards organizados */
    .erpcrm-grid > .feature-group {
        width: 100%;
    }

@media (max-width: 1024px) {
    .erpcrm-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
}

@media (max-width: 640px) {
    .erpcrm-grid {
        grid-template-columns: 1fr;
    }
}

/* Cards */
.feature-group {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 28px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.feature-group:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* Header do card */
.feature-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.feature-title i {
    font-size: 22px;
    color: #7c7cff; /* mantém vibe tech */
}

.feature-title h4 {
    margin: 0;
}

/* Listas */
.feature-group ul {
    padding-left: 0;
    list-style: none;
}

.feature-group li {
    margin-bottom: 10px;
    opacity: .9;
    line-height: 1.4;
}

/* Responsivo */
@media (max-width: 1024px) {
    .erpcrm-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .erpcrm-grid {
        grid-template-columns: 1fr;
    }
}
