/* =========================================================================
   PZZB · Landing Page
   Tema: Midnight Violet escuro com toque de oficina.
   Tokens herdam da identidade do produto + acentos de "faísca" e textura.
   ========================================================================= */

/* ---- License-plate Mercosul font ---- */
@font-face {
  font-family: "Mandatory";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/MANDATOR.woff") format("woff");
  font-display: swap;
}

:root {
  /* Marca */
  --primary: oklch(0.64 0.195 255);          /* Electric Blue */
  --primary-deep: oklch(0.48 0.22 262);      /* Azul-violeta profundo do logo */
  --primary-teal: oklch(0.74 0.13 195);      /* Ciano-teal do logo (degradê) */
  --spark: oklch(0.78 0.18 55);              /* Faísca laranja-âmbar */
  --spark-hot: oklch(0.72 0.21 35);          /* Faísca quente */

  /* Superfícies escuras */
  --bg: oklch(0.078 0.018 258);              /* #080d14 navy near-black */
  --bg-deep: oklch(0.055 0.016 260);         /* fundo + profundo */
  --surface: oklch(0.115 0.022 260);         /* card */
  --surface-2: oklch(0.155 0.022 258);       /* card hover */
  --surface-3: oklch(0.195 0.022 258);       /* divider strong */
  --fg: oklch(0.96 0.006 258);
  --fg-soft: oklch(0.80 0.012 258);
  --fg-muted: oklch(0.60 0.012 258);
  --fg-faint: oklch(0.42 0.014 258);
  --border: oklch(1 0 0 / 9%);
  --border-strong: oklch(1 0 0 / 16%);

  /* Estados */
  --success: oklch(0.68 0.165 162);
  --warning: oklch(0.79 0.165 70);
  --danger: oklch(0.66 0.205 22);

  /* Tipografia */
  --font-sans: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Geist", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
  --font-plate: "Mandatory", "JetBrains Mono", monospace;

  /* Tamanhos canônicos da landing */
  --container: 1200px;
  --container-wide: 1320px;

  /* Sombras frias */
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.3), 0 1px 3px rgb(0 0 0 / 0.2);
  --shadow-md: 0 4px 14px rgb(0 0 0 / 0.35), 0 2px 4px rgb(0 0 0 / 0.25);
  --shadow-lg: 0 18px 40px rgb(0 0 0 / 0.45), 0 6px 12px rgb(0 0 0 / 0.3);
  --shadow-xl: 0 35px 80px rgb(0 0 0 / 0.55), 0 10px 24px rgb(0 0 0 / 0.35);
  --glow-primary: 0 0 60px oklch(0.64 0.195 255 / 0.35);
  --glow-spark: 0 0 30px oklch(0.78 0.18 55 / 0.5);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-2xl: 32px;
}

/* =================== Base =================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-feature-settings: "cv02", "cv03", "cv04", "cv11", "ss01";
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* Grain global overlay (textura sutil de pintura) */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.5  0 0 0 0 0.55  0 0 0 0 0.7  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
  opacity: 0.045;
  mix-blend-mode: overlay;
  z-index: 2000;
}

/* Mesh light atrás de tudo */
body::after {
  content: "";
  position: fixed;
  inset: -20% -20% auto -20%;
  height: 90vh;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 20% 0%, oklch(0.48 0.22 262 / 0.25), transparent 70%),
    radial-gradient(40% 40% at 80% 10%, oklch(0.74 0.13 195 / 0.13), transparent 70%);
  z-index: -1;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}
.container-wide { max-width: var(--container-wide); }

/* =================== Tipo helpers =================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in oklch, var(--primary) 12%, transparent);
  border: 1px solid color-mix(in oklch, var(--primary) 30%, transparent);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 999px;
  box-shadow: 0 0 8px var(--primary);
}

h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: 1.04; font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.85rem); line-height: 1.08; font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: 1.35rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; }
p { margin: 0; }

.gradient-text {
  background: linear-gradient(115deg, var(--primary-teal) 5%, var(--primary) 45%, var(--primary-deep) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gradient-text-spark {
  background: linear-gradient(115deg, oklch(0.85 0.18 70) 5%, var(--spark) 50%, var(--spark-hot) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =================== Buttons =================== */
.btn {
  --bg: var(--primary);
  --fg: white;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  background: var(--bg);
  color: var(--fg);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 15px; height: 15px; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: white;
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.18) inset, 0 8px 30px oklch(0.64 0.195 255 / 0.35);
}
.btn-primary:hover { box-shadow: 0 1px 0 rgb(255 255 255 / 0.25) inset, 0 14px 40px oklch(0.64 0.195 255 / 0.5); }

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: white;
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.18) inset, 0 8px 26px oklch(0.65 0.16 150 / 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: oklch(1 0 0 / 0.04); border-color: oklch(1 0 0 / 0.25); }

