/* =========================================================
   Print Informática
   Direção: precisão técnica, calma editorial, cor rara.
   Assinatura: a régua de diagnóstico (espectro da logo).
   ========================================================= */

:root {
  /* Superfícies */
  --bg: #F7F8FA;
  --surface: #FFFFFF;
  --night: #101A2B;
  --night-deep: #0B1420;
  --night-soft: #17233A;

  /* Texto */
  --text: #162033;
  --text-2: #5B6878;
  --text-light: #E6EDF5;
  --text-light-2: #9BAABD;

  /* Linhas */
  --line: #DFE4EB;
  --line-strong: #C6CFDA;
  --line-dark: rgba(255, 255, 255, .14);

  /* Ação */
  --blue: #087ECA;        /* acento gráfico da marca */
  --blue-deep: #0567B0;   /* preenchimento e links sobre claro (AA) */
  --blue-dark: #04589A;
  --cyan: #00B7D6;
  --green: #21B573;

  /* Derivadas por luminosidade das cores acima, para texto e brilho sobre o
     fundo escuro. Nenhum matiz novo: so a mesma cor clareada ate passar AA. */
  --cyan-lift: #7FE6F5;    /* --cyan clareado, rotulo de status sobre escuro */
  --green-lift: #7FE0B4;   /* --green clareado, rotulo de concluido */
  --cyan-glow: #63D9EE;    /* --cyan clareado, brilho da varredura do hero */
  --text-light-3: #7A8A9C; /* neutro entre --text-light-2 e o fundo do rodape */

  /* Espectro da logo, usado apenas na assinatura */
  --spectrum: linear-gradient(90deg, #F43B62 0%, #FF7A1A 20%, #FFB21A 38%, #21B573 58%, #00B7D6 78%, #087ECA 100%);

  /* Ritmo */
  --gutter: 24px;
  --shell: 1200px;
  --sp-1: .5rem;
  --sp-2: .875rem;
  --sp-3: 1.25rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4.5rem;
  --sp-7: 6.5rem;
  --section-y: clamp(4.5rem, 3rem + 6vw, 8.5rem);

  /* Tipografia */
  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --fs-display: clamp(2.3rem, 1.45rem + 3.1vw, 3.3rem);
  --fs-h2: clamp(1.95rem, 1.35rem + 2.4vw, 3.2rem);
  --fs-h3: clamp(1.05rem, .96rem + .38vw, 1.3rem);
  --fs-lede: clamp(1.03rem, .98rem + .3vw, 1.18rem);
  --fs-mono: .75rem;

  /* Movimento */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.032em;
  line-height: 1.06;
  text-wrap: balance;
}

.shell {
  width: min(100% - var(--gutter) * 2, var(--shell));
  margin-inline: auto;
}

/* Quebra de linha composta à mão, só onde há largura para ela.
   O espaço fica no texto, então esconder o br não cola as palavras. */
.br-lg { display: none; }
@media (min-width: 901px) { .br-lg { display: inline; } }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 2000;
  padding: 12px 20px; border-radius: 8px;
  background: var(--blue-deep); color: #fff;
  font-size: .9rem; font-weight: 700;
  transform: translateY(-200%);
  transition: transform .22s var(--ease-soft);
}
.skip:focus-visible { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 3px;
}
.trust :focus-visible, .colophon :focus-visible, .hero :focus-visible { outline-color: var(--cyan); }

.section { padding-block: var(--section-y); }

/* ---------- Elementos tipográficos comuns ---------- */

.kicker {
  margin: 0 0 var(--sp-3);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--fs-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-deep);
}
.kicker--light { color: var(--cyan); }
.kicker--dot { display: flex; align-items: center; gap: 10px; }
.kicker--dot::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 4px rgba(33, 181, 115, .16);
  flex: 0 0 auto;
}

.lede {
  max-width: 52ch;
  color: var(--text-2);
  font-size: var(--fs-lede);
  line-height: 1.68;
  text-wrap: pretty;
}
.lede--light { color: var(--text-light-2); }

.textlink {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--blue-deep);
  font-weight: 700;
  font-size: .95rem;
}
.textlink__arrow { transition: transform .3s var(--ease); }
.textlink:hover .textlink__arrow { transform: translateX(6px); }
.textlink--sub { color: var(--text-2); font-weight: 500; }
.textlink--sub:hover { color: var(--text); }

/* ---------- Botões ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--font-text);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: -.005em;
  text-align: center;
  cursor: pointer;
  transition: background .24s var(--ease-soft), border-color .24s var(--ease-soft),
              color .24s var(--ease-soft), transform .24s var(--ease), box-shadow .24s var(--ease);
}
.btn__icon { width: 19px; height: 19px; fill: currentColor; flex: 0 0 auto; }

.btn--primary {
  background: var(--blue-deep);
  color: #fff;
  box-shadow: 0 1px 2px rgba(6, 30, 56, .16), 0 10px 24px -12px rgba(5, 103, 176, .55);
}
.btn--primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(6, 30, 56, .18), 0 16px 30px -12px rgba(5, 103, 176, .6);
}
.btn--primary:active { transform: translateY(0); }

.btn--quiet {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--quiet:hover { border-color: var(--text-2); background: rgba(255, 255, 255, .7); }

/* Outline sobre fundo escuro. Borda em .42 de branco para passar 3:1 contra o
   fundo da marca; .28 reprovava. */
