:root {
  --rk-bg: #ffffff;
  --rk-surface: #f4f4f2;
  --rk-surface-hover: #eaeae7;
  --rk-ink: #111111;
  --rk-muted: #59595e;
  --rk-hairline: #eaeae7;
  --rk-sep: #d0d0cd;
  --caixa-blue: #0000a7;
  --caixa-accent: #006da9;
  --caixa-accent-hover: #005b94;
  --caixa-tint: #e9f3fa;
  --caixa-border: #87b1cc;
  --rk-fin: #005b94;
  --rk-warn-bg: #fdf5e6;
  --rk-warn-ink: #7a4b00;
  --gut: clamp(16px, 3vw, 36px);
  --rk-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --z-controls: 15;
  --z-nav: 25;
  --z-scrim: 35;
  --z-sheet: 45;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  background: #000000;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: #000000;
  color: var(--rk-ink);
  font-family: 'Albert Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
  max-width: 100%;
}

body.sheet-open {
  overflow: hidden;
  touch-action: none;
}

.app-canvas {
  min-height: 100svh;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  background: var(--rk-bg);
  transform-origin: 50% 0%;
  will-change: transform, border-radius;
}

/* ─── Barra superior (sobre capa CAIXA azul → vira vidro claro ao rolar) ─── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding-top: env(safe-area-inset-top, 0px);
  color: #ffffff;
  background: transparent;
  transition: background-color 220ms ease, color 220ms ease;
}

.site-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  color: var(--rk-ink);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.site-nav__inner {
  max-width: 1440px;
  margin: 0 auto;
  height: 56px;
  padding: 0 var(--gut);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-nav__brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 28px;
}

.site-nav__brand img {
  height: 18px;
  width: auto;
  display: block;
  transition: opacity 200ms ease;
}

.site-nav__brand .logo-dark {
  position: absolute;
  left: 0;
  opacity: 0;
}

.site-nav.is-scrolled .logo-white { opacity: 0; }
.site-nav.is-scrolled .logo-dark { opacity: 1; }

.site-nav__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-nav__meta {
  display: none;
  font-size: 13px;
  font-weight: 400;
  opacity: 0.85;
  white-space: nowrap;
}

.site-nav__cta {
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  text-decoration: none;
  font: 500 13px/1 inherit;
  display: inline-flex;
  align-items: center;
  transition: background-color 180ms ease, color 180ms ease, transform 100ms var(--rk-ease);
}

.site-nav__cta:active { transform: scale(0.96); }

.site-nav.is-scrolled .site-nav__cta {
  background: var(--caixa-accent);
  color: #ffffff;
}

/* ─── Capa CAIXA oficial da RISKE (vendedor.css + Grainient WebGL2) ─── */
.vendedor-capa {
  --capa-h: 300px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: var(--capa-h);
  color: #ffffff;
  background: radial-gradient(110% 90% at 85% 95%, #f97315 0%, #0000ef 36%, #0000a7 74%, #00005c 100%);
  transition: height 360ms var(--rk-ease);
}

.vendedor-capa.vendedor-capa--resumo {
  height: auto;
  min-height: 490px;
}

.grainient-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.vendedor-capa__conteudo {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: calc(64px + env(safe-area-inset-top, 0px)) var(--gut) 66px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.vendedor-capa__marca {
  text-align: center;
  width: min(210px, 56vw);
}

.vendedor-capa__logo {
  display: block;
  width: 100%;
  height: auto;
}

.vendedor-capa__total {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 0;
  font: 300 14.5px/1.3 'Albert Sans', sans-serif;
  color: rgba(255, 255, 255, 0.94);
  white-space: nowrap;
}

.vendedor-capa__total strong {
  font-weight: 500;
}

.vendedor-capa__ao-vivo {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.24);
  animation: riske-pulse 1.5s ease-in-out infinite alternate;
}

@keyframes riske-pulse {
  from { opacity: 0.65; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1.06); }
}

/* Botão / painel de vidro "Resumo sobre leilões CAIXA" (exatamente vendedor.css) */
.vendedor-resumo {
  width: 100%;
  max-width: 340px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 8px 28px rgba(0, 0, 40, 0.08);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  overflow: hidden;
  transition: max-width 320ms var(--rk-ease), background-color 200ms ease;
}

