/* ===========================
   ALTUS — CSS Principal
   =========================== */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #000000;
  --black-2: #0a0a0a;
  --black-3: #111111;
  --black-4: #1a1a1a;
  --black-5: #222222;
  --white: #ffffff;
  --white-2: #e5e5e5;
  --white-3: #a0a0a0;
  --white-4: #666666;
  --accent: #ffffff;
  --accent-light: #e5e5e5;
  --accent-glow: rgba(255, 255, 255, 0.1);
  --accent-2: #aaaaaa;
  --accent-2-glow: rgba(255, 255, 255, 0.06);
  --gradient: linear-gradient(135deg, #ffffff, #cccccc);
  --gradient-text: linear-gradient(135deg, #ffffff, #999999);
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.16);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --shadow-glow: 0 0 40px rgba(255, 255, 255, 0.06);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Inter', system-ui, sans-serif;
  --font-head: 'Space Grotesk', system-ui, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: hidden; }

body {
  font-family: var(--font-main);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
  line-height: 1.6;
}

body.loading { overflow: hidden; }

::selection { background: var(--accent); color: white; }

img, svg { display: block; max-width: 100%; }

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

/* ---------- CUSTOM CURSOR ---------- */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
}

.cursor-follower {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease, width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor.hover { width: 16px; height: 16px; background: white; }
.cursor-follower.hover { width: 60px; height: 60px; border-color: rgba(255, 255, 255, 0.6); }

/* ---------- LOADER ---------- */
.loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden { opacity: 0; visibility: hidden; }

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.loader-logo {
  font-family: var(--font-head);
  font-size: 64px;
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: pulse 1s ease-in-out infinite;
}

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

.loader-bar {
  width: 200px;
  height: 2px;
  background: var(--black-4);
  border-radius: 2px;
  overflow: hidden;
}

.loader-progress {
  height: 100%;
  background: var(--gradient);
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
}

.loader-text {
  font-size: 12px;
  color: var(--white-4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- CONTAINER ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- SECTIONS ---------- */
.section { padding: 120px 0; }

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-3);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--white-3);
  max-width: 560px;
  margin: 0 auto;
}

