/* ==========================================================================
   Lojas Próximas · COMPONENTES  (blocos reutilizáveis em qualquer página)
   hero + portas · cartões de tom (ecossistema / quem participa) · soluções
   · linha do tempo · vitrine (lojas) · faixa final
   Só usam variáveis de lp-tokens.css. Marcação de exemplo: docs/README.md
   ========================================================================== */

/* ---- Botão em "pílula" (cor vem de --pill-bg / --pill-fg) ---- */
.is-orange { --pill-bg: linear-gradient(180deg, var(--orange-hi), var(--orange)); --pill-fg: var(--on-orange); }

/* ---- Hero ---- */
.hero-card { overflow: hidden; text-align: center; }
.hero-card .hero-copy { max-width: 760px; margin: 0 auto 34px; position: relative; z-index: 2; }
.hero-card h1 { margin-bottom: 22px; font-size: clamp(38px, 5.2vw, 66px); letter-spacing: -2.8px; }
.hero-card .subtitle { max-width: 600px; }
.hero-note { margin: 22px 0 0; font-size: 13px; color: var(--faint); }
.hero-note a { color: var(--eyebrow); text-decoration: none; font-weight: 650; }
.hero-note a:hover { color: var(--heading); text-decoration: underline; }
@media (min-width: 761px) { .hero-card { padding: clamp(40px, 6vw, 84px) clamp(24px, 5vw, 76px); } }
@media (min-width: 1400px) { .hero-card { min-height: 570px; } }

