/* HS TechSolutions — landing page
   Identidade: seção 5 do CLAUDE.md. Regras de UX: design-system/hs-techsolutions/ */

:root {
  --bg: #050608;
  --surface: #13203A;
  --surface-deep: #0B1222;
  --plate-a: #1A2A4A;
  --plate-b: #0D1628;
  --red: #FF2B4A;
  --text: #EEF1F7;
  --muted: #9AA4B8;
  --line: rgba(238, 241, 247, 0.08);
  --line-strong: rgba(238, 241, 247, 0.16);

  --font-title: "Chakra Petch", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --topbar-h: 64px;
  --radius: 8px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--topbar-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, video, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; }
a, button, summary { cursor: pointer; -webkit-tap-highlight-color: transparent; }

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

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: max(20px, env(safe-area-inset-left));
}
.container--narrow { max-width: 820px; }

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--red);
  color: var(--bg);
  font-weight: 600;
  border-radius: 6px;
  transform: translateY(-200%);
}
.skip-link:focus-visible { transform: none; }

.eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--red);
  box-shadow: 0 0 6px rgba(255, 43, 74, .7);
}

/* ---------- Botões ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.2;
  transition: color .2s, filter .25s, transform .2s, border-color .2s, background-color .2s;
}

/* vermelho com cantos cortados a 45°, como a placa da logo */
.btn--primary {
  color: var(--bg);
  isolation: isolate;
  filter: drop-shadow(0 0 0 rgba(255, 43, 74, 0));
}
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--red);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.btn--primary:hover { filter: drop-shadow(0 0 14px rgba(255, 43, 74, .55)); }
.btn--primary:active { transform: translateY(1px); }

.btn--sm { min-height: 44px; padding: 10px 16px; font-size: .85rem; }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 1rem; }
.btn--xl { min-height: 60px; padding: 16px 34px; font-size: 1.08rem; }

.btn--ghost {
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(238, 241, 247, .02);
}
.btn--ghost:hover { border-color: var(--red); color: #fff; }
.btn--ghost .icon { color: var(--red); transition: transform .2s; }
.btn--ghost:hover .icon { transform: translateX(2px); }

/* ---------- 6.1 Barra do topo ---------- */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--topbar-h);
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
}
.topbar.is-scrolled {
  background: rgba(5, 6, 8, .86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--line);
}
.topbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.topbar__brand { display: flex; align-items: center; min-height: 44px; }
.topbar__brand img { height: 30px; width: auto; }
.topbar__nav { display: none; }

@media (min-width: 900px) {
  :root { --topbar-h: 76px; }
  .topbar__brand img { height: 36px; }
  .topbar__nav {
    display: flex;
    gap: 6px;
    margin-left: auto;
  }
  .topbar__nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    font-size: .95rem;
    color: var(--muted);
    position: relative;
    transition: color .2s;
  }
  .topbar__nav a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 8px;
    height: 1px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .topbar__nav a:hover { color: var(--text); }
  .topbar__nav a:hover::after { transform: scaleX(1); }
}

/* ---------- Trilhas de circuito ---------- */
.ckt { pointer-events: none; }
.ckt__base path, path.ckt__base {
  fill: none;
  stroke: rgba(238, 241, 247, .1);
  stroke-width: 1.2;
}
.ckt__pads rect, .ckt__pad { fill: rgba(238, 241, 247, .18); }
.ckt__pulse path, path.ckt__pulse {
  fill: none;
  stroke: var(--red);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 8 300;
  stroke-dashoffset: 8;
  filter: drop-shadow(0 0 3px rgba(255, 43, 74, .9));
  animation: cktPulse 4.2s linear infinite;
}
.ckt.is-paused .ckt__pulse path,
.ckt.is-paused path.ckt__pulse { animation-play-state: paused; }

@keyframes cktPulse {
  0% { stroke-dashoffset: 8; }
  70%, 100% { stroke-dashoffset: -100; }
}

/* ligação entre seções */
.ckt-link {
  position: absolute;
  top: -48px;
  left: 50%;
  width: 40px;
  height: 120px;
  margin-left: -20px;
  z-index: 1;
}
.ckt-link .ckt { width: 100%; height: 100%; }

