/* =================================================================
   LP Observabilidade Open Source — Green theme over OpServices tokens
   Primary  #17b26a  ·  Support #5ec489  ·  Base escura #15181c  ·  Branco
   Layered ON TOP of colors_and_type.css (which is loaded first).
   ================================================================= */

:root {
  /* ---- Green ramp (campaign primary) ---- */
  --g-50:  #e9f9f1;
  --g-100: #c9efdb;
  --g-200: #97e2bc;
  --g-300: #5ec489;   /* support / secondary */
  --g-400: #34bd7c;
  --g-500: #17b26a;   /* PRIMARY */
  --g-600: #109257;
  --g-700: #0d7546;
  --g-800: #0a5836;
  --g-900: #073d26;

  /* ---- Ink (base escura) ---- */
  --ink:    #15181c;   /* dark stage */
  --ink-1:  #181c21;
  --ink-2:  #1c2127;   /* panel */
  --ink-3:  #232932;   /* raised panel / hover */
  --ink-line: rgba(255,255,255,0.09);
  --ink-line-2: rgba(255,255,255,0.06);

  /* ---- Remap brand accent → green for this LP ---- */
  --fg-accent: var(--g-500);
  --fg-link:   var(--g-700);
  --border-focus: var(--g-500);
  --sh-focus: 0 0 0 4px rgba(23,178,106,0.28);
  --sh-glow-green: 0 0 48px rgba(23,178,106,0.32);

  /* light surfaces with a faint green-neutral tint */
  --surface-tint: #f4f8f6;
  --surface-tint-2: #eef4f1;

  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-page);
  color: var(--fg-2);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

