/* ==============================================================
   LEDGER PARTNERS — TEMA ESCURO / MODERNO FINANCEIRO
   Paleta: preto profundo + verde-lima/citrus + branco
   Direção visual: dados, modernidade, fintech
   ============================================================== */

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

:root {
  color-scheme: dark;

  --l-bg: #0a0a0a;
  --l-bg-2: #111;
  --l-bg-3: #181818;
  --l-bg-4: #1f1f1f;
  --l-ink: #f5f5f5;
  --l-ink-2: #c4c4c4;
  --l-ink-3: #888;
  --l-ink-4: #8a8a8a;
  --l-line: rgba(255, 255, 255, 0.08);
  --l-line-strong: rgba(255, 255, 255, 0.15);
  --l-primary: #c5e063; /* verde-lima / citrus */
  --l-primary-bright: #d4ed7a;
  --l-primary-soft: rgba(197, 224, 99, 0.15);
  --l-coral: #ff7d6b; /* accent secundário */
  --l-font-serif: 'Cormorant Garamond', georgia, serif;
  --l-font-sans: 'DM Sans', -apple-system, blinkmacsystemfont, sans-serif;
  --l-font-mono: 'JetBrains Mono', monospace;
  --l-step--1: clamp(0.85rem, 0.83rem + 0.1vw, 0.9rem);
  --l-step-0: clamp(1rem, 0.95rem + 0.2vw, 1.075rem);
  --l-step-1: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --l-step-2: clamp(1.45rem, 1.3rem + 0.6vw, 1.75rem);
  --l-step-3: clamp(1.85rem, 1.55rem + 1.2vw, 2.4rem);
  --l-step-4: clamp(2.4rem, 1.9rem + 2vw, 3.4rem);
  --l-step-5: clamp(3rem, 2.3rem + 3vw, 4.6rem);
  --l-gutter: clamp(1.5rem, 8vw, 12rem);
  --l-section-y: clamp(4rem, 3rem + 4vw, 7rem);
  --l-radius: 10px;
  --l-radius-lg: 18px;
  --l-radius-xl: 24px;
  --l-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body.l-body {
  margin: 0;
  font-family: var(--l-font-sans);
  font-size: var(--l-step-0);
  line-height: 1.65;
  color: var(--l-ink);
  background: var(--l-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

:focus-visible {
  outline: 2px solid var(--l-primary);
  outline-offset: 3px;
}

img,
svg {
  max-width: 100%;
  display: block;
}
button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
}
::selection {
  background: var(--l-primary);
  color: var(--l-bg);
}

.l-skip-link {
  position: absolute;
  left: -9999px;
  background: var(--l-primary);
  color: var(--l-bg);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  z-index: 999;
  font-weight: 600;
}
.l-skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.l-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--l-primary), var(--l-coral));
  width: 0;
  z-index: 100;
  transition: width 0.15s var(--l-ease);
}

/* ---------- Container ---------- */
.l-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 8vw, 12rem);
}
.l-container--narrow {
  max-width: 920px;
}

/* ---------- Navigation ---------- */
.l-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.5rem, 8vw, 12rem);
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: all 0.35s var(--l-ease);
}
.l-nav--scrolled {
  background: rgba(10, 10, 10, 0.92);
  border-bottom-color: var(--l-line);
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.l-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--l-font-sans);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: white;
}
.l-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--l-primary);
  color: var(--l-bg);
  border-radius: 10px;
  box-shadow: 0 0 24px rgba(197, 224, 99, 0.3);
}
.l-logo-accent {
  color: var(--l-primary);
}
.l-logo-tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--l-ink-3);
  padding-left: 0.8rem;
  margin-left: 0.4rem;
  border-left: 1.5px solid var(--l-line);
}

.l-nav-links {
  display: flex;
  gap: 0.3rem;
}
.l-nav-links a {
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--l-ink-2);
  border-radius: 8px;
  transition: all 0.25s var(--l-ease);
}
.l-nav-links a:hover {
  color: var(--l-primary);
  background: var(--l-primary-soft);
}
.l-nav-links a.active {
  color: var(--l-primary);
}

