{
  "cheat/dev: Página completa (pt-BR)": {
    "prefix": [
      "cd-html",
      "cdhtml"
    ],
    "body": [
      "<!DOCTYPE html>",
      "<html lang=\"pt-BR\">",
      "<head>",
      "  <meta charset=\"UTF-8\">",
      "  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">",
      "  <title>${1:Título da página}</title>",
      "  <meta name=\"description\" content=\"${2:Descrição de até 155 caracteres}\">",
      "  <link rel=\"stylesheet\" href=\"${3:style.css}\">",
      "</head>",
      "<body>",
      "  <a class=\"skip\" href=\"#conteudo\">Pular para o conteúdo</a>",
      "  <header>",
      "    $4",
      "  </header>",
      "  <main id=\"conteudo\">",
      "    $0",
      "  </main>",
      "  <footer>",
      "    <p>&copy; ${5:2026} ${6:Seu nome}</p>",
      "  </footer>",
      "  <script src=\"${7:script.js}\" defer></script>",
      "</body>",
      "</html>"
    ],
    "description": "Documento HTML5 já com lang, viewport, descrição, CSS e script com defer."
  },
  "cheat/dev: Head completo: SEO + Open Graph": {
    "prefix": [
      "cd-seo",
      "cdseo"
    ],
    "body": [
      "<title>${1:Título} | ${2:Nome do site}</title>",
      "<meta name=\"description\" content=\"${3:Descrição}\">",
      "<link rel=\"canonical\" href=\"${4:https://seusite.com/}\">",
      "<meta name=\"theme-color\" content=\"${5:#0e1013}\">",
      "<link rel=\"icon\" href=\"${6:/favicon.svg}\" type=\"image/svg+xml\">",
      "",
      "<meta property=\"og:type\" content=\"website\">",
      "<meta property=\"og:title\" content=\"${1:Título}\">",
      "<meta property=\"og:description\" content=\"${3:Descrição}\">",
      "<meta property=\"og:image\" content=\"${7:https://seusite.com/og.png}\">",
      "<meta property=\"og:url\" content=\"${4:https://seusite.com/}\">",
      "<meta name=\"twitter:card\" content=\"summary_large_image\">"
    ],
    "description": "Metas de busca, compartilhamento (WhatsApp, Discord, LinkedIn), favicon e cor do navegador."
  },
  "cheat/dev: Google Fonts (otimizado)": {
    "prefix": [
      "cd-font",
      "cdfont"
    ],
    "body": [
      "<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">",
      "<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>",
      "<link href=\"https://fonts.googleapis.com/css2?family=${1:Inter}:wght@400;600;700&display=swap\" rel=\"stylesheet\">"
    ],
    "description": "Preconnect + fonte com display=swap, para não travar a renderização."
  },
  "cheat/dev: Link 'pular para o conteúdo'": {
    "prefix": [
      "cd-skip",
      "cdskip"
    ],
    "body": [
      "<a class=\"skip\" href=\"#${1:conteudo}\">Pular para o conteúdo</a>"
    ],
    "description": "Acessibilidade para teclado. Combine com a classe .skip do snippet cd-focus."
  },
  "cheat/dev: Cabeçalho com navegação": {
    "prefix": [
      "cd-nav",
      "cdnav"
    ],
    "body": [
      "<header class=\"topo\">",
      "  <a class=\"logo\" href=\"/\">${1:Logo}</a>",
      "  <nav aria-label=\"Principal\">",
      "    <ul>",
      "      <li><a href=\"${2:#sobre}\" aria-current=\"page\">${3:Sobre}</a></li>",
      "      <li><a href=\"${4:#servicos}\">${5:Serviços}</a></li>",
      "      <li><a href=\"${6:#contato}\">${7:Contato}</a></li>",
      "    </ul>",
      "  </nav>",
      "</header>"
    ],
    "description": "header + nav acessível com aria-label e link da página atual."
  },
  "cheat/dev: Section com título ligado": {
    "prefix": [
      "cd-section",
      "cdsection"
    ],
    "body": [
      "<section aria-labelledby=\"${1:id-titulo}\">",
      "  <h2 id=\"${1:id-titulo}\">${2:Título da seção}</h2>",
      "  $0",
      "</section>"
    ],
    "description": "Seção semântica; leitores de tela anunciam o título."
  },
  "cheat/dev: Rodapé com links": {
    "prefix": [
      "cd-footer",
      "cdfooter"
    ],
    "body": [
      "<footer>",
      "  <nav aria-label=\"Rodapé\">",
      "    <a href=\"${1:/privacidade}\">Privacidade</a>",
      "    <a href=\"${2:/termos}\">Termos</a>",
      "  </nav>",
      "  <p>&copy; ${3:2026} ${4:Empresa}. Todos os direitos reservados.</p>",
      "</footer>"
    ],
    "description": "footer com nav secundária e direitos autorais."
  },
  "cheat/dev: Campo (label + input)": {
    "prefix": [
      "cd-campo",
      "cdcampo"
    ],
    "body": [
      "<div class=\"campo\">",
      "  <label for=\"${1:email}\">${2:E-mail}</label>",
      "  <input id=\"${1:email}\" name=\"${1:email}\" type=\"${3:email}\" autocomplete=\"${4:email}\" required>",
      "</div>"
    ],
    "description": "Par label/input corretamente ligado, com autocomplete e required."
  },
  "cheat/dev: Formulário de contato": {
    "prefix": [
      "cd-form",
      "cdform"
    ],
    "body": [
      "<form action=\"${1:/enviar}\" method=\"post\">",
      "  <div class=\"campo\">",
      "    <label for=\"nome\">Nome</label>",
      "    <input id=\"nome\" name=\"nome\" type=\"text\" autocomplete=\"name\" required>",
      "  </div>",
      "  <div class=\"campo\">",
      "    <label for=\"email\">E-mail</label>",
      "    <input id=\"email\" name=\"email\" type=\"email\" autocomplete=\"email\" required>",
      "  </div>",
      "  <div class=\"campo\">",
      "    <label for=\"mensagem\">Mensagem</label>",
      "    <textarea id=\"mensagem\" name=\"mensagem\" rows=\"5\" required></textarea>",
      "  </div>",
      "  <button type=\"submit\">${2:Enviar}</button>",
      "</form>"
    ],
    "description": "Form completo com nome, e-mail, mensagem e botão."
  },
  "cheat/dev: Botão": {
    "prefix": [
      "cd-btn",
      "cdbtn"
    ],
    "body": [
      "<button type=\"${1:button}\" class=\"btn\">${2:Clique aqui}</button>"
    ],
    "description": "Sempre com type explícito, evita enviar formulário sem querer."
  },
  "cheat/dev: Imagem otimizada": {
    "prefix": [
      "cd-img",
      "cdimg"
    ],
    "body": [
      "<img src=\"${1:foto.jpg}\" alt=\"${2:Descrição da imagem}\" width=\"${3:800}\" height=\"${4:600}\" loading=\"lazy\" decoding=\"async\">"
    ],
    "description": "alt, width/height (evita salto de layout), lazy loading e decoding assíncrono."
  },
  "cheat/dev: Imagem responsiva (picture)": {
    "prefix": [
      "cd-picture",
      "cdpicture"
    ],
    "body": [
      "<picture>",
      "  <source type=\"image/avif\" srcset=\"${1:foto}.avif\">",
      "  <source type=\"image/webp\" srcset=\"${1:foto}.webp\">",
      "  <img src=\"${1:foto}.jpg\" alt=\"${2:Descrição}\" width=\"${3:1200}\" height=\"${4:800}\" loading=\"lazy\" decoding=\"async\">",
      "</picture>"
    ],
    "description": "WebP/AVIF com fallback e tamanhos diferentes por tela."
  },
  "cheat/dev: Vídeo": {
    "prefix": [
      "cd-video",
      "cdvideo"
    ],
    "body": [
      "<video controls preload=\"metadata\" poster=\"${1:capa.jpg}\" width=\"${2:800}\">",
      "  <source src=\"${3:video.mp4}\" type=\"video/mp4\">",
      "  Seu navegador não suporta vídeo.",
      "</video>"
    ],
    "description": "video com controles, poster e carregamento só dos metadados."
  },
  "cheat/dev: Card": {
    "prefix": [
      "cd-card",
      "cdcard"
    ],
    "body": [
      "<article class=\"card\">",
      "  <img src=\"${1:capa.jpg}\" alt=\"${2:}\" width=\"400\" height=\"250\" loading=\"lazy\">",
      "  <div class=\"card-corpo\">",
      "    <h3>${3:Título}</h3>",
      "    <p>${4:Resumo do conteúdo.}</p>",
      "    <a href=\"${5:#}\">${6:Saiba mais}</a>",
      "  </div>",
      "</article>"
    ],
    "description": "article com imagem, título, texto e link."
  },
  "cheat/dev: Modal nativo (dialog)": {
    "prefix": [
      "cd-dialog",
      "cddialog"
    ],
    "body": [
      "<button type=\"button\" onclick=\"document.getElementById('${1:modal}').showModal()\">Abrir</button>",
      "",
      "<dialog id=\"${1:modal}\">",
      "  <h2>${2:Título}</h2>",
      "  <p>${3:Conteúdo}</p>",
      "  <form method=\"dialog\"><button>Fechar</button></form>",
      "</dialog>"
    ],
    "description": "dialog + showModal() — foco, ESC e fundo já tratados pelo navegador."
  },
  "cheat/dev: Acordeão / FAQ (details)": {
    "prefix": [
      "cd-details",
      "cddetails"
    ],
    "body": [
      "<details>",
      "  <summary>${1:Pergunta}</summary>",
      "  <p>${2:Resposta}</p>",
      "</details>"
    ],
    "description": "Abre e fecha sem JavaScript."
  },
  "cheat/dev: Tabela acessível": {
    "prefix": [
      "cd-table",
      "cdtable"
    ],
    "body": [
      "<table>",
      "  <caption>${1:Descrição da tabela}</caption>",
      "  <thead>",
      "    <tr><th scope=\"col\">${2:Coluna A}</th><th scope=\"col\">${3:Coluna B}</th></tr>",
      "  </thead>",
      "  <tbody>",
      "    <tr><th scope=\"row\">${4:Linha 1}</th><td>${5:Valor}</td></tr>",
      "  </tbody>",
      "</table>"
    ],
    "description": "caption, thead/tbody e scope nos cabeçalhos."
  }
}