/* GassFlow! BPM — landing page
   Página estática, independente do app (frontend/) e do back-end (protheus/).
   Sem build, sem dependências: basta servir a pasta gf_bpmprod/.

   Identidade GassFlow!: logomarca em SVG inline no index.html (símbolo de fluxo
   em tinta + verde-água #0fb3a6, wordmark em Inter 800); tema em verde-água
   (--brand*). Acabamento alinhado ao site da Gass System (gasssystem.com.br):
   tipografia Inter, sombras suaves e amplas, cartões claros. */

:root {
  --brand: #0fb3a6;          /* verde-água do simbolo de fluxo */
  --brand-dark: #0a6e67;
  --brand-darker: #0b4640;
  --brand-tint: #e8f5f3;
  --brand-tint-2: #d5ebe8;

  --ink: #132320;            /* tinta */
  --ink-soft: #37514d;
  --ink-mute: #5c716d;
  --line: #e0ebe9;
  --bg: #ffffff;
  --bg-alt: #f3f9f8;

  --amber: #ffbf47;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 36, 34, 0.06), 0 10px 26px -14px rgba(11, 36, 34, 0.2);
  --shadow-lg: 0 28px 90px rgba(9, 33, 31, 0.16);
  --wrap: 1090px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Inter", "Aptos", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.18; letter-spacing: -0.022em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 700; }
h3 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--brand-dark); }
code {
  font-family: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
  font-size: 0.9em;
  background: var(--brand-tint);
  padding: 0.1em 0.42em;
  border-radius: 5px;
  color: var(--brand-darker);
}

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

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.82rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 26px -12px rgba(15, 179, 166, 0.6);
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-sm { padding: 0.56rem 1.05rem; font-size: 0.88rem; box-shadow: none; }
.btn-ghost { background: #fff; color: var(--brand-dark); border-color: var(--brand-tint-2); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { background: var(--brand-tint); }
.btn-light { background: #fff; color: var(--brand-darker); box-shadow: none; }
.btn-light:hover { background: #e8f5f3; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); box-shadow: none; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink-soft); text-decoration: none; font-size: 0.92rem; font-weight: 500; }
.nav a:hover { color: var(--brand-dark); }
.header-inner .btn { margin-left: 4px; }

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { height: 38px; width: auto; display: block; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(920px 400px at 84% -10%, var(--brand-tint) 0%, transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%);
  padding: clamp(48px, 8vw, 100px) 0 clamp(56px, 9vw, 108px);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 68px);
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 1rem;
}
.lead { font-size: 1.13rem; color: var(--ink-soft); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.7rem 0 1rem; }
.hero-note { font-size: 0.86rem; color: var(--ink-mute); margin: 0; }

/* Painel do fluxo */
.hero-panel {
  background: linear-gradient(145deg, #fff, #eef7f6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 20px;
}
.flow { display: flex; flex-direction: column; gap: 4px; }
.flow-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  position: relative;
}
.flow-step + .flow-step::before {
  content: "";
  position: absolute;
  left: 18px;
  top: -8px;
  height: 12px;
  width: 2px;
  background: var(--brand-tint-2);
}
.flow-step .dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid var(--brand-tint-2);
  background: #fff;
  flex: none;
}
.flow-step.done .dot { background: var(--brand); border-color: var(--brand); }
.flow-step.active { background: var(--brand-tint); }
.flow-step.active .dot { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(15, 179, 166, 0.16); }
.flow-step b { display: block; font-size: 0.92rem; }
.flow-step small { color: var(--ink-mute); font-size: 0.8rem; }

.flow-mail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #0b2523, var(--ink));
  color: #fff;
}
.flow-mail-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(15, 179, 166, 0.42);
  display: grid;
  place-items: center;
  flex: none;
}
.flow-mail b { display: block; font-size: 0.84rem; }
.flow-mail small { color: rgba(255, 255, 255, 0.7); font-size: 0.76rem; }

/* ---------- Seções ---------- */
.section { padding: clamp(52px, 8vw, 94px) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-lead { font-size: 1.08rem; color: var(--ink-soft); margin-bottom: 2.4rem; }

/* Dores */
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.pain {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #fff, #f3f9f8);
}
.pain h3 { color: var(--brand-dark); }
.pain p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }

/* Recursos */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.feature {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.feature-ico {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--brand-tint);
  font-size: 1.15rem;
  margin-bottom: 14px;
}
.feature p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }

/* Telas (mockups) */
.shots { display: grid; gap: clamp(40px, 6vw, 64px); }

/* Galeria: sempre 2 colunas iguais (1 no mobile), todas as imagens no mesmo
   tamanho — capturadas no mesmo viewport (ver tools/screenshots.mjs) e exibidas
   numa "janela" 16:10 fixa; o object-fit recorta só o excesso de rodapé. */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 44px);
  margin-top: 8px;
}
@media (max-width: 720px) {
  .shot-grid { grid-template-columns: 1fr; }
}

