:root {
  --bg: #0a0a0b;
  --bg-2: #0d0d10;
  --bg-light: #f4f3f0;
  --bg-light-2: #eae8e3;
  --surface-dark: #141417;
  --surface-glass: rgba(255, 255, 255, 0.045);
  --border-dark: rgba(255, 255, 255, 0.1);
  --border-light: rgba(19, 18, 15, 0.12);
  --text: #f7f6f3;
  --text-70: rgba(247, 246, 243, 0.72);
  --text-45: rgba(247, 246, 243, 0.45);
  --text-30: rgba(247, 246, 243, 0.28);
  --ink: #14130f;
  --ink-60: rgba(20, 19, 15, 0.62);
  --ink-40: rgba(20, 19, 15, 0.4);
  --accent: #c9a876;
  --accent-light: #ddc296;
  --accent-wash: rgba(201, 168, 118, 0.14);
  --font: "Satoshi", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", monospace;
  /* motion tokens — todas as animações do site conversam por aqui */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-hover: 0.45s;
  --dur-reveal: 0.8s;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: #14130f; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img, svg { display: block; max-width: 100%; }
code { font-family: var(--font-mono); }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 760px) { .wrap { padding: 0 20px; } }

/* ---------- nav ---------- */

.nav-outer {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px;
  background: rgba(10, 9, 8, 0.6);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
@media (max-width: 900px) {
  .nav-outer {
    top: 14px; left: 16px; right: 16px;
    padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-bottom-color: rgba(255, 255, 255, 0.09);
    border-radius: 999px;
  }
}

.logo { display: flex; align-items: center; }
.logo img { height: 41px; width: auto; display: block; }
@media (max-width: 900px) { .logo img { height: 36px; } }

.pill-nav {
  display: flex; align-items: center; gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px; padding: 6px;
}
.pill-nav a {
  padding: 9px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
  color: var(--text-70); transition: background-color .15s, color .15s; white-space: nowrap;
}
.pill-nav a:hover { color: var(--text); background: rgba(255,255,255,0.08); }
@media (max-width: 980px) { .pill-nav { display: none; } }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
  transition: transform .25s var(--ease-out), background-color .2s ease, border-color .2s ease, opacity .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #ece9e2; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #232019; }
.btn-outline-dark { border: 1px solid rgba(255,255,255,0.22); color: var(--text); }
.btn-outline-dark:hover { background: rgba(255,255,255,0.06); }
.btn-outline-ink { border: 1px solid var(--border-light); color: var(--ink); }
.btn-outline-ink:hover { background: rgba(19,23,32,0.04); }
.btn-accent { background: var(--accent); color: #1b1710; }
.btn-accent:hover { background: var(--accent-light); }

/* ---------- section label (numbered eyebrow) ---------- */

.sec-label {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--text-45);
  margin-bottom: 20px;
}
.section-light .sec-label, .section-light-2 .sec-label { color: var(--ink-40); }
.sec-label .n-dot { color: var(--accent); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center;
  padding: 150px 40px 60px;
  background: radial-gradient(ellipse 80% 55% at 30% 15%, #16161a 0%, var(--bg-2) 50%, var(--bg) 100%);
  overflow: hidden;
  gap: 20px;
}
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding: 140px 20px 40px; text-align: left; }
}

.hero-content { position: relative; z-index: 3; max-width: 620px; }

h1 {
  font-family: var(--font); font-weight: 500; letter-spacing: -0.03em;
  font-size: clamp(38px, 5vw, 68px); line-height: 1.05; margin: 0 0 24px;
  text-wrap: balance;
}
h1 .line-accent { color: var(--accent); display: block; }

.hero-sub {
  font-size: clamp(15.5px, 1.3vw, 17.5px); color: var(--text-70); max-width: 480px;
  margin: 0 0 36px; font-weight: 400; line-height: 1.6;
}

.hero-ctas { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.capability-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding-top: 32px; border-top: 1px solid var(--border-dark); max-width: 540px;
}
.cap-tag {
  font-size: 12px; font-weight: 500; color: var(--text-45);
  border: 1px solid var(--border-dark); border-radius: 999px; padding: 7px 14px;
  transition: color .3s ease, border-color .3s ease;
}
.cap-tag:hover { color: var(--text-70); border-color: rgba(201, 168, 118, 0.45); }

