/* ===== Tokens ===== */
:root {
  --bg: #0a0c0f;
  --bg-2: #0f1216;
  --surface: #13171c;
  --surface-2: #181d24;
  --border: #232a33;
  --border-forte: #2f3843;
  --text: #e8edf2;
  --text-2: #a3adb9;
  --text-3: #6f7b88;
  --acc: #3ee6b5;
  --acc-2: #38bdf8;
  --acc-soft: rgba(62, 230, 181, 0.12);
  --amber: #f5b84a;
  --code-k: #c792ea;
  --code-s: #a5e887;
  --code-n: #f78c6c;
  --code-f: #82aaff;
  --sombra: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --grid-line: rgba(255, 255, 255, 0.04);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --raio: 14px;
  --raio-sm: 8px;
  --gutter: 16px;
  --max: 1160px;
  --topo-h: 64px;
}

:root[data-theme="light"] {
  --bg: #f7f8fa;
  --bg-2: #eef1f4;
  --surface: #ffffff;
  --surface-2: #f3f5f8;
  --border: #e1e5ea;
  --border-forte: #cbd2da;
  --text: #0e1318;
  --text-2: #4a5562;
  --text-3: #6b7683;
  --acc: #0b9e78;
  --acc-2: #0284c7;
  --acc-soft: rgba(11, 158, 120, 0.1);
  --amber: #b7791f;
  --code-k: #8e44ad;
  --code-s: #2e7d32;
  --code-n: #c2410c;
  --code-f: #1d4ed8;
  --sombra: 0 20px 50px -24px rgba(15, 23, 42, 0.25);
  --grid-line: rgba(15, 23, 42, 0.05);
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topo-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .3s, color .3s;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { color: var(--text); font-weight: 600; }
.mono { font-family: var(--mono); }
.acc { color: var(--acc); }
::selection { background: var(--acc); color: #04110c; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 28px; } }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--acc); color: #04110c; padding: 8px 14px; border-radius: var(--raio-sm); font-weight: 600;
}
.skip:focus { top: 12px; }

/* ===== Topo ===== */
.topo {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--topo-h);
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.topo.rolou { border-bottom-color: var(--border); }
.topo__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.logo__mark {
  width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px;
  background: linear-gradient(135deg, var(--acc), var(--acc-2)); color: #04110c;
  font-family: var(--mono); font-weight: 700;
}
.logo__txt { font-family: var(--mono); font-size: 15px; white-space: nowrap; }
@media (max-width: 420px) { .logo__txt { font-size: 12.5px; } .logo { gap: 8px; } }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 12px; border-radius: var(--raio-sm); color: var(--text-2); font-size: 14px; font-weight: 500;
  transition: color .2s, background-color .2s;
}
.nav a:hover, .nav a.ativo { color: var(--text); background: var(--surface-2); }
.nav .nav__cta { color: var(--acc); border: 1px solid color-mix(in srgb, var(--acc) 40%, transparent); margin-left: 6px; }
.nav .nav__cta:hover { background: var(--acc-soft); color: var(--acc); }

