/* ==========================================================================
   MJ Web — folha de estilos principal
   Conceito: "Do papel ao código" — base azul-grafite, seções editoriais em
   tom de papel e o laranja como traço de ação.
   Índice:
   1. Fontes          6. Hero               11. CTA
   2. Tokens          7. Manifesto          12. Contato / formulário
   3. Base            8. Serviços           13. Rodapé
   4. Utilitários     9. Como trabalhamos   14. Animações / movimento reduzido
   5. Header         10. Diferenciais
   ========================================================================== */

/* 1. Fontes (auto-hospedadas, licença SIL OFL) ----------------------------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

/* 2. Tokens ---------------------------------------------------------------- */
:root {
  /* Marca */
  --orange: #FE8900;
  --orange-hover: #FF9D2E;
  --orange-ink: #9E4F00;          /* laranja para texto sobre fundo claro (AA) */
  --graphite: #24363F;

  /* Escala do grafite */
  --graphite-950: #111B20;
  --graphite-900: #172429;
  --graphite-850: #1D2D35;
  --graphite-700: #2E4450;
  --graphite-600: #3B5462;
  --graphite-400: #6F8794;
  --graphite-300: #9AAEB8;
  --graphite-200: #C5D2D8;

  /* Papel */
  --paper: #F3EFE7;
  --paper-2: #E8E2D5;
  --paper-line: #D6CEBE;
  --ink: #18252C;
  --ink-soft: #4A5A62;

  /* Texto sobre escuro */
  --text-on-dark: #F4F1EA;
  --muted-on-dark: #A7B8C1;
  --line-on-dark: rgba(244, 241, 234, 0.12);

  --success: #3DBE84;
  --danger: #FF6B5B;

  /* Tipografia */
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;

  --fs-hero: clamp(2.9rem, 1.2rem + 5vw, 6.1rem);
  --fs-h2: clamp(2rem, 1.3rem + 3vw, 3.75rem);
  --fs-h3: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  --fs-lead: clamp(1.075rem, 1rem + 0.35vw, 1.3rem);

  /* Espaço */
  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --section-y: clamp(5rem, 3.5rem + 7vw, 10rem);
  --container: 1280px;
  --header-h: 76px;

  --radius: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 3. Base ------------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  background: var(--graphite);
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

::selection { background: var(--orange); color: var(--graphite-950); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--orange);
  color: var(--graphite-950);
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* 4. Utilitários ----------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-index {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.section-index span {
  display: inline-grid;
  place-items: center;
  min-width: 2.4em;
  padding: 0.2em 0.5em;
  border: 1px solid currentColor;
  border-radius: 99px;
  color: var(--orange-ink);
}
.section-index-light { color: var(--muted-on-dark); }
.section-index-light span { color: var(--orange); }

.section-title {
  font-size: var(--fs-h2);
  max-width: 18ch;
}
.section-title em {
  font-style: normal;
  color: var(--orange);
}
.section-head { margin-bottom: clamp(3rem, 2rem + 4vw, 6rem); }

/* Botões */
.btn {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  border: 1.5px solid transparent;
  border-radius: 99px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.35s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.35s var(--ease);
}
.btn-arrow { display: inline-block; transition: transform 0.35s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }

.btn-primary { --btn-bg: var(--orange); --btn-fg: var(--graphite-950); }
.btn-primary:hover { --btn-bg: var(--orange-hover); box-shadow: 0 10px 30px -10px rgba(254, 137, 0, 0.55); }

.btn-ghost { --btn-fg: var(--text-on-dark); border-color: rgba(244, 241, 234, 0.35); }
.btn-ghost:hover { border-color: var(--text-on-dark); background: rgba(244, 241, 234, 0.06); }

.btn-dark { --btn-bg: var(--graphite-950); --btn-fg: var(--text-on-dark); }
.btn-dark:hover { --btn-bg: var(--graphite); box-shadow: 0 14px 34px -14px rgba(17, 27, 32, 0.8); }

.btn-sm { min-height: 42px; padding: 0.55rem 1.15rem; font-size: 0.925rem; }
.btn-lg { min-height: 60px; padding: 1rem 2rem; font-size: 1.075rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-block: 0.4rem;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size 0.4s var(--ease);
}
.link-arrow span { transition: transform 0.35s var(--ease); }
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow:hover span { transform: translateX(5px); }

/* 5. Header ---------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background-color 0.35s, box-shadow 0.35s, transform 0.4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(23, 36, 41, 0.97);
  box-shadow: 0 1px 0 var(--line-on-dark);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand { display: block; flex-shrink: 0; position: relative; z-index: 2; }
.brand img { width: 104px; height: auto; }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.nav-list { display: flex; gap: 0.25rem; }
.nav-link {
  position: relative;
  display: block;
  padding: 0.5rem 0.8rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted-on-dark);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav-link:hover,
.nav-link.is-active { color: var(--text-on-dark); }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }

/* Menu centralizado no desktop */
@media (min-width: 961px) {
  .header-inner { position: relative; }
  .main-nav { flex: 1; justify-content: flex-end; }
  .nav-list { margin-right: auto; margin-left: auto; }
}
@media (min-width: 1180px) {
  .nav-list {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

.menu-toggle {
  display: none;
  position: relative;
  z-index: 2;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  padding: 0.5rem 0.25rem 0.5rem 0.75rem;
  border: 0;
  background: none;
  color: var(--text-on-dark);
  font: 600 0.9rem var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.menu-toggle-icon { display: grid; gap: 6px; width: 26px; }
.menu-toggle-icon span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.4s var(--ease), width 0.3s;
}
.menu-toggle-icon span:last-child { width: 70%; justify-self: end; background: var(--orange); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:last-child { width: 100%; transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 2rem;
    padding: calc(var(--header-h) + 2rem) var(--gutter) 2.5rem;
    background: var(--graphite-900);
    visibility: hidden;
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.55s var(--ease), opacity 0.3s, visibility 0s linear 0.55s;
    overflow-y: auto;
  }
  .main-nav.is-open {
    visibility: visible;
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transition: clip-path 0.55s var(--ease), opacity 0.2s, visibility 0s;
  }
  .nav-list { flex-direction: column; gap: 0; counter-reset: nav; }
  .nav-list li { border-bottom: 1px solid var(--line-on-dark); counter-increment: nav; }
  .nav-link {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 1rem 0;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 1.2rem + 3vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-on-dark);
  }
  .nav-link::before {
    content: "0" counter(nav);
    font: 500 0.8rem var(--font-mono);
    color: var(--orange);
    letter-spacing: 0.05em;
  }
  .nav-link::after { display: none; }
  .nav-link.is-active { color: var(--orange); }
  .nav-cta { align-self: flex-start; min-height: 52px; padding-inline: 1.6rem; font-size: 1rem; }
  .main-nav.is-open .nav-list li { animation: nav-in 0.6s var(--ease) both; }
  .main-nav.is-open .nav-list li:nth-child(2) { animation-delay: 0.04s; }
  .main-nav.is-open .nav-list li:nth-child(3) { animation-delay: 0.08s; }
  .main-nav.is-open .nav-list li:nth-child(4) { animation-delay: 0.12s; }
  .main-nav.is-open .nav-list li:nth-child(5) { animation-delay: 0.16s; }
  .main-nav.is-open .nav-list li:nth-child(6) { animation-delay: 0.2s; }
}
@keyframes nav-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* 6. Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--header-h) + clamp(2rem, 1rem + 4vw, 5rem));
  background:
    radial-gradient(70% 60% at 85% 35%, rgba(254, 137, 0, 0.08), transparent 65%),
    var(--graphite);
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-on-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-on-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.45;
  -webkit-mask-image: radial-gradient(90% 80% at 70% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(90% 80% at 70% 40%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  padding-bottom: clamp(3rem, 2rem + 4vw, 6rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(254, 137, 0, 0.18);
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink { 50% { box-shadow: 0 0 0 8px rgba(254, 137, 0, 0); } }

.hero-title {
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin-bottom: 2rem;
  text-wrap: initial;
}
.hero-title .line { display: block; }
.paper-word {
  position: relative;
  display: inline-block;
  color: var(--orange);
  font-style: italic;
  font-weight: 600;
  padding-right: 0.06em;
}
.scribble {
  position: absolute;
  left: -2%;
  bottom: -0.08em;
  width: 104%;
  height: 0.24em;
  overflow: visible;
}
.scribble path {
  fill: none;
  stroke: var(--text-on-dark);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 240;
  stroke-dashoffset: 0;
}
.js .scribble path { stroke-dashoffset: 240; animation: draw 1.1s 0.9s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-lead {
  max-width: 34rem;
  margin-bottom: 2.5rem;
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--muted-on-dark);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Composição visual — escala com a largura do próprio container */
.hero-visual {
  container-type: inline-size;
  position: relative;
}
.hv-stage {
  position: relative;
  aspect-ratio: 560 / 520;
  font-size: 2.6cqw;
  transform: translate3d(0, var(--py, 0px), 0);
  transition: transform 0.2s linear;
}
.hv-tag {
  position: absolute;
  top: -0.95em;
  left: 1em;
  padding: 0.2em 0.65em;
  border-radius: 99px;
  background: var(--orange);
  color: var(--graphite-950);
  font: 600 0.62em/1.4 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hv-tag-dark { background: var(--text-on-dark); }

.hv-sheet {
  position: absolute;
  left: 0;
  top: 2%;
  width: 46%;
  padding: 1.4em 1.1em 1.1em;
  background: var(--paper);
  color: var(--ink);
  border-radius: 3px;
  transform: rotate(-6deg);
  box-shadow: 0 2em 3em -1.5em rgba(0, 0, 0, 0.5);
  background-image: repeating-linear-gradient(transparent 0 1.35em, rgba(36, 54, 63, 0.08) 1.35em calc(1.35em + 1px));
}
.hv-sketch { width: 100%; height: auto; overflow: visible; }
.hv-sketch rect,
.hv-sketch path {
  fill: none;
  stroke: var(--graphite);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 4 3;
  opacity: 0.75;
}
.hv-sketch .fill { fill: var(--orange); stroke: none; opacity: 1; }
.hv-sketch .note { stroke: var(--orange); stroke-dasharray: none; stroke-width: 2.4; opacity: 1; }
.hv-hand {
  display: block;
  margin-top: 0.7em;
  font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
  font-size: 0.68em;
  line-height: 1.35;
  color: var(--graphite-700);
}

.hv-browser {
  position: absolute;
  left: 28%;
  top: 20%;
  width: 70%;
  background: var(--graphite-850);
  border: 1px solid var(--line-on-dark);
  border-radius: 0.6em;
  box-shadow: 0 3em 5em -2em rgba(0, 0, 0, 0.6);
  z-index: 2;
}
.hv-browser .hv-tag { left: auto; right: 1em; }
.hv-bar {
  display: flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.6em 0.8em;
  border-bottom: 1px solid var(--line-on-dark);
}
.hv-bar span { width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--graphite-600); }
.hv-bar span:first-child { background: var(--orange); }
.hv-bar em {
  flex: 1;
  margin-left: 0.6em;
  padding: 0.15em 0.7em;
  border-radius: 99px;
  background: var(--graphite-950);
  font: normal 0.55em var(--font-mono);
  color: var(--graphite-300);
}
.hv-ui { padding: 0.9em; display: grid; gap: 0.9em; }
.hv-ui-nav { display: flex; align-items: center; gap: 0.6em; }
.hv-ui-nav i { width: 2.2em; height: 0.35em; border-radius: 1em; background: var(--graphite-600); }
.hv-ui-nav i.logo-dot { width: 0.9em; height: 0.9em; border-radius: 0.2em; background: var(--orange); margin-right: auto; }
.hv-ui-nav b {
  padding: 0.25em 0.7em;
  border-radius: 1em;
  background: var(--orange);
  color: var(--graphite-950);
  font: 600 0.5em var(--font-body);
}
.hv-ui-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9em; align-items: end; }
.hv-ui-lines { display: grid; gap: 0.45em; }
.hv-ui-lines i { height: 0.75em; border-radius: 0.2em; background: var(--text-on-dark); }
.hv-ui-lines i.thin { height: 0.35em; background: var(--graphite-400); }
.hv-ui-lines b { width: 45%; height: 1.1em; margin-top: 0.3em; border-radius: 1em; border: 1.5px solid var(--orange); }
.w80 { width: 92%; } .w60 { width: 68%; } .w40 { width: 80%; }
.hv-ui-chart {
  padding: 0.5em;
  border-radius: 0.4em;
  background: var(--graphite-950);
}
.hv-ui-chart svg { width: 100%; height: auto; }
.hv-ui-chart .area { fill: rgba(254, 137, 0, 0.16); }
.hv-ui-chart .line {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-dasharray: 160;
}
.js .hv-ui-chart .line { stroke-dashoffset: 160; animation: draw 1.6s 1.2s var(--ease) forwards; }
.hv-ui-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6em; }
.hv-ui-cards i { height: 2.6em; border-radius: 0.35em; background: var(--graphite-700); }
.hv-ui-cards i:nth-child(2) { background: linear-gradient(180deg, var(--graphite-700) 60%, var(--orange) 60% 64%, var(--graphite-700) 64%); }

.hv-code {
  position: absolute;
  left: 4%;
  top: 63%;
  width: 60%;
  padding: 1.2em 1.1em 1em;
  background: var(--graphite-950);
  border: 1px solid var(--line-on-dark);
  border-radius: 0.5em;
  box-shadow: 0 2em 4em -2em rgba(0, 0, 0, 0.7);
  z-index: 3;
}
.hv-code pre { margin: 0; overflow: hidden; }
.hv-code code {
  font: 400 0.6em/1.65 var(--font-mono);
  color: var(--graphite-200);
  white-space: pre;
}
.c-k { color: var(--orange); }
.c-f { color: #F4F1EA; font-weight: 600; }
.c-s { color: #9DD9B8; }
.c-c { color: var(--graphite-400); }

.hv-flow {
  position: absolute;
  right: 0;
  top: 73%;
  width: 34%;
  padding: 1.3em 1em 1em;
  border: 1.5px dashed var(--orange);
  border-radius: 0.5em;
  background: rgba(23, 36, 41, 0.92);
  z-index: 3;
}
.hv-flow ol { display: grid; gap: 0.55em; }
.hv-flow li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.55em;
  font: 500 0.62em var(--font-mono);
  color: var(--text-on-dark);
}
.hv-flow li i {
  width: 0.9em;
  height: 0.9em;
  border-radius: 50%;
  border: 1.5px solid var(--orange);
  flex-shrink: 0;
}
.hv-flow li:last-child i { background: var(--orange); }
.hv-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0.44em;
  top: 1.25em;
  width: 1.5px;
  height: 0.75em;
  background: var(--orange);
  opacity: 0.6;
}

.hv-connector {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}
.hv-connector path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.5;
  stroke-dasharray: 5 6;
  vector-effect: non-scaling-stroke;
  animation: dash 1.6s linear infinite;
}
@keyframes dash { to { stroke-dashoffset: -22; } }


@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 600px; width: 100%; margin-inline: auto; }
}
@media (max-width: 560px) {
  .hero-title { letter-spacing: -0.04em; }
  .hero-actions .btn { width: 100%; }
  .hv-hand { display: none; }
  .hero-grid-bg { background-size: 40px 40px; }
}

