/* ===========================================================
   GRUPO FLK — Design System
   Premium dark theme · navy + gold
   =========================================================== */

:root {
  --bg: #070b16;
  --bg-2: #0b1124;
  --bg-3: #0f1730;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #eaf0ff;
  --muted: #97a3c4;
  --muted-2: #6c789c;

  --gold: #f5c451;
  --gold-2: #e0a72e;
  --gold-soft: rgba(245, 196, 81, 0.12);

  --blue: #4f8cff;
  --blue-2: #2f6bff;
  --cyan: #38e1d3;
  --violet: #9b6bff;

  --grad-gold: linear-gradient(135deg, #f7d785 0%, #f5c451 35%, #d99a26 100%);
  --grad-blue: linear-gradient(135deg, #5fa0ff 0%, #2f6bff 100%);
  --grad-hero: radial-gradient(1200px 600px at 70% -10%, rgba(79, 140, 255, 0.25), transparent 60%),
               radial-gradient(900px 500px at 10% 10%, rgba(245, 196, 81, 0.12), transparent 55%);

  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.7);
  --shadow-gold: 0 20px 50px -18px rgba(245, 196, 81, 0.4);
  --container: 1180px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* Background glow layer */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--grad-hero);
  pointer-events: none;
  z-index: 0;
}

.container { width: min(var(--container), 92%); margin: 0 auto; position: relative; z-index: 1; }

/* ---------- Typography helpers ---------- */
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold);
  padding: 7px 14px; border-radius: 100px;
  background: var(--gold-soft); border: 1px solid rgba(245, 196, 81, 0.25);
}
.gold-text { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.blue-text { background: var(--grad-blue); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-title { font-size: clamp(1.9rem, 4vw, 3rem); }
.section-lead { color: var(--muted); font-size: 1.08rem; max-width: 620px; }
.center { text-align: center; }
.center .section-lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 0.97rem;
  padding: 14px 26px; border-radius: 100px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--grad-gold); color: #1a1300; box-shadow: var(--shadow-gold); }
.btn-gold:hover { box-shadow: 0 26px 60px -16px rgba(245, 196, 81, 0.55); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--gold); }
.btn-blue { background: var(--grad-blue); color: #fff; box-shadow: 0 20px 50px -18px rgba(47, 107, 255, 0.6); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
  padding: 18px 0;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 11, 22, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.15rem; letter-spacing: 0.02em; }
.brand .logo {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--grad-gold); color: #14100a;
  display: grid; place-items: center; font-weight: 900; font-size: 1.05rem;
  box-shadow: var(--shadow-gold);
}
.brand small { display: block; font-size: 0.62rem; letter-spacing: 0.28em; color: var(--muted-2); font-weight: 600; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 0.94rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.6rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { padding: 170px 0 90px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); margin: 22px 0 20px; }
.hero p.lead { font-size: 1.18rem; color: var(--muted); max-width: 540px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 38px; display: flex; gap: 26px; flex-wrap: wrap; color: var(--muted-2); font-size: 0.86rem; }
.hero-trust b { color: var(--text); }