/* Duas portas */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 900px; margin: 0 auto; text-align: left; }
.door { display: flex; flex-direction: column; gap: 14px; padding: 26px 26px 22px; border-radius: 24px; text-decoration: none; color: var(--ink); background: linear-gradient(180deg, var(--surface), var(--surface-end)); border: 1px solid var(--line); box-shadow: 0 1px 0 var(--hi) inset, 0 12px 28px rgba(11,39,59,.07); transition: transform .2s, box-shadow .2s, border-color .2s; }
.door:hover { transform: translateY(-4px); border-color: var(--heading); box-shadow: 0 1px 0 var(--hi) inset, 0 20px 40px rgba(11,39,59,.13); }
.door-ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--door-ico-bg); color: var(--heading); }
.door-b .door-ico { background: var(--prod-bg); color: var(--prod); }
.door-ico svg { width: 27px; height: 27px; }
.door-txt { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.door-txt small { font-size: 11.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--faint); }
.door-txt b { font-size: clamp(21px, 2.3vw, 26px); letter-spacing: -.6px; line-height: 1.15; color: var(--heading); }
.door-txt span { font-size: 15px; line-height: 1.5; color: var(--muted); }
.door-go { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin-top: 4px; padding: 11px 20px; border-radius: 999px; background: var(--pill-bg, var(--brand)); color: var(--pill-fg, var(--on-brand)); font-weight: 750; font-size: 15px; box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
.door-go.is-orange { box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.door-go i { font-style: normal; transition: transform .2s; }
.door:hover .door-go i { transform: translateX(4px); }

/* ---- Cartões de tom: .bcard (ecossistema, expansível) e .who-card ----
   Use junto com uma classe de tom: tone-azul | tone-verde | tone-laranja | tone-laranja2 | tone-roxo */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.who   { display: grid; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); gap: 14px; }  /* --cols: nº de colunas no desktop */
.bcard, .who-card { position: relative; display: block; padding: 0; border: 0; background: var(--surface); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .25s; }
.bcard:hover, .who-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.bcard:focus-visible, .who-card:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.bcard-inner, .who-inner { height: 100%; display: flex; flex-direction: column; background: linear-gradient(180deg, var(--wash, var(--surface)) 0%, var(--surface) 62%); }
.bcard .card-go, .who-card .card-go { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; border-radius: 999px; background: var(--cta-bg); color: var(--cta-fg); font-weight: 800; cursor: pointer; }
.bcard .bi, .who-card .oi { display: grid; place-items: center; background: var(--icon-bg); color: var(--icon-fg); }
.bcard h3, .who-card b { color: var(--heading); }

.bcard { grid-column: span 2; min-height: 230px; border-radius: 24px; }
.bcard.wide { grid-column: span 3; }
.bcard-inner { min-height: 216px; padding: 20px; gap: 12px; border-radius: 24px; }
.bcard .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bcard .bi { width: 46px; height: 46px; border-radius: 14px; }
.bcard .bi svg { width: 24px; height: 24px; }
.bcard .badge { background: var(--surface-soft); color: var(--muted); }
.bcard h3 { margin: 2px 0 0; font-size: 20px; letter-spacing: -.4px; }
.bcard p { margin: 0; flex: 1; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.bcard .card-details { display: none; }
.bcard.expanded .card-details { display: block; font-size: 14px; line-height: 1.55; color: var(--muted); }
.bcard .card-go { margin-top: 4px; padding: 10px 16px; font-size: 13.5px; }

.who-card { min-height: 220px; border-radius: 22px; }
.who-inner { min-height: 206px; padding: 18px 16px; border-radius: 22px; }
.who-card .oi { width: 42px; height: 42px; margin-bottom: 13px; border-radius: 13px; }
.who-card .oi svg { width: 22px; height: 22px; }
.who-card b { display: block; margin-bottom: 6px; font-size: 17px; }
.who-card p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.who-card .card-go { margin-top: auto; padding: 9px 14px; font-size: 13px; }

@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bcard, .bcard.wide { grid-column: span 1; }
  .who { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .bcard, .bcard.wide { grid-column: auto; padding: 7px; min-height: 0; }
  .bcard-inner { min-height: 0; padding: 18px; gap: 10px; }
  .bcard h3 { font-size: 19px; }
  .bcard p { font-size: 14px; }
  .who { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 380px) {
  .who { grid-template-columns: minmax(0, 1fr); }
  .bcard-inner { padding: 15px; }
  .bcard .row { align-items: flex-start; }
}

/* ---- Soluções (imagem/ilustração + texto) ---- */
.sol-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.sol { grid-column: span 4; display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; text-decoration: none; color: inherit; background: linear-gradient(180deg, var(--surface), var(--surface-end)); border: 1px solid var(--line-soft); box-shadow: 0 1px 0 var(--hi) inset, 0 10px 26px rgba(11,39,59,.06); transition: transform .2s, box-shadow .2s; }
.sol:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--hi) inset, 0 20px 40px rgba(11,39,59,.12); }
.sol.s7 { grid-column: span 7; } .sol.s5 { grid-column: span 5; } .sol.s12 { grid-column: span 12; flex-direction: row; }
.sol-img { --tile-h: 210px; height: var(--tile-h); position: relative; display: grid; place-items: center; padding: 16px; background-color: color-mix(in srgb, var(--tint, var(--surface-soft)) var(--tile-mix), var(--tile-base)); background-image: radial-gradient(var(--dot) 1.4px, transparent 1.6px); background-size: 16px 16px; }
.sol-img > img { height: calc(var(--tile-h) - 32px); width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 8px 14px var(--art-shadow)); transition: transform .3s; }
.sol:hover .sol-img > img { transform: scale(1.04); }
.sol.s12 .sol-img { --tile-h: 250px; flex: 0 0 46%; order: 2; }
.sol-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; }
.sol.s12 .sol-body { justify-content: center; padding: 30px 34px; }
.sol-body h3 { margin: 0; font-size: clamp(20px, 2vw, 24px); letter-spacing: -.5px; color: var(--heading); }
.sol-body p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.sol-go { margin-top: auto; padding-top: 10px; font-weight: 750; font-size: 14.5px; color: var(--heading); }
.sol-go span { display: inline-block; color: var(--orange); transition: transform .2s; }
.sol:hover .sol-go span { transform: translateX(4px); }
@media (max-width: 1000px) { .sol, .sol.s7, .sol.s5 { grid-column: span 6; } .sol.s12 { grid-column: span 12; } }
@media (max-width: 760px) {
  .sol, .sol.s7, .sol.s5, .sol.s12 { grid-column: span 12; flex-direction: column; }
  .sol-img { --tile-h: 190px; }
  .sol.s12 .sol-img { --tile-h: 210px; order: 0; flex: none; }
  .sol.s12 .sol-body { padding: 22px 24px; }
}

