/* Hermit · protótipos "buraco negro" — tokens no formato do shadcn (new-york), tema preto + laranja. */
:root {
  --background: #030607; --foreground: #e9f6fc;
  --card: #080d0f; --card-foreground: #e9f6fc;
  --primary: #1ab6ff; --primary-foreground: #ffffff;
  --secondary: #0b1418; --secondary-foreground: #e9f6fc;
  --muted: #0b1418; --muted-foreground: #7fa3b3;
  --accent: #45c4ff; --accent-foreground: #ffffff;
  --border: rgba(150, 222, 255, .12); --input: rgba(150, 222, 255, .18); --ring: #1ab6ff;
  --radius: .625rem;
  --ember: #00aeff; --hot: #a8e3ff; --glow: rgba(26, 182, 255, .55);
  --font-sans: Geist, Inter, system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--background); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--background); color: var(--foreground); font: 400 16px/1.6 var(--font-sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.03em; text-wrap: balance; line-height: 1.05; }
h2 { font-size: clamp(30px, 4.6vw, 54px); }
h3 { font-size: 19px; letter-spacing: -.02em; }
em { font: italic 1.06em/1 var(--font-serif); color: var(--accent); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.muted { color: var(--muted-foreground); }
.kick { display: block; font: 600 12px/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--primary); margin-bottom: 16px; }
.head { max-width: 720px; display: grid; gap: 14px; margin-bottom: 44px; }
.head p { color: var(--muted-foreground); font-size: 17px; max-width: 60ch; }
.head.center { margin-inline: auto; text-align: center; justify-items: center; }
.tabular { font-variant-numeric: tabular-nums; }

/* ── Botões: mesmo estilo do painel e do login (pílula, azul sólido, texto branco, brilho azul) ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px; font: 600 13.5px/1 var(--font-sans); border: 1px solid transparent; cursor: pointer; white-space: nowrap; user-select: none; transition: all .15s ease; }
.btn:focus-visible { outline: 2px solid rgba(26, 182, 255, .7); outline-offset: 2px; }
.btn-primary { background: linear-gradient(180deg, #2bbcff, #0b86da); color: #fff; text-shadow: 0 1px 2px rgba(0, 25, 50, .4); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn-primary:hover { background: linear-gradient(180deg, #45c6ff, #1096ec); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); transform: translateY(-1px); }
.btn-primary:active, .btn-outline:active { transform: translateY(.5px); }
.btn-outline { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: var(--foreground); }
.btn-outline:hover { background: rgba(26, 182, 255, .12); border-color: rgba(255, 255, 255, .2); color: #fff; transform: translateY(-.5px); }
.btn-ghost { color: var(--muted-foreground); }
.btn-ghost:hover { color: var(--foreground); background: rgba(255, 255, 255, .06); }
.btn-lg { height: 46px; padding: 0 22px; font-size: 15px; }
.btn-sm { height: 34px; padding: 0 13px; font-size: 13px; }
.btn-block { width: 100%; }

/* ── Badge / Card / Separator ── */
.badge { display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255, 255, 255, .03); color: var(--muted-foreground); font: 500 12px var(--font-sans); letter-spacing: .02em; white-space: nowrap; }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 10px var(--primary); }
.badge-primary { background: rgba(26, 182, 255, .12); border-color: rgba(26, 182, 255, .4); color: var(--accent); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: calc(var(--radius) + 6px); padding: 24px; }
.separator { height: 1px; background: var(--border); }

/* ── Nav ── */
header.nav { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
header.nav.is-scrolled { background: #050607; border-color: var(--border); }
header.nav .wrap { height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
header.nav .logo { justify-self: start; }
header.nav .nav-actions { justify-self: end; }
.logo img { height: 22px; width: auto; filter: invert(1) brightness(1.05); }
header.nav nav { display: flex; gap: 2px; padding: 4px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255, 255, 255, .02); }
header.nav nav a { padding: 6px 14px; border-radius: 999px; font-size: 13.5px; color: var(--muted-foreground); }
header.nav nav a:hover { color: var(--foreground); background: rgba(255, 255, 255, .06); }
.nav-actions { display: flex; gap: 8px; }
@media (max-width: 820px) {
  header.nav nav { display: none; }
  header.nav .wrap { grid-template-columns: 1fr auto; }
  header.nav.is-scrolled { background: #050607; }
}

/* ── Sections ── */
section.block { padding: 110px 0; }
@media (max-width: 820px) { section.block { padding: 72px 0; } }

/* ── Stats ── */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { padding: 26px 24px; border-radius: calc(var(--radius) + 6px); border: 1px solid var(--border); background: linear-gradient(180deg, rgba(26, 182, 255, .06), transparent 60%), var(--card); }
.stat b { display: block; font: 600 clamp(38px, 5vw, 56px)/1 var(--font-sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--hot); }
.stat span { display: block; margin-top: 10px; color: var(--muted-foreground); font-size: 14.5px; }
.stat { position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(26, 182, 255, .2) 50%, transparent 65%); transform: translateX(-110%); }
.stat.is-lit::before { transform: translateX(110%); transition: transform 1.8s cubic-bezier(.2, .7, .2, 1) .2s; }
.stat::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--primary), transparent); transform: scaleX(0); transition: transform 1.6s cubic-bezier(.2, .7, .2, 1) .3s; }
.stat.is-lit::after { transform: scaleX(1); }
.stat b { transform-origin: left center; }
.stat b.is-done { animation: stat-pop .9s ease-out; }
@keyframes stat-pop { 0% { text-shadow: 0 0 0 rgba(26, 182, 255, 0); } 35% { text-shadow: 0 0 30px rgba(26, 182, 255, .85); transform: scale(1.05); } 100% { text-shadow: 0 0 0 rgba(26, 182, 255, 0); transform: scale(1); } }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr; } }

