/* ==========================================================================
   PRO9 — Custom Business Systems
   Design System / Stylesheet — v4 "Capacidade técnica"
   Tema navy escuro, conteúdo mínimo, movimento como argumento:
   o próprio site demonstra a qualidade de engenharia que a PRO9 vende.
   Compartilhado pelas versões PT (/) e EN (/en/).
   ========================================================================== */

/* ----------------------------------------------------------------------------
   0. Fontes (auto-hospedadas)
   Montserrat, Inter e JetBrains Mono — SIL Open Font License 1.1.
   Servidas do proprio dominio: o site nao faz requisicao a terceiros.
   Gerado por tools/fonts/baixar.py — nao edite a mao.
---------------------------------------------------------------------------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/inter-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/inter-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/inter-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/montserrat-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/montserrat-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/montserrat-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ----------------------------------------------------------------------------
   1. Tokens
---------------------------------------------------------------------------- */
:root {
  --bg: #070B20;
  --bg-2: #0A102E;
  --panel: #0D1436;
  --panel-2: #111A43;
  --line: rgba(122, 150, 255, 0.13);
  --line-strong: rgba(122, 150, 255, 0.24);

  --txt: #F5F7FC;
  --txt-2: #B7BFDC;
  --mut: #7E88AE;

  --blue: #087CFF;        /* azul oficial PRO9 */
  --blue-2: #3D9AFF;
  --blue-3: #7AB6FF;
  --navy: #102B8F;        /* navy oficial PRO9 */
  --wa: #0E8A46;
  --wa-2: #12A455;
  --pos: #43B98A;
  --warn: #E6A53C;
  --info: #5C8CEE;

  --font-d: 'Montserrat', system-ui, sans-serif;
  --font-b: 'Inter', system-ui, sans-serif;
  --font-m: 'JetBrains Mono', monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1160px;

  /* posição do holofote que segue o cursor (atualizada via JS) */
  --mx: 50vw;
  --my: 40vh;
}

/* ----------------------------------------------------------------------------
   2. Base
---------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  background: var(--bg);
  color: var(--txt-2);
  font-family: var(--font-b);
  font-size: 16.5px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--blue); color: #fff; }

h1, h2, h3 { font-family: var(--font-d); color: var(--txt); line-height: 1.08; letter-spacing: -0.03em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }

a:focus-visible, button:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.skip-link {
  position: absolute; left: 12px; top: -64px; z-index: 300;
  background: var(--panel-2); color: var(--txt);
  border: 1px solid var(--line-strong);
  padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 0.9rem;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 12px; }

/* ----------------------------------------------------------------------------
   3. Nav
---------------------------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: 72px; display: flex; align-items: center;
  transition: background .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(7, 11, 32, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav .brand { flex-shrink: 0; }
.nav .brand img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 28px; font-size: 0.92rem; font-weight: 500; color: var(--txt-2); }
.nav-links a { position: relative; white-space: nowrap; transition: color .25s; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -5px; height: 1.5px; width: 100%; background: var(--blue-2); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out); }
.nav-links a:hover { color: var(--txt); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

/* Seletor de idioma (PT/EN) */
.lang-switch { display: inline-flex; gap: 1px; border: 1px solid var(--line-strong); border-radius: 99px; padding: 2px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; }
.lang-switch a { padding: 4px 10px; border-radius: 99px; color: var(--mut); transition: color .2s, background .2s; }
.lang-switch a:hover { color: var(--txt); }
.lang-switch a.on { background: var(--navy); color: #fff; }

/* ----------------------------------------------------------------------------
   4. Botões
---------------------------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 0.98rem; white-space: nowrap;
  height: 52px; padding: 0 26px; border-radius: 14px;
  transition: transform .25s var(--ease-out), box-shadow .3s, background .25s, border-color .25s;
  will-change: transform;
}
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.btn-wa { background: linear-gradient(180deg, var(--wa-2), var(--wa)); color: #fff; box-shadow: 0 12px 32px -12px rgba(18, 164, 85, 0.55); }
.btn-wa:hover { box-shadow: 0 18px 44px -14px rgba(18, 164, 85, 0.7); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--txt); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: var(--blue-2); background: rgba(8, 124, 255, 0.08); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 0.88rem; border-radius: 11px; }

/* ----------------------------------------------------------------------------
   5. Hero — o sistema que se monta sozinho
---------------------------------------------------------------------------- */
.hero {
  /* sem min-height: a altura vem do conteudo, para que o inicio da secao
     seguinte apareca na primeira dobra e convide a rolar */
  position: relative;
  display: flex; align-items: center;
  padding: 104px 0 72px; overflow: hidden;
}
/* grid técnico de fundo */
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(122, 150, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 150, 255, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 600px at 68% 42%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 600px at 68% 42%, #000 30%, transparent 75%);
  opacity: 0; transform: scale(1.06);
  animation: gridIn 1.4s var(--ease-out) 0.15s forwards;
}
/* holofote que segue o cursor */
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(560px circle at var(--mx) var(--my), rgba(8, 124, 255, 0.11), transparent 62%);
}
@keyframes gridIn { to { opacity: 1; transform: none; } }

