/* ============================================================
   LiaLab — lialab.com.br · v2 "alto nível"
   Aurora depth · glass surfaces · display typography
   Dark-first · tokens em CSS variables · WCAG AA
   ============================================================ */

:root,
[data-theme="dark"] {
  --bg: #070B10;
  --surface: rgba(18, 24, 33, 0.55);
  --surface-solid: #101722;
  --surface-2: #161e29;
  --border: rgba(148, 178, 205, 0.14);
  --border-strong: rgba(148, 178, 205, 0.26);
  --text: #EAF1F7;
  --text-muted: #93A3B1;
  --brand: #23C9B7;
  --brand-strong: #0E8C80;
  --accent: #5B8FF5;
  --success: #2ECC71;
  --warning: #E0A400;
  --danger: #E5484D;
  --brand-soft: rgba(35, 201, 183, 0.10);
  --accent-soft: rgba(91, 143, 245, 0.12);
  --glow: 0 0 48px rgba(35, 201, 183, 0.24);
  --grad: linear-gradient(100deg, #23C9B7 0%, #5B8FF5 100%);
  --aurora-1: rgba(14, 140, 128, 0.20);
  --aurora-2: rgba(76, 110, 245, 0.13);
  --header-bg: rgba(7, 11, 16, 0.72);
}

[data-theme="light"] {
  --bg: #FAFCFD;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #FFFFFF;
  --surface-2: #EEF3F7;
  --border: rgba(20, 45, 70, 0.12);
  --border-strong: rgba(20, 45, 70, 0.24);
  --text: #0B1219;
  --text-muted: #51616E;
  --brand: #0E8C80;
  --brand-strong: #0B6E65;
  --accent: #2563EB;
  --success: #1F9D55;
  --warning: #9A6E00;
  --danger: #C6323A;
  --brand-soft: rgba(14, 140, 128, 0.08);
  --accent-soft: rgba(37, 99, 235, 0.08);
  --glow: 0 0 48px rgba(14, 140, 128, 0.14);
  --grad: linear-gradient(100deg, #0E8C80 0%, #2563EB 100%);
  --aurora-1: rgba(14, 140, 128, 0.10);
  --aurora-2: rgba(37, 99, 235, 0.07);
  --header-bg: rgba(250, 252, 253, 0.78);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Aurora de fundo — profundidade global */
.aurora {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
}
.aurora::before, .aurora::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px);
  will-change: transform;
}
.aurora::before {
  width: 60vw; height: 60vw; min-width: 560px; min-height: 560px;
  background: radial-gradient(circle, var(--aurora-1), transparent 62%);
  top: -22vw; right: -14vw;
  animation: drift-a 26s ease-in-out infinite alternate;
}
.aurora::after {
  width: 48vw; height: 48vw; min-width: 460px; min-height: 460px;
  background: radial-gradient(circle, var(--aurora-2), transparent 62%);
  bottom: -18vw; left: -12vw;
  animation: drift-b 32s ease-in-out infinite alternate;
}
@keyframes drift-a { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-7vw, 6vh, 0) scale(1.12); } }
@keyframes drift-b { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(6vw, -5vh, 0) scale(1.08); } }

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}
::selection { background: rgba(35, 201, 183, 0.28); }

