:root {
  --bg-primary: #09090B;
  --bg-secondary: #111113;
  --bg-surface: #16161A;
  --bg-elevated: #1C1C21;
  --bg-hover: #222228;
  --border-default: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.12);
  --border-active: rgba(255, 255, 255, 0.16);
  --text-primary: #F7F8F8;
  --text-secondary: #9B9BA4;
  --text-tertiary: #5C5C66;
  --blue-50: #EBF1FF;
  --blue-100: #D0DFFF;
  --blue-200: #A6C1FF;
  --blue-300: #7BA3FF;
  --blue-400: #5B8DEF;
  --blue-500: #3B82F6;
  --blue-600: #2563EB;
  --blue-700: #1D4ED8;
  --blue-800: #1E40AF;
  --blue-900: #1E3A8A;
  --success: #34D399;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --tracking-tight: -0.02em;
  --tracking-normal: -0.011em;
  --leading-tight: 1.15;
  --leading-normal: 1.6;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

/* NOISE */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

/* NAV */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  height: 64px;
  background: rgba(9, 9, 11, 0.80);
  backdrop-filter: blur(20px);
}

.site-nav::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: radial-gradient(ellipse at center,
      #2563EB 0%,
      #3B82F6 25%,
      rgba(59, 130, 246, 0.35) 55%,
      rgba(59, 130, 246, 0.06) 80%,
      transparent 100%);
  opacity: 0.9;
  pointer-events: none;
}

.nav-logo {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #F7F8F8 0%, #F7F8F8 30%, #7BA3FF 55%, #2563EB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo-icon {
  width: 28px;
  height: 28px;
  display: block;
  flex-shrink: 0;
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a.active {
  color: var(--blue-400);
}

.lang-toggle {
  background: none;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}

.lang-toggle:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.lang-toggle .lang-flag {
  font-size: 16px;
  line-height: 1;
}

.nav-toggle {
  margin-left: 0.5rem;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border-default);
  background: rgba(22, 22, 26, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  z-index: 160;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-primary);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle:hover {
  background: var(--bg-elevated);
  border-color: var(--border-hover);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 10, 0.72);
  backdrop-filter: blur(4px);
  z-index: 140;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-nav {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(84vw, 320px);
  background:
    radial-gradient(120% 60% at 12% -8%, rgba(91, 141, 239, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(17, 17, 19, 0.98) 0%, rgba(9, 9, 11, 0.98) 100%);
  border-right: 1px solid var(--border-default);
  box-shadow: 16px 0 40px rgba(0, 0, 0, 0.4);
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  z-index: 150;
  display: flex;
  flex-direction: column;
  padding: 1.1rem 0.95rem 1.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
  padding: 0.35rem 0.25rem 0.95rem;
  border-bottom: 1px solid var(--border-default);
}

.mobile-nav-logo {
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.02em;
}

.mobile-nav-logo-text {
  background: linear-gradient(90deg, #F7F8F8 0%, #F7F8F8 30%, #7BA3FF 55%, #2563EB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mobile-nav-close {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border-default);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.mobile-nav-close:hover {
  color: var(--text-primary);
  background: var(--bg-elevated);
  border-color: var(--border-hover);
}

.mobile-nav-close:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-links a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-sans);
  letter-spacing: 0.01em;
  padding: 0.85rem 1rem 0.85rem 1.3rem;
  border-radius: 0;
  border: 1px solid transparent;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.mobile-nav-links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  bottom: 0.45rem;
  width: 3px;
  border-radius: 2px;
  background: var(--blue-500);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.mobile-nav-links a:focus-visible {
  color: var(--text-primary);
  background: transparent;
  border-color: rgba(59, 130, 246, 0.28);
  transform: none;
  outline: 2px solid rgba(59, 130, 246, 0.35);
  outline-offset: 1px;
}

.mobile-nav-links a:focus-visible::before {
  opacity: 1;
}

.mobile-nav-links a.active {
  color: var(--blue-400);
}

.mobile-nav-links a.active::before {
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .mobile-nav-links a:hover {
    color: var(--text-primary);
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.28);
    transform: none;
  }

  .mobile-nav-links a:hover::before {
    opacity: 1;
  }
}

.mobile-nav-foot {
  margin-top: auto;
  padding-top: 1.2rem;
  font-size: 12px;
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
  color: var(--text-tertiary);
  text-align: center;
}

body.menu-open .mobile-nav-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.menu-open .mobile-nav {
  transform: translateX(0);
}

body.menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-600);
  color: #fff;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-cta:hover {
  background: var(--blue-500);
  transform: translateY(-1px);
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 5rem;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
}

