/* Fontes self-hosted (Montserrat, JetBrains Mono, Poppins), subsets latin e latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/jetbrains-mono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/jetbrains-mono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/jetbrains-mono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/jetbrains-mono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(assets/fonts/montserrat-300-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(assets/fonts/montserrat-300-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/montserrat-300-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/montserrat-300-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(assets/fonts/montserrat-300-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(assets/fonts/montserrat-300-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/poppins-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/poppins-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ─────────────────────────────────────────────────────────────
   LXN Growth — v4
   Direção: "painel de operação". Preto dominante, laranja cirúrgico,
   Montserrat em extremos de peso (300 × 900), JetBrains Mono como voz técnica.
   Referência: claude-cookbooks / prompting_for_frontend_aesthetics
   ───────────────────────────────────────────────────────────── */

:root {
  --bg: #0D0D0D;
  --bg-2: #121212;
  --surface: #1A1A1A;
  --line: #2A2A2A;
  --line-soft: rgba(255, 255, 255, 0.06);
  --text: #FFFFFF;
  --muted: #A6A6A6;
  --faint: #8A8A8A;
  --light: #F5F5F5;
  --ink: #222222;
  --accent: #FF6A00;
  --accent-soft: rgba(255, 106, 0, 0.14);
  --accent-ink: #B84A00; /* laranja legível (4.8:1) sobre fundo claro */

  --f-display: 'Montserrat', sans-serif;
  --f-body: 'Poppins', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --nav-h: 72px;
  --ease: cubic-bezier(.23, 1, .32, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  color-scheme: dark;
  scrollbar-color: #3a3a3a var(--bg);
  scrollbar-width: thin;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  caret-color: var(--accent);
}

/* Grão sutil em toda a página — tira o "preto chapado" */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
::selection { background: var(--accent); color: var(--bg); }

.skip-link {
  position: fixed;
  left: 16px;
  top: -64px;
  z-index: 200;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 4px;
  text-decoration: none;
  transition: top 160ms var(--ease);
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.section-light :focus-visible { outline-color: var(--accent-ink); }

/* ── Tipografia base ─────────────────────────────────────── */
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent);
}

.section-light .label { color: var(--accent-ink); }

.h2 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -.035em;
}
.h2 .thin { font-weight: 300; letter-spacing: -.02em; }
.h2 .hl { color: var(--accent); }

.lead { color: var(--muted); font-size: 17px; max-width: 46ch; margin-top: 20px; }

