:root {
  color-scheme: dark;
  --bg: #0a0e16;
  --bg-2: #0e1420;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(111, 177, 214, 0.26);
  --text: #e9eef4;
  --muted: #93a2b4;
  --faint: #64727f;
  --accent: #6fb1d6;
  --accent-2: #4f86b8;
  --accent-3: #95cbe6;
  --grad: linear-gradient(120deg, #9fcfe6 0%, #6fb1d6 50%, #4f86b8 100%);
  --glow: 0 0 40px rgba(111, 177, 214, 0.20);
  --radius: 22px;
  --shadow: 0 30px 80px rgba(2, 6, 18, 0.55);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, .brand-block strong, .count, .step-num, .db-core-label {
  font-family: 'Sora', 'Inter', sans-serif;
}

button, .btn, a, input, textarea { font: inherit; }
button, .btn { cursor: pointer; }
img { display: block; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===================== FUNDOS TECNOLÓGICOS ===================== */
.bg-aurora,
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.bg-aurora {
  background:
    radial-gradient(50% 45% at 18% 12%, rgba(111, 177, 214, 0.16), transparent 70%),
    radial-gradient(45% 45% at 85% 18%, rgba(79, 134, 184, 0.15), transparent 70%),
    radial-gradient(60% 55% at 50% 100%, rgba(149, 203, 230, 0.08), transparent 70%),
    linear-gradient(180deg, #0a0e16 0%, #0c111c 55%, #0a0e16 100%);
  animation: auroraShift 16s ease-in-out infinite alternate;
}

@keyframes auroraShift {
  0%   { filter: brightness(1); opacity: 0.9; }
  100% { filter: brightness(1.1); opacity: 1; }
}

.bg-grid {
  z-index: -1;
  background-image:
    linear-gradient(rgba(120, 170, 200, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 200, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black, transparent 80%);
}

.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 177, 214, 0.12), transparent 60%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.4s ease;
  will-change: transform;
}

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad);
  z-index: 100;
  box-shadow: 0 0 12px rgba(111, 177, 214, 0.5);
}

/* ===================== SHELL ===================== */
.page-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 24px 40px;
  position: relative;
  z-index: 1;
}

/* ===================== TOPBAR (full width) ===================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  background: rgba(8, 12, 26, 0.55);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
}

.topbar.scrolled {
  background: rgba(8, 12, 26, 0.8);
  border-bottom-color: var(--border-strong);
  box-shadow: 0 14px 40px rgba(2, 6, 18, 0.45);
}

.brand-block { display: flex; align-items: center; gap: 14px; }

.brand-mark {
  display: inline-flex;
  width: 46px; height: 46px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(111,177,214,0.18), rgba(79,134,184,0.18));
  border: 1px solid var(--border-strong);
  color: var(--accent);
  box-shadow: var(--glow);
}
.brand-mark svg { width: 24px; height: 24px; }

.brand-block strong { display: block; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand-accent { color: var(--accent); }
.brand-block small { color: var(--muted); font-size: 0.78rem; }

.topnav { display: flex; gap: 28px; flex-wrap: wrap; }
.topnav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.94rem;
  position: relative;
  transition: color 0.2s ease;
}
.topnav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.topnav a:hover { color: var(--text); }
.topnav a:hover::after { width: 100%; }

/* ===================== BOTÕES ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 0.9rem; }
.btn-lg { min-height: 58px; padding: 0 32px; }

.btn-primary {
  background: var(--grad);
  background-size: 180% 180%;
  color: #06121f;
  box-shadow: 0 14px 36px rgba(111, 177, 214, 0.28);
  animation: gradFlow 6s ease infinite;
}
@keyframes gradFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 46px rgba(79, 134, 184, 0.42);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  background: var(--surface-strong);
}

.btn-arrow { transition: transform 0.25s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }
.play-icon { font-size: 0.7rem; color: var(--accent); }

/* ===================== HERO ===================== */
.hero {
  margin: 64px 0 48px;
}