.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: clamp(36px, 5vw, 70px); align-items: center; }

.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-m); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue-3); margin-bottom: 26px;
  opacity: 0; animation: fadeUp .8s var(--ease-out) .25s forwards;
}
.kicker i { width: 26px; height: 1px; background: var(--blue-2); display: block; }

.hero h1 { font-size: clamp(2.4rem, 4.8vw, 3.9rem); font-weight: 800; margin-bottom: 24px; }  /* 3.9rem quebra o titulo em 3 linhas, nao 4: 856px -> 740px de hero */
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero h1 .w > span { display: inline-block; transform: translateY(112%); animation: wordIn .9s var(--ease-out) forwards; animation-delay: calc(0.3s + var(--d) * 0.07s); }
.hero h1 .grad .w > span { background: linear-gradient(92deg, var(--blue-2), var(--blue-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes wordIn { to { transform: none; } }

.hero-sub { max-width: 470px; font-size: 1.13rem; color: var(--txt-2); margin-bottom: 36px; opacity: 0; animation: fadeUp .9s var(--ease-out) .85s forwards; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; opacity: 0; animation: fadeUp .9s var(--ease-out) 1.05s forwards; }
.hero-note { margin-top: 18px; font-size: 0.85rem; color: var(--mut); opacity: 0; animation: fadeUp .9s var(--ease-out) 1.2s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* --- o sistema vivo --- */
.sys { position: relative; width: min(500px, 100%); height: 470px; margin-left: auto; }
.sys-wires { position: absolute; inset: 0; overflow: visible; }
.sys-wires path { fill: none; stroke: rgba(61, 154, 255, 0.45); stroke-width: 1.5; stroke-dasharray: 5 9; animation: wire 1.1s linear infinite; }
.sys-wires circle { fill: var(--blue-2); filter: drop-shadow(0 0 6px rgba(61, 154, 255, 0.9)); }
@keyframes wire { to { stroke-dashoffset: -14; } }

.sys-card {
  position: absolute; border-radius: 16px;
  background: linear-gradient(180deg, rgba(17, 26, 67, 0.92), rgba(11, 16, 44, 0.92));
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  padding: 16px;
  opacity: 0; transform: translateY(26px) scale(0.95); filter: blur(5px);
  animation: cardIn 1s var(--ease-out) forwards, float 7s ease-in-out calc(1.6s + var(--fd)) infinite alternate;
  will-change: transform;
}
.sys-card.c1 { left: 0; top: 16px; width: 252px; animation-delay: .55s, 1.6s; --fd: 0s; }
.sys-card.c2 { right: 0; top: 148px; width: 236px; animation-delay: .75s, 1.8s; --fd: .8s; }
.sys-card.c3 { left: 22px; bottom: 10px; width: 280px; animation-delay: .95s, 2s; --fd: 1.5s; }
@keyframes cardIn { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes float { from { margin-top: 0; } to { margin-top: -10px; } }

.sc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sc-title { font-family: var(--font-m); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mut); }
.sc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pos); box-shadow: 0 0 10px var(--pos); animation: blink 2.2s infinite; }
@keyframes blink { 50% { opacity: 0.35; } }

.sc-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--txt-2); }
.sc-row:first-of-type { border-top: 0; }
.sc-row b { color: var(--txt); font-weight: 600; }
.badge { font-family: var(--font-m); font-size: 0.64rem; padding: 3px 9px; border-radius: 6px; white-space: nowrap; transition: all .3s; }
.badge.info { background: rgba(92, 140, 238, 0.16); color: #9DB9F5; }
.badge.warn { background: rgba(230, 165, 60, 0.16); color: #EFC684; }
.badge.pos { background: rgba(67, 185, 138, 0.16); color: #7BD6B1; }
.badge.flip { animation: flip .45s var(--ease-out); }
@keyframes flip { 0% { transform: perspective(300px) rotateX(80deg); opacity: 0; } 100% { transform: none; opacity: 1; } }

.sc-flow { display: flex; align-items: center; gap: 6px; }
.fnode { flex: 1; text-align: center; font-size: 0.7rem; color: var(--txt-2); background: rgba(122, 150, 255, 0.07); border: 1px solid var(--line); border-radius: 9px; padding: 8px 4px; }
.fnode b { display: block; font-family: var(--font-m); font-size: 0.92rem; color: var(--txt); }
.fnode.hot { border-color: rgba(61, 154, 255, 0.5); background: rgba(8, 124, 255, 0.12); }
.farrow { color: var(--blue-2); font-size: 0.8rem; flex-shrink: 0; }

.sc-bar { height: 6px; border-radius: 99px; background: rgba(122, 150, 255, 0.12); overflow: hidden; margin-top: 6px; }
.sc-bar i { display: block; height: 100%; width: 40%; border-radius: 99px; background: linear-gradient(90deg, var(--blue), var(--blue-2)); transition: width 1s var(--ease-out); }
.sc-cap { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--mut); margin-top: 8px; }
.sc-cap b { color: var(--txt); font-family: var(--font-m); font-weight: 500; }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3; color: var(--mut); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--font-m); display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0; animation: fadeUp 1s var(--ease-out) 1.7s forwards; }
.scroll-cue::after { content: ''; width: 1px; height: 34px; background: linear-gradient(var(--blue-2), transparent); animation: cue 1.8s var(--ease-out) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ----------------------------------------------------------------------------
   6. Seções / reveals
---------------------------------------------------------------------------- */
section { position: relative; padding: clamp(72px, 9vw, 118px) 0; }
/* a secao logo apos o hero respira menos no topo: assim o titulo dela aparece
   na primeira dobra em vez de so o respiro vazio */
.hero + section { padding-top: clamp(48px, 5vw, 64px); }

.rv { opacity: 0; transform: translateY(26px); transition: opacity .62s var(--ease-out), transform .62s var(--ease-out); transition-delay: calc(var(--d, 0) * 55ms); }
.rv.in { opacity: 1; transform: none; }

.sec-head { margin-bottom: clamp(40px, 6vw, 64px); }
.sec-head .kicker { animation: none; opacity: 1; margin-bottom: 18px; }
.sec-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; }

