:root {
  --bg: #0a0a0b;
  --s1: #111113;
  --s2: #17171a;
  --line: #232327;
  --line-2: #2f2f35;
  --text: #f2f2f3;
  --soft: #a6a6b0;
  --muted: #6c6c76;
  --r: #ff3d4f;
  --r-2: #ff7a87;
  --r-dim: rgba(255, 61, 79, .1);
  --g: #34d399;
  --sans: "Geist", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, Consolas, monospace;
  --serif: "Instrument Serif", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
::selection { background: var(--r); color: #fff; }
a { color: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--r-2); }
.r { color: var(--r); }
.g { color: var(--g); }
.dim { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- fundo: brilho + grão ---------- */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(800px 500px at 85% -10%, rgba(255,61,79,.12), transparent 70%),
    radial-gradient(600px 600px at -10% 110%, rgba(255,61,79,.06), transparent 70%); }
.bg::after { content: ""; position: absolute; inset: 0; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- layout com índice ---------- */
.layout { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 210px 1fr; gap: 64px; padding: 0 36px; }
.index { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 32px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-bottom: 44px; }
.brand b { display: block; font-size: 15px; font-weight: 600; line-height: 1.2; }
.brand small { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.mono-badge { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--r); color: #fff; font-size: 13px; font-weight: 800; box-shadow: 0 6px 24px rgba(255,61,79,.35); flex: none; }
.index nav { display: grid; gap: 2px; }
.index nav a { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--muted); font-size: 14px; padding: 7px 0; transition: color .2s; position: relative; }
.index nav a span { font-family: var(--mono); font-size: 11px; color: var(--line-2); transition: color .2s; }
.index nav a:hover { color: var(--text); }
.index nav a.active { color: var(--text); }
.index nav a.active span { color: var(--r); }
.index nav a.active::before { content: ""; position: absolute; left: -18px; top: 50%; width: 8px; height: 2px; background: var(--r); }
.index-foot { margin-top: auto; display: grid; gap: 14px; }
.avail { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--soft); }
.avail i { width: 8px; height: 8px; border-radius: 50%; background: var(--g); box-shadow: 0 0 0 3px rgba(52,211,153,.18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(52,211,153,0); } }
.classif { font-family: var(--mono); font-size: 10.5px; color: var(--muted); line-height: 1.6; letter-spacing: .04em; }
.classif b { color: var(--r); font-weight: 600; }

main { min-width: 0; padding-bottom: 40px; }

/* ---------- estados da escrita ---------- */
.js .w:empty { visibility: hidden; }
.js .w :empty:not(.caret):not(br):not(.rd):not(i) { display: none; }
.js .box:not(.drawing):not(.drawn) { visibility: hidden; }
.box.drawing { outline: 1.5px dashed var(--c, var(--r)); outline-offset: -1px; }
.caret { display: inline-block; width: 2px; height: 1.05em; vertical-align: -0.15em; margin-left: 1px; animation: blink .8s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
mark { color: #000; border-radius: 3px; }

/* tarja de censura */
.rd { display: inline-block; height: 1.05em; vertical-align: -0.16em; width: 0; border-radius: 2px;
  background: repeating-linear-gradient(-45deg, #d9d9de 0 6px, #c4c4ca 6px 12px); }
.rd.done { width: var(--w); }

/* ---------- card base ---------- */
.card { position: relative; background: var(--s1); border: 1px solid var(--line); border-radius: 16px; padding: 26px; transition: border-color .3s, transform .3s; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255,61,79,.08), transparent 60%); }
.card:hover { border-color: var(--line-2); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }

/* ---------- seções ---------- */
.sec { padding-top: 130px; }
.sec-head { margin-bottom: 40px; max-width: 720px; }
.sec-no { font-family: var(--mono); font-size: 12px; color: var(--r); letter-spacing: .06em; text-transform: uppercase; min-height: 1.6em; }
.sec-head h2, .big { font-size: clamp(36px, 5vw, 58px); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; margin: 14px 0 16px; min-height: 1.02em; }
.sec-head h2 em, .big em { font-size: 1.08em; }
.sec-intro { color: var(--soft); font-size: 17.5px; max-width: 620px; min-height: 1.6em; }

/* ---------- hero ---------- */
.hero { padding-top: 36px; min-height: 100vh; display: flex; flex-direction: column; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: .06em; padding-bottom: 16px; border-bottom: 1px solid var(--line); min-height: 2.6em; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; margin: auto 0; padding: 56px 0 40px; }
.eyebrow { font-family: var(--mono); font-size: 12.5px; color: var(--soft); min-height: 1.6em; }
.name { font-size: clamp(56px, 7.6vw, 108px); font-weight: 800; letter-spacing: -.05em; line-height: .92; margin: 14px 0 20px; min-height: .92em; }
.headline { font-size: clamp(21px, 2.2vw, 27px); font-weight: 500; letter-spacing: -.015em; line-height: 1.3; max-width: 580px; min-height: 1.3em; }
.headline em { font-size: 1.12em; }
.lead { color: var(--soft); margin-top: 18px; max-width: 560px; min-height: 1.6em; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; text-decoration: none; font-size: 14.5px; font-weight: 600; padding: 12px 20px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--s2); color: var(--text); transition: transform .15s, box-shadow .2s, border-color .2s; }
.btn:hover { transform: translateY(-1px); border-color: #45454d; }
.btn.primary { background: var(--r); border-color: var(--r); color: #fff; box-shadow: 0 8px 30px rgba(255,61,79,.3); }
.btn.primary:hover { box-shadow: 0 12px 40px rgba(255,61,79,.45); }
.is-pressed { transform: scale(.95) !important; }

/* ficha */
.file { padding: 0; overflow: hidden; background: linear-gradient(180deg, var(--s2), var(--s1)); box-shadow: 0 40px 80px rgba(0,0,0,.45); }
.file-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: .06em; }
.stamp { font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--r); border: 1.5px solid var(--r); padding: 2px 8px; border-radius: 4px; transform: rotate(-4deg); letter-spacing: .14em; }
.file-body { display: grid; grid-template-columns: 112px 1fr; gap: 20px; padding: 20px; }

/* foto: silhueta encapuzada animada (SVG original) */
.photo { position: relative; height: 146px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2);
  background: radial-gradient(circle at 50% 35%, rgba(255,61,79,.14), transparent 65%), #0d0d0f; }
.photo::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.35) 0 1px, transparent 1px 3px); }
.photo::after { content: ""; position: absolute; left: 0; right: 0; height: 28%; top: -30%; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255,61,79,.16), transparent);
  animation: scan 3.2s linear infinite; }
