/* ============================================================
   HubVTX — Hub de Negócios
   Brand: Orange #FF6B00 · Plus Jakarta Sans · Light/Dark
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --brand: #FF6B00;
  --brand-600: #ED5F00;
  --brand-700: #C94F00;
  --brand-soft: #FFF1E8;
  --brand-glow: rgba(255, 107, 0, 0.18);

  /* Light theme surfaces */
  --bg: #FFFFFF;
  --bg-sub: #F7F8FA;
  --bg-elev: #FFFFFF;
  --surface-2: #FBF9F7;
  --line: #ECECEF;
  --line-strong: #DEDEE3;

  /* Text */
  --ink: #14151A;
  --ink-2: #41444F;
  --ink-3: #6B6F7C;
  --ink-inv: #FFFFFF;

  /* Accent for "scale/enterprise" */
  --ink-band: #16171C;

  --shadow-sm: 0 1px 2px rgba(16, 18, 24, 0.06), 0 1px 3px rgba(16, 18, 24, 0.04);
  --shadow-md: 0 8px 24px rgba(16, 18, 24, 0.08), 0 2px 6px rgba(16, 18, 24, 0.04);
  --shadow-lg: 0 24px 64px rgba(16, 18, 24, 0.12), 0 8px 24px rgba(16, 18, 24, 0.06);
  --shadow-brand: 0 12px 32px rgba(255, 107, 0, 0.28);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --maxw: 1180px;
  --gut: 24px;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="dark"] {
  --bg: #0C0D11;
  --bg-sub: #111319;
  --bg-elev: #15171E;
  --surface-2: #14161D;
  --line: #23262F;
  --line-strong: #2E323D;

  --ink: #F4F5F7;
  --ink-2: #C3C6D0;
  --ink-3: #8A8F9E;
  --ink-inv: #FFFFFF;

  --brand-soft: rgba(255, 107, 0, 0.12);
  --ink-band: #08090C;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.55);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
  overflow-x: hidden;
}

/* Suppress all transitions momentarily during theme switch */
.no-trans, .no-trans *, .no-trans *::before, .no-trans *::after { transition: none !important; }