/* 7. Manifesto ------------------------------------------------------------- */
.manifesto {
  position: relative;
  padding-block: calc(var(--section-y) * 0.65);
  background: var(--paper);
  color: var(--ink);
}
.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 6rem);
  align-items: end;
}
.manifesto-text {
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3.1rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.manifesto-text mark {
  color: inherit;
  background: linear-gradient(transparent 62%, rgba(254, 137, 0, 0.55) 62% 92%, transparent 92%) 0 0 / 0% 100% no-repeat;
  transition: background-size 1.2s 0.3s var(--ease);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.manifesto-text.is-visible mark,
.no-js .manifesto-text mark { background-size: 100% 100%; }
.manifesto-text mark + mark { transition-delay: 0.8s; }

.manifesto-col {
  padding-left: 1.5rem;
  border-left: 3px solid var(--orange);
}
.kicker {
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-ink);
}
.manifesto-col p { color: var(--ink-soft); font-size: 1.05rem; }

@media (max-width: 860px) {
  .manifesto-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* 8. Serviços -------------------------------------------------------------- */
.services {
  padding-block: var(--section-y);
  background: var(--graphite);
}
.service {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 1rem + 3vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3rem, 2rem + 3vw, 5rem);
  border-top: 1px solid var(--line-on-dark);
}
.service:last-child { border-bottom: 1px solid var(--line-on-dark); }
.service-num {
  align-self: start;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 2.5rem + 3vw, 6rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--graphite-400);
  transition: color 0.5s var(--ease), -webkit-text-stroke-color 0.5s;
}
.service:hover .service-num { color: var(--orange); -webkit-text-stroke-color: var(--orange); }