.btn--outline {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .42);
  color: var(--text-light);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--outline:hover { background: rgba(255, 255, 255, .10); border-color: rgba(255, 255, 255, .7); color: #fff; }

/* Atracao magnetica do CTA principal, guiada por JS e sempre reversivel. */
[data-magnetic] { will-change: transform; }

.btn--compact { min-height: 44px; padding: 0 18px; font-size: .875rem; }
.btn--lg { min-height: 58px; padding: 0 32px; font-size: 1rem; }

/* =========================================================
   CABEÇALHO
   ========================================================= */

.masthead {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease-soft), border-color .3s var(--ease-soft),
              backdrop-filter .3s var(--ease-soft);
}
/* Opacidade alta de propósito: sobre a seção escura, um cabeçalho muito
   translúcido deixa o texto de baixo fantasmar atrás da logo. */
.masthead.is-stuck {
  background: rgba(247, 248, 250, .96);
  border-bottom-color: var(--line);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
}
/* Sobre o hero escuro o cabecalho fica transparente e o texto inverte. */
.masthead.on-dark:not(.is-stuck) { background: transparent; border-bottom-color: transparent; }
.masthead.on-dark:not(.is-stuck) .nav > a:not(.btn) { color: var(--text-light); }
.masthead.on-dark:not(.is-stuck) .nav > a:not(.btn):hover { color: #fff; }
.masthead.on-dark:not(.is-stuck) .burger { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); }
.masthead.on-dark:not(.is-stuck) .burger__bar { background: var(--text-light); }

.masthead__row {
  min-height: 78px;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4);
}

/* A logo original tem "Informática" em grafite sobre fundo transparente e o
   projeto nao possui variante clara. Em vez de recolorir a marca, ela ganha
   uma placa clara atras. Sobre o corpo claro a placa some no fundo. */
.wordmark {
  display: block; width: 158px; flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--surface);
  transition: box-shadow .3s var(--ease-soft);
}
.wordmark img { width: 100%; }
.masthead.on-dark:not(.is-stuck) .wordmark { box-shadow: 0 8px 26px -10px rgba(0, 0, 0, .6); }

.nav { display: flex; align-items: center; gap: 34px; }
.nav > a:not(.btn) {
  position: relative;
  padding: 8px 0;
  font-size: .925rem;
  font-weight: 500;
  color: var(--text);
  transition: color .2s var(--ease-soft);
}
.nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 2px;
  width: 100%; height: 1.5px; background: var(--blue);
  transform: scaleX(0); transform-origin: right;
  transition: transform .32s var(--ease);
}
.nav > a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }

.burger {
  display: none;
  width: 46px; height: 46px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, .75);
  cursor: pointer;
}
.burger__bar {
  display: block; width: 18px; height: 1.5px;
  margin: 4px auto; border-radius: 2px; background: var(--text);
  transition: transform .28s var(--ease), opacity .2s;
}
/* Seletor de irmão, não nth-of-type: o rótulo de leitor de tela também é um
   span, então a contagem por tipo pegava só uma das barras e o X saía torto.
   Cada barra anda metade da distância entre elas para fechar o X. */
.burger[aria-expanded="true"] .burger__bar { transform: translateY(var(--half, 2.75px)) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bar + .burger__bar { transform: translateY(calc(var(--half, 2.75px) * -1)) rotate(-45deg); }

/* =========================================================
   HERO ESCURO
   Superficie viva: campo tecnico, granulacao, vidro e telemetria.
   ========================================================= */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--night-deep);
  color: var(--text-light);
  padding-block: clamp(7.5rem, 5.5rem + 7vw, 11rem) clamp(4rem, 3rem + 4vw, 6.5rem);
}

.hero__bg { position: absolute; inset: 0; z-index: 0; }

/* Camada de video opcional. Sem o arquivo, o JS derruba a camada
   e o campo SVG abaixo continua carregando a cena sozinho. */
