/* ==========================================================================
   Pro9 Technology — folha de estilo do site
   Identidade Pro9 Technology (out/2026): fornecedor B2B de software
   industrial. Tema claro e editorial, grafite + azul da marca, faixas
   escuras pontuais, movimento discreto. Sem demo nem interface inventada.
   Todas as páginas (EN na raiz, PT em /pt/) são geradas por
   tools/pages/build.py e usam esta folha.
   ========================================================================== */

/* ----------------------------------------------------------------------------
   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
   Tema claro: branco frio + grafite do logo, azul da marca com parcimonia.
   As faixas escuras (.band) redefinem os mesmos tokens em grafite — um
   componente funciona nos dois fundos sem regra extra.
---------------------------------------------------------------------------- */
:root {
  --bg: #F5F7FA;
  --bg-2: #EDF1F6;
  --panel: #FFFFFF;
  --tint: 32, 41, 46;            /* rgb do grafite, para linhas e véus */
  --line: rgba(32, 41, 46, 0.10);
  --line-strong: rgba(32, 41, 46, 0.18);

  --txt: #20292E;                /* grafite oficial (wordmark) */
  --txt-2: #45525A;
  --mut: #5E6A73;                /* mínimo AA sobre --bg e --bg-2 */
  --acc: #145EC9;                /* azul como TEXTO (AA sobre branco) */

  --blue: #1465D5;               /* azul do "9" — botões (texto branco 5,4:1) */
  --blue-2: #287FF2;             /* azul claro do logo — linhas e detalhes */
  --blue-3: #103F91;             /* azul profundo do logo — hover */
  --charcoal: #263238;           /* peça grafite do símbolo */

  --ok: #1A7550;
  --ok-bg: rgba(47, 168, 119, 0.13);
  --erro: #A3291F;

  --font-d: 'Montserrat', system-ui, sans-serif;
  --font-b: 'Inter', system-ui, sans-serif;
  --font-m: 'JetBrains Mono', ui-monospace, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1180px;
  --shadow: 0 1px 2px rgba(22, 32, 38, 0.05), 0 14px 34px -22px rgba(22, 32, 38, 0.24);
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3 5 8.6 9.4 3.6' fill='none' stroke='%23145EC9' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.band {
  --bg: #1A2226;
  --bg-2: #1E272B;
  --panel: #222C31;
  --tint: 255, 255, 255;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --txt: #F3F6F8;
  --txt-2: #BAC4CA;
  --mut: #8E9AA1;
  --acc: #7DB4FF;
  --shadow: none;
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3 5 8.6 9.4 3.6' fill='none' stroke='%237DB4FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background: var(--bg);
  color: var(--txt-2);
}

/* ----------------------------------------------------------------------------
   2. Base
---------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--txt-2);
  font-family: var(--font-b);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }   /* display do autor (.form, .ck-opc...) venceria o [hidden] do navegador */
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); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }

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

.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); color: var(--txt); border: 1px solid var(--line-strong);
  padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 0.9rem;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-m); font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--acc);
  margin-bottom: 18px;
}
.kicker::before { content: ''; width: 22px; height: 1.5px; background: currentColor; opacity: 0.7; }

.lnk { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.97rem; color: var(--acc); }
.lnk:hover { text-decoration: underline; text-underline-offset: 4px; }
.seta { display: inline-block; transition: transform 0.25s var(--ease); }
.lnk:hover .seta, a:hover > .seta { transform: translateX(4px); }

/* ----------------------------------------------------------------------------
   3. Navegação
---------------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 247, 250, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 26px -22px rgba(22, 32, 38, 0.4); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { flex-shrink: 0; }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: 0.95rem; font-weight: 500; }
.nav-links a { position: relative; padding: 6px 0; color: var(--txt-2); white-space: nowrap; transition: color 0.2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--txt); }
.nav-links a[aria-current="page"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; border-radius: 2px; background: var(--blue-2); }
.nav-links .nav-contact-m { display: none; }
.nav-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-toggle { display: none; }

.lang-switch { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line-strong); border-radius: 99px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; background: var(--panel); }
.lang-switch a { padding: 4px 10px; border-radius: 99px; color: var(--mut); transition: color 0.2s, background 0.2s; }
.lang-switch a:hover { color: var(--txt); }
.lang-switch a.on { background: var(--txt); color: #fff; }

/* ----------------------------------------------------------------------------
   4. Botões
---------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px; border-radius: 10px;
  font-weight: 600; font-size: 0.98rem; white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -16px rgba(20, 101, 213, 0.9); }
.btn-primary:hover { background: var(--blue-3); }
.btn-ghost { background: var(--panel); color: var(--txt); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--txt-2); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 0.9rem; border-radius: 9px; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

/* ----------------------------------------------------------------------------
   5. Seções
---------------------------------------------------------------------------- */
.sec { padding: clamp(56px, 6.5vw, 96px) 0; }
.sec-alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head .kicker:last-child { margin-bottom: 0; }
.sec-head h2, .split h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.sec-intro { margin-top: 16px; font-size: 1.07rem; max-width: 640px; }
.sec-t { font-size: clamp(1.45rem, 2.4vw, 1.95rem); margin-bottom: 28px; }
.sec-nota { margin-top: 24px; font-size: 0.92rem; color: var(--mut); max-width: 780px; line-height: 1.6; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.split p { margin-top: 16px; max-width: 560px; }
.split .lnk { margin-top: 24px; }

.blk { padding: clamp(40px, 5vw, 64px) 0; }
.blk + .blk { padding-top: 0; }

/* reveal discreto: só com JavaScript, para o conteúdo nunca sumir sem ele */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); transition-delay: calc(var(--d, 0) * 60ms); }
.js .rv.in { opacity: 1; transform: none; }

