/* ============ TOKENS ============ */
:root {
  --bg: #05070d;
  --bg-alt: #080c17;
  --panel: #0d1526;
  --glass-bg: rgba(15, 23, 42, 0.5);
  --glass-border: rgba(160, 190, 240, 0.14);
  --line: rgba(148, 178, 225, 0.14);
  --line-strong: rgba(148, 178, 225, 0.28);
  --ink: #eef3fb;
  --ink-dim: #97a7c2;
  --ink-faint: #5c6c8a;
  --cyan: #3ad0ff;
  --cyan-soft: rgba(58, 208, 255, 0.13);
  --blue: #2f6fed;
  --blue-soft: rgba(47, 111, 237, 0.16);
  --indigo: #2c3fb0;
  --indigo-soft: rgba(60, 84, 212, 0.18);
  --gold: #cda766;
  --gold-soft: rgba(205, 167, 102, 0.1);

  /* Content-section tone: a desaturated slate-blue — quiet, private-banking
     register (Mercury-style) rather than a saturated "fintech corporate blue"
     or a light-mode inversion. Color-blocking as brand identity, not a binary
     dark/light theme swap. */
  --tint: #2d3b52;
  --tint-alt: #26324a;
  --ink-on-tint: #e8edf5;
  --ink-dim-on-tint: #aab6c9;
  --ink-faint-on-tint: #7c8aa0;

  /* Display face is a deliberate departure from the ubiquitous tech-grotesk
     (Space Grotesk, Inter, etc.) every AI/SaaS launch reaches for by default.
     Fraunces is an expressive serif — serif reads as capital/heritage/trust,
     which is set in literal tension against the mono-set technical labels
     (eyebrows, tags) that stay grotesk/mono. That contrast is the point: it
     embodies "tecnologia + capital + gestão" typographically instead of
     just saying it in copy. */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "IBM Plex Sans", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --wrap: 1180px;
}

/* ============ RESET / BASE ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
/* Fraunces carries an optical-size axis: at low opsz it prints as a fairly
   plain text serif, at high opsz its display personality (high contrast,
   sharp serifs) actually shows up. Matching opsz roughly to the rendered
   size — rather than leaving it at the browser default — is what makes the
   face read as a deliberate display choice instead of "some serif." */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; color: var(--ink); font-variation-settings: "opsz" 40; }
h1 { font-variation-settings: "opsz" 144; }
h2 { font-variation-settings: "opsz" 90; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; position: relative; }

/* persistent cinematic light system, shared across the whole page */
.atmosphere {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1100px 700px at 88% -6%, rgba(47, 111, 237, 0.16), transparent 60%),
    radial-gradient(900px 700px at -6% 108%, rgba(60, 84, 212, 0.16), transparent 60%);
}

.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 2; opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed; top: 0; left: 0; width: 480px; height: 480px; margin-left: -240px; margin-top: -240px;
  border-radius: 50%; pointer-events: none; z-index: 1; opacity: 0;
  background: radial-gradient(circle, rgba(58,208,255,0.10), rgba(60,84,212,0.07) 45%, transparent 70%);
  transition: opacity 0.4s ease; will-change: transform;
}
.cursor-glow.active { opacity: 1; }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%; z-index: 60;
  background: linear-gradient(90deg, var(--cyan), var(--indigo), var(--gold));
  box-shadow: 0 0 10px rgba(58,208,255,0.6);
}

main, .site-header, .site-footer { position: relative; z-index: 1; }

.eyebrow {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px; letter-spacing: 0.14em;
  color: var(--gold);
  margin: 0 0 14px;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); flex: none; }

/* Editorial running-folio numbering: every major .section (Sobre through
   Contato — the hero and footer columns are deliberately excluded, they
   aren't "chapters") is auto-numbered via a CSS counter and that number
   replaces the plain bullet dot in front of its eyebrow. This ties into the
   numeral language already established elsewhere on the page (the hero's
   giant "3", the Diferenciais 01–06, the Processo 01–04 steps) into one
   coherent, page-wide "curated chapters" system — a magazine's running folio,
   not a decorative dot repeated eight times for no reason. */
