/* ==========================================================================
   Órbita IX — Stylesheet
   ========================================================================== */

:root {
  /* Tema claro profissional */
  --ink: #f4f5f7;
  --deep: #eceef2;
  --surface: #ffffff;
  --glass: rgba(201, 168, 76, 0.07);
  --gold: #c9a84c;
  --gold-l: #e8c97a;
  --gold-d: rgba(201, 168, 76, 0.12);
  --blue: #1a4a80;
  --blue-b: #2a6aad;
  --nine: #b8920a;
  --text: #0d1526;
  --muted: #6b7585;
  --border: rgba(0, 0, 0, 0.09);
  --r: 12px;
  --fd: 'Cormorant Garamond', serif;
  --fb: 'DM Sans', sans-serif;
  --fm: 'DM Mono', monospace;
  color-scheme: light;
}

/* ── ESCOPO DARK: hero, cta, footer ── */
#hero {
  background: #f5f8fc;
  --ink: #f5f8fc; --deep: #e9eef6; --surface: #ffffff;
  --glass: rgba(26, 74, 128, 0.055);
  --nine: #b8920a; --text: #0d1526; --muted: #5f6b7c;
  --border: rgba(13, 21, 38, 0.1); --gold-d: rgba(201, 168, 76, 0.12);
}
#cta {
  background: #0d1526;
  --ink: #0d1526; --surface: #111d35;
  --glass: rgba(255, 255, 255, 0.04);
  --nine: #e8c97a; --text: #e8eaf0; --muted: #8892a4;
  --border: rgba(201, 168, 76, 0.14);
}
footer {
  background: #060912;
  --surface: #111d35; --nine: #e8c97a;
  --text: #e8eaf0; --muted: #8892a4;
  --border: rgba(201, 168, 76, 0.14);
}

/* Nav sobre hero (fundo escuro) → texto claro */
nav:not(.scrolled) {
  --text: #0d1526; --muted: #5f6b7c; --nine: #b8920a;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--ink); color: var(--text); font-family: var(--fb); font-weight: 300; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body.preview-lock { overflow: hidden; }
img, svg { max-width: 100%; display: block; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }
::selection { background: rgba(201, 168, 76, 0.25); color: #0d1526; }

a { text-decoration: none; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: #080c14; padding: 10px 16px; z-index: 200; font-weight: 500; }
.skip-link:focus { left: 16px; top: 16px; }

/* ── IX MARK ── */
.nine {
  font-family: var(--fd);
  font-style: italic;
  color: var(--nine);
  font-weight: 600;
  letter-spacing: -.02em;
  position: relative;
  display: inline-block;
}
.nine::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
}

/* ── LOGO IX STYLE ── */
.logo-nine {
  font-family: var(--fd);
  font-style: italic;
  font-size: 34px;
  font-weight: 700;
  color: var(--nine);
  letter-spacing: .02em;
  margin-left: 6px;
  line-height: 1;
  text-shadow: 0 0 18px rgba(201, 168, 76, 0.12);
}

/* UTILS */
.container { max-width: 1320px; margin: 0 auto; padding: 0 40px; }
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--fm); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold);
  border: 1px solid var(--border); border-radius: 100px;
  padding: 7px 18px; margin-bottom: 24px;
}
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.btn-p {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: #080c14;
  font-family: var(--fb); font-weight: 500; font-size: 13px; letter-spacing: .02em;
  min-height: 50px; padding: 0 24px; border-radius: 8px; border: 1px solid transparent; cursor: pointer; transition: all .3s;
}
.btn-p:hover { background: var(--gold-l); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(201, 168, 76, .28); }
.btn-g {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--text);
  font-family: var(--fb); font-weight: 400; font-size: 13px;
  min-height: 50px; padding: 0 24px; border-radius: 8px; border: 1px solid var(--border); cursor: pointer; transition: all .3s;
}
.btn-g:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 8px 0; transition: background .4s, border-color .4s;
}
nav.scrolled {
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1500px; margin: 0 auto; padding: 0 44px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo svg { width: 66px !important; height: 66px !important; flex-shrink: 0; min-width: 66px; min-height: 66px; }
nav.scrolled .logo svg { width: 66px !important; height: 66px !important; }
.logo-wordmark { display: flex; align-items: baseline; gap: 1px; }
.logo-orbita {
  font-family: var(--fd); font-size: 29px; font-weight: 600;
  letter-spacing: .04em; color: var(--text); line-height: 0.95;
  text-transform: uppercase;
}
.logo-sub {
  font-family: var(--fm); font-size: 9px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin-top: 6px;
  opacity: 0.92;
}
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--text); transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(8, 12, 20, .97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 168, 76, .14);
  padding: 24px 32px 28px;
  flex-direction: column;
  gap: 0;
}
.nav-drawer.open { display: flex; }
.nav-drawer .nav-links {
  display: flex !important; flex-direction: column; gap: 0; list-style: none;
}
.nav-drawer .nav-links a {
  display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 15px; color: rgba(232, 234, 240, .8);
}
.nav-drawer .nav-links a:hover { color: var(--gold-l); }
.nav-drawer .nav-cta { margin-top: 22px; }
.nav-drawer .nav-cta .btn-p { width: 100%; justify-content: center; }

/* Active nav link */
.nav-links a.active { color: var(--gold) !important; }

/* ── HERO ── */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding: 126px 0 54px;
}
#hero .container { max-width: 1500px; padding: 0 44px; }
#hero-canvas { position: absolute; inset: 0; z-index: 0; }
.hero-bg {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 52% 72% at 78% 34%, rgba(42, 106, 173, .07) 0%, transparent 70%),
    radial-gradient(ellipse 38% 55% at 16% 78%, rgba(201, 168, 76, .07) 0%, transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.78) 0%, rgba(233, 238, 246, .92) 100%);
}
.hero-layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(560px, .95fr) minmax(520px, .82fr); gap: 70px; align-items: center; }
.hero-content { position: relative; z-index: 2; max-width: 790px; }
.hero-ey {
  font-family: var(--fm); font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 30px; line-height: 1.4;
}