/* ---- Linha do tempo ---- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(var(--cols, 5), 1fr); }  /* --cols: nº de etapas */
.timeline:before { content: ""; position: absolute; left: calc(50% / var(--cols, 5)); right: calc(50% / var(--cols, 5)); top: 17px; height: 2px; background: repeating-linear-gradient(90deg, var(--tl-line) 0 6px, transparent 6px 12px); }
.tl { position: relative; text-align: center; padding: 0 10px; }
.tl .node { position: relative; z-index: 1; width: 36px; height: 36px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: var(--tl-node-bg); border: 2px solid var(--tl-line); font-weight: 800; font-size: 14px; color: var(--tl-node-fg); }
.tl.st-concluida .node { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.tl.st-andamento .node { border-color: var(--orange); color: var(--orange); box-shadow: 0 0 0 5px rgba(255,148,30,.18); }
.tl b { display: block; margin-bottom: 6px; font-size: 17px; color: var(--heading); }
.tl p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; gap: 22px; }
  .timeline:before { left: 17px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--tl-line) 0 6px, transparent 6px 12px); }
  .tl { text-align: left; padding: 0 0 0 54px; }
  .tl .node { position: absolute; left: 0; top: 0; margin: 0; }
}
@media (max-width: 600px) {
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .timeline:before { display: none; }
  .tl { display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto auto auto; align-items: start; column-gap: 12px; row-gap: 3px; padding: 0; min-width: 0; }
  .tl .node { position: static; grid-column: 1; grid-row: 1 / span 3; width: 40px; height: 40px; margin: 0; }
  .tl b { grid-column: 2; grid-row: 1; min-width: 0; margin: 0 0 3px; overflow-wrap: anywhere; }
  .tl p { grid-column: 2; grid-row: 2; min-width: 0; margin: 0 0 8px; overflow-wrap: anywhere; }
  .tl .badge { grid-column: 2; grid-row: 3; justify-self: start; }
}

/* ---- Vitrine: cartão de loja ---- */
.vit-top { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 26px; }
.vit-top .panel-head { margin-bottom: 0; }
.stores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.store { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--line-soft); box-shadow: 0 8px 20px rgba(11,39,59,.05); transition: transform .2s, box-shadow .2s; }
.store:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(11,39,59,.12); }
.store-banner { height: 104px; position: relative; }
.store-logo { position: absolute; left: 18px; bottom: -24px; width: 52px; height: 52px; display: grid; place-items: center; overflow: hidden; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line-soft); box-shadow: 0 6px 14px rgba(11,39,59,.12); font-weight: 850; font-size: 18px; color: var(--heading); }
.store-logo img { width: 100%; height: 100%; object-fit: cover; }
.store-body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 36px 18px 18px; }
.store-body b { font-size: 17px; color: var(--heading); }
.store-body .addr { font-size: 13px; line-height: 1.45; color: var(--muted); }
.store-body .dom { font-size: 12px; word-break: break-all; color: var(--faint-2); }
.store-go { margin-top: auto; padding-top: 10px; font-weight: 750; font-size: 14px; color: var(--heading); }
.store-go span { color: var(--orange); }
@media (max-width: 1000px) { .stores { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .stores { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 4px 20px 14px; gap: 14px; scrollbar-width: none; }
  .store { flex: 0 0 78%; scroll-snap-align: start; }
}

/* ---- Faixa final (CTA escuro) ---- */
.final { overflow: hidden; border: 0; text-align: center; color: #fff; background: linear-gradient(135deg, var(--final-from), var(--final-to)); }
.final h2 { color: #fff; }
.final .lead { max-width: 560px; margin: 0 auto 28px; color: rgba(255,255,255,.82); }
.final .cta-o { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 36px; border-radius: 999px; background: var(--pill-bg); color: var(--pill-fg); text-decoration: none; font-weight: 800; font-size: 17px; box-shadow: 0 12px 28px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.4); transition: transform .18s; }
.final .cta-o:hover { transform: translateY(-2px); }
.final .ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); pointer-events: none; }

