/* =========================================================
   PROGuard — novo site institucional
   Base: header/hero/footer escuros, conteúdo em branco,
   azul da marca como único destaque.
   ========================================================= */
/* Fontes hospedadas no próprio site (subconjunto latino, cobre português) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/inter-latin.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/jetbrainsmono-latin.woff2") format("woff2"); }

:root {
  --navy-950: #060e1a;
  --navy-900: #0a1628;
  --navy-800: #11223a;
  --navy-700: #1b3150;
  --ink: #0e1726;
  --text: #334155;
  --muted: #64748b;
  --line: #e4e9f0;
  --soft: #f4f7fb;
  --white: #fff;
  --blue: #1a8fe0;
  --blue-600: #0f74c0;
  --blue-50: #eaf4fd;
  --blue-100: #d3e9fb;

  --c-novo: #15803d;      --c-novo-bg: #e8f6ed;
  --c-melhoria: #0f74c0;  --c-melhoria-bg: #e7f2fc;
  --c-correcao: #b45309;  --c-correcao-bg: #fdf3e3;
  --c-seguranca: #7c3aed; --c-seguranca-bg: #f2ecfe;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(14,23,38,.05), 0 8px 24px rgba(14,23,38,.06);
  --container: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--blue-600); text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .8em 1.35em; border-radius: 10px; font-weight: 600; font-size: .95rem; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .55em 1em; font-size: .875rem; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-600); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue-600); }
.btn-ghost-light { color: #dbe6f3; border-color: rgba(255,255,255,.16); }
.btn-ghost-light:hover { border-color: rgba(255,255,255,.4); color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(6,14,26,.92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.07); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 32px; width: auto; }
.main-nav { display: flex; gap: 4px; margin-right: auto; }
.main-nav a { color: #b6c4d6; font-weight: 500; font-size: .93rem; padding: .5em .85em; border-radius: 8px; }
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.main-nav a.is-active { color: #fff; background: rgba(26,143,224,.18); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.16); background: none; border-radius: 8px; cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 11px; width: 16px; height: 2px; background: #fff; border-radius: 2px; content: ""; }
.nav-toggle span { top: 19px; } .nav-toggle span::before { top: -5px; left: 0; } .nav-toggle span::after { top: 5px; left: 0; }

/* Seletor de idioma */
.lang-switch { display: flex; gap: 2px; }
.lang-switch a { font-size: .78rem; font-weight: 600; color: #8ea0b6; padding: 5px 7px; border-radius: 6px; letter-spacing: .02em; }
.lang-switch a:hover { color: #fff; background: rgba(255,255,255,.06); }
.lang-switch a.is-current { color: #fff; background: rgba(26,143,224,.22); }
.lang-switch--footer { margin-top: 18px; gap: 6px; }
.lang-switch--footer a { font-weight: 500; font-size: .85rem; padding: 4px 10px; border: 1px solid rgba(255,255,255,.1); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy-950); color: #c3d0e0; overflow: hidden; padding: 96px 0 104px; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(6,14,26,.9)); z-index: 1; pointer-events: none; }
.hero-art { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

/* --- Opção 0: Fluxo (enterprise) --- */
.hero-art--fluxo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art--fluxo .aurora { position: absolute; inset: -20%; filter: blur(60px); opacity: .55;
  background: radial-gradient(40% 35% at 70% 45%, rgba(26,143,224,.35), transparent 70%),
              radial-gradient(30% 30% at 85% 75%, rgba(120,150,190,.22), transparent 70%),
              radial-gradient(35% 30% at 20% 10%, rgba(26,143,224,.12), transparent 70%);
  animation: aurora 24s ease-in-out infinite alternate; }
@keyframes aurora { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-4%,3%,0) scale(1.08); } }
.fx-line { fill: none; stroke: rgba(148,178,214,.14); stroke-width: 1; }
.fx-gate { stroke: rgba(148,178,214,.22); stroke-width: 1; stroke-dasharray: 2 6; }
.fx-node { fill: #0a1628; stroke: rgba(148,178,214,.45); stroke-width: 1; }
.fx-node-held { stroke: rgba(245,181,68,.7); animation: held 6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.fx-pulse { fill: none; stroke: #7cc4f5; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 70 1000; stroke-dashoffset: 1070;
  animation: flow 7s cubic-bezier(.45,0,.55,1) infinite; filter: drop-shadow(0 0 4px rgba(124,196,245,.9)); }
.fx-held { stroke: #f5b544; filter: drop-shadow(0 0 4px rgba(245,181,68,.8)); }
@keyframes flow { to { stroke-dashoffset: 0; } }
@keyframes held { 0%, 80% { fill: #0a1628; } 92% { fill: rgba(245,181,68,.9); transform: scale(1.5); } 100% { fill: #0a1628; transform: scale(1); } }
.fx-halo { fill: rgba(26,143,224,.08); }
.fx-ring { fill: none; stroke: rgba(124,196,245,.35); }
.fx-core { fill: #7cc4f5; }

/* --- Opção 1: Radar --- */
.hero-art--radar .radar { position: absolute; width: 1200px; height: 1200px; left: 72%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%;
  background:
    radial-gradient(circle, rgba(26,143,224,.22) 0 2px, transparent 3px),
    repeating-radial-gradient(circle, transparent 0 89px, rgba(26,143,224,.34) 89px 90.5px),
    radial-gradient(circle, rgba(26,143,224,.16), transparent 62%);
  -webkit-mask-image: radial-gradient(circle, #000 45%, transparent 71%); mask-image: radial-gradient(circle, #000 45%, transparent 71%); }
.hero-art--radar .radar::before, .hero-art--radar .radar::after { content: ""; position: absolute; background: rgba(26,143,224,.22); }
.hero-art--radar .radar::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.hero-art--radar .radar::after { top: 50%; left: 0; right: 0; height: 1px; }
.radar-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(26,143,224,.5), rgba(26,143,224,.14) 35deg, transparent 75deg); animation: sweep 7s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.blip { position: absolute; width: 8px; height: 8px; border-radius: 50%; animation: blip 6.3s ease-out infinite; opacity: 0; }
.blip-b { background: #6cbcf2; box-shadow: 0 0 0 0 rgba(108,188,242,.6); }
.blip-a { background: #fbbf24; box-shadow: 0 0 12px #fbbf24; }
.blip-r { background: #f87171; box-shadow: 0 0 14px #f87171; }
@keyframes blip { 0% { opacity: 0; transform: scale(.4); } 6% { opacity: 1; transform: scale(1.3); } 40% { opacity: .9; transform: scale(1); } 100% { opacity: 0; } }
.hero-art--radar.is-sub .radar { width: 900px; height: 900px; left: 85%; }

/* --- Opção 2: Rede de conexões --- */
.hero-art--rede svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art--rede .ln { stroke: rgba(108,188,242,.13); stroke-width: 1; }
.hero-art--rede .dot { fill: #6cbcf2; opacity: .55; }
.hero-art--rede .ln-block { stroke: rgba(248,113,113,.55); stroke-width: 1.2; stroke-dasharray: 4 5; animation: dash 1.6s linear infinite; }
.hero-art--rede .dot-block { fill: #f87171; }
.hero-art--rede .node-block path { stroke: #f87171; stroke-width: 2; stroke-linecap: round; }
.hero-art--rede .srv { fill: #1a8fe0; }
.hero-art--rede .srv-ring { fill: none; stroke: rgba(26,143,224,.25); animation: ring 3s ease-out infinite; transform-origin: center; transform-box: fill-box; }
.hero-art--rede .srv-ring2 { fill: rgba(26,143,224,.12); stroke: rgba(26,143,224,.45); }
@keyframes dash { to { stroke-dashoffset: -18; } }
@keyframes ring { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.hero-art--rede { -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.35), #000 55%); mask-image: linear-gradient(90deg, rgba(0,0,0,.35), #000 55%); }

/* --- Opção 3: Escudo + faixas da logo --- */
.hero-art--escudo { background: radial-gradient(600px 400px at 80% 50%, rgba(26,143,224,.16), transparent 70%); }
.hero-art--escudo .stripe-band { position: absolute; top: -20%; bottom: -20%; left: 52%; width: 420px; transform: skewX(-28deg);
  background: repeating-linear-gradient(90deg, rgba(26,143,224,.10) 0 2px, transparent 2px 16px), linear-gradient(90deg, transparent, rgba(26,143,224,.10) 40%, rgba(207,216,227,.07) 60%, transparent); }
.hero-art--escudo .big-shield { position: absolute; right: 4%; top: 50%; height: 125%; transform: translateY(-50%); opacity: .9; }
.hero-art--escudo.is-sub .stripe-band { left: 70%; width: 320px; }

@media (prefers-reduced-motion: reduce) { .radar-sweep, .blip, .ln-block, .srv-ring, .aurora, .fx-pulse, .fx-node-held { animation: none; } .fx-pulse { stroke-dasharray: none; opacity: .25; } .blip { opacity: .8; } }
@media (max-width: 1000px) { .hero-art--radar .radar { left: 90%; } .hero-art--escudo .big-shield { opacity: .35; } }
.hero > .container { position: relative; z-index: 2; }
.hero h1, .hero h2 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-lead { font-size: 1.15rem; max-width: 34em; color: #a9b8ca; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; letter-spacing: .02em; padding: .4em .9em; border-radius: 999px; border: 1px solid rgba(26,143,224,.35); background: rgba(26,143,224,.1); color: #8fcaf5; margin-bottom: 22px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52,211,153,.2); }
.hero-sub { padding: 72px 0 64px; }
.hero-sub .hero-lead { margin-bottom: 0; }

/* Mock do painel no hero */
.console { background: linear-gradient(180deg, #0d1c31, #0a1628); border: 1px solid rgba(255,255,255,.09); border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.45); overflow: hidden; font-size: .82rem; }
.console-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.07); color: #7d8fa6; }
.console-bar i { width: 10px; height: 10px; border-radius: 50%; background: #23344d; }
.console-bar span { margin-left: 10px; font-family: var(--mono); font-size: .75rem; }
.console-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid rgba(255,255,255,.07); }
.console-stats div { padding: 16px; border-right: 1px solid rgba(255,255,255,.07); }
.console-stats div:last-child { border-right: 0; }
.console-stats b { display: block; color: #fff; font-size: 1.35rem; font-weight: 700; }
.console-stats small { color: #7d8fa6; }
.console-log { list-style: none; margin: 0; padding: 8px 0; font-family: var(--mono); font-size: .74rem; }
.console-log li { display: grid; grid-template-columns: 64px 82px 1fr; gap: 10px; padding: 7px 16px; color: #a9b8ca; }
.console-log time { color: #5d708a; }
.tag-mini { font-size: .68rem; font-weight: 600; padding: 1px 7px; border-radius: 4px; text-align: center; align-self: start; }
.tag-ban { background: rgba(239,68,68,.15); color: #fca5a5; }
.tag-det { background: rgba(245,158,11,.15); color: #fcd34d; }
.tag-ok  { background: rgba(52,211,153,.13); color: #6ee7b7; }

/* ---------- Seções ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy-900); color: #a9b8ca; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.section-head p { font-size: 1.08rem; color: var(--muted); }
.section-dark .section-head p { color: #8ea0b6; }

/* Faixa de jogos */
.games-strip { background: var(--navy-900); border-top: 1px solid rgba(255,255,255,.06); padding: 22px 0; }
.games-strip .container { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.games-strip small { color: #6f8299; font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.games-strip ul { display: flex; flex-wrap: wrap; gap: 8px 26px; list-style: none; margin: 0; padding: 0; }
.games-strip li a { color: #c3d0e0; font-weight: 600; font-size: .95rem; }
.games-strip li a:hover { color: #fff; }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .2s, box-shadow .2s; }
.card:hover { border-color: var(--blue-100); box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }
.card .link { display: inline-block; margin-top: 16px; font-weight: 600; font-size: .9rem; }
.icon { width: 44px; height: 44px; border-radius: 11px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 22px; height: 22px; }
.section-dark .card { background: var(--navy-800); border-color: rgba(255,255,255,.07); }
.section-dark .card p { color: #8ea0b6; }
.section-dark .icon { background: rgba(26,143,224,.15); color: #6cbcf2; }

/* Camadas (cliente / servidor / painel) */
.layers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: layer; }
.layer { position: relative; padding: 32px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.layer::before { counter-increment: layer; content: "CAMADA " counter(layer); display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: var(--blue); margin-bottom: 14px; }
.layer ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; }
.layer li { display: flex; gap: 10px; font-size: .93rem; }
.layer li::before { content: ""; flex: 0 0 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230f74c0'%3E%3Cpath d='M8.2 13.6 4.6 10l1.2-1.2 2.4 2.4 6-6 1.2 1.2z'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Números */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); overflow: hidden; }
.stats div { padding: 32px 28px; border-right: 1px solid rgba(255,255,255,.08); }
.stats div:last-child { border-right: 0; }
.stats b { display: block; font-size: 2.3rem; font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1.1; }
.stats span { color: #8ea0b6; font-size: .92rem; }

/* Processo */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 28px; border-top: 3px solid var(--blue); background: #fff; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--mono); color: var(--blue); font-size: .85rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Split (texto + visual) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; }
.checklist li::before { content: "✓"; flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; font-size: .8rem; font-weight: 700; }

/* Release destaque */
.release-card { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 28px 32px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.release-card .ver { font-family: var(--mono); font-size: 1.2rem; color: var(--ink); font-weight: 500; }
.release-card ul { margin: 6px 0 0; padding-left: 18px; color: var(--muted); font-size: .93rem; }

/* CTA */
.cta { position: relative; overflow: hidden; border-radius: 20px; padding: 64px; background: var(--navy-900); color: #a9b8ca; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 260px at 90% 0%, rgba(26,143,224,.35), transparent 70%); }
.cta > * { position: relative; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; font-size: 1.05rem; }
.cta .hero-cta { margin: 0; }

/* ---------- Recursos (página) ---------- */
.docs-layout { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }
.side-nav { position: sticky; top: 100px; display: grid; gap: 2px; }
.side-nav small { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.side-nav a { color: var(--text); font-size: .93rem; padding: 7px 12px; border-radius: 8px; border-left: 2px solid transparent; }
.side-nav a:hover { background: var(--soft); }
.side-nav a.is-active { color: var(--blue-600); background: var(--blue-50); }
.feature-group { padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); }
.feature-group:last-child { border-bottom: 0; margin-bottom: 0; }
.feature-group > p { color: var(--muted); max-width: 640px; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
.feature-item { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.feature-item h4 { font-size: .98rem; margin: 0 0 2px; letter-spacing: -.005em; }
.feature-item p { font-size: .88rem; color: var(--muted); margin: 0; }
.feature-item .icon { width: 36px; height: 36px; flex: 0 0 36px; margin: 0; border-radius: 9px; }
.feature-item .icon svg { width: 18px; height: 18px; }

/* ---------- Jogos ---------- */
.game-card { display: flex; flex-direction: column; }
.game-card .badge-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 18px; }
.game-initial { width: 52px; height: 52px; border-radius: 12px; background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); color: #fff; font-weight: 800; font-size: 1.1rem; display: grid; place-items: center; margin-bottom: 18px; }
.pill { font-size: .74rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); border: 1px solid var(--line); }
.pill-blue { background: var(--blue-50); color: var(--blue-600); border-color: var(--blue-100); }

a.game-card { color: inherit; }
.game-card .link { margin-top: 14px; font-size: .85rem; color: var(--blue-600); font-weight: 600; }
.breadcrumb { display: flex; gap: 8px; font-size: .85rem; margin-bottom: 18px; color: #6f8299; }
.breadcrumb a { color: #8fcaf5; }
.other-games { margin-top: 56px; }
.other-games h3 { font-size: 1rem; margin-bottom: 14px; }
.other-games div { display: flex; flex-wrap: wrap; gap: 8px; }
.other-games .pill { font-size: .85rem; padding: 6px 14px; }
.other-games .pill:hover { border-color: var(--blue); color: var(--blue-600); }

/* ---------- Planos ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; position: relative; }
.plan.is-featured { border: 2px solid var(--blue); box-shadow: 0 20px 50px rgba(26,143,224,.14); }
.plan .flag { position: absolute; top: -12px; left: 32px; background: var(--blue); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; padding: 4px 10px; border-radius: 6px; text-transform: uppercase; }
.plan .for { color: var(--muted); font-size: .92rem; min-height: 3em; }
.plan .price { font-size: 1.9rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; margin: 12px 0 4px; }
.plan .price small { font-size: .9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 20px 0 0; margin: 20px 0 28px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: .93rem; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--blue); font-weight: 700; }
.plan li.no { color: #a3b0c0; } .plan li.no::before { content: "—"; color: #c5cfdb; }
.plan .btn { margin-top: auto; justify-content: center; }
.plan .price-note { color: var(--muted); font-size: .88rem; margin: 0 0 24px; }
.addon { display: flex; flex-direction: column; }
.addon-head { display: flex; justify-content: space-between; align-items: start; }
.addon-price { font-size: 1.5rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; margin: 16px 0 20px; }
.addon-price small { font-size: .85rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.addon .btn { margin-top: auto; align-self: flex-start; }
.included { margin-top: 40px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); }
.included h3 { margin-bottom: 20px; }
.included-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.included .feature-item { border: 0; padding: 8px 0; flex-direction: column; gap: 10px; }

.compare { width: 100%; border-collapse: collapse; font-size: .93rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--soft); color: var(--ink); font-weight: 700; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare tr.group td { background: #fbfcfe; font-weight: 700; color: var(--ink); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.compare .y { color: var(--blue-600); font-weight: 700; }
.compare .n { color: #c5cfdb; }
.table-wrap { overflow-x: auto; }

/* ---------- Changelog ---------- */
.cl-note { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--radius); background: var(--blue-50); border: 1px solid var(--blue-100); margin-bottom: 20px; }
.cl-note p { margin: 0; flex: 1; font-size: .93rem; }
.cl-note .icon { margin: 0; background: #fff; flex: 0 0 44px; }
@media (max-width: 640px) { .cl-note { flex-direction: column; align-items: flex-start; } }
.cl-toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 40px; position: sticky; top: 84px; z-index: 5; box-shadow: var(--shadow); }
.cl-toolbar input { flex: 1 1 240px; padding: .7em 1em; border: 1px solid var(--line); border-radius: 9px; font: inherit; font-size: .93rem; }
.cl-toolbar input:focus { outline: 2px solid var(--blue-100); border-color: var(--blue); }
.filter { font: inherit; font-size: .85rem; font-weight: 600; padding: .5em .95em; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer; }
.filter.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.cl-layout { display: grid; grid-template-columns: 200px 1fr; gap: 56px; align-items: start; }
.cl-versions { position: sticky; top: 180px; display: grid; gap: 2px; }
.cl-versions a { display: flex; flex-direction: column; font-family: var(--mono); font-size: .85rem; color: var(--text); padding: 6px 12px; border-radius: 8px; }
.cl-versions a:hover { background: var(--soft); }
.cl-versions a small { font-family: var(--font); color: var(--muted); }
.release { display: grid; grid-template-columns: 170px 1fr; gap: 32px; padding: 0 0 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.release:last-child { border-bottom: 0; }
.release-meta { position: sticky; top: 180px; align-self: start; }
.release-meta .v { font-family: var(--mono); font-size: 1.05rem; color: var(--ink); font-weight: 500; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.release-meta time { color: var(--muted); font-size: .88rem; display: block; margin-top: 2px; }
.latest { font-family: var(--font); font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: var(--c-novo-bg); color: var(--c-novo); padding: 2px 8px; border-radius: 5px; }
.release h3 { font-size: 1.3rem; margin-bottom: 18px; }
.release h3 a { color: inherit; }
.release h3 a:hover .anchor { opacity: 1; }
.anchor { opacity: 0; color: var(--muted); font-weight: 400; margin-left: 6px; transition: opacity .15s; }
.change-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.change-list li { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: baseline; }
.type { font-size: .72rem; font-weight: 700; text-align: center; padding: 3px 0; border-radius: 6px; letter-spacing: .02em; }
.type-novo { color: var(--c-novo); background: var(--c-novo-bg); }
.type-melhoria { color: var(--c-melhoria); background: var(--c-melhoria-bg); }
.type-correcao { color: var(--c-correcao); background: var(--c-correcao-bg); }
.type-seguranca { color: var(--c-seguranca); background: var(--c-seguranca-bg); }
.release-actions { margin-top: 22px; display: flex; gap: 10px; }
.cl-more { text-align: center; padding: 40px 32px; border: 1px dashed var(--blue-100); border-radius: var(--radius); background: linear-gradient(180deg, #fff, var(--blue-50)); }
.cl-more .icon { margin: 0 auto 16px; }
.cl-more p { color: var(--muted); max-width: 520px; margin: 0 auto; }
.cl-empty { display: none; padding: 48px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }
.legend { display: flex; gap: 10px; flex-wrap: wrap; }
.legend .type { padding: 3px 10px; }

/* ---------- Suporte ---------- */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }
.contact-card { display: flex; flex-direction: column; }
.contact-card .btn { margin-top: auto; align-self: flex-start; }
.contact-card p { margin-bottom: 20px; }
.contact-card .contact-line { font-family: var(--mono); font-size: .85rem; color: var(--ink); margin: 14px 0 20px; }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #8ea0b6; padding: 72px 0 0; margin-top: 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer-brand p { margin-top: 18px; max-width: 30em; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a:not(.brand) { display: block; color: #8ea0b6; padding: 4px 0; }
.site-footer a:not(.brand):hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.07); font-size: .85rem; }
.footer-bottom a { display: inline !important; }

/* ---------- Aviso de cookies ---------- */
.cookie-banner { position: fixed; left: 22px; bottom: 22px; z-index: 70; max-width: 440px; padding: 18px 20px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(14,23,38,.18); font-size: .88rem; }
.cookie-banner p { margin: 0 0 14px; color: var(--text); }
.cookie-banner div { display: flex; gap: 8px; justify-content: flex-end; }
@media (max-width: 640px) { .cookie-banner { left: 12px; right: 12px; bottom: 88px; max-width: none; } }

/* ---------- Responsivo ---------- */
@media (max-width: 1000px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 48px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .included-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.08); }
  .docs-layout, .cl-layout { grid-template-columns: 1fr; }
  .side-nav, .cl-versions { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr; padding: 44px; }
}
@media (max-width: 1180px) {
  .header-inner { gap: 20px; }
  .header-actions .btn-ghost-light { display: none; }
}
@media (max-width: 1024px) {
  .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; padding: 12px 24px 20px; background: var(--navy-950); border-bottom: 1px solid rgba(255,255,255,.08); }
  .main-nav.is-open { display: flex; }
  .header-inner { justify-content: space-between; }
  .nav-toggle { display: block; }
}
@media (max-width: 860px) {
  .layers, .steps, .plans { grid-template-columns: 1fr; }
  .plan .for { min-height: 0; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero { padding: 64px 0 72px; }
  .grid-2, .grid-3, .grid-4, .included-grid, .layers, .steps, .plans, .feature-list { grid-template-columns: 1fr; }
  .header-actions .btn-primary { display: none; }
  .release { grid-template-columns: 1fr; gap: 12px; }
  .release-meta { position: static; }
  .release-card { grid-template-columns: 1fr; }
  .change-list li { grid-template-columns: 1fr; gap: 4px; }
  .change-list .type { justify-self: start; padding: 2px 10px; }
  .cl-toolbar { position: static; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .console-log li { grid-template-columns: 56px 1fr; } .console-log time { display: none; }
}
