/* ==========================================================================
   Sector 3 — Design tokens
========================================================================== */
:root {
  --bg: #070a12;
  --bg-secondary: #0e1320;
  --card-bg: #111827;
  --card-border: rgba(255, 255, 255, 0.08);

  --green: #00e676;
  --purple: #b026ff;
  --cyan: #00c2ff;

  --text-primary: #ffffff;
  --text-secondary: #aab0c0;
  --text-muted: #6b7280;

  --gradient-brand: linear-gradient(120deg, var(--green), var(--cyan) 55%, var(--purple));

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.35);
  --header-h: 76px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset
========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--card-bg);
  color: var(--text-primary);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 1000;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Buttons
========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-brand);
  color: #04120a;
  box-shadow: 0 6px 24px rgba(0, 230, 118, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0, 230, 118, 0.35); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--card-border);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }

.btn-text {
  background: transparent;
  color: var(--text-secondary);
  padding: 13px 8px;
}
.btn-text:hover { color: var(--cyan); }

.btn-lg { padding: 16px 34px; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-nav { display: inline-flex; }

/* ==========================================================================
   Header
========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(7, 10, 18, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; }
.logo-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--gradient-brand);
  color: #04120a;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.logo-text { color: var(--text-primary); }
.accent-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-desktop ul { display: flex; gap: 32px; }
.nav-desktop a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
  position: relative;
}
.nav-desktop a:hover { color: var(--text-primary); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  padding: 32px 24px;
  z-index: 400;
  overflow-y: auto;
}
.nav-mobile.is-open { display: block; }
.nav-mobile ul { display: flex; flex-direction: column; gap: 4px; margin-bottom: 28px; }
.nav-mobile a {
  display: block;
  padding: 16px 4px;
  font-size: 1.15rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   Hero
========================================================================== */
.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  z-index: 0;
  pointer-events: none;
}
.hero-glow-green { background: var(--green); top: -120px; left: -160px; }
.hero-glow-purple { background: var(--purple); bottom: -160px; right: -140px; opacity: 0.2; }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.hero-subheadline {
  color: var(--text-secondary);
  font-size: 1.08rem;
  max-width: 540px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.hero-proof li { position: relative; padding-left: 16px; }
.hero-proof li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}
.hero-proof strong { color: var(--text-secondary); font-weight: 600; }

/* Hero visual mockup */
.hero-visual { position: relative; }

.mock-window {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(255,255,255,0.02);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
}
.mock-window-bar {
  display: flex;
  gap: 7px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--card-border);
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-dot-red { background: #ff5f57; }
.mock-dot-yellow { background: #febc2e; }
.mock-dot-green { background: #28c840; }

.mock-window-body { display: grid; grid-template-columns: 68px 1fr; min-height: 260px; }
.mock-sidebar {
  background: rgba(255, 255, 255, 0.02);
  border-right: 1px solid var(--card-border);
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mock-sidebar-item {
  height: 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}
.mock-sidebar-item.mock-active { background: var(--green); opacity: 0.8; }

.mock-content { padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.mock-stat-row { display: flex; gap: 10px; }
.mock-stat {
  flex: 1;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  padding: 10px;
  display: flex;
  align-items: flex-end;
}
.mock-stat-bar { display: block; width: 60%; height: 6px; border-radius: 4px; }
.mock-bar-green { background: var(--green); }
.mock-bar-purple { background: var(--purple); }
.mock-bar-cyan { background: var(--cyan); }

.mock-chart {
  height: 90px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  padding: 12px;
}
.mock-chart span {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--cyan), rgba(0, 194, 255, 0.15));
}

.mock-lines { display: flex; flex-direction: column; gap: 8px; }
.mock-lines span { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.06); }
.mock-lines span:nth-child(1) { width: 90%; }
.mock-lines span:nth-child(2) { width: 70%; }
.mock-lines span:nth-child(3) { width: 45%; }

.floating-tag {
  position: absolute;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: var(--shadow-card);
  animation: float 6s ease-in-out infinite;
}
.tag-1 { top: -18px; right: 40px; color: var(--green); animation-delay: 0s; }
.tag-2 { bottom: 30px; left: -24px; color: var(--cyan); animation-delay: 1.2s; }
.tag-3 { top: 42%; right: -30px; color: var(--purple); animation-delay: 2.1s; }
.tag-4 { bottom: -20px; right: 60px; color: var(--green); animation-delay: 0.6s; }

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

/* ==========================================================================
   Sections generic
========================================================================== */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-secondary); }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.section-lead { color: var(--text-secondary); font-size: 1.05rem; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-card);
}
.card h3 { font-size: 1.12rem; font-weight: 700; margin: 16px 0 10px; }
.card p { color: var(--text-secondary); font-size: 0.95rem; }

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
}
.card-icon svg { width: 22px; height: 22px; }
.icon-green { color: var(--green); box-shadow: inset 0 0 0 1px rgba(0, 230, 118, 0.3); }
.icon-purple { color: var(--purple); box-shadow: inset 0 0 0 1px rgba(176, 38, 255, 0.35); }
.icon-cyan { color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(0, 194, 255, 0.35); }