.orb-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.09) 0%, transparent 70%);
  top: -200px;
  left: -200px;
  animation: float1 16s ease-in-out infinite;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.11) 0%, transparent 70%);
  bottom: -100px;
  right: -150px;
  animation: float2 18s ease-in-out infinite;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(91, 141, 239, 0.05) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes float1 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(40px, 25px);
  }
}

@keyframes float2 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-25px, -35px);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(59, 130, 246, 0.25);
  background: rgba(59, 130, 246, 0.07);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--blue-400);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.8s ease both;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--blue-500);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--blue-500);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

.hero-title {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  animation: fadeUp 0.8s 0.05s ease both;
}

/* Hero logo block — igual ao brand guide */
.hero-icon {
  display: block;
  width: 100px;
  height: auto;
  margin: 0 auto 0.5rem;
  opacity: 0.9;
  filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.3));
  position: relative;
  z-index: 1;
  animation: fadeUp 0.8s 0.05s ease both;
}

.hero-logo-display {
  position: relative;
  z-index: 1;
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(56px, 10vw, 120px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  padding-bottom: 0.08em;
  margin-bottom: 0;
  background: linear-gradient(90deg, #F7F8F8 0%, #F7F8F8 28%, #7BA3FF 52%, #3B82F6 72%, #2563EB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero-circuit-line-wrapper {
  position: relative;
  z-index: 1;
  width: 550px;
  max-width: 85vw;
  height: 4px;
  margin: 1.5rem auto 1.5rem;
  animation: fadeUp 0.8s 0.12s ease both;
}

.hero-circuit-line-track {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, #2563EB 0%, #3B82F6 20%, rgba(59, 130, 246, 0.35) 45%, rgba(59, 130, 246, 0.06) 75%, transparent 100%);
  border-radius: 50%;
}

.hero-tagline {
  position: relative;
  z-index: 1;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  animation: fadeUp 0.8s 0.15s ease both;
}

.hero-sub {
  position: relative;
  z-index: 1;
  font-size: clamp(18px, 3vw, 24px);
  color: var(--text-secondary);
  font-weight: 400;
  max-width: min(90vw, 520px);
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  text-align: center;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.8s 0.3s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-600);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.30);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-primary:hover {
  background: var(--blue-500);
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(59, 130, 246, 0.40);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  color: var(--text-primary);
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  border: 1px solid var(--border-default);
}

.btn-secondary:hover {
  background: var(--bg-elevated);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.8s 0.4s ease both;
}

.stat {
  text-align: center;
}

.stat-num {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #F7F8F8, #5B8DEF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 4px;
  letter-spacing: 0.03em;
}

.hero-divider {
  display: none;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── SECTIONS SHARED ── */
section {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 5vw, 4rem);
  scroll-margin-top: 80px;
  overflow-x: hidden;
}

.section-inner {
  width: 100%;
  max-width: min(100%, 1100px);
  margin: 0 auto;
  box-sizing: border-box;
}

.section-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--blue-400);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::after {
  content: '';
  flex: 1;
  max-width: 40px;
  height: 1px;
  background: linear-gradient(90deg, rgba(91, 141, 239, 0.5), transparent);
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  margin-bottom: 1rem;
}