.hero-copy { text-align: center; max-width: 680px; margin: 0 auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero h1 {
  margin: 24px 0 22px;
  font-size: clamp(2.6rem, 5vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.hero-sub {
  margin: 0 auto;
  max-width: 540px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
  justify-content: center;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-avatars { display: flex; align-items: center; }
.hero-avatars img {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg-2);
  margin-left: -10px;
}
.hero-avatars img:first-child { margin-left: 0; }
.hero-avatars-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  margin-left: -10px;
  border-radius: 50%;
  background: var(--surface-strong);
  border: 2px solid var(--bg-2);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
}
.hero-trust p { margin: 0; color: var(--faint); font-size: 0.88rem; max-width: 230px; text-align: left; }

/* ----- seção full-width do banco de dados ----- */
.hero-data {
  margin: 40px 0;
  padding: 40px clamp(20px, 4vw, 56px) 48px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}
.hero-data-head { text-align: center; max-width: 640px; margin: 0 auto 18px; display: grid; gap: 14px; justify-items: center; }
.hero-data-head h2 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.4rem); letter-spacing: -0.025em; font-weight: 800; }

.hero-visual { position: relative; }

.db-scene {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}

/* versão larga: ocupa toda a linha */
.db-scene-wide {
  max-width: 100%;
  aspect-ratio: auto;
  height: clamp(420px, 42vw, 520px);
}

.db-links { position: absolute; inset: 0; width: 100%; height: 100%; }
.db-link {
  stroke: rgba(111, 177, 214, 0.42);
  stroke-width: 1.4;
  stroke-dasharray: 5 7;
  animation: dash 1.6s linear infinite;
}
@keyframes dash { to { stroke-dashoffset: -24; } }

.db-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.db-cylinder {
  position: relative;
  width: 132px;
  height: 150px;
  animation: floatY 5s ease-in-out infinite;
}
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.db-disc {
  position: absolute;
  left: 0; width: 132px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(111,177,214,0.92), rgba(79,134,184,0.92));
  border: 1px solid rgba(190, 222, 240, 0.45);
  box-shadow: 0 0 30px rgba(111, 177, 214, 0.35);
}
.db-disc:nth-child(1) { top: 0; z-index: 3; }
.db-disc:nth-child(2) { top: 50px; opacity: 0.85; z-index: 2; }
.db-disc:nth-child(3) { top: 100px; opacity: 0.7; z-index: 1; }

.db-flow {
  position: absolute;
  left: 50%; top: 8px;
  transform: translateX(-50%);
  width: 4px; height: 120px;
  background: linear-gradient(180deg, transparent, #cfe9f7, transparent);
  filter: blur(1px);
  opacity: 0.8;
  animation: flowPulse 1.8s ease-in-out infinite;
}
@keyframes flowPulse { 0%, 100% { opacity: 0.25; } 50% { opacity: 0.9; } }

.db-core-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(10, 15, 31, 0.75);
  border: 1px solid var(--border-strong);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}
.db-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 10px var(--accent-3);
  animation: blink 1.4s ease-in-out infinite;
}

.data-node {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  background: rgba(12, 18, 36, 0.82);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 36px rgba(2, 6, 18, 0.5);
  animation: floatNode 6s ease-in-out infinite;
}
.node-1 { top: 6%; left: -4%; }
.node-2 { top: 8%; right: -6%; animation-delay: 0.8s; }
.node-3 { bottom: 14%; left: -6%; animation-delay: 1.6s; }
.node-4 { bottom: 8%; right: -2%; animation-delay: 2.4s; }

/* nós espalhados na versão larga */
.db-scene-wide .node-1 { top: 6%; left: 4%; right: auto; bottom: auto; }
.db-scene-wide .node-2 { top: 6%; right: 4%; left: auto; bottom: auto; }
.db-scene-wide .node-3 { bottom: 6%; left: 4%; top: auto; right: auto; }
.db-scene-wide .node-4 { bottom: 6%; right: 4%; top: auto; left: auto; }
@keyframes floatNode {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.node-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(111, 177, 214, 0.1);
  border: 1px solid rgba(111, 177, 214, 0.2);
  color: var(--accent-3);
  flex-shrink: 0;
}
.node-icon svg { width: 18px; height: 18px; }
.node-text strong { display: block; font-size: 1rem; font-weight: 700; }
.node-text small { color: var(--faint); font-size: 0.72rem; }

/* ----- seção full-width do console ----- */
.hero-console { margin: 0 0 70px; }