/* ----------------------------------------------------------------------------
   7. Statement — palavras que acendem com o scroll
---------------------------------------------------------------------------- */
.statement-txt {
  font-family: var(--font-d); font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(2rem, 4.6vw, 3.7rem); line-height: 1.14; max-width: 900px;
}
.statement-txt .sw { color: rgba(126, 136, 174, 0.38); transition: color .35s; }
.statement-txt .sw.lit { color: var(--txt); }
.statement-txt .sw.lit.hl { color: var(--blue-2); }
.statement-after { margin-top: 26px; max-width: 560px; font-size: 1.08rem; color: var(--txt-2); }

.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 54px; }
.chip {
  position: relative; border: 1px solid var(--line); border-radius: 16px; padding: 22px;
  background: linear-gradient(180deg, rgba(17, 26, 67, 0.5), rgba(11, 16, 44, 0.3));
  transition: transform .35s var(--ease-out), border-color .3s, background .3s;
  will-change: transform;
}
.chip:hover { transform: translateY(-5px); border-color: rgba(61, 154, 255, 0.45); background: rgba(8, 124, 255, 0.06); }
.chip svg { width: 22px; height: 22px; color: var(--blue-2); margin-bottom: 12px; }
.chip b { display: block; font-family: var(--font-d); font-weight: 700; color: var(--txt); font-size: 1.02rem; margin-bottom: 4px; letter-spacing: -0.01em; }
.chip span { font-size: 0.9rem; color: var(--mut); }

/* ----------------------------------------------------------------------------
   8. Três passos
   A seção é uma "cena" própria: no desktop ocupa a viewport inteira com o
   conteúdo centralizado, para as seções vizinhas não dividirem a atenção.
---------------------------------------------------------------------------- */
/* Cenas: cada seção ocupa a viewport inteira com o conteúdo centralizado —
   uma ideia por tela, sem seções vizinhas dividindo a atenção (desktop e mobile) */
.scene { display: flex; align-items: center; min-height: 100vh; min-height: 100svh; }
.scene .container { width: 100%; }
.steps-sec .sec-head { margin-bottom: clamp(40px, 5vw, 64px); }

@media (min-width: 1001px) {
  .steps { gap: 40px; }
}