main { counter-reset: sectionnum; }
.section { counter-increment: sectionnum; }
.section .eyebrow::before {
  content: counter(sectionnum, decimal-leading-zero) "\2014";
  width: auto; height: auto; border-radius: 0; background: none; box-shadow: none;
}

.section-lede { color: var(--ink-dim); max-width: 560px; margin-top: 12px; font-size: 17px; }
.section-lede.center-lede { max-width: 620px; margin-left: auto; margin-right: auto; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { max-width: 680px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }

.section { padding: 88px 0; position: relative; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Slate-blue "tint" sections — used for substantive/trust content (Sobre,
   Soluções, Processo, Diferenciais). Desaturated, quiet register (private-
   banking, not "fintech corporate blue") sitting between the near-black
   brand/impact moments (Hero, Vídeo, Contato, footer) and reading as a
   deliberate color choice rather than a generic light SaaS template.
   Re-scopes the same tokens the dark components already read from, so cards/
   chips/text adapt automatically without duplicate component rules. */
.section-tint {
  background: var(--tint);
  color: var(--ink-on-tint);
  --ink: var(--ink-on-tint);
  --ink-dim: var(--ink-dim-on-tint);
  --ink-faint: var(--ink-faint-on-tint);
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --glass-bg: rgba(255, 255, 255, 0.055);
  --glass-border: rgba(255, 255, 255, 0.12);
  --cyan: #7fa8d9;
  --cyan-soft: rgba(127, 168, 217, 0.14);
  --gold: #c2a06b;
  --gold-soft: rgba(194, 160, 107, 0.14);
  /* Third pillar accent (Gestão), desaturated to the same quiet register as
     the cyan/gold above rather than the saturated --indigo/--blue tokens,
     which read as loud "fintech corporate blue" against this section's
     slate-blue ground. */
  --indigo: #9099c7;
  --indigo-soft: rgba(144, 153, 199, 0.16);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.section-tint.section-tint-alt { background: var(--tint-alt); }

.hl-cyan { color: var(--cyan); }
/* A one-time "ignition" instead of an infinite shimmer loop: the gradient
   sweeps into place once when the phrase first appears, then holds still.
   An endlessly cycling gradient on the page's core thesis line reads as
   stock "AI-template" shine; landing once and settling reads as considered
   emphasis instead of decoration that never stops asking for attention. */
.grad-text {
  background: linear-gradient(90deg, var(--cyan) 0%, var(--indigo) 55%, var(--cyan) 100%);
  background-size: 220% auto;
  background-position: 0% 50%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradIgnite 1.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--i, 1) * 0.12s + 0.3s);
}
@keyframes gradIgnite { from { background-position: 100% 50%; } to { background-position: 0% 50%; } }
@media (prefers-reduced-motion: reduce) { .grad-text { animation: none; } }

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 14.5px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn-play { font-size: 10px; }
.btn-cyan { background: var(--cyan); color: #04141c; }
.btn-cyan:hover { box-shadow: 0 10px 34px -8px rgba(58, 208, 255, 0.6); }
.btn-ghost { background: rgba(255,255,255,0.04); color: var(--ink); border-color: var(--line-strong); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(5, 7, 13, 0.6);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(5, 7, 13, 0.86); }
.header-row { display: flex; align-items: center; gap: 24px; padding: 12px 28px; }
.brand { display: flex; align-items: center; gap: 22px; margin-right: auto; }
.brand-mark {
  width: 112px; height: 112px; object-fit: contain; transition: transform 0.2s ease;
  filter: drop-shadow(0 3px 12px rgba(0,0,0,0.45)) drop-shadow(0 0 22px rgba(58,208,255,0.4));
}
.brand:hover .brand-mark { transform: scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
/* The logo and the full company name are the two things this client has
   asked, repeatedly and explicitly, to see carry real weight — the brand is
   the header's headline, not a caption next to the nav. Previous passes kept
   hedging toward "restrained sticky-nav convention"; this commits fully:
   a genuinely large mark and a genuinely large bold wordmark, with the full
   legal name spelled out underneath instead of a small tag line. */
.brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 38px; letter-spacing: -0.015em; line-height: 1.02;
  font-variation-settings: "opsz" 60;
  background: linear-gradient(90deg, var(--ink) 8%, var(--cyan) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-sub { font-family: var(--font-body); font-style: italic; font-size: 14.5px; letter-spacing: 0.01em; color: var(--ink-dim); margin-top: 5px; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { font-size: 14.5px; color: var(--ink-dim); position: relative; padding: 4px 0; transition: color 0.2s ease; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px; background: var(--cyan);
  transition: right 0.25s ease;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { right: 0; }

.header-cta { padding: 10px 18px; font-size: 13.5px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ============ HERO ============ */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; display: flex; flex-direction: column; align-items: stretch;
  padding: 96px 0 0;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.4) saturate(1.15); transform: scale(1.02); }
.hero-video-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5,7,13,0.55) 0%, rgba(5,7,13,0.72) 55%, var(--bg) 96%),
    linear-gradient(100deg, rgba(5,7,13,0.75) 0%, rgba(5,7,13,0.25) 45%, rgba(20,20,40,0.55) 100%);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: 0.55; }

/* The hero's signature graphic: not a decorative shape, but the number "3"
   itself — from "Três frentes estratégicas" — rendered as a giant serif
   display numeral. Turns the headline's own thesis into the hero's visual
   anchor instead of reaching for a generic abstract graphic. */
.hero-numeral {
  /* Sized and positioned to sit fully within a standard laptop viewport
     (~800-950px tall) rather than bleeding past the fold — the previous
     720px/-54% placement cropped the numeral's lower bowl on most screens,
     so what showed above the fold was an unrecognizable curved fragment
     instead of a legible "3". Contrast raised for the same reason: at low
     opacity a cropped character reads as an abstract blob, not a numeral. */
  position: absolute; right: 1vw; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-weight: 900; font-variation-settings: "opsz" 144;
  font-size: min(42vw, 500px); line-height: 1; letter-spacing: -0.04em;
  color: transparent;
  background: linear-gradient(160deg, rgba(58,208,255,0.30) 0%, rgba(47,111,237,0.16) 55%, transparent 92%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-stroke: 1.5px rgba(160,190,240,0.22);
  z-index: 1; pointer-events: none; user-select: none;
}

.hero-grid { position: relative; z-index: 2; width: 100%; padding-bottom: 64px; flex: 1; display: flex; align-items: center; }
.hero-copy { max-width: 760px; }
.hero-copy > * { opacity: 0; transform: translateY(16px); animation: heroIn 0.7s ease forwards; animation-delay: calc(var(--i, 0) * 0.12s + 0.1s); }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

/* Brand mark strategy: repeating the same flat icon at ever-larger sizes
   plateaus — a bigger flat icon still reads as "the same small icon,
   again." Instead the logo gets two real signature moments — this hero
   emblem and its footer counterpart (.emblem) — built with actual graphic
   weight (glow, rings, a slow pulse), while the header keeps a modest,
   functional mark (a giant logo in a sticky nav reads as amateur, not
   premium). The small repeated mark that used to sit in the Sobre section
   was removed entirely: it was the weak repetition dragging the whole
   brand-mark story down to "small and repetitive." */
.hero-top { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; margin-bottom: 34px; }
.hero-top .eyebrow { margin: 0; }

.emblem { position: relative; display: flex; align-items: center; justify-content: center; flex: none; }
.emblem::before {
  content: ""; position: absolute; inset: -22%; border-radius: 50%;
  background: radial-gradient(circle, rgba(58,208,255,0.3), rgba(47,111,237,0.12) 55%, transparent 75%);
  filter: blur(4px);
  animation: emblemPulse 5s ease-in-out infinite;
}
.emblem-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,0.16); }
.emblem-ring-2 { inset: 13%; border-color: rgba(58,208,255,0.34); }
.emblem-logo { position: relative; z-index: 2; width: 66%; height: 66%; object-fit: contain; filter: drop-shadow(0 6px 22px rgba(0,0,0,0.5)); }
@keyframes emblemPulse { 0%, 100% { opacity: 0.55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
.emblem-lg { width: 156px; height: 156px; }

.hero h1 { font-size: clamp(42px, 7vw, 84px); line-height: 1.02; letter-spacing: -0.02em; font-weight: 700; }
.hero-lede { margin-top: 24px; font-size: 19px; color: var(--ink-dim); max-width: 540px; }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

.hero-stats { display: flex; align-items: center; gap: 30px; margin-top: 50px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num, .stat-num-text { font-family: var(--font-display); font-size: 42px; font-weight: 700; font-variation-settings: "opsz" 60; color: var(--ink); line-height: 1; }
.stat-num-text { font-size: 32px; }
.stat-label { font-size: 12px; color: var(--ink-faint); line-height: 1.4; }
.stat-sep { width: 1px; height: 32px; background: var(--line-strong); }

/* Ticker */
.ticker {
  position: relative; z-index: 2; border-top: 1px solid var(--glass-border);
  background: rgba(5,7,13,0.55); backdrop-filter: blur(10px);
  overflow: hidden; padding: 16px 0; white-space: nowrap;
}
.ticker-track { display: inline-flex; align-items: center; gap: 18px; animation: ticker 26s linear infinite; }
.ticker-track span { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.12em; color: var(--ink-dim); }
.ticker-track .tdot { color: var(--gold); font-size: 10px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ SOBRE + LIDERANÇA (merged block) ============ */
.about-block { padding-top: 100px; }
.about-top { max-width: 720px; margin-bottom: 48px; }
.about-h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.25; }

.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start; }
.about-text p { color: var(--ink-dim); margin-bottom: 16px; font-size: 16.5px; }
.about-text strong { color: var(--ink); }

.about-quote { border-radius: 14px; border-left: 3px solid var(--cyan); padding: 36px 32px; }
.quote-mark { font-family: var(--font-display); font-size: 72px; font-variation-settings: "opsz" 144; color: var(--gold); line-height: 1; display: block; margin-bottom: 0; }
.about-quote p { font-style: italic; font-size: 21px; line-height: 1.45; color: var(--ink); margin: 0; }

/* ============ PILLARS ============ */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar-card {
  border-radius: 14px; padding: 30px; position: relative; overflow: hidden;
  transition: border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  transform-style: preserve-3d;
}
.pillar-card:hover { border-color: var(--line-strong); box-shadow: 0 20px 50px -20px rgba(58, 208, 255,0.25); }

/* Shared "edge-light" device: a top accent bar that brightens on hover, so
   every card in the pillar/diferenciais/contact grids reads as one
   deliberate visual system instead of interchangeable plain glass boxes. */
.pillar-card::before, .diff::before, .contact-card::before {
  content: ""; position: absolute; top: 0; left: 22px; right: 22px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, #6fe0ff 50%, transparent);
  box-shadow: 0 0 12px 1px rgba(111, 224, 255, 0.7);
  opacity: 0.85; pointer-events: none;
}
.pillar-card:hover::before, .diff:hover::before, .contact-card:hover::before { opacity: 1; }
.pillar-glyph {
  position: absolute; right: -18px; top: -18px; width: 120px; height: 120px; opacity: 0.05; color: var(--ink);
  pointer-events: none;
}
.pillar-glyph svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1; }
.pillar-icon {
  width: 48px; height: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: var(--cyan-soft); color: var(--cyan); margin-bottom: 20px; position: relative;
}
.pillar-icon-gold { background: var(--gold-soft); color: var(--gold); }
/* Third pillar color (Gestão) — completes the three-way code (cyan =
   Tecnologia, gold = Capital, indigo = Gestão) so "três frentes" is legible
   at a glance, not just in copy; previously Tecnologia and Gestão shared the
   same cyan icon and the thesis had no visual backing in the grid itself. */
.pillar-icon-indigo { background: var(--indigo-soft); color: var(--indigo); }
.pillar-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pillar-card h3 { font-size: 20px; margin-bottom: 10px; position: relative; }
.pillar-card > p { color: var(--ink-dim); font-size: 15px; margin-bottom: 18px; position: relative; }

.pillar-toggle {
  background: none; border: none; color: var(--cyan); font-family: var(--font-mono); font-size: 12.5px;
  letter-spacing: 0.06em; cursor: pointer; padding: 0; display: flex; align-items: center; gap: 6px;
  text-transform: uppercase; position: relative;
}
.chev { display: inline-block; transition: transform 0.25s ease; }
.pillar-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

.pillar-detail {
  overflow: hidden; max-height: 0; transition: max-height 0.35s ease, margin-top 0.35s ease, border-color 0.35s ease;
  border-top: 1px solid transparent; position: relative;
}
.pillar-card.open .pillar-detail { max-height: 600px; margin-top: 18px; padding-top: 18px; border-top-color: var(--line); }
.pillar-detail li { font-size: 14px; color: var(--ink-dim); margin-bottom: 12px; line-height: 1.55; }
.pillar-detail li:last-child { margin-bottom: 0; }
.pillar-detail li strong { color: var(--ink); }
.pillar-detail-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pillar-detail-tags li {
  background: var(--gold-soft); color: var(--gold); border: 1px solid rgba(205,167,102,0.3);
  border-radius: 100px; padding: 6px 14px; font-family: var(--font-mono); font-size: 12px; margin: 0;
}

.convergence { margin-top: 40px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.convergence-line { width: 1px; height: 32px; background: linear-gradient(var(--line-strong), var(--cyan)); position: relative; overflow: hidden; }
.convergence-line::after {
  content: ""; position: absolute; left: -2px; right: -2px; height: 10px; background: linear-gradient(var(--cyan), transparent);
  animation: flowDown 2.4s ease-in-out infinite;
}
@keyframes flowDown { 0% { top: -10px; opacity: 0; } 20% { opacity: 1; } 100% { top: 32px; opacity: 0; } }
/* The pillars' payoff, stated as a refrain rather than a small badge: the
   exact phrase that closes the hero's own headline ("Um só parceiro.")
   returns here, at the same scale and gradient treatment (.grad-text) as
   its first appearance — a deliberate callback instead of a generic CTA
   pill, giving the three-card grid an actual editorial punctuation mark. */
.convergence-statement {
  margin-top: 20px; font-family: var(--font-display); font-weight: 600; font-variation-settings: "opsz" 144;
  font-size: clamp(40px, 6.4vw, 92px); line-height: 1; letter-spacing: -0.02em;
}

/* ============ VIDEO ============ */
.video-wrap { text-align: center; }
.video-h2 { font-size: clamp(32px, 4.6vw, 52px); margin-top: 4px; line-height: 1.08; }
.video-stage { margin-top: 40px; }
.video-stage-inner {
  position: relative; max-width: 1100px; margin: 0 auto; aspect-ratio: 16/8; border-radius: 22px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--glass-border), 0 40px 100px -30px rgba(0,0,0,0.75);
}
.video-ambient { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.6) saturate(1.15); }
.video-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 400px at 50% 40%, rgba(5,7,13,0.1), rgba(5,7,13,0.6) 70%),
    linear-gradient(180deg, rgba(5,7,13,0.25), rgba(5,7,13,0.7));
}
.video-grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
  opacity: 0.4;
}
.play-btn-lg {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: none; border: none; cursor: pointer; padding: 0; width: 96px; height: 96px;
}
.play-btn-lg svg { position: relative; z-index: 2; width: 96px; height: 96px; fill: none; stroke: var(--ink); stroke-width: 1.2; transition: transform 0.25s ease; }
.play-btn-lg svg path { fill: var(--ink); stroke: none; }
.play-btn-lg svg circle { fill: rgba(15,23,42,0.4); }
.play-btn-lg:hover svg { transform: scale(1.06); }
.play-pulse {
  position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,0.5);
  animation: ringPulse 2.6s ease-out infinite;
}
@keyframes ringPulse { 0% { transform: scale(0.72); opacity: 0.9; } 100% { transform: scale(1.7); opacity: 0; } }
.play-pulse-2 { animation-delay: 0.9s; }
.video-badge {
  position: absolute; left: 24px; bottom: 22px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em;
  color: var(--ink-dim); background: rgba(5,7,13,0.5); border: 1px solid var(--glass-border); padding: 7px 14px; border-radius: 100px;
}

