/* DispetroSmart — página dedicada + banner dinámico v2 */
:root {
    --dps-orange: #e85d2a;
    --dps-orange-dark: #c74b1f;
    --dps-gold: #f2b705;
    --dps-ink: #1a1f24;
    --dps-panel: #0f1419;
}

.dps-page {
    background: linear-gradient(180deg, #fff 0%, #fff8f4 40%, #fff 100%);
}

/* —— Hero —— */
.dps-hero {
    position: relative;
    overflow: hidden;
    padding: 2.75rem 0 2.5rem;
    background:
        radial-gradient(ellipse 70% 55% at 50% -5%, rgb(232 93 42 / 0.22), transparent 55%),
        linear-gradient(135deg, #1a1f24 0%, #2a1810 42%, #1e4a36 100%);
    color: #fff;
}

.dps-hero__glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgb(242 183 5 / 0.08), transparent 40%),
        radial-gradient(circle at 80% 20%, rgb(232 93 42 / 0.12), transparent 35%);
    animation: dps-hero-glow 8s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes dps-hero-glow {
    0% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.04); }
}

.dps-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.25rem;
    text-align: center;
}

.dps-hero__logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    line-height: 0;
}

.dps-hero__logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(92vw, 24rem);
    max-height: 10.5rem;
    margin-inline: auto;
    object-fit: contain;
    border-radius: 1rem;
    box-shadow:
        0 28px 70px rgb(0 0 0 / 0.38),
        0 0 0 1px rgb(255 255 255 / 0.06);
}

.dps-hero__eyebrow {
    display: block;
    margin-top: 1.35rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    border: 1px solid rgb(255 255 255 / 0.2);
    background: rgb(255 255 255 / 0.08);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgb(255 255 255 / 0.9);
}

.dps-hero__subtitle {
    margin: 1rem auto 0;
    max-width: 42rem;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: rgb(255 255 255 / 0.9);
}

.dps-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.6rem;
}

.dps-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.6rem 1.25rem;
    border-radius: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.dps-btn--primary {
    border: 1px solid var(--dps-orange);
    background: var(--dps-orange);
    color: #fff;
    box-shadow: 0 8px 24px rgb(232 93 42 / 0.35);
}

.dps-btn--primary:hover {
    background: var(--dps-orange-dark);
    transform: translateY(-1px);
}

.dps-btn--ghost {
    border: 1px solid rgb(255 255 255 / 0.35);
    background: rgb(255 255 255 / 0.08);
    color: #fff;
}

.dps-btn--ghost:hover {
    background: rgb(255 255 255 / 0.16);
}

/* —— Stats —— */
.dps-stats {
    position: relative;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    max-width: 42rem;
    margin: -1.25rem auto 0;
    padding: 0 1.25rem;
}

.dps-stat {
    flex: 1 1 7rem;
    padding: 0.85rem 1rem;
    border-radius: 0.85rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 12px 30px rgb(15 23 42 / 0.08);
    text-align: center;
}

.dps-stat__value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--dps-orange);
}

.dps-stat__label {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
}

/* —— Intro corporativa —— */
.dps-intro {
    padding: 2.5rem 0 1rem;
}

.dps-intro__inner {
    max-width: 48rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.dps-intro__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dps-ink);
    text-align: center;
}

.dps-intro__text {
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #475569;
    text-align: center;
}

.dps-intro__benefits {
    margin: 1.5rem auto 0;
    max-width: 36rem;
    display: grid;
    gap: 0.65rem;
    list-style: none;
    padding: 0;
}

.dps-intro__benefits li {
    position: relative;
    padding: 0.75rem 1rem 0.75rem 2.25rem;
    border-radius: 0.75rem;
    border: 1px solid rgb(232 93 42 / 0.15);
    background: #fff8f4;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #334155;
}

.dps-intro__benefits li::before {
    content: '✓';
    position: absolute;
    left: 0.85rem;
    top: 0.85rem;
    font-weight: 800;
    color: var(--dps-orange);
}

/* —— Showcase —— */
.dps-showcase {
    max-width: 72rem;
    margin: 1.75rem auto 0;
    padding: 0 1.25rem 3rem;
    position: relative;
    z-index: 2;
}

.dps-showcase__intro {
    margin-bottom: 1rem;
    text-align: center;
}

.dps-showcase__intro-title {
    margin: 0;
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    font-weight: 800;
    color: var(--dps-ink);
}

