/* ============================================
   ALBERT CORBETT — DESIGN SYSTEM
   Cores baseadas no logo:
   - Verde lima: #C5FF3A
   - Verde escuro: #1A3018
   - Verde floresta: #2D5A2D
   ============================================ */

/* ==================== VARIÁVEIS ==================== */
:root {
  /* Cores principais */
  --primary: #C5FF3A;
  --primary-dark: #A8E025;
  --primary-light: #E4FF8C;
  --secondary: #1A3018;
  --accent: #2D5A2D;
  --accent-light: #4A8B4A;

  /* Backgrounds */
  --bg-dark: #0A1608;
  --bg-darker: #050A04;
  --bg-section: #0F1F0D;
  --bg-card: rgba(26, 48, 24, 0.6);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-light: #F8FBF5;

  /* Texto */
  --text: #E8F5E5;
  --text-muted: #9DB89A;
  --text-dark: #1A2A18;
  --text-darker: #0F1F0D;

  /* Bordas */
  --border: rgba(197, 255, 58, 0.15);
  --border-strong: rgba(197, 255, 58, 0.3);
  --border-light: rgba(0, 0, 0, 0.08);

  /* Sombras */
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(197, 255, 58, 0.3);
  --shadow-glow-strong: 0 0 60px rgba(197, 255, 58, 0.5);

  /* Tipografia */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Sora', 'Inter', sans-serif;
  --font-marker: 'Permanent Marker', cursive;

  /* Animações */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --easing: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Tamanhos */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Container */
  --container: 1280px;
  --container-padding: 24px;
}

/* ==================== RESET ==================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background: var(--bg-darker);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

ul {
  list-style: none;
}

::selection {
  background: var(--primary);
  color: var(--secondary);
}

/* Scrollbar customizada */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ==================== UTILITÁRIOS ==================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradient-shift 6s ease infinite;
  display: inline-block;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ==================== LOADER ==================== */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg-darker);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.hidden {
  opacity: 0;
  visibility: hidden;
}
.loader-text {
  font-family: var(--font-marker);
  font-size: 5rem;
  color: var(--primary);
  animation: pulse-scale 1.5s ease-in-out infinite;
}
@keyframes pulse-scale {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}
.loader-bar {
  width: 200px;
  height: 3px;
  background: var(--accent);
  border-radius: 10px;
  overflow: hidden;
}
.loader-progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  animation: load-progress 1s ease-out forwards;
}
@keyframes load-progress {
  to { width: 100%; }
}

/* ==================== CURSOR CUSTOMIZADO ==================== */
.cursor {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
}
.cursor-follower {
  width: 35px;
  height: 35px;
  border: 1.5px solid var(--primary);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s;
}
.cursor-hover, .cursor-follower.cursor-hover {
  width: 50px;
  height: 50px;
  background: rgba(197, 255, 58, 0.1);
}
@media (max-width: 1024px) {
  .cursor, .cursor-follower { display: none; }
}