.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps::before { content: ''; position: absolute; top: 34px; left: 4%; right: 4%; height: 1px; background: var(--line); }
.steps .prog { position: absolute; top: 34px; left: 4%; height: 1px; width: 92%; background: linear-gradient(90deg, var(--blue), var(--blue-2)); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 12px rgba(8, 124, 255, 0.8); }
.step { position: relative; padding-top: 100px; }
.step .n {
  position: absolute; top: 0; left: 0;
  width: 68px; height: 68px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-d); font-weight: 800; font-size: 1.3rem; color: var(--blue-2);
  background: var(--bg); border: 1px solid var(--line-strong);
  transition: border-color .4s, box-shadow .4s, color .4s;
}
.step.on .n { border-color: var(--blue-2); box-shadow: 0 0 0 5px rgba(8, 124, 255, 0.12), 0 0 24px rgba(8, 124, 255, 0.35); color: #fff; }
.step h3 { font-size: 1.28rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.015em; }
.step p { font-size: 0.97rem; color: var(--mut); max-width: 300px; }

/* ----------------------------------------------------------------------------
   9. Demo — painel interativo que desentorta no scroll
---------------------------------------------------------------------------- */
.demo-sec { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.demo-sec .sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line-strong); border-radius: 99px; background: rgba(7, 11, 32, 0.6); }
.tab { padding: 9px 18px; border-radius: 99px; font-size: 0.88rem; font-weight: 600; color: var(--mut); transition: all .25s; white-space: nowrap; }
.tab:hover { color: var(--txt); }
.tab.on { background: linear-gradient(180deg, var(--blue), #0063DB); color: #fff; box-shadow: 0 8px 20px -8px rgba(8, 124, 255, 0.6); }

.stage { perspective: 1400px; }
.dash {
  border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-strong);
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 0.85);
  transform: rotateX(9deg) scale(0.95) translateY(28px);
  will-change: transform;
}
.dash-bar { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--line); background: rgba(7, 11, 32, 0.45); }
.dash-bar .dots { display: flex; gap: 5px; }
.dash-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(122, 150, 255, 0.22); }
.dash-bar .crumb { font-family: var(--font-m); font-size: 0.7rem; color: var(--mut); }
.dash-bar .crumb b { color: var(--txt-2); font-weight: 500; }
.dash-bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-m); font-size: 0.68rem; color: var(--txt-2); }
.dash-bar .live i { width: 6px; height: 6px; border-radius: 50%; background: var(--pos); box-shadow: 0 0 8px var(--pos); animation: blink 2.2s infinite; }

.dash-body { padding: 22px; display: none; gap: 14px; flex-direction: column; }
.dash-body.on { display: flex; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { background: rgba(122, 150, 255, 0.05); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.kpi .l { font-family: var(--font-m); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mut); margin-bottom: 8px; }
.kpi .v { font-family: var(--font-d); font-size: 1.5rem; font-weight: 700; color: var(--txt); line-height: 1; }
.kpi .v small { font-size: 0.8rem; color: var(--blue-3); }

.rows { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.rowi { display: grid; grid-template-columns: 84px 1.3fr 1fr 96px; gap: 12px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 0.85rem; }
.rowi:first-child { border-top: 0; }
.rowi .id { font-family: var(--font-m); font-size: 0.74rem; color: var(--mut); }
.rowi .nm { color: var(--txt); font-weight: 500; }
.rowi .tr { height: 5px; border-radius: 99px; background: rgba(122, 150, 255, 0.12); overflow: hidden; }
.rowi .tr i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--blue), var(--blue-2)); width: 0; transition: width 1.2s var(--ease-out); }
.rowi .badge { justify-self: end; }

.demo-note { margin-top: 26px; font-size: 0.88rem; color: var(--mut); text-align: center; }
.demo-note b { color: var(--txt-2); font-weight: 600; }

/* ----------------------------------------------------------------------------
   9b. Case — projeto real (imagens desfocadas de propósito)
---------------------------------------------------------------------------- */
.case-note { font-size: 0.85rem; color: var(--mut); max-width: 300px; text-align: right; }
.case-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
.case-info > p { font-size: 1.06rem; color: var(--txt-2); max-width: 460px; }

.case-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.cs { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: linear-gradient(180deg, rgba(17, 26, 67, 0.4), rgba(11, 16, 44, 0.2)); }
.cs b { display: block; font-family: var(--font-d); font-weight: 800; font-size: 1.3rem; color: var(--blue-2); letter-spacing: -0.01em; }
.cs span { font-size: 0.85rem; color: var(--mut); }