/* ----------------------------------------------------------------------------
   6. Hero da home, fotos ilustrativas e diagrama do histórico por máquina
---------------------------------------------------------------------------- */
/* Fotos ilustrativas (geradas por IA, 01/10/2026): tamanho moderado de
   propósito e sempre com o rótulo visível (.foto-tag, mesmo desenho do selo
   dos projetos). Nunca em página de projeto. */
.foto { position: relative; margin: 0; overflow: hidden; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); }
.foto img { width: 100%; height: 100%; object-fit: cover; }

.hero { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 104px); }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(var(--tint), 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--tint), 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 75% at 78% 45%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 75% at 78% 45%, #000 20%, transparent 72%);
}
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.55rem); line-height: 1.07; letter-spacing: -0.03em; margin-bottom: 22px; text-wrap: balance; }
.hero-sub { font-size: 1.13rem; max-width: 540px; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 18px; font-size: 0.88rem; color: var(--mut); }
.hero + .sec { padding-top: clamp(48px, 5vw, 64px); }
.hero-foto { justify-self: end; width: 100%; max-width: 400px; aspect-ratio: 4 / 5; border-radius: 20px; box-shadow: 0 30px 60px -38px rgba(22, 32, 38, 0.55); }

/* diagrama: na página Histórico de equipamentos (até 01/10/2026 ficava no hero) */
.hist h2 { font-size: clamp(1.4rem, 2.3vw, 1.85rem); }
.dgm { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px 26px 20px; box-shadow: var(--shadow); }
.dgm-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 30px; row-gap: 14px; }
.dgm-hist { grid-column: 2; grid-row: 1 / 6; margin: -12px -12px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; }
.dgm-h { position: relative; z-index: 1; grid-row: 1; display: flex; flex-direction: column; gap: 2px; padding-bottom: 2px; }
.dgm-h b { font-family: var(--font-d); font-size: 0.98rem; color: var(--txt); }
.dgm-h span { font-size: 0.78rem; color: var(--mut); line-height: 1.35; }
.dgm-c1 { grid-column: 1; }
.dgm-c2 { grid-column: 2; }
.dgm-st {
  grid-column: 1; position: relative; z-index: 1;
  display: flex; align-items: center; gap: 10px;
  background: var(--panel); border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 11px 12px; font-size: 0.88rem; font-weight: 600; color: var(--txt); line-height: 1.3;
}
.dgm-st i { font-style: normal; font-family: var(--font-m); font-size: 0.72rem; font-weight: 500; color: var(--acc); }
.dgm-st::after { content: ''; position: absolute; left: 100%; top: 50%; width: 30px; border-top: 1.5px dashed var(--blue-2); }
.dgm-rec + .dgm-st::before { content: ''; position: absolute; left: 22px; bottom: 100%; height: 14px; border-left: 1.5px solid var(--line-strong); }
.dgm-rec {
  grid-column: 2; position: relative; z-index: 1;
  display: flex; align-items: center; gap: 9px;
  background: var(--panel); border: 1px dashed rgba(40, 127, 242, 0.5); border-radius: 8px;
  padding: 9px 12px; font-size: 0.84rem; color: var(--txt-2); line-height: 1.3;
}
.dgm-rec::before { content: ''; width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: var(--blue-2); }
.dgm-erp { display: flex; align-items: center; gap: 30px; margin-top: 26px; }
.dgm-nota { flex: 1 1 0; font-size: 0.78rem; color: var(--mut); line-height: 1.4; }
.dgm-erp b {
  position: relative; flex: 1 1 0;
  background: var(--charcoal); color: #F3F6F8; border-radius: 10px; padding: 12px 14px;
  font-family: var(--font-d); font-size: 0.86rem; text-align: center; line-height: 1.3;
}
.dgm-erp b::before { content: ''; position: absolute; left: 50%; bottom: 100%; height: 26px; border-left: 1.5px dashed var(--blue-2); }
.dgm figcaption { margin-top: 16px; font-family: var(--font-m); font-size: 0.74rem; color: var(--mut); }

