/* ============================================================
   StelaTek — Redesign
   Design tokens + base + components
   ============================================================ */

:root {
  /* Brand */
  --slate: #4f5e65;
  --red: #cf4043;

  /* Ink / text scale (cool slate) */
  --ink-900: #1a2125;
  --ink-800: #232d31;
  --ink-700: #344047;
  --ink-600: #4f5e65;
  --ink-500: #6c7a81;
  --ink-400: #8d99a0;
  --ink-300: #b4bdc2;

  /* Surfaces */
  --bg: #ffffff;
  --bg-soft: #f5f7f8;
  --bg-softer: #eef1f3;
  --deep: #131a1e;        /* dark sections */
  --deep-2: #1b242a;
  --deep-3: #25313a;

  /* Accent */
  --red-600: #b8363a;
  --red-700: #9c2d31;
  --red-tint: #fbecec;

  /* Data-viz (low chroma, institutional) */
  --viz-slate: #4f5e65;
  --viz-red: #cf4043;
  --viz-blue: #5b86b3;
  --viz-teal: #4f9d96;
  --viz-amber: #d2a13e;

  /* Lines */
  --line: #e4e8ea;
  --line-strong: #d3d9dc;
  --line-dark: rgba(255, 255, 255, 0.10);

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadow */
  --sh-sm: 0 1px 2px rgba(19, 26, 30, 0.06), 0 2px 8px rgba(19, 26, 30, 0.04);
  --sh-md: 0 6px 18px rgba(19, 26, 30, 0.08), 0 2px 6px rgba(19, 26, 30, 0.05);
  --sh-lg: 0 24px 60px -18px rgba(19, 26, 30, 0.28), 0 8px 24px -12px rgba(19, 26, 30, 0.18);
  --sh-red: 0 14px 30px -10px rgba(207, 64, 67, 0.45);

  /* Layout */
  --maxw: 1480px;
  --pad: clamp(20px, 5vw, 64px);

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink-700);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--red); color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 600;
  text-wrap: balance;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--red);
  display: inline-block;
}
.eyebrow.on-dark { color: #ff7a7c; }
.eyebrow.on-dark::before { background: #ff7a7c; }

.h-display {
  font-size: clamp(2.3rem, 4.7vw, 4.1rem);
  letter-spacing: -0.035em;
  line-height: 1.0;
}
.h-section {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--ink-500);
  line-height: 1.55;
  max-width: 60ch;
  text-wrap: pretty;
}
.text-red { color: var(--red); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section {
  position: relative;
  padding-block: clamp(72px, 10vw, 140px);
}
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--soft { background: var(--bg-soft); }
.section--deep {
  background: var(--deep);
  color: #c7d0d4;
}
.section--deep h1, .section--deep h2, .section--deep h3, .section--deep h4 { color: #fff; }
.section--deep .lead { color: #9aa7ad; }

.grid { display: grid; gap: clamp(24px, 4vw, 64px); }
.split { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.about .split { grid-template-columns: 0.89fr 1.11fr; }
@media (max-width: 880px) { .about .split { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  padding: 15px 26px;
  border-radius: var(--r-pill);
  background: var(--bg);
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s;
  isolation: isolate;
}
.btn .ico { transition: transform 0.4s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-red); }
.btn:hover .ico { transform: translateX(4px); }
.btn:active { transform: translateY(0); }
.btn::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, var(--red-600), var(--red));
  opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::before { opacity: 1; }

.btn--ghost {
  background: transparent;
  color: var(--ink-800);
  border: 1.5px solid var(--line-strong);
  box-shadow: none;
}
.btn--ghost:hover {
  border-color: var(--ink-700);
  background: var(--bg-soft);
  box-shadow: var(--sh-sm);
}
.btn--ghost::before { display: none; }
.section--deep .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.22); }
.section--deep .btn--ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.4); }

.btn--lg { padding: 18px 32px; font-size: 17px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600;
  color: var(--red); letter-spacing: -0.01em;
}
.link-arrow .ico { transition: transform 0.35s var(--ease); }
.link-arrow:hover .ico { transform: translateX(5px); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(19,26,30,0.02);
}
.header__inner {
  height: 76px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.header__logo img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: 15px; font-weight: 600; color: var(--ink-600);
  padding: 9px 14px; border-radius: var(--r-pill);
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav a:hover { color: var(--ink-900); background: var(--bg-soft); }
.header__cta { display: flex; align-items: center; gap: 14px; }
.header__login { font-size: 15px; font-weight: 600; color: var(--ink-700); }
.header__login:hover { color: var(--red); }
.btn--sm { padding: 11px 20px; font-size: 14.5px; }
@media (max-width: 1200px) {
  .nav a.nav__home { display: none; }
}
@media (max-width: 1110px) {
  .nav__help-central { display: none; }
}
@media (max-width: 1030px) {
  .header__cta .btn--sm { display: none; }
}
@media (max-width: 900px) {
  .nav, .header__login { display: none; }
}

/* ── Hamburger button ───────────────────────────────────────────── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: var(--r-sm);
  transition: background 0.2s;
  flex-shrink: 0;
}
.nav-burger:hover { background: var(--red-tint); }
.nav-burger span {
  display: block;
  height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s, width 0.3s var(--ease);
  transform-origin: center;
}
.nav-burger span:nth-child(3) { width: 65%; }
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 100%; }
@media (max-width: 900px) { .nav-burger { display: flex; } }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-top: clamp(130px, 18vh, 200px);
  padding-bottom: clamp(60px, 9vw, 110px);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  overflow: hidden;
}
/* soft radial field */
.hero__glow {
  position: absolute;
  width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  top: -28%; right: -12%;
  background: radial-gradient(closest-side, rgba(207,64,67,0.10), rgba(207,64,67,0) 70%);
  border-radius: 50%;
}
.hero__glow.b {
  top: 30%; right: 38%;
  width: 50vw; height: 50vw; max-width: 620px; max-height: 620px;
  background: radial-gradient(closest-side, rgba(79,94,101,0.12), rgba(79,94,101,0) 70%);
}
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(79,94,101,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(79,94,101,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
}

.hero__inner { position: relative; z-index: 2; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 980px) { .hero__grid { grid-template-columns: 1fr; gap: 40px; } }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 8px 8px 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.7);
  border-radius: var(--r-pill);
  font-size: 13.5px; font-weight: 600; color: var(--ink-600);
  box-shadow: var(--sh-sm);
}
.badge b { color: var(--ink-900); }
.badge .tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  background: var(--ink-900); color: #fff;
  padding: 4px 10px; border-radius: var(--r-pill);
}

