/* ============================================================
   VisionX - Site Institucional
   Arquivo: css/style.css
   Descrição: Estilos principais do site VisionX
   Estrutura:
     1. Reset & Base
     2. Tipografia (Montserrat + Bebas Neue)
     3. Background X Decorativo
     4. Loading Screen
     5. Header Flutuante
     6. Hero Section + Phone Mockup
     7. Seção Sobre (fundo branco)
     8. Seção Serviços (cards sticky)
     9. Seção CTA
     10. Portfolio
     11. Parcerias de Sucesso
     12. FAQ (fundo branco)
     13. Contato Compacto
     14. Modais de Política
     15. Footer
     16. Animações & Utilitários
     17. Responsivo
     18. Acessibilidade & Print
   ============================================================ */

/* ============================================================
   1. RESET & BASE - Estilos globais e reset
   ============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #ffffff;
  background-color: #0a0a0a;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* ============================================================
   2. TIPOGRAFIA - Montserrat (corpo) + Bebas Neue (títulos)
   ============================================================ */
h1, h2, h3, h4, h5, h6,
.hero-title,
.section-title,
.stat-number,
.cta-button,
.service-card h3,
.portfolio-tab,
.project-title h3,
.faq-question h3,
.footer-column h4 {
  font-family: 'Bebas Neue', 'Montserrat', sans-serif;
  letter-spacing: 0.05em;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* ============================================================
   4. LOADING SCREEN - Tela de carregamento com terminal animado
   ============================================================ */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a0a;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  overflow: hidden;
}

.loading-content {
  text-align: center;
  color: #ffffff;
  position: relative;
  z-index: 10;
  max-width: 600px;
  padding: 2rem;
}

.loading-animation {
  position: relative;
  margin-bottom: 2rem;
}

.code-terminal {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid #00d4ff;
  border-radius: 4px;
  padding: 1.5rem;
  font-family: 'Courier New', monospace;
  text-align: left;
  max-width: 400px;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27ca3f; }

.terminal-title {
  color: #ffffff;
  font-size: 0.9rem;
  margin-left: auto;
}

.code-lines {
  min-height: 120px;
}

.code-line {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateX(-20px);
  animation: typeIn 0.4s ease-out forwards;
}

.line-number {
  color: #666;
  margin-right: 1rem;
  font-size: 0.8rem;
  min-width: 20px;
}

.code-text {
  color: #00d4ff;
  font-size: 0.9rem;
}

.code-text.comment {
  color: #888;
}

.code-text.string {
  color: #00ff88;
}

.code-text.keyword {
  color: #ff6b9d;
}

.cursor {
  display: inline-block;
  width: 2px;
  height: 1rem;
  background: #00d4ff;
  animation: blink 1s infinite;
  margin-left: 2px;
}

@keyframes typeIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.loading-progress {
  margin: 2rem 0;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00d4ff, #0099cc);
  border-radius: 2px;
  width: 0%;
  animation: loadProgress 1.5s ease-in-out infinite;
}

@keyframes loadProgress {
  0% { width: 0%; }
  50% { width: 70%; }
  100% { width: 100%; }
}

.loading-message {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
  animation: fadeInOut 2s ease-in-out infinite;
}

.loading-submessage {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  animation: fadeInOut 2s ease-in-out infinite 0.5s;
}

@keyframes fadeInOut {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* Floating code particles */
.code-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.code-particle {
  position: absolute;
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  color: rgba(0, 212, 255, 0.3);
  animation: floatUp 2s linear infinite;
}

.code-particle:nth-child(odd) {
  color: rgba(0, 255, 136, 0.3);
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(180deg);
    opacity: 0;
  }
}

/* ============================================================
   3. BACKGROUND DECORATIVO - Canvas universo e partículas
   ============================================================ */
.universe-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.4;
}

#universe-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ============================================================
   5. HEADER FLUTUANTE - Navegação fixa com blur
   ============================================================ */