.section-text {
  font-size: 16px;
  color: var(--white-3);
  line-height: 1.8;
  margin-bottom: 16px;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 100px;
  transition: var(--transition);
  cursor: none;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn svg { width: 18px; height: 18px; transition: transform 0.3s ease; }
.btn:hover svg { transform: translateX(4px); }

.btn-primary {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 4px 24px rgba(255,255,255,0.15);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #e5e5e5;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255,255,255,0.2); }
.btn-primary span, .btn-primary svg { position: relative; z-index: 1; }

.btn-ghost {
  background: transparent;
  color: var(--white-2);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

.btn-nav {
  background: #ffffff;
  color: #000000;
  font-size: 14px;
  padding: 10px 22px;
  box-shadow: 0 2px 16px rgba(255,255,255,0.1);
}

.btn-nav:hover { transform: translateY(-1px); box-shadow: 0 4px 24px rgba(255,255,255,0.18); }

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

.btn-full { width: 100%; justify-content: center; }

/* ---------- NAVIGATION ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  flex-shrink: 0;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: #000000;
  box-shadow: 0 2px 12px rgba(255,255,255,0.12);
}

.logo-text {
  font-size: 18px;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--white-3);
  padding: 8px 14px;
  border-radius: 100px;
  transition: var(--transition);
}

.nav-link:hover { color: white; background: rgba(255,255,255,0.06); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- MOBILE MENU ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-menu.open { opacity: 1; visibility: visible; }

.mobile-menu ul { list-style: none; text-align: center; }

.mobile-menu li { margin: 16px 0; }

.mobile-menu a {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  color: var(--white-2);
  transition: var(--transition);
}

.mobile-menu a:hover { color: var(--accent-light); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: 100px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-3);
  background: var(--black-4);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: blink 2s ease-in-out infinite;
}

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

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.title-line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
}

.title-line.accent {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--white-3);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(20px);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
  opacity: 0;
  transform: translateY(20px);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}

.stat { text-align: center; }

.stat-number {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 13px;
  color: var(--white-4);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s ease 2s forwards;
}

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

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--accent-light));
  animation: scrollLine 1.5s ease infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.hero-scroll-indicator span {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-4);
}

/* ---------- MARQUEE ---------- */
.marquee-section {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  background: var(--black-2);
}

.marquee-track {
  display: flex;
  gap: 0;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  flex-shrink: 0;
  padding-right: 32px;
}

.marquee-content span {
  font-size: 13px;
  font-weight: 500;
  color: var(--white-4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.marquee-dot {
  color: var(--accent-light) !important;
  font-size: 10px !important;
}

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

/* ---------- ABOUT ---------- */
.about { background: var(--black); }

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

.about-visual {
  position: relative;
}

.about-3d-wrapper {
  width: 100%;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--black-3);
  border: 1px solid var(--border);
  position: relative;
}

#about-canvas { width: 100%; height: 100%; }

.floating-card {
  position: absolute;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: float 4s ease-in-out infinite;
  z-index: 2;
}

.card-1 {
  bottom: 40px;
  left: -30px;
  animation-delay: 0s;
}

.card-2 {
  top: 40px;
  right: -30px;
  animation-delay: 2s;
}

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

.card-icon { font-size: 28px; }

.card-info { display: flex; flex-direction: column; gap: 2px; }
.card-info strong { font-size: 14px; font-weight: 600; color: white; }
.card-info span { font-size: 12px; color: var(--white-4); }

.about-content .section-tag { display: inline-flex; }

.about-features {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--white-2);
}

.feature-check {
  width: 22px;
  height: 22px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--white-2);
  flex-shrink: 0;
}

/* ---------- SERVICES ---------- */
.services { background: var(--black-2); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.service-card--featured {
  position: relative;
}

.service-card {
  position: relative;
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: none;
  will-change: transform;
  transform-style: preserve-3d;
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 80px rgba(0,0,0,0.7), 0 0 40px rgba(255,255,255,0.03), 0 0 0 1px rgba(255,255,255,0.06);
}

/* Glow trail seguindo o mouse */
.service-card::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  left: var(--glow-x, 50%);
  top: var(--glow-y, 50%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-card:hover::after { opacity: 1; }

.service-card-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.05), transparent 70%);
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.service-card:hover .service-card-bg { opacity: 1; }

/* Scan line animada na seção de serviços */
.scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 30%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.08) 70%, transparent 100%);
  animation: scanDown 8s linear infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes scanDown {
  0%   { top: 0%;   opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.service-number {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-light);
  margin-bottom: 20px;
  opacity: 0.7;
}

.service-icon {
  width: 56px;
  height: 56px;
  color: var(--white-3);
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.service-card:hover .service-icon { color: var(--accent-light); }

.service-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 15px;
  color: var(--white-3);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.service-list li {
  font-size: 14px;
  color: var(--white-4);
  padding-left: 20px;
  position: relative;
}

.service-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-light);
}

.service-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-light);
  margin-top: auto;
  transition: gap 0.3s ease;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-main);
  cursor: pointer;
  text-align: left;
}

.service-cta svg { width: 16px; height: 16px; transition: transform 0.3s ease; }
.service-card:hover .service-cta { gap: 12px; }
.service-card:hover .service-cta svg { transform: translateX(4px); }

.service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000000;
  background: #ffffff;
  padding: 4px 12px;
  border-radius: 100px;
}

.service-card--featured {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

/* ---------- PROCESS ---------- */
.process { background: var(--black); }

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

.process-step {
  padding: 40px 32px;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
}

.process-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border);
  transition: background 0.5s ease;
}

.process-step.active::before { background: var(--gradient); }

.step-number {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 900;
  color: var(--black-4);
  line-height: 1;
  margin-bottom: 24px;
  transition: color 0.3s ease;
  -webkit-text-stroke: 1px var(--black-5);
}

.process-step.active .step-number { color: transparent; -webkit-text-stroke: 1px var(--accent-light); }

.step-content h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.step-content p { font-size: 14px; color: var(--white-4); line-height: 1.7; }

.step-arrow {
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--white-4);
  z-index: 1;
  display: none;
}

/* ---------- RESULTS ---------- */
.results { background: var(--black-2); }

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}

.result-card {
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
}