.case-mods { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.case-mods span { font-family: var(--font-m); font-size: 0.68rem; letter-spacing: 0.04em; color: var(--txt-2); border: 1px solid var(--line); padding: 5px 11px; border-radius: 99px; }

.case-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.shot { margin: 0; border: 1px solid var(--line-strong); border-radius: 14px; overflow: hidden; background: #fff; transition: transform .35s var(--ease-out), border-color .3s; will-change: transform; }
.shot:hover { transform: translateY(-4px); border-color: rgba(61, 154, 255, 0.5); }
.shot-bar { display: flex; align-items: center; gap: 5px; padding: 8px 12px; font-family: var(--font-m); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mut); background: var(--panel); border-bottom: 1px solid var(--line); }
.shot-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(122, 150, 255, 0.25); }
.shot img { display: block; width: 100%; height: auto; }

/* ----------------------------------------------------------------------------
   10. Problema — a operação fragmentada
---------------------------------------------------------------------------- */
.frag { max-width: 820px; list-style: none; }
.frag li { position: relative; padding: 15px 0 15px 30px; border-top: 1px solid var(--line); font-size: clamp(1rem, 1.5vw, 1.14rem); color: var(--txt-2); line-height: 1.55; }
.frag li:first-child { border-top: 0; }
.frag li::before { content: ''; position: absolute; left: 0; top: 25px; width: 14px; height: 1px; background: var(--line-strong); transition: background .4s var(--ease-out), width .4s var(--ease-out); }
.frag li.in::before { background: var(--blue-2); width: 20px; }
.frag-after { margin-top: 42px; max-width: 700px; font-family: var(--font-d); font-weight: 700; font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.35; color: var(--txt); letter-spacing: -0.015em; }
.frag-after em { font-style: normal; background: linear-gradient(92deg, var(--blue-2), var(--blue-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ----------------------------------------------------------------------------
   11. Antes x depois
---------------------------------------------------------------------------- */
.ba { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(18px, 3vw, 34px); align-items: stretch; }
.ba-col { border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 3vw, 32px); background: linear-gradient(180deg, rgba(17, 26, 67, 0.32), rgba(11, 16, 44, 0.12)); }
.ba-col.ba-after { border-color: rgba(61, 154, 255, 0.35); background: linear-gradient(180deg, rgba(8, 124, 255, 0.09), rgba(11, 16, 44, 0.12)); box-shadow: 0 26px 60px -40px rgba(8, 124, 255, 0.75); }
.ba-tag { display: inline-block; font-family: var(--font-m); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mut); border: 1px solid var(--line-strong); border-radius: 99px; padding: 5px 12px; margin-bottom: 22px; }
.ba-tag.on { color: #fff; border-color: transparent; background: linear-gradient(180deg, var(--blue), #0063DB); }
.ba-col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ba-col li { position: relative; padding-left: 24px; font-size: 0.98rem; color: var(--mut); line-height: 1.5; }
.ba-col.ba-after li { color: var(--txt-2); }
.ba-col li::before { content: ''; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--line-strong); }
.ba-col.ba-after li::before { border-color: var(--blue-2); background: var(--blue-2); box-shadow: 0 0 9px rgba(61, 154, 255, 0.8); }
.ba-mid { display: flex; align-items: center; justify-content: center; }
.ba-mid span { display: block; width: 34px; height: 1px; background: linear-gradient(90deg, var(--line-strong), var(--blue-2)); position: relative; }
.ba-mid span::after { content: ''; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid var(--blue-2); border-right: 1px solid var(--blue-2); transform: rotate(45deg); }

/* ----------------------------------------------------------------------------
   12. Case — problema / solucao / resultado
---------------------------------------------------------------------------- */
.case-flow { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.cbk { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; background: linear-gradient(180deg, rgba(17, 26, 67, 0.4), rgba(11, 16, 44, 0.2)); }
.cbk-tag { display: inline-block; font-family: var(--font-m); font-size: 0.63rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mut); margin-bottom: 12px; }
.cbk-tag.on { color: var(--blue-3); }
.cbk.cbk-res { border-color: rgba(61, 154, 255, 0.32); background: linear-gradient(180deg, rgba(8, 124, 255, 0.08), rgba(11, 16, 44, 0.14)); }
.cbk ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.cbk li { position: relative; padding-left: 18px; font-size: 0.94rem; color: var(--txt-2); line-height: 1.5; }
.cbk li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 1px; background: var(--line-strong); }
.cbk.cbk-res li::before { background: var(--blue-2); }

