  :root {
    --bg: #000713;
    --bg-panel: #101D33;
    --bg-panel-2: #0D1A2C;
    --green-dark: #004C47;
    --green: #6CB93D;
    --green-2: #8ED15C;
    --green-3: #C7EA9E;
    --navy: #1F2E51;
    --navy-2: #16213D;
    --white: #F3F6F1;
    --ink: #0B1626;          /* texto sobre painéis claros (mega menu) */
    --ink-muted: #5B6B78;
    --light-panel: #FBFCFA;  /* painel do mega menu */
    --muted: #93A69C;
    --muted-2: #6D7D74;
    --line: rgba(255,255,255,0.09);
    --line-strong: rgba(255,255,255,0.18);

    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --max: 1200px;
    --ease-out: cubic-bezier(.16,.8,.28,1);
    --ease-spring: cubic-bezier(.34,1.56,.64,1);
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: var(--font-body); background: var(--bg); color: var(--white);
    line-height: 1.6; -webkit-font-smoothing: antialiased; position: relative;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  ul { list-style: none; }
  button { font-family: inherit; }
  .wrap { max-width: var(--max); margin: 0 auto; padding: 0 40px; }

  /* grain */
  .grain {
    position: fixed; inset: 0; z-index: 999; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }

  /* dot texture (referência Clarasight) */
  .dots {
    position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .35;
    background-image: radial-gradient(rgba(142,209,92,0.14) 1px, transparent 1.4px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 0%, transparent 70%);
            mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 0%, transparent 70%);
  }

  /* reveal */
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
  .reveal.in-view { opacity: 1; transform: translateY(0); }
  .stagger .reveal:nth-child(1) { transition-delay: .05s; }
  .stagger .reveal:nth-child(2) { transition-delay: .16s; }
  .stagger .reveal:nth-child(3) { transition-delay: .27s; }
  .stagger .reveal:nth-child(4) { transition-delay: .38s; }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  }
  html.reduced-motion .reveal { opacity: 1 !important; transform: none !important; }
  html.reduced-motion *, html.reduced-motion *::before, html.reduced-motion *::after { animation: none !important; }

  /* glow helpers */
  .glow-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
  .glow-a, .glow-b { position: absolute; border-radius: 50%; filter: blur(100px); will-change: transform; }
  .glow-a { width: 480px; height: 480px; background: radial-gradient(circle, rgba(108,185,61,0.38), transparent 72%); animation: driftA 30s ease-in-out infinite; }
  .glow-b { width: 420px; height: 420px; background: radial-gradient(circle, rgba(31,46,81,0.55), transparent 72%); animation: driftB 36s ease-in-out infinite; }

  /* ============ FUNDO AMBIENTE GLOBAL (profundidade + movimento) ============ */
  .ambient-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
  .ambient-blob { position: absolute; border-radius: 50%; filter: blur(120px); will-change: transform; }
  .ambient-blob.ab-1 { width: 640px; height: 640px; top: -12%; left: -10%; background: radial-gradient(circle, rgba(108,185,61,0.26), transparent 70%); animation: driftA 40s ease-in-out infinite; }
  .ambient-blob.ab-2 { width: 580px; height: 580px; top: 34%; right: -14%; background: radial-gradient(circle, rgba(31,46,81,0.6), transparent 70%); animation: driftB 48s ease-in-out infinite; }
  .ambient-blob.ab-3 { width: 520px; height: 520px; bottom: -16%; left: 24%; background: radial-gradient(circle, rgba(142,209,92,0.18), transparent 70%); animation: driftC 44s ease-in-out infinite; }

  @keyframes driftA { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(70px, 90px) scale(1.08); } }
  @keyframes driftB { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-80px, -60px) scale(1.06); } }
  @keyframes driftC { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px, -70px) scale(1.1); } }

  /* util bar */

  /* ============ NAV + MEGA MENU ============ */
  header.site-nav {
    position: sticky; top: 0; z-index: 200;
    background: rgb(11 29 37 / 60%); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }
  .util-bar { background: #060B15; color: var(--muted-2); font-size: 12px; border-bottom: 1px solid var(--line); position: relative; z-index: 210; }
  .util-bar .wrap { display: flex; justify-content: flex-end; padding: 8px 0; }
  .util-bar a { color: var(--white); font-weight: 600; }
  .util-bar a:hover { color: var(--green-2); }
  .nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 24px; position: relative; }

  .nav-links { display: flex; align-items: center; gap: 6px; }
  .nav-links > li { position: static; }
  .nav-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 14.5px; font-weight: 600; color: var(--white);
    padding: 9px 14px; border-radius: 10px; background: transparent; border: none; cursor: pointer;
    transition: background .2s ease, color .2s ease;
  }
  .nav-link:hover, .nav-item.open > .nav-link { background: rgba(255,255,255,0.07); color: var(--green-2); }
  .nav-link .chev { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s var(--ease-out); }
  .nav-item.open > .nav-link .chev { transform: rotate(225deg) translateY(-1px); }

  /* painel mega menu: cartão claro sobre fundo escuro, como na referência */
  .mega {
    position: absolute; left: 50%; top: calc(100% + 14px); transform: translateX(-50%) translateY(-8px) scale(.985);
    width: min(920px, calc(100vw - 48px));
    background: var(--light-panel); color: var(--ink);
    border-radius: 22px; box-shadow: 0 40px 90px -20px rgba(2,8,18,0.75), 0 0 0 1px rgba(255,255,255,0.08);
    padding: 30px; display: grid; grid-template-columns: 1.15fr .95fr; gap: 26px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .28s var(--ease-out), transform .32s var(--ease-out), visibility 0s linear .3s;
  }
  .nav-item.open > .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0) scale(1); transition-delay: 0s; }
  .mega.mega-sm { width: min(680px, calc(100vw - 48px)); grid-template-columns: 1fr .9fr; }

  .mega-col-label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 16px; }
  .mega-list { display: flex; flex-direction: column; gap: 4px; }
  .mega-item {
    display: flex; align-items: flex-start; gap: 14px; padding: 12px; border-radius: 14px;
    transition: background .18s ease, transform .18s var(--ease-out);
  }
  .mega-item:hover { background: rgba(108,185,61,0.09); transform: translateX(4px); }
  .mega-ico {
    flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px;
    background: #fff; box-shadow: 0 1px 0 rgba(11,22,38,0.06), 0 4px 12px -4px rgba(11,22,38,0.14);
    display: flex; align-items: center; justify-content: center; color: var(--green-dark);
    transition: transform .25s var(--ease-spring), color .2s ease;
  }
  .mega-item:hover .mega-ico { transform: scale(1.08) rotate(-3deg); color: var(--green); }
  .mega-item h4 { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.3; display: flex; align-items: center; gap: 7px; }
  .mega-item h4 .go { opacity: 0; transform: translateX(-4px); transition: opacity .18s ease, transform .18s ease; color: var(--green); font-weight: 800; }
  .mega-item:hover h4 .go { opacity: 1; transform: translateX(0); }
  .mega-item p { font-size: 12.5px; color: var(--ink-muted); line-height: 1.45; margin-top: 2px; }

  /* cartão destaque do mega menu */
  .mega-feature {
    border-radius: 16px; overflow: hidden; position: relative; padding: 22px;
    background:
      radial-gradient(120% 90% at 85% 10%, rgba(108,185,61,0.5), transparent 55%),
      radial-gradient(130% 110% at 10% 100%, rgba(31,46,81,0.9), transparent 65%),
      linear-gradient(150deg, #101D33, #0A1322);
    color: var(--white); display: flex; flex-direction: column; justify-content: space-between; min-height: 250px;
  }
  .mega-feature .mf-dots { position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1.4px); background-size: 18px 18px; pointer-events: none; }
  .mf-tag { position: relative; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-3); }
  .mf-copy { position: relative; }
  .mf-copy h4 { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin: 8px 0 4px; line-height: 1.3; }
  .mf-copy p { font-size: 12.5px; color: rgba(243,246,241,0.75); }
  .mf-cta { position: relative; margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--green-2); }
  .mf-cta .go { transition: transform .2s ease; }
  .mega-feature:hover .mf-cta .go { transform: translateX(4px); }

  /* mini cartão de documentos animado, dentro do destaque */
  .mf-doccard {
    position: relative; margin-top: 16px; background: rgba(255,255,255,0.08);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.16); border-radius: 12px; padding: 11px 12px 8px;
    animation: floatCard 5s ease-in-out infinite;
  }
  .mf-doccard .fc-head { display: flex; align-items: center; gap: 6px; font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 7px; }
  .mf-doccard .fc-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 0; border-top: 1px solid rgba(255,255,255,0.1); }
  .mf-doccard .fc-row:first-of-type { border-top: none; }
  .mf-doccard .fc-file { font-size: 10px; color: rgba(243,246,241,0.75); }

  /* placeholders de artigos (Recursos) */
  .mega-article {
    display: flex; flex-direction: column; gap: 10px; border: 1px dashed rgba(11,22,38,0.28); border-radius: 14px; padding: 14px;
    transition: border-color .2s ease, background .2s ease;
  }
  .mega-article:hover { border-color: var(--green); background: rgba(108,185,61,0.06); }
  .mega-article .thumb {
    height: 74px; border-radius: 10px;
    background: radial-gradient(100% 120% at 80% 0%, rgba(108,185,61,0.55), transparent 60%), linear-gradient(140deg, #16213D, #0A1322);
    position: relative; overflow: hidden;
  }
  .mega-article .thumb::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.16) 1px, transparent 1.3px); background-size: 14px 14px; opacity: .55; }
  .mega-article h5 { font-family: var(--font-display); font-size: 12.5px; font-weight: 700; color: var(--ink); line-height: 1.35; }
  .mega-article span { font-size: 10.5px; color: var(--ink-muted); font-style: italic; }
  .mega-article span.meta { margin-top: auto; }
  .mega-articles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

  .nav-right { display: flex; align-items: center; gap: 16px; }

  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 14.5px; padding: 13px 28px; border-radius: 999px; cursor: pointer; border: 2px solid transparent; background: transparent; transition: transform .22s var(--ease-spring), box-shadow .22s ease, border-color .2s ease, background .2s ease; white-space: nowrap; }
  .btn-primary { background: var(--green); color: #06110C; position: relative; overflow: hidden; }
  .btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,0.5), transparent); transform: skewX(-18deg); transition: left .5s ease; }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(108,185,61,0.55); }
  .btn-primary:hover::after { left: 130%; }
  .btn-primary.sm { padding: 10px 22px; font-size: 13.5px; }
  .btn-ghost { border-color: var(--line-strong); color: var(--white); background: rgba(255,255,255,0.04); }
  .btn-ghost:hover { border-color: var(--green-2); background: rgba(108,185,61,0.08); }

  .nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; transition: transform .3s ease, opacity .3s ease; }

  /* drawer mobile */
  .mobile-drawer {
    position: fixed; top: 0; right: -100%; height: 100vh; width: 82%; max-width: 340px;
    background: var(--bg-panel); z-index: 300; padding: 90px 28px 30px;
    transition: right .34s var(--ease-out); overflow-y: auto;
  }
  .mobile-drawer.open { right: 0; }
  .mobile-drawer .md-group { border-bottom: 1px solid var(--line); }
  .mobile-drawer .md-group > a, .mobile-drawer .md-group > button {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    background: none; border: none; color: var(--white); font-family: var(--font-display);
    font-size: 16px; font-weight: 700; padding: 16px 0; cursor: pointer; text-align: left;
  }
  .mobile-drawer .md-sub { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .mobile-drawer .md-group.open .md-sub { max-height: 260px; }
  .mobile-drawer .md-sub a { display: block; padding: 9px 0 9px 14px; font-size: 14px; color: var(--muted); border-left: 2px solid var(--line-strong); margin-left: 2px; }
  .mobile-drawer .md-sub a:hover { color: var(--green-2); border-color: var(--green-2); }
  .mobile-drawer .btn { width: 100%; margin-top: 24px; }
  .drawer-overlay { position: fixed; inset: 0; background: rgba(4,8,16,0.6); z-index: 290; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
  .drawer-overlay.show { opacity: 1; pointer-events: auto; }

  .eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--green-2); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; }
  .eyebrow.center { justify-content: center; width: 100%; }
  @keyframes dotPulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

  /* ============ HERO ============ */
  .hero { position: relative; overflow: hidden; padding: 84px 0 90px; }
  .hero-center { text-align: center; position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
  .hero-center h1 { max-width: 880px; }
  .hero-center .sub { margin-left: auto; margin-right: auto; max-width: 580px; }
  .hero-cta-row.center { justify-content: center; }
  .hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 20px; }
  .hero h1 .accent { background: linear-gradient(95deg, var(--green-2), var(--green-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .hero .sub { font-size: 17px; color: var(--muted); max-width: 480px; margin-bottom: 30px; }
  .hero-cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }

  /* ---- ilustração do hero: pipeline de documentos ---- */
  .hv-bloom { position: absolute; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(108,185,61,0.26), rgba(31,46,81,0.22) 45%, transparent 72%); filter: blur(50px); }
  .hv-ring { position: absolute; width: 400px; height: 400px; animation: slowSpin 52s linear infinite; opacity: .9; }
  @keyframes slowSpin { to { transform: rotate(360deg); } }

  .hv-app {
    position: relative; z-index: 2; width: min(400px, 92%);
    background: rgba(16,29,51,0.82); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border: 1px solid var(--line-strong); border-radius: 20px;
    box-shadow: 0 40px 80px -24px rgba(0,0,0,0.65);
    padding: 18px 18px 16px; animation: floatCard 6.5s ease-in-out infinite;
  }
  @keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
  .hv-titlebar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
  .hv-title { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
  .hv-count { font-size: 10.5px; color: var(--muted); font-weight: 600; }

  /* zona de leitura com IA */
  .hv-scan {
    position: relative; border: 1px dashed rgba(142,209,92,0.4); border-radius: 12px;
    background: rgba(108,185,61,0.05); height: 92px; margin-bottom: 12px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
  }
  .hv-scanline {
    position: absolute; left: 6%; right: 6%; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--green-2), transparent);
    box-shadow: 0 0 14px rgba(142,209,92,0.7);
    animation: scanY 3.4s ease-in-out infinite;
  }
  @keyframes scanY { 0%,100% { top: 14%; } 50% { top: 82%; } }
  .hv-scan-doc {
    width: 58px; height: 68px; border-radius: 7px; background: #F3F6F1; position: relative;
    box-shadow: 0 10px 24px -8px rgba(0,0,0,0.5);
    animation: docSwap 10.2s ease-in-out infinite;
  }
  .hv-scan-doc::before { content: ""; position: absolute; left: 9px; right: 9px; top: 11px; height: 4px; border-radius: 2px; background: #1F2E51; opacity: .85; }
  .hv-scan-doc::after {
    content: ""; position: absolute; left: 9px; right: 15px; top: 22px; height: 34px;
    background: repeating-linear-gradient(#B9C4BD 0 3px, transparent 3px 9px);
    border-radius: 1px;
  }
  @keyframes docSwap {
    0% { transform: translateX(-140px) rotate(-6deg); opacity: 0; }
    8% { transform: translateX(0) rotate(0deg); opacity: 1; }
    80% { transform: translateX(0) rotate(0deg); opacity: 1; }
    90%,100% { transform: translateX(140px) rotate(5deg); opacity: 0; }
  }
  .hv-ia-tag {
    position: absolute; right: 10px; top: 9px; font-size: 9px; font-weight: 800; letter-spacing: .1em;
    color: var(--green-2); background: rgba(108,185,61,0.14); border: 1px solid rgba(142,209,92,0.35);
    padding: 3px 8px; border-radius: 8px;
  }

  /* filas de documentos processados */
  .hv-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 2px; border-top: 1px solid rgba(255,255,255,0.08); }
  .hv-file { display: flex; align-items: center; gap: 9px; font-size: 11.5px; color: var(--muted); min-width: 0; }
  .hv-file-ico { flex-shrink: 0; width: 24px; height: 28px; border-radius: 5px; background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.14); position: relative; }
  .hv-file-ico::after { content: ""; position: absolute; left: 5px; right: 5px; top: 8px; height: 2px; background: rgba(255,255,255,0.4); box-shadow: 0 5px 0 rgba(255,255,255,0.25), 0 10px 0 rgba(255,255,255,0.18); }
  .hv-pill { position: relative; flex-shrink: 0; width: 96px; height: 22px; }
  .hv-pill span {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-size: 9.5px; font-weight: 700; border-radius: 11px; white-space: nowrap;
  }
  .hv-pill .st-pending { background: rgba(255,255,255,0.1); color: var(--muted); animation: stPendingCycle 10.2s ease-in-out infinite; }
  .hv-pill .st-done { background: rgba(108,185,61,0.2); color: var(--green-2); opacity: 0; animation: stDoneCycle 10.2s ease-in-out infinite; }
  .hv-row[data-slot="2"] .st-pending { animation-delay: 3.4s; }
  .hv-row[data-slot="2"] .st-done { animation-delay: 3.4s; }
  .hv-row[data-slot="3"] .st-pending { animation-delay: 6.8s; }
  .hv-row[data-slot="3"] .st-done { animation-delay: 6.8s; }
  @keyframes stPendingCycle { 0%, 32% { opacity: 1; } 40%, 92% { opacity: 0; } 100% { opacity: 1; } }
  @keyframes stDoneCycle { 0%, 32% { opacity: 0; transform: scale(.85); } 40%, 92% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }

  /* satélites: chips de contexto a orbitar o cartão */
  .hv-chip {
    position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 7px;
    background: rgba(16,29,51,0.9); border: 1px solid var(--line-strong); border-radius: 999px;
    padding: 8px 14px; font-size: 11px; font-weight: 700; box-shadow: 0 16px 34px -14px rgba(0,0,0,0.6);
    animation: floatCard 5.4s ease-in-out infinite;
  }
  .hv-chip .ck { color: var(--green-2); font-weight: 800; }
  .hv-chip.c1 { top: 8%; left: 0; animation-delay: .6s; }
  .hv-chip.c2 { bottom: 12%; right: -2%; animation-delay: 1.4s; }
  .hv-chip.c3 { top: 46%; right: -6%; animation-delay: 2.2s; }

  /* ============ MARQUEE ERPs ============ */
  .proof-strip { background: rgb(11 29 37 / 60%); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; z-index: 1; overflow: hidden; }
  .proof-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
  .proof-copy { font-family: var(--font-display); font-size: 15px; font-weight: 700; }
  .proof-trust { font-size: 13px; font-weight: 700; color: var(--green-2); }
  .marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
  .marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 26s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(-50%); } }
  .chip { flex-shrink: 0; border: 1px solid var(--line-strong); background: rgba(255,255,255,0.03); border-radius: 20px; padding: 10px 24px; font-size: 13.5px; font-weight: 700; transition: border-color .2s ease, background .2s ease, color .2s ease; }
  .chip:hover { border-color: var(--green-2); background: rgba(108,185,61,0.1); color: var(--green-2); }
  .chip.exp { border-style: dashed; color: var(--muted); font-weight: 600; }

  /* ============ SECÇÕES ============ */
  .section { padding: 104px 0; position: relative; overflow: hidden; }
  .section.panel { background: rgb(11 29 37 / 60%); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .sec-eyebrow { color: var(--green-2); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
  .sec-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -0.015em; max-width: 660px; margin-bottom: 16px; }
  .sec-lead { font-size: 16px; color: var(--muted); max-width: 560px; }
  .center-col { text-align: center; margin: 0 auto; }

  /* ============ TESTEMUNHOS ============ */
  .testi-static-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; position: relative; z-index: 1; }
  .testi-static-card { background: rgba(255,255,255,0.035); border: 1px solid var(--line); border-radius: 16px; padding: 28px; text-align: left; transition: transform .3s var(--ease-out), border-color .3s ease; }
  .testi-static-card:hover { transform: translateY(-6px); border-color: rgba(142,209,92,0.4); }
  .testi-static-card.pending { border-style: dashed; border-color: var(--line-strong); background: transparent; }
  .testi-static-card p.tq { font-size: 14.5px; margin-bottom: 18px; }
  .testi-static-card p.tq::before { content: "\201C"; color: var(--green-2); font-size: 30px; font-weight: 800; line-height: 0; display: inline-block; vertical-align: -8px; margin-right: 4px; }
  .testi-static-card.pending p.tq { color: var(--muted-2); font-style: italic; }
  .testi-static-card.pending p.tq::before { color: var(--muted-2); }
  .ts-row { display: flex; align-items: center; gap: 10px; }
  .ts-mini-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #06110C; font-weight: 800; font-size: 12px; display: flex; align-items: center; justify-content: center; }
  .testi-static-card.pending .ts-mini-avatar { background: transparent; border: 1px dashed var(--line-strong); color: var(--muted-2); }

  /* ============ CTA FINAL ============ */
  .cta-band { text-align: center; padding: 110px 0; position: relative; overflow: hidden; }
  .cta-band h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.8vw, 44px); letter-spacing: -0.015em; margin-bottom: 14px; }
  .cta-band p { font-size: 16px; color: var(--muted); margin-bottom: 32px; max-width: 460px; margin-left: auto; margin-right: auto; }

  /* ============ FOOTER ============ */
  footer.site-footer { background: #060B15; padding: 70px 0 0; border-top: 1px solid var(--line); position: relative; overflow: hidden; }
  .footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
  .footer-brand .nav-logo { font-size: 19px; margin-bottom: 12px; }
  .footer-tagline { font-style: italic; font-size: 13.5px; color: var(--green-2); }
  .footer-col .ft-h { color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
  .footer-col ul li { margin-bottom: 10px; }
  .footer-col a { font-size: 13.5px; color: var(--muted); }
  .footer-col a:hover { color: var(--white); }
  .footer-bottom { display: flex; justify-content: space-between; padding: 24px 0; font-size: 12px; color: var(--muted-2); flex-wrap: wrap; gap: 10px; position: relative; z-index: 2; }
  .footer-giant { text-align: center; overflow: hidden; line-height: .8; margin-top: 10px; }
  .footer-giant span {
    font-family: var(--font-display); font-weight: 800; font-size: clamp(90px, 16vw, 220px);
    color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.14);
    letter-spacing: -0.02em; white-space: nowrap;
  }

  /* ============ HERO HOMEPAGE: pipeline documentos -> Bizdocs -> ERP ============ */
  .pipeline { position: relative; z-index: 2; margin-top: 40px; display: grid; grid-template-columns: 1fr 110px minmax(320px, 400px) 110px 1fr; align-items: center; }
  .pl-node { display: flex; flex-direction: column; align-items: center; gap: 14px; }
  .pl-label { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

  .pl-docstack { position: relative; width: 122px; height: 116px; }
  .pl-doc { position: absolute; width: 52px; height: 64px; border-radius: 7px; background: #F3F6F1; box-shadow: 0 12px 26px -10px rgba(0,0,0,.55); }
  .pl-doc::before { content: ""; position: absolute; left: 8px; right: 8px; top: 9px; height: 4px; border-radius: 2px; background: #1F2E51; opacity: .85; }
  .pl-doc::after { content: ""; position: absolute; left: 8px; right: 13px; top: 20px; height: 32px; background: repeating-linear-gradient(#B9C4BD 0 3px, transparent 3px 9px); }
  .pl-doc.d1 { left: 4px; top: 28px; rotate: -8deg; animation: docBob 5.2s ease-in-out infinite; }
  .pl-doc.d2 { left: 34px; top: 12px; rotate: 3deg; animation: docBob 5.2s ease-in-out infinite 1.1s; z-index: 2; }
  .pl-doc.d3 { left: 64px; top: 30px; rotate: 9deg; animation: docBob 5.2s ease-in-out infinite 2.2s; }
  @keyframes docBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

  .pl-link { position: relative; height: 2px; border-radius: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.2) 0 8px, transparent 8px 16px); }
  .pl-packet { position: absolute; top: 50%; left: 0; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 12px rgba(142,209,92,.85); animation: packetGo 3.2s linear infinite; }
  .pl-packet.p2 { animation-delay: 1.6s; }
  @keyframes packetGo { 0% { left: -4%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

  .pl-core { position: relative; display: flex; align-items: center; justify-content: center; min-height: 470px; }

  .pl-erp { width: 158px; background: rgba(16,29,51,0.82); border: 1px solid var(--line-strong); border-radius: 14px; padding: 12px 14px; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); }
  .pl-erp-title { font-size: 9.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green-2); margin-bottom: 6px; }
  .pl-erp-row { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; font-weight: 600; color: var(--muted); padding: 7px 0; border-top: 1px solid rgba(255,255,255,.08); }
  .pl-erp-row .ck { color: var(--green-2); font-weight: 800; opacity: 0; animation: erpTick 6.4s ease-in-out infinite; }
  .pl-erp-row:nth-child(3) .ck { animation-delay: 1.6s; }
  .pl-erp-row:nth-child(4) .ck { animation-delay: 3.2s; }
  .pl-erp-row:nth-child(5) .ck { animation-delay: 4.8s; }
  @keyframes erpTick { 0% { opacity: 0; transform: scale(.6); } 8%, 62% { opacity: 1; transform: scale(1); } 76%, 100% { opacity: 0; } }

  .pipeline .hv-chip.c1 { top: -3%; left: 5%; }
  .pipeline .hv-chip.c2 { bottom: -3%; right: 21%; }
  .pipeline .hv-chip.c3 { top: -6%; right: 4%; }

  /* ============ PERSONAS ============ */
  .persona-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; position: relative; z-index: 1; }
  .persona-card { background: rgba(255,255,255,0.035); border: 1px solid var(--line); border-radius: 18px; padding: 24px; transition: transform .35s var(--ease-out), border-color .3s ease, background .3s ease; }
  .persona-card:hover { transform: translateY(-8px); border-color: rgba(142,209,92,0.45); background: rgba(255,255,255,0.05); }
  .persona-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin: 20px 0 8px; }
  .persona-card p { font-size: 14px; color: var(--muted); margin-bottom: 18px; min-height: 62px; }
  .persona-link { font-size: 13.5px; font-weight: 700; color: var(--green-2); display: inline-flex; align-items: center; gap: 6px; }
  .persona-link span { transition: transform .25s var(--ease-out); }
  .persona-card:hover .persona-link span { transform: translateX(5px); }
  .persona-stage { height: 116px; border-radius: 12px; border: 1px solid var(--line); background: rgba(11,29,37,0.5); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }

  /* persona A: lançamentos a preencher-se sozinhos */
  .ledger { width: 74%; }
  .ledger-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px dashed rgba(255,255,255,.1); }
  .ledger-row:last-child { border-bottom: none; }
  .ledger-bar { height: 5px; border-radius: 3px; background: rgba(255,255,255,.14); flex: 1; position: relative; overflow: hidden; }
  .ledger-bar::after { content: ""; position: absolute; inset: 0; border-radius: 3px; background: linear-gradient(90deg, var(--green), var(--green-2)); transform: scaleX(0); transform-origin: left; animation: ledgerFill 5.4s ease-in-out infinite; }
  .ledger-ck { font-size: 11px; font-weight: 800; color: var(--green-2); opacity: 0; animation: ledgerCk 5.4s ease-in-out infinite; }
  .ledger-row:nth-child(2) .ledger-bar::after, .ledger-row:nth-child(2) .ledger-ck { animation-delay: .9s; }
  .ledger-row:nth-child(3) .ledger-bar::after, .ledger-row:nth-child(3) .ledger-ck { animation-delay: 1.8s; }
  @keyframes ledgerFill { 0% { transform: scaleX(0); } 22%, 72% { transform: scaleX(1); } 86%, 100% { transform: scaleX(0); } }
  @keyframes ledgerCk { 0%, 20% { opacity: 0; transform: scale(.6); } 27%, 72% { opacity: 1; transform: scale(1); } 86%, 100% { opacity: 0; } }

  /* persona B: pasta com documentos a espreitar */
  .mini-folder { position: relative; width: 100px; height: 70px; }
  .mf-tab { position: absolute; left: 0; bottom: 48px; width: 40px; height: 13px; border-radius: 6px 6px 0 0; background: var(--green-dark); border: 1px solid rgba(255,255,255,.12); border-bottom: none; }
  .mf-back { position: absolute; left: 0; right: 0; bottom: 0; height: 52px; border-radius: 8px; background: linear-gradient(180deg, #12433E, var(--green-dark)); border: 1px solid rgba(255,255,255,.12); }
  .mf-doc { position: absolute; bottom: 16px; width: 26px; height: 36px; background: #F3F6F1; border-radius: 4px; box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); animation: mfPeek 4.8s ease-in-out infinite; }
  .mf-doc::after { content: ""; position: absolute; left: 4px; right: 6px; top: 7px; height: 22px; background: repeating-linear-gradient(#B9C4BD 0 2px, transparent 2px 7px); }
  .mf-doc.m1 { left: 12px; rotate: -7deg; }
  .mf-doc.m2 { left: 37px; animation-delay: .5s; z-index: 1; }
  .mf-doc.m3 { left: 62px; rotate: 7deg; animation-delay: 1s; }
  @keyframes mfPeek { 0%, 100% { translate: 0 7px; } 50% { translate: 0 -7px; } }
  .mf-front { position: absolute; left: 0; right: 0; bottom: 0; height: 34px; border-radius: 8px; background: linear-gradient(180deg, var(--green), #59A032); border: 1px solid rgba(255,255,255,.16); z-index: 2; }

  /* persona C: rede de parceiros com pulsos */
  .net { position: relative; width: 132px; height: 88px; }
  .net-node { position: absolute; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(142,209,92,.7); background: rgba(108,185,61,.12); }
  .net-node.hub { width: 22px; height: 22px; left: 54px; top: 32px; background: var(--green); border-color: var(--green-2); box-shadow: 0 0 0 5px rgba(108,185,61,.16); z-index: 2; }
  .net-node.na { left: 0; top: 0; }
  .net-node.nb { right: 0; top: 6px; }
  .net-node.nc { left: 10px; bottom: 0; }
  .net-node.nd { right: 8px; bottom: 0; }
  .net-line { position: absolute; left: 65px; top: 42px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(142,209,92,.5), rgba(255,255,255,.1)); transform-origin: left center; }
  .net-line i { position: absolute; top: 50%; left: 0; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 8px rgba(142,209,92,.9); animation: packetGo 2.8s linear infinite; }
  .net-line.l1 { width: 67px; transform: rotate(-148.5deg); }
  .net-line.l2 { width: 64px; transform: rotate(-27deg); }
  .net-line.l3 { width: 59px; transform: rotate(143deg); }
  .net-line.l4 { width: 60px; transform: rotate(35.5deg); }
  .net-line.l2 i { animation-delay: .7s; }
  .net-line.l3 i { animation-delay: 1.4s; }
  .net-line.l4 i { animation-delay: 2.1s; }

  /* ============ STATEMENT ============ */
  .statement .sec-title { max-width: none; margin-bottom: 0; font-size: clamp(30px, 4.4vw, 52px); }
  .statement .line2 { background: linear-gradient(95deg, var(--green-2), var(--green-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }

  /* ============ COMO FUNCIONA: passos ligados ============ */
  .steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; position: relative; z-index: 1; }
  .steps-line { position: absolute; top: 25px; left: 8%; right: 8%; height: 2px; z-index: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.16) 0 8px, transparent 8px 16px); }
  .steps-line i { position: absolute; top: 50%; left: 0; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 10px rgba(142,209,92,.85); animation: packetGo 4.6s linear infinite; }
  .steps-line i.p2 { animation-delay: 2.3s; }
  .step { position: relative; margin-top: 64px; background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 18px; padding: 24px; text-align: center; transition: transform .3s var(--ease-out), border-color .3s ease; }
  .step:hover { transform: translateY(-6px); border-color: rgba(142,209,92,.4); }
  .step-num { position: absolute; top: -64px; left: 50%; transform: translateX(-50%); width: 52px; height: 52px; border-radius: 50%; background: #0B1D25; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--green-2); z-index: 1; }
  .step h4 { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin-bottom: 8px; }
  .step p { font-size: 14px; color: var(--muted); }

  .ms { height: 96px; border-radius: 12px; border: 1px solid var(--line); background: rgba(11,29,37,.5); margin-bottom: 18px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
  .ms-doc { width: 42px; height: 56px; background: #F3F6F1; border-radius: 5px; position: relative; }
  .ms-doc::before { content: ""; position: absolute; left: 7px; right: 7px; top: 8px; height: 3px; border-radius: 2px; background: #1F2E51; opacity: .85; }
  .ms-doc::after { content: ""; position: absolute; left: 7px; right: 11px; top: 17px; height: 30px; background: repeating-linear-gradient(#B9C4BD 0 3px, transparent 3px 8px); }
  .ms-scan { position: absolute; left: 12%; right: 12%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--green-2), transparent); box-shadow: 0 0 12px rgba(142,209,92,.7); animation: scanY 3s ease-in-out infinite; }
  .ms-flow { display: flex; align-items: center; gap: 10px; }
  .ms-mini { width: 30px; height: 40px; background: #F3F6F1; border-radius: 4px; position: relative; flex-shrink: 0; }
  .ms-mini::after { content: ""; position: absolute; left: 5px; right: 8px; top: 9px; height: 22px; background: repeating-linear-gradient(#B9C4BD 0 2px, transparent 2px 7px); }
  .ms-arrow { position: relative; width: 64px; height: 2px; border-radius: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 7px, transparent 7px 14px); }
  .ms-arrow i { position: absolute; top: 50%; left: 0; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 8px rgba(142,209,92,.9); animation: packetGo 2.6s linear infinite; }
  .ms-erp { width: 56px; height: 44px; border-radius: 8px; border: 1px solid var(--line-strong); background: rgba(31,46,81,.75); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
  .ms-archive { position: relative; width: 92px; height: 66px; }
  .ms-dropdoc { position: absolute; left: 50%; margin-left: -13px; top: 0; width: 26px; height: 32px; border-radius: 4px; background: #F3F6F1; animation: dropIn 3.6s ease-in-out infinite; }
  .ms-drawer { position: absolute; left: 0; right: 0; bottom: 0; height: 30px; border-radius: 8px; background: rgba(31,46,81,.78); border: 1px solid var(--line-strong); }
  .ms-drawer::after { content: ""; position: absolute; left: 30%; right: 30%; top: 12px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.35); }
  @keyframes dropIn { 0% { transform: translateY(-14px); opacity: 0; } 20% { opacity: 1; } 55% { transform: translateY(26px); opacity: 1; } 70%, 100% { transform: translateY(26px); opacity: 0; } }
  .ms-shield { position: absolute; right: -8px; bottom: -8px; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #06110C; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px rgba(108,185,61,.2); z-index: 2; }

  /* ============ CARROSSEL DE TESTEMUNHOS ============ */
  .testi-carousel { max-width: 660px; margin: 52px auto 0; position: relative; z-index: 1; }
  .testi-carousel .testi-static-card { min-height: 200px; display: flex; flex-direction: column; justify-content: space-between; transition: opacity .3s ease, transform .3s ease; }
  .testi-carousel .testi-static-card.fading { opacity: 0; transform: translateY(8px); }
  .testi-carousel p.tq { font-size: 16px; }
  .testi-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
  .testi-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255,255,255,.04); color: var(--white); cursor: pointer; font-size: 16px; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
  .testi-arrow:hover { border-color: var(--green-2); background: rgba(108,185,61,.12); transform: translateY(-2px); }
  .testi-dots { display: flex; gap: 8px; }
  .testi-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.2); cursor: pointer; transition: background .2s ease, transform .2s ease; }
  .testi-dot.active { background: var(--green-2); transform: scale(1.25); }

  /* ============ CONTABILISTAS: hero split ============ */
  .hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; position: relative; z-index: 2; }
  .hero-visual { position: relative; min-height: 460px; display: flex; align-items: center; justify-content: center; }
  .hv-erp-link { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); font-size: 10.5px; font-weight: 700; color: var(--muted); }

  /* ============ CONTABILISTAS: PAS caos -> ERP ============ */
  .pas2 { display: grid; grid-template-columns: 1fr 96px 1fr; align-items: stretch; margin-top: 52px; position: relative; z-index: 1; }
  .pas-panel { border-radius: 18px; border: 1px solid var(--line); padding: 28px 24px; min-height: 260px; display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: center; }
  .pas-panel.bad { background: rgba(255,255,255,.02); }
  .pas-panel.good { background: rgba(108,185,61,.05); border-color: rgba(142,209,92,.3); }
  .pas-panel-label { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .pas-panel.good .pas-panel-label { color: var(--green-2); }
  .mess { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 340px; }
  .mess-chip { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.04); color: var(--muted); border-radius: 999px; padding: 8px 14px; font-size: 12px; font-weight: 600; animation: jitter 3.8s ease-in-out infinite; }
  .mess-chip .x { color: #E37070; font-weight: 800; }
  .mess-chip:nth-child(2) { animation-delay: .6s; }
  .mess-chip:nth-child(3) { animation-delay: 1.2s; }
  .mess-chip:nth-child(4) { animation-delay: 1.8s; }
  .mess-chip:nth-child(5) { animation-delay: 2.4s; }
  @keyframes jitter { 0%, 100% { transform: translate(0,0) rotate(0deg); } 25% { transform: translate(1px,-2px) rotate(-.7deg); } 60% { transform: translate(-1px,1px) rotate(.6deg); } }
  .pas-flow2 { position: relative; align-self: center; height: 2px; border-radius: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.2) 0 8px, transparent 8px 16px); }
  .solution-band { margin: 28px auto 0; border: 1px solid rgba(142,209,92,.35); background: rgba(108,185,61,.06); border-radius: 14px; padding: 20px 26px; font-size: 15px; max-width: 860px; position: relative; z-index: 1; }
  .solution-band strong { color: var(--green-2); }

  /* ============ CONTABILISTAS: integrações ============ */
  .integr-points { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin: 4px 0 34px; position: relative; z-index: 1; }

  /* ============ CONTABILISTAS: bento funcionalidades ============ */
  .feat-bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 56px; position: relative; z-index: 1; }
  .fb-card { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 18px; padding: 24px; transition: transform .3s var(--ease-out), border-color .3s ease; }
  .fb-card:hover { transform: translateY(-6px); border-color: rgba(142,209,92,.4); }
  .fb-card :is(h4, h3:where(.as-h4)) { font-family: var(--font-display); font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
  .fb-card p { font-size: 14px; color: var(--muted); }
  .fb-card .ms { margin-bottom: 18px; }

  .qr { position: relative; width: 58px; height: 58px; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(5, 1fr); gap: 3px; }
  .qr b { background: #F3F6F1; border-radius: 1.5px; }
  .qr b.off { background: rgba(255,255,255,.08); }
  .qr-tag { position: absolute; right: 12px; top: 10px; font-size: 9px; font-weight: 800; letter-spacing: .08em; color: var(--green-2); background: rgba(108,185,61,.14); border: 1px solid rgba(142,209,92,.35); padding: 3px 8px; border-radius: 8px; }
  .dup-pill { position: absolute; left: 12px; bottom: 10px; font-size: 9.5px; font-weight: 800; color: #E37070; background: rgba(227,112,112,.1); border: 1px solid rgba(227,112,112,.35); padding: 3px 9px; border-radius: 9px; opacity: 0; animation: dupFlash 5.2s ease-in-out infinite; }
  @keyframes dupFlash { 0%, 40% { opacity: 0; transform: translateY(4px); } 48%, 80% { opacity: 1; transform: translateY(0); } 92%, 100% { opacity: 0; } }

  .shield-xl { position: relative; width: 58px; height: 58px; border-radius: 50%; background: var(--green); color: #06110C; font-weight: 800; font-size: 24px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px rgba(108,185,61,.18); }
  .law-chips { position: absolute; right: 12px; display: flex; flex-direction: column; gap: 6px; }
  .law-chips span { font-size: 9.5px; font-weight: 800; letter-spacing: .06em; color: var(--white); background: rgba(31,46,81,.75); border: 1px solid var(--line-strong); padding: 4px 9px; border-radius: 9px; }

  .share-flow { display: flex; align-items: center; gap: 10px; }
  .share-avatar { width: 38px; height: 38px; border-radius: 50%; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .share-avatar.g { background: var(--green); color: #06110C; }
  .share-avatar.c { background: var(--navy); color: var(--white); border: 1px solid var(--line-strong); }
  .share-line { position: relative; width: 74px; height: 2px; border-radius: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 7px, transparent 7px 14px); }
  .share-line i { position: absolute; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 8px rgba(142,209,92,.9); }
  .share-line i.fwd { left: 0; animation: packetGo 2.8s linear infinite; }
  .share-line i.back { left: 0; animation: packetBack 2.8s linear infinite 1.4s; }
  @keyframes packetBack { 0% { left: 100%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: -4%; opacity: 0; } }
  .share-doc { width: 26px; height: 34px; background: #F3F6F1; border-radius: 4px; flex-shrink: 0; position: relative; animation: floatCard 5s ease-in-out infinite; }
  .share-doc::after { content: ""; position: absolute; left: 4px; right: 6px; top: 8px; height: 19px; background: repeating-linear-gradient(#B9C4BD 0 2px, transparent 2px 6px); }

  /* ============ CONTABILISTAS: FAQ ============ */
  .faq-list-dark { max-width: 720px; margin: 48px auto 0; position: relative; z-index: 1; }
  .faq-item-dark { border-bottom: 1px solid var(--line); }
  .faq-q-dark { display: flex; align-items: center; justify-content: space-between; padding: 22px 4px; cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 15.5px; transition: color .2s ease; }
  .faq-q-dark:hover { color: var(--green-2); }
  .faq-q-dark .faq-plus { font-size: 20px; color: var(--green-2); transition: transform .25s ease; flex-shrink: 0; margin-left: 20px; }
  .faq-item-dark.open .faq-plus { transform: rotate(45deg); }
  .faq-a-dark { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .faq-item-dark.open .faq-a-dark { max-height: 200px; }
  .faq-a-dark p { font-size: 14.5px; color: var(--muted); padding: 0 4px 22px; max-width: 600px; }

  @media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .hero-visual { min-height: 420px; }
    .pas2 { grid-template-columns: 1fr; gap: 22px; }
    .pas-flow2 { display: none; }
    .feat-bento { grid-template-columns: 1fr; }
  }

  /* ============ PARCEIROS: ecossistema no hero ============ */
  .eco { position: relative; width: 360px; height: 320px; z-index: 2; }
  .eco-hub { position: absolute; left: 180px; top: 150px; translate: -50% -50%; z-index: 3; background: rgba(16,29,51,.92); border: 1px solid var(--line-strong); border-radius: 999px; padding: 13px 24px; font-family: var(--font-display); font-weight: 800; font-size: 16px; box-shadow: 0 20px 44px -16px rgba(0,0,0,.65); animation: floatCard 6.5s ease-in-out infinite; }
  .eco-hub img { display: block; width: 96px; height: auto; }
  /* Diagrama de integração: logótipo oficial no círculo, com a legenda em duas linhas. */
  .bz-orb i { line-height: 1.6; }
  .eco-line { position: absolute; left: 180px; top: 150px; height: 2px; transform-origin: left center; background: linear-gradient(90deg, rgba(142,209,92,.5), rgba(255,255,255,.08)); border-radius: 2px; z-index: 1; }
  .eco-line i { position: absolute; top: 50%; left: 0; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 10px rgba(142,209,92,.9); animation: packetGo 3s linear infinite; }
  .eco-line.e1 { width: 156px; transform: rotate(-135deg); }
  .eco-line.e2 { width: 160px; transform: rotate(-41deg); }
  .eco-line.e3 { width: 157px; transform: rotate(147deg); }
  .eco-line.e4 { width: 160px; transform: rotate(34deg); }
  .eco-line.e5 { width: 140px; transform: rotate(90deg); }
  .eco-line.e2 i { animation-delay: .6s; }
  .eco-line.e3 i { animation-delay: 1.2s; }
  .eco-line.e4 i { animation-delay: 1.8s; }
  .eco-line.e5 i { animation-delay: 2.4s; }
  .eco-line.e5 em { position: absolute; top: 50%; left: 0; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--green-3); box-shadow: 0 0 10px rgba(199,234,158,.9); animation: packetBack 3s linear infinite 1.2s; }
  .eco-chip { position: absolute; translate: -50% -50%; z-index: 2; display: inline-flex; align-items: center; background: rgba(16,29,51,.9); border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 16px; font-size: 12px; font-weight: 700; box-shadow: 0 14px 30px -12px rgba(0,0,0,.6); animation: floatCard 5.4s ease-in-out infinite; white-space: nowrap; }
  .eco-chip.p1 { left: 70px; top: 40px; animation-delay: .4s; }
  .eco-chip.p2 { left: 300px; top: 45px; animation-delay: 1s; }
  .eco-chip.p3 { left: 48px; top: 235px; animation-delay: 1.6s; }
  .eco-chip.p4 { left: 312px; top: 240px; animation-delay: 2.2s; }
  .eco-chip.you { left: 180px; top: 290px; border-color: rgba(142,209,92,.55); color: var(--green-2); background: rgba(108,185,61,.12); animation-delay: 2.8s; }

  /* ============ PARCEIROS: carrossel infinito de logos ============ */
  /* Sem JS (ou com movimento reduzido) mantém-se a grelha estática com todos os logos. */
  .partner-carousel { --visible: 4; --gap: 14px; margin-top: 40px; position: relative; z-index: 1; }
  /* Modelos de IA só em texto, separados dos logótipos dos parceiros (não sugerir parceria). */
  .partner-logos { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--gap); flex-wrap: wrap; justify-content: center; }
  .partner-logos li { display: flex; align-items: center; justify-content: center; min-width: 190px; height: 92px; padding: 0 34px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.035); transition: border-color .25s, background .25s, transform .25s; }
  .partner-logos li:hover { border-color: var(--line-strong); background: rgba(255,255,255,.06); transform: translateY(-2px); }
  .partner-logos img { display: block; height: var(--h, 34px); width: auto; max-width: 100%; object-fit: contain; }

  /* modo carrossel (ativado por JS): 4 logos visíveis, os restantes entram em loop contínuo */
  .partner-carousel.is-carousel {
    container-type: inline-size; overflow: hidden; padding: 6px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  }
  .is-carousel .partner-logos {
    flex-wrap: nowrap; justify-content: flex-start; gap: 0; width: max-content;
    animation: partnerScroll var(--dur, 20s) linear infinite; will-change: transform;
  }
  .is-carousel:hover .partner-logos, .is-carousel:focus-within .partner-logos { animation-play-state: paused; }
  .is-carousel .partner-logos li { flex: 0 0 auto; min-width: 0; padding: 0 20px; margin-right: var(--gap); width: calc((100cqw - (var(--visible) - 1) * var(--gap)) / var(--visible)); }
  /* desloca exatamente um conjunto completo de logos, para o loop ser invisível */
  @keyframes partnerScroll { to { transform: translateX(calc(-100% / var(--copies, 2))); } }

  @media (max-width: 900px) { .partner-carousel { --visible: 3; } }
  @media (max-width: 560px) {
    .partner-carousel { --visible: 2; --gap: 10px; }
    .partner-logos { gap: 10px; }
    .partner-logos li { min-width: calc(50% - 5px); flex: 1 1 calc(50% - 5px); padding: 0 18px; height: 80px; }
    .partner-logos img { height: calc(var(--h, 34px) * .86); }
    .is-carousel .partner-logos li { flex: 0 0 auto; min-width: 0; padding: 0 12px; height: 80px; }
  }
  @media (prefers-reduced-motion: reduce) { .partner-logos li { transition: none; } .partner-logos li:hover { transform: none; } }
  .pending-note { margin-top: 22px; font-size: 12.5px; color: var(--muted-2); font-style: italic; text-align: center; position: relative; z-index: 1; }

  /* ============ PARCEIROS: terminal API ============ */
  .api-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 12px; position: relative; z-index: 1; }
  .term { width: 100%; max-width: 460px; background: #071018; border: 1px solid var(--line-strong); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0,0,0,.6); }
  .term-bar { display: flex; gap: 6px; padding: 11px 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .term-bar b { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.15); }
  .term-body { padding: 16px 20px 20px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; line-height: 2; color: var(--muted); }
  .term-line { opacity: 0; animation: termIn 9s ease-in-out infinite; }
  .term-line:nth-child(2) { animation-delay: 1.1s; }
  .term-line:nth-child(3) { animation-delay: 2.2s; }
  .term-line:nth-child(4) { animation-delay: 3.3s; }
  .term-line:nth-child(5) { animation-delay: 4.4s; }
  @keyframes termIn { 0% { opacity: 0; transform: translateY(4px); } 8%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; } }
  .term .mth { color: var(--green-2); font-weight: 700; }
  .term .ok { color: #7BD88F; }
  .term .evt { color: var(--green-3); }
  .api-note { margin-top: 18px; font-size: 12.5px; color: var(--muted-2); font-style: italic; border: 1px dashed var(--line-strong); border-radius: 10px; padding: 10px 14px; display: inline-block; }

  /* ============ PARCEIROS: IA no gabinete de contabilidade ============ */
  .ia-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 12px; position: relative; z-index: 1; }
  .ia-copy h3 { font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -0.01em; line-height: 1.3; margin-bottom: 12px; }
  .ia-copy > p { font-size: 15px; color: var(--muted); max-width: 460px; margin-bottom: 20px; }
  .ia-list { display: flex; flex-direction: column; gap: 12px; }
  .ia-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); line-height: 1.5; }
  .ia-list li b { flex-shrink: 0; color: var(--green-2); font-weight: 800; }
  .ia-steps-label { margin-top: 64px; }
  .ia-steps-label + .feat-bento { margin-top: 24px; }
  .feat-bento .rz-ck.num { background: rgba(31,46,81,.55); border-color: var(--line-strong); color: var(--green-2); font-family: var(--font-display); }

  #ia-contabilistas .solution-band { max-width: none; margin-left: 0; margin-right: 0; }

  @media (max-width: 980px) {
    .ia-grid { grid-template-columns: 1fr; gap: 30px; }
    .ia-copy > p { max-width: none; }
    .term { margin: 0 auto; }
  }

  /* ============ PARCEIROS: razões ============ */
  .rz-head { display: flex; align-items: flex-start; gap: 14px; }
  .rz-ck { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: rgba(108,185,61,.15); border: 1px solid rgba(142,209,92,.4); color: var(--green-2); font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; }

  /* ============ PARCEIROS: candidatura ============ */
  .apply-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
  .apply-grid h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -0.015em; margin-bottom: 14px; }
  .apply-grid .lead { font-size: 16px; color: var(--muted); margin-bottom: 30px; max-width: 460px; }

  @media (max-width: 980px) {
    .eco { transform: scale(.86); transform-origin: center; }
    .api-grid, .apply-grid { grid-template-columns: 1fr; gap: 30px; }
    .term, .growth-card { margin: 0 auto; }
    /* minmax(0,…): as linhas da caixa de exemplo da API não podem alargar a coluna para além do ecrã. */
    .api-grid, .apply-grid, .hero-grid, .testi-static-grid { grid-template-columns: minmax(0, 1fr); }
    .term-body { overflow-wrap: anywhere; }
    .eco { justify-self: center; }
  }

  /* ============ PARCEIROS: ilustração de crescimento (candidatura) ============ */
  .growth-card { position: relative; width: 100%; max-width: 400px; background: rgba(16,29,51,.85); border: 1px solid var(--line-strong); border-radius: 16px; padding: 22px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.6); animation: floatCard 7s ease-in-out infinite; }
  .gc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--white); }
  .gc-top .gc-live { display: flex; align-items: center; gap: 7px; }
  .gc-badge { font-size: 9.5px; color: var(--green-2); background: rgba(108,185,61,.12); border: 1px solid rgba(142,209,92,.35); border-radius: 9px; padding: 3px 9px; }
  .gc-chart { display: flex; align-items: flex-end; gap: 12px; height: 132px; padding: 0 6px; border-bottom: 1px solid rgba(255,255,255,.14); }
  .gc-bar { flex: 1; display: flex; flex-direction: column-reverse; gap: 3px; height: 100%; justify-content: flex-start; }
  .gc-bar i { display: block; border-radius: 4px 4px 2px 2px; transform: scaleY(0); transform-origin: bottom; transition: transform .9s var(--ease-out); }
  .gc-bar .seg-p { background: linear-gradient(180deg, var(--green-2), var(--green)); }
  .gc-bar .seg-b { background: rgba(31,46,81,.95); border: 1px solid var(--line-strong); }
  .gc-bar:nth-child(2) i { transition-delay: .12s; }
  .gc-bar:nth-child(3) i { transition-delay: .24s; }
  .gc-bar:nth-child(4) i { transition-delay: .36s; }
  .gc-bar:nth-child(5) i { transition-delay: .48s; }
  .gc-bar:nth-child(6) i { transition-delay: .6s; }
  .growth-card.in-view .gc-bar i { transform: scaleY(1); }
  .gc-legend { display: flex; gap: 16px; margin-top: 14px; font-size: 11px; font-weight: 700; color: var(--muted); }
  .gc-legend b { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-right: 7px; vertical-align: -1px; }
  .gc-legend .lg-p b { background: var(--green); }
  .gc-legend .lg-b b { background: rgba(31,46,81,.95); border: 1px solid var(--line-strong); }

  /* mockup visual de agendamento */

  /* whatsapp: número por confirmar */

  /* ============ RESPONSIVO ============ */
  @media (max-width: 1080px) {
    .pipeline { grid-template-columns: 1fr 64px minmax(300px, 380px) 64px 1fr; }
    .hv-chip.c3 { display: none; }
  }
  @media (max-width: 980px) {
    .wrap { padding: 0 22px; }
    .nav-links, .nav-cta-desktop { display: none; }
    .nav-toggle { display: block; }
    .hero { padding: 56px 0 70px; }
    .pipeline { grid-template-columns: 1fr; gap: 26px; margin-top: 26px; }
    .pl-link, .pl-node.pl-in { display: none; }
    .pl-core { min-height: 430px; }
    .pipeline .hv-chip.c1 { left: 2%; top: -1%; }
    .pipeline .hv-chip.c2 { right: 4%; bottom: 24%; }
    .persona-grid, .steps-grid { grid-template-columns: 1fr; }
    .steps-line { display: none; }
    .step { margin-top: 34px; }
    .step-num { top: -26px; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .proof-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  }
