{
  "cheat/dev: Starter completo (reset + tokens + base)": {
    "prefix": [
      "cd-css",
      "cdcss"
    ],
    "body": [
      "/* ---------- reset ---------- */",
      "*, *::before, *::after { box-sizing: border-box; }",
      "* { margin: 0; }",
      "html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }",
      "body { min-height: 100dvh; line-height: 1.6; -webkit-font-smoothing: antialiased; }",
      "img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }",
      "input, button, textarea, select { font: inherit; color: inherit; }",
      "button { cursor: pointer; }",
      "p, h1, h2, h3, h4 { overflow-wrap: break-word; }",
      "h1, h2, h3 { text-wrap: balance; line-height: 1.2; }",
      "p { text-wrap: pretty; }",
      "a { color: inherit; }",
      "",
      "/* ---------- tokens ---------- */",
      ":root {",
      "  color-scheme: light dark;",
      "  --cor-marca: ${1:#2f6fed};",
      "  --bg: light-dark(#ffffff, #0e1013);",
      "  --texto: light-dark(#14171a, #e8eaec);",
      "  --suave: light-dark(#6b7280, #9aa3ad);",
      "  --borda: light-dark(#e5e7eb, #2a2e33);",
      "  --raio: 12px;",
      "  --espaco: clamp(1rem, 2vw + .5rem, 2rem);",
      "  --sombra: 0 1px 2px rgb(0 0 0 / .08), 0 8px 24px rgb(0 0 0 / .12);",
      "  --fonte: system-ui, -apple-system, \"Segoe UI\", Roboto, sans-serif;",
      "}",
      "",
      "/* ---------- base ---------- */",
      "body { font-family: var(--fonte); background: var(--bg); color: var(--texto); }",
      ":focus-visible { outline: 3px solid var(--cor-marca); outline-offset: 3px; }",
      "@media (prefers-reduced-motion: reduce) {",
      "  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }",
      "}",
      "$0"
    ],
    "description": "Tudo que garante uma base estável: cole no topo de qualquer projeto novo."
  },
  "cheat/dev: Reset moderno": {
    "prefix": [
      "cd-reset",
      "cdreset"
    ],
    "body": [
      "*, *::before, *::after { box-sizing: border-box; }",
      "* { margin: 0; }",
      "body { min-height: 100dvh; line-height: 1.6; }",
      "img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }",
      "input, button, textarea, select { font: inherit; color: inherit; }",
      "p, h1, h2, h3, h4 { overflow-wrap: break-word; }",
      "h1, h2, h3 { text-wrap: balance; }"
    ],
    "description": "Só o reset: box-sizing, margens, mídia responsiva, fontes de formulário e quebra de texto."
  },
  "cheat/dev: Tokens de design (:root)": {
    "prefix": [
      "cd-root",
      "cdroot"
    ],
    "body": [
      ":root {",
      "  --cor-marca: ${1:#2f6fed};",
      "  --cor-texto: #14171a;",
      "  --cor-fundo: #ffffff;",
      "  --cor-borda: #e5e7eb;",
      "",
      "  --espaco-1: .5rem;",
      "  --espaco-2: 1rem;",
      "  --espaco-3: 1.5rem;",
      "  --espaco-4: 2.5rem;",
      "",
      "  --raio: 12px;",
      "  --sombra-1: 0 1px 2px rgb(0 0 0 / .08), 0 2px 6px rgb(0 0 0 / .06);",
      "  --sombra-2: 0 4px 8px rgb(0 0 0 / .08), 0 12px 28px rgb(0 0 0 / .12);",
      "",
      "  --rapido: .15s ease;",
      "  --medio: .3s cubic-bezier(.22, 1, .36, 1);",
      "}"
    ],
    "description": "Cores, espaçamentos, raios, sombras e transições em variáveis."
  },
  "cheat/dev: Modo escuro (sistema + botão)": {
    "prefix": [
      "cd-dark",
      "cddark"
    ],
    "body": [
      ":root { --bg: #fff; --texto: #14171a; }",
      "@media (prefers-color-scheme: dark) {",
      "  :root:not([data-tema=\"claro\"]) { --bg: #0e1013; --texto: #e8eaec; }",
      "}",
      ":root[data-tema=\"escuro\"] { --bg: #0e1013; --texto: #e8eaec; }",
      "body { background: var(--bg); color: var(--texto); }"
    ],
    "description": "Segue o tema do sistema e aceita override com data-tema no html."
  },
  "cheat/dev: Container centralizado": {
    "prefix": [
      "cd-container",
      "cdcontainer"
    ],
    "body": [
      ".container {",
      "  width: min(100% - 2rem, ${1:1100px});",
      "  margin-inline: auto;",
      "}"
    ],
    "description": "Largura máxima com respiro lateral, sem media query."
  },
  "cheat/dev: Centralizar (grid)": {
    "prefix": [
      "cd-center",
      "cdcenter"
    ],
    "body": [
      ".${1:centro} {",
      "  display: grid;",
      "  place-items: center;",
      "  min-height: 100dvh;",
      "}"
    ],
    "description": "A forma mais curta de centralizar horizontal e verticalmente."
  },
  "cheat/dev: Flex em linha com gap": {
    "prefix": [
      "cd-flex",
      "cdflex"
    ],
    "body": [
      ".${1:linha} {",
      "  display: flex;",
      "  flex-wrap: wrap;",
      "  align-items: center;",
      "  justify-content: ${2:space-between};",
      "  gap: ${3:1rem};",
      "}"
    ],
    "description": "Linha que quebra em telas pequenas."
  },
  "cheat/dev: Grade responsiva (auto-fit)": {
    "prefix": [
      "cd-grid",
      "cdgrid"
    ],
    "body": [
      ".${1:grade} {",
      "  display: grid;",
      "  grid-template-columns: repeat(auto-fit, minmax(${2:240px}, 1fr));",
      "  gap: ${3:1rem};",
      "}"
    ],
    "description": "Colunas que se ajustam sozinhas, sem media query."
  },
  "cheat/dev: Pilha vertical (stack)": {
    "prefix": [
      "cd-stack",
      "cdstack"
    ],
    "body": [
      ".stack > * + * { margin-top: var(--stack, ${1:1rem}); }"
    ],
    "description": "Espaçamento vertical uniforme entre filhos, sem margin em cada um."
  },
  "cheat/dev: Cabeçalho fixo (sticky)": {
    "prefix": [
      "cd-sticky",
      "cdsticky"
    ],
    "body": [
      ".topo {",
      "  position: sticky;",
      "  top: 0;",
      "  z-index: 10;",
      "  background: var(--bg, #fff);",
      "  border-bottom: 1px solid var(--borda, #e5e7eb);",
      "}"
    ],
    "description": "Gruda no topo ao rolar, com fundo para não sobrepor texto."
  },
  "cheat/dev: Media query (mobile-first)": {
    "prefix": [
      "cd-mq",
      "cdmq"
    ],
    "body": [
      "@media (min-width: ${1:768px}) {",
      "  $0",
      "}"
    ],
    "description": "Escreva o estilo do celular primeiro e vá acrescentando para telas maiores."
  },
  "cheat/dev: Container query": {
    "prefix": [
      "cd-cq",
      "cdcq"
    ],
    "body": [
      ".${1:cards} { container-type: inline-size; }",
      "",
      "@container (min-width: ${2:480px}) {",
      "  .${3:card} { $0 }",
      "}"
    ],
    "description": "Componente que muda conforme o tamanho do PAI."
  },
  "cheat/dev: Botão base + variações": {
    "prefix": [
      "cd-btn",
      "cdbtn"
    ],
    "body": [
      ".btn {",
      "  display: inline-flex;",
      "  align-items: center;",
      "  gap: .5rem;",
      "  padding: .7em 1.2em;",
      "  border: 0;",
      "  border-radius: var(--raio, 10px);",
      "  background: var(--cor-marca, #2f6fed);",
      "  color: #fff;",
      "  font-weight: 600;",
      "  cursor: pointer;",
      "  transition: transform .15s ease, filter .15s ease;",
      "}",
      ".btn:hover { filter: brightness(1.1); }",
      ".btn:active { transform: scale(.97); }",
      ".btn:disabled { opacity: .5; cursor: not-allowed; filter: none; }"
    ],
    "description": "Botão com hover, active, foco e desabilitado."
  },
  "cheat/dev: Card com hover": {
    "prefix": [
      "cd-card",
      "cdcard"
    ],
    "body": [
      ".card {",
      "  background: var(--bg, #fff);",
      "  border: 1px solid var(--borda, #e5e7eb);",
      "  border-radius: var(--raio, 12px);",
      "  overflow: hidden;",
      "  transition: transform .25s ease, box-shadow .25s ease;",
      "}",
      ".card:hover {",
      "  transform: translateY(-4px);",
      "  box-shadow: 0 12px 28px rgb(0 0 0 / .14);",
      "}"
    ],
    "description": "Borda, sombra e leve elevação ao passar o mouse."
  },
  "cheat/dev: Glassmorphism": {
    "prefix": [
      "cd-glass",
      "cdglass"
    ],
    "body": [
      ".vidro {",
      "  background: rgb(255 255 255 / .12);",
      "  backdrop-filter: blur(14px) saturate(140%);",
      "  -webkit-backdrop-filter: blur(14px) saturate(140%);",
      "  border: 1px solid rgb(255 255 255 / .25);",
      "  border-radius: 16px;",
      "}"
    ],
    "description": "Vidro fosco. Precisa de fundo colorido ou imagem atrás."
  },
  "cheat/dev: Transição padrão": {
    "prefix": [
      "cd-trans",
      "cdtrans"
    ],
    "body": [
      "transition: ${1:transform} .25s cubic-bezier(.22, 1, .36, 1), ${2:opacity} .25s ease;"
    ],
    "description": "Transição só do que muda, com curva suave."
  },
  "cheat/dev: Animação de entrada (fade-up)": {
    "prefix": [
      "cd-anim",
      "cdanim"
    ],
    "body": [
      "@keyframes fade-up {",
      "  from { opacity: 0; transform: translateY(${1:20px}); }",
      "  to   { opacity: 1; transform: none; }",
      "}",
      ".${2:entra} { animation: fade-up .6s ease-out both; }"
    ],
    "description": "@keyframes + classe pronta; use 'both' para respeitar o atraso."
  },
  "cheat/dev: prefers-reduced-motion": {
    "prefix": [
      "cd-reduced",
      "cdreduced"
    ],
    "body": [
      "@media (prefers-reduced-motion: reduce) {",
      "  *, *::before, *::after {",
      "    animation-duration: .01ms !important;",
      "    animation-iteration-count: 1 !important;",
      "    transition-duration: .01ms !important;",
      "    scroll-behavior: auto !important;",
      "  }",
      "}"
    ],
    "description": "Respeita quem prefere menos movimento (acessibilidade)."
  },
  "cheat/dev: Anel de foco + skip link": {
    "prefix": [
      "cd-focus",
      "cdfocus"
    ],
    "body": [
      ":focus-visible {",
      "  outline: 3px solid var(--cor-marca, #2f6fed);",
      "  outline-offset: 3px;",
      "}",
      ".skip {",
      "  position: absolute;",
      "  left: 1rem;",
      "  top: -4rem;",
      "  padding: .6rem 1rem;",
      "  background: #000;",
      "  color: #fff;",
      "  z-index: 100;",
      "}",
      ".skip:focus { top: 1rem; }"
    ],
    "description": "Foco visível só no teclado e o link 'pular para o conteúdo'."
  },
  "cheat/dev: sr-only (só para leitor de tela)": {
    "prefix": [
      "cd-sr",
      "cdsr"
    ],
    "body": [
      ".sr-only {",
      "  position: absolute;",
      "  width: 1px;",
      "  height: 1px;",
      "  padding: 0;",
      "  margin: -1px;",
      "  overflow: hidden;",
      "  clip-path: inset(50%);",
      "  white-space: nowrap;",
      "  border: 0;",
      "}"
    ],
    "description": "Esconde visualmente mas mantém para tecnologias assistivas."
  },
  "cheat/dev: Tipografia fluida (clamp)": {
    "prefix": [
      "cd-clamp",
      "cdclamp"
    ],
    "body": [
      "h1 { font-size: clamp(2rem, 1.2rem + 4vw, 3.5rem); }",
      "h2 { font-size: clamp(1.5rem, 1rem + 2vw, 2.25rem); }"
    ],
    "description": "Título que cresce com a tela dentro de limites seguros."
  },
  "cheat/dev: Cortar texto (1 linha / N linhas)": {
    "prefix": [
      "cd-truncate",
      "cdtruncate"
    ],
    "body": [
      ".corta-1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }",
      ".corta-3 {",
      "  display: -webkit-box;",
      "  -webkit-line-clamp: ${1:3};",
      "  -webkit-box-orient: vertical;",
      "  overflow: hidden;",
      "}"
    ],
    "description": "Reticências em uma linha ou limite de linhas."
  },
  "cheat/dev: Proporção de mídia": {
    "prefix": [
      "cd-aspect",
      "cdaspect"
    ],
    "body": [
      ".${1:midia} {",
      "  aspect-ratio: ${2:16 / 9};",
      "  width: 100%;",
      "  object-fit: cover;",
      "}"
    ],
    "description": "Reserva o espaço da imagem/vídeo e evita salto de layout."
  }
}