/* Página do produto PYE Agent Curator */

.cur-page {
    --cur-navy: #0D2142;
    --cur-teal: #00B5CC;
    --cur-teal-light: #26C6DA;
    --cur-blue: #1976D2;
    --cur-muted: #5d6a7d;
    --cur-grad: linear-gradient(90deg, #26C6DA 0%, #1976D2 100%);
}

.cur-page .page-title-area { padding-bottom: 48px; }

.cur-intro {
    max-width: 680px;
    margin: 0 auto 40px;
    text-align: center;
}
.cur-intro .cur-wordmark {
    margin: 0 auto 10px;
}
.cur-intro h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--cur-navy);
    margin: 0 0 12px;
    letter-spacing: -0.03em;
    line-height: 1.2;
}
.cur-intro p {
    font-size: 17px;
    line-height: 1.55;
    color: var(--cur-muted);
    margin: 0 0 20px;
}
.cur-intro__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}
.cur-intro__actions .cur-docs {
    margin-top: 0;
}
.cur-intro__cta,
.cur-cta a.is-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 50px;
    background: var(--cur-grad);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}
.cur-intro__cta:hover,
.cur-cta a.is-main:hover { color: #fff; opacity: 0.92; }

.cur-jump {
    position: sticky;
    top: 88px;
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 10px 0 18px;
    background: linear-gradient(#fff 70%, rgba(255,255,255,0));
    margin-bottom: 28px;
}
.cur-jump a {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #e3ecf4;
    color: var(--cur-navy);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    background: #fff;
}
.cur-jump a:hover { border-color: var(--cur-teal); color: var(--cur-blue); }

.cur-modes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 0 0 56px;
}
.cur-mode {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e3ecf4;
    border-radius: 16px;
    padding: 22px 20px;
}
.cur-mode .cur-docs {
    margin-top: auto;
    padding-top: 14px;
}
.cur-mode span {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cur-teal);
    margin-bottom: 8px;
}
.cur-mode h3 { font-size: 18px; font-weight: 800; color: var(--cur-navy); margin: 0 0 8px; }
.cur-mode p { font-size: 14px; line-height: 1.5; color: var(--cur-muted); margin: 0; }

.cur-block {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 72px;
    scroll-margin-top: 140px;
}
.cur-block.is-flip { grid-template-columns: 0.85fr 1.15fr; }
.cur-block.is-flip .cur-block__media { order: 2; }
.cur-block.is-wide { grid-template-columns: 1fr 1fr; }
.cur-block h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--cur-navy);
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}
.cur-block p { font-size: 16px; line-height: 1.55; color: var(--cur-muted); margin: 0 0 12px; }
.cur-block p:last-child { margin-bottom: 0; }
.cur-list {
    margin: 0 0 12px;
    padding: 0 0 0 18px;
    color: var(--cur-muted);
    font-size: 15px;
    line-height: 1.55;
}
.cur-list li { margin-bottom: 6px; }
.cur-list li:last-child { margin-bottom: 0; }
.cur-hint {
    font-size: 12px;
    color: #8aa3b8;
    margin-top: 10px;
}

.cur-frame {
    display: block;
    background: #071018;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(38, 198, 218, 0.28);
    box-shadow: 0 24px 50px rgba(13, 33, 66, 0.16);
}
.cur-frame img { width: 100%; height: auto; display: block; }

.cur-stage {
    position: relative;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    background: #071018;
    border: 1px solid rgba(38, 198, 218, 0.28);
    box-shadow: 0 24px 50px rgba(13, 33, 66, 0.16);
    cursor: pointer;
    overflow-anchor: none;
}
.cur-stage__label {
    position: absolute;
    left: 14px;
    top: 12px;
    z-index: 3;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #26C6DA;
}

