/* ============================================================
   Soluveo — Home Redesign (Sprint 1)
   Brand: #000066 (deep blue) + orange accent
   ============================================================ */

:root {
  --blue-900: #000033;
  --blue-800: #000066;   /* Soluveo brand */
  --blue-700: #0a1f8a;
  --blue-600: #1f3fb5;
  --blue-500: #3a5fd9;
  --blue-100: #e8edf9;
  --blue-50:  #f4f6fb;

  --orange-600: #e85d10;
  --orange-500: #ff6b1a;  /* Soluveo accent */
  --orange-400: #ff8a44;
  --orange-100: #ffe6d4;

  --ink-900: #0b1230;
  --ink-700: #2a3050;
  --ink-500: #525a78;
  --ink-400: #7a82a0;
  --ink-300: #b6bcd0;
  --ink-200: #d8dce8;
  --ink-100: #ecedf3;
  --ink-50:  #f7f8fb;
  --white:   #ffffff;

  --success: #1f8a5b;

  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(11,18,48,.06), 0 1px 3px rgba(11,18,48,.04);
  --shadow:    0 6px 18px rgba(11,18,48,.08), 0 2px 4px rgba(11,18,48,.04);
  --shadow-lg: 0 30px 60px -20px rgba(0,0,102,.25), 0 12px 24px -10px rgba(11,18,48,.12);

  --container: 1240px;

  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Manrope", "Sora", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--white);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 3px; }

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

/* ----------  Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 4.8vw, 3.8rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
h4 { font-size: 1rem;    font-weight: 700; line-height: 1.3;  }

p  { margin: 0; text-wrap: pretty; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-800);
  background: var(--blue-100);
  padding: 6px 12px;
  border-radius: 999px;
}
.eyebrow.on-dark { color: var(--orange-400); background: rgba(255,107,26,.12); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.lede { color: var(--ink-500); font-size: 1.125rem; line-height: 1.6; }
.section-header { max-width: 720px; margin-bottom: 56px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header .lede { margin-top: 18px; }

/* ----------  Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.96rem;
  line-height: 1;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--orange-500);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(255,107,26,.6), inset 0 -2px 0 rgba(0,0,0,.08);
}
.btn--primary:hover { background: var(--orange-600); transform: translateY(-1px); }

.btn--secondary {
  background: transparent;
  color: var(--blue-800);
  border: 1.5px solid var(--ink-200);
}
.btn--secondary:hover { border-color: var(--blue-800); background: var(--blue-50); }

.btn--ghost-light {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
}
.btn--ghost-light:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.35); }

.btn--sm { padding: 10px 16px; font-size: 0.88rem; border-radius: 8px; }

.btn .arrow { display: inline-block; transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--ink-100);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 36px; width: auto; max-width: none; flex-shrink: 0; }

.nav { display: flex; align-items: center; gap: 4px; flex: 1; }

.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink-700);
  transition: color .12s ease, background .12s ease;
  white-space: nowrap;
}
.nav-link:hover, .nav-item.open > .nav-link { color: var(--blue-800); background: var(--blue-50); }
.nav-dropdown-toggle { appearance: none; }
.nav-link .chev {
  width: 10px; height: 10px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform .18s ease;
}
.nav-item.open .chev { transform: rotate(-135deg); margin-top: 2px; }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 320px;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease;
}
.dropdown.wide { min-width: 560px; padding: 14px; }
.nav-item.open .dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }

.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.dropdown a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background .12s ease;
}
.dropdown a:hover { background: var(--blue-50); }
.dropdown a .d-title { font-weight: 700; color: var(--ink-900); font-size: 0.92rem; }
.dropdown a .d-sub   { font-size: 0.78rem; color: var(--ink-400); line-height: 1.4; }
.dropdown .sprint-tag {
  font-size: 0.65rem;
  background: var(--blue-100);
  color: var(--blue-800);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-left: 6px;
  text-transform: uppercase;
  vertical-align: middle;
}

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

.mobile-toggle { display: none; padding: 10px; border-radius: 8px; color: var(--blue-800); }
.mobile-toggle:hover { background: var(--blue-50); }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(255,107,26,.18), transparent 60%),
    radial-gradient(900px 600px at 10% 110%, rgba(58,95,217,.25), transparent 60%),
    linear-gradient(180deg, #00003d 0%, #000066 55%, #001e8a 100%);
  color: #fff;
  overflow: hidden;
  padding: 100px 0 120px;
}
.hero--home {
  background:
    linear-gradient(90deg, rgba(0,0,45,.84) 0%, rgba(0,0,66,.72) 43%, rgba(0,8,54,.48) 100%),
    linear-gradient(180deg, rgba(0,0,35,.18), rgba(0,0,66,.34)),
    url("assets/home-hero-integracao.png") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--orange-400); }
.hero .lede { color: #c8cee8; max-width: 540px; margin-top: 22px; font-size: 1.18rem; }
.hero-ctas { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 44px;
  flex-wrap: wrap;
  color: #9aa3c4;
  font-size: 0.86rem;
}
.hero-trust .tick {
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-trust .tick svg { color: var(--orange-400); }

/* Hero visual: stacked dashboard + video card */
.hero-visual { position: relative; min-height: 520px; }

.hero-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  color: var(--ink-900);
  overflow: hidden;
  text-decoration: none;
}

