/* ================================================================
   MILLENIUM ETIQUETAS — Main Stylesheet
   Premium B2B Industrial Design System
================================================================ */

/* ── Variables ──────────────────────────────────────────────── */
:root {
  --navy:        #0D1B2A;
  --navy-2:      #112240;
  --navy-3:      #1A2F4A;
  --blue-dark:   #1A3A8E;
  --blue:        #1565C0;
  --blue-2:      #1976D2;
  --blue-light:  #5BB8F5;
  --orange:      #FF6D00;
  --orange-h:    #E65100;
  --wpp:         #25D366;
  --wpp-h:       #1EBE59;

  --white:       #FFFFFF;
  --off-white:   #F8FAFC;
  --gray-100:    #F1F5F9;
  --gray-200:    #E2E8F0;
  --gray-300:    #CBD5E1;
  --gray-400:    #94A3B8;
  --gray-500:    #64748B;
  --gray-600:    #475569;
  --gray-700:    #334155;
  --gray-800:    #1E293B;
  --text:        #0F172A;

  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   28px;

  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:      0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.06);
  --shadow-md:   0 10px 30px rgba(0,0,0,.10), 0 4px 10px rgba(0,0,0,.07);
  --shadow-lg:   0 20px 60px rgba(0,0,0,.14), 0 8px 24px rgba(0,0,0,.09);
  --shadow-blue: 0 8px 32px rgba(21,101,192,.25);

  --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 0.5s cubic-bezier(0.4,0,0.2,1);

  --nav-h:       110px;
  --section-py:  96px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ── Utilities ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.text-center { text-align: center; }
.hide-mobile { display: inline; }

/* ── Common Section Styles ───────────────────────────────────── */
.section {
  padding: var(--section-py) 0;
  contain: layout style;
}
.tec-section, .aplic-section, .cta-strip {
  contain: layout style paint;
}

.section-header { margin-bottom: 56px; }
.section-header.text-center .section-desc { max-width: 600px; margin: 0 auto; }

.section-h {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--text);
  margin-bottom: 16px;
}
.section-h-light { color: var(--white); }

.section-desc {
  font-size: 1.0625rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-top: 12px;
}
.section-desc-light { color: rgba(255,255,255,0.7); }

.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(21,101,192,.08);
  border: 1px solid rgba(21,101,192,.18);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.tag-badge-light {
  color: var(--blue-light);
  background: rgba(66,165,245,.12);
  border-color: rgba(66,165,245,.25);
}

.body-text {
  font-size: 1.0625rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 16px;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  padding: 12px 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition);
}
.btn:hover::before { background: rgba(255,255,255,0.08); }

.btn-lg { padding: 14px 30px; font-size: 1rem; border-radius: var(--radius); }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: var(--blue-2);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(21,101,192,.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,.45);
  transform: translateY(-2px);
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  background: var(--blue);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(21,101,192,.3);
}
.btn-nav-cta:hover {
  background: var(--blue-2);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(21,101,192,.4);
}

.btn-wpp {
  background: var(--wpp);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(37,211,102,.3);
}
.btn-wpp:hover {
  background: var(--wpp-h);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37,211,102,.4);
}

.btn-full { width: 100%; justify-content: center; }

/* ── Shake animation (form validation) ─────────────────────── */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}
.shake { animation: shake 0.4s ease; }