.hero__video { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.hero__video.is-ready { opacity: .5; }
.hero__video video { width: 100%; height: 100%; object-fit: cover; transform: translateZ(0); }

.board { position: absolute; inset: 0; width: 100%; height: 100%; }
/* O token manda no brilho da varredura; o atributo no SVG fica como recuo. */
.board .sweep-stop { stop-color: var(--cyan-glow); }
.board__glow { animation: glowDrift 22s var(--ease-soft) infinite alternate; }
.board__glow--b { animation-duration: 28s; animation-delay: -9s; }
.board__traces path { fill: none; stroke: rgba(150, 205, 240, .16); stroke-width: 1; }
.board__pads circle { fill: var(--night-deep); stroke: rgba(150, 205, 240, .32); stroke-width: 1; }
.board__nodes .node { opacity: .85; animation: nodePulse 5.5s var(--ease-soft) infinite; }
.node--1 { animation-delay: -0.4s; }
.node--2 { animation-delay: -1.7s; }
.node--3 { animation-delay: -3.1s; }
.node--4 { animation-delay: -2.3s; }
.node--5 { animation-delay: -4.4s; }
.board__sweep { animation: boardSweep 13s linear infinite; }

/* Granulacao fina, 3%, em overlay. Tira o aspecto de gradiente chapado. */
.hero__grain {
  position: absolute; inset: 0;
  opacity: .03;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Scrim na cor da marca, nao preto generico, para segurar o contraste do texto. */
.hero__scrim {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(100deg, rgba(11, 20, 32, .94) 0%, rgba(11, 20, 32, .78) 38%, rgba(11, 20, 32, .34) 68%, rgba(11, 20, 32, .52) 100%),
    linear-gradient(180deg, rgba(11, 20, 32, .5) 0%, rgba(11, 20, 32, 0) 26%, rgba(11, 20, 32, .6) 100%);
}

@keyframes nodePulse { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@keyframes boardSweep { 0% { transform: translateX(0); } 100% { transform: translateX(1900px); } }
@keyframes glowDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-40px, 26px, 0) scale(1.08); }
}

.hero__grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  gap: clamp(2.5rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}

/* Badge de status. O rotulo e calculado do horario informado, nao e afirmacao fixa. */
.signal {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: var(--sp-3);
  padding: 7px 14px 7px 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(8, 126, 202, .10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
}
.signal__dot {
  position: relative;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--text-light-2);
  flex: 0 0 auto;
}
.signal.is-open .signal__dot { background: var(--green); }
.signal.is-open .signal__dot::after {
  content: ""; position: absolute; inset: -4px;
  border-radius: 50%; border: 1px solid var(--green);
  animation: signalPing 2.6s var(--ease-soft) infinite;
}
@keyframes signalPing {
  0%   { transform: scale(.6); opacity: .9; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

.hero__title {
  margin-block: var(--sp-2) 0;
  font-size: var(--fs-display);
  font-weight: 700;
  letter-spacing: -.038em;
  line-height: 1.02;
  color: #fff;
  max-width: 26ch;
}
.hero__lede { margin-top: var(--sp-3); max-width: 44ch; color: var(--text-light-2); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--sp-4); }

.assurances {
  display: flex; flex-wrap: wrap;
  margin-top: var(--sp-5);
  padding-top: var(--sp-3);
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: var(--text-light-2);
  font-size: .85rem;
  font-weight: 500;
}
.assurances li { display: flex; align-items: center; }
.assurances li + li::before {
  content: ""; width: 1px; height: 12px;
  margin-inline: 18px;
  background: rgba(255, 255, 255, .18);
}

/* ---------- Painel de diagnostico (vidro) ---------- */

.ost {
  position: relative;
  padding: clamp(1.35rem, 1rem + 1vw, 1.9rem);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(8, 126, 202, .06);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .09);
}

.ost__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-2);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.ost__label, .ost__state, .ost__n, .ost__tag, .ost__specs dt {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--fs-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.ost__label { color: var(--text-light-2); }
.ost__state { display: flex; align-items: center; gap: 8px; color: var(--cyan); white-space: nowrap; }
.ost__pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  animation: ostPulse 2.2s var(--ease-soft) infinite;
}
@keyframes ostPulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

.ost__steps { margin-top: var(--sp-1); }
.ost__step {
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--sp-2);
  padding-block: .72rem;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.ost__step:last-child { border-bottom: 0; }