.hero-dashboard {
  inset: 0 -40px 80px 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: rotate(-1.5deg);
}
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dash-head .crumb { font-size: 0.78rem; color: var(--ink-400); font-weight: 600; margin-right: auto; }
.dash-head .dot-row { display: flex; gap: 6px; }
.dash-head .dot-row span { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-200); }
.dash-head .dot-row span:nth-child(1) { background: #ff5f57; }
.dash-head .dot-row span:nth-child(2) { background: #ffbd2e; }
.dash-head .dot-row span:nth-child(3) { background: #27c93f; }

.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dash-stat {
  background: var(--blue-50);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.dash-stat .label { font-size: 0.7rem; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.dash-stat .value { font-size: 1.25rem; font-weight: 800; margin-top: 4px; }
.dash-stat .delta { font-size: 0.72rem; color: var(--success); font-weight: 700; margin-top: 2px; }

.dash-chart {
  background: var(--ink-50);
  border-radius: var(--radius);
  height: 120px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dash-chart .ctitle { font-size: 0.78rem; font-weight: 700; color: var(--ink-700); display: flex; justify-content: space-between; }
.dash-chart .ctitle .pill { background: var(--blue-100); color: var(--blue-800); padding: 2px 8px; border-radius: 999px; font-size: 0.66rem; }
.dash-chart svg { flex: 1; width: 100%; }

.dash-rows { display: flex; flex-direction: column; gap: 8px; }
.dash-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: 10px;
  font-size: 0.84rem;
}
.dash-row .who { font-weight: 700; }
.dash-row .meta { color: var(--ink-400); font-size: 0.76rem; }
.dash-row .tag { font-size: 0.7rem; padding: 3px 8px; border-radius: 999px; font-weight: 700; }
.tag-pago    { background: #dff5e9; color: var(--success); }
.tag-aberto  { background: #fff1e0; color: var(--orange-600); }
.tag-novo    { background: var(--blue-100); color: var(--blue-800); }

/* Hero floating video card */
.hero-video {
  right: -40px;
  bottom: 0;
  width: 320px;
  height: 200px;
  transform: rotate(2deg);
}
.video-frame {
  position: relative;
  height: 100%;
  width: 100%;
  background:
    linear-gradient(135deg, #00003d 0%, #000066 50%, #1f3fb5 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
}
.hero-video-preview {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  object-fit: contain;
  border-radius: calc(var(--radius-lg) - 10px);
}
.hero-video .video-frame > div:last-child {
  position: relative;
  z-index: 1;
  margin-top: auto;
  margin-inline: -16px;
  margin-bottom: -16px;
  padding: 28px 16px 16px;
  background: linear-gradient(transparent, rgba(0,0,45,.90));
}
.video-play {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--orange-500);
  display: grid; place-items: center;
  align-self: flex-start;
  margin-top: 36px;
  box-shadow: 0 12px 30px -10px rgba(255,107,26,.7);
  transition: transform .15s ease;
}
.video-frame:hover .video-play { transform: scale(1.06); }
.video-play::after {
  content: "";
  display: block;
  width: 0; height: 0;
  border-left: 14px solid #fff;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 3px;
}
.video-frame .vlabel {
  font-size: 0.78rem;
  font-weight: 700;
}
.video-frame .vsub { font-size: 0.72rem; color: #c8cee8; }

/* Hero floating WhatsApp chat */
.hero-chat {
  left: -32px;
  bottom: 40px;
  width: 270px;
  transform: rotate(-3deg);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chat-head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink-100);
}
.chat-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: #25d366;
  display: grid; place-items: center;
  color: #fff;
}
.chat-head .ctitle { font-weight: 700; font-size: 0.84rem; }
.chat-head .csub { font-size: 0.7rem; color: var(--success); }
.chat-head .mock-badge { margin-left: auto; }

.mock-badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-400);
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}
.chat-msg {
  font-size: 0.78rem;
  padding: 8px 10px;
  border-radius: 10px;
  max-width: 85%;
}
.chat-msg.in  { background: var(--ink-50); align-self: flex-start; border-bottom-left-radius: 3px; }
.chat-msg.out { background: #d6f6e0; align-self: flex-end; border-bottom-right-radius: 3px; }
.chat-tag {
  margin-top: 4px;
  font-size: 0.66rem;
  color: var(--ink-400);
  display: inline-flex; align-items: center; gap: 4px;
}
.chat-tag::before { content: "🤖"; }

/* ============================================================
   SECTIONS — base
   ============================================================ */

section { padding: 100px 0; }
section.tight { padding: 80px 0; }
.bg-soft { background: var(--ink-50); }
.bg-blue { background: var(--blue-50); }
.bg-dark { background: var(--blue-900); color: #fff; }
.bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark .lede { color: #c8cee8; }

/* ============================================================
   PROBLEM
   ============================================================ */

.problem-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.problem-list { display: flex; flex-direction: column; gap: 14px; }
.problem-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .15s ease, transform .15s ease;
}
.problem-row:hover { border-color: var(--ink-300); transform: translateX(4px); }
.problem-row .ico {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--orange-100);
  color: var(--orange-600);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.problem-row .ico svg { width: 18px; height: 18px; }
.problem-row .ptitle { font-weight: 700; color: var(--ink-900); font-size: 0.98rem; }
.problem-row .pdesc  { color: var(--ink-500); font-size: 0.88rem; line-height: 1.5; }

.problem-aside {
  background: linear-gradient(155deg, var(--blue-800) 0%, var(--blue-900) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.problem-aside::before {
  content: "";
  position: absolute;
  inset: -40% -40% auto auto;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,107,26,.35), transparent 70%);
}
.problem-illustration { position: relative; z-index: 1; max-width: 330px; margin: -8px auto 0; }
.problem-illustration svg { width: 100%; height: auto; display: block; }
.problem-aside .num { font-size: 4.4rem; font-weight: 800; color: var(--orange-400); line-height: 1; letter-spacing: -.04em; }
.problem-aside .ntext { color: #c8cee8; margin-top: 10px; max-width: 320px; }
.problem-aside .quote { position: relative; z-index: 1; font-size: 1.1rem; line-height: 1.5; margin-top: 18px; font-weight: 600; }

/* ============================================================
   FLOW (integrated solution)
   ============================================================ */

.flow-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  margin-top: 60px;
}

.flow-node {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  position: relative;
  transition: transform .15s ease, box-shadow .15s ease;
}
.flow-node:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.flow-node .step {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-500);
}
.flow-node h3 { margin-top: 12px; margin-bottom: 10px; }
.flow-node p { font-size: 0.92rem; color: var(--ink-500); }
.flow-node .ftags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px;
}
.flow-node .ftag {
  font-size: 0.72rem;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-800);
  font-weight: 700;
}
.flow-arrow {
  position: absolute;
  top: 50%; right: -18px;
  transform: translateY(-50%);
  color: var(--ink-300);
  z-index: 1;
}
.flow-node:last-child .flow-arrow { display: none; }

/* ============================================================
   FEATURES BY IMPACT
   ============================================================ */

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pillar-art {
  display: block;
  width: min(760px, 100%);
  margin: -28px auto 34px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-sm);
}
.feat {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  position: relative;
}
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--ink-200); }
.feat .feat-ico {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--blue-800);
  display: grid; place-items: center;
}
.feat .feat-ico.orange { background: var(--orange-100); color: var(--orange-600); }
.feat h3 { font-size: 1.1rem; }
.feat .feat-desc { font-size: 0.92rem; color: var(--ink-500); line-height: 1.55; flex: 1; }
.feat .feat-impact {
  font-size: 0.82rem;
  color: var(--blue-800);
  font-weight: 700;
  border-top: 1px solid var(--ink-100);
  padding-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.feat .feat-impact::before {
  content: "→";
  color: var(--orange-500);
  font-weight: 800;
}

/* ============================================================
   WHATSAPP STRATEGIC
   ============================================================ */

.wa-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.wa-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 36px; }
.wa-pill {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 0.92rem;
  color: #d6dcf2;
  font-weight: 600;
  display: flex; align-items: center; gap: 10px;
}
.wa-pill .pdot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange-400); flex-shrink: 0; }

.wa-visual {
  background: linear-gradient(165deg, #061a3f 0%, #001e8a 100%);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.wa-visual::before {
  content: "";
  position: absolute; inset: -20% auto auto -20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(37,211,102,.18), transparent 70%);
}
.wa-phone {
  position: relative;
  background: #fff;
  border-radius: 22px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 320px;
  margin: 0 auto;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,.4);
}
.wa-bubble {
  font-size: 0.86rem;
  padding: 9px 12px;
  border-radius: 12px;
  max-width: 80%;
  line-height: 1.4;
}
.wa-bubble.in  { background: var(--ink-100); align-self: flex-start; border-bottom-left-radius: 3px; }
.wa-bubble.out { background: #d8f5e1; align-self: flex-end; border-bottom-right-radius: 3px; }
.wa-bubble .meta { display: block; font-size: 0.66rem; color: var(--ink-400); margin-top: 4px; font-weight: 600; }
.wa-bubble.action {
  background: #fff;
  border: 1px solid var(--ink-100);
  align-self: stretch;
  max-width: 100%;
  display: flex; align-items: center; gap: 10px;
  padding: 10px;
  border-radius: 10px;
}
.wa-bubble.action .a-ico {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--orange-100); color: var(--orange-600);
  display: grid; place-items: center; flex-shrink: 0;
}
.wa-bubble.action .a-title { font-weight: 700; font-size: 0.84rem; color: var(--ink-900); }
.wa-bubble.action .a-sub { font-size: 0.72rem; color: var(--ink-500); }

/* ============================================================
   AI SECTION
   ============================================================ */

.ai-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 50px;
}
.ai-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--ink-100);
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color .15s ease, transform .15s ease;
}
.ai-card:hover { border-color: var(--blue-800); transform: translateY(-3px); }
.ai-card .ai-ico {
  width: 36px; height: 36px; border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-800), var(--blue-500));
  color: #fff;
  display: grid; place-items: center;
}
.ai-card h4 { font-size: 0.98rem; }
.ai-card p { font-size: 0.86rem; color: var(--ink-500); line-height: 1.5; }

/* ============================================================
   VIDEOS
   ============================================================ */

.video-teaser {
  display: block;
  width: 100%;
  margin-top: 48px;
  background: linear-gradient(135deg, #00003d 0%, #000066 60%, #1f3fb5 100%);
  border: none;
  border-radius: var(--radius-xl);
  aspect-ratio: 21/9;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  font-family: inherit;
  text-align: left;
  padding: 0;
  transition: transform .15s ease;
}
.video-teaser:hover { transform: translateY(-2px); }
.video-teaser .vplay {
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--orange-500);
  display: grid; place-items: center;
  box-shadow: 0 16px 40px -10px rgba(255,107,26,.7);
  transition: transform .2s ease;
}
.video-teaser:hover .vplay { transform: translate(-50%, -50%) scale(1.08); }
.video-teaser .vplay::after {
  content: "";
  width: 0; height: 0;
  border-left: 22px solid #fff;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 5px;
}
.video-teaser .vinfo {
  position: absolute;
  left: 28px; bottom: 24px;
  color: #fff;
}
.video-teaser .vinfo h3 { color: #fff; font-size: 1.4rem; }
.video-teaser .vinfo p { color: #c8cee8; margin-top: 6px; font-size: 0.95rem; }

@media (max-width: 700px) {
  .video-teaser { aspect-ratio: 16/10; }
}

/* ============================================================
   VIDEO MODAL
   ============================================================ */

.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.video-modal.open { display: flex; }
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6,10,30,.85);
}
.video-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.video-modal-dialog video {
  display: block;
  width: 100%;
  max-height: 76vh;
  background: #000;
}
.video-modal-info { padding: 16px 22px 20px; background: #0b1230; }
.video-modal-info h3 { color: #fff; font-size: 1.1rem; }
.video-modal-info p { color: #c8cee8; margin-top: 4px; font-size: 0.88rem; }
.video-modal-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(0,0,0,.6);
  border: 1.5px solid rgba(255,255,255,.3);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  z-index: 2;
  transition: background .15s ease;
}
.video-modal-close:hover { background: var(--orange-500); border-color: var(--orange-500); }

@media (max-width: 600px) {
  .video-modal { padding: 0; }
  .video-modal-dialog { border-radius: 0; max-height: 100vh; overflow-y: auto; }
}

.video-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.video-thumb {
  position: relative;
  background: #00003d;
  border: none;
  border-radius: var(--radius-lg);
  aspect-ratio: 16/10;
  overflow: hidden;
  padding: 0;
  color: #fff;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.video-teaser .teaser-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .78;
}
.video-teaser::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,61,.72), rgba(0,0,61,.18) 65%), linear-gradient(0deg, rgba(0,0,40,.55), transparent 55%);
  pointer-events: none;
}
.video-teaser .vplay,
.video-teaser .vinfo { z-index: 1; }
.video-thumb:hover { transform: translateY(-3px); }
.video-thumb.active { box-shadow: 0 0 0 3px var(--orange-500); }