h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 0.5em; font-weight: 600; letter-spacing: -0.03em; }
h1, h2 { font-family: "Space Grotesk", "Inter", sans-serif; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.mono, code, kbd { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }
code { font-size: 0.875em; background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: 0.1em 0.4em; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.prose { max-width: 720px; }
.prose .lead { font-size: 1.15rem; color: var(--text-muted); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brand-strong); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Kicker / section heading ---------- */
.kicker {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.kicker::before {
  content: ""; width: 24px; height: 1px;
  background: var(--grad);
}
.section { padding: 112px 0; position: relative; }
.section + .section { border-top: 1px solid var(--border); }
.section-head { max-width: 780px; margin-bottom: 56px; }
.section-head p { color: var(--text-muted); font-size: 1.06rem; }
.section-num {
  font-family: "JetBrains Mono", monospace; font-size: 0.72rem;
  color: var(--text-muted); letter-spacing: 0.18em;
}

/* ---------- Header (glass) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 240ms ease-out, background 240ms ease-out;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo {
  display: flex; align-items: center; gap: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700; font-size: 1.25rem; color: var(--text); letter-spacing: -0.03em;
}
.logo:hover { text-decoration: none; }
.logo .lab { color: var(--brand); }
.logo-mark { width: 27px; height: 27px; margin-right: 10px; flex-shrink: 0; }
[data-theme="light"] .logo-mark path, [data-theme="light"] .logo-mark circle { stroke: var(--brand-strong); }
[data-theme="light"] .logo-mark circle { stroke: none; fill: var(--brand-strong); }
.main-nav { display: flex; gap: 2px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.main-nav a {
  position: relative;
  color: var(--text-muted); font-size: 0.88rem; font-weight: 500;
  padding: 8px 12px; border-radius: 8px;
  transition: color 160ms ease-out;
}
.main-nav a:hover { color: var(--text); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--text); }
.main-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--grad); border-radius: 2px;
}
.header-cta { margin-left: 10px; }
.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); padding: 8px 14px; font-size: 0.9rem; cursor: pointer;
}
.theme-toggle {
  background: none; border: 1px solid var(--border); border-radius: 10px;
  color: var(--text-muted); width: 38px; height: 38px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1rem;
  transition: border-color 160ms ease-out, color 160ms ease-out, transform 160ms ease-out;
}
.theme-toggle:hover { color: var(--brand); border-color: var(--brand); transform: rotate(15deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: 12px 24px 20px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; }
  .main-nav a[aria-current="page"]::after { display: none; }
  .header-cta { margin: 8px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 0.95rem;
  padding: 13px 24px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; transition: all 200ms ease-out;
  position: relative;
}
.btn:hover { text-decoration: none; }
.btn .arrow { transition: transform 200ms ease-out; display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary {
  background: var(--grad); color: #06211e;
  box-shadow: 0 4px 24px rgba(35, 201, 183, 0.25);
}
[data-theme="light"] .btn-primary { color: #ffffff; }
.btn-primary:hover { box-shadow: 0 6px 32px rgba(35, 201, 183, 0.42); transform: translateY(-1px); }
.btn-secondary {
  background: var(--surface); color: var(--text); border-color: var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { padding: 9px 18px; font-size: 0.875rem; border-radius: 10px; }

/* ---------- Hero ---------- */
.hero {
  min-height: calc(94vh - 68px);
  display: flex; align-items: center; text-align: center;
  padding: 96px 0 88px; position: relative; overflow: hidden;
}
/* malha de nós (arte própria) */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("hero-mesh.svg") center 42% / min(1500px, 118%) auto no-repeat;
  opacity: 0.85;
}
[data-theme="light"] .hero::before { opacity: 0.5; }
/* grade técnica */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to right, var(--border) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(to bottom, var(--border) 1px, transparent 1px) 0 0 / 72px 72px;
  opacity: 0.45;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, black 0%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, black 0%, transparent 76%);
}
.hero .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "JetBrains Mono", monospace; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--text-muted);
  border: 1px solid var(--border-strong); border-radius: 999px;
  padding: 8px 16px; margin-bottom: 32px;
  background: var(--surface); backdrop-filter: blur(8px);
}
.hero-badge .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 0 0 rgba(35, 201, 183, 0.5);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(35, 201, 183, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(35, 201, 183, 0); }
  100% { box-shadow: 0 0 0 0 rgba(35, 201, 183, 0); }
}
.hero h1 {
  max-width: 15ch;
  margin: 0 auto 28px;
  font-size: clamp(2.6rem, 6.6vw, 5rem);
  font-weight: 600; letter-spacing: -0.04em; line-height: 1.05;
  text-wrap: balance;
}
.hero .sub {
  max-width: 660px; margin: 0 auto 40px;
  font-size: 1.14rem; line-height: 1.65; color: var(--text-muted);
  text-wrap: pretty;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: center; }
.hero-meta {
  display: inline-flex; gap: 10px; align-items: center; margin-top: 56px;
  font-family: "JetBrains Mono", monospace; font-size: 0.74rem;
  color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase;
  border-top: 1px solid var(--border); padding-top: 20px;
}
.hero-meta .dot-live {
  width: 7px; height: 7px; border-radius: 50%; background: var(--warning);
  box-shadow: 0 0 10px var(--warning); flex-shrink: 0;
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 18px 0; overflow: hidden; position: relative;
  background: var(--surface);
  backdrop-filter: blur(8px);
}
.marquee-track {
  display: flex; gap: 56px; width: max-content;
  animation: marquee 42s linear infinite;
  font-family: "JetBrains Mono", monospace; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--text-muted);
  white-space: nowrap;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span::before { content: "◆"; color: var(--brand); margin-right: 56px; font-size: 0.6rem; vertical-align: 1px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
}