@keyframes scan { to { top: 110%; } }
.ghost { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; animation: breathe 4.5s ease-in-out infinite, glitch 7s steps(1) infinite; }
@keyframes breathe { 50% { transform: translateY(1.5px) scale(1.01); } }
@keyframes glitch {
  0%, 88%, 100% { filter: none; translate: 0 0; }
  89% { filter: drop-shadow(3px 0 0 rgba(255,61,79,.7)) drop-shadow(-3px 0 0 rgba(34,211,238,.5)); translate: -3px 0; }
  90% { filter: drop-shadow(-2px 0 0 rgba(255,61,79,.7)); translate: 2px 0; clip-path: inset(30% 0 40% 0); }
  91% { filter: none; translate: 0 0; clip-path: none; }
}
.ghost .eyes { fill: var(--r); filter: drop-shadow(0 0 3px var(--r)); animation: eyes 5s infinite; transform-origin: 50px 53px; }
@keyframes eyes { 0%, 40%, 100% { opacity: .95; } 42%, 44% { opacity: 0; transform: scaleY(.1); } 43% { opacity: .9; } 70% { opacity: .55; } }
.photo-tag { position: absolute; left: 6px; bottom: 6px; z-index: 4; font-family: var(--mono); font-size: 8.5px; letter-spacing: .12em; color: var(--r); background: rgba(10,10,11,.85); padding: 2px 5px; border-radius: 3px; }

