/* =====================================================
   SOLUCOES.CSS — Estilos exclusivos de solucoes.html
   Projeto: Confiança FIDC
   Depende de: style.css (base, header, footer, utilitários)
   ===================================================== */

/* =====================================================
   HERO CAROUSEL HCC — 35% texto / 65% stage
   ===================================================== */
.page-hero--hcc {
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
}

.page-hero--hcc .page-hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.92) 0%,
        rgba(0,0,0,0.80) 45%,
        rgba(0,0,0,0.68) 100%
    );
}

/* Painel de texto — esquerda 35% */
.hcc-content {
    margin-top: 50px;
    position: relative;
    z-index: 3;
    width: 40%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0px 30px 0px var(--page-pad);
}

.hcc-content h1 {
    font-size: 30px;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.07;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    margin-bottom: 18px;
}

.hcc-content p {
    font-size: var(--fs-base);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    line-height: 1.4;
    max-width: 520px;
    margin-bottom: 18px;
}

/* Stage — direita 65% */
.hcc-stage {
    --card-w: 250px;
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Cards — absolutamente centrados no stage */
.hcc-card {
    position: absolute;
    left: 50%;
    top: 55%;
    width: var(--card-w);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    -webkit-user-drag: none;
    transform: translate(-50%, -50%) translateX(160%) scale(0.78);
    opacity: 0;
    z-index: 1;
    transition:
        transform 0.62s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.50s ease;
    will-change: transform, opacity;
}

.hcc-card.is-active {
    transform: translate(-50%, -50%) translateX(0) scale(1);
    opacity: 1;
    z-index: 3;
}

.hcc-card.is-prev {
    transform: translate(-50%, -50%) translateX(calc(-1 * (var(--card-w) + 22px))) scale(0.82);
    opacity: 0.48;
    z-index: 2;
}

.hcc-card.is-next {
    transform: translate(-50%, -50%) translateX(calc(var(--card-w) + 22px)) scale(0.82);
    opacity: 0.48;
    z-index: 2;
}

.hcc-card.is-hidden {
    transform: translate(-50%, -50%) translateX(160%) scale(0.75);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

.hcc-card img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center top;
    display: block;
    pointer-events: none;
    -webkit-user-drag: none;
}

.hcc-card-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 36px 16px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.80) 0%, transparent 100%);
}

.hcc-card-role {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.692);
    margin-top: 5px;
}

.hcc-card-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -0.01em;
}

.hcc-dots {
    position: absolute;
    bottom: clamp(22px, 3.5vh, 44px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hcc-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    padding: 0;
    transition: background 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.hcc-dot:hover {
    background: rgba(255,255,255,0.55);
    transform: scale(1.2);
}

.hcc-dot.active {
    background: rgba(255,255,255,0.88);
    transform: scale(1.4);
    box-shadow:
        0 0 0 2px rgba(255,255,255,0.18),
        0 0 10px rgba(255,255,255,0.22);
}

.hcc-dot.active:hover {
    box-shadow:
        0 0 0 3px rgba(255,255,255,0.28),
        0 0 18px rgba(255,255,255,0.38);
    transform: scale(1.55);
}

/* =====================================================
   SOL HERO CARDS — 4 serviços no hero
   ===================================================== */
.sol-hero-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 4px;
}

.sol-hero-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: radial-gradient(ellipse at 50% 100%, rgba(255,255,255,0.13) 0%, rgba(255,255,255,0.06) 55%, transparent 100%);
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 8px;
    cursor: default;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.06);
    transition:
        background 0.30s ease,
        border-color 0.30s ease,
        box-shadow 0.30s ease,
        transform 0.30s cubic-bezier(0.34,1.3,0.64,1);
}

.sol-hero-card:hover {
    background: #ffffff;
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.2);
}

.sol-hero-card-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.12);
    border-radius: 6px;
    color: rgba(255,255,255,0.90);
    transition: color 0.30s ease, background 0.30s ease;
}
.sol-hero-card:hover .sol-hero-card-icon {
    color: #0a0a0a;
    background: rgba(0,0,0,0.08);
}

.sol-hero-card-icon svg {
    width: 16px;
    height: 16px;
}

.sol-hero-card span {
    font-size: clamp(9px, 0.65vw, 11px);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.88);
    line-height: 1.4;
    transition: color 0.30s ease;
}
.sol-hero-card:hover span {
    color: #0a0a0a;
}

@media (max-width: 900px) {
    .page-hero--hcc {
        flex-direction: column;
        justify-content: flex-end;
    }
    .hcc-content {
        width: 100%;
        padding: clamp(90px, 12vh, 130px) var(--page-pad) 20px;
    }
    .hcc-content h1 { font-size: var(--fs-xl); }
    .hcc-stage {
        flex: 0 0 clamp(260px, 40vh, 340px);
        width: 100%;
    }
}