.video-thumb .thumb-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.video-thumb .thumb-overlay {
  position: absolute;
  inset: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  background: linear-gradient(180deg, rgba(0,4,25,.15) 0%, rgba(0,4,25,.1) 40%, rgba(0,4,25,.75) 100%);
}

.video-thumb .tplay {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.16);
  border: 1.5px solid rgba(255,255,255,.5);
  display: grid; place-items: center;
  backdrop-filter: blur(4px);
  margin-top: 36px;
}
.video-thumb .tplay::after {
  content: ""; width: 0; height: 0;
  border-left: 11px solid #fff;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-left: 3px;
}
.video-thumb:hover .tplay,
.video-thumb.active .tplay { background: var(--orange-500); border-color: var(--orange-500); }
.video-thumb h4 { color: #fff; font-size: 1rem; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.video-thumb .tdesc { color: #e4e7f5; font-size: 0.8rem; margin-top: 4px; text-shadow: 0 1px 3px rgba(0,0,0,.5); }

/* ============================================================
   AUDIENCE
   ============================================================ */

.aud-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.aud-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--ink-100);
  display: flex; flex-direction: column; gap: 12px;
}
.aud-card .aico {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--blue-100);
  color: var(--blue-800);
  display: grid; place-items: center;
}
.aud-card h4 { font-size: 1.02rem; }
.aud-card p { font-size: 0.88rem; color: var(--ink-500); }

@media (min-width: 1101px) {
  #paraquem .aud-grid,
  #pilares-grid { grid-template-columns: repeat(2, 1fr); }
}

a.feat, a.aud-card { text-decoration: none; color: inherit; }

/* ============================================================
   JOURNEY (fluxo em 7 etapas / etapas de implantação)
   ============================================================ */

.journey {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.journey-art {
  margin: 0;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--ink-50);
  box-shadow: var(--shadow-sm);
}
.journey-art img { width: 100%; aspect-ratio: 2.15 / 1; object-fit: cover; }
.journey-step {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.journey-step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.journey-step .jnum {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--blue-800);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
}
.journey-step h4 { margin-top: 14px; font-size: 0.98rem; }
.journey-step p { margin-top: 6px; font-size: 0.86rem; color: var(--ink-500); line-height: 1.5; }
.journey.stages .journey-step .jnum { background: var(--orange-500); }

