/* ============================================================
   WeCoding — Folha de estilos
   Regra de proporção de cor: 70 neutro / 20 branco / 10 marca.
   Grid de 8px. Raios 6/11/14. Divisores 1px Ink 800 (dark).
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--wc-ink-950);
  color: var(--wc-ink-200);
  font-family: var(--wc-font-text);
  font-size: var(--wc-body-m);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

::selection { background: rgba(37, 99, 245, 0.35); color: var(--wc-white); }

/* Acessibilidade: foco visível por teclado */
:focus-visible {
  outline: 2px solid var(--wc-blue-500);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  z-index: 200;
  padding: var(--sp-2) var(--sp-4);
  background: var(--wc-blue-600);
  color: var(--wc-white);
  border-radius: var(--wc-radius-sm);
  font-size: var(--wc-body-s);
}
.skip-link:focus { top: var(--sp-4); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 {
  font-family: var(--wc-font-display);
  color: var(--wc-white);
  font-weight: 700;
}

.display-xl {
  font-size: var(--wc-display-xl);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.display-l {
  font-size: var(--wc-display-l);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.heading-m {
  font-size: var(--wc-heading-m);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.body-l { font-size: var(--wc-body-l); line-height: 1.6; }
.body-s { font-size: var(--wc-body-s); line-height: 1.55; }

.label {
  font-family: var(--wc-font-mono);
  font-size: var(--wc-label);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.4;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--wc-blue-500);
  margin-bottom: var(--sp-4);
}
.kicker::before {
  content: "";
  width: 14px;
  height: 9px;
  background: currentColor;
  /* chevron da marca: V a 62,7° */
  clip-path: polygon(0 0, 22% 0, 50% 62%, 78% 0, 100% 0, 50% 100%);
}

.muted { color: var(--wc-ink-400); }

/* ---------- Layout ---------- */
.container {
  max-width: var(--wc-content-max);
  margin-inline: auto;
  padding-inline: var(--wc-margin);
}

.section {
  padding-block: var(--sp-24);
  position: relative;
}

.section-head {
  max-width: 640px;
  margin-bottom: var(--sp-16);
}
.section-head p { margin-top: var(--sp-4); color: var(--wc-ink-400); }

.divider {
  border: 0;
  border-top: var(--wc-border) solid var(--wc-ink-800);
}

/* ---------- Fundos técnicos (§7: malha + halo, blueprint) ---------- */
.mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(122, 131, 153, 0.17) 1px, transparent 1.6px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 32%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 32%, #000 0%, transparent 72%);
}

.halo {
  position: absolute;
  pointer-events: none;
  width: 880px;
  height: 620px;
  background: radial-gradient(ellipse at center, rgba(37, 99, 245, 0.14) 0%, rgba(124, 92, 255, 0.07) 44%, transparent 70%);
  filter: blur(8px);
}

/* ---------- Navegação ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background-color var(--wc-dur) var(--wc-ease), border-color var(--wc-dur) var(--wc-ease);
  border-bottom: var(--wc-border) solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 12, 16, 0.82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--wc-ink-800);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  height: 72px;
}

.nav-logo svg { height: 26px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}
.nav-links a {
  font-size: var(--wc-body-s);
  color: var(--wc-ink-400);
  transition: color var(--wc-dur-fast) var(--wc-ease);
  position: relative;
  padding-block: var(--sp-1);
}
.nav-links a:hover { color: var(--wc-white); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 100%;
  background: var(--wc-blue-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--wc-dur) var(--wc-ease);
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: var(--sp-4); }

.nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--wc-radius-sm);
  border: var(--wc-border) solid var(--wc-ink-800);
  position: relative;
}
.nav-burger span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.75px;
  background: var(--wc-ink-200);
  transition: transform var(--wc-dur) var(--wc-ease), opacity var(--wc-dur-fast);
}
.nav-burger span:nth-child(1) { top: 14px; }
.nav-burger span:nth-child(2) { top: 19px; }
.nav-burger span:nth-child(3) { top: 24px; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.nav.menu-open { background: var(--wc-ink-950); }
.nav-mobile {
  display: none;
  border-top: var(--wc-border) solid var(--wc-ink-800);
  border-bottom: var(--wc-border) solid var(--wc-ink-800);
  background: var(--wc-ink-950);
  padding: var(--sp-4) var(--wc-margin) var(--sp-8);
}
.nav-mobile a {
  display: block;
  padding: var(--sp-3) 0;
  font-size: var(--wc-body-l);
  color: var(--wc-ink-200);
  border-bottom: var(--wc-border) solid var(--wc-ink-800);
}
.nav-mobile .btn { margin-top: var(--sp-6); }
.nav.menu-open .nav-mobile { display: block; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  height: 48px;
  padding-inline: var(--sp-6);
  border-radius: var(--wc-radius-md);
  font-family: var(--wc-font-text);
  font-size: var(--wc-body-s);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background-color var(--wc-dur-fast) var(--wc-ease),
              border-color var(--wc-dur-fast) var(--wc-ease),
              color var(--wc-dur-fast) var(--wc-ease),
              transform var(--wc-dur-fast) var(--wc-ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--wc-blue-600);
  color: var(--wc-white);
}
.btn-primary:hover { background: var(--wc-blue-700); }

.btn-ghost {
  border: var(--wc-border) solid var(--wc-ink-600);
  color: var(--wc-ink-200);
}
.btn-ghost:hover { border-color: var(--wc-ink-400); color: var(--wc-white); }

.btn-sm { height: 40px; padding-inline: var(--sp-4); }

.btn .chev {
  width: 10px;
  height: 12px;
  background: currentColor;
  clip-path: polygon(0 0, 30% 0, 100% 50%, 30% 100%, 0 100%, 62% 50%);
  transition: transform var(--wc-dur-fast) var(--wc-ease);
}
.btn:hover .chev { transform: translateX(3px); }

/* ---------- Pill de status ---------- */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 6px 14px;
  border: var(--wc-border) solid var(--wc-ink-800);
  border-radius: var(--wc-radius-pill);
  background: rgba(17, 21, 32, 0.6);
  color: var(--wc-ink-400);
}
.status-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wc-cyan-400);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.45); }
  50% { box-shadow: 0 0 0 5px rgba(34, 211, 238, 0); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: 176px;
  padding-bottom: var(--sp-24);
  overflow: hidden;
}
.hero .halo {
  top: -160px;
  left: 50%;
  transform: translateX(-58%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--sp-16);
  align-items: center;
  position: relative;
}