.topo__acoes { display: flex; gap: 6px; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--raio-sm);
  background: transparent; border: 1px solid var(--border); color: var(--text-2); cursor: pointer;
  transition: color .2s, border-color .2s;
}
.icon-btn:hover { color: var(--text); border-color: var(--border-forte); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:root[data-theme="dark"] .i-lua, :root[data-theme="light"] .i-sol { display: none; }

.menu-btn { display: none; flex-direction: column; gap: 4px; }
.menu-btn span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 820px) {
  .menu-btn { display: flex; }
  .nav {
    position: fixed; top: var(--topo-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 20px; background: var(--bg); border-bottom: 1px solid var(--border);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.aberto { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 12px; font-size: 16px; }
  .nav .nav__cta { margin: 8px 0 0; text-align: center; }
}

/* ===== Botões e chips ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 20px; border-radius: 10px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; transition: transform .15s, background-color .2s, border-color .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { transform: translateY(-1px); }
.btn--pri { background: var(--acc); color: #04110c; box-shadow: 0 8px 30px -10px color-mix(in srgb, var(--acc) 70%, transparent); }
.btn--pri:hover { box-shadow: 0 10px 34px -8px color-mix(in srgb, var(--acc) 80%, transparent); }
.btn--sec { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn--sec:hover { border-color: var(--border-forte); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li {
  font-family: var(--mono); font-size: 12.5px; color: var(--text-2);
  padding: 4px 10px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface-2);
}
.chips--sm li { font-size: 11.5px; padding: 3px 8px; }

.link-ext { display: inline-flex; align-items: center; gap: 4px; font-family: var(--mono); font-size: 13px; color: var(--acc); }
.link-ext svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s; }
.link-ext:hover svg { transform: translate(2px, -2px); }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 0 var(--acc); animation: pulso 2s infinite; }
.dot--amber { background: var(--amber); box-shadow: none; animation: none; }
@keyframes pulso {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--acc) 60%, transparent); }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ===== Janela de código ===== */
.janela {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--raio);
  box-shadow: var(--sombra); overflow: hidden; min-width: 0;
}
.janela__barra {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px;
  border-bottom: 1px solid var(--border); background: var(--surface-2);
}
.janela__barra i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-forte); }
.janela__barra i:nth-child(1) { background: #ff5f57; }
.janela__barra i:nth-child(2) { background: #febc2e; }
.janela__barra i:nth-child(3) { background: #28c840; }
.janela__barra span { margin-left: 8px; font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.janela pre { margin: 0; padding: 18px; overflow-x: auto; font-size: 13px; line-height: 1.7; color: var(--text-2); }
.janela .k { color: var(--code-k); }
.janela .s { color: var(--code-s); }
.janela .n { color: var(--code-n); }
.janela .f { color: var(--code-f); }
.janela .v { color: var(--text); }
.janela .ok { color: var(--acc); }
.janela .mut { color: var(--text-3); }

/* ===== Hero ===== */
.hero { position: relative; padding: calc(var(--topo-h) + 56px) 0 72px; overflow: hidden; }
.hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
}
.hero::after {
  content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -150px; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--acc) 18%, transparent), transparent 65%);
  filter: blur(20px);
}
.hero__inner { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero__inner { grid-template-columns: 1.15fr 0.85fr; } .hero { padding-bottom: 96px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--text-2);
  padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
}
.hero h1 { font-size: clamp(36px, 7vw, 64px); font-weight: 800; margin: 22px 0 20px; }
.grad {
  background: linear-gradient(90deg, var(--acc), var(--acc-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 .grad { display: inline-block; font-size: 0.74em; margin-top: 6px; }
.hero__lead { font-size: clamp(16px, 2.2vw, 19px); color: var(--text-2); max-width: 600px; }
.prompt { margin: 22px 0 30px; font-size: 14px; color: var(--text-2); min-height: 1.6em; }
.cursor { display: inline-block; width: 8px; height: 1.1em; vertical-align: -2px; margin-left: 2px; background: var(--acc); animation: pisca 1s steps(1) infinite; }
@keyframes pisca { 50% { opacity: 0; } }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__code { transform: perspective(1200px) rotateY(-4deg) rotateX(2deg); }
@media (max-width: 979px) { .hero__code { transform: none; } }
@media (max-width: 420px) { .janela pre { font-size: 12px; padding: 14px; } }

/* ===== Números ===== */
.numeros { border-block: 1px solid var(--border); background: var(--bg-2); }
.numeros__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .numeros__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .numeros__grid { grid-template-columns: repeat(6, 1fr); } }
.stat { padding: 26px 16px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat strong { font-size: clamp(22px, 3.4vw, 30px); font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
.stat strong.stat__txt { font-size: clamp(18px, 2.4vw, 22px); line-height: 1.45; }
.stat span { font-size: 13px; color: var(--text-3); line-height: 1.4; }
@media (max-width: 699px) { .stat:nth-child(2n) { border-right: 0; } .stat:nth-last-child(-n+2) { border-bottom: 0; } }
@media (min-width: 700px) and (max-width: 1099px) { .stat:nth-child(3n) { border-right: 0; } .stat:nth-last-child(-n+3) { border-bottom: 0; } }
@media (min-width: 1100px) { .stat { border-bottom: 0; } .stat:last-child { border-right: 0; } }

/* ===== Seções ===== */
.secao { padding: 88px 0; }
@media (min-width: 768px) { .secao { padding: 112px 0; } }
.secao--escura { background: var(--bg-2); border-block: 1px solid var(--border); }
.secao__head { max-width: 720px; margin-bottom: 44px; }
.kicker { font-size: 13px; color: var(--acc); margin-bottom: 12px; text-transform: lowercase; }
.secao h2 { font-size: clamp(28px, 4.4vw, 42px); font-weight: 800; }
.secao__sub { margin-top: 14px; color: var(--text-2); font-size: 17px; }

/* ===== Cases ===== */
.case {
  display: grid; gap: 32px; padding: 28px; margin-bottom: 28px;
  background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--raio) + 6px);
  position: relative; overflow: hidden;
}
.case::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 1px;
  background: linear-gradient(90deg, transparent, var(--acc), transparent); opacity: .6;
}
@media (min-width: 960px) {
  .case { grid-template-columns: 1.1fr 0.9fr; padding: 40px; gap: 44px; }
  .case--alt .case__lado { order: -1; }
}
.case__topo { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.case h3 { font-size: clamp(26px, 3.6vw, 34px); font-weight: 800; }
.case__tag { margin-top: 6px; font-size: 14px; color: var(--text-3); }
.case__blocos { margin: 24px 0; display: grid; gap: 14px; }
.case__blocos div { padding-left: 14px; border-left: 2px solid var(--border-forte); }
.case__blocos dt { font-family: var(--mono); font-size: 12px; color: var(--acc); text-transform: uppercase; letter-spacing: .06em; }
.case__blocos dd { margin: 2px 0 0; color: var(--text-2); }
.destaques { display: grid; gap: 8px; margin-bottom: 22px; }
.destaques li { position: relative; padding-left: 22px; color: var(--text-2); font-size: 15px; }
.destaques li::before { content: "▹"; position: absolute; left: 0; color: var(--acc); }
.case__lado { display: flex; flex-direction: column; gap: 14px; justify-content: flex-start; min-width: 0; }
@media (min-width: 960px) { .case__lado { padding-top: 6px; } }
.case__nota { font-size: 14px; color: var(--text-3); }
.log { font-size: 12.5px; }

/* ===== Projetos (Fraktal) ===== */
.filtros { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filtro {
  font: 500 14px var(--font); padding: 8px 16px; border-radius: 999px; cursor: pointer;
  background: var(--surface); color: var(--text-2); border: 1px solid var(--border);
  transition: color .2s, background-color .2s, border-color .2s;
}
.filtro:hover { color: var(--text); border-color: var(--border-forte); }
.filtro.ativo { background: var(--acc-soft); color: var(--acc); border-color: color-mix(in srgb, var(--acc) 45%, transparent); }

.projetos { display: grid; gap: 18px; }
@media (min-width: 680px) { .projetos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .projetos { grid-template-columns: repeat(3, 1fr); } }
.proj {
  display: flex; flex-direction: column; gap: 14px; padding: 24px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--raio);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.proj:hover { border-color: color-mix(in srgb, var(--acc) 40%, var(--border)); transform: translateY(-3px); box-shadow: var(--sombra); }
.proj.oculto { display: none; }
.proj__topo { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.proj h3 { font-size: 20px; font-weight: 700; }
.proj p { color: var(--text-2); font-size: 14.5px; flex: 1; }
.proj .link-ext { margin-top: 2px; }
.badge {
  flex-shrink: 0; font-family: var(--mono); font-size: 11px; color: var(--acc-2);
  padding: 3px 8px; border-radius: 6px; background: color-mix(in srgb, var(--acc-2) 12%, transparent);
}

/* ===== Lab ===== */
.lab { display: grid; gap: 18px; }
@media (min-width: 900px) { .lab { grid-template-columns: repeat(3, 1fr); } }
.lab__card {
  display: flex; flex-direction: column; gap: 12px; padding: 24px;
  border: 1px dashed var(--border-forte); border-radius: var(--raio); background: transparent;
}
.lab__card h3 { font-size: 20px; }
.lab__card p { color: var(--text-2); font-size: 14.5px; }
.lab__status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--amber) !important; }
.lab__num { font-size: 13px; color: var(--acc) !important; }
.lab .chips { margin-top: auto; }

/* ===== Trajetória (git log) ===== */
.gitlog { position: relative; max-width: 820px; }
.gitlog::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(var(--acc), var(--border-forte) 40%, var(--border));
}
.commit { position: relative; padding: 0 0 36px 40px; }
.commit:last-child { padding-bottom: 0; }
.commit::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg-2); border: 2px solid var(--acc);
}
.commit:first-child::before { background: var(--acc); box-shadow: 0 0 0 5px var(--acc-soft); }
.commit__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; margin-bottom: 8px; }
.hash { color: var(--amber); }
.branch { color: var(--acc); padding: 1px 8px; border: 1px solid color-mix(in srgb, var(--acc) 40%, transparent); border-radius: 999px; }
.data { color: var(--text-3); }
.commit h3 { font-size: 19px; margin-bottom: 6px; }
.commit p { color: var(--text-2); font-size: 15px; }
.commit a { color: var(--acc); text-decoration: underline; text-underline-offset: 3px; }