/* ----------------------------------------------------------------------------
   7. Home: as faixas de sempre, cada uma resumida a uma ou duas linhas e com
   um link "saiba mais" (.sec-mais) para a página do assunto (pedido do
   proprietário, 01/10/2026). Também: cartões do índice de Soluções.
---------------------------------------------------------------------------- */
.sec-pe { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; margin-top: 30px; }
.sec-mais { font-size: 1rem; }
.split .sec-mais { margin-top: 22px; }

.probs-in { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: clamp(36px, 5vw, 72px); align-items: start; }
.probs-foto { aspect-ratio: 4 / 5; }
.probs { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 3.6vw, 48px); }
.probs li { padding: 22px 0 24px; border-top: 1px solid var(--line-strong); }
.probs-n { display: block; font-family: var(--font-m); font-size: 0.78rem; color: var(--acc); margin-bottom: 8px; }
.probs h3 { font-size: 1.15rem; margin-bottom: 6px; }
.probs p { max-width: 460px; font-size: 0.97rem; }
.probs-fecho { max-width: 620px; font-family: var(--font-d); font-weight: 600; font-size: clamp(1.02rem, 1.6vw, 1.18rem); line-height: 1.45; color: var(--txt); }

/* foto antes no HTML (no celular vem antes do texto); no desktop, à direita */
.metodo { align-items: center; }
.metodo > div { grid-column: 1; grid-row: 1; }
.metodo-foto { grid-column: 2; grid-row: 1; aspect-ratio: 4 / 3; }
.mini-steps { list-style: none; margin-top: 26px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; }
.mini-steps li { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-weight: 600; color: var(--txt); line-height: 1.35; }
.mini-steps li:first-child { border-top: 0; }
.mini-steps span { flex: 0 0 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--panel); border: 1px solid var(--line-strong); font-family: var(--font-m); font-size: 0.82rem; font-weight: 500; color: var(--acc); }

.feat { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); background: var(--panel); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.feat-main { padding: clamp(28px, 4vw, 44px); }
.feat-setor { font-family: var(--font-m); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mut); margin-bottom: 14px; }
.feat-t { font-size: clamp(1.35rem, 2.3vw, 1.8rem); line-height: 1.2; margin-bottom: 14px; text-wrap: balance; }
.feat-main p:not(.feat-setor) { max-width: 520px; }
.feat-main .btn { margin-top: 22px; }
.feat-scope { padding: clamp(24px, 3.4vw, 36px); background: var(--bg); border-left: 1px solid var(--line); }
.feat-nota { margin-top: 14px; font-size: 0.85rem; color: var(--mut); }
.feat-extra { margin-top: 22px; font-size: 0.98rem; }

.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.area-card { position: relative; display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: 22px; align-items: center; padding: 14px 52px 14px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; transition: border-color 0.25s, background 0.25s; }
.area-card:hover { border-color: rgba(40, 127, 242, 0.5); background: var(--panel); }
.area-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--bg-2); }
.area-n { display: block; font-family: var(--font-m); font-size: 0.78rem; color: var(--acc); margin-bottom: 8px; }
.area-card h3 { font-size: 1.12rem; line-height: 1.3; margin-bottom: 6px; }
.area-card p { font-size: 0.95rem; line-height: 1.55; }
.area-card > .seta { position: absolute; top: 20px; right: 20px; color: var(--acc); font-size: 1.15rem; }
.area-card:hover > .seta { transform: translateX(4px); }

.sis-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: clamp(32px, 5vw, 72px); align-items: center; margin-bottom: clamp(32px, 4vw, 48px); }
.sis-txt { grid-column: 1; grid-row: 1; max-width: 640px; }
.sis-foto { grid-column: 2; grid-row: 1; aspect-ratio: 16 / 9; }
.sis-txt h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.sis-txt p:not(.kicker) { margin-top: 14px; }

.temas { display: grid; gap: 16px; }
.temas-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.temas-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tema {
  display: flex; flex-direction: column; gap: 10px;
  padding: 26px 26px 24px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px;
  transition: border-color 0.25s, background 0.25s;
}
.blk .tema { background: var(--panel); box-shadow: var(--shadow); }
.tema:hover { border-color: rgba(40, 127, 242, 0.5); background: var(--panel); }
.tema-rot { font-family: var(--font-m); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--acc); }
.tema h2, .tema h3 { font-size: 1.18rem; line-height: 1.35; letter-spacing: -0.01em; }
.tema p { font-size: 0.96rem; }
.tema .lnk { margin-top: auto; padding-top: 8px; }
.tema:hover .lnk { text-decoration: underline; text-underline-offset: 4px; }
.tema:hover .seta { transform: translateX(4px); }