.hero-copy .status-pill { margin-bottom: var(--sp-6); }
.hero-copy h1 { margin-bottom: var(--sp-6); max-width: 19ch; text-wrap: balance; }
.hero-copy h1 .accent { color: var(--wc-blue-500); }
.hero-copy .lead {
  color: var(--wc-ink-400);
  max-width: 44ch;
  margin-bottom: var(--sp-8);
}
.hero-actions { display: flex; gap: var(--sp-4); flex-wrap: wrap; }

.hero-meta {
  display: flex;
  gap: var(--sp-8);
  margin-top: var(--sp-12);
  padding-top: var(--sp-6);
  border-top: var(--wc-border) solid var(--wc-ink-800);
}
.hero-meta .item .num {
  font-family: var(--wc-font-display);
  font-size: var(--wc-heading-m);
  font-weight: 700;
  color: var(--wc-white);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.hero-meta .item .lbl { margin-top: 2px; color: var(--wc-ink-600); }

/* Composição visual do hero — janela de produto + terminal */
.hero-visual { position: relative; }
.hero-visual .stack { position: relative; }

.window {
  background: var(--wc-ink-900);
  border: var(--wc-border) solid var(--wc-ink-800);
  border-radius: var(--wc-radius-lg);
  overflow: hidden;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 10px 14px;
  border-bottom: var(--wc-border) solid var(--wc-ink-800);
}
.window-bar .wdot { width: 8px; height: 8px; border-radius: 50%; background: var(--wc-ink-600); }
.window-bar .addr {
  margin-left: var(--sp-2);
  font-family: var(--wc-font-mono);
  font-size: 11px;
  color: var(--wc-ink-400);
  letter-spacing: 0.04em;
}

.app-window { animation: float-a 9s ease-in-out infinite; }

.terminal {
  position: absolute;
  right: -16px;
  bottom: -44px;
  width: min(340px, 78%);
  background: rgba(10, 12, 16, 0.94);
  border: var(--wc-border) solid var(--wc-ink-800);
  border-radius: var(--wc-radius-md);
  padding: var(--sp-4);
  font-family: var(--wc-font-mono);
  font-size: var(--wc-code);
  line-height: 1.7;
  animation: float-b 9s ease-in-out infinite;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}
.terminal .ln { display: flex; gap: var(--sp-2); white-space: nowrap; }
.terminal .p { color: var(--wc-blue-500); }
.terminal .c { color: var(--wc-ink-400); }
.terminal .ok { color: var(--wc-success); }
.terminal .cy { color: var(--wc-cyan-400); }
.terminal .caret {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: var(--wc-cyan-400);
  vertical-align: middle;
  animation: blink 1.1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }
@keyframes float-a { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes float-b { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Faixa de logos ---------- */
.clients { padding-block: var(--sp-12); }
.clients-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
  flex-wrap: wrap;
}
.clients .label { color: var(--wc-ink-600); }
.clients-logos {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  flex-wrap: wrap;
  opacity: 0.42; /* §8.01: faixa de logos a 42% */
}
.clients-logos .client {
  font-family: var(--wc-font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--wc-ink-200);
  white-space: nowrap;
}

/* ---------- Cards de serviço ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}

.card {
  position: relative;
  background: var(--wc-ink-900);
  border: var(--wc-border) solid var(--wc-ink-800);
  border-radius: var(--wc-radius-md);
  padding: var(--sp-6);
  transition: border-color var(--wc-dur) var(--wc-ease),
              transform var(--wc-dur) var(--wc-ease),
              background-color var(--wc-dur) var(--wc-ease);
  overflow: hidden;
}
.card::before {
  /* halo interno discreto no hover */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px 180px at var(--mx, 50%) var(--my, 0%), rgba(37, 99, 245, 0.09), transparent 70%);
  opacity: 0;
  transition: opacity var(--wc-dur) var(--wc-ease);
  pointer-events: none;
}
.card:hover {
  border-color: var(--wc-ink-600);
  transform: translateY(-3px);
}
.card:hover::before { opacity: 1; }

