:root {
  --navy: #0f1e2e;
  --primary: #173f5f;
  --primary-2: #1f5a85;
  --accent: #2f8fd1;
  --text: #17202a;
  --muted: #5b6676;
  --border: #e4e7ec;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --success: #067647;
  --radius: 12px;
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.01em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
a { color: var(--primary-2); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Botões */
.btn {
  display: inline-block;
  padding: .75rem 1.3rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primario { background: var(--primary); color: #fff; }
.btn-primario:hover { background: var(--primary-2); }
.btn-claro { background: #fff; color: var(--primary); border-color: var(--border); }
.btn-claro:hover { border-color: var(--primary); }
.btn-contorno { border-color: var(--primary); color: var(--primary); padding: .45rem 1rem; }
.btn-contorno:hover { background: var(--primary); color: #fff; }

.selo {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: .8rem;
}

/* Topo */
.topo {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.topo.rolado { border-bottom-color: var(--border); }
.topo-inner { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.marca { display: flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1.15rem; color: var(--navy); text-decoration: none; }
.topo .marca img { height: 62px; width: auto; }
.rodape .marca img { height: 42px; width: auto; }
.menu { display: flex; align-items: center; gap: 1.6rem; }
.menu a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 500; }
.menu a:not(.btn):hover { color: var(--navy); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Hero */
.hero {
  padding: 72px 0 88px;
  background:
    radial-gradient(900px 400px at 85% 10%, rgba(47, 143, 209, .12), transparent 60%),
    linear-gradient(180deg, #fff, var(--bg-alt));
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-acoes { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero-acoes.centro { justify-content: center; }

.janela {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 30px 60px -20px rgba(15, 30, 46, .25), 0 8px 20px -8px rgba(15, 30, 46, .12);
  overflow: hidden;
}
.janela-barra { display: flex; gap: 6px; padding: 12px 14px; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.janela-barra i { width: 10px; height: 10px; border-radius: 50%; background: #d0d5dd; }
.janela-corpo { padding: 20px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.kpi { border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.kpi small { display: block; color: var(--muted); font-size: .72rem; }
.kpi strong { font-size: 1.5rem; color: var(--primary); }
.etapas { display: grid; gap: 8px; }
.etapa { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); padding: 8px 10px; border-radius: 8px; }
.etapa span { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #d0d5dd; flex: none; }
.etapa.feito { color: var(--text); }
.etapa.feito span { background: var(--success); border-color: var(--success); }
.etapa.atual { background: rgba(47, 143, 209, .1); color: var(--primary); font-weight: 600; }
.etapa.atual span { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(47, 143, 209, .25); }

/* Faixa */
.faixa { background: var(--navy); color: #cbd5e1; padding: 40px 0; }
.faixa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.faixa strong { color: #fff; display: block; margin-bottom: .3rem; font-size: 1.05rem; }
.faixa p { margin: 0; font-size: .95rem; }

/* Seções */
.secao { padding: 88px 0; }
.secao-alt { background: var(--bg-alt); }
.secao-titulo { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.secao-titulo p:last-child { color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color .15s, box-shadow .15s;
}
.card:hover { border-color: #c7d3e0; box-shadow: 0 10px 24px -14px rgba(15, 30, 46, .3); }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.icone {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(23, 63, 95, .08);
  display: grid; place-items: center; margin-bottom: 14px;
}
.icone svg { width: 22px; height: 22px; fill: none; stroke: var(--primary); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Fluxo */
.fluxo { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: f; }
.fluxo li { position: relative; }
.fluxo li:not(:last-child)::after {
  content: ""; position: absolute; top: 20px; left: 52px; right: -12px;
  height: 2px; background: linear-gradient(90deg, var(--accent), #c7d3e0);
}
.num {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 700; margin-bottom: 14px;
}
.fluxo p { color: var(--muted); font-size: .95rem; }

/* Segurança */
.dois-col { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.dois-col > div p { color: var(--muted); }
.lista-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.lista-check li {
  position: relative; padding: 16px 18px 16px 48px;
  border: 1px solid var(--border); border-radius: 10px; color: var(--muted);
}
.lista-check li strong { color: var(--navy); }
.lista-check li::before {
  content: ""; position: absolute; left: 18px; top: 20px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* CTA */
.cta { background: linear-gradient(135deg, var(--primary), var(--navy)); color: #dbe5ef; padding: 80px 0; }
.cta-inner { text-align: center; }
.cta h2 { color: #fff; }
.cta .btn-primario { background: #fff; color: var(--primary); }
.cta .btn-primario:hover { background: #eaf2f9; }
.cta .btn-claro { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.cta .btn-claro:hover { border-color: #fff; }

/* Rodapé */
.rodape { background: var(--navy); color: #94a3b8; padding: 28px 0; font-size: .9rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.rodape-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.rodape .marca { color: #fff; font-size: 1rem; }
.rodape p { margin: 0; }
.rodape a { color: #cbd5e1; }

/* Responsivo */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .fluxo { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .fluxo li::after { display: none; }
}
@media (max-width: 860px) {
  .hero-grid, .dois-col { grid-template-columns: 1fr; gap: 40px; }
  .faixa-grid { grid-template-columns: 1fr; gap: 20px; }
  .menu-toggle { display: block; }
  .menu {
    position: absolute; top: 92px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 8px 20px 16px; display: none;
  }
  .menu.aberto { display: flex; }
  .menu a { padding: 12px 0; }
  .menu .btn { text-align: center; margin-top: 8px; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .cards, .fluxo { grid-template-columns: 1fr; }
  .secao { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .kpi strong { font-size: 1.2rem; }
  .topo .marca img { height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