.section-title .grad {
  background: linear-gradient(135deg, #F7F8F8, #5B8DEF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 3.5rem;
}

/* ── SERVICES ── */
.services {
  background: var(--bg-secondary);
  min-height: calc(100vh - 64px);
  min-height: calc(100svh - 64px);
  min-height: calc(100dvh - 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}



    /* ── CAROUSEL SHARED ── */
.carousel-outer {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-track-wrap {
  overflow: visible;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  padding: 8px 0 12px;
}

.carousel-track-wrap:active {
  cursor: grabbing;
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.carousel-track.no-transition {
  transition: none !important;
}

/* ── CAROUSEL NAV ── */
.carousel-nav-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
  padding-bottom: 6px;
}

.carousel-arrows {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 3px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-default);
  background: rgba(22, 22, 26, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-primary);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.2s, box-shadow 0.25s;
  flex-shrink: 0;
}

.carousel-btn:hover {
  border-color: rgba(59, 130, 246, 0.4);
  background: rgba(59, 130, 246, 0.1);
  transform: scale(1.08);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.15);
}

.carousel-btn:active {
  transform: scale(0.95);
}

/* ── DOTS ── */
.carousel-dots {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-default);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, width 0.3s, border-radius 0.3s;
}

.carousel-dot.active {
  background: var(--blue-500);
  width: 20px;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

/* ── SERVICE CARDS (CAROUSEL) ── */
.service-card {
  min-width: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  padding: 32px 28px;
  transition: border-color 0.3s, transform 0.3s, background 0.3s, box-shadow 0.3s;
  text-align: left;
}

.service-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  background: var(--bg-elevated);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(59, 130, 246, 0.08);
}

.service-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.service-card:hover .service-icon-wrap {
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.15);
}

.service-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── VITRINE SECTION ── */
.vitrine-section {
  background: var(--bg-primary);
  position: relative;
  min-height: calc(100vh - 64px);
  min-height: calc(100svh - 64px);
  min-height: calc(100dvh - 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: clamp(2.25rem, 4vw, 3rem) clamp(1.5rem, 5vw, 4rem);
  scroll-margin-top: 80px;
}



/* ── VITRINE CARDS (CAROUSEL) ── */
.vitrine-card {
  min-width: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.vitrine-card:hover {
  border-color: rgba(59, 130, 246, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.12);
}

.vitrine-card-preview {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f1f3d 100%);
}

.vitrine-card-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 9, 11, 0.6) 0%, transparent 40%);
  pointer-events: none;
}

.vitrine-card-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.5s ease;
}

.vitrine-card:hover .vitrine-card-preview img {
  transform: scale(1.05);
}

.vitrine-card-body {
  padding: 20px 20px 22px;
  text-align: left;
}

.vitrine-card-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 7px;
}

.vitrine-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}

.vitrine-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue-400);
  transition: gap 0.2s ease;
}

.vitrine-card:hover .vitrine-card-link {
  gap: 10px;
}

.vit-cta {
  text-align: center;
  margin-top: 40px;
}

.vit-cta p {
  font-size: 14px;
  color: var(--text-tertiary);
  margin-bottom: 14px;
}

/* ── TECH STACK ── */
.tech {
  background: var(--bg-primary);
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tech-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  cursor: default;
}

.tech-pill:hover {
  border-color: rgba(59, 130, 246, 0.35);
  color: var(--text-primary);
  background: var(--bg-elevated);
}

.tech-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-500);
  opacity: 0.6;
  flex-shrink: 0;
}

.tech-pill:hover .dot {
  opacity: 1;
  box-shadow: 0 0 6px var(--blue-500);
}

/* ── FOUNDER ── */
.founder {
  background: var(--bg-secondary);
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.founder-inner {
  display: grid;
  grid-template-columns: minmax(0, 400px) 1fr;
  gap: 5rem;
  align-items: center;
}

.founder-visual {
  position: relative;
}

.founder-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

/* Proporção 4:5 igual à imagem — nunca corta, nunca estica */
.founder-card-top {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #09090B 0%, #111827 60%, #0f1f3d 100%);
  position: relative;
  overflow: hidden;
}

.founder-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.founder-card-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(37, 99, 235, 0.25) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.founder-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  position: relative;
  z-index: 1;
  border: 3px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.40);
  letter-spacing: -0.02em;
}

.founder-card-body {
  padding: 1.5rem;
  border-top: 1px solid var(--border-default);
}

.founder-name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.015em;
}