/* ----------------------------------------------------------------------------
   13. Quem esta por tras
---------------------------------------------------------------------------- */
.who { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: clamp(28px, 5vw, 60px); align-items: center; }
.who-photo { margin: 0; border: 1px solid var(--line-strong); border-radius: 20px; overflow: hidden; aspect-ratio: 768 / 1258; background: linear-gradient(160deg, var(--panel-2), var(--panel)); position: relative; }
.who-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7, 11, 32, 0.5)); pointer-events: none; }
.who-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.who-txt p { font-size: clamp(1rem, 1.5vw, 1.1rem); color: var(--txt-2); line-height: 1.65; margin-bottom: 20px; max-width: 620px; }
.who-sig { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.who-sig b { display: block; font-family: var(--font-d); font-weight: 700; font-size: 1.2rem; color: var(--txt); letter-spacing: -0.015em; }
.who-sig > span { display: block; font-size: 0.92rem; color: var(--mut); margin-top: 4px; }
.who-li { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 11px; font-size: 0.88rem; font-weight: 600; color: var(--txt-2); transition: color .25s, border-color .25s, background .25s; }
.who-li svg { width: 16px; height: 16px; }
.who-li:hover { color: #fff; border-color: var(--blue-2); background: rgba(8, 124, 255, 0.1); }

/* ----------------------------------------------------------------------------
   14. Seguranca e continuidade
---------------------------------------------------------------------------- */
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.secard { border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: linear-gradient(180deg, rgba(17, 26, 67, 0.35), rgba(11, 16, 44, 0.14)); transition: transform .35s var(--ease-out), border-color .3s; }
.secard:hover { transform: translateY(-5px); border-color: rgba(61, 154, 255, 0.4); }
.secard b { display: block; font-family: var(--font-d); font-weight: 700; font-size: 1.04rem; color: var(--txt); letter-spacing: -0.01em; margin-bottom: 10px; }
.secard p { font-size: 0.92rem; color: var(--mut); line-height: 1.55; }
.sec-note { margin-top: 26px; font-size: 0.88rem; color: var(--mut); max-width: 720px; }

/* ----------------------------------------------------------------------------
   15. FAQ
---------------------------------------------------------------------------- */
.qas { max-width: 860px; border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 20px 0; font-family: var(--font-d); font-weight: 600; font-size: clamp(0.98rem, 1.5vw, 1.08rem); color: var(--txt); letter-spacing: -0.01em; transition: color .25s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--blue-3); }
.qa summary::after { content: ''; flex-shrink: 0; width: 10px; height: 10px; margin-top: 6px; border-right: 1.5px solid var(--blue-2); border-bottom: 1.5px solid var(--blue-2); transform: rotate(45deg); transition: transform .3s var(--ease-out); }
.qa[open] summary::after { transform: rotate(-135deg); }
.qa-a { padding: 0 0 22px; }
.qa-a p { max-width: 700px; font-size: 0.98rem; color: var(--txt-2); line-height: 1.65; }
.faq-cta { margin-top: 30px; font-size: 0.95rem; color: var(--mut); }
.faq-cta a { color: var(--blue-3); font-weight: 600; }
.faq-cta a:hover { text-decoration: underline; }

/* ----------------------------------------------------------------------------
   15b. Galeria de sistemas (home)
---------------------------------------------------------------------------- */
.sist { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.4vw, 26px); }
.sistema { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, rgba(17, 26, 67, 0.34), rgba(11, 16, 44, 0.14)); transition: transform .35s var(--ease-out), border-color .3s; }
.sistema:hover { transform: translateY(-5px); border-color: rgba(61, 154, 255, 0.42); }
.sistema figure { margin: 0; border-bottom: 1px solid var(--line); }
.sistema img { display: block; width: 100%; height: auto; }
.sistema-txt { padding: 22px 24px 26px; }
.sistema-setor { display: block; font-family: var(--font-m); font-size: 0.63rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mut); margin-bottom: 10px; }
.sistema h3 { font-size: 1.14rem; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 8px; }
.sistema p { font-size: 0.94rem; color: var(--txt-2); line-height: 1.6; }
.sistema-num { margin-top: 14px; padding: 11px 14px; border-radius: 10px; border: 1px solid rgba(61, 154, 255, 0.26); background: rgba(8, 124, 255, 0.07); font-size: 0.88rem; color: var(--txt-2); line-height: 1.5; }
.sistema-num b { color: var(--blue-3); font-weight: 700; }
.sistema-ver { display: inline-block; margin-top: 14px; font-size: 0.88rem; font-weight: 600; color: var(--blue-3); }
.sistema-ver::after { content: ' →'; }
.sistema-ver:hover { text-decoration: underline; text-underline-offset: 3px; }
.sist-nota { margin-top: 28px; max-width: 760px; font-size: 0.88rem; color: var(--mut); line-height: 1.6; }
.sist-nota b { color: var(--txt-2); font-weight: 600; }
.sist-nota a { color: var(--blue-3); }
.sist-nota a:hover { text-decoration: underline; }