/* ---------- 3D stage ---------- */

.hero-stage {
  position: relative; z-index: 2;
  height: 640px; display: flex; align-items: center; justify-content: center;
}
@media (max-width: 980px) { .hero-stage { height: 420px; margin-top: 20px; } }

#hero-scene-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.data-panel {
  position: absolute; z-index: 3;
  background: var(--surface-glass);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--border-dark);
  border-radius: 14px; padding: 14px 16px;
  font-family: var(--font-mono);
  min-width: 128px;
}
.data-panel .dp-label {
  font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-45);
  margin-bottom: 6px;
}
.data-panel .dp-value {
  font-size: 21px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums;
  display: flex; align-items: baseline; gap: 4px;
}
.data-panel .dp-value .dp-unit { font-size: 12px; font-weight: 500; color: var(--accent-light); }

.dp-1 { top: 6%; left: -2%; }
.dp-2 { top: 12%; right: -4%; }
.dp-3 { bottom: 16%; left: 2%; }
@media (max-width: 980px) {
  .dp-1 { top: 0; left: 0; }
  .dp-2 { top: 0; right: 0; }
  .dp-3 { display: none; }
}

.spark { display: flex; align-items: flex-end; gap: 2px; height: 20px; margin-top: 8px; }
.spark i { display: block; width: 3px; background: var(--accent); opacity: 0.55; border-radius: 1px; }
.spark i:last-child { opacity: 1; }

/* ---------- sections ---------- */

.section-light { background: var(--bg-light); color: var(--ink); padding: 130px 0; }
.section-light-2 { background: var(--bg-light-2); color: var(--ink); padding: 130px 0; }
@media (max-width: 760px) { .section-light, .section-light-2 { padding: 84px 0; } }

.section-dark { background: var(--bg); color: var(--text); padding: 130px 0; }
@media (max-width: 760px) { .section-dark { padding: 84px 0; } }

.section-head { max-width: 680px; margin: 0 0 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

h2 {
  font-family: var(--font); font-weight: 500; letter-spacing: -0.025em;
  font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; margin: 0 0 16px;
  text-wrap: balance;
}
.section-desc { font-size: 16px; color: var(--ink-60); line-height: 1.65; max-width: 56ch; }
.section-dark .section-desc { color: var(--text-70); }
.section-head.center .section-desc { margin-left: auto; margin-right: auto; }

/* ---------- service cards (tilt) ---------- */

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .service-grid { grid-template-columns: 1fr; } }

.tilt-card {
  position: relative;
  background: #fff; border: 1px solid var(--border-light); border-radius: 22px;
  padding: 1px; transform-style: preserve-3d; will-change: transform;
  transition: transform .12s ease-out, box-shadow .3s ease;
}
.tilt-card:hover { box-shadow: 0 30px 60px -30px rgba(20,19,15,0.25); }
.tilt-inner { padding: 34px 30px; position: relative; overflow: hidden; border-radius: 21px; }
.tilt-glow {
  position: absolute; inset: 0; opacity: 0; transition: opacity .3s;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(201,168,118,0.16), transparent 70%);
  pointer-events: none;
}
.tilt-card:hover .tilt-glow { opacity: 1; }

.service-icon {
  width: 46px; height: 46px; border-radius: 13px; background: var(--ink);
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
  position: relative; z-index: 2;
}
.service-icon svg { width: 22px; height: 22px; color: #fff; }
.tilt-inner h3 { font-size: 19px; font-weight: 700; margin: 0 0 10px; letter-spacing: -0.01em; position: relative; z-index: 2; }
.tilt-inner > p { font-size: 14.5px; color: var(--ink-60); line-height: 1.6; margin: 0 0 20px; position: relative; z-index: 2; }
.service-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; position: relative; z-index: 2; }
.service-list li { font-size: 13px; color: var(--ink); font-weight: 500; display: flex; align-items: center; gap: 9px; }
.service-list li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* ---------- stat row ---------- */