.l-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.l-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
}
.l-nav-toggle span {
  height: 2px;
  background: var(--l-ink);
  border-radius: 2px;
  transition: all 0.3s var(--l-ease);
}
.l-nav-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.l-nav-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}
.l-nav-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Buttons ---------- */
.l-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  font-weight: 500;
  font-size: 0.92rem;
  border-radius: 10px;
  transition: all 0.3s var(--l-ease);
  white-space: nowrap;
}
.l-btn--small {
  padding: 0.65rem 1.2rem;
  font-size: 0.85rem;
}
.l-btn--primary {
  background: var(--l-primary);
  color: var(--l-bg);
  font-weight: 600;
  box-shadow: 0 12px 32px -10px rgba(197, 224, 99, 0.5);
}
.l-btn--primary:hover {
  background: var(--l-primary-bright);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px rgba(197, 224, 99, 0.6);
}
.l-btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--l-ink);
  border: 1px solid var(--l-line-strong);
}
.l-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--l-primary);
  color: var(--l-primary);
}
.l-btn--block {
  width: 100%;
  justify-content: center;
  position: relative;
}
.l-btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(10, 10, 10, 0.3);
  border-top-color: var(--l-bg);
  border-radius: 50%;
  animation: l-spin 0.8s linear infinite;
}
.l-btn.loading .l-btn-text {
  opacity: 0;
}
.l-btn.loading .l-btn-spinner {
  display: inline-block;
  position: absolute;
}

@keyframes l-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Sections ---------- */
.l-section {
  position: relative;
  padding: var(--l-section-y) 0;
}
.l-section--alt {
  background: var(--l-bg-2);
}
.l-section--accent {
  background: var(--l-bg);
  position: relative;
  overflow: hidden;
}
.l-root {
  outline: none;
}

/* ---------- Hero ---------- */
.l-hero {
  padding-top: clamp(7rem, 6rem + 4vw, 9rem);
  padding-bottom: clamp(4rem, 3rem + 3vw, 6rem);
  position: relative;
  overflow: hidden;
}
.l-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.l-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(197, 224, 99, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(197, 224, 99, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at top, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at top, black 0%, transparent 70%);
}
.l-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: l-glow 14s ease-in-out infinite;
}
.l-hero-glow--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--l-primary), transparent 70%);
  top: -15%;
  right: -10%;
  opacity: 0.2;
}
.l-hero-glow--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--l-coral), transparent 70%);
  bottom: -20%;
  left: -10%;
  opacity: 0.12;
  animation-delay: -5s;
}

@keyframes l-glow {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, -30px) scale(1.1);
  }
}

.l-hero-grid-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}

.l-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--l-line-strong);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--l-ink-2);
}
.l-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--l-primary);
  border-radius: 50%;
  animation: l-blink 1.6s ease-in-out infinite;
  box-shadow: 0 0 10px var(--l-primary);
}

@keyframes l-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.l-title {
  font-family: var(--l-font-serif);
  font-size: var(--l-step-5);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 1.4rem 0 1.5rem;
  color: white;
}
.l-title-line {
  display: block;
}
.l-title-italic {
  font-style: italic;
  font-weight: 600;
  color: var(--l-primary);
  position: relative;
}

.l-subtitle {
  font-size: var(--l-step-1);
  color: var(--l-ink-2);
  max-width: 58ch;
  margin: 0 0 2rem;
  line-height: 1.7;
}

.l-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 3rem;
}

.l-hero-marquee {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 2rem;
  border-top: 1px solid var(--l-line);
}
.l-hero-marquee > span:first-child {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--l-ink-3);
}
.l-marquee-companies {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--l-font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--l-ink-3);
}
.l-marquee-sep {
  color: var(--l-line-strong);
}

/* Dashboard preview */
.l-dashboard {
  background: linear-gradient(180deg, var(--l-bg-3), var(--l-bg-2));
  border: 1px solid var(--l-line-strong);
  border-radius: var(--l-radius-xl);
  overflow: hidden;
  box-shadow:
    0 40px 80px -32px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(197, 224, 99, 0.08);
}

.l-dashboard-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.4rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--l-line);
}
.l-dashboard-tabs {
  display: flex;
  gap: 0.3rem;
}
.l-tab {
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--l-ink-3);
  border-radius: 6px;
  cursor: pointer;
}
.l-tab--active {
  background: var(--l-primary-soft);
  color: var(--l-primary);
}
.l-dashboard-live {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--l-font-mono);
  font-size: 0.7rem;
  color: var(--l-ink-3);
  letter-spacing: 0.05em;
}
.l-live-dot {
  width: 6px;
  height: 6px;
  background: var(--l-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--l-primary);
  animation: l-blink 1.4s ease-in-out infinite;
}

