/* IAgner: o visual das lâminas (preto, branco quente, limão), para ler no navegador do Instagram, no celular. */
@font-face { font-family: 'Montserrat'; src: url('/assets/montserrat.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --fundo: #050507;
  --painel: #0d0d11;
  --painel-2: #14141a;
  --linha: #22222b;
  --texto: #f4f4f0;
  --apagado: #a1a1aa;
  --limao: #c8ff1e;
  --limao-fundo: rgba(200, 255, 30, 0.12);
  --raio: 18px;
  --lado: 20px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0; background: var(--fundo); color: var(--texto);
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-weight: 500;
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased;
  /* a grade de fundo das lâminas, bem leve, só no alto */
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px; background-repeat: repeat-x; background-position: top center;
}
a { color: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg .cheio { fill: currentColor; stroke: none; }
::selection { background: var(--limao); color: #050507; }

.topo, main, .rodape { width: 100%; max-width: 680px; margin: 0 auto; padding-left: var(--lado); padding-right: var(--lado); }
.topo { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 8px; }
.topo-logo img { height: 30px; width: auto; display: block; }
.topo-conta { font-size: 14px; font-weight: 700; color: var(--apagado); text-decoration: none; padding: 8px 0 8px 12px; }
.topo-conta:hover { color: var(--texto); }

/* ---------- capa ---------- */
.capa { padding: 34px 0 10px; }
.sobrancelha { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 12px; border: 1.5px solid var(--limao);
  border-radius: 999px; color: var(--limao); font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.ponto { width: 7px; height: 7px; border-radius: 50%; background: var(--limao); }
h1 { margin: 0; font-size: clamp(32px, 8.6vw, 46px); line-height: 1.12; font-weight: 800; letter-spacing: -0.015em; text-wrap: balance; }
.bloco { background: var(--limao); color: #050507; padding: 0 .16em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sub { margin: 18px 0 0; font-size: 18px; color: #d4d4d0; max-width: 34em; }

.como { margin-top: 26px; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--painel); border: 1px solid var(--linha); border-radius: var(--raio); }
.como-rotulo { flex: none; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #050507; background: var(--limao); border-radius: 6px; padding: 3px 7px; margin-top: 2px; }
.como p { margin: 0; font-size: 15px; color: #d4d4d0; }

.indice { margin-top: 18px; }
.indice ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.indice a { display: flex; gap: 12px; align-items: baseline; padding: 9px 2px; text-decoration: none; color: #d4d4d0; font-weight: 600; font-size: 15px; border-bottom: 1px solid var(--linha); }
.indice a:hover { color: var(--texto); }
.indice-n { color: var(--limao); font-weight: 800; font-variant-numeric: tabular-nums; }

/* ---------- itens ---------- */
.itens { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.item { background: var(--painel); border: 1px solid var(--linha); border-radius: var(--raio); padding: 22px 18px 18px; }
.item-topo { display: flex; gap: 12px; align-items: flex-start; }
.selo { flex: none; background: var(--limao); color: #050507; font-weight: 800; font-size: 17px; line-height: 1; padding: 7px 8px 6px; border-radius: 4px; font-variant-numeric: tabular-nums; margin-top: 2px; }
h2 { margin: 0; font-size: 21px; line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; }
.prompt { margin-top: 16px; background: var(--painel-2); border: 1px solid var(--linha); border-radius: 12px; padding: 16px; }
.prompt pre { margin: 0; white-space: pre-wrap; word-wrap: break-word; font: inherit; font-size: 15px; line-height: 1.6; color: #e8e8e4; }
mark { background: var(--limao-fundo); color: var(--limao); border-radius: 4px; padding: 0 1px; font-weight: 700; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

.copiar { margin-top: 12px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px;
  border: 0; border-radius: 12px; background: var(--limao); color: #050507; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer;
  transition: transform .12s ease, background-color .2s ease; -webkit-tap-highlight-color: transparent; }
.copiar:active { transform: scale(.985); }
.copiar:focus-visible, .bt:focus-visible, a:focus-visible { outline: 2px solid var(--limao); outline-offset: 3px; }
.copiar.feito { background: var(--texto); }
.copiar svg { width: 20px; height: 20px; stroke-width: 2.4; }

.porque { margin: 14px 2px 0; display: flex; gap: 10px; font-size: 14.5px; color: var(--apagado); }
.porque b { color: var(--texto); font-weight: 700; }
.porque-icone { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--limao-fundo); color: var(--limao); display: grid; place-items: center; margin-top: 1px; }
.porque-icone svg { width: 14px; height: 14px; stroke-width: 3; }

/* ---------- fecho ---------- */
.fecho { margin: 34px 0 0; padding: 26px 20px; border-radius: var(--raio); background: var(--painel); border: 1px solid var(--linha); text-align: center; }
.fecho-titulo { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.25; }
.fecho-sub { margin: 8px 0 0; color: var(--apagado); font-size: 15px; }
.fecho-bts { margin-top: 20px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.capa .fecho-bts { justify-content: flex-start; }
.bt { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: 12px; font-weight: 800; font-size: 15px; text-decoration: none; }
.bt-cheio { background: var(--limao); color: #050507; }
.bt-linha { border: 1.5px solid var(--linha); color: var(--texto); }
.bt-linha:hover { border-color: var(--apagado); }
.fecho-post { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--apagado); font-size: 14px; font-weight: 700; text-decoration: none; }
.fecho-post:hover { color: var(--texto); }
.fecho-post svg { width: 16px; height: 16px; }

.rodape { padding-top: 30px; padding-bottom: calc(34px + env(safe-area-inset-bottom)); color: #6b6b74; font-size: 13px; text-align: center; }
.rodape a { text-decoration: none; }

/* ---------- inicial ---------- */
.lista { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 10px; }
.cartao { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--painel); border: 1px solid var(--linha); border-radius: 14px; text-decoration: none; }
.cartao:hover { border-color: #3a3a44; }
.cartao-n { flex: none; width: 44px; height: 44px; display: grid; place-items: center; background: var(--limao); color: #050507; font-weight: 800; font-size: 18px; border-radius: 8px; }
.cartao-texto { flex: 1; display: grid; gap: 2px; }
.cartao-texto b { font-weight: 700; line-height: 1.3; }
.cartao-texto small { color: var(--apagado); font-size: 13px; }
.cartao > svg { color: var(--apagado); }
.vazio { color: var(--apagado); margin-top: 30px; }

/* ---------- aviso (copiado) ---------- */
.aviso { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 10;
  max-width: calc(100% - 32px); width: max-content; padding: 13px 18px; border-radius: 12px; background: var(--texto); color: #050507;
  font-weight: 700; font-size: 14.5px; box-shadow: 0 10px 30px rgba(0,0,0,.5); animation: sobe .22s ease; }
@keyframes sobe { from { opacity: 0; transform: translate(-50%, 8px); } }

@media (min-width: 720px) {
  :root { --lado: 28px; }
  .item { padding: 26px 24px 22px; }
  .capa { padding-top: 54px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .aviso, .copiar { animation: none; transition: none; } }