/* Hero visual — orbit of products */
.orbit {
  position: relative; aspect-ratio: 1; max-width: 460px; margin-inline: auto;
}
.orbit-core {
  position: absolute; inset: 32%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(245, 196, 81, 0.95), rgba(217, 154, 38, 0.85));
  display: grid; place-items: center; text-align: center;
  color: #15100a; font-weight: 900; box-shadow: 0 0 70px rgba(245, 196, 81, 0.45);
  z-index: 3;
}
.orbit-core span { font-size: 1.5rem; line-height: 1; }
.orbit-core small { font-size: 0.55rem; letter-spacing: 0.2em; font-weight: 700; }
.orbit-ring {
  position: absolute; border: 1px dashed var(--border-strong); border-radius: 50%;
}
.orbit-ring.r1 { inset: 12%; animation: spin 28s linear infinite; }
.orbit-ring.r2 { inset: -4%; animation: spin 42s linear infinite reverse; }
.orbit-node {
  position: absolute; width: 54px; height: 54px; border-radius: 15px;
  background: var(--surface-2); border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
  display: grid; place-items: center; font-size: 1.4rem;
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%);
}
a.orbit-node { cursor: pointer; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
a.orbit-node:hover { transform: translate(-50%, -50%) scale(1.14); border-color: var(--gold); box-shadow: var(--shadow-gold); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Marquee logos ---------- */
.marquee { overflow: hidden; padding: 26px 0; border-block: 1px solid var(--border); margin-top: 30px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 26s linear infinite; }
.marquee-track span { color: var(--muted-2); font-weight: 700; letter-spacing: 0.04em; font-size: 1.05rem; opacity: 0.8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Generic section ---------- */
section { padding: 86px 0; position: relative; }
.section-head { margin-bottom: 52px; }
.section-head .eyebrow { margin-bottom: 18px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; text-align: center; backdrop-filter: blur(6px);
}
.stat .num { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 900; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .label { color: var(--muted); font-size: 0.92rem; margin-top: 6px; }

/* ---------- Ecosystem cards ---------- */
.eco-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.eco-card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px; transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s;
}
.eco-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, transparent, transparent); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.eco-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.eco-ico {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  font-size: 1.55rem; margin-bottom: 18px;
}
.eco-ico { overflow: hidden; padding: 0; }
.eco-ico img { width: 100%; height: 100%; object-fit: cover; display: block; }
.orbit-node { overflow: hidden; }
.orbit-node img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* logos de fundo transparente ganham tile claro para contraste */
.eco-ico.light, .orbit-node.light { background: #f4efe3; }
.eco-ico.light { padding: 9px; }
.orbit-node.light { padding: 10px; }
.eco-ico.light img, .orbit-node.light img { object-fit: contain; }
.eco-card h3 { font-size: 1.28rem; margin-bottom: 4px; }
.eco-tag { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.eco-card p { color: var(--muted); font-size: 0.96rem; margin: 12px 0 18px; }
.eco-feats { display: flex; flex-wrap: wrap; gap: 8px; }
.eco-feats li { font-size: 0.78rem; color: var(--muted); background: var(--surface); border: 1px solid var(--border); padding: 5px 11px; border-radius: 100px; }
.eco-link { display: inline-flex; align-items: center; gap: 7px; color: var(--gold); font-weight: 700; font-size: 0.9rem; }
.eco-link:hover { gap: 11px; }

/* ecosystem: access + live status */
.eco-card { display: flex; flex-direction: column; }
.eco-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.eco-status { display: inline-flex; align-items: center; gap: 7px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em; color: #74e0a0; background: rgba(102, 214, 137, 0.12); border: 1px solid rgba(102, 214, 137, 0.3); padding: 5px 11px; border-radius: 100px; white-space: nowrap; }
.eco-status.soon { color: var(--muted); background: var(--surface); border-color: var(--border-strong); }
.eco-status .dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; animation: livepulse 2s infinite; }
.eco-status.soon .dot { background: var(--muted-2); animation: none; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); } 70% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.eco-url { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.76rem; color: var(--muted-2); margin-top: 14px; word-break: break-all; }
.eco-actions { margin-top: auto; display: flex; align-items: center; gap: 16px; padding-top: 18px; }
.eco-access { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.9rem; padding: 11px 18px; border-radius: 100px; background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text); transition: transform 0.18s ease, border-color 0.2s, background 0.2s, color 0.2s; }
.eco-access:hover { transform: translateY(-2px); border-color: var(--gold); background: var(--gold-soft); color: var(--gold); }
.eco-access.disabled { opacity: 0.45; pointer-events: none; }

/* color variants */
.v-social { background: rgba(155, 107, 255, 0.14); color: #b89bff; }
.v-landing { background: rgba(56, 225, 211, 0.14); color: var(--cyan); }
.v-vende { background: rgba(79, 140, 255, 0.16); color: var(--blue); }
.v-imob { background: rgba(245, 196, 81, 0.16); color: var(--gold); }
.v-krj { background: rgba(255, 138, 101, 0.16); color: #ff9d76; }
.v-livro { background: rgba(102, 214, 137, 0.16); color: #74e0a0; }

/* ---------- Why / value props ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.why-card .why-ico { font-size: 1.7rem; margin-bottom: 14px; }
.why-card h4 { font-size: 1.1rem; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Split feature (affiliate/investor highlight) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.panel {
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow);
}
.panel h3 { font-size: 1.5rem; margin-bottom: 16px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; color: var(--muted); }
.check-list li::before { content: "✓"; color: var(--gold); font-weight: 900; background: var(--gold-soft); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; font-size: 0.85rem; }
.check-list b { color: var(--text); }

/* ---------- Tiers / pricing-like ---------- */
.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tier {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 24px; position: relative; transition: transform 0.2s, border-color 0.2s;
}
.tier:hover { transform: translateY(-5px); }
.tier.featured { border-color: var(--gold); background: linear-gradient(180deg, rgba(245,196,81,0.08), var(--surface)); box-shadow: var(--shadow-gold); }
.tier .badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad-gold); color: #1a1300; font-size: 0.7rem; font-weight: 800; padding: 5px 14px; border-radius: 100px; letter-spacing: 0.06em; }
.tier h4 { font-size: 1.15rem; }
.tier .rate { font-size: 2.4rem; font-weight: 900; margin: 10px 0 2px; }
.tier .rate small { font-size: 0.95rem; color: var(--muted); font-weight: 600; }
.tier .req { color: var(--muted-2); font-size: 0.82rem; margin-bottom: 18px; }
.tier ul li { color: var(--muted); font-size: 0.9rem; padding: 7px 0; border-top: 1px solid var(--border); display: flex; gap: 9px; }
.tier ul li::before { content: "›"; color: var(--gold); font-weight: 900; }

/* ---------- Commission table ---------- */
.comm-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.comm-table th, .comm-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.94rem; }
.comm-table th { background: var(--bg-3); color: var(--text); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase; }
.comm-table td { color: var(--muted); }
.comm-table tr:last-child td { border-bottom: none; }
.comm-table .pct { color: var(--gold); font-weight: 800; }
.comm-table tbody tr:hover { background: var(--surface-2); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.step .n { width: 42px; height: 42px; border-radius: 12px; background: var(--grad-blue); color: #fff; font-weight: 900; display: grid; place-items: center; margin-bottom: 16px; }
.step h4 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Investor metrics ---------- */
.inv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.inv-card { background: linear-gradient(160deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.inv-card .ik { color: var(--muted-2); font-size: 0.85rem; letter-spacing: 0.04em; }
.inv-card .iv { font-size: 2rem; font-weight: 900; margin-top: 6px; }
.inv-card .ih { color: var(--muted); font-size: 0.85rem; margin-top: 8px; }
.progress { height: 12px; border-radius: 100px; background: var(--surface-2); overflow: hidden; border: 1px solid var(--border); }
.progress > span { display: block; height: 100%; background: var(--grad-gold); border-radius: 100px; }

/* ---------- Forms ---------- */
.form-card { background: linear-gradient(160deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 7px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px;
  background: rgba(0,0,0,0.25); border: 1px solid var(--border-strong); color: var(--text);
  font-family: inherit; font-size: 0.95rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.field textarea { min-height: 110px; resize: vertical; }
.form-note { color: var(--muted-2); font-size: 0.82rem; margin-top: 12px; }
.form-success { display: none; background: var(--gold-soft); border: 1px solid rgba(245,196,81,0.35); color: var(--gold); padding: 14px 18px; border-radius: 12px; margin-top: 16px; font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; background: linear-gradient(135deg, rgba(79,140,255,0.14), rgba(245,196,81,0.12)); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: 60px 40px; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 16px; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--border); border-radius: 14px; margin-bottom: 12px; background: var(--surface); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; color: var(--text); font-size: 1rem; font-weight: 600; padding: 18px 20px; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-q span.ico { color: var(--gold); transition: transform 0.25s; flex: 0 0 auto; font-size: 1.3rem; }
.faq-item.open .faq-q span.ico { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--muted); }
.faq-a p { padding: 0 20px 18px; font-size: 0.94rem; }

/* ---------- Footer ---------- */
.footer { padding: 70px 0 36px; border-top: 1px solid var(--border); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer h5 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.footer a { color: var(--muted); display: block; padding: 5px 0; font-size: 0.92rem; transition: color 0.2s; }
.footer a:hover { color: var(--gold); }
.footer .desc { color: var(--muted); font-size: 0.92rem; margin-top: 14px; max-width: 280px; }
.footer-bottom { margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted-2); font-size: 0.85rem; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding: 150px 0 50px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin: 18px 0 16px; }
.breadcrumb { color: var(--muted-2); font-size: 0.85rem; }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .orbit { max-width: 360px; }
  .eco-grid, .why-grid, .inv-grid { grid-template-columns: 1fr 1fr; }
  .tier-grid, .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: rgba(7,11,22,0.97); padding: 22px; gap: 18px; border-bottom: 1px solid var(--border); }
}
@media (max-width: 600px) {
  .eco-grid, .why-grid, .inv-grid, .tier-grid, .steps, .stats, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .hero { padding-top: 130px; }
  section { padding: 60px 0; }
  .nav-cta .btn-ghost { display: none; }
  .comm-table { display: block; overflow-x: auto; }
}
