/* ===================================================================
   DISCOVER RENTMTM SHOP — "How It Works" e "Experience RentMTM"
   -------------------------------------------------------------------
   As duas telas do menu Discover da LOJA. O visual é o mesmo das telas
   irmãs do rentmtm.com (styleCRM.css, bloco `.dsc`) de propósito: quem
   vem do gateway pelo auto-login não deve sentir que trocou de produto.
   O que muda é o CONTEÚDO — perfis, fluxos e rotas são os do
   marketplace — e duas adaptações que o gateway não precisa:

   1) `!important` nas cores. light.css e dark.css declaram
      `color: ... !important` para div/span/p/a/h*, então uma paleta sem
      o mesmo peso simplesmente não aparece. A especificidade maior das
      classes `.dsc-*` decide o empate.

   2) Tema escuro. O gateway só tem tema claro; aqui as duas telas
      precisam virar junto com o resto da loja. Como tudo é escrito em
      cima dos tokens do `.dsc`, o tema escuro é quase só a troca deles
      — as poucas superfícies claras cravadas no código são refeitas no
      bloco do fim deste arquivo.

   Tudo está sob o escopo `.dsc`, então nada aqui vaza para outra tela.
   =================================================================== */
.dsc {
    --dsc-brand: #004aad;
    --dsc-brand-dark: #012f6e;
    --dsc-brand-soft: #eaf1fc;
    --dsc-ink: #16233b;
    --dsc-muted: #64708a;
    --dsc-line: #e2e8f3;
    --dsc-surface: #ffffff;
    --dsc-bg: #f5f7fc;
    --dsc-ok: #17936b;
    --dsc-warn: #b8791c;
    --dsc-radius: 18px;
    --dsc-shadow: 0 10px 30px rgba(16, 35, 70, .08);
    --dsc-shadow-lg: 0 18px 48px rgba(16, 35, 70, .16);

    background: var(--dsc-bg);
    color: var(--dsc-ink) !important;
    font-family: 'Inter', 'Lato', Arial, sans-serif;
    padding: 26px 0 64px;
}

.dsc *,
.dsc *::before,
.dsc *::after { box-sizing: border-box; }

.dsc__container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 18px;
}

/* ---------- HERO ---------------------------------------------------- */
.dsc-hero {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    padding: 30px 30px 28px;
    color: #fff !important;
    background: linear-gradient(135deg, var(--dsc-brand) 0%, #0b6ad6 55%, #1b8ae6 100%);
    box-shadow: var(--dsc-shadow-lg);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
}

.dsc-hero::after {
    content: "";
    position: absolute;
    right: -90px;
    top: -110px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    pointer-events: none;
}

.dsc-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .10em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .32);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.dsc-hero h1 {
    font-size: 34px;
    line-height: 1.15;
    font-weight: 800;
    margin: 0 0 10px;
    color: #fff !important;
}

.dsc-hero p {
    margin: 0;
    max-width: 62ch;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .92) !important;
}

.dsc-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

/* Lilo no hero: avatar + status ao vivo (mesmo polling do header). */
.dsc-lilo {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 22px;
    padding: 16px 18px;
    min-width: 190px;
    backdrop-filter: blur(3px);
}

.dsc-lilo img {
    width: 84px;
    height: 84px;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .28));
    animation: dsc-float 4.5s ease-in-out infinite;
}

@keyframes dsc-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-7px); }
}

.dsc-lilo__name { font-weight: 800; font-size: 15px; }

.dsc-lilo__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, .9) !important;
}

.dsc-lilo__status .lilo-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9fb4d6;
    display: inline-block;
}

