/* =========================================================================
   Galad · site da empresa
   Regra da casa: o que está escrito aqui é o estado FINAL da página. Os estados
   "antes de entrar" só valem com html.anima (o JS liga quando o GSAP carregou e a
   pessoa não pediu menos movimento). Se o JS falhar, tudo aparece parado e legível.
   Cores: prata + azul da marca, claro e escuro se alternando (pedido dela: "sem ser
   escuro demais, vai mesclando").
   ========================================================================= */

@font-face { font-family: "Schibsted Grotesk"; src: url("../fontes/SchibstedGrotesk-latin.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fontes/Inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --noite: #0E1836;
  --noite-2: #1A2752;
  --gelo: #F3F6FA;          /* fundo claro principal */
  --gelo-2: #E7ECF4;        /* faixa clara um degrau abaixo */
  --branco: #FFFFFF;
  --tinta: #121A2E;         /* texto no claro: ≈ 16:1 no gelo */
  --tinta-leve: #4A5468;    /* texto secundário no claro: ≈ 7:1 */
  --bruma: #E8ECF2;         /* texto no escuro */
  --bruma-leve: #A9B4CC;    /* secundário no escuro: ≈ 8:1 na noite */
  --prata: #8E9BB8;
  --azul: #2438A6;          /* azul da marca: botões e destaques no claro */
  --azul-claro: #8C9CF2;    /* azul aceso: destaques no escuro */
  --vermelho: #B4372C;
  --verde: #2F8F5B;
  --fio-claro: rgba(18, 26, 46, .1);
  --fio-escuro: rgba(201, 210, 227, .16);
  --metal: linear-gradient(100deg, #F7F9FD 0%, #DDE4F0 34%, #FFFFFF 50%, #C6D0E2 66%, #A7B4CF 100%);

  --t-titulo: "Schibsted Grotesk", "Inter", system-ui, sans-serif;
  --t-texto: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --t-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --encaixe: cubic-bezier(0.16, 1, 0.3, 1);   /* sai rápido e assenta devagar */
  --raio: 12px;                                 /* canto médio: nem pílula nem quadrado (régua da casa) */
  --largura: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--gelo); color: var(--tinta); font: 400 17px/1.6 var(--t-texto); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--t-titulo); margin: 0; letter-spacing: -0.02em; line-height: 1.08; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--azul); outline-offset: 3px; border-radius: 4px; }
.escuro :focus-visible { outline-color: var(--azul-claro); }

