/* Stylesheet for Movstar Rastreamento - Premium Matte Light Gray Theme */

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

/* --- Design Tokens & Base Setup (Light Theme) --- */
:root {
  --font-primary: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;

  /* Colors - Light Matte Gray Slate Palette */
  --bg-dark-base: #f4f6f8; /* Matte light gray */
  --bg-dark-section: #e9ecf0; /* Slightly darker matte gray/slate for contrast */
  --bg-dark-card: rgba(255, 255, 255, 0.75); /* White translucent for glassmorphism */
  
  --color-cyan: #0f4c81; /* Deeper dark blue for primary elements */
  --color-cyan-glow: rgba(15, 76, 129, 0.15);
  --color-blue: #082947; /* Navy blue */
  --color-blue-glow: rgba(8, 41, 71, 0.15);
  
  --text-white: #0f172a; /* Charcoal/Dark Slate for main headings */
  --text-gray-light: #334155; /* Medium-dark slate for body text */
  --text-gray-muted: #64748b; /* Slate gray for secondary details */
  --text-cyan-accent: #0f4c81; /* Darker blue text accent */
  
  --border-glass: rgba(15, 76, 129, 0.08);
  --border-glass-hover: rgba(15, 76, 129, 0.25);
  
  /* Shadows - Optimized for Light Theme */
  --shadow-premium: 0 15px 35px -5px rgba(15, 23, 42, 0.05), 0 5px 15px -3px rgba(15, 23, 42, 0.03);
  --shadow-cyan: 0 4px 20px rgba(15, 76, 129, 0.06);
  --shadow-glass: 0 8px 32px 0 rgba(15, 23, 42, 0.03);

  /* Layout */
  --header-height-large: 110px; /* Increased to accommodate larger logo */
  --header-height-small: 80px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: auto !important;
  font-size: 16px;
}

/* Lenis smooth scroll core support styles */
html.lenis, html.lenis body {
  height: auto;
}

.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis-stopped {
  overflow: hidden;
}


body {
  font-family: var(--font-primary);
  background-color: var(--bg-dark-base);
  color: var(--text-gray-light);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-white);
  font-weight: 700;
  line-height: 1.2;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark-base);
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
  border: 2px solid var(--bg-dark-base);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-cyan);
}

/* --- Watermark Background --- */
.watermark-bg {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 55vw;
  max-width: 700px;
  opacity: 0.085; /* Increased opacity to make it more visible */
  pointer-events: none;
  z-index: -2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.watermark-bg img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 70px 0;
  }
}

.text-center {
  text-align: center;
}

.section-title {
  font-size: clamp(2rem, 1rem + 2.5vw, 3rem);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.2rem);
  color: var(--text-gray-muted);
  max-width: 600px;
  margin: 0 auto 50px auto;
  text-wrap: pretty;
}

/* Gradientes de texto */
.text-gradient {
  background: linear-gradient(135deg, var(--text-white) 30%, var(--color-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Background animado com linhas GPS/mapa */
.gps-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(0, 172, 193, 0.02) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(2, 136, 209, 0.02) 0%, transparent 40%),
    linear-gradient(rgba(226, 232, 240, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 232, 240, 0.4) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 60px 60px, 60px 60px;
  z-index: 0;
  pointer-events: none;
}

/* --- Header & Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height-large);
  z-index: 1000;
  background: rgba(244, 246, 248, 0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.03);
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

header.shrunk {
  height: var(--header-height-small);
  background: rgba(244, 246, 248, 0.85);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  border-bottom: 1px solid var(--border-glass);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 80px; /* Increased size significantly */
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

header.shrunk .logo img {
  height: 55px; /* Shrunk size is also larger than before */
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-gray-light);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-cyan);
  transition: var(--transition-smooth);
}

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

.nav-links a:hover::after {
  width: 100%;
}

/* Botões Premium */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-bounce);
  gap: 8px;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-cyan), var(--color-blue));
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 172, 193, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 172, 193, 0.3), var(--shadow-cyan);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.6);
  color: var(--text-white);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--color-cyan);
  color: var(--text-cyan-accent);
  transform: translateY(-2px);
}

/* Menu Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-white);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height-large) + 50px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-content h1 {
  font-size: clamp(2.3rem, 1.5rem + 3.5vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-content p {
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.2rem);
  color: var(--text-gray-light);
  margin-bottom: 36px;
  text-wrap: pretty;
}

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

/* Visual do Hero */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 500px;
}

