/* ==========================================
   RESET E CONFIGURAÇÃO GLOBAL
   ========================================== */

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

p,
h1,
h2,
h3,
h4,
h5,
h6,
span,
li,
label {
  cursor: pointer !important;
}

:root {
  /* NovemVero Brand Colors - Lovable Design */
  --deep-navy: #2D4A5C;
  --electric-cyan: #00D9FF;
  --midnight: #0F1C2E;
  --slate: #536878;
  --ice-white: #EBF7FA;
  
  /* Tema claro */
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #EBF7FA;
  --color-bg-card: #ffffff;
  --color-text-primary: #0F1C2E;
  --color-text-secondary: #536878;
  --color-text-tertiary: #6b7280;
  --color-border: #E0E7EB;
  --color-accent-1: #2D4A5C;
  --color-accent-2: #00D9FF;
  --color-accent-3: #0BB8D4;
  
  /* Sombras e efeitos */
  --shadow-sm: 0 1px 3px rgba(15, 28, 46, 0.08);
  --shadow-md: 0 4px 12px rgba(15, 28, 46, 0.1);
  --shadow-lg: 0 10px 30px rgba(15, 28, 46, 0.15);
  --shadow-glow: 0 0 40px rgba(0, 217, 255, 0.3);
  --shadow-card: 0 4px 30px rgba(15, 28, 46, 0.1);
  
  /* Gradientes */
  --gradient-primary: linear-gradient(135deg, #2D4A5C, #0F1C2E);
  --gradient-accent: linear-gradient(135deg, #00D9FF, #0BB8D4);
  --gradient-hero: linear-gradient(180deg, #0F1C2E 0%, #2D4A5C 100%);
  
  /* Cores de destaque */
  --color-primary: #2D4A5C;
  --color-secondary: #00D9FF;
  
  /* Fontes e outros */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  --border-radius: 12px;
  --border-radius-lg: 16px;
  --max-width: 1120px;
}

[data-theme="dark"] {
  /* Tema escuro - Lovable Style */
  --color-bg-primary: #0F1C2E;
  --color-bg-secondary: #1A2B3F;
  --color-bg-card: #1E2F45;
  --color-text-primary: #EBF7FA;
  --color-text-secondary: #A8BCC9;
  --color-text-tertiary: #8A9BAA;
  --color-border: #2A3B50;
  --color-accent-1: #00D9FF;
  --color-accent-2: #0BB8D4;
  --color-accent-3: #2D4A5C;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 40px rgba(0, 217, 255, 0.4);
  
  --color-primary: #00D9FF;
  --color-secondary: #2D4A5C;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ==========================================
   UTILITÁRIOS
   ========================================== */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }
}

/* ==========================================
   HEADER - Lovable Style
   ========================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(15, 28, 46, 0.08);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

[data-theme="dark"] .header {
  background-color: rgba(15, 28, 46, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.logo-image {
  height: 100px;
  width: auto;
}

/* Alternar logos entre temas */
.logo-dark {
  display: block;
  transition: all 0.3s ease;
}

.logo-light {
  display: none;
  transition: all 0.3s ease;
}

[data-theme="dark"] .logo-dark {
  display: none;
}

[data-theme="dark"] .logo-light {
  display: block;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px solid var(--color-border);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  color: var(--color-text-primary);
  position: relative;
}

.theme-toggle:hover {
  background-color: var(--color-bg-secondary);
  border-color: var(--color-accent-1);
  transform: rotate(180deg);
}

.theme-icon {
  position: absolute;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.sun-icon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.moon-icon {
  opacity: 0;
  transform: rotate(180deg) scale(0);
}

[data-theme="dark"] .sun-icon {
  opacity: 0;
  transform: rotate(180deg) scale(0);
}

[data-theme="dark"] .moon-icon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger {
  width: 25px;
  height: 3px;
  background-color: var(--color-text-primary);
  transition: var(--transition);
  border-radius: 2px;
}

.menu-toggle.active .hamburger:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active .hamburger:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .hamburger:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.nav {
  position: fixed;
  top: 72px;
  right: 0;
  width: 100%;
  max-width: 300px;
  background-color: var(--color-bg-card);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: var(--transition);
  padding: 20px;
  border-left: 1px solid var(--color-border);
}

.nav.active {
  transform: translateX(0);
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nav-link {
  display: block;
  padding: 12px 16px;
  color: var(--color-text-primary);
  font-weight: 500;
  transition: var(--transition);
  border-radius: var(--border-radius);
  position: relative;
}

.nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--color-accent-1), var(--color-accent-2));
  transition: height 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover {
  background-color: var(--color-bg-secondary);
  color: var(--color-accent-1);
  padding-left: 20px;
}

.nav-link:hover::before {
  height: 70%;
}

.nav-link.active {
  color: var(--color-accent-1);
  background-color: var(--color-bg-secondary);
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .nav {
    position: static;
    width: auto;
    max-width: none;
    background: none;
    box-shadow: none;
    transform: none;
    padding: 0;
  }

  .nav-list {
    flex-direction: row;
    gap: 24px;
  }

  .nav-link {
    padding: 8px 12px;
  }
}

/* ==========================================
   BOTÕES - Lovable Style
   ========================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  gap: 8px;
}

.btn-primary {
  background-color: var(--electric-cyan);
  color: var(--midnight);
  box-shadow: 0 0 30px rgba(0, 217, 255, 0.3);
}

.btn-primary:hover {
  background-color: #0BB8D4;
  box-shadow: 0 0 40px rgba(0, 217, 255, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--electric-cyan);
  border: 2px solid var(--electric-cyan);
}

.btn-outline:hover {
  background-color: rgba(0, 217, 255, 0.1);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--deep-navy);
  color: #ffffff;
  border: 2px solid var(--deep-navy);
}

.btn-secondary:hover {
  background-color: #243D4F;
  border-color: #243D4F;
  transform: translateY(-2px);
}

.btn-large {
  padding: 18px 40px;
  font-size: 18px;
}

.btn-block {
  width: 100%;
}

/* ==========================================
   SEÇÕES
   ========================================== */

.section {
  padding: 80px 0;
}

.section-alt {
  background-color: var(--color-bg-secondary);
  position: relative;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 24px;
  text-align: center;
  background: linear-gradient(135deg, var(--color-accent-1), var(--color-accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-intro {
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-intro p {
  margin-bottom: 16px;
  color: var(--color-text-secondary);
  font-size: 18px;
}

.section-intro-text {
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 18px;
}

.subsection-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 24px;
  text-align: center;
}

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

  .section-title {
    font-size: 48px;
  }
}

/* ==========================================
   HERO - Lovable Style
   ========================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 80px;
}

/* Grid Pattern Background */
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: 
    linear-gradient(var(--electric-cyan) 1px, transparent 1px),
    linear-gradient(90deg, var(--electric-cyan) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

/* Gradient Overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 28, 46, 0.5) 0%, transparent 50%, rgba(15, 28, 46, 0.5) 100%);
  pointer-events: none;
}

[data-theme="dark"] .hero {
  background: var(--gradient-hero);
}

.hero-container {
  position: relative;
  z-index: 10;
  max-width: 1000px;
  text-align: center;
}

.hero-content {
  max-width: 100%;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease-out 0.3s backwards;
  display: flex;
  flex-direction: column;
  gap: 0.2em;
}

.hero-title-line {
  display: block;
}

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

.hero-description {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--ice-white);
  opacity: 0.9;
  margin-bottom: 48px;
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease-out 0.9s backwards;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  animation: fadeInUp 0.8s ease-out 1.1s backwards;
}

/* 9 Dots Animation */
.hero-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 64px;
  animation: fadeInUp 0.8s ease-out 1.5s backwards;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--electric-cyan);
  box-shadow: 0 0 10px var(--electric-cyan);
  animation: pulse 1.5s ease-in-out infinite;
}

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

@media (min-width: 768px) {
  .hero {
    padding-top: 120px;
  }
  
  .hero-buttons {
    gap: 24px;
  }
}

/* ==========================================
   DIFERENCIAIS
   ========================================== */

.diferenciais {
  max-width: 800px;
  margin: 48px auto 0;
}

.diferenciais-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.diferenciais-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background-color: var(--color-bg-card);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.diferenciais-list li:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent-1);
  transform: translateX(4px);
}

.check-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.check-icon circle,
.check-icon path {
  stroke: var(--color-accent-1);
}

.diferenciais-list span {
  font-size: 16px;
  color: var(--color-text-primary);
}

/* ==========================================
   SERVIÇOS
   ========================================== */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-card {
  background-color: var(--color-bg-card);
  padding: 32px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent-1), var(--color-accent-2));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--color-accent-1);
}