/* eyebrow → green */
.eyebrow { color: var(--g-600); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
@media (max-width: 768px){ .section { padding: 56px 0; } }

.eyebrow {
  font-weight: 700; font-size: var(--fs-12);
  letter-spacing: var(--ls-eyebrow); text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before {
  content: ""; width: 18px; height: 2px; background: var(--g-500); border-radius: 2px;
}
.eyebrow.on-dark { color: var(--g-300); }
.eyebrow.on-dark::before { background: var(--g-300); }

.section-head { max-width: 720px; }
.section-head h2 { margin: 14px 0 0; }
.section-head p { margin: 14px 0 0; font-size: var(--fs-18); color: var(--fg-2); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* =================================================================
   BUTTONS
   ================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: var(--fs-16); line-height: 1;
  padding: 15px 26px; border-radius: var(--r-md); border: 1px solid transparent;
  transition: background var(--dur-base) var(--ease-standard),
              box-shadow var(--dur-base) var(--ease-standard),
              transform var(--dur-fast) var(--ease-standard),
              border-color var(--dur-base) var(--ease-standard);
  white-space: nowrap; text-decoration: none;
}
.btn:focus-visible { outline: none; box-shadow: var(--sh-focus); }
.btn-primary { background: var(--g-500); color: #fff; box-shadow: 0 6px 18px rgba(23,178,106,0.25); }
.btn-primary:hover { background: var(--g-600); opacity: 1; }
.btn-primary:active { transform: translateY(1px); }
.btn-lg { padding: 18px 32px; font-size: var(--fs-18); }
.btn-block { width: 100%; }

.btn-wa { background: #1f2d27; color: #eafff3; border: 1px solid rgba(94,196,137,0.35); }
.btn-wa:hover { background: #25382f; opacity: 1; }
.btn-wa.on-light { background: #fff; color: var(--g-700); border: 1px solid var(--border-strong); }
.btn-wa.on-light:hover { background: var(--surface-tint); }

.btn-ghost-dark { background: rgba(255,255,255,0.04); color: #fff; border: 1px solid var(--ink-line); }
.btn-ghost-dark:hover { background: rgba(255,255,255,0.08); opacity: 1; }

/* =================================================================
   HEADER
   ================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--ink);
  transition: background var(--dur-base) var(--ease-standard),
              box-shadow var(--dur-base) var(--ease-standard),
              border-color var(--dur-base) var(--ease-standard);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(21,24,28,0.82);
  backdrop-filter: blur(12px) saturate(1.1);
  border-bottom: 1px solid var(--ink-line);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand-lockup { display: flex; align-items: center; gap: 12px; }
.brand-seal {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600; color: #cdd6df;
  padding: 5px 11px; border-radius: var(--r-pill);
  border: 1px solid var(--ink-line); background: rgba(255,255,255,0.03);
  white-space: nowrap;
}
.brand-seal .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--g-400); box-shadow: 0 0 0 3px rgba(52,189,124,0.18); }
.header-cta { display: flex; align-items: center; gap: 12px; }
@media (max-width: 640px){
  .brand-seal { display: none; }
  .header-cta .header-phone { display: none; }
}

/* =================================================================
   HERO
   ================================================================= */
.hero { position: relative; background: var(--ink); color: #e7edf2; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(23,178,106,0.18), transparent 60%),
    radial-gradient(760px 520px at 100% 8%, rgba(94,196,137,0.10), transparent 62%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 30% 30%, #000, transparent 75%);
          mask-image: radial-gradient(circle at 30% 30%, #000, transparent 75%);
}
.hero-inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 56px 24px 72px; }

.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center; }
.hero h1 {
  color: #fff; font-size: clamp(2.4rem, 4.4vw, 3.65rem); line-height: 1.05;
  letter-spacing: -0.025em; margin: 18px 0 0; text-wrap: balance;
}
.hero h1 .accent { color: var(--g-400); }
.hero-sub { margin: 20px 0 0; font-size: var(--fs-18); line-height: 1.6; color: #aeb9c4; max-width: 560px; }
.hero-sub strong { color: #dde6ee; font-weight: 600; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-14); font-weight: 600; color: #c6d0da;
  padding: 8px 13px; border-radius: var(--r-pill);
  background: rgba(255,255,255,0.04); border: 1px solid var(--ink-line);
}
.trust-chip i { color: var(--g-400); font-size: 17px; }
.hero-microcopy { margin-top: 18px; font-size: var(--fs-14); color: #8b96a1; }
.hero-microcopy b { color: var(--g-300); font-weight: 600; }

/* layout variants driven by data-hero on the section */
.hero[data-hero="centered"] .hero-grid { grid-template-columns: 1fr; max-width: 860px; margin: 0 auto; text-align: center; }
.hero[data-hero="centered"] .hero-visual { display: none; }
.hero[data-hero="centered"] .hero-sub { margin-left: auto; margin-right: auto; }
.hero[data-hero="centered"] .hero-ctas,
.hero[data-hero="centered"] .hero-trust { justify-content: center; }
.hero[data-hero="centered"] .hero-form-wrap { max-width: 560px; margin: 36px auto 0; text-align: left; }

@media (max-width: 940px){
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
}

/* =================================================================
   FORM CARD
   ================================================================= */
.form-card {
  background: #fff; border-radius: var(--r-xl); padding: 26px;
  box-shadow: var(--sh-4); border: 1px solid rgba(255,255,255,0.6);
  color: var(--fg-2);
}
.form-card .fc-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 6px; }
.form-card .fc-badge {
  flex: none; width: 42px; height: 42px; border-radius: var(--r-md);
  display: grid; place-items: center; background: var(--g-50); color: var(--g-600); font-size: 22px;
}
.form-card h3 { font-size: var(--fs-20); margin: 0; color: var(--fg-1); }
.form-card .fc-sub { font-size: var(--fs-14); color: var(--fg-3); margin: 3px 0 0; }
.form-row { margin-top: 14px; }
.form-row label { display: block; font-size: var(--fs-14); font-weight: 600; color: var(--fg-2); margin-bottom: 6px; }
.form-row input {
  width: 100%; font-family: inherit; font-size: var(--fs-16); color: var(--fg-1);
  padding: 13px 14px; border-radius: var(--r-md); border: 1px solid var(--border-strong);
  background: var(--bg-page); transition: border-color var(--dur-base), box-shadow var(--dur-base);
}
.form-row input::placeholder { color: var(--op-gray-400); }
.form-row input:focus { outline: none; border-color: var(--g-500); box-shadow: var(--sh-focus); }
.form-row textarea {
  width: 100%; font-family: inherit; font-size: var(--fs-16); color: var(--fg-1);
  padding: 13px 14px; border-radius: var(--r-md); border: 1px solid var(--border-strong);
  background: var(--bg-page); resize: vertical; min-height: 82px; line-height: 1.5;
  transition: border-color var(--dur-base), box-shadow var(--dur-base);
}
.form-row textarea::placeholder { color: var(--op-gray-400); }
.form-row textarea:focus { outline: none; border-color: var(--g-500); box-shadow: var(--sh-focus); }
.form-row input.err { border-color: var(--op-crit); }
.form-row .err-msg { color: var(--op-crit); font-size: var(--fs-12); margin-top: 5px; display: none; }
.form-row input.err + .err-msg { display: block; }
.form-card .fc-foot { margin-top: 14px; font-size: var(--fs-12); color: var(--fg-3); text-align: center; line-height: 1.5; }
.form-card .fc-foot i { color: var(--g-500); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 460px){ .form-grid-2 { grid-template-columns: 1fr; } }

/* =================================================================
   SOCIAL PROOF BAR
   ================================================================= */
.proof-bar { background: var(--ink-1); border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); }
.proof-inner { max-width: var(--maxw); margin: 0 auto; padding: 30px 24px; }
.proof-stats { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: center; }
.proof-stat { text-align: center; }
.proof-stat .num { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-30); color: #fff; letter-spacing: -0.02em; }
.proof-stat .num b { color: var(--g-400); }
.proof-stat .lbl { font-size: var(--fs-14); color: #8d98a3; margin-top: 2px; }
.proof-sep { width: 1px; height: 38px; background: var(--ink-line); }
.proof-logos { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; }
.logo-slot {
  height: 64px; min-width: 150px; padding: 8px 16px; border-radius: var(--r-md);
  border: 1px solid var(--ink-line); background: rgba(255,255,255,0.94);
  display: grid; place-items: center;
}
.logo-slot img { max-height: 44px; max-width: 132px; width: auto; object-fit: contain; }
.proof-caption { text-align: center; margin-top: 16px; font-size: var(--fs-12); color: #6b7682; letter-spacing: 0.04em; text-transform: uppercase; }
@media (max-width: 640px){ .proof-sep { display: none; } }

/* =================================================================
   GENERIC CARD + GRIDS
   ================================================================= */
.card {
  background: #fff; border: 1px solid var(--border-subtle); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--sh-1);
  transition: box-shadow var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard);
}
.card:hover { box-shadow: var(--sh-3); border-color: var(--border-strong); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 940px){ .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.svc-icon {
  width: 52px; height: 52px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--g-50); color: var(--g-600); font-size: 27px; margin-bottom: 18px;
}
.svc-card h3 { margin: 0 0 8px; font-size: var(--fs-20); }
.svc-card p { margin: 0; font-size: var(--fs-16); }
.svc-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.tag {
  font-size: var(--fs-12); font-weight: 600; color: var(--g-700);
  background: var(--g-50); border: 1px solid var(--g-100); padding: 4px 10px; border-radius: var(--r-pill);
}
.svc-num { font-family: var(--font-mono); font-size: var(--fs-12); color: var(--fg-4); margin-bottom: 14px; }

/* dor / pain section */
.section.dark { background: var(--ink); color: #cdd6df; }
.section.tinted { background: var(--surface-tint); }
.pain-card {
  background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--r-lg); padding: 26px;
}
.pain-card .pi { width: 46px; height: 46px; border-radius: var(--r-md); display: grid; place-items: center; background: rgba(23,178,106,0.14); color: var(--g-300); font-size: 23px; margin-bottom: 16px; }
.pain-card h3 { color: #fff; font-size: var(--fs-20); margin: 0 0 8px; }
.pain-card p { color: #99a4af; font-size: var(--fs-16); margin: 0; }

/* "por que" feature list */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 40px; }
@media (max-width: 760px){ .why-grid { grid-template-columns: 1fr; } }
.why-item { display: flex; gap: 16px; align-items: flex-start; padding: 6px 0; }
.why-item .wi { flex: none; width: 44px; height: 44px; border-radius: var(--r-md); display: grid; place-items: center; background: rgba(23,178,106,0.14); color: var(--g-300); font-size: 22px; }
.why-item h3 { color: #fff; font-size: var(--fs-18); margin: 2px 0 5px; }
.why-item p { color: #98a3ae; font-size: var(--fs-14); margin: 0; line-height: 1.55; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; counter-reset: step; }
@media (max-width: 760px){ .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 28px; background: #fff; border: 1px solid var(--border-subtle); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.step .step-n { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-48); line-height: 1; color: var(--g-200); letter-spacing: -0.03em; }
.step h3 { margin: 10px 0 8px; font-size: var(--fs-20); }
.step p { margin: 0; font-size: var(--fs-16); }
.step .step-icn { position: absolute; top: 28px; right: 28px; font-size: 26px; color: var(--g-500); }

/* =================================================================
   COMPARISON TABLE
   ================================================================= */
.cmp-wrap { overflow-x: auto; border-radius: var(--r-xl); border: 1px solid var(--ink-line); box-shadow: var(--sh-4); }
.cmp { width: 100%; border-collapse: collapse; min-width: 720px; background: var(--ink-2); color: #cfd8e0; }
.cmp th, .cmp td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--ink-line); font-size: var(--fs-16); }
.cmp thead th { font-size: var(--fs-14); text-transform: uppercase; letter-spacing: 0.06em; color: #8c97a2; font-weight: 700; background: var(--ink-1); vertical-align: bottom; }
.cmp thead th.col-op { color: #fff; background: rgba(23,178,106,0.12); border-bottom: 2px solid var(--g-500); position: relative; }
.cmp .col-op-tag { display: inline-block; font-size: 11px; font-weight: 700; color: #15181c; background: var(--g-400); padding: 3px 9px; border-radius: var(--r-pill); letter-spacing: 0.02em; margin-bottom: 7px; text-transform: none; }
.cmp tbody th { font-weight: 600; color: #e7edf2; }
.cmp td.op { background: rgba(23,178,106,0.06); color: #eafff3; font-weight: 600; }
.cmp td .yes { color: var(--g-400); }
.cmp td .no { color: #e06b62; }
.cmp td .mid { color: var(--op-warn); }
.cmp i.ci { font-size: 19px; vertical-align: -3px; margin-right: 7px; }
.cmp tbody tr:last-child td, .cmp tbody tr:last-child th { border-bottom: none; }

/* =================================================================
   CASES / TESTIMONIALS
   ================================================================= */
.case-card { background: #fff; border: 1px solid var(--border-subtle); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); display: flex; flex-direction: column; transition: box-shadow var(--dur-base), border-color var(--dur-base); }
.case-card:hover { box-shadow: var(--sh-3); border-color: var(--border-strong); }
.case-body { padding: 28px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.case-qmark { color: var(--g-300); font-size: 30px; line-height: 0.6; }
.case-quote { font-size: var(--fs-18); color: var(--fg-1); line-height: 1.5; font-weight: 500; }
.case-attrib { display: flex; align-items: center; gap: 13px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--border-subtle); }
.case-photo { position: relative; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex: none; border: 1px solid var(--border-subtle); background: var(--g-100); display: grid; place-items: center; }
.case-photo .ca-initials { font-family: var(--font-display); font-weight: 800; color: var(--g-700); font-size: 16px; letter-spacing: -0.01em; }
.case-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-attrib .ca-name { font-weight: 700; color: var(--fg-1); font-size: var(--fs-16); }
.case-attrib .ca-role { font-size: var(--fs-14); color: var(--g-700); font-weight: 600; }

/* =================================================================
   OFFER / ISCA
   ================================================================= */
.offer { position: relative; background: var(--ink); color: #e7edf2; border-radius: var(--r-2xl); overflow: hidden; border: 1px solid var(--ink-line); }
.offer::before { content:""; position:absolute; inset:0; background: radial-gradient(620px 300px at 88% 0%, rgba(23,178,106,0.22), transparent 60%); pointer-events:none; }
.offer-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; padding: 48px; align-items: center; }
@media (max-width: 860px){ .offer-inner { grid-template-columns: 1fr; padding: 32px; } }
.offer h2 { color: #fff; }
.offer ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.offer li { display: flex; gap: 12px; align-items: flex-start; color: #c2cdd6; font-size: var(--fs-16); }
.offer li i { color: var(--g-400); font-size: 20px; flex: none; margin-top: 1px; }
.offer-badge { display:inline-flex; align-items:center; gap:8px; font-size: var(--fs-14); font-weight:700; color: var(--g-300); background: rgba(23,178,106,0.12); border:1px solid rgba(23,178,106,0.28); padding:7px 14px; border-radius: var(--r-pill); }

/* =================================================================
   FAQ
   ================================================================= */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--border-subtle); border-radius: var(--r-lg); background: #fff; overflow: hidden; transition: border-color var(--dur-base), box-shadow var(--dur-base); }
.faq-item.open { border-color: var(--g-300); box-shadow: var(--sh-2); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: var(--fs-18); font-weight: 600; color: var(--fg-1); }
.faq-q .fq-icn { flex: none; color: var(--g-500); font-size: 22px; transition: transform var(--dur-base) var(--ease-standard); }
.faq-item.open .fq-icn { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--dur-slow) var(--ease-standard); }
.faq-a-inner { padding: 0 22px 22px; font-size: var(--fs-16); color: var(--fg-2); line-height: 1.6; }

/* =================================================================
   CTA FINAL
   ================================================================= */
.cta-final { background: var(--ink); color: #e7edf2; position: relative; overflow: hidden; }
.cta-final::before { content:""; position:absolute; inset:0; background: radial-gradient(800px 380px at 50% -20%, rgba(23,178,106,0.18), transparent 60%); pointer-events:none; }
.cta-final-inner { position: relative; z-index:1; display:grid; grid-template-columns: 1fr 0.85fr; gap: 48px; align-items:center; }
@media (max-width: 940px){ .cta-final-inner { grid-template-columns: 1fr; gap: 32px; } }
.cta-final h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.9rem); }
.cta-final p { color: #aeb9c4; font-size: var(--fs-18); margin-top: 14px; }

/* =================================================================
   FOOTER
   ================================================================= */
.site-footer { background: var(--ink-1); color: #8d98a3; border-top: 1px solid var(--ink-line); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 40px 24px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.footer-meta { font-size: var(--fs-14); line-height: 1.6; color: #b9c3cd; }
.footer-meta a { color: var(--g-300); }
.footer-legal { font-size: var(--fs-12); color: #5f6b76; }

/* =================================================================
   STICKY CTA BAR (mobile + on-scroll)
   ================================================================= */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: rgba(21,24,28,0.92); backdrop-filter: blur(12px);
  border-top: 1px solid var(--ink-line);
  padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  transform: translateY(110%); transition: transform var(--dur-base) var(--ease-standard);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .sc-txt { color: #fff; font-weight: 600; font-size: var(--fs-14); }
.sticky-cta .sc-txt span { display: block; color: var(--g-300); font-size: var(--fs-12); font-weight: 500; }
@media (max-width: 560px){ .sticky-cta .sc-txt { display: none; } .sticky-cta .btn { flex: 1; } }

/* =================================================================
   WHATSAPP FLOAT
   ================================================================= */
.wa-float {
  position: fixed; right: 20px; bottom: 84px; z-index: 65;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; font-size: 30px; text-decoration: none;
  box-shadow: 0 10px 28px rgba(37,211,102,0.45); transition: transform var(--dur-base) var(--ease-standard);
}
.wa-float:hover { transform: scale(1.07); opacity: 1; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(37,211,102,0.5); animation: wa-pulse 2.4s infinite;
}
@keyframes wa-pulse { 0%{ box-shadow: 0 0 0 0 rgba(37,211,102,0.45);} 70%{ box-shadow: 0 0 0 16px rgba(37,211,102,0);} 100%{ box-shadow: 0 0 0 0 rgba(37,211,102,0);} }
@media (max-width: 560px){ .wa-float { bottom: 76px; right: 14px; width: 52px; height: 52px; font-size: 27px; } }

/* =================================================================
   GRAFANA-LIKE DASHBOARD (drawn in CSS)
   ================================================================= */
.dash {
  background: #16191e; border: 1px solid var(--ink-line); border-radius: var(--r-lg);
  box-shadow: var(--sh-4); overflow: hidden; font-family: var(--font-sans);
}
.dash-top { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: #1b1f25; border-bottom: 1px solid var(--ink-line); }
.dash-dots { display: flex; gap: 6px; }
.dash-dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.dash-title { font-size: 12px; color: #9aa6b1; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.dash-title .live { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; color: var(--g-400); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.dash-title .live::before { content:""; width: 6px; height: 6px; border-radius: 50%; background: var(--g-400); box-shadow: 0 0 0 3px rgba(52,189,124,0.2); animation: blink 1.8s infinite; }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.35;} }
.dash-time { margin-left: auto; font-size: 11px; color: #6b7682; font-family: var(--font-mono); }
.dash-body { padding: 14px; display: grid; gap: 12px; }
.dash-row { display: grid; gap: 12px; }
.dash-row.r-3 { grid-template-columns: repeat(3,1fr); }
.dash-row.r-2 { grid-template-columns: 1.6fr 1fr; }

.panel { background: #1b1f25; border: 1px solid var(--ink-line-2); border-radius: var(--r-sm); padding: 12px; }
.panel-h { font-size: 11px; color: #8a96a1; font-weight: 600; margin-bottom: 9px; display: flex; align-items: center; justify-content: space-between; }
.panel-h .unit { font-family: var(--font-mono); color: #5f6b76; }

.stat-val { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: #fff; letter-spacing: -0.02em; line-height: 1; }
.stat-val.ok { color: var(--g-400); }
.stat-val.warn { color: var(--op-warn); }
.stat-sub { font-size: 10px; color: #6b7682; margin-top: 5px; font-family: var(--font-mono); }
.stat-trend { font-size: 11px; font-weight: 700; }
.stat-trend.up { color: var(--g-400); }
.stat-trend.down { color: #e06b62; }

.spark { display: block; width: 100%; height: 40px; }
.sloline { height: 7px; border-radius: 4px; background: #2a313a; overflow: hidden; margin-top: 8px; }
.sloline > span { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--g-600), var(--g-400)); }

.bars { display: flex; align-items: flex-end; gap: 5px; height: 56px; }
.bars i { flex: 1; border-radius: 2px 2px 0 0; background: linear-gradient(180deg, var(--g-400), var(--g-700)); display: block; }

.legend { display: flex; gap: 14px; margin-top: 9px; }
.legend span { font-size: 10px; color: #8a96a1; display: inline-flex; align-items: center; gap: 5px; }
.legend i { width: 9px; height: 9px; border-radius: 2px; display: block; }

.loglines { display: grid; gap: 5px; font-family: var(--font-mono); font-size: 10.5px; }
.loglines div { display: flex; gap: 8px; white-space: nowrap; overflow: hidden; }
.loglines .t { color: #5f6b76; }
.loglines .lv-ok { color: var(--g-400); }
.loglines .lv-warn { color: var(--op-warn); }
.loglines .lv-info { color: var(--op-cyan-300); }
.loglines .msg { color: #99a4af; overflow: hidden; text-overflow: ellipsis; }

.statuschips { display: flex; flex-wrap: wrap; gap: 6px; }
.schip { font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: var(--r-pill); display: inline-flex; align-items: center; gap: 5px; }
.schip::before { content:""; width: 6px; height: 6px; border-radius: 50%; }
.schip.ok { background: rgba(34,197,94,0.14); color: var(--g-300); } .schip.ok::before { background: var(--g-400); }
.schip.warn { background: rgba(245,165,36,0.14); color: var(--op-warn); } .schip.warn::before { background: var(--op-warn); }
.schip.crit { background: rgba(239,68,68,0.14); color: #f3776f; } .schip.crit::before { background: var(--op-crit); }

.gauge { position: relative; width: 96px; height: 96px; margin: 4px auto 0; }
.gauge svg { transform: rotate(-90deg); }
.gauge .g-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.gauge .g-num { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: #fff; }
.gauge .g-unit { font-size: 9px; color: #6b7682; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease-standard), transform 0.6s var(--ease-standard); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; } }

/* misc utilities */
.text-center { text-align: center; }
.mt-8 { margin-top: 32px; } .mt-10 { margin-top: 40px; } .mt-12 { margin-top: 48px; }
.divider-note { font-size: var(--fs-12); color: var(--fg-4); text-align: center; margin-top: 14px; font-style: italic; }
