.cf-section {
    position: relative;
    padding: 80px 0;
    background: var(--color-background, #ffffff);
}

.cf-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cf-header {
    text-align: center;
    margin-bottom: 60px;
}

.cf-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    color: var(--color-accent, #d31219);
    font-size: 14px;
    margin-bottom: 20px;
}

.cf-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--color-foreground, #132058);
    line-height: 1.2;
}

/* Timeline */
.cf-timeline {
    position: relative;
    padding: 20px 0;
}

/* Linha central */
.cf-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #ececec;
    transform: translateX(-50%);
    z-index: 0;
}

/* Cada row da timeline */
.cf-step-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 48px;
    min-height: 120px;
}

.cf-step-wrapper:last-child {
    margin-bottom: 0;
}

/* Metade esquerda — ímpares */
.cf-step-wrapper:nth-child(odd) {
    justify-content: flex-start;
    padding-right: calc(50% + 40px);
}

/* Metade direita — pares */
.cf-step-wrapper:nth-child(even) {
    justify-content: flex-end;
    padding-left: calc(50% + 40px);
}

.cf-step {
    width: 100%;
    opacity: 0.3;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.cf-step.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cf-number {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: var(--color-accent, #d31219);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    z-index: 2;
    flex-shrink: 0;
}

.cf-card {
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.cf-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.cf-icon-box {
    width: 40px;
    height: 40px;
    background: rgba(211, 18, 25, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cf-step-icon {
    color: var(--color-accent, #d31219);
}

.cf-step-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-foreground, #132058);
}

.cf-step-description {
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.9rem;
}

@media (max-width: 767px) {
    .cf-timeline::before {
        left: 24px;
        transform: none;
    }

    .cf-step-wrapper {
        padding-right: 0 !important;
        padding-left: 64px !important;
        align-items: flex-start;
    }

    .cf-number {
        left: 24px;
        top: 28px;
        transform: translateX(-50%);
    }
}