.lightbox {
  position: fixed; inset: 0; z-index: 80; background: rgba(3,5,10,0.94);
  display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-inner { width: min(92vw, 1100px); aspect-ratio: 16/9; }
.lightbox-inner video { width: 100%; height: 100%; border-radius: 10px; box-shadow: 0 30px 90px -20px rgba(0,0,0,0.8); }
.lightbox-close {
  position: absolute; top: 26px; right: 30px; background: none; border: 1px solid var(--glass-border); color: var(--ink);
  width: 42px; height: 42px; border-radius: 50%; font-size: 16px; cursor: pointer; transition: border-color 0.2s, color 0.2s;
}
.lightbox-close:hover { border-color: var(--cyan); color: var(--cyan); }

/* ============ PROCESSO ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 17px; left: 4%; right: 4%; height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--indigo), var(--gold));
  opacity: 0.4;
}
.step { padding: 0 22px 0 0; position: relative; }
.step-index {
  /* Fixed royal-blue fill for the same reason as .convergence-pill above. */
  display: inline-flex; font-family: var(--font-mono); font-size: 13px; color: #f2f6ff;
  background: #2f6fed; width: 36px; height: 36px; border-radius: 50%; align-items: center; justify-content: center;
  margin-bottom: 20px; position: relative; z-index: 1; box-shadow: 0 0 24px -4px rgba(47,111,237,0.6);
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--ink-dim); font-size: 14.5px; }