.l-dashboard-body {
  padding: 1.4rem;
}

.l-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.4rem;
}
.l-kpi {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--l-line);
  border-radius: 10px;
}
.l-kpi-label {
  font-size: 0.72rem;
  color: var(--l-ink-3);
  letter-spacing: 0.05em;
}
.l-kpi-value {
  font-family: var(--l-font-mono);
  font-size: 1.15rem;
  font-weight: 600;
  color: white;
}
.l-kpi-change {
  font-family: var(--l-font-mono);
  font-size: 0.72rem;
  font-weight: 500;
}
.l-kpi-change--up {
  color: var(--l-primary);
}
.l-kpi-change--down {
  color: var(--l-coral);
}

.l-chart {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--l-line);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
}
.l-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}
.l-chart-head strong {
  font-size: 0.9rem;
  color: white;
}
.l-chart-head span {
  font-size: 0.72rem;
  color: var(--l-ink-3);
}
.l-chart-svg {
  width: 100%;
  height: 130px;
  display: block;
}
.l-chart-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--l-font-mono);
  font-size: 0.65rem;
  color: var(--l-ink-3);
  margin-top: 0.4rem;
  padding: 0 5px;
}

.l-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.l-mini-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--l-line);
  border-radius: 10px;
}
.l-mini-card-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--l-primary-soft);
  color: var(--l-primary);
  border-radius: 8px;
  flex-shrink: 0;
}
.l-mini-card-icon--green {
  background: var(--l-primary-soft);
  color: var(--l-primary);
}
.l-mini-card strong {
  display: block;
  font-size: 0.82rem;
  color: white;
  margin-bottom: 0.2rem;
}
.l-mini-card span {
  display: block;
  font-size: 0.72rem;
  color: var(--l-ink-3);
  line-height: 1.4;
}

.l-scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: var(--l-ink-3);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 3;
}
.l-scroll-line {
  width: 1px;
  height: 32px;
  background: var(--l-primary);
  animation: l-scroll-pulse 2s ease-in-out infinite;
}

@keyframes l-scroll-pulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.5);
  }
}

/* ---------- Eyebrow ---------- */
.l-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--l-primary);
  margin-bottom: 1rem;
}
.l-eyebrow-mark {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--l-primary);
}
.l-eyebrow--center {
  justify-content: center;
}
.l-eyebrow--light {
  color: var(--l-primary-bright);
}
.l-eyebrow--light .l-eyebrow-mark {
  background: var(--l-primary-bright);
}

.l-heading {
  font-family: var(--l-font-serif);
  font-size: var(--l-step-4);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: white;
  margin: 0 0 1.4rem;
}
.l-heading--light {
  color: white;
}
.l-heading-accent {
  font-style: italic;
  font-weight: 600;
  color: var(--l-primary);
}
.l-heading-accent--light {
  background: linear-gradient(120deg, var(--l-primary-bright), var(--l-coral));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.l-prose {
  font-size: var(--l-step-1);
  color: var(--l-ink-2);
  max-width: 60ch;
  margin: 0 0 1.2rem;
  line-height: 1.75;
}
.l-prose strong {
  color: white;
  font-weight: 600;
}

.l-section-header {
  max-width: 760px;
  margin: 0 auto 4rem;
  text-align: center;
}
.l-section-header .l-eyebrow {
  justify-content: center;
}
.l-section-desc {
  font-size: var(--l-step-1);
  color: var(--l-ink-2);
  margin: 0;
  line-height: 1.7;
}
.l-section-desc--light {
  color: var(--l-ink-2);
}

.l-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0;
}
.l-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--l-line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--l-ink-2);
}

/* ---------- Grid ---------- */
.l-grid {
  display: grid;
  gap: clamp(2rem, 1rem + 3vw, 4rem);
}
.l-grid--about {
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
}