/* ---------- Cards & grids ---------- */
.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); }
@media (max-width: 1024px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Bento (home — o que fazemos) */
.bento { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.bento .span-2 { grid-column: span 2; }
@media (max-width: 1024px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento .span-2 { grid-column: span 2; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .bento .span-2 { grid-column: span 1; } }

.card {
  --mx: 50%; --my: 50%;
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  transition: border-color 220ms ease-out, transform 220ms ease-out, box-shadow 220ms ease-out;
  display: flex; flex-direction: column; gap: 10px;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(340px circle at var(--mx) var(--my), rgba(35, 201, 183, 0.10), transparent 65%);
  opacity: 0; transition: opacity 260ms ease-out;
}
.card:hover::before { opacity: 1; }
.card:hover { border-color: var(--border-strong); transform: translateY(-3px); box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28); }
[data-theme="light"] .card:hover { box-shadow: 0 16px 44px rgba(15, 30, 45, 0.10); }
a.card { color: inherit; }
a.card:hover { text-decoration: none; }
.card h3 { margin: 0; font-size: 1.1rem; }
.card p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }
.card .card-meta {
  font-family: "JetBrains Mono", monospace; font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.14em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  width: fit-content;
}
.card-footer { margin-top: auto; padding-top: 10px; font-size: 0.85rem; color: var(--accent); }
a.card .card-footer::after { content: " →"; display: inline-block; transition: transform 200ms ease-out; }
a.card:hover .card-footer::after { transform: translateX(4px); }

/* ---------- Badges / tags ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 5px 12px; border-radius: 999px; border: 1px solid var(--border);
  color: var(--text-muted); background: var(--surface);
  backdrop-filter: blur(6px);
  white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.badge-ideia { color: var(--text-muted); }
.badge-pesquisa { color: var(--accent); }
.badge-prototipo { color: var(--brand); }
.badge-mvp { color: var(--brand); }
.badge-piloto { color: var(--warning); }
.badge-pronto { color: var(--success); }
.tag {
  display: inline-block; font-size: 0.75rem; color: var(--text-muted);
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 6px; padding: 2px 8px; margin: 0 6px 6px 0;
}

/* ---------- Stat block ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 768px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  border: 1px solid var(--border); border-radius: 18px; padding: 28px;
  background: var(--surface); backdrop-filter: blur(10px);
  position: relative; overflow: hidden;
}
.stat::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--grad); border-radius: 3px;
}
.stat .num {
  font-family: "Space Grotesk", sans-serif; font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700; letter-spacing: -0.03em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums; line-height: 1.1;
}
.stat .label { font-size: 0.85rem; color: var(--text-muted); margin-top: 6px; }

/* ---------- Callout / disclaimer ---------- */
.callout {
  border: 1px solid var(--border); border-left: 3px solid var(--brand);
  background: var(--surface); backdrop-filter: blur(8px); border-radius: 12px;
  padding: 18px 22px; font-size: 0.9rem; color: var(--text-muted); margin: 24px 0;
}
.callout strong { color: var(--text); }

/* ---------- Meta table (fichas de projeto) ---------- */
.meta-grid {
  display: grid; grid-template-columns: 190px 1fr;
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden; margin: 32px 0;
  background: var(--surface); backdrop-filter: blur(10px);
}
.meta-grid > div { padding: 13px 18px; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.meta-grid > div:nth-last-child(-n+2) { border-bottom: none; }
.meta-grid .k {
  font-family: "JetBrains Mono", monospace; font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--brand);
  display: flex; align-items: flex-start; padding-top: 16px;
}
@media (max-width: 640px) {
  .meta-grid { grid-template-columns: 1fr; }
  .meta-grid .k { border-bottom: none; padding-bottom: 0; }
}

/* ---------- Article layout ---------- */
.article-header { padding: 88px 0 48px; border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.article-header::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to right, var(--border) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(to bottom, var(--border) 1px, transparent 1px) 0 0 / 72px 72px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse 70% 90% at 80% 0%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 80% 0%, black 0%, transparent 70%);
}
.article-header .container { position: relative; z-index: 1; }
.article-header .badges { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0 0; }
.article-body { padding: 56px 0 112px; }
.article-body h2 { margin-top: 2.2em; }
.article-body h2:first-child { margin-top: 0; }
.breadcrumbs { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 24px; font-family: "JetBrains Mono", monospace; letter-spacing: 0.04em; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--brand); }