@media (max-width: 800px) {
  .hero-visual { min-height: 360px; }
  .journey-art img { aspect-ratio: 1.35 / 1; object-fit: cover; object-position: center; }
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */

.compare-wrap {
  margin-top: 48px;
  overflow-x: auto;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
}
.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 0.92rem;
}
.compare th, .compare td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.compare th {
  background: rgba(255,255,255,.04);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #9aa3c4;
  font-weight: 700;
}
.compare td { color: #c8cee8; }
.compare td:last-child { color: var(--orange-400); font-weight: 700; }
.compare tr:last-child td { border-bottom: none; }

/* ============================================================
   DIFFERENTIATORS
   ============================================================ */

.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.diff {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.diff .dico {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,107,26,.16);
  color: var(--orange-400);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.diff h4 { font-size: 1.02rem; color: #fff; margin-bottom: 4px; }
.diff p { font-size: 0.88rem; color: #c8cee8; line-height: 1.5; }

/* ============================================================
   STATS strip
   ============================================================ */

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-top: -60px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow);
}
.stat .svalue { font-size: 2rem; font-weight: 800; color: var(--blue-800); letter-spacing: -0.02em; }
.stat .slabel { font-size: 0.86rem; color: var(--ink-500); margin-top: 4px; }
.stat .placeholder {
  font-size: 0.62rem;
  color: var(--ink-400);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 6px;
  display: block;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .15s ease;
}
.faq-item[open] { border-color: var(--blue-800); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 700;
  color: var(--ink-900);
  font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue-50); color: var(--blue-800);
  display: grid; place-items: center;
  font-size: 1.3rem; font-weight: 600;
  flex-shrink: 0;
  transition: transform .2s ease, background .15s ease;
}
.faq-item[open] summary .plus { transform: rotate(45deg); background: var(--blue-800); color: #fff; }
.faq-item .answer {
  padding: 0 24px 22px;
  color: var(--ink-500);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* ============================================================
   CTA final
   ============================================================ */

.cta-final {
  background:
    radial-gradient(800px 400px at 20% 100%, rgba(255,107,26,.25), transparent 60%),
    linear-gradient(135deg, #000066 0%, #0a1f8a 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 70px 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: -50% -20% auto auto;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(58,95,217,.4), transparent 70%);
  pointer-events: none;
}
.cta-final h2 { color: #fff; }
.cta-final .lede { color: #c8cee8; margin-top: 16px; max-width: 480px; }
.cta-final .actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; position: relative; z-index: 1; }

.cta-side {
  position: relative;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 26px;
  backdrop-filter: blur(8px);
}
.cta-side h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.cta-side ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.cta-side li { display: flex; align-items: center; gap: 10px; color: #d6dcf2; font-size: 0.92rem; }
.cta-side li svg { color: var(--orange-400); flex-shrink: 0; }

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: #00002a;
  color: #c8cee8;
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand img { height: 38px; filter: brightness(0) invert(1); }
.footer-brand .ftag { margin-top: 14px; font-size: 0.9rem; color: #9aa3c4; max-width: 320px; line-height: 1.55; }
.footer-brand .socials { display: flex; gap: 10px; margin-top: 22px; }
.footer-brand .socials a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  display: grid; place-items: center;
  transition: background .15s ease;
}
.footer-brand .socials a:hover { background: var(--orange-500); }

.footer-col h5 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 0.9rem; color: #9aa3c4; transition: color .12s ease; }
.footer-col a:hover { color: var(--orange-400); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 0.84rem;
  color: #6a7396;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom .legal { display: flex; gap: 22px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {
  .feat-grid, .ai-grid, .aud-grid, .video-list { grid-template-columns: repeat(2, 1fr); }
  .flow-wrap { grid-template-columns: repeat(2, 1fr); }
  .flow-node:nth-child(2) .flow-arrow { display: none; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col.col4, .footer-col.col5 { grid-column: span 1; }
}

@media (max-width: 1180px) {
  .nav, .header-cta .btn--secondary { display: none; }
  .mobile-toggle { display: inline-flex; }
}

@media (max-width: 900px) {
  section { padding: 70px 0; }
  .hero { padding: 64px 0 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { min-height: 480px; }
  .hero-dashboard { inset: 0 0 80px 0; }
  .hero-video { right: 0; }
  .hero-chat { left: 0; }
  .problem-grid, .wa-grid, .cta-final { grid-template-columns: 1fr; gap: 36px; padding: 40px 28px; }
  .cta-final { padding: 50px 32px; }
  .diff-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); margin-top: -40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .feat-grid, .ai-grid, .aud-grid, .video-list, .flow-wrap { grid-template-columns: 1fr; }
  .flow-node .flow-arrow { display: none; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 2.1rem; }
  h2 { font-size: 1.7rem; }
  .container { padding: 0 18px; }
  .hero-video {
    right: -18px;
    width: min(420px, 100vw);
    height: auto;
    aspect-ratio: 16 / 10;
  }
  .hero-chat { width: 230px; }
}

/* ============================================================
   SOLUTION PAGE (Agenda + OS, etc.)
   ============================================================ */

.solution-hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(255,107,26,.18), transparent 60%),
    radial-gradient(700px 500px at 5% 100%, rgba(58,95,217,.22), transparent 60%),
    linear-gradient(180deg, #00003d 0%, #000066 70%, #001e8a 100%);
  color: #fff;
  overflow: hidden;
  padding: 80px 0 90px;
}
.solution-hero--formularios {
  background:
    linear-gradient(90deg, rgba(0,0,45,.80) 0%, rgba(0,0,66,.68) 43%, rgba(0,8,54,.48) 100%),
    linear-gradient(180deg, rgba(0,0,35,.20), rgba(0,0,66,.38)),
    url("assets/formularios-dinamicos-hero.png") center / cover no-repeat;
}
.solution-hero--crm {
  background:
    linear-gradient(90deg, rgba(0,0,45,.80) 0%, rgba(0,0,66,.68) 43%, rgba(0,8,54,.48) 100%),
    linear-gradient(180deg, rgba(0,0,35,.20), rgba(0,0,66,.38)),
    url("assets/crm-comercial-hero.png") center / cover no-repeat;
}
.solution-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
.solution-hero .container { position: relative; }

.crumbs {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem;
  color: #9aa3c4;
  margin-bottom: 24px;
  font-weight: 600;
}
.crumbs a { color: #c8cee8; }
.crumbs a:hover { color: var(--orange-400); }
.crumbs .sep { color: #5a6390; }

.solution-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.solution-hero h1 { color: #fff; font-size: clamp(2.2rem, 3.8vw, 3.2rem); }
.solution-hero h1 .accent { color: var(--orange-400); }
.solution-hero .lede { color: #c8cee8; max-width: 540px; margin-top: 20px; font-size: 1.1rem; }

.solution-hero .pills-row {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px;
}
.solution-pill {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: #d6dcf2;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.solution-hero .hero-ctas { margin-top: 36px; }

/* Store badges (Google Play / App Store) */
.store-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn {
  display: flex; align-items: center; gap: 10px;
  background: #000; color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.15;
  transition: transform .15s ease, background .15s ease;
}
.store-btn:hover { transform: translateY(-2px); background: #1a1a1a; }
.store-btn small { display: block; font-weight: 500; font-size: 0.68rem; opacity: .8; }
.store-btn.light { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
.store-btn.light:hover { background: rgba(255,255,255,.16); }

/* Hero visual: calendar + OS card */
.calendar-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  color: var(--ink-900);
  padding: 22px;
  position: relative;
  z-index: 2;
}
.cal-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.cal-head .ctitle { font-weight: 800; font-size: 1.02rem; }
.cal-head .csub { font-size: 0.74rem; color: var(--ink-400); font-weight: 600; }
.cal-head .nav-btns { display: flex; gap: 6px; }
.cal-head .nav-btns span {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: var(--ink-50);
  display: grid; place-items: center;
  color: var(--ink-500);
  font-size: 0.8rem;
}

.cal-week {
  display: grid;
  grid-template-columns: 56px repeat(5, 1fr);
  gap: 6px;
  font-size: 0.72rem;
}
.cal-week .col-h {
  text-align: center;
  font-weight: 700;
  color: var(--ink-500);
  padding: 6px 0;
}
.cal-week .col-h .day { font-size: 0.7rem; text-transform: uppercase; }
.cal-week .col-h .num { display: block; font-size: 1rem; color: var(--ink-900); margin-top: 2px; }
.cal-week .col-h.today { color: var(--orange-500); }
.cal-week .col-h.today .num { color: var(--orange-500); }

.cal-grid {
  display: grid;
  grid-template-columns: 56px repeat(5, 1fr);
  position: relative;
  margin-top: 6px;
  border-top: 1px solid var(--ink-100);
}
.cal-grid .hour {
  font-size: 0.66rem;
  color: var(--ink-400);
  font-weight: 600;
  padding: 8px 6px 0 0;
  text-align: right;
  border-right: 1px solid var(--ink-100);
  height: 50px;
  box-sizing: border-box;
}
.cal-grid .slot {
  border-bottom: 1px dashed var(--ink-100);
  border-right: 1px solid var(--ink-100);
  height: 50px;
  position: relative;
}
.cal-grid .slot:last-child { border-right: 0; }

.cal-event {
  position: absolute;
  left: 4px; right: 4px;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
  z-index: 1;
  box-shadow: 0 2px 6px rgba(0,0,102,.12);
}
.cal-event .ce-tech { font-size: 0.62rem; font-weight: 600; opacity: 0.85; margin-top: 2px; }
.ce-blue   { background: var(--blue-100);  color: var(--blue-800); border-left: 3px solid var(--blue-800); }
.ce-orange { background: #ffe6d4;          color: var(--orange-600); border-left: 3px solid var(--orange-500); }
.ce-green  { background: #dff5e9;          color: var(--success);    border-left: 3px solid var(--success); }
.ce-purple { background: #eee0ff;          color: #6638b6;           border-left: 3px solid #6638b6; }

/* Floating OS card */
.os-card {
  position: absolute;
  bottom: -34px;
  right: -28px;
  width: 290px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  z-index: 3;
  color: var(--ink-900);
  transform: rotate(2deg);
}
.os-card .os-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.os-card .os-num { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-800); }
.os-card .os-status {
  font-size: 0.66rem;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fff1e0;
  color: var(--orange-600);
  font-weight: 700;
}
.os-card .os-title { font-weight: 800; font-size: 0.95rem; }
.os-card .os-meta { font-size: 0.78rem; color: var(--ink-500); margin-top: 6px; line-height: 1.45; }
.os-card .os-progress { margin-top: 12px; }
.os-card .os-bar { height: 6px; background: var(--ink-100); border-radius: 999px; overflow: hidden; }
.os-card .os-bar > div { height: 100%; background: linear-gradient(90deg, var(--blue-800), var(--orange-500)); width: 62%; }
.os-card .os-steps { display: flex; justify-content: space-between; font-size: 0.62rem; color: var(--ink-400); font-weight: 700; margin-top: 6px; text-transform: uppercase; }

/* ============================================================
   GROUPED FEATURE BLOCKS
   ============================================================ */

.fgroup {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: flex-start;
  padding: 60px 0;
  border-bottom: 1px solid var(--ink-100);
}
.fgroup:last-child { border-bottom: 0; }
.fgroup-head .gtag {
  display: inline-block;
  background: var(--blue-100);
  color: var(--blue-800);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.fgroup-head.orange .gtag { background: var(--orange-100); color: var(--orange-600); }
.fgroup-head h2 { margin-top: 14px; font-size: 1.8rem; }
.fgroup-head .gdesc { margin-top: 14px; color: var(--ink-500); font-size: 1rem; line-height: 1.6; }
.fgroup-head .gimpact {
  margin-top: 22px;
  padding: 14px 16px;
  background: var(--blue-50);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--blue-800);
  font-weight: 700;
  border-left: 3px solid var(--orange-500);
}

.fchecks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.fcheck {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--ink-700);
  padding: 8px 0;
}
.fcheck .cico {
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--blue-50);
  color: var(--blue-800);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.fcheck .cico svg { width: 12px; height: 12px; }

/* ============================================================
   KANBAN MOCK
   ============================================================ */

.kanban {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-100);
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  box-shadow: var(--shadow);
}
.kcol {
  background: var(--ink-50);
  border-radius: var(--radius);
  padding: 14px;
  min-height: 280px;
}
.kcol .kh {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.kcol .ktitle { font-weight: 800; font-size: 0.86rem; }
.kcol .kcount {
  font-size: 0.66rem;
  background: #fff;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--ink-500);
  border: 1px solid var(--ink-100);
}
.kcol.col-new .ktitle::before    { content: "● "; color: var(--blue-500); }
.kcol.col-progress .ktitle::before { content: "● "; color: var(--orange-500); }
.kcol.col-review .ktitle::before { content: "● "; color: #6638b6; }
.kcol.col-done .ktitle::before   { content: "● "; color: var(--success); }

.kcard {
  background: #fff;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
  border: 1px solid var(--ink-100);
  font-size: 0.82rem;
  transition: transform .12s ease, box-shadow .12s ease;
}
.kcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.kcard .ktitle2 { font-weight: 700; color: var(--ink-900); }
.kcard .kmeta { font-size: 0.72rem; color: var(--ink-400); margin-top: 4px; }
.kcard .ktags { display: flex; gap: 4px; margin-top: 8px; flex-wrap: wrap; }
.kcard .ktag {
  font-size: 0.62rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--blue-50);
  color: var(--blue-800);
  font-weight: 700;
}
.kcard .kfoot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 8px;
  font-size: 0.66rem;
  color: var(--ink-400);
  font-weight: 700;
}
.kavatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--blue-800);
  color: #fff;
  display: grid; place-items: center;
  font-size: 0.6rem;
  font-weight: 800;
}
.kavatar.a2 { background: var(--orange-500); }
.kavatar.a3 { background: #6638b6; }
.kavatar.a4 { background: var(--success); }

/* ============================================================
   PHONE (App do técnico) mock
   ============================================================ */

.app-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.app-phone {
  width: 280px;
  margin: 0 auto;
  background: #0b1230;
  border-radius: 38px;
  padding: 12px;
  box-shadow: 0 30px 60px -20px rgba(0,0,102,.4);
  position: relative;
}
.app-phone::before {
  content: "";
  position: absolute;
  top: 16px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 22px;
  background: #0b1230;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.app-screen {
  background: var(--ink-50);
  border-radius: 28px;
  overflow: hidden;
  padding: 38px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.app-statusbar {
  display: flex; justify-content: space-between;
  padding: 0 12px 8px;
  font-size: 0.66rem; font-weight: 700;
  color: var(--ink-700);
}
.app-greeting { padding: 0 6px; }
.app-greeting .ghi { font-size: 0.7rem; color: var(--ink-400); font-weight: 600; }
.app-greeting .gname { font-size: 1.1rem; font-weight: 800; color: var(--ink-900); }

.app-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.app-stat {
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  border: 1px solid var(--ink-100);
}
.app-stat .label { font-size: 0.6rem; color: var(--ink-400); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.app-stat .value { font-size: 1.1rem; font-weight: 800; color: var(--blue-800); }

.app-os-list { display: flex; flex-direction: column; gap: 6px; }
.app-os {
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  border: 1px solid var(--ink-100);
  font-size: 0.74rem;
}
.app-os .ohead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.app-os .otime { font-weight: 800; color: var(--ink-900); font-size: 0.78rem; }
.app-os .ostatus {
  font-size: 0.58rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: #fff1e0;
  color: var(--orange-600);
  font-weight: 700;
}
.app-os .ostatus.green { background: #dff5e9; color: var(--success); }
.app-os .oclient { font-weight: 700; color: var(--ink-900); }
.app-os .oaddr { font-size: 0.66rem; color: var(--ink-500); margin-top: 2px; }
.app-os .obtns { display: flex; gap: 6px; margin-top: 8px; }
.app-os .obtns span {
  flex: 1;
  text-align: center;
  font-size: 0.66rem;
  padding: 6px;
  border-radius: 6px;
  background: var(--blue-800);
  color: #fff;
  font-weight: 700;
}
.app-os .obtns span.alt { background: var(--ink-50); color: var(--ink-700); border: 1px solid var(--ink-200); }

/* App features list */
.app-feats { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }
.app-feat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: flex-start;
}
.app-feat .ico {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--orange-100);
  color: var(--orange-600);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.app-feat h4 { font-size: 1rem; }
.app-feat p  { font-size: 0.9rem; color: var(--ink-500); margin-top: 2px; }

/* ============================================================
   INTEGRATIONS RIBBON
   ============================================================ */

.integ-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.integ {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .15s ease, transform .15s ease;
}
.integ:hover { border-color: var(--blue-800); transform: translateY(-3px); }
.integ .iico {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--blue-50);
  color: var(--blue-800);
  display: grid; place-items: center;
}
.integ .iname { font-weight: 800; font-size: 0.96rem; }
.integ .idesc { font-size: 0.84rem; color: var(--ink-500); line-height: 1.5; }
.integ .ilink {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-800);
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 4px;
}
.integ:hover .ilink { color: var(--orange-500); }

/* ============================================================
   KPI / DASHBOARD preview
   ============================================================ */

.kpi-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.kpi-mock {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 18px;
}
.kpi-mock-head {
  display: flex; justify-content: space-between; align-items: center;
}
.kpi-mock-head .title { font-weight: 800; }
.kpi-mock-head .filter {
  font-size: 0.72rem;
  background: var(--ink-50);
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--ink-500);
  font-weight: 700;
}
.kpi-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi-stat {
  background: var(--blue-50);
  border-radius: var(--radius);
  padding: 14px;
}
.kpi-stat .l { font-size: 0.7rem; color: var(--ink-500); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.kpi-stat .v { font-size: 1.6rem; font-weight: 800; color: var(--blue-800); margin-top: 4px; letter-spacing: -.02em; }
.kpi-stat .d { font-size: 0.72rem; color: var(--success); font-weight: 700; margin-top: 2px; }

.kpi-bars { display: flex; flex-direction: column; gap: 10px; }
.kpi-bar-row {
  display: grid; grid-template-columns: 110px 1fr 50px; gap: 12px; align-items: center;
  font-size: 0.82rem;
}
.kpi-bar-row .name { font-weight: 700; color: var(--ink-900); }
.kpi-bar-row .num  { font-weight: 800; color: var(--blue-800); text-align: right; }
.kpi-bar-row .bar {
  height: 10px; background: var(--ink-100); border-radius: 999px; overflow: hidden;
}
.kpi-bar-row .bar > span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--blue-800), var(--orange-500));
  border-radius: 999px;
}

/* ============================================================
   EXEC OUTCOMES (governance / control)
   ============================================================ */

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.outcome {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.outcome .onum {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--orange-400);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}
.outcome h4 { font-size: 1.1rem; color: #fff; }
.outcome p  { color: #c8cee8; font-size: 0.92rem; margin-top: 10px; line-height: 1.55; }

/* responsive */
@media (max-width: 1000px) {
  .solution-hero-grid, .app-section, .kpi-grid { grid-template-columns: 1fr; gap: 50px; }
  .fgroup { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .kanban { grid-template-columns: repeat(2, 1fr); }
  .integ-grid, .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
  .os-card { right: 12px; bottom: -20px; }
}
@media (max-width: 600px) {
  .kanban, .integ-grid, .outcomes-grid { grid-template-columns: 1fr; }
  .fchecks { grid-template-columns: 1fr; }
  .kpi-stats { grid-template-columns: 1fr; }
  .cal-week, .cal-grid { grid-template-columns: 40px repeat(3, 1fr); }
  .cal-week .col-h:nth-child(5), .cal-week .col-h:nth-child(6),
  .cal-grid > *:nth-child(5n+5), .cal-grid > *:nth-child(5n+6) { display: none; }
}

/* ============================================================
   RÉGUA DE COBRANÇA — timeline
   ============================================================ */

.regua {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  position: relative;
}
.regua-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin-top: 12px;
}
.regua-line::before {
  content: "";
  position: absolute;
  left: 5%; right: 5%;
  top: 22px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-800) 0%, var(--orange-500) 60%, var(--orange-600) 100%);
  border-radius: 999px;
  z-index: 0;
}
.regua-step {
  text-align: center;
  position: relative;
  padding: 0 6px;
}
.regua-step .dot {
  position: relative;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--blue-800);
  margin: 12px auto 0;
  z-index: 1;
  display: grid; place-items: center;
}
.regua-step .dot::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue-800);
}
.regua-step.warn .dot { border-color: var(--orange-500); }
.regua-step.warn .dot::after { background: var(--orange-500); }
.regua-step.danger .dot { border-color: var(--orange-600); }
.regua-step.danger .dot::after { background: var(--orange-600); }
.regua-step .day {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-top: 12px;
  display: block;
}
.regua-step .label {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink-900);
  margin-top: 4px;
}
.regua-step .chan {
  display: inline-block;
  font-size: 0.7rem;
  background: var(--blue-50);
  color: var(--blue-800);
  padding: 2px 8px;
  border-radius: 999px;
  margin-top: 6px;
  font-weight: 700;
}
.regua-step.warn .chan { background: var(--orange-100); color: var(--orange-600); }

/* ============================================================
   PAYMENT LINK card (hero visual)
   ============================================================ */

.pay-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  color: var(--ink-900);
  overflow: hidden;
  position: relative;
}
.pay-card .pc-head {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-500));
  color: #fff;
  padding: 20px 22px 18px;
  display: flex; justify-content: space-between; align-items: center;
}
.pay-card .pc-head .brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 0.9rem; }
.pay-card .pc-head .brand .b-mark { width: 18px; height: 18px; background: var(--orange-500); border-radius: 4px; }
.pay-card .pc-head .secure { font-size: 0.7rem; display: inline-flex; align-items: center; gap: 6px; opacity: 0.85; }
.pay-card .pc-body { padding: 22px; }
.pay-card .pc-label { font-size: 0.7rem; color: var(--ink-400); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.pay-card .pc-amount { font-size: 2.2rem; font-weight: 800; color: var(--ink-900); letter-spacing: -.03em; margin-top: 4px; }
.pay-card .pc-amount small { font-size: 0.9rem; color: var(--ink-400); font-weight: 700; }
.pay-card .pc-desc { font-size: 0.84rem; color: var(--ink-500); margin-top: 6px; }
.pay-card .pc-methods {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
  margin-top: 18px;
}
.pay-card .pc-method {
  border: 1.5px solid var(--ink-100);
  border-radius: 8px;
  padding: 12px 10px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-700);
  cursor: pointer;
  transition: border-color .12s ease, background .12s ease, color .12s ease;
}
.pay-card .pc-method.active { border-color: var(--blue-800); background: var(--blue-50); color: var(--blue-800); }
.pay-card .pc-method .ic { display: block; margin: 0 auto 4px; }
.pay-card .pc-cta {
  background: var(--orange-500);
  color: #fff;
  text-align: center;
  font-weight: 800;
  padding: 14px;
  border-radius: 10px;
  margin-top: 18px;
  box-shadow: 0 8px 20px -8px rgba(255,107,26,.6);
}
.pay-card .pc-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 14px;
  font-size: 0.7rem; color: var(--ink-400);
}