/* ---------- 6.2 Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--topbar-h) + 32px) 0 72px;
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  /* escurece o fundo atrás do texto */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 30% 55%, rgba(5, 6, 8, .75), transparent 70%),
    linear-gradient(to bottom, transparent 70%, var(--bg));
  pointer-events: none;
}
.hero__net, .hero__traces {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.hero__grid {
  display: grid;
  gap: 28px;
  align-items: center;
}
.hero__logo { justify-self: start; }
.hero__logo .hs-logo { width: 128px; }

.hero__text { max-width: 640px; }
.hero__title {
  position: relative;
  margin-top: 16px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(2.3rem, 8.6vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -.01em;
}
.hero__sub {
  margin-top: 20px;
  max-width: 34em;
  color: var(--muted);
  font-size: clamp(1.02rem, 2.6vw, 1.18rem);
  font-weight: 300;
}
.hero__sub, .section__intro { text-wrap: pretty; }
.hero__title, .section__title, .final__title { text-wrap: balance; }

.hero__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
}
.link-down {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.link-down .icon { color: var(--red); transition: transform .25s var(--ease); }
.link-down:hover { border-bottom-color: var(--red); }
.link-down:hover .icon { transform: translateY(3px); }

/* glitch do título: uma vez, ao carregar */
.hero__title::before,
.hero__title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.hero__title::before { color: var(--red); }
.hero__title::after { color: #4BB3FF; }
.js .hero__title::before { animation: titleGlitch .7s steps(2) .35s 1; }
.js .hero__title::after { animation: titleGlitch .7s steps(2) .42s 1 reverse; }
@keyframes titleGlitch {
  0%   { opacity: .8; transform: translate(-3px, 0); clip-path: inset(8% 0 70% 0); }
  25%  { opacity: .8; transform: translate(3px, 0); clip-path: inset(52% 0 22% 0); }
  50%  { opacity: .8; transform: translate(-2px, 0); clip-path: inset(30% 0 46% 0); }
  75%  { opacity: .8; transform: translate(2px, 0); clip-path: inset(78% 0 4% 0); }
  100% { opacity: 0; }
}

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; }
  .hero__logo { order: 2; justify-self: center; }
  .hero__logo .hs-logo { width: min(360px, 30vw); }
}

/* logo interativa (copiada de assets/logo/web/hs-logo-interativa.html) */
.hs-logo { width: 260px; perspective: 900px; }
.hs-logo svg { width: 100%; height: auto; display: block; overflow: visible; transition: transform .25s ease-out; }
.hs-logo .plate { transform-origin: 50px 50px; animation: hsPlateIn .9s cubic-bezier(.2,.8,.2,1) both; }
.hs-logo .letters { stroke-dasharray: 100; animation: hsDraw 1.3s cubic-bezier(.6,0,.2,1) .35s both; }
.hs-logo .pad { transform-box: fill-box; transform-origin: center; animation: hsPop .45s cubic-bezier(.2,1.6,.4,1) both; }
.hs-logo .trace { stroke-dasharray: 14 86; opacity: 0; animation: hsTrace 2.2s linear 1.7s infinite; }
.hs-logo .t2 { animation-delay: 2.8s; }
.hs-logo .ghost { opacity: 0; }
.hs-logo.glitch .ghost { animation: hsGlitch .42s steps(2) 1; }
.hs-logo.is-paused .trace { animation-play-state: paused; }
@keyframes hsPlateIn { from { opacity: 0; transform: scale(.82) rotate(-6deg); } }
@keyframes hsDraw { from { stroke-dashoffset: 100; } }
@keyframes hsPop { from { opacity: 0; transform: scale(0); } }
@keyframes hsTrace { from { stroke-dashoffset: 100; opacity: 1; } to { stroke-dashoffset: 0; opacity: 1; } }
@keyframes hsGlitch {
  0%   { opacity: .9; clip-path: inset(10% 0 62% 0); }
  25%  { opacity: .9; clip-path: inset(55% 0 20% 0); }
  50%  { opacity: .9; clip-path: inset(30% 0 40% 0); }
  75%  { opacity: .9; clip-path: inset(70% 0 5% 0); }
  100% { opacity: 0; }
}

/* ---------- 6.3 Destaques ---------- */
.highlights {
  position: relative;
  background: var(--surface-deep);
  border-block: 1px solid var(--line);
}
.highlights__list {
  display: grid;
  gap: 4px;
  padding-block: 28px;
}
.highlight {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}
.highlight__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  color: var(--red);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--plate-a), var(--plate-b));
}
.highlight__icon .icon { width: 22px; height: 22px; }
.highlight__title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.3;
}
.highlight p { color: var(--muted); font-size: .95rem; }