.dps-showcase__intro-sub {
    margin: 0.4rem 0 0;
    font-size: 0.9375rem;
    color: #64748b;
}

.dps-showcase__card {
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid rgb(226 232 240 / 0.9);
    background: #fff;
    box-shadow: 0 28px 60px rgb(15 23 42 / 0.12);
}

.dps-showcase__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(90deg, #fff8f4, #fff);
}

.dps-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.65rem;
    border-radius: 9999px;
    background: rgb(232 93 42 / 0.1);
    color: var(--dps-orange-dark);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.dps-live-badge::before {
    content: '';
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 9999px;
    background: var(--dps-orange);
    animation: dps-pulse-dot 1.4s ease-in-out infinite;
}

.dps-showcase__head-sync {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
}

@keyframes dps-pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.dps-showcase__progress {
    height: 4px;
    background: #e2e8f0;
}

.dps-showcase__progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--dps-orange), var(--dps-gold));
    transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Timeline */
.dps-timeline {
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    background: #fafafa;
    scrollbar-width: thin;
}

.dps-timeline__step {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    min-width: 4.5rem;
    padding: 0.4rem 0.5rem;
    border: none;
    border-radius: 0.65rem;
    background: transparent;
    cursor: pointer;
    transition: background 0.25s, transform 0.2s;
}

.dps-timeline__step:hover {
    background: rgb(232 93 42 / 0.06);
}

.dps-timeline__step.is-active {
    background: rgb(232 93 42 / 0.12);
}

.dps-timeline__step.is-done .dps-timeline__phase {
    color: #94a3b8;
}

.dps-timeline__phase {
    font-size: 0.5625rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--dps-orange);
}

.dps-timeline__icon {
    font-size: 1rem;
    line-height: 1;
}

.dps-timeline__label {
    max-width: 4.25rem;
    font-size: 0.5rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    color: #64748b;
}

.dps-timeline__step.is-active .dps-timeline__label {
    color: var(--dps-orange-dark);
    font-weight: 700;
}

/* Stage */
.dps-showcase__stage {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    min-height: 20rem;
}

@media (max-width: 900px) {
    .dps-showcase__stage {
        grid-template-columns: 1fr;
    }
}

.dps-showcase__col {
    padding: 1.25rem;
    min-width: 0;
    transition: box-shadow 0.4s ease;
}