.hero h1 { margin-top: 26px; }
.hero h1 .grad {
  background: linear-gradient(105deg, var(--red), var(--red-700));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { margin-top: 26px; max-width: 52ch; }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.hero__trust {
  margin-top: 44px;
  display: flex; align-items: center; gap: 18px;
  padding-top: 26px; border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero__trust .label {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-400);
}
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-700);
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--viz-teal); }

/* hero visual: floating dashboard */
.hero__visual { position: relative; }
.dash {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  overflow: hidden;
  will-change: transform;
}
.dash__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.dash__dots { display: flex; gap: 6px; }
.dash__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); display: block; }
.dash__title { font-family: var(--font-mono); font-size: 12px; color: var(--ink-400); margin-left: 6px; }
.dash__body { padding: 18px; }

.float-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
  padding: 14px 16px;
  will-change: transform;
}
.float-card .k {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-400);
}
.float-card .v {
  font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--ink-900);
  letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 6px;
}
.float-card .v small { font-size: 13px; color: var(--viz-teal); font-weight: 700; }
.fc-1 { top: 32%; left: -40px; }
.fc-2 { bottom: -26px; right: -28px; }
@media (max-width: 560px) { .fc-1, .fc-2 { display: none; } }

/* ============================================================
   PIXEL MOTIF
   ============================================================ */
