/* =========================================================
   COMO FUNCIONA
========================================================= */

.operation-flow {
    padding: 72px 0 68px;
    background: #ffffff;
}

.flow-heading {
    text-align: center;
}

.flow-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 28px;

    padding: 0 14px;

    border-radius: 999px;

    background: #eaf2fb;

    color: #12365f;

    font-size: 0.68rem;
    font-weight: 600;
}

.flow-heading h2 {
    max-width: 850px;

    margin: 22px auto 0;

    color: #102f53;

    font-size: clamp(2rem, 3.3vw, 3.4rem);
    line-height: 1.08;

    letter-spacing: -0.045em;
    font-weight: 400;
}

.flow-heading h2 span {
    color: #ff8428;
}

.flow-heading p {
    max-width: 720px;

    margin: 18px auto 0;

    color: #62728a;

    font-size: 1rem;
    line-height: 1.65;
}


/* PAINEL */

.flow-panel {
    display: none;
    min-height: 370px;

    margin-top: 62px;

    padding: 54px 74px;

    display: grid;

    grid-template-columns:
        minmax(160px, 1fr) 120px minmax(190px, 1fr) 120px minmax(160px, 1fr);

    align-items: center;

    gap: 16px;

    border: 1px solid #dfe6ee;

    border-radius: 30px;

    background: #f8faff;
}


/* ETAPAS */

.flow-step {
    display: flex;
    justify-content: center;
}

.flow-box {
    width: 100%;
    max-width: 170px;

    min-height: 102px;

    padding: 20px 16px;

    display: flex;
    flex-direction: column;

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

    text-align: center;

    border-radius: 18px;
}


/* CARDS BRANCOS */

.flow-box-light {
    color: #111d33;

    background: #ffffff;

    border: 2px solid #12365f;

    box-shadow:
        0 5px 0 rgba(18, 54, 95, 0.12),
        0 10px 22px rgba(18, 54, 95, 0.08);
}


/* CARD CENTRAL */

.flow-box-active {
    max-width: 205px;

    min-height: 172px;

    color: #ffffff;

    background: #09142c;

    box-shadow:
        0 20px 36px rgba(13, 34, 70, 0.18);
}


/* TEXTOS */

.flow-box strong {
    margin-top: 14px;

    font-size: 0.92rem;
}

.flow-box-active strong {
    font-size: 1rem;
}

.flow-box-active small {
    margin-top: 14px;

    color: #8e9ab3;

    font-size: 0.62rem;
    letter-spacing: 0.05em;
}


/* ÍCONES */

.flow-icon {
    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;

    color: #12365f;
}

.flow-icon svg {
    width: 28px;
    height: 28px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ÍCONE LARANJA CENTRAL */

.flow-icon-active {
    width: 52px;
    height: 52px;

    border-radius: 50%;

    color: #ffffff;

    background: #ff8428;
}

.flow-icon-active svg {
    width: 27px;
    height: 27px;
}


/* CONECTORES */

.flow-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* LINHA TRACEJADA */
.flow-arrow-line {
    position: relative;
    display: block;

    width: 72px;
    height: 2px;

    border-top: 2px dashed #12365f;
}


/* PONTA DA SETA */
.flow-arrow-line::after {
    content: "";

    position: absolute;
    right: -1px;
    top: 50%;

    width: 8px;
    height: 8px;

    border-top: 2px solid #12365f;
    border-right: 2px solid #12365f;

    transform: translateY(-58%) rotate(45deg);
}