/* About card stack */
.l-about-frame {
  position: relative;
  min-height: 380px;
}
.l-about-card-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}
.l-about-card {
  background: var(--l-bg-3);
  border: 1px solid var(--l-line-strong);
  border-radius: var(--l-radius-lg);
  padding: 1.5rem;
  transform: rotate(var(--rot, 0deg)) translateX(var(--tx, 0));
  transition: transform 0.5s var(--l-ease);
}
.l-about-card:hover {
  transform: rotate(0deg) translateX(0) scale(1.02);
}
.l-about-card--1 {
  --rot: -1.5deg;
  --tx: 12px;
}
.l-about-card--2 {
  --rot: 1deg;
  --tx: 0;
}
.l-about-card--3 {
  --rot: -0.5deg;
  --tx: -8px;
}
.l-about-card-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.6rem;
}
.l-about-card-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--l-primary-soft);
  color: var(--l-primary);
  border-radius: 10px;
}
.l-about-card-head strong {
  font-size: 1.05rem;
  color: white;
  font-weight: 500;
}
.l-about-card p {
  font-size: 0.9rem;
  color: var(--l-ink-3);
  margin: 0;
  line-height: 1.6;
}
.l-about-card-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, var(--l-primary-soft), transparent 70%);
  filter: blur(40px);
  transform: translate(-50%, -50%);
  z-index: -1;
}

/* ---------- Services ---------- */
.l-svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 1rem;
}
.l-svc-card {
  position: relative;
  background: linear-gradient(180deg, var(--l-bg-3), var(--l-bg-2));
  border: 1px solid var(--l-line);
  border-radius: var(--l-radius-lg);
  padding: 2rem;
  transition: all 0.4s var(--l-ease);
  overflow: hidden;
}
.l-svc-card:hover {
  border-color: var(--l-primary);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -20px rgba(197, 224, 99, 0.15);
}
.l-svc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.l-svc-num {
  font-family: var(--l-font-mono);
  font-size: 0.78rem;
  color: var(--l-primary);
  letter-spacing: 0.12em;
}
.l-svc-tag {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--l-ink-2);
  border-radius: 999px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.l-svc-tag--green {
  background: var(--l-primary-soft);
  color: var(--l-primary);
}
.l-svc-card h3 {
  font-family: var(--l-font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: white;
  margin: 0 0 0.8rem;
}
.l-svc-card p {
  font-size: 0.92rem;
  color: var(--l-ink-3);
  margin: 0 0 1.2rem;
  line-height: 1.65;
}
.l-svc-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1.2rem;
  border-top: 1px dashed var(--l-line);
}
.l-svc-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--l-ink-2);
}
.l-svc-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--l-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---------- Platform ---------- */
.l-platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1rem;
}
.l-platform-feature {
  background: linear-gradient(180deg, var(--l-bg-3), var(--l-bg-2));
  border: 1px solid var(--l-line);
  border-radius: var(--l-radius-lg);
  padding: 2rem;
  transition: all 0.4s var(--l-ease);
  position: relative;
}
.l-platform-feature:hover {
  border-color: var(--l-primary);
  transform: translateY(-4px);
}
.l-feature-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: var(--l-primary-soft);
  color: var(--l-primary);
  border-radius: 14px;
  margin-bottom: 1.4rem;
}
.l-platform-feature h3 {
  font-family: var(--l-font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: white;
  margin: 0 0 0.7rem;
}
.l-platform-feature p {
  font-size: 0.9rem;
  color: var(--l-ink-3);
  margin: 0 0 1.4rem;
  line-height: 1.65;
}
.l-feature-tag {
  display: inline-block;
  font-family: var(--l-font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.3rem 0.7rem;
  background: rgba(197, 224, 99, 0.08);
  color: var(--l-primary);
  border: 1px solid rgba(197, 224, 99, 0.2);
  border-radius: 6px;
  letter-spacing: 0.08em;
}

/* ---------- Insights ---------- */
.l-insights-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(197, 224, 99, 0.1), transparent 70%);
  filter: blur(80px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.l-insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}
.l-insight-card {
  background: var(--l-bg-3);
  border: 1px solid var(--l-line);
  border-radius: var(--l-radius-lg);
  padding: 2rem;
  transition: all 0.4s var(--l-ease);
  cursor: pointer;
}
.l-insight-card:hover {
  border-color: var(--l-primary);
  transform: translateY(-6px);
  background: var(--l-bg-4);
}
.l-insight-tag {
  display: inline-block;
  font-family: var(--l-font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.25rem 0.7rem;
  background: var(--l-primary-soft);
  color: var(--l-primary);
  border-radius: 999px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.l-insight-card h3 {
  font-family: var(--l-font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: white;
  margin: 0 0 0.85rem;
  line-height: 1.3;
}
.l-insight-card p {
  font-size: 0.9rem;
  color: var(--l-ink-3);
  margin: 0 0 1.4rem;
  line-height: 1.65;
}
.l-insight-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.2rem;
  border-top: 1px solid var(--l-line);
  font-size: 0.78rem;
  color: var(--l-ink-3);
}
.l-insight-arrow {
  font-size: 1.4rem;
  color: var(--l-primary);
  transition: transform 0.3s var(--l-ease);
}
.l-insight-card:hover .l-insight-arrow {
  transform: translateX(6px);
}

/* ---------- FAQ ---------- */
.l-faq-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.l-faq-item {
  background: var(--l-bg-3);
  border: 1px solid var(--l-line);
  border-radius: var(--l-radius);
  transition: all 0.3s var(--l-ease);
}
.l-faq-item[open] {
  border-color: var(--l-primary);
  background: var(--l-bg-4);
}
.l-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  font-weight: 500;
  font-size: 1rem;
  color: white;
  list-style: none;
}
.l-faq-item summary::-webkit-details-marker {
  display: none;
}
.l-faq-item summary svg {
  transition: transform 0.3s var(--l-ease);
  color: var(--l-primary);
}
.l-faq-item[open] summary svg {
  transform: rotate(180deg);
}
.l-faq-answer {
  padding: 0 1.5rem 1.4rem;
  color: var(--l-ink-2);
  font-size: 0.95rem;
  line-height: 1.7;
}
.l-faq-answer p {
  margin: 0;
}

/* ---------- Contact ---------- */
.l-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  align-items: start;
}

.l-contact-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.l-contact-item {
  display: flex;
  gap: 1rem;
  padding: 1.3rem;
  background: var(--l-bg-3);
  border: 1px solid var(--l-line);
  border-radius: var(--l-radius);
  transition: all 0.3s var(--l-ease);
}
.l-contact-item:hover {
  border-color: var(--l-primary);
  transform: translateX(4px);
}
.l-contact-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--l-primary-soft);
  color: var(--l-primary);
  border-radius: 12px;
  flex-shrink: 0;
}
.l-contact-item strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
  color: white;
}
.l-contact-item span {
  display: block;
  font-size: 0.85rem;
  color: var(--l-ink-3);
  line-height: 1.5;
}