/* ==================== NAVBAR ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(10, 22, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-logo img {
  height: 45px;
  width: auto;
  transition: var(--transition);
}
.navbar.scrolled .nav-logo img { height: 38px; }
.logo-fallback {
  display: none;
  flex-direction: column;
  align-items: flex-start;
}
.logo-ac {
  font-family: var(--font-marker);
  font-size: 1.8rem;
  color: var(--primary);
  line-height: 1;
}
.logo-text {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: lowercase;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-full);
  position: relative;
  transition: var(--transition);
}
.nav-link:hover { color: var(--primary); }
.nav-link.active {
  color: var(--secondary);
  background: var(--primary);
  font-weight: 600;
}
.nav-cta {
  background: var(--primary);
  color: var(--secondary) !important;
  font-weight: 700 !important;
  margin-left: 10px;
}
.nav-cta:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 5px;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(10, 22, 8, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-link {
    padding: 12px 18px;
    text-align: center;
    border-radius: var(--radius-md);
  }
  .nav-cta { margin-left: 0; margin-top: 8px; }
}

/* ==================== BOTÕES ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  white-space: nowrap;
}
.btn-large { padding: 18px 36px; font-size: 1.05rem; }
.btn-primary {
  background: var(--primary);
  color: var(--secondary);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-strong);
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.btn-primary:active::before { width: 300px; height: 300px; }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border-strong);
}
.btn-secondary:hover {
  background: var(--primary);
  color: var(--secondary);
  border-color: var(--primary);
  transform: translateY(-3px);
}

/* ==================== HERO ==================== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 60px;
  overflow: hidden;
  background: var(--bg-darker);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(197, 255, 58, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 255, 58, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  animation: grid-move 20s linear infinite;
}
@keyframes grid-move {
  to { background-position: 50px 50px; }
}
.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float-orb 10s ease-in-out infinite;
}
.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}
.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
  bottom: -100px;
  right: -100px;
  animation-delay: -3s;
}
.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -5s;
}
@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -30px) scale(1.1); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}
.orb-3 {
  animation: float-orb 10s ease-in-out infinite;
}
#particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 var(--container-padding);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(197, 255, 58, 0.1);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 10px var(--primary); }
  50% { box-shadow: 0 0 20px var(--primary), 0 0 30px var(--primary); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 30px;
  letter-spacing: -0.02em;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.hero-subtitle strong { color: var(--primary); font-weight: 600; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
  padding: 30px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat { text-align: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--primary);
}
.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-social {
  position: absolute;
  bottom: 120px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 3;
}
.hero-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.hero-social svg {
  width: 18px;
  height: 18px;
  fill: var(--text);
}
.hero-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateX(-3px);
}
.hero-social a:hover svg { fill: var(--secondary); }
@media (max-width: 900px) {
  .hero-social {
    flex-direction: row;
    bottom: auto;
    top: 90px;
    right: 20px;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  z-index: 2;
}
.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}
.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 1.5s ease-in-out infinite;
}
@keyframes scroll-wheel {
  0% { top: 6px; opacity: 1; }
  100% { top: 22px; opacity: 0; }
}
@media (max-width: 768px) { .scroll-indicator { display: none; } }

/* Animações de entrada do hero */
.animate-up {
  opacity: 0;
  transform: translateY(40px);
  animation: animate-up 1s var(--easing) forwards;
}
.animate-up:nth-child(1) { animation-delay: 0.2s; }
.animate-up:nth-child(2) { animation-delay: 0.4s; }
.animate-up:nth-child(3) { animation-delay: 0.6s; }
.animate-up:nth-child(4) { animation-delay: 0.8s; }
.animate-up:nth-child(5) { animation-delay: 1s; }
@keyframes animate-up {
  to { opacity: 1; transform: translateY(0); }
}

/* ==================== SEÇÕES BASE ==================== */
.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.section-about { background: var(--bg-dark); }
.section-services { background: var(--bg-darker); }
.section-clients { background: var(--bg-dark); }
.section-partners { background: var(--bg-darker); }
.section-testimonials { background: var(--bg-dark); }
.section-contact { background: var(--bg-darker); }

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 70px;
}
.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(197, 255, 58, 0.1);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), transparent);
  border-radius: 2px;
  margin: 25px auto;
}
.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}
.section-desc strong { color: var(--primary); }