.vendedor-resumo__botao {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border: 0;
  background: none;
  color: #ffffff;
  font: 500 14.5px/1.2 'Albert Sans', sans-serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.vendedor-resumo__botao:active { opacity: 0.78; }
.vendedor-resumo__botao .ic-close { display: none; }

.vendedor-capa--resumo .vendedor-resumo {
  max-width: 100%;
  background: rgba(8, 12, 48, 0.36);
}

.vendedor-capa--resumo .vendedor-resumo__botao .ic-help { display: none; }
.vendedor-capa--resumo .vendedor-resumo__botao .ic-close { display: block; }

.vendedor-resumo__pontos {
  display: none;
  padding: 4px 16px 18px;
  gap: 14px;
}

.vendedor-capa--resumo .vendedor-resumo__pontos {
  display: grid;
}

.vendedor-resumo__pontos h2 {
  margin: 0;
  color: #ffffff;
  font: 600 15px/1.3 'Albert Sans', sans-serif;
  letter-spacing: -0.015em;
}

.vendedor-resumo__pontos p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font: 400 13.5px/1.4 'Albert Sans', sans-serif;
}

/* ─── Aba branca encaixada na base da capa (padrão RISKE mu-abas / dec-aba) ─── */
.mu-abas {
  position: relative;
  z-index: 5;
  max-width: 1440px;
  height: 44px;
  margin: -44px auto 0;
  padding: 0 var(--gut);
  display: flex;
  align-items: flex-end;
}

.dec-aba {
  position: relative;
  height: 44px;
  padding: 0 28px;
  border-radius: 10px 10px 0 0;
  background: #ffffff;
  color: var(--rk-ink);
  font: 500 14.5px/1 'Albert Sans', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dec-aba::before, .dec-aba::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 10px;
  height: 10px;
}

.dec-aba::before {
  left: -10px;
  background: radial-gradient(circle at 0 0, transparent 9.5px, #ffffff 10px);
}

.dec-aba::after {
  right: -10px;
  background: radial-gradient(circle at 100% 0, transparent 9.5px, #ffffff 10px);
}

/* ─── Catálogo CAIXA (filtros-caixa.css + vendedor.css) ─── */
.catalogo {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gut) 40px;
  background: #ffffff;
}

.catalogo-tools {
  position: sticky;
  top: calc(56px + env(safe-area-inset-top, 0px));
  z-index: var(--z-controls);
  margin: 0 calc(-1 * var(--gut));
  padding: 14px var(--gut) 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.catalogo-tools::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.search-field {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

.search-field svg {
  position: absolute;
  left: 12px;
  color: var(--rk-muted);
  pointer-events: none;
}

.search-field input {
  width: 100%;
  height: 42px;
  padding: 0 14px 0 36px;
  border: 0;
  border-radius: 8px;
  background: var(--rk-surface);
  color: var(--rk-ink);
  font: 400 14.5px/1.2 inherit;
  outline: none;
  transition: background-color 140ms ease;
}

.search-field input::placeholder { color: var(--rk-muted); }
.search-field input:focus { background: var(--rk-surface-hover); }

.sort-btn {
  height: 42px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  background: var(--rk-surface);
  color: var(--rk-ink);
  font: 500 13px/1 inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 140ms ease, transform 100ms var(--rk-ease);
}

.sort-btn:hover { background: var(--rk-surface-hover); }
.sort-btn:active { transform: scale(0.96); }

/* Chips de filtro na linguagem azul CAIXA (filtros-caixa.css) */
.fl-strip {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 10px 0 2px;
  scrollbar-width: none;
}

.fl-strip::-webkit-scrollbar { display: none; }

.fl-chip {
  flex: none;
  height: 36px;
  padding: 0 13px;
  border: 1px solid #dce2e5;
  border-radius: 6px;
  background: #ffffff;
  color: #4e5c65;
  font: 500 13px/1 'Albert Sans', sans-serif;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 100ms var(--rk-ease);
}

.fl-chip:hover {
  border-color: #93b3c9;
  background: #f8fbfd;
}

.fl-chip:active { transform: scale(0.96); }

.fl-chip[aria-pressed="true"] {
  background: var(--caixa-tint);
  border-color: var(--caixa-border);
  color: var(--caixa-accent-hover);
}

.result-bar {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--rk-muted);
}

.clear-btn {
  border: 0;
  background: transparent;
  color: var(--caixa-accent);
  font: 500 13px/1 inherit;
  padding: 4px 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── Grade de imóveis (vendedor.css: 4:3, border-radius 6px, 1 col mobile → 5 col desktop) ─── */
.riske-grid {
  padding-top: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.riske-lot {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  color: inherit;
  cursor: pointer;
  transition: transform 120ms var(--rk-ease);
}

.riske-lot:active { transform: scale(0.985); }

.riske-lot__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  background: var(--rk-surface);
}

.riske-lot__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 320ms var(--rk-ease);
}

@media (hover: hover) {
  .riske-lot:hover .riske-lot__photo img { transform: scale(1.025); }
}

.lot-photo-empty {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: var(--rk-muted);
}

.riske-lot__head {
  margin-top: 10px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.riske-lot__title {
  font-size: 15.5px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--rk-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.riske-lot__kind {
  font-size: 12.5px;
  color: var(--rk-muted);
  white-space: nowrap;
  flex: none;
}

.riske-lot__price-row {
  margin-top: 4px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.riske-lot__price-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.riske-lot__price {
  font-size: 17px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--rk-ink);
}

.riske-lot__pct {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--rk-muted);
}

.riske-lot__right {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--rk-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.riske-lot__right.is-fin { color: var(--rk-fin); }

.fin-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--caixa-accent);
}

.skel {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  background: var(--rk-surface);
}

.sentinel { height: 24px; }

.empty {
  grid-column: 1 / -1;
  padding: 48px 16px;
  text-align: center;
  font-size: 15px;
  color: var(--rk-muted);
}

/* ─── Rodapé enxuto 3 Torres ─── */
.footer-block {
  border-top: 1px solid var(--rk-hairline);
  background: #ffffff;
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px var(--gut) calc(40px + env(safe-area-inset-bottom, 0px));
  display: grid;
  gap: 28px;
}

.footer-block h2 {
  margin: 0 0 14px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.quick-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
  font-size: 14px;
  line-height: 1.38;
  color: #3a3a3c;
}

.quick-steps li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
}

.quick-steps span { color: var(--rk-muted); font-weight: 500; }
.quick-steps strong { color: var(--rk-ink); font-weight: 500; }

.footer-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-cta {
  flex: 1 1 210px;
  height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--caixa-accent);
  color: #ffffff;
  text-decoration: none;
  font: 500 14.5px/1 inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 140ms ease, transform 100ms var(--rk-ease);
}