/* ── Scroll Reveal Animations ───────────────────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ── Text Gradient ───────────────────────────────────────────── */
.text-gradient {
  background: linear-gradient(135deg, #5BB8F5 0%, #90D0FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ================================================================
   NAVIGATION
================================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}
.navbar.scrolled {
  background: rgba(13,27,42,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05), 0 4px 20px rgba(0,0,0,.25);
  height: 88px;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
}
.logo-icon svg { width: 40px; height: 40px; }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--white);
  letter-spacing: 0.06em;
}
.logo-sub {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Logo image */
.nav-logo-img {
  height: 80px;
  width: auto;
  display: block;
  transition: height var(--transition);
}
.navbar.scrolled .nav-logo-img {
  height: 64px;
}

/* No rodapé */
.ft-brand .nav-logo-img {
  height: 88px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.nav-link.active { color: var(--blue-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: 16px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(10,22,40,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px 24px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transform: translateY(-16px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 999;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; }
.mob-link {
  display: block;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.mob-link:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.mob-cta {
  margin-top: 8px;
  background: var(--blue);
  color: var(--white) !important;
  text-align: center;
  border-radius: var(--radius);
}
.mob-cta:hover { background: var(--blue-2) !important; }

/* ================================================================
   HERO
================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  /* Gradiente fixo — sem animação de background-position (economiza GPU) */
  background: linear-gradient(135deg,
    #0A1628 0%,
    #0F2040 35%,
    #0E1C38 100%);
  background-size: 100% 100%;
  overflow: hidden;
}
/* heroBgBreath removido — background fixo */

/* Background layer */
.hero-bg { position: absolute; inset: 0; pointer-events: none; }

/* Grid estático — sem animação de posição (economiza compositing) */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(21,101,192,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,101,192,.07) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.7;
}
@keyframes gridMove {
  from { background-position: 0 0; }
  to   { background-position: 60px 60px; }
}

/* Vinheta suave nas bordas para profundidade */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center,
    transparent 40%,
    rgba(7,12,22,.55) 100%);
  pointer-events: none;
}

/* Video background (optional) */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-video-overlay {
  position: absolute; inset: 0;
  background: rgba(10,22,40,0.75);
  z-index: 2;
}

/* ── Hero layout dois colunas ────────────────────────────────── */
.hero-inner {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 64px;
  align-items: center;
  padding-top: calc(var(--nav-h) + 20px);
  padding-bottom: 60px;
  min-height: 100vh;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--blue-light);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(66,165,245,.25);
  animation: dotBlink 2s ease-in-out infinite;
}
@keyframes dotBlink {
  0%, 100% { box-shadow: 0 0 0 3px rgba(66,165,245,.25); }
  50%       { box-shadow: 0 0 0 7px rgba(66,165,245,.08); }
}

.hero-headline {
  font-size: clamp(1.75rem, 2.8vw, 2.6rem);
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 14px;
}
.hero-headline .text-gradient {
  display: block;
  margin-top: 4px;
}

.hero-desc {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

/* Trust bullets */
.hero-trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.hero-trust span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}
.hero-trust span i {
  color: #34D399;
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* ── Hero right — vídeo ─────────────────────────────────────── */
.hero-right { position: relative; }

.hero-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.45);
}

/* Vídeo cobre o placeholder quando carregado */
.hero-vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 2;
}

/* Overlay sutil para legibilidade */
.hero-vid-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,22,40,.35) 0%,
    transparent 60%
  );
  z-index: 3;
  pointer-events: none;
}

/* Placeholder (visível quando vídeo não existe) */
.hero-vid-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(255,255,255,0.04);
  border: 2px dashed rgba(255,255,255,0.15);
  border-radius: var(--radius-xl);
  color: rgba(255,255,255,0.35);
  text-align: center;
  padding: 24px;
}
.hero-vid-placeholder i { font-size: 52px; opacity: 0.3; }
.hero-vid-placeholder span {
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
}
.hero-vid-placeholder small { font-size: 0.8125rem; opacity: 0.7; }


/* ── Spline 3D — Hero ────────────────────────────────────────── */
.hero-3d-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.45);
  background: rgba(10, 22, 40, 0.6);   /* fundo de espera escuro */
  isolation: isolate;
}

/* O viewer ocupa todo o espaço */
spline-viewer#heroSpline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  --spline-viewer-background: transparent;
}

/* Gradiente de borda inferior — funde o modelo com a seção */
.hero-3d-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(to top, rgba(10,22,40,.7) 0%, transparent 100%);
  z-index: 3;
  pointer-events: none;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

/* Fallback animado — visível antes do modelo carregar */
.spline-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: rgba(255,255,255,0.35);
  text-align: center;
}
.spline-fallback i {
  font-size: 48px;
  opacity: 0.25;
}
.spline-fallback span {
  font-size: 0.875rem;
  font-family: 'Space Grotesk', sans-serif;
}
/* Anel giratório do fallback */
.sf-ring {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: rgba(91,184,245,.4);
  border-left-color: rgba(91,184,245,.2);
  animation: sfSpin 1.4s linear infinite;
}
@keyframes sfSpin {
  to { transform: rotate(360deg); }
}

