/* 29º Leilão VPJ Genética — one page */
*, *::before, *::after { box-sizing: border-box; }
/* precisa vencer os display: das classes (.button, grids) que usam [hidden] */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
/* Toda a serifa de display em caixa alta */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0; text-transform: uppercase; }
.countdown-date, .footer-brand p { text-transform: uppercase; letter-spacing: .08em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 2px; }

h2 { font-size: clamp(1.7rem, 3.1vw, 2.5rem); font-weight: 600; letter-spacing: .03em; }
h2 em, .signup-copy em {
  font-style: italic; font-weight: 500;
}

.eyebrow {
  font-family: var(--font-label);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--gold);
}

.section-head { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x) 2.75rem; }
.section-head p:not(.eyebrow) { max-width: 52ch; margin-top: .75rem; color: var(--ink-soft); }
.section-head .eyebrow { margin-bottom: .6rem; }

/* ---------- Botões ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-label); font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .13em; text-decoration: none;
  border-radius: var(--radius-pill); padding: .85em 2.1em; border: 2px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.button:active { transform: translateY(1px); }
.button-solid { background: var(--wine); color: var(--cream); }
.button-solid:hover { background: var(--wine-deep); }
.button-outline { background: transparent; color: inherit; border-color: currentColor; }
.button-outline:hover { background: var(--wine); border-color: var(--wine); color: var(--cream); }

/* ---------- Utilitários ---------- */
.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;
}
[id] { scroll-margin-top: calc(var(--topbar-h) + .5rem); }

/* ---------- Topbar: pílula flutuante, sem logo (a marca vive na arte do hero).
   Fica em fluxo acima do hero — nunca cobre os escritos do banner ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  height: var(--topbar-h);
  display: flex; align-items: center; justify-content: center;
  padding: 0 var(--pad-x); pointer-events: none;
}
.topbar-inner {
  pointer-events: auto;
  display: flex; align-items: center; gap: 1.4rem;
  max-width: 100%; padding: .45rem .55rem;
  background: rgba(243, 237, 223, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  box-shadow: 0 12px 30px -18px rgba(27, 23, 19, .35);
  transition: box-shadow var(--t-base), background var(--t-base);
}
.topbar.is-scrolled .topbar-inner {
  background: rgba(243, 237, 223, .97);
  box-shadow: 0 1px 0 var(--line), 0 16px 36px -16px rgba(27, 23, 19, .4);
}
.topbar-nav { display: flex; gap: 1.6rem; margin-left: 1.3rem; }
.topbar-nav a {
  font-family: var(--font-label); font-size: .78rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .12em; text-decoration: none;
  color: var(--ink); opacity: .85; transition: opacity var(--t-fast);
}
.topbar-nav a:hover { opacity: 1; }
.topbar-ctas { display: flex; gap: .5rem; }
.topbar-cta { padding: .7em 1.5em; font-size: .72rem; }
@media (max-width: 940px) {
  .topbar-nav { display: none; }
}
@media (max-width: 620px) {
  .topbar-cta-whats { display: none; } /* o FAB do WhatsApp já cobre o celular */
  .topbar-inner { padding: .35rem .45rem; }
}

/* ---------- Hero: o banner-vídeo inteiro, sem corte ----------
   Altura = 16:9 da largura, limitada ao que sobra da tela. Quando a proporção
   da janela não bate, as sobras mostram o próprio poster desfocado (nada de
   tarja preta). Cortina: o hero fica preso ao fundo e as seções deslizam por cima */