@media (min-width: 768px) {
  .highlights__list { grid-template-columns: repeat(3, 1fr); gap: 24px; padding-block: 36px; }
  .highlight + .highlight { border-left: 1px solid var(--line); padding-left: 24px; }
}

/* ---------- Seções ---------- */
.section {
  position: relative;
  padding-block: 88px;
}
.section--deep { background: var(--surface-deep); }
.section:focus { outline: none; }

.section__head { max-width: 680px; margin-bottom: 48px; }
.section__title {
  margin-top: 14px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(1.85rem, 5.4vw, 2.9rem);
  line-height: 1.1;
}
.section__intro {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.05rem;
}

@media (min-width: 900px) {
  .section { padding-block: 120px; }
  .section__head { margin-bottom: 64px; }
}

/* ---------- 6.4 Trabalhos ---------- */
.case {
  display: grid;
  gap: 28px;
  align-items: center;
}
.case + .case { margin-top: 72px; }

.case__media { position: relative; }
.case__media::before {
  /* brilho de tela ligada */
  content: "";
  position: absolute;
  inset: 8% 6% -4%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 43, 74, .28), transparent);
  filter: blur(30px);
  pointer-events: none;
}

.player {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface-deep);
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 0 1px rgba(255, 43, 74, .12), 0 24px 60px -28px rgba(255, 43, 74, .5);
}
.player__screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}
.player__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}
.player:fullscreen { border-radius: 0; border: 0; }
.player:fullscreen .player__screen { aspect-ratio: auto; flex: 1; min-height: 0; }
.player:fullscreen .player__video { object-fit: contain; }
.player__big {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(5, 6, 8, .72);
  border: 1px solid rgba(255, 43, 74, .7);
  color: var(--text);
  box-shadow: 0 0 22px rgba(255, 43, 74, .35);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, visibility .2s, transform .2s;
}
.player__big .icon { width: 26px; height: 26px; margin-left: 4px; }
.player__big:hover { transform: scale(1.06); }
.player.is-paused .player__big { opacity: 1; visibility: visible; }

/* barra de controles embaixo da tela, para não cobrir as legendas dos vídeos */
.player__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-top: 1px solid var(--line);
}
.player__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: 6px;
  background: rgba(5, 6, 8, .72);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: border-color .2s, background-color .2s;
}
.player__btn:hover { border-color: var(--red); }
.player__btn .icon { width: 18px; height: 18px; }
.player__btn[data-action="toggle"] { padding: 0; }
.player__btn--sound { margin-left: auto; }
.player__btn--sound[aria-pressed="true"] { border-color: rgba(255, 43, 74, .7); }
.player__btn--sound[aria-pressed="true"] .icon { color: var(--red); }

.case__body > * + * { margin-top: 18px; }
.case__body p { color: var(--muted); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
}
.tag--live { color: var(--text); }
.tag--live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse { 50% { opacity: .35; } }
.tag--demo { color: var(--muted); border-style: dashed; }

.case__title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.8vw, 1.9rem);
  line-height: 1.2;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 6px 10px;
  border-radius: 4px;
  background: rgba(19, 32, 58, .6);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
}
.case__note {
  padding-left: 14px;
  border-left: 2px solid var(--line-strong);
  font-size: .92rem;
}
.case__body .btn { margin-top: 26px; }

@media (min-width: 960px) {
  .case { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; }
  .case--alt { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .case--alt .case__media { order: 2; }
  .case + .case { margin-top: 112px; }
}

/* ---------- 6.5 Serviços ---------- */
.cards { display: grid; gap: 20px; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 26px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s, transform .25s var(--ease);
}
.card::before {
  /* trilha vermelha fina no topo, com um ponto de solda */
  content: "";
  position: absolute;
  top: -1px;
  left: 24px;
  width: 38%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), rgba(255, 43, 74, .15));
  box-shadow: 0 0 10px rgba(255, 43, 74, .5);
}
.card::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 20px;
  width: 8px;
  height: 8px;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: var(--text);
  background: linear-gradient(135deg, var(--plate-a), var(--plate-b));
  border: 1px solid var(--line-strong);
}
.card__icon .icon { width: 22px; height: 22px; }
.card__title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.card p { color: var(--muted); flex: 1; }
.card__cta { align-self: flex-start; margin-top: 8px; }

