/* ==========================================================================
   TrocaDireta — anúncios, propostas, pedidos e chat (usa os tokens de tokens.css)
   ========================================================================== */

/* Cards: 1–2 colunas no celular, 2 no tablet, 3–4 no desktop. Valores sempre rotulados. */
.td-grid { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 420px) { .td-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); } }
@media (min-width: 768px) { .td-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); } }
@media (min-width: 1100px) { .td-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.td-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; transition: box-shadow var(--dur-fast) var(--ease-out), border-color var(--dur-fast); }
.td-card:hover { box-shadow: var(--shadow-md); border-color: var(--color-border-strong); }
.td-card:has(.td-card__link:focus-visible) { outline: 3px solid var(--color-primary); outline-offset: 2px; }
.td-card__link { display: block; height: 100%; color: inherit; text-decoration: none; }
.td-card__link:focus-visible { outline: none; }
.td-card__media { position: relative; display: block; }
.td-card__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--color-primary-soft); }
.td-card__badges { position: absolute; top: var(--space-2); left: var(--space-2); display: flex; gap: 4px; }
.td-card__badge { padding: 2px 8px; border-radius: var(--radius-pill); background: var(--color-surface); color: var(--color-ink); font-size: var(--fs-xs); font-weight: 700; box-shadow: var(--shadow-xs); }
.td-card__badge--hot { background: var(--color-highlight); color: var(--color-ink-strong); }
.td-card__body { padding: var(--space-3) var(--space-4) var(--space-4); display: grid; gap: 4px; }
.td-card__title { font-size: 1rem; font-weight: 700; margin: 0; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--color-text); }
.td-card__meta, .td-card__mods { margin: 0; font-size: var(--fs-sm); color: var(--color-ink-soft); }
.td-card__mods { color: var(--color-primary-strong); font-weight: 600; }
.td-card__values { display: grid; gap: 2px; margin-top: var(--space-1); }
.td-card__price { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--color-text); }
.td-card__price small { font-weight: 600; color: var(--color-ink-soft); font-size: var(--fs-xs); }
.td-card__ref { font-size: var(--fs-sm); color: var(--color-ink-soft); font-variant-numeric: tabular-nums; }

.td-filters { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); align-items: end; margin-bottom: var(--space-5); }