.hero-glow-back {
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(0, 172, 193, 0.1) 0%, transparent 70%);
  z-index: 1;
  filter: blur(20px);
  animation: pulse-glow 6s infinite alternate ease-in-out;
}

.mockup-desktop-container {
  position: absolute;
  width: 90%;
  max-width: 440px;
  transform: translate(-30px, -20px) rotate(-4deg);
  z-index: 2;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.15), 0 0 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.6);
  animation: float-desktop 8s infinite ease-in-out;
}

.mockup-mobile-container {
  position: absolute;
  width: 42%;
  max-width: 190px;
  transform: translate(110px, 80px) rotate(6deg);
  z-index: 4;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 45px -10px rgba(15, 23, 42, 0.25);
  border: 3px solid #e2e8f0;
  animation: float-mobile 6s infinite ease-in-out;
}

.hero-tracker-device {
  position: absolute;
  width: 25%;
  max-width: 110px;
  transform: translate(-140px, 120px) rotate(-15deg);
  z-index: 5;
  filter: drop-shadow(0 15px 25px rgba(15, 23, 42, 0.12));
  animation: float-tracker 5s infinite ease-in-out;
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Benefícios (Cards) --- */
.benefits-section {
  position: relative;
  background-color: var(--bg-dark-section);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.benefit-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 36px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-premium);
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 172, 193, 0.03) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition-smooth);
}

.benefit-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-glass), var(--shadow-cyan);
}

.benefit-card:hover::before {
  opacity: 1;
}

.benefit-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(0, 172, 193, 0.05);
  border: 1px solid rgba(0, 172, 193, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-cyan);
  transition: var(--transition-bounce);
}

.benefit-card:hover .benefit-icon {
  background: var(--color-cyan);
  color: #ffffff;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 15px rgba(0, 172, 193, 0.3);
}

.benefit-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.benefit-card p {
  color: var(--text-gray-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* --- Seção de Produto --- */
.product-section {
  position: relative;
  overflow: hidden;
}

.product-display {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.product-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 450px;
}

.product-radial-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 172, 193, 0.08) 0%, transparent 70%);
  filter: blur(30px);
  z-index: 1;
}

.product-hardware {
  width: 75%;
  max-width: 320px;
  z-index: 2;
  filter: drop-shadow(0 20px 40px rgba(15, 23, 42, 0.15));
  animation: float-hardware 7s infinite ease-in-out;
}

.product-hardware img {
  width: 100%;
  height: auto;
}

.product-details h2 {
  margin-bottom: 20px;
}

.tech-spec-list {
  list-style: none;
  margin: 30px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tech-spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-gray-light);
}

.tech-spec-item svg {
  color: var(--color-cyan);
  flex-shrink: 0;
}

/* --- Seção da Plataforma --- */
.platform-section {
  background-color: var(--bg-dark-section);
  position: relative;
  overflow: hidden;
}

.platform-showcase {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 50px;
}

.platform-visuals {
  position: relative;
  height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.platform-visuals .desktop-mock {
  width: 100%;
  max-width: 520px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.7);
  z-index: 2;
}

.platform-visuals .mobile-mock {
  position: absolute;
  width: 32%;
  max-width: 160px;
  right: 0;
  bottom: -20px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
  border: 2px solid #e2e8f0;
  z-index: 3;
  animation: float-platform-mobile 7s infinite ease-in-out;
}

.platform-visuals img {
  width: 100%;
  height: auto;
  display: block;
}

.platform-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.platform-feature-item {
  display: flex;
  gap: 16px;
}

.feature-num {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-cyan);
  width: 36px;
  height: 36px;
  background: rgba(0, 172, 193, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(0, 172, 193, 0.15);
}

.feature-info h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.feature-info p {
  color: var(--text-gray-muted);
  font-size: 0.95rem;
}

/* --- Como Funciona --- */
.steps-section {
  position: relative;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 55px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-cyan-glow), var(--color-blue-glow));
  z-index: 1;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--bg-dark-base);
  border: 2px solid var(--color-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-cyan);
  margin: 0 auto 24px auto;
  box-shadow: 0 0 20px rgba(0, 172, 193, 0.1);
  transition: var(--transition-bounce);
}

