@charset "UTF-8";

/* ============================================================
   XTPG — Premium Treasury Software
   Design System v3 — Editorial · Institutional · B2B Fintech
   ============================================================ */

/* ─── Roc Grotesk — apenas pesos usados (Regular + Medium + Bold) ─── */
@font-face {
  font-family: 'Roc Grotesk';
  src: url('../fonts/RocGrotesk-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roc Grotesk';
  src: url('../fonts/RocGrotesk-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roc Grotesk';
  src: url('../fonts/RocGrotesk-Bold.woff2') format('woff2');
  font-weight: 600 900;
  font-style: normal;
  font-display: swap;
}


/* ─── Design Tokens ─────────────────────────────────────── */
:root {
  /* Brand palette */
  --navy:        #132236;
  --navy-deep:   #0d1a2b;
  --navy-mid:    #1c3350;
  --navy-light:  #1e3a5f;
  --green:       #37dd00;
  --green-dim:   rgba(55, 221, 0, 0.12);
  --green-glow:  rgba(55, 221, 0, 0.28);
  --ink:         #0f1923;

  /* Light surfaces */
  --white:       #ffffff;
  --snow:        #f7f9fc;
  --ice:         #eef1f6;
  --mist:        #e4e8f0;
  --gray-100:    #e6e8ed;
  --gray-200:    #d0d5de;
  --gray-400:    #8a93a6;
  --gray-500:    #6b7589;
  --gray-600:    #4b5566;
  --gray-800:    #1e2937;

  /* Surface tokens */
  --surface-white: #ffffff;
  --surface-snow:  #f7f9fc;
  --surface-ice:   #eef1f6;
  --surface-navy:  #132236;
  --surface-deep:  #0d1a2b;

  /* Typography */
  --font:         'Roc Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Roc Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-pad:    8rem;
  --section-pad-sm: 5rem;
  --section-pad-lg: 11rem;
  --container:      1280px;

  /* Radius */
  --r-xs:   4px;
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   22px;
  --r-xl:   36px;
  --r-full: 9999px;

  /* Shadows – light context */
  --sh-xs:  0 1px 3px rgba(15,25,35,0.06), 0 1px 2px rgba(15,25,35,0.04);
  --sh-sm:  0 4px 14px rgba(15,25,35,0.08), 0 1px 4px rgba(15,25,35,0.04);
  --sh-md:  0 10px 30px rgba(15,25,35,0.10), 0 3px 10px rgba(15,25,35,0.06);
  --sh-lg:  0 20px 50px rgba(15,25,35,0.13), 0 6px 18px rgba(15,25,35,0.07);
  --sh-xl:  0 36px 80px rgba(15,25,35,0.16), 0 12px 32px rgba(15,25,35,0.09);
  --sh-card: 0 2px 12px rgba(19,34,54,0.07), 0 0 0 1px rgba(19,34,54,0.05);

  /* Shadows – dark context */
  --sh-dark-sm: 0 4px 20px rgba(0,0,0,0.3);
  --sh-dark-lg: 0 24px 60px rgba(0,0,0,0.4);

  /* Transitions */
  --ease:   cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --t-fast: 0.16s;
  --t-base: 0.26s;
  --t-slow: 0.48s;
}

/* ─── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--gray-600);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ─── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--snow); }
::-webkit-scrollbar-thumb { background: var(--navy-mid); border-radius: 3px; }

/* ─── Selection ──────────────────────────────────────────── */
::selection { background: var(--green); color: var(--navy); }

/* ─── Focus ──────────────────────────────────────────────── */
*:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: var(--r-xs); }

/* ════════════════════════════════════════════════════════════
   TYPOGRAPHY
════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
}
h1 { font-size: clamp(2.8rem, 5.2vw, 5rem); font-weight: 800; letter-spacing: -0.038em; }
h2 { font-size: clamp(2.3rem, 3.6vw, 3.5rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.4rem, 2vw, 1.85rem); }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 0.9rem;  font-weight: 700; }

p { color: var(--gray-600); line-height: 1.75; }

.lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.75;
  color: var(--gray-500);
  font-weight: 400;
}

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 22px; height: 2px;
  background: var(--green);
  border-radius: 1px;
  flex-shrink: 0;
}

/* Dark context overrides */
.on-dark { color-scheme: dark; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--white); }
.on-dark p, .on-dark .lead { color: rgba(255,255,255,0.6); }
.on-dark .eyebrow { color: var(--green); }
.on-dark .eyebrow::before { background: var(--green); }

/* ════════════════════════════════════════════════════════════
   LAYOUT
════════════════════════════════════════════════════════════ */
.container    { max-width: var(--container); margin: 0 auto; padding: 0 2.5rem; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 2.5rem; }
.container-lg { max-width: 1440px; margin: 0 auto; padding: 0 2.5rem; }

.section    { padding: var(--section-pad) 0; }
.section-sm { padding: var(--section-pad-sm) 0; }
.section-lg { padding: var(--section-pad-lg) 0; }

/* Surface classes */
.bg-white { background: var(--white); }
.bg-snow  { background: var(--snow); }
.bg-ice   { background: var(--ice); }
.bg-navy  { background: var(--navy); }
.bg-deep  { background: var(--navy-deep); }

/* Grid utilities */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* Asymmetric splits */
.split-55-45 { display: grid; grid-template-columns: 55fr 45fr; gap: 5rem; align-items: center; }
.split-60-40 { display: grid; grid-template-columns: 60fr 40fr; gap: 5rem; align-items: center; }
.split-40-60 { display: grid; grid-template-columns: 40fr 60fr; gap: 5rem; align-items: center; }

.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ════════════════════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.008em;
  transition: all var(--t-base) var(--ease);
  white-space: nowrap;
  cursor: pointer;
}

/* Primary — green on navy */
.btn-primary {
  background: var(--green);
  color: var(--navy-deep);
  box-shadow: 0 2px 16px rgba(55, 221, 0, 0.32);
}
.btn-primary:hover {
  background: #43ea0c;
  box-shadow: 0 4px 28px rgba(55, 221, 0, 0.48);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

/* Navy solid */
.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--sh-sm);
}
.btn-navy:hover {
  background: var(--navy-mid);
  box-shadow: var(--sh-md);
  transform: translateY(-1px);
}

/* Outline — light context */
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--gray-200);
}
.btn-outline:hover {
  border-color: var(--navy);
  background: var(--snow);
}

/* Outline — dark context */
.btn-outline-dark {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline-dark:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.06);
}

/* Ghost green */
.btn-ghost-green {
  background: var(--green-dim);
  color: var(--navy);
  border: 1.5px solid rgba(55,221,0,0.25);
}
.btn-ghost-green:hover {
  background: rgba(55,221,0,0.2);
  border-color: rgba(55,221,0,0.5);
}

/* Sizes */
.btn-lg { padding: 1.05rem 2.5rem; font-size: 0.95rem; }
.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.78rem; }

/* ════════════════════════════════════════════════════════════
   BADGES
════════════════════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.85rem;
  border-radius: var(--r-full);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.badge-green {
  background: rgba(55,221,0,0.1);
  color: #1d7200;
  border: 1px solid rgba(55,221,0,0.22);
}
.badge-navy {
  background: rgba(19,34,54,0.07);
  color: var(--navy);
  border: 1px solid rgba(19,34,54,0.12);
}
.badge-white {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.2);
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 1.8s ease infinite;
}

/* ════════════════════════════════════════════════════════════
   DIVIDERS
════════════════════════════════════════════════════════════ */
.divider      { height: 1px; background: var(--gray-100); }
.divider-dark { height: 1px; background: rgba(255,255,255,0.07); }

/* ════════════════════════════════════════════════════════════
   PRELOADER
════════════════════════════════════════════════════════════ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader-logo {
  height: 52px;
  width: auto;
  display: block;
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 8px;
}

.preloader-bar {
  width: 160px; height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 1px;
  overflow: hidden;
}
.preloader-fill {
  height: 100%;
  background: var(--green);
  border-radius: 1px;
  animation: preload-fill 1.4s var(--ease) forwards;
}

/* ════════════════════════════════════════════════════════════
   HEADER / NAV
════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: all var(--t-base) var(--ease);
}

/* Transparent on hero-dark */
.site-header.is-transparent { background: transparent; }
.site-header.is-transparent .nav-logo-text { color: var(--white); }
.site-header.is-transparent .nav-link { color: rgba(255,255,255,0.65); }
.site-header.is-transparent .nav-link:hover { color: var(--white); background: rgba(255,255,255,0.07); }
.site-header.is-transparent .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.25); }
.site-header.is-transparent .btn-outline:hover { background: rgba(255,255,255,0.08); }
.site-header.is-transparent .nav-toggle-bar { background: var(--white); }

/* Light hero state — nav floats above white bg */
.site-header.is-light-hero { background: transparent; }
.site-header.is-light-hero .nav-logo-text { color: var(--ink); }
.site-header.is-light-hero .nav-link { color: var(--gray-600); }
.site-header.is-light-hero .nav-link:hover { color: var(--ink); background: var(--snow); }
.site-header.is-light-hero .btn-outline { color: var(--navy); border-color: var(--gray-200); }
.site-header.is-light-hero .btn-outline:hover { background: var(--snow); }

/* Scrolled state */
.site-header.is-scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 1px 0 var(--gray-100), var(--sh-xs);
  padding: 0.7rem 0;
}
.site-header.is-scrolled .nav-logo-text { color: var(--ink); }
.site-header.is-scrolled .nav-link { color: var(--gray-700, #374151); }
.site-header.is-scrolled .nav-link:hover { color: var(--ink); background: var(--snow); }
.site-header.is-scrolled .btn-outline { color: var(--navy); border-color: var(--gray-200); }
.site-header.is-scrolled .nav-link i { color: inherit; }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
.nav-logo { display: flex; align-items: center; gap: 0; flex-shrink: 0; text-decoration: none; }
.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}
/* Footer logo */
.footer-logo { display: flex; align-items: center; gap: 0; text-decoration: none; margin-bottom: 1.25rem; }
.footer-logo-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
  background: #ffffff;
  padding: 5px 10px;
  border-radius: 6px;
}
.footer-logo-text { display: none; }

