/* Fonte autohospedada. Antes vinha do Google Fonts: era uma requisicao
   bloqueante para um terceiro, contradizendo o resto do site, que foi feito
   para nao vazar o visitante (QR gerado aqui, icones inline, miniatura pelo
   nosso servidor). Outfit, SIL Open Font License 1.1 — licenca em
   /static/fonts/outfit-LICENSE.txt. */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-display: swap;               /* texto visivel na hora, troca depois */
  font-weight: 100 900;             /* variavel: um arquivo cobre todos os pesos */
  src: url("/static/fonts/outfit-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Tema escuro (padrao). O tema claro sobrescreve so os tokens, mais abaixo.
   O data-theme e sempre gravado no <html> por um script no <head>, entao
   nenhuma regra aqui precisa consultar prefers-color-scheme. */
:root {
  --bg: #0d0f0d;
  --bg-soft: #141714;
  --card: #171a17;
  --line: #262b26;
  --line-hi: #3d443d;
  --fg: #ffffff;
  --dim: #9aa39a;
  --faint: #6e756e;

  /* Verde da casa. Cada ferramenta sobrescreve estes quatro em [data-tool]. */
  --accent: #00d26a;
  --accent-rgb: 0 210 106;
  --accent-2: #00a352;
  --accent-soft: #4ce69b;
  --deep: #00a352;
  --deep-rgb: 0 163 82;
  --sobre-acento: #06210f;      /* texto por cima do acento */
  --ok: #2ecc71;

  --surface-2: #1f231f;
  --surface-3: #2b312b;
  --placeholder: #5c645c;
  --header-bg: rgba(13, 15, 13, .74);
  --header-bg-stuck: rgba(13, 15, 13, .93);
  --sheen: rgba(255, 255, 255, .04);
  --grid-line: rgba(255, 255, 255, .03);
  --marq-fg: #cfd6cf;
  --orb-op: 1;
  --shadow-card: 0 24px 60px rgba(0, 0, 0, .6);
  --shadow-win: 0 26px 50px rgba(0, 0, 0, .6);
  --glow: 0 0 40px rgb(var(--accent-rgb) / .35);
  --win-bg: #1a1d1a;
  --win-bar: #141714;
  --win-dot: #3d443d;
  --win-field: #242824;
  --tag-bg: rgb(var(--accent-rgb) / .13);
  --tag-fg: var(--accent-soft);
  --warn-bg: rgba(224, 179, 74, .07);
  --warn-line: rgba(224, 179, 74, .22);
  --warn-fg: #c9a54e;
  --warn-strong: #e0b34a;

  --radius: 16px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f4f6f4;
  --bg-soft: #ffffff;
  --card: #ffffff;
  --line: #e3e7e3;
  --line-hi: #c4ccc4;
  --fg: #0d0f0d;
  --dim: #5c645c;
  --faint: #7a827a;

  /* O verde vivo nao passa em contraste sobre branco: aqui entra o escuro. */
  --accent: #00874a;
  --accent-rgb: 0 135 74;
  --accent-2: #006b3a;
  --accent-soft: #00693a;
  --deep: #006b3a;
  --deep-rgb: 0 107 58;
  --sobre-acento: #ffffff;
  --ok: #17915a;

  --surface-2: #edefed;
  --surface-3: #e0e4e0;
  --placeholder: #9aa39a;
  --header-bg: rgba(244, 246, 244, .82);
  --header-bg-stuck: rgba(244, 246, 244, .95);
  --sheen: rgba(0, 0, 0, .015);
  --grid-line: rgba(0, 0, 0, .04);
  --marq-fg: #4a524a;
  --orb-op: .4;
  --shadow-card: 0 18px 44px rgba(0, 0, 0, .1);
  --shadow-win: 0 20px 40px rgba(0, 0, 0, .14);
  --glow: 0 0 34px rgb(var(--accent-rgb) / .22);
  --win-bg: #fafcfa;
  --win-bar: #eff1ef;
  --win-dot: #c4ccc4;
  --win-field: #eff1ef;
  --tag-bg: rgb(var(--accent-rgb) / .09);
  --tag-fg: var(--accent);
  --warn-bg: rgba(180, 120, 10, .08);
  --warn-line: rgba(180, 120, 10, .25);
  --warn-fg: #8a6410;
  --warn-strong: #6d4e08;
  color-scheme: light;
}

/* ---------- cor de cada ferramenta ----------
   O verde e a cor da casa. Dentro da pagina de uma ferramenta, quem manda e a
   cor caracteristica do site de origem: basta trocar estes tokens, porque todo
   o resto do CSS ja deriva deles. */

:root[data-tool="youtube"] {
  --accent: #ff0000; --accent-rgb: 255 0 0;
  --accent-2: #cc0000; --accent-soft: #ff5c5c;
  --deep: #cc0000; --deep-rgb: 204 0 0;
  --sobre-acento: #ffffff;
}
:root[data-tool="youtube"][data-theme="light"] {
  --accent: #cc0000; --accent-rgb: 204 0 0;
  --accent-soft: #a80000; --deep: #990000; --deep-rgb: 153 0 0;
}

:root[data-tool="instagram"] {
  --accent: #e1306c; --accent-rgb: 225 48 108;
  --accent-2: #f77737; --accent-soft: #f88bad;
  --deep: #833ab4; --deep-rgb: 131 58 180;
  --sobre-acento: #ffffff;
}
:root[data-tool="instagram"][data-theme="light"] {
  --accent: #c1275c; --accent-rgb: 193 39 92;
  --accent-soft: #a81f4f; --deep: #6d2f95; --deep-rgb: 109 47 149;
}

:root[data-tool="tiktok"] {
  --accent: #fe2c55; --accent-rgb: 254 44 85;
  --accent-2: #25f4ee; --accent-soft: #ff7d96;
  --deep: #25f4ee; --deep-rgb: 37 244 238;
  --sobre-acento: #ffffff;
}
:root[data-tool="tiktok"][data-theme="light"] {
  --accent: #d61f45; --accent-rgb: 214 31 69;
  --accent-soft: #b01739; --deep: #0f9e99; --deep-rgb: 15 158 153;
}

/* O X e preto e branco: no escuro quem carrega o acento e o branco. */
:root[data-tool="x"] {
  --accent: #ffffff; --accent-rgb: 255 255 255;
  --accent-2: #8b98a5; --accent-soft: #d5dbe0;
  --deep: #8b98a5; --deep-rgb: 139 152 165;
  --sobre-acento: #0f1419;
}
:root[data-tool="x"][data-theme="light"] {
  --accent: #0f1419; --accent-rgb: 15 20 25;
  --accent-soft: #39434d; --deep: #536471; --deep-rgb: 83 100 113;
  --sobre-acento: #ffffff;
}

* { box-sizing: border-box; }

/* O [hidden] do navegador e so `display: none` sem peso nenhum: qualquer
   classe nossa que defina display (.appsec e grid, .group e flex) ganha dele e
   o elemento reaparece escondido-mas-visivel. Esta regra fecha isso de uma vez
   para todo o site. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a { color: inherit; }
::selection { background: var(--accent); color: var(--sobre-acento); }

/* ---------- fundo com parallax ---------- */
.bgfx { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; will-change: transform; }
.o1 { width: 520px; height: 520px; top: -160px; left: 8%; background: var(--accent); opacity: calc(.13 * var(--orb-op)); }
.o2 { width: 460px; height: 460px; top: 40px; right: 4%; background: var(--deep); opacity: calc(.12 * var(--orb-op)); }
.o3 { width: 620px; height: 620px; top: 780px; left: 32%; background: var(--accent); opacity: calc(.06 * var(--orb-op)); }
.grid {
  position: absolute; inset: -10% 0 0; will-change: transform;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}

/* ---------- topo ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 26px; backdrop-filter: blur(14px);
  background: var(--header-bg); border-bottom: 1px solid transparent;
  transition: border-color .25s, background-color .25s;
}
.top.stuck { border-bottom-color: var(--line); background: var(--header-bg-stuck); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.mark {
  width: 34px; height: 34px; display: grid; place-items: center;
  color: var(--accent);
  filter: drop-shadow(0 0 7px rgb(var(--accent-rgb) / .45));
  transition: transform .3s var(--ease), filter .3s var(--ease);
}
.brand:hover .mark {
  transform: scale(1.07);
  filter: drop-shadow(0 0 12px rgb(var(--accent-rgb) / .8));
}
.mark svg { width: 34px; height: 34px; }

/* Wordmark da marca: YT vermelho, DLZ branco, .me vermelho e mais leve. */
.wordmark, .fbrand {
  font-weight: 800; letter-spacing: -.5px; font-style: normal;
}
.wordmark { font-size: 19px; }
.wordmark b, .fbrand b { color: var(--accent); font-weight: 800; }
.wordmark em, .fbrand em { color: var(--fg); font-style: normal; font-weight: 800; }
.wordmark i, .fbrand i { color: var(--accent); font-style: normal; font-weight: 500; }
.topnav { display: flex; gap: 24px; font-size: 14.5px; }
.topnav a { color: var(--dim); text-decoration: none; position: relative; transition: color .2s; }
.topnav a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 1.5px; width: 0;
  background: var(--accent); transition: width .25s var(--ease);
}
.topnav a:hover { color: var(--fg); }
.topnav a:hover::after { width: 100%; }

