/* ===========================
   CADEIA PRODUTIVA - LAYOUT
   =========================== */

.cadeia-timeline {
    margin-top: 30px;
    border-left: 3px solid #dcdcdc;
    padding-left: 25px;
}

.cadeia-card {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.cadeia-step {
    position: absolute;
    left: -42px;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cadeia-step-icon {
    width: 38px;
    height: 38px;
    background: #09A9A2;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cadeia-line {
    width: 3px;
    flex-grow: 1;
    background: #c5c5c5;
    margin-top: 5px;
}

.cadeia-content {
    background: #ffffff;
    border-radius: 14px;
    padding: 20px 25px;
    border: 1px solid #e8e8e8;
    width: 100%;
    box-shadow: 0 3px 8px rgba(0,0,0,0.06);
}

.cadeia-tipo {
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 8px;
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    color: #fff;
}

/* Cores por tipo */
.tipo-produtor { background:#E67E22; }
.tipo-fornecedor { background:#27AE60; }
.tipo-distribuidor { background:#2980B9; }
.tipo-varejo        { background:#8E44AD; } /* corrigido */

.cadeia-nome {
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.cadeia-detalhe {
    margin-bottom: 4px;
    color: #444;
}

@media (max-width: 768px) {
    .cadeia-timeline {
        border-left: none;
        padding-left: 0;
    }

    .cadeia-step {
        position: relative;
        left: 0;
        margin-bottom: 10px;
        flex-direction: row;
    }

    .cadeia-line {
        display: none;
    }
}
.cadeia-social {
    margin-top: 10px;
    display: flex;
    gap: 12px;
}

.social-link {
    font-size: 25px;
    transition: .25s ease-in-out;
}

.social-link:hover {
    transform: translateY(-3px);
}

/* Cores das redes */
.social-link.insta { color: #E1306C; }
.social-link.face  { color: #1877F2; }
.social-link.whats { color: #25D366; }