.dps-showcase__col--panel {
    background: linear-gradient(180deg, #f8fafc, #fff);
    border-right: 1px solid #e2e8f0;
}

.dps-showcase__col--apk {
    background: linear-gradient(180deg, #fff8f4, #fff);
    border-left: 1px solid #e2e8f0;
}

@media (max-width: 900px) {
    .dps-showcase__col--panel { border-right: none; border-bottom: 1px solid #e2e8f0; }
    .dps-showcase__col--apk { border-left: none; }
}

[data-active-side='panel'] .dps-showcase__col--panel,
[data-active-side='apk'] .dps-showcase__col--apk {
    box-shadow: inset 0 0 0 2px rgb(232 93 42 / 0.22);
}

[data-active-side='sync'] .dps-showcase__col--panel,
[data-active-side='sync'] .dps-showcase__col--apk {
    box-shadow: inset 0 0 0 1px rgb(232 93 42 / 0.1);
}

.dps-showcase__col-title {
    margin: 0 0 0.75rem;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}

.dps-module-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dps-module-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.55rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    font-size: 0.625rem;
    font-weight: 600;
    color: #64748b;
    transition: all 0.35s ease;
}

.dps-module-pill.is-active {
    border-color: var(--dps-orange);
    background: rgb(232 93 42 / 0.1);
    color: var(--dps-orange-dark);
    box-shadow: 0 4px 12px rgb(232 93 42 / 0.15);
    transform: scale(1.04);
}

/* Mockups */
.dps-mockup {
    margin-top: 1rem;
    border-radius: 0.85rem;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.dps-showcase--tick .dps-mockup {
    animation: dps-mockup-pop 0.45s ease;
}

@keyframes dps-mockup-pop {
    0% { transform: scale(0.98); opacity: 0.85; }
    100% { transform: scale(1); opacity: 1; }
}

.dps-mockup--web {
    background: var(--dps-panel);
}

.dps-mockup__chrome {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.45rem 0.6rem;
    background: #1e293b;
    border-bottom: 1px solid #334155;
}

.dps-mockup__dot {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 9999px;
    background: #475569;
}

.dps-mockup__url {
    flex: 1;
    margin-left: 0.35rem;
    padding: 0.2rem 0.5rem;
    border-radius: 0.35rem;
    background: #0f172a;
    font-size: 0.5625rem;
    font-weight: 600;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dps-mockup__body {
    padding: 0.65rem;
}

.dps-mockup__kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
    margin-bottom: 0.55rem;
}

.dps-mockup__kpi {
    padding: 0.35rem 0.4rem;
    border-radius: 0.4rem;
    background: #1e293b;
    text-align: center;
}

.dps-mockup__kpi span {
    display: block;
    font-size: 0.5rem;
    color: #94a3b8;
}

.dps-mockup__kpi strong {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.75rem;
    color: #f8fafc;
}

.dps-mockup__rows {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.3rem;
}

.dps-mockup__row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.45rem;
    border-radius: 0.4rem;
    background: #1e293b;
    font-size: 0.5625rem;
    color: #cbd5e1;
    opacity: 0.65;
    transition: opacity 0.3s, background 0.3s;
}

.dps-mockup__row.is-active {
    opacity: 1;
    background: #334155;
    box-shadow: inset 3px 0 0 var(--dps-orange);
}

.dps-mockup__row-id {
    font-weight: 700;
    color: var(--dps-gold);
}

.dps-mockup__row-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dps-mockup__badge {
    padding: 0.1rem 0.35rem;
    border-radius: 0.25rem;
    background: #475569;
    font-size: 0.5rem;
    font-weight: 700;
    color: #e2e8f0;
}

.dps-mockup__badge--ok {
    background: rgb(47 107 79 / 0.5);
    color: #b8d433;
}

.dps-mockup__badge--sync {
    background: rgb(232 93 42 / 0.35);
    color: #fdba74;
}

/* APK mockup */
.dps-mockup--apk {
    position: relative;
    max-width: 9.5rem;
    margin-left: auto;
    margin-right: auto;
    padding: 1.1rem 0.65rem 0.85rem;
    border-radius: 1.35rem;
    background: linear-gradient(180deg, #1e4a36, #2f6b4f);
    box-shadow: 0 14px 36px rgb(30 74 54 / 0.4);
}

.dps-mockup__apk-notch {
    position: absolute;
    top: 0.35rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2.5rem;
    height: 0.35rem;
    border-radius: 9999px;
    background: rgb(0 0 0 / 0.35);
}

.dps-mockup__apk-title {
    margin: 0.5rem 0 0.45rem;
    font-size: 0.5625rem;
    font-weight: 700;
    text-align: center;
    color: rgb(255 255 255 / 0.9);
    line-height: 1.3;
}

.dps-mockup__apk-map {
    position: relative;
    height: 3.25rem;
    margin-bottom: 0.45rem;
    border-radius: 0.5rem;
    background:
        linear-gradient(135deg, rgb(255 255 255 / 0.08), transparent),
        repeating-linear-gradient(0deg, transparent, transparent 8px, rgb(255 255 255 / 0.04) 8px, rgb(255 255 255 / 0.04) 9px);
    overflow: hidden;
}

.dps-mockup__pin {
    position: absolute;
    top: 35%;
    left: 45%;
    font-size: 0.85rem;
    animation: dps-pin-bounce 2s ease-in-out infinite;
}

@keyframes dps-pin-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.dps-mockup__route-line {
    position: absolute;
    inset: 20% 15%;
    border: 2px dashed rgb(184 212 51 / 0.5);
    border-radius: 0.35rem;
}

.dps-mockup__apk-stops {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.25rem;
}

.dps-mockup__apk-stops li {
    padding: 0.3rem 0.4rem;
    border-radius: 0.35rem;
    background: rgb(0 0 0 / 0.2);
    font-size: 0.5rem;
    font-weight: 600;
    color: rgb(255 255 255 / 0.7);
}

.dps-mockup__apk-stops li.is-active {
    background: rgb(232 93 42 / 0.35);
    color: #fff;
}

.dps-mockup__apk-action {
    margin-top: 0.45rem;
    padding: 0.4rem;
    border-radius: 0.45rem;
    background: var(--dps-orange);
    font-size: 0.5625rem;
    font-weight: 700;
    text-align: center;
    color: #fff;
}

/* Sync column */
.dps-showcase__sync {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    background: #fff;
    min-width: 5rem;
    overflow: hidden;
}

@media (max-width: 900px) {
    .dps-showcase__sync {
        flex-direction: row;
        gap: 0.75rem;
        padding: 0.85rem 1.25rem;
        border-top: 1px solid #e2e8f0;
        border-bottom: 1px solid #e2e8f0;
    }
}

.dps-flow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s;
}

.dps-flow.is-live {
    opacity: 1;
}

.dps-flow__dot {
    position: absolute;
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 9999px;
    background: var(--dps-orange);
}

.dps-flow.is-live .dps-flow__dot--a {
    top: 30%;
    left: 10%;
    animation: dps-flow-right 1.6s ease-in-out infinite;
}

.dps-flow.is-live .dps-flow__dot--b {
    top: 50%;
    left: 10%;
    animation: dps-flow-right 1.6s ease-in-out 0.4s infinite;
}

.dps-flow.is-live .dps-flow__dot--c {
    top: 70%;
    right: 10%;
    animation: dps-flow-left 1.6s ease-in-out 0.2s infinite;
}

@keyframes dps-flow-right {
    0% { transform: translateX(0); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateX(180%); opacity: 0; }
}

@keyframes dps-flow-left {
    0% { transform: translateX(0); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateX(-180%); opacity: 0; }
}

.dps-sync-pulse {
    position: relative;
    z-index: 1;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: all 0.4s ease;
}

.dps-sync-pulse.is-live {
    border-color: var(--dps-orange);
    background: rgb(232 93 42 / 0.12);
    animation: dps-sync-ring 1.2s ease-out infinite;
}

@keyframes dps-sync-ring {
    0% { box-shadow: 0 0 0 0 rgb(232 93 42 / 0.35); }
    100% { box-shadow: 0 0 0 14px rgb(232 93 42 / 0); }
}

.dps-showcase__sync-label {
    position: relative;
    z-index: 1;
    margin-top: 0.5rem;
    max-width: 5.5rem;
    text-align: center;
    font-size: 0.5625rem;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
}

@media (max-width: 900px) {
    .dps-showcase__sync-label { margin-top: 0; }
}

/* Detail */
.dps-showcase__detail {
    padding: 1.25rem 1.5rem 1.5rem;
    border-top: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #fff, #fafafa);
}

.dps-showcase__detail-main {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: start;
}

@media (max-width: 640px) {
    .dps-showcase__detail-main {
        grid-template-columns: auto 1fr;
    }
    .dps-showcase__metric {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

.dps-showcase__step-icon {
    font-size: 2rem;
    line-height: 1;
    padding: 0.5rem;
    border-radius: 0.75rem;
    background: rgb(232 93 42 / 0.1);
}

.dps-showcase__phase {
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--dps-orange);
}

.dps-showcase__step-title {
    margin: 0.25rem 0 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dps-ink);
}

.dps-showcase__step-body {
    margin: 0.45rem 0 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #475569;
    font-weight: 600;
}

.dps-showcase__step-detail {
    margin: 0.4rem 0 0;
    max-width: 44rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #64748b;
}

.dps-showcase__metric {
    flex-shrink: 0;
    padding: 0.45rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid rgb(232 93 42 / 0.25);
    background: rgb(232 93 42 / 0.08);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--dps-orange-dark);
    white-space: nowrap;
}

.dps-showcase__dots {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 1rem;
}

.dps-showcase__dot {
    width: 0.5rem;
    height: 0.5rem;
    padding: 0;
    border: none;
    border-radius: 9999px;
    background: #cbd5e1;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, width 0.2s;
}

.dps-showcase__dot.is-active {
    width: 1.25rem;
    background: var(--dps-orange);
}

.dps-showcase__dot:hover {
    background: var(--dps-orange);
    transform: scale(1.15);
}

/* Features */
.dps-features {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.25rem 4rem;
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .dps-features {
        grid-template-columns: repeat(3, 1fr);
    }
}

.dps-feature-card {
    padding: 1.25rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.dps-feature-card h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dps-ink);
}

.dps-feature-card p {
    margin: 0.5rem 0 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #64748b;
}

@media (prefers-reduced-motion: reduce) {
    .dps-live-badge::before,
    .dps-sync-pulse.is-live,
    .dps-hero__glow,
    .dps-mockup__pin,
    .dps-flow.is-live .dps-flow__dot,
    .dps-showcase--tick .dps-mockup {
        animation: none;
    }
}
