/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: rgb(10, 9, 67);
  --gold: rgb(229, 197, 73);
  --gold-dim: rgba(229, 197, 73, 0.15);
  --gold-glow: rgba(229, 197, 73, 0.25);
  --black-deep: #050505;
  --black-rich: #0A0A0A;
  --black-soft: #101010;
  --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

/* ─── CUSTOM CURSOR ─── */
.cursor {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(229, 197, 73, 0.6);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background 0.3s, border-color 0.3s;
  mix-blend-mode: normal;
}
.cursor-dot {
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
}
.cursor.cursor-hover {
  width: 60px; height: 60px;
  background: rgba(229, 197, 73, 0.08);
  border-color: var(--gold);
}

/* ─── TYPOGRAPHY HELPERS ─── */
.text-gradient-gold {
  background: linear-gradient(135deg, rgb(229, 197, 73) 0%, rgb(255, 230, 120) 50%, rgb(200, 160, 40) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-navy-gold {
  background: linear-gradient(135deg, rgb(10, 9, 67) 0%, rgb(30, 27, 140) 50%, rgb(10, 9, 67) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── BUTTONS ─── */
.btn-gold {
  background: linear-gradient(135deg, rgb(229, 197, 73), rgb(200, 165, 40));
  color: rgb(10, 9, 67);
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(229, 197, 73, 0.3);
}
.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(229, 197, 73, 0.45);
}

.btn-primary-hero {
  background: linear-gradient(135deg, rgb(229, 197, 73) 0%, rgb(210, 175, 50) 100%);
  color: rgb(10, 9, 67);
  font-family: 'Syne', sans-serif;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 32px rgba(229, 197, 73, 0.35), 0 0 0 0 rgba(229, 197, 73, 0);
  position: relative; overflow: hidden;
}
.btn-primary-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.25), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.btn-primary-hero:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 48px rgba(229, 197, 73, 0.5), 0 0 60px rgba(229, 197, 73, 0.2);
}
.btn-primary-hero:hover::before { opacity: 1; }

.btn-secondary-hero {
  background: rgba(255,255,255,0.06);
  color: white;
  border: 1px solid rgba(255,255,255,0.15);
  font-family: 'Syne', sans-serif;
  backdrop-filter: blur(12px);
  transition: all 0.3s;
}
.btn-secondary-hero:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.btn-cta-primary {
  background: linear-gradient(135deg, var(--gold), rgb(210, 175, 50));
  color: var(--navy);
  font-family: 'Syne', sans-serif;
  box-shadow: 0 8px 32px rgba(229,197,73,0.4);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn-cta-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 50px rgba(229,197,73,0.5);
}

.btn-cta-secondary {
  background: rgba(255,255,255,0.05);
  color: white;
  border: 1px solid rgba(255,255,255,0.15);
  font-family: 'Syne', sans-serif;
  backdrop-filter: blur(12px);
  transition: all 0.3s;
}
.btn-cta-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-3px);
}

/* ─── NAVBAR ─── */
#navbar {
  background: transparent;
}
#navbar.scrolled {
  background: rgba(10, 9, 67, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 4px 40px rgba(0,0,0,0.4);
}
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0; height: 1px;
  background: var(--gold);
  transform: scaleX(0); transition: transform 0.3s;
}
.nav-link:hover::after { transform: scaleX(1); }

/* ─── HERO ─── */
.hero-section {
  background: linear-gradient(160deg, rgb(10,9,67) 0%, rgb(5,5,40) 40%, rgb(5,5,25) 70%, #050505 100%);
}

.hero-bg-grid {
  background-image:
    linear-gradient(rgba(229,197,73,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229,197,73,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow-1 {
  background: radial-gradient(circle, rgba(229,197,73,0.12) 0%, transparent 70%);
  filter: blur(60px);
  animation: glow-pulse 6s ease-in-out infinite;
}
.hero-glow-2 {
  background: radial-gradient(circle, rgba(10,9,67,0.8) 0%, transparent 70%);
  filter: blur(80px);
  animation: glow-pulse 8s ease-in-out infinite reverse;
}
.hero-glow-3 {
  background: radial-gradient(circle, rgba(229,197,73,0.05) 0%, transparent 60%);
  filter: blur(100px);
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* Floating cards */
.glass-card-dark {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.floating-card { animation-timing-function: ease-in-out; animation-iteration-count: infinite; }
.floating-card-1 { animation: float1 5s ease-in-out infinite; }
.floating-card-2 { animation: float2 6s ease-in-out infinite; animation-delay: -1s; }
.floating-card-3 { animation: float3 5.5s ease-in-out infinite; animation-delay: -2s; }
.floating-card-4 { animation: float2 7s ease-in-out infinite; animation-delay: -3s; }

@keyframes float1 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}
@keyframes float3 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-18px); }
}

.pulse-dot { animation: pulse-glow 2s ease-in-out infinite; }
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(229,197,73,0.6); }
  50% { box-shadow: 0 0 0 6px rgba(229,197,73,0); }
}

/* Hero text animations */
.hero-badge {
  animation: fadeInDown 0.8s ease-out both;
}
.hero-title { animation: fadeInUp 1s ease-out 0.2s both; }
.hero-subtitle { animation: fadeInUp 1s ease-out 0.45s both; }
.hero-cta { animation: fadeInUp 1s ease-out 0.65s both; }

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll indicator */
.hero-scroll {
  animation: fadeInUp 1s ease-out 1.2s both;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scroll-down 1.5s ease-in-out infinite;
}
@keyframes scroll-down {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  80% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
  100% { opacity: 0; }
}