.pixel-row { display: flex; gap: 5px; }
.pixel-row i {
  width: 9px; height: 9px; border-radius: 2px; background: var(--red);
  display: block; opacity: 0.9;
}
.pixel-scatter i:nth-child(1) { opacity: 1; }
.pixel-scatter i:nth-child(2) { opacity: 0.7; }
.pixel-scatter i:nth-child(3) { opacity: 0.45; }
.pixel-scatter i:nth-child(4) { opacity: 0.25; }
.pixel-scatter i:nth-child(5) { opacity: 0.12; }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: #fff; padding: 30px 26px; }
.stat__v {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3rem); color: var(--ink-900); letter-spacing: -0.03em;
  line-height: 1;
}
.stat__v .u { color: var(--red); }
.stat__l { margin-top: 10px; color: var(--ink-500); font-size: 14.5px; line-height: 1.4; }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.sec-head { max-width: 760px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head h2 { margin-top: 18px; }
.sec-head p { margin-top: 20px; }
.sec-head.center p { margin-inline: auto; }

/* ============================================================
   QUEM SOMOS
   ============================================================ */
.about__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.about__media img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1); transition: filter 0.5s var(--ease); }
.about__media:hover img { filter: grayscale(0); }
.about__badge {
  position: absolute; left: 18px; bottom: 18px;
  background: rgba(19,26,30,0.78);
  backdrop-filter: blur(8px);
  color: #fff; border-radius: var(--r-md);
  padding: 14px 18px; max-width: 70%;
}
.about__badge .y { font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: -0.02em; }
.about__badge .t { font-size: 13px; color: #c7d0d4; margin-top: 2px; }
.about p + p { margin-top: 18px; }
.about__list { margin-top: 28px; display: grid; gap: 14px; }
.about__list .row { display: flex; gap: 14px; align-items: flex-start; }
.about__list .mk {
  flex: none; width: 28px; height: 28px; border-radius: 8px;
  background: var(--red-tint); color: var(--red);
  display: grid; place-items: center; margin-top: 2px;
}
.about__list .row b { color: var(--ink-900); font-family: var(--font-display); }

/* ---------- Image placeholder ---------- */
.ph {
  position: relative;
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg, var(--bg-softer) 0 10px, var(--bg-soft) 10px 20px);
  display: grid; place-items: center;
  color: var(--ink-400);
}
.ph::after {
  content: attr(data-label);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-400);
  background: rgba(255,255,255,0.7); padding: 7px 14px; border-radius: var(--r-pill);
  border: 1px solid var(--line);
}
.ph.dark {
  background: repeating-linear-gradient(135deg, #1b242a 0 10px, #202b31 10px 20px);
}
.ph.dark::after { background: rgba(0,0,0,0.35); border-color: rgba(255,255,255,0.12); color: #9aa7ad; }

/* ============================================================
   PLATFORM INTRO — sources orbit
   ============================================================ */
.sources {
  position: relative;
  display: grid; place-items: center;
  aspect-ratio: 1 / 1; max-width: 480px; margin-inline: auto; width: 100%;
}
.sources__core {
  position: relative; z-index: 3;
  width: 38%; aspect-ratio: 1; border-radius: 24px;
  background: linear-gradient(150deg, var(--ink-800), var(--ink-900));
  color: #fff; display: grid; place-items: center; text-align: center;
  box-shadow: var(--sh-lg);
  padding: 32px 16px;
}
.sources__core .lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; color: #ff7a7c; text-transform: uppercase; }
.sources__core .nm { font-family: var(--font-display); font-weight: 700; font-size: clamp(15px, 2vw, 20px); margin-top: 4px; letter-spacing: -0.01em; line-height: 16px; }
.sources__core-ic { width: 52px; height: 52px; object-fit: contain; margin-bottom: 10px; }
.sources__ring {
  position: absolute; border: 1px dashed var(--line-strong); border-radius: 50%;
}
.ring-1 { width: 68%; height: 68%; }
.ring-2 { width: 100%; height: 100%; }
.src-node {
  position: absolute; z-index: 2;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 8px 14px;
  font-size: 12.5px; font-weight: 700; color: var(--ink-700);
  font-family: var(--font-display); letter-spacing: -0.01em;
  box-shadow: var(--sh-sm); white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.src-node:hover { transform: scale(1.06); box-shadow: var(--sh-md); border-color: var(--red); color: var(--red); }

/* ============================================================
   FOOTER (basic, expanded later)
   ============================================================ */
.footer { background: var(--deep); color: #9aa7ad; padding-block: 64px 36px; }
.footer__logo img { height: 28px; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}


/* ============================================================
   StelaTek — styles2 (mobile nav, hero chart, later sections)
   ============================================================ */

/* ---------- Mobile nav (slide-in drawer) ---------- */
.nav-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(320px, 88vw);
  background: #fff;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.38s var(--ease);
  box-shadow: -4px 0 40px rgba(19,26,30,0.16);
  display: flex; flex-direction: column;
}
.nav-drawer.is-open { transform: translateX(0); }
.nav-drawer-inner { padding: 24px 28px 32px; display: flex; flex-direction: column; gap: 20px; height: 100%; overflow-y: auto; }
.nav-drawer-head { display: flex; align-items: center; justify-content: space-between; }
.nav-drawer-head img { height: 28px; width: auto; display: block; }
.nav-drawer-close {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; background: none; border: none;
  color: var(--ink-900); cursor: pointer; border-radius: var(--r-sm);
  transition: background 0.2s; flex-shrink: 0;
}
.nav-drawer-close:hover { background: var(--red-tint); }

.nav-drawer-links { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.nav-drawer-links > a {
  font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--ink-900);
  padding: 12px 0; border-bottom: 1px solid var(--line);
  transition: color 0.2s, padding-left 0.25s var(--ease); letter-spacing: -0.01em; display: block;
}
.nav-drawer-links > a:hover { color: var(--red); padding-left: 6px; }

.drawer-item { border-bottom: 1px solid var(--line); }
.drawer-item-head { display: flex; align-items: stretch; }
.drawer-item-label {
  flex: 1; display: flex; align-items: center;
  font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--ink-900);
  padding: 12px 0; letter-spacing: -0.01em; cursor: pointer;
}
.drawer-toggle {
  display: flex; align-items: center; justify-content: center; width: 44px;
  background: none; border: none; color: var(--ink-900); cursor: pointer;
  border-radius: var(--r-sm); transition: background 0.2s;
}
.drawer-toggle:hover, .drawer-toggle:focus-visible { background: var(--red-tint); }
.drawer-toggle svg { transition: transform 0.25s var(--ease); }
.drawer-item.is-open .drawer-toggle svg { transform: rotate(180deg); }

.drawer-submenu { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s var(--ease); }
.drawer-submenu > div { overflow: hidden; }
.drawer-item.is-open .drawer-submenu { grid-template-rows: 1fr; }
.drawer-submenu a {
  display: block; font-family: var(--font-body); font-size: 15px; font-weight: 500;
  color: var(--ink-500); padding: 9px 0 9px 16px; border-bottom: none;
}
.drawer-submenu a:hover { color: var(--red); padding-left: 20px; }

.drawer-muted {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 13.5px; color: var(--ink-400);
}
.drawer-muted:hover { color: var(--ink-700); }

.nav-overlay {
  position: fixed; inset: 0; background: rgba(19,26,30,0.5);
  backdrop-filter: blur(4px); z-index: 199;
  opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease);
}
.nav-overlay.is-open { opacity: 1; pointer-events: auto; }

/* ============================================================
   HERO CHART
   ============================================================ */
.hero-chart { width: 100%; }
.hero-chart__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 14px; margin-bottom: 14px;
}
.hero-chart__k {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-400);
}
.hero-chart__v {
  font-family: var(--font-display); font-weight: 700; font-size: 30px;
  color: var(--ink-900); letter-spacing: -0.03em; line-height: 1; margin-top: 6px;
  display: flex; align-items: baseline; gap: 10px;
}
.hero-chart__v em {
  font-family: var(--font-body); font-style: normal; font-weight: 700;
  font-size: 13px; color: #2f9e6f;
  background: #e8f6ef; padding: 3px 9px; border-radius: var(--r-pill);
}
.hero-chart__legend { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-chart__legend span {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600; color: var(--ink-500);
}
.hero-chart__legend i { width: 10px; height: 10px; border-radius: 3px; display: block; }
.hero-chart__svg { width: 100%; height: 200px; display: block; overflow: visible; }
.hcg-grid line { stroke: var(--line); stroke-width: 1; }
.hc-line { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.hc-red { stroke: var(--viz-red); }
.hc-blue { stroke: var(--viz-blue); }
.hc-dots circle { stroke: #fff; stroke-width: 2; }

/* draw animation */
.hc-line { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.hero-chart.drawn .hc-line { animation: hcDraw 1.6s var(--ease) forwards; }
.hero-chart.drawn .hc-blue { animation-delay: 0.15s; }
.hero-chart.drawn .hc-area { opacity: 0; animation: hcFade 0.9s ease 0.9s forwards; }
.hero-chart.drawn .hc-dots circle { opacity: 0; animation: hcPop 0.4s var(--ease) forwards; }
@keyframes hcDraw { to { stroke-dashoffset: 0; } }
@keyframes hcFade { to { opacity: 1; } }
@keyframes hcPop { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hc-line { stroke-dashoffset: 0 !important; animation: none !important; }
  .hc-area, .hc-dots circle { opacity: 1 !important; animation: none !important; }
}

/* ============================================================
   VIDEO + descriptive text
   ============================================================ */
.video__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .video__grid { grid-template-columns: 1fr; } }
.video__player {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh-lg); cursor: pointer;
  background: var(--deep);
}
.video__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__poster { position: absolute; inset: 0; }
.video__poster .ph { width: 100%; height: 100%; }
.video__poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,26,30,0.15), rgba(19,26,30,0.55)); }
.video__play {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.video__play .btn-play {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--red); color: #fff; display: grid; place-items: center;
  box-shadow: var(--sh-red); transition: transform 0.4s var(--ease);
}
.video__player:hover .btn-play { transform: scale(1.08); }
.video__play .btn-play::after {
  content: ""; position: absolute; width: 84px; height: 84px; border-radius: 50%;
  border: 2px solid rgba(207,64,67,0.5); animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.6); opacity: 0; } }
