/* =========================================================
   REDECALL - SOLUÇÕES
   CSS ISOLADO
========================================================= */

#solucoes.rc-solucoes {
    position: relative;
    width: 100%;
    padding: 80px 0;
    overflow: hidden;
    background: var(--rc-background, #0b0d12);
    color: var(--rc-foreground, #ffffff);
}

.rc-solucoes-container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}


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

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

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

.rc-solucoes-header h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.15;
    font-weight: 700;
}

.rc-solucoes-instruction {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 14px;
    color: #9ca3af;
}

.rc-icon-pointer {
    color: var(--rc-primary, #e31e24);
    font-size: 20px;
}


/* =========================================================
   TABS
========================================================= */

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

.rc-solucao-tab {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;

    width: 100%;
    padding: 20px;

    text-align: left;

    background: #151821;
    color: #ffffff;

    border: 2px solid #2a2e38;
    border-radius: 12px;

    cursor: pointer;

    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.rc-solucao-tab:hover {
    border-color: rgba(227, 30, 36, 0.45);
    transform: translateY(-2px);
}

.rc-solucao-tab.active {
    background: var(--rc-primary, #e31e24);
    border-color: var(--rc-primary, #e31e24);
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.rc-tab-icon {
    flex: 0 0 40px;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: rgba(227, 30, 36, 0.12);
}

.rc-solucao-tab.active .rc-tab-icon {
    background: rgba(255, 255, 255, 0.15);
}

.rc-tab-icon svg {
    width: 21px;
    height: 21px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;

    color: var(--rc-primary, #e31e24);
}

.rc-solucao-tab.active .rc-tab-icon svg {
    color: #ffffff;
}

.rc-tab-content {
    min-width: 0;
    flex: 1;
}

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

.rc-tab-number {
    font-family: monospace;
    font-size: 12px;
    opacity: 0.65;
}

.rc-tab-title h3 {
    margin: 0;

    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
}

.rc-tab-content p {
    margin: 5px 0 0;

    font-size: 12px;
    line-height: 1.4;

    color: #9ca3af;
}

.rc-solucao-tab.active .rc-tab-content p {
    color: rgba(255, 255, 255, 0.8);
}


/* TRIÂNGULO DO CARD ATIVO */

.rc-solucao-tab.active::after {
    content: "";

    position: absolute;

    bottom: -8px;
    left: 50%;

    width: 16px;
    height: 16px;

    background: var(--rc-primary, #e31e24);

    transform: translateX(-50%) rotate(45deg);

    z-index: 2;
}


/* =========================================================
   ÁREA DE CONTEÚDO
========================================================= */

.rc-solucao-stage {
    position: relative;

    max-width: 1000px;
    min-height: 480px;

    margin: 24px auto 0;
}

.rc-solucao-content {
    padding: 40px;

    background: #151821;

    border: 1px solid #2a2e38;

    border-radius: 18px;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.rc-solucao-content.rc-changing {
    opacity: 0;
    transform: translateY(10px);
}

.rc-solucao-content h3 {
    margin: 0 0 12px;

    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
}

.rc-solucao-content > p {
    margin: 0 0 30px;

    font-size: 13px;
    line-height: 1.6;

    color: #9ca3af;
}


/* =========================================================
   CARDS DE SERVIÇO
========================================================= */

.rc-servicos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.rc-servico-card {
    padding: 24px;

    background: #0f1117;

    border: 1px solid #2a2e38;

    border-radius: 12px;

    transition:
        border-color 0.3s ease,
        transform 0.3s ease;
}

.rc-servico-card:hover {
    border-color: rgba(227, 30, 36, 0.35);
    transform: translateY(-3px);
}

.rc-servico-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    margin-bottom: 12px;

    color: var(--rc-primary, #e31e24);

    font-size: 24px;
}

.rc-servico-card h4 {
    margin: 0 0 8px;

    font-size: 15px;
    font-weight: 700;
}

.rc-servico-card p {
    margin: 0;

    font-size: 12px;
    line-height: 1.7;

    color: #9ca3af;
}


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

.rc-solucao-arrow {
    position: absolute;

    top: 50%;

    z-index: 5;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #151821;

    border: 1px solid #2a2e38;

    color: #ffffff;

    cursor: pointer;

    transform: translateY(-50%);

    transition:
        border-color 0.3s ease,
        color 0.3s ease,
        background-color 0.3s ease;
}

.rc-solucao-arrow:hover {
    border-color: rgba(227, 30, 36, 0.5);
    color: var(--rc-primary, #e31e24);
}

.rc-solucao-arrow span {
    font-size: 30px;
    line-height: 1;
    margin-top: -8px;
}

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

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


/* =========================================================
   INDICADORES
========================================================= */

.rc-solucao-indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;

    margin-top: 24px;
}

.rc-indicator-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rc-indicator {
    width: 8px;
    height: 8px;

    padding: 0;

    border: 0;
    border-radius: 99px;

    background: #3a3f4a;

    cursor: pointer;

    transition:
        width 0.3s ease,
        background-color 0.3s ease;
}

.rc-indicator:hover {
    background: rgba(227, 30, 36, 0.5);
}

.rc-indicator.active {
    width: 32px;
    background: var(--rc-primary, #e31e24);
}

.rc-solucao-counter {
    font-family: monospace;
    font-size: 12px;
    color: #9ca3af;
}


/* =========================================================
   SCROLL
========================================================= */

.rc-section-scroll {
    display: flex;
    justify-content: center;

    padding-top: 32px;

    text-decoration: none;
}

.rc-scroll-circle {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #2a2e38;
    border-radius: 50%;

    color: #9ca3af;

    transition:
        border-color 0.3s ease,
        color 0.3s ease,
        background-color 0.3s ease;
}

.rc-section-scroll:hover .rc-scroll-circle {
    border-color: rgba(227, 30, 36, 0.5);
    color: var(--rc-primary, #e31e24);
    background: rgba(227, 30, 36, 0.08);
}


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

@media (max-width: 1100px) {

    .rc-solucao-prev {
        left: 12px;
    }

    .rc-solucao-next {
        right: 12px;
    }

}


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

@media (max-width: 767px) {

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

    .rc-solucoes-container {
        width: calc(100% - 24px);
    }

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

    .rc-solucoes-instruction {
        font-size: 12px;
    }

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

    .rc-solucao-tab {
        padding: 15px;
    }

    .rc-solucao-tab.active::after {
        display: none;
    }

    .rc-solucao-stage {
        min-height: auto;
        margin-top: 16px;
    }

    .rc-solucao-content {
        padding: 24px 18px;
    }

    .rc-servicos-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .rc-servico-card {
        padding: 20px;
    }

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

}