.btn-lg { padding: 12px 20px; font-size: 14.5px; border-radius: 10px; }
.btn-lg .icon { width: 16px; height: 16px; }

/* =================== Topbar / Nav =================== */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: background 0.2s, backdrop-filter 0.2s, border-color 0.2s;
  border-bottom: 1px solid transparent;
}
.topbar.scrolled {
  background: oklch(0.078 0.018 258 / 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--border);
}
.topbar .inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.topbar .brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 17px; letter-spacing: 0.01em;
}
.topbar .brand img { width: 32px; height: 32px; }
.topbar .nav-links {
  display: flex; gap: 28px;
  font-size: 14px;
  color: var(--fg-soft);
}
.topbar .nav-links a { transition: color 0.15s; }
.topbar .nav-links a:hover { color: var(--fg); }
.topbar .nav-actions { display: flex; gap: 10px; align-items: center; }
@media (max-width: 880px) {
  .topbar .nav-links { display: none; }
}

/* =================== HERO =================== */
.hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
}
.hero .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 1040px) { .hero .container { grid-template-columns: 1fr; gap: 48px; } }

.hero-copy h1 { margin-top: 18px; }
.hero-copy h1 .underline-mark {
  position: relative;
  white-space: nowrap;
}
.hero-copy h1 .underline-mark::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 0.16em;
  background: linear-gradient(90deg, var(--primary-teal), var(--primary), var(--primary-deep));
  border-radius: 4px;
  transform-origin: left;
  animation: hero-underline 1.2s cubic-bezier(.7,.2,.3,1) 0.6s both;
}
@keyframes hero-underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-sub {
  margin-top: 20px;
  font-size: 18px;
  color: var(--fg-soft);
  max-width: 540px;
  line-height: 1.55;
}
.hero-ctas { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 28px;
  display: flex; gap: 18px; flex-wrap: wrap;
  font-size: 13px; color: var(--fg-muted);
}
.hero-trust .trust-item { display: flex; align-items: center; gap: 8px; }
.hero-trust .check {
  width: 18px; height: 18px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: color-mix(in oklch, var(--success) 18%, transparent);
  color: var(--success);
}

/* Hero scene */
.hero-scene {
  position: relative;
  perspective: 1800px;
  min-height: 540px;
}

/* Floating UI mock · dashboard tilted */
.scene-dashboard {
  position: relative;
  transform: rotateY(-14deg) rotateX(6deg) rotateZ(2deg);
  transform-style: preserve-3d;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-xl), 0 0 0 1px oklch(1 0 0 / 0.04) inset, var(--glow-primary);
  overflow: hidden;
  animation: float-up 8s ease-in-out infinite alternate;
}
@keyframes float-up { from { transform: rotateY(-14deg) rotateX(6deg) rotateZ(2deg) translateY(0); } to { transform: rotateY(-12deg) rotateX(5deg) rotateZ(2deg) translateY(-12px); } }
.scene-dashboard .winbar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: oklch(0.06 0.018 260);
  border-bottom: 1px solid var(--border);
}
.scene-dashboard .winbar .dot { width: 10px; height: 10px; border-radius: 50%; background: oklch(0.4 0.02 258); }
.scene-dashboard .winbar .url {
  margin-left: 10px;
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-muted);
  background: oklch(0.04 0.014 260);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
}
.scene-dashboard .body { padding: 18px; }
.scene-dashboard .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.scene-dashboard .kpi {
  background: oklch(0.155 0.02 260);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  position: relative;
}
.scene-dashboard .kpi::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--primary);
  border-radius: 10px 10px 0 0;
}
.scene-dashboard .kpi.warn::before { background: var(--warning); }
.scene-dashboard .kpi.ok::before { background: var(--success); }
.scene-dashboard .kpi .label { font-size: 9.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-muted); }
.scene-dashboard .kpi .value { font-size: 18px; font-weight: 700; margin-top: 6px; font-feature-settings: "tnum"; }
.scene-dashboard .kpi .sub { font-size: 10px; color: var(--fg-muted); margin-top: 4px; }
.scene-dashboard .chart {
  background: oklch(0.155 0.02 260);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  height: 160px;
  position: relative;
}
.scene-dashboard .chart-title { font-size: 11px; font-weight: 600; color: var(--fg-soft); margin-bottom: 6px; }
.scene-dashboard .chart svg { width: 100%; height: 110px; }

/* Floating chips ao redor da cena */
.scene-chip {
  position: absolute;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-lg);
  font-size: 12.5px;
  font-weight: 500;
  backdrop-filter: blur(10px);
}
.scene-chip .icon-tile {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 8px;
}
.scene-chip .icon-tile i { width: 16px; height: 16px; }
.scene-chip .meta { display: flex; flex-direction: column; line-height: 1.15; }
.scene-chip .meta strong { font-weight: 600; font-size: 13px; }
.scene-chip .meta span { font-size: 11px; color: var(--fg-muted); }