.db-console {
  margin: 0 auto;
  max-width: 100%;
  border-radius: 18px;
  background: rgba(8, 12, 26, 0.78);
  border: 1px solid var(--border);
  overflow: hidden;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
.console-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.console-dot { width: 11px; height: 11px; border-radius: 50%; }
.console-dot.red { background: #ff5f56; }
.console-dot.amber { background: #ffbd2e; }
.console-dot.green { background: #27c93f; }
.console-title {
  margin-left: 6px;
  font-family: 'Sora', monospace;
  font-size: 0.78rem;
  color: var(--muted);
}
.console-status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: #27c93f;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #27c93f; box-shadow: 0 0 8px #27c93f;
  animation: blink 1.6s ease-in-out infinite;
}
.console-feed { list-style: none; margin: 0; padding: 12px 16px 16px; }
.console-feed li {
  font-size: 0.84rem;
  color: var(--muted);
  padding: 7px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.06);
  display: flex;
  gap: 12px;
  animation: feedIn 0.5s ease;
}
.console-feed li:last-child { border-bottom: none; }
.feed-time { color: var(--accent); font-family: 'Sora', monospace; font-size: 0.78rem; }
@keyframes feedIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

.illustration-note {
  margin: 14px auto 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--faint);
  font-style: italic;
}

/* ===================== TICKER ===================== */
.ticker {
  position: relative;
  overflow: hidden;
  margin: 28px 0 70px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  white-space: nowrap;
  animation: scrollTicker 32s linear infinite;
}
.ticker-track span {
  font-family: 'Sora', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--muted);
}
.ticker-sep { color: var(--accent) !important; font-size: 0.7rem !important; }
@keyframes scrollTicker { to { transform: translateX(-50%); } }

/* ===================== SECTION INTRO ===================== */
.section-intro { display: grid; gap: 16px; margin-bottom: 40px; }
.section-intro.centered { text-align: center; justify-items: center; max-width: 720px; margin-left: auto; margin-right: auto; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  font-size: 0.72rem;
}
.section-intro h2 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3rem);
  letter-spacing: -0.03em;
  font-weight: 800;
  line-height: 1.12;
}
.section-intro p { margin: 0; color: var(--muted); line-height: 1.75; font-size: 1.04rem; }

/* ===================== BENTO ===================== */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.bento-card {
  position: relative;
  grid-column: span 1;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.3s ease;
  transform-style: preserve-3d;
}
.bento-card.span-2 { grid-column: span 2; display: flex; flex-direction: column; }
.bento-card:hover { border-color: var(--border-strong); }

.bento-glow {
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111,177,214,0.15), transparent 65%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  left: var(--mx, 50%);
  top: var(--my, 50%);
  transform: translate(-50%, -50%);
}
.bento-card:hover .bento-glow { opacity: 1; }

.bento-img {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  flex: 1;
  min-height: 180px;
}
.bento-img img {
  width: 100%; height: 100%;
  min-height: 180px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.bento-card:hover .bento-img img { transform: scale(1.06); }
.bento-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6,9,18,0.55));
}

.bento-body { position: relative; z-index: 2; }
.bento-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px; height: 50px;
  border-radius: 14px;
  margin-bottom: 16px;
  background: rgba(111, 177, 214, 0.1);
  border: 1px solid rgba(111, 177, 214, 0.2);
  color: var(--accent-3);
}
.bento-icon svg { width: 24px; height: 24px; }
.bento-tag {
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(111,177,214,0.12);
  border: 1px solid rgba(111,177,214,0.28);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.bento-card h3 { margin: 0 0 10px; font-size: 1.2rem; letter-spacing: -0.01em; }
.bento-card p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 0.95rem; }

/* ===================== TIMELINE ===================== */
.workflow { margin-top: 110px; }
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.timeline-line {
  position: absolute;
  top: 26px; left: 8%; right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
  opacity: 0.5;
}
.timeline-step {
  position: relative;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, border-color 0.3s ease, background 0.3s ease;
}
.timeline-step:hover {
  transform: translateY(-8px);
  border-color: var(--border-strong);
  background: var(--surface-strong);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: rgba(10,15,31,0.9);
  border: 1px solid var(--border-strong);
  color: var(--accent);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 18px;
  box-shadow: var(--glow);
}
.timeline-step h3 { margin: 0 0 10px; font-size: 1.15rem; }
.timeline-step p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 0.94rem; }