.service-card .icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: var(--wc-border) solid var(--wc-ink-800);
  border-radius: var(--wc-radius-sm);
  margin-bottom: var(--sp-4);
  color: var(--wc-ink-200);
  transition: color var(--wc-dur) var(--wc-ease), border-color var(--wc-dur) var(--wc-ease);
}
.service-card:hover .icon { color: var(--wc-blue-500); border-color: var(--wc-ink-600); }
.service-card .icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: var(--wc-icon-stroke); stroke-linejoin: miter; stroke-linecap: butt; }

.service-card h3 { font-size: 17px; letter-spacing: -0.01em; margin-bottom: var(--sp-2); }
.service-card p { font-size: var(--wc-body-s); color: var(--wc-ink-400); }

/* ---------- Diferenciais ---------- */
.edge { position: relative; }
.edge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--wc-border);
  background: var(--wc-ink-800);
  border: var(--wc-border) solid var(--wc-ink-800);
  border-radius: var(--wc-radius-lg);
  overflow: hidden;
}
.edge-item {
  background: var(--wc-ink-950);
  padding: var(--sp-8);
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  transition: background-color var(--wc-dur) var(--wc-ease);
}
.edge-item:hover { background: var(--wc-ink-900); }
.edge-item .chev-bullet {
  flex: none;
  margin-top: 7px;
  width: 14px;
  height: 9px;
  background: var(--wc-blue-500);
  clip-path: polygon(0 0, 22% 0, 50% 62%, 78% 0, 100% 0, 50% 100%);
}
.edge-item h3 { font-size: var(--wc-body-m); margin-bottom: var(--sp-1); }
.edge-item p { font-size: var(--wc-body-s); color: var(--wc-ink-400); }

/* ---------- Processo ---------- */
.process { position: relative; }
.process-track {
  position: relative;
  margin-top: var(--sp-8);
}
.process-track::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--wc-ink-800);
}
.process-track::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 8px;
  width: 1px;
  height: calc(var(--line, 0) * (100% - 16px));
  background: linear-gradient(180deg, var(--wc-blue-600), var(--wc-violet-500));
  transition: height 200ms linear;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 220px) 1fr;
  gap: var(--sp-6);
  padding-block: var(--sp-6);
}
.step + .step { border-top: var(--wc-border) solid var(--wc-ink-800); }