/* ==========================================================================
   Projects
========================================================================== */
.project-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.project-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.18); }

.project-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.22;
  top: -80px;
  right: -80px;
  z-index: 0;
}
.project-glow-pink { background: var(--purple); }
.project-glow-cyan { background: var(--cyan); }

.project-tag {
  position: relative;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--green);
  background: rgba(0, 230, 118, 0.1);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.project-card h3 { position: relative; font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.project-subtitle { position: relative; color: var(--text-primary); font-weight: 600; margin-bottom: 14px; }
.project-desc { position: relative; color: var(--text-secondary); margin-bottom: 22px; }
.project-points { position: relative; display: flex; flex-direction: column; gap: 10px; }
.project-points li {
  position: relative;
  padding-left: 22px;
  color: var(--text-secondary);
  font-size: 0.94rem;
}
.project-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.project-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 26px;
}

/* ==========================================================================
   Process timeline
========================================================================== */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}
.timeline-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  position: relative;
}
.timeline-index {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}
.timeline-item h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; }
.timeline-item p { color: var(--text-secondary); font-size: 0.94rem; }

/* ==========================================================================
   Tag cloud (para quem)
========================================================================== */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.tag-cloud span {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.tag-cloud span:hover { color: var(--text-primary); border-color: var(--cyan); }

/* ==========================================================================
   Founder
========================================================================== */
.founder-card {
  display: flex;
  align-items: center;
  gap: 40px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 44px;
  max-width: 900px;
  margin: 0 auto;
}
.founder-avatar {
  flex-shrink: 0;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 30%;
  border: 3px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 4px rgba(0, 230, 118, 0.12),
    0 14px 34px rgba(0, 0, 0, 0.45);
}
.founder-copy .eyebrow { margin-bottom: 10px; }
.founder-text {
  color: var(--text-secondary);
  font-size: 1.02rem;
  margin-bottom: 22px;
}
.founder-text strong { color: var(--text-primary); }

/* ==========================================================================
   CTA band
========================================================================== */
.cta-band {
  padding: 88px 0;
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.12), rgba(176, 38, 255, 0.12) 60%, rgba(0, 194, 255, 0.1));
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}
.cta-band-inner { max-width: 660px; margin: 0 auto; text-align: center; }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin-bottom: 16px; }
.cta-band p { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 30px; }

/* ==========================================================================
   FAQ
========================================================================== */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
}
.faq-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.25s var(--ease);
  font-size: 1.1rem;
  color: var(--green);
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease), padding 0.3s var(--ease);
  padding: 0 24px;
}
.faq-item.is-open .faq-answer { max-height: 240px; padding: 0 24px 22px; }
.faq-answer p { color: var(--text-secondary); font-size: 0.95rem; }

/* ==========================================================================
   Footer
========================================================================== */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--card-border);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand p { color: var(--text-secondary); font-size: 0.92rem; margin-top: 14px; max-width: 280px; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text-secondary); font-size: 0.94rem; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding: 22px 0;
  text-align: center;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }
.footer-cnpj {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 0.8rem;
  opacity: 0.75;
}

/* ==========================================================================
   Reveal on scroll
========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
========================================================================== */
@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .btn-nav { display: none; }
  .menu-toggle { display: flex; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; margin: 0 auto; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .founder-card { padding: 34px; }
}

@media (max-width: 720px) {
  .hero { padding: 48px 0 72px; }
  .section { padding: 72px 0; }

  .grid-2, .grid-3, .timeline { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }

  .founder-card { flex-direction: column; text-align: center; gap: 24px; padding: 32px 24px; }
  .founder-copy .btn { width: 100%; }

  .floating-tag { display: none; }
  .mock-window { transform: none; }

  .project-card { padding: 30px 24px; }
}

@media (max-width: 420px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}