.chip-xml {
  top: -6px; left: -42px;
  animation: chip-bob 6s ease-in-out infinite;
}
.chip-xml .icon-tile { background: color-mix(in oklch, var(--primary) 15%, transparent); color: var(--primary); }
.chip-pix {
  bottom: 36px; left: -56px;
  animation: chip-bob 7s ease-in-out infinite 1s;
}
.chip-pix .icon-tile { background: color-mix(in oklch, var(--success) 18%, transparent); color: var(--success); }
.chip-kanban {
  top: 56px; right: -50px;
  animation: chip-bob 8s ease-in-out infinite 0.5s;
}
.chip-kanban .icon-tile { background: color-mix(in oklch, var(--spark) 18%, transparent); color: var(--spark); }
.chip-qr {
  bottom: -8px; right: -32px;
  animation: chip-bob 6.5s ease-in-out infinite 2s;
}
.chip-qr .icon-tile { background: color-mix(in oklch, var(--primary-teal) 22%, transparent); color: var(--primary-teal); }
@keyframes chip-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (max-width: 1040px) {
  .chip-xml { left: 0; }
  .chip-pix { left: 12px; }
  .chip-kanban { right: 6px; }
  .chip-qr { right: 0; }
}

/* Faíscas / partículas */
.sparks { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.spark {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--spark);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--spark-hot), 0 0 16px var(--spark);
  animation: spark-fall 4s linear infinite;
  opacity: 0;
}
@keyframes spark-fall {
  0% { opacity: 0; transform: translate(0, -20px) scale(1); }
  10% { opacity: 1; }
  90% { opacity: 0.6; }
  100% { opacity: 0; transform: translate(40px, 220px) scale(0.2); }
}

/* Seção: stat-row sob hero */
.stat-row {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: oklch(0.06 0.014 260 / 0.6);
}
.stat-row .container {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  padding-top: 28px; padding-bottom: 28px;
}
.stat {
  border-left: 1px solid var(--border);
  padding-left: 20px;
}
.stat:first-child { border-left: none; padding-left: 0; }
.stat .num { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; font-feature-settings: "tnum"; }
.stat .num .accent { color: var(--primary); }
.stat .lab { font-size: 12px; color: var(--fg-muted); margin-top: 2px; }
@media (max-width: 760px) {
  .stat-row .container { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .stat { border-left: none; padding-left: 0; }
}

/* =================== Section base =================== */
section.block { padding: 110px 0; position: relative; }
@media (max-width: 760px) { section.block { padding: 72px 0; } }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { margin: 14px 0 0; }
.section-head p { margin-top: 18px; color: var(--fg-soft); font-size: 17px; }

/* =================== Differentials grid =================== */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.diff-card {
  background:
    linear-gradient(180deg, oklch(0.13 0.022 260) 0%, oklch(0.11 0.02 260) 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.diff-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in oklch, var(--primary) 50%, transparent);
  box-shadow: var(--shadow-lg);
}
.diff-card.span-7 { grid-column: span 7; }
.diff-card.span-5 { grid-column: span 5; }
.diff-card.span-4 { grid-column: span 4; }
.diff-card.span-6 { grid-column: span 6; }
.diff-card.span-8 { grid-column: span 8; }
.diff-card.span-12 { grid-column: span 12; }
@media (max-width: 900px) {
  .diff-card.span-7, .diff-card.span-5, .diff-card.span-4, .diff-card.span-6, .diff-card.span-8 { grid-column: span 12; }
}
.diff-card .tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary);
  padding: 4px 10px; border-radius: 999px;
  background: color-mix(in oklch, var(--primary) 14%, transparent);
  border: 1px solid color-mix(in oklch, var(--primary) 28%, transparent);
}
.diff-card.spark-tag .tag { color: var(--spark); background: color-mix(in oklch, var(--spark) 14%, transparent); border-color: color-mix(in oklch, var(--spark) 30%, transparent); }
.diff-card.teal-tag .tag { color: var(--primary-teal); background: color-mix(in oklch, var(--primary-teal) 14%, transparent); border-color: color-mix(in oklch, var(--primary-teal) 30%, transparent); }
.diff-card.green-tag .tag { color: var(--success); background: color-mix(in oklch, var(--success) 14%, transparent); border-color: color-mix(in oklch, var(--success) 32%, transparent); }
.diff-card h3 { font-size: 1.45rem; margin: 14px 0 10px; }
.diff-card p { color: var(--fg-soft); font-size: 14.5px; margin-bottom: 28px; }