.service-title { font-size: var(--fs-h3); margin-bottom: 1.1rem; }
.service-desc { font-size: 1.1rem; color: var(--text-on-dark); max-width: 34rem; }
.service-gain {
  margin: 1.75rem 0;
  padding: 1.1rem 1.25rem;
  border-left: 2px solid var(--orange);
  background: rgba(17, 27, 32, 0.35);
}
.service-gain dt {
  margin-bottom: 0.35rem;
  font: 600 0.75rem var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}
.service-gain dd { margin: 0; color: var(--muted-on-dark); }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }
.service-tags li {
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--line-on-dark);
  border-radius: 99px;
  font-size: 0.85rem;
  color: var(--muted-on-dark);
}

/* Inverte a ordem nos serviços pares */
.service-reverse { grid-template-columns: 7rem minmax(0, 1.05fr) minmax(0, 1fr); }

.service-visual {
  position: relative;
  border-radius: 10px;
  padding: clamp(1rem, 0.5rem + 2vw, 2rem);
  overflow: hidden;
  transition: transform 0.6s var(--ease);
}
.service:hover .service-visual { transform: translateY(-6px); }
.service-visual svg { width: 100%; height: auto; overflow: visible; }

/* Visual 01 — papel / wireframe */
.service-web .service-visual { background: var(--paper); transform: rotate(1.2deg); }
.service-web:hover .service-visual { transform: rotate(0deg) translateY(-6px); }
.sv-web .sv-frame { fill: #FFF; stroke: var(--graphite); stroke-width: 1.5; }
.sv-web .sv-rule { stroke: var(--paper-line); stroke-width: 1.5; }
.sv-web .sv-dot { fill: var(--paper-line); }
.sv-web .sv-block { fill: var(--graphite); }
.sv-web .sv-block.accent { fill: var(--graphite); }
.sv-web .sv-line { fill: var(--paper-2); }
.sv-web .sv-btn { fill: var(--orange); }
.sv-web .sv-img { fill: var(--paper-2); }
.sv-web .sv-img-x { fill: none; stroke: var(--orange); stroke-width: 2; stroke-linejoin: round; }
.sv-web .sv-cursor { fill: var(--graphite); stroke: #FFF; stroke-width: 1.2; transition: transform 0.6s var(--ease); }
.service-web:hover .sv-cursor { transform: translate(-30px, -12px); }

/* Visual 02 — painel */
.service-app .service-visual { background: var(--graphite-900); border: 1px solid var(--line-on-dark); }
.sv-app .sv-frame { fill: var(--graphite-850); stroke: var(--line-on-dark); }
.sv-app .sv-side { fill: var(--graphite-950); }
.sv-app .sv-side-item { fill: var(--graphite-700); }
.sv-app .sv-side-item.accent,
.sv-app .sv-line.accent { fill: var(--orange); }
.sv-app .sv-kpi { fill: var(--graphite-700); }
.sv-app .accent-stroke { stroke: var(--orange); stroke-width: 1.5; }
.sv-app .sv-line { fill: var(--graphite-400); }
.sv-app .sv-bars {
  stroke: var(--graphite-400);
  stroke-width: 12;
  stroke-linecap: round;
  transition: stroke 0.5s;
}
.service-app:hover .sv-app .sv-bars { stroke: var(--orange); }
.sv-app .sv-rule { stroke: var(--graphite-600); stroke-width: 1; }
.sv-app .sv-table { fill: var(--graphite-950); }
.sv-app .sv-status { fill: var(--success); }

/* Visual 03 — fluxo */
.service-auto .service-visual {
  background:
    radial-gradient(circle at 50% 50%, rgba(254, 137, 0, 0.14), transparent 60%),
    var(--graphite-950);
  border: 1px solid rgba(254, 137, 0, 0.25);
  background-image:
    radial-gradient(circle at 50% 50%, rgba(254, 137, 0, 0.14), transparent 60%),
    radial-gradient(rgba(244, 241, 234, 0.1) 1px, transparent 1px);
  background-size: auto, 18px 18px;
}
.sv-auto .sv-wire { fill: none; stroke: var(--graphite-400); stroke-width: 1.6; stroke-dasharray: 4 5; }
.sv-auto .sv-wire.accent { stroke: var(--orange); }
.sv-auto .sv-node { fill: var(--graphite-850); stroke: var(--graphite-600); stroke-width: 1.4; }
.sv-auto .sv-node.accent-stroke { stroke: var(--orange); }
.sv-auto .sv-line { fill: var(--graphite-400); }
.sv-auto .sv-line.accent { fill: var(--orange); }
.sv-auto .sv-hub { fill: var(--orange); }
.sv-auto .sv-hub-mark { fill: none; stroke: var(--graphite-950); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.sv-auto .sv-pulse { fill: var(--text-on-dark); }

/* Visual 04 — caixa de entrada */
.service-mail .service-visual { background: var(--graphite-700); transform: rotate(-1deg); }
.service-mail:hover .service-visual { transform: rotate(0deg) translateY(-6px); }
.sv-mail .sv-paper { fill: var(--paper); }
.sv-mail .sv-field { fill: #FFF; stroke: var(--orange); stroke-width: 1.5; }
.sv-mail .sv-domain { font: 600 13px var(--font-mono); fill: var(--ink); }
.sv-mail .sv-domain .at { fill: var(--orange-ink); }
.sv-mail .sv-row { fill: #FFF; stroke: var(--paper-line); }
.sv-mail .sv-avatar { fill: var(--paper-line); }
.sv-mail .sv-avatar.accent { fill: var(--orange); }
.sv-mail .sv-line { fill: var(--paper-2); }
.sv-mail .sv-line.dark { fill: var(--graphite); }
.sv-mail .sv-unread { fill: var(--orange); }
.sv-mail .sv-envelope {
  fill: var(--graphite);
  stroke: var(--orange);
  stroke-width: 2;
  stroke-linejoin: round;
  transition: transform 0.6s var(--ease);
}
.service-mail:hover .sv-envelope { transform: translate(-6px, -10px); }
.sv-mail .sv-mail-row { transition: transform 0.5s var(--ease); }
.service-mail:hover .sv-mail-row:first-of-type { transform: translateX(6px); }

@media (max-width: 960px) {
  .service,
  .service-reverse {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .service-num { font-size: 3.25rem; }
  .service-reverse .service-visual { order: 3; }
  .service-visual { max-width: 560px; }
}

/* 9. Como trabalhamos ----------------------------------------------------- */
.process {
  padding-block: var(--section-y);
  background: var(--graphite-900);
}
.process-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 1rem + 6vw, 8rem);
  align-items: start;
}
.process-head { position: sticky; top: calc(var(--header-h) + 3rem); }
.process-intro { margin-top: 1.75rem; max-width: 26rem; color: var(--muted-on-dark); font-size: 1.075rem; }

.process-steps {
  --progress: 0;
  position: relative;
  display: grid;
}
.process-steps::before,
.process-steps::after {
  content: "";
  position: absolute;
  left: 2.25rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: var(--graphite-700);
}
.process-steps::after {
  background: var(--orange);
  transform-origin: top;
  transform: scaleY(var(--progress));
}
.no-js .process-steps::after { transform: none; }

.step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: clamp(1.25rem, 0.5rem + 2vw, 2.5rem);
  padding-bottom: clamp(3rem, 2rem + 3vw, 5rem);
}
.step:last-child { padding-bottom: 0; }
.step-num {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  border: 2px solid var(--graphite-700);
  background: var(--graphite-900);
  font: 600 1.05rem var(--font-mono);
  color: var(--muted-on-dark);
  transition: border-color 0.5s, background-color 0.5s, color 0.5s;
}
.step.is-current .step-num,
.step.is-done .step-num { border-color: var(--orange); color: var(--orange); }
.step.is-current .step-num { background: var(--orange); color: var(--graphite-950); }
.no-js .step-num { border-color: var(--orange); color: var(--orange); }
.step h3 { font-size: var(--fs-h3); margin: 0.9rem 0 0.75rem; }
.step p { color: var(--muted-on-dark); max-width: 30rem; }

@media (max-width: 960px) {
  .process-inner { grid-template-columns: 1fr; }
  .process-head { position: static; }
}
@media (max-width: 560px) {
  .step { grid-template-columns: 3.25rem minmax(0, 1fr); }
  .step-num { width: 3.25rem; height: 3.25rem; font-size: 0.9rem; }
  .process-steps::before,
  .process-steps::after { left: 1.625rem; }
  .step h3 { margin-top: 0.55rem; }
}

/* 10. Diferenciais --------------------------------------------------------- */
.diffs {
  padding-block: var(--section-y);
  background: var(--paper);
  color: var(--ink);
}
.diffs .section-title em { color: var(--orange-ink); }
.diffs-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 1rem + 5vw, 7rem);
  align-items: start;
}
.diffs-head { position: sticky; top: calc(var(--header-h) + 3rem); }
.diff-list { border-top: 2px solid var(--ink); }
.diff {
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--paper-line);
}
.diff::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.diff:hover::after { transform: scaleX(1); }
.diff-key {
  font: 600 0.85rem/2.3 var(--font-mono);
  color: var(--orange-ink);
}
.diff h3 { font-size: 1.35rem; letter-spacing: -0.02em; margin-bottom: 0.5rem; line-height: 1.2; }
.diff p { color: var(--ink-soft); }