/* Quando o modelo carrega, oculta o fallback suavemente */
spline-viewer#heroSpline:defined ~ .spline-fallback {
  animation: sfFade 0.6s ease forwards 1.5s;
}
@keyframes sfFade {
  to { opacity: 0; pointer-events: none; }
}


/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
}
.scroll-mouse {
  width: 26px; height: 40px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 4px; height: 8px;
  background: rgba(255,255,255,0.5);
  border-radius: 2px;
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}
.hero-scroll span {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
}

/* ================================================================
   SOBRE
================================================================ */
.sobre { background: var(--white); }

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 80px;
}

.sobre-text-col { display: flex; flex-direction: column; align-items: flex-start; }

.check-list {
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--gray-700);
  font-weight: 500;
}
.check-list li i { color: var(--blue); font-size: 1rem; flex-shrink: 0; }

/* KPI cards grid */
.sobre-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Variante com 2 cards — cards maiores e centralizados */
.sobre-stats-grid--2 {
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.sobre-stats-grid--2 .kpi-card {
  padding: 40px 32px;
}
.sobre-stats-grid--2 .kpi-val {
  font-size: 3.25rem;
}
.sobre-stats-grid--2 .kpi-sfx {
  font-size: 1.75rem;
}
.sobre-stats-grid--2 .kpi-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.sobre-stats-grid--2 .kpi-lbl {
  font-size: 0.9375rem;
  margin-top: 10px;
}
.kpi-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.kpi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.kpi-blue {
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy-3) 100%);
  border-color: transparent;
  color: var(--white);
}
.kpi-icon {
  font-size: 1.5rem;
  color: var(--blue);
  margin-bottom: 12px;
}
.kpi-blue .kpi-icon { color: rgba(255,255,255,0.7); }
.kpi-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.03em;
}
.kpi-blue .kpi-val { color: var(--white); }
.kpi-sfx {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-left: 2px;
  display: inline;
}
.kpi-blue .kpi-sfx { color: var(--blue-light); }
.kpi-lbl {
  font-size: 0.8125rem;
  color: var(--gray-500);
  font-weight: 500;
  margin-top: 8px;
}
.kpi-blue .kpi-lbl { color: rgba(255,255,255,0.65); }

/* KPI number row */
.kpi-num-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 6px;
}

/* Timeline */
.timeline { padding-top: 48px; border-top: 1px solid var(--gray-200); }
.timeline-title {
  font-size: 1.25rem;
  color: var(--gray-700);
  font-weight: 600;
  margin-bottom: 40px;
  text-align: center;
}
.timeline-track {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  padding: 0 24px;
}
.tl-line {
  position: absolute;
  top: 10px;
  left: 24px; right: 24px;
  height: 2px;
  background: var(--gray-200);
}
.tl-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
  flex: 1;
}
.tl-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--gray-300);
  position: relative;
  z-index: 2;
  transition: all var(--transition);
  flex-shrink: 0;
}
.tl-dot-active {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 0 0 5px rgba(21,101,192,.15);
}
.tl-body { text-align: center; max-width: 140px; }
.tl-year {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.tl-year-active { color: var(--blue); }
.tl-body p {
  font-size: 0.8125rem;
  color: var(--gray-500);
  line-height: 1.4;
}

/* ================================================================
   SEGMENTOS
================================================================ */
.segmentos { background: var(--gray-100); }

.seg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.seg-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
  cursor: default;
}
.seg-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(21,101,192,.2);
}
.seg-icon {
  width: 52px; height: 52px;
  background: rgba(21,101,192,.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--blue);
  margin-bottom: 20px;
  transition: all var(--transition);
}
.seg-card:hover .seg-icon {
  background: var(--blue);
  color: var(--white);
}
.seg-card h3 {
  font-size: 1.0625rem;
  color: var(--text);
  margin-bottom: 10px;
}
.seg-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 16px;
}
.seg-tags {
  font-size: 0.75rem;
  color: var(--blue);
  font-weight: 600;
  opacity: 0.8;
}