.hero-nine-bg {
  position: absolute;
  top: -40px; right: -70px;
  font-family: var(--fd); font-style: italic; font-weight: 300;
  font-size: clamp(110px, 18vw, 260px);
  letter-spacing: .08em;
  color: rgba(26, 74, 128, 0.04);
  line-height: 1; pointer-events: none; user-select: none;
  z-index: 1;
  transform: rotate(-6deg);
}

.hero-h1 {
  font-family: var(--fb); font-size: clamp(42px, 4.05vw, 64px);
  font-weight: 400; line-height: 1.12; letter-spacing: -.02em;
  color: #0d1526; margin-bottom: 26px; position: relative; z-index: 2;
}
.hero-h1 em { font-style: italic; font-weight: 400; color: var(--gold); }
.hero-sub {
  font-size: 18px; font-weight: 400; color: #506073;
  max-width: 640px; line-height: 1.7; margin-bottom: 32px;
}
.hero-acts { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-acts .btn-p, .hero-acts .btn-g { min-width: 230px; justify-content: center; text-align: center; }
.hero-microcopy {
  margin-top: 14px; margin-bottom: 0;
  font-family: var(--fm); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.hero-microcopy span { color: var(--gold); margin: 0 6px; }

/* Trust row — logos de clientes em escala de cinza */
.hero-trust {
  margin-top: 38px; padding-top: 26px;
  border-top: 1px solid rgba(13, 21, 38, .08);
  display: flex; flex-direction: column; gap: 16px;
}
.hero-trust-label {
  font-family: var(--fm); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
}
.hero-trust-logos {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 36px;
}
.hero-trust-logos img {
  height: 38px; width: auto; max-width: 160px;
  object-fit: contain;
  filter: grayscale(1) contrast(.92);
  opacity: .55;
  transition: filter .25s ease, opacity .25s ease;
}
.hero-trust-logos img:hover { filter: grayscale(0); opacity: 1; }

/* Conteúdo placeholder do trust-row (mesma moldura, conteúdo livre) */
.hero-trust-content {
  font-family: var(--fd); font-style: italic; font-weight: 300;
  font-size: 18px; color: #506073; line-height: 1.6;
}

/* ── LOGO NAV: 3 Ls → arcos orbitais (loop) ──
   Ciclo 16s:
     0-6%    Ls aparecem (fade in) enquanto arcos ainda somem (overlap)
     6-22%   Ls visíveis, afastados (hold)
     22-58%  Ls convergem lentamente
     58-70%  cross-fade: Ls→arcos
     70-87%  logo orbital completo + girar
     87-100% arcos somem DEVAGAR, Ls começam a reaparecer (overlap)
*/
.nl-arc { opacity: 1; }
.nl-l   { opacity: 0; display: none; }
#nav-logo circle { opacity: 1; }

@media (prefers-reduced-motion: no-preference) {
  #nav-logo-group .nl-arc { opacity: 0; animation: nl-arc 16s ease-in-out infinite; }
  #nav-logo circle        { opacity: 0; animation: nl-dot 16s ease-in-out infinite; }
  .nl-l  { display: block; }
  .nl-l1 { animation: nl-l1 16s ease-in-out infinite; }
  .nl-l2 { animation: nl-l2 16s ease-in-out infinite; }
  .nl-l3 { animation: nl-l3 16s ease-in-out infinite; }

  @keyframes nl-arc {
    0%,56%   { opacity: 0; }
    66%,85%  { opacity: 1; }
    100%     { opacity: 0; }
  }
  @keyframes nl-dot {
    0%,62%   { opacity: 0; }
    70%,85%  { opacity: 1; }
    100%     { opacity: 0; }
  }
  /* L1 — canto superior-direito */
  @keyframes nl-l1 {
    0%,4%    { d: path("M 70 20 L 118 20 L 118 83"); opacity: 0; }
    10%,22%  { d: path("M 70 20 L 118 20 L 118 83"); opacity: 1; }
    57%      { d: path("M 70 32 L 106 32 L 106 83");  opacity: 1; }
    66%,88%  { d: path("M 70 32 L 106 32 L 106 83");  opacity: 0; }
    96%      { d: path("M 70 20 L 118 20 L 118 83"); opacity: 0; }
    100%     { d: path("M 70 20 L 118 20 L 118 83"); opacity: 0; }
  }
  /* L2 — canto inferior */
  @keyframes nl-l2 {
    0%,4%    { d: path("M 103 101 L 103 119 L 41 119"); opacity: 0; }
    10%,22%  { d: path("M 103 101 L 103 119 L 41 119"); opacity: 1; }
    57%      { d: path("M 103 89  L 103 107 L 41 107");  opacity: 1; }
    66%,88%  { d: path("M 103 89  L 103 107 L 41 107");  opacity: 0; }
    96%      { d: path("M 103 101 L 103 119 L 41 119"); opacity: 0; }
    100%     { d: path("M 103 101 L 103 119 L 41 119"); opacity: 0; }
  }
  /* L3 — canto superior-esquerdo */
  @keyframes nl-l3 {
    0%,4%    { d: path("M 37 89 L 25 20 L 51 20"); opacity: 0; }
    10%,22%  { d: path("M 37 89 L 25 20 L 51 20"); opacity: 1; }
    57%      { d: path("M 37 89 L 37 32 L 63 32"); opacity: 1; }
    66%,88%  { d: path("M 37 89 L 37 32 L 63 32"); opacity: 0; }
    96%      { d: path("M 37 89 L 25 20 L 51 20"); opacity: 0; }
    100%     { d: path("M 37 89 L 25 20 L 51 20"); opacity: 0; }
  }
}

.hero-board {
  position: relative;
  width: 100%;
  background: #0d1526;
  border: 1px solid rgba(201, 168, 76, .2);
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 40px 90px rgba(13, 21, 38, .45), 0 0 0 1px rgba(255,255,255,.06);
  overflow: hidden;
}
.hero-board::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: 2;
  background:
    linear-gradient(135deg, rgba(255,255,255,.16), transparent 30%),
    linear-gradient(315deg, rgba(201,168,76,.16), transparent 28%);
  pointer-events: none;
}
.board-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  background: rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.board-chrome span {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  flex-shrink: 0;
}
.board-chrome span:nth-child(1) { background: #ff5f57; }
.board-chrome span:nth-child(2) { background: #febc2e; }
.board-chrome span:nth-child(3) { background: #28c840; }
.board-chrome-title {
  flex: 1;
  text-align: center;
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .08em;
  color: rgba(232,234,240,.45);
  margin-right: 46px;
}

/* Moldura editorial (substitui o chrome macOS no hero) */
.board-editorial { box-shadow: 0 28px 70px rgba(13, 21, 38, .32), 0 0 0 1px rgba(255,255,255,.05); }
.board-editorial .board-caption {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid rgba(201, 168, 76, .35);
}
.board-caption-fig {
  font-family: var(--fm); font-size: 10px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold);
}
.board-caption-text {
  font-family: var(--fm); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(232,234,240,.55);
}
.board-caption-sep { color: var(--gold); margin: 0 4px; }
.board-preview-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top left;
}
.hero-board[data-preview-open],
.app-stage[data-preview-open] {
  cursor: zoom-in;
}
.hero-board[data-preview-open]::after,
.app-stage[data-preview-open]::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg, transparent 58%, rgba(13,21,38,.32));
  opacity: 0;
  transition: opacity .24s ease;
  pointer-events: none;
}
.hero-board[data-preview-open]:hover,
.hero-board[data-preview-open]:focus-visible,
.app-stage[data-preview-open]:hover,
.app-stage[data-preview-open]:focus-visible {
  transform: translateY(-3px);
}
.hero-board,
.app-stage {
  transition: transform .24s ease, box-shadow .24s ease;
}
.preview-cue {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(13,21,38,.82);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 14px 34px rgba(13,21,38,.2);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .24s ease, transform .24s ease;
  pointer-events: none;
}
.preview-cue::before {
  content: '+';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--gold);
  color: #0d1526;
  font-family: var(--fm);
  font-size: 14px;
  line-height: 1;
}
.hero-board[data-preview-open]:hover::after,
.hero-board[data-preview-open]:focus-visible::after,
.app-stage[data-preview-open]:hover::after,
.app-stage[data-preview-open]:focus-visible::after,
.hero-board[data-preview-open]:hover .preview-cue,
.hero-board[data-preview-open]:focus-visible .preview-cue,
.app-stage[data-preview-open]:hover .preview-cue,
.app-stage[data-preview-open]:focus-visible .preview-cue {
  opacity: 1;
  transform: translateY(0);
}