@media (min-width: 900px) {
  .cards { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ---------- 6.6 Como funciona ---------- */
.steps {
  position: relative;
  display: grid;
  gap: 28px;
  counter-reset: step;
}
/* trilha que liga os passos (vertical no celular) */
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 24px;
  bottom: 24px;
  width: 1px;
}
.steps::before { background: var(--line-strong); }
.steps::after {
  width: 2px;
  margin-left: -.5px;
  background: linear-gradient(to bottom, transparent, var(--red), transparent) no-repeat;
  background-size: 100% 90px;
  background-position: 0 -90px;
  filter: drop-shadow(0 0 4px rgba(255, 43, 74, .9));
  animation: stepPulseY 4s linear infinite;
}
@keyframes stepPulseY {
  to { background-position: 0 calc(100% + 90px); }
}
.steps.is-paused::after { animation-play-state: paused; }

.step {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
}
.step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .85rem;
  letter-spacing: .1em;
  color: var(--red);
}
.step p { padding-top: 10px; font-size: 1.05rem; }

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .steps::before,
  .steps::after {
    left: 24px;
    right: 24px;
    top: 23px;
    bottom: auto;
    width: auto;
    height: 1px;
  }
  .steps::after {
    height: 2px;
    margin: -.5px 0 0;
    background: linear-gradient(90deg, transparent, var(--red), transparent) no-repeat;
    background-size: 140px 100%;
    background-position: -140px 0;
    animation-name: stepPulseX;
  }
  .step { grid-template-columns: 1fr; gap: 20px; }
  .step p { padding-top: 0; }
}
@keyframes stepPulseX {
  to { background-position: calc(100% + 140px) 0; }
}

/* ---------- 6.7 Dúvidas ---------- */
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 16px 0;
  list-style: none;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.35;
  transition: color .2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: #fff; }
.faq__item summary .icon {
  color: var(--red);
  transition: transform .25s var(--ease);
}
.faq__item[open] summary .icon { transform: rotate(45deg); }
.faq__item p {
  padding: 0 40px 22px 0;
  color: var(--muted);
}

/* ---------- 6.8 Chamada final ---------- */
.final {
  position: relative;
  padding-block: 120px;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  border-top: 1px solid var(--line);
}
.final__traces {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.final__symbol {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(560px, 120vw);
  height: auto;
  transform: translate(-50%, -50%);
  opacity: .1;
  z-index: -1;
  pointer-events: none;
}
.final__inner { max-width: 760px; }
.final__title {
  margin-top: 18px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(2rem, 6.4vw, 3.6rem);
  line-height: 1.08;
}
.final__text {
  margin: 18px auto 0;
  max-width: 34em;
  color: var(--muted);
  font-size: 1.08rem;
}
.final .btn { margin-top: 36px; }

@media (min-width: 900px) {
  .final { padding-block: 160px; }
}

/* ---------- 6.9 Rodapé ---------- */
.footer {
  padding: 40px 0 calc(40px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer__inner {
  display: grid;
  gap: 24px;
}
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { width: 44px; height: 44px; }
.footer__name {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.footer__tag { color: var(--muted); font-size: .9rem; }
.footer__info { display: grid; gap: 4px; color: var(--muted); }
.footer__info li,
.footer__info a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}
.footer__info .icon { width: 18px; height: 18px; color: var(--red); }
.footer__info a { transition: color .2s; }
.footer__info a:hover { color: var(--text); }
.footer__copy {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .75rem;
  letter-spacing: .12em;
  color: var(--muted);
}

@media (min-width: 900px) {
  .footer__inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; }
  .footer__info { display: flex; gap: 28px; justify-content: center; }
}

/* ---------- 6.10 WhatsApp flutuante (celular) ---------- */
.wa-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--red);
  color: var(--bg);
  box-shadow: 0 0 18px rgba(255, 43, 74, .45), 0 8px 20px rgba(0, 0, 0, .5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.9);
  transition: opacity .3s, visibility .3s, transform .3s var(--ease);
}
.wa-float .icon { width: 26px; height: 26px; stroke-width: 2.2; }
.wa-float.is-visible { opacity: 1; visibility: visible; transform: none; }
.wa-float:focus-visible { border-radius: 50%; }
@media (min-width: 900px) { .wa-float { display: none; } }

/* ---------- Surgir ao rolar ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Menos movimento: tudo parado, página completa ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero__net,
  .ckt__pulse,
  .ckt__pulse path,
  .steps::after { display: none; }
  .hs-logo .trace { opacity: 0; }
  .js .reveal { opacity: 1; transform: none; }
}