/* ---- Fila / frota: estados pintados pelo JS ---- */
.cur-stage--story {
    height: auto;
    min-height: 420px;
    width: 100%;
    display: flex;
    user-select: none;
    box-sizing: border-box;
}
.cur-q {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 12px 12px 10px;
    gap: 10px;
    box-sizing: border-box;
}
.cur-q__kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
}
.cur-q__kpi {
    background: #10233c;
    border: 1px solid rgba(191, 210, 227, 0.12);
    border-radius: 8px;
    padding: 7px 4px 6px;
    text-align: center;
}
.cur-q__kpi strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #e8f1f8;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
.cur-q__kpi span {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8aa3b8;
}
.cur-q__kpi[data-q-kpi="progress"] strong { color: #26C6DA; }
.cur-q__kpi[data-q-kpi="ok"] strong { color: #00B5CC; }
.cur-q__kpi[data-q-kpi="fail"] strong { color: #ef9a9a; }

.cur-q__board {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) 100px;
    gap: 10px;
    align-items: stretch;
    flex: 1;
    min-height: 268px;
}
.cur-q__col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
.cur-q__origin,
.cur-q__role,
.cur-q__pc {
    background: #10233c;
    border: 1px solid rgba(191, 210, 227, 0.18);
    border-radius: 10px;
    color: #e8f1f8;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    padding: 10px 8px;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s, opacity 0.25s;
}
.cur-q__origin {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.cur-q__sheet {
    width: 36px;
    height: 28px;
    border-radius: 3px;
    border: 1px solid #26C6DA;
    background:
        linear-gradient(#26C6DA, #26C6DA) 0 9px / 100% 1px no-repeat,
        linear-gradient(#26C6DA, #26C6DA) 0 18px / 100% 1px no-repeat,
        linear-gradient(#26C6DA, #26C6DA) 12px 0 / 1px 100% no-repeat,
        linear-gradient(#26C6DA, #26C6DA) 24px 0 / 1px 100% no-repeat,
        rgba(38, 198, 218, 0.12);
}
.cur-q__role {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.cur-q__origin small,
.cur-q__role small,
.cur-q__pc small {
    display: block;
    font-weight: 600;
    color: #8aa3b8;
    margin-top: 4px;
    font-size: 10px;
    line-height: 1.3;
}
.cur-q__origin.is-busy,
.cur-q__role.is-busy,
.cur-q__pc.is-busy {
    border-color: #26C6DA;
    box-shadow: 0 0 16px rgba(38, 198, 218, 0.35);
}
.cur-q__pc.is-ok { border-color: #00B5CC; }
.cur-q__pc.is-fail { border-color: #e57373; }
.cur-q__pc.is-down {
    border-color: #5d6a7d;
    opacity: 0.45;
    filter: grayscale(0.8);
}
.cur-q__pc strong { display: block; font-size: 12px; }
.cur-q__screen {
    display: block;
    width: 100%;
    height: 22px;
    margin-top: 8px;
    border-radius: 4px;
    background: #071018;
    color: #26C6DA;
    font-size: 10px;
    line-height: 22px;
    position: relative;
    overflow: hidden;
}
.cur-q__pc.is-busy .cur-q__screen::after {
    content: "";
    position: absolute;
    left: -40%;
    top: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(38, 198, 218, 0.4), transparent);
    animation: cur-scan 1.2s linear infinite;
}
.cur-q__lane-head {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #26C6DA;
    padding-left: 2px;
}
.cur-q__lane {
    flex: 1;
    border: 1px dashed rgba(38, 198, 218, 0.4);
    border-radius: 10px;
    background: rgba(16, 35, 60, 0.7);
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.cur-q__item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 8px;
    background: #1a3a5c;
    border: 1px solid transparent;
    color: #e8f1f8;
    font-size: 11px;
    font-weight: 700;
    min-height: 32px;
    box-sizing: border-box;
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s, opacity 0.3s;
}
.cur-q__item.is-off {
    opacity: 0.28;
    background: transparent;
    border: 1px dashed rgba(38, 198, 218, 0.22);
}
.cur-q__item.is-off .cur-q__ref,
.cur-q__item.is-off .cur-q__st,
.cur-q__item.is-off .cur-q__lock { visibility: hidden; }
.cur-q__item.is-new { border-color: rgba(255, 193, 7, 0.55); }
.cur-q__item.is-locked {
    border-color: #26C6DA;
    box-shadow: 0 0 12px rgba(38, 198, 218, 0.4);
}
.cur-q__item.is-busy { background: #163a5c; border-color: #1976D2; }
.cur-q__item.is-ok { background: rgba(0, 181, 204, 0.22); border-color: #00B5CC; }
.cur-q__item.is-fail { background: rgba(229, 115, 115, 0.22); border-color: #e57373; }
.cur-q__item.is-retry {
    border-color: #ffb74d;
    box-shadow: 0 0 10px rgba(255, 183, 77, 0.35);
}
.cur-q__ref { flex: 1; min-width: 0; }
.cur-q__lock {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    opacity: 0;
    background: #26C6DA;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M17 8V7a5 5 0 0 0-10 0v1H5v14h14V8h-2zm-8-1a3 3 0 0 1 6 0v1H9V7zm4 8a2 2 0 1 1-2-2 2 2 0 0 1 2 2z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M17 8V7a5 5 0 0 0-10 0v1H5v14h14V8h-2zm-8-1a3 3 0 0 1 6 0v1H9V7zm4 8a2 2 0 1 1-2-2 2 2 0 0 1 2 2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.cur-q__item.is-locked .cur-q__lock,
.cur-q__item.is-busy .cur-q__lock,
.cur-q__item.is-retry .cur-q__lock { opacity: 1; }
.cur-q__st {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #bfd2e3;
    white-space: nowrap;
}
.cur-q__st.is-new { background: rgba(255, 193, 7, 0.2); color: #ffd54f; }
.cur-q__st.is-locked { background: rgba(38, 198, 218, 0.2); color: #26C6DA; }
.cur-q__st.is-busy { background: rgba(25, 118, 210, 0.25); color: #90caf9; }
.cur-q__st.is-ok { background: rgba(0, 181, 204, 0.25); color: #80deea; }
.cur-q__st.is-fail { background: rgba(229, 115, 115, 0.25); color: #ef9a9a; }
.cur-q__st.is-retry { background: rgba(255, 183, 77, 0.2); color: #ffcc80; }
.cur-q__caption {
    margin: 0;
    min-height: 38px;
    font-size: 12px;
    line-height: 1.4;
    color: #bfd2e3;
    text-align: center;
    padding: 0 6px;
}

@keyframes cur-scan {
    to { left: 110%; }
}

/* ---- Frota: PCs diferentes, robôs diferentes ---- */
.cur-stage--fleet { min-height: 448px; }
.cur-fl {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 12px 12px 10px;
    gap: 8px;
    box-sizing: border-box;
}
.cur-fl__kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}
.cur-fl__kpi {
    background: #10233c;
    border: 1px solid rgba(191, 210, 227, 0.12);
    border-radius: 8px;
    padding: 7px 4px 6px;
    text-align: center;
}
.cur-fl__kpi strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #e8f1f8;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
.cur-fl__kpi span {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8aa3b8;
}
.cur-fl__kpi[data-fl-kpi="robots"] strong { color: #26C6DA; }
.cur-fl__kpi[data-fl-kpi="ok"] strong { color: #00B5CC; }
.cur-fl__net {
    margin: 0;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8aa3b8;
}
.cur-fl__floor {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    flex: 1;
    min-height: 210px;
}
.cur-fl__pc {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    background: #10233c;
    border: 1px solid rgba(191, 210, 227, 0.18);
    border-top: 3px solid rgba(191, 210, 227, 0.25);
    border-radius: 12px;
    padding: 10px 8px 8px;
    color: #e8f1f8;
    transition: border-color 0.3s, box-shadow 0.3s, opacity 0.4s, filter 0.3s, transform 0.4s;
}
.cur-fl__pc.is-ghost {
    opacity: 0.38;
    border-style: dashed;
    filter: grayscale(0.6);
}
.cur-fl__pc.is-busy {
    box-shadow: 0 0 16px rgba(38, 198, 218, 0.28);
}
.cur-fl__pc.is-down {
    opacity: 0.5;
    filter: grayscale(0.85);
    border-top-color: #e57373;
    box-shadow: none;
}
.cur-fl__pc.is-robot-oficios { border-top-color: #26C6DA; }
.cur-fl__pc.is-robot-notas { border-top-color: #1976D2; }
.cur-fl__pc.is-robot-legal { border-top-color: #00B5CC; }
.cur-fl__pc.is-robot-oficios.is-busy { box-shadow: 0 0 16px rgba(38, 198, 218, 0.35); }
.cur-fl__pc.is-robot-notas.is-busy { box-shadow: 0 0 16px rgba(25, 118, 210, 0.4); }
.cur-fl__pc.is-robot-legal.is-busy { box-shadow: 0 0 16px rgba(0, 181, 204, 0.35); }
.cur-fl__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}
.cur-fl__place {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: -0.01em;
}
.cur-fl__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #5d6a7d;
    flex-shrink: 0;
}
.cur-fl__pc.is-assigned .cur-fl__dot,
.cur-fl__pc.is-busy .cur-fl__dot { background: #26C6DA; }
.cur-fl__pc.is-busy .cur-fl__dot {
    box-shadow: 0 0 8px #26C6DA;
    animation: cur-fl-pulse 1.2s ease-in-out infinite;
}
.cur-fl__pc.is-ok .cur-fl__dot { background: #00B5CC; }
.cur-fl__pc.is-down .cur-fl__dot { background: #e57373; box-shadow: none; animation: none; }
.cur-fl__pc.is-ghost .cur-fl__dot { background: #5d6a7d; }
.cur-fl__robot {
    font-size: 12px;
    font-weight: 800;
    min-height: 16px;
    color: #8aa3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cur-fl__pc.is-robot-oficios .cur-fl__robot { color: #26C6DA; }
.cur-fl__pc.is-robot-notas .cur-fl__robot { color: #90caf9; }
.cur-fl__pc.is-robot-legal .cur-fl__robot { color: #80deea; }
.cur-fl__screen {
    position: relative;
    overflow: hidden;
    background: #071018;
    border-radius: 6px;
    padding: 8px 8px 10px;
    min-height: 58px;
}
.cur-fl__chrome {
    display: block;
    width: 22px;
    height: 6px;
    margin-bottom: 6px;
    border-radius: 3px;
    background:
        radial-gradient(circle closest-side, #e57373 70%, transparent 71%) 0 50% / 6px 6px no-repeat,
        radial-gradient(circle closest-side, #ffd54f 70%, transparent 71%) 8px 50% / 6px 6px no-repeat,
        radial-gradient(circle closest-side, #00B5CC 70%, transparent 71%) 16px 50% / 6px 6px no-repeat;
}
.cur-fl__item {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #bfd2e3;
    min-height: 14px;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cur-fl__bar {
    display: block;
    height: 5px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}
.cur-fl__bar i {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 4px;
    background: linear-gradient(90deg, #26C6DA, #1976D2);
    transition: width 0.55s ease;
}
.cur-fl__pc.is-robot-notas .cur-fl__bar i { background: #1976D2; }
.cur-fl__pc.is-robot-legal .cur-fl__bar i { background: #00B5CC; }
.cur-fl__pc.is-busy .cur-fl__screen::after {
    content: "";
    position: absolute;
    left: -40%;
    top: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(38, 198, 218, 0.18), transparent);
    animation: cur-scan 1.4s linear infinite;
    pointer-events: none;
}
.cur-fl__foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: #8aa3b8;
    font-weight: 700;
}
.cur-fl__foot strong {
    color: #e8f1f8;
    font-variant-numeric: tabular-nums;
}
.cur-fl__st {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8aa3b8;
}
.cur-fl__pc.is-busy .cur-fl__st { color: #26C6DA; }
.cur-fl__pc.is-ok .cur-fl__st { color: #00B5CC; }
.cur-fl__pc.is-down .cur-fl__st { color: #ef9a9a; }
.cur-fl__caption {
    margin: 0;
    min-height: 38px;
    font-size: 12px;
    line-height: 1.4;
    color: #bfd2e3;
    text-align: center;
    padding: 0 4px;
}
@keyframes cur-fl-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

/* ---- Interpretador: receita em cartões (como a tela real) ---- */
.cur-stage--int { min-height: 440px; }
.cur-ix {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 14px 12px 10px;
    gap: 12px;
    box-sizing: border-box;
}
.cur-ix__top {
    display: flex;
    align-items: center;
    gap: 0;
}
.cur-ix__source {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px 7px 8px;
    border-radius: 999px;
    background: #10233c;
    border: 1px solid rgba(191, 210, 227, 0.18);
    color: #e8f1f8;
    font-size: 11px;
    font-weight: 700;
    max-width: 100%;
    transition: border-color 0.35s, box-shadow 0.35s, opacity 0.35s, transform 0.35s;
}
.cur-ix__source.is-off {
    opacity: 0.4;
    transform: translateX(-6px);
}
.cur-ix__source.is-in {
    opacity: 1;
    transform: none;
    border-color: #26C6DA;
    box-shadow: 0 0 14px rgba(38, 198, 218, 0.3);
}
.cur-ix__pdf {
    flex-shrink: 0;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #071018;
    background: #26C6DA;
    border-radius: 5px;
    padding: 3px 6px;
}
.cur-ix__src-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cur-ix__pipe {
    flex: 1;
    height: 2px;
    margin-left: 4px;
    background: rgba(38, 198, 218, 0.15);
    position: relative;
    transition: background 0.35s;
}
.cur-ix__pipe.is-on {
    background: linear-gradient(90deg, #26C6DA, rgba(38, 198, 218, 0.15));
}
.cur-ix__pipe.is-on::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 7px;
    height: 7px;
    margin-top: -4px;
    border-right: 2px solid #26C6DA;
    border-top: 2px solid #26C6DA;
    transform: rotate(45deg);
}

.cur-ix__chain {
    display: flex;
    align-items: stretch;
    gap: 0;
    min-height: 168px;
}
.cur-ix__card {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
    gap: 8px;
    padding: 12px 10px;
    border-radius: 14px;
    background: #10233c;
    border: 1px solid rgba(191, 210, 227, 0.16);
    border-top-width: 3px;
    color: #e8f1f8;
    overflow: hidden;
    transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s, opacity 0.35s;
}
.cur-ix__card.accent-a { border-top-color: #2ed573; }
.cur-ix__card.accent-b { border-top-color: #1976D2; }
.cur-ix__card.accent-c { border-top-color: #ff9f43; }
.cur-ix__card.is-idle { opacity: 0.55; }
.cur-ix__card.is-busy {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}
.cur-ix__card.accent-a.is-busy { border-color: #2ed573; box-shadow: 0 0 18px rgba(46, 213, 115, 0.28); }
.cur-ix__card.accent-b.is-busy { border-color: #1976D2; box-shadow: 0 0 18px rgba(25, 118, 210, 0.35); }
.cur-ix__card.accent-c.is-busy { border-color: #ff9f43; box-shadow: 0 0 18px rgba(255, 159, 67, 0.3); }
.cur-ix__card.is-done {
    opacity: 1;
    border-color: rgba(0, 181, 204, 0.45);
}
.cur-ix__card.is-swap {
    opacity: 1;
    border-color: #ffb74d;
    box-shadow: 0 0 18px rgba(255, 183, 77, 0.4);
}
.cur-ix__num {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #071018;
    background: #8aa3b8;
}
.cur-ix__card.accent-a .cur-ix__num { background: #2ed573; }
.cur-ix__card.accent-b .cur-ix__num { background: #64b5f6; }
.cur-ix__card.accent-c .cur-ix__num { background: #ffb74d; }
.cur-ix__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    flex: 1;
}
.cur-ix__title {
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.01em;
}
.cur-ix__model {
    align-self: flex-start;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #8aa3b8;
    transition: background 0.3s, color 0.3s, transform 0.3s;
}
.cur-ix__card.is-busy .cur-ix__model,
.cur-ix__card.is-done .cur-ix__model {
    background: rgba(38, 198, 218, 0.16);
    color: #26C6DA;
}
.cur-ix__card.is-swap .cur-ix__model {
    background: rgba(255, 183, 77, 0.22);
    color: #ffcc80;
    transform: scale(1.05);
}
.cur-ix__in {
    display: block;
    margin-top: 2px;
    font-size: 9px;
    font-weight: 700;
    color: #5d6a7d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 12px;
    transition: color 0.3s;
}
.cur-ix__card.is-busy .cur-ix__in,
.cur-ix__card.is-done .cur-ix__in { color: #8aa3b8; }
.cur-ix__outchip {
    display: block;
    margin-top: auto;
    padding: 6px 8px;
    border-radius: 8px;
    background: #071018;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    color: #e8f1f8;
    min-height: 34px;
    box-sizing: border-box;
    transition: opacity 0.4s, transform 0.4s, background 0.3s;
}
.cur-ix__outchip.is-off {
    opacity: 0;
    transform: translateY(6px);
}
.cur-ix__outchip.is-on {
    opacity: 1;
    transform: none;
    background: rgba(0, 181, 204, 0.12);
    border: 1px solid rgba(0, 181, 204, 0.35);
}
.cur-ix__pulse {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.07) 48%, transparent 62%);
    transform: translateX(-60%);
}
.cur-ix__card.is-busy .cur-ix__pulse {
    opacity: 1;
    animation: cur-ix-shine 1.4s linear infinite;
}

.cur-ix__link {
    position: relative;
    flex: 0 0 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cur-ix__link-line {
    width: 100%;
    height: 2px;
    background: rgba(38, 198, 218, 0.18);
    position: relative;
    transition: background 0.35s;
}
.cur-ix__link-line::after {
    content: "";
    position: absolute;
    right: -1px;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-right: 2px solid rgba(38, 198, 218, 0.25);
    border-top: 2px solid rgba(38, 198, 218, 0.25);
    transform: rotate(45deg);
}
.cur-ix__link.is-on .cur-ix__link-line {
    background: #26C6DA;
}
.cur-ix__link.is-on .cur-ix__link-line::after {
    border-color: #26C6DA;
}
.cur-ix__token {
    position: absolute;
    left: 0;
    top: 50%;
    width: 10px;
    height: 10px;
    margin-top: -5px;
    border-radius: 50%;
    background: #26C6DA;
    box-shadow: 0 0 10px rgba(38, 198, 218, 0.8);
    opacity: 0;
    pointer-events: none;
}
.cur-ix__token.is-run {
    opacity: 1;
    animation: cur-ix-token 0.7s ease forwards;
}

.cur-ix__result {
    padding: 10px 12px;
    border-radius: 12px;
    background: #10233c;
    border: 1px solid rgba(191, 210, 227, 0.16);
    transition: border-color 0.35s, box-shadow 0.35s;
}
.cur-ix__result.is-ready {
    border-color: #00B5CC;
    box-shadow: 0 0 16px rgba(0, 181, 204, 0.28);
}
.cur-ix__result-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.cur-ix__result-head strong {
    font-size: 11px;
    font-weight: 800;
    color: #e8f1f8;
    letter-spacing: 0.02em;
}
.cur-ix__result-head span {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8aa3b8;
}
.cur-ix__result.is-ready .cur-ix__result-head span { color: #00B5CC; }
.cur-ix__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 30px;
}
.cur-ix__chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 8px;
    background: #071018;
    border: 1px solid rgba(38, 198, 218, 0.28);
    color: #e8f1f8;
    font-size: 11px;
    font-weight: 700;
    max-width: 100%;
    transition: opacity 0.4s, transform 0.4s;
}
.cur-ix__chip.is-off {
    opacity: 0;
    transform: scale(0.92);
    width: 0;
    padding: 0;
    margin: 0;
    border: 0;
    overflow: hidden;
}
.cur-ix__chip.is-on {
    opacity: 1;
    transform: none;
}
.cur-ix__caption {
    margin: 0;
    min-height: 36px;
    font-size: 12px;
    line-height: 1.4;
    color: #bfd2e3;
    text-align: center;
    padding: 0 4px;
}

@keyframes cur-ix-shine {
    to { transform: translateX(120%); }
}
@keyframes cur-ix-token {
    0% { left: 0; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { left: calc(100% - 10px); opacity: 0; }
}
@keyframes cur-ix-token-v {
    0% { top: 0; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { top: calc(100% - 10px); opacity: 0; }
}

/* ---- Benchmark ---- */
.cur-bm {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    height: 100%;
    padding: 48px 28px 24px;
}
.cur-bm__row { color: #e8f1f8; }
.cur-bm__meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
}
.cur-bm__meta em { font-style: normal; color: #8aa3b8; font-weight: 600; }
.cur-bm__bar {
    height: 10px;
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
    overflow: hidden;
}
.cur-bm__bar span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--cur-grad);
    border-radius: 6px;
}
.cur-bm__badge {
    display: none;
    margin-left: 8px;
    padding: 1px 8px;
    border-radius: 999px;
    background: #00B5CC;
    color: #071018;
    font-size: 10px;
    font-weight: 800;
}
.cur-stage.is-playing .cur-bm--a .cur-bm__bar span { animation: cur-fill-a 1.6s 0.2s ease forwards; }
.cur-stage.is-playing .cur-bm--b .cur-bm__bar span { animation: cur-fill-b 1.6s 0.5s ease forwards; }
.cur-stage.is-playing .cur-bm--c .cur-bm__bar span { animation: cur-fill-c 1.6s 0.8s ease forwards; }
.cur-stage.is-playing .cur-bm--b .cur-bm__badge {
    display: inline-block;
    animation: cur-in 0.4s 2.2s ease both;
}
@keyframes cur-fill-a { to { width: 94%; } }
@keyframes cur-fill-b { to { width: 91%; } }
@keyframes cur-fill-c { to { width: 82%; } }
@keyframes cur-in { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }

/* Interpretador e benchmark seguem o palco de 280px (.cur-stage). */

/* ---- Carrossel de provedores ---- */
.cur-prov {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 120px;
    border-radius: 16px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 120% at 10% 50%, rgba(38, 198, 218, 0.12), transparent 55%),
        radial-gradient(ellipse 70% 100% at 90% 40%, rgba(25, 118, 210, 0.14), transparent 50%),
        #071018;
    border: 1px solid rgba(38, 198, 218, 0.28);
    box-shadow: 0 24px 50px rgba(13, 33, 66, 0.16);
    overflow-anchor: none;
}
.cur-prov__fade {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        #071018 0%,
        transparent 12%,
        transparent 88%,
        #071018 100%
    );
}
.cur-prov__track {
    display: flex;
    width: max-content;
    gap: 0;
    animation: cur-prov-scroll 32s linear infinite;
}
.cur-prov:hover .cur-prov__track {
    animation-play-state: paused;
}
.cur-prov__group {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 6px;
}
.cur-prov__item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(16, 35, 60, 0.92);
    border: 1px solid rgba(191, 210, 227, 0.16);
    color: #e8f1f8;
    min-width: 168px;
}
.cur-prov__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(38, 198, 218, 0.12);
    color: #26C6DA;
    flex-shrink: 0;
}
.cur-prov__logo img {
    width: 22px;
    height: 22px;
    display: block;
}
.cur-prov__name {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.01em;
    white-space: nowrap;
}
.cur-hint a {
    color: #00B5CC;
    font-weight: 700;
    text-decoration: none;
}
.cur-hint a:hover { color: #26C6DA; text-decoration: underline; }

@keyframes cur-prov-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.cur-cta {
    background: #0b1a2e;
    border-radius: 18px;
    padding: 40px 32px;
    text-align: center;
    margin: 8px 0 8px;
}
.cur-cta .cur-wordmark-plate {
    margin-bottom: 16px;
}
.cur-cta .cur-wordmark--on-dark {
    margin: 0 auto 16px;
    filter:
        drop-shadow(0 0 1px rgba(255, 255, 255, 0.9))
        drop-shadow(0 0 10px rgba(38, 198, 218, 0.4));
}
.cur-cta h3 { color: #fff; font-size: 24px; font-weight: 800; margin: 0 0 8px; }
.cur-cta p { color: #8aa3b8; margin: 0 0 22px; }
.cur-cta__row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cur-cta a.is-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(38, 198, 218, 0.4);
    color: #26C6DA;
}
.cur-cta a.is-ghost:hover { color: #fff; border-color: #26C6DA; }

@media (max-width: 991px) {
    .cur-modes, .cur-block, .cur-block.is-flip, .cur-block.is-wide {
        grid-template-columns: 1fr;
    }
    .cur-block.is-flip .cur-block__media { order: 0; }
    .cur-jump { top: 70px; }
    .cur-intro h2 { font-size: 26px; }
    .cur-stage--story { min-height: 0; }
    .cur-q__board {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .cur-q__col--src {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .cur-q__role { min-height: 72px; }
    .cur-q__col--pcs {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 6px;
    }
    .cur-q__pc small { font-size: 9px; }
    .cur-q__kpi span { font-size: 8px; }
    .cur-q__caption { min-height: 48px; }
    .cur-fl__floor {
        grid-template-columns: 1fr 1fr;
        min-height: 0;
    }
    .cur-fl__caption { min-height: 48px; }
    .cur-stage--fleet { min-height: 0; }
    .cur-stage--int { min-height: 0; }
    .cur-ix__chain {
        flex-direction: column;
        gap: 0;
        min-height: 0;
    }
    .cur-ix__link {
        flex: 0 0 22px;
        width: 100%;
    }
    .cur-ix__link-line {
        width: 2px;
        height: 100%;
        margin: 0 auto;
    }
    .cur-ix__link-line::after {
        right: auto;
        left: 50%;
        top: auto;
        bottom: -1px;
        margin-top: 0;
        margin-left: -3px;
        transform: rotate(135deg);
    }
    .cur-ix__token {
        left: 50%;
        top: 0;
        margin-left: -5px;
        margin-top: 0;
    }
    .cur-ix__token.is-run {
        animation: cur-ix-token-v 0.7s ease forwards;
    }
    .cur-ix__pipe { display: none; }
    .cur-ix__caption { min-height: 48px; }
    .cur-prov { min-height: 100px; }
    .cur-prov__item { min-width: 148px; padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .cur-stage.is-playing * { animation: none !important; }
    .cur-bm__bar span { width: 80%; }
    .cur-q__pc.is-busy .cur-q__screen::after,
    .cur-fl__pc.is-busy .cur-fl__screen::after,
    .cur-fl__pc.is-busy .cur-fl__dot,
    .cur-ix__card.is-busy .cur-ix__pulse,
    .cur-ix__token.is-run { animation: none !important; }
    .cur-prov__track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
        gap: 8px;
        padding: 14px;
    }
    .cur-prov__group:last-child { display: none; }
    .cur-prov__fade { display: none; }
}

.theme-dark .cur-intro h2,
.theme-dark .cur-block h3,
.theme-dark .cur-mode h3 { color: #fff; }
.theme-dark .cur-mode {
    background: #121c28;
    border-color: rgba(38, 198, 218, 0.22);
}
.theme-dark .cur-jump { background: linear-gradient(#0b1a2e 70%, transparent); }
.theme-dark .cur-jump a { background: #121c28; color: #e8f1f8; border-color: rgba(38,198,218,0.22); }