/* ---- Hero no celular ---- */
@media (max-width: 760px) {
  .doors { grid-template-columns: 1fr; gap: 14px; }
  .door { padding: 20px; }
  .hero-card h1 { letter-spacing: -1.8px; }
}

/* ==========================================================================
   Páginas de venda (agência / loja): hero dividido · chips de produto
   · mini-produtos · pacote · passos
   ========================================================================== */

/* ---- Hero dividido (texto + imagem de produto), fundo azul estrutural ---- */
.hero-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 20px 32px; align-items: center; overflow: hidden; border: 0; text-align: left; color: #fff; background: linear-gradient(135deg, var(--final-from), var(--final-to)); }
.hero-split .eyebrow { color: rgba(255,255,255,.72); }
.hero-split h1 { margin-bottom: 20px; color: #fff; font-size: clamp(36px, 4.6vw, 60px); letter-spacing: -2.4px; }
.hero-split .subtitle { margin: 0 0 28px; max-width: 520px; color: rgba(255,255,255,.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-split .cta.ghost, .on-dark .cta.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.hero-split .cta.ghost:hover, .on-dark .cta.ghost:hover { background: rgba(255,255,255,.1); }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 340px; }
.hero-visual:before { content: ""; position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,148,30,.38), transparent 70%); }
.hero-device { position: relative; display: block; }
.hero-device img { display: block; width: min(100%, 440px); height: auto; filter: drop-shadow(0 26px 30px rgba(0,0,0,.4)); transition: transform .3s; }
.hero-device:hover img { transform: translateY(-4px) scale(1.02); }
.hero-device:focus-visible { outline: 3px solid var(--orange); outline-offset: 6px; border-radius: 16px; }
.hero-tag { position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%); padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px); color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; pointer-events: none; }
.hero-chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-chips > small { margin-right: 4px; font-size: 11.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,.6); }
.chip-prod { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 6px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); color: #fff; text-decoration: none; font-size: 13px; font-weight: 650; transition: background .18s, transform .18s; }
.chip-prod:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.chip-prod img { width: 30px; height: 30px; object-fit: contain; border-radius: 50%; background: rgba(255,255,255,.9); padding: 3px; }