/* Capacidades — linha editorial (substitui hero-solution-bar) */
.hero-caps {
  position: relative; z-index: 2;
  margin-top: 56px; padding-top: 28px;
  border-top: 1px solid rgba(13, 21, 38, .1);
  display: flex; flex-wrap: wrap; align-items: center; gap: 28px;
}
.hero-caps-label {
  font-family: var(--fm); font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted);
}
.hero-caps-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 14px 28px;
}
.hero-caps-list li {
  font-family: var(--fd); font-style: italic; font-weight: 400;
  font-size: 22px; color: #0d1526; line-height: 1.2;
  position: relative; padding-right: 28px;
}
.hero-caps-list li + li::before {
  content: ''; position: absolute; left: -14px; top: 50%;
  width: 1px; height: 18px; transform: translateY(-50%);
  background: rgba(201, 168, 76, .45);
}
.hero-caps-list li:last-child { padding-right: 0; }

.hero-cred {
  position: relative; z-index: 2;
  margin: 22px 0 0;
  font-family: var(--fm); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.hero-cred span { color: var(--gold); margin: 0 6px; }

/* ── SECTIONS ── */
section { padding: 96px 0; }
.sec-hd { margin-bottom: 60px; }
.sec-hd h2 { font-family: var(--fd); font-size: clamp(30px, 4vw, 52px); font-weight: 300; line-height: 1.1; color: var(--text); }
.sec-hd h2 em { font-style: italic; color: var(--gold); }
.sec-hd p { font-size: 16px; color: var(--muted); max-width: 560px; margin-top: 16px; line-height: 1.75; }

/* ── CLIENTES ── */
#clientes {
  background: #fff;
  padding: 96px 0;
  border-top: 1px solid rgba(13, 21, 38, 0.08);
  border-bottom: 1px solid rgba(13, 21, 38, 0.08);
  position: relative;
  overflow: hidden;
}
#clientes::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, .35), transparent);
}
.clientes-hd {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}
.clientes-hd h2 {
  font-family: var(--fd);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 300;
  line-height: 1.14;
  color: var(--text);
  margin-bottom: 16px;
}
.clientes-hd h2 em { font-style: italic; color: var(--gold); }
.clientes-hd p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
.clientes-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cliente-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  background: #f7f9fc;
  border: 1px solid rgba(13, 21, 38, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s, transform .3s;
  box-shadow: 0 8px 32px rgba(13, 21, 38, 0.05);
}
.cliente-card:hover {
  border-color: rgba(201, 168, 76, .32);
  box-shadow: 0 20px 56px rgba(13, 21, 38, 0.10);
  transform: translateY(-4px);
}
.cliente-card-logo {
  width: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 48px;
  background: #ffffff;
}
.cliente-card-logo img {
  max-width: 100%;
  max-height: 90px;
  object-fit: contain;
  filter: saturate(.9);
  transition: filter .3s;
}
.cliente-card:hover .cliente-card-logo img { filter: saturate(1); }
.cliente-card-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 22px 16px;
  border-top: 1px solid rgba(13, 21, 38, 0.07);
  background: rgba(13, 21, 38, 0.02);
}
.cliente-setor {
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
  opacity: .75;
  min-width: 0;
}
.cliente-cidade {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .8;
  white-space: nowrap;
  flex-shrink: 0;
}
.cliente-card--nda .cliente-card-logo { background: var(--deep); }
.nda-content {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; width: 100%; height: 100%; color: var(--muted);
}
.nda-content svg { opacity: 0.35; }
.nda-content span {
  font-family: var(--fm); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted); opacity: 0.7;
}