/* Desktop nav */
.nav-menu {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  gap: 0;
}
.nav-link {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--r-xs);
  transition: all var(--t-fast) var(--ease);
  white-space: nowrap;
}
.nav-link:hover   { color: var(--ink);  background: var(--snow); }
.nav-link.active  { color: var(--navy); font-weight: 600; }

/* ── Dropdown "Plataforma" ───────────────────────────────────────── */
.nav-item-dropdown {
  position: relative;
}
.nav-item-dropdown > .nav-link {
  display: flex;
  align-items: center;
}
.nav-dropdown {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-md);
  min-width: 230px;
  padding: 0.4rem 0;
  z-index: 300;
  list-style: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  /* ponte invisível que evita o gap entre o link e o dropdown */
  padding-top: 0.6rem;
  margin-top: 0;
}
/* ponte invisível: pseudo-element cobre o gap entre o nav-link e o dropdown */
.nav-item-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* first item = "Visão Geral" separator style */
.nav-dropdown li:first-child a {
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-400);
  padding: 0.4rem 1.1rem 0.5rem;
  pointer-events: none;
  cursor: default;
}
.nav-dropdown li:nth-child(2) {
  border-top: 1px solid var(--gray-100);
  padding-top: 0.2rem;
}
.nav-dropdown li a {
  display: block;
  padding: 0.52rem 1.1rem;
  font-size: 0.83rem;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  border-radius: 0;
  transition: background 0.13s, color 0.13s;
}
.nav-dropdown li:first-child a { pointer-events: none; }
.nav-dropdown li a:hover   { background: var(--snow); color: var(--navy); }
.nav-dropdown li a.active  { color: var(--green); font-weight: 600; }

/* transparent header — keep dropdown readable on dark bg */
.site-header.is-transparent .nav-item-dropdown:hover .nav-dropdown,
.site-header.is-transparent .nav-item-dropdown:focus-within .nav-dropdown {
  border-color: rgba(255,255,255,0.12);
}

.nav-actions { display: flex; align-items: center; gap: 0.65rem; flex-shrink: 0; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--r-xs);
}
.nav-toggle-bar {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: all var(--t-base) var(--ease);
}
.nav-toggle.open .nav-toggle-bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open .nav-toggle-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open .nav-toggle-bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 98;
  background: var(--white);
  flex-direction: column;
  padding: 5.5rem 2rem 2rem;
  overflow-y: auto;
  gap: 0.25rem;
}
.mobile-nav.open { display: flex; animation: fadeIn 0.2s ease; }
.m-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--r-sm);
  border-bottom: 1px solid var(--gray-100);
  transition: all var(--t-fast) var(--ease);
}
.m-link:hover  { color: var(--navy); background: var(--snow); }
.m-link i      { color: var(--green); font-size: 0.85rem; width: 20px; }
.m-cta { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }

/* Mobile nav — submenu Plataforma */
.m-item-dropdown { display: flex; flex-direction: column; }
.m-link-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--r-sm);
  border-bottom: 1px solid var(--gray-100);
  transition: all var(--t-fast) var(--ease);
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}
.m-link-toggle:hover { color: var(--navy); background: var(--snow); }
.m-link-toggle-left { display: flex; align-items: center; gap: 0.75rem; }
.m-link-toggle-left i { color: var(--green); font-size: 0.85rem; width: 20px; }
.m-link-toggle-chevron {
  color: var(--gray-400);
  font-size: 0.7rem;
  transition: transform 0.25s var(--ease);
}
.m-item-dropdown.open .m-link-toggle-chevron { transform: rotate(180deg); }
.m-submenu {
  display: none;
  flex-direction: column;
  background: var(--snow);
  border-radius: var(--r-sm);
  margin: 0.25rem 0 0.25rem 1rem;
  overflow: hidden;
}
.m-item-dropdown.open .m-submenu { display: flex; }
.m-submenu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  border-bottom: 1px solid rgba(19,34,54,0.06);
  transition: all var(--t-fast) var(--ease);
}
.m-submenu a:last-child { border-bottom: none; }
.m-submenu a:hover { color: var(--navy); background: rgba(55,221,0,0.06); padding-left: 1.25rem; }
.m-submenu a::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════
   HERO — Ultra-Premium Enterprise Edition v2
   White · Institutional · Executive-grade · Editorial B2B
════════════════════════════════════════════════════════════ */
.hero-enterprise {
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

/* ─── Background System ─────────────────────────────────── */

/* Base: ultra-soft institutional depth, asymmetric light */
.he-bg-base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 2% 15%,   rgba(19,34,54,0.038) 0%, transparent 50%),
    radial-gradient(ellipse 50% 60% at 100% 0%,   rgba(19,34,54,0.022) 0%, transparent 55%),
    radial-gradient(ellipse 80% 40% at 50% 110%,  rgba(238,241,246,0.9) 0%, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
  pointer-events: none;
  z-index: 0;
}

/* Micro grid — barely visible, gives editorial texture */
.he-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(19,34,54,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19,34,54,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 85% 75% at 65% 40%, rgba(0,0,0,0.5) 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 65% 40%, rgba(0,0,0,0.5) 0%, transparent 80%);
}

/* Green aurora — top-right, ghost opacity, premium signature */
.he-bg-radial {
  position: absolute;
  width: 800px; height: 620px;
  top: -220px; right: -140px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(55,221,0,0.032) 0%,
    rgba(55,221,0,0.012) 38%,
    transparent 68%);
  pointer-events: none;
  z-index: 0;
}

/* Secondary navy depth — bottom-left */
.he-bg-radial2 {
  position: absolute;
  width: 600px; height: 500px;
  bottom: -200px; left: -120px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(19,34,54,0.03) 0%,
    transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Noise: paper-like premium texture, near-zero opacity */
.he-bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  pointer-events: none;
  z-index: 0;
}

/* Bottom separator rule */
.he-rule-h {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--gray-100) 15%,
    var(--gray-100) 85%,
    transparent 100%);
  z-index: 3;
  pointer-events: none;
}

/* ─── Body Layout ─────────────────────────────────────── */
.he-body {
  position: relative;
  z-index: 2;
  padding: 9.5rem 0 6.5rem;
}

.he-layout {
  display: grid;
  grid-template-columns: 50fr 50fr;
  gap: 4.5rem;
  align-items: center;
}

/* ─── LEFT: Copy ──────────────────────────────────────── */
.he-copy { max-width: 570px; }

/* Eyebrow badge — refined, institutional, status-like pill */
.he-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray-600);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  width: fit-content;
  box-shadow: none;
}
.he-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: pulse-dot 2.2s ease infinite;
}

/* Headline — heavyweight editorial, executive statement */
.he-h1 {
  font-size: clamp(2rem, 2.9vw, 2.75rem);
  font-weight: 900;
  font-family: var(--font-heading);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1.65rem;
  word-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}
/* Second line accent — deeper navy, same weight */
.he-h1-line2 {
  display: block;
  color: var(--navy);
  font-weight: 900;
  letter-spacing: -0.048em;
}
.he-h1 strong,
.he-h1-line2 strong {
  font-weight: 900;
  font-style: normal;
}

/* Subheadline — editorial, measured, professional */
.he-sub {
  font-size: 1.05rem;
  line-height: 1.78;
  color: var(--gray-500);
  margin-bottom: 2.6rem;
  max-width: 500px;
  font-weight: 400;
  /* Slightly tighter tracking for body elegance */
  letter-spacing: 0.003em;
}

/* CTAs */
.he-ctas {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2.4rem;
  flex-wrap: wrap;
}

/* Primary CTA — deep navy, authoritative, enterprise-grade */
.he-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 2.1rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  /* Multi-layer shadow: base, lift, and inset highlight */
  box-shadow:
    0 1px 0 rgba(255,255,255,0.07) inset,
    0 -1px 0 rgba(0,0,0,0.15) inset,
    0 1px 3px rgba(13,26,43,0.20),
    0 4px 14px rgba(13,26,43,0.18);
  transition: all var(--t-base) var(--ease);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
}
/* Top-edge glass shine */
.he-btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  pointer-events: none;
}
.he-btn-primary i {
  font-size: 0.72rem;
  transition: transform var(--t-fast) var(--ease);
}
.he-btn-primary:hover {
  background: var(--navy-mid);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 -1px 0 rgba(0,0,0,0.12) inset,
    0 2px 6px rgba(13,26,43,0.18),
    0 10px 32px rgba(13,26,43,0.20);
  transform: translateY(-1px);
}
.he-btn-primary:hover i { transform: translateX(3px); }
.he-btn-primary:active  { transform: translateY(0px); box-shadow: 0 1px 3px rgba(13,26,43,0.20); }

/* Ghost CTA — restrained, editorial, high-quality outline */
.he-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.75rem;
  background: transparent;
  color: var(--gray-600);
  border: 1.5px solid rgba(19,34,54,0.14);
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  transition: all var(--t-base) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.he-btn-ghost i { font-size: 0.6rem; opacity: 0.5; transition: opacity var(--t-fast); }
.he-btn-ghost:hover {
  color: var(--navy);
  border-color: rgba(19,34,54,0.3);
  background: rgba(19,34,54,0.03);
}
.he-btn-ghost:hover i { opacity: 0.8; }

/* Proof metrics — oculto no desktop, visível apenas no mobile */
.desktop-hidden { display: none !important; }

/* Proof metrics — clean editorial numbers, executive trust signals */
.he-proof-line {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  padding: 1.2rem 1.4rem;
  background: rgba(19,34,54,0.025);
  border: 1px solid rgba(19,34,54,0.07);
  border-radius: var(--r-sm);
  width: fit-content;
}
.he-proof-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.he-proof-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
  display: block;
}
.he-proof-desc {
  font-size: 0.65rem;
  color: var(--gray-400);
  font-weight: 500;
  letter-spacing: 0.01em;
  display: block;
  white-space: nowrap;
}
.he-proof-sep {
  width: 1px; height: 28px;
  background: rgba(19,34,54,0.1);
  flex-shrink: 0;
  align-self: center;
}