.td-gallery { display: grid; gap: var(--space-2); }
.td-gallery__main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: var(--color-primary-soft); }
.td-gallery__video { width: 100%; max-height: 420px; border-radius: 8px; background: #102b4f; }
.td-gallery__thumbs { display: flex; gap: var(--space-2); overflow-x: auto; }
.td-gallery__thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.td-detail { display: grid; gap: var(--space-6); grid-template-columns: 1fr; }
@media (min-width: 900px) { .td-detail { grid-template-columns: 1.3fr 1fr; } }

.td-media-list { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.td-media { border: 1px solid var(--color-border, #dbe4ef); border-radius: 12px; padding: var(--space-2); display: grid; gap: var(--space-2); }
.td-media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.td-media video { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 8px; background: #102b4f; }
.td-media .cluster { flex-wrap: wrap; gap: 4px; }

.td-listing-create { width: min(100%, 820px); margin: 0 auto var(--space-8); }
.td-listing-create__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 var(--space-4); padding: 0; list-style: none; }
.td-listing-create__steps li { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 10px 8px; border-bottom: 2px solid var(--color-line); color: var(--color-ink-soft); font-size: var(--fs-sm); }
.td-listing-create__steps li span { display: grid; place-items: center; width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%; background: #e8eef6; color: var(--color-ink); font-weight: 700; }
.td-listing-create__steps li.is-current { border-color: var(--color-primary); color: var(--color-ink); font-weight: 700; }
.td-listing-create__steps li.is-current span { background: var(--color-primary); color: #fff; }
.td-listing-create__form { padding: clamp(18px, 4vw, 32px); }
.td-listing-create__form .form-grid { gap: var(--space-4); }
.td-listing-create__form input[readonly] { background: #f2f6fb; color: var(--color-ink-soft); }
.td-media-upload { padding: clamp(18px, 4vw, 30px); }
.td-media-upload__limit { margin: 0 0 var(--space-4); padding: 12px 14px; border-left: 3px solid var(--color-action); background: #fff5ec; color: var(--color-ink); }
.td-media-upload__fields { display: grid; gap: var(--space-3); }
@media (max-width: 640px) {
    .td-listing-create__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .td-listing-create__steps li { font-size: var(--fs-xs); }
    .td-listing-create__form,
    .td-media-upload { padding: 16px; }
}

.td-proposal { display: grid; gap: var(--space-4); grid-template-columns: 1fr; align-items: start; margin-bottom: var(--space-4); }
@media (min-width: 760px) { .td-proposal { grid-template-columns: 1fr auto 1fr; } }
.td-proposal__side { background: var(--color-primary-soft); border-radius: 14px; padding: var(--space-4); }
.td-proposal__title { margin: 0 0 var(--space-3); font-size: 1rem; }
.td-proposal__swap { align-self: center; justify-self: center; color: var(--color-primary); }
.td-items { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.td-item { display: flex; gap: var(--space-3); align-items: center; }
.td-item small { display: block; color: var(--color-ink-muted); }
.td-item__img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: #fff; }
.td-money { margin: var(--space-3) 0 0; font-weight: 700; }
.td-money--in { color: var(--color-success, #11845b); }
.td-money--out { color: var(--color-ink-strong); }

.td-compose { display: grid; gap: var(--space-4); grid-template-columns: 1fr; margin-bottom: var(--space-4); }
@media (min-width: 900px) { .td-compose { grid-template-columns: 1fr 1fr; } }
.td-pick { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.td-pick__row { display: grid; grid-template-columns: 48px 1fr 84px; gap: var(--space-3); align-items: center; }
.td-pick__row small { display: block; color: var(--color-ink-muted); }
.td-pick__qty { text-align: center; }

.td-chat { display: grid; gap: var(--space-2); max-height: 60vh; overflow-y: auto; padding: var(--space-3); background: var(--color-primary-soft); border-radius: 14px; }
.td-msg { max-width: 78%; padding: var(--space-2) var(--space-3); border-radius: 14px; background: #fff; word-wrap: break-word; }
.td-msg--me { margin-left: auto; background: var(--color-primary); color: #fff; }
.td-msg--me a { color: #fff; }
.td-msg__time { display: block; font-size: .72rem; opacity: .75; margin-top: 2px; }
.td-chat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.td-chat-list a { display: flex; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) var(--space-4); border: 1px solid var(--color-border, #dbe4ef); border-radius: 12px; color: inherit; text-decoration: none; background: #fff; }
.td-chat-list small { display: block; color: var(--color-ink-muted); }
.td-badge { display: inline-block; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--color-primary); color: #fff; font-size: .78rem; font-weight: 700; text-align: center; }

.td-timeline { list-style: none; margin: 0; padding: 0 0 0 var(--space-4); border-left: 2px solid var(--color-primary-soft); display: grid; gap: var(--space-3); }
.td-timeline li { position: relative; }
.td-timeline li::before { content: ""; position: absolute; left: calc(-1 * var(--space-4) - 6px); top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--color-primary); }
.td-timeline small { display: block; color: var(--color-ink-muted); }

.td-steps { margin-bottom: var(--space-4); }

/* ==========================================================================
   Home pública, Como funciona e detalhe do anúncio (DESIGN_FRONT_END_TROCADIRETA.md)
   ========================================================================== */
.td-num, .data-list dd, .table td { font-variant-numeric: tabular-nums; }

.td-hero { background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%); border-bottom: 1px solid var(--color-line); padding: var(--space-8) 0 var(--space-10); }
.td-hero__inner { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 960px) { .td-hero__inner { grid-template-columns: 1.15fr 1fr; gap: var(--space-12); } .td-hero { padding: var(--space-12) 0; } }
.td-hero__city { display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--tap); padding: 0 var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-pill); background: var(--color-surface); color: var(--color-ink); font: inherit; font-size: var(--fs-sm); font-weight: 600; cursor: pointer; }
.td-hero__city svg { width: 18px; height: 18px; color: var(--color-action); }
.td-hero__title { margin: var(--space-4) 0 var(--space-3); font-size: var(--fs-hero); line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; color: var(--color-ink); max-width: 18ch; }
.td-hero__lead { margin: 0; font-size: var(--fs-md); color: var(--color-ink-soft); max-width: 56ch; }
.td-hero__actions { margin-top: var(--space-5); flex-wrap: wrap; }

.td-search { display: grid; gap: var(--space-2); margin-top: var(--space-6); padding: var(--space-2); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
@media (min-width: 640px) { .td-search { grid-template-columns: 1fr minmax(150px, 210px) auto; align-items: center; } }
.td-search__field { display: flex; align-items: center; gap: var(--space-2); min-height: 48px; padding: 0 var(--space-3); border-radius: var(--radius-sm); background: var(--color-surface-alt); }
.td-search__field svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--color-ink-soft); }
.td-search__field input, .td-search__field select { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--color-text); min-height: 44px; }
.td-search__field input:focus, .td-search__field select:focus { outline: none; }
.td-search__field:focus-within { box-shadow: 0 0 0 2px var(--color-primary); }
.td-search .button { min-height: 48px; }

/* Demonstração de uma troca: elemento característico da marca */
.td-demo { position: relative; margin: 0; padding: var(--space-6) var(--space-5) var(--space-5); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.td-demo__tag { position: absolute; top: calc(-1 * var(--space-3)); left: var(--space-5); padding: 2px 10px; border-radius: var(--radius-pill); background: var(--color-highlight-soft); color: var(--color-action-strong); font-size: var(--fs-xs); font-weight: 700; }
.td-demo__sides { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--space-3); align-items: center; }
.td-demo__side { display: grid; gap: var(--space-2); }
.td-demo__who { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--color-ink-soft); }
.td-demo__item { display: grid; justify-items: center; gap: 2px; padding: var(--space-4) var(--space-2); border-radius: var(--radius-md); background: var(--color-primary-soft); text-align: center; }
.td-demo__item svg { width: 64px; height: 64px; fill: none; stroke: var(--color-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: var(--space-2); }
.td-demo__side:last-child .td-demo__item { background: var(--color-highlight-soft); }
.td-demo__side:last-child .td-demo__item svg { stroke: var(--color-action-strong); }
.td-demo__item small { color: var(--color-ink-soft); font-size: var(--fs-xs); }
.td-demo__swap { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--color-action); color: #fff; }
.td-demo__swap svg { width: 20px; height: 20px; }
.td-demo__summary { margin: var(--space-4) 0 0; display: grid; gap: var(--space-2); border-top: 1px dashed var(--color-border-strong); padding-top: var(--space-4); }
.td-demo__summary div { display: flex; justify-content: space-between; gap: var(--space-3); font-size: var(--fs-sm); }
.td-demo__summary dt { color: var(--color-ink-soft); }
.td-demo__summary dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }

.td-cats { flex-wrap: wrap; }
.td-home-tabs { margin: var(--space-2) 0 var(--space-4); }
.td-quick { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0 0 var(--space-5); }
.td-quick a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-pill); background: var(--color-surface); color: var(--color-ink); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; }
.td-quick a:hover { border-color: var(--color-primary); color: var(--color-primary-strong); }
.td-more { margin: var(--space-4) 0 0; text-align: right; }

.td-company-grid { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.td-company { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); color: inherit; text-decoration: none; }
.td-company:hover { border-color: var(--color-primary); }
.td-company small { display: block; color: var(--color-ink-soft); font-size: var(--fs-sm); }

.td-steps-home { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: grid; gap: var(--space-4); }
@media (min-width: 768px) { .td-steps-home { grid-template-columns: repeat(3, 1fr); } }
.td-steps-home li { padding: var(--space-5); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.td-steps-home h2, .td-steps-home h3 { margin: var(--space-3) 0 var(--space-2); font-size: var(--fs-lg); }
.td-steps-home p { margin: 0; color: var(--color-ink-soft); }
.td-steps-home__n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--color-primary); color: #fff; font-weight: 800; }

.td-ways { display: grid; gap: var(--space-3); margin-top: var(--space-5); grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.td-way { display: grid; gap: var(--space-2); align-content: start; padding: var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); color: inherit; text-decoration: none; }
.td-way:hover { border-color: var(--color-primary); box-shadow: var(--shadow-sm); color: inherit; }
.td-way svg { width: 24px; height: 24px; color: var(--color-action); }
.td-way h3 { margin: 0; font-size: var(--fs-md); }
.td-way h3 small { font-size: var(--fs-xs); font-weight: 600; color: var(--color-ink-soft); margin-left: 4px; }
.td-way p { margin: 0; color: var(--color-ink-soft); font-size: var(--fs-sm); }

.td-franchise { display: grid; gap: var(--space-8); }
@media (min-width: 900px) { .td-franchise { grid-template-columns: 1fr 1fr; } }
.td-trust { padding: var(--space-6); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.td-checks { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; gap: var(--space-2); }
.td-checks li { position: relative; padding-left: 28px; color: var(--color-ink-soft); }
.td-checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--color-success-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.td-checks strong { color: var(--color-text); }

.td-faq { display: grid; gap: var(--space-2); margin-top: var(--space-5); }
.td-faq details { border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.td-faq summary { cursor: pointer; padding: var(--space-4); min-height: var(--tap); font-weight: 700; }
.td-faq summary:focus-visible { outline: 3px solid var(--color-primary); outline-offset: -3px; border-radius: var(--radius-md); }
.td-faq details p { margin: 0; padding: 0 var(--space-4) var(--space-4); color: var(--color-ink-soft); }

.td-toc { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-6); }
.td-toc a { padding: var(--space-2) var(--space-3); border-radius: var(--radius-pill); background: var(--color-primary-soft); color: var(--color-primary-strong); font-weight: 600; font-size: var(--fs-sm); text-decoration: none; }
.td-features { display: grid; gap: var(--space-3); margin-top: var(--space-4); grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.td-feature { padding: var(--space-5); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); scroll-margin-top: calc(var(--header-h) + var(--space-4)); }
.td-feature h3 { margin: 0 0 var(--space-2); font-size: var(--fs-md); }
.td-feature p { margin: 0 0 var(--space-2); color: var(--color-ink-soft); font-size: var(--fs-sm); }
.td-feature__example { padding: var(--space-2) var(--space-3); border-left: 3px solid var(--color-highlight); background: var(--color-surface-alt); }
.td-feature a { font-weight: 700; font-size: var(--fs-sm); margin-right: var(--space-3); }

.td-review { margin-bottom: var(--space-4); }

/* Botão principal fixo no celular, sem cobrir o conteúdo */
.td-sticky-cta { display: none; }
@media (max-width: 899px) {
    .td-sticky-cta { display: block; position: sticky; bottom: 0; z-index: var(--z-sticky); margin: var(--space-4) calc(-1 * var(--gutter)) 0; padding: var(--space-3) var(--gutter) calc(var(--space-3) + env(safe-area-inset-bottom)); background: var(--color-surface); border-top: 1px solid var(--color-border); box-shadow: 0 -6px 16px rgba(23, 32, 51, .08); }
}

/* Cabeçalho no celular: "Publicar anúncio" vira só o ícone para caber logo, conta e cidade */
@media (max-width: 559px) {
    .header__cta-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .header__actions .button--action { width: var(--tap); padding: 0; }
}
.td-cats + * { margin-top: 0; }

/* ==========================================================================
   Tema TrocaDireta (body.theme-td): visual próprio fora das páginas de cupom
   ========================================================================== */
.theme-td h1, .theme-td h2, .theme-td h3, .theme-td .page-hero__title, .theme-td .section__title { font-variation-settings: normal; }
.theme-td .header { background: rgba(255, 255, 255, .96); }
.theme-td .header__link[aria-current="page"] { color: var(--color-primary); background: var(--color-primary-soft); }
.theme-td .section__title { font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.25rem); font-weight: 800; letter-spacing: -0.02em; color: var(--color-ink); }
.theme-td .page-hero { border-bottom: 1px solid var(--color-line); background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%); }
.theme-td .page-hero__title { font-weight: 800; letter-spacing: -0.02em; color: var(--color-ink); font-size: clamp(1.875rem, 1.3rem + 2.2vw, 3rem); }
.theme-td .category-chip { border-width: 1px; gap: 6px; }
.theme-td .category-chip svg { width: 18px; height: 18px; color: var(--color-primary); }
.theme-td .category-chip:hover { border-color: var(--color-primary); color: var(--color-primary-strong); }
.theme-td .button { font-size: .9375rem; }
.theme-td .button--sm { font-size: var(--fs-sm); }

.td-eyebrow { display: inline-block; margin-bottom: var(--space-2); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--color-action); }

/* Faixa com ilustração (empresas, franquia, chamadas finais) */
.td-band { display: grid; gap: var(--space-6); align-items: center; padding: var(--space-6); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-xl); overflow: hidden; }
@media (min-width: 900px) {
    .td-band { grid-template-columns: 1.1fr .9fr; gap: var(--space-10); padding: var(--space-10); }
    .td-band--reverse .td-band__img { order: -1; }
}
.td-band__title { margin: 0 0 var(--space-3); font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.25rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; color: var(--color-ink); max-width: 22ch; }
.td-band__text { margin: 0; color: var(--color-ink-soft); max-width: 56ch; }
.td-band__actions { margin-top: var(--space-6); flex-wrap: wrap; }
.td-band__img { display: block; width: 100%; height: auto; max-width: 520px; justify-self: center; }

.td-trust-grid { display: grid; gap: var(--space-3); margin-top: var(--space-5); grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.td-trust-card { padding: var(--space-5); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.td-trust-card svg { width: 28px; height: 28px; padding: 6px; box-sizing: content-box; border-radius: 10px; background: var(--color-success-soft); color: var(--color-success); }
.td-trust-card h3 { margin: var(--space-3) 0 var(--space-1); font-size: var(--fs-md); }
.td-trust-card p { margin: 0; font-size: var(--fs-sm); color: var(--color-ink-soft); }

.td-demo__item svg { width: 104px; height: 70px; stroke: none; fill: initial; margin-bottom: var(--space-1); }

/* ==========================================================================
   Franquia TrocaDireta: mercado da cidade (IBGE), simulador e proposta
   ========================================================================== */
.td-fr-search { grid-template-columns: 1fr; }
@media (min-width: 640px) { .td-fr-search { grid-template-columns: 96px 1fr auto; } }
.td-fr-search__uf select { padding-left: var(--space-1); }
.td-fr-hero-img { margin: 0; }
.td-fr-cities { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.td-fr-city { display: grid; gap: var(--space-3); align-content: start; padding: var(--space-5); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.td-fr-city__head { display: flex; justify-content: space-between; align-items: start; gap: var(--space-3); }
.td-fr-city__head h3 { margin: 0 0 var(--space-1); font-size: var(--fs-lg); }
.td-fr-status { display: inline-block; padding: 2px 10px; border-radius: var(--radius-pill); font-size: var(--fs-xs); font-weight: 700; background: var(--color-bg-deep); color: var(--color-ink); }
.td-fr-status--available { background: var(--color-success-soft); color: var(--color-success); }
.td-fr-status--negotiation, .td-fr-status--evaluation { background: var(--color-highlight-soft); color: var(--color-action-strong); }
.td-fr-status--active, .td-fr-status--suspended { background: var(--color-danger-soft); color: var(--color-danger); }
.td-fr-kpis { display: grid; gap: var(--space-2); grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.td-fr-kpis div { padding: var(--space-3); border-radius: var(--radius-md); background: var(--color-primary-soft); }
.td-fr-kpis strong { display: block; font-size: var(--fs-lg); color: var(--color-ink); font-variant-numeric: tabular-nums; }
.td-fr-kpis span { display: block; font-size: var(--fs-xs); color: var(--color-ink-soft); line-height: 1.35; }
.td-fr-sub { margin: var(--space-2) 0 0; font-size: var(--fs-sm); color: var(--color-ink-soft); }
.td-fr-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.td-fr-bars li { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: var(--space-2); align-items: center; font-size: var(--fs-sm); }
.td-fr-bar { height: 8px; border-radius: var(--radius-pill); background: var(--color-bg-deep); overflow: hidden; }
.td-fr-bar i { display: block; height: 100%; max-width: 100%; border-radius: inherit; background: var(--color-primary); }
.td-fr-bars--age .td-fr-bar i { background: var(--color-highlight); }
.td-fr-bars b { font-variant-numeric: tabular-nums; font-weight: 700; }
.td-fr-price { margin: var(--space-2) 0 0; padding-top: var(--space-3); border-top: 1px dashed var(--color-border-strong); }
.td-fr-price strong { font-size: var(--fs-lg); color: var(--color-ink); }
.td-fr-sim { display: grid; gap: var(--space-6); margin-top: var(--space-5); }
@media (min-width: 900px) { .td-fr-sim { grid-template-columns: 1fr 1fr; } }
.td-fr-sim__inputs { display: grid; gap: var(--space-4); padding: var(--space-5); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.td-fr-sim__inputs label { display: grid; gap: var(--space-2); font-weight: 600; font-size: var(--fs-sm); }
.td-fr-sim__inputs input[type="range"] { width: 100%; accent-color: var(--color-primary); min-height: 32px; }
.td-fr-sim__inputs fieldset { display: grid; gap: var(--space-3); margin: 0; padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.td-fr-sim__inputs legend { padding: 0 var(--space-2); font-weight: 700; }
.td-fr-money { display: flex; align-items: center; gap: var(--space-2); font-weight: 700; }
.td-fr-money input { width: 100%; min-height: var(--tap); padding: 0 var(--space-3); border: 1px solid var(--color-border-strong); border-radius: var(--radius-sm); font: inherit; }
.td-fr-sim__out { display: grid; gap: var(--space-3); align-content: start; }
.td-fr-card { display: grid; gap: 2px; padding: var(--space-4) var(--space-5); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.td-fr-card span { font-size: var(--fs-sm); color: var(--color-ink-soft); font-weight: 600; }
.td-fr-card strong { font-size: var(--fs-2xl); color: var(--color-ink); font-variant-numeric: tabular-nums; line-height: 1.15; }
.td-fr-card small { color: var(--color-ink-soft); }
.td-fr-card--result { border-color: var(--color-success); background: var(--color-success-soft); }
.td-fr-card--result.is-negative { border-color: var(--color-danger); background: var(--color-danger-soft); }
.td-fr-break { margin: 0; font-weight: 700; color: var(--color-ink); }
.td-fr-ramp { margin: 0; color: var(--color-ink-soft); }
.td-fr-scenarios { margin-top: var(--space-6); }
.td-fr-scenarios h3 { margin: 0 0 var(--space-3); }
.td-checkgrid { display: grid; gap: var(--space-2); grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* ===== Formulários em passos (Novo anúncio, Nova proposta, Quero Trocar) ===== */
.td-new { max-width: 760px; margin: 0 auto; }
.td-new__form { display: flex; flex-direction: column; gap: var(--space-4); }
.td-new__card { background: var(--color-surface, #fff); border: 1px solid var(--color-border, #e3e8f1); border-radius: 14px; padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-4); }
.td-new__step { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.td-new__step span:not(.status-pill) { width: 28px; height: 28px; border-radius: 50%; background: #185ADB; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; }
.td-new__step h2 { margin: 0; font-size: 1.1rem; color: #153A75; }
.td-new__step small { color: var(--color-text-muted, #5b6478); }
.td-new__file { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.td-new__drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 140px; border: 2px dashed #b9c8e8; border-radius: 12px; background: #f5f8ff; color: #153A75; cursor: pointer; text-align: center; padding: var(--space-4); }
.td-new__drop:hover, .td-new__drop:focus-within { border-color: #185ADB; background: #eef3ff; }
.td-new__drop.is-error { border-color: #B42318; }
.td-new__drop svg { width: 32px; height: 32px; }
.td-new__drop small { color: var(--color-text-muted, #5b6478); }
.td-new__cam { position: relative; display: none; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 10px; background: #153A75; color: #fff; font-weight: 600; cursor: pointer; }
@media (hover: none) and (pointer: coarse) { .td-new__cam { display: flex; } } /* só no celular/tablet */
.td-new__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.td-new__thumbs:empty { display: none; }
.td-new__thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 1px solid var(--color-border, #e3e8f1); }
.td-new__row { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
@media (min-width: 640px) { .td-new__row { grid-template-columns: 1fr 1fr; } }
.td-new__row > div:empty { display: none; }
.td-new__note { margin: 0; font-size: .88rem; color: var(--color-text-muted, #5b6478); display: flex; gap: 6px; align-items: flex-start; }
.td-new__note svg { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 2px; }
.td-new__opts { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 640px) { .td-new__opts { grid-template-columns: 1fr 1fr; } }
.td-new__opt { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--color-border, #e3e8f1); border-radius: 12px; cursor: pointer; }
.td-new__opt:has(input:checked) { border-color: #185ADB; background: #eef3ff; }
.td-new__opt input { width: 20px; height: 20px; accent-color: #185ADB; flex: 0 0 20px; }
.td-new__opt strong { display: block; color: #153A75; }
.td-new__opt small { color: var(--color-text-muted, #5b6478); }
.td-new__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
@media (max-width: 639px) { .td-new__actions .button--action { width: 100%; justify-content: center; } }

/* Resumo do anúncio (proposta) */
.td-new__item { display: flex; gap: 14px; align-items: center; }
.td-new__item img { width: 88px; height: 88px; object-fit: cover; border-radius: 12px; border: 1px solid var(--color-border, #e3e8f1); flex: 0 0 88px; background: #eef3ff; }
.td-new__item h3 { margin: 0 0 4px; font-size: 1.05rem; color: #153A75; }
.td-new__item p { margin: 0; font-size: .88rem; color: var(--color-text-muted, #5b6478); }
.td-new__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.td-new__chips span { font-size: .78rem; padding: 2px 10px; border-radius: 999px; background: #eef3ff; color: #185ADB; font-weight: 600; }
.td-new__opt input[type=radio] { border-radius: 50%; }
/* Etiquetas selecionáveis (categorias do TrocaMatch) */
.td-new__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.td-new__pills label { cursor: pointer; }
.td-new__pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.td-new__pills span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border: 1px solid var(--color-border, #e3e8f1); border-radius: 999px; background: #fff; color: #153A75; font-size: .9rem; font-weight: 600; }
.td-new__pills input:checked + span { background: #185ADB; border-color: #185ADB; color: #fff; }
.td-new__pills input:focus-visible + span { outline: 2px solid #185ADB; outline-offset: 2px; }
.td-new__nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--space-4); }
/* Métricas (anúncio e cupom) */
.td-metrics { display: flex; flex-direction: column; gap: var(--space-4); margin-top: var(--space-4); }
.td-metrics__kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 720px) { .td-metrics__kpis { grid-template-columns: repeat(4, 1fr); } }
.td-metrics__kpis div { background: #fff; border: 1px solid var(--color-border, #e3e8f1); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.td-metrics__kpis small { color: var(--color-text-muted, #5b6478); font-weight: 600; }
.td-metrics__kpis strong { font-size: 1.6rem; color: #153A75; }
.td-metrics__kpis span { font-size: .8rem; color: var(--color-text-muted, #5b6478); }
.td-metrics__chart { width: 100%; height: 160px; background: linear-gradient(#f5f8ff, #fff); border-radius: 10px; }
.td-metrics__axis { display: flex; justify-content: space-between; font-size: .78rem; color: var(--color-text-muted, #5b6478); }
.td-metrics__dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin: 0 4px 0 10px; vertical-align: middle; }
.td-metrics__dot--a { background: #9db8f0; } .td-metrics__dot--b { background: #185ADB; }
.td-metrics__bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.td-metrics__bars li { display: grid; grid-template-columns: 96px 1fr 56px; align-items: center; gap: 10px; font-size: .9rem; }
.td-metrics__bars i { display: block; height: 12px; min-width: 2px; border-radius: 6px; background: #185ADB; }
.td-metrics__bars b { text-align: right; color: #153A75; }
/* Ponto de troca (admin e franqueado) */
@media (min-width: 640px) {
    .td-pt .td-pt__street { grid-template-columns: 3fr 1fr; }
    .td-pt .td-pt__city { grid-template-columns: 2fr 2fr 90px; }
    .td-pt .td-pt__city:has(> input[type=hidden]) { grid-template-columns: 1fr; }
}
.td-pt__map { width: 100%; height: 240px; border: 1px solid var(--color-border, #e3e8f1); border-radius: 12px; }
.td-pt-page { display: grid; gap: var(--space-5); }
@media (min-width: 1100px) { .td-pt-page { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.td-pt-list { display: grid; gap: 10px; }
.td-pt-item { background: #fff; border: 1px solid var(--color-border, #e3e8f1); border-radius: 14px; padding: 14px 16px; display: grid; gap: 6px; }
.td-pt-item__head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.td-pt-item h3 { margin: 0; font-size: 1rem; color: #153A75; }
.td-pt-item p { margin: 0; font-size: .88rem; color: var(--color-text-muted, #5b6478); }
.td-pt-item__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.td-pt-item__actions form { margin: 0; }
/* Aviso de cookies: faixa baixa no rodapé (não cobre os botões dos formulários) */
.consent { padding: 12px 16px; }
.consent__text { font-size: .82rem; }
@media (min-width: 720px) {
    .consent { left: 0; right: 0; margin: 0 auto; max-width: 960px; width: calc(100% - 32px); bottom: 12px; display: grid; grid-template-columns: 1fr auto; column-gap: 24px; align-items: center; }
    .consent__title { grid-column: 1; font-size: .95rem; }
    .consent__text, .consent__links { grid-column: 1; margin-top: 2px; }
    .consent__actions { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
}
.td-pt__places { display: grid; gap: 6px; margin-top: -6px; }
.td-pt__place { display: grid; gap: 2px; text-align: left; padding: 10px 12px; border: 1px solid var(--color-border, #e3e8f1); border-radius: 10px; background: #fff; cursor: pointer; }
.td-pt__place:hover, .td-pt__place:focus { border-color: #185ADB; background: #eef3ff; }
.td-pt__place strong { color: #153A75; }
.td-pt__place small { color: var(--color-text-muted, #5b6478); font-size: .8rem; }
/* Abas dentro das telas novas: quebram linha em vez de cortar */
.td-new .tabs { flex-wrap: wrap; overflow: visible; justify-content: flex-start; }
.td-new .tabs__tab { flex: 0 0 auto; }
.td-new .alert + p { margin-top: var(--space-2); }
/* Guia dos módulos em formato de curso */
.td-course { display: grid; gap: var(--space-5); align-items: start; }
@media (min-width: 960px) { .td-course { grid-template-columns: 280px 1fr; } .td-course__side { position: sticky; top: 16px; } }
.td-course__side { background: #fff; border: 1px solid var(--color-border, #e3e8f1); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.td-course__search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--color-border, #e3e8f1); border-radius: 12px; padding: 0 12px; background: #f5f8ff; }
.td-course__search:focus-within { border-color: #185ADB; }
.td-course__search svg { width: 18px; height: 18px; color: #5b6478; flex: 0 0 18px; }
.td-course__search input { border: 0; background: transparent; min-height: 44px; width: 100%; font: inherit; outline: none; }
.td-course__progress { margin: 0; font-size: .85rem; color: var(--color-text-muted, #5b6478); }
.td-course__progress span { display: block; height: 6px; border-radius: 6px; background: #e8eefb; margin-top: 6px; overflow: hidden; }
.td-course__progress i { display: block; height: 100%; width: 0; background: #185ADB; transition: width .3s; }
.td-course__index { display: flex; flex-direction: column; gap: 2px; max-height: 60vh; overflow: auto; }
.td-course__index a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: #172033; text-decoration: none; font-size: .92rem; }
.td-course__index a:hover { background: #eef3ff; }
.td-course__index a small { margin-left: auto; color: #8a93a6; font-size: .72rem; }
.td-course__index a.is-done .td-course__n { background: #157f3b; color: #fff; }
.td-course__n { flex: 0 0 26px; height: 26px; border-radius: 50%; background: #eef3ff; color: #185ADB; font-weight: 700; font-size: .78rem; display: grid; place-items: center; }
.td-course__main { display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }
.td-course__lesson { scroll-margin-top: 16px; }
.td-course__lesson h3 { margin: 4px 0 0; font-size: 1rem; color: #153A75; }
.td-course__lesson > p { margin: 0; }
.td-course__head { display: flex; align-items: center; gap: 12px; }
.td-course__head > div { flex: 1; }
.td-course__head small { color: #185ADB; font-weight: 700; text-transform: uppercase; font-size: .72rem; letter-spacing: .04em; }
.td-course__head h2 { margin: 0; font-size: 1.2rem; color: #153A75; }
.td-course__icon { width: 44px; height: 44px; border-radius: 12px; background: #eef3ff; color: #185ADB; display: grid; place-items: center; flex: 0 0 44px; }
.td-course__icon svg { width: 22px; height: 22px; }
.td-course__facts { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 0; }
@media (min-width: 640px) { .td-course__facts { grid-template-columns: 1fr 1fr; } }
.td-course__facts div { background: #f5f8ff; border-radius: 10px; padding: 10px 12px; }
.td-course__facts dt { font-size: .75rem; font-weight: 700; color: #5b6478; text-transform: uppercase; }
.td-course__facts dd { margin: 2px 0 0; color: #172033; }
.td-course__steps { margin: 0; padding-left: 22px; display: grid; gap: 4px; }
.td-course__example { border-left: 4px solid #F97316; background: #fff7ed; border-radius: 0 10px 10px 0; padding: 10px 14px; }
.td-course__example strong { color: #9a3412; font-size: .8rem; text-transform: uppercase; }
.td-course__example p { margin: 4px 0 0; color: #172033; }
.td-course__tip { display: flex; gap: 8px; margin: 0; color: #172033; font-size: .92rem; }
.td-course__tip svg { width: 18px; height: 18px; color: #157f3b; flex: 0 0 18px; margin-top: 2px; }
.td-course__lesson [data-lesson-done] { align-self: flex-start; }
.td-course__lesson [data-lesson-done].is-done { background: #e7f6ec; color: #157f3b; border-color: #157f3b; }
.td-course__empty { margin: 0; padding: 24px; text-align: center; color: #5b6478; background: #fff; border: 1px dashed var(--color-border, #e3e8f1); border-radius: 16px; }
.td-new--wide { max-width: 1120px; }
/* Notificações */
.td-notes__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-4); }
.td-notes__bar .tabs { margin: 0; }
.td-notes__day { margin: var(--space-4) 0 8px; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: #5b6478; }
.td-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.td-notes__item { display: flex; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--color-border, #e3e8f1); border-radius: 14px; color: #172033; text-decoration: none; position: relative; }
a.td-notes__item:hover { border-color: #185ADB; }
.td-notes__item.is-unread { background: #f5f8ff; border-color: #b9c8e8; }
.td-notes__item.is-unread::after { content: ''; position: absolute; top: 18px; right: 16px; width: 10px; height: 10px; border-radius: 50%; background: #185ADB; }
.td-notes__item strong { display: block; color: #153A75; padding-right: 20px; }
.td-notes__item p { margin: 4px 0 0; font-size: .92rem; color: #3b4458; }
.td-notes__item time { display: block; margin-top: 4px; font-size: .78rem; color: #8a93a6; }
.td-notes__icon { flex: 0 0 40px; height: 40px; border-radius: 12px; background: #eef3ff; color: #185ADB; display: grid; place-items: center; }
.td-notes__icon svg { width: 20px; height: 20px; }
/* Gestão do franqueado */
.td-rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.td-rules li { display: flex; gap: 10px; align-items: flex-start; color: #172033; }
.td-rules svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; color: #157f3b; }
.td-rules li.is-no svg { color: #B42318; }
.td-rep__bars li { grid-template-columns: 150px 1fr 110px; row-gap: 0; }
.td-rep__bars li small { grid-column: 2 / 4; font-size: .78rem; color: #8a93a6; }
.td-rep__search { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: var(--space-4); }
.td-rep__search .td-course__search { flex: 1 1 260px; background: #fff; }
.td-rep__exports { display: grid; gap: var(--space-3); }
@media (min-width: 720px) { .td-rep__exports { grid-template-columns: 1fr 1fr; } }
.td-rep__exports article { display: flex; flex-direction: column; gap: 10px; }
.td-rep__exports h2 { margin: 0; font-size: 1.1rem; color: #153A75; }
.td-team__avatar { font-weight: 800; font-size: 1rem; }
.td-notes__item > .status-pill { margin-left: auto; align-self: center; flex: 0 0 auto; }
.td-thread { display: flex; flex-direction: column; gap: 10px; }
.td-thread__msg { max-width: 85%; background: #fff; border: 1px solid var(--color-border, #e3e8f1); border-radius: 14px 14px 14px 4px; padding: 12px 14px; }
.td-thread__msg.is-mine { align-self: flex-end; background: #eef3ff; border-color: #b9c8e8; border-radius: 14px 14px 4px 14px; }
.td-thread__msg header { display: flex; gap: 10px; justify-content: space-between; font-size: .85rem; }
.td-thread__msg header strong { color: #153A75; }
.td-thread__msg time { color: #8a93a6; }
.td-thread__msg p { margin: 6px 0 0; }
.td-rules li.is-pending svg { color: #b45309; }
.td-cfg__links { display: grid; gap: var(--space-3); }
@media (min-width: 640px) { .td-cfg__links { grid-template-columns: 1fr 1fr; } }
.td-cfg__link { flex-direction: row !important; align-items: center; gap: 12px; text-decoration: none; color: #172033; }
.td-cfg__link:hover { border-color: #185ADB; }
.td-cfg__link strong { display: block; color: #153A75; }
.td-cfg__link small { color: #5b6478; }
.td-pt__coords { font-variant-numeric: tabular-nums; }
/* Quem está no painel da empresa (nome + perfil) */
.td-who { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; margin-right: 8px; padding: 4px 12px; border-radius: 999px; background: #eef3ff; color: #153A75; font-size: .85rem; white-space: nowrap; }
.td-who svg { width: 16px; height: 16px; }
.td-who span { color: #185ADB; font-weight: 700; }
.td-who span::before { content: '·'; margin-right: 6px; color: #8a93a6; }
@media (max-width: 639px) { .td-who strong { display: none; } }
.td-emp__side { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
/* Horário de funcionamento por dia da semana */
.td-hours { display: flex; flex-direction: column; gap: 8px; }
.td-hours__grid { display: grid; gap: 6px; padding: 12px; border: 1px solid var(--color-border, #e3e8f1); border-radius: 12px; background: #f9fbff; }
.td-hours__grid[hidden] { display: none; }
.td-hours__row { display: grid; grid-template-columns: 82px 120px 1fr auto 1fr; gap: 8px; align-items: center; }
.td-hours__row .input { min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
.td-hours__row .input:disabled { opacity: .35; }
.td-hours__row span { color: #5b6478; font-size: .85rem; }
.td-hours__row strong { color: #153A75; font-size: .9rem; }
@media (max-width: 639px) { .td-hours__row { grid-template-columns: 1fr 1fr; } .td-hours__row strong { grid-column: 1 / 3; } .td-hours__row span { display: none; } }
.td-hours__tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin-top: 4px; }
.td-hours__start { align-self: flex-start; }

.td-unit__tag { margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #eef3ff; color: #185ADB; font-size: .72rem; font-weight: 700; vertical-align: middle; }

/* Cota de cupons na criação da campanha */
.td-quota { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 16px; margin-bottom: var(--space-4); border: 1px solid #b9c8e8; border-radius: 14px; background: #f5f8ff; }
.td-quota > div { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.td-quota small { color: #5b6478; font-weight: 600; }
.td-quota strong { color: #153A75; }
.td-quota span { font-size: .88rem; color: #3b4458; }
.td-quota i { display: block; height: 6px; border-radius: 6px; background: #e3e8f1; margin-top: 6px; overflow: hidden; }
.td-quota em { display: block; height: 100%; background: #185ADB; }

/* Capa e logo da empresa na vitrine */
.store-profile__cover--img { width: 100%; height: clamp(160px, 25vw, 360px); background-size: cover; background-position: center; }
.store-profile__cover--auto { position: relative; overflow: hidden; display: flex; align-items: center; background: linear-gradient(120deg, #153A75, #185ADB 55%, var(--cover, #F97316) 140%); }
.store-profile__cover--auto::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 85% 30%, rgba(255,255,255,.18) 0 90px, transparent 91px), radial-gradient(circle at 70% 90%, rgba(255,255,255,.10) 0 140px, transparent 141px), repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 22px); }
.store-profile__cover--auto .container { position: relative; display: flex; flex-direction: column; gap: 6px; padding-bottom: 56px; }
.store-profile__cover--auto strong { color: #fff; font-size: clamp(1.6rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -.02em; opacity: .95; max-width: 18ch; }
.store-profile__cover--auto span { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.18); color: #fff; font-weight: 700; font-size: .9rem; }
.store-logo--img { object-fit: cover; background: #fff; }
/* Diretório público de empresas */
.td-dir { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.td-dir__card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 0 16px 16px; background: #fff; border: 1px solid var(--color-border, #e3e8f1); border-radius: 16px; overflow: hidden; text-decoration: none; color: #172033; transition: box-shadow .2s, transform .2s; }
.td-dir__card:hover { box-shadow: 0 10px 28px rgba(21,58,117,.12); transform: translateY(-2px); }
.td-dir__cover { display: block; height: 84px; margin: 0 -16px; background: linear-gradient(120deg, #153A75, #185ADB 55%, var(--cover, #F97316) 140%) center / cover; }
.td-dir__logo { width: 56px; height: 56px; margin-top: -28px; border-radius: 14px; border: 3px solid #fff; display: grid; place-items: center; color: #153A75; font-weight: 800; font-size: 1.1rem; object-fit: cover; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.td-dir__card strong { margin-top: 6px; color: #153A75; font-size: 1.05rem; }
.td-dir__card small { color: #5b6478; }
.td-dir__meta { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .85rem; font-weight: 600; color: #C2410C; }
.td-dir__meta svg { width: 16px; height: 16px; }
/* Login e marca */
.td-login__row { display: grid; gap: 10px; grid-template-columns: 1fr; margin-bottom: 10px; }
@media (min-width: 520px) { .td-login__row { grid-template-columns: 1fr 1fr; } }
.td-login__row .button { justify-content: center; text-align: center; white-space: normal; }
.td-danger { color: #B42318 !important; }

.td-login__company { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--color-border, #e3e8f1); border-radius: 14px; background: #fff; color: #172033; text-decoration: none; }
.td-login__company:hover { border-color: #185ADB; background: #f5f8ff; }
.td-login__company > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.td-login__company strong { color: #153A75; }
.td-login__company small { color: #5b6478; font-size: .85rem; }
.td-login__company > svg { width: 18px; height: 18px; color: #185ADB; }

/* Planos de impulsionamento */
.td-boost__plans { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.td-boost__plan { position: relative; cursor: pointer; }
.td-boost__plan input { position: absolute; opacity: 0; }
.td-boost__plan > span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 16px; border: 2px solid var(--color-border, #e3e8f1); border-radius: 16px; background: #fff; text-align: center; }
.td-boost__plan small { color: #5b6478; font-weight: 700; text-transform: uppercase; font-size: .7rem; letter-spacing: .06em; }
.td-boost__plan strong { color: #153A75; font-size: 1.25rem; }
.td-boost__plan b { color: #C2410C; font-size: 1.6rem; margin-top: 4px; }
.td-boost__plan em { font-style: normal; color: #172033; font-weight: 600; }
.td-boost__plan i { font-style: normal; color: #5b6478; font-size: .85rem; }
.td-boost__plan input:checked + span { border-color: #185ADB; background: #eef3ff; box-shadow: 0 6px 18px rgba(24,90,219,.15); }
.td-boost__plan input:focus-visible + span { outline: 2px solid #185ADB; outline-offset: 2px; }
.td-boost__plans--show .td-boost__plan { cursor: default; }
.td-foryou { margin: var(--space-4) 0 var(--space-5); padding: 16px; border-radius: 16px; background: linear-gradient(120deg, #fff7ed, #eef3ff); border: 1px solid #fde3c8; }
.td-foryou h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 1.1rem; color: #9a3412; }
.td-foryou h2 svg { width: 18px; height: 18px; }
/* Cidades atendidas */
.td-city { text-align: center; align-items: center; }
.td-city h2 { margin: 0; color: #153A75; }
.td-city--on { border-color: #9fd8b2; background: #f3fbf6; }
.td-city--on .td-course__icon { background: #e7f6ec; color: #157f3b; }
.td-city__tag { display: inline-block; margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: #157f3b; color: #fff; font-size: .8rem; vertical-align: middle; }
/* Planos: rótulo "cupons por mês" com espaçamento normal */
.plan-card .plan-card__quota-label { letter-spacing: 0; word-spacing: normal; font-family: var(--font-body, inherit); font-variation-settings: normal; margin-top: 6px; }
.contact-channels li { display: flex; flex-direction: column; }
.td-boost__plan--link { text-decoration: none; color: inherit; cursor: pointer !important; }
.td-boost__plan--link:hover > span { border-color: #185ADB; transform: translateY(-2px); transition: transform .15s; }
.td-boost__plan--link.is-selected > span { border-color: #185ADB; background: #eef3ff; box-shadow: 0 6px 18px rgba(24,90,219,.15); }
.td-boost__plan u { margin-top: 8px; text-decoration: none; font-weight: 700; color: #185ADB; font-size: .9rem; }

/* Pagamento embutido (Mercado Pago) */
.td-pay__sum { display: flex; flex-direction: column; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--color-border, #e3e8f1); }
.td-pay__sum span { color: #5b6478; font-weight: 600; }
.td-pay__sum strong { font-size: 2rem; color: #153A75; }
.td-pay__sum small { color: #8a93a6; }
.td-pay__result { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.td-pay__qr { width: 220px; height: 220px; border: 1px solid var(--color-border, #e3e8f1); border-radius: 12px; }

/* Fidelidade: modelos por segmento */
.td-loyalty-tpl { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.td-loyalty-tpl__item { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; text-align: left; border: 1px solid var(--color-border, #e3e8f1); border-radius: 12px; background: #fff; cursor: pointer; font: inherit; }
.td-loyalty-tpl__item:hover, .td-loyalty-tpl__item.is-on { border-color: #185ADB; background: #eef3ff; }
.td-loyalty-tpl__item strong { color: #153A75; }
.td-loyalty-tpl__item small { color: #5b6478; }
/* Planos de impulsionamento (cartões) */
.td-bp { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); align-items: stretch; }
.td-bp__card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 20px; border: 2px solid var(--color-border, #e3e8f1); border-radius: 20px; background: #fff; color: #172033; text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.td-bp__card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(21,58,117,.14); border-color: #b9c8e8; }
.td-bp__card--hot { border-color: #F97316; background: linear-gradient(180deg, #fff7ed 0, #fff 45%); }
.td-bp__card.is-selected { border-color: #185ADB; box-shadow: 0 0 0 4px rgba(24,90,219,.15); }
.td-bp__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 4px 12px; border-radius: 999px; background: #F97316; color: #172033; font-size: .75rem; font-weight: 800; white-space: nowrap; }
.td-bp__head { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.td-bp__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #eef3ff; color: #185ADB; margin-bottom: 4px; }
.td-bp__card--hot .td-bp__icon { background: #ffedd5; color: #C2410C; }
.td-bp__icon svg { width: 22px; height: 22px; }
.td-bp__head strong { font-size: 1.3rem; color: #153A75; }
.td-bp__head small { color: #5b6478; font-weight: 600; }
.td-bp__price { display: flex; flex-direction: column; padding: 12px 0; border-top: 1px dashed var(--color-border, #e3e8f1); border-bottom: 1px dashed var(--color-border, #e3e8f1); }
.td-bp__price b { font-size: 2rem; color: #153A75; letter-spacing: -.02em; }
.td-bp__price i { font-style: normal; color: #5b6478; font-size: .9rem; }
.td-bp__list { display: flex; flex-direction: column; gap: 8px; font-size: .9rem; flex: 1; }
.td-bp__list span { display: flex; gap: 8px; align-items: flex-start; }
.td-bp__list svg { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 2px; color: #157f3b; }
.td-bp__cta { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border-radius: 12px; background: #185ADB; color: #fff; font-weight: 700; }
.td-bp__card--hot .td-bp__cta { background: #C2410C; }
.td-bp__cta svg { width: 18px; height: 18px; }
/* Loja: logo por cima da capa */
.store-profile__head { position: relative; z-index: 2; }
.store-profile__head .store-logo { position: relative; z-index: 3; box-shadow: 0 6px 18px rgba(0,0,0,.12); }

/* Fotos do anúncio: excluir e capa */
.td-new__thumb { position: relative; }
.td-new__thumb img { display: block; }
.td-new__del { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(23,32,51,.75); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.td-new__del:hover { background: #B42318; }
.td-new__cover { position: absolute; left: 6px; bottom: 6px; padding: 2px 8px; border-radius: 999px; background: #185ADB; color: #fff; font-size: .72rem; font-weight: 700; }

/* Galeria do anúncio: carrossel, arrastar no celular, zoom no computador */
.td-gal { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.td-gal__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; border-radius: 16px; background: #fff; border: 1px solid var(--color-border, #e3e8f1); scrollbar-width: none; }
.td-gal__track::-webkit-scrollbar { display: none; }
.td-gal__slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; background: #fff; }
.td-gal__slide img { width: 100%; height: 100%; object-fit: contain; transition: transform .12s ease-out; user-select: none; }
.td-gal__slide video { width: 100%; height: 100%; background: #102b4f; }
@media (hover: hover) and (pointer: fine) { .td-gal__zoom { cursor: zoom-in; } }
.td-gal__nav { position: absolute; top: calc(50% - 40px); width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 4px 14px rgba(0,0,0,.15); color: #153A75; font-size: 26px; line-height: 1; cursor: pointer; z-index: 2; }
.td-gal__nav--prev { left: 10px; } .td-gal__nav--next { right: 10px; }
@media (hover: none) { .td-gal__nav { display: none; } }
.td-gal__count { position: absolute; top: 10px; right: 10px; padding: 2px 10px; border-radius: 999px; background: rgba(23,32,51,.7); color: #fff; font-size: .8rem; font-weight: 700; z-index: 2; }
.td-gal__thumbs { display: flex; gap: 8px; overflow-x: auto; }
.td-gal__thumbs button { flex: 0 0 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #eef3ff; cursor: pointer; color: #153A75; font-size: 20px; }
.td-gal__thumbs button.is-on { border-color: #185ADB; }
.td-gal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
/* Serviço: cidade fixa e referências */
.td-srv__city { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px; border: 1px dashed var(--color-border, #e3e8f1); border-radius: 12px; background: #f5f8ff; }
.td-srv__city svg { width: 18px; height: 18px; color: #185ADB; }
.td-srv__city strong { color: #153A75; }
.td-srv__city small { color: #5b6478; margin-left: auto; }
.td-srv__ref { display: grid; gap: 10px; grid-template-columns: 1fr; padding: 12px; border: 1px solid var(--color-border, #e3e8f1); border-radius: 12px; }
@media (min-width: 720px) { .td-srv__ref { grid-template-columns: 1.3fr 1fr 1fr; } }

/* Detalhe do cupom na carteira */
.td-cw { margin-top: var(--space-4); }
.td-cw h3 { margin: 4px 0 0; font-size: 1rem; color: #153A75; }
.td-cw__steps { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.td-cw__loy { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 10px 12px; border-radius: 12px; background: #fff7ed; color: #9a3412; }
.td-cw__loy svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; }

/* Reputação */
.td-rep { display: grid; gap: var(--space-4); }
@media (min-width: 760px) { .td-rep { grid-template-columns: 220px 1fr; align-items: center; } }
.td-rep__score { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.td-rep__score strong { font-size: 3rem; color: #153A75; line-height: 1; }
.td-rep__stars { font-size: 1.5rem; letter-spacing: 2px; color: #d6dbe6; }
.td-rep__stars i { font-style: normal; } .td-rep__stars .is-on { color: #F59E0B; } .td-rep__stars .is-half { color: #fcd34d; }
.td-rep__score small { color: #5b6478; }
.td-rep__kpis { grid-template-columns: repeat(3, 1fr) !important; }
.td-rep__mini { color: #F59E0B; font-size: .9rem; margin-left: 6px; }
.td-rep__reply { margin-top: 6px; padding: 8px 10px; border-radius: 10px; background: #f5f8ff; font-size: .9rem; }
.td-rep__form { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; } .td-rep__form .input { flex: 1 1 220px; min-height: 38px; }

/* Selo de empresa verificada */
.td-seal { display: inline-flex; vertical-align: middle; line-height: 0; margin-left: 2px; }
.td-seal svg { display: block; filter: drop-shadow(0 1px 2px rgba(11,111,214,.35)); }

/* Fidelidade em frases */
.td-loy__line { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; font-size: 1.02rem; line-height: 2.2; color: #172033; }
.td-loy__n { flex: 0 0 28px; height: 28px; margin-top: 6px; border-radius: 50%; background: #185ADB; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .85rem; line-height: 1; }
.td-loy__in { display: inline-flex; align-items: center; gap: 4px; padding: 0 8px; border: 1px solid #b9c8e8; border-radius: 10px; background: #f5f8ff; font-weight: 700; color: #153A75; }
.td-loy__in input { width: 72px; border: 0; background: transparent; font: inherit; font-weight: 800; color: #153A75; text-align: center; min-height: 36px; outline: none; }
.td-loy__in--money input { width: 92px; }
.td-loy__rewards { display: grid; gap: 10px; grid-template-columns: 1fr; margin-left: 38px; }
@media (min-width: 720px) { .td-loy__rewards { grid-template-columns: repeat(3, 1fr); } }
.td-loy__rewards .td-new__opt > span { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.td-loy__rewards .input { min-height: 38px; }
.td-adv summary { cursor: pointer; }
.td-adv summary small { font-weight: 500; color: #5b6478; }
/* Fidelidade: campo do brinde largo e frases avançadas */
.td-loy__rewards .td-new__opt input.input { width: 100%; height: auto; flex: 1 1 auto; min-height: 42px; padding: 0 12px; border-radius: 10px; }
.td-loy__rewards .td-new__opt .td-loy__in input { width: 72px; height: auto; flex: 0 0 auto; }
.td-loy__rewards .td-new__opt:first-child { grid-column: 1 / -1; }
.td-adv .td-loy__line { font-size: .97rem; }
.td-adv .td-loy__n { background: #eef3ff; color: #185ADB; }

/* Serviço: excluir foto existente */
.td-srv__photos .td-new__thumb input { position: absolute; opacity: 0; pointer-events: none; }
.td-srv__photos .td-new__thumb .td-new__del { cursor: pointer; }
.td-srv__photos .td-new__thumb:has(input:checked) img { opacity: .3; filter: grayscale(1); }
.td-srv__photos .td-new__thumb:has(input:checked) .td-new__del { background: #C2410C; color: #fff; }

/* Fidelidade: cartão do programa salvo */
.td-loy-card { max-width: 860px; margin-bottom: var(--space-6); border-left: 4px solid #185ADB; }
.td-loy-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.td-loy-card__head .panel__title { display: flex; gap: 10px; align-items: center; margin: 0; }
.td-loy-card__head > span { font-weight: 700; color: #153A75; background: #eef3ff; border-radius: 999px; padding: 4px 12px; font-size: .85rem; }
.td-loy-card__rule { font-size: 1.05rem; line-height: 1.6; color: #172033; margin: 14px 0; }
.td-loy-card__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.td-loy-card__actions form { margin: 0; }
.td-loy-card__del { color: #b42318; border-color: #f3c7c2; }
.td-loy-card__hint { font-size: .85rem; margin: 12px 0 0; }

.td-unit__del { color: #b42318; }

/* Chat: imagem na conversa e ampliação */
.td-msg__img { display: block; margin: 6px 0 2px; padding: 0; border: 0; background: none; cursor: zoom-in; }
.td-msg__img img { display: block; max-width: min(280px, 100%); max-height: 260px; border-radius: 10px; object-fit: cover; }
.td-msg__blocked { display: flex; gap: 6px; align-items: center; margin: 6px 0; font-size: .85rem; color: #7C2D12; }
.td-msg__thumb img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; display: block; }
.td-zoom { position: fixed; inset: 0; z-index: 9999; background: rgba(10, 16, 30, .88); display: grid; place-items: center; padding: 16px; cursor: zoom-out; }
.td-zoom img { max-width: 100%; max-height: 100%; border-radius: 8px; }
.td-chat__pick { cursor: pointer; }
.td-chat__picked { font-size: .85rem; }

/* Sino de notificações */
.td-bell { position: relative; }
.td-bell__btn { position: relative; }
.td-bell__n { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #C2410C; color: #fff; font-size: .7rem; font-weight: 800; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.td-bell__menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; width: min(340px, calc(100vw - 32px)); background: #fff; border: 1px solid #e3e8f2; border-radius: 14px; box-shadow: 0 16px 40px rgba(21, 58, 117, .16); overflow: hidden; }
.td-bell__head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid #eef1f7; font-size: .92rem; }
.td-bell__head a { font-weight: 700; color: #185ADB; text-decoration: none; }
.td-bell__list { max-height: 380px; overflow-y: auto; }
.td-bell__item { display: grid; gap: 2px; padding: 10px 14px; border-bottom: 1px solid #f1f4f9; color: #172033; text-decoration: none; }
.td-bell__item:hover, .td-bell__item:focus-visible { background: #f5f8ff; }
.td-bell__item strong { font-size: .9rem; }
.td-bell__item small { color: #5b6478; font-size: .8rem; }
.td-bell__item time { color: #8a93a6; font-size: .72rem; }
.td-bell__item--chat { background: #fff7ed; }
.td-bell__empty { padding: 18px 14px; margin: 0; color: #5b6478; font-size: .88rem; text-align: center; }

/* TrocaMatch: detalhes da sugestão */
.td-mt { max-width: 1100px; }
.td-mt__grid { display: grid; gap: var(--space-4, 16px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .td-mt__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.td-mt__item { padding: 0; overflow: hidden; }
.td-mt__photo { display: block; background: #eef2f8; }
.td-mt__photo img { display: block; width: 100%; height: clamp(220px, 34vw, 360px); object-fit: contain; }
.td-mt__info { padding: 18px 20px 20px; display: grid; gap: 6px; }
.td-mt__info h2 { margin: 0; font-size: 1.3rem; color: #153A75; }
.td-mt__info p { margin: 0; }
.td-mt__mods { color: #185ADB; font-weight: 700; font-size: .92rem; }
.td-mt__facts { display: grid; gap: 0; margin: 10px 0 4px; border-top: 1px solid #eef1f7; }
.td-mt__facts div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid #eef1f7; }
.td-mt__facts dt { color: #5b6478; font-size: .9rem; }
.td-mt__facts dd { margin: 0; font-weight: 700; color: #172033; text-align: right; }
.td-mt__link { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; color: #185ADB; text-decoration: none; margin-top: 6px; }
.td-mt__side { display: grid; gap: var(--space-4, 16px); }
.td-mt__score { display: flex; gap: 16px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid #eef1f7; margin-bottom: 14px; }
.td-mt__score > strong { font-size: 2.4rem; line-height: 1; color: #153A75; }
.td-mt__score > strong small { font-size: .9rem; color: #8a93a6; font-weight: 600; }
.td-mt__score > span { display: grid; gap: 4px; justify-items: start; }
.td-mt__score > span small { color: #5b6478; font-size: .82rem; }
.td-mt__h { margin: 0 0 10px; font-size: 1rem; color: #153A75; }
.td-mt__reasons, .td-mt__mine { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.td-mt__reasons li { display: flex; gap: 8px; align-items: flex-start; color: #172033; }
.td-mt__reasons li svg { flex: 0 0 18px; color: #15803d; margin-top: 2px; }
.td-mt__mine li { display: flex; gap: 12px; align-items: center; padding: 8px; border: 1px solid #eef1f7; border-radius: 12px; }
.td-mt__mine img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; background: #eef2f8; flex: 0 0 56px; }
.td-mt__mine span { display: grid; gap: 2px; min-width: 0; }
.td-mt__mine strong { font-size: .92rem; color: #172033; }
.td-mt__mine small { color: #5b6478; }
.td-mt__actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.td-new__card.td-mt__actions { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 10px; flex-wrap: wrap; }
.td-mt__actions .button { margin: 0; }

/* Montar proposta: diferença automática e ponto de troca */
.td-diff { margin: 0 0 10px; padding: 10px 12px; border-radius: 10px; background: #eef3ff; color: #153A75; font-size: .9rem; font-weight: 600; }
.td-pts { display: grid; gap: 8px; margin-bottom: 12px; }
.td-pts__opt { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid #dfe5f0; border-radius: 12px; cursor: pointer; background: #fff; }
.td-pts__opt:has(input:checked) { border-color: #185ADB; background: #f5f8ff; box-shadow: 0 0 0 1px #185ADB; }
.td-pts__opt input { margin-top: 4px; }
.td-pts__opt span { display: grid; gap: 3px; }
.td-pts__opt strong { display: flex; gap: 6px; align-items: center; color: #153A75; }
.td-pts__opt small { display: flex; gap: 6px; align-items: center; color: #5b6478; }

/* Montar proposta: escolher itens por botão e agendar no ponto */
.td-pick__ctl { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: 0 0 auto; }
.td-pick__btn { background: #fff; color: #185ADB; border: 1px solid #185ADB; min-width: 132px; }
.td-pick__ctl.is-on .td-pick__btn { background: #185ADB; color: #fff; }
.td-pick__step { display: inline-flex; align-items: center; border: 1px solid #dfe5f0; border-radius: 999px; overflow: hidden; }
.td-pick__step button { width: 32px; height: 30px; border: 0; background: #f5f8ff; color: #153A75; font-size: 1.1rem; font-weight: 800; cursor: pointer; }
.td-pick__step output { min-width: 32px; text-align: center; font-weight: 800; color: #153A75; }
.td-pick__row:has(.td-pick__ctl.is-on) { background: #f5f8ff; border-radius: 12px; }
.td-meet { margin: 4px 0 14px; padding: 12px; border: 1px dashed #b9c8e8; border-radius: 12px; background: #fbfcff; }

/* Visão geral (pessoa e empresa) */
.td-hub { display: grid; gap: var(--space-5, 20px); }
.td-hub__hello { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding: 22px 24px; border-radius: 20px; background: linear-gradient(135deg, #153A75, #185ADB); color: #fff; }
.td-hub__hello h1 { margin: 0; font-size: clamp(1.4rem, 3vw, 1.9rem); color: #fff; }
.td-hub__hello p { margin: 4px 0 0; opacity: .9; }
.td-hub__quick { display: flex; gap: 10px; flex-wrap: wrap; }
.td-hub__hello .button--ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.td-hub__wallets { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .td-hub__wallets { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.td-wal { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid #e3e8f2; text-decoration: none; color: #172033; transition: transform .15s, box-shadow .15s; }
.td-wal:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(21,58,117,.10); }
.td-wal__ic { flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.td-wal span:last-child { display: grid; min-width: 0; }
.td-wal small { color: #5b6478; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.td-wal strong { font-size: 1.15rem; color: #153A75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.td-wal em { font-style: normal; color: #8a93a6; font-size: .78rem; }
.td-wal--cupom .td-wal__ic { background: #F97316; color: #172033; }
.td-wal--tdc .td-wal__ic { background: #185ADB; }
.td-wal--cash .td-wal__ic { background: #15803d; }
.td-wal--pts .td-wal__ic { background: #7c3aed; }
.td-hub__grid { display: grid; gap: var(--space-4, 16px); grid-template-columns: 1fr; }
@media (min-width: 980px) { .td-hub__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.td-hub__head { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.td-hub__head h2 { margin: 0; font-size: 1.05rem; color: #153A75; }
.td-hub__ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #eef3ff; color: #185ADB; }
.td-hub__ic--cupom { background: #fff1e6; color: #C2410C; }
.td-hub__ic--mais { background: #f3efff; color: #7c3aed; }
.td-hub__links { display: grid; gap: 4px; }
.td-hub__link { display: flex; align-items: center; gap: 10px; padding: 10px 10px; border-radius: 10px; color: #172033; text-decoration: none; font-weight: 600; font-size: .94rem; }
.td-hub__link:hover { background: #f5f8ff; }
.td-hub__link svg { width: 18px; height: 18px; color: #5b6478; flex: 0 0 18px; }
.td-hub__link span { flex: 1; }
.td-hub__link b { min-width: 24px; padding: 2px 8px; border-radius: 999px; background: #eef3ff; color: #185ADB; font-size: .78rem; text-align: center; }
@media (max-width: 600px) { .td-hub__hello { padding: 18px; border-radius: 16px; } .td-hub__quick { width: 100%; } .td-hub__quick .button { flex: 1; justify-content: center; } }

/* Painel da empresa: ações do dia a dia */
.td-biz { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 var(--space-5, 20px); }
@media (min-width: 900px) { .td-biz { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.td-biz__act { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid #e3e8f2; color: #153A75; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.td-biz__act:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(21,58,117,.10); }
.td-biz__act svg { width: 26px; height: 26px; flex: 0 0 26px; }
.td-biz__act span { display: grid; }
.td-biz__act strong { font-size: 1rem; }
.td-biz__act small { color: #5b6478; }
.td-biz__act--main { background: #C2410C; border-color: #C2410C; color: #fff; }
.td-biz__act--main small { color: rgba(255,255,255,.85); }

/* Início: carrossel da cidade, faixa de cupons e atalhos no celular */
.td-car { position: relative; }
.td-car__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 14px; scrollbar-width: none; }
.td-car__track::-webkit-scrollbar { display: none; }
.td-car__slide { flex: 0 0 min(260px, 78vw); scroll-snap-align: start; }
.td-car__slide > * { height: 100%; }
.td-car__slide--cupom { flex-basis: min(280px, 82vw); }
.td-car__nav { position: absolute; top: 40%; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #e3e8f2; background: #fff; color: #153A75; font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 6px 16px rgba(21,58,117,.15); }
.td-car__nav--prev { left: -12px; }
.td-car__nav--next { right: -12px; }
@media (max-width: 700px) { .td-car__nav { display: none; } }
.td-cup-row { display: grid; gap: 16px; grid-auto-flow: column; grid-auto-columns: min(280px, 82vw); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
.td-cup-row__item { scroll-snap-align: start; }
@media (min-width: 1100px) { .td-cup-row { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; } }
.td-mquick { display: none; }
@media (max-width: 700px) {
    .td-mquick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: -8px; margin-bottom: 8px; }
    .td-mquick a { display: grid; justify-items: center; gap: 6px; padding: 12px 4px; border-radius: 14px; background: #fff; border: 1px solid #e3e8f2; color: #153A75; text-decoration: none; font-weight: 700; font-size: .78rem; text-align: center; box-shadow: 0 4px 12px rgba(21,58,117,.06); }
    .td-mquick a:first-child { background: #F97316; border-color: #F97316; color: #172033; }
    .td-mquick svg { width: 24px; height: 24px; }
    .td-hero__actions { display: none !important; }
    .td-demo { display: none !important; }
}

/* Franquia: pontos de troca */
.td-ptx { display: grid; gap: var(--space-4, 16px); }
.td-ptx__kpis .is-warn strong { color: #C2410C; }
.td-ptx__missing { display: flex; flex-wrap: wrap; gap: 8px; }
.td-ptx__city { display: inline-flex; gap: 8px; align-items: center; padding: 8px 10px 8px 12px; border-radius: 999px; border: 1px dashed #f0b48a; background: #fff7ed; color: #7C2D12; text-decoration: none; font-weight: 600; font-size: .9rem; }
.td-ptx__city b { display: inline-flex; gap: 4px; align-items: center; padding: 3px 10px; border-radius: 999px; background: #C2410C; color: #fff; font-size: .78rem; }
.td-ptx__city svg { width: 16px; height: 16px; }
.td-ptx__filters { display: grid; gap: 8px; grid-template-columns: 1fr; margin-bottom: 14px; }
@media (min-width: 800px) { .td-ptx__filters { grid-template-columns: 2fr 1fr 1fr auto auto; align-items: center; } }
.td-ptx__list { display: grid; gap: 10px; }
.td-ptx__item { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 14px; border: 1px solid #e3e8f2; border-radius: 14px; background: #fff; }
@media (min-width: 900px) { .td-ptx__item { grid-template-columns: auto 1fr auto; align-items: center; } }
.td-ptx__item.is-off { opacity: .7; background: #fafbfd; }
.td-ptx__pin { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #eef3ff; color: #185ADB; }
.td-ptx__body h3 { margin: 0 0 4px; font-size: 1rem; color: #153A75; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.td-ptx__body p { margin: 0; font-size: .9rem; }
.td-ptx__body p svg { width: 14px; height: 14px; vertical-align: -2px; }
.td-ptx__actions { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; }
@media (min-width: 900px) { .td-ptx__actions { grid-column: auto; justify-content: flex-end; } }
.td-ptx__actions form { margin: 0; }
.td-ptx__form > summary { cursor: pointer; display: flex; gap: 8px; align-items: center; font-weight: 800; color: #153A75; font-size: 1.05rem; }
.td-ptx__form[open] > summary { margin-bottom: 14px; }
.td-ptx__body p svg { display: inline-block; }
.td-car__slide--cupom { flex-basis: min(340px, 86vw); }

/* Pedido: abas */
.td-otabs { display: flex; gap: 4px; overflow-x: auto; margin: 0 0 var(--space-5, 20px); padding: 4px; background: #eef2f8; border-radius: 14px; scrollbar-width: none; }
.td-otabs::-webkit-scrollbar { display: none; }
.td-otabs__tab { display: inline-flex; gap: 6px; align-items: center; padding: 9px 14px; border-radius: 10px; color: #3d4760; text-decoration: none; font-weight: 700; font-size: .9rem; white-space: nowrap; }
.td-otabs__tab svg { width: 16px; height: 16px; }
.td-otabs__tab:hover { background: rgba(255,255,255,.6); color: #153A75; }
.td-otabs__tab.is-active { background: #fff; color: #185ADB; box-shadow: 0 2px 8px rgba(21,58,117,.12); }

/* Início: vitrine "Agora em" e "Cupons de" (cartões novos) */
.td-home-sec__head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: flex-end; margin-bottom: 12px; }
.td-home-sec__head .section__title { margin: 0; }
.td-home-sec__head p { margin: 4px 0 0; color: #5b6478; }
.td-home-sec__kicker { display: inline-flex; gap: 6px; align-items: center; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #185ADB; }
.td-home-sec__kicker svg { width: 16px; height: 16px; }
.td-home-sec__tools { display: flex; gap: 8px; align-items: center; }
.td-home-sec__more { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; color: #185ADB; text-decoration: none; margin-right: 6px; }
.td-home-sec__more svg { width: 16px; height: 16px; }
.td-arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #e3e8f2; background: #fff; color: #153A75; font-size: 1.4rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 12px rgba(21,58,117,.08); }
.td-arrow:hover { border-color: #185ADB; }
@media (max-width: 700px) { .td-arrow { display: none; } }
.td-chips { display: flex; gap: 8px; margin: 0 0 14px; overflow-x: auto; scrollbar-width: none; }
.td-chips button { padding: 8px 16px; border-radius: 999px; border: 1px solid #dfe5f0; background: #fff; color: #153A75; font-weight: 700; cursor: pointer; white-space: nowrap; }
.td-chips button.is-on { background: #153A75; border-color: #153A75; color: #fff; }
.td-lc { position: relative; flex: 0 0 min(250px, 74vw); scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border: 1px solid #e3e8f2; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 18px rgba(21,58,117,.06); }
.td-lc__media { position: relative; display: block; aspect-ratio: 4 / 3; background: #eef2f8; }
.td-lc__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.td-lc__badge { position: absolute; top: 10px; left: 10px; display: inline-flex; gap: 5px; align-items: center; padding: 4px 10px; border-radius: 999px; background: #fff; color: #153A75; font-size: .76rem; font-weight: 800; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.td-lc__badge svg { width: 14px; height: 14px; }
.td-lc__fav { position: absolute; top: 8px; right: 8px; margin: 0; }
.td-lc__fav button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: #fff; color: #153A75; display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.td-lc__fav svg { width: 18px; height: 18px; }
.td-lc__fav button:hover { color: #C2410C; }
.td-lc__body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; flex: 1; }
.td-lc__body h3 { margin: 0; font-size: 1rem; line-height: 1.3; }
.td-lc__body h3 a { color: #172033; text-decoration: none; }
.td-lc__place { margin: 0; display: flex; gap: 4px; align-items: center; color: #5b6478; font-size: .84rem; }
.td-lc__place svg { width: 14px; height: 14px; }
.td-lc__price { margin: 2px 0; font-size: 1.25rem; font-weight: 800; color: #153A75; }
.td-lc__pill { align-self: flex-start; display: inline-flex; gap: 6px; align-items: center; padding: 5px 12px; border-radius: 999px; background: #eef3ff; color: #185ADB; font-size: .8rem; font-weight: 700; }
.td-lc__pill svg { width: 14px; height: 14px; }
.td-lc__btn { margin-top: auto; display: block; text-align: center; padding: 9px; border-radius: 10px; border: 1px solid #185ADB; color: #185ADB; font-weight: 700; text-decoration: none; }
.td-lc__btn:hover { background: #185ADB; color: #fff; }
.td-lc[hidden] { display: none; }
.td-dots { display: flex; justify-content: center; gap: 6px; margin-top: 4px; }
.td-dots span { width: 8px; height: 8px; border-radius: 50%; background: #cfd8ea; }
.td-dots span.is-on { background: #185ADB; width: 20px; border-radius: 999px; }
.td-car__track--cc { gap: 16px; }
.td-cc { flex: 0 0 min(390px, 88vw); scroll-snap-align: start; display: grid; grid-template-columns: 1fr 128px; background: #fff; border: 1px solid #e3e8f2; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 18px rgba(21,58,117,.06); min-height: 180px; }
.td-cc__info { display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 12px 16px; min-width: 0; }
.td-cc__store { display: flex; gap: 10px; align-items: center; }
.td-cc__logo { flex: 0 0 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #fff1e6; color: #C2410C; font-weight: 800; font-size: .85rem; }
.td-cc__store span:last-child { display: grid; min-width: 0; }
.td-cc__store strong { font-size: .88rem; color: #172033; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.td-cc__store small { color: #5b6478; font-size: .76rem; }
.td-cc h3 { margin: 2px 0 0; font-size: 1rem; line-height: 1.3; }
.td-cc h3 a { color: #172033; text-decoration: none; }
.td-cc__info > p { margin: 0; color: #5b6478; font-size: .84rem; }
.td-cc__meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; color: #5b6478; font-size: .8rem; }
.td-cc__meta li { display: flex; gap: 6px; align-items: center; }
.td-cc__meta svg { width: 14px; height: 14px; }
.td-cc__go { margin-top: auto; display: inline-flex; gap: 6px; align-items: center; font-weight: 800; color: #185ADB; text-decoration: none; font-size: .9rem; }
.td-cc__go svg { width: 16px; height: 16px; }
.td-cc__stub { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; padding: 12px 8px; background: #F97316; color: #fff; text-decoration: none; text-align: center; border-left: 2px dashed rgba(255,255,255,.7); }
.td-cc__stub::before, .td-cc__stub::after { content: ''; position: absolute; left: -11px; width: 20px; height: 20px; border-radius: 50%; background: #F5F7FB; }
.td-cc__stub::before { top: -10px; } .td-cc__stub::after { bottom: -10px; }
.td-cc__stub svg { width: 22px; height: 22px; opacity: .9; }
.td-cc__stub strong { font-size: 2.3rem; line-height: 1; font-weight: 900; }
.td-cc__stub strong small { font-size: 1rem; font-weight: 800; }
.td-cc__stub .td-cc__txt { font-size: 1.1rem; }
.td-cc__stub span { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.td-lc__media { height: 180px; aspect-ratio: auto; overflow: hidden; }
.td-lc__body h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }

/* TrocaPermuta: etapas e cartões (empresa e autônomo) */
.td-pm__flow { list-style: none; margin: 0 0 var(--space-4, 16px); padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.td-pm__flow li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid #e3e8f2; font-size: .88rem; color: #3d4760; }
.td-pm__flow strong { flex: 0 0 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #185ADB; color: #fff; font-size: .82rem; }
.td-pm__list { display: grid; gap: var(--space-4, 16px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.td-pm__card { display: grid; gap: 10px; align-content: start; }
.td-pm__head { display: flex; gap: 12px; align-items: center; }
.td-pm__head > div { flex: 1; min-width: 0; }
.td-pm__head h2 { margin: 0; font-size: 1.05rem; color: #153A75; }
.td-pm__head p { margin: 2px 0 0; font-size: .86rem; }
.td-pm__avatar { flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #eef3ff; color: #185ADB; font-weight: 800; }
.td-pm__bar { height: 6px; border-radius: 999px; background: #eef2f8; overflow: hidden; }
.td-pm__bar span { display: block; height: 100%; background: linear-gradient(90deg, #185ADB, #15803d); border-radius: 999px; }
.td-pm__money, .td-pm__when { margin: 0; font-size: .92rem; }
.td-pm__when { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 10px; background: #f5f8ff; color: #153A75; }
.td-pm__when svg, .td-pm__done svg { width: 18px; height: 18px; flex: 0 0 18px; }
.td-pm__done { display: flex; gap: 8px; align-items: center; margin: 0; padding: 10px 12px; border-radius: 10px; background: #ecfdf3; color: #15803d; font-weight: 700; }
.td-pm__actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-start; }
.td-pm__actions form { margin: 0; }
.td-pm__resched > summary { list-style: none; cursor: pointer; }
.td-pm__resched > summary::-webkit-details-marker { display: none; }
.td-pm__reform { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; margin-top: 8px; }
.td-pm__reform label { display: grid; gap: 4px; font-size: .82rem; font-weight: 700; color: #3d4760; }
.td-pm__reform .input[name="nota"], .td-pm__reform .button { grid-column: 1 / -1; }
.td-pm__decline { margin: 0; }
.td-pm__review { display: grid; gap: 8px; }
.td-pm__stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.td-pm__stars input { position: absolute; opacity: 0; pointer-events: none; }
.td-pm__stars label { font-size: 1.8rem; line-height: 1; color: #d6dbe6; cursor: pointer; }
.td-pm__stars input:checked ~ label, .td-pm__stars label:hover, .td-pm__stars label:hover ~ label { color: #F59E0B; }
.td-pm__link { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; color: #185ADB; text-decoration: none; font-size: .9rem; }
.td-pm__link svg { width: 16px; height: 16px; }
.td-pm__card.is-declined { opacity: .65; }

/* Item grande: retirada no local */
.td-bulky { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; margin: 6px 0 10px; border: 1px solid #dfe5f0; border-radius: 12px; background: #fbfcff; cursor: pointer; }
.td-bulky:has(input:checked) { border-color: #185ADB; background: #f5f8ff; box-shadow: 0 0 0 1px #185ADB; }
.td-bulky input { margin-top: 4px; width: 18px; height: 18px; }
.td-bulky span { display: grid; gap: 4px; }
.td-bulky strong { display: flex; gap: 6px; align-items: center; color: #153A75; }
.td-bulky strong svg { width: 18px; height: 18px; }
.td-bulky small { color: #5b6478; line-height: 1.45; }

/* Pedido: retirada do item grande */
.td-ret { display: grid; gap: var(--space-4, 16px); }
.td-ret__card { display: grid; gap: 12px; }
.td-ret__head { display: flex; gap: 12px; align-items: center; }
.td-ret__head img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: #eef2f8; }
.td-ret__head h2 { margin: 0; font-size: 1.05rem; color: #153A75; }
.td-ret__head p { margin: 2px 0 0; }
.td-ret__lock { display: flex; gap: 8px; align-items: center; margin: 0; padding: 10px 12px; border-radius: 10px; background: #fff7ed; color: #7C2D12; font-weight: 600; }
.td-ret__lock svg { width: 18px; height: 18px; flex: 0 0 18px; }
.td-ret__todo, .td-ret__next { display: flex; gap: 8px; flex-wrap: wrap; }
.td-ret__addr { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 12px; background: #ecfdf3; border: 1px solid #bbf7d0; }
.td-ret__addr > span { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #15803d; color: #fff; flex: 0 0 44px; }
.td-ret__addr strong { font-size: 1.05rem; color: #14532d; }
.td-ret__addr p { margin: 2px 0 0; color: #166534; }
.td-ret__log { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.td-ret__log li { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: #f5f8ff; font-size: .9rem; }
.td-ret__log li span { flex: 1; }
.td-ret__log time { color: #5b6478; font-size: .82rem; white-space: nowrap; }
.td-ret__log svg { width: 16px; height: 16px; color: #185ADB; }
.td-ret__addr p { display: flex; gap: 6px; align-items: center; } .td-ret__addr p svg { width: 15px; height: 15px; flex: 0 0 15px; }

/* Admin: webhook da Meta */
.td-wh { margin-top: 14px; padding: 14px; border: 1px solid #dfe5f0; border-radius: 12px; background: #fbfcff; display: grid; gap: 8px; }
.td-wh h3 { margin: 0; font-size: 1rem; color: #153A75; }
.td-wh p { margin: 0; }
.td-wh__url { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.td-wh__url code { padding: 8px 10px; border-radius: 8px; background: #eef3ff; color: #153A75; font-weight: 700; word-break: break-all; }
.td-wh__checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.td-wh__checks li { display: flex; gap: 6px; align-items: center; color: #7C2D12; font-size: .9rem; }
.td-wh__checks li.is-ok { color: #15803d; }
.td-wh__checks svg { width: 16px; height: 16px; }

/* Caixa do cupom: quanto cobrar */
.td-cx { margin-top: var(--space-4, 16px); padding: 16px; border-radius: 16px; background: #fff; border: 1px solid #e3e8f2; display: grid; gap: 10px; }
.td-cx h2 { margin: 0; display: flex; gap: 8px; align-items: center; font-size: 1.05rem; color: #153A75; }
.td-cx__calc { display: grid; gap: 4px; padding: 12px; border-radius: 12px; background: #f5f8ff; }
.td-cx__calc div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.td-cx__calc span { color: #5b6478; }
.td-cx__calc strong { color: #172033; }
.td-cx__charge { padding-top: 6px; margin-top: 4px; border-top: 1px dashed #b9c8e8; }
.td-cx__charge strong { font-size: 1.6rem; color: #15803d; }
.td-cx__gift { display: flex; gap: 8px; align-items: center; margin: 0; padding: 10px 12px; border-radius: 10px; background: #fff7ed; color: #7C2D12; }
.td-cx__gift svg { width: 18px; height: 18px; flex: 0 0 18px; }
.td-cx__total dd { font-weight: 800; color: #15803d; }
@media print { .td-cx, .redemption-confirm__actions, .app__topbar, .sidenav, .td-bell { display: none !important; } }

/* Franquia: moderação de anúncios, cupons e trocas */
.td-mod { display: grid; gap: var(--space-4, 16px); }
.td-mod__acts { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.td-mod__acts form { margin: 0; }
.td-mod__grid { display: grid; gap: var(--space-4, 16px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 980px) { .td-mod__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.td-mod__side { display: grid; gap: var(--space-4, 16px); }
.td-mod__fotos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.td-mod__fotos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: #eef2f8; }
.td-mod__desc { white-space: normal; color: #172033; line-height: 1.55; margin: 0 0 10px; }

/* Admin: preço da TrocaGarantida */
.td-gp__grid { display: grid; gap: 10px 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-bottom: 12px; }
.td-gp__plan { border: 1px solid #e3e8f2; border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.td-gp__head { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-bottom: 8px; }
.td-gp__head h3 { margin: 0; color: #153A75; font-size: 1.05rem; }
.td-gp__head span { color: #5b6478; font-size: .9rem; }
.td-gp__head strong.is-ok { color: #15803d; } .td-gp__head strong.is-warn { color: #92400e; } .td-gp__head strong.is-bad { color: #b91c1c; }
.td-gp__low { color: #b91c1c; font-weight: 800; }

/* Módulos avançados: topo comum e conteúdo em cartão */
.td-mtopo { margin: 0 0 var(--space-5, 20px); padding: 20px 22px; border-radius: 20px; background: linear-gradient(135deg, #fff, #f2f6ff); border: 1px solid #e3e8f2; display: grid; gap: 14px; }
.td-mtopo__head { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.td-mtopo__head > div { flex: 1; min-width: 220px; }
.td-mtopo__head h1 { margin: 0; font-size: clamp(1.4rem, 3vw, 1.8rem); color: #153A75; }
.td-mtopo__head p { margin: 4px 0 0; color: #526078; }
.td-mtopo__ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #185ADB; color: #fff; flex: 0 0 52px; }
.td-mtopo__ic svg { width: 26px; height: 26px; }
.td-mtopo__acts { display: flex; gap: 8px; flex-wrap: wrap; }
.td-mtopo__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.td-mtopo__steps li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid #e3e8f2; font-size: .9rem; color: #3d4760; }
.td-mtopo__steps strong { flex: 0 0 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #eef3ff; color: #185ADB; font-size: .82rem; }
.td-modpg { max-width: none; margin: 0; display: grid; gap: var(--space-4, 16px); }
.td-modpg > .table-wrap, .td-modpg > .empty-state, .td-modpg > .grid, .td-modpg > form.form { background: #fff; border: 1px solid #e3e8f2; border-radius: 16px; padding: 12px; }
.td-modpg > p { margin: 0; }
@media (max-width: 600px) { .td-mtopo { padding: 16px; } .td-mtopo__acts { width: 100%; } .td-mtopo__acts .button { flex: 1; justify-content: center; } }

/* Abas dos módulos avançados (ModuleNav) */
.td-modnav { margin: 0 0 var(--space-4, 16px); }
.td-modpg > .panel, .td-modpg > section.panel { border-radius: 16px; }
.td-modpg > .table-wrap .table { margin: 0; }
.td-modpg > h2, .td-modpg > .section-title { margin: 8px 0 0; color: #153A75; font-size: 1.2rem; }

/* ---------- Conversas estilo WhatsApp (chat e suporte): lista à esquerda, conversa à direita (21/10/2026) */
.wa { display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); height: calc(100vh - 240px); min-height: 480px; background: #fff; border: 1px solid #e3e8f1; border-radius: 16px; overflow: hidden; }
.wa__list { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid #e3e8f1; background: #fff; }
.wa__lhead { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px 8px; }
.wa__ltitle { margin: 0; font-size: 1.25rem; color: #153A75; }
.wa__lacts, .wa__hacts { display: flex; gap: 4px; align-items: center; }
.wa__ibtn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; color: #3b4a63; background: none; border: 0; cursor: pointer; text-decoration: none; font-size: 1.2rem; line-height: 1; }
.wa__ibtn:hover { background: #eef2f8; }
.wa__ibtn svg { width: 20px; height: 20px; }
.wa__search { display: flex; align-items: center; gap: 8px; margin: 0 12px 8px; padding: 0 12px; background: #f1f4f9; border-radius: 10px; }
.wa__search svg { width: 18px; height: 18px; color: #6b7690; flex: none; }
.wa__search input { flex: 1; min-width: 0; border: 0; background: none; padding: 10px 0; font: inherit; outline: none; }
.wa__chips { display: flex; gap: 6px; padding: 0 12px 8px; overflow-x: auto; scrollbar-width: none; }
.wa__chip { padding: 6px 12px; border-radius: 999px; background: #f1f4f9; color: #3b4a63; font-size: .85rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.wa__chip.is-on { background: #e3ecfd; color: #185ADB; }
.wa__items { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; }
.wa__item { display: flex; gap: 12px; align-items: center; padding: 10px 16px 0; color: inherit; text-decoration: none; }
.wa__item:hover { background: #f6f8fc; }
.wa__item.is-active { background: #eaf1fe; }
.wa__itxt { flex: 1; min-width: 0; display: grid; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid #eef1f6; }
.wa__items li:last-child .wa__itxt { border-bottom: 0; }
.wa__irow { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-width: 0; }
.wa__irow strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #172033; }
.wa__sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #6b7690; font-size: .88rem; }
.wa__time { color: #6b7690; font-size: .75rem; flex: none; }
.wa__time.is-new { color: #185ADB; font-weight: 700; }
.wa__badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #185ADB; color: #fff; font-size: .72rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.wa__tag { font-style: normal; color: #C2410C; font-weight: 600; }
.wa__av { width: 46px; height: 46px; margin-bottom: 10px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: #185ADB; font-size: .95rem; }
.wa__av--1 { background: #153A75; } .wa__av--2 { background: #0F766E; } .wa__av--3 { background: #C2410C; } .wa__av--4 { background: #7C3AED; } .wa__av--5 { background: #BE185D; }
.wa__lempty { padding: 24px 20px; color: #5b6478; display: grid; gap: 6px; justify-items: start; }
.wa__lempty p { margin: 0; }
.wa__pane { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: #efeae2; }
.wa__head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #f6f8fc; border-bottom: 1px solid #e3e8f1; }
.wa__head .wa__av { width: 40px; height: 40px; margin: 0; font-size: .85rem; }
.wa__who { flex: 1; min-width: 0; display: grid; }
.wa__who strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #172033; }
.wa__who small { color: #6b7690; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wa__back { display: none; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; color: #153A75; flex: none; }
.wa__back svg { width: 22px; height: 22px; }
.wa__menu { position: relative; }
.wa__menu > summary { list-style: none; }
.wa__menu > summary::-webkit-details-marker { display: none; }
.wa__menubox { position: absolute; right: 0; top: 42px; z-index: 20; min-width: 190px; background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(21, 58, 117, .18); padding: 6px; display: grid; }
.wa__menubox a, .wa__menubox button { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 8px; color: #172033; text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; }
.wa__menubox a:hover, .wa__menubox button:hover { background: #f1f4f9; }
.wa__menubox form { margin: 0; }
.wa__notice { margin: 10px 14px 0; padding: 10px 14px; border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); font-size: .92rem; display: grid; gap: 8px; }
.wa__notice p { margin: 0; }
.wa__notice--warn { background: #FFF7ED; color: #7C2D12; }
.wa .wa__msgs { flex: 1; max-height: none; min-height: 0; border-radius: 0; background: transparent; padding: 12px 6% 16px; align-content: start; }
.wa__msgs .td-msg { box-shadow: 0 1px 1px rgba(0, 0, 0, .08); border-radius: 10px; max-width: min(78%, 560px); }
.wa__msgs .td-msg--me { background: #d9fdd3; color: #172033; }
.wa__msgs .td-msg--me a { color: #185ADB; }
.wa__msgs .td-msg__time { text-align: right; color: #6b7690; opacity: 1; font-size: .68rem; }
.td-msg__who { display: block; font-size: .78rem; color: #185ADB; margin-bottom: 2px; }
.wa__day { text-align: center; margin: 6px 0; }
.wa__day span { display: inline-block; padding: 4px 12px; border-radius: 8px; background: #fff; color: #5b6478; font-size: .75rem; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.wa__safe { justify-self: center; text-align: center; max-width: 520px; margin: 4px auto 8px; padding: 8px 12px; border-radius: 8px; background: #FFF7D6; color: #6b4e00; font-size: .78rem; }
.wa__safe svg { width: 13px; height: 13px; vertical-align: -2px; }
.wa__none { text-align: center; }
.wa__compose { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; background: #f6f8fc; border-top: 1px solid #e3e8f1; margin: 0; }
.wa__field { flex: 1; min-width: 0; background: #fff; border-radius: 22px; padding: 10px 14px; border: 1px solid #e3e8f1; display: grid; }
.wa__field textarea { border: 0; outline: none; resize: none; font: inherit; line-height: 1.4; max-height: 140px; background: none; padding: 0; min-height: 22px; }
.wa__picked { font-size: .78rem; color: #185ADB; }
.wa__picked:empty { display: none; }
.wa__send { width: 46px; height: 46px; border-radius: 50%; border: 0; background: #185ADB; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.wa__send svg { width: 20px; height: 20px; }
.wa__send:hover { background: #153A75; }
.wa__clip { flex: none; margin-bottom: 4px; }
.wa__welcome { margin: auto; text-align: center; max-width: 420px; padding: 24px; color: #3b4a63; display: grid; gap: 8px; justify-items: center; }
.wa__welcome > svg { width: 56px; height: 56px; color: #185ADB; opacity: .8; }
.wa__welcome h2 { margin: 4px 0 0; color: #153A75; font-size: 1.3rem; }
.wa__welcome p { margin: 0; }
.wa__formpane { flex: 1; overflow-y: auto; padding: 20px; background: #fff; }
.wa__formpane .form { max-width: 560px; }
.wa__help { margin-top: 16px; }
@media (max-width: 860px) {
  .wa { grid-template-columns: 1fr; height: calc(100dvh - 150px); min-height: 420px; border-radius: 12px; }
  .wa__pane { display: none; }
  .wa--open .wa__list { display: none; }
  .wa--open .wa__pane { display: flex; }
  .wa__back { display: inline-flex; }
  .wa .wa__msgs { padding: 10px 10px 14px; }
  .wa__msgs .td-msg { max-width: 86%; }
  .wa__list { border-right: 0; }
}

/* ---------- TrocaEstoque: cadastro com exemplo, selos de validade e venda só entre empresas */
.td-stk { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; max-width: 1080px; }
.td-stk__side { display: grid; gap: 14px; position: sticky; top: 16px; }
.td-stk__ex { background: #fff; border: 1px dashed #9db8ee; border-radius: 14px; padding: 16px; display: grid; gap: 8px; }
.td-stk__ex h3 { margin: 0; color: #153A75; font-size: 1.05rem; }
.td-stk__ex dl { margin: 0; display: grid; gap: 6px; }
.td-stk__ex dl div { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; border-bottom: 1px solid #f0f3f8; padding-bottom: 4px; }
.td-stk__ex dt { color: #6b7690; }
.td-stk__ex dd { margin: 0; font-weight: 600; text-align: right; }
.td-stk__ex p { margin: 0; font-size: .85rem; }
.td-stk__tag { display: inline-block; justify-self: start; margin: 0; padding: 2px 10px; border-radius: 999px; background: #e3ecfd; color: #185ADB; font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; }
.td-stk__due { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: #FFEDD5; color: #9A3412; font-size: .72rem; font-weight: 700; }
.td-stk__how { margin: 0; padding: 14px 14px 14px 34px; background: #fff; border: 1px solid #e3e8f1; border-radius: 14px; display: grid; gap: 8px; font-size: .9rem; }
.td-stk__tip { margin: 0; padding: 12px 14px; border-radius: 12px; background: #FFF7ED; color: #7C2D12; font-size: .88rem; }
.td-stk__tip svg { width: 16px; height: 16px; vertical-align: -3px; }
@media (max-width: 900px) { .td-stk { grid-template-columns: 1fr; } .td-stk__side { position: static; order: -1; } .td-stk__how, .td-stk__tip { display: none; } }
.td-b2b { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 10px 14px; border-radius: 12px; background: #EEF4FF; color: #153A75; font-size: .92rem; margin: 0 0 14px; }
.td-b2b svg { width: 18px; height: 18px; flex: none; }
.td-lotbadges { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 6px; }
.td-lotbadge { padding: 2px 10px; border-radius: 999px; background: #e3ecfd; color: #185ADB; font-size: .74rem; font-weight: 700; }
.td-lotbadge--due { background: #FFEDD5; color: #9A3412; }
.td-lotbadge--due.is-hot { background: #C2410C; color: #fff; }
.td-lotbadge--b2b { background: #153A75; color: #fff; }
.td-chips a.td-chip { padding: 8px 16px; border-radius: 999px; border: 1px solid #dfe5f0; background: #fff; color: #153A75; font-weight: 700; white-space: nowrap; text-decoration: none; }
.td-chips a.td-chip.is-on { background: #153A75; border-color: #153A75; color: #fff; }

/* ---------- TrocaSolidária: doação como anúncio próprio */
.td-dropfoto { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 22px; border: 2px dashed #9db8ee; border-radius: 14px; background: #f6f9ff; color: #185ADB; font-weight: 700; cursor: pointer; }
.td-dropfoto input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.td-dropfoto svg { width: 22px; height: 22px; }
.td-doa-list { display: grid; gap: 12px; }
.td-doa { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 12px; background: #fff; border: 1px solid #e3e8f1; border-radius: 14px; }
.td-doa > img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; background: #f1f4f9; }
.td-doa__body { display: grid; gap: 6px; align-content: start; }
.td-doa__body p { margin: 0; }
.td-doa__top { display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.td-doa__st { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; background: #e3ecfd; color: #185ADB; white-space: nowrap; }
.td-doa__st--reserved { background: #FFEDD5; color: #9A3412; }
.td-doa__st--collected { background: #DCFCE7; color: #166534; }
.td-doa__st--cancelled { background: #f1f4f9; color: #6b7690; }
.td-doa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.td-doa-card { display: grid; align-content: start; background: #fff; border: 1px solid #e3e8f1; border-radius: 14px; overflow: hidden; color: inherit; text-decoration: none; }
.td-doa-card:hover { box-shadow: 0 6px 18px rgba(21, 58, 117, .12); }
.td-doa-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #f1f4f9; }
.td-doa-card__b { display: grid; gap: 4px; padding: 10px 12px 12px; }
.td-doa-card__b small { color: #6b7690; }
.td-doa-card__b .td-doa__st { justify-self: start; }
.td-doa-fotos { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 12px; }
.td-doa-fotos img { height: 200px; border-radius: 12px; object-fit: cover; }
.wa__field textarea:focus, .wa__field textarea:focus-visible { outline: none; box-shadow: none; border: 0; }
.wa__field:focus-within { border-color: #185ADB; }

/* ---------- TrocaClub: exemplo em números (admin e pessoa) */
.td-club-ex { background: #fff; border: 1px solid #e3e8f1; border-radius: 16px; padding: 18px 20px; margin: 0 0 20px; display: grid; gap: 10px; }
.td-club-ex h2 { margin: 0; color: #153A75; font-size: 1.15rem; }
.td-club-ex__lead { margin: 0; color: #3b4a63; }
.td-club-ex__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.td-club-ex__steps li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 10px 14px; border-radius: 12px; background: #f6f8fc; }
.td-club-ex__steps strong { color: #185ADB; font-size: 1.1rem; text-align: right; }
.td-club-ex__steps small { grid-column: 1 / -1; color: #6b7690; }
.td-club-ex__total { background: #153A75 !important; color: #fff; }
.td-club-ex__total strong { color: #fff; }
.td-club-ex__total small { color: #c9d6f0; }
.td-club-ex__rw { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.td-club-ex__rw li { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid #e3e8f1; border-radius: 12px; }
.td-club-ex__rw li span { color: #185ADB; font-weight: 700; }
.td-club-ex__rw li small { color: #6b7690; }
.td-club-ex__rw li.is-ok { border-color: #86efac; background: #f0fdf4; }
.td-club-ex__rw li.is-ok small { color: #166534; font-weight: 600; }
.td-club-ex__note { margin: 0; padding: 10px 14px; border-radius: 12px; background: #EEF4FF; color: #153A75; font-size: .92rem; }

/* ---------- TrocaCoin: quadro "Aceite TD$" no anúncio (21/10/2026) */
.td-tdcbox { border: 2px solid #F97316; background: linear-gradient(135deg, #FFF7ED 0%, #fff 60%); border-radius: 16px; padding: 16px 18px; display: grid; gap: 10px; }
.td-tdcbox__head { display: flex; gap: 12px; align-items: center; }
.td-tdcbox__head strong { display: block; color: #153A75; font-size: 1.05rem; }
.td-tdcbox__head small { color: #9A3412; font-weight: 600; }
.td-tdcbox__coin { width: 46px; height: 46px; border-radius: 50%; background: #F97316; color: #172033; font-weight: 800; font-size: .82rem; display: inline-flex; align-items: center; justify-content: center; flex: none; box-shadow: inset 0 0 0 3px #FDBA74; }
.td-tdcbox__list { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: .92rem; color: #3b4a63; }
.td-tdcbox__list strong { color: #172033; }
.td-tdcbox__calc { margin: 0; padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px dashed #FDBA74; font-weight: 700; color: #153A75; }

/* ---------- Pague na entrega: selo, painel da empresa, planos, pedidos e vitrine */
.td-pne-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: #DCFCE7; color: #166534; font-weight: 800; font-size: .82rem; margin: 0; white-space: nowrap; }
.td-card__badge--pne { background: #16A34A !important; color: #fff !important; }
.td-pne { border: 1px solid #86EFAC; background: #F0FDF4; border-radius: 14px; margin: 10px 0; }
.td-pne > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; }
.td-pne > summary::-webkit-details-marker { display: none; }
.td-pne__badge { display: inline-flex; gap: 6px; align-items: center; padding: 5px 12px; border-radius: 999px; background: #16A34A; color: #fff; font-weight: 800; font-size: .9rem; }
.td-pne__more { color: #166534; font-weight: 700; font-size: .85rem; text-decoration: underline; }
.td-pne__body { padding: 0 14px 14px; display: grid; gap: 8px; }
.td-pne__body p { margin: 0; }
.td-pne__methods { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.td-pne__methods li { display: inline-flex; gap: 6px; align-items: center; padding: 4px 10px; border-radius: 8px; background: #fff; border: 1px solid #BBF7D0; font-weight: 600; font-size: .85rem; }
.td-pne__steps { margin: 0; padding-left: 18px; display: grid; gap: 2px; font-size: .88rem; color: #3b4a63; }
.td-pne-cta { background: #16A34A !important; border-color: #16A34A !important; color: #fff !important; margin-bottom: 10px; }
.td-pne-cta:hover { background: #15803D !important; }
.td-pne-hero { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 18px; padding: 20px; border-radius: 18px; background: linear-gradient(135deg, #F0FDF4, #fff); border: 1px solid #BBF7D0; margin: 0 0 8px; }
.td-pne-hero h2 { margin: 8px 0 6px; color: #153A75; }
.td-pne-hero p { margin: 0 0 8px; }
.td-pne-hero__steps { margin: 0; padding-left: 18px; color: #3b4a63; font-size: .92rem; }
.td-pne-hero__usage { display: grid; gap: 4px; align-content: center; justify-items: center; text-align: center; background: #fff; border-radius: 14px; border: 1px solid #e3e8f1; padding: 14px; }
.td-pne-hero__usage strong { font-size: 2.2rem; color: #166534; line-height: 1; }
.td-pne-hero__usage strong small { font-size: 1rem; color: #6b7690; }
@media (max-width: 760px) { .td-pne-hero { grid-template-columns: 1fr; } }
.td-pne-list { display: grid; gap: 10px; }
.td-pne-item { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 12px; padding: 12px; background: #fff; border: 1px solid #e3e8f1; border-radius: 14px; }
.td-pne-item.is-on { border-color: #86EFAC; }
.td-pne-item > img { width: 80px; height: 80px; border-radius: 10px; object-fit: cover; background: #f1f4f9; }
.td-pne-item__b { display: grid; gap: 6px; min-width: 0; }
.td-pne-item__b p { margin: 0; }
.td-pne-item__top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.td-pne-item details > summary { list-style: none; display: inline-flex; }
.td-pne-item details > summary::-webkit-details-marker { display: none; }
.td-pne-form { margin-top: 10px; padding: 12px; border-radius: 12px; background: #f6f8fc; }
.td-pne-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 14px 0; }
.td-pne-plan { position: relative; display: grid; gap: 8px; align-content: start; padding: 18px; background: #fff; border: 1px solid #e3e8f1; border-radius: 16px; }
.td-pne-plan h3 { margin: 0; color: #153A75; }
.td-pne-plan p { margin: 0; }
.td-pne-plan__price { font-size: 1.6rem; font-weight: 800; color: #172033; }
.td-pne-plan__price small { font-size: .9rem; color: #6b7690; font-weight: 600; }
.td-pne-plan__lim { font-weight: 700; color: #166534; }
.td-pne-plan.is-top { border: 2px solid #16A34A; }
.td-pne-plan.is-current { box-shadow: 0 0 0 3px #BBF7D0; }
.td-pne-plan__now { justify-self: start; padding: 2px 10px; border-radius: 999px; background: #DCFCE7; color: #166534; font-weight: 700; font-size: .78rem; }
.td-pne-orders { display: grid; gap: 12px; }
.td-pne-day { margin: 10px 0 0; color: #153A75; font-size: 1rem; }
.td-pne-order { background: #fff; border: 1px solid #e3e8f1; border-radius: 14px; padding: 14px; display: grid; gap: 10px; }
.td-pne-order header { display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.td-pne-order__dl { margin: 0; display: grid; gap: 6px; }
.td-pne-order__dl div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px; font-size: .92rem; }
.td-pne-order__dl dt { color: #6b7690; }
.td-pne-order__dl dd { margin: 0; }
@media (max-width: 560px) { .td-pne-order__dl div { grid-template-columns: 1fr; gap: 0; } }
.td-pne-order__acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.td-pne-act { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 0; }
.td-pne-act .input { max-width: 230px; min-height: 36px; padding: 6px 10px; }
.td-pne-order__code { margin: 0; font-size: .78rem; }
.td-pne-st--requested { background: #FFEDD5; color: #9A3412; }
.td-pne-st--confirmed, .td-pne-st--out { background: #e3ecfd; color: #185ADB; }
.td-pne-st--delivered { background: #DCFCE7; color: #166534; }
.td-pne-st--refused, .td-pne-st--cancelled, .td-pne-st--not_received { background: #f1f4f9; color: #6b7690; }
.td-pne-total { margin: 0; font-size: 1.05rem; }
.td-pne-total strong { font-size: 1.4rem; color: #166534; }
.td-pne-how { margin-top: 28px; }
.td-pne-how h2 { color: #153A75; }
.td-pne-how ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; counter-reset: pne; }
.td-pne-how li { counter-increment: pne; background: #fff; border: 1px solid #e3e8f1; border-radius: 14px; padding: 14px; display: grid; gap: 4px; }
.td-pne-how li::before { content: counter(pne); width: 28px; height: 28px; border-radius: 50%; background: #16A34A; color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.td-pne-how span { color: #5b6478; font-size: .9rem; }

/* ---------- TrocaCoin: visual financeiro (carteira e página pública), 21/10/2026 */
.tdc-coin { display: block; filter: drop-shadow(0 18px 30px rgba(249, 115, 22, .35)); }
@media (prefers-reduced-motion: no-preference) { .tdc-hero__coin .tdc-coin, .tdc-wallet__coin .tdc-coin { animation: tdc-float 5s ease-in-out infinite; } }
@keyframes tdc-float { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-10px) rotate(4deg); } }
.tdc-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(249, 178, 51, .16); color: #F9B233; font-size: .74rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; margin: 0; }
.tdc-pill--glow { box-shadow: 0 0 0 1px rgba(249, 178, 51, .45), 0 0 24px rgba(249, 178, 51, .25); }
.tdc-wallet { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 20px; padding: 26px 28px 18px; border-radius: 22px; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, rgba(249, 115, 22, .32) 0%, rgba(249, 115, 22, 0) 45%), radial-gradient(90% 120% at 0% 100%, rgba(24, 90, 219, .45) 0%, rgba(24, 90, 219, 0) 55%), linear-gradient(135deg, #0A1022 0%, #111B3A 55%, #0B132B 100%);
  box-shadow: 0 20px 50px rgba(10, 16, 34, .35); margin-bottom: 16px; }
.tdc-wallet::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 28px 28px; pointer-events: none; mask-image: linear-gradient(90deg, transparent, #000 60%); }
.tdc-wallet__main { position: relative; z-index: 1; display: grid; gap: 6px; align-content: start; }
.tdc-wallet__label { margin: 0; color: #9FB3D9; font-size: .85rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.tdc-wallet__bal { margin: 0; display: flex; align-items: baseline; gap: 10px; font-variant-numeric: tabular-nums; }
.tdc-wallet__bal span { font-size: clamp(2.4rem, 7vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; background: linear-gradient(180deg, #fff 0%, #FFE7A3 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tdc-wallet__bal small { font-size: 1.2rem; font-weight: 800; color: #F9B233; }
.tdc-wallet__ref { margin: 0; color: #C9D6F0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tdc-wallet__chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.tdc-wallet__chips span { display: grid; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); font-weight: 800; font-variant-numeric: tabular-nums; backdrop-filter: blur(6px); }
.tdc-wallet__chips small { color: #9FB3D9; font-weight: 600; font-size: .72rem; }
.tdc-wallet__coin { position: relative; z-index: 1; align-self: center; }
.tdc-ticker { position: relative; z-index: 1; grid-column: 1 / -1; display: flex; gap: 18px; flex-wrap: wrap; padding-top: 12px; margin-top: 6px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: #C9D6F0; font-variant-numeric: tabular-nums; }
.tdc-ticker b { color: #9FB3D9; font-weight: 700; margin-right: 4px; }
.tdc-ticker .is-up { color: #4ADE80; } .tdc-ticker .is-down { color: #F87171; }
@media (max-width: 640px) { .tdc-wallet { grid-template-columns: 1fr; padding: 22px 18px 16px; } .tdc-wallet__coin { position: absolute; right: -24px; top: -18px; opacity: .55; } .tdc-wallet__coin .tdc-coin { width: 120px; height: 120px; } }
.tdc-actions { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; }
.tdc-actions a { display: grid; justify-items: center; gap: 6px; padding: 12px 6px; border-radius: 16px; background: #fff; border: 1px solid #e3e8f1; color: #172033; text-decoration: none; font-weight: 700; font-size: .82rem; text-align: center; }
.tdc-actions a:hover { border-color: #F9B233; box-shadow: 0 6px 16px rgba(249, 115, 22, .15); }
.tdc-actions a span { width: 42px; height: 42px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #111B3A, #185ADB); color: #FFE7A3; }
.tdc-actions a span svg { width: 20px; height: 20px; }
@media (max-width: 760px) { .tdc-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tdc-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; margin-bottom: 16px; }
@media (max-width: 860px) { .tdc-grid { grid-template-columns: 1fr; } }
.tdc-card { background: #fff; border: 1px solid #e3e8f1; border-radius: 18px; padding: 16px 18px; display: grid; gap: 10px; margin-bottom: 16px; }
.tdc-grid .tdc-card { margin-bottom: 0; }
.tdc-card header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.tdc-card h2 { margin: 0; font-size: 1.05rem; color: #153A75; }
.tdc-spark { width: 100%; height: 110px; display: block; background: linear-gradient(180deg, #0B132B, #111B3A); border-radius: 12px; padding: 8px 0 0; }
.tdc-card--trust ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tdc-card--trust li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: #3b4a63; }
.tdc-card--trust svg { width: 20px; height: 20px; color: #F97316; flex: none; margin-top: 2px; }
.tdc-tx { list-style: none; margin: 0; padding: 0; display: grid; }
.tdc-tx li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eef1f6; }
.tdc-tx li:last-child { border-bottom: 0; }
.tdc-tx__ic { width: 38px; height: 38px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; flex: none; }
.tdc-tx__ic.is-in { background: #DCFCE7; color: #166534; } .tdc-tx__ic.is-out { background: #FEE2E2; color: #991B1B; }
.tdc-tx__t { flex: 1; min-width: 0; display: grid; }
.tdc-tx__t small { color: #6b7690; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tdc-tx__v { font-weight: 800; font-variant-numeric: tabular-nums; color: #172033; white-space: nowrap; }
.tdc-tx__v.is-in { color: #16A34A; }
.tdc-hero { color: #fff; padding: 56px 0 36px; background: radial-gradient(70% 90% at 85% 10%, rgba(249, 115, 22, .35), rgba(249, 115, 22, 0) 60%), radial-gradient(60% 80% at 0% 100%, rgba(24, 90, 219, .5), rgba(24, 90, 219, 0) 60%), linear-gradient(160deg, #070C1A 0%, #0F1A38 60%, #0A1022 100%); }
.tdc-hero__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px; align-items: center; }
.tdc-hero h1 { margin: 12px 0 10px; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1; letter-spacing: -.03em; color: #fff; }
.tdc-hero h1 span { background: linear-gradient(90deg, #FFE7A3, #F97316); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tdc-hero__lead { color: #C9D6F0; font-size: 1.12rem; max-width: 560px; margin: 0 0 18px; }
.tdc-hero__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.tdc-hero__coin { display: flex; justify-content: center; }
.tdc-btn { background: linear-gradient(135deg, #F9B233, #F97316) !important; border: 0 !important; color: #1A0F02 !important; font-weight: 800; box-shadow: 0 10px 30px rgba(249, 115, 22, .35); }
.tdc-btn-ghost { color: #fff !important; border-color: rgba(255, 255, 255, .35) !important; }
.tdc-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.tdc-stats div { display: grid; gap: 2px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(8px); }
.tdc-stats small { color: #9FB3D9; font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; }
.tdc-stats strong { font-size: 1.6rem; font-variant-numeric: tabular-nums; color: #FFE7A3; }
.tdc-stats span { color: #C9D6F0; font-size: .82rem; }
@media (max-width: 760px) { .tdc-hero__in { grid-template-columns: 1fr; } .tdc-hero__coin { order: -1; } .tdc-hero__coin .tdc-coin { width: 150px; height: 150px; } .tdc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tdc-h2 { color: #153A75; margin: 10px 0 14px; }
.tdc-steps { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.tdc-steps li { background: #fff; border: 1px solid #e3e8f1; border-radius: 16px; padding: 16px; display: grid; gap: 6px; }
.tdc-steps li > span { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, #111B3A, #185ADB); color: #FFE7A3; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.tdc-steps p { margin: 0; color: #5b6478; font-size: .92rem; }
.tdc-example { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 20px; border-radius: 18px; background: linear-gradient(135deg, #FFF7ED, #fff); border: 1px solid #FED7AA; margin-bottom: 24px; }
.tdc-example h3 { margin: 8px 0 6px; color: #153A75; } .tdc-example p { margin: 0; }
.tdc-example .tdc-pill { color: #C2410C; background: #FFEDD5; }
.tdc-flow { display: flex; align-items: center; gap: 10px; font-size: 2.4rem; }
.tdc-flow b { font-size: .95rem; color: #C2410C; white-space: nowrap; }
@media (max-width: 640px) { .tdc-example { grid-template-columns: 1fr; } }
.tdc-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 24px; }
.tdc-trust div { padding: 16px; border-radius: 16px; background: #0B132B; color: #C9D6F0; display: grid; gap: 6px; }
.tdc-trust svg { width: 24px; height: 24px; color: #F9B233; }
.tdc-trust strong { color: #fff; } .tdc-trust p { margin: 0; font-size: .9rem; }
.tdc-final { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid #e3e8f1; }
.tdc-final > div { flex: 1; min-width: 220px; } .tdc-final h3 { margin: 0 0 4px; color: #153A75; } .tdc-final p { margin: 0; color: #5b6478; }
.tdc-notice { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; margin-bottom: 14px; border-radius: 14px; background: #FFF7ED; border: 1px solid #FED7AA; color: #7C2D12; }
.tdc-notice > svg { width: 20px; height: 20px; flex: none; }
.tdc-notice span { flex: 1; min-width: 200px; }
/* ---------- Clube de Permuta Empresarial */
.tdc-hero--card { border-radius: 22px; padding: 28px; margin-bottom: 18px; }
.tdc-hero__list { margin: 0; padding-left: 18px; color: #C9D6F0; display: grid; gap: 4px; }
.td-pne-plan .h3 { font-size: 1.15rem; color: #153A75; }
.b2b-members { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.b2b-member { background: #fff; border: 1px solid #e3e8f1; border-radius: 16px; padding: 16px; display: grid; gap: 8px; align-content: start; }
.b2b-member.is-premium { border: 2px solid #F9B233; box-shadow: 0 8px 24px rgba(249, 178, 51, .18); }
.b2b-member header { display: flex; gap: 10px; align-items: center; }
.b2b-member header strong { display: block; color: #172033; }
.b2b-member header small { color: #C2410C; font-weight: 700; }
.b2b-member p { margin: 0; font-size: .92rem; color: #3b4a63; }
.b2b-member .button { justify-self: start; }

/* ---------- Cursos online (crs-*), 21/10/2026 */
.crs-hero { color: #fff; padding: 46px 0 34px; background: radial-gradient(60% 90% at 90% 0%, rgba(249, 115, 22, .3), rgba(249, 115, 22, 0) 60%), linear-gradient(160deg, #070C1A 0%, #10204A 70%, #0A1022 100%); }
.crs-hero h1 { color: #fff; margin: 10px 0 8px; font-size: clamp(1.8rem, 4.5vw, 2.8rem); line-height: 1.1; letter-spacing: -.02em; max-width: 820px; }
.crs-hero p { color: #C9D6F0; max-width: 680px; margin: 0 0 14px; }
.crs-search { display: flex; gap: 8px; align-items: center; max-width: 560px; padding: 6px 6px 6px 14px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
.crs-search svg { width: 18px; height: 18px; color: #9FB3D9; }
.crs-search input { flex: 1; min-width: 0; border: 0; background: none; color: #fff; font: inherit; outline: none; }
.crs-search input::placeholder { color: #9FB3D9; }
.crs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.crs-card { display: grid; background: #fff; border: 1px solid #e3e8f1; border-radius: 18px; overflow: hidden; color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.crs-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(21, 58, 117, .14); }
.crs-card__img { position: relative; display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #111B3A, #185ADB); overflow: hidden; }
.crs-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.crs-card__img em { position: absolute; left: 10px; top: 10px; font-style: normal; padding: 3px 10px; border-radius: 999px; background: rgba(10, 16, 34, .7); color: #FFE7A3; font-size: .74rem; font-weight: 700; }
.crs-card__ph { display: flex; height: 100%; align-items: center; justify-content: center; color: #FFE7A3; }
.crs-card__ph svg { width: 42px; height: 42px; }
.crs-card__b { display: grid; gap: 6px; padding: 14px 16px 16px; }
.crs-card__b strong { color: #172033; font-size: 1.05rem; line-height: 1.25; }
.crs-card__b small { color: #6b7690; }
.crs-card__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-weight: 800; color: #153A75; font-size: 1.15rem; }
.crs-card__price span { font-size: .76rem; font-weight: 700; color: #C2410C; background: #FFEDD5; padding: 2px 8px; border-radius: 999px; }
.crs-hero--course { padding-bottom: 46px; }
.crs-head { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.crs-crumb { margin: 0; font-size: .85rem; color: #9FB3D9; }
.crs-crumb a { color: inherit; }
.crs-meta { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: .92rem; }
.crs-meta svg { width: 16px; height: 16px; }
.crs-buy { background: #fff; color: #172033; border-radius: 18px; padding: 16px; display: grid; gap: 10px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); margin-bottom: -90px; position: relative; z-index: 2; }
.crs-buy img { width: 100%; border-radius: 12px; aspect-ratio: 16 / 9; object-fit: cover; }
.crs-buy__price { margin: 0; font-size: 2rem; font-weight: 800; color: #153A75; }
.crs-buy__tdc { margin: 0; font-size: .88rem; color: #9A3412; background: #FFF7ED; padding: 8px 10px; border-radius: 10px; }
.crs-buy__list { margin: 0; padding-left: 18px; color: #3b4a63; font-size: .9rem; }
.crs-body { max-width: 820px; margin-right: auto; }
.crs-body h2 { color: #153A75; }
.crs-desc p { color: #3b4a63; }
.crs-sec { background: #fff; border: 1px solid #e3e8f1; border-radius: 14px; margin-bottom: 10px; }
.crs-sec > summary { display: flex; justify-content: space-between; padding: 12px 16px; cursor: pointer; list-style: none; }
.crs-sec > summary span { color: #6b7690; font-size: .88rem; }
.crs-sec ol { margin: 0; padding: 0 16px 10px 16px; list-style: none; }
.crs-sec li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid #eef1f6; font-size: .92rem; }
.crs-sec li svg { width: 15px; height: 15px; vertical-align: -2px; color: #6b7690; }
@media (max-width: 860px) { .crs-head { grid-template-columns: 1fr; } .crs-buy { margin-bottom: 0; } }
.crs-mine { display: grid; gap: 12px; }
.crs-mine__item { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 14px; background: #fff; border: 1px solid #e3e8f1; border-radius: 16px; padding: 12px; }
.crs-mine__item .crs-card__img { border-radius: 10px; }
.crs-mine__item > div { display: grid; gap: 6px; align-content: start; }
.crs-mine__item small { color: #6b7690; }
@media (max-width: 560px) { .crs-mine__item { grid-template-columns: 1fr; } }
.crs-bar { height: 8px; border-radius: 999px; background: #e9eef7; overflow: hidden; }
.crs-bar span { display: block; height: 100%; background: linear-gradient(90deg, #F9B233, #F97316); border-radius: 999px; }
.crs-player { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.crs-player__main { display: grid; gap: 12px; }
.crs-player__main .crs-crumb { color: #6b7690; }
.crs-video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #0A1022; }
.crs-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.crs-video__none { display: flex; flex-direction: column; gap: 8px; height: 100%; align-items: center; justify-content: center; color: #FFE7A3; }
.crs-video__none svg { width: 40px; height: 40px; }
.crs-player__title { margin: 0; color: #153A75; font-size: 1.4rem; }
.crs-content { background: #fff; border: 1px solid #e3e8f1; border-radius: 14px; padding: 14px 16px; color: #3b4a63; }
.crs-player__side { background: #fff; border: 1px solid #e3e8f1; border-radius: 16px; padding: 14px; display: grid; gap: 10px; position: sticky; top: 16px; max-height: calc(100vh - 140px); overflow: auto; }
.crs-player__side header { display: grid; gap: 6px; }
.crs-player__side ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.crs-player__side li > a, .crs-player__side li > span { display: flex; gap: 10px; padding: 8px; border-radius: 10px; color: #172033; text-decoration: none; }
.crs-player__side li > a:hover { background: #f6f8fc; }
.crs-player__side li.is-on > a { background: #eaf1fe; }
.crs-player__side li > span { opacity: .55; }
.crs-player__side i { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: .78rem; font-weight: 800; background: #eef2f8; color: #153A75; flex: none; }
.crs-player__side li.is-done i { background: #16A34A; color: #fff; }
.crs-player__side li small { display: block; color: #6b7690; font-size: .76rem; }
@media (max-width: 900px) { .crs-player { grid-template-columns: 1fr; } .crs-player__side { position: static; max-height: none; } }
.crs-cert { max-width: 860px; margin: 0 auto; padding: 46px 40px; text-align: center; background: #fff; border: 10px double #F9B233; border-radius: 6px; display: grid; gap: 8px; }
.crs-cert h1 { margin: 8px 0; color: #153A75; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.crs-cert__kicker { margin: 0; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: #C2410C; }
.crs-cert__code { font-size: .82rem; color: #6b7690; }
.crs-cert__actions { text-align: center; }
@media print { .crs-cert__actions, .site-header, .site-footer, header, footer, nav { display: none !important; } .crs-cert { border-width: 8px; } }
.crs-adm-lessons { list-style: none; margin: 0; padding: 0; }
.crs-adm-lessons li { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 16px; border-top: 1px solid #eef1f6; }
.crs-adm-lessons small { display: block; color: #6b7690; }

.crs-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 16px; }
.crs-tabs a { padding: 9px 18px; border-radius: 999px; background: #fff; border: 1px solid #e3e8f1; color: #153A75; font-weight: 700; text-decoration: none; }
.crs-tabs a.is-on { background: #0F1A38; color: #FFE7A3; border-color: #0F1A38; }
.crs-pages { display: flex; gap: 14px; justify-content: center; align-items: center; margin-top: 22px; }
.crs-books { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 18px; }
.crs-book { display: grid; gap: 6px; color: inherit; text-decoration: none; align-content: start; }
.crs-book strong { color: #172033; line-height: 1.25; }
.crs-book small { color: #6b7690; }
.crs-book__cover { display: block; aspect-ratio: 2 / 3; border-radius: 6px 12px 12px 6px; overflow: hidden; background: linear-gradient(160deg, #153A75, #0A1022); box-shadow: 0 10px 24px rgba(10, 16, 34, .25), inset 6px 0 0 rgba(255, 255, 255, .12); transition: transform .15s; }
.crs-book:hover .crs-book__cover { transform: translateY(-3px) rotate(-1deg); }
.crs-book__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.crs-book__cover > span { display: flex; height: 100%; padding: 14px; align-items: flex-end; color: #FFE7A3; font-weight: 800; line-height: 1.2; }
.crs-book__cover--lg { width: 100%; max-width: 280px; }
.crs-ebook { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; }
.crs-ebook h1 { margin: 0; color: #153A75; }
.crs-ebook__sub { font-size: 1.1rem; color: #3b4a63; margin: 4px 0; }
.crs-ebook__b { display: grid; gap: 10px; }
.crs-ebook__buy { display: grid; gap: 10px; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid #e3e8f1; max-width: 520px; }
@media (max-width: 760px) { .crs-ebook { grid-template-columns: 1fr; } .crs-book__cover--lg { max-width: 200px; } }
.crs-room { position: relative; height: calc(100vh - 220px); min-height: 520px; border-radius: 16px; overflow: hidden; background: #0A1022; }
.crs-room iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.crs-reader { display: grid; gap: 10px; }
.crs-reader header { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.crs-reader header strong { flex: 1; min-width: 200px; color: #153A75; }
.crs-reader__frame { width: 100%; height: calc(100vh - 230px); min-height: 520px; border: 1px solid #e3e8f1; border-radius: 12px; background: #fff; }
/* ---------- Anúncios patrocinados */
.td-ad-wrap { margin-top: 14px; margin-bottom: 14px; }
.td-ad { position: relative; display: block; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, #153A75, #185ADB); color: #fff; text-decoration: none; min-height: 90px; box-shadow: 0 8px 22px rgba(21, 58, 117, .16); }
.td-ad img { display: block; width: 100%; aspect-ratio: 4 / 1; object-fit: cover; }
.td-ad__txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px; display: grid; gap: 2px; background: linear-gradient(0deg, rgba(10, 16, 34, .78), rgba(10, 16, 34, 0)); }
.td-ad:not(:has(img)) .td-ad__txt { position: static; background: none; padding: 18px; }
.td-ad__txt small { justify-self: start; padding: 1px 8px; border-radius: 999px; background: rgba(255, 255, 255, .22); font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.td-ad__txt strong { font-size: 1.1rem; }
.td-ad__txt span { font-size: .88rem; opacity: .9; }
@media (max-width: 600px) { .td-ad img { aspect-ratio: 3 / 1; } }
.td-ads-slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-bottom: 16px; }
.td-ads-slot { display: grid; gap: 4px; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid #e3e8f1; }
.td-ads-slot strong { color: #153A75; }
.td-ads-slot__price { font-size: 1.4rem; font-weight: 800; color: #172033; }
.td-ads-slot__price small { font-size: .8rem; color: #6b7690; }
.td-ads-slot small { color: #6b7690; }
.td-ads-slot .is-ok { color: #166534; font-weight: 700; } .td-ads-slot .is-full { color: #991B1B; font-weight: 700; }
.td-ads-list { display: grid; gap: 12px; }
.td-ads-item { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 14px; padding: 12px; background: #fff; border: 1px solid #e3e8f1; border-radius: 14px; }
.td-ads-item > img { width: 240px; aspect-ratio: 4 / 1; object-fit: cover; border-radius: 10px; }
.td-ads-item > div { display: grid; gap: 6px; align-content: start; }
.td-ads-item p { margin: 0; }
.td-ads-item__nums { display: flex; gap: 14px; flex-wrap: wrap; font-size: .88rem; color: #3b4a63; }
@media (max-width: 640px) { .td-ads-item { grid-template-columns: 1fr; } .td-ads-item > img { width: 100%; } }
.td-ads-st--active, .td-ads-st--scheduled { background: #DCFCE7; color: #166534; }
.td-ads-st--pending_review, .td-ads-st--approved { background: #FFEDD5; color: #9A3412; }
.td-ads-st--rejected, .td-ads-st--cancelled, .td-ads-st--expired, .td-ads-st--finished { background: #f1f4f9; color: #6b7690; }
.td-pne-code { margin: 0; padding: 8px 12px; border-radius: 10px; background: #FFF7ED; color: #7C2D12; flex-basis: 100%; }
.td-pne-code strong { font-size: 1.2rem; letter-spacing: .15em; }
.td-pne-courier { flex-basis: 100%; font-size: .9rem; color: #153A75; }
.td-rent-st--requested, .td-rent-st--approved, .td-rent-st--claim { background: #FFEDD5; color: #9A3412; }
.td-rent-st--paid, .td-rent-st--handed { background: #e3ecfd; color: #185ADB; }
.td-rent-st--returned, .td-rent-st--closed { background: #DCFCE7; color: #166534; }
.td-rent-st--declined, .td-rent-st--cancelled, .td-rent-st--expired { background: #f1f4f9; color: #6b7690; }

/* Carrinho de cursos e ebooks (venda direta) */
.crs-cart { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.crs-cart__items { display: grid; gap: 10px; }
.crs-cart__item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; background: #fff; border: 1px solid #E3E8F2; border-radius: 14px; padding: 10px 12px; }
.crs-cart__item.is-owned { opacity: .6; }
.crs-cart__item strong { display: block; } .crs-cart__item small { color: #6b7690; }
.crs-cart__img { width: 64px; height: 48px; border-radius: 10px; overflow: hidden; background: #e3ecfd; color: #185ADB; display: grid; place-items: center; }
.crs-cart__img img { width: 100%; height: 100%; object-fit: cover; }
.crs-cart__price { font-weight: 800; color: #153A75; white-space: nowrap; }
.crs-cart__pay { background: #fff; border: 1px solid #E3E8F2; border-radius: 16px; padding: 18px; position: sticky; top: 90px; display: grid; gap: 10px; }
.crs-cart__pay h2 { margin: 0; font-size: 1.1rem; }
.crs-cart__total { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font-size: 1.05rem; }
.crs-cart__total strong { font-size: 1.5rem; color: #153A75; }
.crs-cart-link { float: right; }
.crs-srv { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin: 0 0 18px; }
.crs-srv__card { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; text-decoration: none; color: #fff; background: linear-gradient(135deg, #153A75, #185ADB); }
.crs-srv__card small { display: block; color: #FDBA74; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; }
.crs-srv__card strong { display: block; font-size: 1.05rem; } .crs-srv__card em { font-style: normal; color: #C9D6F0; font-size: .9rem; }
.crs-srv__ic { width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,.14); display: grid; place-items: center; }
@media (max-width: 820px) { .crs-cart { grid-template-columns: 1fr; } .crs-cart__pay { position: static; } .crs-cart__item { grid-template-columns: 48px minmax(0, 1fr) auto; } .crs-cart__item form { grid-column: 3; } .crs-cart__img { width: 48px; height: 40px; } .crs-cart-link { float: none; margin-bottom: 8px; } }

/* Foto borrada para quem não entrou */
.td-lock { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(15, 25, 50, .72); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; pointer-events: none; z-index: 2; }
.td-lock svg { width: 14px; height: 14px; }
.td-lock--link { top: 40%; pointer-events: auto; font-size: 14px; padding: 10px 16px; max-width: 92%; white-space: normal; text-align: center; text-decoration: none; }

/* Vídeo do anúncio: tudo dentro da caixa da galeria */
.td-vid { position: relative; background: #0f1a2e; }
.td-gal__slide.td-vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #0f1a2e; cursor: pointer; }
.td-vid [hidden] { display: none !important; }
.td-vid__load { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #fff; text-align: center; padding: 16px; z-index: 2; }
.td-vid__spin { width: 44px; height: 44px; border: 4px solid rgba(255, 255, 255, .25); border-top-color: #ff7a1a; border-radius: 50%; animation: tdVidSpin .9s linear infinite; }
@keyframes tdVidSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .td-vid__spin { animation-duration: 3s; } }
.td-vid__big { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border: 0; border-radius: 50%; background: rgba(255, 122, 26, .95); color: #fff; font-size: 26px; cursor: pointer; z-index: 2; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.td-vid__bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .8) 45%); color: #fff; font-size: 13px; z-index: 3; touch-action: none; }
.td-vid__bar button { flex: none; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #fff; font-size: 15px; cursor: pointer; }
.td-vid__bar button:hover, .td-vid__bar select:hover { background: rgba(255, 255, 255, .18); }
.td-vid__bar span { flex: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.td-vid__bar input[type=range] { flex: 1; min-width: 40px; width: auto; height: 20px; margin: 0; padding: 0; border: 0; background: transparent; accent-color: #ff7a1a; cursor: pointer; box-shadow: none; }
.td-vid__bar select { flex: none; width: auto; height: 32px; padding: 0 4px; border: 0; border-radius: 8px; background: transparent; color: #fff; font-size: 13px; cursor: pointer; box-shadow: none; }
.td-vid__bar select option { color: #172033; }
.td-vid:fullscreen { aspect-ratio: auto; }
@media (max-width: 480px) { .td-vid__bar { gap: 4px; padding: 6px; font-size: 12px; } .td-vid__bar button { width: 28px; } }