.ost__n { color: rgba(230, 237, 245, .38); }
.ost__t { font-size: .92rem; font-weight: 500; color: var(--text-light-2); }
.ost__tag {
  padding: 3px 8px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, .14);
  color: var(--text-light-2);
  font-size: .75rem;
  white-space: nowrap;
}
.ost__step.is-done .ost__t { color: var(--text-light); }
.ost__step.is-done .ost__n { color: var(--green); }
.ost__step.is-done .ost__tag { border-color: rgba(33, 181, 115, .45); color: var(--green-lift); }
.ost__step.is-active .ost__t { color: #fff; font-weight: 700; }
.ost__step.is-active .ost__n { color: var(--cyan); }
.ost__step.is-active .ost__tag {
  border-color: rgba(0, 183, 214, .5);
  background: rgba(0, 183, 214, .12);
  color: var(--cyan-lift);
}

.ost__specs {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-2);
  margin-top: var(--sp-2);
  padding-top: var(--sp-3);
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.ost__specs dt { color: rgba(230, 237, 245, .5); }
.ost__specs dd { margin-top: 5px; font-size: .82rem; font-weight: 700; color: var(--text-light); line-height: 1.35; }

/* Entrada so por opacidade: o transform fica livre para o parallax. */
.js .ost { opacity: 0; transition: opacity .9s var(--ease) .34s; }
body.is-ready .ost { opacity: 1; }
body.is-pinned .ost { opacity: 1; transition: none; }

.ost__note {
  margin-top: var(--sp-3);
  color: rgba(230, 237, 245, .58);
  font-size: .78rem;
  line-height: 1.5;
}

/* ---------- Bancada digital: manutenção em movimento, sem vídeo ---------- */

.service-lab { overflow: hidden; padding: clamp(1.1rem, .8rem + 1vw, 1.55rem); }
.service-lab::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 53% 43%, rgba(0, 183, 214, .13), transparent 34%);
}
.service-lab__head, .service-lab__footer { position: relative; z-index: 1; }
.service-lab__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.service-lab__eyebrow, .service-lab__state, .lab-caption {
  margin: 0; font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
}
.service-lab__eyebrow { color: var(--cyan); }
.service-lab h2 { margin: .35rem 0 0; max-width: 17ch; font-size: clamp(1.25rem, 1.1rem + .8vw, 1.65rem); line-height: 1.05; letter-spacing: -.035em; color: #fff; }
.service-lab__state { display: inline-flex; align-items: center; gap: .45rem; margin-top: .2rem; color: var(--text-light-2); white-space: nowrap; }
.service-lab__state span { width: .4rem; height: .4rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 .22rem rgba(33, 181, 115, .12); animation: labPulse 2.2s var(--ease-soft) infinite; }
.service-lab__scene { position: relative; z-index: 1; display: block; width: 100%; height: auto; margin-top: .5rem; color: rgba(155, 214, 239, .48); overflow: visible; }
.lab-grid { stroke: rgba(155, 214, 239, .8); }
.lab-shell, .lab-paper, .lab-stroke, .lab-chip rect, .lab-chip path, .lab-tool { fill: #0c263b !important; stroke: rgba(175, 225, 245, .78); stroke-width: 1.5; stroke-linejoin: round; }
.lab-paper { fill: #dff5fa !important; fill-opacity: .18; }
.lab-stroke, .lab-chip path { fill: none; stroke: rgba(195, 238, 250, .68); stroke-linecap: round; }
.lab-display { stroke: rgba(0, 183, 214, .66); stroke-width: 1; }
.lab-code { fill: none; stroke: rgba(182, 236, 247, .6); stroke-width: 2; stroke-linecap: round; }
.lab-indicator, .lab-spark { fill: var(--green-lift); filter: url(#labGlow); }
.lab-label { fill: #102e45; stroke: rgba(0, 183, 214, .48); stroke-width: 1; }
.lab-caption { fill: #c7edf5 !important; font-size: 8.5px; font-weight: 600; }
.lab-cable { fill: none; stroke: rgba(0, 183, 214, .5); stroke-width: 1.5; stroke-dasharray: 5 7; animation: cableFlow 2.8s linear infinite; }
.lab-cable--two { animation-delay: -.8s; } .lab-cable--three { animation-delay: -1.5s; }
.lab-scan { stroke: var(--cyan-lift); stroke-width: 1.5; opacity: .85; stroke-dasharray: 74; stroke-dashoffset: 74; animation: scanLine 3.6s var(--ease-soft) infinite; }
.lab-scan--slow { animation-delay: -1.1s; animation-duration: 4.3s; } .lab-scan--reverse { animation-delay: -2.3s; }
.lab-device--desktop { animation: deviceFloat 5.2s var(--ease-soft) infinite alternate; } .lab-device--laptop { animation: deviceFloat 5.8s var(--ease-soft) -1.4s infinite alternate-reverse; } .lab-device--printer { animation: deviceFloat 5.4s var(--ease-soft) -.7s infinite alternate; }
.lab-tool { transform-origin: 111px 235px; animation: toolTurn 7s var(--ease-soft) infinite; }
.lab-tool__detail { fill: none; stroke: var(--cyan-lift); stroke-width: 1.5; }
.lab-chip { transform-origin: 274px 247px; animation: chipPulse 3.4s var(--ease-soft) infinite; }
.lab-orbit { fill: none; stroke: rgba(0, 183, 214, .28); stroke-width: 1; stroke-dasharray: 3 6; transform-origin: 275px 247px; animation: orbit 15s linear infinite; }
.service-lab__footer { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding-top: .85rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.service-lab__footer p { max-width: 24ch; margin: 0; color: rgba(230, 237, 245, .72); font-size: .79rem; line-height: 1.45; }
.service-lab__footer ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .35rem; margin: 0; }
.service-lab__footer li { padding: .27rem .43rem; border: 1px solid rgba(0, 183, 214, .34); border-radius: 999px; color: var(--cyan-lift); font-family: var(--font-mono); font-size: .62rem; letter-spacing: .04em; text-transform: uppercase; }
@keyframes labPulse { 0%, 100% { opacity: .5; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes cableFlow { to { stroke-dashoffset: -48; } }
@keyframes scanLine { 0%, 22% { stroke-dashoffset: 74; opacity: 0; } 38%, 76% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: -74; opacity: 0; } }
@keyframes deviceFloat { to { transform: translateY(-3px); } }
@keyframes toolTurn { 0%, 18%, 100% { transform: rotate(0deg); } 10% { transform: rotate(-8deg); } }
@keyframes chipPulse { 0%, 100% { transform: scale(.95); opacity: .75; } 50% { transform: scale(1.05); opacity: 1; } }
@keyframes orbit { to { transform: rotate(360deg); } }


/* =========================================================
   ASSINATURA: a régua de diagnóstico
   ========================================================= */

.ruler { border-top: 1px solid var(--line-strong); }
.ruler__inner { position: relative; display: flex; gap: 34px; height: 0; }
.ruler__tick {
  width: 2px; height: 11px;
  background: var(--c);
  transform-origin: top;
  transform: scaleY(0);
  animation: tickDrop .5s var(--ease) forwards;
}
.ruler__tick:nth-child(1) { animation-delay: .05s; }
.ruler__tick:nth-child(2) { animation-delay: .11s; }
.ruler__tick:nth-child(3) { animation-delay: .17s; }
.ruler__tick:nth-child(4) { animation-delay: .23s; }
.ruler__tick:nth-child(5) { animation-delay: .29s; }
.ruler__tick:nth-child(6) { animation-delay: .35s; }

@keyframes tickDrop { to { transform: scaleY(1); } }

/* =========================================================
   VITRINE DE FICHAS
   Dossie tecnico em linhas de largura inteira, nao grade de cartoes.
   ========================================================= */

.cases { background: var(--surface); }

.cases__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}
.cases__head h2 { font-size: var(--fs-h2); max-width: 16ch; }
.cases__head .lede { max-width: 44ch; padding-bottom: 4px; }

.file {
  position: relative;
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr) minmax(0, 1.45fr);
  gap: clamp(1rem, .5rem + 2vw, 2.75rem);
  /* Calha à esquerda para a barra de acento não passar por cima do número */
  padding: clamp(1.5rem, 1rem + 1.6vw, 2.4rem) 0 clamp(1.5rem, 1rem + 1.6vw, 2.4rem) clamp(1rem, .6rem + 1vw, 1.6rem);
  border-top: 1px solid var(--line);
}
.file:last-child { border-bottom: 1px solid var(--line); }

/* Barra viva a esquerda: cresce quando a ficha entra na tela. */
.file__bar {
  position: absolute; left: 0; top: -1px;
  width: 2px; height: 100%;
  background: linear-gradient(180deg, var(--blue), var(--cyan));
  transition: height .7s var(--ease);
}
.js .file__bar { height: 0; }
.file.is-in .file__bar { height: 100%; }

.file__n {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--fs-mono);
  letter-spacing: .1em;
  color: var(--text-2);
  padding-top: .35rem;
}
.file__symptom {
  font-size: clamp(1.2rem, .98rem + .95vw, 1.85rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.03em;
  max-width: 16ch;
}
.file__body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, .5rem + 1.6vw, 2rem); }
.file__body dt {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--fs-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-deep);
  padding-bottom: 8px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.file__body dd { color: var(--text-2); font-size: .9rem; line-height: 1.62; }

.cases__foot { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }


/* =========================================================
   SERVIÇOS
   ========================================================= */

.services__head { margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.services__head h2 { font-size: var(--fs-h2); max-width: 19ch; }

.services__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 1rem + 5vw, 5.5rem);
}

.group__label {
  margin-bottom: var(--sp-2);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--fs-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-2);
}

/* Altura mínima igual em todas as linhas para as duas colunas do índice
   terminarem exatamente na mesma altura, mesmo quando um rótulo quebra. */
.index__row {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  align-items: baseline;
  gap: var(--sp-2);
  min-height: 5.9rem;
  padding-block: clamp(.95rem, .7rem + .7vw, 1.4rem);
  border-bottom: 1px solid var(--line);
}
.index__num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--fs-mono);
  color: var(--text-2);
  transition: color .3s var(--ease-soft);
}
.index__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, .93rem + .5vw, 1.42rem);
  letter-spacing: -.028em;
  line-height: 1.2;
  transition: transform .35s var(--ease);
}
.index__row:hover .index__name { transform: translateX(6px); }
.index__row:hover .index__num { color: var(--blue); }

