/* HUB de Ofertas: páginas públicas (landing e vendas). Mesma identidade do painel:
   Onest no texto, Bricolage Grotesque estreita nos títulos e números, azul cobalto na ação, âmbar na etiqueta.
   Os tokens repetem os de panel/src/styles.css; se mudar a marca lá, mude aqui. */
@font-face { font-family: "Onest"; src: url("/fonts/onest.woff2") format("woff2-variations"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("/fonts/bricolage.woff2") format("woff2-variations"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }

:root {
  --bg: #f5f6f9; --surface: #ffffff; --surface-2: #eef0f6; --ink: #11131a; --ink-2: #565e70; --line: #e3e6ed; --line-strong: #d0d5df;
  --brand: #3346d3; --brand-text: #2c3cbd; --brand-soft: #e9edfd; --btn-ink: #ffffff;
  --tag: #f5a524; --live: #0e9f6e; --live-ink: #087553; --live-soft: #e0f5ec;
  --night: #0a0e2b; --night-2: #10163f; --night-ink: #ffffff; --night-ink-2: #c4cbf3; --night-line: rgba(255, 255, 255, 0.12);
  --grad-brand: linear-gradient(135deg, #2a39c2 0%, #3d52e6 55%, #6578f7 100%);
  --grad-hero: radial-gradient(90% 120% at 12% 0%, #2a37a8 0%, transparent 55%), radial-gradient(80% 110% at 100% 100%, #1b2a8f 0%, transparent 60%), linear-gradient(160deg, #10163f, #0a0e2b);
  --shadow-1: 0 1px 2px rgba(17, 19, 26, 0.05); --shadow-2: 0 14px 34px -12px rgba(17, 19, 26, 0.18); --shadow-3: 0 34px 80px -20px rgba(4, 8, 40, 0.6);
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Bricolage", "Onest", system-ui, sans-serif;
  --r-sm: 9px; --r-md: 14px; --r-lg: 22px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d14; --surface: #141824; --surface-2: #1a1f2d; --ink: #e8ebf2; --ink-2: #9aa3b5; --line: #232937; --line-strong: #323a4d;
    --brand: #8496f8; --brand-text: #adb9fc; --brand-soft: #1b2250; --btn-ink: #0b0d14;
    --live: #34c38f; --live-ink: #5fd6a4; --live-soft: #10312a;
    --grad-brand: linear-gradient(135deg, #6f82f6 0%, #8a9afa 60%, #a9b5fd 100%);
    --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4); --shadow-2: 0 14px 34px -12px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--brand-text); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.night :focus-visible, .top :focus-visible { outline-color: #ffffff; }
h1, h2, h3, .num { font-family: var(--display); font-stretch: 80%; font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(38px, 6.2vw, 68px); font-stretch: 76%; font-weight: 760; }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 19px; font-stretch: 88%; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; padding: 10px 14px; background: #fff; color: #11131a; border-radius: var(--r-sm); font-weight: 600; }
.skip:focus { top: 8px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 12px; border: 1px solid transparent;
  background: var(--grad-brand); color: var(--btn-ink); font: 650 16px/1.2 var(--font); text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 26px -10px rgba(51, 70, 211, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2); transition: transform 0.15s var(--ease), filter 0.15s; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.07); }
.btn:active { transform: scale(0.98); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); box-shadow: none; }
.btn.ghost:hover { background: var(--surface); }
.night .btn.ghost, .top .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.night .btn.ghost:hover, .top .btn.ghost:hover { background: rgba(255, 255, 255, 0.08); }
.night .btn:not(.ghost) { background: #ffffff; color: #141a4d; box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.6); }
.btn.sm { min-height: 40px; padding: 8px 16px; font-size: 14.5px; }

/* Topo: fica sobre o herói escuro */
.top { position: sticky; top: 0; z-index: 20; background: rgba(10, 14, 43, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--night-line); color: #fff; }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--display); font-stretch: 80%; font-weight: 500; font-size: 19px; white-space: nowrap; }
.logo b { font-weight: 800; font-stretch: 75%; font-size: 22px; }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { color: var(--night-ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.top nav a:hover { color: #fff; }
.top .acts { display: flex; gap: 8px; }
@media (max-width: 820px) { .top nav { display: none; } .top .acts { margin-left: auto; } .top .acts .ghost { display: none; } }

/* Herói: o plano escuro da marca, com malha técnica e a demonstração do produto */
.night { position: relative; isolation: isolate; overflow: hidden; background: var(--grad-hero); color: var(--night-ink); }
.night::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px); background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(80% 90% at 70% 20%, #000 0%, transparent 75%); mask-image: radial-gradient(80% 90% at 70% 20%, #000 0%, transparent 75%); }
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 48px; align-items: center; padding-block: 72px 84px; }
.hero p.sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--night-ink-2); max-width: 54ch; margin: 20px 0 28px; }
.hero .row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .note { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14.5px; color: var(--night-ink-2); }
.hero .note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18); flex: none; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 48px 56px; } }

/* Demonstração: como a oferta chega no grupo e o que o painel mostra. É ilustração, e a legenda diz isso */
.demo { position: relative; display: grid; gap: 14px; }
.demo-card { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow-3), inset 0 1px 0 rgba(255, 255, 255, 0.12); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.demo-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13.5px; color: var(--night-ink-2); margin-bottom: 12px; }
.demo-head b { color: #fff; font-weight: 600; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: rgba(52, 211, 153, 0.16); color: #6ee7b7; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.bubble { background: #fff; color: #11131a; border-radius: 4px 16px 16px 16px; padding: 12px 14px 8px; font-size: 14.5px; line-height: 1.4; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.55); }
.bubble + .bubble { margin-top: 10px; margin-left: 26px; }
.bubble b { font-weight: 650; }
.bubble .price { display: block; font-family: var(--display); font-stretch: 78%; font-weight: 760; font-size: 23px; color: #087553; line-height: 1.2; }
.bubble s { color: #6b7280; }
.bubble .lnk { color: #2c3cbd; text-decoration: underline; }
.bubble time { display: block; text-align: right; font-size: 11.5px; color: #6b7280; }
.queue { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.queue li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); font-size: 14px; }
.queue li span:last-child { color: var(--night-ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.demo-note { font-size: 13px; color: var(--night-ink-2); }
@media (prefers-reduced-motion: no-preference) {
  .demo > * { animation: rise 0.7s var(--ease) both; }
  .demo > *:nth-child(2) { animation-delay: 0.12s; }
  .demo > *:nth-child(3) { animation-delay: 0.22s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
}

/* Faixa de lojas e canais */
.strip { border-bottom: 1px solid var(--line); background: var(--surface); }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; padding-top: 18px; padding-bottom: 18px; }
.strip span { font-size: 14px; color: var(--ink-2); }
.strip ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; font-weight: 600; font-size: 15px; }

/* Seções */
section.block { padding: 84px 0; }
section.block.tint { background: var(--surface); border-block: 1px solid var(--line); }
.block .lead { color: var(--ink-2); font-size: 18px; max-width: 62ch; margin: 14px 0 40px; }
@media (max-width: 700px) { section.block { padding: 56px 0; } .block .lead { font-size: 17px; margin-bottom: 28px; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; box-shadow: var(--shadow-1); }
.tint .card { background: var(--bg); }
.card p { color: var(--ink-2); margin-top: 8px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* Antes e depois: o problema e o que muda */
.swap { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-1); }
.swap > div { padding: 28px; }
.swap > div + div { border-left: 1px solid var(--line); background: linear-gradient(180deg, var(--brand-soft), transparent 70%); }
.swap h3 { margin-bottom: 14px; }
.swap ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; color: var(--ink-2); }
.swap li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.swap li::before { content: "–"; color: var(--ink-2); font-weight: 700; text-align: center; }
.swap .yes li { color: var(--ink); }
.swap .yes li::before { content: "✓"; color: var(--live-ink); }
@media (max-width: 760px) { .swap { grid-template-columns: 1fr; } .swap > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* Benefícios: um destaque largo e três de apoio */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bento .wide { grid-column: span 2; background: var(--grad-hero); color: #fff; border-color: transparent; box-shadow: var(--shadow-2); }
.bento .wide p { color: var(--night-ink-2); max-width: 46ch; }
.bento .wide h3 { font-size: 26px; font-stretch: 80%; }
.bento .wide.plain { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-1); }
.tint .bento .wide.plain { background: var(--bg); }
.bento .wide.plain h3 { font-size: 19px; font-stretch: 88%; }
.bento .wide.plain p { color: var(--ink-2); }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr; } .bento .wide { grid-column: auto; } }

/* Passos (sequência de verdade: por isso numerados) */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-text); font: 760 19px/1 var(--display); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Garantia */
.guard { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 30px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid color-mix(in srgb, var(--live) 45%, var(--line)); box-shadow: var(--shadow-1); }
.seal { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--live-soft); color: var(--live-ink); text-align: center; font: 600 13px/1.05 var(--font); border: 1px solid color-mix(in srgb, var(--live) 40%, transparent); }
.seal b { display: block; font: 780 32px/1 var(--display); }
.guard p { color: var(--ink-2); margin-top: 6px; max-width: 60ch; }
@media (max-width: 760px) { .guard { grid-template-columns: 1fr; justify-items: start; padding: 22px; } }

/* Planos */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.plan.hot { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow-2); }
.plan .tagline { display: inline-block; align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-text); font-size: 12.5px; font-weight: 650; }
.price { font: 780 40px/1.1 var(--display); font-stretch: 78%; letter-spacing: -0.02em; margin-top: 8px; }
.price small { font: 400 15px var(--font); color: var(--ink-2); letter-spacing: 0; }
.plan .year { font-size: 14px; color: var(--ink-2); }
.plan ul { list-style: none; margin: 14px 0 20px; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; color: var(--ink-2); font-size: 15px; }
.plan li::before { content: "✓"; color: var(--live-ink); font-weight: 700; margin-right: 8px; }
.plan .btn { margin-top: auto; }
.fine { font-size: 14.5px; color: var(--ink-2); margin-top: 18px; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* Calculadora de tempo */
.calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 28px; align-items: center; }
.calc label { display: block; font-weight: 600; font-size: 15px; margin: 18px 0 6px; }
.calc label:first-child { margin-top: 0; }
input[type="range"] { width: 100%; height: 28px; accent-color: var(--brand); }
.out { text-align: center; padding: 28px 20px; border-radius: var(--r-md); background: var(--bg); border: 1px solid var(--line); }
.out .big { font: 780 64px/1 var(--display); font-stretch: 76%; color: var(--brand-text); letter-spacing: -0.03em; }
.out p { color: var(--ink-2); margin-top: 6px; }
@media (max-width: 760px) { .calc { grid-template-columns: 1fr; } }

/* Tabela comparativa */
.tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-1); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
thead th { font-size: 14px; color: var(--ink-2); font-weight: 600; background: var(--surface-2); }
tbody th { font-weight: 600; }
tbody tr:last-child > * { border-bottom: 0; }
td.y { color: var(--live-ink); font-weight: 650; } td.n { color: var(--ink-2); }

/* Perguntas */
.faq { display: grid; gap: 10px; max-width: 820px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 4px 20px; }
summary { cursor: pointer; font-weight: 650; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 500 22px/1 var(--display); color: var(--ink-2); transition: transform 0.2s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-2); padding: 0 0 16px; max-width: 68ch; }

/* Chamada final e rodapé */
.cta { text-align: center; padding: 84px 20px; }
.cta p { color: var(--night-ink-2); font-size: 18px; margin: 14px auto 28px; max-width: 52ch; }
footer { padding: 36px 0 56px; color: var(--ink-2); font-size: 14.5px; }
footer .wrap { display: grid; gap: 14px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
footer nav a { color: var(--ink-2); padding: 6px 0; display: inline-block; }
footer small { font-size: 13.5px; max-width: 90ch; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
