/* PontoFlow — landing pública (standalone) · design premium claro */
:root {
  --ink: #0f172a;        /* títulos */
  --body: #475569;       /* texto corrente */
  --muted: #64748b;      /* secundário */
  --line: #e8edf3;       /* bordas suaves */
  --line-2: #eef2f7;
  --accent: #10b981;
  --accent-2: #059669;
  --accent-3: #047857;
  --accent-soft: #ecfdf5;
  --tint: #f6f9f8;       /* fundo de secção alternada */
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --container: 1140px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.05);
  --shadow-md: 0 6px 16px -8px rgba(15,23,42,.12), 0 12px 32px -12px rgba(15,23,42,.10);
  --shadow-lg: 0 24px 60px -18px rgba(15,23,42,.20);
  --shadow-emerald: 0 10px 24px -8px rgba(16,185,129,.5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--body);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { letter-spacing: -0.025em; margin: 0; color: var(--ink); }
img { max-width: 100%; }

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

/* Texto com destaque em gradiente */
.accent {
  background: linear-gradient(100deg, var(--accent), var(--accent-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Eyebrow (rótulo pequeno acima dos títulos) */
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2);
  background: var(--accent-soft); border: 1px solid #d1fae5;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 16px;
}

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 14px; font-weight: 700; font-size: 15px;
  cursor: pointer; border: 1px solid transparent; transition: all .18s ease; white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 12px; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff; box-shadow: var(--shadow-emerald);
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.04); box-shadow: 0 14px 30px -8px rgba(16,185,129,.6); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-outline:hover { border-color: #cbd5e1; transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.24); }
.btn-ghost:hover { background: rgba(255,255,255,.18); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1e293b; }
.btn-white { background: #fff; color: var(--accent-3); }
.btn-white:hover { background: #f0fdf4; transform: translateY(-1px); }
.btn-ghost-dark { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost-dark:hover { background: rgba(255,255,255,.22); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.75); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.nav-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 20px; letter-spacing: -0.03em; color: var(--ink); }
.brand.small { font-size: 16px; color: #334155; }
.brand-logo { height: 34px; width: auto; display: block; object-fit: contain; }
.brand-logo.sm { height: 24px; }

/* Hero — preto premium (fundo escuro, corpo branco) */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1000px 480px at 50% -12%, rgba(16,185,129,.20) 0%, rgba(16,185,129,0) 60%),
    linear-gradient(135deg, #09090b 0%, #0f172a 58%, #111827 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 46px 46px; opacity: .04;
  -webkit-mask-image: radial-gradient(760px 400px at 50% 0%, #000 0%, transparent 75%);
          mask-image: radial-gradient(760px 400px at 50% 0%, #000 0%, transparent 75%);
}
.hero-glow { position: absolute; top: -160px; left: 50%; transform: translateX(-50%); width: 680px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(16,185,129,.30), transparent); filter: blur(36px); pointer-events: none; }
.hero-inner { position: relative; padding: 82px 22px 100px; max-width: 860px; }
.hero-logo { height: 78px; width: auto; display: block; margin-bottom: 22px; filter: drop-shadow(0 10px 28px rgba(16,185,129,.35)); }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
  color: #a7f3d0; background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.30);
  border-radius: 999px; padding: 7px 15px; margin-bottom: 22px;
}
.hero-title { color: #fff; font-size: clamp(40px, 6vw, 66px); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; max-width: 820px; }
.hero-sub { margin-top: 22px; color: #cbd5e1; font-size: clamp(16px, 2.1vw, 20px); max-width: 640px; }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-pills { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 9px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 600; color: #e2e8f0;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px; padding: 8px 15px;
}
.hero-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(16,185,129,.22); }

/* Secções */
.section { padding: 88px 0; }
.section.alt { background: var(--tint); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; letter-spacing: -0.03em; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 16.5px; }

/* Setores */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 14px; font-weight: 700; font-size: 14.5px;
  background: #fff; color: #475569; border: 1px solid var(--line); cursor: pointer; transition: all .18s ease; box-shadow: var(--shadow-sm);
}
.tab:hover { border-color: #a7f3d0; transform: translateY(-1px); }
.tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-md); }
.setor-card {
  position: relative; overflow: hidden; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 60px 28px; box-shadow: var(--shadow-md); max-width: 860px; margin: 0 auto;
}
.setor-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(560px 220px at 50% -10%, #ecfdf5, transparent 70%); }
.setor-icon {
  position: relative; width: 66px; height: 66px; margin: 0 auto 20px; border-radius: 20px;
  background: linear-gradient(135deg, #0f172a, #1e293b); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 30px;
  box-shadow: 0 10px 22px -8px rgba(15,23,42,.55);
}
.setor-line { position: relative; font-size: clamp(19px, 2.4vw, 26px); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); max-width: 680px; margin: 0 auto; line-height: 1.35; }
.setor-note { position: relative; color: var(--muted); font-size: 14.5px; margin-top: 14px; }

/* Ofícios (para quem é) */
.oficios { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.oficio {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  font-weight: 700; font-size: 15.5px; color: var(--ink); box-shadow: var(--shadow-sm);
  transition: all .18s ease;
}
.oficio:hover { border-color: #a7f3d0; box-shadow: var(--shadow-md); transform: translateY(-3px); }
.oficio-ic {
  width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; font-size: 22px;
  background: var(--accent-soft); border: 1px solid #d1fae5;
}
.oficios-note { text-align: center; margin-top: 26px; color: var(--muted); font-weight: 600; font-size: 14.5px; }

/* Grelhas */
.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); transition: all .2s ease; }
.card:hover { border-color: #a7f3d0; box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card .ic {
  width: 50px; height: 50px; border-radius: 15px; display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px; color: #fff;
  background: linear-gradient(135deg, #0f172a, #1e293b); box-shadow: 0 8px 18px -8px rgba(15,23,42,.55);
}
.card h3 { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.card p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }

/* Passos */
.step { position: relative; }
.step .n {
  width: 46px; height: 46px; border-radius: 15px; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; font-weight: 800; font-size: 19px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; box-shadow: var(--shadow-emerald);
}

/* CTA */
.cta {
  position: relative; overflow: hidden; border-radius: 32px; color: #fff; text-align: center;
  background: linear-gradient(135deg, #052e22 0%, #065f46 55%, #047857 100%);
  box-shadow: var(--shadow-lg);
}
.cta::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 42px 42px; -webkit-mask-image: radial-gradient(600px 300px at 50% 0%, #000, transparent 75%); mask-image: radial-gradient(600px 300px at 50% 0%, #000, transparent 75%); }
.cta-glow { position: absolute; top: -80px; right: -60px; width: 300px; height: 300px; border-radius: 50%; background: rgba(52,211,153,.25); filter: blur(70px); }
.cta-inner { position: relative; padding: 72px 24px; }
.cta-inner h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -0.03em; }
.cta-inner p { color: #a7f3d0; margin: 14px auto 0; max-width: 580px; font-size: 16.5px; }
.cta-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta-badges { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; color: #d1fae5; font-size: 14.5px; font-weight: 600; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); overflow: hidden; transition: border-color .18s ease, box-shadow .18s ease; }
.faq-item[open] { border-color: #a7f3d0; box-shadow: var(--shadow-md); }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 22px; font-weight: 700; font-size: 16px; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; font-weight: 600; color: var(--accent-2); line-height: 1; transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* Formulário de contacto */
.form-card { max-width: 700px; margin: 32px auto 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 36px; box-shadow: var(--shadow-md); }
.form-head { text-align: center; margin-bottom: 24px; }
.form-head h3 { font-size: 23px; font-weight: 800; letter-spacing: -0.02em; }
.form-head p { color: var(--muted); margin-top: 8px; font-size: 14.5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; margin-bottom: 16px; }
.field label { font-size: 12.5px; font-weight: 700; color: #334155; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; padding: 13px 15px; border-radius: 13px;
  border: 1px solid var(--line); background: #f8fafc; color: var(--ink); outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(16,185,129,.12); background: #fff; }
.field input::placeholder, .field textarea::placeholder { color: #94a3b8; }
.field textarea { resize: vertical; }
.form-submit { width: 100%; margin-top: 6px; }
.form-status { text-align: center; font-size: 14px; font-weight: 600; margin: 16px 0 0; min-height: 20px; }
.form-status.ok { color: var(--accent-3); }
.form-status.err { color: #dc2626; }

/* Botão flutuante WhatsApp */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 50;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(37,211,102,.45); transition: transform .18s ease, box-shadow .18s ease;
}
.wa-float:hover { transform: scale(1.08) translateY(-1px); box-shadow: 0 14px 34px rgba(37,211,102,.6); }

/* Rodapé */
.footer { border-top: 1px solid var(--line-2); background: #fff; }
.footer-inner { padding: 32px 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; color: var(--muted); font-size: 14px; }
.footer-links { display: flex; align-items: center; gap: 22px; }
.footer-links a:hover { color: var(--ink); }
.socials { display: flex; align-items: center; gap: 10px; }
.social { width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: #f1f5f9; color: #334155; transition: all .18s ease; }
.social:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .hero-inner { padding: 60px 22px 72px; }
}