.shot-wide { margin-top: 8px; }
.shot { margin: 0; }
.shot-cap { margin-bottom: 18px; }
.shot-cap .eyebrow { margin-bottom: 4px; }
.shot-cap h3 { font-size: 1.25rem; margin-bottom: 4px; }
.shot-cap p { margin: 0; color: var(--ink-soft); }
.shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: #fff;
}
/* Todas as imagens são capturadas no mesmo viewport (1760×1100). A janela 16:9
   deixa todas exatamente do mesmo tamanho e apara a faixa de rodapé em branco
   das telas com menos conteúdo. */
.shot-grid .shot img,
.shot-wide img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
}

/* Passos */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li {
  display: flex;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.step-n {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.steps h3 { margin-bottom: 0.25em; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

/* Por dentro */
.tech-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.tech-list { margin: 0; padding-left: 1.1rem; color: var(--ink-soft); }
.tech-list li { margin-bottom: 0.7rem; }
.tech-card {
  background: linear-gradient(135deg, #0c2b28, var(--ink));
  color: #fff;
  border-radius: var(--radius);
  padding: 8px 22px 22px;
  box-shadow: var(--shadow-lg);
}
.tech-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
}
.tech-card-row span { color: rgba(255, 255, 255, 0.62); }
.tech-card-row b { color: #fff; }
.tech-card-foot { padding-top: 15px; font-size: 0.85rem; color: var(--amber); font-weight: 600; }

/* Planos */
.plan-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: #fff;
}
.plan-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.plan-table thead th {
  background: linear-gradient(135deg, #0c2b28, var(--ink));
  color: #fff;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: left;
  padding: 14px 20px;
}
.plan-table tbody th,
.plan-table tbody td {
  padding: 15px 20px;
  border-top: 1px solid var(--line);
  font-size: 0.96rem;
  text-align: left;
}
.plan-table tbody th { font-weight: 700; color: var(--brand-dark); white-space: nowrap; }
.plan-table tbody tr:nth-child(even) { background: var(--brand-tint); }
.plan-table tbody td:last-child { font-weight: 700; color: var(--ink); white-space: nowrap; }

.plan-fineprint { font-size: 0.85rem; color: var(--ink-mute); margin: 14px 0 0; }

.plan-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 34px;
}
.plan-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.plan-card .eyebrow { margin-bottom: 12px; }
.plan-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.plan-list li { position: relative; padding-left: 22px; color: var(--ink-soft); font-size: 0.95rem; }
.plan-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.plan-card-dark {
  background: linear-gradient(135deg, #0c2b28, var(--ink));
  color: #fff;
  border-color: transparent;
}
.plan-card-dark .eyebrow { color: var(--amber); }
.plan-card-dark p { color: rgba(255, 255, 255, 0.82); font-size: 0.95rem; }
.plan-tag {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--brand) 0%, #0a5f57 55%, var(--brand-darker) 100%);
  color: #fff;
  padding: clamp(56px, 9vw, 98px) 0;
}
.cta-inner { text-align: center; max-width: 620px; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, 0.85); font-size: 1.05rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 1.6rem; }

/* Footer */
.site-footer { background: #0c2b28; color: rgba(255, 255, 255, 0.72); padding: 34px 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.footer-logo {
  height: 30px;
  width: auto;
  background: #fff;
  border-radius: 7px;
  padding: 7px 10px;
}
.footer-by { display: flex; align-items: center; gap: 10px; margin-left: auto; font-size: 0.85rem; text-decoration: none; color: rgba(255, 255, 255, 0.72); }
.footer-by img { height: 20px; width: auto; background: #fff; border-radius: 5px; padding: 5px 8px; }
.footer-note { flex-basis: 100%; margin: 0; font-size: 0.82rem; color: rgba(255, 255, 255, 0.48); }
/* Marca registrada (®) discreta em todo o site */
sup { font-size: 0.62em; font-weight: 400; }
h1 sup, h2 sup, h3 sup { font-size: 0.42em; top: -0.9em; }
.footer-note sup { font-size: 0.7em; }

/* ---------- Responsivo ---------- */
@media (max-width: 860px) {
  .nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { order: 2; }
  .tech-grid { grid-template-columns: 1fr; }
  .footer-by { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* --- Logomarca GassFlow! (SVG inline: símbolo de fluxo + wordmark) --- */
.brand { gap: 11px; color: #1b1e26; }
.brand-mark { height: 33px; width: auto; display: block; overflow: visible; flex: none; }
.brand-word { font-weight: 800; font-size: 1.45rem; letter-spacing: -0.02em; line-height: 1; }
.brand-word > span { color: #0fb3a6; }
.site-footer .footer-brand { color: #eef4f3; margin: 0; align-items: center; }
.site-footer .footer-brand .brand-mark { height: 24px; }
.site-footer .footer-brand .brand-word { font-size: 1.1rem; }

/* Sub-rótulo "BPM · Produtos" ao lado da wordmark, no cabeçalho */
.brand-sub {
  margin-left: 10px;
  padding-left: 11px;
  border-left: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-mute);
  white-space: nowrap;
}
@media (max-width: 560px) {
  .brand-sub { display: none; }
}