/* ── Client logos — carrossel infinito ─────────────────── */
.he-logos { margin-top: 0.25rem; }
.he-logos-label {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* Wrapper com máscara de fade nas bordas */
.he-logos-marquee-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.he-logos-marquee-wrapper::before,
.he-logos-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.he-logos-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}
.he-logos-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}

/* Faixa animada: duas trilhas lado a lado para loop contínuo */
.he-logos-marquee {
  display: flex;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}
.he-logos-marquee:hover {
  animation-play-state: paused;
}

/* Cada trilha de logos */
.he-logos-track {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-right: 0.75rem;
}

/* Keyframe: desloca exatamente uma trilha (50% da largura total) */
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Pill individual */
.he-logo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.1rem;
  background: #ffffff;
  border: 1px solid rgba(19,34,54,0.08);
  border-radius: var(--r-sm);
  transition: filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  filter: grayscale(0.25) opacity(0.8);
  height: 48px;
  flex-shrink: 0;
  line-height: 1;
}
.he-logo-pill:hover {
  filter: grayscale(0) opacity(1);
  border-color: rgba(19,34,54,0.15);
  box-shadow: 0 3px 10px rgba(19,34,54,0.08);
  transform: translateY(-2px);
}

/* Imagem dentro do pill */
.he-logo-img {
  height: 28px;
  width: auto;
  max-width: 120px;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
}
/* Logos com fundo branco JPEG — sem blend mode para fundo limpo */
.he-logo-img--plain {
  mix-blend-mode: normal;
}


/* Globo: logo ocupa ~67% da largura e ~45% da altura (top 30%, left 17%)
   Pill 120×48px → imagem exibida a ~107px de altura (48/0.45)
   Margem-top: -30% de 107 ≈ -32px; margem-left: -17% de 143 ≈ -24px */
.he-logo-pill--globo-crop {
  overflow: hidden;
  padding: 0;
  background: #ffffff;
  border: 1px solid rgba(19,34,54,0.08);
  border-radius: var(--r-sm);
  width: 120px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.he-logo-img--globo-crop {
  display: block;
  mix-blend-mode: normal;
  width: 143px;
  height: auto;
  max-width: none;
  margin-top: -32px;
  margin-left: -24px;
}

/* Stellantis: logo ocupa ~98% largura, ~58% altura (top 16%, bottom 26%)
   Pill 150×48px → imagem altura = 48/0.58 ≈ 83px; largura proporcional ~166px
   Margem-top: -16% de 83 ≈ -13px; margens laterais mínimas */
.he-logo-pill--stellantis {
  overflow: hidden;
  padding: 0;
  background: #ffffff;
  border: 1px solid rgba(19,34,54,0.08);
  border-radius: var(--r-sm);
  width: 150px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.he-logo-img--stellantis {
  display: block;
  mix-blend-mode: normal;
  width: 166px;
  height: auto;
  max-width: none;
  margin-top: -13px;
  margin-left: 0px;
}

/* Rede Itaú: logo ocupa ~71% largura, ~74% altura (top 15%, left 19%)
   Pill 120×48px → imagem altura = 48/0.74 ≈ 65px; largura = 65*(1/0.74)*0.71 ≈ 116px
   Margem-top: -15% de 65 ≈ -10px; margem-left: -19% de 116 ≈ -22px */
.he-logo-pill--rede {
  overflow: hidden;
  padding: 0;
  background: #ffffff;
  border: 1px solid rgba(19,34,54,0.08);
  border-radius: var(--r-sm);
  width: 120px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.he-logo-img--rede {
  display: block;
  mix-blend-mode: normal;
  width: 116px;
  height: auto;
  max-width: none;
  margin-top: -10px;
  margin-left: -22px;
}

/* ─── RIGHT: Executive Dashboard ─────────────────────── */
.he-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Ambient glow — dual-tone: navy depth + green trace = executive */
.he-visual-glow {
  position: absolute;
  width: 600px; height: 520px;
  top: 50%; right: -60px;
  transform: translateY(-50%);
  background:
    radial-gradient(ellipse 70% 60% at 60% 40%,
      rgba(19,34,54,0.065) 0%,
      rgba(55,221,0,0.015) 50%,
      transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(1px);
}

/* Main panel — premium SaaS UI mockup, editorial & clean */
.he-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 540px;
  background: var(--white);
  border: 1px solid rgba(19,34,54,0.09);
  border-radius: 16px;
  /* Stratified shadow: contact, mid, far — editorial depth */
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.9) inset,
    0 0 0 1.5px rgba(19,34,54,0.055),
    0 2px 4px rgba(19,34,54,0.05),
    0 6px 20px rgba(19,34,54,0.07),
    0 20px 56px rgba(19,34,54,0.09),
    0 44px 90px rgba(19,34,54,0.065);
  overflow: hidden;
  animation: he-float 11s ease-in-out infinite;
}

@keyframes he-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-9px); }
}

/* App chrome bar — macOS-style, tight, premium feel */
.he-panel-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  background: linear-gradient(180deg, #f4f6fa 0%, #f0f2f7 100%);
  border-bottom: 1px solid rgba(19,34,54,0.085);
  gap: 0.75rem;
  /* Inner top glow for glass feel */
  box-shadow: 0 1px 0 rgba(255,255,255,0.65) inset;
}
.he-chrome-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}
.he-chrome-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.he-chrome-dot-r { background: #ff5f57; }
.he-chrome-dot-y { background: #febc2e; }
.he-chrome-dot-g { background: #28c840; }
.he-chrome-title {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.03em;
  flex: 1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.he-chrome-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.he-live-indicator {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.he-live-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 1.6s ease infinite;
}
.he-panel-time {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--gray-400);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

/* App layout: sidebar + main */
.he-app-layout {
  display: grid;
  grid-template-columns: 40px 1fr;
  min-height: 340px;
}

/* Sidebar mini navigation */
.he-sidebar {
  background: var(--navy-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.85rem 0;
  gap: 0;
}
.he-sidebar-logo {
  width: 24px; height: 24px;
  margin-bottom: 0.6rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.he-sidebar-sep {
  width: 20px; height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 0.4rem 0 0.7rem;
}
.he-sidebar-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  flex: 1;
}
.he-snav-item {
  width: 30px; height: 30px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all var(--t-fast);
  flex-shrink: 0;
}
.he-snav-item:hover { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.65); }
.he-snav-active { background: rgba(55,221,0,0.14) !important; color: var(--green) !important; }
.he-sidebar-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
}
.he-snav-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.48rem;
  font-weight: 800;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.03em;
}

/* Main content area */
.he-main-content {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Page header */
.he-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.1rem 0.7rem;
  border-bottom: 1px solid var(--gray-100);
  gap: 0.75rem;
}
.he-page-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.he-page-sub {
  font-size: 0.58rem;
  color: var(--gray-400);
  margin-top: 0.08rem;
}
.he-page-actions { display: flex; align-items: center; gap: 0.5rem; }
.he-date-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--gray-400);
  background: var(--snow);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-full);
  padding: 0.22rem 0.65rem;
  letter-spacing: 0.01em;
}
.he-date-badge i { font-size: 0.55rem; }

/* Hero balance metric — the primary financial data display */
.he-balance-section {
  padding: 1rem 1.1rem 0.85rem;
  border-bottom: 1px solid rgba(19,34,54,0.06);
  background: linear-gradient(165deg,
    rgba(19,34,54,0.022) 0%,
    rgba(247,249,252,0.5) 50%,
    rgba(255,255,255,0) 100%);
}
.he-balance-label {
  font-size: 0.56rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.32rem;
}
.he-balance-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.3rem;
}
.he-balance-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.045em;
  line-height: 1;
}
.he-balance-sub {
  font-size: 0.6rem;
  color: var(--gray-400);
  letter-spacing: 0.01em;
}
.he-delta-up {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: #1a8c00;
  background: rgba(55,221,0,0.09);
  border: 1px solid rgba(55,221,0,0.18);
  padding: 0.18rem 0.5rem;
  border-radius: var(--r-full);
  white-space: nowrap;
}
.he-delta-up i { font-size: 0.58rem; }