/* ==================== SOBRE ==================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}
.about-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.8;
}
.about-content strong { color: var(--primary); font-weight: 600; }
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.tag {
  padding: 8px 16px;
  background: rgba(197, 255, 58, 0.08);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text);
  transition: var(--transition);
}
.tag:hover {
  background: var(--primary);
  color: var(--secondary);
  transform: translateY(-2px);
}
.about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  transform: scaleX(0);
  transition: transform 0.5s;
}
.about-card:hover::before { transform: scaleX(1); }
.about-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-glow);
}
.card-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
}
.about-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  font-family: var(--font-display);
}
.about-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==================== SERVIÇOS ==================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  transform-style: preserve-3d;
  backdrop-filter: blur(10px);
}
.service-card.featured {
  background: linear-gradient(135deg, rgba(197, 255, 58, 0.12), rgba(45, 90, 45, 0.3));
  border-color: var(--border-strong);
}
.service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary);
  color: var(--secondary);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: badge-pulse 2s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(197, 255, 58, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(197, 255, 58, 0); }
}
.service-number {
  position: absolute;
  top: 20px;
  left: 25px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.4;
}
.service-card.featured .service-number { opacity: 0.8; }
.service-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
  display: block;
  filter: drop-shadow(0 0 20px rgba(197, 255, 58, 0.3));
  transition: var(--transition);
}
.service-card:hover .service-icon { transform: scale(1.15) rotate(-5deg); }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.2;
}
.service-card h3 small {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--primary);
  margin-top: 4px;
}
.service-card p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.7;
}
.service-list li {
  padding: 7px 0;
  color: var(--text);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}
.service-list li:last-child { border-bottom: none; }
.service-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
}
.service-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, var(--primary) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-slow);
  pointer-events: none;
  z-index: -1;
}
.service-card:hover .service-glow { opacity: 0.1; }

/* ==================== CLIENTES ==================== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.client-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  transform-style: preserve-3d;
}
.client-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), transparent);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: -1;
}
.client-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}
.client-card:hover::before { opacity: 0.05; }
.client-logo-wrapper {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: var(--bg-dark);
  border-radius: var(--radius-md);
  padding: 12px;
  overflow: hidden;
  position: relative;
}
.client-logo-wrapper img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(1.1);
  transition: var(--transition-slow);
}
.client-card:hover .client-logo-wrapper img {
  transform: scale(1.1);
}
.client-logo-wrapper span {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
  font-size: 1rem;
}
.client-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.client-info h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.client-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 8px;
}
.client-year {
  display: inline-block;
  padding: 3px 10px;
  background: var(--primary);
  color: var(--secondary);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  align-self: center;
}
.client-arrow {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 0;
  transform: scale(0.5) rotate(-45deg);
  transition: var(--transition);
}
.client-card:hover .client-arrow {
  opacity: 1;
  transform: scale(1) rotate(0);
}

/* ==================== PARCEIROS ==================== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}
.partner-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
}
.partner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s;
}
.partner-card:hover::before { transform: scaleX(1); }
.partner-card.highlight {
  background: linear-gradient(135deg, rgba(197, 255, 58, 0.08), var(--bg-card));
  border-color: var(--border-strong);
}
.partner-card.highlight::before { background: linear-gradient(90deg, var(--primary), #FFD700, var(--primary)); }
.partner-decoration {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(197, 255, 58, 0.2), transparent);
  border-radius: 50%;
  pointer-events: none;
}
.partner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.partner-logo {
  display: flex;
  align-items: center;
}
.partner-name-mini {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.partner-tag {
  padding: 5px 14px;
  background: rgba(197, 255, 58, 0.15);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.partner-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.partner-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.coupon-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-darker);
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}
.coupon-box:hover { border-color: var(--primary); }
.coupon-code {
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
  user-select: all;
}
.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--primary);
  color: var(--secondary);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  transition: var(--transition);
}
.btn-copy svg { width: 14px; height: 14px; }
.btn-copy:hover {
  background: var(--primary-light);
  transform: scale(1.05);
}
.btn-copy.copied {
  background: #22c55e;
  color: white;
}
.btn-partner {
  display: inline-block;
  padding: 12px 24px;
  background: var(--secondary);
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  z-index: 1;
  margin-top: auto;
}
.btn-partner:hover {
  background: var(--primary);
  color: var(--secondary);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.partners-cta {
  text-align: center;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.partners-cta p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text);
}

/* ==================== DEPOIMENTOS ==================== */
.rating-overall {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
  padding: 16px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.95rem;
}
.stars { color: #FFD700; font-size: 1.2rem; letter-spacing: 0.1em; }
.rating-overall strong { color: var(--primary); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 35px 30px;
  position: relative;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.testimonial-quote {
  position: absolute;
  top: -10px;
  left: 25px;
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--primary);
  opacity: 0.2;
  line-height: 1;
}
.testimonial-card p {
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  margin: 20px 0;
  font-size: 0.95rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
}
.testimonial-author span {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.testimonial-cta {
  text-align: center;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==================== CTA PARALLAX ==================== */
.cta-parallax {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  background: var(--bg-darker);
}
.parallax-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(197, 255, 58, 0.1), transparent 50%),
    linear-gradient(-45deg, rgba(45, 90, 45, 0.2), transparent 50%),
    var(--bg-dark);
}
.parallax-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, var(--primary) 0%, transparent 25%),
    radial-gradient(circle at 80% 70%, var(--accent-light) 0%, transparent 25%);
  opacity: 0.15;
  animation: parallax-float 8s ease-in-out infinite;
}
@keyframes parallax-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}
.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
}
.cta-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==================== CONTATO ==================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), transparent);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: -1;
}
.contact-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}
.contact-card:hover::before { opacity: 0.1; }
.contact-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: rgba(197, 255, 58, 0.1);
  border-radius: 50%;
  margin-bottom: 16px;
  transition: var(--transition);
}
.contact-card:hover .contact-icon {
  background: var(--primary);
  transform: scale(1.1) rotate(-10deg);
}
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.contact-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  word-break: break-word;
  margin-bottom: 12px;
}
.contact-arrow {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  transition: var(--transition);
}
.contact-card:hover .contact-arrow {
  transform: translateX(5px);
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--bg-darker);
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.footer-bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
@media (max-width: 900px) {
  .footer-content { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 600px) {
  .footer-content { grid-template-columns: 1fr; }
}
.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.footer-logo img { height: 60px; }
.footer-logo-fallback {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 320px;
}
.footer-links, .footer-services {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links h4, .footer-services h4, .footer-social h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--primary);
}
.footer-links a, .footer-services a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-block;
}
.footer-links a:hover, .footer-services a:hover {
  color: var(--primary);
  transform: translateX(5px);
}
.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.social-icons a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 1rem;
  transition: var(--transition);
}
.social-icons a:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
}
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.footer-bottom p strong { color: var(--primary); }