.founder-role {
  font-size: 13px;
  color: var(--blue-400);
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
}

.founder-skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.f-skill {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.18);
  color: var(--blue-400);
  font-family: var(--font-mono);
}

.founder-content {
  min-width: 0;
}

.founder-quote {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-style: italic;
  border-left: 2px solid var(--blue-600);
  padding-left: 1.25rem;
}

.founder-quote strong {
  color: var(--text-primary);
  font-style: normal;
}

.founder-bio {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.founder-bio+.founder-bio {
  margin-top: -0.5rem;
}

.competencies {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.comp-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}

.comp-item::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--blue-500);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(59, 130, 246, 0.5);
}

/* ── WHY ── */
.why {
  background: var(--bg-primary);
  min-height: calc(100vh - 64px);
  min-height: calc(100svh - 64px);
  min-height: calc(100dvh - 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding-top: clamp(2.25rem, 4vw, 3rem);
  padding-bottom: clamp(2.25rem, 4vw, 3rem);
}



.why-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 14px;
  padding: 1.75rem;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.why-card:hover {
  border-color: rgba(59, 130, 246, 0.25);
  background: var(--bg-elevated);
  transform: translateY(-3px);
}

.why-icon {
  font-size: 24px;
  margin-bottom: 1rem;
}

.why-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.why-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── TECH SUBSECTIONS ── */
.tech-subsection {
  margin-top: 2rem;
}

.tech-subsection-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--blue-400);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tech-subsection-label::before {
  content: '';
  width: 3px;
  height: 14px;
  background: var(--blue-500);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

.tech-pill--ai {
  border-color: rgba(139, 92, 246, 0.25);
  background: rgba(139, 92, 246, 0.06);
}

.tech-pill--ai:hover {
  border-color: rgba(139, 92, 246, 0.45);
  background: rgba(139, 92, 246, 0.12);
}

.dot--ai {
  background: #8B5CF6 !important;
}

.tech-pill--ai:hover .dot--ai {
  box-shadow: 0 0 6px #8B5CF6;
}

.tech-pill--provider {
  border-color: rgba(52, 211, 153, 0.25);
  background: rgba(52, 211, 153, 0.06);
}

.tech-pill--provider:hover {
  border-color: rgba(52, 211, 153, 0.45);
  background: rgba(52, 211, 153, 0.12);
}

.dot--provider {
  background: var(--success) !important;
}

.tech-pill--provider:hover .dot--provider {
  box-shadow: 0 0 6px var(--success);
}

/* ── VITRINE AI CARD ── */
.vitrine-card--ai {
  border-color: rgba(139, 92, 246, 0.25);
}

.vitrine-card--ai:hover {
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.15);
}

.vitrine-card-preview--ai {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0c0a1a 0%, #1a1040 40%, #0f0d2a 100%) !important;
  position: relative;
  overflow: hidden;
}

.vitrine-card-preview--ai::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float1 8s ease-in-out infinite;
}

.vitrine-ai-visual {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.vitrine-ai-icon {
  font-size: 48px;
  filter: drop-shadow(0 0 16px rgba(139, 92, 246, 0.4));
  animation: float2 6s ease-in-out infinite;
}

.vitrine-ai-nodes {
  display: flex;
  gap: 12px;
}

.vitrine-ai-nodes span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8B5CF6;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.6);
  animation: pulse 2s ease-in-out infinite;
}

.vitrine-ai-nodes span:nth-child(2) {
  animation-delay: 0.3s;
}

.vitrine-ai-nodes span:nth-child(3) {
  animation-delay: 0.6s;
}