/* KPI strip */
.he-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--gray-100);
}
.he-kpi {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  padding: 0.75rem 0.9rem;
  border-right: 1px solid var(--gray-100);
  transition: background var(--t-fast);
}
.he-kpi:last-child { border-right: none; }
.he-kpi-mid { background: rgba(247,249,252,0.8); }
.he-kpi:hover { background: var(--surface-snow); }
.he-kpi-label {
  font-size: 0.52rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.he-kpi-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.he-kpi-delta {
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
  font-size: 0.55rem;
  font-weight: 700;
}
.he-up   { color: #1a8c00; }
.he-warn { color: #b45309; }

/* Chart area */
.he-chart-wrap {
  padding: 0.75rem 1.1rem 0.6rem;
  border-bottom: 1px solid var(--gray-100);
}
.he-chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}
.he-chart-title {
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.he-chart-legend {
  display: flex;
  gap: 0.75rem;
}
.he-chart-legend span {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.55rem;
  color: var(--gray-400);
}
.he-legend-dot {
  display: inline-block;
  width: 14px; height: 2px;
  border-radius: 1px;
  font-style: normal;
  flex-shrink: 0;
}
.he-dot-solid  { background: var(--green); }
.he-dot-dashed {
  background: repeating-linear-gradient(
    90deg, var(--navy) 0, var(--navy) 3px, transparent 3px, transparent 6px
  );
  opacity: 0.35;
}
.he-chart-svg {
  width: 100%;
  height: 70px;
  overflow: visible;
  display: block;
}

/* Reconciliation rows — premium data table look */
.he-recon-row {
  display: flex;
  flex-direction: column;
}
.he-recon-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.52rem 1.1rem;
  border-bottom: 1px solid rgba(19,34,54,0.042);
  transition: background var(--t-fast);
}
.he-recon-item:last-child { border-bottom: none; }
.he-recon-item:hover { background: rgba(247,249,252,0.8); }
.he-recon-bank {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--gray-600);
}
.he-bank-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}
.he-recon-val {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}
.he-status-ok {
  font-size: 0.54rem;
  font-weight: 700;
  padding: 0.12rem 0.48rem;
  background: rgba(55,221,0,0.09);
  color: #1a8c00;
  border: 1px solid rgba(55,221,0,0.2);
  border-radius: var(--r-full);
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.he-status-warn {
  font-size: 0.54rem;
  font-weight: 700;
  padding: 0.12rem 0.48rem;
  background: rgba(234,179,8,0.09);
  color: #92400e;
  border: 1px solid rgba(234,179,8,0.2);
  border-radius: var(--r-full);
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── Floating accent cards ─────────────────────────── */
.he-float-alert {
  position: absolute;
  top: -16px;
  left: -28px;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background: var(--white);
  border: 1px solid rgba(19,34,54,0.09);
  border-radius: var(--r-md);
  padding: 0.8rem 0.95rem;
  box-shadow:
    0 2px 8px rgba(19,34,54,0.07),
    0 6px 24px rgba(19,34,54,0.09);
  z-index: 6;
  animation: he-float 13s ease-in-out infinite 2.5s;
  max-width: 205px;
}
.he-float-alert-icon {
  width: 28px; height: 28px;
  border-radius: var(--r-xs);
  background: rgba(234,179,8,0.1);
  border: 1px solid rgba(234,179,8,0.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  color: #b45309;
  flex-shrink: 0;
}
.he-float-alert-title {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.15rem;
  line-height: 1;
}
.he-float-alert-body {
  font-size: 0.59rem;
  color: var(--gray-500);
  line-height: 1.4;
}

/* Float badge: bottom-right */
.he-float-badge {
  position: absolute;
  bottom: -14px;
  right: -24px;
  background: var(--white);
  border: 1px solid rgba(19,34,54,0.09);
  border-radius: var(--r-md);
  padding: 0.75rem 1rem;
  box-shadow:
    0 2px 8px rgba(19,34,54,0.07),
    0 6px 24px rgba(19,34,54,0.09);
  z-index: 6;
  animation: he-float 10s ease-in-out infinite 4s;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.he-float-badge-icon {
  width: 28px; height: 28px;
  border-radius: var(--r-xs);
  background: rgba(55,221,0,0.09);
  border: 1px solid rgba(55,221,0,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  color: #1a8c00;
  flex-shrink: 0;
}
.he-float-badge-num {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
}
.he-float-badge-label {
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.2rem;
  white-space: nowrap;
}

/* ─── Trust Bar ───────────────────────────────────────── */
.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: 0.85rem 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 1.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-500);
  white-space: nowrap;
}
.trust-bar-item i {
  font-size: 0.75rem;
  color: var(--navy);
  opacity: 0.6;
}
.trust-bar-sep {
  width: 1px; height: 18px;
  background: var(--gray-100);
  flex-shrink: 0;
}

/* ─── Responsive: Hero Enterprise ───────────────────── */
@media (max-width: 1100px) {
  .he-layout    { grid-template-columns: 1fr; gap: 3.5rem; }
  .he-visual    { justify-content: center; }
  .he-visual-glow { display: none; }
  .he-panel     { max-width: 520px; }
  .he-float-alert, .he-float-badge { display: none; }
  .he-body      { padding: 7.5rem 0 4.5rem; }
  .he-copy      { max-width: 720px; }
  /*
   * 1-col ≤1100px: container = viewport - 80px, max-width 720px.
   * Em 1024px: container = 944px → max-width 720px ativo.
   * font-size = 720 / (23 × 0.54) ≈ 58px = 3.6rem, mas usamos 3rem para folga.
   * Em 900px: container = 820px → max-width 720px → OK com 3rem.
   */
  .he-h1        { font-size: clamp(1.9rem, 4vw, 3rem); }
}
@media (max-width: 768px) {
  .trust-bar-sep { display: none; }
  .trust-bar-item { padding: 0.35rem 0.85rem; font-size: 0.68rem; }
  .trust-bar-inner { gap: 0.25rem; }
  /* ~768px: container ~688px → font = 688/(23×0.54) ≈ 55px, usamos 2.2rem com folga */
  .he-h1  { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
}
@media (max-width: 640px) {
  /* ~640px: container ~560px → 2 linhas OK com 1.5rem */
  .he-h1  { font-size: clamp(1.3rem, 2.5vw, 1.5rem); }
  .he-sub { font-size: 0.95rem; }
  .he-ctas { flex-direction: column; align-items: stretch; }
  .he-ctas a { justify-content: center; }
  .he-proof-line { gap: 1rem; }
  .he-balance-value { font-size: 1.5rem; }
  .he-body { padding: 6.5rem 0 3.5rem; }
  .trust-bar-item:nth-child(n+9) { display: none; }
}
@media (max-width: 480px) {
  /* ~480px: container ~400px — mínimo legível 1.55rem */
  .he-h1  { font-size: clamp(1.55rem, 7.5vw, 1.9rem); }
}
@media (max-width: 380px) {
  .he-h1  { font-size: clamp(1.35rem, 7vw, 1.55rem); }
}

/* ════════════════════════════════════════════════════════════
   HERO — Deep Navy (legacy, kept for other pages referencing .hero)
════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--navy-deep);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Subtle grid texture */
.hero-grid-layer {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
  z-index: 0;
}

/* Ambient light */
.hero-ambient-1 {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(55,221,0,0.07) 0%, transparent 70%);
  top: -200px; right: -100px;
  pointer-events: none;
  z-index: 0;
}
.hero-ambient-2 {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,90,180,0.1) 0%, transparent 70%);
  bottom: -100px; left: -80px;
  pointer-events: none;
  z-index: 0;
}

/* Hero nav spacer */
.hero-body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 9rem 0 6rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  width: 100%;
}

/* Copy side */
.hero-copy { max-width: 600px; }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.9rem 0.3rem 0.5rem;
  background: rgba(55,221,0,0.09);
  border: 1px solid rgba(55,221,0,0.22);
  border-radius: var(--r-full);
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(55,221,0,0.9);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  width: fit-content;
}
.hero-pill-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 1.8s ease infinite;
  flex-shrink: 0;
}