/* Hero — receivables panel (floating below pay-card) */
.recv-card {
  position: absolute;
  bottom: -30px;
  left: -28px;
  width: 290px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 18px;
  z-index: 3;
  transform: rotate(-2deg);
}
.recv-card .rc-title { font-weight: 800; font-size: 0.9rem; }
.recv-card .rc-sub { font-size: 0.72rem; color: var(--ink-400); margin-top: 2px; }
.recv-card .rc-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 10px;
  font-size: 0.8rem;
}
.recv-card .rc-row .lab { color: var(--ink-500); font-weight: 600; }
.recv-card .rc-row .val { font-weight: 800; }
.recv-card .rc-row .val.green { color: var(--success); }
.recv-card .rc-row .val.orange { color: var(--orange-600); }
.recv-card .rc-bar {
  display: flex; height: 8px; border-radius: 999px; overflow: hidden;
  margin-top: 14px;
  background: var(--ink-100);
}
.recv-card .rc-bar .s1 { background: var(--success); flex: 62; }
.recv-card .rc-bar .s2 { background: var(--orange-500); flex: 25; }
.recv-card .rc-bar .s3 { background: var(--ink-300); flex: 13; }
.recv-card .rc-legend { display: flex; gap: 12px; margin-top: 10px; font-size: 0.66rem; color: var(--ink-500); font-weight: 700; }
.recv-card .rc-legend span::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  margin-right: 4px;
  vertical-align: 1px;
}
.recv-card .rc-legend .l1::before { background: var(--success); }
.recv-card .rc-legend .l2::before { background: var(--orange-500); }
.recv-card .rc-legend .l3::before { background: var(--ink-300); }