.checks { list-style: none; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; line-height: 1.5; }
.checks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%; background: rgba(40, 127, 242, 0.12) var(--check) center / 11px no-repeat; }

.sysd { margin: 0; max-width: 1000px; }
.sysd-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1fr); align-items: center; }
.sysd-box { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 14px; }
.sysd-box b, .sysd-mid b { font-family: var(--font-d); font-size: 1rem; color: var(--txt); }
.sysd-box span, .sysd-mid span { font-size: 0.86rem; line-height: 1.45; }
.sysd-wf { border-color: rgba(40, 127, 242, 0.45); }
.sysd-mid { position: relative; margin: 0 14px; padding: 14px; display: flex; flex-direction: column; gap: 6px; text-align: center; border: 1.5px dashed rgba(40, 127, 242, 0.45); border-radius: 12px; }
.sysd-mid::before, .sysd-mid::after { content: ''; position: absolute; top: 50%; width: 14px; border-top: 1.5px dashed var(--acc); }
.sysd-mid::before { right: 100%; }
.sysd-mid::after { left: 100%; }
.sysd figcaption { margin-top: 16px; font-family: var(--font-m); font-size: 0.74rem; color: var(--mut); }

/* ----------------------------------------------------------------------------
   8. Faixa de contato (CTA)
---------------------------------------------------------------------------- */
.cta { text-align: center; padding: clamp(72px, 9vw, 120px) 0; }
.cta-in { max-width: 760px; }
.cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 16px; text-wrap: balance; }
.cta-in > p:not(.cta-alt) { font-size: 1.07rem; max-width: 580px; margin: 0 auto 28px; }
.cta-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.cta-alt { margin-top: 18px; font-size: 0.92rem; color: var(--mut); }
.cta-alt a { color: var(--acc); text-decoration: underline; text-underline-offset: 3px; }

/* ----------------------------------------------------------------------------
   9. Páginas internas: topo, fatos, texto corrido
---------------------------------------------------------------------------- */
.pg-hero { position: relative; overflow: hidden; padding: clamp(44px, 6vw, 80px) 0 clamp(36px, 5vw, 56px); background: var(--panel); border-bottom: 1px solid var(--line); }
.pg-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(var(--tint), 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--tint), 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 85%);
  mask-image: linear-gradient(100deg, transparent 35%, #000 85%);
}
.pg-hero .container { position: relative; }
.pg-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(32px, 5vw, 72px); align-items: center; }
.pg-foto { aspect-ratio: 16 / 9; box-shadow: var(--shadow); }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 26px; font-family: var(--font-m); font-size: 0.74rem; color: var(--mut); }
.crumb a { color: var(--txt-2); }
.crumb a:hover { color: var(--acc); }
.pg-hero h1 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.12; max-width: 940px; text-wrap: balance; }
.pg-lead { margin-top: 22px; max-width: 780px; font-size: clamp(1.04rem, 1.6vw, 1.16rem); }

.facts-sec { padding: 26px 0; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px 28px; }
.facts dt { margin-bottom: 4px; font-family: var(--font-m); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mut); }
.facts dd { font-weight: 600; font-size: 0.95rem; line-height: 1.4; color: var(--txt); }