/* ─── SOBRE ─── */
.sobre-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
}
.sobre-deco-1 {
  background: radial-gradient(ellipse at top right, rgba(10,9,67,0.06) 0%, transparent 70%);
}
.sobre-stat-card {
  transition: all 0.3s;
}
.sobre-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(10,9,67,0.1);
}

/* Orbiting items */
.sobre-visual {
  position: relative;
}
.sobre-ring-outer {
  background: linear-gradient(135deg, rgba(10,9,67,0.05) 0%, transparent 100%);
}
.orbit-item-1 {
  top: -20px; left: 50%; transform: translateX(-50%);
  animation: orbit-float 4s ease-in-out infinite;
}
.orbit-item-2 {
  top: 50%; right: -20px; transform: translateY(-50%);
  animation: orbit-float 5s ease-in-out infinite reverse;
}
.orbit-item-3 {
  bottom: -20px; left: 50%; transform: translateX(-50%);
  animation: orbit-float 4.5s ease-in-out infinite;
  animation-delay: -1s;
}
.orbit-item-4 {
  top: 50%; left: -20px; transform: translateY(-50%);
  animation: orbit-float 6s ease-in-out infinite reverse;
  animation-delay: -2s;
}
@keyframes orbit-float {
  0%, 100% { box-shadow: 0 4px 20px rgba(10,9,67,0.1); }
  50% { box-shadow: 0 8px 30px rgba(10,9,67,0.2); transform: translateX(-50%) translateY(-6px); }
}

/* ─── DIFERENCIAIS ─── */
.diff-grid-bg {
  background-image:
    linear-gradient(rgba(229,197,73,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229,197,73,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.diff-glow {
  background: radial-gradient(ellipse, rgba(10,9,67,0.8) 0%, transparent 70%);
  filter: blur(60px);
}

.diff-card-inner {
  position: relative; overflow: hidden;
}
.diff-card-glow {
  position: absolute;
  bottom: -40px; left: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(229,197,73,0.12) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.5s, transform 0.5s;
}
.diff-card:hover .diff-card-glow {
  opacity: 1;
  transform: scale(2);
}
.diff-card:hover .diff-card-inner {
  border-color: rgba(229,197,73,0.25) !important;
  background: linear-gradient(135deg, rgba(229,197,73,0.05) 0%, rgba(255,255,255,0.02) 100%) !important;
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(229,197,73,0.06);
}

/* ─── TECNOLOGIA ─── */
.tech-bg-pattern {
  background-image:
    radial-gradient(circle at 25% 50%, rgba(229,197,73,0.08) 0%, transparent 50%),
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 100% 100%, 60px 60px, 60px 60px;
}
.tech-glow-left {
  background: radial-gradient(circle, rgba(229,197,73,0.15) 0%, transparent 70%);
  filter: blur(80px);
}
.tech-glow-right {
  background: radial-gradient(circle, rgba(10,9,67,0.5) 0%, transparent 70%);
  filter: blur(100px);
}

.tech-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(229,197,73,0.1);
  border: 1px solid rgba(229,197,73,0.2);
  color: rgba(229,197,73,0.8);
  font-size: 11px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  transition: all 0.3s;
}
.tech-tag:hover {
  background: rgba(229,197,73,0.2);
  border-color: rgba(229,197,73,0.4);
}

.tech-feature-bg {
  background: radial-gradient(ellipse at center bottom, rgba(229,197,73,0.08) 0%, transparent 70%);
}

.tech-stack-item {
  transition: transform 0.3s;
}
.tech-stack-item:hover { transform: translateY(-4px); }
.tech-stack-item:hover > div {
  background: rgba(229,197,73,0.15) !important;
}

/* ─── IMPACTO ─── */
.impacto-card > div {
  cursor: default;
}
.impacto-number {
  line-height: 1;
  letter-spacing: -0.03em;
}

/* ─── CONFIANÇA ─── */
.trust-grid {
  background-image:
    linear-gradient(rgba(229,197,73,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229,197,73,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}
.trust-glow {
  background: radial-gradient(circle, rgba(10,9,67,0.6) 0%, transparent 70%);
  filter: blur(100px);
}
.trust-vis-card {
  transition: all 0.3s;
}
.trust-vis-card:hover {
  transform: translateY(-3px);
  border-color: rgba(229,197,73,0.3) !important;
}

/* ─── CTA ─── */
.cta-section {
  background: linear-gradient(180deg, #050505 0%, rgb(10,9,67) 50%, #050505 100%);
}
.cta-glow-top {
  background: radial-gradient(ellipse at top, rgba(229,197,73,0.08) 0%, transparent 70%);
}
.cta-glow-bottom {
  background: radial-gradient(ellipse at bottom, rgba(10,9,67,0.6) 0%, transparent 70%);
}

/* ─── FOOTER ─── */
.footer-social-btn {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 15px;
  transition: all 0.3s;
}
.footer-social-btn:hover {
  background: rgba(229,197,73,0.12);
  border-color: rgba(229,197,73,0.3);
  color: var(--gold);
  transform: translateY(-2px);
}
.footer-link {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.3s;
  display: inline-block;
}
.footer-link:hover { color: var(--gold); }

/* ─── PARTICLES ─── */
#particles-canvas { opacity: 0.6; }

/* ─── SCROLL ANIMATIONS ─── */
[data-aos] { will-change: transform, opacity; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb {
  background: rgba(229,197,73,0.3);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(229,197,73,0.5); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .cursor, .cursor-dot { display: none; }
  body { cursor: auto; }
  .hero-section { min-height: 100svh; }
}