.result-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.result-metric {
  font-family: var(--font-head);
  font-size: 56px;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.result-card p {
  font-size: 14px;
  color: var(--white-4);
  line-height: 1.6;
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.testimonial-stars {
  font-size: 16px;
  color: #f59e0b;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: 15px;
  color: var(--white-2);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.testimonial-author strong { display: block; font-size: 14px; color: white; }
.testimonial-author span { font-size: 12px; color: var(--white-4); }

/* ---------- CTA STRIP ---------- */
.cta-strip {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.cta-strip-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(59,130,246,0.15), transparent 70%);
}

.cta-strip-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-strip-content h2 {
  font-family: var(--font-head);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-strip-content p {
  font-size: 18px;
  color: var(--white-3);
  margin-bottom: 40px;
}

/* ---------- CONTACT ---------- */
.contact { background: var(--black); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.contact-link:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateX(6px);
}

.contact-link-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  flex-shrink: 0;
}

.contact-link-icon svg { width: 20px; height: 20px; }

.contact-link strong { display: block; font-size: 15px; color: white; }
.contact-link span { font-size: 13px; color: var(--white-4); }

.contact-form-wrapper {
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label { font-size: 13px; font-weight: 600; color: var(--white-3); }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--black-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 15px;
  color: white;
  font-family: var(--font-main);
  transition: var(--transition);
  resize: none;
  outline: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--white-4); }

.form-group select option { background: var(--black-3); }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--black-2);
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--white-4);
  line-height: 1.7;
  margin-top: 20px;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-social { display: flex; gap: 12px; }

.social-icon {
  width: 38px;
  height: 38px;
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--white-4);
  text-transform: uppercase;
  transition: var(--transition);
}

.social-icon:hover {
  color: white;
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.06);
}

.footer-links h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-3);
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 14px;
  color: var(--white-4);
  transition: color 0.2s ease;
}

.footer-links a:hover { color: white; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--white-4);
}

/* ---------- SCROLL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- RESPONSIVE ---------- */
/* ============================================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-visual { order: -1; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  /* Hide desktop cursor on touch devices */
  .cursor, .cursor-follower { display: none; }
  body { cursor: auto; }

  /* Section spacing */
  .section { padding: 72px 0; }
  .container { padding: 0 16px; }

  /* Nav */
  .nav-links, .btn-nav, .lang-toggle { display: none; }
  .nav-toggle { display: flex; }
  .nav-container { padding: 0 16px; gap: 0; justify-content: space-between; }

  /* Mobile menu */
  .mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 100px 24px 40px;
  }
  .mobile-menu ul { text-align: center; }
  .mobile-menu li { margin: 12px 0; }
  .mobile-menu a { font-size: 28px; }
  .mobile-lang {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .mobile-lang .lang-btn {
    font-size: 15px;
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 100px;
    color: var(--white-4);
  }
  .mobile-lang .lang-btn.active { color: white; border-color: white; }
  .mobile-lang .lang-divider { font-size: 13px; color: var(--white-4); }
  .mobile-cta { width: 100%; justify-content: center; }

  /* Hero */
  .hero { width: 100% !important; max-width: 100vw !important; }
  .hero-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 80px 24px 40px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .hero-title { font-size: clamp(32px, 10vw, 56px) !important; text-align: center !important; width: 100% !important; }
  .title-line  { display: block !important; text-align: center !important; width: 100% !important; }
  .hero-subtitle { font-size: 15px !important; text-align: center !important; max-width: 100% !important; margin: 0 auto 32px !important; }
  .hero-actions { display: flex !important; flex-direction: column !important; align-items: center !important; gap: 12px !important; width: 100% !important; }
  .hero-actions .btn { display: flex !important; width: 100% !important; max-width: 300px !important; justify-content: center !important; margin-left: auto !important; margin-right: auto !important; }
  .hero-stats { gap: 16px; justify-content: center; flex-wrap: wrap; width: 100%; }
  .stat-divider { display: none; }
  .stat-number { font-size: 28px; }
  .stat-suffix { font-size: 20px; }
  .stat-label { font-size: 11px; }

  /* Statement */
  .statement-text { font-size: clamp(32px, 9vw, 56px); padding: 0 16px; text-align: center; width: 100%; }
  .statement-section { padding: 0 8px; }

  /* Section headers */
  .section-title { font-size: clamp(28px, 7vw, 40px); }
  .section-subtitle { font-size: 15px; padding: 0 8px; }
  .section-header { margin-bottom: 48px; }

  /* Global grid overflow fix (min-content expande o grid além do viewport) */
  .about-grid > *, .services-grid > *, .results-grid > *, .contact-grid > *, .process-steps > * { min-width: 0; }
  p, li, h1, h2, h3, h4 { overflow-wrap: break-word; word-break: break-word; }

  /* About */
  .about-content { overflow: hidden; }
  .about-3d-wrapper { height: 280px; }
  .about-visual { overflow: visible; }
  .card-1 { left: 4px; bottom: 12px; }
  .card-2 { right: 4px; top: 12px; }
  .floating-card { padding: 10px 12px; gap: 8px; max-width: calc(50% - 8px); }
  .card-icon { font-size: 20px; }
  .card-info strong { font-size: 12px; }
  .card-info span { font-size: 11px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px 24px; }
  .service-title { font-size: 18px; }

  /* Process */
  .process-steps { grid-template-columns: 1fr; gap: 0; }
  .process-step { padding: 28px 24px; }
  .step-number { font-size: 36px; }
  .step-arrow { display: none; }

  /* Results */
  .results-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .result-card { padding: 28px 20px; }
  .result-metric { font-size: 40px; }

  /* CTA strip */
  .cta-strip { padding: 72px 0; }
  .cta-strip-content h2 { font-size: clamp(28px, 6vw, 40px); }
  .cta-strip-content .btn-large {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding: 16px 28px;
    font-size: 16px;
  }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 24px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; font-size: 12px; }

  /* Quiz */
  .quiz-modal { border-radius: 20px 20px 0 0; align-self: flex-end; max-height: 92vh; overflow-y: auto; }
  .quiz-overlay { align-items: flex-end; padding: 0; }
  .quiz-body { padding: 20px; }
  .quiz-header { padding: 20px 20px 0; }
  .quiz-question { font-size: 18px; }
  .quiz-option { padding: 12px 14px; font-size: 14px; }
  .quiz-next { padding: 12px 22px; font-size: 14px; }

  /* Lang toggle hidden on desktop nav — already in mobile menu */
  .lang-toggle { display: none; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤480px)
   ============================================================ */
