/* Vitrine nova (card 86e3z1nx2) — home de /<slug> e do domínio próprio.
 *
 * CSS escrito à mão, sem build e sem o Tailwind Play CDN (busqy/sites/ fica fora do
 * `content` do tailwind.config.js; o preflight do CDN brigaria com estas classes).
 * Layout, medidas e estados seguem a referência do design (vitrine.html). Cores:
 *  - fixas: tokens do Design System v2 (tailwind.ds-v2.preset.js) onde existe
 *    equivalente; o verde do WhatsApp (--wa) vem da referência;
 *  - do cliente: --brand, --cta e as derivadas chegam num <style>:root{} gerado por
 *    busqy/sites/vitrine_ui.py:tema_vitrine (contraste garantido no servidor). Os valores
 *    abaixo são só o fallback do DS v2. */

:root{
  --brand:#1e3041; --on-brand:#ffffff;
  --cta:#f59e0b; --on-cta:#0f1b2d;
  --brand-soft:#e8eaec; --brand-texto:#1e3041; --brand-deep:#0f1823; --brand-anel:#788390;
  --ring:#1e3041; --ring-on-brand:#ffffff;
  --hero-destaque:#f59e0b; --hero-cta-borda:transparent; --destaque-borda:transparent; --cta-borda:transparent;

  --ink:#1e3041;          /* DS ink */
  --text:#1e3041;
  --muted:#4b5563;        /* DS subtle (≥ 4,5:1 sobre canvas) */
  --line:#e5e7eb;         /* DS line */
  --line-strong:#c3cfdc;  /* DS line.strong */
  --bg:#f3f4f6;           /* DS canvas */
  --surface:#ffffff;
  --field:#f3f4f6;
  --off:#dc2626;          /* DS danger.solid — selo (branco 4,8:1) */
  --save:#047857;         /* DS success */
  --save-bg:#ecfdf5;      /* DS success.bg */
  --wa:#0a5c3a;           /* referência — o `wa` do DS é o fundo do chat */
  --hover:#eef1f5;

  --r-12:12px; --r-14:14px; --r-16:16px; --r-22:22px; --r-28:28px; --r-32:32px;
  --container:1280px;
  --gutter:24px;
  --font:'Plus Jakarta Sans',ui-sans-serif,system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
}