.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border-dark); border: 1px solid var(--border-dark); border-radius: 20px; overflow: hidden;
  margin-top: 64px;
}
@media (max-width: 760px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat-cell { background: var(--surface-dark); padding: 28px 24px; }
.stat-cell .stat-value {
  font-family: var(--font-mono); font-size: clamp(26px, 3vw, 36px); font-weight: 600;
  color: var(--text); font-variant-numeric: tabular-nums; margin-bottom: 6px;
}
.stat-cell .stat-label { font-size: 12.5px; color: var(--text-45); }

/* ---------- process ---------- */

.process-list { max-width: 780px; }
.process-item {
  position: relative;
  display: grid; grid-template-columns: 68px 1fr; gap: 24px;
  padding: 32px 0; border-top: 1px solid var(--border-light);
}
.process-item:last-child { border-bottom: 1px solid var(--border-light); }
.process-item::before {
  content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 100%;
  background: linear-gradient(90deg, var(--accent), rgba(201,168,118,0));
  transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease-out);
}
.process-item:hover::before { transform: scaleX(1); }
.process-item > div { transition: transform .5s var(--ease-out); }
.process-item:hover > div:last-child { transform: translateX(6px); }
.process-num { font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; transition: color .3s ease; }
.process-item:hover .process-num { color: var(--ink); }
.process-item h3 { font-size: 20px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.01em; }
.process-item p { font-size: 15px; color: var(--ink-60); margin: 0; line-height: 1.6; max-width: 54ch; }

/* ---------- audience ---------- */

.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border-dark); border: 1px solid var(--border-dark); border-radius: 20px; overflow: hidden; }
@media (max-width: 900px) { .audience-grid { grid-template-columns: 1fr; } }
.audience-card { background: var(--surface-dark); padding: 36px 30px; transition: background-color var(--dur-hover) var(--ease-soft); }
.audience-card:hover { background: #1a1a1f; }
.audience-card .aud-n { font-family: var(--font-mono); font-size: 12px; color: var(--accent); margin-bottom: 14px; display: block; transition: color .3s ease; }
.audience-card:hover .aud-n { color: var(--accent-light); }
.audience-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 10px; }
.audience-card p { font-size: 14px; color: var(--text-45); line-height: 1.6; margin: 0; }

/* ---------- antes / depois ---------- */

.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 8px; }
@media (max-width: 760px) { .compare-grid { grid-template-columns: 1fr; } }
.compare-card {
  border: 1px solid var(--border-light); border-radius: 20px; padding: 34px 30px;
  background: #fff;
}
.compare-card .compare-tag {
  display: inline-block; font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-40);
  border: 1px solid var(--border-light); border-radius: 999px; padding: 5px 12px; margin-bottom: 18px;
}
.compare-card p { font-size: 15.5px; color: var(--ink-60); line-height: 1.7; margin: 0; }
.compare-card-accent {
  background: var(--ink); border-color: var(--ink);
}
.compare-card-accent .compare-tag { color: var(--accent-light); border-color: rgba(201,168,118,0.4); }
.compare-card-accent p { color: var(--text-70); }

/* ---------- CTA ---------- */

.cta-section { position: relative; background: var(--bg-2); padding: 140px 0 120px; text-align: center; overflow: hidden; }
.cta-section::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(201,168,118,0.14), transparent 70%);
}
.cta-content { position: relative; z-index: 2; }
.cta-content .section-head.center { margin-bottom: 40px; }
.cta-content h2 { max-width: 700px; margin-left: auto; margin-right: auto; }

/* ---------- footer ---------- */

footer { background: var(--bg); border-top: 1px solid var(--border-dark); padding: 56px 0 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: 13.5px; color: var(--text-45); max-width: 280px; margin: 14px 0 0; line-height: 1.6; }
.footer-links { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-30); margin: 0 0 16px; }
.footer-col a {
  position: relative; display: block; width: fit-content;
  font-size: 13.5px; color: var(--text-70); margin-bottom: 11px;
  transition: color .25s ease, transform .35s var(--ease-out);
}
.footer-col a::before {
  content: ""; position: absolute; left: -13px; top: 50%; width: 4px; height: 4px;
  border-radius: 50%; background: var(--accent);
  opacity: 0; transform: translate(-4px, -50%);
  transition: opacity .25s ease, transform .35s var(--ease-out);
}
.footer-col a:hover { color: var(--text); transform: translateX(5px); }
.footer-col a:hover::before { opacity: 1; transform: translate(0, -50%); }
.footer-bottom a { transition: color .25s ease; }
.footer-bottom a:hover { color: var(--text-70); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 28px; border-top: 1px solid var(--border-dark); font-size: 12.5px; color: var(--text-30); font-family: var(--font-mono); }

