/* ===================================================
   NOVA SEÇÃO 6: FUNIL DE AUTORIDADE (TIMELINE ZIGZAG)
   =================================================== */

.secao-funil-autoridade {
    padding: 100px 0;
    background: #030712;
    position: relative;
    overflow: hidden;
}

.secao-funil-autoridade .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Pílula Padronizada */
.secao-funil-autoridade .pill-title {
    margin-bottom: 24px !important;
}

/* Título Centralizado - Herdando do Global */
.secao-funil-autoridade .section-title {
    margin-bottom: 24px !important;
}

.secao-funil-autoridade .destaque-gradiente {
    background: linear-gradient(90deg, #F5A623 0%, #0ea5e9 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    display: inline-block !important;
}

/* Timeline Container */
.timeline-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/* Linha Central Vertical */
.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, 
        rgba(245, 166, 35, 0) 0%, 
        rgba(245, 166, 35, 0.5) 15%, 
        rgba(245, 166, 35, 0.5) 85%, 
        rgba(245, 166, 35, 0) 100%
    );
    transform: translateX(-50%);
    z-index: 1;
}

/* Passo Base */
.passo {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

/* Lado Esquerdo */
.passo-esquerda {
    justify-content: flex-start;
}

.passo-esquerda .passo-content {
    text-align: right;
    margin-right: 50px;
}

/* Lado Direito */
.passo-direita {
    justify-content: flex-end;
}

.passo-direita .passo-content {
    text-align: left;
    margin-left: 50px;
}

/* Header do Passo (Ícone + Título) */
.passo-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.passo-esquerda .passo-header {
    flex-direction: row-reverse;
}

.passo-direita .passo-header {
    flex-direction: row;
}

/* Conteúdo do Passo */
.passo-content {
    width: calc(50% - 50px);
    background: rgba(15, 23, 42, 0.5);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.passo:hover .passo-content {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(245, 166, 35, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Números e Ícones */
.passo-numero {
    font-size: 1.1rem; /* Aumentado conforme solicitado */
    color: #F5A623;
    font-weight: 900; /* Letra grossa */
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

.passo-icon {
    font-size: 32px;
    width: 64px;
    min-width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(6, 182, 212, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fbbf24;
    position: relative;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.1);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.passo:hover .problem-icon-box {
    transform: scale(1.15) rotate(7deg);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.3);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.3) 0%, rgba(6, 182, 212, 0.2) 100%);
}

.passo-titulo {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0; /* Ajustado para alinhar com o ícone */
    font-weight: 700;
}

.passo-descricao {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Círculo da Timeline */
.passo-circle {
    width: 16px;
    height: 16px;
    background: #F5A623;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(245, 166, 35, 0.6);
}

/* Destaque para o Passo Final */
.passo-final .passo-content {
    background: linear-gradient(145deg, rgba(245, 166, 35, 0.1), rgba(15, 23, 42, 0.5));
    border-color: rgba(245, 166, 35, 0.3);
}

.destino-final-label {
    background: #F5A623;
    color: #030712;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 15px;
}

/* CTA Final da Seção */
.cta-proxima-secao {
    margin-top: 40px;
    text-align: center;
}

.cta-proxima-secao a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cta-proxima-secao a:hover {
    color: #F5A623;
}

/* Responsividade */
@media (max-width: 768px) {
    .secao-funil-autoridade {
        padding: 60px 0;
    }

    .timeline-container {
        padding: 0 10px;
    }

    .timeline-container::before {
        left: 25px;
    }

    .passo {
        flex-direction: row !important;
        justify-content: flex-start !important;
        padding-left: 50px;
        margin-bottom: 30px; /* Reduzido de 60px */
    }

    .passo-content {
        width: 100% !important;
        text-align: left !important;
        margin: 0 !important;
        padding: 16px 20px; /* Reduzido de 30px */
        border-radius: 16px;
    }

    .passo-header {
        gap: 12px;
        margin-bottom: 10px;
    }

    .problem-icon-box {
        width: 44px; /* Reduzido de 64px */
        min-width: 44px;
        height: 44px;
        font-size: 20px; /* Reduzido de 32px */
        margin-bottom: 0;
        border-radius: 12px;
    }

    .passo-numero {
        font-size: 0.8rem; /* Reduzido de 1.1rem */
        margin-bottom: 8px;
        letter-spacing: 1px;
    }

    .passo-titulo {
        font-size: 1.1rem; /* Reduzido de 1.5rem */
    }

    .passo-descricao {
        font-size: 0.85rem; /* Reduzido de 0.95rem */
        line-height: 1.5;
    }

    .passo-circle {
        left: 25px !important;
        width: 12px;
        height: 12px;
    }

    .destino-final-label {
        margin-bottom: 10px;
        font-size: 0.75rem;
        padding: 2px 6px;
    }
}