.hero {
  position: sticky; top: var(--topbar-h); z-index: 0; overflow: hidden;
  height: min(calc(100svh - var(--topbar-h)), 56.25vw);
  background: #171310;
}
.hero::after { /* grão sutil, só no hero */
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-bg {
  position: absolute; inset: 0; z-index: 1; overflow: hidden;
  background: url("/assets/img/hero-fwd-poster.jpg") center / cover no-repeat #171310;
}
.hero-bg::before { /* sobras viram continuação desfocada da cena */
  content: ""; position: absolute; inset: 0;
  backdrop-filter: blur(26px) saturate(1.08);
  -webkit-backdrop-filter: blur(26px) saturate(1.08);
  background: rgba(23, 19, 16, .1);
}
.hero-bg video {
  position: relative; width: 100%; height: 100%;
  object-fit: contain;
}
/* Tudo depois do hero desliza por cima dele; fundos precisam ser opacos */
main > *:not(.hero), footer { position: relative; z-index: 1; }
.categories, .steps, .partners { background: var(--cream); }
/* Celular: um pouco mais alto que 16:9 — o vídeo inteiro centrado
   e as faixas desfocadas em cima/embaixo */
@media (max-width: 700px) {
  .hero { height: min(calc(100svh - var(--topbar-h)), 76vw); }
}

/* ---------- Countdown ---------- */
.countdown {
  background: var(--wine); color: var(--cream);
  padding: 1.6rem var(--pad-x) 1.8rem; text-align: center;
}
.countdown-label { font-family: var(--font-label); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .24em; color: #D9BC8F; }
.countdown-blocks { display: flex; justify-content: center; gap: clamp(1.2rem, 5vw, 3rem); margin-top: .55rem; }
.cd-block strong { display: block; font-family: var(--font-display); font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; }
.cd-block span { font-family: var(--font-label); font-size: .68rem; text-transform: uppercase; letter-spacing: .18em; color: #D9BC8F; }
.countdown-date { margin-top: .7rem; font-family: var(--font-display); font-style: italic; font-size: 1rem; color: #EBD9BC; }

/* ---------- A VPJ Pecuária ---------- */
.categories { padding: var(--pad-section) 0; }
.vpj-video { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x); }
.vpj-video-btn, .vpj-video-embed {
  position: relative; display: block; width: 100%;
  aspect-ratio: 16 / 9; overflow: hidden;
  border: 0; padding: 0; margin: 0;
  border-radius: 12px; background: var(--ink);
  box-shadow: 0 24px 60px -28px rgba(27, 23, 19, .45);
}
.vpj-video-btn { cursor: pointer; }
.vpj-video-btn img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 900ms var(--ease-out);
}
.vpj-video-btn:hover img { transform: scale(1.035); }
.vpj-video-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(15,11,8,.18) 0%, transparent 45%, rgba(15,11,8,.55) 100%);
}
.vpj-video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: clamp(64px, 6vw, 88px); aspect-ratio: 1; border-radius: 50%;
  background: rgba(107, 33, 25, .94); border: 1px solid rgba(243, 237, 223, .35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .5);
  transition: transform var(--t-base), background var(--t-base);
}
.vpj-video-play::after {
  content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%);
  border-style: solid; border-width: 12px 0 12px 21px;
  border-color: transparent transparent transparent var(--cream);
}
/* Anel pulsante contínuo — chama atenção pro play */
.vpj-video-play::before {
  content: ""; position: absolute; inset: -7px; border-radius: 50%; pointer-events: none;
  border: 2px solid rgba(169, 136, 91, .6);
  animation: vpjPulse 2.6s var(--ease-out) infinite;
}
@keyframes vpjPulse {
  0%   { transform: scale(.9); opacity: .85; }
  70%  { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}
.vpj-video-btn:hover .vpj-video-play { transform: translate(-50%, -50%) scale(1.09); background: var(--wine); }
.vpj-video-btn:active .vpj-video-play { transform: translate(-50%, -50%) scale(.98); }
@media (prefers-reduced-motion: reduce) { .vpj-video-play::before { animation: none; } }
.vpj-video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Lotes ---------- */
.lots { background: var(--cream-deep); padding: var(--pad-section) 0; }
.lots-tabs { max-width: var(--container); margin: 0 auto 1.8rem; padding: 0 var(--pad-x); display: flex; gap: 1.6rem; border-bottom: 1px solid var(--line); }
.lots-tab {
  appearance: none; background: none; border: 0; cursor: pointer;
  font-family: var(--font-label); font-size: .85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft);
  padding: .4rem .1rem .8rem; border-bottom: 3px solid transparent; margin-bottom: -1px;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.lots-tab.is-active { color: var(--wine); border-color: var(--wine); }
.lots-grid {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
}
.lots-more { display: flex; justify-content: center; margin-top: 2.2rem; }
.lot-card {
  background: var(--card); border-radius: var(--radius-card); overflow: hidden;
  box-shadow: 0 1px 0 var(--line), 0 14px 30px -18px rgba(60, 40, 20, .35);
  display: flex; flex-direction: column;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.lot-card:hover { transform: translateY(-3px); box-shadow: 0 1px 0 var(--line), 0 22px 40px -18px rgba(60, 40, 20, .45); }
.lot-photo { aspect-ratio: 16 / 9; overflow: hidden; background: #D8CCB4; } /* nativo das fotos: não corta */
.lot-photo img { width: 100%; height: 100%; object-fit: cover; }
.lot-body { padding: 1.05rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.lot-name { font-size: 1.02rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.lot-meta { font-size: .74rem; color: var(--ink-soft); }
.lot-pedigree { font-size: .78rem; font-weight: 600; color: var(--ink); line-height: 1.45; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lot-pedigree small { display: block; font-family: var(--font-label); font-weight: 500; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .1rem; }
.lot-indices { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; border-top: 1px solid var(--line); padding-top: .65rem; margin-top: .1rem; }
.lot-ind { text-align: left; }
.lot-ind b { display: block; font-family: var(--font-display); font-size: .92rem; font-weight: 600; }
.lot-ind span { font-family: var(--font-label); font-size: .58rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.lot-ind small { display: block; font-size: .62rem; color: var(--gold); font-weight: 600; }
.lot-actions { margin-top: auto; display: flex; align-items: center; gap: .6rem; padding-top: .8rem; }
.lot-video {
  appearance: none; background: none; border: 0; cursor: pointer; padding: 0;
  font-family: var(--font-label); font-size: .68rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft);
  text-decoration: underline; text-underline-offset: 4px;
  transition: color var(--t-fast);
}
.lot-video:hover { color: var(--wine); }
.lot-cta { margin-left: auto; font-size: .66rem; padding: .7em 1.4em; }
@media (max-width: 800px) { .lots-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .lots-grid { grid-template-columns: 1fr; } }

/* ---------- Vídeos — showcase cinematográfico dos lotes ---------- */
.videos {
  position: relative; overflow: hidden;
  color: var(--cream); padding: var(--pad-section) 0;
  background:
    radial-gradient(120% 80% at 82% 0%, rgba(107, 33, 25, .38) 0%, transparent 55%),
    radial-gradient(120% 90% at 0% 100%, rgba(44, 59, 47, .34) 0%, transparent 55%),
    linear-gradient(180deg, #191410 0%, #120E0B 100%);
}
.videos::after { /* mesma granulação sutil do hero: dá textura de couro/cinema */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .13;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Moldura dourada fina, à la placa de premiação */
.videos-frame {
  position: absolute; z-index: 1; pointer-events: none;
  inset: clamp(10px, 1.6vw, 22px);
  border: 1px solid rgba(169, 136, 91, .34);
  border-radius: 10px;
}
.videos-frame::before, .videos-frame::after {
  content: ""; position: absolute; width: 12px; height: 12px;
  border: 1px solid var(--gold); opacity: .6;
}
.videos-frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.videos-frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.videos-head {
  position: relative; z-index: 2;
  max-width: min(1380px, 95vw); margin: 0 auto 2.6rem; padding: 0 clamp(1.5rem, 4vw, 3.5rem);
  text-align: center;
}
.videos-eyebrow { color: var(--gold); margin-bottom: .7rem; }
.videos-title {
  color: var(--cream); font-size: clamp(2rem, 4.5vw, 3.4rem);
  text-transform: uppercase; letter-spacing: .02em; line-height: 1.05;
}
.videos-sub { margin: 1rem auto 0; max-width: 46ch; color: #C6B79E; font-size: .98rem; }

/* Grade dos lotes — tela cheia, 4 colunas, nada rolando pro lado */
.vgrid {
  position: relative; z-index: 2;
  max-width: min(1600px, 94vw); margin: 0 auto;
  padding: 0 clamp(1rem, 2.5vw, 2rem);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(.75rem, 1.5vw, 1.35rem);
}
.vcard {
  appearance: none; border: 0; padding: 0; margin: 0; cursor: pointer;
  position: relative; display: flex; flex-direction: column; width: 100%;
  text-align: left; color: var(--cream); background: #0F0B08;
  border-radius: 8px; /* sem overflow: hidden — o badge precisa vazar o canto */
  outline: 1px solid rgba(169, 136, 91, .18); outline-offset: -1px;
  transition: transform var(--t-base), outline-color var(--t-base), box-shadow var(--t-base);
}
/* 16/9 = formato nativo das fotos (1280×720). Mantenha assim: em qualquer outra
   proporção o object-fit: cover corta as laterais e come a cabeça do animal */
.vcard-photo {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0C0907;
  border-radius: 8px 8px 0 0; /* o card não recorta mais: a foto arredonda sozinha */
}
.vcard-photo img {
  width: 100%; height: 100%; object-fit: cover; opacity: .86;
  transition: transform 700ms var(--ease-out), opacity var(--t-base);
}
.vcard-photo::after { /* escurecida na base p/ o badge ler em qualquer foto */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,7,5,.42) 0%, transparent 38%, rgba(10,7,5,.5) 100%);
}
/* Badge LOTE + número — atravessa o canto superior esquerdo, metade pra fora do
   card, pra não tapar o rosto dos animais enquadrados na ponta esquerda */
.vcard-badge {
  position: absolute; z-index: 3; top: -.6rem; left: -.6rem;
  display: inline-flex; align-items: baseline; gap: .35rem;
  padding: .3rem .6rem .32rem; border-radius: 3px;
  background: var(--wine); border: 1px solid rgba(233, 202, 156, .38);
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .9);
}
.vcard-badge span {
  font-family: var(--font-label); font-size: .58rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: #E9CA9C;
}
.vcard-badge b {
  font-family: var(--font-display); font-weight: 700; font-style: italic;
  font-size: 1.05rem; line-height: 1; color: var(--cream);
}
/* Play discreto: só nos lotes que têm vídeo */
.vcard-play {
  position: absolute; z-index: 2; right: .6rem; bottom: .6rem;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(18, 14, 11, .74); border: 1px solid rgba(169, 136, 91, .5);
  display: grid; place-items: center;
  transition: background var(--t-base), transform var(--t-base);
}
.vcard-play::after {
  content: ""; border-style: solid; border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent var(--cream); margin-left: 2px;
}
.vcard-name {
  padding: .7rem .8rem .8rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  line-height: 1.25; color: var(--cream);
}
.vcard-name small {
  display: block; margin-top: .2rem;
  font-family: var(--font-label); font-size: .6rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: #A9885B;
}
.vcard:hover { transform: translateY(-4px); outline-color: rgba(169, 136, 91, .55); box-shadow: 0 18px 38px -18px rgba(0,0,0,.85); }
/* sem zoom no hover: qualquer escala > 1 volta a cortar a cabeça do animal */
.vcard:hover .vcard-photo img { opacity: 1; }
.vcard:hover .vcard-play { background: var(--wine); transform: scale(1.08); }
.vcard:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.vgrid-more { position: relative; z-index: 2; display: flex; justify-content: center; margin-top: clamp(1.8rem, 3vw, 2.6rem); }
.vgrid-more .button-outline { color: var(--cream); border-color: rgba(243, 237, 223, .45); }
.vgrid-more .button-outline:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.vgrid-empty { grid-column: 1 / -1; text-align: center; color: #C6B79E; }

@media (max-width: 1100px) { .vgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px)  { .vgrid { grid-template-columns: repeat(2, 1fr); gap: .7rem; } }
@media (max-width: 360px)  { .vgrid { grid-template-columns: 1fr; } }

/* Popup do lote: vídeo + ficha ao lado */
.lote-modal {
  border: 0; padding: 0; background: transparent;
  width: 100%; max-width: min(1180px, 94vw);
}
.lote-modal::backdrop { background: rgba(10, 8, 6, .88); }
.lote-modal-inner {
  position: relative; /* ancora o botão de fechar DENTRO do popup: fora dele o
                         clique cai no ::backdrop e nunca chega ao botão */
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  background: #17120E; color: var(--cream);
  border: 1px solid rgba(169, 136, 91, .34); border-radius: 10px; overflow: hidden;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9);
}
.lote-modal-media { position: relative; aspect-ratio: 16 / 9; background: #000; align-self: center; }
.lote-modal-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.lote-modal-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lote-modal-media .sem-video { /* lote sem vídeo: mostra a foto com um aviso */
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; margin: 0;
  padding: 1.6rem .9rem .7rem; font-size: .74rem; font-weight: 600; color: #E9CA9C;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .9);
  background: linear-gradient(180deg, transparent, rgba(8, 6, 4, .92));
}
.lote-modal-info {
  padding: clamp(1.2rem, 2.2vw, 1.9rem);
  display: flex; flex-direction: column; align-items: flex-start;
  max-height: min(80vh, 620px); overflow-y: auto;
}
.lote-badge {
  display: inline-block; padding: .34rem .7rem .36rem; border-radius: 3px;
  background: var(--wine); border: 1px solid rgba(233, 202, 156, .38);
  font-family: var(--font-label); font-size: .66rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: #E9CA9C;
}
.lote-modal-name {
  margin-top: .85rem; font-size: clamp(1.3rem, 2.2vw, 1.85rem); font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; line-height: 1.1; color: var(--cream);
}
.lote-modal-raca {
  margin-top: .3rem; font-family: var(--font-display); font-style: italic;
  font-size: 1rem; color: #C6B79E;
}
.lote-modal-dl { margin: 1.1rem 0 0; width: 100%; display: grid; gap: .6rem; }
.lote-modal-dl > div { display: grid; gap: .1rem; }
.lote-modal-dl dt {
  font-family: var(--font-label); font-size: .58rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
.lote-modal-dl dd { margin: 0; font-size: .86rem; font-weight: 600; color: var(--cream); }
.lote-modal-indices {
  margin-top: 1.1rem; width: 100%;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem;
  border-top: 1px solid rgba(243, 237, 223, .16); padding-top: .9rem;
}
.lote-modal-ind span {
  display: block; font-family: var(--font-label); font-size: .56rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: #C6B79E;
}
.lote-modal-ind b { display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--cream); }
.lote-modal-ind small { display: block; font-size: .6rem; font-weight: 600; color: var(--gold); }
.lote-modal-cta { margin-top: auto; padding-top: 0; align-self: stretch; text-align: center; }
.lote-modal-info > .lote-modal-cta { margin-top: 1.5rem; }
.lote-modal-close {
  position: absolute; top: .55rem; right: .6rem; z-index: 4;
  appearance: none; cursor: pointer; display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%; padding: 0 0 .18em;
  background: rgba(18, 14, 11, .72); border: 1px solid rgba(169, 136, 91, .45);
  color: var(--cream); font-size: 1.45rem; line-height: 1;
  transition: background var(--t-fast), transform var(--t-fast);
}
.lote-modal-close:hover { background: var(--wine); transform: scale(1.06); }
.lote-modal-close:active { transform: scale(.94); }
@media (max-width: 860px) {
  /* empilhado: rola o popup inteiro, senão o CTA fica preso fora da vista */
  .lote-modal-inner { grid-template-columns: 1fr; max-height: 88vh; overflow-y: auto; }
  .lote-modal-info { max-height: none; overflow: visible; }
}

/* ---------- Participação ---------- */
.steps { padding: var(--pad-section) 0; }
.steps-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: start;
}
.steps-list h2 { margin-bottom: 2.2rem; }
.steps-list ol { list-style: none; margin: 0; padding: 0; counter-reset: passo; }
.steps-list li { counter-increment: passo; position: relative; padding: 0 0 2rem 4.4rem; }
.steps-list li:not(:last-child)::after {
  content: ""; position: absolute; left: 1.55rem; top: 3.4rem; bottom: .4rem; width: 1px; background: var(--line);
}
.steps-list li::before {
  content: counter(passo);
  position: absolute; left: 0; top: -.1rem;
  width: 3.1rem; height: 3.1rem; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  background: var(--wine); color: var(--cream);
}
.steps-list h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: .03em; }
.steps-list li p { margin-top: .45rem; color: var(--ink-soft); font-size: .93rem; max-width: 46ch; }
.event-card {
  background: var(--card); border-radius: var(--radius-card);
  border-top: 4px solid var(--wine);
  box-shadow: 0 1px 0 var(--line), 0 18px 38px -20px rgba(60, 40, 20, .4);
  padding: 1.8rem 1.7rem 1.7rem;
  position: sticky; top: calc(var(--topbar-h) + 1.5rem);
}
.event-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 1.1rem; }
.event-card dl { margin: 0; display: grid; gap: .8rem; }
.event-card dl div { display: grid; grid-template-columns: 7.2rem 1fr; gap: .6rem; border-bottom: 1px solid var(--line); padding-bottom: .8rem; }
.event-card dt { font-family: var(--font-label); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); padding-top: .2rem; }
.event-card dd { margin: 0; font-size: .92rem; font-weight: 500; }
@media (max-width: 900px) { .steps-inner { grid-template-columns: 1fr; } .event-card { position: static; } }

/* ---------- Slots de logo (p/ designer) ---------- */
.logo-slot {
  --slot-w: 240px; --slot-h: 96px;
  width: var(--slot-w); height: var(--slot-h); max-width: 100%;
  border: 2px dashed rgba(27, 23, 19, .3); border-radius: 4px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem;
  color: var(--ink-soft); background: rgba(251, 248, 240, .5);
}
.logo-slot span { font-family: var(--font-label); font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.logo-slot strong { font-size: .78rem; font-weight: 600; font-family: var(--font-body); }
.logo-slot-leiloeira { margin-top: 1.3rem; }
.partners { padding: 0 0 var(--pad-section); }
.partners-title {
  max-width: var(--container); margin: 0 auto 1.6rem; padding: 0 var(--pad-x);
  font-family: var(--font-label); font-size: .78rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); text-align: center;
}
.partners-row { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center; align-items: center; padding: 0 var(--pad-x); }
.partners-grid {
  max-width: var(--container); margin: 1.2rem auto 0; padding: 0 var(--pad-x);
  display: grid; grid-template-columns: repeat(auto-fit, 160px); gap: 1rem;
  justify-content: center;
}
.partners-grid .logo-slot { --slot-w: 160px; --slot-h: 64px; }

/* ---------- Cadastro ---------- */
.signup { background: var(--wine-deep); color: var(--cream); padding: var(--pad-section) 0; }
.signup-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x);
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.signup-copy h2 { color: var(--cream); max-width: 16ch; text-wrap: balance; }
.signup-copy h2 em { color: var(--tan-light); }
.signup-copy p { margin-top: 1.1rem; color: #E4CDB4; max-width: 40ch; }
.signup-form {
  background: var(--card); color: var(--ink);
  border-radius: var(--radius-card); padding: clamp(1.5rem, 3vw, 2.3rem);
  display: grid; gap: 1.05rem;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5);
}
.field { display: grid; gap: .35rem; }
.field label { font-family: var(--font-label); font-size: .7rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select {
  font-family: var(--font-body); font-size: .95rem; color: var(--ink);
  background: #fff; border: 1px solid rgba(27, 23, 19, .28); border-radius: 6px;
  padding: .72rem .85rem; width: 100%;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field input::placeholder { color: rgba(27, 23, 19, .38); }
.field input:focus, .field select:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(107, 33, 25, .18); }
.field-error { display: none; font-size: .74rem; font-weight: 600; color: #8E2318; }
.field.is-invalid input { border-color: #8E2318; }
.field.is-invalid .field-error { display: block; }

/* Autocomplete de cidade (IBGE) */
.field-city { position: relative; }
.city-list {
  position: absolute; top: calc(100% + .3rem); left: 0; right: 0; z-index: 40;
  margin: 0; padding: .3rem; list-style: none;
  background: #fff; border: 1px solid rgba(27, 23, 19, .18); border-radius: 6px;
  box-shadow: 0 22px 44px -18px rgba(0, 0, 0, .4);
  max-height: 264px; overflow-y: auto;
}
.city-list li {
  display: flex; align-items: baseline; justify-content: space-between; gap: .75rem;
  padding: .55rem .65rem; border-radius: 4px; font-size: .92rem; cursor: pointer;
}
.city-list li .uf {
  font-family: var(--font-label); font-size: .72rem; font-weight: 600;
  letter-spacing: .08em; color: var(--ink-soft);
}
.city-list li:hover, .city-list li.is-active { background: rgba(107, 33, 25, .1); }
.city-list li.is-active .uf, .city-list li:hover .uf { color: var(--wine); }
.signup-submit { width: 100%; margin-top: .3rem; }
.signup-note { font-size: .74rem; color: var(--ink-soft); text-align: center; }
@media (max-width: 900px) { .signup-inner { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: #14100C; color: var(--cream); padding: 4.5rem 0 2rem; }
.footer-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x) 3rem;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem;
}
.footer-brand img { width: 138px; height: auto; opacity: .95; }
.footer-brand p { margin-top: 1rem; font-family: var(--font-display); font-style: italic; color: #B8AC98; }
.footer-col h4 { font-family: var(--font-label); font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.footer-col a {
  display: block; margin-bottom: .7rem; text-decoration: none;
  font-size: .82rem; letter-spacing: .04em; color: #D8CFC0;
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--cream); }
.footer-legal {
  max-width: var(--container); margin: 0 auto; padding: 1.6rem var(--pad-x) 0;
  border-top: 1px solid rgba(243, 237, 223, .14);
  font-size: .72rem; color: #8E8474;
}
@media (max-width: 800px) { .footer-inner { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- WhatsApp flutuante ---------- */
.whats-fab {
  position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wine); color: var(--cream);
  box-shadow: 0 12px 30px -8px rgba(60, 20, 10, .55);
  transition: background var(--t-fast), transform var(--t-fast);
}
.whats-fab:hover { background: var(--wine-deep); transform: translateY(-2px); }

/* ---------- Modal de vídeo ---------- */
.video-modal { border: 0; padding: 0; background: transparent; max-width: min(960px, 92vw); width: 100%; }
.video-modal::backdrop { background: rgba(10, 8, 6, .85); }
.video-modal-frame { aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius-card); overflow: hidden; }
.video-modal-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-modal-close {
  position: absolute; top: -2.6rem; right: 0;
  appearance: none; border: 0; background: none; cursor: pointer;
  color: var(--cream); font-size: 2rem; line-height: 1;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 2rem; transform: translate(-50%, 20px); z-index: 70;
  background: var(--ink); color: var(--cream);
  font-size: .85rem; font-weight: 500;
  padding: .8rem 1.5rem; border-radius: var(--radius-pill);
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-base), transform var(--t-base);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