/* XML import demo */
.xml-demo {
  margin-top: 26px;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center;
}
.xml-doc, .xml-out {
  background: oklch(0.06 0.014 260);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.55;
  min-height: 200px;
  overflow: hidden;
  position: relative;
}
.xml-doc .head, .xml-out .head {
  display: flex; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 10px;
}
.xml-doc .head .filename { color: var(--fg-soft); font-family: var(--font-mono); text-transform: none; letter-spacing: 0; }
.xml-line { display: block; opacity: 0.55; white-space: pre; transition: opacity 0.3s, color 0.3s; }
.xml-line.highlight { opacity: 1; color: var(--primary-teal); text-shadow: 0 0 12px oklch(0.74 0.13 195 / 0.4); }
.xml-line .tag { color: oklch(0.7 0.12 30); }
.xml-line .attr { color: oklch(0.75 0.12 80); }
.xml-line .val { color: oklch(0.78 0.12 145); }

.xml-arrow {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: white;
  position: relative;
  box-shadow: 0 0 30px oklch(0.64 0.195 255 / 0.5);
}
.xml-arrow svg { width: 22px; height: 22px; animation: arrow-pulse 1.8s ease-in-out infinite; }
@keyframes arrow-pulse {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

.xml-out .row {
  display: grid; grid-template-columns: 1fr 60px 80px; gap: 8px;
  padding: 6px 0;
  font-size: 11.5px;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  animation: row-in 0.45s ease both;
}
.xml-out .row:last-child { border-bottom: none; }
@keyframes row-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.xml-out .row .desc { color: var(--fg-soft); font-family: var(--font-sans); }
.xml-out .row .qty { text-align: right; color: var(--fg-muted); }
.xml-out .row .price { text-align: right; color: var(--fg); font-weight: 600; }
.xml-out .meta {
  display: flex; gap: 8px; font-size: 10.5px;
  margin-top: 10px;
  color: var(--fg-muted);
}
.xml-out .meta .pill {
  background: color-mix(in oklch, var(--success) 14%, transparent);
  color: var(--success);
  padding: 3px 8px; border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
}

@media (max-width: 760px) {
  .xml-demo { grid-template-columns: 1fr; }
  .xml-arrow { transform: rotate(90deg); justify-self: center; }
}

/* Quote-link demo */
.qlink-demo { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.qlink-row {
  display: grid; grid-template-columns: 30px 1fr auto auto auto; gap: 12px;
  padding: 11px 14px;
  background: oklch(0.06 0.014 260);
  border: 1px solid var(--border);
  border-radius: 10px;
  align-items: center;
  font-size: 13px;
}
.qlink-row .supp-avatar {
  width: 28px; height: 28px; border-radius: 8px;
  background: oklch(0.18 0.02 258);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
  color: var(--fg-soft);
}
.qlink-row .supp-name { display: flex; flex-direction: column; line-height: 1.15; }
.qlink-row .supp-name .nm { font-weight: 600; }
.qlink-row .supp-name .sub { font-size: 10.5px; color: var(--fg-muted); font-family: var(--font-mono); letter-spacing: 0.04em; }
.qlink-row .price { font-family: var(--font-mono); font-weight: 600; font-feature-settings: "tnum"; }
.qlink-row .lead { font-size: 11.5px; color: var(--fg-muted); }
.qlink-row .status .pill {
  font-size: 10px; padding: 3px 8px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600;
}
.qlink-row .status .pill.ok { background: color-mix(in oklch, var(--success) 18%, transparent); color: var(--success); }
.qlink-row .status .pill.pend { background: color-mix(in oklch, var(--warning) 18%, transparent); color: var(--warning); }
.qlink-row.best { border-color: color-mix(in oklch, var(--success) 50%, transparent); background: oklch(0.07 0.022 162 / 0.18); }
.qlink-row.best::after {
  content: "MELHOR"; position: absolute;
  font-size: 9px; letter-spacing: 0.14em;
  color: var(--success);
}

/* QR scanner mini */
.qr-scanner {
  position: relative;
  margin: 24px auto 0;
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1/1;
  border-radius: 18px;
  background: oklch(0.04 0.014 260);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: inset 0 0 60px rgb(0 0 0 / 0.7);
}
.qr-scanner svg.qrcode { position: absolute; inset: 24px; }
.qr-scanner .crosshair {
  position: absolute; inset: 14px;
  pointer-events: none;
}
.qr-scanner .crosshair::before,
.qr-scanner .crosshair::after {
  content: ""; position: absolute;
  width: 22px; height: 22px;
  border: 2px solid var(--primary);
}
.qr-scanner .crosshair::before { top: 0; left: 0; border-right: none; border-bottom: none; border-top-left-radius: 6px; }
.qr-scanner .crosshair::after { bottom: 0; right: 0; border-left: none; border-top: none; border-bottom-right-radius: 6px; }
.qr-scanner .crosshair .tr,
.qr-scanner .crosshair .bl {
  position: absolute;
  width: 22px; height: 22px;
  border: 2px solid var(--primary);
}
.qr-scanner .crosshair .tr { top: 0; right: 0; border-left: none; border-bottom: none; border-top-right-radius: 6px; }
.qr-scanner .crosshair .bl { bottom: 0; left: 0; border-right: none; border-top: none; border-bottom-left-radius: 6px; }
.qr-scanner .scanline {
  position: absolute;
  left: 14px; right: 14px; top: 14px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-teal), transparent);
  box-shadow: 0 0 16px var(--primary-teal), 0 0 32px var(--primary-teal);
  animation: scan-move 2.4s ease-in-out infinite;
}
@keyframes scan-move {
  0% { top: 14px; }
  50% { top: calc(100% - 16px); }
  100% { top: 14px; }
}
.qr-result {
  margin-top: 14px;
  background: oklch(0.06 0.014 260);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px;
  animation: qr-result-in 0.4s ease-in-out infinite alternate;
}
@keyframes qr-result-in { from { box-shadow: 0 0 0 oklch(0.64 0.195 255 / 0); } to { box-shadow: 0 0 14px oklch(0.64 0.195 255 / 0.35); } }
.qr-result .code { font-family: var(--font-mono); color: var(--primary-teal); }
.qr-result .name { color: var(--fg-soft); }