/* ── Botões ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -.005em;
  text-decoration: none;
  padding: 16px 26px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms var(--ease), background-color 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.btn svg { flex-shrink: 0; }
.btn .arrow { transition: transform 200ms var(--ease); }

.btn-primary { background: var(--accent); color: var(--bg); }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .25); color: var(--text); }
.btn-dark { background: var(--bg); color: var(--text); }

@media (hover: hover) and (pointer: fine) {
  .btn:hover .arrow { transform: translateX(4px); }
  .btn-back:hover .arrow { transform: translateX(-4px); }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(255, 106, 0, .6); }
  .btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
  .btn-dark:hover { background: var(--accent); color: var(--bg); }
}
.btn:active { transform: scale(.97); transition-duration: 100ms; }

.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-lg { padding: 20px 34px; font-size: 16px; }

/* ── Navbar ──────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background 250ms, border-color 250ms, backdrop-filter 250ms;
}
.nav.scrolled {
  background: rgba(13, 13, 13, .78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: var(--line);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo img { width: 112px; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 200ms ease;
}
@media (hover: hover) and (pointer: fine) { .nav-links a:hover { color: var(--text); } }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 24px) 0 72px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 85% 90%, rgba(255, 106, 0, .20), transparent 70%),
    radial-gradient(40% 40% at 10% 0%, rgba(255, 255, 255, .05), transparent 70%),
    var(--bg);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
}
.hero-bolt {
  position: absolute;
  right: -6%;
  top: 8%;
  width: min(46vw, 620px);
  z-index: -1;
  opacity: .9;
}
.hero-bolt path { fill: none; stroke: rgba(255, 106, 0, .22); stroke-width: 1.2; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr);
  gap: 56px;
  align-items: end;
}

.hero-title {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 5.4vw, 4.6rem);
  line-height: .98;
  letter-spacing: -.04em;
}
.hero-title .strong { display: block; font-weight: 900; }
.hero-title .strong em { font-style: normal; color: var(--accent); }
.hero-title .soft {
  display: block;
  font-weight: 300;
  font-size: .5em;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: #d9d9d9;
  margin-top: 22px;
  max-width: 24ch;
}
.hero-sub { color: var(--muted); font-size: 17px; max-width: 52ch; margin-top: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* Console */
.console {
  background: #141414;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--f-mono);
  font-size: 13px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
}
.console-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
.console-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.console-bar i:first-child { background: var(--accent); }
.console-bar span { margin-left: auto; }
.console-body { padding: 20px 18px 22px; display: grid; gap: 10px; }
.console-body p { display: flex; gap: 10px; line-height: 1.5; color: #cfcfcf; }
.console-body .p { color: var(--accent); }
.console-body .ok { color: var(--accent); }
.console-body .dim { color: var(--faint); }
.cursor {
  display: inline-block;
  width: 8px; height: 15px;
  background: var(--accent);
  vertical-align: -2px;
  animation: blink 1s steps(1) infinite;
}

/* ── Faixa de serviços (marquee) ─────────────────────────── */
.ticker {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  padding: 12px 0;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
}
.ticker-track span {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(13px, 1.4vw, 16px);
  letter-spacing: -.01em;
  white-space: nowrap;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 36px;
  color: #e6e6e6;
}
.ticker-track span::after {
  content: '';
  width: .55em;
  height: .8em;
  flex-shrink: 0;
  background: var(--accent);
  opacity: .8;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 1 3 14h7l-1 9 12-14h-7z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 1 3 14h7l-1 9 12-14h-7z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ── Seções ──────────────────────────────────────────────── */
.section { padding: clamp(80px, 12vw, 140px) 0; position: relative; }

.section-light { background: var(--light); color: var(--ink); }
.section-light .h2 { color: var(--bg); }
.section-light .lead, .section-light p { color: #4a4a4a; }

/* Sobre */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}
.about-photo { position: relative; isolation: isolate; width: min(100%, 400px); justify-self: center; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 8px; filter: grayscale(.15) contrast(1.05); }
.about-photo::before {
  content: '';
  position: absolute;
  inset: 14px -14px auto 14px;
  aspect-ratio: 4 / 5;
  border: 2px solid var(--accent);
  border-radius: 8px;
  z-index: -1;
}
.about-photo figcaption {
  margin-top: 26px;
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--ink);
}
.about-photo figcaption span { color: #5f5f5f; }

.about-body .h2 { margin-bottom: 32px; }
.about-body p { max-width: 62ch; }
.about-body p + p { margin-top: 18px; }

/* Serviços */
.services { background: var(--bg); overflow: clip; }
.services::before {
  content: '';
  position: absolute;
  left: -20%;
  top: 20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(closest-side, rgba(255, 106, 0, .08), transparent);
  pointer-events: none;
}
.services-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.services-head { position: sticky; top: calc(var(--nav-h) + 40px); }
.services-head .btn { margin-top: 36px; }
.services-head .hint { font-size: 14px; color: var(--muted); margin-top: 40px; max-width: 36ch; }

.service-list { list-style: none; border-top: 1px solid var(--line); counter-reset: s; }
.service {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 30px 8px 32px 0;
  border-bottom: 1px solid var(--line);
}
.service::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 450ms var(--ease);
}
.service > * { transition: transform 300ms var(--ease), color 200ms ease; }
@media (hover: hover) and (pointer: fine) {
  .service:hover::before { transform: scaleX(1); }
  .service:hover > * { transform: translateX(12px); }
}
.service h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: -.03em;
  line-height: 1.15;
}
.service p { color: var(--muted); font-size: 15px; max-width: 58ch; }
.service .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.service .tags span {
  font-family: var(--f-mono);
  font-size: 11px;
  color: #bdbdbd;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
}

/* Como trabalhamos */
.how-top { display: grid; gap: 24px; max-width: 760px; }
.how-top p { max-width: 52ch; }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 64px;
}
.step {
  border-top: 2px solid #d4d4d4;
  padding: 22px 8px 0 0;
  transition: border-color 300ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .step:hover { border-top-color: var(--accent); }
}
.step-n {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
}
.step h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -.02em;
  color: var(--bg);
  margin: 22px 0 8px;
}
.step p { font-size: 14px; line-height: 1.55; }