/* ----------------------------------------------------------------------------
   16. Paginas internas (geradas por tools/pages/build.py)
---------------------------------------------------------------------------- */
.pg-hero { padding: 148px 0 clamp(40px, 6vw, 64px); position: relative; overflow: hidden; }
.pg-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(122,150,255,0.05) 1px, transparent 1px) 0 0 / 100% 48px,
    linear-gradient(90deg, rgba(122,150,255,0.05) 1px, transparent 1px) 0 0 / 48px 100%,
    radial-gradient(circle at 80% 0%, rgba(8,124,255,0.16), transparent 58%);
  mask-image: linear-gradient(#000 55%, transparent);
  -webkit-mask-image: linear-gradient(#000 55%, transparent);
}
.pg-hero .container { position: relative; z-index: 1; }
.crumb { font-family: var(--font-m); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--mut); margin-bottom: 26px; }
.crumb a { color: var(--txt-2); }
.crumb a:hover { color: var(--blue-3); }
.crumb span { margin: 0 7px; color: rgba(122, 150, 255, 0.35); }
.crumb b { color: var(--txt-2); font-weight: 500; }
.pg-hero .kicker { animation: none; opacity: 1; margin-bottom: 18px; }
.pg-hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; max-width: 940px; text-wrap: balance; }
.pg-lead { margin-top: 26px; max-width: 720px; font-size: clamp(1.04rem, 1.7vw, 1.18rem); color: var(--txt-2); line-height: 1.65; }