.temabtn {
  display: grid; place-items: center; width: 34px; height: 34px; padding: 0;
  border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2);
  color: var(--dim); cursor: pointer;
  transition: color .2s, border-color .2s, transform .3s var(--ease);
}
.temabtn:hover { color: var(--fg); border-color: var(--line-hi); transform: rotate(18deg); }
.temabtn svg { width: 16px; height: 16px; }
:root[data-theme="dark"] .ico-lua { display: none; }
:root[data-theme="light"] .ico-sol { display: none; }


/* ---------- seletor de idioma ---------- */
.langsel {
  display: flex; gap: 2px; padding: 3px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 9px;
}
.langsel a {
  padding: 4px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 700;
  letter-spacing: .5px; color: var(--dim); text-decoration: none;
  transition: color .18s, background-color .18s;
}
.langsel a::after { content: none; }        /* sem o sublinhado da .topnav */
.langsel a:hover { color: var(--fg); background: var(--surface-3); }
.langsel a.on { background: var(--accent); color: var(--sobre-acento); }


/* ---------- atalhos das ferramentas no cabecalho ---------- */
.toolnav { display: flex; gap: 2px; padding: 3px; background: var(--surface-2);
  border: 1px solid var(--line); border-radius: 9px; }
.toolnav a {
  padding: 5px 10px; border-radius: 6px; font-size: 12.5px; font-weight: 600;
  color: var(--dim); text-decoration: none; white-space: nowrap;
  transition: color .18s, background-color .18s;
}
.toolnav a::after { content: none; }
.toolnav a:hover { color: var(--fg); background: var(--surface-3); }
.toolnav a.on { background: var(--accent); color: var(--sobre-acento); }

