/* CSS Variables & Theme (Premium B2B & Electric Blue Focus) */
:root {
  /* Colors - Deep Dark Premium Background */
  --bg-dark: #07090F; /* Slightly brighter than pitch black to give corporate weight */
  
  /* Glass Panels */
  --bg-card: rgba(255, 255, 255, 0.02);
  --bg-card-hover: rgba(255, 255, 255, 0.04);
  --border-light: rgba(255, 255, 255, 0.08);
  
  /* Core Brand Gradients (Remains Cyan/Blue for aesthetics) */
  --accent-primary: #00F2FE;
  --accent-secondary: #0A64FF;
  
  /* NEW ACTION BLUE FOR BUTTONS - Electric Blue */
  --action-blue: #007AFF;
  --action-hover: #0062CC;
  
  --text-white: #FFFFFF;
  --text-muted: #9BA3AF;
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout */
  --max-width: 1200px;
  --border-radius: 8px; /* Slightly squarish for pure corporate style */
  --transition-smooth: 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 16px;
  position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--text-white); line-height: 1.2; font-weight: 600;}
.text-gradient {
  background: linear-gradient(135deg, var(--text-white) 0%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.text-body { color: var(--text-muted); font-size: 1.1rem; }
.text-sm { font-size: 0.95rem; }
.text-xs { font-size: 0.85rem; color: var(--text-muted); }

/* Utility */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 5%; }
.text-center { text-align: center; }
.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 2rem; }
.mt-lg { margin-top: 3rem; }
.mb-lg { margin-bottom: 3rem; }
.mb-section { margin-bottom: 4rem; }
.d-block { display: block; }
.full-width { width: 100%; grid-column: 1 / -1 !important; }
.section-padding { padding: 6rem 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-2-align-center { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-2-contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: start; }

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

/* PRELOADER - DIMENSION WARP (Movie Intro) */
.preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background-color: var(--bg-dark); 
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), visibility 1s;
  perspective: 1000px;
}

.preloader.warp-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  opacity: 0;
  animation: dimensionEnter 1.8s cubic-bezier(0.5, 0, 0.1, 1) forwards;
  will-change: transform, opacity;
}

.preloader-logo {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -1px;
}
.preloader-logo span {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes dimensionEnter {
  0% { 
      opacity: 0; 
      transform: scale(0.3); /* Menos extremo para não dropar frames */
  }
  30% { 
      opacity: 1; 
      transform: scale(1); 
      text-shadow: 0 0 0px var(--accent-primary);
  }
  70% {
      opacity: 1; 
      transform: scale(1.2); 
      text-shadow: 0 0 40px var(--accent-primary); /* Brilho máximo antes do salto */
  }
  100% { 
      opacity: 0; 
      transform: scale(15); /* Fly-through sem blur para garantir fluidez GPU */
  }
}

.main-wrapper {
  opacity: 0;
  transform: scale(1.05); /* Escala mais suave do mundo externo */
  transition: opacity 1.2s ease-in-out, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.main-wrapper.is-loaded {
  opacity: 1;
  transform: scale(1);
}

/* Glass Panels */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(20px); 
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
}

/* NEW ACTION BLUE BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: none;
}

.btn-action {
  background-color: var(--action-blue);
  color: #FFFFFF;
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px rgba(0, 122, 255, 0.3);
}

.btn-action:hover {
  background-color: var(--action-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 122, 255, 0.5);
}

.btn-nav, .btn-lang {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
  border: 1px solid var(--border-light);
}

.btn-nav:hover, .btn-lang:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--action-blue);
}

.btn-lang.active {
  background: rgba(0, 122, 255, 0.1);
  color: var(--action-blue);
  border-color: rgba(0, 122, 255, 0.5);
}

.lang-switcher { display: flex; gap: 0.5rem; align-items: center; }
.btn-lang { padding: 0.4rem 0.6rem; font-size: 0.75rem; font-weight: 600; border-radius: 4px; }

/* Navigation */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  background: rgba(7, 9, 15, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-light);
}

.nav-container { max-width: var(--max-width); margin: 0 auto; padding: 0 5%; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--text-white); text-decoration: none; letter-spacing: -0.5px; }
.logo-text { color: var(--action-blue); }
.nav-center { display: flex; align-items: center; }
.nav-links { display: flex; list-style: none; gap: 2.5rem; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-weight: 500; font-size: 0.9rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--text-white); }
.nav-right { display: flex; align-items: center; gap: 1rem; }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; padding-top: 80px;
}

.hero-container { max-width: 900px; margin: 0 auto; padding: 0 5%; position: relative; z-index: 2; }

.hero-badge {
  display: inline-block; font-size: 0.85rem; font-weight: 600;
  color: var(--action-blue);
  background: rgba(0, 122, 255, 0.1);
  border: 1px solid rgba(0, 122, 255, 0.2);
  padding: 0.5rem 1rem; border-radius: 60px; margin-bottom: 2rem;
  letter-spacing: 0.5px; text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 700;
  letter-spacing: -1.5px; margin-bottom: 1.5rem; line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--text-muted); max-width: 750px; margin: 0 auto 2.5rem; line-height:1.7;
}

