/* ── Kingdom Download — layout estilo Kiva, cores da Kingdom ──────────── */
:root {
  --blue:      #00a8ff;
  --blue-dark: #0288d1;
  --blue-deep: #0b1b2b;
  --ink:       #0d1420;
  --ink-soft:  #46586b;
  --line:      #e6ecf2;
  --bg:        #ffffff;
  --bg-soft:   #f4f8fb;
  --card:      #0e1926;
  --radius:    26px;
  --shadow:    0 24px 60px rgba(9, 41, 71, 0.12);
  --zoom:      1;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* Zoom padrão do site (= zoom 110% do navegador), só de tablet pra cima.
   Para mudar, altere os dois valores abaixo (--zoom compensa larguras em vw). */
@media (min-width: 768px) {
  :root { --zoom: 1.1; }
  html { zoom: 1.1; }
}

body {
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

/* Títulos numa família de fonte diferente do corpo */
.hero h1, .section-head h2, .notice h2, .app-card h3, .feat h3,
.page-hero h1, .tut-step h3, .tut-step .n {
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
}

section[id] { scroll-margin-top: 110px; }

.wrap { width: min(1120px, calc(92vw / var(--zoom))); margin: 0 auto; }

a { color: inherit; text-decoration: none; }

/* ── Header flutuante (pílula) ───────────────────────────────────────── */
.header {
  position: sticky; top: 18px; z-index: 50;
  width: min(1120px, calc(92vw / var(--zoom))); margin: 18px auto 0;
}
.nav {
  display: flex; align-items: center; gap: 28px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 14px 12px 22px;
  box-shadow: 0 10px 30px rgba(9, 41, 71, 0.08);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand span { color: var(--blue); }
.nav-links { display: flex; gap: 26px; margin-left: 8px; }
.nav-links a { color: var(--ink-soft); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--blue); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 15px; cursor: pointer;
  border: none; border-radius: 999px; padding: 12px 22px;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-ghost { background: var(--bg-soft); color: var(--ink); border: 1px solid var(--line); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(0, 168, 255, 0.35); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1c2a3c; }
.btn .arrow {
  display: inline-grid; place-items: center;
  width: 26px; height: 26px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.18); font-size: 14px;
}
.btn-dark .arrow { background: var(--blue); }
.btn-lg { padding: 16px 30px; font-size: 17px; }
.btn-whats { background: #25d366; color: #fff; box-shadow: 0 10px 24px rgba(37, 211, 102, 0.3); }
.btn-whats:hover { background: #1ebe5a; }
.btn .btn-ico { width: 18px; height: 18px; flex: none; }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 80px 0 120px;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 300px;
  background: linear-gradient(180deg, transparent, rgba(0, 168, 255, 0.14) 60%, rgba(0, 168, 255, 0.22));
  z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 510px minmax(0, 1fr); gap: 40px; align-items: center; }
/* A demo avança na margem direita da página quando há espaço (até 100px). */
.hero-grid .demo { margin-right: calc(-1 * clamp(0px, calc((100vw / var(--zoom) - 1120px) / 2 - 24px), 100px)); }
.pill-label {
  display: inline-block; font-size: 14px; color: var(--ink-soft); font-weight: 600;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 54px); line-height: 1.05; letter-spacing: -0.02em;
  font-weight: 800; margin: 22px 0 18px;
}
.hero h1 .hl { color: var(--blue); }
.hero p.lead { font-size: 18px; color: var(--ink-soft); max-width: 460px; }
.hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--ink-soft); }
.hero-note b { color: var(--ink); }

