/* =========================================================
   Carlos Herculano — landing page
   Visual: escuro, técnico, mono + Inter. Cores: carvão, branco quente e vermelho.
   ========================================================= */

@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-800-normal.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --ink: #0B0B0C;
  --ink-2: #111113;
  --ink-3: #18181b;
  --paper: #F5F4F1;
  --red: #E32A32;          /* acento da marca: grafismos e títulos */
  --red-deep: #C81E27;     /* fundo de botão (5.2:1 com o branco quente) */
  --red-bright: #FF4A50;   /* texto pequeno vermelho sobre o carvão (5.9:1) */
  --muted: #A9A7A2;        /* texto secundário (8.2:1) */
  --dim: #77756F;          /* segunda linha dos títulos (texto grande) */
  --line: rgba(245, 244, 241, .10);
  --line-2: rgba(245, 244, 241, .18);

  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --f-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--paper);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
strong { color: var(--paper); font-weight: 600; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section[id] { scroll-margin-top: calc(var(--header-h) + 2px); }

:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: .875rem;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Tipografia ---------- */
.label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 1.5rem;
}

.title {
  font-family: var(--f-text);
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.title .accent, .title .dim { display: block; }
.title-xl { font-size: clamp(2.5rem, 7vw, 5rem); }
.accent { color: var(--red); }
.dim { color: var(--dim); }

.lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 36em;
}

/* pontinho pulsante */
.pulse {
  display: inline-block;
  flex: none;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(227, 42, 50, .6);
  vertical-align: middle;
}
@media (prefers-reduced-motion: no-preference) {
  .pulse { animation: pulse 2.4s ease-out infinite; }
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(227, 42, 50, .55); }
  70%  { box-shadow: 0 0 0 8px rgba(227, 42, 50, 0); }
  100% { box-shadow: 0 0 0 0 rgba(227, 42, 50, 0); }
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75em;
  min-height: 48px;
  padding: .85em 1.5em;
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--paper);
  background: var(--red-deep);
  border: 1px solid var(--red-deep);
  border-radius: 0;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .25s ease, color .2s ease;
}
.btn:hover {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 32px -6px rgba(227, 42, 50, .65);
  color: var(--ink);
}
.btn .arr { display: inline-block; transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(4px); }
.btn-ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--paper);
}
.btn-ghost:hover { background: transparent; border-color: var(--paper); box-shadow: none; color: var(--paper); }
.btn-ghost:hover .arr { transform: translateY(3px); }
.btn-sm { min-height: 44px; padding: .6em 1.1em; font-size: .72rem; }
.btn-lg { min-height: 56px; padding: 1em 1.8em; font-size: .85rem; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 12, .82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  min-height: 44px;
  margin-right: auto;
  font-family: var(--f-mono);
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.brand span { color: var(--red); }
.nav-list { display: flex; gap: 6px; }
.nav-list a {
  display: inline-block;
  line-height: 44px;
  padding: 0 12px;
  font-family: var(--f-mono);
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color .2s ease;
}
.nav-list a span { color: var(--dim); transition: color .2s ease; }
.nav-list a:hover { color: var(--paper); }
.nav-list a:hover span { color: var(--red); }

@media (max-width: 959px) {
  .header-inner { flex-wrap: wrap; gap: 0 10px; padding-top: 6px; padding-inline: 16px; }
  .brand { font-size: .8rem; }
  .btn-sm { padding: .55em .8em; font-size: .66rem; letter-spacing: .08em; }
  .btn-sm .arr { display: none; }
  .nav { order: 3; width: 100%; border-top: 1px solid var(--line); }
  .nav-list { justify-content: space-between; gap: 0; }
  .nav-list a { padding: 0 4px; font-size: .7rem; letter-spacing: .1em; }
  .nav-list li:first-child a { padding-left: 0; }
  .nav-list li:last-child a { padding-right: 0; }
  :root { --header-h: 102px; }
}

/* ---------- Seções ---------- */
.section {
  padding-block: clamp(80px, 11vw, 150px);
  border-top: 1px solid var(--line);
}
.section-head {
  display: grid;
  align-items: start;
  grid-template-columns: 1fr;
  gap: 4px;
  margin-bottom: clamp(48px, 7vw, 88px);
}
.section-head .title { margin-bottom: 1.5rem; }
.section-head .title:last-child { margin-bottom: 0; }
@media (min-width: 960px) {
  .section-head { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 40px; }
  .section-head .label { padding-top: .9rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -12% 0 -12% 0;
  z-index: -2;
  will-change: transform;
  background:
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(245,244,241,.035) 79px 80px);
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.35) 0%, #000 50%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,.35) 0%, #000 50%);
}
.data-rain { width: 100%; height: 100%; opacity: .8; }
.hero-glow {
  position: absolute;
  z-index: -1;
  right: 4%;
  top: 18%;
  width: min(620px, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(227, 42, 50, .28), rgba(227, 42, 50, 0));
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-glow { animation: glow 6s ease-in-out infinite; }
}
@keyframes glow {
  0%, 100% { opacity: .65; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.08); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-top: clamp(56px, 10vw, 112px);
  padding-bottom: clamp(56px, 8vw, 96px);
}
.hero-copy { position: relative; z-index: 2; }
.hero-title {
  font-family: var(--f-mono);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.3rem, 10.5vw, 5rem);
  line-height: .98;
  letter-spacing: -.045em;
  margin-bottom: 1.75rem;
  max-width: 12ch;
}
.hero-title .accent { color: var(--red); text-shadow: 0 0 40px rgba(227, 42, 50, .35); }
.hero .lead { margin-bottom: 2.25rem; max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { position: relative; }
.hero-visual picture, .hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hud {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 620px;
  width: 100%;
  background:
    radial-gradient(120% 80% at 70% 100%, rgba(227,42,50,.18), transparent 60%),
    rgba(17, 17, 19, .78);
  border: 1px solid var(--line);
  overflow: hidden;
  container-type: size;
}
.hud-corner { position: absolute; width: 18px; height: 18px; border: 0 solid var(--red); }
.hud-corner.tl { left: 10px; top: 10px; border-left-width: 2px; border-top-width: 2px; }
.hud-corner.tr { right: 10px; top: 10px; border-right-width: 2px; border-top-width: 2px; }
.hud-corner.bl { left: 10px; bottom: 10px; border-left-width: 2px; border-bottom-width: 2px; }
.hud-corner.br { right: 10px; bottom: 10px; border-right-width: 2px; border-bottom-width: 2px; }
.hud-label {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.hud-top { position: absolute; left: 32px; top: 30px; }
.hud-bottom { position: absolute; left: 32px; bottom: 30px; color: var(--paper); }
.hud-status {
  position: absolute; right: 32px; top: 28px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red-bright);
}
.hud-nine {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--f-mono);
  font-weight: 800;
  font-size: 15rem;
  font-size: 78cqh;
  line-height: 1;
  letter-spacing: -.06em;
  color: var(--red);
  text-shadow: 0 0 60px rgba(227, 42, 50, .45);
}