.prose h2, .prose p, .prose ul { max-width: 780px; }
.prose h2 { font-size: clamp(1.4rem, 2.3vw, 1.85rem); margin-bottom: 20px; }
.prose p { line-height: 1.75; }
.prose p + p { margin-top: 16px; }
.prose p a, .card p a { color: var(--acc); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.dash-list { list-style: none; margin-top: 14px; }
.dash-list li { position: relative; padding: 12px 0 12px 28px; border-top: 1px solid var(--line); }
.dash-list li:first-child { border-top: 0; }
.dash-list li::before { content: ''; position: absolute; left: 0; top: 24px; width: 14px; height: 1.5px; background: var(--blue-2); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.cards-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 24px; box-shadow: var(--shadow); }
.card h3 { font-size: 1.05rem; line-height: 1.3; margin-bottom: 8px; }
.card p { font-size: 0.95rem; line-height: 1.6; }
.card-link { display: flex; flex-direction: column; gap: 10px; transition: border-color 0.25s; }
.card-link:hover { border-color: rgba(40, 127, 242, 0.5); }
.card-link .lnk { margin-top: auto; }

.etapas { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.etapa { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.etapa-n { display: block; margin-bottom: 12px; font-family: var(--font-m); font-size: 0.8rem; color: var(--acc); }
.etapa h3 { font-size: 1.08rem; margin-bottom: 8px; }
.etapa p { font-size: 0.95rem; }

.qas { max-width: 880px; border-top: 1px solid var(--line-strong); }
.qa { border-bottom: 1px solid var(--line-strong); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 20px 0; font-family: var(--font-d); font-weight: 600; font-size: 1.05rem; color: var(--txt); transition: color 0.2s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; flex-shrink: 0; width: 10px; height: 10px; margin-top: 6px; border-right: 1.5px solid var(--acc); border-bottom: 1.5px solid var(--acc); transform: rotate(45deg); transition: transform 0.3s var(--ease); }
.qa[open] summary::after { transform: rotate(-135deg); }
.qa summary:hover { color: var(--acc); }
.qa-a { padding: 0 0 22px; }
.qa-a p { max-width: 740px; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips li { padding: 6px 12px; border-radius: 99px; background: var(--panel); border: 1px solid var(--line-strong); font-family: var(--font-m); font-size: 0.76rem; color: var(--txt-2); }

.rel { display: flex; flex-wrap: wrap; gap: 12px; }
.rel a { display: inline-flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line-strong); font-weight: 600; font-size: 0.95rem; color: var(--txt); transition: border-color 0.2s; }
.rel a::before { content: '→'; color: var(--acc); }
.rel a:hover { border-color: var(--acc); }

/* ----------------------------------------------------------------------------
   10. Páginas de assunto (Soluções)
---------------------------------------------------------------------------- */
.sol-page { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.sol-main h2 { font-size: clamp(1.4rem, 2.3vw, 1.85rem); margin-bottom: 20px; }
.sol-side { display: grid; gap: 16px; }
.sol-box { padding: 22px; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--blue-2); border-radius: 14px; box-shadow: var(--shadow); }
.sol-box h3 { font-size: 1rem; margin-bottom: 6px; }
.sol-box p { font-size: 0.95rem; }
.sol-box p a { color: var(--acc); text-decoration: underline; text-underline-offset: 3px; }
.sol-nota { margin-top: 24px; padding-left: 14px; border-left: 2px solid var(--line-strong); font-size: 0.92rem; color: var(--mut); }
.rel-proj { max-width: 780px; padding: 24px 26px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; }
.rel-proj .kicker { margin-bottom: 10px; }
.rel-proj p:not(.kicker) { margin-bottom: 12px; color: var(--txt); }

/* ----------------------------------------------------------------------------
   11. Como trabalhamos
---------------------------------------------------------------------------- */
.stages { list-style: none; }
.stage { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 24px; padding: 30px 0; border-top: 1px solid var(--line); }
.stage:last-child { border-bottom: 1px solid var(--line); }
.stage-n { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--panel); border: 1px solid var(--line-strong); font-family: var(--font-d); font-weight: 700; color: var(--acc); }
.stage h3 { font-size: 1.25rem; margin-bottom: 8px; }
.stage p { max-width: 740px; }
.stage-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; max-width: 780px; margin-top: 18px; }
.stage-meta dt { margin-bottom: 4px; font-family: var(--font-m); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mut); }
.stage-meta dd { font-size: 0.95rem; color: var(--txt); }

/* ----------------------------------------------------------------------------
   12. Projetos
---------------------------------------------------------------------------- */
.projs { display: grid; gap: 22px; margin-bottom: clamp(48px, 6vw, 72px); }
.proj { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.proj-vis { display: flex; align-items: center; justify-content: center; background: var(--bg-2); border-right: 1px solid var(--line); }
.proj-vis img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.proj-img { position: relative; align-self: stretch; width: 100%; margin: 0; }
.proj-badge, .foto-tag { position: absolute; left: 12px; bottom: 12px; padding: 5px 11px; border-radius: 99px; background: rgba(255, 255, 255, 0.94); border: 1px solid var(--line-strong); box-shadow: 0 6px 16px -10px rgba(22, 32, 38, 0.45); font-family: var(--font-m); font-size: 0.7rem; letter-spacing: 0.03em; color: var(--txt-2); }
.proj-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(24px, 3.4vw, 40px); }
.proj-setor { font-family: var(--font-m); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mut); }
.proj h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.25; }
.proj-res { padding: 12px 14px; border-radius: 10px; background: rgba(40, 127, 242, 0.07); border: 1px solid rgba(40, 127, 242, 0.22); font-size: 0.93rem; }
.proj-res b { color: var(--acc); }
.proj-status { margin-top: 2px; }
.tag { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 99px; border: 1px solid; font-family: var(--font-m); font-size: 0.72rem; letter-spacing: 0.05em; }
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag-ok { color: var(--ok); background: var(--ok-bg); border-color: rgba(26, 117, 80, 0.25); }
.tag-escopo { color: var(--acc); background: rgba(40, 127, 242, 0.08); border-color: rgba(40, 127, 242, 0.28); }
.proj-flow { width: 100%; padding: clamp(24px, 3.4vw, 40px); }
.proj-flow-h { margin-bottom: 14px; font-family: var(--font-m); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mut); }
.proj-flow ol, .feat-scope ol { list-style: none; counter-reset: pf; display: grid; gap: 10px; }
.proj-flow li, .feat-scope li { counter-increment: pf; position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 10px; font-size: 0.93rem; font-weight: 600; color: var(--txt); }
.proj-flow li::before, .feat-scope li::before { content: counter(pf, decimal-leading-zero); font-family: var(--font-m); font-size: 0.72rem; font-weight: 500; color: var(--acc); }
.proj-flow li + li::after, .feat-scope li + li::after { content: ''; position: absolute; left: 24px; bottom: 100%; height: 10px; border-left: 1.5px solid var(--line-strong); }
.projs-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.projs-compact .proj { grid-template-columns: 1fr; }
.projs-compact .proj-vis { border-right: 0; border-bottom: 1px solid var(--line); }