.step-card:hover .step-number {
  background: var(--color-cyan);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(0, 172, 193, 0.3);
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.step-card p {
  color: var(--text-gray-light);
  font-size: 0.9rem;
  padding: 0 10px;
}

@media (max-width: 992px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .steps-grid::before {
    display: none;
  }
}

@media (max-width: 576px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Credenciado Sem Parar --- */
.sem-parar-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(244, 246, 248, 0.8) 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  position: relative;
}

.sem-parar-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 50px;
  display: flex;
  align-items: center;
  gap: 50px;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.sem-parar-logo-container {
  flex-shrink: 0;
  width: 220px;
  height: 100px;
  background: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.sem-parar-content h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.sem-parar-content p {
  color: var(--text-gray-light);
  font-size: 1.05rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .sem-parar-card {
    flex-direction: column;
    text-align: center;
    padding: 35px 24px;
    gap: 30px;
  }
}

/* --- Seção de Confiança --- */
.trust-section {
  position: relative;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.trust-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.trust-main-image {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--border-glass);
}

.trust-badge-overlay {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: var(--bg-dark-card);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 20px 24px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-glass);
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.trust-badge-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-cyan);
}

.trust-badge-text {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-white);
}

.trust-content h2 {
  margin-bottom: 24px;
}

.trust-content p {
  color: var(--text-gray-light);
  margin-bottom: 30px;
}

.trust-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.trust-feature-box {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(15, 23, 42, 0.03);
  border-radius: 10px;
  padding: 20px;
  box-shadow: var(--shadow-premium);
}

.trust-feature-box h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-feature-box h4 svg {
  color: var(--color-cyan);
}

.trust-feature-box p {
  color: var(--text-gray-muted);
  font-size: 0.85rem;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

/* --- CTA Final --- */
.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-dark-base) 0%, var(--bg-dark-section) 100%);
}

.cta-card {
  background: radial-gradient(circle at 50% -20%, rgba(0, 172, 193, 0.1) 0%, transparent 60%), var(--bg-dark-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 80px 40px;
  text-align: center;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.cta-card h2 {
  font-size: clamp(2rem, 1.2rem + 3vw, 3.2rem);
  max-width: 750px;
  margin: 0 auto 24px auto;
  line-height: 1.2;
}

.cta-card p {
  color: var(--text-gray-light);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  max-width: 600px;
  margin: 0 auto 40px auto;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Footer --- */
footer {
  background-color: #e2e8f0; /* Light gray footer background */
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-about .footer-logo {
  height: 80px; /* Increased size to match */
  margin-bottom: 20px;
}

.footer-about p {
  color: var(--text-gray-light);
  font-size: 0.9rem;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 24px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-cyan);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  text-decoration: none;
  color: var(--text-gray-light);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.footer-col ul a:hover {
  color: var(--color-cyan);
  padding-left: 4px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-gray-light);
}

.footer-contact-item svg {
  color: var(--color-cyan);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-gray-muted);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 45px;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* --- Botão Fixo de WhatsApp --- */
.whatsapp-fixed {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3), 0 0 0 0px rgba(37, 211, 102, 0.2);
  z-index: 999;
  text-decoration: none;
  transition: var(--transition-bounce);
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-fixed:hover {
  transform: scale(1.1) translateY(-5px);
  background-color: #20ba5a;
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-fixed svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* --- Animações --- */
@keyframes pulse-glow {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes float-desktop {
  0%, 100% { transform: translate(-30px, -20px) rotate(-4deg); }
  50% { transform: translate(-30px, -35px) rotate(-3.5deg); }
}

@keyframes float-mobile {
  0%, 100% { transform: translate(110px, 80px) rotate(6deg); }
  50% { transform: translate(110px, 68px) rotate(5deg); }
}

@keyframes float-tracker {
  0%, 100% { transform: translate(-140px, 120px) rotate(-15deg); }
  50% { transform: translate(-130px, 108px) rotate(-13deg); }
}

@keyframes float-hardware {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
}

@keyframes float-platform-mobile {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-5px, -15px) rotate(-2deg); }
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3), 0 0 0 0px rgba(37, 211, 102, 0.2);
  }
  70% {
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3), 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3), 0 0 0 0px rgba(37, 211, 102, 0);
  }
}