/* ---------- network scene (canvas background for cards) ---------- */

.scene {
  position: relative; width: 100%; height: 100%; overflow: hidden; background: linear-gradient(160deg, #17171b, #0a0a0b);
}
.scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 68% 32%, rgba(201,168,118,0.22), transparent 62%);
  pointer-events: none;
}

/* video-ready media: real <video> sits above the canvas fallback once a
   [data-video] source is provided; canvas keeps rendering underneath. */
.media-video {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
}
.play-btn {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: #fff; opacity: 0; transition: opacity .2s ease, background-color .2s ease;
}
.play-btn svg { width: 18px; height: 18px; margin-left: 2px; }
.scene:hover .play-btn, .scene.playing .play-btn { opacity: 1; }
.scene.playing .play-btn { background: rgba(0,0,0,0.8); }
@media (hover: none) { .play-btn { opacity: 1; } }

/* ---------- featured stories ---------- */

.stories { display: flex; flex-direction: column; gap: clamp(48px, 6vw, 88px); }
.story { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.story:nth-child(even) { grid-template-columns: 0.95fr 1.05fr; }
.story:nth-child(even) .story-media { order: 2; }
@media (max-width: 860px) {
  .story, .story:nth-child(even) { grid-template-columns: 1fr; }
  .story:nth-child(even) .story-media { order: 0; }
}
.story-media {
  display: block; border-radius: 22px; overflow: hidden; aspect-ratio: 16/10;
  box-shadow: 0 28px 64px -36px rgba(0,0,0,0.55); transition: transform var(--dur-hover) var(--ease-out), box-shadow var(--dur-hover) var(--ease-out);
}
.story-media:hover { transform: translateY(-4px); box-shadow: 0 36px 72px -36px rgba(0,0,0,0.6); }
.story-meta { display: flex; align-items: center; gap: 14px; color: var(--ink-40); margin-bottom: 16px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.story-meta .story-num { color: var(--accent); }
.story-body h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; margin: 0 0 14px; letter-spacing: -0.015em; }
.story-body p { color: var(--ink-60); font-size: 15.5px; line-height: 1.65; margin: 0 0 22px; max-width: 48ch; }
.story-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--ink); }
.story-link span { color: var(--accent); transition: transform .35s var(--ease-out); }
.story-link:hover span { transform: translateX(5px); }
.bento-text .story-link, .section-dark .story-link { color: var(--text); }
.bento-text .story-link span, .section-dark .story-link span { color: var(--accent-light); }

/* ---------- solutions bento ---------- */

.bento-grid { display: grid; grid-template-columns: 1.1fr 1fr; grid-auto-rows: 1fr; gap: 18px; }
.bento-item {
  position: relative; border-radius: 22px; overflow: hidden; min-height: 240px;
  display: flex; align-items: flex-end; isolation: isolate; transition: transform var(--dur-hover) var(--ease-out);
}
.bento-item:hover { transform: translateY(-4px); }
.bento-item .scene { position: absolute; inset: 0; z-index: -1; }
.bento-item::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(201, 168, 118, 0.4);
  opacity: 0; transition: opacity var(--dur-hover) var(--ease-soft); pointer-events: none;
}
.bento-item:hover::before { opacity: 1; }
.bento-item:hover .story-link span { transform: translateX(5px); }
.bento-item::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,10,11,0) 30%, rgba(10,10,11,0.92) 100%);
}
.bento-item.big { grid-row: span 2; }
.bento-text { padding: clamp(24px, 3vw, 36px); position: relative; z-index: 2; }
.bento-text h3 { font-size: clamp(19px, 2.1vw, 24px); font-weight: 600; margin: 0 0 10px; color: var(--text); }
.bento-text p { color: var(--text-70); font-size: 14.5px; max-width: 40ch; margin: 0 0 14px; line-height: 1.6; }
@media (max-width: 860px) { .bento-grid { grid-template-columns: 1fr; } .bento-item.big { grid-row: auto; } }