h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gut);
}

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: "";
  width: 18px; height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.section-head { max-width: 640px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow.center { justify-content: center; }
.section-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin-top: 16px;
}
.section-head p {
  margin-top: 16px;
  font-size: 18px;
  color: var(--ink-3);
  line-height: 1.6;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: var(--r-pill);
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease),
              background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s;
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { background: var(--brand-600); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(255,107,0,0.36); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: var(--bg-elev);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink-3); transform: translateY(-2px); }
.btn-soft {
  background: var(--brand-soft);
  color: var(--brand);
}
.btn-soft:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.brand-hub { color: var(--ink); font-weight: 800; }
.brand-logo { height: 26px; width: auto; display: block; }
.brand-logo.light { display: none; }
html[data-theme="dark"] .brand-logo.dark { display: none; }
html[data-theme="dark"] .brand-logo.light { display: block; }
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--brand);
  box-shadow: var(--shadow-brand);
  flex-shrink: 0;
}
.brand-mark svg { width: 20px; height: 20px; }
.brand b { color: var(--brand); font-weight: 800; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 18px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  padding: 9px 14px;
  border-radius: var(--r-pill);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-sub); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.theme-toggle {
  width: 40px; height: 40px;
  border-radius: var(--r-pill);
  display: grid; place-items: center;
  color: var(--ink-2);
  border: 1.5px solid var(--line-strong);
  background: var(--bg-elev);
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.theme-toggle:hover { color: var(--brand); border-color: var(--brand); transform: rotate(15deg); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
html[data-theme="dark"] .theme-toggle .sun { display: none; }
html[data-theme="dark"] .theme-toggle .moon { display: block; }

.nav-link-login { font-weight: 700; }

.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: 150px;
  padding-bottom: 90px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -180px; left: 50%;
  transform: translateX(-50%);
  width: 1100px; height: 700px;
  background: radial-gradient(ellipse at center, var(--brand-glow), transparent 62%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 7px 7px 14px;
  border-radius: var(--r-pill);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.hero-pill .tag {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 800;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 64px);
  margin-top: 26px;
  letter-spacing: -0.035em;
}
.hero h1 .hl { color: var(--brand); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.06em;
  height: 0.16em;
  background: var(--brand);
  opacity: 0.18;
  border-radius: 4px;
}
.hero-sub {
  margin-top: 22px;
  font-size: 19px;
  color: var(--ink-3);
  line-height: 1.6;
  max-width: 520px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  font-size: 14px;
  color: var(--ink-3);
}
.avatars { display: flex; }
.avatars span {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -10px;
  background-size: cover;
  background-position: center;
}
.avatars span:first-child { margin-left: 0; }
.stars { color: var(--brand); letter-spacing: 1px; font-size: 13px; }

/* Hero mockup */
.hero-visual { position: relative; }
.mock {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mock-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.mock-dots i:nth-child(1){ background:#FF5F57; }
.mock-dots i:nth-child(2){ background:#FEBC2E; }
.mock-dots i:nth-child(3){ background:#28C840; }
.mock-url {
  margin-left: 8px;
  font-size: 12.5px;
  color: var(--ink-3);
  font-weight: 600;
  background: var(--bg-sub);
  padding: 5px 12px;
  border-radius: var(--r-pill);
}
.mock-body { display: grid; grid-template-columns: 64px 1fr; min-height: 380px; }
.mock-rail {
  border-right: 1px solid var(--line);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  background: var(--surface-2);
}
.mock-rail .logo { width: 30px; height: 30px; border-radius: 9px; background: var(--brand); }
.mock-rail i { width: 22px; height: 22px; border-radius: 7px; background: var(--line-strong); }
.mock-rail i.on { background: var(--brand-soft); }
.mock-chat { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.chat-head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.chat-head .ph { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg,#25D366,#128C7E); flex-shrink:0; }
.chat-head .nm { font-weight: 700; font-size: 14px; }
.chat-head .st { font-size: 12px; color: #22A559; font-weight: 600; }
.chat-head .st::before { content:"●"; font-size:8px; vertical-align: middle; margin-right: 4px; }
.bubble {
  max-width: 76%;
  padding: 10px 14px;
  font-size: 13.5px;
  line-height: 1.45;
  border-radius: 16px;
}
.bubble.in { align-self: flex-start; background: var(--bg-sub); border-bottom-left-radius: 5px; color: var(--ink-2); }
.bubble.out { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 5px; }
.bubble .bot-tag { display:flex; align-items:center; gap:5px; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: rgba(255,255,255,0.8); margin-bottom: 4px; }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; background: var(--bg-sub); border-radius: 16px; border-bottom-left-radius: 5px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: blink 1.2s infinite; }
.typing i:nth-child(2){ animation-delay: 0.2s; }
.typing i:nth-child(3){ animation-delay: 0.4s; }
@keyframes blink { 0%,60%,100%{ opacity:0.3; } 30%{ opacity:1; } }

.float-card {
  position: absolute;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13px;
  font-weight: 700;
}
.float-card .ic { width: 34px; height: 34px; border-radius: 9px; display:grid; place-items:center; flex-shrink:0; }
.float-card small { display:block; font-weight:600; color: var(--ink-3); font-size: 11.5px; }
.float-sale { top: 26px; right: -24px; animation: floaty 5s var(--ease) infinite; }
.float-sale .ic { background: rgba(34,165,89,0.14); color:#22A559; }
.float-rev { bottom: 30px; left: -28px; animation: floaty 5s var(--ease) infinite 1.5s; }
.float-rev .ic { background: var(--brand-soft); color: var(--brand); }
@keyframes floaty { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-12px); } }

/* ---------- Logos / prova social ---------- */
.social {
  padding: 18px 0 56px;
}
.social-label {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 28px;
}
.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 48px;
  opacity: 0.62;
}
.logos span {
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--ink-2);
  display: flex; align-items: center; gap: 8px;
}
.logos span svg { width: 22px; height: 22px; color: var(--ink-3); }

/* ---------- Stats band ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 36px;
  border-radius: var(--r-xl);
  background: var(--bg-sub);
  border: 1px solid var(--line);
}
.stat { text-align: center; }
.stat b { display: block; font-size: clamp(30px, 4vw, 44px); color: var(--brand); letter-spacing: -0.03em; }
.stat span { font-size: 14px; color: var(--ink-3); font-weight: 600; }

/* ---------- Section spacing ---------- */
.s-pad { padding: 96px 0; }
.s-pad-sm { padding: 64px 0; }

/* ---------- Recursos ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.feature {
  padding: 30px;
  border-radius: var(--r-lg);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.feature .ic {
  width: 50px; height: 50px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 20px;
}
.feature .ic svg { width: 24px; height: 24px; }
.feature h3 { font-size: 19px; margin-bottom: 9px; }
.feature p { font-size: 14.5px; color: var(--ink-3); line-height: 1.6; }

/* ---------- Como funciona ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  position: relative;
}
.step {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--r-lg);
  background: var(--bg-elev);
  border: 1px solid var(--line);
}
.step .num {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 19px;
  color: #fff;
  background: var(--brand);
  box-shadow: var(--shadow-brand);
  margin-bottom: 20px;
}
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--ink-3); line-height: 1.6; }
.step .arrow {
  position: absolute;
  top: 52px; right: -16px;
  color: var(--line-strong);
  z-index: 2;
}
.step:last-child .arrow { display: none; }

/* ---------- Preços ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
  border-radius: var(--r-xl);
  background: var(--bg-elev);
  border: 1.5px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan.featured {
  border-color: var(--brand);
  background: var(--bg-elev);
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(1.03);
}
.plan.featured:hover { transform: scale(1.03) translateY(-4px); }
.plan-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-brand);
  white-space: nowrap;
}
.plan-name { font-size: 15px; font-weight: 800; color: var(--ink); letter-spacing: 0.01em; }
.plan-desc { font-size: 13.5px; color: var(--ink-3); margin-top: 6px; min-height: 38px; }
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 22px 0;
}
.plan-price .cur { font-size: 20px; font-weight: 700; color: var(--ink-2); }
.plan-price .val { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; }
.plan-price .per { font-size: 15px; color: var(--ink-3); font-weight: 600; }
.plan-price .custom { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; }
.plan ul { display: flex; flex-direction: column; gap: 12px; margin: 6px 0 28px; }
.plan li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.plan li svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; margin-top: 1px; }
.plan .btn { margin-top: auto; }
.plan-note { text-align:center; font-size: 12.5px; color: var(--ink-3); margin-top: 12px; }

/* ---------- Depoimentos ---------- */
.tcards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.tcard {
  padding: 30px;
  border-radius: var(--r-lg);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.tcard .stars { color: var(--brand); font-size: 15px; letter-spacing: 2px; margin-bottom: 16px; }
.tcard p { font-size: 15.5px; line-height: 1.6; color: var(--ink); flex: 1; }
.tcard .who { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.tcard .who .ph { width: 44px; height: 44px; border-radius: 50%; background-size: cover; background-position: center; flex-shrink: 0; }
.tcard .who b { font-size: 14.5px; display: block; }
.tcard .who small { font-size: 13px; color: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 760px; margin: 56px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-elev);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--brand); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  font-size: 16.5px;
  font-weight: 700;
  text-align: left;
  color: var(--ink);
}
.faq-q .chev { transition: transform 0.3s var(--ease); color: var(--ink-3); flex-shrink: 0; }
.faq-item.open .faq-q .chev { transform: rotate(45deg); color: var(--brand); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.34s var(--ease); }
.faq-a div { padding: 0 24px 22px; font-size: 15px; color: var(--ink-3); line-height: 1.65; }

/* ---------- CTA final ---------- */
.cta-band {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--ink-band);
  padding: 64px 56px;
  overflow: hidden;
  text-align: center;
}
.cta-band .glow {
  position: absolute;
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(255,107,0,0.4), transparent 65%);
  top: -120px; left: 50%; transform: translateX(-50%);
  pointer-events: none;
}
.cta-band h2 { position: relative; color: #fff; font-size: clamp(30px, 4vw, 46px); max-width: 680px; margin-inline: auto; }
.cta-band p { position: relative; color: rgba(255,255,255,0.7); font-size: 18px; margin-top: 16px; max-width: 520px; margin-inline: auto; }
.cta-band .hero-cta { position: relative; justify-content: center; margin-top: 32px; }
.cta-band .btn-ghost { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,0.15); }

/* ---------- Footer ---------- */
.footer { padding: 72px 0 36px; border-top: 1px solid var(--line); margin-top: 96px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
}
.footer-brand p { font-size: 14.5px; color: var(--ink-3); margin-top: 16px; max-width: 280px; line-height: 1.6; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-3); margin-bottom: 16px; font-weight: 700; }
.footer-col a { display: block; font-size: 14.5px; color: var(--ink-2); padding: 6px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--brand); }
.footer-bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-3);
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  color: var(--ink-2);
  transition: all 0.2s;
}
.footer-social a:hover { color: var(--brand); border-color: var(--brand); transform: translateY(-2px); }