@media (max-width: 480px) {
  .results-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .hero-title { letter-spacing: -0.01em; }
  .process-steps { gap: 0; }
  .service-card { padding: 24px 20px; }

  /* Stats em 3 colunas numa linha só */
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    flex-wrap: unset;
  }
  .stat-number { font-size: 22px; }
  .stat-suffix { font-size: 16px; }
  .stat-label { font-size: 10px; }

  /* Statement menor */
  .statement-text { font-size: clamp(26px, 8vw, 40px); }

  /* Section headers menores */
  .section-title { font-size: clamp(24px, 6.5vw, 34px); }
  .section-subtitle { font-size: 14px; }

  /* Hero buttons full width */
  .hero-actions { gap: 10px; }

  /* Results cards */
  .result-metric { font-size: 32px; }
  .result-card { padding: 20px 16px; }

  /* Contact */
  .contact-form-wrapper { padding: 20px 16px; }

  /* Footer */
  .footer-bottom { font-size: 11px; }

  /* Process */
  .process-step { padding: 24px 20px; }
  .step-number { font-size: 28px; }
}

/* ============================================================
   RESPONSIVE — VERY SMALL MOBILE (≤360px)
   ============================================================ */
@media (max-width: 360px) {
  .container { padding: 0 12px; }
  .hero-title { font-size: clamp(28px, 9vw, 36px); }
  .hero-content { padding: 70px 14px 32px; }
  .btn { padding: 13px 20px; font-size: 14px; }
  .section { padding: 56px 0; }
  .section-title { font-size: clamp(22px, 6vw, 30px); }
  .statement-text { font-size: clamp(22px, 7.5vw, 34px); }
  .stat-number { font-size: 20px; }
  .stat-suffix { font-size: 14px; }
  .stat-label { font-size: 9px; }
  .quiz-question { font-size: 16px; }
  .quiz-option { padding: 10px 12px; font-size: 13px; }
}

/* Hide cursor on touch devices + disable 3D effects */
@media (hover: none) and (pointer: coarse) {
  .cursor, .cursor-follower { display: none !important; }
  body { cursor: auto !important; }
  /* Desativa tilt 3D e glow no mobile */
  .service-card { transform: none !important; will-change: auto; }
  .service-card::after { display: none; }
  .scan-line { display: none; }
  .btn, a, button, .service-card, .contact-link,
  .lang-btn, .quiz-close, .quiz-option, .quiz-next,
  .quiz-back, .nav-toggle, .service-cta { cursor: pointer !important; }
}

