:root {
  --blue: #0a4fa6;
  --blue-dark: #062f6b;
  --blue-soft: #e8f1fb;
  --green: #00a65a;
  --yellow: #fcc92f;
  --ink: #2f3337;
  --muted: #5d656d;
  --line: #dde5ee;
  --bg: #ffffff;
  --tint: #f4f8fc;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(10, 79, 166, .10);
  --mono: ui-monospace, "Cascadia Mono", "DejaVu Sans Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; color: var(--blue-dark); letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Botões */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--blue);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--blue); }
.btn--ghost:hover { color: #fff; }
.btn--small { padding: 8px 20px; }
.btn--light { background: #fff; color: var(--blue-dark); border-color: #fff; font-family: var(--mono); font-size: 1.1rem; }
.btn--light:hover { background: var(--yellow); border-color: var(--yellow); color: var(--blue-dark); }
.btn--whats { background: #1faa59; border-color: #1faa59; font-family: var(--mono); font-size: 1.1rem; display: inline-flex; align-items: center; gap: 10px; }
.btn--whats svg { width: 36px; height: 36px; fill: currentColor; }
.btn--light { display: inline-flex; align-items: center; gap: 10px; }
.btn--light svg { width: 24px; height: 24px; fill: currentColor; }
.btn--whats:hover { background: #168a47; border-color: #168a47; }
.cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* Topo */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { height: 44px; width: auto; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu a:not(.btn) { text-decoration: none; font-weight: 500; color: var(--ink); position: relative; }
.menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--yellow)); transition: width .2s ease;
}
.menu a:not(.btn):hover::after { width: 100%; }
.burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--blue-dark); margin: 5px 0; transition: .2s; }

/* Hero */
.hero {
  position: relative;
  min-height: min(82vh, 760px);
  display: flex; align-items: center;
  background: #fff url("../img/background.jpg") right center / cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #fff 0%, #fff 38%, rgba(255, 255, 255, .88) 52%, rgba(255, 255, 255, 0) 80%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: linear-gradient(90deg, var(--green) 0 33%, var(--yellow) 33% 66%, var(--blue) 66% 100%);
}
.hero__in { position: relative; z-index: 1; padding: 72px 0; max-width: 1120px; }
.hero__in > * { max-width: 600px; }
.eyebrow { font-family: var(--mono); font-size: .85rem; color: var(--green); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); margin-bottom: 20px; }
.hero h1 span { color: var(--blue); }
.lead { font-size: 1.2rem; color: var(--muted); margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.tags li {
  font-family: var(--mono); font-size: .85rem; padding: 6px 14px; border-radius: 999px;
  background: var(--blue-soft); color: var(--blue-dark); border: 1px solid #cfe0f4;
}

/* Seções */
.sec { padding: 96px 0; }
.sec--tint { background: var(--tint); }
.kicker { font-family: var(--mono); font-size: .85rem; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.kicker--light { color: var(--yellow); }
.sec h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 18px; }
.sub { color: var(--muted); font-size: 1.1rem; max-width: 640px; }

.about, .split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.about__txt p, .split__txt p { color: var(--muted); font-size: 1.1rem; }

.grid { display: grid; gap: 24px; margin-top: 40px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card--link { display: block; text-decoration: none; color: inherit; }
.card__more { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--blue); }

/* Página de produtos */
.page-head { padding: 72px 0 8px; }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 14px; }
.products { display: grid; gap: 24px; margin: 32px auto 96px; }
.product { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: 0 2px 6px rgba(10, 79, 166, .04); }
.product > img { width: 120px; height: 120px; object-fit: contain; }
.product h2 { font-size: 1.5rem; margin-bottom: 8px; }
.product p { color: var(--muted); }
.product__site { margin: 0 0 6px; }
.product__site a { color: var(--blue); font-weight: 600; word-break: break-all; }
.versions { display: grid; grid-template-columns: 1fr 1fr; margin-top: 8px; }
.version { display: flex; flex-direction: column; align-items: flex-start; padding: 8px 24px 8px 0; }
.version + .version { border-left: 1px solid var(--line); padding: 8px 0 8px 24px; }
.version h3 { margin: 0 0 6px; font-size: 1.1rem; color: var(--blue); }
.version p { flex: 1; margin: 0 0 14px; font-size: .95rem; }
.version img { width: 170px; max-width: 100%; height: auto; }
@media (max-width: 560px) {
  .product { grid-template-columns: 1fr; text-align: center; }
  .product > img { margin: 0 auto; }
  .versions { grid-template-columns: 1fr; }
  .version { align-items: center; padding: 8px 0; }
  .version + .version { border-left: 0; border-top: 1px solid var(--line); padding: 16px 0 8px; }
}