.footer-cta:hover { background: var(--caixa-accent-hover); }
.footer-cta:active { transform: scale(0.98); }

.footer-sec {
  flex: 0 1 auto;
  height: 46px;
  padding: 0 16px;
  border-radius: 6px;
  background: var(--rk-surface);
  color: var(--rk-ink);
  text-decoration: none;
  font: 500 14px/1 inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.auctioneer {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: start;
}

.auctioneer img {
  width: 64px;
  height: 80px;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 6px;
  display: block;
}

.auctioneer b { display: block; font-size: 15px; font-weight: 500; }
.auctioneer small { display: block; margin-top: 3px; font-size: 13px; color: var(--rk-muted); }

.trust-links {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
}

.trust-links a {
  color: var(--caixa-accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── Apple Fluid Sheet do imóvel (lote-celular.css lineage) ─── */
.scrim {
  position: fixed;
  inset: 0;
  z-index: var(--z-scrim);
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}

.sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 92dvh;
  max-height: 92dvh;
  z-index: var(--z-sheet);
  background: #ffffff;
  border-radius: 16px 16px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translate3d(0, 105%, 0);
  will-change: transform;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.22);
  touch-action: none;
}

.sheet-grab {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  padding: 10px 16px 18px;
  display: flex;
  justify-content: center;
  cursor: grab;
}

.sheet-grab:active { cursor: grabbing; }

.grab-bar {
  width: 38px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 6;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.56);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  font-size: 16px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 100ms var(--rk-ease);
}

.close-btn:active { transform: scale(0.92); }

.sheet-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  touch-action: pan-y;
}

.sheet-hero {
  width: 100%;
  aspect-ratio: 4 / 3;
  position: relative;
  background: var(--rk-surface);
}

.sheet-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sheet-hero::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 60px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.sheet-content { padding: 18px 18px 12px; }

.sheet-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.sheet-addr {
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--rk-muted);
}

.sheet-price {
  margin-top: 15px;
  padding: 13px 0;
  border-top: 1px solid var(--rk-hairline);
  border-bottom: 1px solid var(--rk-hairline);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto minmax(0, 1fr);
  align-items: center;
  column-gap: 8px;
}

.sheet-price::before, .sheet-price::after {
  content: "";
  width: 1px;
  height: 20px;
  background: var(--rk-sep);
}

