/* Table Intelligence · site institucional
   Direção: editorial e técnico. Marrom profundo + papel quente, um acento
   (caramelo), tipografia com hierarquia forte e diagramas como linguagem
   visual própria. Tokens em tokens.css (compartilhados com /aplicar). */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
html, body { overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
p { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--text); color: var(--ink); padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ── Temas de seção ──────────────────────────────────────────────────── */
.dark { background: var(--bg); color: var(--text); }
.light {
  background: var(--paper); color: var(--ink);
  --line: var(--paper-line); --line-2: #cdbdae; --soft: var(--ink-soft); --muted: var(--ink-muted); --dim: #a8988a;
  --surface: #fbf7f2; --surface-2: #fff;
}
.light em { color: var(--accent-ink); }
.dark em { color: var(--accent); }
section { position: relative; }

.section-num {
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 28px; display: flex; align-items: center; gap: 12px;
}
.section-num::after { content: ""; flex: 0 0 48px; height: 1px; background: var(--line-2); }
.section-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: end; margin-bottom: 64px; }
h2 { font-size: clamp(34px, 4.8vw, 60px); line-height: 1.04; letter-spacing: -.04em; }
h3 { font-size: 20px; letter-spacing: -.02em; line-height: 1.25; }
.lede-sm { color: var(--soft); font-size: 17px; max-width: 440px; }
.prose p { color: var(--soft); font-size: 18px; line-height: 1.65; }
.prose p + p { margin-top: 18px; }
.prose strong { color: inherit; font-weight: 500; }
.punch { font-size: 22px !important; color: inherit !important; letter-spacing: -.02em; margin-top: 28px !important; }
.micro-label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }

