/* ============================================================
   HUB DE NEGÓCIOS — GLOBAL STYLES
   Tecnologia premium • Apple / Tesla / SpaceX
   ============================================================ */

/* -------- Fonts -------- */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");

/* -------- Design Tokens -------- */
:root {
  /* Cores */
  --bg-primary: #0d0d0f;
  --bg-secondary: #1a1a1d;
  --surface: #2c2c2e;
  --surface-2: #232326;
  --text: #e5e5e7;
  --text-muted: #9a9aa2;
  --text-dim: #6b6b73;
  --brand: #22c55e;
  --brand-dim: #16a34a;
  --brand-glow: rgba(34, 197, 94, 0.35);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* Tipografia */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Raio */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Sombras */
  --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 60px var(--brand-glow);

  /* Layout */
  --container: 1180px;
  --nav-height: 76px;
}

/* -------- Reset -------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* -------- Layout Helpers -------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 2.5vw, 24px);
}

.section {
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 20px;
}

.section-tag::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--brand);
}

.section-title {
  font-size: clamp(1.8rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  max-width: min(560px, 90%);
  margin-top: clamp(14px, 2.5vw, 20px);
  text-wrap: pretty;
}

.text-brand {
  color: var(--brand);
}

.text-muted {
  color: var(--text-muted);
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: #062b13;
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.103);
}

.btn-primary:hover {
  box-shadow: 0px 0px 10px 5px rgba(34, 197, 94, 0.404);
  background: #2fd46a;
  transition: 1s;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}

.btn-lg {
  padding: clamp(14px, 2vw, 18px) clamp(28px, 4vw, 40px);
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
}

/* -------- Reveal on scroll -------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}
.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}
.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}
.reveal[data-delay="4"] {
  transition-delay: 0.32s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* -------- Selection & Scrollbar -------- */
::selection {
  background: var(--brand);
  color: #062b13;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--surface);
  border-radius: 100px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3a3a3d;
}

/* -------- Component loading placeholder -------- */
[data-component] {
  min-height: 0;
}

/* -------- Responsivo Global -------- */
@media (max-width: 768px) {
  .btn {
    padding: 13px 24px;
    font-size: 0.85rem;
  }
  .btn-lg {
    padding: 15px 32px;
    font-size: 0.95rem;
  }
  .section-tag {
    font-size: 0.72rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: 14px;
  }
  .btn {
    padding: 11px 20px;
    font-size: 0.8rem;
  }
  .btn-lg {
    padding: 13px 26px;
    font-size: 0.9rem;
  }
}

@media (min-width: 1440px) {
  :root {
    --container: 1280px;
  }
  .container {
    padding-inline: 32px;
  }
}

@media (min-width: 1920px) {
  :root {
    --container: 1400px;
  }
  .container {
    padding-inline: 40px;
  }
}