/* Kanban demo */
.kanban-demo {
  margin-top: 18px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
  min-height: 290px;
}
.kanban-col {
  background: oklch(0.06 0.014 260);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  display: flex; flex-direction: column; gap: 10px;
  min-width: 0;
}
.kanban-col .col-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  font-weight: 600;
  padding: 4px 4px 8px;
  border-bottom: 1px solid var(--border);
}
.kanban-col .col-head .count {
  background: oklch(0.155 0.022 258);
  padding: 2px 7px;
  border-radius: 999px;
  color: var(--fg-soft);
  font-size: 10.5px;
}
.kanban-card {
  background: oklch(0.13 0.022 260);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  padding: 9px 10px;
  font-size: 12px;
  display: flex; flex-direction: column; gap: 4px;
  transition: transform 0.45s cubic-bezier(.7,.2,.3,1), opacity 0.3s;
}
.kanban-card.accent-teal { border-left-color: var(--primary-teal); }
.kanban-card.accent-spark { border-left-color: var(--spark); }
.kanban-card.accent-green { border-left-color: var(--success); }
.kanban-card.accent-violet { border-left-color: oklch(0.6 0.2 310); }
.kanban-card .plate-mini {
  font-family: var(--font-plate);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-soft);
  font-weight: 700;
}
.kanban-card .veic {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--fg);
}
.kanban-card .meta {
  font-size: 10.5px;
  color: var(--fg-muted);
  display: flex; gap: 6px; align-items: center;
}
.kanban-card .progress {
  height: 3px; border-radius: 999px;
  background: oklch(0.2 0.02 258);
  overflow: hidden;
  margin-top: 2px;
}
.kanban-card .progress > div {
  height: 100%;
  background: var(--primary);
  transition: width 1.2s ease;
}
.kanban-card.moving { animation: kanban-pop 0.6s ease both; }
@keyframes kanban-pop {
  0% { transform: scale(1.06); box-shadow: 0 0 0 oklch(0.64 0.195 255 / 0); }
  60% { transform: scale(1.06); box-shadow: 0 0 24px oklch(0.64 0.195 255 / 0.5); }
  100% { transform: scale(1); box-shadow: none; }
}
@media (max-width: 900px) {
  .kanban-demo { grid-template-columns: repeat(2, 1fr); min-height: auto; }
}