/* ── Botões ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px; font-size: 15px; font-weight: 500;
  letter-spacing: -.01em; text-decoration: none; white-space: nowrap; border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .15s var(--ease);
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-light { background: var(--text); color: var(--ink); }
.btn-light:hover { background: #fffaf5; }
.btn-ghost { color: var(--text); border-color: var(--line-2); background: transparent; }
.btn-ghost:hover { border-color: var(--muted); }
.light .btn-ghost { color: var(--ink); }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.cta-row.center { justify-content: center; }

/* ── Header ──────────────────────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(37, 25, 15, .78); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom-color: rgba(242, 235, 228, .08); }
.header-inner { height: 72px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; font-size: 15px; letter-spacing: -.01em; color: var(--text); }
.brand-mark { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.brand-mark .m-o { fill: var(--bg); }
.brand-mark .m-a { fill: var(--accent); stroke: var(--accent); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-size: 14px; color: var(--soft); text-decoration: none; transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--text); }
.menu-btn { display: none; }
.mobile-nav { display: none; }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero { min-height: min(100vh, 1000px); min-height: min(100svh, 1000px); display: flex; flex-direction: column; padding-top: 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(242,235,228,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(242,235,228,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%);
}
.hero-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; position: relative; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hero h1 { font-size: clamp(46px, 7vw, 92px); line-height: .98; letter-spacing: -.05em; }
.hero h1 em { letter-spacing: -.025em; }
.lede { margin-top: 28px; font-size: clamp(18px, 1.6vw, 21px); color: var(--soft); max-width: 520px; letter-spacing: -.01em; }
.hero-visual { margin: 0; position: relative; aspect-ratio: 660 / 560; width: 100%; max-width: 600px; justify-self: end; }
.stack { width: 100%; height: 100%; overflow: visible; touch-action: pan-y; }
.stack .plane { fill: rgba(242,235,228,.025); stroke: var(--line-2); stroke-width: 1; transition: fill .3s, stroke .3s; }
.stack .plane.hot { fill: rgba(212,163,115,.08); stroke: var(--accent); }
.stack .link { stroke: var(--line-2); stroke-width: 1; fill: none; }
.stack .link.v { stroke: rgba(212,163,115,.45); }
.stack .node { fill: var(--bg); stroke: var(--soft); stroke-width: 1.2; }
.stack .node.core { fill: var(--accent); stroke: var(--accent); }
.stack .pulse { fill: var(--accent); }
.stack .lbl { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; fill: var(--muted); transition: fill .3s; }
.stack .lbl.hot { fill: var(--text); }
.stack .tick { stroke: var(--line-2); stroke-width: 1; }
.stack-legend { position: absolute; left: 0; bottom: 4%; font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .04em; max-width: 260px; min-height: 2.6em; }
.hero-foot { display: flex; justify-content: space-between; align-items: center; padding-bottom: 28px; font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: .06em; text-transform: uppercase; position: relative; }
.scroll-cue { width: 36px; height: 36px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.scroll-cue svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(3px); } }

/* ── Tese ────────────────────────────────────────────────────────────── */
.thesis, .process, .audience { padding: 140px 0; }
.thesis-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.thesis h2 { margin-bottom: 40px; }
.ops { margin: 0; position: sticky; top: 110px; }
.ops-toggle { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper-2); margin-bottom: 20px; }
.ops-toggle button { border: 0; background: transparent; font: inherit; font-size: 13px; padding: 8px 16px; border-radius: 999px; color: var(--muted); cursor: pointer; transition: all .25s var(--ease); }
.ops-toggle button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.ops-svg { width: 100%; height: auto; display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.ops-svg .e { stroke: #bfae9f; stroke-width: 1.2; fill: none; }
.ops-svg .e.broken { stroke-dasharray: 3 5; }
.ops-svg .e.on { stroke: var(--accent-ink); }
.ops-svg .n rect { fill: #fff; stroke: var(--paper-line); }
.ops-svg .n text { font-family: var(--sans); font-size: 12.5px; fill: var(--ink-soft); }
.ops-svg .n.owner rect { fill: var(--ink); stroke: var(--ink); }
.ops-svg .n.owner text { fill: var(--paper); }
.ops-svg .core { fill: var(--accent); }
.ops-svg .core-ring { fill: none; stroke: var(--accent); opacity: .35; }
.ops-svg .core-lbl { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; fill: var(--accent-ink); text-transform: uppercase; }
.ops-svg .warn { fill: #c0583e; }
.ops-caption { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ── Módulos ─────────────────────────────────────────────────────────── */
.modules, .apps, .principles { padding: 140px 0; }
.mod-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.mod-diagram { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; }
.mod-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mod-svg .ring { fill: none; stroke: var(--line); stroke-dasharray: 2 6; }
.mod-svg .spoke { stroke: var(--line-2); stroke-width: 1; transition: stroke .3s, opacity .3s; }
.mod-svg .spoke.on { stroke: var(--accent); }
.mod-svg .chord { stroke: var(--accent); stroke-width: 1.2; fill: none; opacity: 0; transition: opacity .4s; stroke-dasharray: 4 5; animation: dash 1.6s linear infinite; }
.mod-svg .chord.on { opacity: .8; }
@keyframes dash { to { stroke-dashoffset: -18; } }
.mod-svg .center-ring { fill: var(--surface); stroke: var(--line-2); }
.mod-nodes { position: absolute; inset: 0; }
.mod-node {
  position: absolute; transform: translate(-50%, -50%); width: 128px; padding: 12px 10px; text-align: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--soft);
  font: inherit; font-size: 13px; line-height: 1.3; cursor: pointer;
  transition: border-color .25s, background .25s, color .25s, box-shadow .25s;
}
.mod-node b { display: block; font-family: var(--mono); font-weight: 400; font-size: 10.5px; color: var(--dim); margin-bottom: 4px; letter-spacing: .06em; }
.mod-node:hover { border-color: var(--line-2); color: var(--text); }
.mod-node.on { border-color: var(--accent); color: var(--text); background: var(--surface-2); box-shadow: 0 0 0 4px var(--accent-soft); }
.mod-node.on b { color: var(--accent); }
.mod-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); pointer-events: none; line-height: 1.5; }
.mod-panel { border-top: 1px solid var(--line-2); padding-top: 24px; min-height: 210px; }
.mod-panel .num { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: .08em; }
.mod-panel h3 { font-size: 28px; margin: 10px 0 14px; letter-spacing: -.03em; }
.mod-panel p { color: var(--soft); }
.mod-panel .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.mod-panel .tags span { font-size: 12.5px; color: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.combos { margin-top: 32px; }
.combo-list { display: flex; flex-direction: column; gap: 8px; }
.combo {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; text-align: left;
  background: transparent; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; color: var(--soft);
  font: inherit; font-size: 14.5px; cursor: pointer; transition: all .2s;
}
.combo small { font-family: var(--mono); font-size: 10.5px; color: var(--dim); letter-spacing: .04em; white-space: nowrap; }
.combo:hover { border-color: var(--line-2); color: var(--text); }
.combo[aria-pressed="true"] { border-color: var(--accent); color: var(--text); background: var(--accent-soft); }
.mod-list { list-style: none; padding: 0; margin: 80px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.mod-list li { padding: 24px 20px 0 0; }
.mod-list li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.mod-list span { font-family: var(--mono); font-size: 11px; color: var(--dim); }
.mod-list h3 { font-size: 15.5px; margin: 8px 0 8px; }
.mod-list p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* ── Aplicações ──────────────────────────────────────────────────────── */
.apps { background: #1f150d; border-top: 1px solid rgba(242,235,228,.06); }
.apps-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.apps-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.app-tab {
  text-align: left; background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 18px 4px;
  font: inherit; color: var(--muted); cursor: pointer; display: grid; grid-template-columns: 28px 1fr; gap: 6px 12px;
  transition: color .2s;
}
.app-tab .n { font-family: var(--mono); font-size: 11px; padding-top: 4px; color: var(--dim); }
.app-tab b { font-weight: 500; font-size: 16.5px; letter-spacing: -.015em; color: var(--soft); transition: color .2s; }
.app-tab .pb { grid-column: 2; font-size: 13.5px; line-height: 1.5; display: none; }
.app-tab .pb i { font-style: normal; color: var(--dim); font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; margin-right: 6px; }
.app-tab:hover b { color: var(--text); }
.app-tab[aria-selected="true"] b { color: var(--text); }
.app-tab[aria-selected="true"] .n { color: var(--accent); }
.app-tab[aria-selected="true"] .pb { display: block; animation: fade .35s var(--ease); }
.apps-stage { position: sticky; top: 110px; }
.apps-demo {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; min-height: 440px; padding: 22px;
  position: relative; overflow: hidden;
}
.apps-demo::before { content: "Demonstração ilustrativa"; position: absolute; top: 18px; right: 20px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.disclaimer { font-size: 12.5px; color: var(--dim); margin-top: 12px; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.demo { animation: fade .45s var(--ease); }
.demo-title { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.demo-title::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
/* chat */
.chat { display: flex; flex-direction: column; gap: 10px; max-width: 420px; }
.bubble { padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.45; max-width: 85%; opacity: 0; animation: pop .4s var(--ease) forwards; }
.bubble.in { background: var(--surface-2); align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble.out { background: rgba(212,163,115,.16); border: 1px solid rgba(212,163,115,.3); align-self: flex-end; border-bottom-right-radius: 4px; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sys { font-family: var(--mono); font-size: 11px; color: var(--accent); border: 1px dashed rgba(212,163,115,.4); border-radius: 8px; padding: 8px 10px; margin-top: 6px; opacity: 0; animation: pop .4s var(--ease) forwards; }
/* kanban */
.kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.col { background: rgba(0,0,0,.14); border-radius: 10px; padding: 10px; min-height: 300px; }
.col h4 { margin: 0 0 10px; font-family: var(--mono); font-weight: 400; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.kcard { background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 9px; margin-bottom: 8px; }
.kcard .l1 { height: 7px; width: 70%; background: var(--line-2); border-radius: 4px; }
.kcard .l2 { height: 6px; width: 45%; background: var(--line); border-radius: 4px; margin-top: 7px; }
.kcard.moving { border-color: var(--accent); animation: slide 3.2s var(--ease) infinite; }
@keyframes slide { 0%, 30% { transform: translateX(0); } 55%, 100% { transform: translateX(calc(100% + 30px)); opacity: 0; } }
/* rows */
.rows { display: flex; flex-direction: column; gap: 8px; }
.row { display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
.row .av { width: 32px; height: 32px; border-radius: 50%; background: var(--line); }
.row .meta b { display: block; font-weight: 500; font-size: 14px; }
.row .meta span { font-size: 12.5px; color: var(--muted); }
.chip { font-family: var(--mono); font-size: 10.5px; padding: 4px 8px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--soft); white-space: nowrap; }
.chip.acc { border-color: var(--accent); color: var(--accent); }
/* dashboard */
.dash { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: var(--surface-2); }
.kpi span { font-size: 11.5px; color: var(--muted); }
.kpi svg { width: 100%; height: 44px; margin-top: 10px; }
.kpi path { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 1.4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.bars { grid-column: 1 / -1; border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: flex; align-items: flex-end; gap: 8px; height: 180px; background: var(--surface-2); }
.bars i { flex: 1; background: var(--line-2); border-radius: 3px 3px 0 0; transform-origin: bottom; animation: grow .9s var(--ease) both; }
.bars i.a { background: var(--accent); }
@keyframes grow { from { transform: scaleY(0); } }
/* insight */
.insight { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: var(--surface-2); max-width: 480px; }
.insight h5 { margin: 0 0 10px; font-size: 14px; font-weight: 500; }
.insight p { font-size: 14px; color: var(--soft); line-height: 1.55; }
.insight ul { margin: 12px 0 0; padding-left: 18px; color: var(--soft); font-size: 13.5px; }
.typing::after { content: "▍"; color: var(--accent); animation: blink 1s steps(1) infinite; margin-left: 2px; }
@keyframes blink { 50% { opacity: 0; } }
/* calendário */
.cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.cal .d { border: 1px solid var(--line); border-radius: 8px; min-height: 140px; padding: 8px; background: var(--surface-2); }
.cal .d small { font-family: var(--mono); font-size: 10px; color: var(--dim); }
.pill { display: block; font-size: 11px; padding: 5px 7px; border-radius: 6px; margin-top: 6px; background: rgba(0,0,0,.16); color: var(--soft); }
.pill.acc { background: var(--accent-soft); color: var(--accent); }
.flow-line { margin-top: 16px; display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.flow-line b { font-weight: 500; color: var(--soft); }
/* antes/depois */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ba > div { border: 1px solid var(--line); border-radius: 12px; padding: 16px; min-height: 300px; position: relative; background: var(--surface-2); }
.ba h5 { margin: 0 0 12px; font-family: var(--mono); font-weight: 400; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.scatter span { position: absolute; font-size: 12px; padding: 5px 9px; border: 1px dashed var(--line-2); border-radius: 6px; color: var(--muted); }
.pipe { display: flex; flex-direction: column; gap: 8px; }
.pipe span { font-size: 12.5px; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 8px; color: var(--soft); position: relative; }
.pipe span + span::before { content: ""; position: absolute; left: 18px; top: -9px; height: 8px; width: 1px; background: var(--accent); }

/* ── Processo ────────────────────────────────────────────────────────── */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 18px; height: 1px; background: var(--paper-line); }
.steps::after { content: ""; position: absolute; left: 0; top: 18px; height: 1px; width: var(--progress, 0%); background: var(--accent-ink); transition: width 1.6s var(--ease); }
.steps li { padding-right: 28px; position: relative; }
.step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line-2); font-family: var(--mono); font-size: 12px; color: var(--ink-soft); position: relative; z-index: 1; transition: background .4s, color .4s, border-color .4s; }
.steps li.lit .step-n { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.steps h3 { margin: 26px 0 10px; font-size: 24px; letter-spacing: -.03em; }
.steps p { color: var(--ink-soft); font-size: 15.5px; }

/* ── Origem ──────────────────────────────────────────────────────────── */
.origin { padding: 140px 0; }
.origin-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.origin-photo { margin: 0; position: relative; }
.origin-photo > img:first-child { border-radius: 4px; width: 100%; }
.origin-photo figcaption { margin-top: 16px; font-size: 14px; color: var(--muted); }
.origin-photo figcaption b { display: block; color: var(--text); font-weight: 500; font-size: 15px; }
.origin-photo-2 { position: absolute; width: 46%; right: -16%; bottom: 18%; border-radius: 4px; border: 6px solid var(--bg); box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.origin-copy h2 { margin-bottom: 36px; }
.cases { margin-top: 48px; }

/* ── Público ─────────────────────────────────────────────────────────── */
.aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.aud-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--paper-line); counter-reset: a; }
.aud-list li { counter-increment: a; padding: 18px 0; border-bottom: 1px solid var(--paper-line); font-size: 19px; letter-spacing: -.015em; display: flex; gap: 20px; align-items: baseline; }
.aud-list li::before { content: "0" counter(a); font-family: var(--mono); font-size: 11px; color: var(--ink-muted); }
.aud-note { margin-top: 56px; max-width: 640px; font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.3; color: var(--ink-soft); }

/* ── Princípios ──────────────────────────────────────────────────────── */
.pr-list { list-style: none; margin: 0; padding: 0; }
.pr-list li {
  font-size: clamp(34px, 6vw, 80px); line-height: 1.1; letter-spacing: -.045em; font-weight: 500;
  color: var(--dim); padding: 14px 0; border-bottom: 1px solid var(--line); transition: color .6s var(--ease);
}
.pr-list li em { color: inherit; transition: color .6s var(--ease); }
.pr-list li.lit { color: var(--text); }
.pr-list li.lit em { color: var(--accent); }

/* ── Conversão ───────────────────────────────────────────────────────── */
.final { padding: 160px 0 150px; text-align: center; border-top: 1px solid var(--line); background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(212,163,115,.08), transparent 70%), var(--bg); }
.final-inner { max-width: 820px; }
.final-mark { width: 84px; height: 84px; margin: 0 auto 36px; display: block; }
.final-mark circle { fill: none; stroke: var(--line-2); }
.final-mark .dot { fill: var(--accent); stroke: none; }
.final-mark circle:nth-child(2) { stroke: var(--accent); stroke-dasharray: 4 6; animation: spin 18s linear infinite; transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }
.final h2 { margin-bottom: 28px; }
.final p { color: var(--soft); font-size: 18px; max-width: 600px; margin: 0 auto; }
.final p + p { margin-top: 12px; }
.final .muted { color: var(--muted); }
.final .micro { margin-top: 18px; font-size: 13px; color: var(--dim); }

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-footer { background: #1f150d; padding: 64px 0 32px; border-top: 1px solid var(--line); }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-sub { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: flex-start; }
.foot-links a { font-size: 14px; color: var(--soft); text-decoration: none; }
.foot-links a:hover { color: var(--text); }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim); }

/* ── Consentimento ───────────────────────────────────────────────────── */
.consent { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); max-width: 520px; margin: 0 auto; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 14px; padding: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.45); display: flex; flex-direction: column; gap: 12px; font-size: 13.5px; color: var(--soft); }
.consent[hidden] { display: none; }
.consent-actions { display: flex; justify-content: flex-end; gap: 8px; }

/* ── Revelação no scroll ─────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ── Responsivo ──────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .mod-list { grid-template-columns: 1fr 1fr; }
  .mod-list li, .mod-list li + li { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .mod-list li:nth-child(odd) { padding-right: 20px; }
}
@media (max-width: 960px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; margin-left: auto; width: 44px; height: 44px; background: transparent; border: 1px solid var(--line-2); border-radius: 50%; padding: 0 13px; cursor: pointer; }
  .menu-btn span { display: block; height: 1.4px; background: var(--text); transition: transform .3s var(--ease); }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.7px) rotate(-45deg); }
  .mobile-nav { display: flex; flex-direction: column; padding: 8px 24px 28px; background: rgba(37,25,15,.97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 20px; letter-spacing: -.02em; }
  .mobile-nav .btn { margin-top: 24px; }
  .site-header.open { background: rgba(37,25,15,.97); }

  .hero-grid { grid-template-columns: 1fr; padding-top: 32px; }
  .hero-visual { order: 2; max-width: 460px; justify-self: center; margin-top: 8px; }
  .stack-legend { display: none; }
  .section-head, .thesis-grid, .mod-grid, .apps-grid, .origin-grid, .aud-grid { grid-template-columns: 1fr; gap: 40px; }
  .section-head { margin-bottom: 44px; }
  .ops, .apps-stage { position: static; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .steps::before, .steps::after { display: none; }
  .origin-photo { max-width: 440px; }
  .origin-photo-2 { right: -8%; }
  .mod-diagram { margin: 0 auto; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .header-inner { height: 64px; }
  .thesis, .process, .audience, .modules, .apps, .principles, .origin { padding: 96px 0; }
  .final { padding: 110px 0 100px; }
  .cta-row .btn { width: 100%; }
  .hero h1 { font-size: clamp(42px, 12vw, 56px); }
  .hero-foot span { max-width: 70%; }
  .mod-node { width: 104px; font-size: 11.5px; padding: 9px 6px; }
  .mod-list { grid-template-columns: 1fr; }
  .mod-list li:nth-child(odd) { padding-right: 0; }
  .apps-demo { min-height: 380px; padding: 16px; }
  .apps-demo::before { position: static; display: block; margin-bottom: 12px; }
  .kanban { grid-template-columns: repeat(2, 1fr); }
  .col { min-height: 150px; }
  .dash { grid-template-columns: 1fr 1fr; }
  .dash .kpi:nth-child(3) { display: none; }
  .cal { grid-template-columns: repeat(3, 1fr); }
  .cal .d:nth-child(n+4) { display: none; }
  .ba { grid-template-columns: 1fr; }
  .ba > div { min-height: 220px; }
  .steps { grid-template-columns: 1fr; }
  .prose p { font-size: 17px; }
  .aud-list li { font-size: 17px; }
  .aud-note { font-size: 22px; }
  .origin-photo-2 { width: 52%; right: -4%; bottom: 14%; }
  .footer-grid { flex-direction: column; }
  .foot-links { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Quebra controlada do título do hero */
.nw { white-space: nowrap; }
.hero-grid { grid-template-columns: 1.1fr .9fr; }
.hero h1 { font-size: clamp(44px, 6.2vw, 86px); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 380px) { .nw { white-space: normal; } }
[hidden] { display: none !important; }
.pr-list li { font-size: clamp(32px, 5.4vw, 72px); }

/* ── Hero: camadas clicáveis ─────────────────────────────────────────── */
.stack-wrap { position: absolute; inset: 0; transform-origin: 100% 0; transition: transform .6s var(--ease), opacity .4s; }
.hero-visual.has-panel .stack-wrap { transform: translate(4%, -6%) scale(.8); }
.hero-visual.has-panel .stack-legend { opacity: 0; pointer-events: none; }
.stack-legend { transition: opacity .3s; }
.layer-btns { position: absolute; inset: 0; pointer-events: none; }
.layer-btn { position: absolute; transform: translateY(-50%); pointer-events: auto; font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: transparent; border: 1px solid transparent; border-radius: 999px; padding: 7px 10px 6px; cursor: pointer; white-space: nowrap; transition: color .25s, border-color .25s, background .25s; }
.layer-btn::after { content: "+"; margin-left: 7px; color: var(--dim); transition: color .25s; }
.layer-btn:hover, .layer-btn.hot { color: var(--text); border-color: var(--line-2); }
.layer-btn.sel { color: var(--bg); background: var(--accent); border-color: var(--accent); }
.layer-btn.sel::after { content: "−"; color: var(--bg); }
.layer-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.layer-panel { position: absolute; left: -6%; bottom: 0; width: min(380px, 70%); background: rgba(46,32,23,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line-2); border-radius: 14px; padding: 20px 22px 22px; box-shadow: 0 24px 60px -24px rgba(0,0,0,.6); animation: lpIn .45s var(--ease) both; z-index: 2; }
@keyframes lpIn { from { opacity: 0; transform: translateY(10px); } }
.lp-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.lp-k { font: 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.lp-nav { display: flex; gap: 4px; }
.lp-nav button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--soft); font: 14px/1 var(--sans, inherit); cursor: pointer; display: grid; place-items: center; }
.lp-nav button:hover { color: var(--text); border-color: var(--muted); }
.lp-nav button:focus-visible, .lp-go:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.layer-panel h3 { font-size: 21px; line-height: 1.15; letter-spacing: -.025em; font-weight: 500; color: var(--text); outline: none; }
.lp-problem { margin-top: 12px; font-size: 14.5px; line-height: 1.45; color: var(--soft); }
.lp-problem i, .lp-how-k { display: block; font: normal 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.lp-how-k { margin-top: 16px; margin-bottom: 8px; }
.layer-panel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.layer-panel li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.4; color: var(--text); }
.layer-panel li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 6px; height: 6px; border-radius: 50%; border: 1.2px solid var(--accent); }
.lp-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; font-weight: 500; color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(212,163,115,.4); padding-bottom: 2px; }
.lp-go:hover { border-color: var(--accent); }
.lp-go svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }

@media (max-width: 960px) {
  .hero-visual { aspect-ratio: auto; display: flex; flex-direction: column; }
  .stack-wrap { position: relative; inset: auto; aspect-ratio: 660 / 560; }
  .stack-wrap, .hero-visual.has-panel .stack-wrap { transform: translateX(-4%) scale(.88); transform-origin: 0 50%; }
  .hero-visual { scroll-margin-top: 64px; }
  .layer-btn { font-size: 10px; }
  .layer-panel { position: relative; left: auto; bottom: auto; width: auto; margin-top: 4px; scroll-margin-bottom: 16px; }
  .layer-btn { padding: 9px 10px 8px; }
}
@media (prefers-reduced-motion: reduce) { .stack-wrap, .layer-panel { transition: none; animation: none; } }

/* ── Método ──────────────────────────────────────────────────────────── */
.method { padding: 140px 0 120px; }
.met-figure { margin: 8px 0 56px; }
.met-svg { display: block; width: 100%; height: auto; overflow: visible; }
.met-half { display: none; }
.met-lbl { font: 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; fill: var(--ink-muted); }
.met-num { font: 10.5px var(--mono); letter-spacing: .08em; fill: var(--dim); transition: fill .4s; }
.met-svg .st { opacity: 0; transition: opacity .7s var(--ease); }
.met-svg .st.on { opacity: 1; }
.met-mesh { stroke: var(--paper-line); stroke-width: 1; }
.met-link { stroke: #bfae9e; stroke-width: 1; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s var(--ease), stroke .3s; }
.st.on .met-link { stroke-dashoffset: 0; }
.met-dot { fill: var(--paper); stroke: var(--ink-soft); stroke-width: 1.2; transition: fill .3s, stroke .3s; }
.met-dot.off { stroke: #cdbdae; stroke-dasharray: 2 2; }
.met-dot.core { fill: var(--accent-ink); stroke: var(--accent-ink); }
.met-lens { fill: none; stroke: var(--accent-ink); stroke-width: 1; stroke-dasharray: 3 4; opacity: .55; }
.met-frame { fill: rgba(148,96,47,.05); stroke: var(--accent-ink); stroke-width: 1.2; }
.met-flow { fill: var(--accent-ink); }
.met-spine { stroke: var(--paper-line); stroke-width: 1; }
.met-ring { fill: rgba(148,96,47,.04); stroke: var(--ink-muted); stroke-width: 1; }
.met-hinge-ring { fill: var(--paper); stroke: var(--accent-ink); stroke-width: 1.2; }
.met-cell { fill: var(--paper); stroke: var(--ink-muted); stroke-width: 1; transition: fill .5s var(--ease) var(--d, 0ms), stroke .5s var(--ease) var(--d, 0ms); }
.met-cell.plan { stroke-dasharray: 2.5 2.5; }
.st.on .met-cell.on { fill: var(--ink); stroke: var(--ink); }
.met-cell.grow { stroke: var(--accent-ink); stroke-dasharray: 2.5 2.5; fill: transparent; opacity: 0; transition: opacity .6s var(--ease) var(--d, 0ms); }
.st.on .met-cell.grow { opacity: 1; }
.met-check { fill: none; stroke: var(--accent-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.met-spark { fill: none; stroke: var(--accent-ink); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease) .5s; }
.st.on .met-spark { stroke-dashoffset: 0; }
.met-loop { fill: none; stroke: var(--accent-ink); stroke-width: 1; stroke-dasharray: 3 4; opacity: .8; }
.met-loop-head { fill: none; stroke: var(--accent-ink); stroke-width: 1.2; }
.met-loop-lbl { font: 9.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; fill: var(--accent-ink); }
.st.hl .met-dot:not(.off) { fill: var(--accent-ink); stroke: var(--accent-ink); }
.st.hl .met-cell, .st.hl .met-ring { stroke: var(--accent-ink); }
.st.hl .met-cell.on { fill: var(--accent-ink); }
.st.hl .met-link { stroke: var(--accent-ink); }

.met-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 96px; position: relative; }
.met-grid::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--paper-line); }
.met-hinge { display: none; }
.met-k { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; font: 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 14px; }
.met-en { color: var(--ink-muted); letter-spacing: .06em; text-transform: none; font-family: var(--serif); font-style: italic; font-size: 17px; }
.met h3 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -.035em; line-height: 1.05; font-weight: 500; }
.met-lede { margin-top: 14px; font-size: 21px; letter-spacing: -.02em; color: var(--ink); }
.met-desc { margin-top: 14px; color: var(--ink-soft); font-size: 16.5px; line-height: 1.6; max-width: 480px; }
.met-steps { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--paper-line); }
.met-steps li { display: flex; gap: 18px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--paper-line); font-size: 16.5px; letter-spacing: -.01em; color: var(--ink-muted); transition: color .5s var(--ease); cursor: default; }
.met-steps li span { font: 11px var(--mono); color: var(--dim); min-width: 20px; transition: color .5s; }
.met-steps li.lit { color: var(--ink); }
.met-steps li.lit span { color: var(--accent-ink); }
.met-steps li:hover { color: var(--accent-ink); }
.met-result { margin-top: 24px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--paper-line); border-radius: 10px; font-size: 16px; line-height: 1.5; color: var(--ink); }
.met-result i { display: block; font: normal 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 8px; }