.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.hero-note { font-size: 0.85rem; color: #777; font-weight: 500;}

/* Futuristic Vibrant Sapphires */
.bg-orb { position: absolute; border-radius: 50%; filter: blur(140px); pointer-events: none; z-index: 0; opacity: 0.15; }
.orb-1 { width: 500px; height: 500px; background: var(--action-blue); top: -10%; left: 0%; }
.orb-2 { width: 450px; height: 450px; background: var(--action-hover); bottom: 10%; right: -5%; opacity: 0.1; }

/* Stats Section Remixed */
.stats { border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); background: rgba(255, 255, 255, 0.01); }
.stat-card { padding: 4rem 2rem; text-align: left; border-right: 1px solid var(--border-light); }
.stat-card:last-child { border-right: none; }
.stat-icon { width: 34px; height: 34px; color: var(--action-blue); margin: 0 0 1.5rem 0; }

.stat-label { font-size: 0.95rem; color: var(--text-muted); line-height: 1.5;}

.section-tag { display: inline-block; color: var(--action-blue); font-family: var(--font-heading); font-weight: 600; font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1rem; }
.section-title { font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 600; letter-spacing: -1px; margin-bottom: 1.5rem; }

/* About / Trust */
.about-abstract { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; border-radius: var(--border-radius); background: linear-gradient(to bottom right, var(--bg-card), rgba(0, 122, 255, 0.05));}
.glow-ring { width: 250px; height: 250px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 122, 255, 0.15) 0%, transparent 70%); position: absolute; }
.abstract-content { z-index: 2; text-align: center; }
.abstract-badge { font-size: 0.8rem; color: #FFF; background: var(--action-blue); padding: 0.4rem 1.2rem; border-radius: 6px; font-weight: 600; display: inline-block;}

.features-list { list-style: none; margin-top: 2.5rem;}
.feature-row { display: flex; gap: 1.2rem; margin-bottom: 2.5rem; }
.feature-icon.action-icon { background: rgba(0, 122, 255, 0.1); color: var(--action-blue); border-color: rgba(0, 122, 255, 0.3); font-size:1rem;}
.feature-icon { width: 32px; height: 32px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-weight: bold; flex-shrink: 0; margin-top: 2px; }
.feature-row strong { display: block; font-size: 1.15rem; color: var(--text-white); margin-bottom: 0.4rem; font-family: var(--font-heading);}
.feature-row p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6;}

/* Contact Form Section */
.contact-wrapper { padding: 4rem; }
.contact-row { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.2rem;}
.contact-row svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--action-blue);}
.contact-row span { color: var(--text-white); font-size: 1.05rem; opacity:0.9; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.input-group { display: flex; flex-direction: column; gap: 0.6rem; }
.input-group label { font-size: 0.85rem; color: var(--text-muted); font-family: var(--font-body); font-weight: 500;}

input, textarea, select {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  color: var(--text-white);
  padding: 1.2rem 1.4rem;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s;
  outline: none;
  width: 100%;
}

/* Select specific styling */
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}
select option { background-color: var(--bg-dark); color: var(--text-white); padding:10px;}
.custom-select-wrapper { position: relative; }
.custom-select-wrapper::after {
    content: "▼";
    font-size: 0.7rem;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--action-blue);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.15);
}

textarea { resize: vertical; min-height: 120px; }

/* RGPD Checkbox Setup */
.checkbox-container { display: flex; align-items: flex-start; cursor: pointer; position: relative; gap: 12px; margin-top:0.5rem;}
.checkbox-container input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
.checkmark {
  height: 20px; width: 20px; flex-shrink: 0;
  background-color: rgba(255,255,255,0.05); border: 1px solid var(--border-light);
  border-radius: 4px; display:flex; justify-content:center; align-items:center; transition: all 0.2s;
}
.checkbox-container input:checked ~ .checkmark { background-color: var(--action-blue); border-color: var(--action-blue); }
.checkmark:after {
  content: "✓"; display: none; color: white; font-size: 14px; font-weight:bold;
}
.checkbox-container input:checked ~ .checkmark:after { display: block; }
.checkbox-text { line-height: 1.5; padding-top:2px; }


form { position: relative; z-index: 2;}

.form-success {
  display: none;
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  border-radius: var(--border-radius);
  background: var(--bg-dark);
  border: 1px solid var(--action-blue);
  animation: fadeIn 0.4s ease forwards;
}

.success-icon {
  width: 65px; height: 65px;
  background: var(--action-blue);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; font-weight: bold;
}

.footer { border-top: 1px solid var(--border-light); padding: 3rem 0; }
.footer-content { display: flex; justify-content: space-between; align-items: center; }

.reveal-fade { opacity: 0; transform: scale(0.98); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.is-revealed { opacity: 1; transform: translate(0) scale(1); }

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

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-2-align-center, .grid-2-contact { grid-template-columns: 1fr; gap: 2rem;}
  .nav-center { display: none; }
  .stats-container { display: flex; flex-direction: column; }
  .stat-card { border-right: none; border-bottom: 1px solid var(--border-light); padding: 3rem 1.5rem;}
  .stat-card:last-child { border-bottom: none; }
  .contact-wrapper { padding: 2rem; }
  .form-grid { grid-template-columns: 1fr; }
  .about-abstract { display: none; }
  .section-padding { padding: 4rem 0; }
}