/* ===== Formação ===== */
.formacao {
  display: grid; gap: 32px; padding: 32px;
  border: 1px solid var(--border); border-radius: calc(var(--raio) + 6px); background: var(--surface);
}
@media (min-width: 900px) { .formacao { grid-template-columns: 1.3fr 1fr; padding: 44px; align-items: center; } }
.formacao__txt p { color: var(--text-2); margin-top: 14px; }
.formacao__txt h2 { margin-bottom: 4px; }
.formacao__cursos { display: grid; gap: 14px; }
.formacao__cursos li {
  display: flex; flex-direction: column; gap: 2px; padding: 18px 20px;
  border: 1px solid var(--border); border-radius: var(--raio); background: var(--surface-2);
}
.formacao__cursos .mono { font-size: 12px; }
.formacao__cursos strong { font-size: 17px; }
.formacao__cursos span:not(.mono) { color: var(--text-2); font-size: 14px; }
.formacao__cursos small { color: var(--text-3); font-size: 13px; }

/* ===== Stack ===== */
.stack { display: grid; gap: 16px; }
@media (min-width: 760px) { .stack { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .stack { grid-template-columns: repeat(3, 1fr); } }
.stack__grupo { padding: 22px; border: 1px solid var(--border); border-radius: var(--raio); background: var(--surface); }
.stack__grupo h3 { font-size: 15px; font-weight: 600; margin-bottom: 14px; color: var(--text); }

/* ===== Pilares ===== */
.pilares { display: grid; gap: 18px; }
@media (min-width: 680px) { .pilares { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .pilares { grid-template-columns: repeat(4, 1fr); } }
.pilar { padding: 26px; border: 1px solid var(--border); border-radius: var(--raio); background: var(--surface); }
.pilar svg {
  width: 40px; height: 40px; padding: 9px; border-radius: 10px; margin-bottom: 18px;
  background: var(--acc-soft); stroke: var(--acc); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.pilar h3 { font-size: 18px; margin-bottom: 8px; }
.pilar p { color: var(--text-2); font-size: 14.5px; }

/* ===== Contato ===== */
.contato { padding-top: 40px; }
.contato__box {
  position: relative; overflow: hidden; text-align: center; padding: 56px 24px;
  border: 1px solid var(--border); border-radius: calc(var(--raio) + 10px);
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, color-mix(in srgb, var(--acc) 14%, transparent), transparent 70%),
    var(--surface);
}
@media (min-width: 768px) { .contato__box { padding: 72px 48px; } }
.contato__box > p:not(.kicker) { color: var(--text-2); max-width: 560px; margin: 14px auto 0; font-size: 17px; }
.contato__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.contato__ctas .btn { max-width: 100%; }
.sociais { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 28px; }
.sociais a { font-family: var(--mono); font-size: 14px; color: var(--text-2); border-bottom: 1px solid var(--border-forte); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.sociais a:hover { color: var(--acc); border-color: var(--acc); }
@media (max-width: 480px) { .contato__ctas .btn { width: 100%; font-size: 14px; } }

/* ===== Rodapé ===== */
.rodape { padding: 32px 0 40px; border-top: 1px solid var(--border); margin-top: 88px; }
.rodape__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 14px; color: var(--text-3); }
.rodape .mono { font-size: 12.5px; }

/* ===== WhatsApp flutuante (mobile) ===== */
.wpp-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 54px; height: 54px;
  display: none; place-items: center; border-radius: 50%; background: #25d366; color: #fff;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.6);
}
.wpp-float svg { width: 28px; height: 28px; fill: currentColor; }
@media (max-width: 820px) { .wpp-float { display: grid; } }

/* ===== Reveal ===== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.visivel { opacity: 1; transform: none; }

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

/* Spec-Driven Development */
.sdd { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .sdd { grid-template-columns: 1fr 1fr; gap: 40px; } }
.sdd .janela { min-width: 0; }
.fluxo li { position: relative; display: flex; gap: 16px; padding: 12px 0; }
.fluxo li:not(:last-child)::after {
  content: ""; position: absolute; left: 17px; top: 52px; bottom: -8px; width: 2px;
  background: linear-gradient(var(--acc), transparent); opacity: .45;
}
.fluxo__n {
  flex: 0 0 36px; height: 36px; display: grid; place-items: center; border-radius: 10px;
  font-size: 13px; color: var(--acc); background: var(--acc-soft);
  border: 1px solid color-mix(in srgb, var(--acc) 40%, transparent);
}
.fluxo h3 { font-size: 17px; margin-bottom: 2px; }
.fluxo p { color: var(--text-2); font-size: 14.5px; }
.evidencias { display: grid; gap: 14px; margin-top: 40px; }
@media (min-width: 680px) { .evidencias { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .evidencias { grid-template-columns: repeat(5, 1fr); } }
.evid { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.evid h3 { font-size: 16px; margin-bottom: 6px; }
.evid p { color: var(--text-2); font-size: 13.5px; }