.l-form-card {
  background: var(--l-bg-3);
  border: 1px solid var(--l-line-strong);
  border-radius: var(--l-radius-xl);
  padding: 2.4rem;
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.4);
}
.l-form-title {
  font-family: var(--l-font-serif);
  font-size: 1.7rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: white;
}
.l-form-subtitle {
  font-size: 0.9rem;
  color: var(--l-ink-3);
  margin: 0 0 1.8rem;
}

.l-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.l-form-group {
  margin-bottom: 1rem;
}
.l-form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--l-ink-2);
  margin-bottom: 0.5rem;
}
.l-form-group input,
.l-form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--l-line);
  border-radius: 10px;
  background: var(--l-bg);
  font-family: inherit;
  font-size: 0.95rem;
  color: white;
  transition: all 0.25s var(--l-ease);
}
.l-form-group input:focus,
.l-form-group textarea:focus {
  outline: none;
  border-color: var(--l-primary);
  background: var(--l-bg-2);
  box-shadow: 0 0 0 4px var(--l-primary-soft);
}
.l-form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.l-select-wrapper {
  position: relative;
}
.l-select-wrapper select {
  width: 100%;
  padding: 0.85rem 2.5rem 0.85rem 1rem;
  border: 1.5px solid var(--l-line);
  border-radius: 10px;
  background: var(--l-bg);
  font-family: inherit;
  font-size: 0.95rem;
  color: white;
  appearance: none;
  cursor: pointer;
}
.l-select-wrapper select:focus {
  outline: none;
  border-color: var(--l-primary);
  box-shadow: 0 0 0 4px var(--l-primary-soft);
}
.l-select-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--l-ink-3);
}