.card, .sector {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: 0 2px 6px rgba(10, 79, 166, .04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover, .sector:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #bcd3ee; }
.card h3 { font-size: 1.2rem; margin: 18px 0 10px; }
.card p, .sector p { color: var(--muted); margin: 0; }

.ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; }
.ico svg { width: 28px; height: 28px; fill: currentColor; }
.ico--blue { background: var(--blue-soft); color: var(--blue); }
.ico--green { background: #e0f6ea; color: #00864a; }
.ico--yellow { background: #fff4cc; color: #a97c00; }

.chips { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 14px; }
.chips li {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; font-weight: 600; color: var(--blue-dark);
  background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 6px rgba(10, 79, 166, .05);
  transition: .2s;
}
.chips li:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-3px); }
.chips svg { width: 22px; height: 22px; fill: currentColor; }

.ticks { list-style: none; padding: 0; margin: 24px 0 0; }
.ticks li { position: relative; padding-left: 34px; margin-bottom: 12px; font-weight: 500; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' d='m6 12.500 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* IA */
.ia { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); color: #fff; position: relative; overflow: hidden; }
.ia::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 201, 47, .35), transparent 70%);
}
.ia h2 { color: #fff; }
.ia .split__txt p { color: #d6e4f7; }
.ia .wrap { position: relative; }

.sector { border-top: 5px solid var(--green); }
.sector:nth-child(2) { border-top-color: var(--yellow); }
.sector:nth-child(3) { border-top-color: var(--blue); }
.sector h3 { font-size: 1.3rem; margin-bottom: 10px; }

/* Contato */
.cta { background: var(--tint); text-align: center; }
.cta__in { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); border-radius: 28px; padding: 64px 24px; color: #fff; position: relative; overflow: hidden; }
.cta__in::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: linear-gradient(90deg, var(--green) 0 33%, var(--yellow) 33% 66%, #fff 66% 100%);
}
.cta h2 { color: #fff; }
.cta p { color: #d6e4f7; font-size: 1.1rem; margin-bottom: 28px; }

.foot { padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.foot__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot__in p { margin: 0; flex: 1; }
.foot__in a { text-decoration: none; color: var(--blue); font-weight: 600; }

/* Animação de entrada */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .sector, .chips li { transition: none; }
}

/* Responsivo */
@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .about, .split { grid-template-columns: 1fr; gap: 20px; }
  .sec { padding: 72px 0; }
}
@media (max-width: 720px) {
  .burger { display: block; }
  .menu {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: none;
  }
  .menu.open { display: flex; }
  .menu a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .menu a:not(.btn)::after { display: none; }
  .menu .btn { margin-top: 12px; text-align: center; }
  .hero::before { background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .85)); }
  .hero { background-position: 70% center; }
}
@media (max-width: 560px) {
  .grid--3 { grid-template-columns: 1fr; }
  .brand img { height: 40px; }
  .hero__in { padding: 48px 0; }
}
.play-badge { width: 170px; max-width: 100%; height: auto; margin-top: 8px; }