.fundamentos { margin-top: 110px; padding-top: 40px; border-top: 1px solid var(--paper-line); }
.fund-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; counter-reset: f; }
.fund-list li { counter-increment: f; padding: 22px 0; border-bottom: 1px solid var(--paper-line); font-size: clamp(21px, 2vw, 27px); letter-spacing: -.03em; line-height: 1.2; font-weight: 500; }
.fund-list li::before { content: "0" counter(f); display: block; font: 400 11px var(--mono); letter-spacing: .08em; color: var(--ink-muted); margin-bottom: 12px; }
.fund-list li em { font-family: var(--serif); font-weight: 400; font-size: 1.08em; letter-spacing: -.01em; }
.met-cta { margin-top: 40px; }

/* ── Fundador ────────────────────────────────────────────────────────── */
.founder { padding: 140px 0; }
.founder-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 88px; align-items: start; }
.founder-photo { position: sticky; top: 110px; }
.founder-copy h2 { margin-bottom: 30px; }
.founder-id { display: flex; flex-direction: column; gap: 3px; padding: 16px 0 16px 18px; border-left: 2px solid var(--accent); margin-bottom: 36px; font-size: 14.5px; color: var(--muted); }
.founder-id b { font-size: 17px; font-weight: 500; color: var(--text); letter-spacing: -.01em; }
.founder-quote { margin: 44px 0; padding: 0; font-family: var(--serif); font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -.015em; color: var(--text); }
.founder-quote em { color: var(--accent); }