/* ---- Mini-produtos (grade compacta; cada um leva à página do produto) ---- */
.minis { display: grid; grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr)); gap: 14px; }
.mini { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; text-decoration: none; color: inherit; background: linear-gradient(180deg, var(--surface), var(--surface-end)); border: 1px solid var(--line-soft); box-shadow: 0 1px 0 var(--hi) inset, 0 8px 20px rgba(11,39,59,.05); transition: transform .2s, box-shadow .2s; }
.mini:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--hi) inset, 0 16px 32px rgba(11,39,59,.12); }
.mini:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.mini-img { height: 104px; display: grid; place-items: center; padding: 10px; background-color: color-mix(in srgb, var(--tint, var(--surface-soft)) var(--tile-mix), var(--tile-base)); background-image: radial-gradient(var(--dot) 1.2px, transparent 1.4px); background-size: 14px 14px; }
.mini-img img { height: 82px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 6px 10px var(--art-shadow)); transition: transform .3s; }
.mini:hover .mini-img img { transform: scale(1.06); }
.mini-body { padding: 12px 14px 14px; }
.mini-body b { display: block; font-size: 14.5px; line-height: 1.25; color: var(--heading); }
.mini-body span { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.mini-body span i { font-style: normal; color: var(--orange); }
.section-more { margin: 22px 0 0; text-align: center; }
.link-more { display: inline-flex; align-items: center; gap: 8px; color: var(--heading); font-weight: 750; font-size: 15px; text-decoration: none; }
.link-more:hover { text-decoration: underline; }
.link-more i { font-style: normal; color: var(--orange); transition: transform .2s; }
.link-more:hover i { transform: translateX(4px); }

/* ---- Pacote em destaque ---- */
.pack { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.pack .panel-head { margin-bottom: 0; }
.pack-items { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pack-items li { display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 16px; background: var(--surface-soft); color: var(--heading); font-weight: 650; font-size: 14.5px; line-height: 1.3; }
.pack-items img { width: 44px; height: 44px; flex: 0 0 auto; object-fit: contain; border-radius: 12px; background: var(--surface-2); padding: 4px; }
.pack-visual { position: relative; display: block; height: 340px; border-radius: 24px; overflow: hidden; text-decoration: none; background-color: color-mix(in srgb, var(--tint, #fff1e0) var(--tile-mix), var(--tile-base)); background-image: radial-gradient(var(--dot) 1.4px, transparent 1.6px); background-size: 16px 16px; }
.pack-visual img { position: absolute; width: auto; filter: drop-shadow(0 12px 16px var(--art-shadow)); transition: transform .3s; }
.pack-visual .pv-1 { height: 76%; left: 6%; top: 12%; }
.pack-visual .pv-2 { height: 52%; right: 7%; top: 8%; }
.pack-visual .pv-3 { height: 34%; right: 5%; bottom: 6%; }
.pack-visual:hover img { transform: scale(1.03); }
.pack-flag { position: absolute; left: 14px; top: 14px; z-index: 1; padding: 5px 12px; border-radius: 999px; background: var(--orange); color: var(--on-orange); font-size: 12px; font-weight: 800; letter-spacing: .2px; }

/* ---- Passos numerados ---- */
.steps { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 24px 22px; border-radius: 22px; background: var(--surface-note); }
.step:before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px; border-radius: 50%; background: var(--orange); color: var(--on-orange); font-weight: 850; font-size: 16px; }
.step b { display: block; margin-bottom: 6px; font-size: 18px; color: var(--heading); }
.step p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }

@media (max-width: 1000px) {
  .minis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pack { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 240px; }
  .hero-device img { width: min(100%, 320px); }
  .hero-actions .cta { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .pack-items { grid-template-columns: 1fr; }
  .pack-visual { height: 280px; }
}
@media (max-width: 520px) { .minis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- Planos / preços e lista de taxas ---- */
.plans { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 16px; }
.plan { position: relative; padding: 30px 28px 26px; border-radius: 24px; background: linear-gradient(180deg, var(--surface), var(--surface-end)); border: 1px solid var(--line-soft); box-shadow: 0 1px 0 var(--hi) inset, 0 10px 26px rgba(11,39,59,.06); }
.plan.is-featured { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,148,30,.2), 0 14px 30px rgba(11,39,59,.08); }
.plan-flag { position: absolute; top: -12px; left: 24px; padding: 4px 12px; border-radius: 999px; background: var(--orange); color: var(--on-orange); font-size: 12px; font-weight: 800; box-shadow: 0 4px 10px rgba(255,148,30,.35); }
.plan h3 { margin: 0; font-size: 20px; letter-spacing: -.4px; color: var(--heading); }
.plan-sub { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 16px 0 2px; color: var(--heading); }
.price small { font-size: 17px; font-weight: 750; }
.price b { font-size: clamp(36px, 4.2vw, 48px); line-height: 1; letter-spacing: -1.6px; font-weight: 850; }
.price-note { margin: 0; font-size: 14px; color: var(--muted); }
.checks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
.checks li:before { content: ""; flex: 0 0 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f8268' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.rate-list { list-style: none; margin: 14px 0 0; padding: 0; }
.rate-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line-soft); font-size: 15px; color: var(--text-2); }
.rate-list li b { font-size: 20px; font-weight: 850; letter-spacing: -.5px; color: var(--heading); }
.fine { margin: 18px 0 0; text-align: center; font-size: 13px; color: var(--faint); }

/* ---- Itens com ícone (incluso / adicionais) e pílulas ---- */
.feats { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 12px; }
.feat { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border-radius: 18px; background: var(--surface-note); }
.feat .fi { flex: 0 0 40px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--prod-bg); color: var(--prod); }
.feat .fi svg { width: 22px; height: 22px; }
.feat b { display: block; font-size: 15px; line-height: 1.3; color: var(--heading); }
.feat small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 26px; }
.pills > small { font-size: 11.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--faint); }
.pill { padding: 8px 16px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--heading); font-weight: 650; font-size: 14px; }
.sub-title { margin: 34px 0 14px; font-size: 13px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; color: var(--eyebrow); }