/* ---------- cases rail ---------- */

.cases-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 340px); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none;
  /* full-bleed, mas o primeiro card alinha com o conteúdo do .wrap */
  padding-inline: max(40px, calc((100% - 1280px) / 2 + 40px));
  scroll-padding-inline: max(40px, calc((100% - 1280px) / 2 + 40px));
}
@media (max-width: 760px) { .cases-rail { padding-inline: 20px; scroll-padding-inline: 20px; } }
.cases-rail::-webkit-scrollbar { display: none; }
.cases-rail.dragging { scroll-snap-type: none; user-select: none; }
.cases-rail.dragging .case-card { pointer-events: none; }
.case-card {
  scroll-snap-align: start; background: var(--surface-dark); border: 1px solid var(--border-dark);
  border-radius: 20px; overflow: hidden; display: flex; flex-direction: column;
  transition: transform var(--dur-hover) var(--ease-out), border-color .3s ease;
}
.case-card:hover { transform: translateY(-5px); border-color: rgba(201,168,118,0.45); }
.case-card .scene { aspect-ratio: 16/10; }
.case-read { transition: color .3s ease, letter-spacing .4s var(--ease-out); }
.case-card:hover .case-read { color: var(--accent); letter-spacing: 0.14em; }
.case-text { padding: 20px 22px 24px; }
.case-text h4 { font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.case-text p { color: var(--text-45); font-size: 13.5px; line-height: 1.55; margin: 0 0 16px; }
.case-read { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-light); }
.rail-controls { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.rail-hint { font-family: var(--font-mono); font-size: 11px; color: var(--text-30); letter-spacing: 0.06em; text-transform: uppercase; }
.rail-btns { display: flex; gap: 10px; margin-left: auto; }
.rail-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-dark);
  color: var(--text); display: flex; align-items: center; justify-content: center;
  transition: background-color .2s, border-color .2s, transform .2s ease;
}
.rail-btn:hover { background: #fff; color: var(--ink); border-color: #fff; }
.rail-btn svg { width: 16px; height: 16px; }

/* ---------- newsletter ---------- */

.newsletter-form { display: flex; gap: 10px; max-width: 440px; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1; min-width: 200px; background: rgba(255,255,255,0.06); border: 1px solid var(--border-dark);
  color: var(--text); border-radius: 999px; padding: 12px 20px; font: inherit; font-size: 14px;
}
.newsletter-form input::placeholder { color: var(--text-30); }
.newsletter-form input:focus { outline: none; border-color: var(--accent); }

/* ---------- utility ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity var(--dur-reveal) var(--ease-soft), transform var(--dur-reveal) var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* section-head: descrição entra um passo depois do título */
.section-head.reveal .section-desc {
  opacity: 0; transform: translateY(14px);
  transition: opacity .7s var(--ease-soft) .22s, transform .9s var(--ease-out) .22s;
}
.section-head.reveal.in .section-desc { opacity: 1; transform: translateY(0); }

/* ---------- film grain ---------- */

.grain {
  position: fixed; inset: -10%; z-index: 998; pointer-events: none;
  opacity: 0.045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
  animation: grain-shift 1.4s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(-1%, 2%); }
  100% { transform: translate(0, 0); }
}

/* ---------- polish layer: entradas, staggers e microinterações ---------- */

@keyframes rise-in {
  from { opacity: 0; transform: translateY(26px); }
}
@keyframes fade-in {
  from { opacity: 0; }
}
@keyframes spark-in {
  from { transform: scaleY(0); }
}