/* --- Scroll Entrance Animations (Intersection Observer Fallback Targets) --- */
.reveal-item {
  opacity: 0;
  transform: translateY(45px);
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-item.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* Responsive adjustments for Mobile Menu */
@media (max-width: 768px) {
  nav {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }

  .nav-open nav {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(244, 246, 248, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    z-index: 1000;
    backdrop-filter: blur(20px);
    animation: fadeIn 0.3s ease forwards;
  }

  .nav-open .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .nav-open .nav-links a {
    font-size: 1.3rem;
  }
  
  .nav-open .mobile-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .nav-open .mobile-toggle span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-open .mobile-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 40px;
  }
  
  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    height: 380px;
    margin-top: 30px;
  }

  .mockup-desktop-container {
    width: 85%;
    transform: translate(-10px, -20px) rotate(-2deg);
  }

  .mockup-mobile-container {
    width: 38%;
    transform: translate(90px, 60px) rotate(4deg);
  }

  .hero-tracker-device {
    width: 25%;
    transform: translate(-100px, 90px) rotate(-10deg);
  }

  .product-display {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-showcase {
    height: 300px;
    order: 2;
  }

  .product-hardware {
    width: 60%;
  }

  .product-details {
    order: 1;
    text-align: center;
  }

  .tech-spec-list {
    justify-items: center;
    text-align: left;
  }

  .platform-showcase {
    grid-template-columns: 1fr;
  }

  .platform-visuals {
    height: 350px;
  }

  .platform-visuals .desktop-mock {
    max-width: 420px;
  }

  .platform-visuals .mobile-mock {
    width: 28%;
    bottom: -10px;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- Native CSS Scroll-Driven Animations (Progressive Enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
    header {
      animation: shrink-header auto linear both;
      animation-timeline: scroll(block root);
      animation-range: 0px 100px;
    }
    
    @keyframes shrink-header {
      to {
        height: var(--header-height-small);
        background: rgba(244, 246, 248, 0.9);
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
        border-bottom: 1px solid var(--border-glass);
      }
    }
  }
}

/* --- Intro Curtain Overlay (Cinema split effect) --- */
.intro-curtain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: flex;
  overflow: hidden;
  pointer-events: auto;
}

.curtain-left, .curtain-right {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background-color: #000000;
  transition: transform 1.3s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 1;
}

.curtain-left {
  left: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.03);
}

.curtain-right {
  right: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.03);
}

.intro-logo-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 90%;
  max-width: 380px;
  text-align: center;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  pointer-events: none;
}

.intro-logo {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* Crisp white logo on pure black screen */
  animation: logo-fade-loop 2.2s infinite alternate ease-in-out;
}

.intro-instruction {
  margin-top: 30px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: instruction-pulse 1.8s infinite alternate ease-in-out;
}

/* Curtain Opened States */
.intro-curtain.opened .curtain-left {
  transform: translateX(-100%);
}

.intro-curtain.opened .curtain-right {
  transform: translateX(100%);
}

.intro-curtain.opened .intro-logo-container {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
}

/* Prevent body scrolling while curtain is active */
body.no-scroll {
  overflow: hidden !important;
  height: 100vh !important;
}

/* Looping Keyframes */
@keyframes logo-fade-loop {
  0% {
    opacity: 0.15;
    filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(255, 255, 255, 0));
  }
  100% {
    opacity: 0.95;
    filter: brightness(0) invert(1) drop-shadow(0 0 15px rgba(255, 255, 255, 0.15));
  }
}

@keyframes instruction-pulse {
  0% {
    opacity: 0.15;
    transform: translateY(0);
  }
  100% {
    opacity: 0.55;
    transform: translateY(3px);
  }
}

/* --- Animation Upgrades --- */

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-cyan) 0%, var(--color-blue) 100%);
  width: 0%;
  z-index: 100000;
  transition: width 0.15s ease-out;
  box-shadow: 0 2px 10px rgba(0, 168, 204, 0.4);
}

/* Expose parallax translate capability on GPS overlay */
.gps-bg-overlay {
  will-change: transform;
  transition: transform 0.1s ease-out;
}

/* Hover Micro-interactions on Benefit Cards */
.benefit-card {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s ease, 
              box-shadow 0.4s ease, 
              background-color 0.4s ease !important;
}

.benefit-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(15, 76, 129, 0.4);
  background-color: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 45px rgba(15, 76, 129, 0.08), 
              0 0 30px rgba(15, 76, 129, 0.12);
}

/* Enhance Whatsapp pulse */
@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45), 0 0 0 0px rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3), 0 0 0 25px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3), 0 0 0 0px rgba(37, 211, 102, 0);
  }
}