/* ── USE CASES ── */
.use-cases {
  background: var(--bg-primary);
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.uc-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.uc-item:hover {
  border-color: rgba(139, 92, 246, 0.3);
  background: var(--bg-elevated);
  transform: translateY(-2px);
}

.uc-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.uc-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.uc-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── PROCESS ── */
.process {
  background: var(--bg-secondary);
  min-height: calc(100vh - 64px);
  min-height: calc(100svh - 64px);
  min-height: calc(100dvh - 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding-top: clamp(2.5rem, 4vw, 3.25rem);
  padding-bottom: clamp(2.75rem, 4.5vw, 3.5rem);
}



.process-step {
  padding: 2rem 1.75rem;
  border: 1px solid var(--border-default);
  border-radius: 14px;
  background: var(--bg-surface);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.process-step:hover {
  border-color: rgba(59, 130, 246, 0.25);
  background: var(--bg-elevated);
  transform: translateY(-3px);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--blue-400);
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.step-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.step-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Contato + footer na mesma tela */
.contact-footer-wrap {
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
}

/* ── CTA ── */
.cta-section {
  flex: 1;
  background: var(--bg-primary);
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(37, 99, 235, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.cta-sub {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-contact {
  font-size: 14px;
  color: var(--text-tertiary);
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
}

.cta-contact a {
  color: var(--blue-400);
  text-decoration: none;
}

.cta-contact a:hover {
  color: var(--blue-300);
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border-default);
  padding: 1.5rem clamp(1.5rem, 4vw, 3rem);
  background: var(--bg-secondary);
  text-align: center;
}

.footer-top {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  color: transparent;
  background: linear-gradient(90deg, #F7F8F8 0%, #F7F8F8 30%, #7BA3FF 55%, #2563EB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}

.footer-logo-icon {
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-tertiary);
  text-align: center;
  margin-top: 0.5rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text-secondary);
}

/* DIVIDER */
.glow-divider {
  display: none;
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (min-width: 1025px) {

  #services,
  #tech,
  #vitrine,
  #contact {
    scroll-margin-top: 60px;
  }

  #desenvolvedor {
    scroll-margin-top: 64px;
    padding-top: clamp(1.75rem, 3vw, 2.5rem);
    padding-bottom: clamp(3rem, 5vw, 4.25rem);
  }

  #desenvolvedor .founder-inner {
    gap: 3.25rem;
    align-items: center;
  }

  #desenvolvedor .founder-quote {
    margin-bottom: 1.4rem;
  }

  #desenvolvedor .founder-bio {
    margin-bottom: 1.35rem;
  }

  #desenvolvedor .competencies {
    gap: 0.55rem 0.9rem;
  }
}