.hero-h1 {
  font-size: clamp(2.8rem, 4.8vw, 4.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.038em;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-h1 em {
  font-style: normal;
  color: var(--green);
}

.hero-sub {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 2.75rem;
}
.hero-check-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}
.hero-check-ico {
  width: 19px; height: 19px;
  border-radius: 50%;
  background: rgba(55,221,0,0.12);
  border: 1px solid rgba(55,221,0,0.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-check-ico i { font-size: 0.5rem; color: var(--green); }

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

.hero-proof {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.hero-proof-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.hero-proof-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
}
.hero-proof-num b { color: var(--green); font-weight: inherit; }
.hero-proof-label { font-size: 0.68rem; color: rgba(255,255,255,0.38); line-height: 1.4; }
.hero-proof-sep { width: 1px; height: 36px; background: rgba(255,255,255,0.09); flex-shrink: 0; }

/* ─── Dashboard Mockup (legacy dark) ──────────────────── */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dash-window {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 0 0 1px rgba(55,221,0,0.07);
  width: 100%;
  max-width: 540px;
  animation: float-y 8s ease-in-out infinite;
}

.dash-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.2rem;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dash-dots { display: flex; gap: 5px; }
.dash-dot-r { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.dash-dot-y { width: 9px; height: 9px; border-radius: 50%; background: #febc2e; }
.dash-dot-g { width: 9px; height: 9px; border-radius: 50%; background: #28c840; }
.dash-win-label { font-size: 0.68rem; font-weight: 600; color: rgba(255,255,255,0.4); letter-spacing: 0.06em; }
.dash-live-badge {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.62rem; font-weight: 700;
  color: var(--green); text-transform: uppercase; letter-spacing: 0.1em;
}
.dash-live-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 1.4s ease infinite;
}

.dash-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }

/* KPI row */
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.65rem; }
.dash-kpi {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-sm);
  padding: 0.8rem 0.9rem;
}
.dash-kpi-label { font-size: 0.57rem; font-weight: 600; color: rgba(255,255,255,0.38); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.4rem; }
.dash-kpi-value { font-size: 0.95rem; font-weight: 700; color: var(--white); line-height: 1; }
.dash-kpi-delta { font-size: 0.57rem; font-weight: 700; margin-top: 0.25rem; display: flex; align-items: center; gap: 0.2rem; }
.delta-up { color: var(--green); }
.delta-dn { color: #ff5f57; }

/* Sparkline chart */
.dash-chart-area {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-sm);
  padding: 1rem;
}
.dash-chart-hdr {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.75rem;
}
.dash-chart-title { font-size: 0.62rem; font-weight: 700; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.1em; }
.dash-legend { display: flex; gap: 0.75rem; }
.dash-legend-item { display: flex; align-items: center; gap: 0.3rem; font-size: 0.58rem; color: rgba(255,255,255,0.35); }
.dash-legend-dot { width: 6px; height: 6px; border-radius: 50%; }

.dash-svg { width: 100%; height: 68px; overflow: visible; }

/* Bank table */
.dash-table {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.dash-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  padding: 0.55rem 0.9rem;
  gap: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background var(--t-fast);
}
.dash-row:last-child { border-bottom: none; }
.dash-row:hover { background: rgba(255,255,255,0.03); }
.dash-row-bank { font-size: 0.65rem; color: rgba(255,255,255,0.45); }
.dash-row-val  { font-size: 0.7rem; font-weight: 700; color: rgba(255,255,255,0.8); }
.dash-chip {
  font-size: 0.54rem; font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.dash-chip-ok   { background: rgba(55,221,0,0.14); color: var(--green); }
.dash-chip-warn { background: rgba(254,188,46,0.14); color: #febc2e; }

/* Floating accent cards */
.dash-float {
  position: absolute;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 0.9rem 1.15rem;
  box-shadow: var(--sh-lg);
  z-index: 4;
}
.dash-float-1 { top: -22px; left: -28px; animation: float-y 9s ease-in-out infinite 1s; }
.dash-float-2 { bottom: -18px; right: -28px; animation: float-y 7s ease-in-out infinite 2.5s; }
.dash-float-label { font-size: 0.58rem; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.28rem; }
.dash-float-value { font-size: 1rem; font-weight: 800; color: var(--ink); line-height: 1; }
.dash-float-sub   { font-size: 0.6rem; color: var(--green); font-weight: 600; margin-top: 0.2rem; }

/* ════════════════════════════════════════════════════════════
   MARQUEE STRIP
════════════════════════════════════════════════════════════ */
.marquee-strip {
  background: var(--snow);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: 1.1rem 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-400);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.marquee-item i { color: var(--green); font-size: 0.65rem; }

/* ════════════════════════════════════════════════════════════
   SECTION HEADER (centered)
════════════════════════════════════════════════════════════ */
.section-header {
  max-width: 700px;
  margin-bottom: 4.5rem;
}
.section-header.center {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p  { margin-top: 0; }

/* ════════════════════════════════════════════════════════════
   SECTION: PROBLEM — white bg, editorial list
════════════════════════════════════════════════════════════ */
.problem-layout {
  display: grid;
  grid-template-columns: 42fr 58fr;
  gap: 6rem;
  align-items: start;
}
.problem-copy { position: sticky; top: 110px; }
.problem-copy h2 { margin-bottom: 1.25rem; }
.problem-copy p  { margin-bottom: 2rem; }

.problem-items { display: flex; flex-direction: column; gap: 0; }
.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--gray-100);
  transition: all var(--t-base) var(--ease);
}
.problem-item:first-child { padding-top: 0; }
.problem-item:last-child  { border-bottom: none; }
.problem-item:hover .pi-icon-wrap { background: var(--navy); border-color: var(--navy); }
.problem-item:hover .pi-icon-wrap i { color: var(--white); }

.pi-icon-wrap {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: rgba(34, 197, 94, 0.10);
  border: 1px solid rgba(34, 197, 94, 0.22);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all var(--t-base) var(--ease);
}
.pi-icon-wrap i { font-size: 1rem; color: #16a34a; transition: color var(--t-base); }

.pi-text h4 { font-size: 0.95rem; font-weight: 700; color: var(--ink); margin-bottom: 0.3rem; }
.pi-text p  { font-size: 0.85rem; line-height: 1.65; }

/* ════════════════════════════════════════════════════════════
   SECTION: VIDEO PLATAFORMA — white bg, 2-col layout
════════════════════════════════════════════════════════════ */
.video-layout {
  display: grid;
  grid-template-columns: 58fr 42fr;
  gap: 5rem;
  align-items: center;
}

/* Wrapper que mantém o aspect-ratio 16:9 */
.video-embed-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(19,34,54,0.13), 0 4px 16px rgba(19,34,54,0.07);
}
.video-iframe-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}
.video-iframe-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Thumbnail facade — lazy load */
.video-iframe-container {
  cursor: pointer;
}
.yt-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease), filter 0.4s;
}
.video-iframe-container:hover .yt-thumb {
  transform: scale(1.03);
  filter: brightness(0.85);
}
.yt-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: rgba(0,0,0,0.18);
  border: none;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
}
.video-iframe-container:hover .yt-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  background: rgba(255,0,0,0.85);
}
.yt-play-btn svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Texto lateral */
.video-copy .eyebrow { margin-bottom: 0.75rem; }
.video-copy h2       { margin-bottom: 1.25rem; font-size: clamp(1.5rem, 2.5vw, 2rem); }
.video-copy p        { margin-bottom: 1.75rem; line-height: 1.75; }

/* Lista de bullets */
.video-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.video-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.5;
}
.vh-icon {
  flex-shrink: 0;
  margin-top: 0.05rem;
}
.vh-icon i {
  color: var(--green);
  font-size: 1rem;
}

/* ════════════════════════════════════════════════════════════
   SECTION: SOLUTION — navy bg
════════════════════════════════════════════════════════════ */
.solution-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.benefit-rows { display: flex; flex-direction: column; gap: 0.75rem; margin: 2rem 0 2.5rem; }
.benefit-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-sm);
  transition: all var(--t-base) var(--ease);
  cursor: default;
}
.benefit-row:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(55,221,0,0.2);
  transform: translateX(4px);
}
.benefit-row-icon {
  width: 34px; height: 34px;
  border-radius: var(--r-xs);
  background: rgba(55,221,0,0.1);
  border: 1px solid rgba(55,221,0,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--green); font-size: 0.85rem;
  flex-shrink: 0;
}
.benefit-row span { font-size: 0.875rem; font-weight: 600; color: rgba(255,255,255,0.82); }

/* Connection diagram */
.conn-diagram {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 420px; height: 420px;
  flex-shrink: 0;
}

/* SVG base layer */
.conn-svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
}

/* Center node */
.conn-center-node {
  position: absolute;
  width: 100px; height: 100px;
  border-radius: 22px;
  background: var(--green);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.35rem;
  box-shadow: 0 0 0 8px rgba(55,221,0,0.12), 0 0 80px rgba(55,221,0,0.45);
  z-index: 10;
  transition: transform 0.3s var(--ease);
}
.conn-center-node:hover { transform: scale(1.06); }
.conn-center-node i    { font-size: 1.7rem; color: transparent; }
.conn-center-node span { font-size: 1.15rem; font-weight: 900; color: var(--navy-deep); letter-spacing: 0.14em; text-transform: uppercase; text-align: center; line-height: 1; }