/* ==================== REVEAL ON SCROLL ==================== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: var(--shadow-glow);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--primary-light);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow-strong);
}
.back-to-top svg { width: 18px; height: 18px; }

/* ==================== TOAST ==================== */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--primary);
  color: var(--secondary);
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-glow-strong);
  z-index: 9999;
  opacity: 0;
  transition: var(--transition-slow);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast-icon {
  width: 24px;
  height: 24px;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* ==================== ANIMAÇÕES EXTRAS ==================== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes shine {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Cards com efeito shine no hover */
.client-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s;
}
.client-card:hover::after { left: 200%; }

/* ==================== RESPONSIVIDADE EXTRA ==================== */
@media (max-width: 768px) {
  .hero-social { top: 80px; right: 16px; }
  .hero-social a { width: 38px; height: 38px; }
  .section { padding: 80px 0; }
  .section-header { margin-bottom: 50px; }
  .stats { padding: 20px 0; }
  .services-grid, .clients-grid, .partners-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .cta-parallax { padding: 80px 0; }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 16px;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-cta .btn { width: 100%; }
  .cta-buttons .btn { width: 100%; }
  .about-visual { grid-template-columns: 1fr; }
  .client-year { font-size: 0.65rem; }
}

/* ==================== IMPRESSÃO ==================== */
@media print {
  .loader, .cursor, .cursor-follower, .back-to-top, .toast,
  .hero-social, .scroll-indicator, .navbar, footer {
    display: none !important;
  }
  body { background: white; color: black; }
  .section { padding: 30px 0; page-break-inside: avoid; }
}

/* ==================== ACESSIBILIDADE ==================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Focus visível para acessibilidade */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ==================== FIM DO CSS ==================== */