/* ============ BASE ============ */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);line-height:1.5;-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit}
button{font:inherit;color:inherit}
img{display:block;max-width:100%}
h1,h2,h3,p{margin:0}
[hidden]{display:none !important}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.clamp-3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.ico{width:1em;height:1em;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ico--bold{stroke-width:2.4}
.i14{width:14px;height:14px}.i15{width:15px;height:15px}.i16{width:16px;height:16px}.i17{width:17px;height:17px}
.i20{width:20px;height:20px}.i22{width:22px;height:22px}.i26{width:26px;height:26px}
.vt-wrap{max-width:var(--container);margin:0 auto;padding-inline:var(--gutter)}
:where(a,button,input,[tabindex]):focus-visible{outline:3px solid var(--ring);outline-offset:2px}
.vt-hero :focus-visible{outline-color:var(--ring-on-brand)}
.vt-hero .vt-feature :focus-visible{outline-color:var(--ring)}
.on-dark:focus-visible,.vt-band :focus-visible,.vt-footer :focus-visible{outline-color:#fff}
.vt-skip{position:absolute;left:16px;top:-80px;z-index:60;padding:12px 18px;border-radius:var(--r-12);background:var(--surface);color:var(--ink);font-weight:700;text-decoration:none;box-shadow:0 8px 24px -8px rgba(15,27,45,.4)}
.vt-skip:focus{top:12px}

/* ============ BOTÕES ============ */
.vt-btn{display:flex;align-items:center;justify-content:center;gap:6px;padding:0 14px;text-align:center;text-decoration:none;font-weight:800;cursor:pointer;
  transition:filter .15s ease,transform .15s ease,background-color .15s ease}
.vt-btn:hover{filter:brightness(.94)}
.vt-btn:active{transform:translateY(1px)}
.vt-btn--cta{min-height:48px;border-radius:var(--r-14);border:2px solid var(--cta-borda);background:var(--cta);color:var(--on-cta);font-size:15px}
.vt-btn--soft{min-height:44px;border-radius:var(--r-12);background:var(--brand-soft);color:var(--brand-texto);font-size:14px;font-weight:700}
.vt-btn--outline{min-height:48px;border-radius:var(--r-14);border:1.5px solid var(--line);background:var(--surface);color:var(--brand-texto);font-size:15px;font-weight:700}
.vt-btn--xl{min-height:56px;border-radius:var(--r-16);font-size:17px;gap:8px}

/* ============ HEADER ============ */
.vt-header{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.92);-webkit-backdrop-filter:saturate(1.4) blur(14px);backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid var(--line)}
.vt-header__row{display:flex;align-items:center;gap:20px;min-height:76px}
.vt-brandlink{flex:none;display:flex;align-items:center;gap:12px;min-width:0;max-width:40%;min-height:44px;text-decoration:none;color:var(--ink)}
.vt-logo{width:44px;height:44px;flex:none;border-radius:13px;object-fit:contain;background:var(--surface)}
.vt-mono{display:inline-flex;align-items:center;justify-content:center;background:var(--brand);color:var(--on-brand);font-size:20px;font-weight:800;box-shadow:inset 0 0 0 1px rgba(15,27,45,.12)}
.vt-brandlink__name{font-size:20px;font-weight:800;letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vt-search{position:relative;flex:1 1 auto;min-width:0;max-width:480px;margin:0 0 0 24px}
.vt-search .ico{position:absolute;left:16px;top:14px;color:var(--muted);pointer-events:none}
.vt-search input[type=search]{width:100%;height:48px;margin:0;padding:0 16px 0 46px;border-radius:var(--r-14);border:1px solid var(--line);background:var(--field);font:inherit;font-size:16px;color:var(--ink);-webkit-appearance:none;appearance:none}
.vt-search input::placeholder{color:var(--muted);opacity:1}
.vt-nav{display:flex;align-items:center;gap:8px;margin-left:auto}
.vt-navlink{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border-radius:var(--r-12);font-size:15px;font-weight:700;color:var(--ink);text-decoration:none}
.vt-navlink:hover,.vt-iconbtn:hover{background:var(--hover)}
.vt-iconbtn{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:var(--r-12);color:var(--ink);text-decoration:none}
.vt-wabtn{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 18px;border-radius:var(--r-12);background:var(--wa);color:#fff;font-size:15px;font-weight:700;text-decoration:none;white-space:nowrap;transition:filter .15s ease}
.vt-wabtn:hover{filter:brightness(.94)}

/* ============ HERO / DESTAQUE ============ */
.vt-hero-section{padding-top:24px}
.vt-hero{position:relative;overflow:hidden;border-radius:var(--r-32);background:var(--brand);color:var(--on-brand)}
.vt-hero__ring{position:absolute;pointer-events:none}
.vt-hero__ring--tr{right:-200px;top:-240px;width:640px;height:640px}
.vt-hero__ring--bl{left:-210px;bottom:-250px;width:420px;height:420px}
.vt-hero__grid{position:relative;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:40px;align-items:center;padding:48px}
.vt-hero--solo .vt-hero__grid{grid-template-columns:minmax(0,1fr)}
.vt-hero--solo .vt-hero__copy{max-width:720px}
.vt-hero__title{font-size:clamp(30px,3.4vw,48px);line-height:1.06;font-weight:800;letter-spacing:-.03em;text-wrap:balance}
.vt-hero__title em{font-style:normal;color:var(--hero-destaque)}
.vt-hero__lead{margin-top:16px;max-width:440px;font-size:18px;line-height:1.55;color:var(--on-brand)}
.vt-hero__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.vt-hero__actions .vt-btn{display:inline-flex;padding:0 26px;font-size:16px;border-color:var(--hero-cta-borda)}
.vt-live{display:flex;align-items:center;gap:10px;margin-top:24px;font-size:14px;font-weight:600;color:var(--on-brand)}
.vt-live__dot{width:10px;height:10px;flex:none;border-radius:50%;background:#34d399;box-shadow:0 0 0 2px var(--brand);animation:vt-pulse 1.8s ease-out infinite}
@keyframes vt-pulse{0%{box-shadow:0 0 0 0 rgba(52,211,153,.65)}100%{box-shadow:0 0 0 10px rgba(52,211,153,0)}}

.vt-feature{padding:20px;border-radius:var(--r-28);border:2px solid var(--destaque-borda);background:var(--surface);color:var(--text);box-shadow:0 30px 60px -30px rgba(2,10,30,.55)}
.vt-feature__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}
.vt-feature__media{display:flex;flex-direction:column;gap:16px;min-width:0}
.vt-tile{position:relative;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;border-radius:20px;background:var(--bg)}
.vt-tile img{width:84%;height:84%;object-fit:contain;mix-blend-mode:multiply}
.vt-sticker{position:absolute;top:-10px;left:-10px;width:88px;height:88px;display:flex;flex-direction:column;align-items:center;justify-content:center;
  border-radius:50%;background:var(--off);color:#fff;border:3px solid #fff;transform:rotate(-8deg);box-shadow:0 12px 22px -10px rgba(214,31,69,.7)}
.vt-sticker strong{font-size:26px;font-weight:800;line-height:1;letter-spacing:-.03em}
.vt-sticker span{font-size:12px;font-weight:800;letter-spacing:.1em;line-height:1.2}
.vt-thumbs{display:flex;align-items:center;gap:10px}
.vt-thumb{width:64px;height:64px;padding:6px;display:flex;align-items:center;justify-content:center;border-radius:var(--r-16);border:2px solid var(--line);background:var(--bg);cursor:pointer;transition:box-shadow .15s ease,border-color .15s ease}
.vt-thumb img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.vt-thumb:hover{border-color:var(--brand-texto)}
.vt-thumb[aria-pressed="true"]{border-color:var(--brand-texto);box-shadow:0 0 0 3px var(--brand-anel)}
.vt-feature__info{display:flex;flex-direction:column;min-width:0}
.vt-meta{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:13px;font-weight:600;color:var(--muted)}
.vt-meta__item{display:inline-flex;align-items:center;gap:6px;min-width:0}
.vt-pill{padding:6px 10px;border-radius:999px;background:var(--bg);color:var(--ink)}
.vt-feature__title{margin-top:14px;font-size:22px;line-height:1.25;font-weight:800;letter-spacing:-.01em;color:var(--ink);overflow-wrap:anywhere}
.vt-feature__price{margin-top:auto;padding-top:18px}
.vt-from{min-height:22px;font-size:15px;color:var(--muted);text-decoration:line-through}
.vt-now{font-size:38px;line-height:1.1;font-weight:800;letter-spacing:-.03em;color:var(--ink);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.vt-save{display:inline-flex;align-items:center;gap:8px;margin-top:10px;padding:6px 12px;border-radius:999px;background:var(--save-bg);color:var(--save);font-size:14px;font-weight:700}
.vt-feature__info .vt-btn--xl{margin-top:18px}
.vt-feature__info .vt-btn--outline{margin-top:8px}

/* ============ LISTA DE PROMOÇÕES ============ */
.vt-section{padding-top:64px}
#recentes{scroll-margin-top:96px}
.vt-section__head{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:20px}
.vt-section__head > div:first-child{min-width:0}
.vt-section__title{font-size:32px;line-height:1.15;font-weight:800;letter-spacing:-.02em;color:var(--ink)}
.vt-section__title:focus{outline:none}
.vt-section__sub{min-height:24px;margin-top:6px;font-size:16px;color:var(--muted)}
.vt-chips{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.vt-chip{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 8px 0 16px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font-size:14px;font-weight:700;cursor:pointer;
  transition:background-color .15s ease,color .15s ease,border-color .15s ease}
.vt-chip:hover{border-color:var(--brand-texto)}
.vt-chip__count{min-width:24px;height:24px;padding:0 7px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:var(--hover);color:var(--muted);font-size:12px;font-weight:700}
.vt-chip[aria-pressed="true"]{background:var(--brand);border-color:var(--brand-texto);color:var(--on-brand)}
.vt-chip[aria-pressed="true"] .vt-chip__count{background:var(--on-brand);color:var(--brand)}

#vt-resultados{transition:opacity .15s ease}
#vt-resultados.htmx-request,.vt-filtrando #vt-resultados{opacity:.55}
.vt-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(220px,100%),1fr));gap:20px;margin-top:28px}
.vt-card{display:flex;flex-direction:column;min-width:0;padding:12px;border-radius:var(--r-22);border:1px solid var(--line);background:var(--surface);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.vt-card:hover{transform:translateY(-4px);box-shadow:0 22px 44px -22px rgba(15,27,45,.38);border-color:var(--line-strong)}
.vt-card__media{position:relative;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:var(--r-14);background:var(--bg)}
.vt-card__media img{width:80%;height:80%;object-fit:contain;mix-blend-mode:multiply}
.vt-badge{position:absolute;top:10px;left:10px;padding:5px 10px;border-radius:10px;background:var(--off);color:#fff;font-size:13px;font-weight:800;letter-spacing:.01em;white-space:nowrap}
.vt-card__meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 2px 0;font-size:12.5px;font-weight:600;color:var(--muted)}
.vt-card__meta > span{display:inline-flex;align-items:center;gap:5px;min-width:0}
.vt-card__meta > span:last-child{white-space:nowrap;flex:none}
.vt-trunc{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.vt-card__title{margin:8px 2px 0;min-height:calc(1.38em*3);font-size:14.5px;line-height:1.38;font-weight:600;color:var(--ink);overflow-wrap:anywhere}
.vt-card__price{margin:14px 2px 0}
.vt-card__from{min-height:20px;font-size:13px;line-height:20px;color:var(--muted);text-decoration:line-through;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vt-card__now{font-size:26px;line-height:1.2;font-weight:800;letter-spacing:-.02em;color:var(--ink);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.vt-card__save{min-height:20px;font-size:13px;line-height:20px;font-weight:700;color:var(--save)}
.vt-card__actions{margin-top:auto;padding-top:14px}
.vt-card__actions .vt-btn--soft{margin-top:8px}

.vt-more{display:flex;justify-content:center;margin-top:28px}
.vt-more:empty{display:none}
.vt-more .vt-btn{display:inline-flex;padding:0 28px}
.vt-more .htmx-request{opacity:.6;pointer-events:none}

.vt-empty{margin-top:28px;padding:48px 24px;border-radius:24px;border:1.5px dashed var(--line-strong);background:var(--surface);text-align:center}
.vt-empty__icon{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:18px;background:var(--bg);color:var(--brand-texto)}
.vt-empty h3{margin-top:16px;font-size:20px;font-weight:800;color:var(--ink);overflow-wrap:anywhere}
.vt-empty p{margin:6px 0 20px;font-size:15px;color:var(--muted)}
.vt-empty__actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.vt-empty__actions .vt-btn{display:inline-flex;padding:0 24px}
.vt-btn--brand{min-height:48px;border:0;border-radius:var(--r-14);background:var(--brand);color:var(--on-brand);font-size:15px;font-weight:700}
.vt-btn--wa{min-height:48px;border-radius:var(--r-14);background:var(--wa);color:#fff;font-size:15px;font-weight:700}

/* ============ CHAMADA PARA O GRUPO ============ */
.vt-groupcta{padding-top:72px}
.vt-band{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:28px;padding:48px;border-radius:var(--r-28);background:var(--wa);color:#fff}
.vt-band__ring{position:absolute;right:-120px;top:-180px;width:420px;height:420px;pointer-events:none}
.vt-band__text{position:relative;max-width:620px}
.vt-band h2{font-size:34px;line-height:1.12;font-weight:800;letter-spacing:-.02em;text-wrap:balance}
.vt-band p{margin-top:10px;font-size:18px;line-height:1.55;color:#e3f2ea}
.vt-band__actions{position:relative;display:flex;flex-wrap:wrap;gap:12px}
.vt-band__actions .vt-btn{display:inline-flex;gap:10px;min-height:56px;padding:0 26px;border-radius:var(--r-16);font-size:16px}
.vt-btn--white{background:#fff;color:var(--wa)}
.vt-btn--ghost-light{border:1.5px solid rgba(255,255,255,.7);color:#fff;font-weight:700}
.vt-band__actions .vt-btn--ghost-light{padding:0 22px}

/* ============ RODAPÉ ============ */
.vt-footer{margin-top:72px;background:var(--brand-deep);color:#fff}
.vt-footer .vt-wrap{padding-top:56px;padding-bottom:40px}
.vt-footer__top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:24px}
.vt-footer__brand{display:flex;align-items:center;gap:12px;min-width:0;color:#fff;font-size:20px;font-weight:800;letter-spacing:-.02em}
.vt-footer__brand span:last-child{overflow-wrap:anywhere}
.vt-footer__social{display:flex;gap:10px}
.vt-footer__social a{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:var(--r-12);background:rgba(255,255,255,.1);color:#fff;text-decoration:none;transition:background-color .15s ease}
.vt-footer__social a:hover{background:rgba(255,255,255,.2)}
.vt-footer hr{height:1px;margin:32px 0;border:0;background:rgba(255,255,255,.18)}
.vt-legal{max-width:760px;font-size:14px;line-height:1.7}
.vt-legal__links{display:flex;flex-wrap:wrap;align-items:center;column-gap:4px;margin-top:10px;font-size:13px}
.vt-legal a{display:inline-flex;align-items:center;min-height:44px;color:#fff;text-decoration:underline;text-underline-offset:3px}
.vt-copy{margin-top:20px;font-size:13px}

/* ============ RESPONSIVO ============ */
@media (max-width:1100px){
  .vt-navlink{display:none}
}
@media (max-width:960px){
  .vt-hero__grid{grid-template-columns:minmax(0,1fr);gap:32px}
  /* Entre 721 e 960 a linha do cabeçalho não comporta logo + busca + 2 ícones + botão:
     Instagram/Telegram seguem no rodapé e no bloco do grupo. */
  .vt-nav .vt-iconbtn{display:none}
  .vt-brandlink{max-width:32%}
  .vt-search{margin-left:8px}
}
@media (max-width:720px){
  :root{--gutter:16px}
  .vt-header__row{flex-wrap:wrap;min-height:0;padding-block:12px;gap:12px}
  .vt-brandlink{flex:1 1 0;max-width:none}
  .vt-brandlink__name{font-size:17px}
  .vt-search{order:3;flex:1 1 100%;max-width:none;margin-left:0}
  .vt-nav{margin-left:0}
  .hide-sm{display:none !important}
  .vt-wabtn{width:44px;padding:0;justify-content:center}
  .vt-hero{border-radius:26px}
  .vt-hero__grid{padding:24px 16px;gap:22px}
  .vt-hero__title{font-size:30px}
  .vt-live{margin-top:16px}
  .vt-feature{padding:14px;border-radius:22px}
  .vt-feature__grid{grid-template-columns:minmax(0,1fr);gap:20px}
  .vt-tile{aspect-ratio:4/3}
  .vt-feature__title{font-size:19px}
  .vt-now{font-size:34px}
  .vt-section{padding-top:44px}
  .vt-section__title{font-size:26px}
  /* nowrap: num flex multilinha a linha teria a largura dos chips (que rolam) e esticaria o título */
  .vt-section__head{flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:16px}
  .vt-chips{flex-wrap:nowrap;overflow-x:auto;margin-inline:-16px;padding:2px 16px 8px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .vt-chips::-webkit-scrollbar{display:none}
  .vt-chip{flex:none}
  .vt-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .vt-card{padding:8px;border-radius:18px}
  .vt-card__title{font-size:13px}
  .vt-card__now{font-size:21px}
  .vt-card__save{font-size:12px}
  .vt-card__actions .vt-btn{font-size:14px;padding:0 8px}
  .vt-band{padding:28px 20px;border-radius:24px}
  .vt-band h2{font-size:26px}
  .vt-band__actions{width:100%}
  .vt-band__actions .vt-btn{flex:1 1 100%}
  .vt-footer__top{flex-direction:column;align-items:flex-start}
}
@media (max-width:360px){
  .vt-card__meta{flex-direction:column;align-items:flex-start;gap:2px}
  .vt-card__actions .vt-btn{font-size:13px;gap:4px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition-duration:0s !important;animation:none !important}
  .vt-card:hover{transform:none}
}