.header {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 1200px;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.92);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border-color: rgba(0, 212, 255, 0.1);
  top: 0.75rem;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

.logo {
  height: 45px;
  transition: transform 0.3s ease;
  filter: brightness(1.1);
}

.logo:hover {
  transform: scale(1.05);
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00d4ff, #0099cc);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  width: 25px;
  height: 2px;
  background: #ffffff;
  margin: 3px 0;
  transition: all 0.3s ease;
}

/* ============================================================
   6. HERO SECTION - Banner principal + Phone Mockup
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

#particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-effects {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}

.neural-network {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.neural-node {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #00d4ff;
  border-radius: 50%;
  box-shadow: 0 0 15px #00d4ff;
  animation: neuralPulse 3s ease-in-out infinite;
}

.neural-node:nth-child(1) { top: 20%; left: 15%; animation-delay: 0s; }
.neural-node:nth-child(2) { top: 30%; right: 20%; animation-delay: 0.5s; }
.neural-node:nth-child(3) { bottom: 40%; left: 25%; animation-delay: 1s; }
.neural-node:nth-child(4) { bottom: 25%; right: 15%; animation-delay: 1.5s; }
.neural-node:nth-child(5) { top: 50%; left: 50%; animation-delay: 2s; }
.neural-node:nth-child(6) { top: 60%; right: 40%; animation-delay: 2.5s; }

@keyframes neuralPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.floating-element {
  position: absolute;
  opacity: 0.3;
  animation: float 8s ease-in-out infinite;
  font-family: 'Bebas Neue', monospace;
  font-weight: 500;
}

.code-fragment {
  color: #00ff88;
  font-size: 18px;
}

.binary-stream {
  color: #00d4ff;
  font-size: 14px;
  letter-spacing: 2px;
}

.code-fragment:nth-child(1) { top: 25%; left: 20%; animation-delay: 0s; }
.code-fragment:nth-child(2) { top: 60%; right: 25%; animation-delay: 1s; }
.code-fragment:nth-child(3) { bottom: 30%; left: 30%; animation-delay: 2s; }
.binary-stream:nth-child(4) { top: 40%; right: 15%; animation-delay: 0.5s; }
.binary-stream:nth-child(5) { bottom: 50%; left: 10%; animation-delay: 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.3; }
  50% { transform: translateY(-20px) rotate(5deg); opacity: 0.6; }
}

/* Hero Layout - Two columns */
.hero-layout {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  width: 100%;
  padding-top: 4rem;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: left;
  max-width: 550px;
  padding: 0;
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.title-line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 1s ease-out forwards;
}

.title-line:nth-child(2) {
  animation-delay: 0.3s;
}

.highlight {
  background: linear-gradient(135deg, #00d4ff, #0099cc, #00ff88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

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

.hero-description {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeIn 1s ease-out 0.8s forwards;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 600px;
}

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

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeIn 1s ease-out 1.2s forwards;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-button.primary {
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  color: #000000;
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.cta-button.secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button.large {
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.05);
}

.cta-button.primary:hover {
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.5);
}

.cta-button.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #00d4ff;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  opacity: 0;
  animation: fadeIn 1s ease-out 1.6s forwards;
}

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

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: #00d4ff;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== Phone Mockup ===== */
.hero-phone {
  position: relative;
  flex-shrink: 0;
  opacity: 0;
  animation: fadeIn 1s ease-out 1s forwards, phoneFloat 6s ease-in-out 2s infinite;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: #111111;
  border-radius: 28px;
  border: 3px solid #2a2a2a;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 25px 60px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(0, 212, 255, 0.1);
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #111111;
  border-radius: 0 0 16px 16px;
  z-index: 10;
}

.phone-notch::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: #2a2a2a;
  border-radius: 3px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #0a0a0a;
  position: relative;
  overflow: hidden;
}

.phone-home-bar {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  z-index: 10;
}