/* =====================================================
   QUEBRA — Feito para empresas que crescem
   ===================================================== */
.sol-break {
    background: #fff;
    padding: clamp(64px, 8vw, 104px) var(--page-pad);
    overflow: hidden;
}

.sol-break-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(48px, 6vw, 96px);
}

/* Coluna texto */
.sol-break-text {
    flex: 1;
    max-width: 580px;
}

.sol-break-label {
    color: rgba(0,0,0,0.35) !important;
}

.sol-break-title {
    font-size: clamp(26px, 3vw, 44px);
    font-weight: 900;
    color: #0a0a0a;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    line-height: 1.06;
    margin: 14px 0 20px;
}

.sol-break-sub {
    font-size: var(--fs-sm);
    color: rgba(0,0,0,0.52);
    line-height: 1.72;
    max-width: 480px;
    margin-bottom: 36px;
}

.sol-break-btn {
    background: rgba(10,10,10,0.10) !important;
    border-color: rgba(10,10,10,0.45) !important;
    color: #0a0a0a !important;
    backdrop-filter: blur(5px);
    padding: 14px 52px !important;
    font-size: 13px !important;
}

.sol-break-btn::after {
    border-color: rgba(10,10,10,0.7) !important;
}

.sol-break-btn:hover {
    background: rgba(10,10,10,0.92) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow:
        0 0 0 5px rgba(0,0,0,0.08),
        0 0 28px rgba(0,0,0,0.18) !important;
}

.sol-break-btn:hover::after {
    animation: btnRippleLight 0.52s ease forwards !important;
}

/* Coluna stats */
.sol-break-stats {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex-shrink: 0;
}

.sol-break-stat {
    padding: clamp(20px, 2.5vw, 28px) clamp(28px, 3.5vw, 48px);
    text-align: center;
}

.sol-break-divider {
    height: 1px;
    background: rgba(0,0,0,0.08);
    margin: 0 clamp(28px, 3.5vw, 48px);
}

.sol-break-stat-num {
    display: block;
    font-size: clamp(28px, 3.2vw, 46px);
    font-weight: 900;
    color: #0a0a0a;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 6px;
}

.sol-break-stat-label {
    font-size: clamp(10px, 0.72vw, 12px);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.38);
}

@media (max-width: 860px) {
    .sol-break-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .sol-break-stats {
        flex-direction: row;
        width: 100%;
        border-top: 1px solid rgba(0,0,0,0.08);
        padding-top: clamp(32px, 4vw, 48px);
    }
    .sol-break-stat { padding: 0; flex: 1; text-align: center; }
    .sol-break-divider { width: 1px; height: auto; margin: 0; }
}

/* =====================================================
   TABS — SOLUÇÕES
   ===================================================== */
#solucoes-tabs {
    padding-top: 40px;
}

/* =====================================================
   POR QUE A CONFIANÇA — 4 cards de diferenciais
   ===================================================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 2vw, 28px);
}
.why-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: clamp(24px, 2.4vw, 34px);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.why-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}
.why-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
}
.why-icon svg { width: 23px; height: 23px; }
.why-card h3 {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: -0.01em;
    margin: 0;
}
.why-card p {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.65;
    margin: 0;
}
@media (max-width: 860px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .why-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   OUTRAS SOLUÇÕES — catálogo de produtos extras
   ===================================================== */
.extra-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(14px, 1.8vw, 24px);
}
.extra-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: clamp(20px, 2vw, 28px);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.extra-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}
.extra-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-sm);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: -0.01em;
    margin: 0 0 8px;
}
.extra-card h3::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}
.extra-card p {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin: 0;
}
@media (max-width: 860px) {
    .extra-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .extra-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   SEGMENTOS — setores atendidos
   ===================================================== */
.segments-section { padding-block: clamp(44px, 5.5vw, 76px); }
.segment-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: clamp(8px, 0.9vw, 14px);
}
.segment-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: clamp(16px, 1.4vw, 22px) clamp(6px, 0.7vw, 10px);
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.segment-card:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.18);
    transform: translateY(-4px);
}
.segment-card svg {
    width: 28px;
    height: 28px;
    color: #0a0a0a;
}
.segment-card span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.25;
    color: rgba(0, 0, 0, 0.72);
}
@media (max-width: 1024px) {
    .segment-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 600px) {
    .segment-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 400px) {
    .segment-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================
   FLUXO (mesmo design de operações) — nav + detalhe
   ===================================================== */
.op-steps-nav {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: clamp(36px, 5vw, 52px);
}
.op-steps-nav::-webkit-scrollbar { display: none; }

.op-step-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px clamp(14px, 1.8vw, 26px);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    cursor: pointer;
    font-family: var(--font-main);
    white-space: nowrap;
    transition: background 0.22s ease, border-color 0.28s ease;
}
.op-step-btn:hover { background: rgba(255,255,255,0.03); }
.op-step-btn.active { border-bottom-color: rgba(255,255,255,0.58); }