.how-bottom {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 56px;
}
.panel {
  border-radius: 8px;
  padding: clamp(26px, 4vw, 40px);
}
.panel-dark { background: var(--bg); color: var(--text); }
.panel-dark p { color: var(--muted); }
.panel-note { margin-top: 26px; font-size: 14px; }
.panel-line { border: 1px solid #dcdcdc; background: #fff; }
.panel .label { margin-bottom: 22px; }

.check { list-style: none; display: grid; gap: 14px; }
.check li { display: flex; gap: 14px; color: #e9e9e9; font-size: 15px; }
.check li::before {
  content: '';
  width: 14px;
  height: 14px;
  margin-top: .32em;
  flex-shrink: 0;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.metrics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.metrics span {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--bg);
  background: var(--accent-soft);
  border: 1px solid rgba(255, 106, 0, .35);
  border-radius: 999px;
  padding: 6px 12px;
}
.panel-line .btn { margin-top: 28px; }

.cta-note { font-family: var(--f-mono); font-size: 12px; color: var(--faint); margin-top: 20px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.footer-logo img { width: 88px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a { font-family: var(--f-mono); font-size: 13px; color: var(--muted); text-decoration: none; transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .footer-nav a:hover { color: var(--accent); } }
.footer-copy { font-size: 12px; color: var(--faint); }

/* ── Página de contato ───────────────────────────────────── */
.contact {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 24px) 0 80px;
  isolation: isolate;
  overflow: hidden;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.contact .hero-title { font-size: clamp(2.3rem, 5vw, 4rem); }
.contact .console { margin-top: 44px; }
.preview-msg { white-space: pre-wrap; color: #d6d6d6; min-height: 120px; word-break: break-word; }

.form {
  background: #141414;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  gap: 20px;
}
.field label {
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field label small { text-transform: none; letter-spacing: 0; color: var(--faint); font-size: 11px; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text);
  font-family: var(--f-body);
  font-size: 15px;
  padding: 13px 14px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field select:invalid { color: var(--faint); }
.field select option { color: var(--text); background: var(--surface); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field .invalid { border-color: #ff6b6b; }
.field .invalid:focus { box-shadow: 0 0 0 3px rgba(255, 107, 107, .18); }
.field .err { font-size: 13px; color: #ff8a8a; margin-top: 8px; }
.field .err[hidden] { display: none; }
.field textarea { resize: vertical; min-height: 96px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23A6A6A6' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.form .btn { width: 100%; }
.form .btn:disabled { opacity: .6; cursor: default; transform: none; }
.form .cta-note { text-align: center; margin-top: 0; }
.form-privacy { text-align: center; font-size: 12px; color: var(--faint); margin-top: -8px; }
.form-privacy a { color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .form-privacy a:hover { color: var(--accent); } }
.form-alt { text-align: center; font-size: 14px; color: var(--muted); }
.form-alt a { color: var(--text); text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .form-alt a:hover { color: var(--accent); } }

/* ── Política de privacidade (modo leitura) ─────────────── */
.legal { padding: calc(var(--nav-h) + 48px) 0 96px; min-height: 100svh; }
.legal-inner { max-width: 760px; }
.legal-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}
.legal-date { font-family: var(--f-mono); font-size: 12px; color: var(--faint); margin-top: 16px; }
.legal-summary {
  margin-top: 40px;
  padding: 24px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.legal-summary h2 { font-family: var(--f-display); font-weight: 800; font-size: 18px; letter-spacing: -.02em; margin-bottom: 14px; }
.legal-summary ul { display: grid; gap: 10px; padding-left: 20px; color: #d6d6d6; font-size: 15px; }
.legal-body { margin-top: 56px; }
.legal-body section + section { margin-top: 48px; }
.legal-body h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.25rem, 2.4vw, 1.6rem); letter-spacing: -.025em; line-height: 1.2; margin-bottom: 16px; }
.legal-body p, .legal-body li { color: #cfcfcf; font-size: 16px; line-height: 1.7; }
.legal-body p { max-width: 68ch; }
.legal-body p + p { margin-top: 14px; }
.legal-body ul { padding-left: 20px; display: grid; gap: 8px; max-width: 68ch; }
.legal-body p + ul, .legal-body ul + p { margin-top: 14px; }
.legal-body strong { color: var(--text); font-weight: 500; }
.legal-body a, .legal-summary a { color: var(--text); text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; }
@media (hover: hover) and (pointer: fine) { .legal-body a:hover { color: var(--accent); } }
.legal-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.legal-table table { width: 100%; border-collapse: collapse; min-width: 520px; }
.legal-table th, .legal-table td { text-align: left; padding: 14px 18px; font-size: 15px; vertical-align: top; }
.legal-table th { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.legal-table td { color: #cfcfcf; }
.legal-table tr + tr td { border-top: 1px solid var(--line-soft); }

/* Página 404 */
.notfound { min-height: 100svh; display: grid; place-items: center; padding: calc(var(--nav-h) + 24px) 0 64px; text-align: left; }
.notfound-code { font-family: var(--f-mono); font-size: 13px; color: var(--accent); }
.notfound h1 { font-family: var(--f-display); font-weight: 900; font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.02; letter-spacing: -.04em; margin: 12px 0 16px; }
.notfound p { color: var(--muted); max-width: 46ch; }
.notfound .btn { margin-top: 32px; }

/* ── Aviso de cookies ────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding: 18px 20px;
  background: #141414;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .9);
  animation: cookie-in 320ms var(--ease) both;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { flex: 1 1 300px; font-size: 14px; line-height: 1.55; color: #d6d6d6; }
.cookie-banner a { color: var(--text); text-decoration-color: var(--accent); }
.cookie-actions { display: flex; gap: 10px; flex: 0 0 auto; }
@keyframes cookie-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 720px) { .cookie-actions { width: 100%; } .cookie-actions .btn { flex: 1; } }
@media (prefers-reduced-motion: reduce) { .cookie-banner { animation: fade-only 200ms ease both; } }

.footer-nav button {
  font: 13px var(--f-mono);
  color: var(--muted);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: color 200ms ease;
}
@media (hover: hover) and (pointer: fine) { .footer-nav button:hover { color: var(--accent); } }
@media (pointer: coarse) { .footer-nav button { padding-block: 10px; } }

/* ── Animação: entrada orquestrada + reveals ─────────────── */
.load { animation: rise 700ms var(--ease) both; animation-delay: var(--d, 0ms); }

/* Reveal por animação (não transition): não disputa a propriedade `transition`
   dos cards e itens, então o hover continua instantâneo depois de revelado. */
.js [data-reveal]:not(.in) { opacity: 0; }
.js [data-reveal].in { animation: reveal 600ms var(--ease) var(--d, 0ms) backwards; }

.console-body p.type { animation: fade 400ms var(--ease) both; animation-delay: var(--d, 0ms); }

.hero-bolt path { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: draw 2.6s var(--ease) 300ms forwards; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes reveal { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@keyframes fade-only { from { opacity: 0; } to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes ticker { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* Movimento reduzido: sem deslocamento, só fade onde ajuda a entender */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, .cursor { animation: none; }
  .load, .console-body p.type { animation: fade-only 300ms ease both; animation-delay: var(--d, 0ms); }
  .js [data-reveal].in { animation: fade-only 300ms ease backwards; }
  .hero-bolt path { animation: none; stroke-dashoffset: 0; }
  .btn:active { transform: none; }
  .service:hover > *, .btn-primary:hover { transform: none; }
}

/* ── Responsivo ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .services-grid, .how-top, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 48px; }
  .about-photo { order: 2; justify-self: start; width: min(100%, 320px); }
  .console-hero { max-width: 520px; }
  .services-head { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-bolt { width: 80vw; right: -30%; top: 4%; }
}

@media (pointer: coarse) {
  .btn-sm { min-height: 44px; }
  .footer-nav { gap: 0 24px; }
  .footer-nav a { padding-block: 10px; }
}

@media (max-width: 720px) {
  :root { --nav-h: 64px; }
  .nav-links { display: none; }
  .nav-logo img { width: 96px; }
  .hero { padding-top: calc(var(--nav-h) + 40px); min-height: auto; }
  .hero-cta .btn { width: 100%; }
  .steps, .how-bottom { grid-template-columns: minmax(0, 1fr); }
  .service { padding-right: 0; }
  .about-photo { max-width: 280px; }
  .contact .console { display: none; }
}