@media (max-width: 767px) {
  .hero-bg { -webkit-mask-image: none; mask-image: none; }
  .data-rain { opacity: .4; }
  .hud-status { display: none; }
  .hero-glow { top: auto; bottom: 0; right: -20%; }
  .hud { aspect-ratio: auto; height: 240px; }
  .hud-nine { font-size: 10rem; font-size: 80cqh; }
  .hero-actions .btn { width: 100%; }
}
@media (min-width: 768px) and (max-width: 959px) {
  .hud { aspect-ratio: auto; height: 360px; }
}
@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    align-items: center;
    gap: 48px;
    min-height: min(800px, calc(100svh - var(--header-h) - 60px));
  }
}

/* Faixa em movimento */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(17, 17, 19, .9);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  padding-block: 18px;
  font-family: var(--f-mono);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.marquee-group { display: flex; align-items: center; gap: 28px; padding-right: 28px; }
.marquee-track i { font-style: normal; font-size: .55rem; color: var(--red); }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { gap: 0; animation: marquee 22s linear infinite; }
}
@keyframes marquee { to { transform: translateX(-25%); } }

/* ---------- Método ---------- */
.method .section-head .lead { margin-top: 0; }
.method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.mask-stage {
  --p: 1;
  position: relative;
  height: clamp(240px, 64vw, 320px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-2);
  container-type: size;
}
.nine {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--f-mono);
  font-weight: 800;
  line-height: 1;
  font-size: 14rem;
  font-size: 92cqh;
  letter-spacing: -.06em;
  user-select: none;
}
.nine-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(245, 244, 241, .28);
}
.nine-fill {
  color: var(--red);
  text-shadow: 0 0 50px rgba(227, 42, 50, .4);
  clip-path: circle(calc(var(--p) * 72%) at 50% 55%);
}
.mask-caption, .mask-status {
  position: absolute;
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.mask-caption { left: 20px; top: 18px; }
.mask-status { left: 20px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; color: var(--paper); }

.list-title {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.step {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.step-tag {
  font-family: var(--f-mono);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: .75rem;
}
.step h4 {
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: .6rem;
}
.step p:last-child { color: var(--muted); max-width: 36em; }

@media (min-width: 960px) {
  .method-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 72px;
    align-items: start;
  }
  .method-visual {
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }
  .mask-stage { height: min(640px, calc(100svh - var(--header-h) - 64px)); }
}

/* ---------- Serviços ---------- */
.rows { border-top: 1px solid var(--line); }
.row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color .3s ease;
}
.row-index {
  font-family: var(--f-mono);
  font-size: .85rem;
  color: var(--red-bright);
}
.row-head h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.row-sub {
  margin-top: .6rem;
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
}
.row-body { display: grid; gap: 16px; }
.row-body dt {
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 4px;
}
.row-body dd { color: var(--muted); font-size: 1rem; }
.row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.row-tags li { display: inline-flex; align-items: center; gap: 8px; }
.row-tags li:last-child { color: var(--red-bright); }

@media (min-width: 768px) {
  .row {
    grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 24px 32px;
    padding: 44px 0;
  }
  .row-tags { grid-column: 2 / -1; }
}
@media (min-width: 1100px) {
  .row { grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.4fr) 170px; }
  .row-tags { grid-column: auto; flex-direction: column; align-items: flex-end; text-align: right; gap: 6px; white-space: nowrap; }
}
@media (hover: hover) {
  .row:hover { background: linear-gradient(90deg, rgba(227,42,50,.06), transparent 70%); }
}

