/* ALIT Services — folha de estilo única, sem dependências externas */
:root {
  --ink: #0f172a;          /* texto principal */
  --ink-2: #334155;        /* texto secundário */
  --muted: #64748b;
  --bg: #ffffff;
  --bg-2: #f5f7fa;
  --line: #e2e8f0;
  --navy: #0b1324;         /* fundo escuro (hero/rodapé) */
  --navy-2: #131d33;
  --accent: #0e9f8e;       /* verde-petróleo */
  --accent-ink: #0b7d70;   /* acento com contraste AA sobre branco */
  --accent-soft: #e6f6f4;
  --radius: 10px;
  --max: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 750; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { width: 34px; height: 34px; }
.brand-name { font-weight: 800; font-size: 1.15rem; letter-spacing: .04em; }
.brand-name span { font-weight: 400; color: var(--muted); letter-spacing: .02em; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  text-decoration: none; color: var(--ink-2); font-size: .95rem; font-weight: 550;
  padding: 8px 12px; border-radius: 8px;
}
.nav a:hover { background: var(--bg-2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--accent-ink); background: var(--accent-soft); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(14,159,142,.22), transparent 60%),
    linear-gradient(180deg, var(--navy), var(--navy-2));
  color: #e2e8f0;
  padding: clamp(56px, 9vw, 104px) 0 clamp(48px, 8vw, 88px);
  position: relative; overflow: hidden;
}
.hero::after { /* grade sutil, remete a diagrama de rede */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 18ch; }
.hero p.lead { font-size: 1.2rem; color: #cbd5e1; max-width: 60ch; }
.eyebrow {
  display: inline-block; font-family: var(--mono); font-size: .8rem; letter-spacing: .08em;
  text-transform: uppercase; color: #5eead4; margin-bottom: 18px;
}
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-family: var(--mono); font-size: .85rem; color: #94a3b8; }
.hero-meta span::before { content: "▸ "; color: #5eead4; }

.page-head { background: var(--bg-2); border-bottom: 1px solid var(--line); padding: clamp(40px, 6vw, 64px) 0 clamp(28px, 4vw, 40px); }
.page-head p { color: var(--ink-2); max-width: 65ch; font-size: 1.1rem; margin: 0; }

/* ---------- Botões ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-weight: 650; font-size: 1rem; padding: 12px 20px; border-radius: 8px;
  border: 1px solid transparent; transition: background .15s, border-color .15s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.28); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink-2); color: var(--ink); }

/* ---------- Seções e cards ---------- */
section.block { padding: clamp(48px, 7vw, 88px) 0; }
section.alt { background: var(--bg-2); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { color: var(--ink-2); }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column;
}
.card p { color: var(--ink-2); margin-bottom: .8em; }
.card .more { margin-top: auto; font-weight: 600; text-decoration: none; }
.icon {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 16px;
}
.icon svg { width: 24px; height: 24px; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 4px 0 14px; }
.tags li {
  font-family: var(--mono); font-size: .78rem; padding: 3px 8px; border-radius: 6px;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--ink-2);
}

.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding-left: 26px; margin-bottom: 8px; color: var(--ink-2); }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}

.service { display: grid; grid-template-columns: 1fr; gap: 24px; padding: 40px 0; border-top: 1px solid var(--line); }
.service:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 860px) { .service { grid-template-columns: 320px 1fr; gap: 48px; } }
.service .cols { display: grid; gap: 4px 32px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.stats { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stat { border-left: 3px solid var(--accent); padding: 4px 0 4px 16px; }
.stat strong { display: block; font-size: 1.6rem; letter-spacing: -0.02em; }
.stat span { color: var(--ink-2); font-size: .95rem; }

.cta {
  background: var(--navy); color: #cbd5e1; border-radius: 14px;
  padding: clamp(28px, 5vw, 48px); display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 24px;
}
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; }

/* ---------- Apps (em breve) ---------- */
.empty {
  border: 1px dashed #cbd5e1; border-radius: 14px; padding: clamp(32px, 6vw, 56px);
  text-align: center; background: #fff;
}
.empty .icon { margin: 0 auto 18px; width: 56px; height: 56px; }
.empty p { color: var(--ink-2); max-width: 56ch; margin-left: auto; margin-right: auto; }
.badge {
  display: inline-block; font-family: var(--mono); font-size: .75rem; letter-spacing: .06em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 14px;
}

/* ---------- Contato ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { margin: 0; flex: none; }
.contact-list small { display: block; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.contact-list a, .contact-list address { font-style: normal; font-weight: 600; color: var(--ink); word-break: break-word; }

dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; font-weight: 550; }
@media (max-width: 480px) { dl.facts { grid-template-columns: 1fr; } dl.facts dd { margin-bottom: 8px; } }

/* ---------- Textos legais ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.35rem; margin-top: 2.2em; padding-top: .4em; }
.legal h3 { margin-top: 1.4em; }
.legal ul, .legal ol { padding-left: 1.3em; }
.legal li { margin-bottom: .4em; }
.legal .updated { font-family: var(--mono); font-size: .85rem; color: var(--muted); }
.toc { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 24px 0 8px; }
.toc ol { margin: 0; columns: 2 240px; column-gap: 32px; }
.toc a { text-decoration: none; }
.legal table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1em 0; display: block; overflow-x: auto; }
.legal th, .legal td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal th { background: var(--bg-2); }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--navy); color: #94a3b8; padding: 48px 0 28px; font-size: .92rem; margin-top: 0; }
.site-footer a { color: #cbd5e1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer-grid h3 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-family: var(--mono); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 6px; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer .brand-name span { color: #94a3b8; }
.legal-id { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

@media (max-width: 640px) {
  .site-header { position: static; }
  .site-header .container { padding-top: 10px; padding-bottom: 6px; }
  .nav { width: 100%; margin: 0 -12px; }
  .nav a { padding: 8px 10px; font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .site-header, .site-footer .footer-grid, .actions { display: none; }
  .site-footer { background: none; color: #000; }
}