.op-step-num {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.18);
    transition: color 0.25s ease;
    flex-shrink: 0;
}
.op-step-btn.active .op-step-num,
.op-step-btn:hover  .op-step-num { color: rgba(255,255,255,0.45); }

.op-step-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: rgba(255,255,255,0.16);
    transition: color 0.25s ease;
}
.op-step-btn.active .op-step-icon,
.op-step-btn:hover  .op-step-icon { color: rgba(255,255,255,0.72); }

.op-step-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.22);
    transition: color 0.25s ease;
}
.op-step-btn.active .op-step-label { color: rgba(255,255,255,0.88); }
.op-step-btn:hover  .op-step-label { color: rgba(255,255,255,0.5); }

.op-flow-panel { min-height: 280px; }

.op-flow-detail {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
    animation: opDetailIn 0.36s ease;
}
.op-flow-detail.active { display: grid; }

@keyframes opDetailIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.op-detail-tag {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.22);
    margin-bottom: 12px;
}
.op-detail-title {
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 900;
    color: var(--color-white);
    letter-spacing: -0.03em;
    text-transform: uppercase;
    line-height: 1.05;
    margin-bottom: 16px;
}
.op-detail-desc {
    font-size: var(--fs-sm);
    color: rgba(255,255,255,0.46);
    line-height: 1.8;
    margin-bottom: 26px;
    max-width: 420px;
}
.op-detail-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.op-detail-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--fs-xs);
    color: rgba(255,255,255,0.48);
    line-height: 1.5;
}
.op-detail-list li::before {
    content: '';
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255,255,255,0.28);
    flex-shrink: 0;
}

.op-detail-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.op-detail-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: clamp(14px, 1.5vw, 18px) clamp(16px, 1.8vw, 22px);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    transition: background 0.22s ease, border-color 0.22s ease;
}
.op-detail-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.14);
}
.op-detail-card-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border-radius: 6px;
    color: rgba(255,255,255,0.38);
    flex-shrink: 0;
}
.op-detail-card-icon svg { width: 16px; height: 16px; }
.op-detail-card-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.op-detail-card-label {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.22);
}
.op-detail-card-value {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: rgba(255,255,255,0.72);
    letter-spacing: -0.01em;
}

@media (max-width: 900px) {
    .op-flow-detail { grid-template-columns: 1fr; gap: clamp(28px, 4vw, 40px); }
}
@media (max-width: 600px) {
    .op-step-btn   { padding: 14px 12px; }
    .op-step-label { font-size: 9px; }
    .op-step-icon  { display: none; }
}

.tabs-nav {
    display: flex;
    gap: 2px;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 4px;
    align-items: flex-end;
}
.tabs-nav::-webkit-scrollbar { display: none; }

.tab-btn {
    position: relative;
    flex-shrink: 0;
    background: transparent;
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    padding: 11px 24px 13px;
    font-family: var(--font-main);
    font-size: clamp(10px, 0.72vw, 12px);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28);
    cursor: pointer;
    bottom: -1px;
    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.tab-btn::after { display: none; }

/* Hover — acende levemente sem comprometer a ativa */
.tab-btn:hover:not(.active) {
    color: rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.07);
}

/* Ativa — guia tipo Chrome refinada */
.tab-btn.active {
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
    border-color: rgba(255,255,255,0.18);
    color: #111;
    letter-spacing: 0.10em;
    box-shadow:
        0 -1px 0 0 rgba(255,255,255,0.35) inset,   /* brilho no topo */
        0 -4px 12px rgba(255,255,255,0.06);          /* glow acima */
    padding-bottom: 14px; /* compensa o bottom:-1px visualmente */
}

/* Linha branca que "cobre" a borda inferior sob a aba ativa */
.tab-btn.active::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #f5f5f5;
}

/* Painéis */
.tab-panel {
    display: none;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.tab-panel.active {
    display: grid;
}

.tab-img {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
}

.tab-img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.tab-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tab-content h2 {
    font-size: clamp(22px, 2vw, 32px);
    font-weight: 800;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0;
}

.tab-content p {
    font-size: var(--fs-sm);
    color: rgba(255,255,255,0.58);
    line-height: 1.72;
    margin: 0;
    max-width: 520px;
}

.tab-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.tab-benefit {
    padding: 7px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50px;
    font-size: clamp(10px, 0.75vw, 12px);
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.62);
    transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.tab-benefit:hover {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.28);
    color: rgba(255,255,255,0.88);
}