.service-icon {
  margin-bottom: 20px;
}

.service-icon svg {
  stroke: var(--color-accent-1);
  fill: none;
}

[data-theme="dark"] .service-icon svg {
  stroke: var(--color-accent-3);
  filter: brightness(1.3);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}

.service-description {
  color: var(--color-text-secondary);
  line-height: 1.6;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================
   TECNOLOGIAS
   ========================================== */

.tech-section {
  position: relative;
  overflow: hidden;
}

.tech-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.05) 0%, transparent 60%);
  animation: morphBackground 15s ease-in-out infinite;
  pointer-events: none;
}

[data-theme="dark"] .tech-background {
  background: 
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.08) 0%, transparent 60%);
}

@keyframes morphBackground {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  33% {
    transform: translate(-20px, 20px) scale(1.1);
    opacity: 0.8;
  }
  66% {
    transform: translate(20px, -20px) scale(0.9);
    opacity: 0.9;
  }
}

.tech-categories {
  position: relative;
  z-index: 1;
}

.tech-category-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 48px 0 24px;
  padding-left: 16px;
  border-left: 4px solid var(--color-accent-1);
  position: relative;
}

.tech-category-title:first-child {
  margin-top: 0;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.tech-card {
  perspective: 1000px;
  cursor: pointer;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

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

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

.tech-card-inner {
  position: relative;
  width: 100%;
  height: 180px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  will-change: transform;
  box-shadow: var(--shadow-sm);
}

.tech-card:hover .tech-card-inner {
  transform: translateY(-8px) rotateX(5deg) rotateY(5deg);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(59, 130, 246, 0.3);
  border-color: var(--color-accent-1);
}

[data-theme="dark"] .tech-card:hover .tech-card-inner {
  box-shadow: var(--shadow-lg), 0 0 40px rgba(59, 130, 246, 0.4);
}

.tech-card-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent-1), var(--color-accent-2));
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.tech-card:hover .tech-card-inner::before {
  transform: scaleX(1);
}