.dsc-lilo__status .lilo-status-dot.is-online  { background: #35d07f; box-shadow: 0 0 0 3px rgba(53, 208, 127, .25); }
.dsc-lilo__status .lilo-status-dot.is-offline { background: #cfd6e3; }

/* ---------- BOTÕES -------------------------------------------------- */
.dsc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 11px 20px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
}

.dsc-btn:hover { transform: translateY(-2px); text-decoration: none; }
.dsc-btn:focus-visible { outline: 3px solid #ffd166; outline-offset: 2px; }

.dsc-btn--primary { background: #fff; color: var(--dsc-brand) !important; box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
.dsc-btn--primary:hover { color: var(--dsc-brand-dark) !important; }

.dsc-btn--ghost { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .6); }
.dsc-btn--ghost:hover { background: rgba(255, 255, 255, .14); color: #fff !important; }

.dsc-btn--solid { background: var(--dsc-brand); color: #fff !important; box-shadow: 0 8px 20px rgba(0, 74, 173, .28); }
.dsc-btn--solid:hover { background: var(--dsc-brand-dark); color: #fff !important; }

.dsc-btn--line { background: #fff; color: var(--dsc-brand) !important; border-color: var(--dsc-line); }
.dsc-btn--line:hover { border-color: var(--dsc-brand); background: var(--dsc-brand-soft); }

/* ---------- TÍTULOS DE SEÇÃO ---------------------------------------- */
.dsc-section { margin-top: 34px; }

.dsc-section__head { margin-bottom: 16px; }

.dsc-section__head h2 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 6px;
    color: var(--dsc-ink) !important;
}

.dsc-section__head p {
    margin: 0;
    color: var(--dsc-muted) !important;
    font-size: 15px;
    line-height: 1.55;
}

/* ---------- SELETOR DE PERFIL --------------------------------------- */
.dsc-profiles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.dsc-profile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    background: var(--dsc-surface);
    border: 2px solid var(--dsc-line);
    border-radius: var(--dsc-radius);
    padding: 18px 14px;
    cursor: pointer;
    font: inherit;
    color: inherit !important;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.dsc-profile:hover { transform: translateY(-3px); box-shadow: var(--dsc-shadow); border-color: #bcd0ee; }
.dsc-profile:focus-visible { outline: 3px solid var(--dsc-brand); outline-offset: 3px; }

.dsc-profile img { width: 62px; height: 62px; object-fit: contain; }

.dsc-profile__label { font-weight: 700; font-size: 15px; }
.dsc-profile__tag   { font-size: 12px; color: var(--dsc-muted) !important; }

.dsc-profile.is-active {
    border-color: var(--dsc-brand);
    background: linear-gradient(180deg, #fff 0%, var(--dsc-brand-soft) 100%);
    box-shadow: var(--dsc-shadow);
}

.dsc-profile.is-active::after {
    content: "\2713";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--dsc-brand);
    color: #fff !important;
    font-size: 12px;
    display: grid;
    place-items: center;
}

/* Selo "este é o seu perfil hoje" — vem da sessão. */
.dsc-profile__you {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dsc-ok);
    color: #fff !important;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

/* ---------- PAINEL DO PERFIL ---------------------------------------- */
.dsc-panel {
    background: var(--dsc-surface);
    border: 1px solid var(--dsc-line);
    border-radius: 22px;
    box-shadow: var(--dsc-shadow);
    padding: 24px;
    margin-top: 18px;
}

.dsc-panel__top {
    display: grid;
    gap: 18px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--dsc-line);
}

.dsc-panel__title {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.dsc-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--dsc-brand-soft);
    color: var(--dsc-brand) !important;
    border: 1px solid #cfe0f8;
}

.dsc-panel__lead { color: var(--dsc-muted) !important; font-size: 15px; line-height: 1.6; margin: 0; }

/* Os tres fatos ficam lado a lado: empilhados eles deixavam meia coluna de
   branco ao lado do texto de apresentacao, que tem so duas linhas. */
.dsc-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.dsc-fact {
    background: var(--dsc-bg);
    border: 1px solid var(--dsc-line);
    border-radius: 14px;
    padding: 10px 14px;
}

.dsc-fact__k { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--dsc-muted) !important; font-weight: 700; }
.dsc-fact__v { font-size: 14px; font-weight: 700; color: var(--dsc-ink) !important; }

/* ---------- STEPPER / FLUXO ----------------------------------------- */
.dsc-flow { margin-top: 22px; }

.dsc-flow__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.dsc-flow__count { font-size: 13px; font-weight: 700; color: var(--dsc-muted) !important; }

.dsc-progress {
    flex: 1 1 220px;
    height: 8px;
    border-radius: 999px;
    background: #e6ecf7;
    overflow: hidden;
}

.dsc-progress__fill {
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--dsc-brand), #1b8ae6);
    transition: width .32s ease;
}

/* Trilha horizontal e rolável: em telas estreitas ela vira um carrossel
   em vez de espremer os passos até ficarem ilegíveis. */
/* O fade a direita avisa que a trilha continua: sem ele o ultimo passo
   aparecia cortado no meio e parecia defeito de layout. */
.dsc-flow__track {
    position: relative;
}

.dsc-flow__track::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 14px;
    width: 46px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 82%);
}