@media (max-width: 768px) {
    .tab-panel.active { grid-template-columns: 1fr; }
    .tab-img { order: -1; }
}

/* =====================================================
   STEPS DYNAMIC — Como Contratar
   ===================================================== */
.steps-dynamic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.06);
}

.step-d {
    position: relative;
    overflow: hidden;
    padding: clamp(36px, 4.5vw, 56px) clamp(24px, 3vw, 40px) clamp(44px, 5.5vw, 68px);
    background: #080808;
    cursor: default;
    transition: background 0.4s ease, transform 0.38s cubic-bezier(0.34, 1.2, 0.64, 1),
                box-shadow 0.4s ease;
}

.step-d::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 2px;
    background: var(--color-white);
    transition: width 0.52s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.step-d:hover::before { width: 100%; }

.step-d:hover {
    background: #111;
    transform: translateY(-7px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.55);
    z-index: 1;
}

.step-d-ghost {
    position: absolute;
    bottom: -16px; right: -6px;
    font-size: clamp(88px, 11vw, 148px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.06em;
    color: rgba(255,255,255,0.035);
    user-select: none;
    pointer-events: none;
    transition: color 0.45s ease, transform 0.48s ease;
}
.step-d:hover .step-d-ghost {
    color: rgba(255,255,255,0.07);
    transform: scale(1.1) translate(-6px, -10px);
}

.step-d-icon {
    width: clamp(32px, 2.8vw, 44px);
    height: clamp(32px, 2.8vw, 44px);
    color: rgba(255,255,255,0.18);
    margin-bottom: clamp(22px, 2.8vw, 34px);
    display: block;
    transition: color 0.35s ease, transform 0.38s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.step-d:hover .step-d-icon {
    color: rgba(255,255,255,0.85);
    transform: translateY(-5px);
}

.step-d-badge {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.18);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}
.step-d:hover .step-d-badge { color: rgba(255,255,255,0.5); }

.step-d h3 {
    font-size: clamp(14px, 1.2vw, 18px);
    font-weight: 800;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.15;
    margin-bottom: 18px;
    transition: color 0.3s ease;
}
.step-d:hover h3 { color: var(--color-white); }

.step-d p {
    font-size: var(--fs-sm);
    color: rgba(255,255,255,0.12);
    line-height: 1.72;
    margin: 0;
    transform: translateY(10px);
    transition: color 0.42s ease 0.06s, transform 0.42s ease 0.06s;
}
.step-d:hover p {
    color: rgba(255,255,255,0.52);
    transform: translateY(0);
}

.step-d-connector {
    position: absolute;
    top: clamp(36px, 4.5vw, 56px);
    right: -1px;
    width: 1px;
    height: 44px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.12), transparent);
}
.step-d:last-child .step-d-connector { display: none; }

@media (max-width: 860px) {
    .steps-dynamic { grid-template-columns: repeat(2, 1fr); }
    .step-d-connector { display: none; }
}
@media (max-width: 480px) {
    .steps-dynamic { grid-template-columns: 1fr; background: transparent; gap: 2px; }
    .step-d p { color: rgba(255,255,255,0.45); transform: none; }
    .step-d:hover { transform: none; }
}

/* =====================================================
   CTA — Próximo passo
   ===================================================== */
.cta-section {
    position: relative;
    padding: clamp(64px, 9vw, 112px) var(--page-pad);
    background: #050505;
    text-align: center;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(255,255,255,0.03) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section h2 {
    font-size: clamp(26px, 3vw, 46px);
    font-weight: 900;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: -0.025em;
    line-height: 1.06;
    margin-bottom: 18px;
    position: relative;
}

.cta-section p {
    font-size: var(--fs-base);
    color: rgba(255,255,255,0.52);
    line-height: 1.68;
    max-width: 520px;
    margin: 0 auto 36px;
    position: relative;
}

/* CTA em duas colunas — imagem à esquerda, texto à direita */
.cta-section { padding-block: clamp(34px, 4vw, 56px); }
.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
    max-width: 1080px;
    margin: 0 auto;
    text-align: left;
}
.cta-inner .cta-text { flex: 1 1 auto; }
.cta-inner .cta-text p { margin: 0 0 32px; max-width: 480px; }
.cta-media {
    flex: 0 0 auto;
    order: -1;
    width: clamp(300px, 40vw, 460px);
    aspect-ratio: 1 / 1;
    align-self: center;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}
.cta-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 820px) {
    .cta-inner { flex-direction: column; text-align: center; }
    .cta-inner .cta-text p { margin-left: auto; margin-right: auto; }
    .cta-media { width: 100%; min-height: 220px; }
}