.services-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: clamp(40px, 6vw, 64px);
}
.services-cta p { color: var(--muted); max-width: 34em; }
@media (max-width: 767px) {
  .services-cta .btn { width: 100%; }
}

/* ---------- Sobre ---------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
.about-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-2);
}
.about-visual picture, .about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-panel {
  position: absolute;
  inset: -40px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 64px 24px;
  background:
    radial-gradient(90% 70% at 20% 100%, rgba(227,42,50,.16), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(245,244,241,.04) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(245,244,241,.04) 39px 40px);
  will-change: transform;
}
.about-initials {
  font-family: var(--f-mono);
  font-weight: 800;
  font-size: clamp(7rem, 24vw, 13rem);
  line-height: .9;
  letter-spacing: -.08em;
  color: var(--paper);
}
.about-foot { display: inline-flex; align-items: center; gap: 8px; color: var(--paper); }
.about-copy > p:not(.label):not(.about-note) { color: var(--muted); margin-top: 1.1rem; max-width: 36em; }
.about-quote {
  margin: 2rem 0 1.75rem;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--red);
}
.about-quote p {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.015em;
}
.about-quote footer {
  margin-top: .75rem;
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
}
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.75rem; }
.topics li {
  padding: 7px 12px;
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line-2);
}
.about-note {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: .9rem;
  color: var(--dim);
}

.stats {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: clamp(56px, 8vw, 96px);
  border-top: 1px solid var(--line);
}
.stat {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.stat dt {
  font-family: var(--f-mono);
  font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -.05em;
  color: var(--red);
  min-width: 2.4ch;
}
.stat dd { color: var(--muted); font-size: .95rem; }
.stat dd strong {
  display: block;
  margin-bottom: 2px;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--paper);
}

@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
  .stat {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
    padding: 32px 28px 32px 0;
    border-bottom: 0;
  }
  .stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
}
@media (min-width: 960px) {
  .about-grid {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 80px;
    align-items: center;
  }
  .about-visual { aspect-ratio: 4 / 5; }
}

/* ---------- Contato ---------- */
.contact {
  position: relative;
  text-align: center;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  left: 50%; top: 55%;
  width: min(900px, 120vw);
  aspect-ratio: 2 / 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(227, 42, 50, .16), transparent);
  pointer-events: none;
}
.contact-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact .label { justify-content: center; }
.contact .title { max-width: 16ch; margin-bottom: 2.5rem; }
.contact-sub { margin-top: 1.5rem; max-width: 30em; color: var(--muted); }
@media (max-width: 767px) {
  .contact .btn { width: 100%; padding-inline: 1em; }
}

/* ---------- Rodapé ---------- */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 28px 20px;
}
.footer-brand {
  font-family: var(--f-mono);
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.footer-brand span { color: var(--red); }
.footer-link {
  display: inline-block;
  line-height: 44px;
  font-weight: 500;
  text-decoration: none;
  color: var(--paper);
  transition: color .2s ease;
}
.footer-link span { color: var(--red); }
.footer-link:hover { color: var(--red-bright); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 20px 28px;
  border-top: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
}
.footer-bottom p:last-child { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }

/* =========================================================
   Animações (só ativas com JavaScript e sem movimento reduzido)
   ========================================================= */

/* Revelar palavras */
.split-word { display: inline-block; white-space: pre; }
.js .split-ready .split-word {
  opacity: 0;
  transform: translateY(.4em);
  filter: blur(6px);
  transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1), filter .6s ease;
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js .split-ready.is-in .split-word { opacity: 1; transform: none; filter: none; }

/* Entrada dos blocos de serviço */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1), background-color .3s ease;
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation: none !important;
  }
  .js .split-ready .split-word,
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .mask-stage { --p: 1 !important; }
  [data-parallax] { transform: none !important; }
  .marquee-track { width: auto; padding-inline: var(--gutter); }
  .marquee-group { flex-wrap: wrap; row-gap: 6px; white-space: normal; }
  .marquee-group + .marquee-group { display: none; }
}

/* botões largos podem quebrar linha em telas estreitas */
@media (max-width: 479px) {
  .btn-lg { white-space: normal; text-align: center; letter-spacing: .08em; }
}