.blk { padding: clamp(46px, 6vw, 72px) 0; }
.blk + .blk { padding-top: 0; }
.blk h2 { font-size: clamp(1.45rem, 2.5vw, 1.95rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 26px; max-width: 820px; }
.blk p { max-width: 760px; font-size: 1.03rem; color: var(--txt-2); line-height: 1.75; }
.blk p + p { margin-top: 18px; }
.blk p a { color: var(--blue-3); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.blk p a:hover { color: var(--txt); }
.blk-intro { margin-bottom: 24px; color: var(--mut); }
.blk .frag { margin-top: 4px; }
.blk .sec-grid, .blk .case-shots { margin-top: 4px; }

.etapas { list-style: none; counter-reset: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.etapa { position: relative; border: 1px solid var(--line); border-radius: 16px; padding: 26px; background: linear-gradient(180deg, rgba(17, 26, 67, 0.35), rgba(11, 16, 44, 0.14)); }
.etapa-n { display: block; font-family: var(--font-m); font-size: 0.82rem; letter-spacing: 0.1em; color: var(--blue-2); margin-bottom: 14px; }
.etapa h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 8px; }
.etapa p { font-size: 0.96rem; color: var(--mut); line-height: 1.6; max-width: none; }

.rel { display: flex; flex-wrap: wrap; gap: 12px; }
.rel a {
  display: inline-flex; align-items: center; gap: 9px; padding: 13px 20px;
  border: 1px solid var(--line-strong); border-radius: 12px;
  font-size: 0.95rem; font-weight: 600; color: var(--txt-2);
  transition: color .25s, border-color .25s, background .25s, transform .3s var(--ease-out);
}
.rel a::before { content: '→'; color: var(--blue-2); }
.rel a:hover { color: #fff; border-color: var(--blue-2); background: rgba(8, 124, 255, 0.08); transform: translateY(-2px); }

.pg .cta { padding-top: clamp(56px, 7vw, 84px); }

.arts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.card-art {
  display: flex; flex-direction: column; gap: 12px; padding: 28px;
  border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(180deg, rgba(17, 26, 67, 0.35), rgba(11, 16, 44, 0.14));
  transition: transform .35s var(--ease-out), border-color .3s, background .3s;
}
.card-art:hover { transform: translateY(-5px); border-color: rgba(61, 154, 255, 0.42); background: linear-gradient(180deg, rgba(8, 124, 255, 0.08), rgba(11, 16, 44, 0.16)); }
.card-art h3 { font-size: 1.14rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; color: var(--txt); }
.card-art p { font-size: 0.93rem; color: var(--mut); line-height: 1.6; margin: 0; max-width: none; }
.card-art-ir { margin-top: auto; padding-top: 6px; font-size: 0.86rem; font-weight: 600; color: var(--blue-3); }
.card-art-ir::after { content: ' →'; }

/* ----------------------------------------------------------------------------
   16b. Formulario de diagnostico
---------------------------------------------------------------------------- */
.form { max-width: 620px; display: grid; gap: 20px; }
.campo { display: flex; flex-direction: column; gap: 7px; }
.campo label { font-size: 0.93rem; font-weight: 600; color: var(--txt); }
.campo .req { color: var(--blue-2); }
.campo-dica { font-size: 0.83rem; color: var(--mut); line-height: 1.45; }
.campo input, .campo select, .campo textarea {
  /* 1rem = 16px: abaixo disso o Safari no iOS da zoom ao focar o campo */
  width: 100%; padding: 12px 14px; font: inherit; font-size: 1rem;
  color: var(--txt); color-scheme: dark;
  background: rgba(122, 150, 255, 0.05);
  border: 1px solid var(--line-strong); border-radius: 11px;
  transition: border-color .25s, background .25s;
}
.campo input::placeholder, .campo textarea::placeholder { color: var(--mut); }
.campo input:focus, .campo select:focus, .campo textarea:focus {
  border-color: var(--blue-2); background: rgba(8, 124, 255, 0.07);
}
.campo textarea { resize: vertical; min-height: 86px; }
.form-envio { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.form-erro { font-size: 0.9rem; color: #EFC684; }
.form-nota { font-size: 0.86rem; color: var(--mut); line-height: 1.55; max-width: 620px; }
.form-nota a { color: var(--blue-3); }

/* ----------------------------------------------------------------------------
   17. CTA final
---------------------------------------------------------------------------- */
.cta { text-align: center; overflow: hidden; }
.cta .orb { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle, rgba(8, 124, 255, 0.16), transparent 62%); animation: orb 9s ease-in-out infinite alternate; pointer-events: none; }
@keyframes orb { from { transform: translate(-54%, -50%) scale(0.94); } to { transform: translate(-46%, -48%) scale(1.06); } }
.cta h2 { position: relative; font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; margin-bottom: 18px; }
.cta p { position: relative; color: var(--txt-2); max-width: 460px; margin: 0 auto 34px; font-size: 1.08rem; }
.cta .btn { position: relative; }

/* ----------------------------------------------------------------------------
   18. Footer
---------------------------------------------------------------------------- */
footer { border-top: 1px solid var(--line); padding: 38px 0; }
.foot-nav { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.foot-nav nav { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 0.9rem; color: var(--txt-2); }
.foot-nav a { transition: color .2s; }
.foot-nav a:hover { color: var(--blue-3); }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img { height: 26px; width: auto; }
.foot-brand span { font-family: var(--font-m); font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--mut); }
.foot-links { display: flex; gap: 22px; font-size: 0.88rem; color: var(--mut); flex-wrap: wrap; }
.foot-links a:hover { color: var(--blue-3); }

/* ----------------------------------------------------------------------------
   19. Responsivo
---------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 54px; }
  .case-grid { grid-template-columns: 1fr; }
  .case-note { text-align: left; max-width: none; }
  .sys { margin: 0 auto; height: 430px; transform: scale(0.92); transform-origin: top center; }
  .chips { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .steps::before, .steps .prog { display: none; }
  .step.on .n { border-color: var(--blue-2); }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .rowi { grid-template-columns: 64px 1.2fr 74px; }
  .rowi .tr { display: none; }
  .ba { grid-template-columns: 1fr; }
  .ba-mid { padding: 4px 0; }
  .ba-mid span { transform: rotate(90deg); }
  .who { grid-template-columns: 1fr; gap: 34px; }
  .who-photo { max-width: 340px; }
  .sec-grid { grid-template-columns: 1fr 1fr; }
  .pg-hero { padding-top: 116px; }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .nav .brand img { height: 24px; }
  .nav-right { gap: 10px; }
  .btn-sm { padding: 0 14px; font-size: 0.8rem; }
  .lang-switch { font-size: 0.68rem; }
  .lang-switch a { padding: 3px 8px; }
  .hero h1 { font-size: clamp(2.2rem, 9.5vw, 2.8rem); }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .sys { transform: scale(0.8); height: 380px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .case-shots { grid-template-columns: 1fr; }
  .sec-grid { grid-template-columns: 1fr; }
  .who-photo { max-width: none; }
  .sist { grid-template-columns: 1fr; }
  .etapas { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------------------
   20. Reduced motion
---------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-delay: 0s !important; transition-duration: 0.001s !important; }
  .rv { opacity: 1; transform: none; }
  .dash { transform: none !important; }
  .hero::after { display: none; }
}