/* ---------- Success badge ---------- */
.toast {
  position: fixed;
  top: 88px; right: 24px;
  z-index: 200;
  display: none;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-left: 4px solid #22A559;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  max-width: 340px;
  animation: toastIn 0.5s var(--ease);
}
.toast.show { display: flex; }
.toast .ic { width: 40px; height: 40px; border-radius: 50%; background: rgba(34,165,89,0.14); color: #22A559; display: grid; place-items: center; flex-shrink: 0; }
.toast b { font-size: 15px; display: block; }
.toast small { font-size: 13px; color: var(--ink-3); }
.toast .x { margin-left: 4px; color: var(--ink-3); padding: 4px; }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }

/* ---------- Scroll reveal ----------
   Content is VISIBLE by default. The hidden start-state + entrance is only
   enabled when <html> has .anim-ok, which JS adds after probing that CSS
   animations actually advance in this engine (some preview renderers freeze
   transitions at their start value, which would trap content at opacity:0). */
.anim-ok .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.anim-ok .reveal.in { opacity: 1; transform: none; }
.anim-ok .reveal.d1 { transition-delay: 0.08s; }
.anim-ok .reveal.d2 { transition-delay: 0.16s; }
.anim-ok .reveal.d3 { transition-delay: 0.24s; }
.anim-ok .reveal.d4 { transition-delay: 0.32s; }
.anim-ok .reveal.d5 { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  .anim-ok .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .float-sale, .float-rev, .typing i { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 480px; margin-inline: auto; }
  .hero-sub { max-width: none; }
  .features-grid, .steps, .plans, .tcards { grid-template-columns: 1fr 1fr; }
  .step .arrow { display: none; }
  .plan.featured { transform: none; }
  .plan.featured:hover { transform: translateY(-4px); }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-link-login { display: none; }
  .nav-actions .btn-primary { display: none; } /* Oculta CTA na nav mobile para não espremer a logo */
  .menu-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-pill); border: 1.5px solid var(--line-strong); color: var(--ink); background: var(--bg-elev); }
  
  .features-grid, .steps, .plans, .tcards { grid-template-columns: 1fr; }
  .plan.featured { order: -1; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  
  .cta-band { padding: 40px 20px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 24px 16px; padding: 24px; }
  
  .hero { padding-top: 100px; padding-bottom: 40px; }
  .hero-cta .btn { flex: 1; }
  
  /* Ajustes de Fonte para Mobile */
  .hero h1 { font-size: clamp(32px, 9vw, 42px); }
  .hero-sub { font-size: 16px; margin-top: 16px; }
  .section-head h2 { font-size: clamp(26px, 8vw, 34px); }
  .stat b { font-size: clamp(26px, 8vw, 32px); }
  
  /* Ajustes do Mockup e Floats no Mobile para evitar overflow/overlap */
  .hero-visual { padding: 0 10px; }
  .mock { border-radius: 16px; }
  .mock-body { grid-template-columns: 50px 1fr; min-height: 320px; }
  .mock-rail { padding: 12px 0; }
  .mock-chat { padding: 12px; gap: 8px; }
  .bubble { font-size: 12px; padding: 8px 12px; max-width: 85%; }
  
  .float-card { padding: 8px 12px; gap: 8px; font-size: 11px; }
  .float-card .ic { width: 28px; height: 28px; border-radius: 7px; }
  .float-card .ic svg { width: 14px; height: 14px; }
  .float-card small { font-size: 10px; margin-top: 2px; }
  
  .float-sale { right: 0px; top: -10px; }
  .float-rev { left: 0px; bottom: -10px; }
  
  .s-pad { padding: 60px 0; }

  /* mobile menu */
  .mobile-menu {
    position: fixed; inset: 0 0 0 auto;
    width: min(82vw, 320px);
    background: var(--bg-elev);
    z-index: 150;
    transform: translateX(100%);
    transition: transform 0.34s var(--ease);
    padding: 88px 28px 28px;
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    display: flex; flex-direction: column; gap: 6px;
  }
  .mobile-menu.open { transform: none; }
  .mobile-menu a { font-size: 17px; font-weight: 700; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { margin-top: 16px; }
  .menu-scrim { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 140; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
  .menu-scrim.open { opacity: 1; pointer-events: auto; }
}

@media (min-width: 681px) { .mobile-menu, .menu-scrim { display: none; } }