.flow { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.flow li { position: relative; padding: 20px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.flow li + li::before { content: '→'; position: absolute; left: -12px; top: 26px; transform: translateX(-50%); color: var(--acc); font-size: 0.95rem; line-height: 1; }
.flow-n { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-bottom: 12px; border-radius: 50%; background: rgba(40, 127, 242, 0.1); font-family: var(--font-m); font-size: 0.78rem; color: var(--acc); }
.flow h3 { font-size: 1rem; line-height: 1.3; margin-bottom: 6px; }
.flow p { font-size: 0.9rem; line-height: 1.5; }

.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.shot { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.shot img { width: 100%; }
.shot figcaption { padding: 12px 16px; border-top: 1px solid var(--line); font-family: var(--font-m); font-size: 0.74rem; letter-spacing: 0.04em; color: var(--mut); }

/* ----------------------------------------------------------------------------
   13. Sobre
---------------------------------------------------------------------------- */
.person { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.person-photo { margin: 0; max-width: 400px; aspect-ratio: 768 / 1120; overflow: hidden; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person-txt h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 6px; }
.person-desc { margin-bottom: 20px; color: var(--mut); }
.person-txt > p:not(.kicker):not(.person-desc) { max-width: 600px; }
.person-txt .lnk { margin-top: 22px; }

/* ----------------------------------------------------------------------------
   14. Contato e formulário
---------------------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.form { position: relative; display: grid; gap: 20px; }
.campo { display: flex; flex-direction: column; gap: 7px; }
.campo label { font-size: 0.95rem; font-weight: 600; color: var(--txt); }
.req { color: var(--acc); }
.opc { font-size: 0.88rem; font-weight: 400; color: var(--mut); }
.campo-dica { font-size: 0.85rem; line-height: 1.45; color: var(--mut); }
.campo input, .campo textarea {
  /* 1rem = 16px: abaixo disso o Safari no iOS dá zoom ao focar o campo */
  width: 100%; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--txt);
  background: var(--panel); border: 1px solid var(--line-strong); border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.campo textarea { resize: vertical; min-height: 140px; }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(40, 127, 242, 0.2); }
.campo [aria-invalid="true"] { border-color: var(--erro); }
.form-envio { display: flex; flex-wrap: wrap; gap: 12px; }
.form-erro { padding: 12px 14px; border-radius: 10px; background: #FCEDEC; border: 1px solid #F1C4BF; font-size: 0.93rem; color: var(--erro); }
.form-erro a { color: inherit; text-decoration: underline; }
.form-nota { font-size: 0.88rem; line-height: 1.55; color: var(--mut); }
.form-nota a { color: var(--acc); text-decoration: underline; text-underline-offset: 2px; }
.form-ok { padding: 28px; background: var(--panel); border: 1px solid rgba(26, 117, 80, 0.3); border-radius: 16px; box-shadow: var(--shadow); }
.form-ok:focus { outline: none; }
.form-ok h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 1.3rem; }
.form-ok h3::before {
  content: ''; width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%;
  background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3 5 8.6 9.4 3.6' fill='none' stroke='%231A7550' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.form-ref { margin-top: 10px; font-family: var(--font-m); font-size: 0.85rem; color: var(--mut); }
.form-ref b { color: var(--txt); }
.contact-aside { padding: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; }
.contact-aside h2 { font-size: 1.08rem; margin-bottom: 16px; }
.next { list-style: none; counter-reset: nx; display: grid; gap: 16px; margin-bottom: 30px; }
.next li { counter-increment: nx; position: relative; padding-left: 40px; }
.next li::before { content: counter(nx); position: absolute; left: 0; top: 0; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(40, 127, 242, 0.1); font-family: var(--font-m); font-size: 0.78rem; color: var(--acc); }
.next h3 { font-size: 0.98rem; margin-bottom: 4px; }
.next p { font-size: 0.92rem; }
.alt-list { list-style: none; display: grid; gap: 14px; }
.alt-list li { display: flex; flex-direction: column; gap: 2px; }
.alt-list span { font-family: var(--font-m); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mut); }
.alt-list a { font-weight: 600; color: var(--acc); overflow-wrap: anywhere; }
.alt-list a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* armadilha de robô: fora da tela, mas não display:none — leitor de tela
   ignora pelo aria-hidden, robô que preenche tudo cai */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ----------------------------------------------------------------------------
   15. Rodapé
---------------------------------------------------------------------------- */
.foot { padding: 56px 0 28px; background: var(--panel); border-top: 1px solid var(--line); font-size: 0.93rem; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.25fr) minmax(0, 0.85fr) minmax(0, 0.95fr) minmax(0, 1.2fr); gap: 28px; }
.foot-brand img { height: 52px; width: auto; margin-bottom: 14px; }
.foot-base { margin-top: 4px; font-size: 0.88rem; color: var(--mut); }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.foot-h { margin-bottom: 4px; font-family: var(--font-m); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mut); }
.foot-col a { color: var(--txt-2); overflow-wrap: anywhere; transition: color 0.2s; }
.foot-col a:hover { color: var(--acc); }
.foot-col a[href^="https://wa.me"] { white-space: nowrap; }
.foot-bottom { margin-top: 40px; font-size: 0.85rem; color: var(--mut); }
.foot-bottom::before { content: ''; display: block; height: 1px; margin-bottom: 22px; background: var(--line); }