/* ---------- Founder block ---------- */
.founder {
  display: grid; grid-template-columns: 104px 1fr; gap: 32px; align-items: start;
  background: var(--surface); backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 20px; padding: 36px;
  position: relative; overflow: hidden;
}
.founder::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--grad); opacity: 0.6;
}
.founder .avatar {
  width: 104px; height: 104px; border-radius: 18px;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-family: "Space Grotesk", monospace; font-weight: 700; font-size: 1.8rem; color: #06211e;
  box-shadow: var(--glow);
}
[data-theme="light"] .founder .avatar { color: #fff; }
@media (max-width: 640px) { .founder { grid-template-columns: 1fr; } }
.founder .disclaimer { font-size: 0.82rem; color: var(--text-muted); font-style: italic; margin: 12px 0 0; }

/* ---------- CTA section ---------- */
.cta-section {
  border: 1px solid var(--border); border-radius: 24px;
  padding: 72px 48px; text-align: center;
  position: relative; overflow: hidden;
  background: var(--surface); backdrop-filter: blur(12px);
}
.cta-section::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0.45; pointer-events: none;
}
.cta-section::after {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, var(--aurora-1), transparent 65%);
  top: -210px; left: 50%; transform: translateX(-50%);
  filter: blur(40px); pointer-events: none;
}
.cta-section > * { position: relative; z-index: 1; }
.cta-section h2 { margin-bottom: 12px; }
.cta-section p { color: var(--text-muted); max-width: 560px; margin: 0 auto 32px; }
@media (max-width: 640px) { .cta-section { padding: 48px 24px; } }

/* ---------- Forms ---------- */
.form { max-width: 640px; display: grid; gap: 20px; }
.form-row { display: grid; gap: 6px; }
.form-row label { font-size: 0.88rem; font-weight: 600; }
.form-row .hint { font-size: 0.78rem; color: var(--text-muted); }
input[type="text"], input[type="email"], select, textarea {
  width: 100%; background: var(--surface); color: var(--text);
  border: 1px solid var(--border-strong); border-radius: 12px;
  padding: 13px 15px; font: inherit; font-size: 0.95rem;
  backdrop-filter: blur(6px);
  transition: border-color 160ms ease-out, box-shadow 160ms ease-out;
}
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
textarea { min-height: 160px; resize: vertical; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--text-muted); }
.form .consent input { margin-top: 3px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 16px; margin: 24px 0; background: var(--surface); backdrop-filter: blur(8px); }
table { border-collapse: collapse; width: 100%; font-size: 0.9rem; }
th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-family: "JetBrains Mono", monospace; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand); }
tr:last-child td { border-bottom: none; }

/* ---------- Lists ---------- */
.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { padding: 7px 0 7px 30px; position: relative; color: var(--text-muted); }
.check-list li::before { content: "→"; position: absolute; left: 0; color: var(--brand); font-family: "JetBrains Mono", monospace; }
.check-list li strong { color: var(--text); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border); padding: 72px 0 40px;
  position: relative; overflow: hidden;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 56px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  font-family: "JetBrains Mono", monospace; font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--brand); margin-bottom: 16px; font-weight: 600;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-grid a { color: var(--text-muted); font-size: 0.88rem; transition: color 160ms ease-out; }
.footer-grid a:hover { color: var(--brand); text-decoration: none; }
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; max-width: 280px; }
.footer-disclaimer {
  border-top: 1px solid var(--border); padding-top: 24px;
  font-size: 0.8rem; color: var(--text-muted);
  display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between;
  position: relative; z-index: 1;
}
.footer-disclaimer .legal-links a { color: var(--text-muted); margin-left: 16px; }
.footer-watermark {
  position: absolute; left: 50%; bottom: -0.28em; transform: translateX(-50%);
  font-family: "Space Grotesk", sans-serif; font-weight: 700;
  font-size: clamp(6rem, 22vw, 19rem); line-height: 1; letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px var(--border);
  pointer-events: none; user-select: none; white-space: nowrap;
  opacity: 0.85;
}

/* ---------- Reveal animation (média — refinada) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0; transform: translateY(20px); filter: blur(5px);
    transition: opacity 640ms cubic-bezier(0.22, 1, 0.36, 1),
                transform 640ms cubic-bezier(0.22, 1, 0.36, 1),
                filter 640ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--d, 0ms);
  }
  .reveal.in { opacity: 1; transform: none; filter: none; }
}

/* ---------- Utility ---------- */
.muted { color: var(--text-muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-48 { margin-bottom: 48px; }
.section-link {
  font-family: "JetBrains Mono", monospace; font-size: 0.85rem;
  display: inline-flex; align-items: center; gap: 8px;
}
.section-link:hover { color: var(--brand); }