/* ---- Complementos de componentes existentes ---- */
.pack-items li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.pack-items .pi { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--surface-2); color: var(--heading); }
.pack-items .pi svg { width: 24px; height: 24px; }
.mini-img .ico { width: 44px; height: 44px; color: var(--heading); stroke-width: 1.5; }
.mini-body small { display: block; margin-top: 3px; font-size: 12px; line-height: 1.4; color: var(--faint); }
div.mini:hover { transform: none; box-shadow: 0 1px 0 var(--hi) inset, 0 8px 20px rgba(11,39,59,.05); }
.chip-prod .ci { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--navy); }
.chip-prod .ci svg { width: 17px; height: 17px; }
.hero-price { margin: -10px 0 26px; font-size: 15px; color: rgba(255,255,255,.82); }
.hero-price b { color: var(--orange-hi); font-weight: 800; }
@media (max-width: 1000px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } .feats { grid-template-columns: 1fr; } }
.minis.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 560px) { .minis.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.price-was { margin: 14px 0 -8px; font-size: 14px; color: var(--muted); }
.price-was s { text-decoration-thickness: 2px; }
.plan-wide { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-top: 16px; }
.plan-wide .price { margin: 0; }

/* ---- Calculadora ---- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc-in, .calc-out { padding: 26px 26px 22px; border-radius: 24px; background: linear-gradient(180deg, var(--surface), var(--surface-end)); border: 1px solid var(--line-soft); box-shadow: 0 1px 0 var(--hi) inset, 0 10px 26px rgba(11,39,59,.06); }
.calc-h { font-size: 13px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; color: var(--eyebrow); margin-bottom: 8px; }
.calc-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line-soft); cursor: text; }
.calc-row b { display: block; font-size: 15px; color: var(--heading); }
.calc-row small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.money { flex: 0 0 168px; display: flex; align-items: center; gap: 6px; padding: 0 14px; height: 48px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.money:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,148,30,.25); }
.money i { font-style: normal; font-weight: 700; color: var(--muted); }
.money input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 17px; font-weight: 750; text-align: right; color: var(--ink); }
.calc-out .rate-list { margin-top: 0; }
.calc-out .rate-list li { padding: 10px 0; font-size: 14.5px; }
.calc-out .rate-list li b, .calc-out .rate-list li span:last-child { font-size: 15px; font-weight: 750; color: var(--heading); }
.calc-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 6px; padding: 16px 18px; border-radius: 16px; background: var(--brand); color: var(--on-brand); }
.calc-total span { font-weight: 700; }
.calc-total b { font-size: clamp(26px, 3vw, 34px); letter-spacing: -1px; font-weight: 850; }
.calc-sub { display: grid; gap: 6px; margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.calc-sub span { display: flex; justify-content: space-between; gap: 10px; }
.calc-sub b { color: var(--heading); }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .calc-row { flex-wrap: wrap; } .money { flex: 1 1 100%; } .calc-in, .calc-out { padding: 22px 18px 18px; } }
.calc-sold { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 0 14px; color: var(--text-2); }
.calc-sold b { font-size: 24px; letter-spacing: -.6px; font-weight: 850; color: var(--heading); }
.calc-out .rate-list { margin-bottom: 12px; }
.calc-out .rate-list i { font-style: normal; }
.calc-total { padding: 20px 20px; }
.calc-total b { font-size: clamp(32px, 3.6vw, 44px); }
.calc-h2 { margin-top: 18px; }
.seg { display: flex; gap: 6px; flex: 0 0 auto; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: grid; place-items: center; min-width: 64px; padding: 7px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-weight: 750; font-size: 14px; color: var(--heading); }
.seg span small { margin: 0; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.seg input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.seg input:checked + span small { color: inherit; opacity: .8; }
.seg input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.calc-nf { flex-wrap: wrap; }
@media (max-width: 480px) { .seg { width: 100%; } .seg label { flex: 1; } }
.plan-tag { display: inline-block; margin-bottom: 8px; padding: 4px 12px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); font-size: 12.5px; font-weight: 800; }
.plan li b { color: var(--heading); }
@media (min-width: 861px) { .calc-out { align-self: start; position: sticky; top: 16px; } }

/* ==========================================================================
   Resultados de busca: cartões de loja/produto e títulos de grupo.
   HTML gerado por ajax/buscar.php + render/card_loja.php + render/card_produto.php.
   Usado em #listaLojas (vitrine) e #results (busca do cabeçalho).
   ========================================================================== */
.vit-group-head { margin-bottom: 14px; }
.vit-group-head h3 { margin: 0 0 4px; font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -.6px; color: var(--heading); }
.vit-group-head small { font-size: 13.5px; color: var(--muted); }
.vit-cards { display: flex; flex-direction: column; gap: 12px; }
.vit-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 48px 16px; text-align: center; color: var(--muted); font-size: 15px; }
.vit-empty b { font-size: 20px; letter-spacing: -.4px; color: var(--heading); }
.vit-empty .vit-chip { margin-top: 6px; }

