/* =====================================================================
   SIGAD · Vitrine (landing) — design system Me & You com paleta IMAP.
   Hand-rolled, sem framework (regra do DS). Lê os tokens de sigad-tema.css.
   ===================================================================== */

* { box-sizing: border-box; margin: 0; }

.vitrine {
  font-family: var(--font-sans);
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.vt-container {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

/* ---- Nav ------------------------------------------------------------ */
.vt-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.vt-nav-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
}
.vt-brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.vt-brand img { height: 26px; }
.vt-brand span {
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--brand-deep);
  border-left: 1px solid var(--rule);
  padding-left: 0.65rem;
}
.vt-nav-links { display: none; gap: 1.25rem; margin-inline: auto; }
.vt-nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}
.vt-nav-links a:hover { color: var(--brand); }
.vt-nav-acoes { display: flex; gap: 0.5rem; margin-left: auto; }
@media (min-width: 960px) {
  .vt-nav-links { display: flex; }
  .vt-nav-acoes { margin-left: 0; }
}

/* ---- Botões (receita do DS) ----------------------------------------- */
.vt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: 600 0.9375rem var(--font-sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur-color) var(--ease),
    border-color var(--dur-color) var(--ease),
    color var(--dur-color) var(--ease),
    box-shadow var(--dur-color) var(--ease),
    transform var(--dur-transform) var(--ease);
}
.vt-btn:hover { transform: translateY(-1px); }
.vt-btn:active { transform: translateY(0); }
.vt-btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.vt-btn--primary:hover { background: var(--brand-deep); color: #fff; }
.vt-btn--ghost { border-color: var(--rule); color: var(--ink); background: transparent; }
.vt-btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.vt-btn--claro { background: #fff; color: var(--brand-deep); }
.vt-btn--claro:hover { background: var(--brand-tint); color: var(--brand-deep); }
.vt-btn--contorno-claro { border-color: rgba(255,255,255,.5); color: #fff; }
.vt-btn--contorno-claro:hover { border-color: #fff; color: #fff; }
.vt-btn--sm { padding: 0.45rem 0.85rem; font-size: 0.8125rem; }

/* ---- Eyebrow / pills ------------------------------------------------- */
.vt-eyebrow {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.75rem;
}
.vt-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--ink-mute);
  background: var(--bg-soft);
}

/* ---- Hero ------------------------------------------------------------ */
.vt-hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 8vw, 6rem); }
.vt-hero::before {
  content: "";
  position: absolute;
  inset: -60px 0;
  background:
    radial-gradient(480px 300px at 18% 25%, color-mix(in srgb, var(--brand-deep) 12%, transparent), transparent 70%),
    radial-gradient(480px 300px at 85% 15%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.vt-hero-grid {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 960px) { .vt-hero-grid { grid-template-columns: 1.15fr 0.85fr; } }
.vt-hero h1 {
  font-size: clamp(2.1rem, 4.4vw + 0.6rem, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--brand-deep);
  text-wrap: balance;
  margin-bottom: 1.25rem;
}
.vt-gradiente {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.vt-hero .vt-lead {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin-bottom: 1.75rem;
  text-wrap: pretty;
}
.vt-hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }
.vt-hero-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* Painel flutuante de prévia */
.vt-preview {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem;
}
.vt-preview-topo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--ink-mute);
  margin-bottom: 1rem;
}
.vt-preview-topo strong { color: var(--brand-deep); }
.vt-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-bottom: 1rem; }
.vt-stat {
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 0.75rem;
}
.vt-stat small { display: block; font-size: 0.72rem; color: var(--ink-mute); letter-spacing: 0.04em; text-transform: uppercase; }
.vt-stat strong { font-size: 1.25rem; color: var(--brand-deep); font-variant-numeric: tabular-nums; }
.vt-barras { display: flex; align-items: flex-end; gap: 6px; height: 64px; padding-top: 0.25rem; }
.vt-barras span {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--accent-bright), var(--brand));
  opacity: 0.85;
}