@media (max-width: 960px) {
  .diffs-inner { grid-template-columns: 1fr; }
  .diffs-head { position: static; }
}

/* 11. CTA ------------------------------------------------------------------ */
.cta {
  position: relative;
  padding-block: clamp(5rem, 3rem + 8vw, 11rem);
  background: var(--orange);
  color: var(--graphite-950);
  overflow: hidden;
}
.cta-inner { position: relative; }
.cta-kicker {
  margin-bottom: 1.5rem;
  font: 600 0.85rem var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cta-title {
  max-width: 14ch;
  font-size: clamp(2.75rem, 1.5rem + 5.6vw, 6.75rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}
.cta-title span { display: block; font-style: italic; font-weight: 600; text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.12em; }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  padding-top: 2rem;
  border-top: 2px solid rgba(17, 27, 32, 0.25);
}
.cta-row p { max-width: 34rem; font-size: var(--fs-lead); font-weight: 500; }

@media (max-width: 560px) {
  .cta-row .btn { width: 100%; }
}

/* 12. Contato / formulário ------------------------------------------------- */
.contact {
  padding-block: var(--section-y);
  background: var(--graphite);
}
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 1rem + 5vw, 7rem);
  align-items: start;
}
.contact-intro { margin-top: 1.5rem; color: var(--muted-on-dark); max-width: 30rem; }
.contact-channels { margin-top: 2.5rem; border-top: 1px solid var(--line-on-dark); }
.contact-channels li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.35rem 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-on-dark);
}
.contact-channels li > *:nth-child(n+3) { grid-column: 2; }
.ch-label { font: 500 0.75rem/2 var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-on-dark); }
.contact-channels a { font-weight: 600; text-decoration: none; transition: color 0.2s; }
.contact-channels a:hover { color: var(--orange); }

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  background: var(--graphite-900);
  border: 1px solid var(--line-on-dark);
  border-radius: 12px;
}
.field { display: grid; gap: 0.5rem; align-content: start; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.925rem; font-weight: 600; }
.req { color: var(--orange); }
.opt { font-weight: 400; color: var(--muted-on-dark); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--graphite-600);
  border-radius: var(--radius);
  background: var(--graphite-950);
  color: var(--text-on-dark);
  font: 400 1rem/1.4 var(--font-body);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--graphite-400); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(254, 137, 0, 0.2);
}
.field [aria-invalid="true"] { border-color: var(--danger); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(255, 107, 91, 0.2); }
.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.field select { padding-right: 2.75rem; cursor: pointer; }
.field select option { background: var(--graphite-900); color: var(--text-on-dark); }
.field-hint { margin: 0; font-size: 0.85rem; color: var(--muted-on-dark); }
.field-error { margin: 0; min-height: 0; font-size: 0.85rem; font-weight: 500; color: var(--danger); }
.field-error:empty { display: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.5rem;
}
.form-required { margin: 0; font-size: 0.85rem; color: var(--muted-on-dark); }
.form-required span { color: var(--orange); }

