/* =========================================================
   ROI — neon dashboard (tech glass + faixas de mercado)
   Refs: phosphor green data, glass panels, salary bands
   ========================================================= */

.roi-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(4.5rem, 9vw, 7rem) 0;
}

.roi-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(640px 380px at 12% 18%, rgba(0, 230, 118, 0.08), transparent 65%),
        radial-gradient(560px 360px at 88% 70%, rgba(94, 23, 235, 0.18), transparent 60%),
        radial-gradient(420px 280px at 50% 100%, rgba(34, 211, 238, 0.06), transparent 70%);
}

.roi-header {
    max-width: 42rem;
    margin: 0 auto 2.25rem;
    text-align: center;
}

.roi-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #86efac;
    background: rgba(0, 230, 118, 0.08);
    border: 1px solid rgba(134, 239, 172, 0.28);
    box-shadow: 0 0 24px rgba(0, 230, 118, 0.12);
}

.roi-eyebrow svg {
    width: 14px;
    height: 14px;
}

.roi-title {
    margin: 0 0 0.85rem;
    font-size: clamp(1.95rem, 4.2vw, 2.9rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #fff;
    background: none;
    -webkit-text-fill-color: #fff;
}

.roi-subtitle {
    margin: 0 auto;
    max-width: 34rem;
    font-size: 1.05rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.62);
}

/* Hero metrics strip */
.roi-hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 1040px;
    margin: 0 auto 2rem;
}

.roi-metric {
    position: relative;
    padding: 1.15rem 1.2rem;
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(22, 24, 36, 0.95), rgba(10, 10, 16, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.roi-metric::before {
    content: "";
    position: absolute;
    inset: auto -20% -40% 20%;
    height: 70%;
    border-radius: 50%;
    filter: blur(28px);
    opacity: 0.55;
    pointer-events: none;
}

.roi-metric-payback::before { background: rgba(0, 230, 118, 0.45); }
.roi-metric-market::before { background: rgba(167, 139, 250, 0.45); }
.roi-metric-peak::before { background: rgba(34, 211, 238, 0.4); }

.roi-metric-label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.48);
}

.roi-metric-value {
    display: block;
    font-size: clamp(1.55rem, 3vw, 2.05rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.roi-metric-payback .roi-metric-value {
    color: #00e676;
    text-shadow: 0 0 22px rgba(0, 230, 118, 0.45);
}

.roi-metric-market .roi-metric-value {
    color: #c4b5fd;
    text-shadow: 0 0 22px rgba(167, 139, 250, 0.4);
}

.roi-metric-peak .roi-metric-value {
    color: #22d3ee;
    text-shadow: 0 0 22px rgba(34, 211, 238, 0.4);
}

.roi-metric-note {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.78rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.5);
}

/* Main neon board */
.roi-board {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    margin: 0 auto 1.75rem;
    max-width: 980px;
}

.roi-market {
    position: relative;
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
    border-radius: 24px;
    background:
        linear-gradient(165deg, rgba(18, 18, 28, 0.92), rgba(8, 8, 14, 0.98));
    border: 1px solid rgba(134, 239, 172, 0.18);
    box-shadow:
        0 0 0 1px rgba(0, 230, 118, 0.05),
        0 28px 60px -36px rgba(0, 0, 0, 0.95),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.roi-market::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -10%;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(0, 230, 118, 0.08);
    filter: blur(40px);
    pointer-events: none;
}

.roi-market-head {
    position: relative;
    z-index: 1;
    margin-bottom: 1.25rem;
}

.roi-market-head span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #86efac;
}

.roi-market-head strong {
    display: block;
    font-size: clamp(1.15rem, 2.2vw, 1.4rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.roi-bands {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.85rem;
}

.roi-band {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto;
    gap: 0.9rem 1.15rem;
    align-items: center;
    padding: 1.1rem 1.2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.roi-band:hover {
    background: rgba(0, 230, 118, 0.04);
    border-color: rgba(134, 239, 172, 0.28);
    box-shadow: 0 0 28px -12px rgba(0, 230, 118, 0.45);
}

.roi-band-name {
    min-width: 0;
}

.roi-band-name strong {
    display: block;
    font-size: 0.98rem;
    color: #fff;
    line-height: 1.25;
}

.roi-band-name small {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.48);
}

.roi-band-bar {
    position: relative;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.roi-band-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #059669, #00e676 70%, #67f5a8);
    box-shadow: 0 0 16px rgba(0, 230, 118, 0.55);
    width: var(--fill, 40%);
    animation: roiFill 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.roi-band:nth-child(1) .roi-band-fill { animation-delay: 0.05s; }
.roi-band:nth-child(2) .roi-band-fill { animation-delay: 0.12s; }
.roi-band:nth-child(3) .roi-band-fill { animation-delay: 0.18s; }
.roi-band:nth-child(4) .roi-band-fill { animation-delay: 0.24s; }
.roi-band:nth-child(5) .roi-band-fill { animation-delay: 0.3s; }
.roi-band:nth-child(6) .roi-band-fill { animation-delay: 0.36s; }

@keyframes roiFill {
    from { width: 0; opacity: 0.4; }
    to { width: var(--fill, 40%); opacity: 1; }
}

.roi-band-value {
    text-align: right;
    white-space: nowrap;
}

.roi-band-value b {
    display: block;
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #00e676;
    text-shadow: 0 0 18px rgba(0, 230, 118, 0.35);
}

.roi-band-value span {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
}

.roi-market-foot {
    position: relative;
    z-index: 1;
    margin-top: 1.1rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.42);
}

/* Context strip under bands */
.roi-context {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1.15rem;
    align-items: center;
    max-width: 980px;
    margin: 0 auto 1.75rem;
    padding: 1.15rem 1.3rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(167, 139, 250, 0.22);
}

.roi-context-stat {
    display: grid;
    gap: 0.15rem;
    padding-right: 1.15rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.roi-context-stat strong {
    font-size: clamp(1.8rem, 3.5vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: #c4b5fd;
    text-shadow: 0 0 20px rgba(167, 139, 250, 0.35);
}

.roi-context-stat span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 9rem;
    line-height: 1.3;
}

.roi-context-copy {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
}

.roi-context-copy b {
    color: #fff;
}

.roi-cta-row {
    display: flex;
    justify-content: center;
    margin: 0 0 1.35rem;
}

.roi-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.95rem 1.45rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #04140c;
    text-decoration: none;
    background: linear-gradient(135deg, #00e676, #34d399);
    border: 1px solid rgba(167, 243, 208, 0.55);
    box-shadow:
        0 0 28px rgba(0, 230, 118, 0.35),
        0 14px 30px -14px rgba(0, 230, 118, 0.7);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.roi-cta:hover {
    color: #04140c;
    transform: translateY(-1px);
    box-shadow:
        0 0 36px rgba(0, 230, 118, 0.5),
        0 18px 34px -12px rgba(0, 230, 118, 0.85);
}

.roi-cta svg {
    width: 16px;
    height: 16px;
}

.roi-disclaimer {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    font-size: 0.78rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 860px) {
    .roi-hero-metrics {
        grid-template-columns: 1fr;
    }

    .roi-band {
        grid-template-columns: 1fr auto;
        gap: 0.55rem 0.75rem;
    }

    .roi-band-bar {
        grid-column: 1 / -1;
        order: 3;
    }

    .roi-context {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .roi-context-stat {
        padding-right: 0;
        padding-bottom: 0.75rem;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media (prefers-reduced-motion: reduce) {
    .roi-band-fill {
        animation: none;
    }
}