/* ---------- LANGUAGE TOGGLE ---------- */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.lang-btn {
  background: none;
  border: none;
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white-4);
  cursor: none;
  padding: 4px 2px;
  transition: color 0.2s ease;
}

.lang-btn.active { color: #ffffff; }
.lang-btn:hover { color: var(--white-2); }

.lang-divider {
  font-size: 11px;
  color: var(--border);
}

@media (max-width: 768px) {
  .lang-toggle { display: none !important; }
}

/* ---------- ACTIVE NAV LINK ---------- */
.nav-link.active { color: white; }

/* ============================================================
   STATEMENT CYCLING SECTION
   ============================================================ */
.statement-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000;
  position: relative;
  gap: 48px;
}

.statement-text {
  font-family: var(--font-head);
  font-size: clamp(48px, 9vw, 112px);
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  padding: 0 24px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1), transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: -0.02em;
}

.statement-indicator {
  display: flex;
  gap: 8px;
}

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

.si-dot.si-active {
  background: #ffffff;
  transform: scale(1.3);
}

/* ============================================================
   QUIZ MODAL
   ============================================================ */
.quiz-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.quiz-overlay.open {
  opacity: 1;
  visibility: visible;
}

.quiz-modal {
  background: #0f0f0f;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  width: 100%;
  max-width: 600px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  box-shadow: 0 40px 100px rgba(0,0,0,0.8);
}

.quiz-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white-4);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: none;
  z-index: 10;
  transition: var(--transition);
}

.quiz-close:hover { color: white; background: rgba(255,255,255,0.1); }

.quiz-header {
  padding: 28px 36px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.quiz-progress-track {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background: #ffffff;
  border-radius: 3px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
}

.quiz-step-label {
  font-size: 12px;
  color: var(--white-4);
  font-weight: 600;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.quiz-body {
  flex: 1;
  padding: 36px;
  overflow: hidden;
}

.quiz-step-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.quiz-question {
  font-family: var(--font-head);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.quiz-sub {
  font-size: 14px;
  color: var(--white-4);
  margin-top: -12px;
}

.quiz-input-area {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.quiz-text-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 16px;
  color: white;
  font-family: var(--font-main);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quiz-text-input:focus {
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.06);
}

.quiz-text-input::placeholder { color: var(--white-4); }

.quiz-option {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 15px;
  font-family: var(--font-main);
  color: var(--white-2);
  text-align: left;
  cursor: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.quiz-option:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  color: #ffffff;
}

.quiz-option.selected {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
  font-weight: 600;
}

.quiz-option-multi .qo-check {
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: transparent;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.quiz-option-multi.selected .qo-check {
  background: #000;
  border-color: #000;
  color: #000;
}

.quiz-option.selected .qo-check {
  background: transparent;
  border-color: rgba(0,0,0,0.3);
  color: #000;
}

.quiz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  margin-top: auto;
}

.quiz-back {
  background: none;
  border: none;
  font-size: 14px;
  font-family: var(--font-main);
  color: var(--white-4);
  cursor: none;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.quiz-back:hover { color: var(--white-2); }

.quiz-next {
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: 100px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-main);
  cursor: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.quiz-next:hover { background: #e5e5e5; transform: translateY(-1px); }

/* Quiz final screen */
.quiz-final {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  min-height: 320px;
  gap: 16px;
  padding: 20px;
}

.quiz-final-icon {
  width: 64px;
  height: 64px;
  background: #ffffff;
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.quiz-final h2 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: white;
}

.quiz-final p {
  font-size: 15px;
  color: var(--white-3);
  line-height: 1.6;
}

.quiz-loader-dots {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.quiz-loader-dots span {
  width: 7px;
  height: 7px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  animation: dotPulse 1.2s ease-in-out infinite;
}

.quiz-loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.quiz-loader-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
  0%, 100% { background: rgba(255,255,255,0.2); transform: scale(1); }
  50% { background: rgba(255,255,255,0.8); transform: scale(1.3); }
}

/* Shake animation for required field validation */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.shake { animation: shake 0.4s ease; border-color: rgba(239,68,68,0.5) !important; }

/* Responsive quiz */
@media (max-width: 640px) {
  .quiz-modal { border-radius: 16px; min-height: auto; }
  .quiz-body { padding: 24px; }
  .quiz-header { padding: 20px 24px 0; }
  .quiz-question { font-size: 20px; }
  .quiz-option { font-size: 14px; padding: 12px 16px; }
}