.step .node {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--wc-ink-950);
  border: var(--wc-border) solid var(--wc-ink-800);
  font-family: var(--wc-font-mono);
  font-size: 11px;
  color: var(--wc-ink-400);
  transition: border-color var(--wc-dur) var(--wc-ease), color var(--wc-dur) var(--wc-ease);
}
.step.is-active .node { border-color: var(--wc-blue-500); color: var(--wc-blue-500); }

.step h3 { font-size: var(--wc-body-l); letter-spacing: -0.01em; align-self: center; }
.step p { font-size: var(--wc-body-s); color: var(--wc-ink-400); align-self: center; max-width: 56ch; }

/* ---------- Projetos ---------- */
.filters {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-bottom: var(--sp-8);
}
.filter-btn {
  padding: 8px 16px;
  border: var(--wc-border) solid var(--wc-ink-800);
  border-radius: var(--wc-radius-pill);
  font-family: var(--wc-font-mono);
  font-size: var(--wc-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wc-ink-400);
  transition: color var(--wc-dur-fast), border-color var(--wc-dur-fast), background-color var(--wc-dur-fast);
}
.filter-btn:hover { color: var(--wc-white); border-color: var(--wc-ink-600); }
.filter-btn[aria-pressed="true"] {
  color: var(--wc-white);
  background: var(--wc-blue-600);
  border-color: var(--wc-blue-600);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.project-card { padding: 0; display: flex; flex-direction: column; }
.project-card.is-hidden { display: none; }

.project-shot {
  border-bottom: var(--wc-border) solid var(--wc-ink-800);
  background: var(--wc-ink-950);
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.project-shot svg {
  width: 100%;
  height: 100%;
  transition: transform var(--wc-dur-slow) var(--wc-ease);
}
.project-card:hover .project-shot svg { transform: scale(1.035); }

.project-body { padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-2); flex: 1; }
.project-body .cat { color: var(--wc-ink-600); }
.project-body h3 { font-size: 18px; letter-spacing: -0.01em; }
.project-body .result {
  margin-top: auto;
  padding-top: var(--sp-4);
  font-family: var(--wc-font-mono);
  font-size: var(--wc-label);
  letter-spacing: 0.06em;
  color: var(--wc-ink-400);
}
.project-body .result strong { color: var(--wc-cyan-400); font-weight: 500; }

/* ---------- Tecnologias ---------- */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--wc-border);
  background: var(--wc-ink-800);
  border: var(--wc-border) solid var(--wc-ink-800);
  border-radius: var(--wc-radius-lg);
  overflow: hidden;
}
.stack-item {
  background: var(--wc-ink-950);
  padding: var(--sp-6) var(--sp-4);
  display: grid;
  place-items: center;
  gap: var(--sp-2);
  font-family: var(--wc-font-mono);
  font-size: var(--wc-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wc-ink-400);
  text-align: center;
  transition: color var(--wc-dur) var(--wc-ease), background-color var(--wc-dur) var(--wc-ease);
}
.stack-item:hover { color: var(--wc-white); background: var(--wc-ink-900); }
.stack-item::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--wc-ink-600);
  transition: background-color var(--wc-dur) var(--wc-ease);
}
.stack-item:hover::before { background: var(--wc-cyan-400); }