/* ── ORIGEM ── */
#origem { background: var(--ink); position: relative; overflow: hidden; padding: 80px 0; }
.origem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.origem-como { padding-top: 8px; }
.origem-lista { list-style: none; display: flex; flex-direction: column; gap: 0; }
.origem-lista li { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.origem-lista li:last-child { border-bottom: none; }
.origem-lista-n { font-family: var(--fm); font-size: 11px; letter-spacing: .14em; color: rgba(201,168,76,.6); flex-shrink: 0; padding-top: 3px; }
.origem-lista strong { font-size: 15px; font-weight: 500; color: var(--text); display: block; margin-bottom: 6px; }
.origem-lista p { font-size: 13px; color: var(--muted); line-height: 1.7; margin: 0; }
.origem-dif {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  background: var(--surface);
  transition: background .3s;
}
.origem-dif:hover { background: var(--deep); }
.origem-dif span {
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--gold);
  opacity: .7;
  flex-shrink: 0;
}
.origem-dif strong {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}
.origem-text { position: relative; z-index: 2; }
.origem-text h2 { font-family: var(--fd); font-size: clamp(28px, 3.5vw, 46px); font-weight: 300; line-height: 1.15; color: var(--text); margin-bottom: 24px; }
.origem-text h2 em { font-style: italic; color: var(--gold); }
.origem-text p { font-size: 15px; color: var(--text); line-height: 1.8; margin-bottom: 18px; }
.origem-text p strong { color: var(--text); font-weight: 500; }
.origem-destaque { font-size: 15px; color: var(--muted); font-weight: 400; line-height: 1.8; margin-bottom: 18px; }

/* ── PROBLEMA ── */
#problema { background: var(--deep); position: relative; }
#problema::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.prob-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.prob-text h2 { font-family: var(--fd); font-size: clamp(28px, 3.5vw, 44px); font-weight: 300; line-height: 1.15; margin-bottom: 24px; color: var(--text); }
.prob-text h2 em { font-style: italic; color: var(--gold); }
.prob-text p { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 18px; }
.prob-text p strong { color: var(--text); font-weight: 500; }
.prob-cards { display: flex; flex-direction: column; gap: 12px; }
.prob-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 22px 24px; display: flex; align-items: flex-start; gap: 16px; transition: border-color .3s; }
.prob-card:hover { border-color: rgba(201, 168, 76, .35); }
.prob-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--gold-d); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.prob-card h4 { font-size: 14px; font-weight: 500; color: var(--text); margin-bottom: 4px; }
.prob-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── PACOTES ── */
#oferta { background: var(--ink); }
.oferta-intro { max-width: 680px; margin-bottom: 52px; }
.oferta-intro p { font-size: 16px; color: var(--muted); line-height: 1.8; margin-bottom: 14px; }
.oferta-intro p strong { color: var(--text); font-weight: 500; }

.pacotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.pacote { background: var(--surface); padding: 36px 32px; position: relative; overflow: hidden; }
.pacote::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--gold), var(--blue-b)); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.pacote:hover::before { transform: scaleX(1); }
.pacote-num { font-family: var(--fm); font-size: 13px; color: rgba(201, 168, 76, .6); letter-spacing: .12em; margin-bottom: 14px; display: block; border-bottom: 1px solid var(--border); padding-bottom: 12px; }
.pacote h3 { font-family: var(--fb); font-size: 17px; font-weight: 500; color: var(--text); margin-bottom: 8px; letter-spacing: -.01em; }
.pacote .prazo { font-family: var(--fm); font-size: 11px; color: var(--gold); letter-spacing: .1em; margin-bottom: 14px; }
.pacote > p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.pacote ul { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.pacote ul li { font-size: 13px; color: var(--muted); display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
.pacote ul li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); flex-shrink: 0; margin-top: 7px; }
.pacote.is-featured { background: linear-gradient(180deg, rgba(201,168,76,.05), var(--surface) 60%); }
.pacote.is-featured::before { transform: scaleX(1); }
.pacote-badge { position: absolute; top: 16px; right: 16px; font-family: var(--fm); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--gold); padding: 4px 9px; border-radius: 3px; font-weight: 500; }