.video__cap { position: absolute; left: 18px; bottom: 16px; color: #fff; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; }

/* ============================================================
   CONEXÃO COM BASES — sync panel
   ============================================================ */
.sync {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-md); overflow: hidden;
}
.sync__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--bg-soft);
}
.sync__head .t { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-500); }
.sync__live { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--viz-teal); }
.sync__live .pip { width: 8px; height: 8px; border-radius: 50%; background: var(--viz-teal); box-shadow: 0 0 0 0 rgba(79,157,150,0.6); animation: live 2s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(79,157,150,0.55); } 100% { box-shadow: 0 0 0 9px rgba(79,157,150,0); } }
.sync__list { padding: 8px; }
.sync__row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center;
  padding: 14px 14px; border-radius: var(--r-md);
  transition: background 0.25s;
}
.sync__row:hover { background: var(--bg-soft); }
.sync__row .nm { font-family: var(--font-display); font-weight: 600; color: var(--ink-900); font-size: 15px; }
.sync__row .src { font-size: 12.5px; color: var(--ink-400); margin-top: 1px; }
.sync__bar { width: 120px; height: 6px; border-radius: 999px; background: var(--bg-softer); overflow: hidden; }
.sync__bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--viz-teal), #6fc0b8); }
.sync.run .sync__bar i { animation: fill 1.4s var(--ease) forwards; animation-delay: var(--sd, 0ms); }
@keyframes fill { to { width: var(--w, 100%); } }
.sync__row .ok { color: var(--viz-teal); opacity: 0; transform: scale(0.6); }
.sync.run .sync__row .ok { animation: pop 0.4s var(--ease) forwards; animation-delay: calc(var(--sd, 0ms) + 1.2s); }
@keyframes pop { to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .sync__bar i { width: var(--w, 100%) !important; animation: none !important; }
  .sync__row .ok { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* ============================================================
   MÓDULOS
   ============================================================ */
.modules { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.5vw, 28px); }
@media (max-width: 900px) { .modules { grid-template-columns: 1fr; } }
.module {
  position: relative; border: 1px solid var(--line); border-radius: var(--r-xl);
  background: #fff; padding: clamp(28px, 3.4vw, 44px); overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
}
.module::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 100% 0%, rgba(207,64,67,0.06), transparent 55%);
  opacity: 0; transition: opacity 0.5s;
}
.module:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
.module:hover::before { opacity: 1; }
.module__tag {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red); font-weight: 600;
}
.module__tag .num {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: var(--ink-900); color: #fff; font-family: var(--font-display); font-size: 14px; letter-spacing: 0;
}
.module h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 22px; }
.module .sub { font-family: var(--font-mono); font-size: 13px; color: var(--ink-400); margin-top: 6px; }
.module p { margin-top: 16px; color: var(--ink-600); }
.module__feats { margin-top: 22px; display: grid; gap: 11px; }
.module__feats .f { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--ink-700); }
.module__feats .f svg { flex: none; color: var(--red); margin-top: 3px; }
.module__foot { margin-top: 28px; }

/* ============================================================
   SHOWCASE (dark, animated charts)
   ============================================================ */