/* ================================================================
   TECNOLOGIAS (dark)
================================================================ */
.tec-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.tec-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(21,101,192,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,101,192,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.tec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tec-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  /* backdrop-filter removido — muito pesado em grades de 4 cards */
}
.tec-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(21,101,192,.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,.3), 0 0 0 1px rgba(21,101,192,.2);
}
.tec-num {
  position: absolute;
  top: 20px; right: 24px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.05);
  line-height: 1;
  pointer-events: none;
}
.tec-icon-wrap {
  width: 48px; height: 48px;
  background: rgba(21,101,192,.18);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--blue-light);
  margin-bottom: 20px;
  transition: all var(--transition);
}
.tec-card:hover .tec-icon-wrap {
  background: var(--blue);
  color: var(--white);
}
.tec-card h3 {
  font-size: 1.125rem;
  color: var(--white);
  margin-bottom: 12px;
}
.tec-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin-bottom: 20px;
}
.tec-list { display: flex; flex-direction: column; gap: 8px; }
.tec-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.65);
}
.tec-list li i { color: var(--blue-light); font-size: 0.75rem; flex-shrink: 0; }

/* ================================================================
   PRODUTOS
================================================================ */
.produtos { background: var(--white); }

/* Tabs */
.prod-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  background: var(--gray-100);
  padding: 6px;
  border-radius: var(--radius-lg);
}
.ptab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-500);
  border-radius: var(--radius);
  transition: all var(--transition);
  flex: 1;
  justify-content: center;
}
.ptab:hover { color: var(--blue); background: rgba(21,101,192,.06); }
.ptab.active {
  background: var(--white);
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}

/* Panels */
.prod-panels { position: relative; }
.ppanel { display: none; animation: fadeInUp 0.4s ease forwards; }
.ppanel.active { display: block; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ppanel-intro {
  max-width: 680px;
  margin-bottom: 40px;
}
.ppanel-intro h3 {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 12px;
}
.ppanel-intro p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.prod-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
}
.prod-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(21,101,192,.2);
}
.prod-icon {
  width: 44px; height: 44px;
  background: rgba(21,101,192,.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: var(--blue);
  margin-bottom: 16px;
  transition: all var(--transition);
}
.prod-card:hover .prod-icon { background: var(--blue); color: var(--white); }
.prod-card h4 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 8px;
}
.prod-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 16px;
}
.prod-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.prod-tags span {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--blue);
  background: rgba(21,101,192,.08);
  padding: 3px 10px;
  border-radius: 100px;
}


/* ================================================================
   DIFERENCIAIS
================================================================ */
.diferenciais { background: var(--off-white); }

.dif-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.dif-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all var(--transition);
}
.dif-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(21,101,192,.18);
}
.dif-icon-wrap {
  width: 52px; height: 52px;
  background: rgba(21,101,192,.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--blue);
  margin-bottom: 20px;
  transition: all var(--transition);
}
.dif-card:hover .dif-icon-wrap { background: var(--blue); color: var(--white); }
.dif-card h3 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 10px;
}
.dif-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ================================================================
   APLICAÇÕES (dark)
================================================================ */
.aplic-section {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  position: relative;
  overflow: hidden;
}
.aplic-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(21,101,192,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,101,192,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.aplic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.aplic-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  gap: 28px;
  transition: all var(--transition);
}
.aplic-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(21,101,192,.35);
  transform: translateY(-4px);
}
.aplic-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(21,101,192,.35);
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: -0.04em;
}
.aplic-body h3 {
  font-size: 1.125rem;
  color: var(--white);
  margin-bottom: 10px;
}
.aplic-body > p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin-bottom: 16px;
}
.aplic-body ul { display: flex; flex-direction: column; gap: 8px; }
.aplic-body ul li {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 8px;
}
.aplic-body ul li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--blue-light);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ================================================================
   CTA STRIP
================================================================ */
.cta-strip {
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy-3) 100%);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-strip-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-strip-text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--white);
  margin-bottom: 8px;
}
.cta-strip-text p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
}
.cta-strip-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ================================================================
   CONTATO
================================================================ */
.contato { background: var(--white); }

.contato-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: start;
}

.contato-info h3,
.contato-form-col h3 {
  font-size: 1.375rem;
  color: var(--text);
  margin-bottom: 28px;
}