/* ── PROTHEUS ── */
#protheus { background: #0d1526; color: #fff; overflow: hidden; }
#protheus .tag { color: var(--gold-l); border-color: rgba(201,168,76,.28); }
.protheus-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.protheus-layout h2 { font-family: var(--fd); font-size: clamp(34px, 5vw, 60px); font-weight: 300; line-height: 1.05; margin-bottom: 20px; }
.protheus-layout h2 em { color: var(--gold-l); font-style: italic; }
.protheus-layout p { color: rgba(232,234,240,.78); font-size: 16px; line-height: 1.8; margin-bottom: 28px; max-width: 560px; }
.protheus-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.protheus-cards article { background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.11); border-radius: 12px; padding: 24px; }
.protheus-cards span { display: inline-block; font-family: var(--fm); font-size: 11px; letter-spacing: .14em; color: var(--gold-l); margin-bottom: 16px; }
.protheus-cards strong { display: block; font-size: 16px; margin-bottom: 8px; color: #fff; }
.protheus-cards p { font-size: 13px; line-height: 1.65; margin: 0; color: rgba(232,234,240,.72); }

/* ── COMO FUNCIONA ── */
#sistemas-web { background: linear-gradient(180deg, var(--ink) 0%, #ffffff 100%); overflow: hidden; }
.showcase-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; margin-bottom: 34px; }
.showcase-head h2 { font-family: var(--fd); font-size: clamp(28px, 3.6vw, 48px); font-weight: 300; line-height: 1.08; letter-spacing: 0; color: var(--text); }
.showcase-head h2 em { font-style: italic; color: var(--gold); }
.showcase-head p { color: var(--muted); font-size: 17px; line-height: 1.85; border-left: 2px solid rgba(201, 168, 76, .5); padding-left: 22px; }
.app-showcase { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: stretch; }
.app-stage { position: relative; min-height: 600px; background: #eef3fa; border: 1px solid rgba(13, 21, 38, .1); border-radius: 16px; overflow: hidden; box-shadow: 0 34px 70px rgba(13, 21, 38, .14); }
.app-stage::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(13,21,38,.08)); pointer-events: none; z-index: 2; }
.app-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; opacity: 0; transform: scale(1.012); transition: opacity .38s ease, transform .45s ease; }
.app-shot.is-active { opacity: 1; transform: scale(1); }
.app-panel { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 28px; background: #0d1526; color: #fff; border-radius: 16px; border: 1px solid rgba(201, 168, 76, .2); box-shadow: 0 24px 54px rgba(13, 21, 38, .16); }
.app-count { display: inline-block; font-family: var(--fm); font-size: 11px; letter-spacing: .16em; color: var(--gold-l); margin-bottom: 18px; }
.app-copy h3 { font-size: 27px; line-height: 1.1; font-weight: 600; letter-spacing: 0; margin-bottom: 14px; }
.app-copy p { color: rgba(232, 234, 240, .78); font-size: 14px; line-height: 1.75; }
.app-controls { display: flex; gap: 10px; }
.app-nav { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; transition: all .2s; }
.app-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.app-nav:hover { background: var(--gold); color: #080c14; transform: translateY(-2px); }
.app-thumbs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.app-thumb { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 14px; padding: 10px; min-height: 78px; text-align: left; background: #fff; border: 1px solid rgba(13, 21, 38, .08); border-radius: 12px; color: var(--text); cursor: pointer; box-shadow: 0 12px 28px rgba(13, 21, 38, .04); transition: border-color .2s, transform .2s, box-shadow .2s; }
.app-thumb:hover,
.app-thumb.is-active { border-color: rgba(201, 168, 76, .65); transform: translateY(-2px); box-shadow: 0 18px 36px rgba(13, 21, 38, .08); }
.app-thumb img { width: 92px; height: 52px; object-fit: cover; object-position: top left; border-radius: 8px; border: 1px solid rgba(13, 21, 38, .08); }
.app-thumb span { font-size: 13px; font-weight: 500; line-height: 1.2; }

#como { background: var(--deep); }
.passos-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 72px; align-items: start; }
.passos-intro-text { font-family: var(--fd); font-size: clamp(28px, 3.5vw, 44px); font-weight: 300; line-height: 1.15; color: var(--text); }
.passos-intro-text em { font-style: italic; color: var(--gold); }
.passos-intro-sub { font-size: 16px; color: var(--text); line-height: 1.8; margin-top: 16px; }
.passos-list { display: flex; flex-direction: column; }
.passo { display: flex; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.passo:last-child { border-bottom: none; }
.passo-n { font-family: var(--fd); font-size: 48px; font-weight: 300; color: var(--gold-d); line-height: 1; flex-shrink: 0; width: 52px; padding-top: 2px; transition: color .3s; }
.passo:hover .passo-n { color: var(--gold); }
.passo-body h3 { font-size: 16px; font-weight: 500; color: var(--text); margin-bottom: 8px; }
.passo-body p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.passo-tag { display: inline-block; font-family: var(--fm); font-size: 12px; letter-spacing: .12em; color: var(--gold); border: 1px solid var(--border); border-radius: 100px; padding: 4px 12px; margin-top: 10px; }

/* ── PROVAS ── */
#provas { background: var(--ink); }
.provas-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.prova-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 36px; transition: border-color .3s; position: relative; overflow: hidden; }
.prova-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); opacity: 0; transition: opacity .3s; }
.prova-card:hover { border-color: rgba(201, 168, 76, .3); }
.prova-card:hover::after { opacity: 1; }
.prova-setor { font-size: 15px; font-weight: 500; color: var(--text); line-height: 1.4; margin-bottom: 20px; }
.prova-antes { font-size: 13px; color: var(--muted); margin-bottom: 14px; display: flex; align-items: flex-start; gap: 10px; }
.prova-antes::before { content: 'Antes'; font-family: var(--fm); font-size: 11px; color: #c0392b; background: rgba(192, 57, 43, .1); border-radius: 4px; padding: 3px 9px; flex-shrink: 0; margin-top: 1px; }
.prova-depois { font-size: 14px; color: var(--text); display: flex; align-items: flex-start; gap: 10px; }
.prova-depois::before { content: 'Depois'; font-family: var(--fm); font-size: 11px; color: #27ae60; background: rgba(39, 174, 96, .1); border-radius: 4px; padding: 3px 9px; flex-shrink: 0; margin-top: 2px; }
.prova-ganho { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); font-family: var(--fm); font-size: 11px; letter-spacing: .12em; color: var(--gold); opacity: .85; }

/* ── DEPOIMENTOS ── */
#depoimentos { background: var(--deep); }
.dep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dep-card { background: rgba(255, 255, 255, 0.82); border-radius: 16px; padding: 36px; border: 1px solid rgba(13, 21, 38, 0.08); position: relative; overflow: hidden; box-shadow: 0 12px 34px rgba(13, 21, 38, 0.04); }
.dep-card::before { content: ''; position: absolute; top: 0; right: 0; width: 86px; height: 86px; background: radial-gradient(circle at top right, rgba(201, 168, 76, .12), transparent 70%); pointer-events: none; }
.dep-num { font-family: var(--fm); font-size: 13px; letter-spacing: .14em; color: rgba(201,168,76,.6); margin-bottom: 18px; }
.dep-text { font-size: 14px; color: #172133; line-height: 1.82; margin-bottom: 28px; }
.dep-benefit { padding-top: 18px; border-top: 1px solid rgba(13, 21, 38, 0.08); }
.dep-name { font-size: 15px; font-weight: 500; color: var(--text); }
.dep-role { font-size: 12px; color: var(--muted); margin-top: 3px; }

/* ── CONFIANÇA ── */
#confianca { background: var(--ink); }
.confianca-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.confianca-grid article { background: #fff; border: 1px solid rgba(13,21,38,.08); border-radius: 10px; padding: 26px; box-shadow: 0 12px 30px rgba(13,21,38,.035); }
.confianca-grid span { display: block; font-size: 15px; font-weight: 500; color: var(--text); margin-bottom: 8px; }
.confianca-grid p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ── SETORES ── */
#setores { background: var(--deep); }
.setores-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.setor {
  background: var(--surface); padding: 32px 28px;
  border-radius: 8px; border: 1px solid rgba(13,21,38,.07);
  position: relative; overflow: hidden;
}
.setor::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform .35s;
}
.setor:hover::before { transform: scaleY(1); }
.setor h4 { font-size: 15px; font-weight: 500; color: var(--text); margin-bottom: 10px; }
.setor p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 880px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden; transition: border-color .25s;
}
.faq-item[open] { border-color: rgba(201, 168, 76, .35); }
.faq-item summary {
  cursor: pointer; padding: 20px 24px;
  font-size: 15px; font-weight: 500; color: var(--text);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-family: var(--fd); font-size: 24px; color: var(--gold);
  flex-shrink: 0; transition: transform .25s; line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 24px 22px; font-size: 14px; color: var(--muted);
  line-height: 1.75;
}

/* ── CONTATO / FORM ── */
#contato { background: var(--deep); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.form-info h3 { font-family: var(--fd); font-size: 28px; font-weight: 300; color: var(--text); margin-bottom: 14px; }
.form-info h3 em { font-style: italic; color: var(--gold); }
.form-info p { font-size: 14px; color: var(--text); line-height: 1.8; margin-bottom: 22px; }
.form-info ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.form-info ul li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text); }
.form-info ul li span { color: var(--gold); font-family: var(--fm); font-size: 12px; }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 36px; }
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-row label { font-family: var(--fm); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.form-row input, .form-row textarea, .form-row select {
  background: var(--ink); border: 1px solid var(--border); border-radius: 8px;
  padding: 13px 14px; color: var(--text); font-family: var(--fb); font-size: 14px;
  transition: border-color .25s, background .25s; width: 100%;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none; border-color: var(--gold); background: #ffffff;
}
.form-row textarea { resize: vertical; min-height: 110px; font-family: var(--fb); }
.form-card .btn-p { width: 100%; justify-content: center; margin-top: 8px; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 14px; text-align: center; }
.form-note.success { color: #27ae60; font-weight: 500; }

/* Form validation */
.form-row input.invalid,
.form-row textarea.invalid,
.form-row select.invalid {
  border-color: #c0392b;
  background: rgba(192, 57, 43, .04);
}
.form-row .field-error {
  font-size: 11px; color: #c0392b; margin-top: 4px;
  font-family: var(--fm); letter-spacing: .04em;
  display: none;
}
.form-row input.invalid ~ .field-error,
.form-row textarea.invalid ~ .field-error,
.form-row select.invalid ~ .field-error { display: block; }

/* Submit loading state */
.btn-p[aria-busy="true"] {
  opacity: 0.7; cursor: not-allowed; pointer-events: none;
}
.btn-p[aria-busy="true"]::after {
  content: ''; display: inline-block;
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid rgba(8,12,20,.3);
  border-top-color: #080c14;
  animation: spin .6s linear infinite;
  margin-left: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── CTA ── */
#cta { background: var(--ink); padding: 120px 0; position: relative; overflow: hidden; }
.cta-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 100% at 50% 100%, rgba(42, 106, 173, .14) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(201, 168, 76, .04) 0%, transparent 60%);
}
.cta-nine-bg { position: absolute; bottom: -38px; right: -44px; font-family: var(--fm); font-style: normal; font-weight: 400; font-size: clamp(120px, 22vw, 300px); letter-spacing: .08em; color: rgba(201, 168, 76, .04); line-height: 1; pointer-events: none; user-select: none; transform: rotate(-5deg); }
.cta-in { position: relative; z-index: 1; text-align: center; max-width: 700px; margin: 0 auto; }
.cta-in h2 { font-family: var(--fd); font-size: clamp(34px, 5vw, 64px); font-weight: 300; line-height: 1.1; color: var(--text); margin-bottom: 22px; }
.cta-in h2 em { font-style: italic; color: var(--gold); }
.cta-in p { font-size: 16px; color: var(--text); max-width: 480px; margin: 0 auto 44px; line-height: 1.75; }
.cta-acts { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.cta-contacts { display: flex; justify-content: center; flex-wrap: wrap; gap: 32px; margin-top: 52px; padding-top: 36px; border-top: 1px solid var(--border); }
.contact-i { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); transition: color .2s; }
.contact-i:hover { color: var(--gold); }

/* ── WHATSAPP ASSISTANT ── */
.wa-assistant {
  position: fixed; bottom: 24px; right: 24px; z-index: 1000;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: inherit; background: transparent; border: 0; padding: 0; cursor: pointer;
  font-family: inherit;
}
.luiza-bubble {
  position: relative;
  display: grid; gap: 2px;
  min-width: 146px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid rgba(13, 21, 38, .1);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(13, 21, 38, .14);
  transform: none;
}
.luiza-bubble::after {
  content: '';
  position: absolute; left: 50%; bottom: -7px;
  width: 14px; height: 14px;
  background: #fff;
  border-right: 1px solid rgba(13, 21, 38, .1);
  border-bottom: 1px solid rgba(13, 21, 38, .1);
  transform: translateX(-50%) rotate(45deg);
}
.luiza-bubble strong { font-size: 13px; color: var(--text); line-height: 1.1; }
.luiza-bubble span { font-size: 12px; color: var(--muted); line-height: 1.2; }
.luiza-avatar {
  position: relative;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #fff;
  box-shadow: 0 8px 24px rgba(13, 21, 38, .24), 0 0 0 1px rgba(13, 21, 38, .12);
  overflow: hidden;
  flex-shrink: 0;
  transition: transform .25s;
}
.luiza-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 42%; }
.wa-float {
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  border: 3px solid #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
  transition: transform .25s, box-shadow .25s;
  flex-shrink: 0;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 12px 32px rgba(37, 211, 102, .55); }
