﻿/*==========================================================
COMO FUNCIONA
==========================================================*/

.workflow-section {
    padding: 140px 0;
    background: radial-gradient(circle at top, #ffffff 0%, #faf8ff 100%);
}

    .workflow-section .section-header {
        text-align: center;
        max-width: 900px;
        margin: auto;
    }

        .workflow-section .section-header p {
            font-size: 30px;
            color: #5D6B8A;
            margin-top: 25px;
            line-height: 1.6;
        }

/*==========================================================*/

.workflow-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 35px;
    margin-top: 90px;
}

    /* Linha */

    .workflow-grid::before {
        content: "";
        position: absolute;
        left: 12%;
        right: 12%;
        top: 64px;
        height: 5px;
        background: linear-gradient(90deg,#6B2BE2,#8D4BFF);
        border-radius: 30px;
        z-index: 0;
    }

/*==========================================================*/

.workflow-card {
    position: relative;
    background: #fff;
    border-radius: 30px;
    padding: 45px 35px;
    text-align: center;
    transition: .35s;
    z-index: 2;
    box-shadow: 0 20px 45px rgba(0,0,0,.05);
}

    .workflow-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 35px 70px rgba(107,43,226,.18);
    }

/*==========================================================*/

.workflow-number {
    width: 64px;
    height: 64px;
    margin: auto;
    border-radius: 50%;
    background: #6B2BE2;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    font-weight: 700;
    border: 8px solid #fff;
    box-shadow: 0 0 0 10px #F5EEFF, 0 15px 30px rgba(107,43,226,.25);
    margin-top: -75px;
    margin-bottom: 35px;
}

/*==========================================================*/
/* PREVIEW */

.workflow-preview {
    width: 100%;
    height: 170px;
    background: #F5EEFF;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #ECE6FF;
    margin-bottom: 30px;
}

    .workflow-preview img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/*==========================================================*/

.workflow-card h3 {
    font-size: 34px;
    line-height: 1.2;
    color: #111827;
    margin-bottom: 20px;
    min-height: 82px;
}

.workflow-card p {
    font-size: 20px;
    color: #5D6B8A;
    line-height: 1.8;
}

/*==========================================================*/

@media(max-width:1200px) {

    .workflow-grid {
        grid-template-columns: repeat(2,1fr);
    }

        .workflow-grid::before {
            display: none;
        }
}

@media(max-width:768px) {

    .workflow-grid {
        grid-template-columns: 1fr;
    }

    .workflow-card {
        margin-top: 50px;
    }
}
.workflow-preview {
    position: relative;
}

    .workflow-preview img {
        opacity: 0;
    }

    .workflow-preview::before {
        content: "Preview do Studio";
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        font-weight: 600;
        color: #8B5CF6;
        background: linear-gradient( 135deg, #F8F4FF, #EFE7FF );
    }