/* All nodes base */
.conn-node {
  position: absolute;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.28rem;
  z-index: 5;
  cursor: default;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.conn-node:hover { transform: scale(1.08) !important; }

/* Inner nodes — principais, bem visíveis */
.conn-node--inner {
  width: 72px; height: 72px;
  border-radius: 16px;
  background: rgba(13,27,50,0.92);
  border: 1px solid rgba(55,221,0,0.45);
  box-shadow: 0 0 0 3px rgba(55,221,0,0.08), 0 4px 20px rgba(0,0,0,0.35);
}
.conn-node--inner i    { font-size: 1.25rem; color: rgba(255,255,255,0.9); }
.conn-node--inner span { font-size: 0.52rem; font-weight: 800; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 0.1em; }

/* Outer nodes — secundários, mesma estética, levemente menores */
.conn-node--outer {
  width: 60px; height: 60px;
  border-radius: 14px;
  background: rgba(13,27,50,0.85);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.conn-node--outer i    { font-size: 1rem; color: rgba(255,255,255,0.55); }
.conn-node--outer span { font-size: 0.38rem; font-weight: 700; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.06em; text-align: center; line-height: 1.2; }

/* Green status dot on active inner nodes */
.conn-node-dot {
  position: absolute;
  top: 5px; right: 5px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #37dd00;
  box-shadow: 0 0 6px #37dd00;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

/* Live badge — centralizado na base, sem sobrepor nós */
.conn-live-badge {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 0.4rem;
  background: rgba(13,27,50,0.9);
  border: 1px solid rgba(55,221,0,0.35);
  border-radius: 20px;
  padding: 0.3rem 0.85rem;
  font-size: 0.58rem; font-weight: 800;
  color: #37dd00; letter-spacing: 0.12em; text-transform: uppercase;
  z-index: 20;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.conn-live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #37dd00;
  box-shadow: 0 0 8px #37dd00;
  animation: pulse-dot 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════
   SECTION: MODULES — header pills + title highlight
════════════════════════════════════════════════════════════ */
.eyebrow--green {
  color: var(--green);
  background: rgba(55,221,0,0.10);
  border: 1px solid rgba(55,221,0,0.22);
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.modulos-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.modulos-title__highlight {
  background: linear-gradient(90deg, #37dd00 0%, #22c55e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.modulos-lead {
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 0 1.8rem;
}
.modulos-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}
.modulos-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.10);
  color: var(--gray-600);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.modulos-pill i { color: var(--green); font-size: 0.7rem; }
.modulos-pill:hover {
  background: rgba(55,221,0,0.12);
  border-color: rgba(55,221,0,0.35);
  color: var(--navy);
}
.modulos-pill--ia {
  background: rgba(55,221,0,0.10);
  border-color: rgba(55,221,0,0.30);
  color: var(--green);
}

/* ════════════════════════════════════════════════════════════
   SECTION: MODULES — mobile-first
════════════════════════════════════════════════════════════ */

/* ── Header pills ── */
.modulos-title {
  font-size: clamp(1.4rem, 6vw, 2.8rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.modulos-title__highlight {
  background: linear-gradient(90deg, #37dd00 0%, #22c55e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.modulos-lead {
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
}
.modulos-pills {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding-bottom: 0.25rem;
}
.modulos-pills::-webkit-scrollbar { display: none; }
.modulos-pill {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.10);
  color: var(--gray-600);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.modulos-pill i { color: var(--green); font-size: 0.7rem; }
.modulos-pill:hover {
  background: rgba(55,221,0,0.12);
  border-color: rgba(55,221,0,0.35);
  color: var(--navy);
}
.modulos-pill--ia {
  background: rgba(55,221,0,0.10);
  border-color: rgba(55,221,0,0.30);
  color: var(--green);
}
.modulos-header {
  max-width: 100%;
  margin-bottom: 1.5rem;
}

/* ── Layout: mobile-first = 1 coluna, desktop = 2 colunas ── */
.modules-layout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.modules-nav-sticky { width: 100%; }

/* Nav: horizontal scroll em todas as telas, vira vertical só em desktop */
.modules-nav-inner {
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  padding: 0.4rem;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 0.25rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.modules-nav-inner::-webkit-scrollbar { display: none; }

/* Item: compacto horizontal por padrão */
.module-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  gap: 0.2rem;
  padding: 0.6rem 0.9rem;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
  background: none;
  border: none;
  text-align: center;
  min-height: 44px;
  min-width: 44px;
}
.module-nav-item:hover { background: rgba(255,255,255,0.07); }
.module-nav-item.active {
  background: rgba(55,221,0,0.14);
  border: 1px solid rgba(55,221,0,0.30);
  box-shadow: 0 0 16px rgba(55,221,0,0.10);
}
.module-nav-item.active .mni-num   { color: var(--green); }
.module-nav-item.active .mni-label { color: #fff; font-weight: 700; }
.module-nav-item.active .mni-icon  { color: var(--green); }

.mni-icon {
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.30);
  flex-shrink: 0;
  transition: color var(--t-fast);
}
/* Número oculto por padrão — só aparece no desktop */
.mni-num { display: none; }
.mni-label {
  font-size: 0.70rem; font-weight: 500;
  color: rgba(255,255,255,0.55);
  transition: color var(--t-fast);
  line-height: 1.2;
  white-space: nowrap;
}

/* Panel */
.module-panels {
  width: 100%;
  min-width: 0;
}
.module-panel  { display: none; animation: fadeIn 0.28s ease; }
.module-panel.active { display: block; }

.module-card {
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.25rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.22);
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}
.module-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green) 0%, rgba(55,221,0,0.2) 60%, transparent 100%);
}
.module-card::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(55,221,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.module-card-num {
  position: absolute;
  top: 1rem; right: 1.25rem;
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  letter-spacing: -0.04em;
  user-select: none;
}
.module-icon-box {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  background: rgba(55,221,0,0.12);
  border: 1px solid rgba(55,221,0,0.3);
  box-shadow: 0 0 20px rgba(55,221,0,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: var(--green);
  margin-bottom: 1rem;
}
.module-card h3 { margin-bottom: 0.65rem; color: #fff; font-size: 1.1rem; }
.module-card > p { margin-bottom: 1.5rem; font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.7; }

.module-features { display: flex; flex-direction: column; gap: 0.4rem; }
.module-feature {
  display: flex; align-items: flex-start; gap: 0.6rem;
  padding: 0.6rem 0.85rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-sm);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  transition: background var(--t-fast);
}
.module-feature:hover { background: rgba(55,221,0,0.07); border-color: rgba(55,221,0,0.2); }
.module-feature i { color: var(--green); flex-shrink: 0; margin-top: 2px; font-size: 0.72rem; }

.module-tags { display: flex; gap: 0.5rem; margin-top: 1.25rem; flex-wrap: wrap; }
.module-tag {
  padding: 0.3rem 0.85rem;
  background: rgba(55,221,0,0.1);
  border: 1px solid rgba(55,221,0,0.25);
  border-radius: var(--r-full);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Desktop (≥ 900px): volta ao layout de 2 colunas ── */
@media (min-width: 900px) {
  .modules-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 3rem;
    align-items: start;
  }
  .modules-nav-sticky {
    position: sticky;
    top: 100px;
    width: auto;
  }
  .modules-nav-inner {
    flex-direction: column;
    flex-wrap: nowrap;
    overflow-x: visible;
    padding: 0.5rem;
    gap: 0.15rem;
  }
  .module-nav-item {
    flex-direction: row;
    align-items: center;
    flex-shrink: 1;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    width: 100%;
    text-align: left;
    min-width: 0;
  }
  .mni-num {
    display: inline;
    font-size: 0.58rem; font-weight: 800;
    color: rgba(255,255,255,0.25);
    width: 18px; flex-shrink: 0;
    transition: color var(--t-fast);
    letter-spacing: 0.05em;
  }
  .mni-icon { width: 28px; height: 28px; font-size: 0.85rem; }
  .mni-label { font-size: 0.82rem; white-space: normal; }
  .module-panels { min-height: 420px; }
  .module-card {
    padding: 2.75rem;
  }
  .module-card::after {
    top: -80px; right: -80px;
    width: 280px; height: 280px;
  }
  .module-card-num { top: 2rem; right: 2.5rem; font-size: 5rem; }
  .module-icon-box { width: 60px; height: 60px; font-size: 1.5rem; margin-bottom: 1.5rem; }
  .module-card h3 { font-size: inherit; margin-bottom: 0.75rem; }
  .module-card > p { font-size: 0.9rem; margin-bottom: 2rem; }
  .module-feature { font-size: 0.84rem; padding: 0.7rem 1rem; gap: 0.7rem; }
  .modulos-title { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
  .modulos-pills { flex-wrap: wrap; overflow-x: visible; margin-bottom: 3rem; }
  .modulos-header { margin-bottom: 4.5rem; }
  .modulos-lead { margin-bottom: 1.8rem; font-size: 1rem; }
}

/* ════════════════════════════════════════════════════════════
   SECTION: PILLARS — white bg, 4-col premium
════════════════════════════════════════════════════════════ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
}
.pillar-item {
  padding: 2.5rem 2rem;
  background: rgba(255,255,255,0.04);
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background var(--t-base) var(--ease);
  cursor: default;
}
.pillar-item:last-child { border-right: none; }
.pillar-item:hover { background: rgba(255,255,255,0.08); }

.pillar-icon-wrap {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  background: rgba(55,221,0,0.12);
  border: 1px solid rgba(55,221,0,0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.pillar-icon-wrap i { font-size: 1.15rem; color: var(--green); }

.pillar-item h4 { color: #fff; margin-bottom: 0.6rem; }
.pillar-item p  { font-size: 0.85rem; line-height: 1.65; color: rgba(255,255,255,0.55); }

/* Variante light — para seções com fundo branco */
.pillar-item--light { background: #f8fafc; border-right-color: var(--gray-100); }
.pillar-item--light:hover { background: #f1f5f9; }
.pillar-item--light h4 { color: var(--navy); }
.pillar-item--light p  { color: var(--gray-500); }

/* Variante CTA — 4º bloco com chamada para ação */
.pillar-item--cta { display: flex; flex-direction: column; justify-content: center; gap: 0; background: var(--navy); border-right: none; }
.pillar-item--cta:hover { background: var(--navy); }
.pillar-cta-pre { font-size: 0.875rem; font-weight: 600; color: rgba(255,255,255,0.75); line-height: 1.5; margin-bottom: 1.5rem; }

/* ════════════════════════════════════════════════════════════
   SECTION: RESULTS — navy bg, editorial numbers
════════════════════════════════════════════════════════════ */
.results-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.result-item {
  padding: 2.75rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.07);
  text-align: left;
  transition: background var(--t-base) var(--ease);
}
.result-item:last-child { border-right: none; }
.result-item:hover { background: rgba(255,255,255,0.03); }
.result-num {
  font-size: clamp(2rem, 2.8vw, 2.8rem);
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
  display: block;
}
.result-label { font-size: 0.8rem; color: rgba(255,255,255,0.45); line-height: 1.5; }

/* ════════════════════════════════════════════════════════════
   SECTION: SEGMENTS — ice bg
════════════════════════════════════════════════════════════ */
.segments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.segment-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-md);
  padding: 2rem 1.5rem;
  transition: all var(--t-base) var(--ease);
  cursor: default;
  box-shadow: var(--sh-xs);
}
.segment-card:hover {
  box-shadow: var(--sh-md);
  border-color: rgba(19,34,54,0.14);
  transform: translateY(-3px);
}
.segment-card:hover .seg-icon-ring { background: var(--navy); border-color: var(--navy); }
.segment-card:hover .seg-icon-ring i { color: #37dd00; }

.seg-icon-ring {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  background: rgba(55,221,0,0.08);
  border: 1px solid rgba(55,221,0,0.20);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--t-base) var(--ease);
}
.seg-icon-ring i { font-size: 1.1rem; color: #37dd00; transition: color var(--t-base); }

.segment-card h4 { color: var(--ink); margin-bottom: 0.4rem; font-size: 0.95rem; }
.segment-card p  { font-size: 0.82rem; line-height: 1.6; }

/* ════════════════════════════════════════════════════════════
   SECTION: ABOUT — editorial split
════════════════════════════════════════════════════════════ */
.about-layout {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 6rem;
  align-items: center;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--gray-100);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-md);
  overflow: hidden;
  margin: 2.5rem 0;
}
.about-stat {
  background: var(--white);
  padding: 1.5rem;
}
.about-stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.about-stat-label { font-size: 0.78rem; color: var(--gray-400); line-height: 1.45; }

/* About visual block */
.about-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.about-visual-inner {
  width: 100%;
  background: var(--navy);
  border-radius: var(--r-xl);
  padding: 3.5rem 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--sh-lg);
  min-height: 420px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.about-visual-photo {
  padding: 2rem;
}
.about-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--r-xl);
  z-index: 0;
}
.about-visual-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,20,40,0.30) 0%,
    rgba(10,20,40,0.55) 60%,
    rgba(10,20,40,0.85) 100%
  );
  border-radius: var(--r-xl);
  z-index: 1;
}
.about-bg-mark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: rgba(255,255,255,0.025);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.about-badge {
  display: inline-flex;
  flex-direction: column;
  background: rgba(20,40,70,0.92);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
  position: relative;
  z-index: 2;
}
.about-badge-year { font-size: 2.5rem; font-weight: 800; color: var(--green); letter-spacing: -0.05em; line-height: 1; }
.about-badge-text { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-top: 0.3rem; }

.about-cert-row {
  display: flex; gap: 0.75rem; flex-wrap: wrap;
  position: relative; z-index: 2;
  margin-top: auto;
}
.about-cert {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(20,40,70,0.90);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-sm);
  font-size: 0.72rem; font-weight: 600;
  color: rgba(255,255,255,0.90);
}
.about-cert i { color: var(--green); font-size: 0.8rem; }