.luiza-avatar:hover { transform: translateY(-2px); }
.luiza-bubble:hover + .luiza-avatar { transform: translateY(-2px); }
.wa-assistant.is-panel-open .luiza-bubble,
.wa-assistant.is-panel-open .luiza-avatar {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(.96);
}
.wa-float svg { width: 30px; height: 30px; }
.luiza-panel {
  position: fixed;
  right: 24px;
  bottom: 206px;
  width: min(430px, calc(100vw - 32px));
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(.98);
  transition: opacity .22s, transform .22s;
}
.luiza-panel.is-open { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.luiza-panel-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 230px);
  background: #fff;
  border: 1px solid rgba(13, 21, 38, .12);
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(13, 21, 38, .24);
}
.luiza-panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 18px 16px;
  background: #0d1526;
  color: #fff;
}
.luiza-panel-person { display: flex; align-items: center; gap: 12px; min-width: 0; }
.luiza-panel-person img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: 50% 42%; border: 2px solid #fff; flex-shrink: 0; }
.luiza-panel-person strong { display: block; font-size: 15px; line-height: 1.1; }
.luiza-panel-person span { display: block; margin-top: 3px; font-size: 12px; color: rgba(232, 234, 240, .74); line-height: 1.3; }
.luiza-close {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.luiza-faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 16px;
}
.luiza-faq .faq-item { border-radius: 10px; }
.luiza-faq .faq-item[open] { display: flex; flex-direction: column; max-height: 154px; }
.luiza-faq .faq-item summary { min-height: 46px; padding: 10px 16px; font-size: 13px; line-height: 1.25; align-items: center; }
.luiza-faq .faq-item p { margin: 0 6px 12px 0; padding: 0 10px 0 16px; font-size: 13px; line-height: 1.65; overflow-y: auto; }

