:root {
    --ink:        #242424;
    --ink-2:      #2c2c2c;
    --ink-3:      #343434;
    --surface:    #3d3d3d;
    --bone:       #f6f6f4;
    --bone-dim:   #d4d4d0;
    --muted:      #a6a6a1;
    --font-display: "Instrument Sans", system-ui, -apple-system, sans-serif;
    --font-body:    "Inter", system-ui, -apple-system, sans-serif;
    --font-mono:    "JetBrains Mono", ui-monospace, Menlo, monospace;
    --bronze:     #c39a62;
    --bronze-hi:  #d9b47e;
    --bronze-lo:  #7d6238;
    --line:       rgba(255,255,255,0.13);
    --paper:      #eaeaea;
    --paper-ink:  #222222;
  }

  * { box-sizing: border-box; }

  body {
    background: var(--ink);
    color: var(--bone);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 450;
    line-height: 1.6;
    margin: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "ss01", "cv05", "tnum" 0;
  }

  h1, h2, h3, h4, h5,
  .lockup-word, .logo-word, .kicker,
  .nav-cta, .btn-primary, .btn-ghost, .bigstat-txt, .svc-out b,
  .foot-col h5, .tl-name, .tl-tag, .chip-btn {
    font-family: var(--font-display);
  }

  .wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
  @media (max-width: 600px) { .wrap { padding: 0 20px; } }
  .mono { font-family: var(--font-mono); }
  a { color: inherit; }
  a:focus-visible, button:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

  /* ---------- nav ---------- */
  nav {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    background: rgba(36,36,36,0.9);
    border-bottom: 1px solid var(--line);
    z-index: 30;
    backdrop-filter: blur(10px);
  }
  nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
  .logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
  .logo-word { font-size: 23px; font-weight: 700; letter-spacing: -0.012em; }
  .logo-ia { font-family: var(--font-mono); font-weight: 600; color: var(--bronze); }
  .nav-links { display: flex; gap: 28px; align-items: center; }
  @media (max-width: 780px) { .nav-links a:not(.nav-cta) { display: none; } }
  .nav-links a { font-size: 14px; color: var(--bone-dim); text-decoration: none; font-weight: 600; letter-spacing: -0.005em; transition: color .18s; }
  .nav-links a:hover { color: var(--bronze); }
  .nav-cta {
    border: 1px solid var(--bronze);
    border-radius: 7px;
    padding: 8px 15px;
    color: var(--bronze) !important;
    font-weight: 700 !important;
    transition: background .18s, color .18s;
  }
  .nav-cta:hover { background: var(--bronze); color: var(--ink) !important; }

  /* ---------- hero ---------- */
  .hero { position: relative; overflow: hidden; padding: 104px 0 72px; }
  @media (max-width: 780px) { .hero { padding: 64px 0 48px; } }
  .hero .wrap { position: relative; z-index: 2; }
  .hero-mark-bg {
    position: absolute;
    right: -6%;
    top: 50%;
    transform: translateY(-50%);
    width: min(660px, 58vw);
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
  }
  @media (max-width: 900px) { .hero-mark-bg { right: -22%; opacity: 0.07; } }

  .lockup { display: flex; align-items: center; gap: 26px; margin-bottom: 38px; }
  @media (max-width: 600px) { .lockup { gap: 18px; margin-bottom: 28px; } }
  .lockup svg { width: clamp(88px, 13.5vw, 146px); height: auto; flex-shrink: 0; }
  .lockup-word {
    font-size: clamp(50px, 9.2vw, 92px);
    font-weight: 700;
    letter-spacing: -0.028em;
    line-height: 1;
    margin: 0;
  }

  .bar-a, .bar-b, .bar-c { transform-origin: 50% 94px; }
  @media (prefers-reduced-motion: no-preference) {
    .anim .bar-a { animation: grow .7s cubic-bezier(.22,1,.36,1) both; }
    .anim .bar-b { animation: grow .7s .1s cubic-bezier(.22,1,.36,1) both; }
    .anim .bar-c { animation: grow .7s .2s cubic-bezier(.22,1,.36,1) both; }
    .anim .node { animation: pop .5s .55s cubic-bezier(.22,1,.36,1) both; transform-origin: 96px 16px; }
    .anim .link { animation: pop .5s .48s cubic-bezier(.22,1,.36,1) both; transform-origin: 84px 21px; }
  }
  @keyframes grow { from { transform: scaleY(.06); } to { transform: scaleY(1); } }
  @keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }

  h1 {
    font-size: clamp(31px, 5vw, 55px);
    font-weight: 700;
    line-height: 1.09;
    letter-spacing: -0.024em;
    margin: 0 0 26px;
    max-width: 18ch;
    text-wrap: balance;
  }
  h1 em { font-style: normal; color: var(--bronze); }
  .hero-sub { font-size: clamp(16.5px, 2vw, 20px); font-weight: 500; line-height: 1.55; color: var(--bone-dim); max-width: 54ch; margin: 0 0 36px; }
  .actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
  .btn-primary {
    display: inline-block;
    background: var(--bronze);
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    padding: 14px 26px;
    border-radius: 9px;
    transition: background .18s, transform .18s;
  }
  .btn-primary:hover { background: var(--bronze-hi); transform: translateY(-2px); }
  .btn-ghost {
    display: inline-block;
    color: var(--bone-dim);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 2px;
    border-bottom: 1px solid var(--line);
    transition: color .18s, border-color .18s;
  }
  .btn-ghost:hover { color: var(--bronze); border-bottom-color: var(--bronze); }


  /* ---------- arte ---------- */
  .hero-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
  }
  @media (max-width: 920px) { .hero-art { opacity: .5; } }
  @media (max-width: 620px) { .hero-art { opacity: .32; } }

  .mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 30px;
    max-width: 300px;
  }
  .tile {
    aspect-ratio: 1;
    border-radius: 8px;
    background: var(--ink-3);
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
    transition: background .25s, border-color .25s, transform .25s;
  }
  .tile::after {
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    width: 7px; height: 7px;
    margin: -3.5px 0 0 -3.5px;
    border-radius: 50%;
    background: var(--muted);
    opacity: .5;
    transition: background .25s, opacity .25s, transform .25s;
  }
  .tile.on {
    background: linear-gradient(145deg, var(--bronze-hi), var(--bronze));
    border-color: var(--bronze);
    transform: scale(1.04);
  }
  .tile.on::after { background: var(--ink); opacity: .85; transform: scale(1.5); }
  .tile.unknown { border-style: solid; border-color: rgba(195,154,98,0.34); background: transparent; }
  .tile.unknown::after {
    content: "?";
    font-family: var(--font-mono);
    font-size: 13px; font-weight: 700;
    color: var(--bronze);
    background: none; opacity: .85;
    width: auto; height: auto; margin: 0;
    transform: translate(-50%, -50%);
    left: 50%; top: 50%;
  }
  .mosaic-cap { font-size: 12.5px; font-weight: 500; color: var(--muted); line-height: 1.5; margin: 12px 0 0; max-width: 300px; }

  .stat-art {
    position: absolute;
    right: 0; bottom: 0; top: 0;
    width: min(400px, 34%);
    opacity: .17;
    pointer-events: none;
  }

  .svc-ico {
    width: 54px; height: 54px;
    border-radius: 13px;
    background: var(--ink);
    border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    transition: border-color .2s, background .2s;
  }
  .svc:hover .svc-ico { border-color: rgba(195,154,98,0.5); background: var(--ink-2); }
  .svc-ico svg { width: 28px; height: 28px; }
  .svc-n { margin-top: 9px; text-align: center; width: 54px; }

  .risk {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 330px;
  }
  .risk-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    border-radius: 9px;
    border: 1px solid var(--line);
    font-size: 13px;
    font-weight: 600;
  }
  .risk-row span:last-child { font-family: var(--font-mono); font-size: 11px; font-weight: 600; opacity: .75; }
  .r4 { background: var(--bronze); color: var(--ink); border-color: var(--bronze); }
  .r3 { background: #7d6238; color: var(--bone); border-color: #8d6f3f; }
  .r2 { background: #4a3f2e; color: var(--bone); }
  .r1 { background: #332f27; color: var(--bone-dim); }

  .cta-art { display: block; width: 100%; height: auto; margin-bottom: 20px; border-radius: 10px; }

  /* ---------- seções ---------- */
  section { position: relative; }
  .pad { padding: 92px 0; }
  @media (max-width: 780px) { .pad { padding: 62px 0; } }
  .tone { background: var(--ink-2); }
  h2 {
    font-size: clamp(26px, 3.6vw, 40px);
    font-weight: 700;
    line-height: 1.17;
    letter-spacing: -0.018em;
    margin: 0 0 20px;
    text-wrap: balance;
  }
  .lede { font-size: 17px; font-weight: 500; line-height: 1.6; color: var(--bone-dim); margin: 0 0 18px; }
  .kicker {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    color: var(--bronze);
    margin: 0 0 16px;
  }

  /* split assimétrico com coluna fixa */
  .split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
  @media (max-width: 920px) { .split { grid-template-columns: 1fr; gap: 34px; } }
  .sticky { position: sticky; top: 108px; }
  @media (max-width: 920px) { .sticky { position: static; } }

  /* ---------- autoteste ---------- */
  .chips { display: flex; flex-wrap: wrap; gap: 10px; }
  .chip-btn {
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: -0.008em;
    color: var(--bone-dim);
    background: var(--ink-3);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 11px 16px;
    cursor: pointer;
    text-align: left;
    transition: border-color .16s, color .16s, background .16s, transform .16s;
  }
  .chip-btn:hover { border-color: var(--muted); transform: translateY(-1px); }
  .chip-btn[aria-pressed="true"] {
    color: var(--ink);
    background: var(--bronze);
    border-color: var(--bronze);
    font-weight: 700;
  }
  .chip-tag {
    display: block;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-top: 4px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity .2s, max-height .2s;
  }
  .chip-btn[aria-pressed="true"] .chip-tag { opacity: .75; max-height: 20px; }
  .readout {
    margin-top: 26px;
    padding: 22px 24px;
    background: var(--ink-3);
    border: 1px solid var(--line);
    border-left: 3px solid var(--bronze);
    border-radius: 12px;
  }
  .readout-num { font-size: 34px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
  .readout-num span { color: var(--bronze); }
  .readout-txt { font-size: 15px; font-weight: 500; color: var(--bone-dim); line-height: 1.55; margin: 8px 0 0; }

  /* ---------- faixa do número ---------- */
  .bigstat { background: var(--bronze); color: var(--ink); padding: 66px 0; position: relative; overflow: hidden; }
  .bigstat .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; }
  @media (max-width: 780px) { .bigstat .wrap { grid-template-columns: 1fr; gap: 20px; } .bigstat { padding: 48px 0; } }
  .bigstat-num {
    font-size: clamp(76px, 15vw, 168px);
    font-weight: 800;
    line-height: .85;
    letter-spacing: -0.045em;
  }
  .bigstat-txt { font-size: clamp(17px, 2.2vw, 22px); font-weight: 600; letter-spacing: -0.008em; line-height: 1.45; max-width: 30ch; }
  .bigstat-src { font-size: 12.5px; font-weight: 500; margin-top: 12px; color: rgba(36,36,36,0.78); }

  /* ---------- serviços escalonados ---------- */
  .svc-stack { display: flex; flex-direction: column; gap: 16px; }
  .svc {
    display: grid;
    grid-template-columns: 54px 1fr 300px;
    gap: 32px;
    align-items: start;
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 34px 36px;
    transition: border-color .2s, transform .2s, background .2s;
  }
  .svc:hover { border-color: rgba(195,154,98,0.45); transform: translateX(6px); background: var(--ink-3); }
  @media (max-width: 900px) { .svc { grid-template-columns: 1fr; gap: 14px; padding: 26px 24px; } }
  .svc-n { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--bronze); }
  .svc h3 { font-size: 23px; font-weight: 700; margin: 0 0 10px; letter-spacing: -0.012em; }
  .svc p { font-size: 15px; font-weight: 500; color: var(--bone-dim); line-height: 1.55; margin: 0; }
  .svc-out {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--bone-dim);
    line-height: 1.5;
    border-left: 2px solid var(--line);
    padding-left: 18px;
  }
  @media (max-width: 900px) { .svc-out { border-left: none; border-top: 1px solid var(--line); padding: 14px 0 0; } }
  .svc-out b { color: var(--bronze); font-weight: 700; display: block; margin-bottom: 4px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

  /* ---------- método ---------- */
  ol.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
  ol.steps li {
    counter-increment: s;
    padding: 0 0 26px 52px;
    position: relative;
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.55;
    color: var(--bone-dim);
  }
  ol.steps li:last-child { padding-bottom: 0; }
  ol.steps li::before {
    content: counter(s, decimal-leading-zero);
    position: absolute; left: 0; top: 0;
    font-family: var(--font-mono);
    font-size: 13px; font-weight: 700;
    color: var(--bronze);
  }
  ol.steps li::after {
    content: "";
    position: absolute; left: 13px; top: 24px; bottom: 6px;
    width: 1px; background: var(--line);
  }
  ol.steps li:last-child::after { display: none; }
  ol.steps b { color: var(--bone); font-weight: 700; }
  .frames { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
  .frame-chip {
    font-size: 12.5px; font-weight: 600; color: var(--bone-dim);
    background: var(--ink-3); border: 1px solid var(--line);
    border-radius: 8px; padding: 7px 12px;
  }

  /* ---------- timeline regulatória ---------- */
  .tl-scroll { overflow-x: auto; padding-bottom: 8px; margin-top: 8px; }
  .tl { display: flex; gap: 0; min-width: 780px; position: relative; padding-top: 34px; }
  .tl::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 2px; background: var(--line); }
  .tl-item { flex: 1; padding-right: 26px; position: relative; }
  .tl-item::before {
    content: ""; position: absolute; left: 0; top: -28px;
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--ink); border: 2px solid var(--muted);
  }
  .tl-item.on::before { background: var(--bronze); border-color: var(--bronze); }
  .tl-date { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--bone-dim); }
  .tl-name { font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; margin: 7px 0 6px; line-height: 1.3; }
  .tl-desc { font-size: 13.5px; font-weight: 500; color: var(--bone-dim); line-height: 1.5; }
  .tl-tag { display: inline-block; font-size: 11px; font-weight: 700; margin-top: 10px; }
  .tl-tag.on { color: var(--bronze); }
  .tl-tag.off { color: var(--muted); }

  /* ---------- cta ---------- */
  .cta { background: var(--paper); color: var(--paper-ink); }
  .cta .kicker { color: var(--bronze-lo); }
  .cta .lede { color: #4a453f; }
  .cta-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: start; }
  @media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; gap: 28px; } }
  ul.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
  ul.ticks li { font-size: 15.5px; font-weight: 500; color: #4a453f; line-height: 1.5; padding-left: 26px; position: relative; }
  ul.ticks li::before { content: ""; position: absolute; left: 0; top: 10px; width: 11px; height: 2px; background: var(--bronze-lo); }
  .cta-card { background: #fbfbfb; border: 1px solid rgba(34,34,34,0.13); border-radius: 14px; padding: 28px; }
  .cta-card h4 { font-size: 17px; font-weight: 700; margin: 0 0 8px; }
  .cta-card p { font-size: 14.5px; font-weight: 500; color: #4a453f; line-height: 1.55; margin: 0 0 16px; }
  .ph {
    display: inline-block;
    background: rgba(125,98,56,0.13);
    border: 1px solid rgba(125,98,56,0.34);
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-mono);
    color: #6a5230;
    margin-bottom: 9px;
  }

  /* ---------- footer ---------- */
  footer { padding: 54px 0 62px; border-top: 1px solid var(--line); }
  .foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
  .foot-tag { font-size: 13px; font-weight: 500; color: var(--bone-dim); margin-top: 12px; max-width: 32ch; line-height: 1.55; }
  .foot-cols { display: flex; gap: 54px; flex-wrap: wrap; }
  .foot-col h5 { font-size: 10.5px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--bronze); margin: 0 0 12px; }
  .foot-col a, .foot-col span { display: block; font-size: 13.5px; font-weight: 500; color: var(--bone-dim); text-decoration: none; margin-bottom: 8px; }
  .foot-col a:hover { color: var(--bronze); }
  .legal { margin-top: 42px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 500; color: var(--muted); line-height: 1.6; }