/* cursor descansando: some até receber nova tarefa */
.gc { transition: opacity .45s ease; }
.gc.resting { opacity: 0; }
.fields { display: grid; gap: 0; }
.fields > div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 14px; min-height: 34px; }
.fields > div:last-child { border-bottom: 0; }
.fields dt { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding-top: 3px; }
.fields dd { font-weight: 500; }
.file-foot { padding: 12px 20px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--muted); min-height: 2.8em; }

/* fatos */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 22px 22px 22px 0; }
.fact + .fact { padding-left: 22px; border-left: 1px solid var(--line); }
.fact .n { font-size: 42px; font-weight: 700; letter-spacing: -.04em; line-height: 1; min-height: 1em; }
.fact .l { font-size: 13.5px; color: var(--soft); margin-top: 8px; min-height: 1.6em; }

/* ---------- áreas ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.area { display: flex; flex-direction: column; min-height: 300px; }
.a-no { font-family: var(--mono); font-size: 12px; color: var(--muted); min-height: 1.6em; }
.area h3 { font-size: 21px; font-weight: 650; letter-spacing: -.02em; margin: 26px 0 8px; min-height: 1.3em; line-height: 1.25; }
.area p { color: var(--soft); font-size: 15px; min-height: 1.6em; }
.ticks { list-style: none; margin-top: auto; padding-top: 20px; display: grid; gap: 7px; }
.ticks li { font-size: 14px; display: flex; gap: 10px; }
.ticks li::before { content: ""; flex: none; width: 10px; height: 1.5px; background: var(--r); margin-top: .78em; }
.opsec { border: 1px dashed rgba(255,61,79,.45); background: linear-gradient(135deg, var(--r-dim), transparent 70%), var(--s1); }
.opsec h3 { font-size: 19px; }

/* ---------- casos ---------- */
.case { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding: 34px; margin-bottom: 14px; }
.case-no { font-family: var(--mono); font-size: 12px; color: var(--r); letter-spacing: .08em; min-height: 1.6em; }
.case h3 { font-size: 26px; font-weight: 700; letter-spacing: -.025em; line-height: 1.15; margin: 12px 0 18px; min-height: 1.15em; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; min-height: 26px; }
.chips li { font-family: var(--mono); font-size: 11.5px; padding: 3px 9px; border-radius: 6px; background: var(--s2); border: 1px solid var(--line); color: var(--soft); }
.status { margin-top: 20px; font-family: var(--mono); font-size: 12.5px; color: var(--soft); min-height: 1.6em; }
.case-body { display: grid; gap: 0; }
.case-body > div { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); min-height: 52px; }
.case-body > div:first-child { padding-top: 0; }
.case-body > div:last-child { border-bottom: 0; padding-bottom: 0; }
.case-body dt { font-family: var(--mono); font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding-top: 3px; }
.case-body dd { color: var(--soft); font-size: 15.5px; }
.case-body dd.res { color: var(--text); font-weight: 500; }
.redacted-case { display: block; border-style: dashed; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.012) 0 10px, transparent 10px 20px), var(--s1); }
.redacted-case h3 { margin-bottom: 10px; }
.redacted-case p { color: var(--soft); max-width: 640px; min-height: 1.6em; }

