/*
 * Documentação pública do Removedor de Fundo
 * Copyright (C) 2026 Tudo Para Empresas
 * SPDX-License-Identifier: AGPL-3.0-only
 */

:root {
  --blue: #3348ff;
  --black: #090909;
  --ink: #171717;
  --muted: #686868;
  --line: #dedede;
  --soft: #f5f6fa;
  --white: #fff;
  font-family: Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--soft); color: var(--ink); margin: 0; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); }
.container { margin: 0 auto; width: min(920px, calc(100% - 40px)); }

.topbar { background: var(--black); color: var(--white); }
.topbar-inner { align-items: center; display: flex; justify-content: space-between; min-height: 72px; }
.brand { color: var(--white); font-size: 17px; font-weight: 800; letter-spacing: -.025em; text-decoration: none; }
.back { color: #c7c7c7; font-size: 13px; font-weight: 700; text-decoration: none; }
.back:hover { color: var(--white); }

.hero { padding: 76px 0 54px; }
.eyebrow { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .12em; margin: 0 0 15px; text-transform: uppercase; }
h1 { font-size: clamp(44px, 8vw, 76px); letter-spacing: -.07em; line-height: .95; margin: 0; }
.hero > p:not(.eyebrow) { color: var(--muted); font-size: 18px; line-height: 1.6; margin: 24px 0 0; max-width: 700px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.actions a { border-radius: 9px; display: inline-flex; font-size: 14px; font-weight: 800; justify-content: center; padding: 14px 18px; text-decoration: none; }
.primary { background: var(--blue); color: var(--white); }
.secondary { border: 1px solid #c9c9c9; color: var(--ink); }
.release-data { display: grid; gap: 1px; grid-template-columns: repeat(3, 1fr); margin: 46px 0 0; }
.release-data div { border-top: 1px solid #cfcfcf; padding: 15px 0; }
.release-data dt { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.release-data dd { font-size: 14px; font-weight: 800; margin: 6px 0 0; }

.card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; display: grid; gap: 26px; grid-template-columns: 44px 1fr; margin-bottom: 16px; padding: 34px; }
.section-number { color: #999; font-size: 12px; font-weight: 800; margin: 5px 0 0; }
.card h2 { font-size: 30px; letter-spacing: -.045em; margin: 0 0 16px; }
.card h3 { font-size: 16px; margin: 0 0 8px; }
.card h3 span { color: var(--muted); font-size: 12px; font-weight: 600; }
.card p { color: #505050; font-size: 15px; line-height: 1.65; margin: 0 0 14px; }
.file-list { border-bottom: 1px solid var(--line); list-style: none; margin: 22px 0; padding: 0; }
.file-list li { align-items: center; border-top: 1px solid var(--line); display: flex; gap: 20px; justify-content: space-between; padding: 12px 0; }
.file-list a { font-family: Consolas, monospace; font-size: 13px; font-weight: 700; }
.file-list span { color: var(--muted); font-size: 12px; text-align: right; }
.note { background: var(--soft); border-radius: 8px; font-size: 13px !important; padding: 13px 15px; }
.text-link { display: inline-block; font-size: 14px; font-weight: 800; margin-top: 5px; }
details { border: 1px solid var(--line); border-radius: 9px; margin: 20px 0 13px; overflow: hidden; }
summary { cursor: pointer; font-size: 14px; font-weight: 800; padding: 15px; }
iframe { border: 0; border-top: 1px solid var(--line); display: block; height: 480px; width: 100%; }
.license-note { color: var(--muted) !important; font-size: 13px !important; }
.license-note code { background: var(--soft); border-radius: 4px; font-family: Consolas, monospace; padding: 2px 5px; }
.dependency { border-top: 1px solid var(--line); padding: 18px 0; }
.dependency:last-of-type { border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.dependency p { font-size: 14px; margin-bottom: 8px; }
.dependency a { font-size: 13px; font-weight: 700; }

.footer { align-items: center; color: var(--muted); display: flex; font-size: 12px; justify-content: space-between; padding: 30px 0 42px; }
.footer a { font-weight: 800; }

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 920px); }
  .topbar-inner { min-height: 62px; }
  .back { max-width: 130px; text-align: right; }
  .hero { padding: 54px 0 38px; }
  .release-data { grid-template-columns: 1fr; }
  .card { grid-template-columns: 1fr; padding: 24px 20px; }
  .section-number { margin: 0; }
  .file-list li { align-items: flex-start; flex-direction: column; gap: 4px; }
  .file-list span { text-align: left; }
  .footer { align-items: flex-start; flex-direction: column; gap: 8px; }
}