/* ── Steps ── */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px 24px 24px; }
.step .n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(26, 182, 255, .5); color: var(--accent); font: 600 13px var(--font-sans); box-shadow: 0 0 24px -6px var(--glow); }
.step p { color: var(--muted-foreground); font-size: 14.5px; }
.step .chip, .step .chip-step { margin-top: auto; align-self: flex-start; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--border); font-size: 12.5px; color: #bcd0d9; }
@media (max-width: 1000px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps-grid { grid-template-columns: 1fr; } }

/* ── Plans ── */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: 22px; border: 1px solid var(--border); background: linear-gradient(180deg, #071014, #05090a); }
.plan.is-featured { border-color: rgba(26, 182, 255, .55); background: radial-gradient(80% 50% at 50% 0%, rgba(26, 182, 255, .22), transparent 70%), linear-gradient(180deg, #061217, #05090a); }
.plan { position: relative; }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
/* "Mais escolhido": selo centralizado em cima do cartão em destaque. */
.plan-flag { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); padding: 5px 14px; border-radius: 999px; white-space: nowrap;
  background: linear-gradient(180deg, #2bbcff, #0b86da); color: #fff; font: 600 12px/1 var(--font-sans); letter-spacing: .02em;
  box-shadow: none; }
.plan-price { white-space: nowrap; }
@media (max-width: 520px) { .plan-price { font-size: 36px; } .plan-price small { font-size: 13px; } }
.plan-eq { margin-top: -10px; font-size: 13px; color: var(--muted-foreground); }
.plan-eq s { opacity: .7; }
/* Mensal / Trimestral */
.cycle { display: flex; justify-content: center; margin: -18px 0 34px; }
.cycle-toggle { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255, 255, 255, .03); }
.cycle-toggle button { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--muted-foreground); font: 600 14px var(--font-sans); cursor: pointer; transition: background .2s, color .2s; }
.cycle-toggle button.active { background: linear-gradient(180deg, #2bbcff, #0b86da); color: #fff; }
.cycle-off { padding: 2px 7px; border-radius: 999px; font-size: 11px; font-weight: 700; background: rgba(64, 217, 133, .16); color: #40d985; }
.cycle-toggle button.active .cycle-off { background: rgba(255, 255, 255, .22); color: #fff; }
.plan-desc { color: var(--muted-foreground); font-size: 14px; }
.plan-price { font: 600 46px/1 var(--font-sans); letter-spacing: -.04em; color: var(--hot); }
.plan-price small { font: 500 14px var(--font-sans); color: var(--muted-foreground); letter-spacing: 0; margin-left: 4px; }
.plan-price .cur { font: 600 16px var(--font-sans); color: var(--muted-foreground); letter-spacing: 0; vertical-align: 14px; margin-right: 2px; }
.plan-price .cents { font: 600 18px var(--font-sans); color: var(--muted-foreground); letter-spacing: 0; }
.plan-nets { display: flex; flex-wrap: nowrap; justify-content: flex-start; align-items: center; gap: 5px; }
.plan-nets span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px 4px 6px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255, 255, 255, .03); font: 500 12px var(--font-sans); color: #cfd8e3; white-space: nowrap; flex: none; }
.plan ul { list-style: none; display: grid; gap: 10px; color: #ccdfe7; font-size: 14.5px; }
.plan li { display: flex; align-items: center; gap: 10px; }
.plan li::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; background: rgba(34, 197, 94, .16) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2340d985' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 14L8.5 17.5L19 6.5'/></svg>") center / 10px no-repeat; }
.plan li b { color: #fff; font-weight: 600; }
/* Plataformas: bloco abaixo das vantagens, uma por linha com logo + nome */
.plan-nets-title { margin-top: 2px; font: 600 11px var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-foreground); }
.plan-nets-list { margin-top: -8px; }
.plan li.li-nets::before { display: none; }
.plan li.li-nets { gap: 10px; }
.nets-ico { display: inline-flex; align-items: center; justify-content: center; width: 16px; flex: none; }
.nets-ico svg { width: 16px; height: 16px; }
.plan .btn { margin-top: auto; }
.price-note { margin-top: 18px; text-align: center; font-size: 13px; color: var(--muted-foreground); }
@media (max-width: 900px) {
  /* Celular: fileira deslizável, abre com o plano em destaque no centro. */
  .plans { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 22px 7% 10px; margin-inline: -20px; scrollbar-width: none; }
  .plans::-webkit-scrollbar { display: none; }
  .plan { flex: 0 0 min(86%, 420px); scroll-snap-align: center; }
}

/* ── Footer ── */
footer { border-top: 1px solid var(--border); padding: 32px 0 calc(32px + env(safe-area-inset-bottom, 0px)); color: var(--muted-foreground); font-size: 13.5px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
footer a:hover { color: var(--foreground); }

/* ── Motion safety ── */
html.reduce *, html.reduce *::before, html.reduce *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
html.reduce { scroll-behavior: auto; }