/* hero: conteúdo entra em cadência */
@media (prefers-reduced-motion: no-preference) {
  .hero .sec-label { animation: rise-in .8s var(--ease-out) .12s backwards; }
  .hero h1 { animation: rise-in 1s var(--ease-out) .3s backwards; }
  .hero-sub { animation: rise-in .9s var(--ease-out) .55s backwards; }
  .hero-ctas { animation: rise-in .9s var(--ease-out) .7s backwards; }
  .capability-strip { animation: rise-in .9s var(--ease-out) .85s backwards; }
  .data-panel { animation: rise-in 1s var(--ease-out) backwards; }
  .dp-1 { animation-delay: .75s; }
  .dp-2 { animation-delay: .9s; }
  .dp-3 { animation-delay: 1.05s; }
  .spark i { transform-origin: bottom; animation: spark-in .7s var(--ease-out) backwards; }
  .spark i:nth-child(1) { animation-delay: 1.1s; }
  .spark i:nth-child(2) { animation-delay: 1.15s; }
  .spark i:nth-child(3) { animation-delay: 1.2s; }
  .spark i:nth-child(4) { animation-delay: 1.25s; }
  .spark i:nth-child(5) { animation-delay: 1.3s; }
  .spark i:nth-child(6) { animation-delay: 1.35s; }
  .spark i:nth-child(7) { animation-delay: 1.4s; }
  .spark i:nth-child(8) { animation-delay: 1.45s; }
}

/* cenas dos cases em destaque: wipe direcional via clip-path */
.story.reveal .story-media .scene {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s var(--ease-out) .12s;
}
.story:nth-child(even).reveal .story-media .scene { clip-path: inset(0 0 0 100%); }
.story.reveal.in .story-media .scene { clip-path: inset(0 0 0 0); }

/* zoom sutil nas redes de partículas ao hover */
.story-media .scene canvas,
.bento-item .scene canvas,
.case-card .scene canvas {
  transition: transform .9s var(--ease-out);
}
.story-media:hover .scene canvas,
.bento-item:hover .scene canvas,
.case-card:hover .scene canvas { transform: scale(1.06); }

/* grids: filhos entram em cascata quando o grupo revela */
.bento-grid.reveal.in > .bento-item,
.cases-rail-wrap.reveal.in .case-card {
  animation: rise-in .9s var(--ease-out) backwards;
}
.audience-grid.reveal.in > .audience-card {
  animation: fade-in .9s var(--ease-soft) backwards;
}
.bento-grid.reveal.in > *:nth-child(1),
.audience-grid.reveal.in > *:nth-child(1),
.cases-rail-wrap.reveal.in .case-card:nth-child(1) { animation-delay: .05s; }
.bento-grid.reveal.in > *:nth-child(2),
.audience-grid.reveal.in > *:nth-child(2),
.cases-rail-wrap.reveal.in .case-card:nth-child(2) { animation-delay: .15s; }
.bento-grid.reveal.in > *:nth-child(3),
.audience-grid.reveal.in > *:nth-child(3),
.cases-rail-wrap.reveal.in .case-card:nth-child(3) { animation-delay: .25s; }
.bento-grid.reveal.in > *:nth-child(4),
.cases-rail-wrap.reveal.in .case-card:nth-child(4) { animation-delay: .35s; }
.cases-rail-wrap.reveal.in .case-card:nth-child(n + 5) { animation-delay: .45s; }

/* nav: estado ativo por scroll + fundo mais denso após rolar */
.pill-nav a.active { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.nav-outer { transition: background-color .4s var(--ease-soft); }
.nav-outer.scrolled { background: rgba(10, 9, 8, 0.82); }

/* barra de progresso de leitura */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 1000;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0); transform-origin: 0 0;
  pointer-events: none;
}

/* acessibilidade: foco visível consistente */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.newsletter-form input { transition: border-color .25s ease, box-shadow .25s ease; }
.newsletter-form input:focus { box-shadow: 0 0 0 3px rgba(201, 168, 118, 0.18); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .reveal *, .reveal.in * { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .section-head.reveal .section-desc { opacity: 1; transform: none; }
  .story.reveal .story-media .scene,
  .story.reveal.in .story-media .scene,
  .story:nth-child(even).reveal .story-media .scene { clip-path: none; transition: none; }
  .grain { animation: none; opacity: 0.03; }
  html { scroll-behavior: auto; }
}