/* ============================================================
   MRR Dashboard
   ============================================================ */

.mrr-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow);
  padding: 28px;
  display: flex; flex-direction: column; gap: 22px;
}
.mrr-head { display: flex; justify-content: space-between; align-items: flex-start; }
.mrr-head .ht { font-weight: 800; font-size: 1.05rem; }
.mrr-head .hs { font-size: 0.78rem; color: var(--ink-400); margin-top: 2px; }
.mrr-head .pill { font-size: 0.72rem; background: #dff5e9; color: var(--success); padding: 4px 10px; border-radius: 999px; font-weight: 700; }

.mrr-big {
  display: flex; align-items: baseline; gap: 14px;
}
.mrr-big .val { font-size: 2.6rem; font-weight: 800; color: var(--blue-800); letter-spacing: -.03em; }
.mrr-big .delta { color: var(--success); font-weight: 700; font-size: 0.9rem; }
.mrr-big .delta::before { content: "▲ "; }

.mrr-chart {
  background: var(--ink-50);
  border-radius: var(--radius);
  padding: 14px;
  height: 160px;
  position: relative;
}
.mrr-chart svg { width: 100%; height: 100%; display: block; }
.mrr-chart .legend {
  position: absolute; top: 14px; right: 14px;
  font-size: 0.7rem; color: var(--ink-500); font-weight: 700;
  display: flex; gap: 12px;
}
.mrr-chart .legend span::before {
  content: ""; display: inline-block; width: 8px; height: 8px;
  border-radius: 2px; margin-right: 4px; vertical-align: 1px;
}
.mrr-chart .legend .a::before { background: var(--blue-800); }
.mrr-chart .legend .b::before { background: var(--orange-500); }

.mrr-rows { display: flex; flex-direction: column; gap: 8px; }
.mrr-row {
  display: grid; grid-template-columns: 1fr auto auto;
  gap: 14px; align-items: center;
  font-size: 0.84rem;
  padding: 8px 0;
  border-top: 1px solid var(--ink-100);
}
.mrr-row:first-child { border-top: 0; }
.mrr-row .name { font-weight: 700; }
.mrr-row .meta { font-size: 0.74rem; color: var(--ink-400); }
.mrr-row .v { font-weight: 800; color: var(--ink-900); }
.mrr-row .st {
  font-size: 0.66rem; padding: 3px 8px; border-radius: 999px; font-weight: 700;
}
.mrr-row .st.ok   { background: #dff5e9; color: var(--success); }
.mrr-row .st.due  { background: #fff1e0; color: var(--orange-600); }
.mrr-row .st.new  { background: var(--blue-100); color: var(--blue-800); }
.mrr-row .st.paused { background: var(--ink-100); color: var(--ink-500); }

@media (max-width: 1000px) {
  .regua-line { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .regua-line::before { display: none; }
}
@media (max-width: 600px) {
  .regua-line { grid-template-columns: repeat(2, 1fr); }
  .recv-card { left: 12px; width: 240px; }
}

/* ============================================================
   FLOW BUILDER mock (Atendimento com IA)
   ============================================================ */

.flow-builder {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 30px;
  position: relative;
  overflow: hidden;
}
.flow-builder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, var(--ink-100) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.6;
  pointer-events: none;
}

.fb-head {
  display: flex; justify-content: space-between; align-items: center;
  position: relative;
  margin-bottom: 24px;
}
.fb-head .ft { font-weight: 800; font-size: 1rem; }
.fb-head .fs { font-size: 0.78rem; color: var(--ink-400); }
.fb-head .toolbar { display: flex; gap: 6px; }
.fb-head .toolbar span {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--ink-50);
  color: var(--ink-500);
  font-weight: 700;
}
.fb-head .toolbar span.active { background: var(--blue-800); color: #fff; }

.fb-canvas {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 60px;
  z-index: 1;
}

.fb-node {
  background: #fff;
  border: 1.5px solid var(--ink-200);
  border-radius: 10px;
  padding: 12px 14px;
  position: relative;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.fb-node:hover { border-color: var(--blue-800); box-shadow: var(--shadow); }
.fb-node .nh {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-800);
}
.fb-node .nh .ndot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-800); }
.fb-node.action .nh { color: var(--orange-600); }
.fb-node.action .nh .ndot { background: var(--orange-500); }
.fb-node.condition .nh { color: #6638b6; }
.fb-node.condition .nh .ndot { background: #6638b6; }
.fb-node.end .nh { color: var(--success); }
.fb-node.end .nh .ndot { background: var(--success); }
.fb-node .nt { font-weight: 700; color: var(--ink-900); margin-top: 6px; font-size: 0.86rem; line-height: 1.3; }
.fb-node .nm { font-size: 0.72rem; color: var(--ink-400); margin-top: 4px; }

/* connectors via pseudo */
.fb-node.connect-right::after {
  content: "";
  position: absolute;
  top: 50%; right: -42px;
  width: 32px; height: 2px;
  background: var(--ink-300);
  transform: translateY(-50%);
}
.fb-node.connect-right::before {
  content: "";
  position: absolute;
  top: 50%; right: -50px;
  width: 0; height: 0;
  border-left: 8px solid var(--ink-300);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  transform: translateY(-50%);
}
.fb-node.connect-down-right::after {
  content: "";
  position: absolute;
  bottom: -22px; left: 50%;
  width: 2px; height: 22px;
  background: var(--ink-300);
}

.fb-foot {
  position: relative;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--ink-200);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--ink-500);
}
.fb-foot strong { color: var(--ink-900); font-weight: 800; }

/* ============================================================
   ACTIONS INVENTORY
   ============================================================ */

.actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}
.action-card {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: border-color .15s ease, transform .15s ease;
}
.action-card:hover { border-color: var(--orange-500); transform: translateX(3px); }
.action-card .ai {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--blue-800), var(--blue-500));
  color: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.action-card.orange .ai { background: linear-gradient(135deg, var(--orange-500), var(--orange-600)); }