/* Print real do app à direita (janela estilizada) */
.shot { position: relative; }
.shot-frame {
  background: #0e1926; border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, 0.08);
}
.shot-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: #0a121c; border-bottom: 1px solid rgba(255,255,255,.06);
}
.shot-bar .tl { width: 11px; height: 11px; border-radius: 999px; background: #33465a; }
.shot-bar .tl:nth-child(1) { background: #ff5f57; }
.shot-bar .tl:nth-child(2) { background: #febc2e; }
.shot-bar .tl:nth-child(3) { background: #28c840; }
.shot-bar .shot-title { margin-left: 8px; color: #8aa1b6; font-size: 13px; font-weight: 600; }
.shot-frame img { display: block; width: 100%; height: auto; }
.shot-bar .shot-title .t-steam { display: none; }

/* ── Demo animada do topo (VPS → Steam) ─────────────────────────────── */
.demo-steps { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.demo-steps span {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 5px;
  font-size: 13px; font-weight: 700; color: var(--ink-soft);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  transition: color .3s, border-color .3s, box-shadow .3s;
}
.demo-steps i {
  font-style: normal; width: 20px; height: 20px; border-radius: 999px; display: grid; place-items: center;
  font-size: 11px; background: var(--bg-soft); color: var(--ink-soft); transition: background .3s, color .3s;
}
.demo[data-step="1"] .demo-steps [data-step="1"],
.demo[data-step="2"] .demo-steps [data-step="2"],
.demo[data-step="3"] .demo-steps [data-step="3"] { color: var(--ink); border-color: rgba(0, 168, 255, .45); box-shadow: 0 6px 16px rgba(0, 168, 255, .18); }
.demo[data-step="1"] .demo-steps [data-step="1"] i,
.demo[data-step="2"] .demo-steps [data-step="2"] i { background: var(--blue); color: #fff; }
.demo[data-step="2"] .demo-steps [data-step="1"] i,
.demo[data-step="3"] .demo-steps [data-step="1"] i,
.demo[data-step="3"] .demo-steps [data-step="2"] i,
.demo[data-step="3"] .demo-steps [data-step="3"] i { background: #28c840; color: #fff; }
.demo[data-stage="steam"] .shot-title .t-vps { display: none; }
.demo[data-stage="steam"] .shot-title .t-steam { display: inline; }

.demo-viewport { position: relative; aspect-ratio: 560 / 380; overflow: hidden; background: #06080c; }
.demo-canvas {
  position: absolute; left: 0; top: 0; width: 560px; height: 380px; transform-origin: 0 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif; transition: opacity .45s ease;
}
.demo.is-out .demo-canvas { opacity: 0; }
.scr { position: absolute; inset: 0; transition: opacity .5s ease, transform .5s ease; }
.scr-steam { opacity: 0; transform: scale(.98); }
.demo[data-stage="steam"] .scr-vps { opacity: 0; transform: scale(1.02); }
.demo[data-stage="steam"] .scr-steam { opacity: 1; transform: none; }

/* Tela do Kingdom VPS */
.scr-vps {
  display: flex; flex-direction: column; color: #fff;
  background: radial-gradient(70% 55% at 50% 38%, #0d1c2c 0%, #06080c 72%);
}
.vps-top { height: 38px; flex: none; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.vps-pill { font-size: 11px; font-weight: 700; color: #6ccfff; background: rgba(0, 168, 255, .08); border: 1px solid rgba(0, 168, 255, .4); border-radius: 999px; padding: 3px 12px; }
.vps-hero { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.vps-rail { position: absolute; top: 26px; bottom: 26px; width: 1px; background: linear-gradient(transparent, rgba(255, 255, 255, .22), transparent); }
.vps-rail.l { left: 84px; }
.vps-rail.r { right: 84px; }
.vps-hero h4 { font-family: "Space Grotesk", sans-serif; font-size: 33px; line-height: 1.05; font-weight: 700; letter-spacing: -.02em; }
.vps-sub { font-size: 12px; color: #7d8a99; margin-top: 8px; }
.vps-label { font-size: 12px; font-weight: 700; color: #e6edf5; margin-top: 18px; }
.vps-btn {
  margin-top: 9px; width: 196px; padding: 10px 0; border-radius: 999px; border: 1px solid transparent;
  background: linear-gradient(180deg, #16b2ff, #0090dd); font-size: 13px; font-weight: 700;
  box-shadow: 0 0 24px rgba(0, 168, 255, .45); transition: transform .15s ease, background .3s, box-shadow .3s, color .3s;
}
.demo.is-pressed .vps-btn { transform: scale(.95); }
.demo.is-connected .vps-btn { background: #0d2133; border-color: rgba(0, 168, 255, .35); color: #8fdcff; box-shadow: none; }
.vps-status { display: flex; align-items: center; gap: 6px; height: 16px; margin-top: 9px; font-size: 11px; color: #7d8a99; }
.vps-check { display: none; width: 14px; height: 14px; border-radius: 999px; background: #28c840; color: #fff; font-size: 9px; place-items: center; }
.demo.is-connected .vps-check { display: inline-grid; }
.demo.is-connected .vps-msg { color: #5ee38a; font-weight: 700; }
.vps-foot { height: 56px; flex: none; display: flex; align-items: center; gap: 10px; padding: 0 12px; background: #080b10; border-top: 1px solid rgba(255, 255, 255, .06); }
.vps-brand { display: flex; align-items: center; gap: 7px; font-size: 11px; }
.vps-brand img { width: 22px; height: 22px; border-radius: 6px; }
.vps-tiles { flex: 1; display: flex; gap: 6px; }
.vps-tiles i { flex: 1; height: 34px; border-radius: 6px; opacity: .75; }
.vps-tiles i:nth-child(1), .g1 { background: linear-gradient(140deg, #2a1d12, #8a5a2b 55%, #d9a55a); }
.vps-tiles i:nth-child(2), .g2 { background: linear-gradient(140deg, #16140d, #5d4c22 55%, #caa851); }
.vps-tiles i:nth-child(3), .g3 { background: linear-gradient(140deg, #1b1633, #d3c43a 55%, #f4e94f); }
.vps-tiles i:nth-child(4), .g4 { background: linear-gradient(140deg, #0a2748, #2f6fb3 55%, #d0463a); }
.vps-links { display: flex; gap: 6px; }
.vps-links em { font-style: normal; font-size: 10px; font-weight: 700; padding: 6px 9px; border-radius: 7px; background: #161b22; }
.vps-links em.dc { background: #5865f2; }

/* Janela estilo Steam (genérica) */
.scr-steam { display: flex; flex-direction: column; background: #1b2838; color: #c7d5e0; font-family: Arial, "Segoe UI", sans-serif; }
.scr-steam::after { content: ""; position: absolute; inset: 0; z-index: 2; background: rgba(0, 0, 0, .45); opacity: 0; pointer-events: none; transition: opacity .3s; }
.demo.is-modal .scr-steam::after, .demo.is-ok .scr-steam::after { opacity: 1; }
.st-menu { height: 30px; flex: none; display: flex; align-items: center; gap: 14px; padding: 0 14px; background: #171d25; font-size: 11px; color: #8f98a0; }
.st-menu .on { color: #fff; }
.st-body { flex: 1; display: flex; min-height: 0; }
.st-side { width: 150px; flex: none; display: flex; flex-direction: column; gap: 8px; padding: 12px 10px; background: #1e2631; font-size: 10.5px; }
.st-side b { font-size: 9.5px; letter-spacing: .08em; color: #8f98a0; margin-bottom: 2px; }
.st-side span { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.st-side i { flex: none; width: 14px; height: 14px; border-radius: 3px; }
.st-new-row { display: none !important; }
.demo.is-added .st-new-row { display: flex !important; color: #fff; background: rgba(103, 193, 245, .16); margin: 0 -6px; padding: 3px 6px; border-radius: 3px; animation: stIn .5s ease; }
.st-lib { flex: 1; padding: 12px 14px; background: linear-gradient(180deg, #213244, #1b2838); }
.st-lib-title { font-size: 11px; color: #8f98a0; }
.st-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.st-tile {
  position: relative; aspect-ratio: 3 / 4.1; border-radius: 4px; display: flex; align-items: flex-end; padding: 7px;
  font-size: 9.5px; font-weight: 700; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .8); box-shadow: 0 6px 14px rgba(0, 0, 0, .35);
}
.st-tile em { position: absolute; top: 6px; left: 6px; font-style: normal; font-size: 8.5px; font-weight: 700; text-shadow: none; background: #5ba32b; color: #fff; padding: 2px 6px; border-radius: 3px; }
.st-new { display: none; }
.demo.is-added .st-new { display: flex; outline: 2px solid #67c1f5; outline-offset: 2px; animation: tileIn .6s ease; }
.st-foot { position: relative; height: 40px; flex: none; display: flex; align-items: center; padding: 0 12px; background: #171d25; border-top: 1px solid #0e141b; }
.st-add { font-size: 11px; font-weight: 700; color: #fff; padding: 6px 10px; border-radius: 3px; background: linear-gradient(90deg, #3a9bd9, #2a6fb5); }
.st-pop {
  position: absolute; left: 12px; bottom: 36px; width: 214px; padding: 4px 0; border-radius: 3px;
  background: #3d4450; box-shadow: 0 10px 24px rgba(0, 0, 0, .5);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.st-pop span { display: block; padding: 6px 10px; font-size: 10.5px; color: #dfe3e6; }
.demo.is-menu .st-pop { opacity: 1; visibility: visible; transform: none; }
.demo.is-hit .st-pop-hit { background: #5b6b80; color: #fff; }
.st-modal, .st-ok {
  position: absolute; z-index: 3; left: 50%; top: 50%; width: 320px; padding: 16px; border-radius: 4px;
  background: linear-gradient(180deg, #2c3340, #22272f); border: 1px solid #3a4250; box-shadow: 0 20px 50px rgba(0, 0, 0, .6);
  opacity: 0; visibility: hidden; transform: translate(-50%, -45%); transition: opacity .25s, transform .25s, visibility .25s;
}
.demo.is-modal .st-modal, .demo.is-ok .st-ok { opacity: 1; visibility: visible; transform: translate(-50%, -50%); }
.st-m-title { font-size: 12.5px; font-weight: 700; color: #fff; }
.st-m-title span { color: #67c1f5; }
.st-m-desc { font-size: 10.5px; line-height: 1.45; color: #acb2b8; margin-top: 6px; }
.st-input {
  display: flex; align-items: center; height: 30px; margin-top: 12px; padding: 0 10px; border-radius: 3px;
  background: #1a1d23; border: 1px solid #4b5566; font-family: Consolas, "Courier New", monospace; font-size: 12px; letter-spacing: .06em; color: #fff;
}
.st-caret { width: 1.5px; height: 14px; margin-left: 2px; background: #fff; animation: stBlink 1s steps(1) infinite; }
.st-m-actions { display: flex; justify-content: flex-end; margin-top: 12px; }
.st-btn { font-size: 11px; padding: 6px 16px; border-radius: 3px; background: #3d4450; color: #8b929a; transition: background .2s, color .2s; }
.demo.is-typed .st-btn, .st-btn.on { background: linear-gradient(90deg, #47bfff, #1a9fff); color: #fff; }

.demo-toast {
  position: absolute; z-index: 5; left: 50%; bottom: 54px; display: flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 8px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 700;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35); opacity: 0; transform: translate(-50%, 12px); transition: opacity .35s, transform .35s;
}
.demo-toast span { width: 20px; height: 20px; border-radius: 999px; display: grid; place-items: center; background: #28c840; color: #fff; font-size: 11px; }
.demo.is-added .demo-toast { opacity: 1; transform: translate(-50%, 0); }
.demo-cursor {
  position: absolute; left: 0; top: 0; z-index: 10; width: 18px; height: 18px; margin: -2px 0 0 -4px;
  transition-property: transform; transition-timing-function: cubic-bezier(.45, .1, .2, 1);
}
.demo-cursor svg { display: block; width: 18px; height: 18px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); }
.demo-cursor .ring { position: absolute; left: -8px; top: -9px; width: 24px; height: 24px; border-radius: 999px; border: 2px solid #7fd6ff; opacity: 0; }
.demo-cursor .ring.pulse { animation: demoRing .45s ease-out; }
@keyframes demoRing { from { transform: scale(.3); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
@keyframes stBlink { 50% { opacity: 0; } }
@keyframes stIn { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@keyframes tileIn { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .demo *, .demo *::after { animation: none !important; transition: none !important; }
}

/* ── Faixa azul ──────────────────────────────────────────────────────── */
.trust { background: var(--blue); color: #fff; padding: 24px 0; overflow: hidden; }
.trust-items { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; font-weight: 700; font-size: 15.5px; }
.trust-items li { display: flex; align-items: center; gap: 9px; }
.trust-items li::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 999px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300a8ff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ── Features ────────────────────────────────────────────────────────── */
.section { padding: 90px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.02em; }
.section-head p { color: var(--ink-soft); font-size: 17px; margin-top: 12px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 20px; padding: 28px;
}
.feat .ico {
  width: 46px; height: 46px; border-radius: 999px; background: var(--blue); color: #fff;
  display: grid; place-items: center; margin-bottom: 16px;
}
.feat .ico svg { width: 24px; height: 24px; }
.feat h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.feat p { color: var(--ink-soft); font-size: 15px; }

/* ── Downloads (cards de app) ────────────────────────────────────────── */
.apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.app-card {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
  background: linear-gradient(180deg, #fff 55%, var(--bg-soft));
  box-shadow: 0 10px 30px rgba(9, 41, 71, 0.05);
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.app-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), #7fd6ff);
  opacity: 0; transition: opacity .18s ease;
}
.app-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(0, 168, 255, 0.35); }
.app-card:hover::before { opacity: 1; }
.app-card > .tag { position: absolute; top: 26px; right: 26px; }
.app-top { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.app-icon { position: relative; flex: none; }
.app-icon img { display: block; width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 10px 24px rgba(0, 168, 255, 0.3); }
.app-badge {
  position: absolute; right: -7px; bottom: -7px;
  width: 30px; height: 30px; border-radius: 999px; border: 3px solid #fff;
  background: var(--ink); color: #fff; display: grid; place-items: center;
}
.app-badge svg { width: 14px; height: 14px; }
.app-card h3 { font-size: 23px; font-weight: 800; letter-spacing: -0.01em; }
.app-card h3 .hl { color: var(--blue); }
.app-card .ver { color: var(--ink-soft); font-size: 13px; margin-top: 2px; }
.app-card > p { color: var(--ink-soft); font-size: 15px; margin-bottom: 18px; }
.app-list { list-style: none; display: grid; gap: 10px; margin-bottom: 22px; }
.app-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 600; }
.app-list li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 999px;
  background: rgba(0, 168, 255, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300a8ff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.app-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.app-meta span {
  font-size: 12.5px; font-weight: 600; color: var(--ink-soft);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px;
}
.app-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.app-actions .btn-primary { flex: 1; justify-content: center; }
.apps-note { text-align: center; color: var(--ink-soft); font-size: 15px; margin-top: 28px; }
.apps-note a { color: var(--blue); font-weight: 700; }
.apps-note a:hover { text-decoration: underline; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--blue); background: rgba(0,168,255,.1); padding: 5px 12px; border-radius: 999px; }

/* ── Aviso do Windows / segurança ────────────────────────────────────── */
.notice { background: var(--blue-deep); color: #e8f3fb; border-radius: var(--radius); padding: 44px; }
.notice h2 { font-size: 28px; font-weight: 800; margin-bottom: 10px; }
.notice > p { color: #a9c6dc; max-width: 720px; margin-bottom: 28px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 22px; }
.step .n { width: 30px; height: 30px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 12px; }
.step h4 { font-size: 16px; margin-bottom: 6px; }
.step p { color: #a9c6dc; font-size: 14px; }
.step .n.ok { background: #28c840; }
.notice .step { display: flex; flex-direction: column; }
.step > p { margin-bottom: 16px; }
.step .ph-frame { margin-top: auto; }
.notice-label {
  display: inline-block; font-size: 13px; font-weight: 700; color: var(--blue);
  background: rgba(0, 168, 255, 0.12); border-radius: 999px; padding: 6px 14px; margin-bottom: 14px;
}
.notice-foot { margin-top: 24px; color: #a9c6dc; font-size: 15px; }
.notice-foot a { color: #fff; font-weight: 700; border-bottom: 1px solid rgba(0, 168, 255, 0.6); }
.notice-foot a:hover { color: var(--blue); }
.notice .btn-ghost { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.14); }
.notice-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ── Espaço para print (troque o arquivo em assets/tutorial/...) ─────── */
.ph-frame { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: #0a121c; }
.ph-frame img { display: block; width: 100%; height: auto; }
.ph-frame .ph-empty { display: none; }
.ph-frame.is-empty img { display: none; }
.ph-frame.is-empty .ph-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  aspect-ratio: 16 / 10; padding: 18px; text-align: center;
  border: 2px dashed rgba(0, 168, 255, 0.45); border-radius: inherit;
  background: repeating-linear-gradient(135deg, #0c1622 0 14px, #0e1a28 14px 28px);
  color: #8aa1b6; font-size: 13px; font-weight: 600;
}
.ph-empty svg { width: 30px; height: 30px; color: var(--blue); }
.ph-empty code { font-size: 11.5px; font-weight: 500; color: #5f7890; word-break: break-all; }

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; background: #fff; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 22px; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { color: var(--ink-soft); margin-top: 12px; font-size: 15px; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer { background: var(--ink); color: #cdd9e6; padding: 56px 0 40px; }
.footer .cols { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 30px; }
.footer .brand span { color: var(--blue); }
.footer h5 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer a { display: block; color: #9fb2c4; margin-bottom: 8px; font-size: 15px; }
.footer a:hover { color: #fff; }
.footer .bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; color: #7d93a8; font-size: 14px; }

/* ── Páginas de tutorial ─────────────────────────────────────────────── */
.page-hero { position: relative; overflow: hidden; padding: 64px 0 56px; }
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 220px;
  background: linear-gradient(180deg, transparent, rgba(0, 168, 255, 0.12) 70%, rgba(0, 168, 255, 0.18));
  z-index: -1;
}
.page-hero h1 {
  font-size: clamp(32px, 4.4vw, 50px); line-height: 1.08; letter-spacing: -0.02em;
  font-weight: 800; margin: 20px 0 14px;
}
.page-hero h1 .hl { color: var(--blue); }
.page-hero .lead { font-size: 18px; color: var(--ink-soft); max-width: 620px; }
.page-hero .hero-note { margin-top: 18px; }

.tut-switch {
  display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; margin-top: 26px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 10px 30px rgba(9, 41, 71, 0.06);
}
.tut-switch a {
  display: flex; align-items: center; gap: 8px; padding: 9px 18px 9px 10px;
  border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--ink-soft);
}
.tut-switch a img { width: 22px; height: 22px; border-radius: 6px; }
.tut-switch a:hover { color: var(--ink); background: var(--bg-soft); }
.tut-switch a.active { background: var(--ink); color: #fff; }

.tut-layout { display: grid; grid-template-columns: 250px 1fr; gap: 36px; align-items: start; padding: 48px 0 90px; }
.tut-toc {
  position: sticky; top: 110px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 20px; padding: 22px 16px;
}
.tut-toc h5 {
  font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-soft); margin: 0 10px 12px;
}
.tut-toc ol { list-style: none; counter-reset: toc; display: grid; gap: 2px; }
.tut-toc a {
  counter-increment: toc; display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 12px; font-weight: 600; font-size: 14px; color: var(--ink-soft);
}
.tut-toc a::before {
  content: counter(toc); flex: none; width: 22px; height: 22px; border-radius: 999px;
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
  background: #fff; border: 1px solid var(--line); color: var(--blue);
}
.tut-toc a:hover { background: #fff; color: var(--ink); }

.tut-steps { display: grid; gap: 22px; }
.tut-step {
  display: grid; grid-template-columns: 48px 1fr; gap: 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  box-shadow: 0 10px 30px rgba(9, 41, 71, 0.05); scroll-margin-top: 110px;
}
.tut-step .n {
  width: 48px; height: 48px; border-radius: 999px; background: var(--blue); color: #fff;
  font-weight: 700; font-size: 20px; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(0, 168, 255, 0.35);
}
.tut-step h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; margin: 9px 0 8px; }
.tut-step p { color: var(--ink-soft); font-size: 16px; }
.tut-step p + p { margin-top: 10px; }
.tut-step p b { color: var(--ink); }
.tut-step > div > .btn { margin-top: 18px; }
.tut-step .shot-frame { margin-top: 20px; box-shadow: 0 16px 40px rgba(9, 41, 71, 0.12); }
.tut-step .shot-frame .ph-frame { border-radius: 0; }
.tut-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.tut-pair figure { margin: 0; }
.tut-pair figcaption { font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-top: 8px; }
.tut-tip {
  display: flex; gap: 12px; margin-top: 18px; padding: 14px 16px;
  background: rgba(0, 168, 255, 0.07); border: 1px solid rgba(0, 168, 255, 0.2); border-radius: 16px;
  font-size: 15px; color: var(--ink);
}
.tut-tip svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--blue); }
.tut-tip a { color: var(--blue); font-weight: 700; }
.tut-tip a:hover { text-decoration: underline; }
.tut-cap { font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-top: 8px; }
.tut-step ol.tut-sub { margin: 12px 0 0 20px; color: var(--ink-soft); display: grid; gap: 6px; }
.tut-step ol.tut-sub b { color: var(--ink); }
kbd.key { font-family: inherit; font-size: 13px; font-weight: 700; color: var(--ink); background: #fff; border: 1px solid var(--line); border-bottom-width: 3px; border-radius: 6px; padding: 1px 7px; }

/* Arquivo baixado (imitação da pasta Downloads) */
.file-mock { background: #fff; font-family: "Segoe UI", system-ui, sans-serif; font-size: 13px; color: #1b1b1b; }
.file-mock .fm-head, .file-mock .fm-row { display: grid; grid-template-columns: 1fr 150px 90px; gap: 12px; align-items: center; padding: 8px 16px; }
.file-mock .fm-head { color: #5f6b77; font-size: 12px; border-bottom: 1px solid #e8ecf0; }
.file-mock .fm-row.on { background: #cce8ff; box-shadow: inset 0 0 0 1px #99d1ff; }
.file-mock .fm-row.dim { color: #7a8591; }
.file-mock .fm-name { display: flex; align-items: center; gap: 10px; font-weight: 600; min-width: 0; }
.file-mock .fm-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-mock .fm-name img { width: 20px; height: 20px; border-radius: 5px; flex: none; }
.file-mock .fm-name i { width: 20px; height: 20px; flex: none; border-radius: 4px; background: #e3e8ee; }
.file-mock .fm-hint { padding: 10px 16px 14px; font-size: 12.5px; font-weight: 600; color: var(--blue-dark); }

/* ── Responsivo ──────────────────────────────────────────────────────── */
@media (max-width: 1199px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}
@media (max-width: 900px) {
  .hero-grid, .features, .apps, .steps, .tut-layout { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero { padding: 50px 0 90px; }
  .notice { padding: 30px 24px; }
  .tut-toc { display: none; }
  .tut-layout { padding-top: 32px; }
}
@media (max-width: 560px) {
  .app-card { padding: 24px; }
  .app-card > .tag { position: static; align-self: flex-start; margin-bottom: 14px; order: -1; }
  .app-actions .btn { flex: 1 1 100%; justify-content: center; }
  .tut-step { grid-template-columns: 1fr; gap: 12px; padding: 22px; }
  .tut-step h3 { margin-top: 0; }
  .tut-pair { grid-template-columns: 1fr; }
  .hero-actions { flex-wrap: wrap; }
  .demo-steps { gap: 6px; }
  .demo-steps span { font-size: 12px; padding-right: 10px; }
  .trust-items { gap: 10px 22px; font-size: 14px; justify-content: flex-start; }
  .file-mock .fm-head, .file-mock .fm-row { grid-template-columns: 1fr 70px; }
  .file-mock .fm-date { display: none; }
}