/* ---- Seções ----------------------------------------------------------- */
.vt-secao { padding-block: clamp(3rem, 7vw, 5.5rem); }
.vt-secao--soft { background: var(--bg-soft); }
.vt-secao-cabeca { max-width: 44rem; margin-bottom: 2.5rem; }
.vt-secao-cabeca.centro { margin-inline: auto; text-align: center; }
.vt-secao h2 {
  font-size: clamp(1.6rem, 2.6vw + 0.5rem, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-deep);
  text-wrap: balance;
  margin-bottom: 0.75rem;
}

/* ---- Cartões de recurso ------------------------------------------------ */
.vt-grid { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .vt-grid--3 { grid-template-columns: repeat(3, 1fr); } .vt-grid--2 { grid-template-columns: repeat(2, 1fr); } }
.vt-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--dur-color) var(--ease),
    border-color var(--dur-color) var(--ease),
    transform var(--dur-transform) var(--ease);
}
.vt-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--brand-gradient);
}
.vt-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--brand-soft); }
.vt-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--brand-deep); margin-bottom: 0.4rem; }
.vt-card p { font-size: 0.9375rem; color: var(--ink-soft); }
.vt-tile {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--brand-tint);
  color: var(--brand-deep);
  font-size: 1.25rem;
  margin-bottom: 0.9rem;
}

/* ---- Como funciona (passos) -------------------------------------------- */
.vt-passos { display: grid; gap: 1.25rem; counter-reset: passo; }
@media (min-width: 720px) { .vt-passos { grid-template-columns: repeat(4, 1fr); } }
.vt-passo { position: relative; padding-top: 0.5rem; }
.vt-passo::before {
  counter-increment: passo;
  content: "0" counter(passo);
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--brand);
  margin-bottom: 0.5rem;
}
.vt-passo h3 { font-size: 1.05rem; font-weight: 700; color: var(--brand-deep); margin-bottom: 0.35rem; }
.vt-passo p { font-size: 0.9375rem; }

/* ---- Segurança (checklist + callout) ------------------------------------ */
.vt-seguranca { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .vt-seguranca { grid-template-columns: 1.1fr 0.9fr; } }
.vt-checks { list-style: none; padding: 0; display: grid; gap: 1rem; }
.vt-checks li { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; }
.vt-checks .vt-check-icone { color: var(--ok); font-weight: 700; }
.vt-checks strong { color: var(--brand-deep); display: block; }
.vt-checks span { font-size: 0.9375rem; }
.vt-callout {
  background: var(--brand-tint);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.vt-callout h3 { color: var(--brand-deep); font-size: 1.05rem; margin-bottom: 0.5rem; }
.vt-callout p { font-size: 0.9375rem; }

/* ---- Faixa final (CTA) --------------------------------------------------- */
.vt-cta {
  background: linear-gradient(110deg, var(--brand-deep) 0%, var(--brand) 70%, var(--accent) 115%);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  color: #fff;
}
.vt-cta .vt-eyebrow { color: rgba(255, 255, 255, 0.75); }
.vt-cta h2 { color: #fff; margin-bottom: 0.5rem; }
.vt-cta p { color: rgba(255, 255, 255, 0.85); margin-bottom: 1.5rem; }
.vt-cta-acoes { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.75rem; }

/* ---- Rodapé ---------------------------------------------------------------- */
.vt-footer {
  background: var(--brand-deep);
  color: rgba(255, 255, 255, 0.75);
  padding-block: 2.5rem;
  margin-top: clamp(3rem, 7vw, 5.5rem);
  font-size: 0.8125rem;
}
.vt-footer-inner { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.vt-footer img { height: 22px; opacity: 0.9; }
.vt-footer a { color: #fff; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .vitrine * { transition: none !important; animation: none !important; }
}
