
    *, *::before, *::after {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    :root {
      --bg:           #f0f3f7;
      --bg-alt:       #e8ecf2;
      --bg-white:     #ffffff;
      --hero-bg:      #0d1e3d;
      --hero-mid:     #0a1830;
      --blue:         #1a54c8;
      --blue-dark:    #0e2a5c;
      --blue-mid:     #1e4099;
      --blue-light:   #4a7fda;
      --blue-pale:    #e8effe;
      --blue-border:  #b8cef0;
      --red:          #b91c1c;
      --red-pale:     #fef2f2;
      --red-border:   #fca5a5;
      --green:        #15803d;
      --green-pale:   #f0fdf4;
      --green-border: #86efac;
      --text:         #0d1b2e;
      --text-sec:     #3d5068;
      --text-muted:   #6e84a0;
      --border:       #d0d8e6;
      --shadow-sm:    0 1px 4px rgba(13,30,61,.06), 0 1px 2px rgba(13,30,61,.04);
      --shadow-md:    0 4px 16px rgba(13,30,61,.08), 0 2px 4px rgba(13,30,61,.05);
      --mono: 'JetBrains Mono', monospace;
      --sans: 'Sora', sans-serif;
      --max-w: 960px;
    }

    html { scroll-behavior: smooth; }

    body {
      background: var(--bg);
      font-family: var(--sans);
      color: var(--text);
      overflow-x: hidden;
    }

    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: var(--bg-alt); }
    ::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

    /* ═══════════════════════════════════
       REVEAL ANIMATION
    ═══════════════════════════════════ */
    [data-reveal] {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity .6s cubic-bezier(.22,.61,.36,1),
                  transform .6s cubic-bezier(.22,.61,.36,1);
    }

    [data-reveal="left"] {
      transform: translateX(-28px);
    }

    [data-reveal="right"] {
      transform: translateX(28px);
    }

    [data-reveal].visible {
      opacity: 1;
      transform: translate(0, 0);
    }

    /* delay helpers */
    [data-delay="100"] { transition-delay: .10s; }
    [data-delay="200"] { transition-delay: .20s; }
    [data-delay="300"] { transition-delay: .30s; }
    [data-delay="400"] { transition-delay: .40s; }
    [data-delay="500"] { transition-delay: .50s; }
    [data-delay="600"] { transition-delay: .60s; }

    /* ═══════════════════════════════════
       ORELHA — CONTACT TAB
    ═══════════════════════════════════ */
    .orelha {
      position: fixed;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      z-index: 200;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .orelha-tab {
      background: var(--blue);
      color: #fff;
      writing-mode: vertical-rl;
      text-orientation: mixed;
      transform: rotate(180deg);
      padding: 18px 10px;
      font-family: var(--mono);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 3px;
      text-transform: uppercase;
      text-decoration: none;
      border-radius: 6px 0 0 6px;
      box-shadow: -3px 0 12px rgba(13,30,61,.18);
      transition: background .2s, padding .2s, box-shadow .2s;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      cursor: pointer;
      user-select: none;
    }

    .orelha-tab:hover {
      background: var(--blue-dark);
      padding-right: 14px;
      box-shadow: -4px 0 18px rgba(13,30,61,.28);
    }

    .orelha-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: rgba(255,255,255,.50);
      flex-shrink: 0;
    }

    /* tooltip that opens on hover */
    .orelha-tooltip {
      position: absolute;
      right: 100%;
      top: 50%;
      transform: translateY(-50%) translateX(8px);
      background: var(--blue-dark);
      color: #fff;
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: 1px;
      padding: 10px 16px;
      border-radius: 6px;
      white-space: nowrap;
      pointer-events: none;
      opacity: 0;
      transition: opacity .2s, transform .2s;
      box-shadow: var(--shadow-md);
    }

    .orelha-tooltip::after {
      content: '';
      position: absolute;
      left: 100%;
      top: 50%;
      transform: translateY(-50%);
      border: 6px solid transparent;
      border-left-color: var(--blue-dark);
    }

    .orelha:hover .orelha-tooltip {
      opacity: 1;
      transform: translateY(-50%) translateX(0);
    }

    /* ═══════════════════════════════════
       NAV
    ═══════════════════════════════════ */
    nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 48px;
      height: 60px;
      background: var(--bg-white);
      border-bottom: 2px solid var(--blue);
      box-shadow: var(--shadow-sm);
    }

    .nav-brand {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .nav-logo {
      font-family: var(--mono);
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 3px;
      color: var(--blue-dark);
      text-transform: uppercase;
    }

    .nav-sep {
      width: 1px;
      height: 18px;
      background: var(--border);
    }

    .nav-product {
      font-family: var(--mono);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 3px;
      color: var(--text-muted);
      text-transform: uppercase;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 28px;
      list-style: none;
    }

    .nav-links a {
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--text-sec);
      text-decoration: none;
      padding-bottom: 2px;
      border-bottom: 2px solid transparent;
      transition: color .2s, border-color .2s;
    }

    .nav-links a:hover {
      color: var(--blue);
      border-bottom-color: var(--blue);
    }

    /* ═══════════════════════════════════
       SHARED
    ═══════════════════════════════════ */
    section { position: relative; }

    .container {
      max-width: var(--max-w);
      margin: 0 auto;
      padding: 0 40px;
    }

    .section-tag {
      font-family: var(--mono);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 4px;
      text-transform: uppercase;
      margin-bottom: 18px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .section-tag--blue { color: var(--blue); }
    .section-tag--red  { color: var(--red);  }

    .section-tag::before {
      content: '';
      display: inline-block;
      width: 16px;
      height: 2px;
      background: currentColor;
      flex-shrink: 0;
    }

    .section-rule {
      width: 100%;
      height: 1px;
      background: var(--border);
      margin-top: 72px;
    }

    .destaque {
      color: var(--blue-dark);
      font-weight: 700;
      background: linear-gradient(180deg, transparent 56%, rgba(26,84,200,.12) 56%);
      padding: 0 2px;
    }

    .destaque-red {
      color: var(--red);
      font-weight: 700;
    }

    /* ═══════════════════════════════════
       HERO
    ═══════════════════════════════════ */
    #hero {
      min-height: 88vh;
      display: flex;
      align-items: center;
      padding: 80px 0 50px;
      background: var(--hero-bg);
      position: relative;
      overflow: hidden;
    }

    #hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
      background-size: 56px 56px;
      pointer-events: none;
    }

    #hero::after {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 4px;
      background: linear-gradient(180deg, var(--blue), var(--blue-light));
    }

    .hero-tag {
      font-family: var(--mono);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 4px;
      text-transform: uppercase;
      color: var(--blue-light);
      margin-bottom: 28px;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .hero-tag::before {
      content: '';
      width: 28px;
      height: 2px;
      background: var(--blue-light);
      flex-shrink: 0;
    }

    #hero h1 {
      font-size: clamp(28px, 4.5vw, 52px);
      font-weight: 800;
      line-height: 1.15;
      letter-spacing: -1px;
      color: #ffffff;
      margin-bottom: 28px;
      max-width: 760px;
    }

    #hero h1 em {
      font-style: normal;
      color: #6fa8ff;
    }

    #hero .hero-sub {
      font-size: 17px;
      color: #8fa8cc;
      line-height: 1.7;
      max-width: 540px;
      margin-bottom: 8px;
      text-align: justify;
    }

    .hero-res {
      display: inline-block;
      margin-top: 16px;
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: 2px;
      color: #6a88b0;
      border: 1px solid rgba(255,255,255,.10);
      padding: 7px 14px;
      border-radius: 4px;
      background: rgba(255,255,255,.04);
    }

    .hero-cta {
      margin-top: 48px;
      display: flex;
      align-items: center;
      gap: 14px;
      flex-wrap: wrap;
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 13px 28px;
      background: var(--blue);
      color: #ffffff;
      font-family: var(--mono);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      text-decoration: none;
      border-radius: 4px;
      box-shadow: var(--shadow-md);
      transition: background .2s, transform .15s;
    }

    .btn-primary:hover {
      background: var(--blue-mid);
      transform: translateY(-1px);
    }

    .btn-ghost {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 28px;
      border: 1px solid rgba(255,255,255,.20);
      color: #c8d8f0;
      font-family: var(--mono);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      text-decoration: none;
      border-radius: 4px;
      transition: border-color .2s, background .2s, color .2s;
    }

    .btn-ghost:hover {
      border-color: rgba(255,255,255,.45);
      background: rgba(255,255,255,.07);
      color: #ffffff;
    }

    /* ═══════════════════════════════════
       HERO — LAYOUT 2 COLUNAS + MAPA
    ═══════════════════════════════════ */
    .hero-inner {
      max-width: 1380px;
      width: 100%;
      margin: 0 auto;
      padding: 0 52px;
      display: flex;
      align-items: center;
      gap: 40px;
    }

    .hero-text {
      flex: 0 0 38%;
    }

    #hero h1 { max-width: 100%; }

    .hero-map-wrap {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      position: relative;
    }

    .mapa-bahia {
      width: 100%;
      max-width: 640px;
      height: auto;
      overflow: visible;
    }

    /* pulsing rings para municípios */
    .muni-ring {
      transform-box: fill-box;
      transform-origin: center;
    }

    .muni-ring.p0  { animation: mR 2.2s ease-out infinite 0.0s; }
    .muni-ring.p1  { animation: mR 2.6s ease-out infinite 0.3s; }
    .muni-ring.p2  { animation: mR 2.4s ease-out infinite 0.8s; }
    .muni-ring.p3  { animation: mR 3.0s ease-out infinite 0.5s; }
    .muni-ring.p4  { animation: mR 2.8s ease-out infinite 1.1s; }
    .muni-ring.p5  { animation: mR 2.5s ease-out infinite 1.6s; }
    .muni-ring.p6  { animation: mR 2.7s ease-out infinite 0.2s; }
    .muni-ring.p7  { animation: mR 2.3s ease-out infinite 1.9s; }
    .muni-ring.p8  { animation: mR 3.2s ease-out infinite 0.7s; }
    .muni-ring.p9  { animation: mR 2.9s ease-out infinite 1.3s; }
    .muni-ring.p10 { animation: mR 2.6s ease-out infinite 0.4s; }
    .muni-ring.p11 { animation: mR 2.4s ease-out infinite 2.0s; }
    .muni-ring.p12 { animation: mR 2.8s ease-out infinite 0.9s; }
    .muni-ring.p13 { animation: mR 3.1s ease-out infinite 1.5s; }
    .muni-ring.p14 { animation: mR 2.5s ease-out infinite 0.6s; }
    .muni-ring.p15 { animation: mR 2.2s ease-out infinite 1.7s; }
    .muni-ring.p16 { animation: mR 2.9s ease-out infinite 0.1s; }
    .muni-ring.p17 { animation: mR 3.3s ease-out infinite 1.2s; }
    .muni-ring.p18 { animation: mR 2.4s ease-out infinite 0.8s; }
    .muni-ring.p19 { animation: mR 2.6s ease-out infinite 2.2s; }

    @keyframes mR {
      0%   { transform: scale(1);   opacity: .55; }
      100% { transform: scale(3.8); opacity: 0;   }
    }

    /* nó de coleta (costa) */
    .collect-ring {
      transform-box: fill-box;
      transform-origin: center;
      animation: cR 1.4s ease-out infinite;
    }

    @keyframes cR {
      0%   { transform: scale(1); opacity: .7; }
      100% { transform: scale(4); opacity: 0;  }
    }

    /* IRIS-5 — anel externo pulsante */
    .iris-outer {
      transform-box: fill-box;
      transform-origin: center;
      animation: iO 2.4s ease-in-out infinite;
    }

    @keyframes iO {
      0%, 100% { opacity: .28; transform: scale(1);   }
      50%       { opacity: .10; transform: scale(1.12); }
    }

    @media (max-width: 1100px) {
      .hero-inner { gap: 28px; padding: 0 36px; }
      .hero-text  { flex: 0 0 40%; }
    }

    @media (max-width: 860px) {
      .hero-inner { flex-direction: column; padding: 0 20px; gap: 20px; }
      .hero-text  { width: 100%; flex: none; }
      .hero-map-wrap { width: 100%; justify-content: center; }
      .mapa-bahia { max-width: 100%; }
      #hero { padding: 80px 0 40px; min-height: auto; }
      #hero h1 { font-size: clamp(24px, 5vw, 40px); }
      #hero .hero-sub { font-size: 15px; text-align: left; }
    }

    @media (max-width: 480px) {
      .hero-inner { padding: 0 16px; }
      .hero-cta { flex-direction: column; align-items: flex-start; gap: 10px; }
      .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
      .mapa-bahia { max-width: 100%; }
    }

    /* ═══════════════════════════════════
       RESPONSABILIDADE
    ═══════════════════════════════════ */
    #responsabilidade {
      padding: 96px 0;
      background: var(--bg-white);
    }

    .quote-block {
      border-left: 4px solid var(--blue);
      padding: 24px 32px;
      background: var(--blue-pale);
      border-radius: 0 8px 8px 0;
      margin-bottom: 32px;
    }

    .quote-block blockquote {
      font-size: 17px;
      font-style: italic;
      color: var(--text-sec);
      line-height: 1.8;
    }

    .quote-block blockquote span {
      color: var(--blue-dark);
      font-weight: 700;
    }

    #responsabilidade .body-text {
      font-size: 16px;
      color: var(--text-sec);
      line-height: 1.9;
      margin-bottom: 24px;
    }

    #responsabilidade .body-text strong {
      color: var(--blue-dark);
      font-weight: 700;
    }

    .ref-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-family: var(--mono);
      font-size: 11px;
      color: var(--text-muted);
      padding: 8px 16px;
      border: 1px solid var(--blue-border);
      background: var(--blue-pale);
      border-radius: 4px;
    }

    /* ═══════════════════════════════════
       ORIGEM
    ═══════════════════════════════════ */
    #origem {
      padding: 96px 0;
      background: var(--bg);
      overflow: hidden;
    }

    .year-watermark {
      position: absolute;
      font-family: var(--mono);
      font-size: clamp(80px, 16vw, 180px);
      font-weight: 800;
      color: var(--blue);
      opacity: .04;
      top: 16px;
      right: -10px;
      letter-spacing: -6px;
      line-height: 1;
      pointer-events: none;
      user-select: none;
      z-index: 0;
    }

    #origem .content-wrap {
      position: relative;
      z-index: 1;
    }

    #origem h2 {
      font-size: clamp(24px, 3.5vw, 38px);
      font-weight: 800;
      line-height: 1.24;
      letter-spacing: -.5px;
      color: var(--text);
      margin-bottom: 30px;
    }

    #origem h2 em {
      font-style: normal;
      color: var(--blue);
    }

    #origem .body-text {
      font-size: 16px;
      color: var(--text-sec);
      line-height: 1.9;
      margin-bottom: 18px;
    }

    #origem .body-text strong {
      color: var(--blue-dark);
      font-weight: 700;
    }

    /* ═══════════════════════════════════
       NÚMEROS / STATS
    ═══════════════════════════════════ */
    #numeros {
      padding: 96px 0;
      background: var(--hero-bg);
      position: relative;
      overflow: hidden;
    }

    #numeros::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
      background-size: 56px 56px;
      pointer-events: none;
    }

    #numeros .container {
      position: relative;
      z-index: 1;
    }

    #numeros .section-tag--blue {
      color: #6fa8ff;
    }

    #numeros .section-tag--blue::before {
      background: #6fa8ff;
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 2px;
      background: rgba(255,255,255,.06);
      border: 1px solid rgba(255,255,255,.08);
      border-radius: 8px;
      overflow: hidden;
      margin-top: 40px;
    }

    .stat-card {
      background: rgba(13,30,61,.80);
      padding: 40px 28px;
      text-align: center;
      border-top: 3px solid var(--blue);
      transition: background .2s;
    }

    .stat-card:hover {
      background: rgba(26,84,200,.12);
    }

    .stat-num {
      font-family: var(--mono);
      font-size: clamp(22px, 2.5vw, 36px);
      font-weight: 800;
      color: #6fa8ff;
      line-height: 1;
      margin-bottom: 12px;
    }

    .stat-desc {
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: #6a88b0;
      line-height: 1.6;
    }

    /* ═══════════════════════════════════
       ABRANGÊNCIA
    ═══════════════════════════════════ */
    #abrangencia {
      padding: 96px 0;
      background: var(--bg-white);
    }

    #abrangencia h2 {
      font-size: clamp(24px, 3.5vw, 38px);
      font-weight: 800;
      line-height: 1.22;
      letter-spacing: -.5px;
      color: var(--text);
      margin-bottom: 4px;
    }

    #abrangencia h2 span { color: var(--blue); }

    .sub-h2 {
      font-size: 16px;
      color: var(--text-muted);
      margin-bottom: 40px;
      margin-top: 4px;
    }

    .feature-list {
      display: flex;
      flex-direction: column;
      border: 1px solid var(--border);
      border-radius: 8px;
      overflow: hidden;
    }

    .feature-item {
      display: flex;
      align-items: flex-start;
      gap: 20px;
      padding: 20px 28px;
      background: var(--bg-white);
      border-bottom: 1px solid var(--border);
      transition: background .15s;
    }

    .feature-item:last-child { border-bottom: none; }

    .feature-item:hover { background: var(--blue-pale); }

    .feature-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--blue);
      margin-top: 6px;
      flex-shrink: 0;
    }

    .feature-dot--green { background: var(--green); }

    .feature-text {
      font-size: 14px;
      color: var(--text-sec);
      line-height: 1.7;
      text-transform: uppercase;
      letter-spacing: .4px;
    }

    .feature-text strong {
      color: var(--blue-dark);
      font-weight: 700;
    }

    /* ── TERMINAL DEMO (feature-item clicavel) ── */
    .feature-item--demo {
      cursor: pointer;
    }
    .feature-item--demo:hover .demo-badge {
      background: var(--blue);
      color: #fff;
    }
    .demo-badge {
      display: inline-block;
      margin-left: 8px;
      padding: 1px 7px;
      border-radius: 4px;
      font-size: 11px;
      font-family: var(--mono);
      background: var(--blue-pale);
      color: var(--blue);
      border: 1px solid var(--blue-border);
      vertical-align: middle;
      transition: background .15s, color .15s;
      letter-spacing: .3px;
    }

    /* ── Terminal inline expansível ── */
    .kali-inline {
      max-height: 0;
      overflow: hidden;
      transition: max-height .45s cubic-bezier(.4,0,.2,1);
      background: #0c0c0c;
      border-left: 3px solid var(--blue);
    }
    .kali-inline.open { max-height: 480px; }

    .kali-bar {
      background: #2d2d2d;
      padding: 6px 14px;
      display: flex;
      align-items: center;
      border-bottom: 1px solid #1a1a1a;
      user-select: none;
    }
    .kali-bar-title {
      color: #cccccc;
      font-size: 12px;
      font-family: 'JetBrains Mono','Courier New',monospace;
      letter-spacing: .3px;
    }
    .kali-body {
      height: 420px;
      overflow-y: auto;
      padding: 12px 16px;
      background: #0c0c0c;
      font-size: 13px;
      line-height: 1.55;
    }
    .kali-body::-webkit-scrollbar { width: 5px; }
    .kali-body::-webkit-scrollbar-track { background: #1a1a1a; }
    .kali-body::-webkit-scrollbar-thumb { background: #444; border-radius: 3px; }

    .kl { font-family:'JetBrains Mono','Courier New',monospace; font-size:13px; line-height:1.55; white-space:pre-wrap; word-break:break-word; }
    .kl-default { color:#f8f8f2; }
    .kl-cyan    { color:#8be9fd; }
    .kl-green   { color:#50fa7b; }
    .kl-yellow  { color:#f1fa8c; }
    .kl-blink {
      display:inline-block; width:8px; height:14px;
      background:#f8f8f2;
      animation: kblink 1s step-end infinite;
      vertical-align:text-bottom;
    }
    @keyframes kblink { 0%,100%{opacity:1} 50%{opacity:0} }

    /* ═══════════════════════════════════
       IDENTIDADE
    ═══════════════════════════════════ */
    #identidade {
      padding: 96px 0;
      background: var(--bg);
    }

    .callout-box {
      border: 1px solid var(--red-border);
      border-left: 4px solid var(--red);
      background: var(--red-pale);
      border-radius: 0 8px 8px 0;
      padding: 28px 32px;
      margin-bottom: 48px;
    }

    .callout-label {
      font-family: var(--mono);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: var(--red);
      margin-bottom: 12px;
    }

    .callout-text {
      font-size: 15px;
      color: var(--text-sec);
      line-height: 1.82;
    }

    .identity-label {
      font-family: var(--mono);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 4px;
      text-transform: uppercase;
      color: var(--blue);
      margin-bottom: 18px;
    }

    .pillars {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .pill {
      padding: 9px 20px;
      border-radius: 4px;
      font-family: var(--mono);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      border: 1px solid var(--blue-border);
      color: var(--blue-dark);
      background: var(--blue-pale);
    }

    .pill--alt {
      border-color: var(--red-border);
      color: var(--red);
      background: var(--red-pale);
    }

    /* ═══════════════════════════════════
       TIMELINE
    ═══════════════════════════════════ */
    #processo {
      padding: 96px 0;
      background: var(--bg-white);
    }

    #processo h2 {
      font-size: clamp(22px, 3.5vw, 36px);
      font-weight: 800;
      line-height: 1.22;
      letter-spacing: -.5px;
      color: var(--text);
      margin-bottom: 4px;
    }

    #processo h2 span { color: var(--blue); }

    .processo-sub {
      font-family: var(--mono);
      font-size: 12px;
      color: var(--text-muted);
      letter-spacing: 1px;
      margin-bottom: 48px;
      margin-top: 4px;
    }

    .timeline {
      position: relative;
      padding-left: 40px;
      max-width: 100%;
    }

    .timeline::before {
      content: '';
      position: absolute;
      left: 12px;
      top: 6px;
      bottom: 20px;
      width: 1px;
      background: var(--border);
    }

    .tl-item {
      position: relative;
      margin-bottom: 24px;
      display: flex;
      align-items: flex-start;
      gap: 20px;
    }

    .tl-item:last-child { margin-bottom: 0; }

    .tl-dot {
      position: absolute;
      left: -33px;
      top: 5px;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--blue);
      border: 2px solid var(--bg-white);
      z-index: 2;
      box-shadow: 0 0 0 2px var(--blue-border);
    }

    .tl-item--final .tl-dot {
      background: var(--red);
      box-shadow: 0 0 0 2px var(--red-border);
      width: 12px;
      height: 12px;
      left: -34px;
      top: 4px;
    }

    .tl-item--pub .tl-dot {
      background: var(--green);
      box-shadow: 0 0 0 2px var(--green-border);
      width: 12px;
      height: 12px;
      left: -34px;
      top: 4px;
    }

    .tl-date {
      font-family: var(--mono);
      font-size: 12px;
      font-weight: 700;
      color: var(--blue);
      min-width: 96px;
      flex-shrink: 0;
      padding-top: 1px;
    }

    .tl-item--final .tl-date { color: var(--red); }
    .tl-item--pub .tl-date   { color: var(--green); }

    .tl-body {
      border-left: 1px solid var(--border);
      padding-left: 18px;
    }

    .tl-unit {
      font-size: 14px;
      font-weight: 700;
      color: var(--text);
    }

    .tl-status {
      font-size: 11px;
      color: var(--text-muted);
      margin-top: 2px;
      font-family: var(--mono);
    }

    .tl-duration {
      margin-top: 32px;
      display: inline-flex;
      align-items: center;
      gap: 16px;
      padding: 14px 24px;
      border: 1px solid var(--red-border);
      border-radius: 6px;
      background: var(--red-pale);
    }

    .tl-duration strong {
      font-family: var(--mono);
      font-size: 20px;
      color: var(--red);
      font-weight: 800;
    }

    .tl-duration span {
      font-size: 11px;
      color: var(--text-muted);
      letter-spacing: 1px;
      text-transform: uppercase;
      font-family: var(--mono);
    }

    /* ═══════════════════════════════════
       FUNDAMENTAÇÃO
    ═══════════════════════════════════ */
    #fundamentacao {
      padding: 96px 0;
      background: var(--bg);
    }

    .legal-block {
      background: var(--bg-white);
      border: 1px solid var(--border);
      border-top: 3px solid var(--blue);
      border-radius: 0 0 8px 8px;
      padding: 40px 44px;
      box-shadow: var(--shadow-sm);
    }

    .legal-text {
      font-size: 15px;
      color: var(--text-sec);
      line-height: 1.95;
      text-align: justify;
    }

    .legal-text + .legal-text {
      margin-top: 22px;
      padding-top: 22px;
      border-top: 1px solid var(--border);
    }

    /* ═══════════════════════════════════
       VOTO
    ═══════════════════════════════════ */
    #voto {
      padding: 96px 0;
      background: var(--bg-white);
    }

    .voto-box {
      background: var(--bg-white);
      border: 1px solid var(--border);
      border-radius: 8px;
      overflow: hidden;
      box-shadow: var(--shadow-md);
    }

    .voto-header-strip {
      padding: 24px 40px;
      background: var(--blue-pale);
      border-bottom: 2px solid var(--blue-border);
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
    }

    .voto-label {
      font-family: var(--mono);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: var(--blue);
      margin-bottom: 4px;
    }

    .voto-title {
      font-size: 24px;
      font-weight: 800;
      color: var(--blue-dark);
      letter-spacing: -1px;
    }

    .badge-procedente {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 9px 18px;
      border-radius: 4px;
      background: var(--green-pale);
      border: 1px solid var(--green-border);
      font-family: var(--mono);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--green);
    }

    .badge-procedente::before {
      content: '';
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--green);
      flex-shrink: 0;
    }

    .badge-parcial {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 9px 18px;
      border-radius: 4px;
      background: #fff7ed;
      border: 1px solid #fed7aa;
      font-family: var(--mono);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: #9a3412;
    }

    .badge-parcial::before {
      content: '';
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #ea580c;
      flex-shrink: 0;
    }

    .voto-body {
      padding: 36px 40px;
    }

    .voto-text {
      font-size: 15px;
      color: var(--text-sec);
      line-height: 1.9;
      text-align: justify;
      margin-bottom: 22px;
    }

    .voto-text strong { color: var(--blue-dark); font-weight: 700; }

    .voto-text .valor {
      color: var(--red);
      font-weight: 700;
      font-family: var(--mono);
    }

    .voto-determ {
      border-top: 1px solid var(--border);
      padding-top: 22px;
      margin-bottom: 22px;
    }

    .voto-determ p {
      font-size: 14px;
      color: var(--text-sec);
      line-height: 1.85;
      text-align: justify;
    }

    .voto-determ strong { color: var(--blue-dark); font-weight: 700; }

    .sessao-info {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 6px;
      padding: 16px 22px;
    }

    .sessao-info p {
      font-family: var(--mono);
      font-size: 12px;
      color: var(--text-muted);
      line-height: 1.7;
    }

    .sessao-info .relator {
      color: var(--blue-dark);
      font-weight: 700;
    }

    /* ═══════════════════════════════════
       FECHO
    ═══════════════════════════════════ */
    #fecho {
      padding: 110px 0;
      background: var(--hero-bg);
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    #fecho::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
      background-size: 56px 56px;
      pointer-events: none;
    }

    #fecho::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--blue), var(--blue-light));
    }

    #fecho .container {
      position: relative;
      z-index: 1;
    }

    .quote-mark {
      font-size: 72px;
      font-weight: 800;
      color: var(--blue-light);
      opacity: .20;
      line-height: 1;
      margin-bottom: 4px;
    }

    #fecho h2 {
      font-size: clamp(22px, 3.5vw, 36px);
      font-weight: 800;
      line-height: 1.38;
      letter-spacing: -.5px;
      color: #ffffff;
      margin-bottom: 20px;
      max-width: 680px;
      margin-left: auto;
      margin-right: auto;
    }

    #fecho h2 em {
      font-style: normal;
      color: #6fa8ff;
    }

    #fecho .final-sub {
      font-size: 16px;
      color: #8fa8cc;
      line-height: 1.75;
      max-width: 500px;
      margin: 0 auto 48px;
    }

    .cta-line {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      font-family: var(--mono);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 4px;
      text-transform: uppercase;
      color: var(--blue-light);
    }

    .cta-line::before,
    .cta-line::after {
      content: '';
      width: 24px;
      height: 1px;
      background: var(--blue-light);
      opacity: .6;
    }

    /* ═══════════════════════════════════
       FOOTER
    ═══════════════════════════════════ */
    footer {
      padding: 24px 48px;
      background: var(--hero-mid);
      border-top: 1px solid rgba(255,255,255,.06);
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 10px;
    }

    .foot-brand {
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: 3px;
      color: #6a88b0;
      text-transform: uppercase;
    }

    .foot-brand span { color: var(--blue-light); }

    .foot-note {
      font-family: var(--mono);
      font-size: 10px;
      color: #4a6080;
      letter-spacing: 1px;
    }

    /* ═══════════════════════════════════
       CASOS REAIS — carousel
    ═══════════════════════════════════ */
    #casos {
      padding: 96px 0;
      background: var(--bg-white);
    }

    .casos-outer {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 40px;
    }

    .casos-section-hd {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
      margin-bottom: 28px;
    }

    .casos-section-hd h2 {
      font-size: clamp(22px, 3.5vw, 36px);
      font-weight: 800;
      line-height: 1.22;
      letter-spacing: -.5px;
      color: var(--text);
      margin-top: 8px;
      margin-bottom: 0;
    }

    .casos-section-hd h2 span { color: var(--blue); }

    /* navegação do carousel */
    .casos-nav {
      display: flex;
      align-items: center;
      gap: 10px;
      padding-top: 4px;
      flex-shrink: 0;
    }

    .casos-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: 6px;
      border: 1px solid var(--blue-border);
      background: var(--blue-pale);
      color: var(--blue-dark);
      font-size: 18px;
      cursor: pointer;
      transition: background .15s, border-color .15s, color .15s, transform .1s;
      flex-shrink: 0;
    }

    .casos-btn:hover:not(:disabled) {
      background: var(--blue);
      color: #fff;
      border-color: var(--blue);
      transform: scale(1.06);
    }

    .casos-btn:disabled {
      opacity: .28;
      cursor: default;
    }

    .casos-indicator {
      font-family: var(--mono);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 2px;
      color: var(--text-muted);
      min-width: 44px;
      text-align: center;
    }

    /* viewport do carousel */
    .casos-carousel {
      overflow: hidden;
      border-radius: 10px;
      border: 1px solid var(--border);
      background: var(--bg);
      box-shadow: var(--shadow-md);
    }

    .casos-track {
      display: flex;
      width: 100%;
      transition: transform .45s cubic-bezier(.4,0,.2,1);
      will-change: transform;
    }

    /* slide individual */
    .caso-slide {
      min-width: 100%;
      width: 100%;
      flex-shrink: 0;
      padding: 40px 44px 44px;
      box-sizing: border-box;
      overflow: hidden;
    }

    /* cabeçalho do caso */
    .caso-hd {
      margin-bottom: 24px;
      padding-bottom: 20px;
      border-bottom: 1px solid var(--border);
    }

    .caso-num {
      font-family: var(--mono);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: var(--red);
      margin-bottom: 6px;
    }

    .caso-title {
      font-size: clamp(18px, 2.5vw, 26px);
      font-weight: 800;
      line-height: 1.22;
      letter-spacing: -.4px;
      color: var(--text);
    }

    .caso-title span { color: var(--blue); }

    .caso-sub {
      font-family: var(--mono);
      font-size: 12px;
      color: var(--text-muted);
      letter-spacing: 1px;
      margin-top: 4px;
    }

    /* faixa de tramitação acima das colunas */
    .caso-tl-section {
      margin-bottom: 28px;
      padding-bottom: 24px;
      border-bottom: 1px solid var(--border);
    }

    /* duas colunas alinhadas pelo topo: fundamentação | seta | voto */
    .caso-cols {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr);
      align-items: start;
      gap: 0;
    }

    /* seta vertical */
    .caso-arrow-col {
      display: flex;
      justify-content: center;
      padding-top: 28px;
    }

    .caso-arrow {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .caso-arrow-label {
      font-family: var(--mono);
      font-size: 8px;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--text-muted);
      writing-mode: vertical-rl;
      transform: rotate(180deg);
      margin-bottom: 6px;
    }

    .caso-arrow-shaft {
      width: 2px;
      height: 36px;
      background: linear-gradient(180deg, var(--blue-border), var(--blue));
      opacity: .75;
    }

    .caso-arrow-head {
      width: 0;
      height: 0;
      border-left: 7px solid transparent;
      border-right: 7px solid transparent;
      border-top: 10px solid var(--blue);
      opacity: .85;
    }

    /* voto sticky no scroll */
    .caso-right .voto-box {
      position: sticky;
      top: 80px;
    }

    @media (max-width: 860px) {
      .casos-outer  { padding: 0 20px; }
      .caso-slide   { padding: 28px 22px 32px; }
      .caso-cols    { grid-template-columns: 1fr; }
      .caso-arrow-col { padding: 14px 0 14px 20px; justify-content: flex-start; }
      .caso-arrow        { flex-direction: row; }
      .caso-arrow-label  { display: none; }
      .caso-arrow-shaft  { width: 36px; height: 2px; background: linear-gradient(90deg, var(--blue-border), var(--blue)); }
      .caso-arrow-head   { border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 10px solid var(--blue); border-right: none; }
      .caso-right .voto-box { position: static; }
    }

    @media (max-width: 520px) {
      .casos-section-hd { flex-direction: column; gap: 12px; }
    }

    /* ═══════════════════════════════════
       RESPONSIVE
    ═══════════════════════════════════ */
    @media (max-width: 860px) {
      nav { padding: 0 20px; }
      .nav-links { display: none; }
      .container { padding: 0 20px; }
      .stats-grid { grid-template-columns: 1fr 1fr; }
      .legal-block { padding: 24px 22px; }
      .voto-header-strip { padding: 18px 22px; }
      .voto-body { padding: 24px 22px; }
      footer { padding: 20px 24px; }
      .orelha-tab { font-size: 10px; padding: 14px 8px; }
      #responsabilidade, #origem, #numeros, #abrangencia,
      #identidade, #processo, #fundamentacao, #voto, #fecho {
        padding: 64px 0;
      }
      .quote-block { padding: 18px 22px; }
      .timeline { max-width: 100%; }
    }

    @media (max-width: 520px) {
      .stats-grid { grid-template-columns: 1fr; gap: 0; }
      .pillars { gap: 8px; }
      .pill { font-size: 10px; padding: 8px 14px; }
      .tl-date { min-width: 80px; font-size: 11px; }

      /* orelha vira botão flutuante no canto inferior direito */
      .orelha {
        top: auto;
        bottom: 20px;
        right: 16px;
        transform: none;
        flex-direction: row;
      }
      .orelha-tab {
        writing-mode: horizontal-tb;
        transform: none;
        border-radius: 50px;
        padding: 11px 18px;
        letter-spacing: 1.5px;
        font-size: 11px;
        gap: 6px;
        box-shadow: 0 4px 18px rgba(13,30,61,.35);
      }
      .orelha-dot { display: none; }
      .orelha-tooltip { display: none; }
    }

    /* ═══════════════════════════════════
       FLUXO DE DOCUMENTOS
    ═══════════════════════════════════ */
    #fluxo {
      padding: 80px 0;
      background: #04091a;
      overflow: hidden;
      position: relative;
    }

    /* camada 1: gradientes radiais de profundidade */
    #fluxo::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 60% 55% at 8%  20%,  rgba(26,84,200,.16)  0%, transparent 65%),
        radial-gradient(ellipse 50% 60% at 92% 80%,  rgba(14,42,92,.28)   0%, transparent 62%),
        radial-gradient(ellipse 42% 40% at 50% 2%,   rgba(26,84,200,.09)  0%, transparent 58%),
        radial-gradient(ellipse 35% 35% at 75% 45%,  rgba(6,16,40,.60)    0%, transparent 55%);
      pointer-events: none;
      z-index: 0;
    }

    /* camada 2: grid técnico */
    #fluxo::after {
      content: '';
      position: absolute;
      inset: 0;
      background:
        linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px);
      background-size: 56px 56px;
      pointer-events: none;
      z-index: 0;
    }

    .fluxo-wrap {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 40px;
      position: relative;
      z-index: 1;
    }

    .fluxo-hd {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 32px;
      padding-bottom: 20px;
      border-bottom: 1px solid rgba(255,255,255,.07);
    }

    .fluxo-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 0 3px;
    }

    .fluxo-col {
      display: flex;
      flex-direction: column;
    }

    .frow {
      display: flex;
      align-items: center;
      gap: 9px;
      padding: 8px 12px;
      border-bottom: 1px solid rgba(255,255,255,.035);
      min-height: 40px;
      transition: background .15s;
      position: relative;
    }

    .frow:hover {
      background: rgba(26,84,200,.12);
    }

    .frow-icon {
      flex-shrink: 0;
      display: flex;
      align-items: center;
      width: 26px;
    }

    @keyframes folderPulse {
      0%   { transform: scale(1);    filter: brightness(1); }
      40%  { transform: scale(1.40); filter: brightness(1.6); }
      100% { transform: scale(1);    filter: brightness(1); }
    }

    .frow-icon--pulse svg {
      animation: folderPulse .32s ease forwards;
    }

    .frow-code {
      font-family: var(--mono);
      font-size: 11px;
      font-weight: 700;
      color: var(--blue-light);
      letter-spacing: .4px;
      flex-shrink: 0;
      min-width: 84px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .frow-name {
      font-size: 12px;
      color: #607a99;
      flex: 1;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      letter-spacing: .1px;
    }

    /* zona emissora de bolinhas por pasta */
    .frow-pdf {
      flex-shrink: 0;
      width: 20px;
      height: 22px;
      position: relative;
      overflow: visible;
    }

    /* bolinha individual */
    .dot-particle {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      pointer-events: none;
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: #60a5fa;
      box-shadow: 0 0 5px rgba(96,165,250,.75);
    }

    .dot-particle--fly {
      animation: dotRise 1.1s ease-out forwards;
    }

    @keyframes dotRise {
      0%   { opacity: 1;   transform: translate(-50%, -50%)                 scale(1);   }
      55%  { opacity: 0.7; transform: translate(-50%, calc(-50% - 65px))    scale(0.8); }
      100% { opacity: 0;   transform: translate(-50%, calc(-50% - 130px))   scale(0.3); }
    }

    /* destaque vermelho — emendas parlamentares */
    .frow--alert {
      background: rgba(185,28,28,.14);
      border-left: 3px solid #b91c1c;
      border-bottom-color: rgba(185,28,28,.18);
    }

    .frow--alert .frow-code {
      color: #fca5a5;
    }

    .frow--alert .frow-name {
      color: #fca5a5;
      font-weight: 600;
    }

    .frow--alert .frow-icon svg path {
      fill: #ef4444;
    }

    .frow--alert:hover {
      background: rgba(185,28,28,.22);
    }

    @media (max-width: 1100px) {
      .fluxo-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 640px) {
      .fluxo-grid  { grid-template-columns: 1fr; }
      .fluxo-wrap  { padding: 0 16px; }
      .fluxo-hd    { flex-direction: column; align-items: flex-start; gap: 10px; }
      .fluxo-total { align-items: flex-start; }
      .frow        { padding: 6px 8px; gap: 6px; min-height: 34px; }
      .frow-code   { min-width: 64px; font-size: 10px; }
      .frow-name   { font-size: 10.5px; }
    }

    @media (max-width: 400px) {
      .frow-code { min-width: 52px; font-size: 9.5px; }
      .frow-name { font-size: 10px; }
    }

    /* ═══════════════════════════════════
       LAI — DADOS PÚBLICOS
    ═══════════════════════════════════ */
    #lai {
      background: #ffffff;
      position: relative;
      overflow: hidden;
      padding: 96px 0 88px;
    }

    /* grade de pontos */
    #lai::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: radial-gradient(circle, #b8cef0 1px, transparent 1px);
      background-size: 30px 30px;
      opacity: 0.45;
      pointer-events: none;
    }

    /* borda superior azul */
    #lai::after {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 3px;
      background: linear-gradient(90deg, transparent, var(--blue), var(--blue-light), var(--blue), transparent);
    }

    .lai-net {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 0;
    }

    .lai-net svg {
      width: 100%;
      height: 100%;
    }

    .lai-wrap {
      max-width: var(--max-w);
      margin: 0 auto;
      padding: 0 24px;
      position: relative;
      z-index: 2;
    }

    .lai-header {
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-bottom: 36px;
    }

    .lai-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-family: var(--mono);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 2px;
      color: var(--blue);
      text-transform: uppercase;
    }

    .lai-eyebrow::before {
      content: '';
      display: block;
      width: 28px; height: 1.5px;
      background: var(--blue);
    }

    .lai-title {
      font-size: clamp(1.7rem, 3.8vw, 2.6rem);
      font-weight: 800;
      color: var(--text);
      line-height: 1.16;
      letter-spacing: -.4px;
      max-width: 780px;
    }

    .lai-title em {
      font-style: normal;
      color: var(--blue);
    }

    .lai-subtitle {
      font-size: 1rem;
      line-height: 1.78;
      color: var(--text-sec);
      max-width: 680px;
    }

    /* ── fontes de dados ── */
    .lai-sources {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
      margin: 40px 0;
    }

    .lai-source {
      background: #f4f7fd;
      border: 1px solid var(--blue-border);
      border-radius: 10px;
      padding: 22px 20px 18px;
      position: relative;
      overflow: hidden;
      transition: transform .2s, box-shadow .2s;
    }

    .lai-source:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-md);
    }

    /* linha de cor no topo de cada card */
    .lai-source::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 2px;
    }
    .lai-source:nth-child(1)::before { background: linear-gradient(90deg, #1a54c8, #4a7fda); }
    .lai-source:nth-child(2)::before { background: linear-gradient(90deg, #0e9f6e, #31c48d); }
    .lai-source:nth-child(3)::before { background: linear-gradient(90deg, #7e22ce, #a855f7); }

    .lai-source-tag {
      font-family: var(--mono);
      font-size: 9.5px;
      font-weight: 700;
      letter-spacing: 1.8px;
      color: var(--blue-light);
      text-transform: uppercase;
      margin-bottom: 9px;
      display: block;
    }

    .lai-source:nth-child(2) .lai-source-tag { color: #0e9f6e; }
    .lai-source:nth-child(3) .lai-source-tag { color: #9333ea; }

    .lai-source-title {
      font-weight: 700;
      font-size: .92rem;
      color: var(--text);
      margin-bottom: 7px;
      line-height: 1.3;
    }

    .lai-source-desc {
      font-size: .79rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* ── badge legal ── */
    .lai-badge {
      background: linear-gradient(135deg, #0d1e3d 0%, #0f2252 100%);
      border-radius: 12px;
      padding: 22px 28px;
      display: flex;
      align-items: flex-start;
      gap: 20px;
      max-width: 820px;
      border: 1px solid rgba(74,127,218,.25);
      box-shadow: 0 8px 32px rgba(13,30,61,.15);
    }

    .lai-badge-shield {
      flex-shrink: 0;
      width: 44px; height: 44px;
      border-radius: 10px;
      background: rgba(26,84,200,.22);
      border: 1px solid rgba(74,127,218,.4);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .lai-badge-body { flex: 1; }

    .lai-badge-law {
      font-family: var(--mono);
      font-size: 9px;
      font-weight: 700;
      color: #4a7fda;
      letter-spacing: 2px;
      text-transform: uppercase;
      display: block;
      margin-bottom: 6px;
    }

    .lai-badge-quote {
      font-size: .84rem;
      color: rgba(255,255,255,.78);
      line-height: 1.65;
    }

    .lai-badge-quote strong {
      color: #93c5fd;
    }

    /* ── scan line decorativa ── */
    @keyframes laiScan {
      0%   { top: -2px; }
      100% { top: 100%; }
    }

    .lai-scanline {
      position: absolute;
      left: 0; right: 0;
      height: 120px;
      background: linear-gradient(to bottom, transparent, rgba(26,84,200,.03), transparent);
      animation: laiScan 8s linear infinite;
      pointer-events: none;
      z-index: 1;
    }

    /* ── partículas da rede SVG ── */
    @keyframes netPulse {
      0%, 100% { r: 2.5; opacity: .6; }
      50%       { r: 3.5; opacity: 1; }
    }

    .net-node { animation: netPulse 3s ease-in-out infinite; }
    .net-node:nth-child(2n)   { animation-delay: .8s; }
    .net-node:nth-child(3n)   { animation-delay: 1.6s; }
    .net-node:nth-child(4n)   { animation-delay: 2.4s; }

    @media (max-width: 900px) {
      .lai-sources { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width: 640px) {
      .lai-sources { grid-template-columns: 1fr; }
      .lai-badge   { flex-direction: column; gap: 14px; }
    }

    /* ═══════════════════════════════════
       FLUXO — CONTADOR CENTRAL UNIFICADO
    ═══════════════════════════════════ */
    .fluxo-total {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 3px;
    }

    .fluxo-total-num {
      font-family: var(--mono);
      font-size: clamp(20px, 2.8vw, 32px);
      font-weight: 800;
      color: #6fa8ff;
      letter-spacing: -1px;
      line-height: 1;
      transition: color .1s;
    }

    .fluxo-total-label {
      font-family: var(--mono);
      font-size: 9px;
      color: rgba(255,255,255,.30);
      letter-spacing: 2px;
      text-transform: uppercase;
    }

    .fluxo-total-live {
      font-family: var(--mono);
      font-size: 9px;
      letter-spacing: 1.5px;
      color: #50fa7b;
      animation: livePulse 1.8s ease-in-out infinite;
    }

    @keyframes livePulse {
      0%, 100% { opacity: 0.75; }
      50%       { opacity: 0.20; }
    }
  

    /* ── botão "Acessar Sistema" no nav ── */
    .nav-access {
      display: inline-flex;
      align-items: center;
      padding: 6px 14px;
      background: var(--blue);
      color: #fff !important;
      font-family: var(--mono);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      text-decoration: none !important;
      border-bottom: none !important;
      border-radius: 4px;
      box-shadow: var(--shadow-sm);
      transition: background .2s, transform .15s;
      white-space: nowrap;
    }
    .nav-access:hover {
      background: var(--blue-mid) !important;
      transform: translateY(-1px);
    }
    .fecho-cta {
      margin-top: 32px;
    }