.showcase__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.showcase__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.card-dark {
  background: var(--deep-2); border: 1px solid var(--line-dark); border-radius: var(--r-lg);
  padding: 26px; position: relative; overflow: hidden;
}
.card-dark h4 { font-size: 1.1rem; font-family: var(--font-display); }
.card-dark .ck { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #ff7a7c; }
.col-7 { grid-column: span 7; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }
@media (max-width: 900px) { .col-7, .col-5, .col-6, .col-4 { grid-column: span 12; } }

.kpi-row { display: flex; flex-wrap: wrap; gap: 26px 40px; margin-top: 18px; }
.kpi { }
.kpi .v { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.6rem); color: #fff; letter-spacing: -0.03em; line-height: 1; }
.kpi .l { font-size: 12.5px; color: #8b99a0; margin-top: 8px; max-width: 18ch; }
.kpi__note { font-size: 11px; color: #7d8a90; }
.kpi .v .u { color: #ff7a7c; }

/* bars chart */
.bars { display: flex; align-items: flex-end; gap: clamp(8px, 1.4vw, 16px); height: 200px; margin-top: 18px; padding-top: 10px; }
.bars .bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 8px; }
.bars .bar .col { width: 100%; max-width: 52px; border-radius: 7px 7px 3px 3px; height: 0; transition: height 1.1s var(--ease); align-self: center; position: relative; }
.bars.run .bar .col { height: var(--h, 50%); }
.bars .bar .vlabel { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: #cfd8dc; opacity: 0; transition: opacity 0.5s 0.6s; }
.bars .bar .xlabel { font-size: 11px; color: #7d8a90; font-family: var(--font-mono); }
.bars.run .bar .vlabel { opacity: 1; }

/* line area chart dark */
.dchart { margin-top: 16px; }
.dchart svg { width: 100%; height: 220px; overflow: visible; display: block; }
.dchart .grid line { stroke: rgba(255,255,255,0.07); }
.dchart .axis { fill: #7d8a90; font-family: var(--font-mono); font-size: 11px; }
.dl-line { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.dchart.run .dl-line { animation: hcDraw 1.6s var(--ease) forwards; }
.dchart.run .dl-line.d2 { animation-delay: 0.2s; }
.dchart.run .dl-line.d3 { animation-delay: 0.4s; }
.dl-dot { opacity: 0; }
.dchart.run .dl-dot { animation: hcPop 0.4s var(--ease) forwards; }
.dlegend { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 14px; }
.dlegend span { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: #9aa7ad; font-weight: 600; }
.dlegend i { width: 12px; height: 3px; border-radius: 3px; display: block; }
@media (prefers-reduced-motion: reduce) {
  .dl-line { stroke-dashoffset: 0 !important; animation: none !important; }
  .dl-dot { opacity: 1 !important; animation: none !important; }
  .bars .bar .vlabel { opacity: 1 !important; }
}

/* ============================================================
   CTA BAND (teste gratuito)
   ============================================================ */
.cta-band { position: relative; overflow: hidden; }
.cta-band .inner {
  position: relative; z-index: 2;
  background: linear-gradient(135deg, var(--ink-900), var(--deep-3));
  border-radius: var(--r-xl); padding: clamp(40px, 6vw, 80px);
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: center;
  overflow: hidden;
}
@media (max-width: 820px) { .cta-band .inner { grid-template-columns: 1fr; } }
.cta-band h2 { color: #fff; }
.cta-band p { color: #aab4b9; margin-top: 16px; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; }
.cta-band .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.25); }
.cta-band .btn--ghost:hover { color: #1c2429; }
.cta-pixels { position: absolute; inset: 0; pointer-events: none; opacity: 0.5; }
@keyframes floatPix {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ============================================================
   BENEFÍCIOS
   ============================================================ */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (max-width: 900px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }
.benefit { background: #fff; padding: clamp(26px, 3vw, 38px); transition: background 0.4s var(--ease); position: relative; }
.benefit:hover { background: var(--bg-soft); }
.benefit__ic {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--red-tint); color: var(--red); transition: transform 0.4s var(--ease);
}
.benefit:hover .benefit__ic { transform: translateY(-3px) rotate(-4deg); }
.benefit h3 { font-size: 1.2rem; margin-top: 20px; }
.benefit p { margin-top: 10px; font-size: 14.5px; color: var(--ink-600); }
.benefit__n { position: absolute; top: 26px; right: 28px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-300); }

/* ============================================================
   EBOOK
   ============================================================ */
.ebook__grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 880px) { .ebook__grid { grid-template-columns: 1fr; } }
.ebook__cover {
  max-width: 390px; overflow: hidden; transform: rotate(-3deg);
  transition: transform 0.5s var(--ease);
}
.ebook__cover:hover { transform: rotate(0deg) scale(1.02); }
.ebook__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ebook__list { margin-top: 26px; display: grid; gap: 18px; }
.ebook__list .item { display: flex; gap: 14px; }
.ebook__list .mk { flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--ink-900); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 13px; }
.ebook__list .item b { font-family: var(--font-display); color: var(--ink-900); }
.ebook__form { margin-top: 30px; display: flex; gap: 10px; flex-wrap: wrap; }

/* form input */
.field {
  flex: 1; min-width: 220px;
  display: flex; align-items: center; background: #fff; border: 1.5px solid var(--line-strong);
  border-radius: var(--r-pill); padding: 4px 4px 4px 20px; transition: border-color 0.3s, box-shadow 0.3s;
}
.field:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px rgba(207,64,67,0.1); }
.field input { flex: 1; border: none; outline: none; font: inherit; font-size: 15px; color: var(--ink-900); background: none; padding: 12px 0; }
.field input::placeholder { color: var(--ink-400); }

/* ============================================================
   BLOG
   ============================================================ */
.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .blog__grid { grid-template-columns: 1fr; } }
.post { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.post:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.post__img { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.post__img .ph { width: 100%; height: 100%; transition: transform 0.6s var(--ease); }
.post:hover .post__img .ph { transform: scale(1.05); }
.post__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.post:hover .post__img img { transform: scale(1.05); }
.post__body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.post__cat { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }
.post h3 { font-size: 1.15rem; margin-top: 12px; line-height: 1.2; }
.post .meta { margin-top: auto; padding-top: 18px; font-size: 13px; color: var(--ink-400); }

/* ============================================================
   NEWSLETTER + FOOTER (full)
   ============================================================ */
.newsletter .inner {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
@media (max-width: 820px) { .newsletter .inner { grid-template-columns: 1fr; } }

.site-footer { background: var(--deep); color: #97a3a9; padding-top: clamp(60px, 7vw, 88px); }
.site-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
@media (max-width: 820px) { .site-footer__top { grid-template-columns: 1fr 1fr; gap: 32px; } }
.site-footer__logo img { height: 30px; }
.site-footer__brand p { margin-top: 18px; font-size: 14px; max-width: 34ch; color: #7d8a90; }
.fcol h5 { color: #fff; font-family: var(--font-display); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.fcol ul { list-style: none; margin-top: 16px; display: grid; gap: 11px; }
.fcol a { font-size: 14.5px; color: #97a3a9; transition: color 0.2s; }
.fcol a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line-dark); display: grid; place-items: center; color: #97a3a9; transition: all 0.3s var(--ease); }
.social a:hover { color: #fff; border-color: var(--red); background: var(--red); transform: translateY(-2px); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px 0 36px; font-size: 12.5px; color: #6c7a81; }
.site-footer__bottom .legal { font-family: var(--font-mono); }
.site-footer__bottom .legal a { transition: color 0.2s; }
.site-footer__bottom .legal a:hover { color: #fff; }


/* ============================================================
   StelaTek — v2 additions & fixes
   (loaded after styles.css + styles2.css; overrides where needed)
   ============================================================ */

/* ------------------------------------------------------------
   FIX · bars chart ("Produção técnico-científica")
   Transitioning `height` to a % collapsed the columns to 0 in
   flexbox. Keep a static resolved height and reveal via scaleY.
   ------------------------------------------------------------ */
/* FIX · the full-width showcase card uses .col-12, which was never
   defined (styles2 only has col-7/5/6/4) → it collapsed to span 1. */
.showcase__grid .col-12 { grid-column: 1 / -1; }
@media (max-width: 900px) { .showcase__grid .col-12 { grid-column: 1 / -1; } }

.bars .bar .col {
  flex: 0 0 auto;
  transform-origin: bottom center;
}
/* Reveal is an enhancement only — base state is fully visible so the
   chart always renders correctly even if the grow animation never plays. */
@media (prefers-reduced-motion: no-preference) {
  .bars.run .bar .col { animation: barGrow 0.9s var(--ease); }
}
@keyframes barGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.bars .bar .vlabel { opacity: 1; }

/* ============================================================
   HEADER · dropdown menu + muted item
   ============================================================ */
.nav__item { position: relative; display: flex; align-items: center; }
.nav__item--has-menu > .nav__trigger {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 15px; font-weight: 600; color: var(--ink-600);
  padding: 9px 14px; border-radius: var(--r-pill);
  transition: color .2s, background .2s;
}
.nav__item--has-menu:hover > .nav__trigger,
.nav__item--has-menu:focus-within > .nav__trigger { color: var(--ink-900); background: var(--bg-soft); }
.nav__chev { transition: transform .25s var(--ease); }
.nav__item--has-menu:hover .nav__chev,
.nav__item--has-menu:focus-within .nav__chev { transform: rotate(180deg); }

.nav__menu {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 290px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--sh-lg); padding: 8px;
  display: grid; gap: 2px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  z-index: 60;
}
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__item--has-menu:hover .nav__menu,
.nav__item--has-menu:focus-within .nav__menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__menu a { display: grid; gap: 3px; padding: 11px 14px; border-radius: 11px; transition: background .2s; }
.nav__menu a:hover { background: var(--bg-soft); }
.nav__menu .nm { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink-900); }
.nav__menu .ds { font-size: 12.5px; color: var(--ink-400); line-height: 1.3; }

/* Central Ajuda — fonte diferente, menos destaque */
.nav a.nav__muted {
  font-family: var(--font-mono);
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--ink-400);
}
.nav a.nav__muted:hover { color: var(--ink-700); background: transparent; }

/* ============================================================
   BASES DE DADOS · panel grid (14 fontes)
   ============================================================ */
.bases-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-md); overflow: hidden;
}
.bases-panel__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--bg-soft);
}
.bases-panel__head .t {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-500);
}
.bases-grid { padding: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.base-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px 9px 9px; border: 1px solid var(--line); border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 600; font-size: 13.5px; letter-spacing: -0.01em;
  color: var(--ink-700); background: #fff;
  transition: border-color .25s, color .25s, transform .25s var(--ease), box-shadow .25s;
}
.base-chip .ok {
  flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--viz-teal); color: #fff; display: grid; place-items: center;
}
.base-chip:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); box-shadow: var(--sh-sm); }
.bases-panel__foot {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-top: 1px solid var(--line); background: var(--bg-soft);
  font-size: 13px; color: var(--ink-500);
}
.bases-panel__foot b { color: var(--ink-900); font-family: var(--font-display); font-size: 15px; }
.bases-panel__foot .sep { width: 1px; height: 14px; background: var(--line-strong); }

/* ============================================================
   DEPOIMENTOS · carousel
   ============================================================ */
.testimonials { background: var(--bg); }
.tcar { margin-top: clamp(38px, 5vw, 58px); max-width: 880px; margin-inline: auto; }
.tcar__viewport { overflow: hidden; }
.tcar__track { display: flex; transition: transform 0.6s var(--ease); will-change: transform; }
@media (prefers-reduced-motion: reduce) { .tcar__track { transition: none; } }
.tcard {
  flex: 0 0 100%; min-width: 0;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(30px, 4vw, 52px) clamp(24px, 5vw, 64px);
}
.tcard__quote {
  font-family: var(--font-display); font-weight: 700; color: var(--red);
  font-size: 72px; line-height: 0.6; height: 36px;
}
.tcard blockquote {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem); line-height: 1.4; letter-spacing: -0.02em;
  color: var(--ink-900); text-wrap: balance; margin-top: 18px; max-width: 30ch;
}
.tcard figcaption { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; }
.tcard .tav {
  flex: none; width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(150deg, var(--ink-800), var(--ink-900)); color: #fff;
  display: grid; place-items: center; overflow: hidden;
  font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: 0;
}
.tcard .tav img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tcard .tinfo { display: grid; text-align: left; }
.tcard .tinfo .nm { font-family: var(--font-display); font-weight: 700; color: var(--ink-900); font-size: 15.5px; }
.tcard .tinfo .rl { font-size: 13px; color: var(--ink-500); margin-top: 1px; }

.tcar__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 10px; }
.tcar__btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink-700);
  display: grid; place-items: center;
  transition: border-color .3s, color .3s, background .3s, transform .3s var(--ease);
}
.tcar__btn:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); box-shadow: var(--sh-sm); }
.tcar__dots { display: flex; align-items: center; gap: 9px; }
.tcar__dots button {
  width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong);
  transition: width .35s var(--ease), background .35s;
}
.tcar__dots button.is-active { width: 28px; border-radius: 999px; background: var(--red); }