.vit-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; background: var(--brand); color: var(--on-brand); text-decoration: none; font-weight: 750; font-size: 14px; white-space: nowrap; transition: background .18s, transform .18s; }
.vit-btn:hover { background: var(--brand-hover); transform: translateY(-1px); }
.vit-btn svg { width: 17px; height: 17px; }
.vit-btn.is-ghost { background: var(--surface-2); color: var(--heading); box-shadow: inset 0 0 0 1.5px var(--line); }
.vit-btn.is-ghost:hover { background: var(--surface-hover); }

/* Cartão de loja */
.vit-store { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line-soft); box-shadow: 0 8px 20px rgba(11,39,59,.05); transition: transform .2s, box-shadow .2s; }
.vit-store:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(11,39,59,.1); }
.vit-store-logo { flex: 0 0 72px; width: 72px; height: 72px; display: grid; place-items: center; overflow: hidden; border-radius: 18px; background: var(--surface-soft); border: 1px solid var(--line-soft); color: var(--heading); font-weight: 850; font-size: 26px; }
.vit-store-logo img { width: 100%; height: 100%; object-fit: cover; }
.vit-store-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.vit-store-name { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.3px; color: var(--heading); overflow-wrap: anywhere; }
.vit-meta { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.vit-meta svg { width: 15px; height: 15px; flex: 0 0 auto; color: var(--red-orange); }
.vit-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.vit-tag { padding: 3px 10px; border-radius: 999px; background: var(--surface-soft); color: var(--text-2); font-size: 12px; font-weight: 700; }
.vit-store-side { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.vit-dist { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--muted); }
.vit-dist svg { width: 15px; height: 15px; color: var(--red-orange); }

/* Cartão de produto */
.vit-prod { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto 250px; gap: 18px; align-items: center; padding: 16px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line-soft); box-shadow: 0 8px 20px rgba(11,39,59,.05); }
.vit-prod-photo { width: 112px; height: 112px; border-radius: 16px; overflow: hidden; background: var(--surface-soft); }
.vit-prod-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vit-prod-info { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.vit-prod-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 17px; font-weight: 800; letter-spacing: -.3px; color: var(--heading); }
.vit-prod-opts { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.vit-opt-group { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.vit-opt-group > small { font-size: 12px; font-weight: 700; color: var(--muted); }
.vit-opt-row { display: flex; flex-wrap: wrap; gap: 6px; }
.vit-opt-group:has(> .vit-opt-row:empty) { display: none; } /* ex.: opções ainda não montadas pelo JS (busca do cabeçalho) */
.label-produto { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 28px; padding: 0 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); color: var(--heading); font: inherit; font-size: 12.5px; font-weight: 700; transition: .15s; }
button.label-produto, div.label-produto[data-produto-id] { cursor: pointer; }
.label-produto:hover { border-color: var(--heading); }
.label-produto.btnAtivo { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.label-produto.vit-swatch { width: 28px; padding: 0; }
.label-produto.vit-swatch.btnAtivo { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--brand); }
.vit-prod-price { display: flex; flex-direction: column; gap: 2px; white-space: nowrap; }
.vit-prod-price .vit-meta { margin-bottom: 4px; }
.produtoPreco { font-size: 26px; font-weight: 850; letter-spacing: -.8px; color: var(--heading); }
.produtoParcelas { font-size: 13.5px; color: var(--muted); }
.produtoPix { display: flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 700; color: var(--ok); }
.produtoParcelas:empty, .produtoPix:empty { display: none; }
.vit-pix-ico { width: 15px; height: 15px; flex: 0 0 auto; }
.vit-prod-shop { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 16px; background: var(--surface-note); }
.vit-shop-id { display: flex; align-items: center; gap: 10px; min-width: 0; }
.vit-shop-id img { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.vit-shop-id > div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vit-shop-name { font-size: 13.5px; font-weight: 700; color: var(--heading); overflow-wrap: anywhere; }
.vit-prod-actions { display: flex; gap: 8px; }
.vit-prod-actions .vit-btn { flex: 1; min-height: 40px; padding: 0 12px; }


@media (max-width: 1100px) {
  .vit-prod { grid-template-columns: 112px minmax(0, 1fr); }
  .vit-prod-price, .vit-prod-shop { grid-column: 1 / -1; }
  .vit-prod-price { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
  .vit-prod-price .vit-meta { width: 100%; margin: 0; }
  .vit-prod-shop { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .vit-store { flex-wrap: wrap; }
  .vit-store-logo { flex-basis: 60px; width: 60px; height: 60px; font-size: 22px; }
  .vit-store-side { flex: 1 1 100%; flex-direction: row; align-items: center; justify-content: space-between; }
  .vit-prod { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .vit-prod-photo { width: 88px; height: 88px; }
  .vit-prod-shop { flex-direction: column; align-items: stretch; }
}

/* ---- Variante compacta: painel flutuante da busca do cabeçalho (#results) ---- */
#results .vit-group { margin-top: 4px; }
#results .vit-group-head { margin: 12px 4px 8px; }
#results .vit-group-head h3 { font-size: 16px; letter-spacing: -.2px; }
#results .vit-group-head small { font-size: 12.5px; }
#results .vit-cards { gap: 8px; }
#results .vit-store, #results .vit-prod { padding: 10px; border-radius: 16px; gap: 12px; box-shadow: none; }
#results .vit-store:hover { transform: none; box-shadow: none; background: var(--surface-hover); }
#results .vit-store-logo { flex-basis: 52px; width: 52px; height: 52px; border-radius: 14px; font-size: 20px; }
#results .vit-store-name { font-size: 15px; }
#results .vit-btn { min-height: 36px; padding: 0 14px; font-size: 13px; }
#results .vit-prod { grid-template-columns: 64px minmax(0, 1fr); }
#results .vit-prod-photo { width: 64px; height: 64px; border-radius: 12px; }
#results .vit-prod-price, #results .vit-prod-shop { grid-column: 1 / -1; }
#results .vit-prod-price { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
#results .vit-prod-price .vit-meta { width: 100%; margin: 0; }
#results .produtoPreco { font-size: 20px; }
#results .vit-prod-shop { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 10px; }
#results .vit-empty { padding: 24px 12px; }
@media (max-width: 760px) {
  #results .vit-store { flex-wrap: nowrap; }
  #results .vit-store-side { flex: 0 0 auto; flex-direction: column; align-items: flex-end; }
  #results .vit-store-logo { flex-basis: 46px; width: 46px; height: 46px; }
  #results .vit-prod-shop { flex-direction: column; align-items: stretch; }
}