/* ---------- Footer ---------- */
.l-footer {
  background: var(--l-bg);
  border-top: 1px solid var(--l-line);
  padding: 4rem 0 1.5rem;
  margin-top: 2rem;
  color: var(--l-ink-3);
}
.l-footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--l-line);
}
.l-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--l-font-sans);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: white;
  margin-bottom: 1rem;
}
.l-footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0 0 1.2rem;
  max-width: 38ch;
}
.l-footer-oab {
  font-family: var(--l-font-mono);
  font-size: 0.72rem;
  color: var(--l-ink-3);
  letter-spacing: 0.05em;
}
.l-footer-col h4 {
  font-family: var(--l-font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: white;
  margin: 0 0 1.2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.l-footer-col ul li {
  margin-bottom: 0.65rem;
}
.l-footer-col a {
  font-size: 0.88rem;
  transition: color 0.25s;
}
.l-footer-col a:hover {
  color: var(--l-primary);
}

.l-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: 0.82rem;
}
.l-footer-bottom-links {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.l-footer-bottom-links span {
  color: rgba(255, 255, 255, 0.2);
}

/* ---------- Back to top ---------- */
.l-back-to-top {
  position: fixed;
  bottom: 2rem;
  bottom: calc(2rem + env(safe-area-inset-bottom));
  right: 2rem;
  right: calc(2rem + env(safe-area-inset-right));
  width: 48px;
  height: 48px;
  background: var(--l-primary);
  color: var(--l-bg);
  border-radius: 12px;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 24px -8px rgba(197, 224, 99, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s var(--l-ease);
  z-index: 40;
}
.l-back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.l-back-to-top:hover {
  background: var(--l-primary-bright);
  transform: translateY(-4px);
}

/* ---------- Toast ---------- */
.l-toast {
  position: fixed;
  bottom: 2rem;
  bottom: calc(2rem + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--l-primary);
  color: var(--l-bg);
  padding: 1rem 1.6rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.5);
  opacity: 0;
  z-index: 60;
  transition: all 0.4s var(--l-ease);
  max-width: calc(100vw - 2rem);
  text-align: center;
}
.l-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Language switcher (pt-BR / en) ---------- */
.ff-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.22rem;
  border: 1px solid var(--l-line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}
.ff-lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  opacity: 0.45;
  transition: all 0.25s var(--l-ease);
}
.ff-lang-btn svg {
  display: block;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}
.ff-lang-btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.ff-lang-btn:focus-visible {
  outline: 2px solid var(--l-primary);
  outline-offset: 2px;
}
.ff-lang-btn.is-active {
  opacity: 1;
  border-color: var(--l-primary);
  box-shadow: 0 0 10px rgba(197, 224, 99, 0.45);
}

@media (max-width: 640px) {
  .ff-lang-btn {
    width: 40px;
    height: 40px;
  }
}

/* ---------- Reveal ---------- */
.l-reveal,
.m-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s var(--l-ease),
    transform 0.8s var(--l-ease);
}
.l-reveal.active,
.m-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* No-JS fallback: reveal content when JavaScript is unavailable. */
.no-js .l-reveal,
.no-js .m-reveal {
  opacity: 1;
  transform: none;
}
.l-reveal-delay-1,
.m-reveal-delay-1 {
  transition-delay: 0.12s;
}
.l-reveal-delay-2,
.m-reveal-delay-2 {
  transition-delay: 0.24s;
}
.l-reveal-delay-3,
.m-reveal-delay-3 {
  transition-delay: 0.36s;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .l-nav-links {
    display: none;
  }
  .l-nav-toggle {
    display: flex;
  }
  .l-logo-tag {
    display: none;
  }

  .l-nav-links.active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100dvh - 60px);
    overflow-y: auto;
    background: var(--l-bg);
    flex-direction: column;
    padding: 1.5rem;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
    border-bottom: 1px solid var(--l-line);
  }
  .l-nav-links.active a {
    padding: 0.75rem 1rem;
  }

  .l-hero-grid-content {
    grid-template-columns: 1fr;
  }
  .l-dashboard {
    max-width: 500px;
    margin: 0 auto;
  }
  .l-grid--about {
    grid-template-columns: 1fr;
  }
  .l-contact-grid {
    grid-template-columns: 1fr;
  }
  .l-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .l-section {
    padding: 4rem 0;
  }
  .l-hero {
    padding-top: 7rem;
  }
  .l-form-row {
    grid-template-columns: 1fr;
  }
  .l-form-card {
    padding: 1.6rem;
  }
  .l-kpi-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .l-dashboard-grid {
    grid-template-columns: 1fr;
  }
  .l-dashboard-tabs {
    /* Tabs roláveis horizontalmente no mobile */
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .l-dashboard-tabs::-webkit-scrollbar {
    display: none;
  }
  .l-dashboard-head {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .l-footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .l-footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }
  .l-scroll-hint {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .l-hero-glow,
  .l-live-dot,
  .l-badge-dot,
  .l-scroll-line {
    animation: none;
  }
  .l-reveal,
  .m-reveal {
    opacity: 1;
    transform: none;
  }
}