/* ── FOOTER ── */
footer { background: #060912; padding: 60px 0 32px; border-top: 1px solid var(--border); }
.ft-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.ft-brand p { font-size: 13px; color: var(--muted); line-height: 1.7; margin-top: 16px; max-width: 280px; }
.ft-social { display: flex; gap: 12px; margin-top: 24px; }
.soc-btn { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--muted); transition: all .2s; }
.soc-btn svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.soc-btn[aria-label="Instagram"] svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.soc-btn:hover { border-color: var(--gold); color: var(--gold); }
.ft-col h5 { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text); margin-bottom: 20px; }
.ft-col ul { list-style: none; }
.ft-col ul li { margin-bottom: 10px; }
.ft-col ul li a { font-size: 13px; color: var(--muted); transition: color .2s; }
.ft-col ul li a:hover { color: var(--gold); }
.ft-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .05); font-size: 12px; color: var(--muted); }

/* ── PREVIEW MODAL ── */
.preview-modal {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.preview-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6,9,18,.76);
  backdrop-filter: blur(10px);
}
.preview-dialog {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  max-height: min(86vh, 840px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  background: #0d1526;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 40px 110px rgba(0,0,0,.4);
  transform: translateY(12px) scale(.985);
  transition: transform .22s ease;
}
.preview-modal.is-open .preview-dialog { transform: translateY(0) scale(1); }
.preview-head {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px 0 22px;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.preview-head span {
  font-family: var(--fm);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(232,234,240,.78);
}
.preview-close {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}
.preview-close:hover { background: var(--gold); color: #0d1526; }
.preview-dialog img {
  width: 100%;
  height: auto;
  max-height: calc(86vh - 54px);
  object-fit: contain;
  background: #eef3fa;
}

/* ── 404 ── */
.nf-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px; }
.nf-wrap h1 { font-family: var(--fd); font-size: clamp(80px, 14vw, 180px); font-weight: 300; color: var(--gold); line-height: 1; }
.nf-wrap p { color: var(--muted); margin: 18px 0 32px; max-width: 460px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-layout, .prob-grid, .passos-layout, .origem-grid, .form-grid, .protheus-layout { grid-template-columns: 1fr; }
  .hero-content { max-width: 820px; }
  .hero-board { max-width: 720px; }
  .pacotes-grid, .setores-grid { grid-template-columns: repeat(2, 1fr); }
  .confianca-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-head, .app-showcase { grid-template-columns: 1fr; }
  .app-panel { flex-direction: row; align-items: end; }
  .app-stage { min-height: 460px; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .origem-diferenciais { border-radius: 10px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .logo { gap: 12px; }
  .logo svg { width: 58px !important; height: 58px !important; min-width: 58px; min-height: 58px; }
  nav.scrolled .logo svg { width: 58px !important; height: 58px !important; }
  .logo-orbita { font-size: 25px; letter-spacing: .035em; }
  .logo-nine { font-size: 26px; margin-left: 4px; }
  .logo-sub { font-size: 8px; letter-spacing: .14em; margin-top: 4px; }
  .pacotes-grid, .provas-grid, .dep-grid, .setores-grid, .clientes-cards, .protheus-cards, .confianca-grid { grid-template-columns: 1fr; }
  .hero-caps { gap: 18px; margin-top: 40px; }
  .hero-caps-list { gap: 10px 22px; }
  .hero-caps-list li { font-size: 19px; padding-right: 22px; }
  .hero-caps-list li + li::before { left: -11px; }
  .hero-trust-logos { gap: 24px; }
  .hero-trust-logos img { height: 32px; }
  .hero-cred { font-size: 10px; }
  #clientes { padding: 64px 0; }
  .clientes-hd { margin-bottom: 36px; }
  .cliente-card-logo { min-height: 150px; padding: 32px 36px; }
  .cliente-card-info { flex-direction: column; align-items: flex-start; gap: 4px; }
  .cliente-cidade { white-space: nowrap; }
  .showcase-head { gap: 20px; margin-bottom: 24px; }
  .hero-acts { justify-content: center; }
  .hero-acts .btn-p,
  .hero-acts .btn-g {
    width: min(100%, 290px);
    min-width: 0;
  }
  .app-showcase { gap: 14px; }
  .app-stage { min-height: 240px; border-radius: 12px; box-shadow: 0 18px 42px rgba(13, 21, 38, .12); }
  .app-shot { object-fit: cover; object-position: top left; }
  .app-panel {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
    border-radius: 12px;
  }
  .app-count { margin-bottom: 8px; font-size: 10px; }
  .app-copy h3 { font-size: 19px; margin-bottom: 6px; }
  .app-copy p { font-size: 12px; line-height: 1.55; }
  .app-controls { flex-shrink: 0; align-self: center; }
  .app-nav { width: 38px; height: 38px; }
  .app-nav svg { width: 18px; height: 18px; }
  .app-thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x mandatory; }
  .app-thumb { min-width: 132px; grid-template-columns: 1fr; gap: 6px; padding: 7px; min-height: 0; scroll-snap-align: start; }
  .app-thumb img { width: 100%; height: 54px; }
  .app-thumb span { font-size: 12px; }
  #hero .container, .nav-inner { padding-left: 24px; padding-right: 24px; }
  .hero-board { padding: 18px; }
  .ft-grid { grid-template-columns: 1fr; }
  .ft-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cta-contacts { flex-direction: column; align-items: center; }
  section { padding: 72px 0; }
  #hero { padding: 118px 0 64px; }
  .hero-nine-bg { top: 42px; right: -20px; font-size: 92px; opacity: 0.55; }
  .wa-assistant { bottom: 14px; right: 12px; gap: 5px; max-width: 86px; }
  .luiza-panel {
    top: max(12px, env(safe-area-inset-top));
    right: 12px;
    bottom: 82px;
    width: calc(100vw - 24px);
    display: flex;
  }
  .luiza-panel-card {
    width: 100%;
    max-height: none;
    height: 100%;
  }
  .luiza-bubble {
    display: grid;
    min-width: 72px;
    padding: 7px 9px;
    text-align: center;
    border-radius: 8px;
  }
  .luiza-bubble strong { font-size: 12px; }
  .luiza-bubble span { display: none; }
  .luiza-bubble::after { width: 10px; height: 10px; bottom: -5px; }
  .luiza-avatar { width: 48px; height: 48px; border-width: 2px; }
  .wa-float { width: 48px; height: 48px; border-width: 2px; }
  .wa-float svg { width: 26px; height: 26px; }
}

/* ── ACESSIBILIDADE: REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  #hero-canvas { display: none; }
}

/* -- REFINAMENTO MOBILE EXTREMO (< 480px) -- */
@media (max-width: 480px) {
  /* Touch targets adequados */
  .btn-p, .btn-g, .form-row input, .form-row select, .form-row textarea, .luiza-close, .wa-assistant { min-height: 44px; }
  /* Ajuste no Hero para n�o quebrar/espremer */
  .hero-h1 { font-size: clamp(34px, 10vw, 42px); line-height: 1.05; }
  /* Nav links com �rea segura */
  .nav-links a { padding: 12px 10px; }
  /* Grid cards em 1 coluna se j� n�o estiver e com padding menor */
  .container { padding: 0 16px; }
  .form-card, .client-card, .testo-card { padding: 20px; }
}
