@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --bg: #020b1f;
  --bg-2: #04163a;
  --surface: rgba(14, 38, 84, 0.55);
  --surface-solid: #0a1d44;
  --line: rgba(80, 150, 255, 0.22);
  --text: #eef4ff;
  --muted: #a9bad6;
  --blue: #1f8bff;
  --cyan: #19d3f5;
  --green: #3ddc84;
  --carinho: #e9b3a6;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
a { color: var(--cyan); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Cabeçalho */
header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(2, 11, 31, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; flex-wrap: wrap; }
.brand { display: block; line-height: 0; }
.brand img { height: 44px; width: auto; }
nav.site { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; font-weight: 500; font-size: 14px; }
nav.site a { color: var(--muted); text-decoration: none; }
nav.site a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px;
  border-radius: 10px; font-weight: 600; font-size: 14px; text-decoration: none;
  background: linear-gradient(135deg, var(--cyan), var(--blue)); color: #021029;
  box-shadow: 0 8px 24px rgba(31, 139, 255, 0.35);
}
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
nav.site .btn { min-height: 38px; padding: 0 16px; color: #021029; }

/* Seções */
main section { padding-block: 72px; }
.eyebrow { color: var(--cyan); font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin: 0 0 10px; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 700; letter-spacing: -1px; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -0.5px; margin-bottom: 14px; }
h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.grad { background: linear-gradient(90deg, var(--cyan), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 18px; max-width: 620px; margin: 18px 0 28px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 78% 40%, rgba(31, 139, 255, 0.32), transparent 70%),
    radial-gradient(ellipse 40% 50% at 90% 10%, rgba(25, 211, 245, 0.18), transparent 70%),
    repeating-linear-gradient(90deg, rgba(80, 150, 255, 0.05) 0 1px, transparent 1px 64px),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  border-bottom: 1px solid var(--line);
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.hero-logo img { width: 100%; max-width: 520px; height: auto; display: block; margin-left: auto; border-radius: 24px; box-shadow: 0 0 80px rgba(31, 139, 255, 0.35); }

/* Cards */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}
.card p { color: var(--muted); font-size: 14px; margin: 0; }
.icon {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px;
  display: grid; place-items: center;
  background: rgba(31, 139, 255, 0.14); color: var(--cyan);
}
.icon svg { width: 24px; height: 24px; }

/* Azure DevOps */
.devops { background: linear-gradient(180deg, var(--bg), var(--bg-2)); border-block: 1px solid var(--line); }
.devops .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.checks li::before { content: '✓'; color: var(--cyan); font-weight: 700; }
.pipeline {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 60px rgba(31, 139, 255, 0.15);
  font-size: 14px;
}
.pipeline .bar { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.pipeline .bar strong { color: var(--text); font-size: 15px; }
.stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
.stage { text-align: center; color: var(--muted); font-size: 12px; }
.stage span { display: block; height: 10px; border-radius: 999px; background: var(--green); margin-bottom: 8px; box-shadow: 0 0 12px rgba(61, 220, 132, 0.5); }
.steps-run { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.steps-run li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.03); }
.steps-run li::before {
  content: '✓'; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); color: #022; font-weight: 700; font-size: 13px; flex: none;
}
.steps-run small { margin-left: auto; color: var(--muted); }

/* Processo */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step h3::before {
  counter-increment: step; content: '0' counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--cyan), var(--blue)); color: #021029; font-weight: 700; font-size: 14px;
}
.step p { color: var(--muted); font-size: 14px; margin: 0; }

/* Apps */
.app-card { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.app-badge {
  width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center;
  background: #f3e1da; color: #9a5a4f; font-weight: 700; font-size: 26px;
}
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(25, 211, 245, 0.12); color: var(--cyan); margin-bottom: 8px; }

/* Empresa e CTA */
.facts dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.cta {
  border-radius: 20px; padding: 40px;
  background:
    radial-gradient(ellipse 70% 120% at 85% 50%, rgba(31, 139, 255, 0.35), transparent 70%),
    var(--surface-solid);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta h2 { margin-bottom: 8px; }
.cta p { color: var(--muted); margin: 0; max-width: 560px; }

/* Páginas de texto (privacidade, termos...) */
main.doc-page { padding-block: 48px 72px; }
.doc { background: var(--surface-solid); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 4vw, 44px); max-width: 860px; margin: 0 auto; }
.doc h1 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 8px; }
.doc h2 { font-size: 21px; margin: 34px 0 10px; }
.doc h3 { margin-top: 22px; }
.doc p, .doc li { color: #d6e0f2; }
.doc .updated { color: var(--muted); font-size: 14px; }
.doc li { margin-bottom: 6px; }
.note { background: rgba(25, 211, 245, 0.1); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }

footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; background: #01081a; }
footer.site .wrap { padding-block: 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer.site img { height: 36px; width: auto; display: block; }

@media (max-width: 900px) {
  .hero .wrap, .devops .wrap { grid-template-columns: 1fr; }
  .hero-logo img { margin: 0 auto; }
  .grid-4, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  main section { padding-block: 52px; }
  .grid-4, .steps { grid-template-columns: 1fr; }
  nav.site { gap: 14px; }
  .facts dl { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 10px; }
  .cta { padding: 26px; }
  .app-card { grid-template-columns: 1fr; }
}