.btn-wa { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

.form-status {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--muted-on-dark);
  background: var(--graphite-850);
  font-size: 0.975rem;
  outline: none;
}
.form-status strong { display: block; margin-bottom: 0.3rem; font-size: 1.05rem; }
.form-status p { margin: 0 0 0.85rem; color: var(--muted-on-dark); }
.form-status p:last-child { margin-bottom: 0; }
.form-status.is-success { border-left-color: var(--success); }
.form-status.is-error { border-left-color: var(--danger); }
.form-status.is-info { border-left-color: var(--orange); }
.form-status-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

@media (max-width: 960px) {
  .contact-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .contact-form { grid-template-columns: 1fr; }
  .form-footer .btn { width: 100%; }
  .contact-channels li { grid-template-columns: 1fr; }
  .contact-channels li > *:nth-child(n+3) { grid-column: 1; }
}

/* 13. Rodapé --------------------------------------------------------------- */
.site-footer {
  padding-block: clamp(3.5rem, 2.5rem + 3vw, 5.5rem) 2rem;
  background: var(--graphite-950);
  color: var(--muted-on-dark);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
}
.footer-brand img { width: 120px; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 22rem; }
.footer-h {
  margin-bottom: 1rem;
  font: 600 0.75rem var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-dark);
}
.footer-nav li,
.footer-contact li { margin-bottom: 0.35rem; }
.site-footer a {
  display: inline-block;
  padding-block: 0.2rem;
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer a:hover { color: var(--orange); }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.site-footer .social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0;
  color: var(--text-on-dark);
}
.social-link svg {
  box-sizing: content-box;
  width: 20px;
  height: 20px;
  padding: 10px;
  border: 1.5px solid var(--orange);
  border-radius: 50%;
  color: var(--orange);
  transition: background-color 0.25s, color 0.25s, transform 0.35s var(--ease);
}
.social-fill { fill: currentColor; }
.social-stroke { fill: none; stroke: currentColor; stroke-width: 2; }
.social-stroke .dot { fill: currentColor; stroke: none; }
.social-link:hover svg { background: var(--orange); color: var(--graphite-950); transform: translateY(-2px); }

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-on-dark);
  font-size: 0.9rem;
}
.footer-bottom p { margin: 0; }