.tech-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--transition);
}

.tech-icon svg {
  width: 100%;
  height: 100%;
  color: var(--color-accent-1);
  transition: var(--transition);
}

.tech-card:hover .tech-icon {
  transform: scale(1.1) translateZ(20px);
}

.tech-card:hover .tech-icon svg {
  filter: drop-shadow(0 0 10px currentColor);
}

/* Cores específicas por tecnologia */
.tech-card[data-tech="react"] .tech-icon svg { color: #61DAFB; }
.tech-card[data-tech="nextjs"] .tech-icon svg { 
  color: var(--color-text-primary);
}
.tech-card[data-tech="typescript"] .tech-icon svg { color: #3178C6; }
.tech-card[data-tech="python"] .tech-icon svg { color: #3776AB; }
.tech-card[data-tech="django"] .tech-icon svg { color: #092E20; }
[data-theme="dark"] .tech-card[data-tech="django"] .tech-icon svg { color: #44B78B; }
.tech-card[data-tech="nodejs"] .tech-icon svg { color: #339933; }
.tech-card[data-tech="graphql"] .tech-icon svg { color: #E10098; }
.tech-card[data-tech="postgresql"] .tech-icon svg { color: #4169E1; }
.tech-card[data-tech="mysql"] .tech-icon svg { color: #4479A1; }
.tech-card[data-tech="aws"] .tech-icon svg { color: #FF9900; }
.tech-card[data-tech="azure"] .tech-icon svg { color: #0078D4; }
.tech-card[data-tech="gcp"] .tech-icon svg { color: #4285F4; }
.tech-card[data-tech="docker"] .tech-icon svg { color: #2496ED; }
.tech-card[data-tech="kubernetes"] .tech-icon svg { color: #326CE5; }
.tech-card[data-tech="cicd"] .tech-icon svg { color: #22D3EE; }
.tech-card[data-tech="php"] .tech-icon svg { color: #777BB4; }

.tech-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 4px 0;
  transition: var(--transition);
}

.tech-card:hover .tech-name {
  color: var(--color-accent-1);
  transform: translateZ(10px);
}

.tech-years {
  font-size: 13px;
  color: var(--color-text-tertiary);
  margin: 0;
  font-weight: 500;
  transition: var(--transition);
}

.tech-card:hover .tech-years {
  color: var(--color-text-secondary);
}

@media (max-width: 768px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .tech-card-inner {
    height: 160px;
    padding: 20px;
  }
  
  .tech-icon {
    width: 48px;
    height: 48px;
  }
  
  /* Desabilitar efeitos 3D complexos em mobile para performance */
  .tech-card:hover .tech-card-inner {
    transform: translateY(-4px);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1025px) {
  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

/* ==========================================
   TECH NOTE
   ========================================== */

.tech-note {
  margin-top: 48px;
  padding: 24px 32px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
  border-left: 4px solid var(--color-accent-1);
  border-radius: var(--border-radius);
  text-align: center;
}

.tech-note p {
  color: var(--color-text-secondary);
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

.tech-note strong {
  color: var(--color-text-primary);
  font-weight: 600;
}

/* ==========================================
   MODAL DE TECNOLOGIA
   ========================================== */

.tech-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.tech-modal.active {
  opacity: 1;
  pointer-events: all;
}

.tech-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.tech-modal-content {
  position: relative;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  overflow-y: auto;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(59, 130, 246, 0.3);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1;
}

.tech-modal.active .tech-modal-content {
  transform: scale(1) translateY(0);
}

.tech-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--color-text-primary);
}

.tech-modal-close:hover {
  background-color: var(--color-accent-1);
  color: #ffffff;
  transform: rotate(90deg);
}

.tech-modal-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--color-border);
}

.tech-modal-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
  border-radius: 50%;
  border: 2px solid var(--color-accent-1);
}

.tech-modal-icon svg {
  width: 48px;
  height: 48px;
}

.tech-modal-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0 0 8px 0;
}

.tech-modal-experience {
  font-size: 16px;
  color: var(--color-accent-1);
  font-weight: 600;
  margin: 0;
}

.tech-modal-body {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.tech-modal-section {
  margin-bottom: 24px;
}

.tech-modal-section:last-child {
  margin-bottom: 0;
}

.tech-modal-section h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 12px 0;
  padding-left: 12px;
  border-left: 3px solid var(--color-accent-1);
}

.tech-modal-description {
  margin: 0;
}

.tech-modal-usecases {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tech-modal-usecases li {
  padding: 8px 0 8px 32px;
  position: relative;
  color: var(--color-text-secondary);
}

.tech-modal-usecases li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent-1);
  font-weight: bold;
  font-size: 18px;
}

@media (max-width: 768px) {
  .tech-modal-content {
    width: 95%;
    padding: 24px;
    max-height: 85vh;
  }
  
  .tech-modal-title {
    font-size: 24px;
  }
}

/* ==========================================
   PROCESSO
   ========================================== */

.process-timeline {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.process-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  position: relative;
}

.process-step::after {
  content: '';
  position: absolute;
  left: 29px;
  top: 60px;
  width: 2px;
  height: calc(100% + 32px);
  background: linear-gradient(180deg, var(--color-accent-1), var(--color-accent-2));
  opacity: 0.3;
}

.process-step:last-child::after {
  display: none;
}

.process-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-accent-1) 0%, var(--color-accent-2) 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: var(--shadow-glow);
}

.process-content {
  padding-bottom: 8px;
}

.process-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}

.process-description {
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ==========================================
   CLIENTES / RAZÕES
   ========================================== */

.reasons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 64px;
}

.reason-card {
  text-align: center;
  padding: 32px;
  background-color: var(--color-bg-card);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--color-border);
}

.reason-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--color-accent-1);
}

.reason-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.reason-icon svg {
  stroke: var(--color-accent-1);
  fill: var(--color-accent-1);
  opacity: 0.9;
}

.reason-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}

.reason-description {
  color: var(--color-text-secondary);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================
   DEPOIMENTOS
   ========================================== */

.testimonials {
  max-width: 900px;
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.testimonial-card {
  background-color: var(--color-bg-card);
  padding: 32px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-accent-1);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent-1);
}

.testimonial-text {
  font-style: italic;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.testimonial-author strong {
  display: block;
  color: var(--color-text-primary);
  font-weight: 600;
  margin-bottom: 4px;
}

.testimonial-author span {
  color: var(--color-text-secondary);
  font-size: 14px;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================
   CTA FINAL
   ========================================== */

.cta-section {
  background: linear-gradient(135deg, var(--color-accent-1) 0%, var(--color-accent-2) 50%, var(--color-accent-3) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: moveGrid 20s linear infinite;
}

@keyframes moveGrid {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.cta-container {
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cta-description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .cta-section {
    padding: 120px 0;
  }

  .cta-title {
    font-size: 48px;
  }
}

/* ==========================================
   CONTATO
   ========================================== */

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-form {
  background-color: var(--color-bg-card);
  padding: 32px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 16px;
  transition: var(--transition);
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent-1);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  background-color: var(--color-bg-card);
}

.form-group textarea {
  resize: vertical;
}

.form-message {
  margin-top: 16px;
  padding: 12px;
  border-radius: var(--border-radius);
  text-align: center;
  font-weight: 500;
  display: none;
}

.form-message.success {
  display: block;
  background-color: #D1FAE5;
  color: #065F46;
  border: 1px solid #10B981;
}

.form-message.error {
  display: block;
  background-color: #FEE2E2;
  color: #991B1B;
  border: 1px solid #EF4444;
}

.contact-info {
  background-color: var(--color-bg-secondary);
  padding: 32px;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
}

.contact-info-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item svg {
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  color: var(--color-text-primary);
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--color-text-secondary);
  margin: 0;
}

.contact-item a {
  color: var(--color-accent-1);
  text-decoration: underline;
}

.contact-item a:hover {
  color: var(--color-accent-2);
}

@media (min-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 2fr 1fr;
  }
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .footer {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  border-top: 1px solid var(--color-border);
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}

.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  height: 32px;
  filter: brightness(0) invert(1);
}

[data-theme="dark"] .footer-logo {
  filter: brightness(0) invert(1);
}

.footer-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--color-white);
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .footer-main {
    flex-direction: row;
    align-items: center;
  }
}

/* ==========================================
   MODAL WHATSAPP
   ========================================== */

.whatsapp-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.whatsapp-modal.active {
  opacity: 1;
  visibility: visible;
}

.whatsapp-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.whatsapp-modal-content {
  position: relative;
  background-color: var(--color-white);
  border-radius: 16px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.whatsapp-modal.active .whatsapp-modal-content {
  transform: scale(1);
}

.whatsapp-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
  color: var(--color-text-secondary);
}

.whatsapp-modal-close:hover {
  background-color: var(--color-bg-light);
}

.whatsapp-modal-header {
  text-align: center;
  margin-bottom: 32px;
}

.whatsapp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.whatsapp-modal-header h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.whatsapp-modal-header p {
  color: var(--color-text-secondary);
  font-size: 16px;
}

.whatsapp-form .form-group {
  margin-bottom: 24px;
}

.whatsapp-form label {
  display: block;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
  font-size: 14px;
}

.whatsapp-form input,
.whatsapp-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #E5E7EB;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-form input:focus,
.whatsapp-form textarea:focus {
  outline: none;
  border-color: #25D366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
}

.whatsapp-form textarea {
  resize: vertical;
  min-height: 100px;
}

.whatsapp-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #25D366 !important;
}

.whatsapp-submit-btn:hover {
  background-color: #1faa52 !important;
}

.whatsapp-submit-btn svg {
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .whatsapp-modal-content {
    padding: 24px;
  }

  .whatsapp-modal-header h3 {
    font-size: 20px;
  }
}

/* Dark mode support for WhatsApp modal */
[data-theme="dark"] .whatsapp-modal-content {
  background-color: var(--color-secondary);
}

[data-theme="dark"] .whatsapp-form input,
[data-theme="dark"] .whatsapp-form textarea {
  background-color: var(--color-primary);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

[data-theme="dark"] .whatsapp-form input::placeholder,
[data-theme="dark"] .whatsapp-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Botão WhatsApp na seção de contato */
.whatsapp-contact-btn {
  background-color: #25D366 !important;
  margin-top: 24px;
}

.whatsapp-contact-btn:hover {
  background-color: #1faa52 !important;
}

/* Badge Grid - Áreas de Atuação */
.expertise-section {
  margin-top: 64px;
}

.expertise-section:first-of-type {
  margin-top: 48px;
}

.expertise-section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 32px;
  text-align: center;
  position: relative;
  padding-bottom: 16px;
}

.expertise-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.tech-badge-grid {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.tech-category-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tech-badge-category {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.tech-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--card-background);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 24px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: all 0.3s ease;
  cursor: default;
}

.tech-badge:hover {
  border-color: var(--primary-color);
  background: rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

.tech-badge::after {
  content: attr(data-years);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  background: var(--card-background);
  border: 1px solid var(--primary-color);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 10;
}

.tech-badge::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--primary-color);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 10;
}

.tech-badge:hover::after,
.tech-badge:hover::before {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

@media (max-width: 768px) {
  .expertise-section {
    margin-top: 48px;
  }

  .expertise-section-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
  }

  .tech-badge-grid {
    gap: 28px;
  }
  
  .tech-badge-category {
    font-size: 1rem;
  }
  
  .tech-badges {
    gap: 10px;
  }
  
  .tech-badge {
    padding: 7px 14px;
    font-size: 0.8125rem;
  }
}