/* ---------- Depoimentos ---------- */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.quote-card { display: flex; flex-direction: column; gap: var(--sp-6); }
.quote-card blockquote {
  font-size: var(--wc-body-m);
  line-height: 1.65;
  color: var(--wc-ink-200);
}
.quote-card blockquote::before {
  content: "";
  display: block;
  width: 14px;
  height: 9px;
  margin-bottom: var(--sp-4);
  background: var(--wc-blue-500);
  clip-path: polygon(0 0, 22% 0, 50% 62%, 78% 0, 100% 0, 50% 100%);
}
.quote-who {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: auto;
  padding-top: var(--sp-4);
  border-top: var(--wc-border) solid var(--wc-ink-800);
}
.quote-who .mono-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--wc-radius-sm);
  display: grid;
  place-items: center;
  background: var(--wc-ink-800);
  font-family: var(--wc-font-mono);
  font-size: var(--wc-label);
  color: var(--wc-ink-200);
  letter-spacing: 0.05em;
}
.quote-who .name { font-size: var(--wc-body-s); color: var(--wc-white); font-weight: 600; }
.quote-who .role {
  font-family: var(--wc-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--wc-ink-600);
  text-transform: uppercase;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 760px;
  border-top: var(--wc-border) solid var(--wc-ink-800);
}
.faq-item { border-bottom: var(--wc-border) solid var(--wc-ink-800); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  padding-block: var(--sp-6);
  text-align: left;
  font-family: var(--wc-font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--wc-white);
  transition: color var(--wc-dur-fast);
}
.faq-q:hover { color: var(--wc-blue-500); }
.faq-q .chev-v {
  flex: none;
  width: 14px;
  height: 9px;
  background: var(--wc-ink-600);
  clip-path: polygon(0 0, 22% 0, 50% 62%, 78% 0, 100% 0, 50% 100%);
  transition: transform var(--wc-dur) var(--wc-ease), background-color var(--wc-dur-fast);
}
.faq-item.is-open .chev-v { transform: rotate(180deg); background: var(--wc-blue-500); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--wc-dur) var(--wc-ease);
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p {
  padding-bottom: var(--sp-6);
  color: var(--wc-ink-400);
  font-size: var(--wc-body-s);
  max-width: 62ch;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  border-block: var(--wc-border) solid var(--wc-ink-800);
  background: var(--wc-ink-900);
}
.cta .halo {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.cta-inner {
  position: relative;
  text-align: center;
  padding-block: var(--sp-32);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-6);
}
.cta-inner h2 { max-width: 18ch; }
.cta-inner p { color: var(--wc-ink-400); max-width: 46ch; }
.cta-inner .mail {
  font-family: var(--wc-font-mono);
  font-size: var(--wc-body-s);
  color: var(--wc-ink-400);
}
.cta-inner .mail a { color: var(--wc-blue-500); }
.cta-inner .mail a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Footer ---------- */
.footer { padding-block: var(--sp-16) var(--sp-8); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-12);
  padding-bottom: var(--sp-12);
  border-bottom: var(--wc-border) solid var(--wc-ink-800);
}
.footer-brand svg { height: 24px; width: auto; margin-bottom: var(--sp-4); }
.footer-brand p { font-size: var(--wc-body-s); color: var(--wc-ink-600); max-width: 30ch; }
.footer-brand .sig {
  margin-top: var(--sp-4);
  font-family: var(--wc-font-mono);
  font-size: var(--wc-label);
  letter-spacing: 0.1em;
  color: var(--wc-ink-400);
}

.footer h4 {
  font-family: var(--wc-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wc-ink-600);
  margin-bottom: var(--sp-4);
}
.footer-col a {
  display: block;
  padding-block: var(--sp-1);
  font-size: var(--wc-body-s);
  color: var(--wc-ink-400);
  transition: color var(--wc-dur-fast);
}
.footer-col a:hover { color: var(--wc-white); }

.footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  padding-top: var(--sp-8);
  font-size: 13px;
  color: var(--wc-ink-600);
}
.footer-base .status {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--wc-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.footer-base .status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wc-success);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--wc-dur-slow) var(--wc-ease), transform var(--wc-dur-slow) var(--wc-ease);
  transition-delay: var(--d, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   Responsividade — mobile first nos breakpoints do briefing
   ============================================================ */

@media (max-width: 1023px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .stack-grid { grid-template-columns: repeat(4, 1fr); }
  .quotes-grid { grid-template-columns: 1fr; max-width: 640px; }
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-12); }
  .hero-visual { max-width: 560px; }
  .terminal { bottom: -24px; }
}

@media (max-width: 767px) {
  .section { padding-block: var(--sp-16); }
  .hero { padding-top: 128px; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-burger { display: block; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .edge-grid { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .step { grid-template-columns: 40px 1fr; }
  .step p { grid-column: 2; }
  .hero-meta { flex-wrap: wrap; gap: var(--sp-6); }
  .cta-inner { padding-block: var(--sp-24); }
}

@media (max-width: 359px) {
  .stack-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (min-width: 1920px) {
  :root { --wc-content-max: 1280px; }
}