.sheet-price::before { order: 2; }
.sheet-price::after { order: 4; }
.sp-l { order: 1; min-width: 0; }
.sp-c { order: 3; text-align: center; min-width: 0; }
.sp-r { order: 5; text-align: right; min-width: 0; }
.sp-lbl { display: block; font-size: 11px; color: var(--rk-muted); }
.sp-eval { display: block; font-size: 13px; color: var(--rk-ink); margin-top: 2px; white-space: nowrap; }
.sp-main { display: block; font-size: clamp(19px, 5.4vw, 24px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.1; white-space: nowrap; }
.sp-disc { display: block; font-size: 16px; font-weight: 300; color: var(--rk-muted); white-space: nowrap; }

.fact-line {
  margin: 14px 0 0;
  font-size: 13.5px;
  line-height: 1.52;
  color: #3a3a3c;
  overflow-wrap: anywhere;
}

.fact-line strong { color: var(--rk-ink); font-weight: 500; }
.fact-line .fin-ok { color: var(--rk-fin); font-weight: 500; }

.sheet-alert {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  background: var(--rk-warn-bg);
  color: var(--rk-warn-ink);
  font-size: 13px;
  line-height: 1.4;
}

.sheet-docs {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.doc-link {
  height: 36px;
  padding: 0 12px;
  border-radius: 6px;
  background: var(--rk-surface);
  color: var(--rk-ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.doc-link:hover { background: var(--rk-surface-hover); }

.sheet-acc {
  margin-top: 14px;
  background: var(--rk-surface);
  border-radius: 6px;
  padding: 12px 14px;
}

.sheet-acc summary {
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
}

.sheet-acc .acc-body {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--rk-hairline);
  font-size: 13.5px;
  line-height: 1.48;
  color: #3a3a3c;
}

.sheet-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8;
  padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.cta-main {
  height: 50px;
  border-radius: 6px;
  background: var(--caixa-accent);
  color: #ffffff;
  text-decoration: none;
  font: 500 15px/1 inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 140ms ease, transform 100ms var(--rk-ease);
}

.cta-main:hover { background: var(--caixa-accent-hover); }
.cta-main:active { transform: scale(0.975); }

.cta-sec {
  height: 50px;
  padding: 0 16px;
  border-radius: 6px;
  background: var(--rk-surface);
  color: var(--rk-ink);
  text-decoration: none;
  font: 500 14px/1 inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 100ms var(--rk-ease), background-color 140ms ease;
}

.cta-sec:hover { background: var(--rk-surface-hover); }
.cta-sec:active { transform: scale(0.96); }

a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--caixa-accent);
  outline-offset: 2px;
}

/* ─── Desktop (replica fielmente vendedor.css: capa alta, resumo flutuante, grade 4-5 colunas) ─── */
@media (min-width: 761px) {
  .site-nav__meta { display: inline; }

  .vendedor-capa {
    --capa-h: clamp(460px, 64svh, 680px);
    height: var(--capa-h);
  }
  .vendedor-capa.vendedor-capa--resumo {
    height: calc(var(--capa-h) + 140px);
    min-height: 0;
  }
  .vendedor-capa__conteudo {
    display: block;
    padding: 0;
  }
  .vendedor-capa__marca {
    position: absolute;
    top: calc(var(--capa-h) / 2 - 10px);
    left: 50%;
    width: clamp(240px, 28vw, 400px);
    transform: translate(-50%, -50%);
  }
  .vendedor-capa__total {
    margin-top: 22px;
    font-size: 17px;
  }

  .vendedor-resumo {
    position: absolute;
    left: calc(var(--gut) + 150px);
    bottom: 14px;
    width: 310px;
    max-width: none;
    height: 58px;
    transition: left 360ms var(--rk-ease), bottom 360ms var(--rk-ease), width 360ms var(--rk-ease), height 360ms var(--rk-ease);
  }
  .vendedor-resumo__botao {
    height: 58px;
    padding: 0 20px;
    font-size: 16px;
    font-weight: 600;
  }
  .vendedor-capa--resumo .vendedor-resumo {
    left: var(--gut);
    bottom: 72px;
    width: calc(100% - var(--gut) * 2);
    height: 230px;
  }
  .vendedor-capa--resumo .vendedor-resumo__botao {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .vendedor-capa--resumo .vendedor-resumo__botao span { display: none; }
  .vendedor-capa--resumo .vendedor-resumo__pontos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 44px;
    align-content: center;
    height: 100%;
    padding: 36px 44px;
  }
  .vendedor-resumo__pontos > div { position: relative; }
  .vendedor-resumo__pontos > div + div::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -22px;
    width: 1px;
    background: rgba(255, 255, 255, 0.24);
  }
  .vendedor-resumo__pontos h2 { font-size: 18px; }
  .vendedor-resumo__pontos p { font-size: 15px; margin-top: 8px; }

  .riske-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 20px;
  }
  .riske-lot__title { font-size: 15px; }
  .riske-lot__price { font-size: 15px; }

  .footer-inner {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
    gap: 40px;
  }

  .sheet {
    width: 520px;
    left: 50%;
    right: auto;
    margin-left: -260px;
    height: min(88dvh, 780px);
    max-height: 88dvh;
  }
}

@media (min-width: 1040px) {
  .riske-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .riske-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .vendedor-capa__ao-vivo { animation: none; }
  .vendedor-capa, .vendedor-resumo, .app-canvas, .sheet, .scrim { transition: opacity 180ms ease !important; }
  .riske-lot:hover .riske-lot__photo img { transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-nav.is-scrolled, .catalogo-tools, .sheet-bar {
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
