/* Página inicial das ferramentas gratuitas — mesmos tons e fontes do Raio-X (fontes em /fonts/fonts.css) */
:root {
  --bg: #f2f5f3; --surface: #ffffff; --fg: #13221d; --muted: #5b6b65; --line: #d6dfdb;
  --pj: #067a73; --pj-soft: #ddefed; --pf: #b8720f; --pf-soft: #f8ecd9; --on-pj: #ffffff;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  color-scheme: light;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1513; --surface: #15201d; --fg: #e5eeea; --muted: #94a6a0; --line: #2a3a35;
    --pj: #3cc4b9; --pj-soft: #123230; --pf: #efb04f; --pf-soft: #33280f; --on-pj: #04231f;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1513; --surface: #15201d; --fg: #e5eeea; --muted: #94a6a0; --line: #2a3a35;
  --pj: #3cc4b9; --pj-soft: #123230; --pf: #efb04f; --pf-soft: #33280f; --on-pj: #04231f;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 16px; line-height: 1.55; }
img { max-width: 100%; }
.wrap {
  max-width: 560px; margin: 0 auto; padding-block: 28px 48px;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
  display: flex; flex-direction: column; gap: 22px;
}
.brand { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.brand-id { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-id span { display: flex; flex-direction: column; line-height: 1.25; text-transform: none; letter-spacing: 0; }
.brand-id strong { font-family: var(--display); font-size: 16px; color: var(--fg); letter-spacing: .02em; }
.brand-id small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.logo { display: block; flex: none; border-radius: 12px; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; line-height: 1.12; }
h1 { font-size: clamp(30px, 8vw, 42px); font-weight: 800; }
h2 { font-size: clamp(22px, 5.6vw, 26px); font-weight: 800; }
p { margin: 0; }
.lead { color: var(--muted); font-size: 17px; max-width: 60ch; }

.tools { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.tool { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.tool .tag { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--pj); }
.tool p { color: var(--muted); font-size: 15px; }
.tool .facts { display: flex; flex-wrap: wrap; gap: 8px; }
.tool .facts span { font-size: 13px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.btn {
  display: flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer; font: inherit; font-weight: 700; font-size: 17px;
  background: var(--pj); color: var(--on-pj); border-radius: 12px; padding: 15px 20px; width: 100%; margin-top: 4px;
  transition: transform .1s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(.985); }
.btn:focus-visible, .wa:focus-visible { outline: 3px solid var(--pf); outline-offset: 2px; }

.cta { display: flex; flex-direction: column; gap: 12px; padding: 22px 20px; border-radius: 16px; background: var(--pj); color: var(--on-pj); }
.cta h3 { color: inherit; font-size: 18px; font-weight: 600; }
.cta p { opacity: .92; font-size: 15px; }
.wa { display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; background: var(--surface); color: var(--fg); font-weight: 700; font-size: 17px; border-radius: 12px; padding: 15px 18px; }
.wa:hover { filter: brightness(.97); }
.wa svg { flex: none; }
.phone { font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 600; user-select: all; }
.cta-phone { font-size: 14px; }
.fine { font-size: 12px; color: var(--muted); }