.largura { width: 100%; max-width: calc(var(--largura) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.pular { position: absolute; left: 16px; top: -60px; background: var(--azul); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.pular:focus { top: 12px; }

.rotulo { font: 600 16px/1 var(--t-titulo); letter-spacing: -0.005em; color: var(--azul); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.rotulo::before { content: ""; width: 12px; height: 12px; background: currentColor; clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%); }
.escuro .rotulo { color: var(--azul-claro); }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--tinta-leve); max-width: 56ch; }
.escuro .lead { color: var(--bruma-leve); }
h2 { font-size: clamp(30px, 4.2vw, 52px); font-weight: 650; margin-bottom: 18px; }
.cabeca-secao { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }

/* ---------- Botões ---------- */
.botao { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--raio); background: var(--azul); color: #fff; font: 600 16px/1 var(--t-texto); text-decoration: none; border: 1.5px solid transparent; transition: transform .25s var(--encaixe), background-color .2s, box-shadow .25s; box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, 0 4px 12px -6px rgba(36,56,166,.45); }
.botao svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--encaixe); }
.botao:hover { background: #1D2F8F; }
.botao:hover svg { transform: translateX(4px); }
.botao:active { transform: scale(.97); }
.botao-linha { background: transparent; color: var(--tinta); border-color: rgba(18,26,46,.22); box-shadow: none; }
.botao-linha:hover { background: rgba(18,26,46,.05); }
.botao-claro { background: var(--bruma); color: var(--noite); box-shadow: 0 1px 0 #fff inset, 0 8px 24px -10px rgba(0,0,0,.5); }
.botao-claro:hover { background: #fff; }
.botao-linha-claro { background: transparent; color: var(--bruma); border-color: rgba(232,236,242,.3); box-shadow: none; }
.botao-linha-claro:hover { background: rgba(232,236,242,.08); }
.botao-pequeno { min-height: 40px; padding: 0 16px; font-size: 15px; }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Barra de progresso ---------- */
.progresso { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; pointer-events: none; }
.progresso span { display: block; height: 100%; background: linear-gradient(90deg, var(--azul), var(--azul-claro)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Topo fixo ---------- */
.topo { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: env(safe-area-inset-top); transition: background-color .35s, box-shadow .35s, color .35s; }
.topo-in { max-width: calc(var(--largura) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); height: 72px; display: flex; align-items: center; gap: 32px; }
.marca { position: relative; width: 132px; height: 36px; flex: none; }
.marca img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .35s; }
.logo-escuro { opacity: 0; }
.menu { display: flex; gap: 28px; margin-left: auto; }
.menu a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--tinta-leve); position: relative; padding: 6px 0; transition: color .2s; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .35s var(--encaixe); }
.menu a:hover { color: var(--tinta); }
.menu a:hover::after, .menu a.atual::after { transform: scaleX(1); transform-origin: 0 50%; }
.menu a.atual { color: var(--tinta); }
.topo.rolou { background: rgba(243,246,250,.78); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--fio-claro); }
/* Sobre seção escura: logo prata e texto claro */
.topo[data-tema="escuro"] .logo-claro { opacity: 0; }
.topo[data-tema="escuro"] .logo-escuro { opacity: 1; }
.topo[data-tema="escuro"] .menu a { color: var(--bruma-leve); }
.topo[data-tema="escuro"] .menu a:hover, .topo[data-tema="escuro"] .menu a.atual { color: var(--bruma); }
.topo[data-tema="escuro"].rolou { background: rgba(14,24,54,.72); box-shadow: 0 1px 0 var(--fio-escuro); }
.topo[data-tema="escuro"] .botao-pequeno { background: var(--bruma); color: var(--noite); }
@media (max-width: 860px) { .menu { display: none; } .topo .botao-pequeno { margin-left: auto; } }

/* =========================================================================
   1. TOPO (hero)
   ========================================================================= */
.hero { position: relative; padding: clamp(120px, 16vh, 168px) 0 56px; overflow: hidden;
  background:
    radial-gradient(60% 60% at 82% 30%, rgba(140,156,242,.22), transparent 70%),
    radial-gradient(50% 50% at 10% 100%, rgba(36,56,166,.08), transparent 70%),
    var(--gelo); }
.hero-grade { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
h1 { font-size: clamp(40px, 4.7vw, 66px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; margin-bottom: 8px; }
h1 .linha { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
h1 .linha > span { display: inline-block; }
h1 em { font-style: normal; color: var(--azul); }
.hero-lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--tinta-leve); max-width: 50ch; }

/* Logo 3D: quadrado à direita do texto. O canvas cobre tudo; a sombra fica no "chão".
   A imagem de reserva (SVG claro escurecido pelo filtro) só aparece sem WebGL. */
.hero-3d { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; justify-self: end; }
.hero-3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero-3d-reserva { position: absolute; inset: 14%; width: 72%; filter: brightness(.28) saturate(1.6) hue-rotate(10deg); transition: opacity .4s; }
.tem-3d .hero-3d-reserva { opacity: 0; }
.hero-3d-sombra { position: absolute; left: 22%; right: 22%; bottom: 4%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(14,24,54,.28), transparent); filter: blur(6px); }

/* Janela ilustrativa */
.janela-cena { position: relative; padding: 0 0 56px 0; }
.janela { position: relative; background: linear-gradient(180deg, #13204A, var(--noite)); border-radius: 16px; box-shadow: 0 0 0 1px rgba(201,210,227,.14) inset, 0 40px 80px -30px rgba(14,24,54,.55), 0 12px 24px -12px rgba(14,24,54,.35); color: var(--bruma); overflow: hidden; }
.janela-barra { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--fio-escuro); }
.ponto { width: 10px; height: 10px; border-radius: 50%; background: rgba(201,210,227,.22); }
.aba { font: 500 12px/1 var(--t-mono); color: var(--bruma-leve); padding: 6px 10px; border-radius: 6px; }
.aba:first-of-type { margin-left: 12px; }
.aba.ativa { background: rgba(140,156,242,.14); color: var(--bruma); }
.codigo { margin: 0; padding: 18px 20px 20px; font: 400 13px/1.75 var(--t-mono); white-space: normal; overflow: hidden; }
.codigo .l { display: block; white-space: pre; }
.k { color: #8C9CF2; } .t { color: #E8ECF2; font-weight: 600; } .f { color: #9FD3C7; } .n { color: #F0B88A; } .c { color: #7783A0; font-style: italic; }
.janela-status { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 12px 20px; border-top: 1px solid var(--fio-escuro); font: 500 12px/1 var(--t-texto); color: var(--bruma-leve); }
.status-item { display: inline-flex; align-items: center; gap: 6px; }
.status-item svg { width: 14px; height: 14px; fill: none; stroke: #7FD3A6; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.status-ar { margin-left: auto; color: var(--bruma); }
.status-ar i { width: 7px; height: 7px; border-radius: 50%; background: #5BD08F; box-shadow: 0 0 0 3px rgba(91,208,143,.2); }

.cartao-ui { position: absolute; left: -8%; bottom: 0; width: min(300px, 72%); background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); border-radius: 14px; padding: 16px; box-shadow: 0 0 0 1px rgba(255,255,255,.7) inset, 0 24px 48px -18px rgba(14,24,54,.45); color: var(--tinta); }
.ui-titulo { font: 600 13px/1 var(--t-texto); margin-bottom: 12px; }
.ui-lista li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--fio-claro); font-size: 13px; }
.ui-marca { width: 8px; height: 8px; border-radius: 2px; background: var(--azul); flex: none; }
.ui-urgente { background: var(--vermelho); } .ui-ok { background: var(--verde); }
.ui-nome { flex: 1; font-weight: 500; }
.ui-pill { font: 600 11px/1 var(--t-texto); padding: 5px 8px; border-radius: 6px; background: rgba(36,56,166,.1); color: var(--azul); }
.ui-p-urg { background: rgba(180,55,44,.1); color: var(--vermelho); }
.ui-p-ok { background: rgba(47,143,91,.12); color: #22704A; }
.ui-barra { height: 4px; border-radius: 4px; background: var(--gelo-2); margin-top: 10px; overflow: hidden; }
.ui-barra span { display: block; height: 100%; width: 100%; background: var(--azul); border-radius: inherit; transform-origin: 0 50%; }

/* Faixa de compromissos: uma linha editorial, separada pela estrela da marca (sem caixas nem ícones) */
.faixa { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; margin-top: clamp(48px, 7vw, 88px); padding-top: 24px; border-top: 1px solid var(--fio-claro); }
.faixa li { display: inline-flex; align-items: center; font-size: 15px; font-weight: 500; color: var(--tinta-leve); }
.faixa li + li::before { content: ""; width: 9px; height: 9px; margin: 0 18px; background: var(--azul); opacity: .7;
  clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%); }
@media (max-width: 960px) {
  .hero-grade { grid-template-columns: 1fr; }
  .hero-3d { justify-self: center; max-width: 420px; margin-top: -8px; }
}
@media (max-width: 520px) { .codigo { font-size: 11.5px; padding: 14px; } }

/* =========================================================================
   Seções escuras (mesclam com as claras)
   ========================================================================= */
.escuro { position: relative; color: var(--bruma); background:
  radial-gradient(70% 60% at 90% 0%, rgba(36,56,166,.28), transparent 65%),
  radial-gradient(60% 50% at 0% 100%, rgba(140,156,242,.10), transparent 60%),
  var(--noite); }

/* Ícones de traço (desenham quando entram: ver bloco "anima" no fim) */
.ic { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================================
   2. SERVIÇOS
   ========================================================================= */
.servicos { padding: clamp(88px, 12vw, 150px) 0; }
.servicos-grade { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.servicos-cabeca { position: sticky; top: 120px; }
.servicos-indice { margin-top: 40px; border-left: 1px solid var(--fio-escuro); }
.servicos-indice li { position: relative; padding: 9px 0 9px 18px; font-size: 15px; color: var(--prata); transition: color .3s; }
.servicos-indice li::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: var(--azul-claro); transform: scaleY(0); transition: transform .4s var(--encaixe); }
.servicos-indice li.ativo { color: var(--bruma); }
.servicos-indice li.ativo::before { transform: scaleY(1); }

.servicos-lista { display: grid; gap: 16px; }
.servico { position: relative; padding: clamp(24px, 3vw, 36px); border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02)); box-shadow: 0 0 0 1px var(--fio-escuro) inset; transition: box-shadow .4s, background-color .4s; }
.servico.ativo { box-shadow: 0 0 0 1px rgba(140,156,242,.45) inset; }
.servico .ic { color: var(--azul-claro); margin-bottom: 22px; }
.servico h3 { font-size: clamp(22px, 2.2vw, 27px); font-weight: 650; margin-bottom: 10px; }
.servico p { color: var(--bruma-leve); max-width: 58ch; }
.servico-principal { background: linear-gradient(160deg, rgba(36,56,166,.5), rgba(26,39,82,.4)); padding: clamp(28px, 4vw, 48px); }
.servico-principal h3 { font-size: clamp(26px, 3vw, 36px); }
.servico-principal p { color: #C6CFE2; }
.servico-topo { display: flex; justify-content: space-between; align-items: flex-start; }
.selo { font: 600 12px/1 var(--t-texto); letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border-radius: 8px; background: rgba(232,236,242,.12); color: var(--bruma); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags li { font: 500 13px/1 var(--t-texto); padding: 7px 10px; border-radius: 8px; background: rgba(232,236,242,.07); color: var(--bruma-leve); box-shadow: 0 0 0 1px var(--fio-escuro) inset; }
@media (max-width: 900px) {
  .servicos-grade { grid-template-columns: 1fr; }
  .servicos-cabeca { position: static; }
  .servicos-indice { display: none; }
}

/* =========================================================================
   3. PROJETOS
   ========================================================================= */
.projetos { padding: clamp(88px, 12vw, 150px) 0; background: var(--gelo); }
.projetos-grade { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.projeto { position: relative; display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 3vw, 32px); border-radius: 16px; background: var(--branco); text-decoration: none; box-shadow: 0 0 0 1px var(--fio-claro) inset, 0 1px 2px rgba(14,24,54,.04); transition: transform .45s var(--encaixe), box-shadow .45s var(--encaixe); }
.projeto:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(36,56,166,.2) inset, 0 18px 40px -24px rgba(14,24,54,.22); }
.projeto-ic { width: 52px; height: 52px; display: grid; place-items: start; color: var(--tinta); }
.projeto-ic .ic { width: 48px; height: 48px; stroke-width: 1.4; }
.projeto:hover .projeto-ic { color: var(--azul); }
.projeto-ic-atalaia svg { width: 40px; height: 40px; }
.projeto-tipo { font: 600 12px/1.3 var(--t-texto); letter-spacing: .08em; text-transform: uppercase; color: var(--tinta-leve); margin-bottom: 8px; }
.projeto h3 { font-size: clamp(22px, 2.2vw, 26px); font-weight: 700; margin-bottom: 10px; }
.projeto p { color: var(--tinta-leve); font-size: 16px; }
.projeto .tags li { background: var(--gelo); color: var(--tinta-leve); box-shadow: 0 0 0 1px var(--fio-claro) inset; }
.projeto-estado { position: absolute; top: clamp(24px, 3vw, 32px); right: 64px; display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--t-texto); color: #22704A; padding: 6px 9px; border-radius: 8px; background: rgba(47,143,91,.1); }
.projeto-estado::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.projeto-seta { position: absolute; top: clamp(22px, 3vw, 30px); right: clamp(20px, 3vw, 28px); width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: var(--tinta-leve); transition: transform .45s var(--encaixe), color .3s, background-color .3s; }
.projeto-seta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.projeto:hover .projeto-seta { transform: translate(3px, -3px); color: var(--azul); background: rgba(36,56,166,.08); }
/* Atalaia em destaque: ocupa a linha inteira e ganha o fundo noite */
.projeto-destaque { grid-column: 1 / -1; flex-direction: row; align-items: flex-start; gap: clamp(24px, 4vw, 48px); padding: clamp(28px, 4vw, 48px); background: linear-gradient(150deg, #FFFFFF 0%, #EEF1FB 100%); }
.projeto-destaque .projeto-ic { width: 112px; height: 112px; border-radius: 22px; flex: none; background: linear-gradient(160deg, #FFFFFF, #E4E9F5); box-shadow: 0 0 0 1px rgba(36,56,166,.12) inset, 0 16px 32px -18px rgba(36,56,166,.45); }
.projeto-destaque .projeto-ic svg { width: 64px; height: 64px; }
.projeto-destaque h3 { font-size: clamp(30px, 3.6vw, 44px); }
.projeto-destaque p { font-size: 17px; max-width: 62ch; }
@media (max-width: 760px) {
  .projetos-grade { grid-template-columns: 1fr; }
  .projeto-destaque { flex-direction: column; }
  .projeto-destaque .projeto-ic { width: 80px; height: 80px; }
  .projeto-destaque .projeto-ic svg { width: 46px; height: 46px; }
}

/* =========================================================================
   4. COMO TRABALHAMOS
   ========================================================================= */
.processo { padding: clamp(88px, 12vw, 150px) 0; background: linear-gradient(180deg, var(--gelo-2), var(--gelo)); }
.etapas { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 40px; }
.trilho { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--fio-claro); border-radius: 2px; }
.trilho span { display: block; height: 100%; background: var(--azul); border-radius: inherit; transform-origin: 0 50%; }
.etapa { position: relative; }
.etapa::before { content: ""; position: absolute; top: -46px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--gelo); box-shadow: 0 0 0 2px var(--azul) inset; }
.etapa-n { display: block; font: 600 14px/1 var(--t-mono); color: var(--azul); margin-bottom: 14px; }
.etapa h3 { font-size: 22px; font-weight: 650; margin-bottom: 8px; }
.etapa p { color: var(--tinta-leve); font-size: 16px; }
@media (max-width: 860px) {
  .etapas { grid-template-columns: 1fr; padding: 0 0 0 36px; gap: 36px; }
  .trilho { top: 0; bottom: 0; left: 6px; right: auto; width: 2px; height: auto; }
  .trilho span { transform-origin: 50% 0; height: 100%; width: 100%; }
  .etapa::before { top: 2px; left: -36px; }
}

/* =========================================================================
   5. QUALIDADE + TECNOLOGIAS
   ========================================================================= */
.qualidade { padding: clamp(88px, 12vw, 150px) 0 clamp(64px, 8vw, 96px); }
.qualidade-corpo { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.qualidade-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--fio-escuro); border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px var(--fio-escuro); }
.q-item { padding: 28px 24px; background: var(--noite); }
.q-item .ic { color: var(--azul-claro); margin-bottom: 18px; width: 40px; height: 40px; }
.q-item h3 { font-size: 19px; font-weight: 650; margin-bottom: 8px; }
.q-item p { color: var(--bruma-leve); font-size: 15px; }
.janela-cena { position: relative; padding: 0 0 128px 0; }
.qualidade .janela { box-shadow: 0 0 0 1px rgba(201,210,227,.18) inset, 0 40px 80px -30px rgba(0,0,0,.6); }
@media (max-width: 960px) {
  .qualidade-corpo { grid-template-columns: 1fr; }
  .janela-cena { max-width: 560px; }
  .cartao-ui { left: auto; right: 0; }
}
@media (max-width: 560px) { .qualidade-grade { grid-template-columns: 1fr; } }

.tecnologias { margin-top: clamp(56px, 8vw, 96px); }
/* Stack: discreta, uma linha fina por camada com as tecnologias em sequência */
.stack { border-top: 1px solid var(--fio-escuro); }
.stack-linha { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--fio-escuro); }
.stack-camada { font: 600 14px/1.4 var(--t-texto); color: var(--bruma); }
.stack-itens { font-size: 15px; line-height: 1.7; color: var(--bruma-leve); }
.stack-itens i { font-style: normal; color: var(--prata); opacity: .6; margin: 0 6px; }
@media (max-width: 700px) { .stack-linha { grid-template-columns: 1fr; gap: 4px; } }

/* =========================================================================
   6. CONTATO + RODAPÉ
   ========================================================================= */
.contato { padding: clamp(100px, 13vw, 160px) 0; overflow: hidden; border-top: 1px solid var(--fio-escuro); text-align: center;
  background:
    radial-gradient(50% 45% at 50% 58%, rgba(140,156,242,.12), transparent 70%),
    radial-gradient(70% 60% at 90% 0%, rgba(36,56,166,.28), transparent 65%),
    var(--noite); }
.contato-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.contato h2 { font-size: clamp(36px, 5.4vw, 72px); font-weight: 700; letter-spacing: -0.03em; max-width: 14ch; }
.contato .acoes { justify-content: center; margin-top: 36px; }

/* Logo prata em 3D acima do título */
.contato-3d { position: relative; width: clamp(180px, 22vw, 280px); aspect-ratio: 1; margin-bottom: 8px; }
.contato-3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.contato-3d .hero-3d-reserva { filter: none; }

.garantias { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; margin-top: 28px; }
.garantias li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--bruma); background: rgba(232,236,242,.06); box-shadow: 0 0 0 1px var(--fio-escuro) inset; }
.garantias svg { width: 16px; height: 16px; fill: none; stroke: #7FD3A6; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.botao-grande { min-height: 58px; padding: 0 30px; font-size: 17px; }
/* Botão com reflexo que atravessa de tempos em tempos (só no contato) */
.ima { position: relative; overflow: hidden; }
.ima::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.85), transparent); transform: skewX(-20deg); pointer-events: none; transition: left .9s var(--encaixe); }
.ima:hover::after { left: 130%; }
@keyframes reflexo { 0%, 70% { left: -60%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .ima::after { animation: none; display: none; } }

.metal { background: var(--metal); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.rodape { background: #0A122B; color: var(--bruma-leve); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 14px; }
.rodape-in { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.rodape nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
.rodape a { text-decoration: none; transition: color .2s; }
.rodape a:hover { color: var(--bruma); }
.rodape-in > p { width: 100%; padding-top: 20px; border-top: 1px solid var(--fio-escuro); color: var(--prata); }
@media (max-width: 640px) { .rodape nav { margin-left: 0; } }

/* Luz na BORDA do cartão que segue o cursor (ideia do Linear, em prata/azul). Só a borda acende:
   a máscara deixa ver o degradê apenas no anel de 1px. --mx/--my vêm do site.js. */
.luz { position: relative; }
.luz::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background: radial-gradient(260px circle at var(--mx, -999px) var(--my, -999px), var(--luz-cor, rgba(201,210,227,.95)), transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s; }
.luz:hover::before { opacity: 1; }
.projeto.luz { --luz-cor: rgba(36,56,166,.75); }

/* Página de privacidade (usa este mesmo CSS) */
.politica { max-width: 720px; margin: 0 auto; padding: 120px var(--gutter) 80px; }
.politica h1 { font-size: clamp(36px, 5vw, 52px); }
.politica h2 { font-size: 22px; margin: 36px 0 10px; }
.politica p { color: var(--tinta-leve); margin-bottom: 12px; }
.politica .aviso { display: inline-block; font-size: 14px; padding: 8px 12px; border-radius: 8px; background: var(--gelo-2); margin-bottom: 24px; }
.politica .voltar { margin-top: 40px; }
.politica .voltar-topo { margin-bottom: 28px; font-size: 15px; }
.politica a { color: var(--azul); }
.politica .data { font-size: 14px; }
.politica ul, .politica ol { color: var(--tinta-leve); padding-left: 1.2em; margin: 0 0 12px; }
.politica li { margin-bottom: 6px; }
.politica .resumo { background: var(--gelo-2); border-radius: var(--raio); padding: 20px 24px; margin: 24px 0 8px; }
.politica .resumo p, .politica .resumo ul { margin-bottom: 6px; }
/* tabela larga: rola de lado dentro da própria caixa, a página não */
.politica .tabela { overflow-x: auto; margin: 12px 0 16px; border: 1px solid rgba(18,26,46,.12); border-radius: var(--raio); }
.politica table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
.politica th, .politica td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid rgba(18,26,46,.1); color: var(--tinta-leve); }
.politica th { color: var(--tinta); background: var(--gelo-2); font-weight: 600; }
.politica-rodape { text-align: center; font-size: 14px; color: var(--tinta-leve); padding: 24px var(--gutter) 40px; border-top: 1px solid rgba(18,26,46,.1); }
.politica-rodape a { color: var(--azul); }

/* Página 404 (usa este mesmo CSS, sem script) */
.erro404 { min-height: 100vh; display: grid; place-items: center; padding: 80px var(--gutter); text-align: center; background: var(--noite); color: var(--gelo); }
.erro404 .lead { color: rgba(243,246,250,.78); }
.erro404 .marca-404 { width: 56px; height: 56px; margin: 0 auto 20px; display: block; }
.erro404 .codigo { font: 600 clamp(88px, 18vw, 180px)/1 var(--t-titulo); letter-spacing: -.04em; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0 0 8px; }
.erro404 h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px; }
.erro404 .lead { margin: 0 auto 28px; }
.caminhos { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.caminhos a { color: var(--gelo); font-weight: 500; }

/* =========================================================================
   MOVIMENTO: estados "antes de entrar". Só valem com html.anima (JS + GSAP
   carregados + sem "menos movimento"). Animamos só transform e opacity, e o
   traço dos ícones (stroke-dashoffset, barato em SVG pequeno).
   ========================================================================= */
.anima .m-sobe, .anima .m-entra { opacity: 0; transform: translateY(16px); }
.anima h1 .linha > span { transform: translateY(105%); }
.anima .janela { opacity: 0; transform: translateY(32px) scale(.97); }
.anima .codigo .l { clip-path: inset(0 100% 0 0); }
.anima .janela-status .status-item { opacity: 0; }
.anima .cartao-ui { opacity: 0; transform: translate(-24px, 24px) scale(.94); }
.anima .ui-lista li { opacity: 0; transform: translateX(-10px); }
.anima .ui-barra span { transform: scaleX(0); }
.anima .ic path, .anima .ic rect, .anima .ic circle { stroke-dasharray: 1; stroke-dashoffset: 1; }
.anima .ic.desenhou path, .anima .ic.desenhou rect, .anima .ic.desenhou circle { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--encaixe); }
.anima .trilho span { transform: scaleX(0); }
.anima .divide .p { display: inline-block; opacity: 0; transform: translateY(.5em); }
@media (max-width: 860px) { .anima .trilho span { transform: scaleY(0); } }
/* Passar o mouse num projeto redesenha o ícone (o traço volta e se refaz) */
@media (hover: hover) {
  .anima .projeto:hover .ic.desenhou path, .anima .projeto:hover .ic.desenhou rect, .anima .projeto:hover .ic.desenhou circle { animation: retraco .9s var(--encaixe); }
}
@keyframes retraco { 0% { stroke-dashoffset: 1; } 100% { stroke-dashoffset: 0; } }
/* Máscara de cada palavra dos títulos (o site.js divide o texto) */
.divide .p-mascara { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.anima .divide .p { transform: translateY(105%); }

/* ---------- Objetivo e frase de efeito ---------- */
.objetivo { padding-bottom: clamp(72px, 10vw, 128px); margin-bottom: clamp(72px, 10vw, 128px); border-bottom: 1px solid var(--fio-escuro); }
.objetivo-texto { font: 650 clamp(22px, 2.6vw, 34px)/1.28 var(--t-titulo); letter-spacing: -0.015em; max-width: 30ch; color: var(--bruma); }
.objetivo-texto .w { transition: color .3s; }
.anima .objetivo-texto .w { color: rgba(201,210,227,.2); }
.anima .objetivo-texto .w.acesa { color: var(--bruma); }
.frase { display: inline-block; margin-top: clamp(32px, 4vw, 48px); font: 800 clamp(22px, 2.6vw, 32px)/1.2 var(--t-titulo); letter-spacing: -0.02em; background-size: 220% 100%; }
.frase::before { content: ""; display: inline-block; width: .7em; height: .7em; margin-right: .45em; vertical-align: -.02em; background: var(--azul-claro);
  clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%); }

/* ---------- Rodapé: frase, voltar ao topo e nome gigante ---------- */
.rodape { overflow: hidden; padding-bottom: 0; }
.rodape-assinatura { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.rodape-frase { font: 700 clamp(18px, 2vw, 24px)/1.2 var(--t-titulo); color: var(--bruma); letter-spacing: -0.01em; }
.topo-volta { flex: none; width: 48px; height: 48px; border-radius: var(--raio); display: grid; place-items: center; color: var(--bruma); box-shadow: 0 0 0 1px var(--fio-escuro) inset; transition: background-color .25s; }
.topo-volta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--encaixe); }
.topo-volta:hover { background: rgba(232,236,242,.08); }
.topo-volta:hover svg { transform: translateY(-3px); }
.rodape-nome { margin-top: 8px; padding: 0 var(--gutter); opacity: .1; transform: translateY(18%); }
.rodape-nome img { width: 100%; max-width: 1400px; margin: 0 auto; }
/* =========================================================================
   3b. QUEM SOMOS: faixa em DESTAQUE (fundo azul da marca, único no site)
   ========================================================================= */
.equipe { position: relative; overflow: hidden; padding: clamp(96px, 13vw, 168px) 0;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(140,156,242,.18), transparent 70%),
    linear-gradient(170deg, #1F2E72 0%, #172459 45%, #0E1836 100%); }
.equipe-simbolo { position: absolute; left: 50%; top: 52%; width: min(1100px, 150vw); translate: -50% -50%; opacity: .07; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .equipe-simbolo { animation: orbita 120s linear infinite; } }
.equipe .rotulo { color: #C9D2FF; }
.equipe .lead { color: #C6CFE8; }
.equipe-cabeca { text-align: center; margin-left: auto; margin-right: auto; position: relative; }
.equipe-cabeca .lead { margin: 0 auto; }

.pessoas { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); max-width: 1080px; margin: 0 auto; }
/* Estrela que liga os dois cartões, com um fio de luz atrás */
.pessoas-elo { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; translate: -50% -50%; z-index: 3; border-radius: 50%;
  background: #0E1836; box-shadow: 0 0 0 1px rgba(201,210,227,.35), 0 0 0 8px rgba(14,24,54,.5); display: grid; place-items: center; }
.pessoas-elo::before { content: ""; width: 18px; height: 18px; background: var(--metal);
  clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%); }
@media (prefers-reduced-motion: no-preference) { .pessoas-elo::before { animation: orbita 10s linear infinite; } }

.pessoa { position: relative; padding: clamp(28px, 3.5vw, 44px); border-radius: 24px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.04));
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 0 0 1px rgba(255,255,255,.16) inset, 0 1px 0 rgba(255,255,255,.25) inset, 0 40px 80px -40px rgba(5,10,30,.8); }
.pessoa-topo { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; }

/* Inicial: letra GIGANTE em metal no canto do cartão, cortada pela borda (marca d'água).
   O brilho prata atravessa devagar e corre mais rápido no hover. */
.pessoa-letra { position: absolute; right: 0.04em; top: -0.3em; font: 800 clamp(220px, 24vw, 320px)/1 var(--t-titulo); letter-spacing: -0.06em;
  background: linear-gradient(100deg, rgba(255,255,255,.1) 0%, rgba(255,255,255,.1) 40%, rgba(255,255,255,.3) 50%, rgba(255,255,255,.1) 60%, rgba(255,255,255,.1) 100%);
  background-size: 300% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent;
  pointer-events: none; user-select: none; }
@media (prefers-reduced-motion: no-preference) {
  .pessoa-letra { animation: brilho-letra 7s ease-in-out infinite; }
  .pessoa-dir .pessoa-letra { animation-delay: -3.5s; }
  .pessoa:hover .pessoa-letra { animation-duration: 2.4s; }
}
@keyframes brilho-letra { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
@keyframes orbita { to { transform: rotate(360deg); } }
.pessoa-topo { justify-content: flex-end; margin-bottom: 8px; position: relative; }
.pessoa > *:not(.pessoa-letra) { position: relative; }

.pessoa h3 { font-size: clamp(32px, 3.4vw, 42px); font-weight: 700; letter-spacing: -0.03em; }
.pessoa-papel { font: 600 13px/1.3 var(--t-texto); letter-spacing: .12em; text-transform: uppercase; color: #C9D2FF; margin: 8px 0 14px; }
.pessoa-bio { color: #D5DCEE; font-size: 16.5px; line-height: 1.55; max-width: 44ch; }
.poderes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.poderes li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #fff; padding: 9px 12px; border-radius: 10px;
  background: rgba(255,255,255,.08); box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset; }
.poderes svg { width: 16px; height: 16px; flex: none; fill: none; stroke: #C9D2FF; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pessoa-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #fff; text-decoration: none; padding: 8px 12px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255,255,255,.2) inset; transition: background-color .25s; }
.pessoa-link:hover { background: rgba(255,255,255,.1); }
.pessoa-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--encaixe); }
.pessoa-link:hover svg { transform: translate(2px, -2px); }
.pessoa.luz { --luz-cor: rgba(255,255,255,.9); }

/* Números reais embaixo dos cartões */
.equipe-numeros { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1080px; margin: clamp(48px, 6vw, 72px) auto 0;
  border-top: 1px solid rgba(255,255,255,.16); }
.equipe-numeros li { padding: 28px 24px 0; display: flex; align-items: baseline; gap: 14px; }
.equipe-numeros li + li { border-left: 1px solid rgba(255,255,255,.16); }
.equipe-numeros strong { font: 800 clamp(44px, 5vw, 64px)/1 var(--t-titulo); letter-spacing: -0.04em; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.equipe-numeros span { color: #C6CFE8; font-size: 15px; line-height: 1.4; }

.anima .pessoa-esq { opacity: 0; transform: translateX(-24px); }
.anima .pessoa-dir { opacity: 0; transform: translateX(24px); }
.anima .pessoas-elo { opacity: 0; scale: .4; }
.anima .pessoa .poderes li { opacity: 0; transform: translateY(8px); }

@media (max-width: 900px) {
  .pessoas { grid-template-columns: 1fr; max-width: 580px; }
  .pessoas-elo { position: relative; left: auto; top: auto; translate: none; margin: -10px auto; }
  .equipe-numeros { grid-template-columns: 1fr; max-width: 580px; }
  .equipe-numeros li + li { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .equipe-numeros li { padding: 20px 0; }
}

/* Qualidade: número do portão, título e a ferramenta usada (em mono, discreta) */
.q-item { position: relative; display: flex; flex-direction: column; }
.q-n { font: 600 13px/1 var(--t-mono); color: var(--azul-claro); margin-bottom: 18px; letter-spacing: .06em; }
.q-n::after { content: ""; display: inline-block; width: 28px; height: 1px; margin-left: 10px; vertical-align: middle; background: var(--fio-escuro); }
.q-ferramenta { margin-top: auto; padding-top: 18px; font: 500 12.5px/1.3 var(--t-mono); color: var(--prata); }

.pessoa .pessoa-link { margin-top: 22px; }
.pessoa h3 { padding-top: clamp(40px, 5vw, 64px); }
.codigo .ok { color: #7FD3A6; font-weight: 600; }

/* ---------- Rodapé institucional em colunas ---------- */
.rodape { padding-top: clamp(56px, 7vw, 80px); }
.rodape-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; align-items: start; }
.rodape-marca p { margin-top: 16px; max-width: 34ch; color: var(--bruma-leve); line-height: 1.55; }
.rodape-col { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.rodape-titulo { font: 600 12px/1 var(--t-texto); letter-spacing: .12em; text-transform: uppercase; color: var(--bruma); margin-bottom: 6px; }
.rodape-base { margin-top: 48px; }
.rodape-base p { padding-top: 20px; border-top: 1px solid var(--fio-escuro); color: var(--prata); }
@media (max-width: 860px) { .rodape-in { grid-template-columns: 1fr 1fr; } .rodape-marca { grid-column: 1 / -1; } }
@media (max-width: 480px) { .rodape-in { grid-template-columns: 1fr; } }

/* ---------- Detalhes de acabamento ---------- */
::selection { background: rgba(36,56,166,.85); color: #fff; }
section[id] { scroll-margin-top: 72px; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.equipe-numeros strong, .etapa-n, .q-n { font-variant-numeric: tabular-nums; }
.projeto-cadeado { color: var(--tinta-leve); }
article.projeto:hover { transform: none; }
.projeto-destaque .projeto-ic { width: 88px; height: 88px; border-radius: 0; background: none; box-shadow: none; }
.projeto-destaque .projeto-ic svg { width: 80px; height: 80px; }
.projeto-estado.projeto-pronto { color: var(--azul); background: rgba(36,56,166,.08); }

/* =========================================================================
   2b. OPERAÇÃO: fluxograma de um ERP com uma luz que percorre as etapas
   ========================================================================= */
.operacao { padding: clamp(88px, 12vw, 150px) 0; background: var(--branco); border-bottom: 1px solid var(--fio-claro); }
.operacao-cabeca { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: end; margin-bottom: clamp(56px, 7vw, 88px); }
.operacao-cabeca h2 { margin-bottom: 0; }
.fluxo { --dur: 8s; position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.fluxo-trilho { position: absolute; left: calc(100% / 14); right: calc(100% / 14); top: 42px; height: 2px; }
.fluxo-linha { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36,56,166,.15), rgba(36,56,166,.35), rgba(36,56,166,.15)); border-radius: 2px; transform-origin: 0 50%; }
.fluxo-luz { position: absolute; top: 50%; left: 0; width: 56px; height: 2px; translate: -50% -50%; background: linear-gradient(90deg, transparent, var(--azul), transparent); opacity: 0; }
.no { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.no-n { font: 500 12px/1 var(--t-mono); color: var(--tinta-leve); height: 22px; }
.no-ponto { width: 16px; height: 16px; margin: 4px 0 14px; border-radius: 50%; background: var(--branco); box-shadow: 0 0 0 2px rgba(36,56,166,.35) inset; position: relative; z-index: 1; }
.no strong { font: 650 17px/1.2 var(--t-titulo); color: var(--tinta); }
.no-desc { font-size: 13.5px; line-height: 1.35; color: var(--tinta-leve); max-width: 14ch; }
.operacao-nota { margin-top: clamp(48px, 6vw, 72px); padding-top: 24px; border-top: 1px solid var(--fio-claro); color: var(--tinta-leve); font-size: 17px; max-width: 70ch; }
.operacao-nota strong { color: var(--tinta); font-weight: 600; }

@media (prefers-reduced-motion: no-preference) {
  /* A luz anda pela linha em 6/8 do tempo e descansa no fim; cada etapa acende quando ela passa */
  .anima .fluxo.ativo .fluxo-luz { animation: luz-anda var(--dur) linear infinite; }
  .anima .fluxo.ativo .no-ponto { animation: no-acende var(--dur) ease-out infinite; animation-delay: calc(var(--i) * var(--dur) * 0.75 / 6); }
  .anima .fluxo.ativo .no strong { animation: no-texto var(--dur) ease-out infinite; animation-delay: calc(var(--i) * var(--dur) * 0.75 / 6); }
}
@keyframes luz-anda { 0% { left: 0; opacity: 0; } 4% { opacity: 1; } 75% { left: 100%; opacity: 1; } 80%, 100% { left: 100%; opacity: 0; } }
@keyframes no-acende { 0% { background: var(--azul); box-shadow: 0 0 0 2px var(--azul) inset, 0 0 0 6px rgba(36,56,166,.12); } 18% { background: var(--branco); box-shadow: 0 0 0 2px rgba(36,56,166,.35) inset, 0 0 0 0 rgba(36,56,166,0); } 100% { background: var(--branco); } }
@keyframes no-texto { 0% { color: var(--azul); } 18%, 100% { color: var(--tinta); } }
.anima .fluxo .no { opacity: 0; transform: translateY(12px); }
.anima .fluxo-linha { transform: scaleX(0); }

@media (max-width: 960px) {
  .operacao-cabeca { grid-template-columns: 1fr; align-items: start; }
  .fluxo { grid-template-columns: 1fr; gap: 0; padding-left: 8px; }
  .fluxo-trilho { left: 15px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; }
  .fluxo-linha { transform-origin: 50% 0; background: linear-gradient(180deg, rgba(36,56,166,.15), rgba(36,56,166,.35), rgba(36,56,166,.15)); }
  .fluxo-luz { left: 50% !important; top: 0; width: 2px; height: 56px; background: linear-gradient(180deg, transparent, var(--azul), transparent); }
  @keyframes luz-anda { 0% { top: 0; opacity: 0; } 4% { opacity: 1; } 75% { top: 100%; opacity: 1; } 80%, 100% { top: 100%; opacity: 0; } }
  .no { display: grid; grid-template-columns: 16px 1fr; grid-template-rows: auto auto; column-gap: 16px; text-align: left; align-items: center; padding: 10px 0; }
  .no-n { display: none; }
  .no-ponto { grid-row: 1 / 3; margin: 0; }
  .no-desc { max-width: none; }
  .anima .fluxo-linha { transform: scaleY(0); }
}
/* Etiquetas extras (tecnologias) sem ícone: um tom abaixo das especialidades */
.poderes li.sem-ic { font-weight: 500; color: #D5DCEE; background: rgba(255,255,255,.04); font-family: var(--t-mono); font-size: 13px; }