/* App screens */
.app-screens {
  width: 100%;
  height: 100%;
  position: relative;
}

.app-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 36px 14px 30px;
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.5s ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
}

.app-screen.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* Status bar */
.app-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 2px 8px;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}

.statusbar-icons {
  display: flex;
  gap: 4px;
  font-size: 0.55rem;
}

/* App header */
.app-header-mock {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 12px;
}

.app-header-mock span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  flex: 1;
}

.app-header-mock i {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
}

.app-logo-dot {
  width: 10px;
  height: 10px;
  background: #00d4ff;
  border-radius: 3px;
}

.app-logo-dot.red { background: #ff4444; }
.app-logo-dot.green { background: #00ff88; }

/* Stats row */
.app-stats-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.app-stat-card {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 10px 8px;
  text-align: center;
}

.app-stat-card.accent {
  background: rgba(0, 212, 255, 0.08);
  border-color: rgba(0, 212, 255, 0.2);
}

.app-stat-card i {
  font-size: 0.75rem;
  color: #00d4ff;
  display: block;
  margin-bottom: 4px;
}

.app-stat-card.accent i {
  color: #00ff88;
}

.app-stat-num {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: 0.05em;
}

.app-stat-label {
  display: block;
  font-size: 0.55rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* Chart mock */
.app-chart-mock {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
  padding: 8px 0;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.chart-bar {
  flex: 1;
  background: linear-gradient(180deg, #00d4ff, rgba(0, 212, 255, 0.2));
  border-radius: 3px 3px 0 0;
  animation: chartGrow 2s ease-out forwards;
  transform-origin: bottom;
  transform: scaleY(0);
}

.app-screen.active .chart-bar {
  animation: chartGrow 1s ease-out forwards;
}

.chart-bar:nth-child(1) { animation-delay: 0.1s; }
.chart-bar:nth-child(2) { animation-delay: 0.2s; }
.chart-bar:nth-child(3) { animation-delay: 0.3s; }
.chart-bar:nth-child(4) { animation-delay: 0.4s; }
.chart-bar:nth-child(5) { animation-delay: 0.5s; }
.chart-bar:nth-child(6) { animation-delay: 0.6s; }
.chart-bar:nth-child(7) { animation-delay: 0.7s; }

@keyframes chartGrow {
  to { transform: scaleY(1); }
}

/* List mock */
.app-list-mock {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.app-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.03);
  border-radius: 4px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
}

.app-list-item span:first-of-type {
  flex: 1;
}

.list-value {
  font-weight: 700;
  color: #fff;
  font-size: 0.65rem;
}

.list-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00d4ff;
  flex-shrink: 0;
}

.list-dot.green { background: #00ff88; }
.list-dot.cyan { background: #00d4ff; }
.list-dot.purple { background: #a855f7; }
.list-dot.yellow { background: #ffd700; }
.list-dot.red { background: #ff4444; }

/* Map mock (screen 2) */
.app-map-mock {
  position: relative;
  height: 140px;
  background: rgba(0, 212, 255, 0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}

.map-grid {
  position: absolute;
  inset: 0;
}

.map-line {
  position: absolute;
  background: rgba(255,255,255,0.04);
}

.map-line.h {
  height: 1px;
  width: 100%;
}

.map-line.v {
  width: 1px;
  height: 100%;
}

.map-pin {
  position: absolute;
  width: 24px;
  height: 24px;
  background: rgba(0, 212, 255, 0.2);
  border: 1px solid #00d4ff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  color: #00d4ff;
}

.map-pin.pin-1 {
  top: 20%;
  left: 25%;
  animation: pinPulse 2s ease-in-out infinite;
}

.map-pin.pin-2 {
  top: 55%;
  left: 60%;
  animation: pinPulse 2s ease-in-out 0.7s infinite;
}

.map-pin.pin-3 {
  top: 35%;
  right: 15%;
  animation: pinPulse 2s ease-in-out 1.4s infinite;
  background: rgba(255, 215, 0, 0.2);
  border-color: #ffd700;
  color: #ffd700;
}

@keyframes pinPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.map-route {
  position: absolute;
  top: 32%;
  left: 30%;
  width: 100px;
  height: 50px;
  border: 2px dashed rgba(0, 212, 255, 0.3);
  border-radius: 0 20px 0 20px;
  border-left: none;
  border-bottom: none;
}

/* Notifications (screen 3) */
.app-notif-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  overflow: hidden;
}

.notif-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s;
}

.notif-item.new {
  background: rgba(0, 212, 255, 0.05);
  border-color: rgba(0, 212, 255, 0.15);
}

.notif-icon {
  width: 28px;
  height: 28px;
  background: rgba(0, 212, 255, 0.15);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: #00d4ff;
  flex-shrink: 0;
}

.notif-icon.alert {
  background: rgba(255, 170, 0, 0.15);
  color: #ffaa00;
}

.notif-icon.success {
  background: rgba(0, 255, 136, 0.15);
  color: #00ff88;
}

.notif-text {
  flex: 1;
  min-width: 0;
}

.notif-text strong {
  display: block;
  font-size: 0.65rem;
  color: #fff;
  font-weight: 600;
}

.notif-text span {
  display: block;
  font-size: 0.55rem;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notif-time {
  font-size: 0.55rem;
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
}

/* Screen dots */
.screen-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.screen-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transition: all 0.3s;
}

.screen-dot.active {
  background: #00d4ff;
  box-shadow: 0 0 6px rgba(0, 212, 255, 0.5);
}

/* Floating badges around phone */
.phone-float-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.phone-float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #00d4ff;
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

.phone-float-badge i {
  font-size: 0.65rem;
}

.badge-1 {
  top: 10%;
  right: -50px;
  animation: badgeFloat 4s ease-in-out infinite;
}

.badge-2 {
  bottom: 30%;
  left: -55px;
  animation: badgeFloat 4s ease-in-out 1.3s infinite;
}

.badge-3 {
  bottom: 10%;
  right: -45px;
  animation: badgeFloat 4s ease-in-out 2.6s infinite;
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(-8px); opacity: 1; }
}

/* --- Fita de tecnologias na base da hero --- */
.hero-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  overflow: hidden;
  background: linear-gradient(90deg, #00d4ff, #0099cc);
  padding: 0.75rem 0;
}

.hero-ticker-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  animation: tickerScroll 25s linear infinite;
  width: max-content;
  will-change: transform;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Bebas Neue', 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: #000000;
  white-space: nowrap;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ticker-item i {
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.6);
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.scroll-indicator {
  display: none;
}

.scroll-arrow {
  width: 2px;
  height: 30px;
  background: rgba(255, 255, 255, 0.5);
  position: relative;
  animation: scrollBounce 2s infinite;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -3px;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(255, 255, 255, 0.5);
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  transform: rotate(45deg);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(10px); opacity: 1; }
}

/* --- Estilos gerais de seção --- */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

.section-line {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #00d4ff, #0099cc);
  margin: 0 auto 1rem;
  border-radius: 2px;
}

.section-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- Decoração X de fundo para seções brancas --- */
.bg-x-mark {
  position: absolute;
  top: -30%;
  right: -15%;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(40rem, 70vw, 70rem);
  line-height: 1;
  color: rgba(0, 0, 0, 0.035);
  transform: rotate(-15deg);
}

/* ============================================================
   7. SEÇÃO SOBRE - Fundo branco, grid de conteúdo
   ============================================================ */
.about-section {
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.about-section .section-title {
  color: #111111;
}

.about-section .section-subtitle {
  color: rgba(0, 0, 0, 0.6);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #0099cc;
}

.about-text p {
  font-size: 1.1rem;
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-features {
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.feature-item i {
  font-size: 1.5rem;
  color: #0099cc;
  margin-top: 0.25rem;
}

.feature-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #111111;
}

.feature-item p {
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.95rem;
  margin: 0;
}

.tech-showcase {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.tech-group-label {
  font-family: 'Bebas Neue', 'Montserrat', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0099cc;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid rgba(0, 153, 204, 0.2);
}

.tech-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 4px;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.65rem;
  border-right: 1px solid rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease;
}

.tech-item:last-child {
  border-right: none;
}

.tech-item:hover {
  background: rgba(0, 153, 204, 0.06);
}

.tech-item:hover i {
  color: #00d4ff;
}

.tech-item i {
  font-size: 1rem;
  color: #0099cc;
  width: 16px;
  text-align: center;
  transition: color 0.3s ease;
  flex-shrink: 0;
}

.tech-item span {
  font-weight: 600;
  color: #111111;
  font-size: 0.72rem;
  white-space: nowrap;
}

/* ============================================================
   8. SERVIÇOS - Cards com efeito sticky scroll
   ============================================================ */
.services-section {
  background: #0a0a0a;
}

.services-header {
  margin-bottom: 4rem;
}

.services-label {
  font-family: 'Bebas Neue', 'Montserrat', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: #00d4ff;
  display: block;
  margin-bottom: 0.75rem;
}

.services-title {
  font-family: 'Bebas Neue', 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 1rem;
}

.services-desc {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.05rem;
  max-width: 500px;
  line-height: 1.6;
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem 2rem;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  transition: all 0.4s ease;
  position: sticky;
  top: 80px;
  text-decoration: none;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.service-card:nth-child(1) { top: 80px; z-index: 1; }
.service-card:nth-child(2) { top: 95px; z-index: 2; }
.service-card:nth-child(3) { top: 110px; z-index: 3; }
.service-card:nth-child(4) { top: 125px; z-index: 4; }
.service-card:nth-child(5) { top: 140px; z-index: 5; }
.service-card:nth-child(6) { top: 155px; z-index: 6; }

.service-card {
  opacity: 0.4;
  transform: scale(0.98);
}

.service-card.in-view {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(0, 212, 255, 0.15);
  background: #151515;
}

.service-card.in-view .service-num {
  color: #00d4ff;
}

.service-card.in-view .service-arrow {
  opacity: 1;
  transform: translateX(0);
}

.service-card.in-view h3 {
  color: #00d4ff;
}

.service-card.in-view .service-tags span {
  border-color: rgba(0, 212, 255, 0.2);
  color: rgba(0, 212, 255, 0.6);
}

.service-card:hover {
  border-color: rgba(0, 212, 255, 0.2);
  background: #181818;
}

.service-num {
  font-family: 'Bebas Neue', 'Montserrat', sans-serif;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.08);
  letter-spacing: 0.05em;
  flex-shrink: 0;
  width: 50px;
  transition: color 0.4s ease;
}

.service-body {
  flex: 1;
  min-width: 0;
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #ffffff;
  transition: color 0.4s ease;
}

.service-card p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.service-tags span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  padding: 0.25rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 3px;
}

.service-card:hover .service-tags span {
  border-color: rgba(0, 212, 255, 0.2);
  color: rgba(0, 212, 255, 0.6);
}

.service-arrow {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.85rem;
  flex-shrink: 0;
  opacity: 0.4;
  transform: translateX(-8px);
  transition: all 0.4s ease;
  text-decoration: none;
}

/* ============================================================
   9. SEÇÃO CTA - Chamada para ação com gradiente
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  padding: 4rem 0;
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #000000;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.1rem;
  color: rgba(0, 0, 0, 0.8);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-content .cta-button.primary {
  background: #000000;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1.2rem 2.5rem;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.cta-content .cta-button.primary:hover {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: #ffffff;
}

/* ============================================================
   10. PORTFOLIO - Galeria de projetos com tabs e filtros
   ============================================================ */
.portfolio-section {
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
  display: none !important;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  visibility: hidden;
}

.portfolio-section.show {
  display: block !important;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

/* Portfolio Tabs */
.portfolio-tabs {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.portfolio-tab {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.portfolio-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  transition: width 0.3s ease;
  z-index: 0;
}

.portfolio-tab i,
.portfolio-tab span {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.portfolio-tab i {
  font-size: 1.2rem;
}

.portfolio-tab:hover {
  border-color: rgba(0, 212, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.portfolio-tab:hover::before {
  width: 100%;
}

.portfolio-tab:hover i,
.portfolio-tab:hover span {
  color: #000000;
}

.portfolio-tab.active {
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  border-color: transparent;
  color: #000000;
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
  transform: translateY(-2px);
}

.portfolio-tab.active::before {
  width: 100%;
}

.portfolio-tab.active i,
.portfolio-tab.active span {
  color: #000000;
}

/* Portfolio Categories */
.portfolio-category {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.portfolio-category.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.5s ease-out;
}

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

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.3);
}

.project-image {
  position: relative;
  height: 250px;
  overflow: hidden;
  flex-shrink: 0;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.project-info {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-badge {
  display: inline-block;
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  color: #000000;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.project-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.project-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.1);
}

.project-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.project-icon i {
  color: #000000;
  font-size: 1.5rem;
}

.project-title h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.project-category {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex: 1;
}

.project-tech {
  margin-bottom: 1.5rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  background: rgba(0, 212, 255, 0.1);
  color: #00d4ff;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(0, 212, 255, 0.3);
  transition: all 0.3s ease;
}

.tech-tag:hover {
  background: rgba(0, 212, 255, 0.2);
  transform: translateY(-1px);
}

.project-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: auto;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  color: #000000;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}


/* ============================================================
   11. PARCERIAS DE SUCESSO - Carrossel de logos
   ============================================================ */
.partners-section {
  background: #0a0a0a;
  padding: 5rem 0;
  overflow: hidden;
}

.partners-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 2rem;
}

.partners-header-left {
  flex-shrink: 0;
}

.partners-label {
  font-family: 'Bebas Neue', 'Montserrat', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: #0099cc;
  display: block;
  margin-bottom: 0.5rem;
}

.partners-title {
  font-family: 'Bebas Neue', 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.04em;
  line-height: 1;
}

.partners-desc {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.95rem;
  max-width: 360px;
  line-height: 1.6;
  text-align: right;
}

.partners-carousel-container {
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  padding: 2.5rem 0;
  min-height: 120px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.partners-carousel-container::before,
.partners-carousel-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.partners-carousel-container::before {
  left: 0;
  background: linear-gradient(90deg, #0a0a0a, transparent);
}

.partners-carousel-container::after {
  right: 0;
  background: linear-gradient(270deg, #0a0a0a, transparent);
}

.partners-carousel-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  will-change: transform;
  min-height: 80px;
}

.partner-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.75rem 1rem;
  min-width: 180px;
  min-height: 70px;
}

.partner-slide img {
  max-height: 60px;
  max-width: 160px;
  object-fit: contain;
  transition: all 0.4s ease;
  opacity: 0.7;
  width: auto;
  height: auto;
  display: block;
}

.partner-slide:hover img {
  opacity: 1;
  transform: scale(1.08);
}

/* Pause animation on hover */

/* Partners Responsive */
@media (max-width: 1024px) {
  .partners-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .partners-desc {
    text-align: left;
  }
}

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

  .partners-carousel-track {
    gap: 2rem;
  }

  .partner-slide {
    min-width: 130px;
    min-height: 55px;
    padding: 0.5rem;
  }

  .partner-slide img {
    max-height: 45px;
    max-width: 110px;
  }
}

@media (max-width: 480px) {
  .partners-carousel-container::before,
  .partners-carousel-container::after {
    width: 30px;
  }

  .partners-carousel-track {
    gap: 1.5rem;
  }

  .partner-slide {
    min-width: 100px;
  }

  .partner-slide img {
    max-height: 35px;
    max-width: 80px;
  }
}
/* --- Depoimentos --- */
.testimonials-section {
  background: #0a0a0a;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 15px 30px rgba(0, 212, 255, 0.1);
}

.stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.stars i {
  color: #ffd700;
  font-size: 1rem;
}

.testimonial-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-avatar i {
  color: #000000;
  font-size: 1.2rem;
}

.author-info h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.author-info p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
}

/* ============================================================
   12. FAQ - Perguntas frequentes (fundo branco, accordion)
   ============================================================ */
.faq-section {
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.faq-section .section-title {
  color: #111111;
}

.faq-section .section-subtitle {
  color: rgba(0, 0, 0, 0.6);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(0, 153, 204, 0.3);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #f5f7fa;
}

.faq-question h3 {
  color: #111111;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.faq-question i {
  color: #0099cc;
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   13. CONTATO COMPACTO - Formulário e informações de contato
   ============================================================ */
.contact-section {
  background: #0a0a0a;
  padding: 4rem 0;
}

.contact-compact-header {
  margin-bottom: 2.5rem;
}

.contact-label {
  font-family: 'Bebas Neue', 'Montserrat', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: #00d4ff;
  display: block;
  margin-bottom: 0.5rem;
}

.contact-title {
  font-family: 'Bebas Neue', 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.04em;
  line-height: 1;
}

.contact-compact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 212, 255, 0.2);
}

.contact-card > i {
  font-size: 1.3rem;
  color: #00d4ff;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.contact-card strong {
  display: block;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.contact-card span {
  display: block;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.78rem;
}

.contact-social-icons {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.3rem;
}

.contact-social-icons a {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.contact-social-icons a:hover {
  background: #00d4ff;
  color: #000000;
  border-color: #00d4ff;
}

/* Legacy form-group label kept for privacy pages */
.form-group label {
  color: #ffffff;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00d4ff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

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

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: #00d4ff;
  border-color: #00d4ff;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid #000000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-label a {
  color: #00d4ff;
  text-decoration: none;
}

.checkbox-label a:hover {
  text-decoration: underline;
}

.submit-btn {
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  color: #000000;
  border: none;
  padding: 1rem 2rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ============================================================
   14. MODAIS DE POLÍTICA - Privacidade e termos de uso
   ============================================================ */
.policy-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow-y: auto;
}

.policy-modal.show {
  opacity: 1;
}

.policy-modal-content {
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 6px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2);
  animation: modalSlideUp 0.4s ease-out;
}

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

.policy-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 2rem;
  width: 45px;
  height: 45px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  line-height: 1;
  padding: 0;
}

.policy-close-btn:hover {
  background: #00d4ff;
  color: #000000;
  transform: rotate(90deg);
  border-color: #00d4ff;
}

.policy-body {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

.policy-body h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #00d4ff;
  margin-bottom: 1rem;
}

.policy-body h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.policy-body .last-updated {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  font-style: italic;
}

.policy-body p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.policy-body ul {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.policy-body li {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.policy-body strong {
  color: #00d4ff;
  font-weight: 600;
}

.policy-body .copyright {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* ============================================================
   15. FOOTER - Rodapé com links e redes sociais
   ============================================================ */
.footer {
  background: linear-gradient(135deg, #0f0f0f 0%, #000000 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo img {
  height: 45px;
  margin-bottom: 1rem;
  filter: brightness(1.1);
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #00d4ff;
  color: #000000;
  transform: translateY(-2px);
}

.footer-column h4 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #00d4ff;
}

.footer-contact {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.contact-item i {
  color: #00d4ff;
  width: 16px;
}

.footer-partners h5 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.partner-logos {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.partner-logos img {
  max-height: 35px;
  max-width: 100px;
  object-fit: contain;
  filter: brightness(0.8);
  transition: filter 0.3s ease;
}

.partner-logos img:hover {
  filter: brightness(1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.legal-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  padding: 0.25rem 0;
  position: relative;
}

.legal-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #00d4ff;
  transition: width 0.3s ease;
}

.legal-link:hover {
  color: #00d4ff;
}

.legal-link:hover::after {
  width: 100%;
}

.separator {
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   16. ANIMAÇÕES & UTILITÁRIOS - AOS e transições globais
   ============================================================ */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   17. RESPONSIVO - Media queries (1200px, 992px, 768px, 480px)
   ============================================================ */
@media (max-width: 1200px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .hero-stats {
    gap: 2rem;
  }
  
}

@media (max-width: 1024px) {
  .hero-layout {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding-top: 6rem;
  }

  .hero-content {
    text-align: center;
    max-width: 600px;
  }

  .hero-actions {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .hero-phone {
    transform: scale(0.85);
  }

  .phone-float-badge {
    display: none;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .cta-button {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .header {
    width: calc(100% - 2rem);
    top: 0.5rem;
  }

  .header-content {
    padding: 0.75rem 1rem;
  }

  .nav {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }
  
  .nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .nav-list {
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
  }
  
  .nav-link {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .section-header {
    margin-bottom: 3rem;
  }
  
  .hero-phone {
    transform: scale(0.75);
    margin: -2rem 0;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

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

  .service-card {
    gap: 1rem;
    padding: 1.5rem 1.2rem;
  }

  .service-card p {
    display: none;
  }

  .service-card:nth-child(1) { top: 70px; }
  .service-card:nth-child(2) { top: 82px; }
  .service-card:nth-child(3) { top: 94px; }
  .service-card:nth-child(4) { top: 106px; }
  .service-card:nth-child(5) { top: 118px; }
  .service-card:nth-child(6) { top: 130px; }

  .service-num {
    width: 30px;
    font-size: 1.4rem;
  }
  
  .tech-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .partners-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .policy-modal-content {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }

  .policy-body h1 {
    font-size: 1.5rem;
  }

  .policy-body h2 {
    font-size: 1.2rem;
  }

  .policy-close-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    top: 1rem;
    right: 1rem;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .portfolio-tabs {
    gap: 1rem;
  }

  .portfolio-tab {
    padding: 0.875rem 2rem;
    font-size: 0.95rem;
  }

  .portfolio-tab i {
    font-size: 1.1rem;
  }
  
  .project-image {
    height: 200px;
  }
  
  .project-info {
    padding: 1.5rem;
  }

  .project-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .testimonial-card {
    padding: 2rem 1.5rem;
  }

  .service-card {
    padding: 1.2rem 1rem;
    gap: 0.75rem;
  }

  .service-arrow {
    display: none;
  }
  
  .contact-compact-grid {
    grid-template-columns: 1fr;
  }
  
  .tech-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-card {
    margin: 0 auto;
  }
  
  .project-image {
    height: 180px;
  }
  
  .project-info {
    padding: 1.25rem;
  }
  
  .project-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .portfolio-grid {
    gap: 1rem;
  }

  .portfolio-tabs {
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  .portfolio-tab {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .portfolio-tab i {
    font-size: 1rem;
  }
}

/* ============================================================
   18. ACESSIBILIDADE & PRINT - Reduced motion, focus, impressão
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .universe-background {
    display: none;
  }
}

/* Focus styles for accessibility */
.nav-link:focus,
.cta-button:focus,
.service-cta:focus,
.btn-primary:focus,
.submit-btn:focus,
.social-icons a:focus,
.footer-links a:focus {
  outline: 2px solid #00d4ff;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .header,
  .hero-background,
  .universe-background,
  .loading-screen {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .section {
    page-break-inside: avoid;
  }
}