/* ============ DIFERENCIAIS ============ */
/* Each card gets a large faint index numeral (01..06), generated via CSS
   counters — the same "corner glyph" language already used by the pillar
   cards (.pillar-glyph), extended here without touching the markup. Ties
   the two grids into one visual system instead of two unrelated components. */
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: diffnum; }
.diff {
  padding: 30px 26px; border-radius: 14px; position: relative; overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  counter-increment: diffnum;
}
.diff:hover { box-shadow: 0 20px 50px -24px rgba(58, 208, 255,0.3); border-color: var(--line-strong); }
.diff::after {
  content: counter(diffnum, decimal-leading-zero);
  position: absolute; right: 16px; bottom: 2px; font-family: var(--font-display); font-weight: 700;
  font-variation-settings: "opsz" 90;
  font-size: 60px; line-height: 1; color: var(--ink); opacity: 0.07; pointer-events: none;
}
.diff h3 { font-size: 19px; margin-bottom: 8px; color: var(--cyan); position: relative; }
.diff p { color: var(--ink-dim); font-size: 14.5px; position: relative; max-width: 88%; }

/* ============ CONTATO ============ */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact-card {
  border-radius: 14px; padding: 32px 22px; position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  transition: border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  transform-style: preserve-3d;
}
.contact-card:not(.contact-card-static):hover { border-color: var(--cyan); box-shadow: 0 20px 50px -22px rgba(58, 208, 255,0.35); }
.contact-icon {
  width: 54px; height: 54px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: var(--cyan-soft); margin-bottom: 4px;
}
.contact-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--cyan); stroke-width: 1.5; }
.contact-icon-indigo { background: var(--indigo-soft); }
.contact-icon-indigo svg { stroke: var(--indigo); }
.contact-icon-gold { background: var(--gold-soft); }
.contact-icon-gold svg { stroke: var(--gold); }
.contact-icon-neutral { background: rgba(255,255,255,0.06); }
.contact-icon-neutral svg { stroke: var(--ink-dim); }
.contact-label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; color: var(--ink-faint); text-transform: uppercase; }
.contact-value { font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }

/* ============ FOOTER ============ */
.site-footer { position: relative; border-top: 1px solid var(--line); padding: 76px 0 32px; background: var(--bg-alt); overflow: hidden; }
.footer-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 420px at 15% 0%, rgba(58,208,255,0.1), transparent 65%),
    radial-gradient(700px 420px at 90% 100%, rgba(60,84,212,0.14), transparent 65%);
}

.footer-top { position: relative; display: grid; grid-template-columns: 1.4fr 1.4fr 0.8fr 0.8fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer-col .eyebrow { margin-bottom: 16px; }

/* Footer bookends the hero: same .emblem treatment, same size — the page
   opens and closes on equal brand weight instead of trailing off with a
   small icon. */
.footer-emblem { margin-bottom: 22px; }
/* Resets the header's gradient-clip treatment back to a plain solid color:
   the bold wordmark is the header's one loud moment, so the footer signature
   (already carried by the big .emblem above it) stays quiet by comparison
   instead of repeating the same effect a second time. */
.footer-brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: 0.03em; margin: 0 0 8px;
  background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--ink);
}
.footer-tagline { color: var(--ink-faint); font-size: 14px; max-width: 220px; }

.footer-values h3 { font-size: 24px; line-height: 1.3; margin-bottom: 12px; }
.footer-values > p:not(.eyebrow) { color: var(--ink-dim); font-size: 14.5px; max-width: 340px; margin-bottom: 18px; }
.footer-value-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-value-tags span {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.05em; color: var(--cyan);
  background: var(--cyan-soft); border: 1px solid rgba(58,208,255,0.3); border-radius: 100px; padding: 6px 13px;
}

.footer-nav-col, .footer-contact-col { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-nav-col a, .footer-contact-col a { font-size: 14.5px; color: var(--ink-dim); transition: color 0.2s; }
.footer-nav-col a:hover, .footer-contact-col a:hover { color: var(--cyan); }

.footer-bottom { position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; padding-top: 28px; }
.footer-mini-logo { width: 34px; height: 34px; object-fit: contain; opacity: 0.75; }
.footer-copy { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); }

/* ============ REVEAL ANIMATION ============ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .main-nav { position: fixed; top: 66px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; padding: 20px 28px; gap: 18px; transform: translateY(-8px);
    opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease; }
  .main-nav.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .pillars { grid-template-columns: 1fr; }
  .video-stage-inner { aspect-ratio: 4/5; border-radius: 14px; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { display: none; }
  .diff-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; text-align: left; }
  .hero-stats { gap: 20px; }
  .hero-numeral { display: none; }
}
@media (max-width: 560px) {
  .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 76px; padding-bottom: 40px; }
  .hero-stats { row-gap: 22px; }
  .stat-sep { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .brand { gap: 14px; }
  .brand-mark { width: 76px; height: 76px; }
  .brand-name { font-size: 26px; }
  .brand-sub { font-size: 12px; }
}
