/* =========================================================
   REDECALL - SEÇÃO SETORES
   ========================================================= */

#setores.rc-setores {
    width: 100%;
    padding: 80px 0 32px;
    background: #0e1115;
    overflow: hidden;
}

.rc-setores-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}


/* =========================================================
   CABEÇALHO
   ========================================================= */

.rc-setores-header {
    text-align: center;
    margin-bottom: 32px;
}

.rc-setores-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--primary, #e31b23);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.rc-setores-header h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.15;
    font-weight: 700;
}

.rc-setores-header h2 span {    
    background-clip: text;
    color: transparent;
    background-image: linear-gradient(135deg, #ea3e3e, #f45925);
}

.rc-setores-instruction {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--muted-foreground, #777777);
    font-size: 14px;
}

.rc-mouse-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary, #e31b23);
    font-size: 20px;
}


/* =========================================================
   TABS DOS SETORES
   ========================================================= */

.rc-setores-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 8px;
}

.rc-setor-tab {
    position: relative;
    width: 100%;
    padding: 20px;
    border: 2px solid #272c35;    
    border-radius: 14px;
    color: #fff;
    text-align: left;
    cursor: pointer;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.rc-setor-tab:hover {
    border-color: var(--primary, #e31b23);
    transform: translateY(-2px);
    background: transparent;
}

.rc-setor-tab.is-active {
    background: #f45525;
    border-color: var(--primary, #e31b23);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.rc-setor-tab-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.rc-setor-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(227, 27, 35, 0.10);
    color: var(--primary, #e31b23);
    font-size: 20px;
    line-height: 1;
}

.rc-setor-tab.is-active .rc-setor-icon {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.rc-setor-info {
    flex: 1;
    min-width: 0;
}

.rc-setor-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rc-setor-number {
    color: #888888;
    font-family: monospace;
    font-size: 12px;
}

.rc-setor-tab.is-active .rc-setor-number {
    color: rgba(255, 255, 255, 0.70);
}

.rc-setor-title h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 700;
}

.rc-setor-info p {
    margin: 6px 0 0;
    color: var(--muted-foreground, #777777);
    font-size: 12px;
    line-height: 1.45;
}

.rc-setor-tab.is-active .rc-setor-info p {
    color: rgba(255, 255, 255, 0.80);
}

.rc-setor-active-arrow {
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 16px;
    height: 16px;
    background: var(--primary, #e31b23);
    transform: translateX(-50%) rotate(45deg);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.rc-setor-tab.is-active .rc-setor-active-arrow {
    opacity: 1;
}


/* =========================================================
   CARD DE CONTEÚDO
   ========================================================= */

.rc-setores-content-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    min-height: 440px;
    margin: 24px auto 0;
}

.rc-setores-card {
    position: relative;
    width: 100%;
    padding: 32px;
    border: 1px solid var(--border, #dddddd);
    border-radius: 18px;    
    box-sizing: border-box;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.rc-setores-card.is-changing {
    opacity: 0;
    transform: translateY(8px);
}

.rc-setores-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.rc-setores-description h3 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
}

.rc-setor-subtitle {
    margin: 0 0 14px;
    color: var(--muted-foreground, #777777);
    font-size: 12px;
    line-height: 1.5;
}

.rc-setor-description {
    margin: 0;
    color: var(--muted-foreground, #777777);
    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   TÍTULOS DAS COLUNAS
   ========================================================= */

.rc-setores-challenges h4,
.rc-setores-delivery h4 {
    margin: 0 0 14px;
    color: #f45525;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}


/* =========================================================
   DESAFIOS
   ========================================================= */

.rc-challenges-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rc-challenges-list span {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 6px;
    background: #282c33;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}


/* =========================================================
   O QUE ENTREGAMOS
   ========================================================= */

.rc-delivery-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rc-delivery-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.rc-delivery-item > span {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(227, 27, 35, 0.10);
    color: #f45525;
    font-size: 11px;
    font-weight: 700;
}

.rc-delivery-item p {
    margin: 2px 0 0;
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   SETAS
   ========================================================= */

.rc-setor-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--border, #dddddd);
    border-radius: 50%;
    background: #272c35;
    color: #fff;
    cursor: pointer;
    transform: translateY(-50%);
    transition:
        border-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.rc-setor-arrow:hover {
    border-color: var(--primary, #e31b23);
    color: var(--primary, #e31b23);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.10);
}

.rc-setor-arrow span {
    font-size: 30px;
    line-height: 1;
    font-weight: 300;
}

.rc-setor-prev {
    left: -60px;
}

.rc-setor-next {
    right: -60px;
}


/* =========================================================
   NAVEGAÇÃO
   ========================================================= */

.rc-setores-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.rc-setores-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rc-setor-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: var(--border, #dddddd);
    cursor: pointer;
    transition:
        width 0.25s ease,
        background-color 0.25s ease;
}

.rc-setor-dot:hover {
    background: var(--primary, #e31b23);
}

.rc-setor-dot.is-active {
    width: 32px;
    background: var(--primary, #e31b23);
}

.rc-setores-counter {
    color: var(--muted-foreground, #777777);
    font-family: monospace;
    font-size: 12px;
}


/* =========================================================
   SCROLL PARA PRÓXIMA SEÇÃO
   ========================================================= */

.rc-setores-scroll {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin: 32px auto 0;
    border: 1px solid var(--border, #dddddd);
    border-radius: 50%;
    color: var(--muted-foreground, #777777);
    text-decoration: none;
    transition:
        border-color 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease;
}

.rc-setores-scroll:hover {
    border-color: var(--primary, #e31b23);
    background: rgba(227, 27, 35, 0.08);
    color: var(--primary, #e31b23);
}

.rc-setores-scroll span {
    font-size: 24px;
    line-height: 1;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .rc-setor-prev {
        left: -20px;
    }

    .rc-setor-next {
        right: -20px;
    }

    .rc-setores-card {
        padding: 28px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    #setores.rc-setores {
        padding: 60px 0 24px;
    }

    .rc-setores-container {
        padding: 0 16px;
    }

    .rc-setores-header {
        margin-bottom: 24px;
    }

    .rc-setores-header h2 {
        font-size: 30px;
    }

    .rc-setores-tabs {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .rc-setor-tab {
        padding: 16px;
    }

    .rc-setor-active-arrow {
        display: none;
    }

    .rc-setores-content-wrapper {
        min-height: auto;
        margin-top: 16px;
    }

    .rc-setores-card {
        padding: 24px 20px;
        border-radius: 14px;
    }

    .rc-setores-card-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .rc-setor-arrow {
        display: none;
    }

    .rc-setores-navigation {
        margin-top: 20px;
    }

    .rc-setores-scroll {
        margin-top: 24px;
    }

}


/* =========================================================
   ACESSIBILIDADE
   ========================================================= */

.rc-setor-tab:focus-visible,
.rc-setor-arrow:focus-visible,
.rc-setor-dot:focus-visible,
.rc-setores-scroll:focus-visible {
    outline: 2px solid var(--primary, #e31b23);
    outline-offset: 3px;
}