@media (max-width: 1024px) {
  .site-nav {
    padding: 0 clamp(1rem, 4vw, 2rem);
  }

  .nav-links {
    display: none;
  }

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

  section {
    padding: clamp(4rem, 8vw, 6rem) clamp(1.25rem, 4vw, 2.5rem);
  }

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    padding: 7rem 1.5rem 4.25rem;
  }

  .hero-sub {
    line-height: 1.6;
    margin-bottom: 2rem;
  }

  .hero-stats {
    margin-top: 2.75rem;
    gap: 1.75rem;
  }



  .tech-intro {
    gap: 1.75rem;
    margin-bottom: 2.25rem;
  }

  .founder-inner {
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    gap: 2.35rem;
    align-items: flex-start;
  }

  .founder-card {
    width: 100%;
  }

  .founder-quote {
    font-size: clamp(16px, 1.75vw, 18px);
    line-height: 1.62;
    margin-bottom: 1.45rem;
  }

  .founder-bio {
    line-height: 1.7;
    margin-bottom: 1.4rem;
  }

  .founder-bio+.founder-bio {
    margin-top: 0;
  }

  .competencies {
    gap: 0.75rem 1rem;
  }

  .process-step {
    padding: 1.75rem 1.5rem;
  }

  /* ── CAROUSEL RESPONSIVE (TABLET) ── */
  .carousel-nav-col {
    gap: 20px;
    margin-top: 28px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  footer {
    padding: 2rem clamp(1.25rem, 4vw, 2rem);
  }

  .footer-links {
    gap: 1rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  #services {
    scroll-margin-top: 56px;
    padding-top: clamp(1.45rem, 3.4vw, 2rem);
  }

  #desenvolvedor {
    scroll-margin-top: 52px;
    padding-top: clamp(1.25rem, 3vw, 1.8rem);
  }

  #tech {
    scroll-margin-top: 88px;
    padding-top: clamp(2.5rem, 8vw, 3.5rem);
  }

  #vitrine {
    min-height: unset;
    align-items: stretch;
    padding-top: clamp(2rem, 6vw, 2.75rem);
    padding-bottom: clamp(4.5rem, 12vw, 6rem);
  }

  .hero {
    padding: 6.75rem 1.2rem 3.75rem;
  }

  .hero-actions {
    width: min(100%, 360px);
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    width: min(100%, 560px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .stat-num {
    font-size: clamp(20px, 4.5vw, 28px);
  }

  .section-desc {
    font-size: 16px;
    margin-bottom: 2.5rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .tech-pill {
    font-size: 12px;
    padding: 8px 13px;
  }

  .process-step:not(:last-child) {
    border-right: 1px solid var(--border-default);
  }

  .founder {
    min-height: auto;
  }

  .founder-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: stretch;
  }

  .founder-visual {
    display: flex;
    justify-content: center;
  }

  .founder-card {
    width: min(100%, 380px);
    margin: 0 auto;
  }

  .founder-content {
    width: 100%;
  }

  .founder-quote {
    font-size: clamp(15px, 4.5vw, 18px);
    line-height: 1.65;
    margin-bottom: 1.2rem;
    padding-left: 1rem;
  }

  .founder-bio {
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: 1.2rem;
  }

  .founder-bio+.founder-bio {
    margin-top: 0.35rem;
  }

  .competencies {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .comp-item {
    font-size: 13px;
  }

  /* ── CAROUSEL RESPONSIVE (MOBILE) ── */
  .services,
  .vitrine-section,
  .why,
  .use-cases,
  .process {
    overflow: hidden;
  }

  .carousel-outer {
    margin-left: -4px;
    margin-right: -4px;
    padding-left: 4px;
    padding-right: 4px;
  }

  .carousel-track {
    gap: 12px;
  }

  .carousel-nav-col {
    gap: 16px;
    margin-top: 28px;
    padding-bottom: 8px;
  }

  .carousel-arrows {
    padding: 4px;
  }

  .carousel-btn {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }

  .carousel-dots {
    gap: 5px;
  }

  .process-step {
    padding: 1.5rem 1.25rem;
  }

  .why-card {
    padding: 1.5rem;
  }

  .uc-item {
    padding: 1.25rem;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 561px) and (max-width: 1024px) {
  #desenvolvedor {
    scroll-margin-top: 52px;
    padding-top: clamp(2.2rem, 4vw, 3rem);
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 6.5rem 1rem 3.2rem;
  }

  .hero-icon {
    width: 76px;
  }

  .hero-logo-display {
    font-size: clamp(42px, 17vw, 64px);
  }

  .hero-circuit-line-wrapper {
    margin: 1rem auto 1.2rem;
  }

  .hero-tagline {
    font-size: 13px;
    letter-spacing: 0.06em;
    margin-bottom: 1.5rem;
  }

  .hero-sub {
    font-size: 17px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-top: 2rem;
  }

  .section-title {
    font-size: clamp(24px, 8.5vw, 34px);
  }

  .section-desc {
    font-size: 15px;
  }

  .btn-primary,
  .btn-secondary {
    font-size: 14px;
    padding: 12px 18px;
  }

  .founder-inner {
    gap: 1.5rem;
  }

  .founder-card {
    width: min(100%, 320px);
    border-radius: 16px;
  }

  .founder-card-body {
    padding: 1rem 1rem 1.1rem;
  }

  .founder-name {
    font-size: 17px;
  }

  .founder-role {
    font-size: 12px;
    margin-bottom: 0;
  }

  .founder-quote {
    font-size: clamp(14px, 5.2vw, 16px);
    margin-bottom: 1rem;
    padding-left: 0.85rem;
  }

  .founder-bio {
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 1rem;
  }

  .founder-bio+.founder-bio {
    margin-top: 0.2rem;
  }

  .comp-item {
    font-size: 12.5px;
    gap: 8px;
  }

  footer {
    align-items: center;
    text-align: center;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    position: static;
    gap: 0.75rem;
  }

  .footer-logo {
    position: static;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }
}/* Cache bust test */