.trajetoria { margin-top: 130px; }
.tl { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; position: relative; }
.tl::before, .tl::after { content: ""; position: absolute; left: 0; top: 7px; height: 1px; background: var(--line-2); width: 100%; }
.tl::after { width: 0; background: linear-gradient(90deg, var(--line-2), var(--accent)); transition: width 1.6s var(--ease); }
.tl.run::after { width: calc(75% + 8px); }
.tl li { position: relative; padding-top: 36px; opacity: .35; transition: opacity .7s var(--ease); }
.tl li.in { opacity: 1; }
.tl li::before { content: ""; position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 1px solid var(--muted); box-sizing: border-box; }
.tl li.tl-now::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.tl-when { font: 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tl-now .tl-when { color: var(--accent); }
.tl h3 { margin: 10px 0 8px; font-size: 21px; font-weight: 500; }
.tl p { color: var(--soft); font-size: 15px; line-height: 1.55; }

.evidencias { margin-top: 110px; display: grid; grid-template-columns: .82fr 1.18fr; gap: 88px; align-items: start; padding-top: 44px; border-top: 1px solid var(--line); }
.ev-note { color: var(--muted); font-size: 14.5px; line-height: 1.55; max-width: 360px; }
.ev-list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.ev { display: flex; flex-direction: column; padding: 24px 0 26px; border-bottom: 1px solid var(--line); }
.ev dt { order: 2; margin-top: 8px; color: var(--soft); font-size: 15.5px; line-height: 1.4; max-width: 280px; }
.ev dd { margin: 0; }
.ev-v { order: 1; font-size: clamp(48px, 5.4vw, 72px); line-height: 1; letter-spacing: -.05em; font-weight: 400; color: var(--text); font-variant-numeric: tabular-nums; }
.ev-s { font-family: var(--serif); font-style: italic; color: var(--accent); letter-spacing: -.01em; font-size: .6em; margin-left: 2px; }
.ev-src { order: 3; margin-top: 10px !important; font: 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }

@media (max-width: 960px) {
  .met-figure { display: none; }
  .met-half { display: block; margin-bottom: 28px; }
  .met-grid { grid-template-columns: 1fr; }
  .met-grid::before { display: none; }
  .met-hinge { display: flex; align-items: center; gap: 14px; margin: 56px 0; font: 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
  .met-hinge::before, .met-hinge::after { content: ""; flex: 1; height: 1px; background: var(--paper-line); }
  .met-hinge span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--accent-ink); box-shadow: 0 0 0 5px rgba(148,96,47,.14); margin-right: 12px; vertical-align: -1px; }
  .fund-list { grid-template-columns: 1fr 1fr; }
  .founder-grid, .evidencias { grid-template-columns: 1fr; gap: 48px; }
  .founder-photo { position: relative; top: auto; max-width: 440px; }
  .tl { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .tl::before, .tl::after { display: none; }
}
@media (max-width: 600px) {
  .method, .founder { padding: 96px 0; }
  .fundamentos { margin-top: 80px; }
  .fund-list { grid-template-columns: 1fr; }
  .met-cta { width: 100%; justify-content: center; }
  .trajetoria, .evidencias { margin-top: 88px; }
  .tl { grid-template-columns: 1fr; gap: 0; padding-left: 30px; }
  .tl::before { display: block; left: 7px; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .tl li { padding: 0 0 34px; }
  .tl li::before { left: -30px; top: 2px; }
  .tl h3 { margin-top: 6px; }
  .ev-list { grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .ev-v { font-size: 46px; }
  .ev dt { font-size: 14.5px; }
  .founder-quote { margin: 36px 0; }
}
@media (max-width: 960px) {
  .met-half .met-lbl { font-size: 15px; }
  .met-half .met-num { font-size: 15px; }
  .met-half .met-loop-lbl { font-size: 13px; }
}
@media (max-width: 600px) {
  .fund-list li { padding: 16px 0; font-size: 21px; }
  .fund-list li::before { margin-bottom: 8px; }
}
@media (max-width: 600px) { .tl li:last-child { padding-bottom: 0; } }

/* ── Ajustes de mobile ───────────────────────────────────────────────── */
@media (max-width: 960px) {
  /* a lista textual dos módulos repete o diagrama: fica só para leitores de tela e SEO */
  .mod-list { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; margin: 0; padding: 0; border: 0; }
  .apps-list .apps-stage { margin: 4px 0 20px; }
  .apps-list .apps-stage .disclaimer { margin-top: 10px; }
  /* fundador: título antes da foto */
  .founder-grid { display: flex; flex-direction: column; gap: 0; }
  .founder-copy { display: contents; }
  .founder-copy > .section-num { order: 1; }
  .founder-copy > h2 { order: 2; }
  .founder-photo { order: 3; margin: 4px 0 40px; max-width: none; }
  .founder-copy > * { order: 4; }
  .founder-photo > img:first-child { aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 20%; height: auto; }
}
@media (max-width: 600px) {
  .thesis, .process, .audience, .modules, .apps, .principles, .origin, .method, .founder { padding: 72px 0; }
  .final { padding: 88px 0 80px; }
  .section-head { margin-bottom: 32px; gap: 20px; }
  .hero-grid { padding-top: 24px; }
  .hero .lede { margin-top: 20px; }
  .met-hinge { margin: 40px 0; }
  .fundamentos { margin-top: 64px; padding-top: 28px; }
  .trajetoria, .evidencias { margin-top: 64px; }
  .founder-photo .origin-photo-2 { width: 46%; right: -2%; bottom: -6%; }
  .founder-quote { font-size: 30px; }
  .aud-note { margin-top: 36px; }
}

/* ── Primeira dobra no mobile: título, proposta, CTA e diagrama numa tela ── */
@media (max-width: 600px) {
  .hero { min-height: 0; padding-top: 64px; }
  .hero-grid { padding-top: 22px; gap: 0; }
  .hero h1 { font-size: clamp(38px, 10.4vw, 46px); }
  .hero .lede { margin-top: 16px; font-size: 16.5px; line-height: 1.5; }
  .hero .cta-row { margin-top: 24px; gap: 4px; }
  .hero .cta-row .btn-ghost { border-color: transparent; background: none; height: auto; min-height: 44px; padding: 10px 0; font-size: 15px; color: var(--soft); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 5px; }
  .hero-visual { margin-top: 4px; margin-bottom: -6%; max-width: 320px; }
  .hero-foot { display: none; }
}
@media (max-width: 600px) and (max-height: 680px) {
  .hero h1 { font-size: 36px; }
  .hero .lede { font-size: 15.5px; }
}
@media (max-width: 600px) { .hero .stack-wrap { clip-path: inset(4% -200px 0 -200px); } }

/* indicador que ocupa as duas colunas (ex.: alcance dos eventos) */
.ev.ev-wide { grid-column: 1 / -1; }
.ev.ev-wide dt { max-width: 520px; }