/* ════════════════════════════════════════════════════════════
   DARK OVERRIDES — seções #problema e #sobre no fundo navy
════════════════════════════════════════════════════════════ */

/* #problema — itens da lista */
#problema .problem-item {
  border-bottom-color: rgba(255,255,255,0.08);
}
#problema .problem-item:hover .pi-icon-wrap {
  background: var(--green);
  border-color: var(--green);
}
#problema .problem-item:hover .pi-icon-wrap i { color: var(--navy); }
#problema .pi-icon-wrap {
  background: rgba(55,221,0,0.12);
  border-color: rgba(55,221,0,0.28);
}
#problema .pi-icon-wrap i { color: var(--green); }
#problema .pi-text h4 { color: var(--white); }
#problema .pi-text p  { color: rgba(255,255,255,0.62); }
#problema .problem-copy h2 { color: var(--white); }
#problema .problem-copy p  { color: rgba(255,255,255,0.70); }

/* #sobre — stats grid e textos */
#sobre .about-stats {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.10);
  gap: 1px;
}
#sobre .about-stat {
  background: rgba(255,255,255,0.04);
}
#sobre .about-stat-num   { color: var(--green); }
#sobre .about-stat-label { color: rgba(255,255,255,0.55); }
#sobre h2 { color: var(--white); }
#sobre p  { color: rgba(255,255,255,0.85); }

/* ════════════════════════════════════════════════════════════
   SECTION: BLOG — white bg, editorial cards
════════════════════════════════════════════════════════════ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all var(--t-base) var(--ease);
  display: flex; flex-direction: column;
  box-shadow: var(--sh-xs);
}
.blog-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
  border-color: var(--gray-200);
}

.blog-thumb {
  height: 180px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.blog-thumb-grid {
  position: absolute; inset: 0;
  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: 40px 40px;
}
.blog-thumb-icon { position: relative; z-index: 2; font-size: 2.5rem; color: rgba(55,221,0,0.6); }
.blog-thumb-glow {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(circle at 50% 50%, rgba(55,221,0,0.08) 0%, transparent 70%);
}

.blog-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; gap: 0.75rem; }
.blog-cat {
  font-size: 0.65rem; font-weight: 700;
  color: var(--green); text-transform: uppercase;
  letter-spacing: 0.1em;
}
.blog-body h3 {
  font-size: 1rem; font-weight: 700;
  color: var(--ink); line-height: 1.35;
  margin: 0;
}
.blog-body p { font-size: 0.82rem; line-height: 1.65; margin: 0; flex: 1; }
.blog-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--gray-100);
  margin-top: auto;
}
.blog-date { font-size: 0.72rem; color: var(--gray-400); display: flex; align-items: center; gap: 0.4rem; }
.blog-link {
  font-size: 0.72rem; font-weight: 700;
  color: var(--navy); display: flex; align-items: center; gap: 0.35rem;
  transition: gap var(--t-fast) var(--ease);
}
.blog-link:hover { gap: 0.6rem; }

/* ════════════════════════════════════════════════════════════
   CTA FINAL — navy gradient
════════════════════════════════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(55,221,0,0.06) 0%, transparent 70%);
  top: -200px; right: -100px;
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 680px;
  margin: 0;
}
.cta-inner h2 { color: var(--white); margin-bottom: 1.25rem; }
.cta-inner p  { color: rgba(255,255,255,0.6); margin-bottom: 2.5rem; font-size: 1.05rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: flex-start; flex-wrap: wrap; }

/* ════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.55);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  padding: 5rem 0 3.5rem;
}

/* Brand col */
.footer-brand p { font-size: 0.85rem; line-height: 1.7; margin-top: 1rem; max-width: 280px; }
.footer-logo { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 0.25rem; }
.footer-logo-text { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.04em; color: var(--white); }
.footer-logo-text span { color: var(--green); }