.dsc-steps {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 6px 2px 14px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}

.dsc-step {
    position: relative;
    flex: 0 0 auto;
    min-width: 152px;
    max-width: 190px;
    scroll-snap-align: start;
    text-align: left;
    background: var(--dsc-surface);
    border: 2px solid var(--dsc-line);
    border-radius: 16px;
    padding: 12px 12px 12px 14px;
    cursor: pointer;
    font: inherit;
    color: inherit !important;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.dsc-step:hover { transform: translateY(-2px); border-color: #bcd0ee; }
.dsc-step:focus-visible { outline: 3px solid var(--dsc-brand); outline-offset: 2px; }

.dsc-step__n {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #eef2f9;
    color: var(--dsc-muted) !important;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 8px;
    transition: background .16s ease, color .16s ease;
}

.dsc-step__t { display: block; font-size: 13.5px; font-weight: 700; line-height: 1.35; }

.dsc-step.is-done  { background: #f3f8ff; border-color: #d6e4f8; }
.dsc-step.is-done .dsc-step__n { background: #d6e4f8; color: var(--dsc-brand) !important; }

.dsc-step.is-active {
    border-color: var(--dsc-brand);
    box-shadow: 0 10px 24px rgba(0, 74, 173, .18);
    background: #fff;
}

.dsc-step.is-active .dsc-step__n { background: var(--dsc-brand); color: #fff !important; }

/* Detalhe do passo selecionado */
.dsc-detail {
    display: grid;
    grid-template-columns: 1fr minmax(240px, 320px);
    gap: 22px;
    background: var(--dsc-bg);
    border: 1px solid var(--dsc-line);
    border-radius: 18px;
    padding: 20px;
    animation: dsc-fade .28s ease;
}

@keyframes dsc-fade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.dsc-detail h3 { font-size: 19px; font-weight: 800; margin: 0 0 8px; }
.dsc-detail p  { margin: 0 0 14px; color: var(--dsc-muted) !important; font-size: 15px; line-height: 1.65; }

.dsc-detail ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 9px; }

.dsc-detail ul li {
    position: relative;
    padding-left: 26px;
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--dsc-ink) !important;
}

.dsc-detail ul li::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--dsc-brand);
}

.dsc-detail__aside {
    background: #fff;
    border: 1px solid var(--dsc-line);
    border-radius: 16px;
    padding: 16px;
    align-self: start;
}

.dsc-detail__aside h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--dsc-muted) !important;
    margin: 0 0 10px;
    font-weight: 800;
}

.dsc-note {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--dsc-ink) !important;
    background: #fff8e9;
    border: 1px solid #f2e0b8;
    border-left: 4px solid var(--dsc-warn);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 14px;
}

.dsc-detail__nav { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }

/* ---------- MATRIZ DE FEATURES -------------------------------------- */
.dsc-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
    gap: 14px;
}

.dsc-feature {
    background: var(--dsc-surface);
    border: 1px solid var(--dsc-line);
    border-radius: 16px;
    padding: 16px;
    transition: opacity .22s ease, transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.dsc-feature:hover { transform: translateY(-3px); box-shadow: var(--dsc-shadow); }

.dsc-feature__ico {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--dsc-brand-soft);
    color: var(--dsc-brand) !important;
    font-size: 18px;
    margin-bottom: 10px;
}

.dsc-feature h3 { font-size: 15.5px; font-weight: 700; margin: 0 0 6px; }
.dsc-feature p  { margin: 0 0 10px; font-size: 13.5px; line-height: 1.55; color: var(--dsc-muted) !important; }

.dsc-feature a { font-size: 13px; font-weight: 700; color: var(--dsc-brand) !important; text-decoration: none; }
.dsc-feature a:hover { text-decoration: underline; }

/* Fora do perfil escolhido: continua legível, mas recua visualmente. */
.dsc-feature.is-dim { opacity: .42; filter: grayscale(.5); }
.dsc-feature.is-dim:hover { opacity: .72; }

.dsc-feature__badge {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--dsc-ok) !important;
    background: #e7f6f0;
    border-radius: 999px;
    padding: 3px 8px;
    margin-bottom: 8px;
}

