/**
 * Process Widget Styles
 * (Estilos modulares mapeados nos seletores TAB_STYLE do Elementor)
 *
 * @package lojavirtual-elements
 */

.process {
    width: 100%;
}

/* Cabeçalho Centralizado */
.process .section-intro--center {
    display: block;
    text-align: center;
}

.process .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.process__eyebrow-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.process__eyebrow-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
    display: block;
}

.process__section-title,
.process h2 {
    max-width: 560px;
    margin: 0 auto 16px;
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 1.04;
}

.process .section-intro--center > p {
    max-width: 480px;
    margin: 0 auto;
    font-size: 0.96rem;
    line-height: 1.65;
}

/* Grelha de Passos */
.process__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-top-width: 1px;
    border-top-style: solid;
}

@media (max-width: 1024px) {
    .process__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .process__grid {
        grid-template-columns: 1fr;
    }
}

/* Coluna Individual */
.process-step {
    padding: 24px 24px 24px 0;
    border-right-width: 1px;
    border-right-style: solid;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.process-step:not(:first-child) {
    padding-left: 24px;
}

.process-step:last-child {
    border-right: none;
}

@media (max-width: 1024px) {
    .process-step:nth-child(2n) {
        border-right: none;
    }

    .process-step:nth-child(n + 3) {
        border-top: 1px solid var(--color-neutral-300, #cbd5e1);
    }

    .process-step:nth-child(2n + 1) {
        padding-left: 0;
    }
}

@media (max-width: 640px) {
    .process-step,
    .process-step:not(:first-child) {
        border-right: none;
        border-top: none;
        padding-left: 0;
        padding-right: 0;
        border-bottom: 1px solid var(--color-neutral-300, #cbd5e1);
    }

    .process-step:last-child {
        border-bottom: none;
    }
}

/* Círculo Numérico / Ícone */
.process-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-width: 1px;
    border-style: solid;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1;
    flex-shrink: 0;
}

.process-step__num svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
    display: block;
}

/* Textos */
.process-step__title,
.process-step h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
}

.process-step__desc,
.process-step p {
    max-width: 210px;
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.6;
}