/* =================== Pilares =================== */
.pillars { display: flex; flex-direction: column; gap: 96px; }
.pillar {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.pillar.flip { grid-template-columns: 1.15fr 1fr; }
.pillar.flip .pillar-copy { order: 2; }
.pillar.flip .pillar-visual { order: 1; }
@media (max-width: 1000px) {
  .pillar, .pillar.flip { grid-template-columns: 1fr; gap: 36px; }
  .pillar.flip .pillar-copy { order: 1; }
  .pillar.flip .pillar-visual { order: 2; }
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}
.pillar-copy h2 { margin-top: 14px; }
.pillar-copy h2 .ico {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: color-mix(in oklch, var(--primary) 15%, transparent);
  color: var(--primary);
  margin-right: 14px;
  vertical-align: middle;
}
.pillar-copy h2 .ico i { width: 24px; height: 24px; }
.pillar-copy p.lead { margin-top: 22px; font-size: 17px; color: var(--fg-soft); line-height: 1.55; }
.pillar-copy .features { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.pillar-copy .features li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 14.5px;
}
.pillar-copy .features .ic {
  width: 28px; height: 28px;
  flex-shrink: 0;
  border-radius: 8px;
  display: grid; place-items: center;
  background: color-mix(in oklch, var(--primary) 14%, transparent);
  color: var(--primary);
  margin-top: 2px;
}
.pillar-copy .features .ic i { width: 16px; height: 16px; }
.pillar-copy .features strong { display: block; font-weight: 600; color: var(--fg); }
.pillar-copy .features p { color: var(--fg-soft); margin-top: 2px; font-size: 13.5px; }
.pillar-copy ul { list-style: none; padding: 0; margin: 0; }

/* Pillar visual · diferentes mocks por pilar */
.pillar-visual { position: relative; }
.mock-frame {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.mock-frame .winbar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: oklch(0.06 0.018 260);
  border-bottom: 1px solid var(--border);
}
.mock-frame .winbar .dot { width: 9px; height: 9px; border-radius: 50%; background: oklch(0.4 0.02 258); }
.mock-frame .winbar .label { margin-left: 8px; font-size: 11px; color: var(--fg-muted); }

/* Pilar 1 · Entrada de Veículos / Kanban */
.pillar-visual .reception {
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.reception .photo-slot {
  aspect-ratio: 4/3;
  background:
    repeating-linear-gradient(135deg, oklch(0.18 0.02 258) 0 6px, oklch(0.15 0.02 258) 6px 12px);
  border-radius: 10px;
  display: grid; place-items: center;
  position: relative;
  border: 1px solid var(--border);
}
.reception .photo-slot.shot { background: linear-gradient(135deg, oklch(0.20 0.02 258), oklch(0.12 0.02 258)); border-color: var(--success); }
.reception .photo-slot .lab {
  position: absolute;
  bottom: 8px; left: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  background: oklch(0.04 0.014 260 / 0.8);
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--fg-soft);
  letter-spacing: 0.04em;
}
.reception .photo-slot .check {
  position: absolute;
  top: 8px; right: 8px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--success);
  color: white;
  display: grid; place-items: center;
}
.reception .photo-slot .check i { width: 14px; height: 14px; }

/* Pilar 2 · Painel de decisão / orçamento */
.budget-mock { padding: 18px; }
.budget-mock .head-row {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 12px; margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.budget-mock .plate-fake {
  font-family: var(--font-plate);
  background: linear-gradient(180deg, oklch(0.96 0.005 258), oklch(0.86 0.01 258));
  color: oklch(0.18 0.05 258);
  padding: 5px 10px; border-radius: 6px;
  font-size: 13px; letter-spacing: 0.05em;
  border: 1px solid oklch(0.55 0.04 258);
}
.budget-mock .veic-info { display: flex; flex-direction: column; line-height: 1.2; font-size: 12.5px; }
.budget-mock .veic-info .nm { font-weight: 600; }
.budget-mock .veic-info .sub { color: var(--fg-muted); font-size: 11.5px; }
.budget-mock .scenarios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.budget-mock .scenario {
  background: oklch(0.06 0.014 260);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  position: relative;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}
.budget-mock .scenario.active { border-color: color-mix(in oklch, var(--primary) 65%, transparent); background: color-mix(in oklch, var(--primary) 6%, oklch(0.06 0.014 260)); }
.budget-mock .scenario .lab { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-muted); }
.budget-mock .scenario .v { font-family: var(--font-mono); font-feature-settings: "tnum"; font-size: 15px; font-weight: 700; margin-top: 4px; }
.budget-mock .scenario .d { font-size: 10.5px; color: var(--fg-muted); margin-top: 2px; }
.budget-mock .items-table {
  font-size: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.budget-mock .items-table .item {
  display: grid;
  grid-template-columns: 1fr 50px 80px;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.budget-mock .items-table .item:last-child { border-bottom: none; background: oklch(0.06 0.014 260); }
.budget-mock .items-table .item .nm { color: var(--fg-soft); }
.budget-mock .items-table .item .qty { font-family: var(--font-mono); color: var(--fg-muted); text-align: right; font-size: 11px; }
.budget-mock .items-table .item .pr { font-family: var(--font-mono); font-weight: 600; text-align: right; font-feature-settings: "tnum"; }
.budget-mock .items-table .item.total { font-weight: 700; }
.budget-mock .items-table .item.total .pr { color: var(--primary); font-size: 13.5px; }
.budget-mock .items-table .item .tag {
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 4px;
  margin-right: 6px;
  background: color-mix(in oklch, var(--primary) 16%, transparent);
  color: var(--primary);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}
.budget-mock .items-table .item .tag.peca { background: color-mix(in oklch, var(--spark) 18%, transparent); color: var(--spark); }

/* Pilar 3 · Painel financeiro */
.finance-mock { padding: 18px; }
.finance-mock .kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.finance-mock .kpi {
  background: oklch(0.06 0.014 260);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
}
.finance-mock .kpi .lab { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-muted); }
.finance-mock .kpi .v { font-family: var(--font-mono); font-weight: 700; font-size: 15px; margin-top: 4px; }
.finance-mock .kpi.pos .v { color: var(--success); }
.finance-mock .kpi.neg .v { color: var(--danger); }
.finance-mock .flow-chart {
  background: oklch(0.06 0.014 260);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  position: relative;
  height: 200px;
}
.finance-mock .flow-chart .ttl {
  font-size: 11px; color: var(--fg-soft);
  display: flex; justify-content: space-between;
  margin-bottom: 10px;
}
.finance-mock .flow-chart .ttl .legend {
  display: flex; gap: 12px;
  font-size: 10.5px; color: var(--fg-muted);
}
.finance-mock .flow-chart .ttl .legend span { display: flex; align-items: center; gap: 4px; }
.finance-mock .flow-chart .ttl .legend i { width: 8px; height: 8px; border-radius: 2px; }
.finance-mock .flow-chart svg { width: 100%; height: 150px; }

/* =================== Comparativo =================== */
.compare-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  position: relative;
}
@media (max-width: 900px) { .compare-grid { grid-template-columns: 1fr; } }
.compare-card {
  border-radius: 18px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}