/* ============================================================
   LOGOS · marquee (auto, grayscale → cor on hover)
   ============================================================ */
.logos { padding-block: clamp(40px, 5vw, 64px); overflow: hidden; }
.logos__label {
  text-align: center; font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-400);
}
.logos__marquee {
  margin-top: 30px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.logos__track {
  display: flex; align-items: center; width: max-content;
  gap: clamp(44px, 6vw, 84px);
  animation: logoscroll 36s linear infinite;
}
@keyframes logoscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logos__track { animation: none; } }
.logo-item {
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.015em;
  font-size: clamp(16px, 1.6vw, 20px); color: var(--ink-400);
  filter: grayscale(1); opacity: 0.6;
  transition: filter .35s var(--ease), opacity .35s var(--ease), color .35s var(--ease);
}
.logo-item .logo-mark { color: var(--ink-400); display: grid; place-items: center; transition: color .35s var(--ease); }
.logo-item:hover { filter: grayscale(0); opacity: 1; color: var(--ink-900); }
.logo-item:hover .logo-mark { color: var(--red); }

/* ============================================================
   BENEFÍCIOS · hover vermelho
   ============================================================ */
.benefit { transition: background 0.4s var(--ease); }
.benefit:hover { background: var(--red); }
.benefit:hover h3 { color: #fff; }
.benefit:hover p { color: rgba(255, 255, 255, 0.92); }
.benefit:hover .benefit__n { color: rgba(255, 255, 255, 0.55); }
.benefit:hover .benefit__ic { background: rgba(255, 255, 255, 0.18); color: #fff; transform: translateY(-3px) rotate(-4deg); }

/* ============================================================
   NEWSLETTER · form + reCAPTCHA (simulação)
   ============================================================ */
.news__form { margin-top: 0; display: grid; gap: 16px; justify-items: start; }
.news__form .field { width: 100%; min-width: 0; }
.news__form .btn { width: fit-content; }
.news__form-row { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 480px) { .news__form-row { justify-content: flex-start; } }

.recaptcha {
  width: 304px; max-width: 100%; height: 76px;
  background: #f9f9f9; border: 1px solid #d3d3d3; border-radius: 3px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.06) inset;
  display: flex; align-items: center; justify-content: space-between;
  padding-right: 12px; font-family: var(--font-body);
}
.recaptcha__check { display: flex; align-items: center; gap: 12px; padding: 0 0 0 14px; cursor: pointer; user-select: none; }
.recaptcha__box {
  position: relative; width: 28px; height: 28px;
  border: 2px solid #c1c1c1; border-radius: 3px; background: #fff;
  display: grid; place-items: center; transition: border-color .2s;
}
.recaptcha__check:hover .recaptcha__box { border-color: #a8a8a8; }
.recaptcha__tick { color: #1a73e8; opacity: 0; transform: scale(0.5); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.recaptcha[data-state="checked"] .recaptcha__tick { opacity: 1; transform: scale(1); }
.recaptcha__spin {
  position: absolute; width: 22px; height: 22px; border-radius: 50%;
  border: 3px solid #c9d6e5; border-top-color: #1a73e8;
  opacity: 0; animation: rcspin .8s linear infinite;
}
.recaptcha[data-state="loading"] .recaptcha__spin { opacity: 1; }
.recaptcha[data-state="loading"] .recaptcha__box { border-color: transparent; }
@keyframes rcspin { to { transform: rotate(360deg); } }
.recaptcha__label { font-size: 14px; color: #3c4043; }
.recaptcha__brand { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.recaptcha__brandtxt { display: flex; flex-direction: column; align-items: center; font-size: 10px; color: #555; line-height: 1.15; }
.recaptcha__brandtxt small { font-size: 8px; color: #9aa0a6; }
@media (prefers-reduced-motion: reduce) { .recaptcha__spin { animation: none; } }


/* ============================================================
   StelaTek — v3 additions & overrides
   (loaded after styles-v2.css)
   ============================================================ */

/* ============================================================
   DEPOIMENTOS · card com vídeo
   ============================================================ */
.tcar { max-width: 1120px; }
.tcard {
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: clamp(24px, 4vw, 46px);
  padding: clamp(26px, 3.5vw, 44px);
}
.tcard__video {
  flex: 0 0 58%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-md);
  cursor: pointer;
}
.tcard__video .ph { width: 100%; height: 100%; }
/* smaller play button inside the testimonial video */
.tcard__video .video__play .btn-play { width: 60px; height: 60px; }
.tcard__video .video__play .btn-play::after { width: 60px; height: 60px; }

.tcard__body { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.tcard__body .tcard__quote { height: 30px; font-size: 60px; }
.tcard__body blockquote {
  text-align: left; max-width: none; margin-top: 12px;
  font-size: 1.2rem; line-height: 1.42;
}
.tcard__body figcaption { margin-top: 22px; }

@media (max-width: 720px) {
  .tcard { flex-direction: column; align-items: stretch; text-align: left; }
  .tcard__video { flex-basis: auto; width: 100%; }
  .tcard__body { align-items: flex-start; }
}

/* ============================================================
   LOGOS · imagens reais (grayscale → cor on hover)
   ============================================================ */
.logos__track { gap: clamp(36px, 5vw, 72px); }
.logo-item {
  filter: grayscale(1);
  opacity: 0.7;
  min-width: 120px;
  justify-content: center;
  transition: filter 0.35s var(--ease), opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.logo-item img {
  height: clamp(46px, 5vw, 64px);
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}
.logo-item:hover { filter: grayscale(0); opacity: 1; transform: translateY(-2px); }


/* ============================================================
   StelaTek — v4 · orbital de fontes com 14 bases
   (loaded after styles-v3.css)
   ============================================================ */

.sources--14 {
  max-width: 560px;
  overflow: visible;
  margin-block: 18px;
  /* establish a query container so the pills can scale with the
     orbit's actual width (keeps the layout collision-free at any
     column width: 2-col laptop band, stacked tablet, phone). */
  container-type: inline-size;
}

/* Pills sized PROPORTIONALLY to the orbit width. At a 560px orbit
   this resolves to ~12px / 7px·13px (the design size); as the orbit
   narrows the pills shrink with it, so the percentage-positioned
   nodes never overlap. clamp() keeps text readable at the extremes. */
.sources--14 .src-node {
  font-size: clamp(7px, 2.45cqw, 12.5px);
  padding: 1.35cqw 2.6cqw;
  letter-spacing: -0.005em;
  line-height: 1.15;
  z-index: 4;
}

/* keep the core comfortably clear of the inner pills */
.sources--14 .sources__core { width: 35%; }

/* ============================================================
   HEADER · "Central Ajuda" com ícone à esquerda (menor foco)
   ============================================================ */
.nav a.nav__help {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.nav a.nav__help svg { display: block; flex: none; }

/* ============================================================
   NEWSLETTER — fundo escuro (estilo CTA band)
   ============================================================ */
.newsletter .inner {
  background: linear-gradient(135deg, var(--ink-900), var(--deep-3));
  border: none;
  color: #c7d0d4;
}
.newsletter h2 { color: #fff; }
.newsletter p { color: #aab4b9; }
.newsletter .eyebrow { color: var(--pri); }
.newsletter .field {
  background: #fff;
  border-color: rgba(255,255,255,0.2);
}
.newsletter .field input {
  color: var(--ink-900);
}
.newsletter .field input::placeholder { color: var(--ink-400); }
.newsletter .recaptcha {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
  color: #c7d0d4;
}

/* ============================================================
   StelaTek — v5 · ajustes desktop/mobile
   (loaded after styles-v4.css)
   ============================================================ */

/* ---------- HERO · título desktop ---------- */
@media (min-width: 981px) {
  .h-display { font-size: clamp(2.3rem, 4.7vw, 3.9rem); }
}

/* ---------- HERO · ocultar CTA no mobile ---------- */
@media (max-width: 980px) {
  .hero .hero__actions { display: none; }
}

/* ---------- EBOOK GRATUITO · inverter ordem no desktop ---------- */
@media (min-width: 881px) {
  .ebook__grid { grid-template-columns: 1.28fr 0.72fr; }
  .ebook__grid > div:first-child { order: 2; }
  .ebook__grid > .ebook__copy { order: 1; }
}

/* ---------- QUEM SOMOS · espaçamento no mobile ---------- */
@media (max-width: 880px) {
  .about__copy { padding-top: 30px; }
}

/* ---------- PLATAFORMA STELA EXPERTA · ocultar link no mobile ---------- */
@media (max-width: 880px) {
  .plat__copy .hero__actions { display: none; }
}

/* ---------- CONHEÇA NA PRÁTICA · vídeo abaixo do texto no mobile ---------- */
@media (max-width: 900px) {
  .video__grid > div:first-child { order: 2; }
  .video__grid > .video__copy { order: 1; }
}

/* ---------- CONEXÃO COM BASES DE DADOS · espaçamento no mobile ---------- */
@media (max-width: 880px) {
  .conn__copy + div { margin-top: 20px; }
}

/* ---------- SOBRE OS MÓDULOS · alinhamento à esquerda no mobile ---------- */
@media (max-width: 900px) {
  #modulos .sec-head.center { text-align: left; margin-inline: 0; }
  #modulos .sec-head.center .eyebrow { justify-content: flex-start; }
  #modulos .sec-head.center p { margin-inline: 0; }
}

/* ---------- BENEFÍCIOS · alinhamento à esquerda no mobile ---------- */
@media (max-width: 900px) {
  #beneficios .sec-head.center { text-align: left; margin-inline: 0; }
  #beneficios .sec-head.center .eyebrow { justify-content: flex-start; }
  #beneficios .sec-head.center p { margin-inline: 0; }
}

/* ---------- CLIENTES · alinhamento à esquerda e ajuste de citação no mobile ---------- */
@media (max-width: 900px) {
  #clientes .sec-head.center { text-align: left; margin-inline: 0; }
  #clientes .sec-head.center .eyebrow { justify-content: flex-start; }
  #clientes .sec-head.center p { margin-inline: 0; }
  .tcard__body blockquote { margin-top: -6px; }
}

/* ---------- RODAPÉ · ocultar colunas e centralizar crédito no mobile ---------- */
@media (max-width: 820px) {
  .fcol { display: none; }
  .site-footer__bottom span:first-child { display: none; }
  .site-footer__bottom { justify-content: center; text-align: center; }
}

/* ============================================================
   StelaTek — v6 · ajustes desktop/mobile (rodada 2)
   (loaded after v5)
   ============================================================ */

/* ---------- EBOOK GRATUITO · imagem menor e centralizada no mobile ---------- */
@media (max-width: 880px) {
  .ebook__cover { max-width: 280px; margin-inline: auto; }
}

/* ---------- CLIENTES · remover padding do card no mobile ---------- */
@media (max-width: 720px) {
  .tcard { padding: 0; }
}

/* ---------- RODAPÉ · coluna restante ocupa 100% e fica centralizada no mobile ---------- */
@media (max-width: 820px) {
  .site-footer__top { grid-template-columns: 1fr; }
  .site-footer__brand { text-align: center; }
  .site-footer__logo { display: flex; justify-content: center; }
  .site-footer__brand p { margin-inline: auto; }
  .social { justify-content: center; }
}

/* ---------- HERO · remover margin-top do h1 no mobile ---------- */
@media (max-width: 980px) {
  .hero h1 { margin-top: 0; }
}

/* ============================================================
   StelaTek — v7 · ajustes desktop/mobile (rodada 3)
   (loaded after v6)
   ============================================================ */

/* ---------- RELATÓRIOS E INDICADORES · ocultar coluna "Capítulos" no mobile ---------- */
@media (max-width: 900px) {
  .bars .bar:last-child { display: none; }
}

/* ---------- TESTE GRATUITO · ajustes mobile ---------- */
.cta-text-short { display: none; }
@media (max-width: 820px) {
  .cta-word-solicitar { display: none; }
  .cta-text-full { display: none; }
  .cta-text-short { display: inline; }
  .cta-band .inner { padding: 25px; }
}

/* ---------- BENEFÍCIOS · trocar "instituição" por "IES" no mobile ---------- */
.benefit-eyebrow-short { display: none; }
@media (max-width: 900px) {
  .benefit-eyebrow-full { display: none; }
  .benefit-eyebrow-short { display: inline; }
}

/* ---------- CLIENTES · ajustes mobile ---------- */
@media (max-width: 720px) {
  .tcard figcaption { margin-bottom: 20px; }
  .tcar__dots { gap: 6px; }
  .tcar__dots button { width: 6px; height: 6px; }
  .tcar__dots button.is-active { width: 18px; }
}

/* ---------- LOGOS · trocar "Instituições" por "IES" no mobile ---------- */
.logos-label-short { display: none; }
@media (max-width: 900px) {
  .logos-label-full { display: none; }
  .logos-label-short { display: inline; }
}

/* ---------- NEWSLETTER · corrigir campos que ultrapassavam o card no mobile ---------- */
@media (max-width: 820px) {
  .newsletter .inner { grid-template-columns: minmax(0, 1fr); }
  .news__form, .news__form-row, .recaptcha { min-width: 0; }
}

/* ---------- RODAPÉ · logo com altura fixa no mobile ---------- */
@media (max-width: 820px) {
  .site-footer__logo img { height: 40px; }
}