/* ---------- CTA FINAL ------------------------------------------------ */
.dsc-cta {
    margin-top: 34px;
    background: linear-gradient(135deg, #0d2447 0%, var(--dsc-brand) 100%);
    color: #fff !important;
    border-radius: 22px;
    padding: 26px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: var(--dsc-shadow-lg);
}

.dsc-cta h2 { font-size: 21px; font-weight: 800; margin: 0 0 6px; color: #fff !important; }
.dsc-cta p  { margin: 0; color: rgba(255, 255, 255, .88) !important; font-size: 15px; max-width: 60ch; }
.dsc-cta__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- EXPERIENCE: filtros ------------------------------------- */
.dsc-filters {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.dsc-filter {
    border: 1px solid var(--dsc-line);
    background: #fff;
    color: var(--dsc-muted) !important;
    border-radius: 999px;
    padding: 9px 16px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all .16s ease;
}

.dsc-filter:hover { border-color: var(--dsc-brand); color: var(--dsc-brand) !important; }
.dsc-filter:focus-visible { outline: 3px solid var(--dsc-brand); outline-offset: 2px; }
.dsc-filter.is-active { background: var(--dsc-brand); border-color: var(--dsc-brand); color: #fff !important; }

/* ---------- EXPERIENCE: cards de sugestão --------------------------- */
.dsc-suggestions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 16px;
}

.dsc-sug {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--dsc-surface);
    border: 1px solid var(--dsc-line);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 4px 14px rgba(16, 35, 70, .05);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    animation: dsc-fade .3s ease;
}

.dsc-sug:hover { transform: translateY(-4px); box-shadow: var(--dsc-shadow); border-color: #cfe0f8; }

.dsc-sug__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }

.dsc-sug__ico {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 20px;
    background: var(--dsc-brand-soft);
    color: var(--dsc-brand) !important;
}

.dsc-sug h3 { font-size: 16.5px; font-weight: 800; margin: 0; line-height: 1.3; }
.dsc-sug p  { margin: 0 0 14px; font-size: 14px; line-height: 1.6; color: var(--dsc-muted) !important; }

.dsc-sug__why {
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--dsc-brand-dark) !important;
    background: var(--dsc-brand-soft);
    border-radius: 10px;
    padding: 9px 11px;
    margin: 0 0 14px;
}

.dsc-sug__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }

.dsc-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 999px;
    background: #eef2f9;
    color: var(--dsc-muted) !important;
}