.compare-card.before {
  background:
    radial-gradient(120% 80% at 0% 0%, oklch(0.15 0.05 30 / 0.3), transparent),
    oklch(0.09 0.012 30);
  border: 1px solid oklch(0.3 0.06 28 / 0.5);
}
.compare-card.after {
  background:
    radial-gradient(120% 80% at 100% 0%, oklch(0.18 0.1 258 / 0.35), transparent),
    oklch(0.10 0.018 260);
  border: 1px solid color-mix(in oklch, var(--primary) 35%, transparent);
}
.compare-card .head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 24px;
}
.compare-card .head .badge {
  font-family: var(--font-mono); font-size: 11px;
  padding: 6px 12px; border-radius: 999px;
  letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600;
}
.compare-card.before .head .badge { background: oklch(0.3 0.07 30 / 0.5); color: oklch(0.85 0.13 50); }
.compare-card.after .head .badge { background: color-mix(in oklch, var(--primary) 22%, transparent); color: var(--primary); }
.compare-card h3 { font-size: 1.5rem; }
.compare-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.compare-card li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; }
.compare-card .mark {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid; place-items: center;
  margin-top: 1px;
}
.compare-card.before .mark { background: oklch(0.3 0.08 28 / 0.4); color: oklch(0.78 0.18 35); }
.compare-card.after .mark { background: color-mix(in oklch, var(--success) 22%, transparent); color: var(--success); }
.compare-card .mark i { width: 13px; height: 13px; }
.compare-card.before li { color: var(--fg-soft); }

/* =================== Modules table =================== */
.modules-wrap {
  background: linear-gradient(180deg, oklch(0.11 0.02 260) 0%, oklch(0.085 0.018 260) 100%);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
}
.modules-wrap .head {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.modules-wrap .head h3 { font-size: 1.1rem; }
.modules-wrap .head .meta { font-size: 12px; color: var(--fg-muted); font-family: var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; }
.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.module-cell {
  padding: 22px 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 8px;
  transition: background 0.2s;
  position: relative;
}
.module-cell:hover { background: oklch(1 0 0 / 0.025); }
.module-cell:nth-child(4n) { border-right: none; }
.module-cell .icon-tile {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: color-mix(in oklch, var(--primary) 12%, transparent);
  color: var(--primary);
  margin-bottom: 4px;
}
.module-cell .icon-tile i { width: 18px; height: 18px; }
.module-cell h4 { font-size: 14.5px; font-weight: 600; margin: 0; }
.module-cell p { font-size: 12.5px; color: var(--fg-muted); line-height: 1.45; }
@media (max-width: 900px) {
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .module-cell:nth-child(4n) { border-right: 1px solid var(--border); }
  .module-cell:nth-child(2n) { border-right: none; }
}
@media (max-width: 560px) {
  .modules-grid { grid-template-columns: 1fr; }
  .module-cell { border-right: none !important; }
}

/* =================== Cases (placeholders) =================== */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .cases-grid { grid-template-columns: 1fr; } }
.case-card {
  background: linear-gradient(180deg, oklch(0.13 0.02 260) 0%, oklch(0.09 0.018 260) 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  position: relative;
  overflow: hidden;
}
.case-card .quote-mark {
  position: absolute;
  top: 18px; right: 22px;
  font-family: var(--font-display);
  font-size: 60px;
  color: color-mix(in oklch, var(--primary) 35%, transparent);
  line-height: 1;
  font-weight: 700;
}
.case-card .case-photo {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  background:
    repeating-linear-gradient(135deg, oklch(0.16 0.02 258) 0 8px, oklch(0.13 0.02 258) 8px 16px);
  border: 1px solid var(--border);
  display: flex; align-items: end; padding: 12px;
  margin-bottom: 18px;
  position: relative;
}
.case-card .case-photo .ph-label {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-muted);
  background: oklch(0.04 0.014 260 / 0.8);
  padding: 4px 8px;
  border-radius: 4px;
}
.case-card blockquote {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-soft);
}
.case-card .author {
  margin-top: 18px;
  display: flex; align-items: center; gap: 12px;
}
.case-card .author .av {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  display: grid; place-items: center;
  color: white; font-weight: 700; font-size: 14px;
}
.case-card .author .nm { font-weight: 600; font-size: 13.5px; }
.case-card .author .role { font-size: 12px; color: var(--fg-muted); }
.case-card .metrics {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
  margin-top: 20px; padding-top: 20px;
  border-top: 1px solid var(--border);
}
.case-card .metric .v { font-family: var(--font-mono); font-size: 22px; font-weight: 700; color: var(--primary); }
.case-card .metric .l { font-size: 11px; color: var(--fg-muted); margin-top: 2px; }