/* ---------- cartoes das ferramentas ---------- */
.secttl {
  font-size: 13px; color: var(--dim); font-weight: 600; margin: 34px 0 14px;
  text-transform: uppercase; letter-spacing: 1.4px;
}
.toolgrid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.toolcard {
  --c: var(--accent);
  display: flex; flex-direction: column; gap: 5px; padding: 22px 20px;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  text-decoration: none; position: relative; overflow: hidden;
  transition: transform .28s var(--ease), border-color .28s, box-shadow .28s;
}
/* Cada cartao usa a cor do proprio site, mesmo dentro da home verde. */
.toolcard[data-tool="youtube"]  { --c: #ff0000; }
.toolcard[data-tool="instagram"]{ --c: #e1306c; }
.toolcard[data-tool="tiktok"]   { --c: #fe2c55; }
.toolcard[data-tool="x"]        { --c: var(--fg); }
.toolcard::before {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(120% 90% at 50% 0%, var(--c), transparent 65%);
  transition: opacity .3s;
}
.toolcard:hover { transform: translateY(-4px); border-color: var(--c);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
.toolcard:hover::before { opacity: .11; }
.tclogo { width: 34px; height: 34px; color: var(--c); position: relative; }
.tclogo svg { width: 100%; height: 100%; display: block; }
.tcnome { font-size: 17px; font-weight: 700; margin-top: 8px; position: relative; }
.tcsub { font-size: 13.5px; color: var(--dim); position: relative; }
.tcmodos {
  font-size: 11px; color: var(--faint); text-transform: uppercase;
  letter-spacing: .8px; margin-top: 6px; position: relative;
}
.toolgrid.small .toolcard { padding: 16px; }
.toolgrid.small .tclogo { width: 26px; height: 26px; }
.toolgrid.small .tcnome { font-size: 15px; margin-top: 5px; }

/* ---------- pagina da ferramenta ---------- */
.toolhero { padding-top: 44px; }
.chips { display: flex; gap: 7px; flex-wrap: wrap; justify-content: center; margin: 0 0 26px; }
.chip {
  font-size: 12px; color: var(--dim); padding: 5px 11px; border-radius: 99px;
  background: var(--bg-soft); border: 1px solid var(--line);
}
.avisologin {
  max-width: 680px; margin: 16px auto 0; padding: 11px 15px; border-radius: 11px;
  font-size: 13px; color: var(--warn-fg); background: var(--warn-bg);
  border: 1px solid var(--warn-line); text-align: left;
}

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgb(var(--accent-rgb) / .09), rgb(var(--deep-rgb) / .05));
  padding: 9px 0; white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.mtrack { display: inline-flex; animation: slide 32s linear infinite; }
.marquee:hover .mtrack { animation-play-state: paused; }
.mgroup { display: inline-flex; align-items: center; gap: 18px; padding-right: 18px; }
.mgroup b {
  font-size: 12px; font-weight: 600; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--marq-fg);
}
.mgroup i { color: var(--accent); font-style: normal; font-size: 9px; }
@keyframes slide { to { transform: translateX(-50%); } }

main { flex: 1; width: 100%; max-width: 960px; margin: 0 auto; padding: 0 22px 70px; }

/* ---------- revelacao ---------- */
/* So escondemos para animar quando o JS confirmou que vai rodar. Sem JS,
   ou se ele falhar, o conteudo aparece normalmente — nunca uma pagina em
   branco dependente de script. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 60px 0 34px; }
.eyebrow {
  font-size: 12px; letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--dim); margin: 0 0 16px;
}
.hero h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.06; margin: 0 0 18px; letter-spacing: -2px; font-weight: 800; }
.hero h1 .ln { display: block; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(96deg, #ff4d4d, var(--accent) 45%, var(--deep));
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: hue 9s ease-in-out infinite;
}
@keyframes hue { 50% { background-position: 100% 0; } }
.sub { color: var(--dim); max-width: 580px; margin: 0 auto 32px; font-size: 16px; }

.finder { display: flex; gap: 10px; max-width: 680px; margin: 0 auto; }
.field {
  flex: 1; display: flex; align-items: center; gap: 11px; padding: 0 8px 0 15px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.field:focus-within {
  border-color: var(--accent); box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / .12);
  transform: translateY(-1px);
}
.field .ic { width: 18px; height: 18px; color: var(--dim); flex: none; }
.field input {
  flex: 1; min-width: 0; background: none; border: 0; outline: none;
  color: var(--fg); font: inherit; font-size: 15px; padding: 16px 0;
}
.field input::placeholder { color: var(--placeholder); }
.paste {
  border: 0; background: var(--surface-2); color: var(--dim); font: inherit; font-size: 13px;
  padding: 8px 13px; border-radius: 9px; cursor: pointer; transition: background .2s, color .2s;
}
.paste:hover { background: var(--surface-3); color: var(--fg); }

.go {
  position: relative; overflow: hidden; border: 0; border-radius: var(--radius);
  cursor: pointer; color: var(--sobre-acento); font: 600 15px/1 inherit; padding: 0 30px;
  background: linear-gradient(120deg, var(--accent), var(--deep));
  box-shadow: 0 10px 26px rgb(var(--accent-rgb) / .26);
  transition: transform .18s var(--ease), box-shadow .2s, filter .2s;
}
.go .txt { position: relative; z-index: 1; }
.go .glow {
  position: absolute; inset: 0; transform: translateX(-110%);
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .32), transparent);
}
.go:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 14px 32px rgb(var(--accent-rgb) / .36); }
.go:hover:not(:disabled) .glow { animation: sweep .75s var(--ease); }
@keyframes sweep { to { transform: translateX(110%); } }
.go:active:not(:disabled) { transform: translateY(0); }
.go:disabled { filter: grayscale(.55) brightness(.7); cursor: default; box-shadow: none; }
.go.big { width: 100%; padding: 16px; font-size: 16px; }

.err {
  color: var(--accent-soft); background: rgb(var(--accent-rgb) / .09); border: 1px solid rgb(var(--accent-rgb) / .28);
  border-radius: 11px; padding: 11px 15px; max-width: 680px; margin: 16px auto 0; font-size: 14px;
  animation: shake .35s;
}
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

.stats {
  list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 34px;
  padding: 0; margin: 40px 0 0;
}
.stats li { display: flex; flex-direction: column; align-items: center; }
.stats b { font-size: 25px; font-weight: 800; letter-spacing: -1px; }
.stats span { color: var(--dim); font-size: 12.5px; }

/* ---------- cartoes ---------- */
.card {
  background: linear-gradient(180deg, var(--sheen), transparent 40%), var(--card);
  border: 1px solid var(--line); border-radius: 20px; padding: 22px;
  margin: 26px 0; box-shadow: var(--shadow-card);
}
.result { animation: pop .4s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(22px) scale(.985); } }

.preview { display: flex; gap: 18px; align-items: center; }
.thumbwrap {
  width: 168px; aspect-ratio: 16/9; flex: none; border-radius: 12px;
  overflow: hidden; background: var(--bg-soft); border: 1px solid var(--line);
}
.thumbwrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.thumbwrap:hover img { transform: scale(1.06); }
.meta { min-width: 0; }
.meta h2 {
  font-size: 18px; margin: 0 0 5px; line-height: 1.35; font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.by { color: var(--dim); font-size: 13.5px; margin: 0; display: flex; gap: 7px; }

.choices { display: flex; gap: 26px; flex-wrap: wrap; margin: 24px 0 20px; }
.group { display: flex; flex-direction: column; gap: 10px; }
.group.grow { flex: 1; min-width: 210px; }
.lbl { color: var(--dim); font-size: 11.5px; text-transform: uppercase; letter-spacing: 1.2px; font-weight: 600; }

.seg {
  position: relative; display: flex; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 12px; padding: 4px;
}
.thumbmover {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: 0; border-radius: 9px;
  background: linear-gradient(120deg, var(--accent), var(--deep));
  transition: transform .32s var(--ease), width .32s var(--ease);
}
.seg button {
  position: relative; z-index: 1; border: 0; background: none; color: var(--dim);
  font: 600 14px/1 inherit; padding: 10px 18px; border-radius: 9px; cursor: pointer;
  display: flex; gap: 6px; align-items: baseline; transition: color .25s;
}
.seg button small { font-weight: 400; font-size: 11.5px; opacity: .85; }
.seg button.on { color: var(--sobre-acento); }

.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pills button {
  border: 1px solid var(--line); background: var(--bg-soft); color: var(--dim);
  font: 500 13.5px/1 inherit; padding: 11px 15px; border-radius: 10px; cursor: pointer;
  transition: color .18s, border-color .18s, background-color .18s, transform .18s var(--ease);
}
.pills button:hover { color: var(--fg); border-color: var(--line-hi); transform: translateY(-1px); }
.pills button.on { border-color: var(--accent); color: var(--fg); background: rgb(var(--accent-rgb) / .13); }

.progress { margin-top: 18px; }
.track { height: 7px; background: var(--bg-soft); border-radius: 99px; overflow: hidden; border: 1px solid var(--line); }
.fill {
  height: 100%; width: 0; border-radius: 99px;
  background: linear-gradient(90deg, #ff4d4d, var(--accent));
  background-size: 200% 100%; animation: flow 1.6s linear infinite;
  transition: width .3s var(--ease);
}
@keyframes flow { to { background-position: -200% 0; } }
.fill.done { background: var(--ok); animation: none; }
.pstatus { display: flex; justify-content: space-between; color: var(--dim); font-size: 13px; margin: 9px 0 0; }

.nudge {
  margin: 14px 0 0; padding: 11px 14px; border-radius: 10px; font-size: 13px;
  color: var(--dim); background: var(--bg-soft); border: 1px solid var(--line);
  animation: fade .35s var(--ease);
}
.nudge a { color: var(--accent); font-weight: 600; text-decoration: none; }
.nudge a:hover { text-decoration: underline; }

/* ---------- recursos ---------- */
.features { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 46px 0 10px; }
.feat {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px;
  transition: transform .3s var(--ease), border-color .3s;
}
.feat:hover { transform: translateY(-4px); border-color: var(--line-hi); }
.fic { font-size: 22px; }
.feat h3 { font-size: 15.5px; margin: 10px 0 6px; font-weight: 600; }
.feat p { color: var(--dim); font-size: 14px; margin: 0; }

/* ---------- apoio ---------- */
.sechead { margin-bottom: 22px; }
.sechead h2 { font-size: 23px; line-height: 1.2; margin: 0 0 10px; font-weight: 800; letter-spacing: -.8px; }
.lead { color: var(--dim); font-size: 14.5px; margin: 0; max-width: 640px; }

.coins { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }
.coin {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 14px;
  transition: border-color .25s, transform .25s var(--ease);
}
.coin:hover { border-color: var(--line-hi); transform: translateY(-2px); }
/* 120px com a zona silenciosa dentro do SVG da ~3,2 px por modulo: o
   suficiente para o celular ler direto do cartao. O clique abre a lupa. */
.coin .qr {
  width: 120px; height: 120px; flex: none; background: #fff;
  border: 0; padding: 0; border-radius: 10px; overflow: hidden;
  cursor: pointer; position: relative; display: block;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.coin .qr:hover { transform: scale(1.04); box-shadow: 0 8px 22px rgba(0, 0, 0, .3); }
.coin .qr img { width: 100%; height: 100%; display: block; }
/* A dica fica sempre visivel de proposito: no teste de leitura, 120px so e
   confiavel de frente — inclinado, so a lupa passa. Escondida no hover,
   quase ninguem descobria (e no celular nao ha hover). */
.coin .qr::after {
  content: "toque para ampliar"; position: absolute; inset: auto 0 0 0;
  background: rgba(13, 15, 19, .8); color: #fff; font-size: 9px;
  letter-spacing: .4px; text-transform: uppercase; text-align: center;
  padding: 4px 0; opacity: .85; transition: opacity .2s, background-color .2s;
}
.coin .qr:hover::after { opacity: 1; background: rgba(13, 15, 19, .92); }

/* ---------- lupa do QR ---------- */
.lupa {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  padding: 22px; background: rgba(4, 6, 10, .74); backdrop-filter: blur(6px);
  animation: fade .22s var(--ease);
}
@keyframes fade { from { opacity: 0; } }
.lupa[hidden] { display: none; }
.lupabox {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 26px; text-align: center; max-width: 360px; width: 100%;
  box-shadow: var(--shadow-card); animation: pop .28s var(--ease);
}
.lupabox .big {
  width: 280px; height: 280px; max-width: 100%; margin: 0 auto 18px;
  background: #fff; border-radius: 12px; overflow: hidden;
}
.lupabox .big img { width: 100%; height: 100%; display: block; }
.lupabox h3 {
  font-size: 19px; margin: 0 0 6px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; gap: 9px;
}
.lupabox .addr {
  color: var(--dim); font: 11.5px/1.55 Consolas, ui-monospace, monospace;
  word-break: break-all; margin: 12px 0 0;
}
.lupabox .acts { justify-content: center; margin-top: 14px; }
.fechar {
  margin-top: 16px; border: 0; background: none; color: var(--faint);
  font: 500 13px/1 inherit; cursor: pointer; padding: 6px;
}
.fechar:hover { color: var(--fg); }
.coin .info { min-width: 0; flex: 1; }
.coin .cn {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14.5px; letter-spacing: -.2px;
}
.brandico { display: block; width: 22px; height: 22px; flex: none; }
.brandico svg { width: 100%; height: 100%; display: block; }
.lupabox h3 .brandico { width: 26px; height: 26px; }
.net {
  display: inline-block; margin: 3px 0 7px; padding: 3px 8px; border-radius: 6px;
  background: var(--tag-bg); color: var(--tag-fg);
  font-size: 10.5px; font-weight: 600; letter-spacing: .3px;
}
.coin .addr {
  color: var(--dim); font: 11px/1.5 Consolas, ui-monospace, monospace;
  word-break: break-all;
}
.acts { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 10px; }
.copy {
  border: 1px solid var(--line); background: none; color: var(--dim);
  font: 500 12px/1 inherit; padding: 8px 12px; border-radius: 8px; cursor: pointer;
  text-decoration: none; display: inline-block; transition: all .2s;
}
.copy:hover { color: var(--fg); border-color: var(--line-hi); }
.copy.done { color: var(--ok); border-color: var(--ok); }
.copy.open { border-color: var(--accent); color: var(--accent-soft); }
.copy.open:hover { background: rgb(var(--accent-rgb) / .1); color: var(--fg); }
.none { color: var(--dim); font-size: 14px; }

.netwarn {
  margin: 18px 0 0; padding: 11px 14px; border-radius: 10px; font-size: 12.5px;
  color: var(--warn-fg); background: var(--warn-bg);
  border: 1px solid var(--warn-line);
}
.netwarn b { color: var(--warn-strong); }

/* ---------- programa para windows ---------- */
.appsec { display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px; align-items: center; }
.tagline {
  display: inline-block; font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 10px;
}
.apptext h2 { font-size: 25px; line-height: 1.2; margin: 0 0 12px; font-weight: 800; letter-spacing: -.9px; }
.apptext h2 b { color: var(--accent); font-weight: 800; }
.apptext > p { color: var(--dim); font-size: 14.5px; margin: 0 0 16px; }
.applist { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.applist li { color: var(--dim); font-size: 14px; padding-left: 26px; position: relative; }
.applist li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  color: var(--ok); font-weight: 700; font-size: 13px;
}
.go.dl {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; padding: 15px 28px;
}
.appmeta { color: var(--dim); font-size: 12.5px; margin: 12px 0 0; }
/* Botao da pagina /download: e a acao principal dela, entao pesa mais que o
   mesmo botao usado como chamada secundaria em outras secoes. */
.go.dl.big { padding: 18px 40px; font-size: 17px; margin-top: 6px; }

/* Convite ao programa na home: texto de um lado, botao do outro, e uma coluna
   so quando nao couber lado a lado. */
.homeapp {
  display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center;
}
.homeapp h2 { font-size: 23px; line-height: 1.2; margin: 0 0 8px; font-weight: 800; letter-spacing: -.8px; }
.homeapp .lead { margin: 0; color: var(--dim); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 720px) {
  .homeapp { grid-template-columns: 1fr; }
  .homeapp .go.dl { width: 100%; }
}
.appnote {
  color: var(--faint); font-size: 12px; line-height: 1.6; margin: 14px 0 0;
  border-left: 2px solid var(--line); padding-left: 12px;
}
.appnote b { color: var(--dim); font-weight: 600; }

/* mock da janela do programa */
.appshot { perspective: 1000px; }
.win {
  background: var(--win-bg); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow-win);
  transform: rotateY(-9deg) rotateX(3deg); transform-style: preserve-3d;
  transition: transform .6s var(--ease);
}
.appsec:hover .win { transform: rotateY(-3deg) rotateX(1deg) translateY(-5px); }
.wbar {
  display: flex; align-items: center; gap: 6px; padding: 9px 12px;
  background: var(--win-bar); border-bottom: 1px solid var(--line);
}
.wbar i { width: 9px; height: 9px; border-radius: 50%; background: var(--win-dot); }
.wbar i:first-child { background: var(--accent); }
.wbar span { margin-left: 8px; font-size: 11px; color: var(--dim); font-weight: 600; }
.wbody { padding: 14px; display: grid; gap: 9px; }
.wl { font-size: 10.5px; color: var(--dim); }
.wl.sm { font-size: 9.5px; }
.winput {
  background: var(--win-field); border-radius: 7px; padding: 9px 10px;
  font-size: 10.5px; color: var(--faint);
}
.wrow { display: flex; gap: 8px; }
.wr {
  font-size: 10.5px; color: var(--dim); padding: 5px 12px;
  border-radius: 6px; background: var(--win-field);
}
.wr.on { background: var(--accent); color: #fff; font-weight: 600; }
.wbtn {
  background: linear-gradient(120deg, var(--accent), var(--deep)); color: #fff;
  text-align: center; padding: 9px; border-radius: 8px; font-size: 11.5px; font-weight: 700;
}
.wtrack { height: 4px; background: #262a34; border-radius: 99px; overflow: hidden; margin-top: 2px; }
.wfill {
  height: 100%; width: 30%; border-radius: 99px;
  background: linear-gradient(90deg, #ff4d4d, var(--accent));
  animation: fillup 3.4s var(--ease) infinite;
}
@keyframes fillup { 0% { width: 8%; } 60%, 100% { width: 72%; } }

@media (max-width: 760px) {
  .appsec { grid-template-columns: 1fr; }
  .appshot { display: none; }
}

/* ---------- faq / rodape ---------- */
.faq { margin-top: 44px; }
.fh { font-size: 13px; color: var(--dim); font-weight: 600; margin: 0 0 12px; text-transform: uppercase; letter-spacing: 1.4px; }
.faq details { border-bottom: 1px solid var(--line); padding: 15px 2px; }
.faq summary { cursor: pointer; font-size: 15px; list-style: none; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "+"; color: var(--accent); margin-right: 10px; font-weight: 700;
  display: inline-block; transition: transform .25s var(--ease);
}
.faq details[open] summary::before { content: "−"; transform: rotate(180deg); }
.faq p { color: var(--dim); font-size: 14px; margin: 10px 0 2px 23px; }

/* ---------- faixa de recursos ---------- */
.strip {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgb(var(--accent-rgb) / .04));
}
.stripin {
  max-width: 1040px; margin: 0 auto; padding: 20px 22px;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px;
}
.sitem {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  text-align: center; padding: 6px 4px; border-radius: 12px;
  transition: background-color .25s, transform .25s var(--ease);
}
.sitem:hover { background: var(--bg-soft); transform: translateY(-2px); }
.sitem svg {
  width: 22px; height: 22px; color: var(--accent);
  filter: drop-shadow(0 0 6px rgb(var(--accent-rgb) / .35));
}
.sitem b {
  font-size: 11px; font-weight: 700; letter-spacing: 1.1px;
  text-transform: uppercase; color: var(--fg);
}
.sitem i { font-style: normal; font-size: 10.5px; color: var(--dim); }

@media (max-width: 780px) {
  .stripin { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
@media (max-width: 420px) {
  .stripin { grid-template-columns: repeat(2, 1fr); }
}

footer { border-top: 1px solid var(--line); padding: 30px 22px; text-align: center; color: var(--dim); font-size: 13px; }
footer p { margin: 5px 0; }
.fbrand { font-size: 17px; }
.fine { font-size: 12px; opacity: .75; max-width: 540px; margin: 10px auto 0; }

@media (max-width: 640px) {
  .top { padding: 14px 18px; }
  .finder { flex-direction: column; }
  .go { padding: 16px; }
  .preview { flex-direction: column; align-items: flex-start; }
  .thumbwrap { width: 100%; }
  .topnav { gap: 14px; font-size: 13.5px; }
  .stats { gap: 22px 30px; flex-wrap: wrap; }
  .hero { padding: 44px 0 26px; }
}

/* Numa pagina unica e rolavel, os links de ancora nao cabem no topo estreito.
   Some com eles e deixa so a marca e o tema — o conteudo esta logo abaixo. */
@media (max-width: 720px) {
  .top { flex-wrap: wrap; gap: 10px; }
  .topnav { width: 100%; justify-content: space-between; gap: 8px; }
  .toolnav { overflow-x: auto; scrollbar-width: none; }
  .toolnav::-webkit-scrollbar { display: none; }
  .toolnav a { padding: 5px 9px; font-size: 12px; }
  .langsel a { padding: 4px 7px; font-size: 11px; }
}

/* respeita quem pediu menos movimento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  /* O parallax e os orbes tambem param: movimento de fundo continuo e
     justamente o que incomoda quem ativou essa preferencia. */
  .bgfx { display: none; }
  .mtrack { animation: none; }
}