.action-card.purple .ai { background: linear-gradient(135deg, #6638b6, #9c63ec); }
.action-card.green  .ai { background: linear-gradient(135deg, var(--success), #2bb673); }
.action-card .at { font-weight: 800; font-size: 0.94rem; color: var(--ink-900); }
.action-card .ad { font-size: 0.8rem; color: var(--ink-500); margin-top: 4px; line-height: 1.45; }

/* ============================================================
   IA chat (hero visual) — extended
   ============================================================ */

.ia-chat-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.ia-phone {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink-900);
}
.ia-phone .iah {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink-100);
}
.ia-phone .iah .av {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-800), var(--orange-500));
  display: grid; place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
}
.ia-phone .iah .nm { font-weight: 800; font-size: 0.86rem; }
.ia-phone .iah .ns { font-size: 0.7rem; color: var(--success); }
.ia-phone .ia-bub {
  font-size: 0.78rem;
  padding: 8px 10px;
  border-radius: 10px;
  line-height: 1.4;
  max-width: 86%;
}
.ia-phone .ia-bub.in  { background: var(--ink-50); align-self: flex-start; border-bottom-left-radius: 3px; }
.ia-phone .ia-bub.out { background: #d8f5e1; align-self: flex-end; border-bottom-right-radius: 3px; }
.ia-phone .ia-bub.opt {
  background: #fff;
  border: 1.5px solid var(--blue-100);
  align-self: stretch;
  max-width: 100%;
  font-weight: 700;
  color: var(--blue-800);
  text-align: center;
  cursor: pointer;
}
.ia-phone .ia-bub .meta {
  display: block;
  font-size: 0.62rem;
  color: var(--ink-400);
  margin-top: 4px;
  font-weight: 600;
}
.ia-tag {
  font-size: 0.66rem;
  color: var(--ink-400);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 6px;
  margin-top: 6px;
}
.ia-tag .ia-ico {
  width: 14px; height: 14px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--blue-800), var(--orange-500));
  display: grid; place-items: center;
  color: #fff;
  font-size: 0.6rem;
}

/* Action receipt card next to chat */
.ia-receipt {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 18px;
  display: flex; flex-direction: column; gap: 10px;
  color: var(--ink-900);
}
.ia-receipt .rh { display: flex; align-items: center; gap: 8px; }
.ia-receipt .rh .rmark {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--orange-100);
  color: var(--orange-600);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.ia-receipt .rh .rt { font-weight: 800; font-size: 0.88rem; }
.ia-receipt .rh .rs { font-size: 0.66rem; color: var(--ink-400); }

.ia-receipt-rows { display: flex; flex-direction: column; gap: 8px; }
.ia-rr {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px; align-items: center;
  font-size: 0.78rem;
  padding: 6px 0;
  border-top: 1px solid var(--ink-100);
}
.ia-rr:first-child { border-top: 0; }
.ia-rr .ic {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--blue-50);
  color: var(--blue-800);
  display: grid; place-items: center;
}
.ia-rr .lab { color: var(--ink-700); font-weight: 600; }
.ia-rr .lab strong { color: var(--ink-900); }
.ia-rr .st {
  font-size: 0.62rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: #dff5e9;
  color: var(--success);
  font-weight: 700;
}

/* ============================================================
   KNOWLEDGE BASE visual
   ============================================================ */