/* =================== Final CTA =================== */
.final-cta {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.final-cta .inner {
  position: relative;
  background:
    radial-gradient(80% 80% at 0% 0%, oklch(0.48 0.22 262 / 0.4), transparent 60%),
    radial-gradient(60% 60% at 100% 100%, oklch(0.74 0.13 195 / 0.25), transparent 60%),
    oklch(0.10 0.022 262);
  border: 1px solid color-mix(in oklch, var(--primary) 35%, transparent);
  border-radius: 28px;
  padding: 64px 56px;
  text-align: center;
  overflow: hidden;
}
.final-cta .inner::before, .final-cta .inner::after {
  content: ""; position: absolute;
  width: 200%; height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in oklch, var(--primary-teal) 70%, transparent), transparent);
}
.final-cta .inner::before { top: 24%; left: -50%; transform: rotate(-6deg); opacity: 0.4; }
.final-cta .inner::after { bottom: 28%; left: -50%; transform: rotate(4deg); opacity: 0.3; }
.final-cta h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; }
.final-cta p.sub { color: var(--fg-soft); font-size: 17px; max-width: 580px; margin: 0 auto; }
.final-cta .actions { margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.final-cta .micro {
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--fg-muted);
  display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
}
.final-cta .micro span { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 700px) {
  .final-cta .inner { padding: 44px 22px; }
}

/* =================== Footer =================== */
footer {
  border-top: 1px solid var(--border);
  background: oklch(0.06 0.014 260);
  padding: 64px 0 28px;
}
footer .grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 900px) { footer .grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 560px) { footer .grid { grid-template-columns: 1fr; } }
footer .brand-col img { width: 40px; height: 40px; }
footer .brand-col h4 { font-size: 17px; margin: 12px 0 8px; }
footer .brand-col p { color: var(--fg-muted); font-size: 13.5px; max-width: 320px; line-height: 1.55; }
footer h5 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--fg-muted); margin: 0 0 14px; font-weight: 600; }
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
footer li a { font-size: 13.5px; color: var(--fg-soft); transition: color 0.15s; }
footer li a:hover { color: var(--fg); }
footer .bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--fg-muted);
  flex-wrap: wrap; gap: 12px;
}
footer .bottom .legal { display: flex; gap: 20px; }

/* =================== Floating WhatsApp =================== */
.wa-float {
  position: fixed;
  bottom: 20px; right: 20px;
  z-index: 200;
  display: flex; align-items: center; gap: 9px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: white;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  font-weight: 600; font-size: 13px;
  box-shadow: 0 12px 30px rgb(0 0 0 / 0.4), 0 0 24px oklch(0.65 0.16 150 / 0.35);
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgb(0 0 0 / 0.5), 0 0 36px oklch(0.65 0.16 150 / 0.55); }
.wa-float .ico {
  width: 30px; height: 30px;
  background: white;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #128c7e;
  position: relative;
}
.wa-float .ico::before {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid rgb(255 255 255 / 0.4);
  animation: wa-pulse 1.8s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}
.wa-float .ico svg { width: 18px; height: 18px; }
@media (max-width: 540px) {
  .wa-float .label { display: none; }
  .wa-float { padding: 10px; }
}

/* =================== Reveal on scroll =================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.7,.2,.3,1), transform 0.7s cubic-bezier(.7,.2,.3,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }
.reveal.delay-4 { transition-delay: 0.32s; }
.reveal.delay-5 { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