/* ----------------------------------------------------------------------------
   16. Banner de consentimento (LGPD)
   Ancorado no rodapé da janela, sem cobrir a página: cookie wall é má
   prática segundo a ANPD. "Recusar" tem o mesmo peso visual de "aceitar".
---------------------------------------------------------------------------- */
.ck { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; padding: 0 16px 16px; transform: translateY(120%); opacity: 0; transition: transform 0.45s var(--ease), opacity 0.35s; }
.ck.on { transform: none; opacity: 1; }
.ck-cx {
  max-width: 720px; margin: 0 auto; padding: 20px 22px;
  background: var(--panel); border: 1px solid var(--line-strong); border-radius: 16px;
  box-shadow: 0 28px 70px -24px rgba(22, 32, 38, 0.32);
  /* teto de altura: recusar e aceitar têm de estar sempre ao alcance */
  max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  display: flex; flex-direction: column;
}
.ck-txt strong { display: block; margin-bottom: 6px; font-family: var(--font-d); font-size: 1.02rem; color: var(--txt); }
.ck-txt p { font-size: 0.9rem; line-height: 1.55; }
.ck-txt a { color: var(--acc); text-decoration: underline; text-underline-offset: 2px; }
.ck-opc[hidden] { display: none; }   /* display do autor vence o [hidden] do navegador */
.ck-opc { display: grid; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); overflow-y: auto; min-height: 0; }
.ck-l { display: flex; gap: 11px; align-items: flex-start; cursor: pointer; }
.ck-l-fixo { cursor: default; opacity: 0.62; }
.ck-l input { width: 17px; height: 17px; margin-top: 2px; flex-shrink: 0; accent-color: var(--blue); }
.ck-l span { font-size: 0.84rem; line-height: 1.5; }
.ck-l b { display: block; font-size: 0.88rem; font-weight: 600; color: var(--txt); }
.ck-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; flex-shrink: 0; }
.ck-btns .btn { flex: 1 1 auto; }
.ck-ok { background: var(--blue); color: #fff; }
.ck-ok:hover { background: var(--blue-3); }

/* ----------------------------------------------------------------------------
   17. Responsivo
---------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .nav-in { height: 66px; gap: 16px; }
  .nav-right { margin-left: auto; gap: 10px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--panel);
  }
  .nav-toggle i, .nav-toggle i::before, .nav-toggle i::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--txt); }
  .nav-toggle i { position: relative; transition: background 0.2s; }
  .nav-toggle i::before, .nav-toggle i::after { content: ''; position: absolute; left: 0; transition: transform 0.25s var(--ease); }
  .nav-toggle i::before { top: -6px; }
  .nav-toggle i::after { top: 6px; }
  .nav.open .nav-toggle i { background: transparent; }
  .nav.open .nav-toggle i::before { transform: translateY(6px) rotate(45deg); }
  .nav.open .nav-toggle i::after { transform: translateY(-6px) rotate(-45deg); }
  .js .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 6px 20px 14px;
    background: var(--panel); border-bottom: 1px solid var(--line); box-shadow: 0 22px 30px -26px rgba(22, 32, 38, 0.45);
  }
  .js .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 14px 0; border-top: 1px solid var(--line); font-size: 1rem; }
  .nav-links a:first-child { border-top: 0; }
  .nav-links a[aria-current="page"] { color: var(--acc); }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-links .nav-contact-m { display: block; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .nav-in { height: auto; flex-wrap: wrap; padding: 12px 0; }
  html:not(.js) .nav-links { order: 3; width: 100%; flex-wrap: wrap; gap: 6px 18px; margin: 0; }
  html:not(.js) .nav-links a { border: 0; padding: 4px 0; }

  .hero-in, .split, .probs-in, .sis-top, .pg-hero-in, .areas, .sol-page, .feat, .proj, .contact, .person { grid-template-columns: minmax(0, 1fr); }
  .metodo > div, .metodo-foto, .sis-txt, .sis-foto { grid-column: auto; grid-row: auto; }
  /* fotos numa coluna só: faixa baixa e com teto de largura, para não crescerem */
  .hero-foto { justify-self: start; max-width: 480px; aspect-ratio: 4 / 3; }
  .hero-foto img { object-position: 50% 10%; }
  .probs-foto, .metodo-foto, .sis-foto, .pg-foto { max-width: 560px; aspect-ratio: 16 / 9; }
  .probs-foto img { object-position: 50% 72%; }
  .temas-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat-scope { border-left: 0; border-top: 1px solid var(--line); }
  .hero-txt { max-width: 640px; }
  .proj-vis { border-right: 0; border-bottom: 1px solid var(--line); }
  .person-photo { max-width: 340px; }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .flow li + li::before { content: '↓'; left: 26px; top: -15px; transform: none; }
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .container { padding: 0 20px; }
  .brand img { height: 30px; }
  .nav-cta { padding: 0 13px; }
  .lang-switch a { padding: 4px 8px; }
  .hero h1 { font-size: clamp(2.05rem, 9vw, 2.6rem); }
  .hero-cta .btn { width: 100%; }
  .dgm { padding: 18px 16px 16px; }
  .dgm-grid { column-gap: 20px; }
  .dgm-st { font-size: 0.8rem; padding: 9px 9px; gap: 7px; }
  .dgm-st::after { width: 20px; }
  .dgm-rec { font-size: 0.76rem; padding: 8px 9px; }
  .dgm-h b { font-size: 0.86rem; }
  .dgm-erp { gap: 20px; }
  .probs, .areas, .temas-4, .temas-5, .etapas, .shots, .projs-compact, .stage-meta { grid-template-columns: minmax(0, 1fr); }
  /* cartão de área no celular: miniatura ao lado do título e o texto embaixo,
     na largura toda (com a miniatura ao lado de tudo, o texto ficava espremido) */
  .area-card { grid-template-columns: 84px minmax(0, 1fr); gap: 4px 14px; padding: 14px 40px 16px 14px; }
  .area-body { display: contents; }
  .area-img { grid-row: 1 / span 2; }
  .area-n { grid-column: 2; align-self: end; margin-bottom: 0; }
  .area-card h3 { grid-column: 2; align-self: start; margin-bottom: 0; }
  .area-card p { grid-column: 1 / -1; margin-top: 10px; }
  .area-card > .seta { top: 14px; right: 14px; }
  .feat-scope { display: none; }   /* home no celular: o cartao basta; o escopo completo fica na pagina do projeto */
  .stage { grid-template-columns: 1fr; gap: 14px; }
  .sysd-row { grid-template-columns: minmax(0, 1fr); }
  .sysd-mid { margin: 14px 0; }
  .sysd-mid::before, .sysd-mid::after { top: auto; left: 50%; width: 0; height: 14px; border-top: 0; border-left: 1.5px dashed var(--acc); }
  .sysd-mid::before { right: auto; bottom: 100%; }
  .sysd-mid::after { top: 100%; }
  .foot-top { grid-template-columns: minmax(0, 1fr); }
  .ck { padding: 0 10px 10px; }
  .ck-cx { padding: 18px; }
  .ck-btns .btn { flex: 1 1 100%; }
}

/* ----------------------------------------------------------------------------
   18. Movimento reduzido
---------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-delay: 0s !important; transition-duration: 0.001s !important; transition-delay: 0s !important; }
  .js .rv { opacity: 1; transform: none; }
}