.kb-card {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
}
.kb-search {
  background: var(--ink-50);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.kb-search svg { color: var(--ink-400); flex-shrink: 0; }
.kb-search .qtext { font-size: 0.9rem; color: var(--ink-700); font-weight: 600; flex: 1; }
.kb-search .lab { font-size: 0.66rem; color: var(--ink-400); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }

.kb-rows { display: flex; flex-direction: column; gap: 10px; }
.kb-item {
  border-left: 3px solid var(--blue-800);
  padding: 10px 14px;
  background: var(--blue-50);
  border-radius: 0 8px 8px 0;
}
.kb-item.orange { border-color: var(--orange-500); background: #fff7ee; }
.kb-item.green  { border-color: var(--success); background: #ecf9f1; }
.kb-item .kbq { font-weight: 800; font-size: 0.86rem; color: var(--ink-900); }
.kb-item .kba { font-size: 0.78rem; color: var(--ink-500); margin-top: 4px; }
.kb-item .kbt { display: flex; gap: 4px; margin-top: 6px; flex-wrap: wrap; }
.kb-item .kbt span {
  font-size: 0.62rem;
  background: rgba(0,0,102,0.08);
  color: var(--blue-800);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

/* responsive */
@media (max-width: 1000px) {
  .actions-grid { grid-template-columns: repeat(2, 1fr); }
  .fb-canvas { grid-template-columns: 1fr; gap: 20px; }
  .fb-node.connect-right::after, .fb-node.connect-right::before,
  .fb-node.connect-down-right::after { display: none; }
  .ia-chat-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .actions-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ERP — Command center hero
   ============================================================ */

.erp-hero-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  color: var(--ink-900);
  padding: 22px;
  position: relative;
  z-index: 2;
  display: flex; flex-direction: column; gap: 16px;
}
.erp-hero-card .ehh { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.erp-hero-card .ehh > div:first-child { margin-right: auto; }
.erp-hero-card .ehh .et { font-weight: 800; font-size: 1rem; }
.erp-hero-card .ehh .es { font-size: 0.7rem; color: var(--ink-400); }
.erp-hero-card .ehh .filter {
  font-size: 0.66rem; background: var(--ink-50); padding: 3px 8px; border-radius: 6px;
  color: var(--ink-500); font-weight: 700;
}

.erp-kpis {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.erp-kpi {
  background: var(--blue-50);
  border-radius: 10px;
  padding: 10px 12px;
}
.erp-kpi .l { font-size: 0.62rem; color: var(--ink-500); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.erp-kpi .v { font-size: 1.1rem; font-weight: 800; color: var(--blue-800); letter-spacing: -.02em; margin-top: 2px; }
.erp-kpi .d { font-size: 0.66rem; font-weight: 700; margin-top: 2px; }
.erp-kpi .d.up { color: var(--success); }
.erp-kpi .d.down { color: var(--orange-600); }
.erp-kpi.orange { background: #fff1e0; }
.erp-kpi.orange .v { color: var(--orange-600); }

.erp-area {
  background: var(--ink-50);
  border-radius: var(--radius);
  padding: 10px 12px 4px;
  height: 110px;
  position: relative;
}
.erp-area svg { width: 100%; height: 100%; display: block; }
.erp-area .ttl { font-size: 0.74rem; font-weight: 700; color: var(--ink-700); position: absolute; top: 10px; left: 12px; }

.erp-rowmini {
  display: flex; flex-direction: column; gap: 6px;
}
.erp-rowmini .rr {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px; align-items: center;
  font-size: 0.76rem;
  padding: 6px 8px;
  border: 1px solid var(--ink-100);
  border-radius: 8px;
}
.erp-rowmini .rr .nm { font-weight: 700; color: var(--ink-900); font-size: 0.78rem; }
.erp-rowmini .rr .mt { font-size: 0.66rem; color: var(--ink-400); }
.erp-rowmini .rr .vv { font-weight: 800; color: var(--ink-900); }
.erp-rowmini .rr .pl {
  font-size: 0.6rem; padding: 2px 6px; border-radius: 4px; font-weight: 700;
}
.erp-rowmini .rr .pl.ok { background: #dff5e9; color: var(--success); }
.erp-rowmini .rr .pl.fi { background: var(--blue-100); color: var(--blue-800); }
.erp-rowmini .rr .pl.al { background: #fff1e0; color: var(--orange-600); }

/* Floating NF-e card */
.nfe-card {
  position: absolute;
  bottom: -28px;
  right: -26px;
  width: 280px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 3;
  transform: rotate(2deg);
  overflow: hidden;
}
.nfe-card .nh {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-500));
  color: #fff;
  padding: 12px 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.nfe-card .nh .nt { font-weight: 800; font-size: 0.84rem; }
.nfe-card .nh .ns { font-size: 0.66rem; opacity: 0.8; }
.nfe-card .nh .badge {
  font-size: 0.6rem; padding: 3px 8px; border-radius: 999px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  font-weight: 700;
}
.nfe-card .nb { padding: 14px 16px; }
.nfe-card .nrow { display: flex; justify-content: space-between; font-size: 0.74rem; padding: 4px 0; }
.nfe-card .nrow .lab { color: var(--ink-500); font-weight: 600; }
.nfe-card .nrow .val { color: var(--ink-900); font-weight: 700; }
.nfe-card .ntot {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--ink-100);
  font-size: 0.74rem;
}
.nfe-card .ntot .vbig { font-size: 1.3rem; font-weight: 800; color: var(--blue-800); letter-spacing: -.02em; }
.nfe-card .nstr {
  margin-top: 12px; padding: 8px 10px;
  background: var(--ink-50); border-radius: 6px;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 0.66rem; color: var(--ink-500);
  text-align: center; letter-spacing: 0.04em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ============================================================
   ERP — Financial dashboard panel (DRE / cash flow)
   ============================================================ */

.erp-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow);
  padding: 28px;
  display: flex; flex-direction: column; gap: 22px;
}
.erp-panel-head { display: flex; justify-content: space-between; align-items: flex-start; }
.erp-panel-head .ht { font-weight: 800; font-size: 1.05rem; }
.erp-panel-head .hs { font-size: 0.78rem; color: var(--ink-400); margin-top: 2px; }
.erp-panel-head .badge { font-size: 0.72rem; background: var(--blue-100); color: var(--blue-800); padding: 4px 10px; border-radius: 999px; font-weight: 700; }

.dre-rows { display: flex; flex-direction: column; gap: 0; }
.dre-row {
  display: grid; grid-template-columns: 1fr auto;
  padding: 10px 0;
  border-top: 1px solid var(--ink-100);
  font-size: 0.88rem;
}
.dre-row:first-child { border-top: 0; }
.dre-row .lab { color: var(--ink-700); }
.dre-row .val { font-weight: 800; color: var(--ink-900); text-align: right; }
.dre-row.sub { padding-left: 18px; font-size: 0.82rem; color: var(--ink-500); }
.dre-row.sub .val { color: var(--ink-700); }
.dre-row.total {
  border-top: 2px solid var(--blue-800);
  background: var(--blue-50);
  margin: 6px -10px 0;
  padding: 12px 10px;
  border-radius: 8px;
}
.dre-row.total .lab { font-weight: 800; color: var(--blue-800); }
.dre-row.total .val { font-size: 1.1rem; color: var(--blue-800); }
.dre-row.neg .val { color: var(--orange-600); }

/* ============================================================
   PDV / SmartPOS visual
   ============================================================ */

.pdv-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.smartpos {
  background: linear-gradient(165deg, #1a1f3a 0%, #0b1230 100%);
  border-radius: 32px;
  padding: 14px;
  width: 280px;
  margin: 0 auto;
  box-shadow: 0 30px 60px -20px rgba(0,0,102,.4);
  position: relative;
}
.smartpos::after {
  content: "";
  position: absolute; bottom: -10px; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 6px;
  background: #2a3050;
  border-radius: 0 0 8px 8px;
}
.pos-screen {
  background: #f7f8fb;
  border-radius: 22px;
  padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.pos-statusbar {
  display: flex; justify-content: space-between;
  font-size: 0.66rem; font-weight: 700; color: var(--ink-700);
  padding-bottom: 6px;
}
.pos-head {
  background: var(--blue-800);
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  display: flex; justify-content: space-between; align-items: center;
}
.pos-head .pt { font-weight: 800; font-size: 0.86rem; }
.pos-head .ps { font-size: 0.7rem; opacity: 0.8; }
.pos-amount {
  text-align: center;
  padding: 16px 0;
}
.pos-amount .l { font-size: 0.66rem; color: var(--ink-400); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.pos-amount .v { font-size: 2rem; font-weight: 800; color: var(--ink-900); letter-spacing: -.03em; margin-top: 2px; }

.pos-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pos-m {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ink-700);
}
.pos-m.active { background: var(--orange-500); color: #fff; border-color: var(--orange-500); }
.pos-foot {
  margin-top: 4px;
  padding: 8px;
  background: #dff5e9;
  color: var(--success);
  text-align: center;
  font-size: 0.74rem;
  font-weight: 800;
  border-radius: 8px;
}

/* ============================================================
   Tabs (modules grid)
   ============================================================ */

.erp-modules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.erp-mod {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.erp-mod:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-800); }
.erp-mod .num {
  font-size: 0.66rem; color: var(--ink-400); font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px;
  display: block;
}
.erp-mod .ico {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--blue-800), var(--blue-500));
  color: #fff;
  display: grid; place-items: center;
  margin-bottom: 10px;
}
.erp-mod.alt .ico { background: linear-gradient(135deg, var(--orange-500), var(--orange-600)); }
.erp-mod h4 { font-size: 0.98rem; }
.erp-mod p { font-size: 0.82rem; color: var(--ink-500); margin-top: 6px; line-height: 1.45; }

@media (max-width: 1000px) {
  .pdv-section { grid-template-columns: 1fr; gap: 50px; }
  .erp-modules { grid-template-columns: repeat(2, 1fr); }
  .erp-kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .erp-modules { grid-template-columns: 1fr; }
}

/* Mobile menu drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(11,18,48,.5);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.mobile-drawer.open { opacity: 1; pointer-events: auto; }
.mobile-drawer .sheet {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(380px, 90vw);
  background: #fff;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .25s ease;
}
.mobile-drawer.open .sheet { transform: translateX(0); }
.mobile-drawer .m-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.mobile-drawer .m-head img { height: 30px; }
.mobile-drawer details { border-bottom: 1px solid var(--ink-100); }
.mobile-drawer summary { padding: 14px 4px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.mobile-drawer summary::-webkit-details-marker { display: none; }
.mobile-drawer details a { display: block; padding: 8px 14px; color: var(--ink-500); font-size: 0.92rem; }
.mobile-drawer > .sheet > a.toplink { padding: 14px 4px; font-weight: 700; border-bottom: 1px solid var(--ink-100); }
.mobile-drawer .m-cta { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }

/* Privacy notice */
.legal-content { max-width: 860px; padding-top: 80px; padding-bottom: 80px; }
.legal-content h1 { margin-top: 20px; }
.legal-content .lede { margin-top: 18px; }
.legal-content h2 { font-size: 1.35rem; margin-top: 42px; }
.legal-content h2 + p { margin-top: 12px; color: var(--ink-500); }
.legal-content a { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   FORM (demonstração)
   ============================================================ */

.form-shell {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.hp-field {
  position: absolute;
  left: -5000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-submit-error {
  display: none;
  color: var(--orange-600);
  background: var(--orange-100);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.form-submit-error:not(:empty) { display: block; }

.form-progress { display: flex; align-items: center; gap: 10px; margin-bottom: 36px; }
.form-progress .fp-dot {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: var(--ink-100);
  position: relative;
}
.form-progress .fp-dot::before {
  content: attr(data-label);
  position: absolute;
  top: -22px; left: 0;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ink-400);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.form-progress .fp-dot.active { background: var(--orange-500); }
.form-progress .fp-dot.active::before { color: var(--orange-600); }
.form-progress .fp-dot.done { background: var(--blue-800); }

.form-step { display: none; }
.form-step.active { display: block; }
.form-step h3 { font-size: 1.3rem; margin-bottom: 6px; }
.form-step .fstep-desc { color: var(--ink-500); font-size: 0.92rem; margin-bottom: 28px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-700);
  margin-bottom: 6px;
}
.field .opt { color: var(--ink-400); font-weight: 500; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--ink-200);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--ink-900);
  background: #fff;
  transition: border-color .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-800);
}
.field textarea { resize: vertical; min-height: 90px; }
.field .field-error {
  display: none;
  color: var(--orange-600);
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 6px;
}
.field.invalid input,
.field.invalid select { border-color: var(--orange-600); }
.field.invalid .field-error { display: block; }

.field-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--ink-500);
  line-height: 1.5;
}
.field-check input { margin-top: 3px; }

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  gap: 12px;
}
.form-actions .btn--link {
  background: none;
  border: none;
  color: var(--ink-500);
  font-weight: 700;
  cursor: pointer;
  padding: 12px 8px;
}
.form-actions .btn--link:hover { color: var(--blue-800); }

.form-thanks { display: none; text-align: center; padding: 20px 0; }
.form-thanks.active { display: block; }
.form-thanks .tico {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #dff5e9;
  color: var(--success);
  display: grid; place-items: center;
}
.form-thanks h3 { font-size: 1.4rem; }
.form-thanks p { color: var(--ink-500); margin-top: 12px; line-height: 1.6; }
.form-thanks .btn { margin-top: 24px; }

@media (max-width: 640px) {
  .form-shell { padding: 28px 20px; }
  .field-row { grid-template-columns: 1fr; }
  .form-progress .fp-dot::before { display: none; }
}