/* ---------- método ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; margin-bottom: 18px; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 1px; background: linear-gradient(90deg, var(--r), var(--line) 80%); }
.step { padding-right: 18px; }
.s-no { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); font-family: var(--mono); font-size: 12px; color: var(--r); min-height: 38px; }
.step h3 { font-size: 19px; font-weight: 650; margin: 16px 0 6px; min-height: 1.4em; }
.step p { font-size: 14.5px; color: var(--soft); min-height: 1.6em; }
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 40px; }
.pr { padding: 26px 28px; }
.pr-q { font-family: var(--serif); font-size: 52px; line-height: .6; color: var(--r); height: 26px; }
.pr h3 { font-size: 20px; font-weight: 650; letter-spacing: -.015em; margin-bottom: 6px; min-height: 1.4em; }
.pr p { color: var(--soft); font-size: 15px; min-height: 1.6em; }

/* ---------- trajetória ---------- */
.evo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stage { display: flex; flex-direction: column; min-height: 250px; }
.stage + .stage::after { content: "→"; position: absolute; left: -14px; top: 50%; transform: translate(-50%, -50%); width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); font-size: 12px; color: var(--r); }
.st-lv { font-family: var(--mono); font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; min-height: 1.6em; }
.stage h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin: 14px 0 8px; min-height: 1.3em; }
.stage p { font-size: 14.5px; color: var(--soft); min-height: 1.6em; }
.stage.now { border-color: rgba(255,61,79,.4); background: linear-gradient(160deg, rgba(255,61,79,.13), transparent 60%), var(--s1); }
.stage.now .st-lv { color: var(--r-2); }
.exp { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 18px; font-family: var(--mono); font-size: 11.5px; color: var(--soft); min-height: 2.6em; }
.exp .bar { flex: 1; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; display: block; }
.exp .bar i { display: block; height: 100%; width: 80%; border-radius: inherit; background: linear-gradient(90deg, #a3172a, var(--r)); }
.exp.typing .bar i { animation: grow 1.2s cubic-bezier(.2,.8,.2,1) both; }
@keyframes grow { from { width: 0; } }
.next { font-size: 14.5px; font-weight: 600; margin-top: 8px; min-height: 1.6em; }

/* ---------- formação ---------- */
.edu { padding: 28px; }
.edu-lv { font-family: var(--mono); font-size: 11.5px; color: var(--r); text-transform: uppercase; letter-spacing: .08em; min-height: 1.6em; }
.edu h3 { font-size: 26px; font-weight: 700; letter-spacing: -.025em; margin: 10px 0 4px; min-height: 1.2em; }
.edu-inst { color: var(--soft); min-height: 1.6em; }

/* ---------- anexos ---------- */
.annex { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; }
.annex-side { display: grid; gap: 14px; }
.annex-tag { font-family: var(--mono); font-size: 11px; color: var(--r); letter-spacing: .08em; text-transform: uppercase; min-height: 1.6em; }
.hobby h3 { font-size: 20px; font-weight: 650; letter-spacing: -.015em; margin: 12px 0 6px; min-height: 1.3em; }
.hobby p { color: var(--soft); font-size: 15px; min-height: 1.6em; }
.col-head { display: flex; align-items: center; gap: 14px; margin: 16px 0 6px; }
.avatar { width: 50px; height: 50px; flex: none; border-radius: 14px; display: grid; place-items: center; font-weight: 800; background: linear-gradient(135deg, var(--r), #8a1222); }
.col-name { font-size: 19px; font-weight: 700; min-height: 1.4em; }
.col-sub { font-size: 13px; color: var(--soft); min-height: 1.5em; }
.col-label { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 16px 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); min-height: 1.8em; }
.story { font-size: 14px; color: var(--soft); min-height: 1.6em; }
.story b { color: var(--text); font-weight: 600; }
.traits { display: flex; flex-wrap: wrap; gap: 6px; min-height: 28px; }
.traits span { font-size: 13px; padding: 3px 10px; border-radius: 7px; background: var(--s2); border: 1px solid var(--line); }
.skills { display: grid; gap: 5px; }
.sk { display: grid; grid-template-columns: 1fr auto 26px; gap: 8px; align-items: center; font-size: 13.5px; padding: 5px 10px; border-radius: 7px; min-height: 31px;
  background: linear-gradient(90deg, rgba(255,61,79,.24), rgba(255,61,79,.08)) no-repeat, var(--s2); background-size: calc(var(--v) * 5%) 100%, 100% 100%; }
.sk.typing { animation: fill .9s cubic-bezier(.2,.8,.2,1) both; }
@keyframes fill { from { background-size: 0 100%, 100% 100%; } }
.sk-f { font-size: 11px; letter-spacing: -2px; }
.sk-l { font-family: var(--mono); font-weight: 600; text-align: right; }
.mood { margin-top: 14px; font-size: 13.5px; padding: 9px 12px; border-radius: 9px; background: rgba(52,211,153,.06); border: 1px solid rgba(52,211,153,.18); min-height: 1.6em; }

.term { grid-column: 1 / -1; padding: 0; overflow: hidden; background: #070708; }
.term-top { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .06em; }
.term-top i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.term-top i:first-child { background: var(--r); }
.term-top span { margin-left: 8px; }
.term-body { font-family: var(--mono); font-size: 13.5px; padding: 20px; min-height: 330px; white-space: pre-wrap; word-break: break-word; }
.term-body .row { min-height: 1.6em; }
.term-body .ps { color: var(--g); }
.term-body .ps b { color: var(--r); font-weight: 600; }
.term-body .out { color: var(--muted); }
.term-body .hl { color: var(--r); }
.term-body .good { color: var(--text); }
.blink { animation: blink 1s steps(1) infinite; color: var(--r); }

/* ---------- contato ---------- */
.contact-card { padding: 48px; overflow: hidden; background: radial-gradient(600px 300px at 100% 0%, rgba(255,61,79,.16), transparent 70%), var(--s1); }
.big { font-size: clamp(44px, 6.4vw, 80px); }
.links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 32px 0 26px; }
.link { position: relative; display: grid; gap: 4px; padding: 18px 20px; border-radius: 12px; background: var(--s2); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s; }
.link:hover { border-color: var(--r); transform: translateY(-2px); }
.link .k { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; min-height: 1.6em; }
.link .v { font-size: 16.5px; font-weight: 600; min-height: 1.5em; word-break: break-all; }
.link .arrow { position: absolute; right: 18px; top: 16px; color: var(--r); }
.big-btn { font-size: 15px; padding: 14px 24px; }

/* formulário de contato */
.cform { display: grid; gap: 12px; margin-top: 32px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-box { display: grid; gap: 6px; padding: 14px 16px 12px; border-radius: 12px; background: var(--s2); border: 1px solid var(--line); cursor: text; transition: border-color .2s, box-shadow .2s; }
.field-box:focus-within { border-color: var(--r); box-shadow: 0 0 0 4px rgba(255,61,79,.12); }
.field-box .lbl { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; min-height: 1.6em; }
.field-box input, .field-box textarea, .field-box select {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); background: transparent; border: 0; outline: 0; resize: vertical; }
.field-box select { appearance: none; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23ff3d4f' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 2px center; }
.field-box select option { background: #17171a; color: var(--text); }
.field-box ::placeholder { color: #55555e; }
.field-box.invalid { border-color: var(--r); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form-foot button { border: 0; cursor: pointer; font-family: inherit; }
.form-foot button:disabled { opacity: .6; cursor: wait; }
.form-note { font-size: 13px; color: var(--muted); max-width: 340px; min-height: 1.6em; }
.form-status { font-family: var(--mono); font-size: 13px; min-height: 1.4em; }
.form-status.ok { color: var(--g); }
.form-status.err { color: var(--r-2); }
.cform.sent .field-box, .cform.sent .form-foot { opacity: .45; pointer-events: none; }
.btn.big-btn.secured, .btn.big-btn.secured:hover { background: var(--g); border-color: var(--g); color: #03140c; box-shadow: 0 8px 34px rgba(52,211,153,.35); }

footer { font-family: var(--mono); font-size: 12px; color: var(--muted); padding: 60px 0 100px; }

/* ---------- alertas ---------- */
.alerts { position: fixed; right: 18px; top: 18px; z-index: 65; display: grid; gap: 8px; width: 290px; pointer-events: none; }
.alert { pointer-events: auto; padding: 11px 14px 11px 16px; border-radius: 12px; background: rgba(20,20,23,.94); border: 1px solid var(--line-2); border-left: 3px solid var(--a, var(--r)); backdrop-filter: blur(12px); box-shadow: 0 12px 40px rgba(0,0,0,.5); font-size: 13.5px; animation: slideIn .35s cubic-bezier(.2,.8,.2,1) both; }
.alert b { display: block; font-size: 11px; font-family: var(--mono); color: var(--a, var(--r)); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 2px; }
.alert span { color: var(--soft); }
.alert.out { animation: slideOut .35s ease-in both; }
@keyframes slideIn { from { opacity: 0; transform: translateX(30px); } }
@keyframes slideOut { to { opacity: 0; transform: translateX(30px); } }

/* ---------- cursores ---------- */
#cursor-layer { position: absolute; top: 0; left: 0; width: 0; height: 0; z-index: 60; pointer-events: none; }
.gc { position: absolute; top: 0; left: 0; will-change: transform; }
.gc svg { position: absolute; overflow: visible; filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); transition: transform .12s; }
.gc .arrow { left: -2px; top: -2px; width: 20px; height: 24px; }
.gc .beam { left: -6px; top: -12px; width: 12px; height: 24px; display: none; }
.gc[data-mode="type"] .arrow { display: none; }
.gc[data-mode="type"] .beam { display: block; }
.gc.press .arrow { transform: scale(.78); }
.gc .tag { position: absolute; left: 15px; top: 21px; white-space: nowrap; font-family: var(--mono); font-size: 11px; font-weight: 600; color: #000; background: var(--c); padding: 2px 8px; border-radius: 6px 10px 10px 10px; }
.gc[data-mode="type"] .tag { left: 9px; top: 13px; }
.ripple { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 2px solid var(--c); animation: ripple .45s ease-out forwards; }
@keyframes ripple { from { transform: scale(.2); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }

/* ---------- dock ---------- */
.dock { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 70; display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px); padding: 7px 8px 7px 10px; border-radius: 999px; background: rgba(20,20,23,.9); border: 1px solid var(--line-2); backdrop-filter: blur(14px); font-size: 12.5px; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
.avatars { display: flex; }
.avatars span { width: 20px; height: 20px; border-radius: 50%; margin-left: -5px; border: 2px solid #141417; display: grid; place-items: center; font-size: 9px; font-weight: 800; color: #000; transition: transform .2s; }
.avatars span:first-child { margin-left: 0; }
.avatars span.on { transform: translateY(-3px); }
.dock-msg { min-width: 230px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-prog { width: 70px; height: 4px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.dock-prog i { display: block; height: 100%; width: 0; background: var(--r); transition: width .4s; }
.dock-count { color: var(--muted); font-family: var(--mono); font-size: 11px; min-width: 32px; text-align: right; }
.skip { font: inherit; font-size: 12px; color: var(--text); background: var(--s2); border: 1px solid var(--line-2); padding: 5px 11px; border-radius: 999px; cursor: pointer; }
.skip:hover { border-color: var(--r); }
.dock.done .dock-msg { color: var(--g); }
.dock.done .skip { display: none; }

/* ---------- responsivo ---------- */
@media (max-width: 1100px) {
  .layout { grid-template-columns: 1fr; gap: 0; padding: 0 24px; }
  .index { position: sticky; top: 0; z-index: 40; height: auto; flex-direction: row; align-items: center; padding: 14px 0; background: linear-gradient(var(--bg) 70%, transparent); }
  .brand { margin: 0; }
  .index nav { display: none; }
  .index-foot { margin: 0 0 0 auto; }
  .classif { display: none; }
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 40px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .case { grid-template-columns: 1fr; gap: 24px; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .steps::before { display: none; }
  .evo { grid-template-columns: 1fr; }
  .stage + .stage::after { content: "↓"; left: 50%; top: -14px; transform: translate(-50%, -50%); }
  .stage { min-height: 0; }
  .annex { grid-template-columns: 1fr; }
  .alerts { display: none; }
}
@media (max-width: 640px) {
  .layout { padding: 0 16px; }
  .sec { padding-top: 90px; }
  .card { padding: 20px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .grid-3, .grid-2, .principles, .links { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .file-body { grid-template-columns: 1fr; }
  .photo { height: 160px; max-width: 140px; }
  .case { padding: 22px; }
  .case-body > div { grid-template-columns: 1fr; gap: 4px; }
  .contact-card { padding: 26px; }
  .row-2 { grid-template-columns: 1fr; }
  /* reduz só o desenho do cursor — escalar o .gc inteiro também escalaria a POSIÇÃO */
  .gc svg, .gc .tag { scale: .85; transform-origin: 0 0; }
  .dock { gap: 8px; }
  .dock-msg { min-width: 0; max-width: 140px; }
  .dock-prog, .dock-count { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sk.typing, .exp.typing .bar i, .alert { animation: none; }
}