@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Botão flutuante de WhatsApp com escolha de contato */
.wa-widget {
  position: fixed;
  right: clamp(1rem, 0.5rem + 1.5vw, 1.75rem);
  bottom: clamp(1rem, 0.5rem + 1.5vw, 1.75rem);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.85rem;
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.no-js .wa-widget { display: none; }
.js .wa-widget:not(.is-visible) { opacity: 0; transform: translateY(20px) scale(0.9); pointer-events: none; }
body.menu-open .wa-widget { opacity: 0; pointer-events: none; }

.wa-float {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--orange);
  color: var(--graphite-950);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: transform 0.4s var(--ease), background-color 0.2s;
}
.wa-float:hover { background: var(--orange-hover); transform: translateY(-3px) scale(1.04); }
.wa-float svg { grid-area: 1 / 1; width: 28px; height: 28px; transition: transform 0.4s var(--ease), opacity 0.25s; }
.wa-icon-open { fill: currentColor; }
.wa-icon-close { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; opacity: 0; transform: rotate(-90deg); }
.wa-float[aria-expanded="true"] .wa-icon-open { opacity: 0; transform: rotate(90deg); }
.wa-float[aria-expanded="true"] .wa-icon-close { opacity: 1; transform: none; }

.wa-panel {
  width: min(320px, calc(100vw - 2rem));
  padding: 1.25rem;
  border: 1px solid var(--line-on-dark);
  border-top: 3px solid var(--orange);
  border-radius: 12px;
  background: var(--graphite-900);
  color: var(--text-on-dark);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  transform-origin: bottom right;
  animation: wa-in 0.35s var(--ease) both;
}
.wa-panel[hidden] { display: none; }
@keyframes wa-in {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.wa-panel-title { margin: 0 0 0.25rem; font: 700 1.15rem/1.2 var(--font-display); letter-spacing: -0.02em; }
.wa-panel-sub { margin: 0 0 1rem; font-size: 0.9rem; color: var(--muted-on-dark); }
.wa-people { display: grid; gap: 0.5rem; }
.wa-person {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line-on-dark);
  border-radius: 8px;
  background: var(--graphite-850);
  text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s;
}
.wa-person:hover { border-color: var(--orange); background: var(--graphite-700); }
.wa-avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--graphite-950);
  font: 700 0.85rem var(--font-mono);
}
.wa-person-text { display: grid; flex: 1; line-height: 1.3; }
.wa-person-text b { font-weight: 600; font-size: 0.975rem; }
.wa-person-text small { font: 400 0.8rem var(--font-mono); color: var(--muted-on-dark); }
.wa-go { color: var(--orange); transition: transform 0.3s var(--ease); }
.wa-person:hover .wa-go { transform: translateX(4px); }