/* ===================== GALLERY ===================== */
.gallery { margin-top: 110px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gallery-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 380px;
  transition: transform 0.2s ease, border-color 0.3s ease;
}
.gallery-card:hover { border-color: var(--border-strong); }
.gallery-card img {
  width: 100%; height: 100%;
  position: absolute; inset: 0;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.gallery-card:hover img { transform: scale(1.08); }
.gallery-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,9,18,0.1) 30%, rgba(6,9,18,0.9));
}
.gallery-card figcaption {
  position: absolute;
  left: 22px; right: 22px; bottom: 22px;
  z-index: 2;
}
.gallery-card figcaption strong {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.gallery-card figcaption p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.6; }

/* ===================== IMPACT ===================== */
.impact { margin-top: 110px; }
.impact-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 34px 36px;
  border-radius: var(--radius);
  background: var(--surface-strong);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.impact-banner h2 {
  margin: 12px 0 0;
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  letter-spacing: -0.02em;
  max-width: 640px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-card {
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, border-color 0.3s ease;
}
.stat-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.stat-card .count {
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.stat-card p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 0.92rem; }

/* ===================== CONTACT ===================== */
.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 48px 44px;
  border-radius: 26px;
  background: var(--surface-strong);
  border: 1px solid var(--border-strong);
  margin-top: 100px;
  overflow: hidden;
}
.contact-glow {
  position: absolute;
  top: -40%; left: 20%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,134,184,0.20), transparent 65%);
  pointer-events: none;
}
.contact-copy { position: relative; z-index: 2; }
.contact-copy h2 {
  margin: 14px 0 12px;
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  letter-spacing: -0.025em;
  max-width: 560px;
}
.contact-copy p { margin: 0; color: var(--muted); line-height: 1.7; }
.contact-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.contact-link { color: var(--accent); text-decoration: none; font-weight: 600; font-size: 0.94rem; }
.contact-link:hover { text-decoration: underline; }

/* ===================== FOOTER ===================== */
.footer {
  margin-top: 60px;
  padding: 28px 12px;
  text-align: center;
  color: var(--faint);
  border-top: 1px solid var(--border);
}
.footer p { margin: 0; font-size: 0.9rem; }

/* ===================== MODAL ===================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 16, 0.8);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 24px;
  z-index: 90;
  animation: fadeIn 0.25s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.hidden { display: none !important; }

.modal-window {
  position: relative;
  width: min(640px, 100%);
  border-radius: 22px;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  animation: modalUp 0.35s cubic-bezier(.2,.8,.2,1);
}
@keyframes modalUp { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1.4rem;
  position: absolute;
  right: 18px; top: 18px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.modal-close:hover { background: var(--surface-strong); transform: rotate(90deg); }
.modal-content { padding: 38px 34px 32px; }
.modal-content h2 { margin: 14px 0 12px; font-size: 1.7rem; letter-spacing: -0.02em; }
.modal-content p { margin: 0 0 22px; color: var(--muted); line-height: 1.7; }
textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 18px 20px;
  color: var(--text);
  background: rgba(255,255,255,0.03);
  line-height: 1.7;
  resize: vertical;
  min-height: 150px;
}
textarea:focus { outline: none; border-color: var(--border-strong); }
.modal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ===================== REVEAL ===================== */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s cubic-bezier(.2,.8,.2,1), transform 0.8s cubic-bezier(.2,.8,.2,1);
}
.reveal.visible { opacity: 1; transform: none; }

/* ===================== RESPONSIVO ===================== */
@media (max-width: 1024px) {
  .topbar-inner { flex-wrap: wrap; }
  .topnav { order: 3; width: 100%; justify-content: center; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card.span-2 { grid-column: span 2; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline-line { display: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .impact-banner, .contact-panel { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .page-shell { padding: 18px 16px 32px; }
  .topbar-cta { display: none; }
  .topnav { gap: 18px; font-size: 0.85rem; }
  .hero h1 { font-size: 2.3rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .bento, .bento-card.span-2 { grid-template-columns: 1fr; grid-column: auto; }
  .bento { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .hero-data { padding: 26px 14px 32px; }
  .db-scene-wide { height: 380px; }
  .data-node { padding: 7px 9px; gap: 7px; }
  .node-icon { width: 28px; height: 28px; }
  .node-icon svg { width: 15px; height: 15px; }
  .node-text strong { font-size: 0.8rem; }
  .node-text small { font-size: 0.62rem; }
  .contact-actions { width: 100%; }
  .contact-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