.footer-contacts { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-contact-line { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.footer-contact-line i { color: var(--green); width: 14px; flex-shrink: 0; font-size: 0.8rem; margin-top: 0.15em; }
.footer-contact-line span, .footer-contact-line a { color: rgba(255,255,255,0.55); line-height: 1.5; }
.footer-contact-line a:hover { color: var(--white); }

.footer-socials { display: flex; gap: 0.65rem; margin-top: 1.5rem; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
  transition: all var(--t-fast) var(--ease);
}
.social-btn:hover { background: rgba(55,221,0,0.12); border-color: rgba(55,221,0,0.3); color: var(--green); }

/* Nav cols */
.footer-col h5 {
  font-size: 0.72rem; font-weight: 700;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a { font-size: 0.83rem; color: rgba(255,255,255,0.45); transition: color var(--t-fast); }
.footer-col a:hover { color: var(--white); }

/* Bottom bar */
.footer-bottom {
  padding: 1.5rem 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.78rem; color: rgba(255,255,255,0.3); transition: color var(--t-fast); }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ════════════════════════════════════════════════════════════
   WHATSAPP FAB
════════════════════════════════════════════════════════════ */
.wa-fab {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 90;
  transition: all var(--t-base) var(--ease);
}
.wa-fab:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.6); }

/* ════════════════════════════════════════════════════════════
   ICON BOX UTILITY
════════════════════════════════════════════════════════════ */
.icon-box {
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  flex-shrink: 0;
}
.icon-box-sm { width: 36px; height: 36px; font-size: 0.9rem; }
.icon-box-md { width: 44px; height: 44px; font-size: 1.1rem; }
.icon-box-lg { width: 52px; height: 52px; font-size: 1.3rem; }

.icon-box-navy  { background: var(--navy);       color: var(--green); }
.icon-box-green { background: var(--green-dim);  color: var(--navy); border: 1px solid rgba(55,221,0,0.2); }
.icon-box-light { background: var(--snow);       color: var(--gray-400); border: 1px solid var(--gray-100); }

/* ════════════════════════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════════════════════════ */
@keyframes preload-fill {
  from { width: 0; }
  to   { width: 100%; }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes draw-line {
  from { stroke-dashoffset: 1000; }
  to   { stroke-dashoffset: 0; }
}

/* Scroll-triggered animation states */
.anim { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.anim.visible { opacity: 1; transform: translateY(0); }
.anim-left  { opacity: 0; transform: translateX(-22px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.anim-left.visible  { opacity: 1; transform: translateX(0); }
.anim-right { opacity: 0; transform: translateX(22px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.anim-right.visible { opacity: 1; transform: translateX(0); }

.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }

/* ════════════════════════════════════════════════════════════
   MOBILE PERFORMANCE — Desabilita animações/transições
   Motivo: no mobile, transitions/transforms causam recálculo
   de layout e consomem GPU desnecessariamente.
   Elementos já ficam visíveis instantaneamente (sem fade/slide).
════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Scroll-triggered animations: mostrar tudo imediatamente ── */
  .anim,
  .anim-left,
  .anim-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .anim.visible,
  .anim-left.visible,
  .anim-right.visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* ── Delays zerados ── */
  .delay-1, .delay-2, .delay-3, .delay-4, .delay-5 {
    transition-delay: 0s !important;
  }

  /* ── Transições de hover/interação: reduzidas ao mínimo ── */
  .btn,
  .btn-primary,
  .btn-secondary,
  .btn-outline,
  .nav-link,
  .footer-link,
  .card,
  .pillar-item,
  .module-card,
  .sol-card,
  .feature-item,
  .blog-link {
    transition: none !important;
  }

  /* ── Animações contínuas: pausadas no mobile ── */
  .logos-marquee-track,
  .he-float,
  [style*="animation"] {
    animation-play-state: paused !important;
  }

  /* ── float-y e spin-slow: desnecessários no mobile ── */
  @keyframes float-y   { 0%, 100% { transform: none; } }
  @keyframes spin-slow { 0%, 100% { transform: none; } }
  @keyframes he-float  { 0%, 100% { transform: none; } }

  /* ── will-change: remover camadas de GPU no mobile ── */
  * {
    will-change: auto !important;
  }

  /* ── prefers-reduced-motion: respeitar preferência do sistema ── */
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero-layout { grid-template-columns: 1fr; gap: 4rem; }
  .hero-visual { display: none; }
  .hero-body { padding: 8rem 0 5rem; }
  .results-grid { grid-template-columns: repeat(3, 1fr); }
  .result-item:nth-child(4) { border-right: 1px solid rgba(255,255,255,0.07); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-item:nth-child(2) { border-right: none; }
  .pillar-item:nth-child(3) { border-right: 1px solid var(--gray-100); border-top: 1px solid var(--gray-100); }
  .pillar-item:nth-child(4) { border-right: none; border-top: 1px solid var(--gray-100); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 900px) {
  .nav-menu, .nav-actions { display: none; }
  .nav-toggle { display: flex; }

  .problem-layout  { grid-template-columns: 1fr; gap: 3rem; }
  .problem-copy    { position: static; }
  .video-layout    { grid-template-columns: 1fr; gap: 2.5rem; }
  .solution-layout { grid-template-columns: 1fr; gap: 3rem; }
  .conn-diagram    { display: none; }
  .about-layout    { grid-template-columns: 1fr; gap: 3rem; }
  .segments-grid   { grid-template-columns: repeat(2, 1fr); }
  .blog-grid       { grid-template-columns: 1fr 1fr; }
  .results-grid    { grid-template-columns: repeat(2, 1fr); }
  .result-item     { border-right: 1px solid rgba(255,255,255,0.07) !important; }
  .result-item:nth-child(2n) { border-right: none !important; }
  .result-item     { border-top: 1px solid rgba(255,255,255,0.07); }
  .results-grid .result-item:first-child,
  .results-grid .result-item:nth-child(2) { border-top: none; }
}

@media (max-width: 640px) {
  :root {
    --section-pad: 5rem;
    --section-pad-sm: 3.5rem;
    --section-pad-lg: 6rem;
  }
  .container { padding: 0 1.25rem; }

  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.8rem; }

  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-proof { gap: 1rem; flex-wrap: wrap; }
  .segments-grid { grid-template-columns: 1fr; }
  .blog-grid     { grid-template-columns: 1fr; }
  .results-grid  { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid  { grid-template-columns: 1fr; }
  .pillar-item   { border-right: none !important; border-top: 1px solid var(--gray-100); }
  .pillar-item:first-child { border-top: none; }
  .footer-grid   { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-btns      { flex-direction: column; }
  .cta-btns .btn { width: 100%; justify-content: center; }
  .about-stats   { grid-template-columns: 1fr 1fr; }
}

/* ════════════════════════════════════════════════════════════
   UX MOBILE — Melhorias v1
   Corrige: touch targets, tipografia, espaçamentos,
   safe-area, hero overflow, results grid, animações
════════════════════════════════════════════════════════════ */

/* ─── Reduced motion — desativa animações decorativas ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .he-panel, .he-float-alert, .he-float-badge,
  .dash-window, .dash-float-1, .dash-float-2,
  .marquee-track, .he-logos-marquee { animation: none !important; }
}

/* ─── Safe area (iPhone notch / home indicator) ───────── */
.mobile-nav {
  padding-bottom: max(2rem, env(safe-area-inset-bottom));
}
.wa-fab {
  bottom: max(1.5rem, calc(env(safe-area-inset-bottom) + 1rem));
  right:  max(1.5rem, env(safe-area-inset-right, 1.5rem));
}

/* ─── Touch targets mínimos 44px ──────────────────────── */
.m-link {
  min-height: 44px;
}
.m-cta .btn {
  min-height: 48px;
  justify-content: center;
}
.nav-toggle {
  min-width: 44px;
  min-height: 44px;
  display: none; /* continua oculto no desktop */
}
.social-btn {
  min-width: 44px;
  min-height: 44px;
}
.footer-col a {
  display: inline-block;
  padding: 0.25rem 0;
  min-height: 36px;
  line-height: 36px;
}

/* Tipografia hero já corrigida na regra original — sem duplicação */

/* ─── Hero enterprise — layout mobile ────────────────── */
@media (max-width: 768px) {
  /* Dashboard mockup: reduz e centraliza numa linha visual limpa */
  .he-visual    { justify-content: center; }
  .he-panel     { max-width: 480px; max-height: 360px; overflow: hidden; }
}

@media (max-width: 640px) {
  .he-body { padding: 5.5rem 0 1.5rem; }

  /* Proof line: visível no mobile */
  .desktop-hidden { display: flex !important; }

  /* Proof line: não ultrapassa o container */
  .he-proof-line {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    padding: 1rem;
  }
  .he-proof-sep { display: none; }

  /* CTAs: largura total, tamanho de toque adequado */
  .he-ctas a {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  /* Sub: mais respirável */
  .he-sub { font-size: 0.92rem; line-height: 1.7; }

  /* Dashboard: limita ainda mais em 640px */
  .he-panel { max-width: 100%; max-height: 300px; }
}

@media (max-width: 480px) {
  .he-body  { padding: 5rem 0 1.5rem; }
  .he-logos { display: none; } /* esconde marquee de logos em telas <480px */
  /* Dashboard mockup: oculto no mobile */
  .he-visual { display: none !important; }
}

/* ─── Hero mobile — bloco consolidado em @media (max-width: 768px) abaixo ─── */

/* ─── Hero dark (páginas internas) ───────────────────── */
@media (max-width: 640px) {
  .hero-body { padding: 6rem 0 3.5rem; }
  .hero-h1   { font-size: clamp(1.9rem, 8vw, 2.8rem); }
  .hero-sub  { font-size: 0.92rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; min-height: 48px; }
  .hero-proof { flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; }
  .hero-proof-sep { display: none; }
}

/* ─── Section header — reduce margin-bottom mobile ───── */
@media (max-width: 640px) {
  .section-header { margin-bottom: 2.5rem; }
}

/* ─── Results grid — 5 itens em 2 colunas: último centrado ─ */
@media (max-width: 640px) {
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* 5º item: ocupa as 2 colunas para não ficar esticado sozinho */
  .results-grid .result-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    border-right: none !important;
  }
  .result-item { padding: 1.75rem 1.25rem; }
  .result-num  { font-size: clamp(1.6rem, 6vw, 2.2rem); }
}

/* ─── Blog grid mobile — cards sem imagem cortada ─────── */
@media (max-width: 640px) {
  .blog-thumb { height: 140px; }
  .blog-body  { padding: 1.25rem; }
}

/* ─── Segments grid — 2 colunas em tablet, 1 em mobile ── */
@media (max-width: 480px) {
  .segments-grid { grid-template-columns: 1fr; }
  .segment-card  { padding: 1.5rem 1.25rem; }
}

/* ─── Dashboard widgets — ocultos no mobile ──────────── */
@media (max-width: 768px) {
  .dash-widget-mobile-hidden { display: none !important; }
}

/* ─── Footer mobile melhorado ─────────────────────────── */
@media (max-width: 640px) {
  .footer-grid  { padding: 3rem 0 2rem; }
  .footer-bottom { gap: 1rem; }
  .footer-legal { flex-wrap: wrap; gap: 0.75rem 1.25rem; justify-content: center; }
  .footer-brand p { max-width: 100%; }
}

/* ─── Container padding extra-small ──────────────────── */
@media (max-width: 380px) {
  .container    { padding: 0 1rem; }
  .container-sm { padding: 0 1rem; }
}

/* ─── Pillar items — padding mobile ──────────────────── */
@media (max-width: 640px) {
  .pillar-item { padding: 1.75rem 1.25rem; }
}

/* ─── Mobile nav: drawer completo e acessível ─────────── */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .mobile-nav {
    /* Garante que o conteúdo não fica atrás de nada */
    overscroll-behavior: contain;
  }
  /* Itens do menu com ícone: visual mais claro */
  .m-link {
    border-radius: var(--r-sm);
    margin-bottom: 2px;
  }
  /* Separador inferior suave */
  .m-cta {
    border-top: 1px solid var(--gray-100);
    padding-top: 1.25rem;
    margin-top: 0.5rem;
  }
}

/* ─── Trust bar: wrap limpo em mobile ─────────────────── */
@media (max-width: 480px) {
  .trust-bar-inner { gap: 0; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding: 0 1rem; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .trust-bar-inner::-webkit-scrollbar { display: none; }
  .trust-bar-item  { flex-shrink: 0; }
}

/* ─── About visual: não ocupa altura excessiva mobile ─── */
@media (max-width: 640px) {
  .about-visual-inner { min-height: 280px; padding: 2rem 1.5rem; }
  .about-bg-mark      { font-size: 5rem; }
}

/* ─── Marquee strips: pausa em hover/focus mobile ─────── */
@media (hover: none) {
  .he-logos-marquee:hover,
  .marquee-track:hover,
  .logos-marquee-track:hover {
    animation-play-state: running;
  }
}

/* ─── Overflow horizontal global — evita scroll lateral ─ */
@media (max-width: 900px) {
  .he-visual-glow,
  .he-bg-radial,
  .he-bg-radial2,
  .hero-ambient-1,
  .hero-ambient-2 {
    display: none;
  }
}

/* ─── Hero mobile — imagem de fundo + fundo navy + textos brancos ─── */
@media (max-width: 768px) {
  /* Padding compacto — sem espaço vazio abaixo do conteúdo */
  .hero-enterprise .he-body {
    padding-top: 7rem !important;
    padding-bottom: 1.25rem !important;
  }
  /* Oculta carrossel de logos no mobile — evita espaço extra */
  .hero-enterprise .he-logos {
    display: none !important;
  }
  /* Remove margens excessivas no mobile */
  .hero-enterprise .he-proof-line {
    margin-top: 1.75rem !important;
    margin-bottom: 0 !important;
  }
  .hero-enterprise .he-sub {
    margin-bottom: 1.25rem !important;
  }
  .hero-enterprise .he-ctas {
    margin-bottom: 1.25rem !important;
  }

  /* Fundo navy escuro em vez do branco padrão */
  .hero-enterprise {
    background: #071220 !important;
  }

  /* Oculta todos os elementos decorativos de background (causavam véu branco) */
  .hero-enterprise .he-bg-base,
  .hero-enterprise .he-bg-grid,
  .hero-enterprise .he-bg-radial,
  .hero-enterprise .he-bg-radial2,
  .hero-enterprise .he-bg-noise {
    display: none !important;
  }

  /* Foto de fundo em pseudo-element ::after com opacidade suave */
  .hero-enterprise::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-mobile-executivos-novo.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.45;
    z-index: 1;
    pointer-events: none;
  }

  /* Conteúdo da hero acima do pseudo-element */
  .hero-enterprise .he-rule-h,
  .hero-enterprise .he-body {
    position: relative;
    z-index: 2;
  }

  /* ── Todas as letras brancas no mobile ── */
  .he-eyebrow,
  .he-eyebrow span {
    color: #ffffff !important;
  }

  .he-h1,
  .he-h1 strong,
  .he-h1-line2,
  .he-h1-line2 strong {
    color: #ffffff !important;
  }

  .he-sub {
    color: #ffffff !important;
  }

  .he-proof-num,
  .he-proof-desc,
  .he-proof-item {
    color: #ffffff !important;
  }

  .he-proof-sep {
    background: rgba(255, 255, 255, 0.25) !important;
  }

  .he-btn-ghost {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.70) !important;
  }

  .he-logos-label {
    color: #ffffff !important;
  }

  /* Botão primário verde XTPG no mobile */
  .hero-enterprise .he-btn-primary {
    background: var(--green) !important;
    color: var(--navy) !important;
    box-shadow:
      0 1px 0 rgba(255,255,255,0.18) inset,
      0 4px 18px rgba(55,221,0,0.30) !important;
  }
  .hero-enterprise .he-btn-primary:hover {
    background: #2ec800 !important;
  }
}