/* 14. Animações de entrada / movimento reduzido ---------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Entrada do hero */
.js .hero-copy > *,
.js .hero-visual {
  animation: rise 1s var(--ease) both;
}
.js .hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.js .hero-copy > :nth-child(3) { animation-delay: 0.2s; }
.js .hero-copy > :nth-child(4) { animation-delay: 0.3s; }
.js .hero-visual { animation-delay: 0.25s; animation-duration: 1.3s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}

@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;
    transition-delay: 0s !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hv-stage { transform: none !important; }
  .sv-pulse { display: none; }
}

/* 15. Mobile — composição centralizada ------------------------------------- */
@media (max-width: 640px) {
  :root { --gutter: 1.25rem; }

  /* Hero */
  .hero-copy { text-align: center; }
  .eyebrow { justify-content: center; font-size: 0.72rem; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }

  /* Cabeçalhos de seção */
  .section-index { display: flex; justify-content: center; }
  .section-head,
  .process-head,
  .diffs-head,
  .contact-aside { text-align: center; }
  .section-title { margin-inline: auto; }
  .process-intro,
  .contact-intro { margin-inline: auto; }

  /* Manifesto */
  .manifesto-text { text-align: center; }
  .manifesto-col {
    padding: 1.5rem 0 0;
    border-left: 0;
    border-top: 3px solid var(--orange);
    text-align: center;
  }

  /* Serviços */
  .service { text-align: center; justify-items: center; }
  .service-num { align-self: center; }
  .service-desc { margin-inline: auto; }
  .service-gain {
    border-left: 0;
    border-top: 2px solid var(--orange);
    text-align: center;
  }
  .service-tags { justify-content: center; }
  .service-visual { width: 100%; }

  /* Diferenciais */
  .diff {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    text-align: center;
  }
  .diff-key { line-height: 1.6; }
  .diff::after { left: 25%; width: 50%; transform-origin: center; }

  /* CTA */
  .cta-inner { text-align: center; }
  .cta-title { margin-inline: auto; }
  .cta-row { justify-content: center; }
  .cta-row p { margin-inline: auto; }
  .cta-row .btn { padding-inline: 1.1rem; font-size: 0.95rem; gap: 0.4rem; }

  /* Contato */
  .contact-channels li { justify-items: center; text-align: center; }

  /* Rodapé */
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .footer-brand img { margin-inline: auto; }
  .footer-brand p { margin-inline: auto; }
  .footer-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 1.25rem; }
  .footer-social { justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}