/* Destaque editorial da recarga de tinta.
   Largura limitada de propósito: o bloco lê como uma declaração puxada para o
   lado, e a borda direita dele nunca encosta no botão flutuante. */
.ink {
  position: relative;
  width: min(100%, 60rem);
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
  padding: clamp(2rem, 1.3rem + 2.6vw, 3.5rem) clamp(1.5rem, .8rem + 3vw, 3.5rem);
  background: var(--surface);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: var(--sp-4);
}
.ink__spectrum {
  position: absolute; inset: 0 0 auto 0;
  height: 3px;
  background: var(--spectrum);
}
.ink__title {
  font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.035em;
}
.ink__note {
  margin-top: var(--sp-2);
  padding-left: 14px;
  border-left: 2px solid var(--text-2);
  color: var(--text-2);
  font-weight: 500;
  font-size: 1rem;
}
.textlink--ink { white-space: nowrap; padding-bottom: 4px; }

/* =========================================================
   COMO FUNCIONA
   ========================================================= */

.process { background: var(--surface); }
.process__head { margin-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
.process__head h2 { font-size: var(--fs-h2); }

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--sp-3);
  padding-top: 3px;
}
/* trilho base */
.steps::before {
  content: "";
  position: absolute; z-index: 0;
  left: 7px; right: calc(20% - 7px); top: 10px;
  height: 1px; background: var(--line-strong);
}
/* trilho de progresso, o espectro da logo */
.steps::after {
  content: "";
  position: absolute; z-index: 1;
  left: 7px; right: calc(20% - 7px); top: 9px;
  height: 3px;
  background: var(--spectrum);
  transform-origin: left;
  transition: transform 1.5s var(--ease);
}
.js .steps::after { transform: scaleX(0); }
.steps.is-in::after { transform: scaleX(1); }

