/* Tokens do design system "Íris Enterprise" (design/DESIGN.md) */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(fonts/inter-400.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(fonts/inter-500.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(fonts/inter-600.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(fonts/inter-700.woff2) format("woff2"); }

:root {
  --primary: #a31215;
  --primary-hover: #820d10;
  --primary-subtle: #fdf2f2;
  --primary-border: #fecaca;
  --canvas: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --text: #0f172a;
  --text-body: #333333;
  --muted: #64748b;
  --success: #16a34a;
  --navy: #0f172a;
  --navy-2: #323a4f;
  --shadow-1: 0 1px 3px 0 rgba(15,23,42,.05), 0 1px 2px -1px rgba(15,23,42,.05);
  --shadow-2: 0 4px 6px -1px rgba(15,23,42,.07), 0 2px 4px -2px rgba(15,23,42,.05);
  --radius: .5rem;
  --radius-lg: 1rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 14px/20px Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text-body);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 768px) { .wrap { padding: 0 2rem; } }

/* Cabeçalho */
.topo { background: rgba(255,255,255,.92); border-bottom: 1px solid var(--border); }
.topo .wrap { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.marca { display: flex; align-items: center; gap: .5rem; text-decoration: none; }
.marca img { height: 60px; width: auto; display: block; }
.topo-contato { font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; padding: .5rem .75rem; border-radius: var(--radius); }
.topo-contato:hover { background: #f1f5f9; color: var(--text); }

/* Hero */
.hero { padding: 3rem 0 1.5rem; background: linear-gradient(#eff4ff, var(--canvas)); }
.selo { display: inline-flex; align-items: center; gap: .5rem; padding: .375rem .875rem; border-radius: 9999px; background: var(--primary-subtle); border: 1px solid var(--primary-border); color: var(--primary); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .025em; text-transform: uppercase; }
.selo::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
h1 { margin-top: 1rem; font-size: 28px; line-height: 36px; font-weight: 700; letter-spacing: -.01em; color: var(--text); max-width: 20ch; }
h1 span { color: var(--primary); }
.lead { margin-top: 1rem; max-width: 60ch; font-size: 16px; line-height: 24px; color: var(--muted); }
@media (min-width: 768px) { .hero { padding: 4rem 0 2rem; } h1 { font-size: 36px; line-height: 44px; letter-spacing: -.02em; max-width: 24ch; } }

/* Cartão de download */
.dl { margin-top: 2rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-2); overflow: hidden; }
.dl-corpo { display: grid; gap: 1.5rem; padding: 1.5rem; }
@media (min-width: 900px) { .dl-corpo { grid-template-columns: 1fr 360px; gap: 2rem; padding: 2rem; } }
.dl-nome { display: flex; align-items: center; gap: .625rem; font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -.01em; color: var(--text); word-break: break-all; }
.dl-nome svg { flex: none; color: var(--primary); }
.dl-desc { margin-top: .5rem; max-width: 52ch; color: var(--muted); }
.fatos { margin: 1.25rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 1rem; background: var(--canvas); border: 1px solid var(--border); border-radius: .75rem; }
.fatos dt { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .025em; color: var(--muted); }
.fatos dd { margin: .125rem 0 0; font-size: 18px; line-height: 24px; font-weight: 600; color: var(--text); }
@media (max-width: 480px) { .fatos { grid-template-columns: 1fr 1fr; } }
.acao { display: flex; flex-direction: column; gap: .75rem; justify-content: center; }
.btn { display: flex; align-items: center; justify-content: center; gap: .625rem; width: 100%; padding: 1rem 1.5rem; border: 0; border-radius: var(--radius); background: var(--primary); color: #fff; font: 600 18px/24px Inter, sans-serif; text-decoration: none; cursor: pointer; box-shadow: var(--shadow-1); transition: background .15s, box-shadow .15s, transform .15s; }
.btn:hover { background: var(--primary-hover); box-shadow: var(--shadow-2); transform: translateY(-1px); }
.dica { font-size: 12px; line-height: 16px; color: var(--muted); text-align: center; }
.hash-rotulo { margin-top: .25rem; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--text); }
.hash { display: flex; align-items: center; gap: .5rem; padding: .5rem .5rem .5rem .75rem; background: var(--canvas); border: 1px solid var(--border); border-radius: var(--radius); }
.hash code { flex: 1; min-width: 0; overflow-wrap: anywhere; font: 500 12px/16px ui-monospace, "Cascadia Mono", Consolas, monospace; color: var(--muted); user-select: all; }
.hash button { flex: none; border: 1px solid var(--border-strong); background: var(--card); color: var(--text-body); border-radius: 6px; padding: .375rem .625rem; font: 500 12px/16px Inter, sans-serif; cursor: pointer; }
.hash button:hover { background: var(--canvas); border-color: #94a3b8; }
.aviso-js { display: none; }

/* Seções */
section.bloco { padding: 3rem 0 0; }
.rotulo { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--primary); }
h2 { margin-top: .25rem; font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -.01em; color: var(--text); }
@media (min-width: 768px) { h2 { font-size: 28px; line-height: 36px; letter-spacing: -.015em; } }
.passos { margin: 1.5rem 0 0; padding: 0; list-style: none; display: grid; gap: 1.5rem; counter-reset: p; }
@media (min-width: 768px) { .passos { grid-template-columns: repeat(3, 1fr); } }
.passo { counter-increment: p; position: relative; padding: 1.5rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); }
.passo::before { content: counter(p); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 1rem; border-radius: .75rem; background: var(--primary-subtle); color: var(--primary); font-size: 18px; font-weight: 700; }
.passo h3 { font-size: 18px; line-height: 24px; font-weight: 600; color: var(--text); }
.passo p { margin-top: .5rem; color: var(--muted); }
.passo code { padding: 1px 6px; background: #f1f5f9; border-radius: 4px; font: 500 12px/16px ui-monospace, Consolas, monospace; color: var(--text); }

.req { margin-top: 1.5rem; border: 1px solid var(--border); border-radius: .75rem; background: var(--card); overflow: hidden; }
.req table { width: 100%; border-collapse: collapse; }
.req th, .req td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.req tr:last-child th, .req tr:last-child td { border-bottom: 0; }
.req th { width: 11rem; font-weight: 600; color: var(--text); background: var(--canvas); }
@media (max-width: 520px) { .req th { width: 7.5rem; } }

/* Suporte */
.suporte { margin-top: 3rem; padding: 1.5rem; border-radius: var(--radius-lg); background: linear-gradient(90deg, var(--navy), var(--navy-2)); color: #fff; display: grid; gap: 1.25rem; box-shadow: var(--shadow-2); }
@media (min-width: 768px) { .suporte { grid-template-columns: 1fr auto; align-items: center; padding: 2rem; } }
.suporte .rotulo { color: #bcc4de; }
.suporte h2 { color: #fff; }
.suporte p { margin-top: .5rem; color: #bcc4de; max-width: 52ch; }
.suporte-acoes { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-sec { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.25rem; border-radius: var(--radius); background: var(--primary); color: #fff; font-weight: 500; text-decoration: none; }
.btn-sec:hover { background: var(--primary-hover); }
.btn-sec.claro { background: rgba(255,255,255,.12); }
.btn-sec.claro:hover { background: rgba(255,255,255,.2); }

/* Rodapé */
.rodape { margin-top: 3rem; padding: 1.5rem 0 2rem; border-top: 1px solid var(--border); background: var(--card); color: var(--muted); font-size: 12px; line-height: 16px; }
.rodape .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; }

/* Páginas de texto (Política de Privacidade) */
.doc { max-width: 760px; padding-top: 2.5rem; }
.doc h1 { max-width: none; }
.doc h2 { margin-top: 2rem; font-size: 20px; line-height: 28px; }
.doc h3 { margin-top: 1.25rem; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--text); }
.doc p, .doc li { font-size: 15px; line-height: 24px; }
.doc p { margin-top: .75rem; }
.doc ul, .doc ol { margin: .75rem 0 0; padding-left: 1.25rem; }
.doc li + li { margin-top: .375rem; }
.doc a { color: var(--primary); }
.rodape a { color: inherit; }