/* 16. Página 404 ----------------------------------------------------------- */
.page-404 { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.page-404 .header-inner .btn { min-height: 44px; }

.nf {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + clamp(2.5rem, 1rem + 5vw, 5rem)) 0 clamp(3rem, 2rem + 4vw, 6rem);
  background:
    radial-gradient(60% 60% at 80% 45%, rgba(254, 137, 0, 0.09), transparent 65%),
    var(--graphite);
  overflow: hidden;
}
.nf-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2.5rem, 1rem + 5vw, 6rem);
  align-items: center;
}
.nf-title {
  margin-bottom: 1.75rem;
  font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.nf-links {
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-on-dark);
}
.nf-links-title {
  margin-bottom: 0.75rem;
  font: 600 0.75rem var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.nf-links ul { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.nf-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.4rem 0.95rem;
  border: 1px solid var(--line-on-dark);
  border-radius: 99px;
  font-size: 0.925rem;
  text-decoration: none;
  color: var(--text-on-dark);
  transition: border-color 0.2s, color 0.2s;
}
.nf-links a span { color: var(--orange); transition: transform 0.3s var(--ease); }
.nf-links a:hover { border-color: var(--orange); color: var(--orange); }
.nf-links a:hover span { transform: translateX(3px); }

/* Visual: folha de rascunho com o 404 + janela com o status */
.nf-visual { position: relative; max-width: 480px; width: 100%; justify-self: center; font-size: clamp(12px, 1.3vw, 19px); container-type: normal; }
.nf-sheet {
  position: relative;
  padding: 2.2em 1.6em 1.5em;
  background: var(--paper);
  background-image: repeating-linear-gradient(transparent 0 1.6em, rgba(36, 54, 63, 0.08) 1.6em calc(1.6em + 1px));
  color: var(--ink);
  border-radius: 3px;
  transform: rotate(-5deg);
  box-shadow: 0 2em 3em -1.5em rgba(0, 0, 0, 0.55);
  /* dobra no canto, como papel amassado */
  clip-path: polygon(0 0, 88% 0, 100% 9%, 100% 100%, 0 100%);
}
.nf-sheet::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 12%;
  height: 9%;
  background: linear-gradient(225deg, transparent 50%, var(--paper-line) 50%);
}
.nf-tag {
  position: absolute;
  top: 0.8em;
  left: 1.6em;
  padding: 0.15em 0.6em;
  border-radius: 99px;
  background: var(--orange);
  color: var(--graphite-950);
  font: 600 0.55em/1.4 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nf-code {
  display: block;
  font-family: var(--font-display);
  font-size: 7.4em;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 2px var(--graphite);
  background: repeating-linear-gradient(135deg, var(--orange) 0 3px, transparent 3px 9px);
  -webkit-background-clip: text;
  background-clip: text;
}
.nf-sketch { width: 100%; height: auto; margin-top: 0.8em; overflow: visible; }
.nf-sketch rect,
.nf-sketch path {
  fill: none;
  stroke: var(--graphite);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 4 3;
  opacity: 0.7;
}
.nf-hand {
  display: block;
  margin-top: 0.8em;
  font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
  font-size: 0.7em;
  color: var(--graphite-700);
}
.nf-browser {
  position: absolute;
  right: -6%;
  bottom: -14%;
  width: 62%;
  background: var(--graphite-950);
  border: 1px solid var(--line-on-dark);
  border-radius: 0.5em;
  box-shadow: 0 2em 4em -2em rgba(0, 0, 0, 0.7);
  transform: rotate(3deg);
}
.nf-browser-body { display: grid; gap: 0.45em; padding: 0.9em; }
.nf-status { font: 500 0.62em var(--font-mono); color: var(--muted-on-dark); }
.nf-status b { color: var(--danger); }
.nf-status.ok b { color: var(--success); }

.nf-footer { padding-block: 0 1.5rem; }
.nf-footer .footer-bottom { margin-top: 0; }

@media (max-width: 960px) {
  .nf-inner { grid-template-columns: 1fr; }
  .nf-visual { max-width: 380px; margin-bottom: 3rem; font-size: 15px; }
}
@media (max-width: 640px) {
  .page-404 .header-inner .btn { padding-inline: 1rem; }
  .nf-links { text-align: center; }
  .nf-links ul { justify-content: center; }
  .nf-visual { max-width: 300px; font-size: 12px; }
  .nf-hand { display: none; }
}