.step { position: relative; padding-right: var(--sp-4); }
.step:last-child { padding-right: 0; }
.step__dot {
  position: relative; z-index: 2;
  display: block; width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  transition: border-color .4s var(--ease-soft), background .4s var(--ease-soft), transform .4s var(--ease);
}
.steps.is-in .step__dot { border-color: var(--blue); }
.step:nth-child(1) .step__dot { transition-delay: .25s; }
.step:nth-child(2) .step__dot { transition-delay: .5s; }
.step:nth-child(3) .step__dot { transition-delay: .75s; }
.step:nth-child(4) .step__dot { transition-delay: 1s; }
.step:nth-child(5) .step__dot { transition-delay: 1.25s; }
.steps.is-in .step:nth-child(5) .step__dot { background: var(--blue); transform: scale(1.15); }

.step__num {
  display: block;
  margin: var(--sp-3) 0 10px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--fs-mono);
  letter-spacing: .1em;
  color: var(--text-2);
}
.step__title {
  font-size: clamp(.98rem, .92rem + .26vw, 1.14rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.02em;
}

/* =========================================================
   ATENDIMENTO LOCAL E CONFIANÇA
   ========================================================= */

.trust { background: var(--night); color: var(--text-light); }

/* Declaração em duas colunas, depois os quatro pilares atravessando a largura toda.
   Esqueleto próprio: nenhuma outra seção abre assim. */
.trust__head {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(2rem, 1rem + 5vw, 6rem);
  align-items: end;
  padding-bottom: clamp(3rem, 2rem + 3vw, 5rem);
}
.trust__title h2 {
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.1;
}
.trust__head .lede { max-width: 46ch; padding-bottom: 4px; }

.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pillar {
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem) clamp(1rem, .4rem + 1.6vw, 2rem) 0 0;
  border-top: 1px solid var(--line-dark);
}
.pillar + .pillar { padding-left: clamp(1rem, .4rem + 1.6vw, 2rem); border-left: 1px solid var(--line-dark); }
.pillar h3 {
  font-size: clamp(1rem, .94rem + .3vw, 1.2rem);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -.022em;
  color: var(--text-light);
}
.pillar::before {
  content: "";
  display: block; width: 18px; height: 2px;
  margin-bottom: var(--sp-2);
  background: var(--cyan);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.js .pillar::before { transform: scaleX(0); }
.pillar.is-in::before { transform: scaleX(1); }

/* =========================================================
   CONTATO
   ========================================================= */

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(3rem, 1rem + 6vw, 7rem);
  align-items: start;
}
.contact__lead h2 { font-size: var(--fs-h2); max-width: 15ch; }
.contact__lead .lede { margin-top: var(--sp-3); max-width: 44ch; }
.contact__lead .btn { margin-top: var(--sp-4); }
.contact__lead .textlink--sub { margin-top: var(--sp-3); display: flex; }

.facts { border-top: 1px solid var(--line-strong); }
.fact {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: var(--sp-3);
  padding-block: var(--sp-3);
  border-bottom: 1px solid var(--line);
}
.fact dt {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--fs-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-2);
  padding-top: 3px;
}
.fact dd { font-size: .975rem; line-height: 1.55; font-weight: 500; }
.fact dd a { color: var(--blue-deep); font-weight: 700; }
.fact dd a:hover { text-decoration: underline; text-underline-offset: 3px; }

.maplink {
  display: flex; align-items: center; gap: var(--sp-2);
  min-height: 56px;
  margin-top: var(--sp-3);
  padding: 0 var(--sp-3);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  font-weight: 700;
  font-size: .925rem;
  transition: border-color .25s var(--ease-soft), background .25s var(--ease-soft);
}
.maplink:hover { border-color: var(--blue); background: #fff; }
.maplink__pin { display: flex; flex: 0 0 auto; }
.maplink__pin svg { width: 18px; height: 18px; fill: var(--blue-deep); }
.maplink__text { flex: 1 1 auto; }
.maplink__arrow { color: var(--text-2); transition: transform .3s var(--ease); }
.maplink:hover .maplink__arrow { transform: translate(3px, -3px); }

.confirm {
  margin-top: var(--sp-3);
  padding-left: 14px;
  border-left: 2px solid var(--line-strong);
  color: var(--text-2);
  font-size: .8rem;
  line-height: 1.6;
}

/* =========================================================
   RODAPÉ
   ========================================================= */

.colophon {
  padding-block: clamp(3.5rem, 2.5rem + 3vw, 5.5rem) var(--sp-4);
  background: var(--night-deep);
  color: var(--text-light-2);
}
.colophon__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .7fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 1rem + 4vw, 5rem);
}
/* A logo mantém as cores originais, então recebe uma placa clara para ler no escuro */
.colophon__plate {
  display: inline-block;
  padding: 14px 18px;
  border-radius: 10px;
  background: var(--surface);
}
.colophon__plate img { width: 168px; }
.colophon__brand p {
  max-width: 34ch;
  margin-top: var(--sp-3);
  font-size: .875rem;
  line-height: 1.7;
}
.colophon h2 {
  margin-bottom: var(--sp-2);
  font-family: var(--font-text);
  font-size: var(--fs-mono);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-light);
}
.colophon__nav a, .colophon__contact a, .colophon__contact p {
  display: block;
  padding-block: 7px;
  font-size: .9rem;
  transition: color .2s var(--ease-soft);
}
.colophon__contact p { line-height: 1.65; }
.colophon__nav a:hover, .colophon__contact a:hover { color: #fff; }

.colophon__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3);
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  padding-top: var(--sp-3);
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.colophon__base p { font-size: .775rem; color: var(--text-light-3); }