.cinfo-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.cinfo-icon {
  width: 40px; height: 40px;
  background: rgba(21,101,192,.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--blue);
  flex-shrink: 0;
}
.cinfo-icon-wpp { background: rgba(37,211,102,.1); color: var(--wpp); }
.cinfo-detail { display: flex; flex-direction: column; gap: 2px; }
.cinfo-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.cinfo-detail a,
.cinfo-detail span {
  font-size: 0.9375rem;
  color: var(--gray-700);
  font-weight: 500;
  transition: color var(--transition);
}
.cinfo-detail a:hover { color: var(--blue); }

.map-box { margin-top: 28px; }
.map-placeholder {
  height: 200px;
  background: var(--gray-100);
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray-400);
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all var(--transition);
}
.map-placeholder:hover { background: var(--gray-200); color: var(--blue); }
.map-placeholder i { font-size: 2rem; }

/* Form */
.cform { display: flex; flex-direction: column; gap: 20px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
  letter-spacing: 0.02em;
}
.form-field input,
.form-field textarea,
.form-field select {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--white);
  transition: all var(--transition);
  outline: none;
  width: 100%;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(21,101,192,.12);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--gray-400); }
.form-field textarea { resize: vertical; min-height: 120px; }

/* File upload */
.file-drop {
  border: 1.5px dashed var(--gray-300);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.file-drop:hover { border-color: var(--blue); }
.file-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 20px;
  cursor: pointer;
  color: var(--gray-400);
  text-align: center;
}
.file-label i { font-size: 1.75rem; color: var(--gray-300); }
.file-label span { font-size: 0.875rem; color: var(--gray-600); }
.file-label small { font-size: 0.75rem; color: var(--gray-400); }
.file-label.has-file { color: var(--blue); }
.file-label.has-file i { color: var(--blue); }

/* Success message */
.form-success {
  display: none;
  text-align: center;
  padding: 48px 32px;
  background: rgba(21,101,192,.04);
  border: 1px solid rgba(21,101,192,.12);
  border-radius: var(--radius-xl);
}
.success-icon {
  font-size: 3rem;
  color: #22C55E;
  margin-bottom: 16px;
}
.form-success h4 {
  font-size: 1.375rem;
  color: var(--text);
  margin-bottom: 8px;
}
.form-success p {
  color: var(--gray-500);
  font-size: 0.9375rem;
}

/* ================================================================
   FOOTER
================================================================ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
}

.footer-main {
  padding: 72px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.ft-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 20px 0 24px;
  color: rgba(255,255,255,0.45);
}

.ft-social {
  display: flex;
  gap: 10px;
}
.ft-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: all var(--transition);
}
.ft-social a:hover { background: var(--blue); color: var(--white); }

.ft-col h4, .ft-contact h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.ft-col ul { display: flex; flex-direction: column; gap: 10px; }
.ft-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.ft-col a:hover { color: var(--white); }

.ft-citem {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.ft-citem i {
  width: 16px;
  color: var(--blue-light);
  font-size: 0.875rem;
  flex-shrink: 0;
}
.ft-citem a, .ft-citem span {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.ft-citem a:hover { color: var(--white); }

.footer-bottom {
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom span {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.3);
}

/* ================================================================
   FLOATING ELEMENTS
================================================================ */
/* WhatsApp float */
.wpp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px; height: 56px;
  background: var(--wpp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: all var(--transition);
}
.wpp-float:hover {
  background: var(--wpp-h);
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,.5);
}
.wpp-tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.wpp-float:hover .wpp-tip { opacity: 1; }

/* Back to top */
.back-top {
  position: fixed;
  bottom: 96px;
  right: 28px;
  z-index: 999;
  width: 44px; height: 44px;
  background: rgba(13,27,42,0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  transform: translateY(10px);
}
.back-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-top:hover {
  background: var(--blue);
  color: var(--white);
  border-color: transparent;
}

/* ================================================================
   RESPONSIVE — TABLET (≤ 1024px)
================================================================ */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-container { grid-template-columns: auto 1fr auto; gap: 16px; padding: 0 20px; }
  .nav-logo-img { height: 58px; }
  .navbar.scrolled .nav-logo-img { height: 48px; }

  /* Hero — colapsa para coluna única */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: calc(var(--nav-h) + 28px);
    padding-bottom: 72px;
    min-height: unset;
  }
  .hero-right { display: none; }
  .hero-headline { font-size: clamp(1.6rem, 5vw, 2.2rem); }

  .sobre-grid { grid-template-columns: 1fr; gap: 48px; }
  .sobre-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .sobre-stats-grid--2 { grid-template-columns: repeat(2, 1fr); }

  .tec-grid { grid-template-columns: repeat(2, 1fr); }
  .dif-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .ft-brand { grid-column: 1 / -1; }

  .contato-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ================================================================
   RESPONSIVE — MOBILE (≤ 768px)