.dsc-tag--new  { background: #e7f6f0; color: var(--dsc-ok) !important; }
.dsc-tag--time { background: #fff3e2; color: var(--dsc-warn) !important; }

.dsc-sug__foot { margin-top: auto; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.dsc-sug.is-done { border-color: #c8ead9; background: #f7fdfa; }
.dsc-sug.is-done .dsc-sug__ico { background: #e7f6f0; color: var(--dsc-ok) !important; }

.dsc-check {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    color: var(--dsc-muted) !important;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 6px 2px;
}

.dsc-check:hover { color: var(--dsc-ok) !important; }
.dsc-check__box {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    border: 2px solid #ccd6e6;
    display: grid;
    place-items: center;
    font-size: 11px;
    color: transparent !important;
    transition: all .16s ease;
}

.dsc-sug.is-done .dsc-check { color: var(--dsc-ok) !important; }
.dsc-sug.is-done .dsc-check__box { background: var(--dsc-ok); border-color: var(--dsc-ok); color: #fff !important; }

.dsc-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: var(--dsc-muted) !important;
    background: #fff;
    border: 1px dashed var(--dsc-line);
    border-radius: 18px;
}

/* ---------- EXPERIENCE: anel de progresso --------------------------- */
.dsc-journey {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 22px;
    align-items: center;
    background: var(--dsc-surface);
    border: 1px solid var(--dsc-line);
    border-radius: 22px;
    padding: 22px 24px;
    box-shadow: var(--dsc-shadow);
}

.dsc-ring { position: relative; width: 108px; height: 108px; flex: 0 0 auto; }
.dsc-ring svg { transform: rotate(-90deg); width: 108px; height: 108px; }
.dsc-ring circle { fill: none; stroke-width: 10; stroke-linecap: round; }
.dsc-ring__track { stroke: #e6ecf7; }
.dsc-ring__value { stroke: var(--dsc-brand); transition: stroke-dashoffset .5s ease; }

.dsc-ring__label {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 22px;
    font-weight: 800;
    color: var(--dsc-brand) !important;
}

.dsc-journey h2 { font-size: 20px; font-weight: 800; margin: 0 0 6px; }
.dsc-journey p  { margin: 0 0 12px; color: var(--dsc-muted) !important; font-size: 14.5px; line-height: 1.6; }

/* ---------- RESPONSIVO ---------------------------------------------- */
@media (max-width: 992px) {
    .dsc-hero { grid-template-columns: 1fr; text-align: left; }
    .dsc-lilo { flex-direction: row; justify-content: flex-start; text-align: left; min-width: 0; }
    .dsc-lilo__txt { display: flex; flex-direction: column; gap: 4px; }
    .dsc-profiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dsc-detail { grid-template-columns: 1fr; }
    .dsc-facts { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .dsc { padding-top: 16px; }
    .dsc-hero { padding: 22px 20px; border-radius: 20px; }
    .dsc-hero h1 { font-size: 26px; }
    .dsc-hero p { font-size: 15px; }
    .dsc-panel { padding: 18px; }
    .dsc-profile img { width: 52px; height: 52px; }
    .dsc-journey { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .dsc-cta { padding: 22px 20px; }
}

/* Respeita quem pediu menos animação no sistema. */
@media (prefers-reduced-motion: reduce) {
    .dsc *,
    .dsc *::before,
    .dsc *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}

/* O wrapper .main-container-index desta folha foi desenhado para os cartões
   estreitos (pesquisas de satisfação): degradê azul, flex centralizado e
   min-height de uma viewport. As duas telas do Discover RentMTM são de
   largura cheia e trazem o próprio fundo, então marcam o wrapper com
   `dsc-page` e ele volta a ser um contêiner neutro. */
.main-container-index.dsc-page {
    display: block;
    align-items: stretch;
    padding: 0;
    min-height: 0;
    background: #f5f7fc;
}

/* ===================================================================
   TEMA ESCURO
   -------------------------------------------------------------------
   A troca dos tokens resolve a maior parte. O que sobra são as
   superfícies claras cravadas nas regras acima (#fff, #f3f8ff, #eef2f9,
   ...): sobre elas o dark.css escreve texto branco e o resultado seria
   branco no branco. Cada uma é refeita aqui.
   =================================================================== */
body[data-theme="dark"] .dsc {
    --dsc-brand: #2f86ee;
    --dsc-brand-dark: #1c6fd0;
    --dsc-brand-soft: #16273f;
    --dsc-ink: #f2f5fb;
    --dsc-muted: #a9b4c7;
    --dsc-line: #2f3949;
    --dsc-surface: #1e1e1e;
    --dsc-bg: #141821;
    --dsc-shadow: 0 10px 30px rgba(0, 0, 0, .45);
    --dsc-shadow-lg: 0 18px 48px rgba(0, 0, 0, .6);
}

body[data-theme="dark"] .main-container-index.dsc-page { background: #141821; }

/* Superfícies que estavam cravadas em claro. */
body[data-theme="dark"] .dsc-btn--line,
body[data-theme="dark"] .dsc-detail__aside,
body[data-theme="dark"] .dsc-step.is-active,
body[data-theme="dark"] .dsc-feature,
body[data-theme="dark"] .dsc-sug,
body[data-theme="dark"] .dsc-check {
    background: var(--dsc-surface);
}

body[data-theme="dark"] .dsc-step,
body[data-theme="dark"] .dsc-step.is-done {
    background: #232833;
    border-color: var(--dsc-line);
}

body[data-theme="dark"] .dsc-step__n { background: #2d3440; }
body[data-theme="dark"] .dsc-step.is-done .dsc-step__n { background: var(--dsc-brand-soft); }

body[data-theme="dark"] .dsc-progress,
body[data-theme="dark"] .dsc-ring__track { background: #2d3440; stroke: #2d3440; }

/* O degradê que some a trilha rolável na borda direita precisa terminar
   na cor do painel, senão fica uma faixa branca sobre fundo escuro. */
body[data-theme="dark"] .dsc-flow__track::after {
    background: linear-gradient(90deg, rgba(30, 30, 30, 0), var(--dsc-surface) 82%);
}

body[data-theme="dark"] .dsc-note {
    background: #2a2415;
    border-color: #4a3f21;
}

body[data-theme="dark"] .dsc-chip { border-color: var(--dsc-line); }

body[data-theme="dark"] .dsc-sug.is-done {
    background: #17251f;
    border-color: #23503c;
}

body[data-theme="dark"] .dsc-check { border-color: #3b4657; }

/* Superfícies que ficaram brancas no escuro. O texto delas usa
   --dsc-muted, que no tema escuro é claro: sobre o branco original o
   contraste desaparecia. Filtro e estado vazio recebem a superfície do
   tema; as tarjas trazem par próprio de fundo e cor, então basta escurecer
   o fundo. */
body[data-theme="dark"] .dsc-filter,
body[data-theme="dark"] .dsc-empty {
    background: var(--dsc-surface);
    border-color: var(--dsc-line);
}

body[data-theme="dark"] .dsc-filter:hover {
    background: var(--dsc-brand-soft);
    color: var(--dsc-ink) !important;
}

/* O filtro ativo continua azul com texto branco — é o mesmo par nos dois
   temas, e não precisa de exceção. */
body[data-theme="dark"] .dsc-tag       { background: #2a3240; }
body[data-theme="dark"] .dsc-tag--new  { background: #17301f; }
body[data-theme="dark"] .dsc-tag--time { background: #33280f; }

body[data-theme="dark"] .dsc-sug__ico { background: #2a3240; }
body[data-theme="dark"] .dsc-sug.is-done .dsc-sug__ico { background: #17301f; }
body[data-theme="dark"] .dsc-feature__ico { background: #2a3240; }
body[data-theme="dark"] .dsc-feature__badge { background: #17301f; }

/* ===================================================================
   LAYOUT DENTRO DA DRAWER
   -------------------------------------------------------------------
   No marketplace o conteúdo divide a linha com a drawer (flex). Sem
   `min-width: 0` a coluna do conteúdo não encolhe abaixo da largura
   natural dos cartões e a página ganha rolagem horizontal com a drawer
   aberta.

   O cartão começa na MESMA linha da drawer e com o mesmo respiro do
   header: a .sidebar usa `margin-top: 10px` e cantos de 10px, então o
   conteúdo repete os dois números em vez de escolher os seus — lado a
   lado, qualquer diferença aparece como desalinhamento.

   `overflow: hidden` é o que faz o arredondamento valer: o fundo quem
   pinta é o `.dsc` lá dentro, e sem o corte ele passaria reto por cima
   dos cantos.
   =================================================================== */
.main-container-index.dsc-page {
    min-width: 0;
    width: 100%;
    margin: 10px 10px 10px 0;
    border-radius: 10px;
    overflow: hidden;
}

/* ===================================================================
   TEMA CLARO — LINKS QUE SÃO BOTÕES
   -------------------------------------------------------------------
   O light.css declara `a { background-color: #FFFFFF !important }`. O
   `background` das regras acima é shorthand SEM !important, então perde:
   todo <a class="dsc-btn"> aparece com fundo branco no tema claro. Com o
   texto branco que o botão pede, o resultado era branco no branco —
   "What should I do next?" e "Sign up or log in" sumiam.

   Em vez de brigar pelo fundo, o botão-link assume o branco e passa a ser
   azul: texto e contorno na cor da marca. Fica legível sobre o hero azul
   (pílula branca) e sobre os cartões claros, e é o mesmo par de cores do
   .dsc-btn--primary, que já nascia assim.

   Só vale para <a>: os <button> ("Choose a profile", "Ask Lilo") não são
   atingidos pela regra do tema e mantêm o desenho original.
   =================================================================== */
body:not([data-theme="dark"]) .dsc a.dsc-btn {
    background: #fff;
    color: var(--dsc-brand) !important;
    border-color: var(--dsc-brand);
}

body:not([data-theme="dark"]) .dsc a.dsc-btn:hover {
    background: var(--dsc-brand-soft);
    color: var(--dsc-brand-dark) !important;
}

/* O selo do topo é um <span> sobre o hero azul, e o `color` do tema atinge
   o span diretamente — herdar o branco do .dsc-hero não resolve. */
.dsc-hero__eyebrow {
    color: #fff !important;
}