/* =========================================================
   BOTÃO FLUTUANTE (só depois do hero, para não competir com o CTA principal)
   ========================================================= */

/* Círculo compacto de propósito: um botão com rótulo aqui competiria com os
   dois CTAs escritos da página e cobriria texto corrido ao rolar. */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 900;
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--blue-deep);
  color: #fff;
  box-shadow: 0 6px 24px -6px rgba(4, 40, 76, .5);
  opacity: 0; visibility: hidden;
  transform: translateY(12px) scale(.94);
  transition: opacity .35s var(--ease), transform .35s var(--ease),
              visibility .35s, background .24s var(--ease-soft);
}
.wa.is-visible { opacity: 1; visibility: visible; transform: none; }
.wa:hover { background: var(--blue-dark); transform: translateY(-2px); }
.wa__icon { width: 25px; height: 25px; fill: currentColor; flex: 0 0 auto; }

/* =========================================================
   MOVIMENTO
   ========================================================= */

/* Entrada encenada do hero.
   Os estados escondidos moram atrás de .js: sem JavaScript nada some. */
.js [data-anim] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
body.is-ready [data-anim] { opacity: 1; transform: none; }
[data-anim="1"] { transition-delay: .05s; }
[data-anim="2"] { transition-delay: .14s; }
[data-anim="3"] { transition-delay: .26s; }
[data-anim="4"] { transition-delay: .36s; }
[data-anim="5"] { transition-delay: .46s; }

/* Revelações no scroll */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }
/* Aposenta o escalonamento depois da entrada, para hovers não herdarem atraso */
[data-reveal].is-settled { transition-delay: 0s; }

/* Pausa global: em abas escondidas */
body.is-paused *, body.is-paused *::before, body.is-paused *::after {
  animation-play-state: paused !important;
}
/* Pausa local: o campo técnico não anima fora da tela */
.hero__bg.is-off .board__sweep,
.hero__bg.is-off .board__glow,
.hero__bg.is-off .board__nodes .node { animation-play-state: paused; }

/* =========================================================
   RESPONSIVO
   ========================================================= */

@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
  .ost__specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .file { grid-template-columns: 2.6rem minmax(0, 1fr); }
  .file__body { grid-column: 2 / -1; }
  .hero__title { max-width: 13ch; }
  .services__body { gap: clamp(2rem, 1rem + 3vw, 3rem); }
  .fact { grid-template-columns: 8rem minmax(0, 1fr); }
}