================================================================ */
@media (max-width: 768px) {
  :root { --section-py: 56px; }

  .hero-inner { padding-top: calc(var(--nav-h) + 16px); padding-bottom: 56px; }
  .hero-trust { display: none; }

  .seg-grid { grid-template-columns: 1fr 1fr; }

  .tec-grid { grid-template-columns: 1fr; }

  .prod-tabs { gap: 4px; }
  .ptab span { display: none; }
  .ptab { flex: 0 0 auto; padding: 10px 16px; }
  .prod-grid { grid-template-columns: 1fr; }

  .dif-grid { grid-template-columns: 1fr 1fr; }

  .aplic-grid { grid-template-columns: 1fr; }

  .timeline-track { flex-direction: column; align-items: flex-start; gap: 0; padding: 0; }
  .tl-line { display: none; }
  .tl-item { flex-direction: row; gap: 20px; padding: 0 0 28px; }
  .tl-body { text-align: left; }

  .cta-strip-inner { flex-direction: column; text-align: center; }
  .cta-strip-btns { justify-content: center; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom .container { justify-content: center; text-align: center; }

  .sobre-stats-grid,
  .sobre-stats-grid--2 { grid-template-columns: 1fr 1fr; }
}

/* ================================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
================================================================ */
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-headline { font-size: 1.5rem; }

  .seg-grid { grid-template-columns: 1fr; }
  .dif-grid { grid-template-columns: 1fr; }

  .hide-mobile { display: none; }
}

/* ================================================================
   ── Animations Premium ──
================================================================ */

/* ── Scroll Progress Bar ─────────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(to right, var(--blue), var(--blue-light), var(--orange));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 9999;
  pointer-events: none;
  will-change: transform;
}

/* ── Custom Cursor ───────────────────────────────────────────── */
#cursor-dot,
#cursor-ring {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  will-change: transform;
  transition: opacity 0.3s;
}
#cursor-dot {
  width: 8px; height: 8px;
  background: var(--white);
  border: 1.5px solid var(--blue);
  top: -4px; left: -4px;
}
#cursor-ring {
  width: 40px; height: 40px;
  border: 1.5px solid rgba(91,184,245,0.35);
  top: -20px; left: -20px;
}
#cursor-dot.hovered {
  width: 16px; height: 16px;
  background: var(--orange);
  border-color: var(--orange);
  top: -8px; left: -8px;
}
#cursor-ring.hovered {
  border-color: rgba(255,109,0,0.4);
  transform: scale(1.4);
}
body.touch-device #cursor-dot,
body.touch-device #cursor-ring { display: none; }

/* ── Particles Canvas ────────────────────────────────────────── */
.particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}
.tec-section,
.aplic-section { position: relative; overflow: hidden; }

