@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');


/* ========================================
   BASE
======================================== */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #080b14;
    color: #f4f4f5;
    font-family: "Inter", sans-serif;
}

.page-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #8b5cf6;

    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    letter-spacing: 0.12em;
}

.section-label span {
    color: #52576a;
}


/* ========================================
   HERO
======================================== */

.process-hero {
    position: relative;

    padding: 180px 0 120px;

    overflow: hidden;
}

.process-hero::before {
    content: "";

    position: absolute;
    top: 0;
    left: 50%;

    width: 700px;
    height: 500px;

    transform: translateX(-50%);

    background: radial-gradient(
        circle,
        rgba(124, 58, 237, 0.13),
        transparent 70%
    );

    pointer-events: none;
}

.process-hero h1 {
    position: relative;

    max-width: 850px;

    margin: 28px 0 24px;

    font-size: clamp(48px, 7vw, 82px);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.process-hero h1 span {
    color: #8b5cf6;
}

.process-hero p {
    max-width: 600px;

    margin: 0;

    color: #969baa;

    font-size: 18px;
    line-height: 1.8;
}


/* ========================================
   PROCESSO
======================================== */

.process-section {
    padding: 100px 0 130px;

    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.process-header {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 80px;

    align-items: end;

    margin-bottom: 80px;
}

.process-header h2 {
    margin: 24px 0 0;

    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.process-header h2 span {
    color: #737889;
}

.process-header > p {
    margin: 0;

    color: #858a99;

    font-size: 15px;
    line-height: 1.8;
}


/* ========================================
   LISTA DE ETAPAS
======================================== */

.process-list {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.process-item {
    display: grid;
    grid-template-columns: 90px 1fr 50px;
    gap: 35px;

    align-items: center;

    padding: 42px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    transition:
        padding-left 0.3s ease,
        background 0.3s ease;
}

.process-item:hover {
    padding-left: 18px;
}

.process-number {
    color: #555b6d;

    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
}

.process-content {
    max-width: 650px;
}

.process-tag {
    display: block;

    margin-bottom: 12px;

    color: #8b5cf6;

    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.12em;
}

.process-content h3 {
    margin: 0 0 12px;

    font-size: 25px;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.process-content p {
    max-width: 600px;

    margin: 0;

    color: #858a99;

    font-size: 14px;
    line-height: 1.8;
}

.process-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;

    color: #858a99;

    transition:
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.process-item:hover .process-icon {
    color: #a78bfa;
    border-color: rgba(139, 92, 246, 0.5);

    transform: rotate(45deg);
}


/* ========================================
   DIFERENCIAL
======================================== */

.process-difference {
    padding: 0 0 130px;
}

.difference-box {
    display: grid;
    grid-template-columns: 1fr 1fr;

    min-height: 450px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;

    overflow: hidden;

    background: #0d111d;
}

.difference-content {
    padding: 70px;
}

.difference-content h2 {
    margin: 25px 0;

    font-size: clamp(38px, 5vw, 58px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.difference-content h2 span {
    color: #8b5cf6;
}

.difference-content p {
    max-width: 470px;

    margin: 0;

    color: #858a99;

    font-size: 15px;
    line-height: 1.8;
}


/* ========================================
   BLOCO DE CÓDIGO
======================================== */

.difference-code {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px;

    background:
        linear-gradient(
            rgba(255, 255, 255, 0.02) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.02) 1px,
            transparent 1px
        );

    background-size: 30px 30px;

    border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.code-top {
    position: absolute;

    top: 20px;
    left: 25px;

    display: flex;
    gap: 7px;
}

.code-top span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #3b4050;
}

.difference-code pre {
    width: 100%;
    max-width: 400px;

    margin: 0;

    padding: 30px;

    border: 1px solid rgba(255, 255, 255, 0.07);

    background: rgba(8, 11, 20, 0.8);

    color: #aaaebb;

    font-family: "JetBrains Mono", monospace;
    font-size: 13px;
    line-height: 2;

    overflow-x: auto;
}

.difference-code code {
    font-family: inherit;
}


/* ========================================
   CTA
======================================== */

.process-cta {
    padding: 120px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-inner {
    text-align: center;
}

.cta-inner .section-label {
    justify-content: center;
}

.cta-inner h2 {
    margin: 25px 0 18px;

    font-size: clamp(42px, 6vw, 68px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.cta-inner h2 span {
    color: #8b5cf6;
}

.cta-inner p {
    margin: 0 0 35px;

    color: #858a99;

    font-size: 15px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    padding: 15px 22px;

    background: #7c3aed;
    color: #fff;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    border: 1px solid #8b5cf6;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.cta-button:hover {
    background: #8b5cf6;
    transform: translateY(-2px);
}

.cta-button span {
    font-size: 17px;
}


/* ========================================
   FOOTER
======================================== */

.site-footer {
    padding: 28px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    color: #555b6d;

    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
}


/* ========================================
   RESPONSIVO
======================================== */

@media (max-width: 850px) {

    .process-hero {
        padding: 150px 0 90px;
    }

    .process-header {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .process-item {
        grid-template-columns: 55px 1fr;

        gap: 20px;
    }

    .process-icon {
        display: none;
    }

    .difference-box {
        grid-template-columns: 1fr;
    }

    .difference-content {
        padding: 50px 35px;
    }

    .difference-code {
        min-height: 350px;

        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

}


@media (max-width: 600px) {

    .page-container {
        width: min(100% - 32px, 1180px);
    }

    .process-hero {
        padding: 125px 0 75px;
    }

    .process-hero h1 {
        font-size: 45px;
    }

    .process-hero p {
        font-size: 15px;
    }

    .process-section {
        padding: 75px 0 90px;
    }

    .process-header {
        margin-bottom: 55px;
    }

    .process-item {
        grid-template-columns: 40px 1fr;

        padding: 32px 0;
    }

    .process-number {
        font-size: 12px;
    }

    .process-content h3 {
        font-size: 20px;
    }

    .process-content p {
        font-size: 13px;
    }

    .difference-content {
        padding: 40px 25px;
    }

    .difference-code {
        padding: 25px;
    }

    .difference-code pre {
        padding: 20px;

        font-size: 11px;
    }

    .process-cta {
        padding: 90px 0;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;

        text-align: center;
    }

}