@media (max-width: 900px) {
  :root { --gutter: 20px; }

  .nav {
    position: absolute; top: calc(100% + 8px); right: var(--gutter); left: var(--gutter);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 20px 50px -20px rgba(16, 26, 43, .35);
    opacity: 0; visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .24s var(--ease-soft), transform .24s var(--ease-soft), visibility .24s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav > a:not(.btn) { padding: 13px 12px; border-radius: 8px; }
  .nav > a:not(.btn)::after { display: none; }
  .nav > a:not(.btn):hover { background: var(--bg); }
  .nav__cta { margin-top: 8px; }
  .burger { display: block; }

  /* Hero: mensagem e ação primeiro, campo técnico depois */
  .hero {
    display: flex; flex-direction: column;
    padding-block: clamp(6.5rem, 5rem + 8vw, 8.5rem) 0;
  }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 1.5rem + 3vw, 3rem); }
  .hero__grain { mask-image: linear-gradient(100deg, #000 5%, transparent 82%); -webkit-mask-image: linear-gradient(100deg, #000 5%, transparent 82%); }
  .hero__copy { max-width: 38rem; }
  .cases__head { grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); align-items: start; }
  .hero__title { max-width: 16ch; }

  .trust__head, .contact__grid { grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 1.5rem + 2vw, 2.75rem); }
  .cases__head h2, .contact__lead h2 { max-width: 20ch; }
  .trust__head { align-items: start; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar:nth-child(odd) { padding-left: 0; border-left: 0; }

  .services__body { grid-template-columns: minmax(0, 1fr); gap: var(--sp-5); }
  .ink { grid-template-columns: minmax(0, 1fr); align-items: start; gap: var(--sp-3); }

  /* Etapas viram espinha vertical */
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 0; }
  .steps::before { left: 7px; right: auto; top: 7px; bottom: 2.2rem; width: 1px; height: auto; }
  .steps::after {
    left: 6px; right: auto; top: 7px; bottom: 2.2rem;
    width: 3px; height: auto;
    background: linear-gradient(180deg, #F43B62 0%, #FF7A1A 20%, #FFB21A 38%, #21B573 58%, #00B7D6 78%, #087ECA 100%);
    transform-origin: top;
    transition: transform 1.5s var(--ease);
  }
  .js .steps::after { transform: scaleY(0); }
  .steps.is-in::after { transform: scaleY(1); }
  .step { display: grid; grid-template-columns: 14px minmax(0, 1fr); column-gap: var(--sp-3); padding: 0 0 var(--sp-4); }
  .step__dot { grid-column: 1; grid-row: 1; margin-top: 4px; }
  .step__num { grid-column: 2; grid-row: 1; margin: 0 0 6px; }
  .step__title { grid-column: 2; grid-row: 2; max-width: 26ch; }

  .colophon__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .colophon__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .masthead__row { min-height: 68px; }
  .wordmark { width: 136px; }
  .nav { top: calc(100% + 6px); }

  .hero__title { max-width: 100%; letter-spacing: -.036em; }
  .actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  /* Padding menor para o rótulo do CTA caber em uma linha em 375px */
  .actions .btn { width: 100%; padding-inline: 16px; gap: 8px; }

  /* Empilhado, cada item ganha um traço curto no lugar do separador vertical */
  .assurances { flex-direction: column; gap: 10px; }
  .assurances li + li::before { display: none; }
  .assurances li { gap: 10px; }
  .assurances li::after {
    content: ""; order: -1;
    width: 14px; height: 1.5px; flex: 0 0 auto;
    background: var(--blue);
  }

  .ruler__inner { gap: 26px; }

  .file { grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); padding-left: 1.15rem; }
  .file__n { padding-top: 0; }
  .file__body { grid-column: auto; grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); }
  .file__symptom { max-width: 100%; }
  .ost__specs { grid-template-columns: minmax(0, 1fr); }
  .ost__step { grid-template-columns: 1.9rem minmax(0, 1fr); row-gap: 6px; }
  .ost__tag { grid-column: 2; justify-self: start; }
  /* Nunca abaixo de 12px: o badge quebra em duas linhas em vez de encolher. */
  .signal {
    align-items: flex-start;
    letter-spacing: .05em;
    padding: 8px 12px;
    line-height: 1.45;
    text-align: left;
  }
  .signal__dot { margin-top: .38em; }

  .index__row { grid-template-columns: 2.1rem minmax(0, 1fr); }

  .fact { grid-template-columns: minmax(0, 1fr); gap: 5px; padding-block: var(--sp-2) var(--sp-3); }
  .fact dt { padding-top: 0; }

  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillar, .pillar + .pillar { padding-right: 0; padding-left: 0; border-left: 0; }

  .colophon__grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-5); }
  .colophon__brand { grid-column: auto; }
  .colophon__base { flex-direction: column; gap: 10px; }

  .wa { right: 14px; bottom: 14px; }
}

/* Telas baixas: o flutuante não rouba a área útil */
@media (max-height: 480px) {
  .wa { display: none; }
}

/* Alvos de toque */
@media (pointer: coarse) {
  .btn, .maplink, .textlink, .nav a, .colophon a, .wa { min-height: 44px; }
  .textlink { display: inline-flex; align-items: center; }
  /* flex de bloco, não inline-flex: o link do rodapé ocupa a linha inteira e ganha área de toque */
  .colophon__nav a, .colophon__contact a { display: flex; align-items: center; }
  /* Telefone e WhatsApp do cartão de contato são ação principal: precisam de área de toque */
  .fact dd a { display: inline-flex; align-items: center; min-height: 44px; }
  .index__row:hover .index__name { transform: none; }
}

/* =========================================================
   MOVIMENTO REDUZIDO
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
  }
  [data-anim], [data-reveal] { opacity: 1 !important; transform: none !important; }
  .ruler__tick { transform: scaleY(1) !important; }
  .steps::after { transform: scaleX(1) !important; }
  .pillar::before { transform: scaleX(1) !important; }
  .file__bar { height: 100% !important; }
  .board__glow { animation: none !important; }
  .signal.is-open .signal__dot::after { animation: none !important; }
  .steps .step__dot { border-color: var(--blue) !important; }
  .board__sweep { display: none; }
}

/* Estados finais fixados quando o movimento reduzido liga no meio da sessão */
body.is-pinned [data-anim],
body.is-pinned [data-reveal] { opacity: 1; transform: none; transition: none; }
body.is-pinned .steps::after { transform: scaleX(1); }
body.is-pinned .file__bar { height: 100%; }
body.is-pinned .pillar::before { transform: scaleX(1); }
body.is-pinned .ruler__tick { transform: scaleY(1); animation: none; }
@media (max-width: 900px) {
  body.is-pinned .steps::after { transform: scaleY(1); }
}