/* ── Hero Aurora — estática, sem animação de scale/rotate ────── */
.hero-aurora {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 60%, rgba(21,101,192,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 50% 35% at 80% 30%, rgba(91,184,245,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 40% 30% at 55% 80%, rgba(255,109,0,0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
  /* auroraShift removido — economiza compositor thread */
}

/* gridMove e gridBreath removidos — grid estático */

/* ── Mesh gradient — seções claras (estático, sem animação) ─── */
.sobre,
.diferenciais,
.produtos,
.contato { position: relative; overflow: hidden; }

.sobre::before,
.diferenciais::before,
.produtos::before,
.contato::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 15% 25%, rgba(21,101,192,0.045) 0%, transparent 70%),
    radial-gradient(ellipse 45% 40% at 85% 70%, rgba(91,184,245,0.035) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  /* sem animação — elimina 12 keyframe loops simultâneos */
}
.sobre > *,
.diferenciais > *,
.produtos > *,
.contato > * { position: relative; z-index: 1; }

/* ── Navbar: logo à esquerda, efeitos hover ──────────────────── */
.nav-logo-img {
  transition: height var(--transition), filter 0.4s ease;
}
.nav-logo:hover .nav-logo-img {
  filter: drop-shadow(0 0 12px rgba(91,184,245,0.55));
}
.navbar.scrolled .nav-logo-img {
  transform: scale(0.95);
  transform-origin: left center;
}

/* ── Text gradient estático ──────────────────────────────────── */
.text-gradient {
  background: linear-gradient(135deg, #5BB8F5 0%, #90D0FF 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* gradientShift removido */
}

/* ── Eyebrow dot — pulso duplo tipo radar ────────────────────── */
.eyebrow-dot {
  animation: radarPulse 2s ease-out infinite;
}
@keyframes radarPulse {
  0%        { box-shadow: 0 0 0 0 rgba(91,184,245,0.8), 0 0 0 0 rgba(91,184,245,0.4); }
  40%       { box-shadow: 0 0 0 6px rgba(91,184,245,0.2), 0 0 0 0 rgba(91,184,245,0.4); }
  70%       { box-shadow: 0 0 0 10px rgba(91,184,245,0), 0 0 0 6px rgba(91,184,245,0.1); }
  100%      { box-shadow: 0 0 0 0 rgba(91,184,245,0), 0 0 0 12px rgba(91,184,245,0); }
}

/* ── Hero headline — reveal padrão (sem clip-path) ───────────── */
/* clip-path removido: o reveal-up padrão (opacity+translateY) já é suficiente */

/* ── KPI cards — glow durante contagem ──────────────────────── */
.kpi-card.counting {
  box-shadow: 0 0 0 2px rgba(21,101,192,0.4), var(--shadow-md);
  animation: kpiGlow 0.6s ease-in-out infinite alternate;
}
@keyframes kpiGlow {
  from { box-shadow: 0 0 0 2px rgba(21,101,192,0.3), var(--shadow-md); }
  to   { box-shadow: 0 0 20px 4px rgba(91,184,245,0.25), var(--shadow-md); }
}

/* ── Cards 3D tilt — pseudo reflexo ─────────────────────────── */
.seg-card,
.dif-card,
.tec-card,
.prod-card {
  position: relative;
  /* will-change aplicado apenas via JS no hover para não alocar camadas desnecessárias */
  transition: transform 0.15s ease, box-shadow var(--transition);
}
.seg-card::after,
.dif-card::after,
.tec-card::after,
.prod-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%),
    rgba(255,255,255,0.10) 0%,
    transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 1;
}
.seg-card:hover::after,
.dif-card:hover::after,
.tec-card:hover::after,
.prod-card:hover::after { opacity: 1; }

/* ── Magnetic button — sem estilos extras necessários ───────── */
/* O efeito é 100% via JS (transform: translate) */

/* ── prefers-reduced-motion: desativar tudo ─────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .particles-canvas { display: none; }
  #cursor-dot, #cursor-ring { display: none; }
}


/* ── Hero — galeria de fotos (etiquetas aplicadas em colchões) ── */
.hero-galeria {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.45);
  background: #E9E6E0;
  isolation: isolate;
}
.hero-foto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
}
.hero-foto.ativa { opacity: 1; z-index: 2; }
.hero-galeria-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 28%;
  background: linear-gradient(to top, rgba(10,22,40,.55) 0%, transparent 100%);
  z-index: 3;
  pointer-events: none;
}
.hero-galeria-pontos {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  z-index: 4;
}
.hero-galeria-pontos button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.hero-galeria-pontos button::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  transition: width .3s ease, background .3s ease;
}
.hero-galeria-pontos button.ativo::before { width: 26px; background: #FFFFFF; }
.hero-galeria-pontos button:focus-visible { outline: 2px solid #5BB8F5; outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  .hero-foto { transition: none; }
}

/* Fotos também no celular e tablet (antes a coluna direita ficava escondida) */
@media (max-width: 1024px) {
  .hero-inner .hero-right { display: block; max-width: 560px; width: 100%; }
  .hero-scroll { display: none; }
}

/* Mapa de localização */
.map-frame { display: block; width: 100%; height: 240px; border: 0; border-radius: var(--radius-lg); background: var(--gray-100); }
.map-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 0.9375rem; font-weight: 600; color: var(--blue); text-decoration: none; }
.map-link:hover { text-decoration: underline; }
